:root {
  --navy: #0d2340;
  --navy-2: #16345c;
  --red: #e0261b;
  --red-d: #b81d14;
  --yellow: #ffd400;
  --wa: #1fae55;
  --wa-d: #178a43;
  --ink: #142033;
  --muted: #5b6b80;
  --line: #e3e8ef;
  --bg: #f6f8fb;
  --card: #ffffff;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(13,35,64,.06), 0 8px 24px rgba(13,35,64,.07);
  --font: "Plus Jakarta Sans", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
html, body { overflow-x: clip; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.lock { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.small { font-size: .875rem; color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 700; color: var(--red); margin: 0 0 .75rem; }
.eyebrow.light { color: var(--yellow); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border: 0; border-radius: 999px; padding: .8rem 1.3rem; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; transition: background .15s, transform .1s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-d); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-d); }
.btn-tt { background: #111; color: #fff; }
.btn-tt:hover { background: #000; }
.tt-link { display: inline-flex; align-items: center; gap: .4rem; color: #fff; text-decoration: none; font-weight: 600; font-size: .9rem; }
.tt-link:hover { color: var(--yellow); }
.btn-light { background: #fff; color: var(--navy); }
.btn-outline { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-sm { padding: .5rem .9rem; font-size: .875rem; }
.btn-block { width: 100%; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* top bar */
.topbar { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; gap: 1rem; height: 64px; }
.brandmark { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.brandmark img { height: 36px; width: auto; mix-blend-mode: multiply; }
.brandmark-co { font-weight: 800; color: var(--navy); font-size: .95rem; }
.nav { display: flex; gap: 1.25rem; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--muted); }
.nav a:hover { color: var(--navy); }
.topbar-actions { display: flex; align-items: center; gap: .6rem; }
.lang { display: flex; background: var(--bg); border-radius: 999px; padding: 3px; }
.lang button { border: 0; background: none; font: inherit; font-size: .78rem; font-weight: 700; padding: .3rem .55rem; border-radius: 999px; cursor: pointer; color: var(--muted); }
.lang button[aria-pressed="true"] { background: #fff; color: var(--navy); box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.cart-btn { position: relative; display: flex; align-items: center; gap: .4rem; border: 0; background: var(--navy); color: #fff; font: inherit; font-weight: 700; font-size: .88rem; padding: .55rem .9rem; border-radius: 999px; cursor: pointer; }
.cart-btn .badge { background: var(--yellow); color: var(--navy); min-width: 1.4rem; height: 1.4rem; border-radius: 999px; display: grid; place-items: center; font-size: .75rem; padding: 0 .3rem; }
.cart-btn.bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.12); } }

/* hero */
.hero { background: radial-gradient(1200px 500px at 85% 20%, #fff6c2 0%, transparent 60%), linear-gradient(180deg, #fff 0%, var(--bg) 100%); padding: clamp(2.5rem, 6vw, 5rem) 0 2.5rem; }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.5rem); font-weight: 800; color: var(--navy); }
.lede { font-size: 1.12rem; color: var(--muted); max-width: 36rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .9rem; font-weight: 600; color: var(--navy); }
.trust li::before { content: "✓"; color: var(--wa); margin-right: .4rem; font-weight: 800; }
.hero-art { position: relative; }
.hero-img { width: 100%; border-radius: 24px; background: #fff; box-shadow: var(--shadow); padding: 1rem; }
.hero-chip { position: absolute; left: -1rem; bottom: -1rem; background: var(--navy); color: #fff; border-radius: 14px; padding: .8rem 1rem; box-shadow: var(--shadow); display: grid; }
.hero-chip strong { color: var(--yellow); font-size: 1.4rem; line-height: 1; }
.hero-chip span { font-size: .82rem; opacity: .9; }

/* brands */
.brands { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.brand-card { display: flex; gap: 1.25rem; align-items: center; background: var(--card); border-radius: var(--radius); padding: 1.25rem 1.5rem; box-shadow: var(--shadow); border-top: 4px solid var(--yellow); }
.brand-ultra { border-top-color: var(--red); }
.brand-card img { width: 120px; flex: none; mix-blend-mode: multiply; }
.brand-card h2 { font-size: 1.1rem; color: var(--navy); margin-bottom: .25rem; }
.brand-card p { margin: 0; color: var(--muted); font-size: .92rem; }

/* sections */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-head { max-width: 46rem; margin-bottom: 2rem; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); color: var(--navy); }
.section-head p { color: var(--muted); margin: 0; }
.section-head .tag-red, .tag-red { display: inline-block; background: var(--red); color: #fff; font-weight: 800; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 6px; margin: 0 0 .9rem; }

/* filters */
.filters { display: grid; gap: .9rem; margin-bottom: 1.5rem; position: sticky; top: 64px; z-index: 5; background: var(--bg); padding: .75rem 0; }
.chips { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chips button { flex: none; border: 1.5px solid var(--line); background: #fff; color: var(--navy); font: inherit; font-weight: 600; font-size: .9rem; padding: .5rem 1rem; border-radius: 999px; cursor: pointer; }
.chips button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.filter-row { display: flex; gap: .75rem; flex-wrap: wrap; }
.seg { display: flex; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 3px; }
.seg button { border: 0; background: none; font: inherit; font-weight: 600; font-size: .85rem; padding: .4rem .85rem; border-radius: 999px; cursor: pointer; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--yellow); color: var(--navy); }
.search { flex: 1; min-width: 220px; display: flex; align-items: center; gap: .5rem; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 1rem; color: var(--muted); }
.search input { border: 0; outline: 0; font: inherit; flex: 1; padding: .55rem 0; background: transparent; color: var(--ink); }
.search:focus-within { border-color: var(--navy); }

/* product grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.1rem; }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(13,35,64,.06), 0 14px 32px rgba(13,35,64,.1); }
.card-img { position: relative; border: 0; padding: 0; cursor: pointer; background: #fff; aspect-ratio: 4 / 3.4; display: block; width: 100%; }
.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: .6rem; }
.pill { position: absolute; top: .7rem; left: .7rem; background: var(--red); color: #fff; font-weight: 800; font-size: .72rem; padding: .25rem .55rem; border-radius: 6px; }
.card-body { padding: 1rem 1.1rem 1.15rem; display: flex; flex-direction: column; flex: 1; border-top: 1px solid var(--line); }
.card-brand { font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 .25rem; }
.card-brand.pc { color: #c8901a; }
.card-brand.us { color: var(--red); }
.card h3 { font-size: 1.02rem; margin: 0 0 .3rem; color: var(--navy); }
.card-sizes { font-size: .84rem; color: var(--muted); margin: 0 0 .7rem; }
.card-price { margin: 0 0 .7rem; display: grid; gap: .3rem; }
.card-price .pp, .vprice .pp { font-weight: 800; font-size: 1.15rem; color: var(--red); }
.card-price s, .vprice s { color: var(--muted); font-size: .82rem; margin-left: .3rem; }
.pp.ask { color: #1c63b8; font-size: 1rem; }
.promo { display: inline-block; background: #fff4cc; color: #7a5a00; font-size: .76rem; font-weight: 700; padding: .2rem .5rem; border-radius: 6px; line-height: 1.35; }
.vprice { display: block; margin-top: .15rem; }
.vprice .pp { font-size: .95rem; }
.vopt .promo { margin-top: .3rem; }
.line-info .promo { justify-self: start; margin-top: .2rem; }
.pick { display: flex; gap: .4rem; margin-bottom: .6rem; }
.pick select { flex: 1; min-width: 0; font: inherit; font-size: .85rem; border: 1.5px solid var(--line); border-radius: 10px; padding: .45rem .5rem; background: #fff; color: var(--ink); }
.mode { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; margin-bottom: .7rem; }
.mode button { border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: .4rem .5rem; font: inherit; cursor: pointer; display: grid; text-align: left; line-height: 1.25; color: var(--ink); }
.mode button span { font-size: .72rem; font-weight: 600; color: var(--muted); }
.mode button b { font-size: 1rem; color: var(--navy); }
.mode button[data-mode="refill"] b { color: var(--red); }
.mode button[aria-pressed="true"] { border-color: var(--navy); background: #f2f5fa; box-shadow: inset 0 0 0 1px var(--navy); }
.card-body > [data-price] { margin-top: auto; }
.card-body > .btn-block { margin-top: 0; }
.from { position: absolute; right: .7rem; bottom: .7rem; background: var(--yellow); color: var(--navy); font-weight: 800; font-size: .78rem; padding: .25rem .55rem; border-radius: 6px; }
.price-note { font-size: .82rem; color: var(--muted); background: #fff; border: 1px dashed var(--line); border-radius: 10px; padding: .55rem .8rem; margin: -1rem 0 1rem; }
.scents { border: 0; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.scents legend { font-weight: 700; font-size: .85rem; margin-bottom: .5rem; color: var(--navy); }
.chip { cursor: pointer; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: inline-block; border: 1.5px solid var(--line); border-radius: 999px; padding: .35rem .8rem; font-size: .85rem; font-weight: 600; }
.chip input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.chip input:focus-visible + span { outline: 3px solid var(--yellow); }
.vprice b { color: var(--navy); }
.vprice b.rf { color: var(--red); }
#pdMode .mode { margin: -.25rem 0 1rem; }
.card-actions { display: flex; gap: .5rem; margin-top: auto; }
.card-actions select { flex: 1; min-width: 0; font: inherit; font-size: .85rem; border: 1.5px solid var(--line); border-radius: 10px; padding: .45rem .5rem; background: #fff; color: var(--ink); }
.seo-list { grid-column: 1 / -1; }
.seo-list h3 { font-size: 1rem; }
.empty { color: var(--muted); text-align: center; padding: 2rem 0; }

/* refill band */
.refill { background: var(--navy); color: #fff; }
.refill-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.refill h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.refill p { color: #c9d4e3; }
.steps { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .75rem; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 2.4rem 1fr; column-gap: .9rem; align-items: center; counter-increment: s; }
.steps li::before { content: counter(s); grid-row: span 2; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--yellow); color: var(--navy); font-weight: 800; display: grid; place-items: center; }
.steps strong { color: #fff; }
.steps span { color: #c9d4e3; font-size: .95rem; }
.refill-img { border-radius: 20px; max-height: 520px; width: 100%; object-fit: cover; object-position: center 40%; }

/* clearance */
.cl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1rem; }
.cl-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.cl-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.cl-body { padding: .85rem 1rem 1rem; display: flex; flex-direction: column; flex: 1; }
.cl-body h3 { font-size: .95rem; margin: 0; color: var(--navy); }
.cl-body .zh { margin: .1rem 0 .7rem; font-size: .82rem; color: var(--muted); }
.cl-row { flex-wrap: wrap; display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: auto; }
.price { white-space: nowrap; font-weight: 800; font-size: 1.1rem; color: var(--navy); }
.price small { font-weight: 600; font-size: .75rem; color: var(--muted); }
.price.ask { font-size: .95rem; color: #1c63b8; }

/* factory */
.factory { background: #fff; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: .75rem; }
.gallery figure { margin: 0; position: relative; border-radius: 14px; overflow: hidden; }
.gallery figure.wide { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; inset: auto 0 0 0; padding: 1.5rem .8rem .6rem; color: #fff; font-size: .82rem; font-weight: 600; background: linear-gradient(transparent, rgba(0,0,0,.6)); }
.who { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.who li { background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: .45rem 1rem; font-weight: 600; font-size: .9rem; color: var(--navy); }

/* visit */
.visit-in { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.visit h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); color: var(--navy); }
.contact { display: grid; grid-template-columns: max-content 1fr; gap: .6rem 1.5rem; margin: 1.5rem 0 0; }
.contact dt { font-weight: 700; color: var(--muted); font-size: .9rem; }
.contact dd { margin: 0; font-weight: 600; }
.contact a { color: var(--navy); }
.visit-img { border-radius: 20px; max-height: 480px; width: 100%; object-fit: cover; }

.footer { background: var(--navy); color: #fff; padding: 2rem 0; }
.footer .small { color: #9fb0c6; margin: .25rem 0 0; }
.footer-in { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }

/* product dialog */
.pdialog { border: 0; border-radius: 20px; padding: 0; width: min(880px, 100% - 24px); max-height: calc(100dvh - 24px); box-shadow: 0 30px 80px rgba(0,0,0,.3); color: var(--ink); }
.pdialog::backdrop { background: rgba(13,35,64,.5); }
.pdialog form { position: absolute; top: .6rem; right: .6rem; z-index: 2; }
.x { border: 0; background: #fff; width: 2.2rem; height: 2.2rem; border-radius: 50%; font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--navy); box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.pd-in { display: grid; grid-template-columns: 1fr 1fr; }
.pd-img { background: #fff; display: grid; place-items: center; padding: 1.25rem; border-right: 1px solid var(--line); }
.pd-img img { max-height: 520px; object-fit: contain; }
.pd-info { padding: 1.75rem 1.5rem; }
.pd-info h2 { color: var(--navy); font-size: 1.5rem; }
.pd-info > p { color: var(--muted); }
.feat { list-style: none; padding: 0; margin: 0 0 1.25rem; display: flex; flex-wrap: wrap; gap: .35rem; }
.feat li { background: #eef7f1; color: #17633a; font-size: .78rem; font-weight: 600; padding: .25rem .6rem; border-radius: 999px; }
.variants { border: 0; padding: 0; margin: 0 0 1.25rem; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.variants legend { font-weight: 700; font-size: .85rem; margin-bottom: .5rem; color: var(--navy); }
.vopt { display: flex; gap: .5rem; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 12px; padding: .55rem .7rem; cursor: pointer; }
.vopt:has(input:checked) { border-color: var(--navy); background: #f2f5fa; }
.vopt input { margin-top: .25rem; accent-color: var(--navy); }
.vopt strong { display: block; font-size: .88rem; }
.vopt small { color: var(--muted); font-size: .75rem; }
.pd-add { display: flex; gap: .75rem; align-items: end; }
.qty { display: grid; font-size: .78rem; font-weight: 700; color: var(--muted); }
.qty input { width: 5rem; font: inherit; padding: .65rem .6rem; border: 1.5px solid var(--line); border-radius: 10px; }
.pd-add .btn { flex: 1; }

/* drawer */
.scrim { position: fixed; inset: 0; background: rgba(13,35,64,.45); z-index: 60; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: #fff; z-index: 70; display: flex; flex-direction: column; transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s; overflow-y: auto; box-shadow: -10px 0 40px rgba(0,0,0,.15); }
.drawer.open { transform: none; visibility: visible; }
.drawer-head { position: sticky; top: 0; background: #fff; z-index: 1; display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-size: 1.2rem; color: var(--navy); }
.drawer-body { flex: 1 0 auto; padding: .5rem 1.25rem; }
.drawer-foot { border-top: 1px solid var(--line); padding: 1rem 1.25rem 1.25rem; display: grid; gap: .6rem; background: var(--bg); }
.line { display: grid; grid-template-columns: 56px 1fr auto; gap: .75rem; align-items: center; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.line img { width: 56px; height: 56px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.line-info { display: grid; min-width: 0; }
.line-info strong { font-size: .88rem; line-height: 1.3; }
.line-info small { color: var(--muted); font-size: .78rem; }
.line-info .lp { color: var(--navy); font-weight: 600; }
.link { border: 0; background: none; padding: 0; font: inherit; font-size: .78rem; color: var(--red); cursor: pointer; justify-self: start; margin-top: .15rem; }
.stepper { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; }
.stepper button { border: 0; background: #fff; width: 1.9rem; height: 2rem; font-size: 1.05rem; cursor: pointer; color: var(--navy); }
.stepper input { width: 2.4rem; border: 0; text-align: center; font: inherit; font-weight: 700; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.subtotal { text-align: right; margin: 1rem 0; color: var(--muted); }
.subtotal strong { color: var(--navy); }
.field { display: grid; gap: .25rem; font-size: .8rem; font-weight: 700; color: var(--muted); }
.field input, .field textarea { font: inherit; font-weight: 400; color: var(--ink); border: 1.5px solid var(--line); border-radius: 10px; padding: .55rem .7rem; background: #fff; resize: vertical; }
.drawer-foot .small { margin: 0; }

.toast { position: fixed; left: 50%; bottom: 1.5rem; transform: translate(-50%, 150%); background: var(--navy); color: #fff; padding: .75rem 1.2rem; border-radius: 999px; font-weight: 600; font-size: .9rem; z-index: 90; transition: transform .25s ease; max-width: calc(100% - 32px); text-align: center; }
.toast.show { transform: translate(-50%, 0); }

/* responsive */
@media (max-width: 960px) {
  .nav { display: none; }
  .topbar-actions { margin-left: auto; }
  .hero-in, .refill-in, .visit-in { grid-template-columns: 1fr; gap: 2rem; }
  .hero-art { max-width: 520px; }
  .hero-chip { position: static; margin-top: .75rem; display: inline-grid; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
}
@media (max-width: 720px) {
  .brands { grid-template-columns: 1fr; }
  .brand-card img { width: 90px; }
  .pd-in { grid-template-columns: 1fr; }
  .pd-img { border-right: 0; border-bottom: 1px solid var(--line); }
  .pd-img img { max-height: 280px; }
  .variants { grid-template-columns: 1fr; }
  .brandmark-co { display: none; }
  .cart-btn span[data-i18n] { display: none; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .75rem; }
  .cl-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .cl-row { flex-direction: column; align-items: stretch; }
  .card-actions { flex-direction: column; }
  .card-body { padding: .8rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
