/* =========================================================
   Pimjai Iris — เรียบหรู ทันสมัย ร่วมสมัย เข้าถึงง่าย
   โทนสี: ครีมอ่อน · ม่วงอ่อน · ทอง
   ========================================================= */

:root {
  --cream: #fbf6ee;
  --cream-2: #f4ebdc;
  --ivory: #fffdf9;
  --lav: #b9a2cd;
  --lav-soft: #efe7f5;
  --lav-mist: #f6f1f9;
  --lav-deep: #75599a;
  --plum: #3a2c49;
  --ink: #2d2533;
  --muted: #7a6d82;
  --line: #e8dccb;
  --gold: #b48d4c;
  --gold-2: #d9be87;
  --gold-3: #f0e0b4;
  --gold-grad: linear-gradient(120deg, #9e7535 0%, #e6cc93 38%, #b8904e 62%, #f3e3b6 100%);
  --shadow-sm: 0 2px 10px rgba(58, 44, 73, .06);
  --shadow: 0 18px 40px -18px rgba(58, 44, 73, .28);
  --radius: 18px;
  --serif-en: "Cormorant Garamond", "Noto Serif Thai", serif;
  --serif-th: "Noto Serif Thai", "Cormorant Garamond", serif;
  --script: "Pinyon Script", cursive;
  --sans: "IBM Plex Sans Thai Looped", "IBM Plex Sans Thai", system-ui, sans-serif;
  --wrap: 1180px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  font-variant-numeric: lining-nums;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--lav-deep); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--tint { background: var(--lav-mist); }
.section--cream2 { background: var(--cream-2); }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--serif-en); font-size: 15px; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before, .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--left::before { display: none; }
h1, h2, h3, h4 { font-family: var(--serif-th); font-weight: 500; color: var(--plum); line-height: 1.35; margin: 0; }
.h-display { font-size: clamp(34px, 5vw, 56px); font-weight: 500; letter-spacing: -.005em; }
.h-section { font-size: clamp(28px, 3.6vw, 42px); }
.h-section .script, .script {
  font-family: var(--script); font-weight: 400; color: var(--lav-deep);
  font-size: 1.25em; line-height: 1; letter-spacing: 0;
}
.lead { font-size: clamp(16px, 1.6vw, 18px); color: var(--muted); max-width: 620px; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.section-head { margin-bottom: clamp(36px, 5vw, 56px); display: grid; gap: 14px; }
.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--gold); }
.ornament::before, .ornament::after { content: ""; height: 1px; width: 60px; background: linear-gradient(90deg, transparent, var(--gold-2)); }
.ornament::after { transform: scaleX(-1); }
.ornament svg { width: 18px; height: 18px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--plum); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 28px; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 500; font-size: 15px; letter-spacing: .02em;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--gold { background: var(--gold-grad); background-size: 200% 100%; color: #3a2a12; }
.btn--gold:hover { background-position: 100% 0; }
.btn--ghost { background: transparent; color: var(--plum); box-shadow: inset 0 0 0 1px var(--gold-2); }
.btn--ghost:hover { background: rgba(255,255,255,.6); }
.btn--line { background: #06c755; color: #fff; }
.btn--block { width: 100%; }
.btn--sm { min-height: 42px; padding: 8px 18px; font-size: 14px; }
.btn[disabled] { opacity: .45; pointer-events: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--lav-deep); font-weight: 500; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  transition: background .35s, box-shadow .35s, height .35s;
}
.site-header.is-solid, body:not([data-page="home"]) .site-header {
  background: rgba(251, 246, 238, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav a {
  position: relative; font-size: 15px; color: var(--plum); padding: 6px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--lav-deep); }
.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  position: relative; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; color: var(--plum); transition: background .2s;
}
.icon-btn:hover { background: rgba(185, 162, 205, .18); }
.icon-btn svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 10px; background: var(--gold-grad); color: #3a2a12;
  font-size: 11px; font-weight: 600; line-height: 19px; text-align: center;
  transform: scale(0); transition: transform .3s cubic-bezier(.3,1.6,.5,1);
}
.cart-count.has-items { transform: scale(1); }
.cart-count.bump { animation: bump .45s ease; }
@keyframes bump { 40% { transform: scale(1.35); } }
.menu-btn { display: none; }

