:root {
  --bg: #fbf7f1;
  --cream: #f4eadc;
  --paper: #fffaf4;
  --ink: #3c2417;
  --muted: #7a675a;
  --gold: #b77a24;
  --gold-2: #d9a14a;
  --bronze: #6e3d1d;
  --brown: #3b2215;
  --line: rgba(97, 60, 34, .15);
  --shadow: 0 20px 60px rgba(79, 43, 16, .14);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans TC", system-ui, sans-serif;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(251,247,241,.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(93, 58, 28, .08);
}

.brand { display: flex; flex-direction: column; line-height: 1.05; }
.brand-en {
  font-family: "Playfair Display", serif;
  font-size: 26px;
  letter-spacing: .08em;
}
.brand-en sup, .brand-zh sup { font-size: .45em; vertical-align: top; }
.brand-zh { font-family: "Noto Serif TC", serif; font-size: 13px; letter-spacing: .22em; margin-top: 5px; }

.nav { display: flex; justify-content: center; gap: clamp(16px, 2.4vw, 34px); }
.nav a {
  font-size: 14px;
  position: relative;
  padding: 10px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 3px;
  height: 1px;
  background: var(--gold);
  transition: .25s ease;
}
.nav a:hover::after { right: 0; }

.header-actions { display: flex; gap: 8px; align-items: center; }
.icon-btn {
  border: 0; background: transparent; color: var(--ink);
  cursor: pointer; font-size: 17px; min-width: 36px; height: 36px;
}
.menu-toggle { display:none; background:none; border:0; padding:8px; cursor:pointer; }
.menu-toggle span { width:24px; height:1px; background:var(--ink); display:block; margin:5px 0; }

.hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, .95fr);
  align-items: center;
  gap: 30px;
  padding: 60px clamp(28px, 6vw, 96px) 50px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 34%, rgba(255,210,126,.42), transparent 28%),
    linear-gradient(120deg, #fdf9f4 0%, #f3dfc3 58%, #b77a2b 130%);
}
.hero::after {
  content:"";
  position:absolute; inset:auto 0 0 0; height:180px;
  background:linear-gradient(to top, rgba(83,44,18,.16), transparent);
  pointer-events:none;
}
.hero-copy { position: relative; z-index: 3; max-width: 640px; }
.eyebrow {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: .14em;
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.hero h1 {
  font-family: "Noto Serif TC", serif;
  font-weight: 500;
  font-size: clamp(48px, 5.4vw, 82px);
  line-height: 1.12;
  margin: 0 0 16px;
  letter-spacing: .02em;
}
.hero h1 span { color: var(--bronze); }
.hero-subtitle { font-family:"Noto Serif TC",serif; font-size:22px; letter-spacing:.32em; margin: 0 0 28px; }
.hero-product { font-size: 19px; letter-spacing: .04em; margin:0 0 24px; }
.hero-product strong { font-family:"Noto Serif TC",serif; font-size:28px; }
.hero-benefits { display:flex; flex-wrap:wrap; gap:10px; margin:26px 0 32px; }
.hero-benefits span {
  padding: 9px 14px; border-radius:999px;
  background:rgba(255,255,255,.62); border:1px solid rgba(137,83,28,.16);
  font-size:14px;
}
.hero-actions { display:flex; gap:14px; flex-wrap:wrap; }

.btn {
  display:inline-flex; align-items:center; justify-content:center;
  min-height:48px; padding:0 28px; border-radius: 12px;
  border:1px solid var(--gold); cursor:pointer; transition:.22s ease;
  font-weight:600;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color:white;
  box-shadow:0 10px 26px rgba(179,119,31,.24);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow:0 14px 30px rgba(179,119,31,.32); }
.btn-outline { background:rgba(255,255,255,.45); color:var(--ink); }
.btn-outline:hover { background:white; }
.btn-outline.light { color:white; border-color:rgba(255,255,255,.55); background:transparent; }

.hero-media {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.hero-media img {
  width: min(620px, 100%);
  max-height: 630px;
  object-fit: cover;
  object-position: center;
  border-radius: 44% 44% 18% 18% / 20% 20% 12% 12%;
  filter: drop-shadow(0 35px 45px rgba(64,34,13,.28));
}
.tech-badge {
  position:absolute; right:0; top:11%;
  width:140px; aspect-ratio:1; border-radius:50%;
  background:rgba(255,250,241,.88); border:1px solid rgba(143,94,35,.35);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  box-shadow:var(--shadow); text-align:center; z-index:5;
}
.tech-badge strong { font-size:14px; }
.tech-badge span { font-family:"Noto Serif TC",serif; font-weight:600; }
.tech-badge small { color:var(--muted); }

.section { padding: 88px clamp(28px, 6vw, 96px); }
.section-heading { max-width: 780px; margin:0 auto 46px; text-align:center; }
.section-heading h2, .gift-copy h2, .usage-panel h2, .skin-panel h2, .brand-story h2, .contact h2 {
  font-family:"Noto Serif TC",serif;
  font-size: clamp(30px, 3vw, 46px);
  font-weight:500;
  margin:0 0 18px;
}
.section-heading p:last-child { color:var(--muted); }

.ingredient-grid {
  display:grid; grid-template-columns:repeat(6,1fr); gap:14px;
}
.ingredient-card {
  background:rgba(255,255,255,.76);
  border:1px solid var(--line);
  border-radius:20px;
  padding:24px 16px;
  text-align:center;
  box-shadow:0 8px 28px rgba(74,43,20,.05);
}
.ingredient-orb {
  width:74px; aspect-ratio:1; margin:0 auto 16px;
  border-radius:50%;
  display:grid; place-items:center;
  background:radial-gradient(circle at 35% 30%, #fff7db, #d79a31 55%, #9b591c);
  color:white; font-weight:700; letter-spacing:.05em;
  box-shadow:inset 0 0 20px rgba(255,255,255,.4), 0 6px 20px rgba(150,96,27,.2);
}
.orb-blue { background:radial-gradient(circle at 35% 30%, #eaf9ff, #7cbad8 50%, #397899); }
.orb-olive { background:radial-gradient(circle at 35% 30%, #eef5d7, #9aa84c 50%, #657125); }
.orb-flower { background:radial-gradient(circle at 35% 30%, #fff, #f3e3cf 55%, #c39a75); color:#7b4d2d; }
.ingredient-card h3 { margin:0 0 4px; font-size:17px; }
.ingredient-card p { font-size:11px; color:var(--muted); min-height:42px; }
.ingredient-card small { font-size:12px; color:var(--ink); }

.benefits {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  padding-top: 10px;
}
.benefit-card {
  min-height:310px;
  padding:28px;
  border-radius:24px;
  border:1px solid rgba(153,97,32,.14);
  background:
    radial-gradient(circle at 50% 72%, rgba(255,215,126,.9), transparent 16%),
    linear-gradient(180deg,#f8ebd6,#d7a863);
  position:relative; overflow:hidden;
  display:flex; flex-direction:column; justify-content:flex-end; text-align:center;
}
.benefit-card::after {
  content:"";
  position:absolute; width:220px; height:220px; border-radius:50%;
  border:1px solid rgba(255,255,255,.5); left:50%; bottom:-95px; transform:translateX(-50%);
  box-shadow:0 0 50px rgba(255,255,255,.5);
}
.benefit-card span { position:absolute; top:20px; left:24px; font-family:"Playfair Display",serif; font-size:34px; opacity:.7; }
.benefit-card h3 { font-family:"Noto Serif TC",serif; font-size:28px; margin:0; position:relative; z-index:1; }
.benefit-card p { margin:6px 0 0; position:relative; z-index:1; }

.gift-showcase {
  display:grid;
  grid-template-columns:.9fr 1.2fr;
  gap:40px;
  align-items:center;
  background:
    linear-gradient(135deg, rgba(255,255,255,.62), rgba(240,217,184,.75)),
    var(--cream);
}
.product-name { letter-spacing:.08em; font-size:18px; margin-bottom:0; }
.product-size { color:var(--muted); }
.check-list { list-style:none; padding:0; margin:26px 0; }
.check-list li { margin:11px 0; padding-left:28px; position:relative; }
.check-list li::before { content:"✓"; position:absolute; left:0; color:var(--gold); font-weight:700; }
.price-row {
  display:flex; align-items:flex-end; justify-content:space-between; gap:18px; flex-wrap:wrap; margin-top:34px;
}
.price-label { display:block; color:var(--muted); font-size:12px; letter-spacing:.1em; }
.price { display:block; font-family:"Playfair Display",serif; font-size:42px; color:var(--bronze); }
.gift-media img {
  width:100%;
  border-radius:28px;
  box-shadow:var(--shadow);
}

.split-grid {
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:26px;
}
.usage-panel, .skin-panel {
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:40px;
}
.steps { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:28px; }
.step { border-top:1px solid var(--line); padding-top:16px; }
.step span { color:var(--gold); font-size:12px; font-weight:700; }
.step h3 { margin:8px 0; }
.step p { color:var(--muted); font-size:14px; }
.usage-tags { display:flex; gap:10px; flex-wrap:wrap; margin-top:24px; }
.usage-tags span { background:var(--cream); padding:8px 12px; border-radius:999px; font-size:13px; }
.skin-panel ul { list-style:none; padding:0; margin:28px 0 0; }
.skin-panel li { padding:13px 0 13px 30px; border-bottom:1px solid var(--line); position:relative; }
.skin-panel li::before { content:"◌"; color:var(--gold); position:absolute; left:0; }

.brand-story {
  min-height:520px;
  display:grid;
  align-items:center;
  color:white;
  background:
    linear-gradient(90deg, rgba(48,24,12,.92), rgba(77,39,16,.62), rgba(77,39,16,.12)),
    url("assets/product-single.jpg") center 58% / cover no-repeat;
}
.brand-story-copy { max-width:620px; }
.brand-story-copy .eyebrow { color:#e7bd76; }
.brand-story-copy p { color:rgba(255,255,255,.82); font-size:17px; }

.contact {
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:40px;
  align-items:start;
}
.contact-form {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
.contact-form textarea { grid-column:1/-1; resize:vertical; }
.contact-form .btn { width:max-content; }
.contact-form input, .contact-form textarea {
  width:100%; border:1px solid var(--line); background:white; border-radius:14px; padding:15px 16px; outline:none;
}
.contact-form input:focus, .contact-form textarea:focus { border-color:var(--gold); box-shadow:0 0 0 3px rgba(183,122,36,.09); }

.site-footer {
  background:#2a170f; color:rgba(255,255,255,.76);
  padding:34px clamp(28px, 6vw, 96px);
  display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap;
}
.site-footer .brand-en { color:#edc986; font-size:20px; }
.footer-zh { margin-left:10px; }
.site-footer p { font-size:12px; }
.footer-links { display:flex; gap:18px; font-size:12px; }

.toast {
  position:fixed; left:50%; bottom:28px; transform:translate(-50%, 20px);
  background:#2f1a0f; color:white; padding:12px 20px; border-radius:999px;
  opacity:0; pointer-events:none; transition:.25s ease; z-index:200;
}
.toast.show { opacity:1; transform:translate(-50%, 0); }

@media (max-width: 1100px) {
  .nav { display:none; position:absolute; left:20px; right:20px; top:74px; background:rgba(255,250,244,.98); border:1px solid var(--line); border-radius:18px; padding:16px; box-shadow:var(--shadow); }
  .nav.open { display:grid; gap:6px; }
  .menu-toggle { display:block; justify-self:end; }
  .site-header { grid-template-columns:auto 1fr auto auto; }
  .ingredient-grid { grid-template-columns:repeat(3,1fr); }
  .benefits { grid-template-columns:repeat(2,1fr); }
  .gift-showcase { grid-template-columns:1fr; }
  .gift-copy { order:2; }
  .hero { grid-template-columns:1fr 1fr; min-height:650px; }
}

@media (max-width: 760px) {
  .site-header { min-height:68px; padding:10px 18px; gap:10px; }
  .brand-en { font-size:20px; }
  .brand-zh { font-size:11px; }
  .header-actions .icon-btn:first-child { display:none; }
  .hero {
    min-height:auto;
    grid-template-columns:1fr;
    padding:46px 20px 0;
    text-align:left;
  }
  .hero-copy { padding-bottom:20px; }
  .hero h1 { font-size:44px; }
  .hero-subtitle { font-size:16px; letter-spacing:.2em; }
  .hero-media { margin:0 -20px; }
  .hero-media img { border-radius:0; width:100%; max-height:520px; }
  .tech-badge { width:112px; right:16px; top:8%; }
  .section { padding:62px 20px; }
  .ingredient-grid { grid-template-columns:repeat(2,1fr); }
  .benefits { grid-template-columns:1fr; padding-top:0; }
  .benefit-card { min-height:250px; }
  .gift-showcase { gap:24px; }
  .price { font-size:34px; }
  .split-grid { grid-template-columns:1fr; }
  .steps { grid-template-columns:1fr; }
  .usage-panel, .skin-panel { padding:28px 22px; }
  .contact { grid-template-columns:1fr; }
  .contact-form { grid-template-columns:1fr; }
  .contact-form textarea { grid-column:auto; }
  .site-footer { flex-direction:column; align-items:flex-start; }
}


/* Product explainer - mobile landscape video */
.product-explainer {
  background:
    radial-gradient(circle at 86% 4%, rgba(199,139,55,.18), transparent 30%),
    linear-gradient(180deg, #f9f1e7 0%, #fffaf4 100%);
}
.explainer-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.84);
  box-shadow: var(--shadow);
}
.explainer-video-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #160d09;
}
.explainer-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #160d09;
}
.explainer-copy {
  padding: 20px 18px 22px;
}
.explainer-label {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .15em;
}
.explainer-copy h3 {
  margin: 0 0 9px;
  font-family: "Noto Serif TC", serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
}
.explainer-copy p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
}
.explainer-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
}
.explainer-highlights span {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--bronze);
  font-size: 10px;
  font-weight: 600;
}
.explainer-cta {
  width: 100%;
}


/* ===============================
   Shopping cart
   =============================== */
.cart-btn {
  position: relative;
  cursor: pointer;
}
#cartCount {
  position: absolute;
  top: 0;
  right: -1px;
  min-width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
}

.cart-overlay {
  position: fixed;
  z-index: 290;
  inset: 0;
  background: rgba(29, 14, 8, .48);
  backdrop-filter: blur(3px);
}
.cart-overlay[hidden] { display: none; }

.cart-drawer {
  position: fixed;
  z-index: 300;
  left: 50%;
  bottom: 0;
  width: min(100%, 480px);
  max-height: min(86vh, 760px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  transform: translate(-50%, 105%);
  overflow: hidden;
  border-radius: 26px 26px 0 0;
  background: #fffaf4;
  box-shadow: 0 -24px 70px rgba(38, 18, 8, .28);
  transition: transform .28s ease;
}
.cart-drawer.open {
  transform: translate(-50%, 0);
}
.cart-handle {
  width: 42px;
  height: 4px;
  margin: 9px auto 0;
  border-radius: 999px;
  background: rgba(57, 34, 23, .18);
}
.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 18px 14px;
  border-bottom: 1px solid var(--line);
}
.cart-kicker {
  margin: 0 0 2px;
  color: var(--gold);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .16em;
}
.cart-header h2 {
  margin: 0;
  font-family: "Noto Serif TC", serif;
  font-size: 23px;
  font-weight: 500;
}
.cart-close {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f3e7d8;
  color: var(--ink);
  font-size: 27px;
  font-weight: 300;
  cursor: pointer;
}
.cart-body {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 14px 16px;
}
.cart-empty {
  padding: 28px 8px 36px;
  text-align: center;
}
.cart-empty-icon {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--cream);
  font-size: 25px;
}
.cart-empty h3 {
  margin: 0 0 6px;
  font-family: "Noto Serif TC", serif;
  font-size: 20px;
  font-weight: 500;
}
.cart-empty p {
  max-width: 330px;
  margin: 0 auto 18px;
  color: var(--muted);
  font-size: 12px;
}
.cart-items {
  display: grid;
  gap: 12px;
}
.cart-item {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
}
.cart-item-image {
  width: 78px;
  height: 90px;
  overflow: hidden;
  border-radius: 12px;
  background: #f2e4d2;
}
.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-item-main {
  min-width: 0;
}
.cart-item-name {
  margin: 0 0 3px;
  font-family: "Noto Serif TC", serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
.cart-item-meta {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 10px;
}
.cart-item-price {
  margin: 0 0 10px;
  color: var(--bronze);
  font-family: "Playfair Display", serif;
  font-size: 18px;
}
.cart-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.qty-control {
  display: inline-grid;
  grid-template-columns: 34px 38px 34px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffaf4;
}
.qty-control button {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 18px;
  cursor: pointer;
}
.qty-control span {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}
.cart-remove {
  padding: 7px 4px;
  border: 0;
  background: transparent;
  color: #9a6754;
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.cart-footer {
  padding: 14px 16px calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(255,250,244,.98);
}
.cart-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 4px;
  font-size: 13px;
}
.cart-summary-row strong {
  color: var(--bronze);
  font-family: "Playfair Display", serif;
  font-size: 25px;
}
.cart-shipping-note {
  margin: 0 0 11px;
  color: var(--muted);
  font-size: 10px;
}
.cart-checkout {
  width: 100%;
}
.cart-clear {
  width: 100%;
  margin-top: 7px;
  padding: 8px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  cursor: pointer;
}
.cart-footer.is-empty {
  display: none;
}
body.cart-open {
  overflow: hidden;
}
.buybar-btn {
  border: 0;
  font-family: inherit;
  cursor: pointer;
}
.contact-email-note {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}
.contact-email-note a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* ===== 購物車修復補丁 2026-08-12 ===== */
.cart-drawer {
  pointer-events: none;
  visibility: hidden;
}
.cart-drawer.open {
  pointer-events: auto;
  visibility: visible;
}
.cart-overlay {
  touch-action: none;
}
body.cart-open {
  overflow: hidden !important;
  overscroll-behavior: none;
}
body.cart-open .mobile-buybar {
  pointer-events: none;
  opacity: .35;
}
.cart-copy-order {
  width: 100%;
  margin-top: 8px;
  background: #fff;
}
.cart-btn {
  touch-action: manipulation;
}
.add-to-cart,
.qty-control button,
.cart-close,
.cart-remove,
.cart-clear,
.cart-checkout,
.cart-copy-order {
  touch-action: manipulation;
}
.cart-error {
  margin: 8px 0 0;
  color: #9b4f3e;
  font-size: 10px;
}


/* =========================================================
   EXOLÉNA® Mobile Final — 430px mobile-first layout
   2026-08-12
   ========================================================= */
:root {
  --phone-max: 430px;
}

html {
  background: #25140e;
  -webkit-text-size-adjust: 100%;
}

body {
  width: 100%;
  max-width: var(--phone-max);
  min-height: 100svh;
  margin: 0 auto;
  padding-bottom: calc(76px + env(safe-area-inset-bottom));
  overflow-x: hidden;
  background: var(--bg);
  box-shadow: 0 0 56px rgba(0,0,0,.28);
}

/* Header — compact, thumb-friendly */
.site-header {
  width: 100%;
  min-height: 62px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 5px;
  padding:
    max(8px, env(safe-area-inset-top))
    max(13px, env(safe-area-inset-right))
    8px
    max(13px, env(safe-area-inset-left));
}

.brand {
  min-width: 0;
  line-height: 1;
}
.brand-en {
  font-size: 19px;
  white-space: nowrap;
}
.brand-zh {
  margin-top: 4px;
  font-size: 10px;
}

.menu-toggle {
  display: grid !important;
  place-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  justify-self: end;
}
.menu-toggle span {
  margin: 3px 0;
}

.header-actions {
  gap: 0;
}
.header-actions .icon-btn:first-child {
  display: none;
}
.icon-btn {
  min-width: 38px;
  height: 40px;
}

/* Mobile nav */
.nav {
  display: none !important;
  position: absolute;
  top: calc(62px + env(safe-area-inset-top));
  left: 10px;
  right: 10px;
  z-index: 120;
  max-height: min(70svh, 560px);
  overflow-y: auto;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255,250,244,.985);
  box-shadow: 0 16px 42px rgba(58,29,13,.20);
}
.nav.open {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 0;
}
.nav a {
  min-height: 45px;
  display: flex;
  align-items: center;
  padding: 0 11px;
  border-bottom: 1px solid rgba(97,60,34,.07);
  font-size: 13px;
}
.nav a::after {
  display: none;
}
.nav a:last-child {
  border-bottom: 0;
}

/* Hero — one-column phone composition */
.hero {
  min-height: 0 !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  padding: 34px 17px 0 !important;
  text-align: left;
}
.hero-copy {
  max-width: none;
  padding-bottom: 22px;
}
.hero h1 {
  max-width: 360px;
  margin-bottom: 12px;
  font-size: clamp(38px, 11vw, 48px);
  line-height: 1.13;
}
.hero-subtitle {
  margin-bottom: 17px;
  font-size: 14px;
  letter-spacing: .16em;
}
.hero-product {
  margin-bottom: 17px;
  font-size: 13px;
}
.hero-product strong {
  font-size: 21px;
}
.hero-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin: 18px 0 20px;
}
.hero-benefits span {
  padding: 8px 6px;
  text-align: center;
  font-size: 11px;
}
.hero-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.hero-actions .btn {
  width: 100%;
  min-height: 45px;
  padding: 0 8px;
  font-size: 13px;
}
.hero-media {
  width: calc(100% + 34px);
  margin: 0 -17px;
}
.hero-media img {
  width: 100%;
  max-height: none !important;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 0 !important;
  filter: none !important;
}
.tech-badge {
  right: 13px;
  top: 7%;
  width: 96px;
}
.tech-badge strong {
  font-size: 10px;
}
.tech-badge span {
  font-size: 10px;
}
.tech-badge small {
  font-size: 8px;
}

/* Content rhythm */
.section {
  padding: 50px 17px !important;
}
.section-heading {
  max-width: none;
  margin: 0 0 25px;
  text-align: left !important;
}
.section-heading h2,
.gift-copy h2,
.usage-panel h2,
.skin-panel h2,
.brand-story h2,
.contact h2 {
  margin-bottom: 11px;
  font-size: 27px !important;
  line-height: 1.34;
}
.section-heading p:last-child {
  font-size: 13px;
  line-height: 1.7;
}

/* Short films: true phone 9:16 */
.video-showcase {
  overflow: hidden;
}
.video-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 22px;
  max-width: none;
}
.video-card {
  width: 100%;
  overflow: hidden;
  border-radius: 21px;
}
.video-frame {
  width: 100% !important;
  max-width: 360px;
  margin: 0 auto;
  aspect-ratio: 9 / 16 !important;
  overflow: hidden;
  background: #170d09;
}
.product-video {
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  object-fit: cover !important;
  background: #170d09;
}
.video-copy {
  padding: 17px 17px 20px;
}
.video-copy h3 {
  font-size: 19px;
}
.video-copy p {
  font-size: 12px;
  line-height: 1.65;
}

/* Long product explainer: keep 16:9 so text/graphics are readable */
.product-explainer {
  overflow: hidden;
}
.explainer-card {
  width: 100%;
  border-radius: 20px;
}
.explainer-video-wrap {
  width: 100% !important;
  max-width: none;
  margin: 0;
  aspect-ratio: 16 / 9 !important;
  overflow: hidden;
  background: #160d09;
}
.explainer-video {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}
.explainer-copy {
  padding: 18px 16px 20px;
}
.explainer-copy h3 {
  font-size: 19px;
}
.explainer-copy p {
  font-size: 12px;
}
.explainer-highlights {
  gap: 6px;
}
.explainer-highlights span {
  padding: 6px 9px;
  font-size: 10px;
}

/* Ingredients */
.ingredient-grid {
  grid-template-columns: 1fr 1fr !important;
  gap: 9px !important;
}
.ingredient-card {
  min-width: 0;
  padding: 16px 8px;
  border-radius: 15px;
}
.ingredient-orb {
  width: 56px;
  margin-bottom: 10px;
}
.ingredient-card h3 {
  font-size: 14px;
}
.ingredient-card p {
  min-height: 34px;
  margin-bottom: 5px;
  overflow-wrap: anywhere;
  font-size: 9px;
  line-height: 1.35;
}
.ingredient-card small {
  font-size: 10px;
  line-height: 1.4;
}

/* Benefits */
.benefits {
  grid-template-columns: 1fr !important;
  gap: 11px !important;
  padding-top: 0 !important;
}
.benefit-card {
  min-height: 205px !important;
  padding: 21px;
  border-radius: 20px;
}
.benefit-card span {
  top: 15px;
  left: 18px;
  font-size: 29px;
}
.benefit-card h3 {
  font-size: 24px;
}
.benefit-card p {
  font-size: 12px;
}

/* Gift set */
.gift-showcase {
  display: flex !important;
  flex-direction: column;
  gap: 20px !important;
}
.gift-media {
  order: 1;
}
.gift-copy {
  order: 2;
}
.gift-media img {
  width: 100%;
  border-radius: 18px;
}
.product-name {
  font-size: 14px;
}
.product-size {
  font-size: 12px;
}
.check-list {
  margin: 19px 0;
}
.check-list li {
  margin: 8px 0;
  padding-left: 24px;
  font-size: 12px;
}
.price-row {
  display: grid !important;
  gap: 13px;
  margin-top: 22px;
}
.price {
  font-size: 34px !important;
}
.price-row .btn {
  width: 100%;
}

/* Usage / skin */
.split-grid {
  grid-template-columns: 1fr !important;
  gap: 13px !important;
}
.usage-panel,
.skin-panel {
  padding: 23px 17px !important;
  border-radius: 19px;
}
.steps {
  grid-template-columns: 1fr !important;
  gap: 11px !important;
}
.step {
  display: grid;
  grid-template-columns: 62px 1fr;
  column-gap: 9px;
  padding-top: 11px;
}
.step span {
  grid-row: 1 / 3;
  font-size: 10px;
}
.step h3 {
  margin: 0;
  font-size: 15px;
}
.step p {
  margin: 3px 0 0;
  font-size: 12px;
}
.usage-tags {
  gap: 6px;
}
.usage-tags span {
  padding: 6px 9px;
  font-size: 10px;
}
.skin-panel li {
  padding: 10px 0 10px 25px;
  font-size: 12px;
}

/* Brand story */
.brand-story {
  min-height: 500px;
  display: flex !important;
  align-items: flex-end !important;
  padding-bottom: 38px !important;
  background:
    linear-gradient(180deg, rgba(48,24,12,.10) 16%, rgba(48,24,12,.94) 88%),
    url("assets/product-single.jpg") center / cover no-repeat !important;
}
.brand-story-copy {
  max-width: none;
}
.brand-story-copy p {
  font-size: 13px;
}

/* Contact */
.contact {
  grid-template-columns: 1fr !important;
  gap: 22px !important;
}
.contact-form {
  grid-template-columns: 1fr !important;
  gap: 9px !important;
}
.contact-form textarea {
  grid-column: auto !important;
}
.contact-form input,
.contact-form textarea {
  min-height: 48px;
  padding: 13px 14px;
  font-size: 16px; /* prevent iOS auto zoom */
}
.contact-form .btn {
  width: 100%;
}

/* Footer */
.site-footer {
  display: grid !important;
  gap: 10px;
  padding: 27px 17px calc(27px + env(safe-area-inset-bottom)) !important;
}
.footer-links {
  flex-wrap: wrap;
  gap: 8px 14px;
}

/* Fixed mobile buy bar */
.mobile-buybar {
  left: 50%;
  width: 100%;
  max-width: var(--phone-max) !important;
  min-height: 70px;
  transform: translateX(-50%);
  grid-template-columns: minmax(0, 1fr) 128px;
  gap: 9px;
  padding:
    9px
    max(12px, env(safe-area-inset-right))
    calc(9px + env(safe-area-inset-bottom))
    max(12px, env(safe-area-inset-left));
}
.buybar-price strong {
  font-size: 20px;
}
.buybar-btn {
  min-height: 46px;
  font-size: 13px;
}

/* Cart follows the same phone width */
.cart-drawer {
  width: 100% !important;
  max-width: var(--phone-max) !important;
  max-height: min(88svh, 760px);
}
.cart-body {
  -webkit-overflow-scrolling: touch;
}
.cart-overlay {
  overscroll-behavior: none;
}
.toast {
  width: max-content;
  max-width: calc(var(--phone-max) - 30px);
  bottom: calc(88px + env(safe-area-inset-bottom));
  text-align: center;
  font-size: 11px;
}

/* Very small phones */
@media (max-width: 360px) {
  .site-header {
    padding-left: 10px;
    padding-right: 10px;
  }
  .brand-en {
    font-size: 18px;
  }
  .hero {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  .hero-media {
    width: calc(100% + 28px);
    margin-left: -14px;
    margin-right: -14px;
  }
  .hero h1 {
    font-size: 36px;
  }
  .hero-actions {
    grid-template-columns: 1fr;
  }
  .section {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  .video-frame {
    max-width: 100%;
  }
  .mobile-buybar {
    grid-template-columns: minmax(0, 1fr) 116px;
  }
}

/* Desktop/tablet should preview the mobile website instead of stretching it */
@media (min-width: 431px) {
  body {
    max-width: var(--phone-max) !important;
  }
}


/* =========================================================
   Language switcher / multilingual pages
   ========================================================= */
.nav-language {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin-top: 8px;
  padding-top: 9px;
  border-top: 1px solid rgba(92,56,31,.10);
}
.nav-language a {
  min-height: 38px !important;
  display: grid !important;
  place-items: center;
  padding: 0 6px !important;
  border: 1px solid rgba(92,56,31,.10) !important;
  border-radius: 10px;
  background: rgba(255,255,255,.55);
  font-size: 11px !important;
  font-weight: 600;
}
.nav-language a.active {
  border-color: rgba(183,122,36,.35) !important;
  background: #efe1ce;
  color: var(--bronze);
}
html[lang="en"] body {
  font-family: "Noto Sans", "Noto Sans TC", system-ui, sans-serif;
}
html[lang="en"] .hero h1,
html[lang="en"] .section-heading h2,
html[lang="en"] .gift-copy h2,
html[lang="en"] .usage-panel h2,
html[lang="en"] .skin-panel h2,
html[lang="en"] .brand-story h2,
html[lang="en"] .contact h2 {
  font-family: "Noto Serif", "Playfair Display", serif;
  letter-spacing: 0;
}
html[lang="ja"] body {
  font-family: "Noto Sans JP", "Noto Sans TC", system-ui, sans-serif;
}
html[lang="ja"] .hero h1,
html[lang="ja"] .section-heading h2,
html[lang="ja"] .gift-copy h2,
html[lang="ja"] .usage-panel h2,
html[lang="ja"] .skin-panel h2,
html[lang="ja"] .brand-story h2,
html[lang="ja"] .contact h2 {
  font-family: "Noto Serif JP", "Noto Serif TC", serif;
  letter-spacing: 0;
}
html[lang="en"] .hero-subtitle,
html[lang="ja"] .hero-subtitle {
  letter-spacing: .08em;
}
html[lang="en"] .hero h1 {
  font-size: clamp(38px, 10vw, 47px);
}
html[lang="ja"] .hero h1 {
  font-size: clamp(34px, 9.2vw, 43px);
  line-height: 1.34;
}
html[lang="ja"] .section-heading h2,
html[lang="ja"] .gift-copy h2,
html[lang="ja"] .usage-panel h2,
html[lang="ja"] .skin-panel h2,
html[lang="ja"] .brand-story h2,
html[lang="ja"] .contact h2 {
  line-height: 1.45;
}


/* =========================================================
   Japanese special video
   ========================================================= */
.ja-special-video {
  background:
    radial-gradient(circle at 88% 8%, rgba(204,146,64,.16), transparent 32%),
    linear-gradient(180deg, #fffaf4 0%, #f6eadb 100%);
}
.ja-special-video-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: rgba(255,255,255,.88);
  box-shadow: var(--shadow);
}
.ja-special-video-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #140c08;
}
.ja-special-video-player {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #140c08;
}
.ja-special-video-copy {
  padding: 18px 16px 20px;
}
.ja-special-video-copy h3 {
  margin: 0 0 9px;
  font-family: "Noto Serif JP", "Noto Serif TC", serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.45;
}
.ja-special-video-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}
@media (max-width: 430px) {
  .ja-special-video {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
}


/* =========================================================
   English product video
   ========================================================= */
.en-product-video {
  background:
    radial-gradient(circle at 88% 8%, rgba(204,146,64,.16), transparent 32%),
    linear-gradient(180deg, #fffaf4 0%, #f6eadb 100%);
}
.en-product-video-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: rgba(255,255,255,.88);
  box-shadow: var(--shadow);
}
.en-product-video-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #140c08;
}
.en-product-video-player {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #140c08;
}
.en-product-video-copy {
  padding: 18px 16px 20px;
}
.en-product-video-copy h3 {
  margin: 0 0 9px;
  font-family: "Noto Serif", "Playfair Display", serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.45;
}
.en-product-video-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}
@media (max-width: 430px) {
  .en-product-video {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
}


/* =========================================================
   EXOLÉNA® Five Core Technology Platforms
   ========================================================= */
.tech-platform-intro {
  margin: 0 0 24px;
  padding: 20px 17px;
  border: 1px solid rgba(126,79,39,.13);
  border-radius: 19px;
  background:
    radial-gradient(circle at 100% 0%, rgba(210,158,77,.18), transparent 38%),
    rgba(255,255,255,.72);
}
.tech-platform-intro h3 {
  margin: 0 0 9px;
  font-family: "Noto Serif TC", serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.4;
}
.tech-platform-intro p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.tech-platform-heading {
  margin: 0 0 13px;
}
.tech-platform-heading span {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .15em;
}
.tech-platform-heading h3 {
  margin: 0;
  font-family: "Noto Serif TC", serif;
  font-size: 23px;
  font-weight: 500;
}

.tech-platform-grid {
  display: grid;
  gap: 10px;
  margin-bottom: 27px;
}
.tech-platform-card {
  position: relative;
  overflow: hidden;
  padding: 17px 16px 16px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255,255,255,.87);
}
.tech-platform-card::after {
  content: "";
  position: absolute;
  right: -28px;
  top: -30px;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(211,159,80,.15), transparent 69%);
}
.tech-platform-no {
  margin-bottom: 7px;
  color: rgba(120,76,42,.32);
  font-family: "Playfair Display", serif;
  font-size: 24px;
  line-height: 1;
}
.tech-platform-name {
  display: grid;
  gap: 2px;
  margin-bottom: 8px;
}
.tech-platform-name strong {
  color: var(--bronze);
  font-family: "Playfair Display", serif;
  font-size: 20px;
  letter-spacing: .03em;
}
.tech-platform-name span {
  color: var(--gold);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .03em;
}
.tech-platform-card p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.75;
}

