/* ==========================================================================
   GemsHeaven — Design System
   Signature: the carved jade "seal" medallion (authenticity mark)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400&family=Manrope:wght@400;500;600;700;800&family=Noto+Sans+Myanmar:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;600;700&display=swap');

:root{
  /* ---- color tokens (light) ---- */
  --jade-900:#0d3a2f;
  --jade-800:#124a3c;
  --jade-700:#1f6f58;
  --jade-600:#2c8468;
  --jade-500:#3f9c7d;
  --jade-300:#a7dcc4;
  --jade-200:#cdead9;
  --jade-100:#e9f6ef;
  --stone-gold:#b6a06a;
  --cream:#f8f4ec;
  --cream-2:#f1ece0;
  --ivory:#fffdf9;
  --ink:#1c2420;
  --ink-soft:#54615a;
  --ink-faint:#8b958e;
  --line:#e3ddcc;
  --danger:#b5453a;

  --bg:var(--cream);
  --bg-alt:var(--ivory);
  --surface:var(--ivory);
  --text:var(--ink);
  --text-soft:var(--ink-soft);
  --text-faint:var(--ink-faint);
  --border:var(--line);
  --accent:var(--jade-700);
  --accent-strong:var(--jade-900);
  --accent-soft:var(--jade-100);
  --overlay:rgba(13,58,47,.06);

  --shadow-sm:0 1px 2px rgba(20,30,25,.06), 0 1px 1px rgba(20,30,25,.04);
  --shadow-md:0 8px 24px -8px rgba(20,40,32,.18);
  --shadow-lg:0 24px 60px -20px rgba(15,35,28,.28);

  --font-display:'Fraunces', 'Noto Sans Myanmar', 'Noto Sans SC', serif;
  --font-body:'Manrope', 'Noto Sans Myanmar', 'Noto Sans SC', sans-serif;

  --radius-sm:8px;
  --radius-md:14px;
  --radius-lg:26px;
  --container:1240px;
  --nav-h:76px;
}

html[data-theme="dark"]{
  --bg:#121613;
  --bg-alt:#181d19;
  --surface:#1a201c;
  --text:#eef1ea;
  --text-soft:#b7c1ba;
  --text-faint:#7c8983;
  --border:#2a322c;
  --accent:var(--jade-500);
  --accent-strong:var(--jade-300);
  --accent-soft:#1c2a23;
  --overlay:rgba(167,220,196,.06);
  --shadow-md:0 8px 28px -8px rgba(0,0,0,.55);
  --shadow-lg:0 30px 70px -24px rgba(0,0,0,.65);
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  transition:background .35s ease, color .35s ease;
  overflow-x:hidden;
}
html[lang="my"] body, body[data-lang="my"]{ font-family:'Noto Sans Myanmar', var(--font-body); }
html[lang="zh"] body, body[data-lang="zh"]{ font-family:'Noto Sans SC', var(--font-body); }

img{max-width:100%; display:block;}
a{color:inherit; text-decoration:none;}
button{font-family:inherit; cursor:pointer;}
ul{list-style:none; margin:0; padding:0;}
input,select,textarea{font-family:inherit; font-size:1rem;}

/* ---------- consistent dropdown arrow across all <select> fields ---------- */
select{
  appearance:none; -webkit-appearance:none; -moz-appearance:none;
  background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2354615a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 18px center;
  background-size:15px;
  padding-right:2.7rem;
}
html[data-theme="dark"] select{
  background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b7c1ba' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

h1,h2,h3,h4{
  font-family:var(--font-display);
  font-weight:500;
  line-height:1.08;
  letter-spacing:-.01em;
  margin:0;
  color:var(--text);
}
/* Myanmar script stacks vowel signs and medials above/below each letter —
   the tight line-height and negative letter-spacing above (tuned for the
   Latin display font) crowd those marks together, so give headings more
   room to breathe whenever the page is in Burmese. */
html[lang="my"] h1, html[lang="my"] h2, html[lang="my"] h3, html[lang="my"] h4{
  line-height:1.65;
  letter-spacing:0;
}
.eyebrow{
  font-size:.72rem;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--accent);
  font-weight:700;
  display:flex;
  align-items:center;
  gap:.55rem;
}
.eyebrow::before{
  content:"";
  width:22px; height:1px;
  background:var(--accent);
  display:inline-block;
}

:focus-visible{outline:2px solid var(--accent); outline-offset:3px; border-radius:4px;}

.container{max-width:var(--container); margin:0 auto; padding:0 24px;}
.wrap{width:100%; overflow:hidden;}

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

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

/* ---------- Jade Seal signature motif ---------- */
.jade-seal{
  --seal-size:56px;
  width:var(--seal-size); height:var(--seal-size);
  border-radius:50%;
  position:relative;
  flex-shrink:0;
}
.jade-seal svg{width:100%; height:100%; display:block;}
.seal-spin{animation:sealSpin 40s linear infinite;}
@keyframes sealSpin{from{transform:rotate(0)} to{transform:rotate(360deg)}}

.seal-divider{
  display:flex; align-items:center; justify-content:center; gap:18px;
  margin:0 auto; width:fit-content;
}
.seal-divider .line{width:64px; height:1px; background:var(--border);}
.seal-divider .jade-seal{--seal-size:30px;}

/* ==========================================================================
   NAV
   ========================================================================== */
.site-header{
  position:sticky; top:0; z-index:500;
  height:var(--nav-h);
  display:flex; align-items:center;
  background:color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter:blur(14px) saturate(1.2);
  -webkit-backdrop-filter:blur(14px) saturate(1.2);
  border-bottom:1px solid var(--border);
  transition:background .35s ease, border-color .35s ease;
}
.nav-inner{
  width:100%; max-width:var(--container); margin:0 auto; padding:0 24px;
  display:flex; align-items:center; justify-content:space-between; gap:24px;
}
.brand{
  display:flex; align-items:center; gap:.65rem;
  font-family:var(--font-display); font-size:1.35rem; font-weight:600;
  letter-spacing:.02em;
}
.brand .jade-seal{--seal-size:34px;}
.brand-logo{height:34px; width:auto; object-fit:contain; flex-shrink:0;}
.brand small{
  display:block; font-family:var(--font-body); font-weight:600;
  font-size:.6rem; letter-spacing:.24em; color:var(--text-faint); text-transform:uppercase; margin-top:2px;
}
.nav-links{display:flex; align-items:center; gap:2.1rem;}
.nav-links a{
  font-size:.86rem; font-weight:600; color:var(--text-soft);
  position:relative; padding:6px 0; letter-spacing:.01em;
}
.nav-links a::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:1px;
  background:var(--accent); transform:scaleX(0); transform-origin:left;
  transition:transform .3s ease;
}
.nav-links a:hover, .nav-links a.active{color:var(--text);}
.nav-links a:hover::after, .nav-links a.active::after{transform:scaleX(1);}