@media (max-width: 860px) {
  .menu-btn { display: grid; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ivory); padding: 8px 16px 20px; box-shadow: 0 20px 30px -20px rgba(58,44,73,.3);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .3s;
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav a::after { display: none; }
  .brand img { height: 40px; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; place-items: center;
  padding: calc(var(--header-h) + 30px) 0 90px; overflow: hidden; isolation: isolate;
  background: var(--cream);
}
.hero__bg {
  position: absolute; inset: -30px; z-index: -3;
  background: url("../img/brand/sign.jpg") center 35% / cover no-repeat;
  opacity: .22; filter: blur(2px) saturate(.9);
  transform: scale(1.05);
}
.hero::before { /* cream + lavender glaze */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 50% at 50% 42%, rgba(255,253,249,.92) 0%, rgba(255,253,249,.55) 55%, transparent 80%),
    radial-gradient(45% 40% at 12% 85%, rgba(185,162,205,.38), transparent 70%),
    radial-gradient(40% 35% at 90% 12%, rgba(185,162,205,.32), transparent 70%),
    radial-gradient(30% 30% at 85% 88%, rgba(217,190,135,.30), transparent 70%),
    linear-gradient(180deg, rgba(251,246,238,.55), rgba(244,235,220,.85));
}
.hero::after { /* thin gold frame */
  content: ""; position: absolute; z-index: -1;
  inset: calc(var(--header-h) + 8px) clamp(12px, 3vw, 36px) clamp(12px, 3vw, 36px);
  border: 1px solid rgba(180, 141, 76, .38); border-radius: 4px; pointer-events: none;
  box-shadow: inset 0 0 0 6px rgba(255,255,255,.25), inset 0 0 0 7px rgba(180,141,76,.18);
}
.sparkles { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.sparkles i {
  position: absolute; width: 4px; height: 4px; border-radius: 50%;
  background: radial-gradient(circle, #fff6d8 0%, var(--gold-2) 45%, transparent 70%);
  box-shadow: 0 0 10px 2px rgba(217,190,135,.55);
  opacity: 0; animation: twinkle 5s ease-in-out infinite;
}
@keyframes twinkle { 0%,100% { opacity: 0; transform: scale(.4); } 50% { opacity: .95; transform: scale(1); } }

.hero__content { text-align: center; display: grid; justify-items: center; gap: 22px; padding: 0 16px; }
.medallion {
  position: relative; width: min(430px, 78vw); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 40%, #fffaf1 0%, #fbf1e1 70%, #f5e7d0 100%);
  box-shadow: 0 30px 60px -30px rgba(58,44,73,.45), 0 0 0 1px rgba(180,141,76,.25), 0 0 80px 10px rgba(255,248,232,.7);
  animation: rise 1.1s cubic-bezier(.2,.7,.2,1) both;
}
.medallion::before, .medallion::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.medallion::before { inset: -12px; border: 1px solid transparent; background: var(--gold-grad) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.medallion::after { inset: 10px; border: 1px solid rgba(180,141,76,.35); }
.medallion img { width: 80%; height: auto; transform: translate(1%, 2%); }
.medallion__ring {
  position: absolute; inset: -34px; border-radius: 50%; pointer-events: none;
  animation: spin 60s linear infinite;
}
.medallion__ring text { font-family: var(--serif-en); font-size: 11.5px; letter-spacing: .42em; fill: var(--gold); text-transform: uppercase; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }

.hero__tagline { font-family: var(--script); font-size: clamp(30px, 4.4vw, 46px); color: var(--lav-deep); line-height: 1.1; margin-top: 18px; animation: rise 1.1s .25s both; }
.hero__sub { font-family: var(--serif-th); font-size: clamp(17px, 2vw, 21px); color: var(--plum); margin: 0; animation: rise 1.1s .35s both; }
.hero__sub small { display: block; font-family: var(--sans); font-size: 15px; color: var(--muted); margin-top: 4px; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; animation: rise 1.1s .45s both; }
.scroll-cue {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 6px; color: var(--gold); font-family: var(--serif-en);
  font-size: 12px; letter-spacing: .3em; text-transform: uppercase;
}
.scroll-cue span { width: 1px; height: 38px; background: linear-gradient(var(--gold), transparent); animation: cue 2s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-height: 760px) { .scroll-cue { display: none; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--plum); color: var(--gold-3); overflow: hidden; padding: 14px 0; }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: marquee 38s linear infinite; }
.marquee__track span { font-family: var(--serif-en); font-size: 19px; letter-spacing: .06em; display: inline-flex; align-items: center; gap: 48px; white-space: nowrap; }
.marquee__track span::after { content: "✦"; color: var(--gold); font-size: 12px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Story / intro ---------- */
.story { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 84px); align-items: center; }
.story__media { position: relative; }
.story__media .frame { border-radius: 220px 220px 18px 18px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/5; }
.story__media .frame img { width: 100%; height: 100%; object-fit: cover; }
.story__media .float {
  position: absolute; right: -6%; bottom: -8%; width: 44%; border-radius: 16px; overflow: hidden;
  border: 6px solid var(--ivory); box-shadow: var(--shadow); aspect-ratio: 3/4;
}
.story__media .float img { width: 100%; height: 100%; object-fit: cover; }
.story__media .stamp {
  position: absolute; left: -18px; top: 38px; width: 118px; height: 118px; border-radius: 50%;
  background: var(--ivory); display: grid; place-items: center; text-align: center; box-shadow: var(--shadow-sm);
  border: 1px solid var(--gold-2); font-family: var(--serif-en); color: var(--gold); line-height: 1.15;
}
.story__media .stamp b { display: block; font-size: 30px; font-weight: 500; }
.story__media .stamp small { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.story__text { display: grid; gap: 20px; }
.story__text p { margin: 0; color: var(--muted); }
.signature { font-family: var(--script); font-size: 34px; color: var(--lav-deep); }
@media (max-width: 860px) {
  .story { grid-template-columns: 1fr; }
  .story__media { max-width: 440px; margin: 0 auto 40px; }
  .story__media .stamp { left: -6px; }
  .story__media .float { right: -2%; }
}

/* ---------- Category cards ---------- */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.cat-card {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4.1;
  box-shadow: var(--shadow-sm); isolation: isolate; display: flex; align-items: flex-end;
}
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.cat-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(40,28,52,.78)); }
.cat-card:hover img { transform: scale(1.06); }
.cat-card__body { padding: 26px; color: #fff; width: 100%; }
.cat-card__en { font-family: var(--serif-en); font-size: 14px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-3); }
.cat-card h3 { color: #fff; font-size: 24px; margin: 4px 0 10px; }
.cat-card .link-arrow { color: #fff; font-size: 14px; }
@media (max-width: 860px) {
  .cats { grid-template-columns: 1fr 1fr; }
  .cats .cat-card:last-child { grid-column: 1 / -1; aspect-ratio: 16/10; }
}
@media (max-width: 540px) {
  .cats { grid-template-columns: 1fr; }
  .cats .cat-card, .cats .cat-card:last-child { aspect-ratio: 4/3.6; }
}

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature {
  background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px; text-align: center; display: grid; justify-items: center; gap: 10px;
  transition: transform .3s, box-shadow .3s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature__icon { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--lav-soft); color: var(--lav-deep); margin-bottom: 6px; position: relative; }
.feature__icon::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px dashed var(--gold-2); }
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 18px; }
.feature p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.7; }
@media (max-width: 960px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .features { grid-template-columns: 1fr; } }