.tech-formula-divider {
  margin: 4px 0 17px;
  padding-top: 19px;
  border-top: 1px solid var(--line);
}
.tech-formula-divider span {
  display: block;
  color: var(--gold);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
}
.tech-formula-divider p {
  margin: 4px 0 0;
  font-family: "Noto Serif TC", serif;
  font-size: 17px;
  color: var(--ink);
}

@media (min-width: 390px) {
  .tech-platform-grid {
    grid-template-columns: 1fr 1fr;
  }
  .tech-platform-card:last-child {
    grid-column: 1 / -1;
  }
}


/* =========================================================
   English technology platform refinements
   ========================================================= */
html[lang="en"] .tech-platform-intro h3,
html[lang="en"] .tech-platform-heading h3,
html[lang="en"] .tech-formula-divider p {
  font-family: "Noto Serif", "Playfair Display", serif;
}
html[lang="en"] .tech-platform-intro p,
html[lang="en"] .tech-platform-card p {
  line-height: 1.7;
}
html[lang="en"] .tech-platform-name span {
  line-height: 1.45;
}


/* =========================================================
   Japanese technology platform refinements
   ========================================================= */
html[lang="ja"] .tech-platform-intro h3,
html[lang="ja"] .tech-platform-heading h3,
html[lang="ja"] .tech-formula-divider p {
  font-family: "Noto Serif JP", "Noto Serif TC", serif;
}
html[lang="ja"] .tech-platform-intro p,
html[lang="ja"] .tech-platform-card p {
  line-height: 1.8;
}
html[lang="ja"] .tech-platform-name span {
  line-height: 1.55;
}




/* =========================================================
   EXOLÉNA top banner carousel
   ========================================================= */
.top-visual-banner {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #3a1d0c;
}
.top-banner-track {
  position: relative;
  width: 100%;
  aspect-ratio: 1672 / 941;
}
.top-banner-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s ease, visibility .8s ease;
}
.top-banner-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.top-banner-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #3a1d0c;
}
.top-banner-dots {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
}
.top-banner-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 999px;
  background: rgba(255,255,255,.25);
}
.top-banner-dot.active {
  width: 20px;
  background: rgba(255,236,191,.96);
}
@media (max-width: 430px) {
  .top-banner-dots {
    bottom: 7px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .top-banner-slide {
    transition: none;
  }
}