.nav-actions{display:flex; align-items:center; gap:.9rem;}
.icon-btn{
  width:40px; height:40px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:transparent; border:1px solid var(--border); color:var(--text);
  transition:background .25s ease, border-color .25s ease, transform .25s ease;
  position:relative;
}
.icon-btn:hover{border-color:var(--accent); color:var(--accent); transform:translateY(-1px);}
.icon-btn svg{width:17px; height:17px;}
.footer-social-icon{background:#fff;}
.footer-social-icon img{width:18px; height:18px; display:block; object-fit:contain;}
.cart-count{
  position:absolute; top:-5px; right:-5px; min-width:18px; height:18px; padding:0 4px;
  background:var(--accent); color:#fff; border-radius:999px;
  font-size:.62rem; font-weight:800; display:flex; align-items:center; justify-content:center;
}

.lang-dropdown{position:relative;}
.lang-menu{
  position:absolute; top:calc(100% + 12px); right:0; min-width:160px;
  background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:.45rem;
  box-shadow:var(--shadow-lg); opacity:0; visibility:hidden; transform:translateY(-8px);
  transition:opacity .22s ease, transform .22s ease, visibility .22s; z-index:600;
}
.lang-dropdown.open .lang-menu,
.lang-dropdown:hover .lang-menu{opacity:1; visibility:visible; transform:translateY(0);}
.lang-menu button{
  display:flex; align-items:center; width:100%; text-align:left; padding:.6rem .8rem; border-radius:9px;
  background:none; border:none; font-size:.86rem; font-weight:600; color:var(--text-soft); transition:background .2s ease, color .2s ease;
}
.lang-menu button:hover{background:var(--accent-soft); color:var(--accent-strong);}
.lang-menu button.active{color:var(--accent-strong); font-weight:800;}
@media (max-width:900px){ .lang-dropdown:hover .lang-menu{opacity:0; visibility:hidden; transform:translateY(-8px);} .lang-dropdown.open .lang-menu{opacity:1; visibility:visible; transform:translateY(0);} }

.menu-toggle{display:none; background:none; border:none; color:var(--text); padding:6px;}
.menu-toggle svg{width:24px; height:24px;}

@media (max-width:900px){
  .nav-links{
    position:fixed; inset:var(--nav-h) 0 0 0; height:calc(100dvh - var(--nav-h));
    background:var(--bg); flex-direction:column; align-items:flex-start; justify-content:flex-start;
    padding:2rem 24px; gap:1.5rem; transform:translateX(100%); transition:transform .4s cubic-bezier(.2,.8,.2,1);
    border-top:1px solid var(--border); overflow-y:auto;
  }
  .nav-links.open{transform:translateX(0);}
  .nav-links a{font-size:1.2rem;}
  .menu-toggle{display:flex;}
  .nav-actions .lang-switch{display:none;}
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.5rem;
  padding:.95rem 1.9rem; border-radius:999px; font-weight:700; font-size:.86rem;
  letter-spacing:.03em; border:1px solid transparent; transition:all .28s cubic-bezier(.2,.7,.2,1);
  white-space:nowrap;
}
.btn-primary{background:var(--accent-strong); color:#fff;}
.btn-primary:hover{background:var(--jade-600); transform:translateY(-2px); box-shadow:var(--shadow-md);}
.btn-outline{background:transparent; color:var(--text); border-color:var(--border);}
.btn-outline:hover{border-color:var(--accent); color:var(--accent); transform:translateY(-2px);}
.btn-ghost{background:transparent; color:var(--accent); padding:.6rem 0;}
.btn-ghost:hover{gap:.75rem;}
.btn-block{width:100%;}
.btn:disabled{opacity:.45; cursor:not-allowed; transform:none !important;}
.btn-sm{padding:.6rem 1.1rem; font-size:.76rem;}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero{
  position:relative; overflow:hidden;
  padding:calc(var(--nav-h) + 1.2rem) 0 5rem;
  background:var(--jade-900);
}
.hero::before{
  content:'';
  position:absolute; inset:0; z-index:0;
  background:url('../img/hero-jade-bracelet.jpg') center/cover no-repeat;
  opacity:.8;
}
@media (max-width:600px){
  .hero{padding:calc(var(--nav-h) + 1.4rem) 0 3.4rem;}
  .hero-title{margin:.8rem 0 1rem;}
  .hero-sub{margin-bottom:1.6rem;}
}
.hero-grid{display:grid; grid-template-columns:1fr; gap:0;}

.hero-content{position:relative; z-index:1; color:#fdfdfb; max-width:620px; text-shadow:0 2px 18px rgba(0,0,0,.55);}
.hero-content .eyebrow{color:var(--jade-300);}
.hero-content .eyebrow::before{background:var(--jade-300);}
.hero-title{font-size:clamp(2.4rem, 4.4vw, 4rem); margin:1.1rem 0 1.3rem; color:#fff;}
.hero-title em{color:var(--jade-300); font-style:italic;}
.hero-sub{font-size:1.05rem; color:rgba(255,255,255,.9); max-width:460px; margin-bottom:2.2rem;}
.hero-actions{display:flex; gap:1rem; flex-wrap:wrap;}
.hero .btn-outline{border-color:rgba(255,255,255,.55); color:#fff; background:rgba(0,0,0,.15);}
.hero .btn-outline:hover{border-color:#fff; background:rgba(0,0,0,.3);}
.hero-ship-badge{
  position:absolute; top:26%; right:5%; z-index:3;
  display:flex; align-items:center; gap:.7rem;
  padding:.55rem 1.15rem .55rem .55rem;
  background:rgba(255,255,255,.1);
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  border:1px solid rgba(167,220,196,.4);
  border-radius:999px;
  box-shadow:0 20px 50px -18px rgba(0,0,0,.6);
}
.hero-ship-badge-icon{
  width:38px; height:38px; border-radius:50%; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  background:radial-gradient(circle at 35% 30%, var(--jade-500), var(--jade-700) 55%, var(--jade-900) 100%);
  box-shadow:0 0 0 1px rgba(255,255,255,.28), 0 6px 16px -4px rgba(0,0,0,.5);
  animation:sealSpin 22s linear infinite;
}
.hero-ship-badge-icon svg{width:20px; height:20px; color:#fff;}
.hero-ship-badge-text{
  font-size:.72rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase; color:#fff;
  max-width:118px; line-height:1.35;
}

.hero-new-cards{position:absolute; inset:0; z-index:2; pointer-events:none;}
.hero-float-card{
  position:absolute; z-index:3; display:flex; align-items:center; gap:.8rem;
  background:var(--ivory); border-radius:14px; padding:.7rem 1.1rem .7rem .7rem;
  box-shadow:var(--shadow-lg); max-width:210px; pointer-events:auto;
  text-decoration:none; transition:transform .2s ease;
}
.hero-float-card:hover{transform:translateY(-3px);}
.hero-float-card img{width:48px; height:48px; border-radius:10px; object-fit:cover; flex-shrink:0;}
.hero-float-name{font-weight:700; font-size:.82rem; color:var(--ink); line-height:1.2;}
.hero-float-sub{font-size:.68rem; color:var(--ink-faint); margin:.15rem 0 .3rem;}
.hero-float-price{font-weight:800; font-size:.84rem; color:var(--jade-900);}
.hero-float-card-a{top:15%; left:41%;}
.hero-float-card-b{bottom:12%; right:9%;}
.hero-ship-badge-mobile{display:none;}
@media (max-width:960px){
  .hero-new-cards{display:none;}
  .hero-ship-badge{display:none;}
  .hero-ship-badge-mobile{
    display:inline-flex; align-items:center; gap:.55rem;
    padding:.4rem .9rem .4rem .4rem;
    background:rgba(255,255,255,.1);
    backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
    border:1px solid rgba(167,220,196,.4);
    border-radius:999px;
    margin-bottom:1.1rem;
  }
  .hero-ship-badge-mobile .hero-ship-badge-icon{width:26px; height:26px;}
  .hero-ship-badge-mobile .hero-ship-badge-icon svg{width:14px; height:14px;}
  .hero-ship-badge-mobile .hero-ship-badge-text{font-size:.64rem; max-width:none;}
}

.hero-scroll-cue{
  position:absolute; bottom:2rem; left:50%; transform:translateX(-50%); z-index:1;
  display:flex; flex-direction:column; align-items:center; gap:.5rem;
  color:rgba(255,255,255,.6); font-size:.68rem; letter-spacing:.2em; text-transform:uppercase;
}
.hero-scroll-cue .stick{width:1px; height:34px; background:linear-gradient(rgba(255,255,255,.7), transparent); animation:scrollcue 1.8s ease-in-out infinite;}
@keyframes scrollcue{0%{transform:scaleY(.3); transform-origin:top;}50%{transform:scaleY(1); transform-origin:top;}100%{transform:scaleY(.3); transform-origin:bottom;}}
@media (max-width:600px){
  .hero-scroll-cue{display:none;}
}

/* ==========================================================================
   SECTIONS / GRID
   ========================================================================== */
.section{padding:6.5rem 0;}
.section-tight{padding:4rem 0;}
.section-head{display:flex; align-items:flex-end; justify-content:space-between; gap:2rem; margin-bottom:3rem; flex-wrap:wrap;}
.section-head h2{font-size:clamp(1.8rem,3.4vw,2.6rem);}
.section-head p{color:var(--text-soft); max-width:460px; margin-top:.9rem;}
.section-alt{background:var(--bg-alt); border-top:1px solid var(--border); border-bottom:1px solid var(--border);}

.grid{display:grid; gap:1.6rem;}
.grid-2{grid-template-columns:repeat(2,1fr);}
.grid-3{grid-template-columns:repeat(3,1fr);}
.grid-4{grid-template-columns:repeat(4,1fr);}
@media (max-width:980px){.grid-4{grid-template-columns:repeat(2,1fr);} .grid-3{grid-template-columns:repeat(2,1fr);}}
@media (max-width:640px){.grid-4,.grid-3,.grid-2{grid-template-columns:1fr;}}

/* ---------- Product Card ---------- */
.product-card{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg);
  overflow:hidden; transition:transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease, border-color .4s ease;
  display:flex; flex-direction:column; position:relative;
}
.product-card:hover{transform:translateY(-6px); box-shadow:var(--shadow-lg); border-color:transparent;}
.product-media{position:relative; aspect-ratio:4/5; overflow:hidden; background:var(--cream-2);}
.product-media img{width:100%; height:100%; object-fit:cover; transition:transform .7s cubic-bezier(.2,.7,.2,1);}
.product-card:hover .product-media img{transform:scale(1.06);}
.product-tag{
  position:absolute; top:14px; left:14px; background:var(--accent-strong); color:#fff;
  font-size:.62rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase;
  padding:.35rem .65rem; border-radius:999px;
}
.product-tag.tag-sale{background:var(--danger);}
.product-tag.tag-soldout{background:#ef4444; letter-spacing:.08em;}
.product-card.is-sold-out .product-media img{opacity:.45; filter:grayscale(.4);}
.product-card.is-sold-out:hover{transform:none; box-shadow:none;}
.product-card.is-sold-out .product-name{color:var(--text-faint);}
.sold-out-overlay{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  background:rgba(20,22,20,.28); pointer-events:none;
}
.sold-out-overlay-text{
  color:#fff; background:var(--jade-600); font-weight:800; font-size:1rem; letter-spacing:.18em; text-transform:uppercase;
  padding:.5rem 1.1rem; border-radius:999px;
}
.low-stock-note{font-size:.76rem; font-weight:700; color:#b5762f; margin-top:.5rem;}
html[data-theme="dark"] .low-stock-note{color:#e0a75e;}
.quick-add{
  position:absolute; left:14px; right:14px; bottom:14px;
  transform:translateY(140%); opacity:0; transition:all .35s cubic-bezier(.2,.7,.2,1);
}
.product-card:hover .quick-add{transform:translateY(0); opacity:1;}
.quick-add.quick-add-static{transform:translateY(0); opacity:1;}

/* ---- Card quantity picker (shop grid quick-add) ---- */
.quick-add-qty{display:flex; align-items:center; gap:.5rem;}
.qty-control.qty-control-sm{
  flex-shrink:0; background:rgba(255,255,255,.92); border-color:rgba(20,24,21,.12);
  box-shadow:0 2px 10px rgba(20,24,21,.14);
}
html[data-theme="dark"] .qty-control.qty-control-sm{
  background:rgba(24,28,25,.9); border-color:rgba(255,255,255,.16);
}
.qty-control.qty-control-sm button{width:30px; height:30px; font-size:.92rem;}
.qty-control.qty-control-sm input.qty-input{width:24px; font-size:.82rem;}
.quick-add-qty .card-add-btn{flex:1; padding:.6rem .5rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}

.btn-disabled, .btn-disabled:hover{
  background:rgba(28,36,32,.55); color:rgba(255,255,255,.85); border:none; cursor:not-allowed;
}
html[data-theme="dark"] .btn-disabled, html[data-theme="dark"] .btn-disabled:hover{background:rgba(255,255,255,.18); color:rgba(255,255,255,.8);}
.product-info{padding:1.15rem 1.3rem 1.4rem;}
.product-cat{font-size:.68rem; letter-spacing:.14em; text-transform:uppercase; color:var(--text-faint); font-weight:700;}
.product-name{font-family:var(--font-display); font-size:1.15rem; margin:.35rem 0 .5rem; font-weight:500;}
.product-price-row{display:flex; align-items:center; gap:.6rem;}
.price{font-weight:700; color:var(--accent-strong); font-size:1.02rem;}
.price-old{text-decoration:line-through; color:var(--text-faint); font-size:.88rem; font-weight:500;}

/* ---------- Feature / Why cards ---------- */
.feature-card{padding:2.2rem 1.8rem; border-radius:var(--radius-lg); background:var(--surface); border:1px solid var(--border); text-align:left;}
.feature-icon{
  width:52px; height:52px; border-radius:50%; background:var(--accent-soft); color:var(--accent-strong);
  display:flex; align-items:center; justify-content:center; margin-bottom:1.2rem;
}
.feature-icon svg{width:24px; height:24px;}
.feature-card h3{font-size:1.15rem; margin-bottom:.6rem;}
.feature-card p{color:var(--text-soft); font-size:.92rem; margin:0;}

/* ---------- testimonials ---------- */
.testi-card{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg); padding:2rem;
  display:flex; flex-direction:column; gap:1.2rem; height:100%;
}
.testi-stars{color:var(--stone-gold); letter-spacing:.15em; font-size:.9rem;}
.testi-quote{font-family:var(--font-display); font-size:1.08rem; line-height:1.55; color:var(--text);}
.testi-person{display:flex; align-items:center; gap:.8rem; margin-top:auto;}
.testi-avatar{width:42px; height:42px; border-radius:50%; object-fit:cover;}
.testi-name{font-weight:700; font-size:.9rem;}
.testi-loc{color:var(--text-faint); font-size:.78rem;}

/* ---------- brand intro / about split ---------- */
.split{display:grid; grid-template-columns:1fr 1fr; gap:4rem; align-items:center;}
@media (max-width:900px){.split{grid-template-columns:1fr; gap:2.4rem;}}
.split img{border-radius:var(--radius-lg); width:100%; object-fit:cover; height:100%;}
.stat-row{display:flex; gap:2.4rem; margin-top:2rem; flex-wrap:wrap;}
.stat-num{font-family:var(--font-display); font-size:2.1rem; color:var(--accent-strong);}
.stat-label{font-size:.78rem; color:var(--text-faint); text-transform:uppercase; letter-spacing:.08em; margin-top:.2rem;}

/* ---------- CTA band ---------- */
.cta-band{
  background:var(--accent-strong); color:#fff; border-radius:var(--radius-lg);
  padding:2.6rem 2.8rem; text-align:left; position:relative; overflow:hidden;
}
/* --accent-strong deliberately flips to a pale mint in dark mode so it pops
   as a highlight color elsewhere (buttons, prices, icons) — but that makes
   white heading/body text on this solid panel nearly unreadable. Pin the
   band itself to a rich dark green regardless of theme, same as it looks
   in light mode. */
html[data-theme="dark"] .cta-band{background:var(--jade-800);}
/* Same reasoning as above: the white pill button inside the CTA band used
   --accent-strong for its text color, which is pale mint in dark mode —
   nearly invisible on a white button. Pin it to a fixed dark green. */
.cta-band-btn{background:#fff; color:var(--jade-900);}
.cta-band-btn:hover{background:#fff; opacity:.92;}
.cta-band::before{
  content:"";
  position:absolute; inset:-45%;
  background:
    radial-gradient(circle at 22% 30%, rgba(167,220,196,.28), transparent 55%),
    radial-gradient(circle at 78% 68%, rgba(182,160,106,.2), transparent 50%);
  animation:ctaDrift 20s ease-in-out infinite alternate;
  pointer-events:none; z-index:0;
}
@keyframes ctaDrift{
  0%{transform:translate(-3%,-2%) scale(1);}
  100%{transform:translate(3%,3%) scale(1.1);}
}
.cta-band h2{color:#fff; font-size:clamp(1.8rem,3.6vw,2.8rem);}
.cta-band p{color:rgba(255,255,255,.75); max-width:480px; margin:1rem 0 2rem;}
.cta-band .jade-seal{position:absolute; top:-20px; right:-20px; --seal-size:170px; opacity:.12; z-index:0;}
.cta-band > *{position:relative; z-index:1;}

/* split variant: big heading+CTA on the left, small supporting text on the right — tight two-column grid, no stretch */
.cta-band.cta-split{display:grid; grid-template-columns:1.4fr 1fr; gap:2rem; align-items:center;}
.cta-split-left{position:relative; z-index:1;}
.cta-split-left h2{margin-bottom:.9rem;}
.cta-split-left .btn{margin-top:0;}
.cta-split-right{position:relative; z-index:1;}
.cta-split-right p{margin:0; color:rgba(255,255,255,.85); font-size:.92rem;}
@media (max-width:680px){
  .cta-band.cta-split{grid-template-columns:1fr; gap:.9rem;}
  .cta-split-right p{text-align:left;}
}

/* centered variant: heading, short description, big pill button — all
   stacked in a single centered column */
.cta-band.cta-centered{
  display:flex; flex-direction:column; align-items:center; text-align:center;
  max-width:560px; margin-left:auto; margin-right:auto; padding:3.2rem 2.4rem;
}
.cta-band.cta-centered h2{margin:0 0 .8rem; font-size:clamp(1.6rem,3vw,2rem);}
.cta-band.cta-centered p{margin:0 0 1.8rem; max-width:420px;}
.cta-band.cta-centered .btn{padding:.9rem 2.4rem; border-radius:999px; font-size:.95rem;}

/* full-width variant: same centered/stacked text+button, but the band
   itself spans the whole section instead of shrinking into a narrow card */
.cta-band.cta-centered-full{max-width:none; margin-left:0; margin-right:0;}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer{background:var(--bg-alt); border-top:1px solid var(--border); padding:4.5rem 0 2rem; margin-top:2rem;}
.footer-grid{display:grid; grid-template-columns:1.4fr repeat(3,1fr); gap:2.5rem; padding-bottom:3rem; border-bottom:1px solid var(--border);}
@media (max-width:900px){.footer-grid{grid-template-columns:repeat(2,1fr);}}
@media (max-width:560px){.footer-grid{grid-template-columns:1fr;}}
.footer-grid h4{font-size:.78rem; text-transform:uppercase; letter-spacing:.1em; color:var(--text-faint); margin-bottom:1.1rem;}
.footer-grid ul li{margin-bottom:.7rem;}
.footer-grid a{color:var(--text-soft); font-size:.9rem; transition:color .2s ease;}
.footer-grid a:hover{color:var(--accent);}
.footer-brand p{color:var(--text-soft); font-size:.92rem; max-width:280px; margin:1rem 0 1.4rem;}
.footer-social{display:flex; gap:.7rem; flex-wrap:wrap;}
.footer-bottom{display:flex; justify-content:space-between; align-items:center; padding-top:1.6rem; flex-wrap:wrap; gap:1rem;}
.footer-bottom p{color:var(--text-faint); font-size:.8rem; margin:0;}
.footer-legal{display:flex; flex-direction:column; gap:.3rem;}
.footer-credit{color:var(--text-faint); font-size:.72rem; margin:0; opacity:.75;}
.payment-icons{display:flex; gap:.6rem; flex-wrap:wrap;}
.payment-chip{
  font-size:.68rem; font-weight:700; color:var(--text-soft); border:1px solid var(--border);
  padding:.3rem .6rem; border-radius:6px;
}

/* ==========================================================================
   PAGE HEADER (interior pages)
   ========================================================================== */
.page-hero{
  padding:calc(var(--nav-h) + 3.2rem) 0 3rem; text-align:center; border-bottom:1px solid var(--border);
  background:var(--bg-alt);
}
.page-hero h1{font-size:clamp(2rem,4.4vw,3rem);}
.breadcrumb{color:var(--text-faint); font-size:.82rem; margin-top:.9rem;}
.breadcrumb a:hover{color:var(--accent);}

/* ==========================================================================
   SHOP PAGE
   ========================================================================== */
.shop-layout{display:grid; grid-template-columns:260px 1fr; gap:2.6rem; align-items:flex-start;}
@media (max-width:880px){.shop-layout{grid-template-columns:1fr;}}
.filter-panel{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-md); padding:1.6rem;
  position:sticky; top:calc(var(--nav-h) + 20px);
}
@media (max-width:880px){.filter-panel{position:static;}}
.filter-block + .filter-block{margin-top:1.6rem; padding-top:1.6rem; border-top:1px solid var(--border);}
.filter-block h4{font-size:.78rem; text-transform:uppercase; letter-spacing:.08em; margin-bottom:.9rem; color:var(--text-faint);}
.filter-opt{display:flex; align-items:center; gap:.6rem; padding:.4rem 0; font-size:.9rem; cursor:pointer; color:var(--text-soft);}
.filter-opt input{accent-color:var(--accent);}
.filter-opt:hover{color:var(--text);}
.range-row{display:flex; gap:.6rem;}
.range-row input{width:100%; padding:.5rem .6rem; border:1px solid var(--border); border-radius:8px; background:var(--bg); color:var(--text);}

.shop-toolbar{display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-bottom:1.6rem; flex-wrap:wrap;}
.search-box{
  display:flex; align-items:center; gap:.6rem; border:1px solid var(--border); border-radius:999px; padding:.6rem 1.1rem;
  flex:1; min-width:220px; background:var(--surface);
}
.search-box input{border:none; outline:none; background:transparent; width:100%; color:var(--text);}
.search-box svg{width:16px; height:16px; color:var(--text-faint); flex-shrink:0;}
.sort-select{border:1px solid var(--border); border-radius:999px; padding:.6rem 1rem; padding-right:2.7rem; background-color:var(--surface); color:var(--text);}
.result-count{color:var(--text-faint); font-size:.85rem;}
.empty-state{padding:4rem 1rem; text-align:center; color:var(--text-faint);}
.pagination{display:flex; gap:.5rem; justify-content:center; margin-top:2.6rem;}
.pagination button{
  width:38px; height:38px; border-radius:50%; border:1px solid var(--border); background:var(--surface); color:var(--text);
}
.pagination button.active{background:var(--accent-strong); color:#fff; border-color:transparent;}

/* ==========================================================================
   PRODUCT DETAIL
   ========================================================================== */
.pd-layout{display:grid; grid-template-columns:1fr 1fr; gap:3.5rem;}
@media (max-width:880px){.pd-layout{grid-template-columns:1fr; gap:2rem;}}
.pd-gallery-main{border-radius:var(--radius-lg); overflow:hidden; aspect-ratio:1/1; background:var(--cream-2); margin-bottom:1rem;}
.pd-gallery-main img{width:100%; height:100%; object-fit:cover;}
.pd-thumbs{display:flex; gap:.8rem;}
.pd-thumb{width:74px; height:74px; border-radius:10px; overflow:hidden; border:2px solid transparent; opacity:.65; transition:all .2s ease;}
.pd-thumb.active{border-color:var(--accent); opacity:1;}
.pd-cat{color:var(--accent); font-size:.78rem; font-weight:700; text-transform:uppercase; letter-spacing:.08em;}
.pd-title{font-size:clamp(1.8rem,3vw,2.4rem); margin:.6rem 0 .9rem;}
.pd-title-row{display:flex; align-items:center; gap:.8rem; flex-wrap:wrap;}
.pd-title-row .pd-title{margin:.6rem 0 .9rem;}
.pd-stock-pill{
  font-size:.68rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase;
  padding:.32rem .7rem; border-radius:999px; white-space:nowrap;
}
.pd-stock-pill.pd-stock-pill-soldout{background:#ef4444; color:#fff;}
.pd-stock-pill.pd-stock-pill-low{background:#f7e6cf; color:#8a5a1f;}
html[data-theme="dark"] .pd-stock-pill.pd-stock-pill-low{background:rgba(224,167,94,.18); color:#e0a75e;}
.pd-price{font-size:1.6rem; font-weight:700; color:var(--accent-strong); margin-bottom:1.2rem;}
.pd-desc{color:var(--text-soft); margin-bottom:1.6rem;}
.pd-info-list{border-top:1px solid var(--border); margin-bottom:1.8rem;}
.pd-info-list .row{display:flex; justify-content:space-between; padding:.9rem 0; border-bottom:1px solid var(--border); font-size:.9rem;}
.pd-info-list .row span:first-child{color:var(--text-faint);}
.qty-row{display:flex; align-items:center; gap:1.2rem; margin-bottom:1.4rem;}
.qty-control{display:flex; align-items:center; border:1px solid var(--border); border-radius:999px; overflow:hidden;}
.qty-control button{
  width:38px; height:38px; display:flex; align-items:center; justify-content:center;
  background:none; border:none; border-radius:999px; font-size:1.1rem; color:var(--text);
  cursor:pointer; transition:background .15s ease, opacity .15s ease;
}
.qty-control button:hover:not(:disabled){background:var(--overlay);}
.qty-control button:focus-visible{outline:2px solid var(--accent); outline-offset:-2px;}
.qty-control input.qty-input{
  width:34px; text-align:center; font-weight:700; font-variant-numeric:tabular-nums;
  color:var(--text); background:none; border:none; padding:0; outline:none;
}
.qty-control input.qty-input:focus{color:var(--accent);}
.qty-control input.qty-input.qty-input-error{color:var(--danger);}
@keyframes qtyShake{
  0%,100%{transform:translateX(0);}
  25%{transform:translateX(-4px);}
  75%{transform:translateX(4px);}
}
.qty-control input.qty-input.qty-input-error{animation:qtyShake .25s ease;}
.pd-actions{display:flex; gap:.9rem; flex-wrap:wrap; margin-bottom:1.6rem;}
.pd-actions .btn{flex:1; min-width:160px;}
.trust-row{display:flex; gap:1.6rem; flex-wrap:wrap; padding-top:1.2rem; border-top:1px solid var(--border);}
.trust-item{display:flex; align-items:center; gap:.6rem; font-size:.82rem; color:var(--text-soft);}
.trust-item svg{width:18px; height:18px; color:var(--accent);}
.accordion-item{border-bottom:1px solid var(--border);}
.accordion-head{display:flex; justify-content:space-between; align-items:center; padding:1.1rem 0; font-weight:700; cursor:pointer;}
.accordion-head svg{width:16px; height:16px; transition:transform .3s ease;}
.accordion-item.open .accordion-head svg{transform:rotate(45deg);}
.accordion-body{max-height:0; overflow:hidden; transition:max-height .35s ease;}
.accordion-body p, .accordion-body div{padding-bottom:1.1rem; color:var(--text-soft); font-size:.92rem;}

/* ---- PD: rating ---- */
.pd-rating{display:flex; align-items:center; gap:.5rem; margin:.7rem 0 1.1rem;}
.pd-rating .stars{color:var(--stone-gold); letter-spacing:.1em; font-size:.92rem;}
.pd-rating .rating-count{color:var(--text-faint); font-size:.84rem;}
.pd-price-note{color:var(--text-faint); font-size:.82rem; margin-top:-.7rem; margin-bottom:1.2rem;}
.pd-spec-line{color:var(--text-soft); font-size:.92rem; margin-bottom:1.6rem;}
.pd-block{margin-bottom:1.6rem;}
.pd-block-label{font-size:.72rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:var(--text-faint); margin-bottom:.6rem;}
.pd-block-text{color:var(--text-soft); font-size:.92rem; line-height:1.65;}
.pd-highlight-specs{display:flex; flex-wrap:wrap; gap:.7rem; margin-bottom:1.6rem;}
.pd-highlight-spec{display:flex; align-items:baseline; gap:.5rem; background:var(--accent-soft); border-radius:12px; padding:.65rem 1rem;}
.pd-highlight-spec-label{font-size:.68rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--accent-strong); opacity:.8;}
.pd-highlight-spec-value{font-size:.98rem; font-weight:700; color:var(--accent-strong);}
.pd-contact-btn{display:flex; align-items:center; justify-content:center; gap:.6rem; margin-bottom:1.8rem; border-radius:10px;}
.pd-contact-btn svg{width:16px; height:16px;}

.pd-qty-stock-row{display:flex; align-items:center; gap:1.2rem; margin-bottom:1.1rem; flex-wrap:wrap;}
.stock-badge{display:flex; align-items:center; gap:.45rem; font-size:.84rem; font-weight:600; color:var(--jade-600);}
html[data-theme="dark"] .stock-badge{color:var(--jade-300);}
.stock-badge svg{width:15px; height:15px;}
.stock-badge.out-of-stock{color:var(--danger, #c0392b);}
.stock-badge.out-of-stock svg{display:none;}

.hidden{display:none !important;}

.notify-box{
  display:flex; flex-direction:column; gap:.7rem; align-items:flex-start;
  background:var(--danger-soft, rgba(181,69,58,.08)); border:1px solid rgba(181,69,58,.25);
  border-radius:var(--radius-md); padding:1.3rem 1.4rem; margin-bottom:1.3rem;
}
.notify-box-icon{color:var(--danger);}
.notify-box-icon svg{width:22px; height:22px;}
.notify-box-text strong{display:block; font-size:.96rem; margin-bottom:.3rem;}
.notify-box-text p{margin:0; font-size:.84rem; color:var(--text-soft);}
.notify-form{display:flex; gap:.6rem; width:100%; flex-wrap:wrap;}
.notify-form input{
  flex:1; min-width:180px; padding:.75rem .95rem; border-radius:10px; border:1px solid var(--border);
  background:var(--surface); color:var(--text); font-size:.88rem;
}
.notify-form input:disabled{opacity:.6;}
.btn-notify{background:var(--danger); color:#fff; border:none; border-radius:10px; padding:.75rem 1.3rem; font-size:.82rem; white-space:nowrap;}
.btn-notify:hover{opacity:.9;}

.pd-actions-row{display:grid; grid-template-columns:1fr 1fr; gap:.9rem; margin-bottom:1.3rem;}
.pd-actions-row .btn{border-radius:10px; padding:1rem 1.2rem; font-size:.82rem;}
.btn-addcart{background:var(--jade-600); color:#fff; border:none;}
.btn-addcart:hover{background:var(--jade-700); transform:translateY(-2px); box-shadow:var(--shadow-md);}
.btn-buynow{background:var(--ink); color:#fff; border:none;}
html[data-theme="dark"] .btn-buynow{background:#eef1ea; color:#14181a;}
.btn-buynow:hover{transform:translateY(-2px); box-shadow:var(--shadow-md); opacity:.92;}
.pd-actions-row .btn:disabled{
  background:var(--border); color:var(--text-faint); cursor:not-allowed;
  transform:none; box-shadow:none; opacity:.7;
}
.qty-control button:disabled{
  background:none; color:var(--text-faint); cursor:not-allowed; opacity:.4; transform:none;
}
.qty-control button:disabled:hover{background:none;}

.pd-delivery-note{display:flex; align-items:center; gap:.6rem; font-size:.82rem; color:var(--text-faint); padding-top:1.2rem; border-top:1px solid var(--border);}
.pd-delivery-note svg{width:17px; height:17px; color:var(--accent); flex-shrink:0;}

.save-images-btn{
  display:flex; align-items:center; gap:.55rem; margin-top:1rem; border-radius:10px; font-size:.78rem;
}
.save-images-btn svg{width:15px; height:15px;}

/* ---- PD: tabs ---- */
.pd-tabs{margin-top:1rem; max-width:800px;}
.pd-tab-list{display:flex; gap:2rem; border-bottom:1px solid var(--border); flex-wrap:wrap;}
.pd-tab{
  background:none; border:none; padding:0 0 1rem; font-size:.78rem; font-weight:800; letter-spacing:.08em;
  text-transform:uppercase; color:var(--text-faint); position:relative; top:1px;
}
.pd-tab::after{content:""; position:absolute; left:0; right:0; bottom:-1px; height:2px; background:transparent; transition:background .25s ease;}
.pd-tab.active{color:var(--accent);}
.pd-tab.active::after{background:var(--accent);}
.pd-tab-panels{padding-top:1.6rem;}
.pd-tab-panel{display:none; color:var(--text-soft); font-size:.92rem; line-height:1.7;}
.pd-tab-panel.active{display:block;}
.pd-review-item{padding:1.1rem 0; border-bottom:1px solid var(--border);}
.pd-review-item:last-child{border-bottom:none;}
.pd-review-stars{color:var(--stone-gold); font-size:.85rem; letter-spacing:.1em; margin-bottom:.4rem;}

/* ---- product-card mini rating ---- */
.card-rating{display:flex; align-items:center; gap:.4rem; margin:.3rem 0 .1rem;}
.card-rating .stars{color:var(--stone-gold); font-size:.72rem; letter-spacing:.08em;}
.card-rating .count{color:var(--text-faint); font-size:.72rem;}

/* ==========================================================================
   SCROLL EXPAND (vanilla adaptation)
   ========================================================================== */
.scroll-expand{position:relative; width:100%; height:100%;}
.scroll-expand__track{position:relative; width:100%;}
.scroll-expand__stage{position:sticky; top:0; width:100%; overflow:hidden; --se-title-size:4rem;}
.scroll-expand__frame{position:absolute; inset:0; clip-path:inset(21% 29% 21% 29% round 24px); will-change:clip-path; background:var(--cream-2);}
.scroll-expand__media{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; will-change:transform; transform-origin:center; user-select:none;}
.scroll-expand__scrim{position:absolute; inset:0; pointer-events:none; background:linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,.08) 45%, rgba(0,0,0,.32)); opacity:0;}
.scroll-expand__overlay{
  position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; padding:6%; opacity:0; will-change:opacity, transform; color:#fff;
}
.scroll-expand__overlay h2{color:#fff; font-size:clamp(1.6rem,3.4vw,2.6rem); margin-bottom:.9rem;}
.scroll-expand__overlay p{color:rgba(255,255,255,.82); max-width:480px; margin:0 auto 1.6rem; font-size:1rem;}
.scroll-expand__title{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center; margin:0; padding:0 6%;
  text-align:center; font-family:var(--font-display); font-size:var(--se-title-size); font-weight:500; letter-spacing:-.02em;
  line-height:1; color:#fff; text-shadow:0 2px 24px rgba(0,0,0,.45); pointer-events:none; will-change:opacity, transform;
}
.scroll-expand__hint{
  position:absolute; left:0; right:0; bottom:1.4rem; text-align:center; font-size:.78rem; letter-spacing:.14em;
  text-transform:uppercase; color:rgba(255,255,255,.6); pointer-events:none; will-change:opacity, transform;
}

/* Mobile: no scroll-jacking, just the finished frame — see scroll-expand.js */
.scroll-expand--static{height:auto;}
.scroll-expand--static .scroll-expand__frame{
  position:relative; inset:auto; height:78vh; min-height:420px; max-height:640px;
  clip-path:none; border-radius:var(--radius-lg); background:var(--cream-2);
}
.scroll-expand--static .scroll-expand__media{transform:none;}
.scroll-expand--static .scroll-expand__scrim{opacity:1;}
.scroll-expand--static .scroll-expand__overlay{opacity:1; transform:none; position:absolute; inset:0;}

/* ==========================================================================
   CART
   ========================================================================== */
.cart-layout{display:grid; grid-template-columns:1fr 340px; gap:3rem; align-items:flex-start;}
@media (max-width:880px){.cart-layout{grid-template-columns:1fr;}}
.cart-item{
  display:grid; grid-template-columns:88px 1fr auto; gap:1.2rem; align-items:center;
  padding:1.4rem 0; border-bottom:1px solid var(--border);
}
.cart-item img{width:88px; height:100px; object-fit:cover; border-radius:10px;}
.cart-item-name{font-family:var(--font-display); font-size:1.05rem; margin-bottom:.2rem;}
.cart-item-cat{font-size:.75rem; color:var(--text-faint); text-transform:uppercase; letter-spacing:.06em;}
.cart-item-price{font-weight:700; color:var(--accent-strong); margin-top:.5rem;}
.cart-item-soldout{font-size:.76rem; font-weight:700; color:var(--danger); margin-top:.35rem;}
.cart-item-right{display:flex; flex-direction:column; align-items:flex-end; gap:.7rem;}
.remove-link{color:var(--text-faint); font-size:.78rem; border:none; background:none;}
.remove-link:hover{color:var(--danger);}
.summary-card{background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg); padding:1.8rem; position:sticky; top:calc(var(--nav-h) + 20px);}
@media (max-width:900px){.summary-card{position:static;}}
.summary-row{display:flex; justify-content:space-between; padding:.65rem 0; font-size:.92rem; color:var(--text-soft);}
.summary-row.total{border-top:1px solid var(--border); margin-top:.5rem; padding-top:1rem; font-weight:800; font-size:1.15rem; color:var(--text);}
.cart-empty{text-align:center; padding:5rem 1rem;}
.cart-empty .jade-seal{--seal-size:80px; margin:0 auto 1.5rem;}

/* ==========================================================================
   CHECKOUT
   ========================================================================== */
.checkout-layout{display:grid; grid-template-columns:1.3fr 1fr; gap:3.2rem; align-items:flex-start;}
@media (max-width:900px){.checkout-layout{grid-template-columns:1fr;}}
.form-card{background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg); padding:2rem;}
.form-card + .form-card{margin-top:1.6rem;}
.form-card h3{font-size:1.1rem; margin-bottom:1.3rem; display:flex; align-items:center; gap:.6rem;}
.step-num{width:24px; height:24px; border-radius:50%; background:var(--accent-soft); color:var(--accent-strong); font-size:.75rem; display:flex; align-items:center; justify-content:center; font-weight:800;}
.field{margin-bottom:1.1rem;}
.field label{display:block; font-size:.82rem; font-weight:700; margin-bottom:.4rem; color:var(--text-soft);}
.field input, .field select, .field textarea{
  width:100%; padding:.8rem 1rem; border:1px solid var(--border); border-radius:10px; background-color:var(--bg); color:var(--text);
  transition:border-color .2s ease;
}
.field select{padding-right:2.7rem;}
.field input:focus, .field select:focus, .field textarea:focus{border-color:var(--accent); outline:none;}
.field-row{display:grid; grid-template-columns:1fr 1fr; gap:1rem;}
@media (max-width:520px){.field-row{grid-template-columns:1fr;}}

.pay-methods{display:grid; gap:.9rem;}
.pay-method{
  border:1px solid var(--border); border-radius:12px; padding:1rem 1.2rem; display:flex; align-items:center; gap:1rem;
  cursor:pointer; transition:border-color .2s ease, background .2s ease;
}
.pay-method:hover{border-color:var(--accent);}
.pay-method.selected{border-color:var(--accent); background:var(--accent-soft);}
.pay-method input{accent-color:var(--accent);}
.pay-badge{
  width:44px; height:44px; border-radius:10px; background:#fff; display:flex; align-items:center; justify-content:center;
  overflow:hidden; border:1px solid var(--border); flex-shrink:0; padding:3px;
}
.pay-badge img{width:100%; height:100%; object-fit:contain;}
.pay-name{font-weight:700; font-size:.94rem;}
.pay-sub{font-size:.78rem; color:var(--text-faint);}
.pay-detail{
  display:none; margin-top:1rem; padding:1.1rem; border-radius:10px; background:var(--bg-alt); font-size:.86rem; color:var(--text-soft);
  border:1px dashed var(--border);
}
.pay-method.selected .pay-detail{display:block;}
.pay-qr-img{
  display:block; margin:0 auto; width:100%; max-width:170px; aspect-ratio:1/1; object-fit:cover; border-radius:10px;
  border:1px solid var(--border); background:#fff; box-shadow:0 4px 14px rgba(0,0,0,.08);
}
.pay-qr-save, .pay-bank-copy{display:block; margin:.8rem auto 0; width:100%; max-width:170px; text-align:center;}
.bank-detail-rows{display:flex; flex-direction:column; gap:.55rem;}
.bank-detail-row{display:flex; justify-content:space-between; align-items:baseline; gap:1rem;}
.bank-detail-label{color:var(--text-faint); font-weight:600; white-space:nowrap;}
.bank-detail-value{color:var(--text); font-weight:700; text-align:right; font-variant-numeric:tabular-nums;}
@media (max-width:480px){
  .form-card{padding:1.4rem;}
  .pay-method{padding:.85rem;}
  .pay-detail{padding:.85rem;}
}
.upload-box{
  border:1.5px dashed var(--border); border-radius:12px; padding:2rem 1rem; text-align:center; cursor:pointer;
  color:var(--text-faint); font-size:.86rem; margin-top:1rem; transition:border-color .2s ease;
}
.upload-box:hover{border-color:var(--accent); color:var(--accent);}
.upload-box svg{width:26px; height:26px; margin-bottom:.6rem;}
.upload-preview{margin-top:1rem; display:flex; align-items:center; gap:.8rem; font-size:.85rem;}
.upload-preview img{width:56px; height:56px; object-fit:cover; border-radius:8px; flex-shrink:0;}
.upload-preview-name{flex:1; min-width:0; word-break:break-all; color:var(--text-soft);}
.upload-preview-remove{
  width:32px; height:32px; border-radius:50%; border:1px solid var(--border); background:transparent;
  display:flex; align-items:center; justify-content:center; color:var(--text-faint); flex-shrink:0;
  transition:background .2s ease, color .2s ease, border-color .2s ease;
}
.upload-preview-remove:hover{color:var(--danger); border-color:var(--danger); background:rgba(181,69,58,.08);}
.upload-preview-remove svg{width:14px; height:14px;}
.upload-required-note{margin:.8rem 0 0; font-size:.82rem; color:var(--danger); display:flex; align-items:center; gap:.5rem;}
.upload-required-note.hidden{display:none;}
.upload-box.error{border-color:var(--danger); box-shadow:0 0 0 3px rgba(181,69,58,.14); animation:uploadShake .4s ease;}
@keyframes uploadShake{
  0%, 100%{transform:translateX(0);}
  20%{transform:translateX(-6px);}
  40%{transform:translateX(6px);}
  60%{transform:translateX(-4px);}
  80%{transform:translateX(4px);}
}

/* ==========================================================================
   ABOUT / CONTACT / FAQ
   ========================================================================== */
.contact-layout{display:grid; grid-template-columns:1fr 1fr; gap:3rem;}
@media (max-width:880px){.contact-layout{grid-template-columns:1fr;}}
.contact-info-item{display:flex; gap:1rem; padding:1.2rem 0; border-bottom:1px solid var(--border);}
.contact-info-item .ic{width:40px; height:40px; border-radius:50%; background:var(--accent-soft); color:var(--accent-strong); display:flex; align-items:center; justify-content:center; flex-shrink:0;}
.contact-info-item .ic svg{width:18px; height:18px;}
.qr-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; margin-top:1.8rem;}
@media (max-width:560px){.qr-grid{grid-template-columns:repeat(2,1fr);}}
.qr-card{text-align:center; background:var(--surface); border:1px solid var(--border); border-radius:12px; padding:1rem;}
.qr-card .qr-box{width:100%; aspect-ratio:1/1; border-radius:8px; margin-bottom:.7rem; overflow:hidden; background:#fff; border:1px solid var(--border);}
.qr-card .qr-box img{width:100%; height:100%; object-fit:contain; display:block;}
.qr-card span{font-size:.76rem; font-weight:700; color:var(--text-soft); display:block;}
.qr-card .qr-info{font-size:.72rem; color:var(--text-faint); margin-top:.2rem; word-break:break-word;}
a.qr-card{display:block; text-decoration:none; color:inherit; cursor:pointer; transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;}
a.qr-card:hover{transform:translateY(-3px); box-shadow:var(--shadow-md); border-color:var(--accent-strong);}
.qr-card .qr-tap{font-size:.68rem; font-weight:700; color:var(--accent-strong); margin-top:.35rem;}

.faq-cat{margin-bottom:2.4rem;}
.faq-cat h3{font-size:1.05rem; color:var(--accent-strong); margin-bottom:1rem;}


/* ==========================================================================
   MISC UTIL
   ========================================================================== */
.mt-0{margin-top:0;} .mb-0{margin-bottom:0;}
.text-center{text-align:center;}
.badge-line{display:flex; gap:1.6rem; flex-wrap:wrap; align-items:center; color:var(--text-faint); font-size:.78rem; letter-spacing:.04em;}
.toast{
  position:fixed; bottom:24px; left:50%; transform:translateX(-50%) translateY(140%);
  background:var(--accent-strong); color:#fff; padding:.9rem 1.6rem; border-radius:999px; font-size:.86rem; font-weight:700;
  box-shadow:var(--shadow-lg); z-index:2000; transition:transform .4s cubic-bezier(.2,.8,.2,1); display:flex; align-items:center; gap:.6rem;
}
.toast.show{transform:translateX(-50%) translateY(0);}
[data-i18n]{}
