:root {
  --ink: #100821;
  --muted: #70657f;
  --purple: #6518d7;
  --purple-deep: #170640;
  --magenta: #f023a2;
  --line: #e6def2;
  --surface: #ffffff;
  --soft: #f8f5ff;
  --shadow: 0 22px 70px rgba(44, 11, 91, 0.18);
  font-family: "Noto Sans Thai", "Leelawadee UI", system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #b96cff; outline-offset: 3px; }

.sr-only,
.hero__content.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 218px minmax(0, 1fr) 52px;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  min-height: 84px;
  padding: 7px clamp(18px, 5vw, 74px);
  color: white;
  background: rgba(17, 4, 48, .82);
  backdrop-filter: blur(20px) saturate(130%);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 12px 34px rgba(13, 2, 38, .16);
}

.brand { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.brand img { display: block; width: 106px; height: 66px; max-width: 42vw; object-fit: contain; }
.brand__name { font-size: 20px; font-weight: 950; letter-spacing: .025em; line-height: 1; text-shadow: 0 2px 12px rgba(173, 50, 255, .4); }
.brand__name span { color: #f6cc55; }
.site-header nav { display: flex; justify-content: center; gap: clamp(16px, 2.5vw, 38px); color: #f6efff; font-size: clamp(14px, 1.15vw, 17px); font-weight: 800; white-space: nowrap; }
.site-header nav a { position: relative; padding: 9px 0; opacity: .88; transition: color .2s ease, opacity .2s ease, transform .2s ease; }
.site-header nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: #d66cff;
  box-shadow: 0 0 10px #d66cff;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}
.site-header nav a:hover { color: #d66cff; opacity: 1; transform: translateY(-1px); text-shadow: 0 0 16px rgba(214, 108, 255, .72); }
.site-header nav a:hover::after { transform: scaleX(1); }
.cart-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 14px;
  color: white;
  background: rgba(255,255,255,.08);
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}
.cart-pill:hover { color: #e4a1ff; border-color: #d66cff; background: rgba(214,108,255,.12); transform: translateY(-1px); }
.cart-pill svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cart-pill .cart-count {
  position: absolute;
  top: -6px;
  right: -7px;
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, #d421ff, #7d24e8);
  box-shadow: 0 0 0 3px #1b073f, 0 0 16px rgba(212, 33, 255, .72);
  font-size: 12px;
  font-weight: 900;
}

.hero {
  position: relative;
  margin-top: -68px;
  min-height: min(68vw, 900px);
  overflow: hidden;
  color: white;
  background: var(--purple-deep);
}
.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(12, 3, 36, .40), rgba(12, 3, 36, .08) 45%, rgba(12, 3, 36, .05));
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 8vh;
  background: linear-gradient(to bottom, rgba(255,255,255,0), white 90%);
}
.hero-hotspot {
  position: absolute;
  z-index: 2;
  left: 5%;
  top: 47%;
  width: 24%;
  height: 9%;
  border-radius: 999px;
}
.hero__content {
  position: relative;
  z-index: 2;
  width: min(650px, calc(100% - 36px));
  padding: clamp(126px, 13vw, 190px) 0 clamp(82px, 11vw, 160px) clamp(24px, 5vw, 78px);
}
.hero h1 {
  max-width: 780px;
  margin: 0;
  color: #fff;
  font-size: clamp(56px, 8vw, 132px);
  line-height: .96;
  font-weight: 950;
  text-shadow: 0 0 26px rgba(237, 206, 255, .75);
}
.hero p {
  max-width: 560px;
  margin: 30px 0 0;
  font-size: clamp(20px, 2.2vw, 31px);
  line-height: 1.52;
  color: #f6efff;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.primary-button, .ghost-button, .add-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 30px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  font-size: 18px;
}
.primary-button, .add-button {
  color: white;
  background: linear-gradient(135deg, #8f18eb, #6417d6 52%, #d421ff);
  box-shadow: 0 14px 34px rgba(102, 23, 214, .32);
}
.ghost-button {
  color: white;
  border: 1px solid rgba(255,255,255,.45);
  background: rgba(255,255,255,.08);
}
.proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 0;
  margin: 92px 0 0;
  list-style: none;
  color: white;
}
.proof-list li {
  min-width: 160px;
  padding: 13px 0;
  color: white;
  font-weight: 750;
  text-shadow: 0 2px 18px rgba(20, 4, 48, .55);
}

.products-section, .checkout-section {
  width: min(1400px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 108px) 0;
}
.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 470px);
  gap: 26px;
  align-items: end;
  margin-bottom: 38px;
}
.section-heading span { color: #6f6480; font-weight: 800; }
.section-heading h2 {
  grid-column: 1;
  margin: 0;
  font-size: clamp(40px, 5vw, 82px);
  line-height: 1.04;
}
.section-heading p { grid-column: 2; grid-row: 1 / span 2; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.7; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.product-card {
  display: grid;
  gap: 18px;
  min-height: 560px;
  padding: 18px 18px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 18px 46px rgba(55, 16, 97, .09);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: #d0afff;
  box-shadow: 0 28px 70px rgba(85, 24, 170, .20);
}
.product-card__media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 310px;
  overflow: hidden;
  border-radius: 8px;
  color: white;
  background: #fff;
}
.product-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 310px;
  object-fit: cover;
  transition: transform .3s ease;
}
.product-card:hover .product-card__media img {
  transform: scale(1.045);
}
.product-card--cup .product-card__media { height: auto; aspect-ratio: 1; }
.product-card--cup .product-card__media img { object-fit: contain; }
.product-card--cup:hover .product-card__media img { transform: none; }
.product-card h3 { margin: 0; font-size: clamp(25px, 2.4vw, 35px); line-height: 1.12; }
.product-card p { margin: 5px 0 0; color: var(--muted); font-weight: 800; }
.product-card strong { display: block; margin-top: 10px; color: var(--purple); font-size: 40px; line-height: 1; }
.product-card small { display: block; min-height: 52px; margin-top: 14px; color: var(--muted); font-size: 16px; line-height: 1.55; }
.product-card__actions {
  display: grid;
  grid-template-columns: 48px 56px 48px;
  gap: 8px;
  align-items: center;
  margin-top: auto;
}
.qty-button {
  width: 48px;
  height: 48px;
  border: 1px solid #ddd4ea;
  border-radius: 12px;
  color: var(--purple);
  background: #fbf8ff;
  font-size: 24px;
  font-weight: 900;
}
.product-card output {
  display: grid;
  place-items: center;
  height: 48px;
  border-radius: 12px;
  background: #f2edf8;
  font-weight: 900;
}
.add-button { grid-column: 1 / -1; width: 100%; margin-top: 8px; }