/* ---------- Occasions ---------- */
.occasions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.occasion {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px;
  background: var(--ivory); border: 1px solid var(--line); font-size: 15px; color: var(--plum);
  transition: .25s;
}
.occasion span { font-size: 20px; }
.occasion:hover { border-color: var(--gold-2); background: #fff; transform: translateY(-2px); }

/* ---------- Product grid & card ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.chip {
  padding: 10px 22px; border-radius: 999px; font-size: 15px; color: var(--plum);
  background: var(--ivory); border: 1px solid var(--line); transition: .25s;
}
.chip:hover { border-color: var(--gold-2); }
.chip[aria-pressed="true"] { background: var(--plum); color: #fff; border-color: var(--plum); }
.chip small { opacity: .6; margin-left: 4px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: clamp(18px, 2.2vw, 28px); }
.card {
  background: var(--ivory); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  display: flex; flex-direction: column; transition: transform .35s, box-shadow .35s;
  animation: fadeUp .6s both;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.card__media { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--cream-2); cursor: zoom-in; display: block; width: 100%; padding: 0; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.card:hover .card__media img { transform: scale(1.05); }
.badge {
  position: absolute; top: 14px; left: 14px; padding: 4px 12px; border-radius: 999px;
  background: rgba(255,253,249,.92); color: var(--lav-deep); font-size: 12.5px; font-weight: 500;
  border: 1px solid var(--gold-2); backdrop-filter: blur(4px);
}
.card__zoom { position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,253,249,.9); display: grid; place-items: center; color: var(--plum); opacity: 0; transform: translateY(6px); transition: .3s; }
.card__zoom svg { width: 18px; height: 18px; }
.card:hover .card__zoom { opacity: 1; transform: none; }
.card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card__cat { font-family: var(--serif-en); font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.card__name { font-family: var(--serif-en); font-size: 25px; font-weight: 500; color: var(--plum); line-height: 1.15; }
.card__th { font-size: 14px; color: var(--muted); line-height: 1.5; }
.card__price { font-family: var(--serif-en); font-size: 24px; color: var(--plum); font-weight: 600; margin: 8px 0 12px; }
.card__price small { font-family: var(--sans); font-size: 13px; font-weight: 400; color: var(--muted); }
.card__actions { margin-top: auto; display: flex; gap: 10px; align-items: center; }
.card__actions .btn { flex: 1; min-height: 44px; padding: 8px 14px; font-size: 14px; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; height: 44px; flex: none; }
.qty button { width: 36px; height: 100%; display: grid; place-items: center; color: var(--plum); border-radius: 999px; }
.qty button:hover { background: var(--lav-mist); }
.qty button svg { width: 14px; height: 14px; }
.qty input { width: 34px; text-align: center; border: 0; background: transparent; font-weight: 500; -moz-appearance: textfield; appearance: textfield; padding: 0; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--sm { height: 36px; }
.qty--sm button { width: 30px; }
.qty--sm input { width: 28px; font-size: 14px; }

/* ---------- Page banner (inner pages) ---------- */
.page-hero {
  position: relative; padding: calc(var(--header-h) + clamp(56px, 8vw, 96px)) 0 clamp(56px, 7vw, 84px);
  text-align: center; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(50% 80% at 10% 100%, rgba(185,162,205,.35), transparent 70%),
    radial-gradient(40% 70% at 95% 0%, rgba(217,190,135,.28), transparent 70%),
    var(--cream);
}
.page-hero::before {
  content: ""; position: absolute; z-index: -1; right: -60px; top: 50%; width: 420px; height: 280px; transform: translateY(-40%) rotate(-8deg);
  background: url("../img/brand/logo.png") center / contain no-repeat; opacity: .07;
}
.page-hero::after {
  content: ""; position: absolute; z-index: -1; left: -80px; bottom: -60px; width: 340px; height: 230px; transform: rotate(10deg);
  background: url("../img/brand/logo.png") center / contain no-repeat; opacity: .05;
}
.page-hero .wrap { display: grid; gap: 16px; justify-items: center; }
.breadcrumb { font-size: 13.5px; color: var(--muted); }
.breadcrumb a:hover { color: var(--lav-deep); }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 1px; background: repeating-linear-gradient(90deg, var(--gold-2) 0 6px, transparent 6px 12px); z-index: 0; }
.step { text-align: center; display: grid; justify-items: center; gap: 8px; position: relative; z-index: 1; }
.step__num {
  width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ivory); border: 1px solid var(--gold-2); font-family: var(--serif-en); font-size: 28px; color: var(--gold);
  box-shadow: 0 0 0 8px var(--cream);
}
.section--tint .step__num { box-shadow: 0 0 0 8px var(--lav-mist); }
.step h3 { font-size: 18px; margin-top: 8px; }
.step p { margin: 0; font-size: 14.5px; color: var(--muted); max-width: 240px; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
}
@media (max-width: 460px) { .steps { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: 28px; padding: clamp(40px, 6vw, 72px);
  background: radial-gradient(60% 120% at 100% 0%, rgba(185,162,205,.35), transparent 60%), linear-gradient(135deg, #3a2c49, #2a1f36);
  color: #f3eadf; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; isolation: isolate;
}
.cta-band::before {
  content: ""; position: absolute; right: -40px; bottom: -40px; width: 380px; height: 260px; z-index: -1;
  background: url("../img/brand/logo-gold.png") center / contain no-repeat; opacity: .16;
}
.cta-band::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(217,190,135,.25); border-radius: 20px; pointer-events: none; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.2vw, 38px); }
.cta-band p { color: rgba(243,234,223,.75); margin: 12px 0 0; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.cta-band .btn--ghost { color: #fff; box-shadow: inset 0 0 0 1px rgba(217,190,135,.6); }
.cta-band .btn--ghost:hover { background: rgba(255,255,255,.08); }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band .actions { justify-content: flex-start; } }

/* ---------- Custom order page ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.photo-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.photo-stack img { border-radius: 16px; aspect-ratio: 3/4; object-fit: cover; width: 100%; box-shadow: var(--shadow-sm); }
.photo-stack img:nth-child(2) { margin-top: 48px; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list li::before {
  content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%; margin-top: 3px;
  background: var(--lav-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2375599a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.check-list b { color: var(--plum); font-weight: 500; }
.check-list span { display: block; color: var(--muted); font-size: 14.5px; }

.palette { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.swatch {
  display: grid; gap: 10px; padding: 12px; border-radius: 16px; background: var(--ivory); border: 1px solid var(--line);
  text-align: left; transition: .25s;
}
.swatch:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.swatch[aria-pressed="true"] { border-color: var(--lav-deep); box-shadow: 0 0 0 2px var(--lav-soft); }
.swatch__dots { display: flex; height: 46px; border-radius: 10px; overflow: hidden; }
.swatch__dots i { flex: 1; }
.swatch b { font-weight: 500; color: var(--plum); font-size: 14.5px; }
.swatch small { color: var(--muted); font-size: 12.5px; display: block; line-height: 1.4; }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tier { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; display: grid; gap: 8px; text-align: center; position: relative; }
.tier--hl { border-color: var(--gold-2); box-shadow: var(--shadow); }
.tier--hl::before { content: "ยอดนิยม"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 3px 14px; border-radius: 999px; background: var(--gold-grad); color: #3a2a12; font-size: 12.5px; font-weight: 500; }
.tier__qty { font-family: var(--serif-en); font-size: 15px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.tier__off { font-family: var(--serif-en); font-size: 54px; line-height: 1; color: var(--plum); font-weight: 500; }
.tier__off small { font-size: 22px; }
.tier p { margin: 0; color: var(--muted); font-size: 14.5px; }
@media (max-width: 760px) { .tiers { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; color: var(--plum); font-weight: 500; }
.field label em { font-style: normal; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff;
  transition: border-color .2s, box-shadow .2s; min-height: 48px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lav); box-shadow: 0 0 0 4px var(--lav-soft); }
.form-card { background: var(--ivory); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.form-note { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card {
  background: var(--ivory); border: 1px solid var(--line); border-radius: 24px; padding: 34px 28px;
  display: grid; gap: 10px; justify-items: center; text-align: center; transition: .3s;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-card__icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--lav-soft); color: var(--lav-deep); }
.contact-card__icon svg { width: 28px; height: 28px; }
.contact-card__icon--line { background: #e6f9ee; color: #06c755; }
.contact-card__label { font-family: var(--serif-en); font-size: 13px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.contact-card__value { font-family: var(--serif-en); font-size: 30px; color: var(--plum); font-weight: 500; line-height: 1.2; }
.contact-card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.contact-card .btn { margin-top: 8px; }
.qr-box { background: #fff; padding: 12px; border-radius: 14px; border: 1px solid var(--line); }
.qr-box canvas, .qr-box img { width: 148px !important; height: 148px !important; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }

.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--ivory); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; transition: .25s; }
.faq details[open] { border-color: var(--gold-2); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; display: flex; justify-content: space-between; gap: 16px; font-weight: 500; color: var(--plum); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--serif-en); font-size: 26px; line-height: 1; color: var(--gold); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: #2a1f36; color: rgba(243,234,223,.72); padding: 72px 0 28px; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--gold-grad); opacity: .7; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand img { width: 190px; margin-bottom: 14px; }
.footer-brand p { margin: 0; font-size: 14.5px; max-width: 300px; }
.site-footer h4 { color: var(--gold-2); font-family: var(--serif-en); font-size: 15px; letter-spacing: .24em; text-transform: uppercase; margin-bottom: 16px; font-weight: 500; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14.5px; }
.site-footer a:hover { color: var(--gold-3); }
.footer-bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(217,190,135,.18); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Floating contact ---------- */
.fab-line {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%;
  background: #06c755; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(6,199,85,.55);
  transition: transform .25s;
}
.fab-line:hover { transform: scale(1.07); }
.fab-line svg { width: 30px; height: 30px; }

/* ---------- Drawer (cart) ---------- */
.overlay { position: fixed; inset: 0; background: rgba(42,31,54,.45); backdrop-filter: blur(2px); z-index: 80; opacity: 0; pointer-events: none; transition: opacity .3s; }
.overlay.is-open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 90; width: min(440px, 100%);
  background: var(--cream); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .4s cubic-bezier(.2,.7,.2,1);
  box-shadow: -20px 0 50px -20px rgba(42,31,54,.4);
}
.drawer.is-open { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 22px; }
.drawer__head h2 small { font-family: var(--sans); font-size: 14px; color: var(--muted); font-weight: 400; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 22px 20px; }
.drawer__foot { border-top: 1px solid var(--line); padding: 18px 22px 22px; background: var(--ivory); display: grid; gap: 12px; }
.cart-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-item img { width: 76px; height: 92px; object-fit: cover; border-radius: 10px; }
.cart-item__name { font-family: var(--serif-en); font-size: 20px; color: var(--plum); line-height: 1.15; }
.cart-item__th { font-size: 13px; color: var(--muted); line-height: 1.4; margin-bottom: 8px; }
.cart-item__price { font-weight: 500; color: var(--plum); text-align: right; font-size: 15px; }
.cart-item__remove { font-size: 12.5px; color: var(--muted); text-decoration: underline; margin-top: 6px; }
.cart-item__remove:hover { color: #b0445a; }
.cart-empty { text-align: center; padding: 60px 10px; display: grid; gap: 14px; justify-items: center; color: var(--muted); }
.cart-empty svg { width: 64px; height: 64px; color: var(--lav); }
.total-row { display: flex; justify-content: space-between; align-items: baseline; }
.total-row span { color: var(--muted); font-size: 14.5px; }
.total-row b { font-family: var(--serif-en); font-size: 28px; color: var(--plum); font-weight: 600; }
.checkout { margin-top: 18px; display: grid; gap: 12px; }
.checkout h3 { font-size: 17px; margin-top: 8px; }
.checkout .field input, .checkout .field select, .checkout .field textarea { min-height: 44px; padding: 10px 14px; font-size: 15px; }
.checkout .field textarea { min-height: 80px; }

/* ---------- Modal (lightbox & order summary) ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; opacity: 0; pointer-events: none; transition: opacity .3s; }
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(42,31,54,.6); backdrop-filter: blur(4px); }
.modal__panel {
  position: relative; background: var(--ivory); border-radius: 24px; overflow: hidden; width: min(920px, 100%);
  max-height: calc(100svh - 32px); display: grid; grid-template-columns: 1.05fr 1fr; box-shadow: 0 40px 80px -30px rgba(0,0,0,.5);
  transform: translateY(16px) scale(.98); transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.modal.is-open .modal__panel { transform: none; }
.modal__close { position: absolute; top: 12px; right: 12px; z-index: 2; background: rgba(255,253,249,.9); }
.modal__media { background: var(--cream-2); min-height: 0; }
.modal__media img { width: 100%; height: 100%; object-fit: cover; max-height: calc(100svh - 32px); }
.modal__info { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 10px; overflow-y: auto; }
.modal__info .card__name { font-size: 36px; }
.modal__info p { color: var(--muted); margin: 6px 0; }
.modal__info .card__actions { margin-top: 12px; }
.modal__meta { list-style: none; padding: 16px 0 0; margin: 8px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.modal__meta li { display: flex; gap: 10px; }
.modal__meta svg { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: 4px; }
@media (max-width: 760px) {
  .modal__panel { grid-template-columns: 1fr; overflow-y: auto; }
  .modal__media img { max-height: 46svh; }
  .modal__info { overflow: visible; }
}
.modal--sm .modal__panel { grid-template-columns: 1fr; width: min(520px, 100%); }
.order-text {
  width: 100%; min-height: 220px; padding: 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff;
  font-size: 14px; line-height: 1.6; resize: vertical; white-space: pre-wrap;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 120; transform: translate(-50%, 20px);
  background: var(--plum); color: #fff; padding: 12px 20px 12px 14px; border-radius: 999px;
  display: flex; align-items: center; gap: 12px; font-size: 14.5px; box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transition: .35s cubic-bezier(.2,.7,.2,1); max-width: calc(100% - 32px);
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.toast button { color: var(--gold-3); text-decoration: underline; font-size: 14px; white-space: nowrap; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

.grid-status { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 40px 0; margin: 0; }