.mix-section {
  display: grid;
  grid-template-columns: minmax(260px, 520px) 1fr;
  gap: clamp(26px, 6vw, 80px);
  align-items: center;
  padding: clamp(58px, 8vw, 96px) clamp(18px, 6vw, 80px);
  color: white;
  background: radial-gradient(circle at 80% 20%, rgba(245, 35, 177, .35), transparent 30%), linear-gradient(135deg, #170640, #5f13c9 58%, #24045e);
}
.mix-section h2 { margin: 0; font-size: clamp(38px, 5vw, 76px); line-height: 1.04; }
.mix-section p { margin: 22px 0 0; color: #efe6ff; font-size: 20px; line-height: 1.72; }
.mix-ideas { display: grid; gap: 16px; }
.mix-ideas article {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 8px;
  background: rgba(255,255,255,.10);
}
.mix-ideas strong { font-size: 23px; }
.mix-ideas span { color: #efe6ff; text-align: right; }

.reviews-section {
  width: 100%;
  padding: clamp(72px, 9vw, 128px) 0;
  color: white;
  background: #19062e;
}
.reviews-shell {
  display: grid;
  grid-template-columns: minmax(360px, .65fr) minmax(0, 1.35fr);
  gap: clamp(34px, 6vw, 94px);
  align-items: start;
  width: min(1400px, calc(100% - 32px));
  margin: 0 auto;
}
.section-kicker { display: inline-block; color: #8b28e7; letter-spacing: .18em; font-size: 13px; font-weight: 950; }
.reviews-heading h2, .about-copy h2 { margin: 14px 0 0; font-size: clamp(40px, 5vw, 76px); line-height: 1.06; }
.reviews-heading p, .about-copy p { max-width: 680px; margin: 24px 0 0; color: var(--muted); font-size: 19px; line-height: 1.75; }
.reviews-heading { position: sticky; top: 122px; }
.reviews-heading .section-kicker { color: #f3c331; }
.reviews-heading h2 { color: white; font-size: clamp(40px, 4.2vw, 68px); }
.reviews-heading p { color: #d9cde7; }
.review-proof {
  display: grid;
  gap: 4px;
  width: max-content;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.18);
}
.review-proof span { color: #f5c12d; letter-spacing: .14em; font-size: 25px; }
.review-proof strong { color: #f8f3fc; font-size: 14px; }
.review-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.review-tile {
  position: relative;
  display: block;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 8px;
  aspect-ratio: 1;
  color: white;
  background: #f8f5fb;
  box-shadow: 0 22px 48px rgba(3, 0, 12, .28);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.review-tile--featured {
  grid-column: span 2;
  grid-row: span 2;
}
.review-tile:hover {
  z-index: 1;
  transform: translateY(-4px);
  border-color: #f3c331;
  box-shadow: 0 26px 58px rgba(3, 0, 12, .40);
}
.review-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.review-tile > span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 6px;
  text-align: left;
  background: rgba(18, 5, 36, .88);
  backdrop-filter: blur(10px);
}
.review-tile > span strong { font-size: 14px; line-height: 1.25; }
.review-tile > span small { color: #e3d7ee; font-size: 12px; line-height: 1.35; }
.review-dialog {
  width: min(1060px, calc(100% - 32px));
  max-width: none;
  height: min(900px, calc(100dvh - 40px));
  max-height: none;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  color: white;
  background: #10051d;
  box-shadow: 0 34px 110px rgba(0,0,0,.62);
}
.review-dialog::backdrop { background: rgba(8, 2, 18, .88); backdrop-filter: blur(8px); }
.review-dialog[open] { display: block; }
.review-dialog figure {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  width: auto;
  height: auto;
  margin: 0;
  padding: 22px 76px 18px;
}
.review-dialog figure img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}
.review-dialog figcaption {
  min-height: 30px;
  padding-top: 12px;
  color: #eee5f6;
  text-align: center;
  font-weight: 800;
}
.review-dialog__close, .review-dialog__nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;
  color: white;
  background: rgba(27, 7, 48, .88);
  font-family: Arial, sans-serif;
  line-height: 1;
}
.review-dialog__close { top: 14px; right: 14px; font-size: 32px; }
.review-dialog__nav { top: 50%; font-size: 44px; transform: translateY(-50%); }
.review-dialog__nav--prev { left: 14px; }
.review-dialog__nav--next { right: 14px; }
.review-dialog__close:hover, .review-dialog__nav:hover { border-color: #f3c331; color: #f3c331; }

.checkout-section {
  display: grid;
  grid-template-columns: minmax(300px, 430px) 1fr;
  gap: 24px;
  align-items: start;
}
.cart-box, .checkout-form, .success-box {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}
.cart-box h2, .checkout-form h2 { margin: 0 0 20px; font-size: 32px; }
.empty-cart, .order-summary { color: var(--muted); line-height: 1.6; }
.cart-lines { display: grid; gap: 12px; }
.cart-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.cart-line span { display: block; color: var(--muted); margin-top: 3px; }
.cart-line button {
  margin-top: 7px;
  border: 0;
  color: #8b19de;
  background: transparent;
  font-weight: 800;
}
.cart-total {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding-top: 18px;
}
.cart-total strong:last-child { color: var(--purple); font-size: 28px; }
.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.field-grid .full { grid-column: 1 / -1; }
label { display: grid; gap: 7px; font-weight: 850; }
input, textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #d8cfe7;
  border-radius: 8px;
  background: #fff;
}
textarea { resize: vertical; }
small[data-error] { min-height: 20px; color: #c01858; font-weight: 700; }
.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 18px 0 8px;
  color: #3c304f;
  line-height: 1.55;
}
.consent input { width: 20px; min-height: 20px; margin-top: 3px; }
.checkout-form button[type="submit"] { width: 100%; margin-top: 10px; }
.checkout-form button:disabled { opacity: .45; cursor: not-allowed; }
.success-box {
  grid-column: 1 / -1;
  color: white;
  background: linear-gradient(135deg, #170640, #7118dc);
}
.success-box p { margin: 0; color: #decaff; font-weight: 800; }
.success-box h2 { margin: 8px 0; font-size: 36px; }
.success-box span { color: #f0e8ff; }
.about-section {
  display: grid;
  grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr);
  gap: clamp(32px, 8vw, 120px);
  align-items: center;
  padding: clamp(70px, 10vw, 140px) clamp(18px, 7vw, 110px);
  overflow: hidden;
  color: white;
  background: radial-gradient(circle at 18% 30%, rgba(212, 33, 255, .34), transparent 28%), linear-gradient(135deg, #12032f, #2b0764 62%, #130531);
}
.about-mark {
  display: grid;
  place-items: center;
  width: min(30vw, 330px);
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 32%;
  background: rgba(255,255,255,.06);
  box-shadow: inset 0 0 80px rgba(214,108,255,.12), 0 0 80px rgba(91,22,174,.26);
  transform: rotate(-6deg);
}
.about-mark img {
  display: block;
  width: 82%;
  height: 82%;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(8, 0, 27, .46));
  transform: rotate(6deg);
}
.about-copy .section-kicker { color: #dca0ff; }
.about-copy p { color: #e8dcf8; }
.about-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.about-points span { padding: 10px 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: #f4ecff; background: rgba(255,255,255,.07); font-size: 14px; font-weight: 800; }
.contact-section {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 7vw, 100px);
  align-items: center;
  padding: clamp(66px, 8vw, 110px) clamp(18px, 7vw, 110px);
  color: white;
  background: radial-gradient(circle at 82% 18%, rgba(194, 42, 255, .28), transparent 32%), #130531;
}
.contact-heading .section-kicker { color: #dca0ff; }
.contact-heading h2 { margin: 14px 0 0; font-size: clamp(40px, 5vw, 72px); line-height: 1.06; }
.contact-links { display: grid; gap: 16px; }
.contact-link {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 18px;
  align-items: center;
  min-height: 92px;
  padding: 16px 20px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 24px;
  background: rgba(255,255,255,.08);
  box-shadow: 0 16px 42px rgba(5, 0, 24, .24);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.contact-link:hover { transform: translateY(-3px); border-color: rgba(225,156,255,.7); background: rgba(255,255,255,.13); }
.contact-link:focus-visible { outline: 3px solid #d66cff; outline-offset: 4px; }
.contact-icon { display: grid; place-items: center; width: 58px; aspect-ratio: 1; border-radius: 18px; }
.contact-icon svg { width: 32px; height: 32px; fill: white; }
.contact-icon img { display: block; width: 100%; height: 100%; object-fit: contain; }
.contact-link--facebook .contact-icon { background: #1877f2; }
.contact-link strong, .contact-link small { display: block; }
.contact-link strong { font-size: 22px; }
.contact-link small { margin-top: 3px; color: #dfd5ef; font-size: 14px; }
.contact-arrow { color: #e3a2ff; font-size: 28px; font-weight: 900; }
@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { order: 3; grid-column: 1 / -1; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .site-header nav::-webkit-scrollbar { display: none; }
  .hero__content { padding-bottom: 120px; }
  .proof-list { margin-top: 54px; color: white; }
  .proof-list li { color: white; }
  .section-heading, .product-grid, .mix-section, .reviews-section, .checkout-section, .about-section, .contact-section { grid-template-columns: 1fr; }
  .reviews-shell { grid-template-columns: 1fr; }
  .reviews-heading { position: static; max-width: 720px; }
  .section-heading p { grid-column: 1; grid-row: auto; }
  .about-mark { width: min(56vw, 280px); }
}

@media (max-width: 620px) {
  html { scroll-padding-top: 124px; }
  .brand img { width: 86px; height: 50px; }
  .brand__name { font-size: 17px; }
  .site-header { min-height: 66px; padding: 6px 16px 8px; gap: 8px 14px; }
  .site-header nav { gap: 22px; font-size: 14px; }
  .cart-pill { width: 42px; height: 42px; border-radius: 12px; }
  .hero { min-height: 760px; }
  .hero-art { object-position: 66% top; }
  .hero__content { width: calc(100% - 28px); padding: 116px 0 90px 18px; }
  .hero h1 { font-size: 58px; max-width: 340px; }
  .hero p { max-width: 330px; font-size: 18px; }
  .hero__actions { align-items: stretch; flex-direction: column; max-width: 310px; }
  .proof-list { display: none; }
  .products-section, .checkout-section { width: min(100% - 24px, 1400px); }
  .reviews-section { width: 100%; padding-block: 60px; }
  .reviews-shell { width: min(100% - 24px, 1400px); }
  .review-gallery {
    display: flex;
    gap: 12px;
    margin-right: -12px;
    padding-right: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .review-gallery::-webkit-scrollbar { display: none; }
  .review-tile, .review-tile--featured {
    flex: 0 0 min(82vw, 430px);
    aspect-ratio: 1;
    scroll-snap-align: start;
  }
  .review-dialog { width: calc(100% - 16px); height: calc(100dvh - 16px); }
  .review-dialog figure { padding: 62px 12px 68px; }
  .review-dialog__nav { top: auto; bottom: 12px; transform: none; }
  .review-dialog__nav--prev { left: calc(50% - 54px); }
  .review-dialog__nav--next { right: calc(50% - 54px); }
  .product-card { min-height: 0; }
  .mix-section { padding-inline: 18px; }
  .mix-ideas article { flex-direction: column; }
  .mix-ideas span { text-align: left; }
  .field-grid { grid-template-columns: 1fr; }
  .about-section { padding-inline: 22px; }
  .about-mark { width: min(66vw, 230px); }
  .contact-section { padding-inline: 22px; }
  .contact-link { grid-template-columns: 52px 1fr auto; padding: 14px 16px; border-radius: 20px; }
  .contact-icon { width: 52px; border-radius: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
