/* ==========================================================================
   Puredien Living — main stylesheet
   Deep navy · aqua · white. No framework; one file; mobile-first adjustments.
   ========================================================================== */

/* ---------- Fonts (self-hosted, SIL Open Font Licence) ---------- */
@font-face { font-family: "Outfit"; src: url("../fonts/outfit-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/outfit-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/outfit-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/outfit-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/outfit-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Lato"; src: url("../fonts/lato-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Lato"; src: url("../fonts/lato-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Lato"; src: url("../fonts/lato-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "DM Serif Display"; src: url("../fonts/dm-serif-display-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --navy-950: #021d36;
  --navy-900: #052f4e;      /* approved header */
  --navy-850: #002956;      /* approved footer */
  --navy-800: #0a3a63;
  --navy-700: #12497a;
  --ink: #0e2746;           /* headings */
  --text: #2e4257;
  --muted: #607286;
  --line: #dbe5ee;
  --line-soft: #e8eef4;
  --bg: #f4f8fb;
  --bg-aqua: #eaf8fb;
  --aqua-100: #d6f3f8;
  --aqua-300: #8ee6f2;
  --aqua: #37e6f8;          /* approved accent line + badge */
  --teal: #1ab4c8;          /* primary action */
  --teal-600: #0f97ab;
  --teal-700: #0b7d8f;
  --ok: #1d8f62;  --ok-bg: #e5f6ee;
  --warn: #b26a06; --warn-bg: #fff3df;
  --bad: #c33b3b;  --bad-bg: #fde9e9;
  --info: #1f6fb2; --info-bg: #e7f1fb;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(5, 47, 78, .06), 0 1px 1px rgba(5, 47, 78, .04);
  --shadow: 0 6px 24px -10px rgba(5, 47, 78, .22), 0 2px 6px rgba(5, 47, 78, .05);
  --shadow-lg: 0 24px 60px -24px rgba(5, 47, 78, .38);
  --font-head: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-body: "Lato", "Segoe UI", system-ui, sans-serif;
  --font-display: "DM Serif Display", Georgia, serif;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --hdr-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--text); background: #fff; overflow-x: hidden; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; font-weight: 700; }
h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.02rem; }
p { margin: 0 0 1em; }
a { color: var(--teal-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-800); }
button { font: inherit; }
ul, ol { padding-left: 1.2em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--aqua-100); color: var(--navy-900); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
main { display: block; min-height: 50vh; outline: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: #fff; color: var(--navy-900); padding: 10px 16px; border-radius: 8px; font-weight: 700; box-shadow: var(--shadow); }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 860px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.xsmall { font-size: .8rem; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.icon { flex-shrink: 0; }
.stack > * + * { margin-top: 16px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row-between { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.grid-2 { display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { display: grid; gap: 20px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ==========================================================================
   APPROVED HEADER
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--navy-900); border-bottom: 3px solid var(--aqua); color: #fff; }
.hdr-inner { max-width: 1440px; margin-inline: auto; padding: 0 clamp(16px, 4vw, 56px); height: var(--hdr-h); display: flex; align-items: center; gap: 24px; }
.hdr-logo { flex-shrink: 0; display: block; }
.hdr-logo img { width: clamp(150px, 15vw, 200px); height: auto; }
.hdr-nav { flex: 1; display: flex; justify-content: center; }
.hdr-nav > ul { list-style: none; display: flex; align-items: center; gap: clamp(14px, 2.6vw, 44px); margin: 0; padding: 0; }
.hdr-nav li { position: relative; display: flex; align-items: center; }
.nav-link { position: relative; color: #fff; text-decoration: none; font-family: var(--font-body); font-size: 1.12rem; letter-spacing: .005em; padding: 22px 2px; white-space: nowrap; transition: color .2s; }
.nav-link::after { content: ""; position: absolute; left: -10px; right: -10px; bottom: 12px; height: 4px; border-radius: 3px; background: var(--aqua); transform: scaleX(0); transition: transform .25s var(--ease); }
.nav-link:hover { color: #fff; }
.nav-link:hover::after { transform: scaleX(.6); opacity: .6; }
.nav-link.is-active::after { transform: scaleX(1); opacity: 1; }
.has-menu .menu-toggle { background: none; border: 0; color: #fff; padding: 4px; margin-left: 2px; cursor: pointer; display: flex; border-radius: 6px; }
.has-menu .menu-toggle .icon { transition: transform .25s var(--ease); }
.has-menu.is-open .menu-toggle .icon { transform: rotate(180deg); }
.shop-menu { position: absolute; top: calc(100% + 8px); left: -24px; min-width: 300px; background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); padding: 10px 16px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s var(--ease), visibility .2s; z-index: 70; }
.shop-menu::before { content: ""; position: absolute; top: -8px; left: 60px; border: 8px solid transparent; border-top: 0; border-bottom-color: #fff; }
.has-menu.is-open .shop-menu, .has-menu:focus-within .shop-menu { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) { .has-menu:hover .shop-menu { opacity: 1; visibility: visible; transform: none; } }
.shop-menu a { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 4px; color: var(--ink); text-decoration: none; font-family: var(--font-body); font-size: 1.05rem; border-bottom: 1px solid var(--line-soft); }
.shop-menu a:last-child { border-bottom: 0; }
.shop-menu a:hover { color: var(--teal-700); }
.hdr-actions { display: flex; align-items: center; gap: clamp(10px, 1.6vw, 26px); flex-shrink: 0; }
.hdr-icon { display: inline-flex; align-items: center; justify-content: center; color: #fff; background: none; border: 0; padding: 6px; cursor: pointer; border-radius: 8px; text-decoration: none; position: relative; }
.hdr-icon:hover, .hdr-account:hover { color: var(--aqua); }
.hdr-account { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; background: none; border: 0; cursor: pointer; padding: 6px; font-size: 1.1rem; border-radius: 8px; }
.cart-badge { position: absolute; top: -4px; right: -8px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--aqua); color: var(--navy-900); font-size: .78rem; font-weight: 700; display: grid; place-items: center; line-height: 1; transition: transform .3s var(--ease); }
.cart-badge.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.acct { position: relative; }
.acct-menu { position: absolute; right: 0; top: calc(100% + 12px); width: 260px; background: #fff; color: var(--ink); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s var(--ease), visibility .2s; z-index: 70; }
.acct.is-open .acct-menu { opacity: 1; visibility: visible; transform: none; }
.acct-hello { font-size: .82rem; color: var(--muted); padding: 8px 10px 10px; margin: 0 0 4px; border-bottom: 1px solid var(--line-soft); word-break: break-all; }
.acct-hello strong { color: var(--ink); }
.acct-menu a, .acct-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px; border-radius: 8px; color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; text-align: left; font-size: .95rem; }
.acct-menu a:hover, .acct-menu button:hover { background: var(--bg-aqua); }
.hdr-burger { display: none; }
.site-search { background: var(--navy-950); border-top: 1px solid rgba(255,255,255,.08); padding: 14px 0; animation: drop .25s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }
.search-form { display: flex; align-items: center; gap: 12px; color: #fff; }
.search-form input { flex: 1; min-width: 0; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff; padding: 12px 16px; border-radius: 10px; font-size: 1rem; }
.search-form input::placeholder { color: rgba(255,255,255,.6); }
.drawer { position: fixed; inset: 0; z-index: 90; background: rgba(2, 20, 38, .55); }
.drawer-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(360px, 88vw); background: var(--navy-900); color: #fff; padding: 18px 20px 28px; overflow-y: auto; animation: slidein .3s var(--ease); border-left: 3px solid var(--aqua); }
@keyframes slidein { from { transform: translateX(100%); } }
.drawer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.drawer-nav { list-style: none; margin: 0; padding: 0; }
.drawer-nav a { display: block; color: #fff; text-decoration: none; font-size: 1.15rem; padding: 14px 4px; }
.drawer-nav a.is-active { color: var(--aqua); }
.drawer-nav > li { border-bottom: 1px solid rgba(255,255,255,.1); }
.drawer-row { display: flex; justify-content: space-between; align-items: center; }
.drawer-sub-toggle { background: none; border: 0; color: #fff; padding: 10px; cursor: pointer; }
.drawer-sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.drawer-sub { list-style: none; padding: 0 0 10px 12px; margin: 0; }
.drawer-sub a { font-size: 1rem; padding: 10px 4px; display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.drawer-account { margin-top: 22px; display: grid; gap: 6px; }
.drawer-account a, .drawer-account button { display: flex; gap: 10px; align-items: center; color: #fff; text-decoration: none; background: rgba(255,255,255,.06); border: 0; padding: 12px 14px; border-radius: 10px; width: 100%; cursor: pointer; font-size: 1rem; }
@media (max-width: 1180px) {
  .hdr-nav, .hdr-account-label { display: none; }
  .hdr-burger { display: inline-flex; }
  .hdr-actions { margin-left: auto; }
  .acct-menu { right: -60px; }
}
@media (max-width: 420px) { :root { --hdr-h: 64px; } .hdr-actions { gap: 4px; } .hdr-logo img { width: 132px; } }

.prelaunch { background: #fff8e8; border-bottom: 1px solid #f3dfb3; color: #6d4b07; font-size: .85rem; padding: 7px 0; }
.prelaunch .container { display: flex; gap: 8px; align-items: center; }

/* ==========================================================================
   APPROVED FOOTER
   ========================================================================== */
.site-footer { background: var(--navy-850); color: #fff; margin-top: 0; }
.ftr-inner { max-width: 1440px; margin-inline: auto; padding: 64px clamp(20px, 4vw, 90px) 44px; display: grid; grid-template-columns: minmax(240px, 1fr) 2.6fr; gap: 40px; }
.ftr-brand { border-right: 2px solid rgba(255,255,255,.35); padding-right: 32px; align-self: start; padding-bottom: 54px; }
.ftr-wordmark { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.7rem, 2.6vw, 2.25rem); letter-spacing: .015em; color: #fff; text-decoration: none; line-height: 1; white-space: nowrap; }
.ftr-wordmark span { color: var(--aqua); }
.ftr-brand p { font-size: 1.25rem; margin: 6px 0 0; letter-spacing: .02em; }
.ftr-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.ftr-cols h2 { color: #fff; font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; margin: 0 0 18px; letter-spacing: 0; }
.ftr-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ftr-cols a { color: #fff; text-decoration: none; font-size: 1.05rem; }
.ftr-cols a:hover { color: var(--aqua); text-decoration: underline; }
.ftr-bottom { max-width: 1440px; margin-inline: auto; padding: 0 clamp(20px, 4vw, 90px) 34px; }
.ftr-bottom p { border-top: 1px solid rgba(255,255,255,.35); margin: 0; padding-top: 22px; text-align: center; font-size: 1rem; }
@media (max-width: 960px) {
  .ftr-inner { grid-template-columns: 1fr; gap: 28px; padding-top: 44px; }
  .ftr-brand { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.25); padding: 0 0 24px; }
  .ftr-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
}

/* ==========================================================================
   COMPONENTS
   ========================================================================== */
.btn { --b: var(--teal); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border-radius: 10px; border: 1.5px solid transparent; font-family: var(--font-head); font-weight: 600; font-size: 1rem; line-height: 1.1; text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s, background-color .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn-aqua { background: linear-gradient(180deg, #2ac8db, var(--teal)); color: #fff; box-shadow: 0 6px 18px -8px rgba(26, 180, 200, .8); }
.btn-aqua:hover { background: linear-gradient(180deg, #23bdd0, var(--teal-600)); color: #fff; box-shadow: 0 10px 24px -10px rgba(26, 180, 200, .9); }
.btn-light-aqua { background: #5fe0ef; color: var(--navy-900); }
.btn-light-aqua:hover { background: #48d6e8; color: var(--navy-900); }
.btn-navy { background: var(--navy-900); color: #fff; }
.btn-navy:hover { background: var(--navy-800); color: #fff; }
.btn-outline { background: #fff; color: var(--navy-900); border-color: var(--navy-900); }
.btn-outline:hover { background: var(--navy-900); color: #fff; }
.btn-outline-aqua { background: #fff; color: var(--teal-700); border-color: var(--teal); }
.btn-outline-aqua:hover { background: var(--bg-aqua); color: var(--teal-700); }
.btn-white { background: #fff; color: var(--navy-900); }
.btn-white:hover { background: var(--bg-aqua); color: var(--navy-900); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.85); }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-text { background: none; border: 0; color: var(--teal-700); min-height: 0; padding: 4px 0; font-family: var(--font-body); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.btn-sm { min-height: 38px; padding: 8px 16px; font-size: .92rem; border-radius: 8px; }
.btn-lg { min-height: 56px; padding: 16px 30px; font-size: 1.08rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .55; cursor: not-allowed; box-shadow: none; transform: none; pointer-events: none; }
.btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-loading::after { content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.5); border-top-color: #fff; animation: spin .8s linear infinite; }
.btn-outline.is-loading::after { border-color: var(--line); border-top-color: var(--navy-900); }
@keyframes spin { to { transform: rotate(360deg); } }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; color: var(--teal-700); }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; line-height: 1.3; white-space: nowrap; font-family: var(--font-body); }
.pill-muted { background: #ececef; color: #3f4651; font-weight: 400; }
.pill-aqua { background: var(--aqua-100); color: var(--navy-800); }
.pill-navy { background: var(--navy-900); color: #fff; }
.pill-ok { background: var(--ok-bg); color: var(--ok); }
.pill-warn { background: var(--warn-bg); color: var(--warn); }
.pill-bad { background: var(--bad-bg); color: var(--bad); }
.pill-info { background: var(--info-bg); color: var(--info); }
.pill-outline { border: 1px solid var(--line); background: #fff; color: var(--muted); font-weight: 400; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.card-pad { padding: clamp(18px, 2.4vw, 28px); }
.card-hover { transition: transform .3s var(--ease), box-shadow .3s; }
.card-hover:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-title { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.card-title h2, .card-title h3 { margin: 0; font-size: 1.3rem; }
.num-badge { width: 32px; height: 32px; border-radius: 50%; background: var(--teal-700); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; font-size: .95rem; flex-shrink: 0; }
.num-badge.navy { background: var(--navy-900); }
.icon-bubble { width: 56px; height: 56px; border-radius: 50%; background: var(--bg-aqua); color: var(--navy-800); display: grid; place-items: center; flex-shrink: 0; }
.icon-bubble.lg { width: 72px; height: 72px; }
.icon-bubble.sm { width: 42px; height: 42px; }
.icon-bubble.warm { background: #fff1dc; color: #b66a00; }
.icon-bubble.ok { background: var(--ok-bg); color: var(--ok); }

.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 10px; background: var(--bg-aqua); border: 1px solid #c7ecf3; color: var(--navy-800); font-size: .93rem; }
.notice p { margin: 0; }
.notice p + p { margin-top: 4px; }
.notice strong { color: var(--ink); }
.notice-warn { background: var(--warn-bg); border-color: #f1d9ad; color: #6a4304; }
.notice-bad { background: var(--bad-bg); border-color: #f2c3c3; color: #7c1f1f; }
.notice-ok { background: var(--ok-bg); border-color: #bfe5d3; color: #135c40; }
.notice-plain { background: var(--bg); border-color: var(--line); color: var(--text); }

.flash-stack { margin-top: 16px; display: grid; gap: 8px; }
.flash { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 10px; font-weight: 600; animation: drop .3s var(--ease); }
.flash span { flex: 1; }
.flash-success { background: var(--ok-bg); color: #135c40; }
.flash-error { background: var(--bad-bg); color: #7c1f1f; }
.flash-info { background: var(--info-bg); color: #164f80; }
.flash-close { background: none; border: 0; color: inherit; cursor: pointer; padding: 4px; }

.breadcrumbs { font-size: .88rem; color: var(--muted); padding: 18px 0 6px; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumbs li { display: flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: "›"; color: #9aa9b8; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--teal-700); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 700; }

.page-head { padding: 8px 0 24px; }
.page-head h1 { margin-bottom: 6px; }
.page-head p { font-size: 1.12rem; color: var(--muted); margin: 0; }
.eyebrow { font-family: var(--font-head); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.section { padding: clamp(40px, 6vw, 80px) 0; }
.section-sm { padding: 32px 0; }
.section-title { text-align: center; margin-bottom: 32px; }
.bg-soft { background: var(--bg); }

/* Forms */
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field > label, .label { font-weight: 700; color: var(--ink); font-size: .93rem; }
.label .opt, .field .opt { font-weight: 400; color: var(--muted); font-size: .85rem; margin-left: 4px; }
.input, .select, .textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.textarea { min-height: 110px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: #95a3b2; }
.input:hover, .select:hover, .textarea:hover { border-color: #c4d2df; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(26, 180, 200, .16); }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--bad); }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230e2746' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
.input-icon { position: relative; }
.input-icon > .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #7d8da0; pointer-events: none; }
.input-icon .input { padding-left: 44px; }
.input-icon .toggle-pw { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; padding: 8px; color: #6b7c8f; cursor: pointer; border-radius: 6px; }
.input-icon .input.has-toggle { padding-right: 46px; }
.field-error { color: var(--bad); font-size: .86rem; margin: 0; font-weight: 600; }
.field-help { font-size: .85rem; color: var(--muted); margin: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: .95rem; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--teal-700); flex-shrink: 0; cursor: pointer; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.phone-row { display: grid; grid-template-columns: 120px 1fr; gap: 12px; }
.prefix-box { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); border-radius: 10px; padding: 0 14px; font-weight: 700; color: var(--ink); background: var(--bg); min-height: 48px; }
.flag-sg { width: 22px; height: 15px; border-radius: 2px; background: linear-gradient(#e0262c 50%, #fff 50%); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.strength { display: flex; align-items: center; gap: 10px; font-size: .82rem; color: var(--muted); }
.strength-bars { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.strength-bars i { height: 5px; border-radius: 3px; background: var(--line); transition: background .3s; }
.strength[data-score="1"] i:nth-child(-n+1) { background: var(--bad); }
.strength[data-score="2"] i:nth-child(-n+2) { background: #e3a008; }
.strength[data-score="3"] i:nth-child(-n+3) { background: var(--teal); }
.strength[data-score="4"] i { background: var(--ok); }

/* Choice cards (radio / checkbox styled as tiles) */
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice-body { display: flex; gap: 14px; align-items: flex-start; height: 100%; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .2s, background .2s, box-shadow .2s; }
.choice:hover .choice-body { border-color: #b9cbdb; }
.choice input:checked + .choice-body { border-color: var(--teal); background: #f2fcfd; box-shadow: 0 0 0 3px rgba(26, 180, 200, .12); }
.choice input:focus-visible + .choice-body { outline: 3px solid var(--teal); outline-offset: 2px; }
.choice input:disabled + .choice-body { opacity: .55; cursor: not-allowed; background: var(--bg); }
.radio-dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #a7b6c5; flex-shrink: 0; margin-top: 1px; display: grid; place-items: center; transition: border-color .2s; background: #fff; }
.choice input:checked + .choice-body .radio-dot { border-color: var(--teal-700); }
.choice input:checked + .choice-body .radio-dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--teal-700); animation: pop .25s var(--ease); }
@keyframes pop { from { transform: scale(0); } }
.choice-title { font-weight: 700; color: var(--ink); display: block; }
.choice-sub { display: block; font-size: .88rem; color: var(--muted); }
.choice-tile .choice-body { flex-direction: column; align-items: center; text-align: center; padding: 20px 14px 18px; gap: 8px; }
.choice-tile .radio-dot { position: absolute; left: 14px; top: 14px; }
.choice-tile .choice-title { font-family: var(--font-head); font-weight: 600; }
.choices { display: grid; gap: 12px; }
.choices-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choices-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .choices-2, .choices-3 { grid-template-columns: 1fr; } }

.qty { display: inline-flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; height: 46px; }
.qty button { width: 44px; background: none; border: 0; cursor: pointer; color: var(--ink); display: grid; place-items: center; }
.qty button:hover { background: var(--bg-aqua); }
.qty input { width: 48px; text-align: center; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); font: inherit; font-weight: 700; color: var(--ink); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }

.dropzone { display: flex; align-items: center; gap: 16px; border: 1.5px dashed #b9c9d8; border-radius: 12px; padding: 18px 20px; background: var(--bg); cursor: pointer; transition: border-color .2s, background .2s; position: relative; }
.dropzone:hover, .dropzone.is-over { border-color: var(--teal); background: #f2fcfd; }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone strong { color: var(--ink); display: block; }
.file-list { list-style: none; padding: 0; margin: 8px 0 0; font-size: .87rem; color: var(--muted); }

/* Tabs / segmented */
.segmented { display: inline-flex; gap: 4px; padding: 4px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; flex-wrap: wrap; }
.segmented a, .segmented button { padding: 9px 20px; border-radius: 9px; text-decoration: none; color: var(--text); background: none; border: 0; cursor: pointer; font-weight: 700; font-size: .95rem; }
.segmented .is-active { background: var(--aqua-300); color: var(--navy-900); }
.tabs-line { display: flex; gap: 6px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs-line a, .tabs-line button { padding: 14px 18px; color: var(--text); text-decoration: none; border: 0; background: none; border-bottom: 3px solid transparent; white-space: nowrap; cursor: pointer; font-weight: 600; }
.tabs-line .is-active { color: var(--navy-900); border-bottom-color: var(--navy-900); }

/* Accordion */
.acc-item { border: 1px solid var(--line); border-radius: 10px; background: #fff; overflow: hidden; }
.acc-item + .acc-item { margin-top: 10px; }
.acc-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; background: none; border: 0; cursor: pointer; text-align: left; font-weight: 700; color: var(--ink); font-size: 1rem; }
.acc-btn .icon { transition: transform .3s var(--ease); }
.acc-btn[aria-expanded="true"] .icon { transform: rotate(180deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.acc-panel > div { overflow: hidden; }
.acc-panel.is-open { grid-template-rows: 1fr; }
.acc-panel-inner { padding: 0 18px 18px; color: var(--text); }
.no-js .acc-panel { grid-template-rows: 1fr; }

/* Stepper (cart / checkout) */
.stepper { display: flex; align-items: flex-start; justify-content: center; gap: 0; margin: 8px auto 20px; max-width: 560px; list-style: none; padding: 0; }
.stepper li { flex: 1; display: grid; justify-items: center; gap: 6px; position: relative; font-size: .9rem; color: var(--muted); font-weight: 600; }
.stepper li::before { content: ""; position: absolute; top: 19px; left: -50%; right: 50%; height: 2px; background: var(--line); z-index: 0; }
.stepper li:first-child::before { display: none; }
.stepper .dot { width: 40px; height: 40px; border-radius: 50%; border: 2px solid #b8c7d5; background: #fff; display: grid; place-items: center; z-index: 1; color: #8ea0b2; }
.stepper .is-current { color: var(--navy-900); }
.stepper .is-current .dot { background: var(--navy-900); border-color: var(--teal); color: #fff; box-shadow: 0 0 0 4px var(--aqua-100); }
.stepper .is-done .dot { background: var(--teal); border-color: var(--teal); color: #fff; }
.stepper .is-done::before, .stepper .is-current::before { background: var(--navy-800); }

/* Summary card (navy head) */
.summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.summary-head { background: var(--navy-900); color: #fff; padding: 18px 22px; display: flex; gap: 12px; align-items: center; }
.summary-head h2 { color: #fff; margin: 0; font-size: 1.3rem; }
.summary-body { padding: 18px 22px 22px; }
.kv { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; font-size: .96rem; }
.kv dt { color: var(--text); }
.kv dd { margin: 0; text-align: right; color: var(--ink); font-weight: 700; }
.kv dd.muted-val { font-weight: 400; color: var(--muted); }
.kv-2 { grid-template-columns: 120px 1fr; }
.kv-2 dd { text-align: left; font-weight: 400; color: var(--ink); }
.total-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 14px; margin-top: 14px; border-top: 1px solid var(--line); }
.total-row .lbl { font-weight: 700; color: var(--ink); }
.total-row .val { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: var(--ink); }
.amount-flash { animation: amountflash .7s var(--ease); }
@keyframes amountflash { 30% { color: var(--teal-700); transform: translateY(-2px); } }
.future-box { display: flex; gap: 14px; align-items: center; padding: 14px 16px; background: var(--bg-aqua); border: 1px solid #c7ecf3; border-radius: 10px; margin-top: 14px; }
.future-box .lbl { font-weight: 700; color: var(--ink); }

/* Status / timeline */
.progress-steps { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; list-style: none; padding: 18px 12px; margin: 0; background: var(--bg-aqua); border-radius: 12px; }
.progress-steps li { display: grid; justify-items: center; gap: 8px; position: relative; text-align: center; font-size: .9rem; color: var(--muted); }
.progress-steps li::before { content: ""; position: absolute; top: 15px; left: -50%; right: 50%; height: 3px; background: var(--line); }
.progress-steps li:first-child::before { display: none; }
.progress-steps .dot { width: 32px; height: 32px; border-radius: 50%; border: 2px solid #b4c3d1; background: #fff; display: grid; place-items: center; z-index: 1; color: #fff; }
.progress-steps .done .dot { background: var(--teal-700); border-color: var(--teal-700); }
.progress-steps .done::before, .progress-steps .current::before { background: var(--teal-700); }
.progress-steps .current .dot { width: 36px; height: 36px; margin-top: -2px; border: 4px solid var(--aqua-100); background: var(--teal); box-shadow: 0 0 0 2px var(--teal); }
.progress-steps .current { color: var(--teal-700); font-weight: 700; }
.progress-steps .done { color: var(--ink); }
@media (max-width: 640px) { .progress-steps { grid-auto-flow: row; justify-items: start; padding: 16px; gap: 14px; } .progress-steps li { grid-auto-flow: column; justify-items: start; align-items: center; } .progress-steps li::before { display: none; } }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline li { position: relative; padding: 0 0 22px 40px; }
.timeline li::before { content: ""; position: absolute; left: 11px; top: 26px; bottom: 0; width: 2px; background: var(--aqua-300); }
.timeline li:last-child::before { display: none; }
.timeline .t-dot { position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--navy-800); color: #fff; display: grid; place-items: center; }
.timeline li:first-child .t-dot { background: var(--teal); box-shadow: 0 0 0 5px var(--aqua-100); }
.timeline time { display: block; font-size: .85rem; color: var(--muted); }
.timeline strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: 1.05rem; }
.timeline p { margin: 2px 0 0; font-size: .92rem; }

.steps-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.steps-3 li { display: flex; gap: 14px; align-items: flex-start; }
.steps-3 .num-badge { background: var(--bg-aqua); color: var(--navy-800); width: 40px; height: 40px; font-size: 1.05rem; }
.steps-3 strong { display: block; color: var(--ink); }
.steps-3 span { display: block; font-size: .88rem; color: var(--muted); }
@media (max-width: 760px) { .steps-3 { grid-template-columns: 1fr; } }

/* Tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; position: relative; }
.table { width: 100%; font-size: .94rem; }
.table th { text-align: left; background: var(--bg); color: var(--ink); font-weight: 700; padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 13px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.spec-table { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.spec-table th { width: 38%; background: var(--bg); font-weight: 700; color: var(--ink); text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--line-soft); }
.spec-table td { padding: 11px 16px; border-bottom: 1px solid var(--line-soft); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.tbc { color: var(--muted); font-style: italic; }

.empty { text-align: center; padding: 40px 20px; color: var(--muted); }
.empty .icon-bubble { margin: 0 auto 12px; }
.empty h3 { margin-bottom: 6px; }

/* Toasts */
.toast-region { position: fixed; z-index: 120; bottom: 20px; left: 50%; transform: translateX(-50%); display: grid; gap: 8px; width: min(440px, calc(100vw - 32px)); pointer-events: none; }
.toast { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-radius: 12px; background: var(--navy-900); color: #fff; box-shadow: var(--shadow-lg); animation: toastin .35s var(--ease); pointer-events: auto; }
.toast a { color: var(--aqua); font-weight: 700; margin-left: auto; white-space: nowrap; }
.toast.is-error { background: #7c1f1f; }
.toast.out { animation: toastout .3s forwards; }
@keyframes toastin { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@keyframes toastout { to { opacity: 0; transform: translateY(8px); } }

/* Product imagery */
.ph-photo { display: grid; place-items: center; aspect-ratio: 1 / 1; background: linear-gradient(160deg, #e6f6fb, #cfeef6); color: var(--navy-800); font-family: var(--font-head); border-radius: inherit; width: 100%; }
.illustrative { position: absolute; left: 10px; bottom: 10px; background: rgba(255,255,255,.88); color: var(--muted); font-size: .72rem; padding: 3px 8px; border-radius: 999px; backdrop-filter: blur(4px); }
.photo-frame { position: relative; border-radius: var(--radius); overflow: hidden; background: #d4d5d9; aspect-ratio: 1 / 1; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }

/* Product card */
.p-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; }
.p-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.p-card .photo-frame { border-radius: 10px; }
.p-card .photo-frame img { transition: transform .6s var(--ease); }
.p-card:hover .photo-frame img { transform: scale(1.035); }
.p-card-body { padding: 14px 6px 4px; display: flex; flex-direction: column; flex: 1; }
.p-card h3 { font-size: 1.45rem; margin: 0 0 2px; font-family: var(--font-display); font-weight: 400; letter-spacing: 0; }
.p-card h3 a { color: var(--ink); text-decoration: none; }
.p-card h3 a:hover { color: var(--teal-700); }
.p-meta { color: var(--muted); font-size: .95rem; margin: 0; }
.p-price { margin: 12px 0 2px; color: var(--ink); }
.p-price strong { font-family: var(--font-display); font-weight: 400; font-size: 1.8rem; }
.p-price span { font-size: .98rem; }
.p-first { color: var(--muted); font-size: .92rem; margin: 0 0 14px; }
.p-actions { display: flex; gap: 10px; margin-top: auto; }
.p-actions .btn { flex: 1; }
.p-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; font-size: .95rem; }
.p-foot a { color: var(--navy-800); text-decoration: none; font-weight: 600; display: inline-flex; gap: 4px; align-items: center; }
.p-foot a:hover { text-decoration: underline; }
.p-unavailable { position: absolute; top: 12px; left: 12px; }
.fav-btn { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 0; display: grid; place-items: center; color: var(--navy-900); box-shadow: var(--shadow-sm); cursor: pointer; transition: transform .2s; }
.fav-btn:hover { transform: scale(1.08); }
.fav-btn[aria-pressed="true"] { color: #d6336c; }
.fav-btn[aria-pressed="true"] .icon { fill: currentColor; }

/* Reveal animations (progressive: content is visible without JS or with reduced motion) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-fade { opacity: 0; transition: opacity 1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal-fade.is-in { opacity: 1; }

/* ==========================================================================
   PAGE: HOME
   ========================================================================== */
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 75% 30%, #0e5d8c 0%, #073e66 35%, var(--navy-950) 75%); color: #fff; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 40% at 72% 40%, rgba(55, 230, 248, .25), transparent 70%), radial-gradient(50% 30% at 30% 110%, rgba(55, 230, 248, .18), transparent 70%); z-index: -1; animation: glow 9s ease-in-out infinite alternate; }
@keyframes glow { to { transform: translate3d(-2%, 2%, 0) scale(1.05); } }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 32px; min-height: clamp(460px, 62vh, 620px); padding-block: 40px 70px; }
.hero h1 { font-family: var(--font-display); font-weight: 400; color: #fff; font-size: clamp(2.6rem, 5.8vw, 4.6rem); line-height: 1.02; letter-spacing: -.01em; margin-bottom: 18px; }
.hero-sub { font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: rgba(255,255,255,.9); margin-bottom: 30px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual { position: relative; display: grid; place-items: center; min-height: 380px; }
.hero-product { position: relative; width: min(400px, 82%); border-radius: 22px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255,255,255,.08); animation: float 7s ease-in-out infinite; z-index: 2; background: #cfd0d4; }
.hero-product img { width: 100%; }
@keyframes float { 50% { transform: translateY(-12px); } }
.ripple { position: absolute; left: 50%; bottom: 4%; width: 120%; aspect-ratio: 4 / 1; transform: translateX(-50%); z-index: 1; }
.ripple span { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(142, 230, 242, .35); animation: ripple 6s linear infinite; }
.ripple span:nth-child(2) { animation-delay: 2s; }
.ripple span:nth-child(3) { animation-delay: 4s; }
@keyframes ripple { from { transform: scale(.3); opacity: 1; } to { transform: scale(1); opacity: 0; } }
.droplet { position: absolute; width: var(--s, 10px); height: var(--s, 10px); border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.95), rgba(142, 230, 242, .5) 40%, rgba(55, 230, 248, .1)); box-shadow: 0 0 12px rgba(55, 230, 248, .45); animation: rise var(--d, 9s) ease-in-out infinite; animation-delay: var(--delay, 0s); opacity: .85; z-index: 3; }
@keyframes rise { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-26px); } }
.hero-load > * { animation: heroin .9s var(--ease) both; }
.hero-load > *:nth-child(2) { animation-delay: .15s; }
.hero-load > *:nth-child(3) { animation-delay: .3s; }
@keyframes heroin { from { opacity: 0; transform: translateY(18px); } }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; text-align: left; padding-top: 40px; } .hero-visual { min-height: 300px; order: 2; } }

.feature-strip { background: #f3f7fa; border-bottom: 1px solid var(--line-soft); }
.feature-strip ul { list-style: none; margin: 0 auto; padding-block: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.feature-strip li { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 22px 12px; font-size: 1.1rem; color: var(--ink); }
.feature-strip li + li { border-left: 1px solid var(--line); }
@media (max-width: 760px) { .feature-strip ul { grid-template-columns: 1fr; } .feature-strip li { justify-content: flex-start; padding: 14px 4px; } .feature-strip li + li { border-left: 0; border-top: 1px solid var(--line); } }

.serif-title { font-family: var(--font-display); font-weight: 400; letter-spacing: 0; }
.home-products { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 22px; }
.pkg-card { display: grid; grid-template-columns: 44% 1fr; gap: 22px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s; }
.pkg-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pkg-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.9rem; margin-bottom: 4px; }
.pkg-card h3::after { content: ""; display: block; width: 36px; height: 2px; background: var(--line); margin-top: 10px; }
.pkg-card .price { color: var(--ink); margin: 10px 0 2px; }
.pkg-card .price strong { font-size: 1.15rem; }
.pkg-card .first { color: var(--muted); font-size: .92rem; margin-bottom: 16px; }
.pkg-card .photo-frame { aspect-ratio: 4/5; }
@media (max-width: 420px) { .pkg-card { grid-template-columns: 1fr; } }
.footnote { text-align: center; color: var(--muted); font-size: .92rem; margin-top: 22px; }

.banner { position: relative; overflow: hidden; isolation: isolate; }
.banner-inner { padding-block: clamp(40px, 5vw, 64px); position: relative; z-index: 1; }
.banner h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 8px; }
.banner p { font-size: 1.15rem; margin-bottom: 22px; max-width: 46ch; }
.banner-offers { background: linear-gradient(100deg, #bfe9f1 0%, #d9f4f8 35%, #9fe1ee 100%); }
.banner-offers::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 85% 50%, rgba(255,255,255,.65), transparent 60%), repeating-radial-gradient(circle at 80% 60%, rgba(255,255,255,.25) 0 2px, transparent 2px 22px); z-index: 0; opacity: .7; }
.banner-filters { background: linear-gradient(100deg, #f6f6f4 0%, #efefec 45%, #e3e6e8 100%); }
.banner-art { position: absolute; right: clamp(-40px, 2vw, 60px); top: 50%; transform: translateY(-50%); width: min(44%, 520px); z-index: 0; opacity: .95; }
@media (max-width: 760px) { .banner-art { opacity: .18; width: 80%; right: -20%; } }
.js .banner.reveal-banner .banner-inner { opacity: 0; transform: translateX(-24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .banner.reveal-banner.is-in .banner-inner { opacity: 1; transform: none; }

.cat-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cat-tile { position: relative; display: block; border-radius: 6px; overflow: hidden; text-decoration: none; color: var(--ink); text-align: center; }
.cat-tile .art { aspect-ratio: 16 / 7; display: grid; place-items: center; position: relative; overflow: hidden; }
.cat-tile .art svg { width: 100%; height: 100%; transition: transform .8s var(--ease); }
.cat-tile:hover .art svg { transform: scale(1.04); }
.cat-tile strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; margin-top: 10px; }
.cat-tile span { color: var(--muted); font-style: italic; font-size: .92rem; }
@media (max-width: 760px) { .cat-tiles { grid-template-columns: 1fr; } }

/* ==========================================================================
   PAGE: SHOP
   ========================================================================== */
.shop-ribbon { background: linear-gradient(90deg, var(--navy-900), #0b4d79 55%, var(--navy-900)); color: #fff; text-align: center; padding: 12px 16px; font-family: var(--font-display); font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.shop-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; padding: 8px 0 60px; }
@media (max-width: 960px) { .shop-layout { grid-template-columns: 1fr; } }
.cat-panel { padding: 18px 16px; }
.cat-panel h2 { display: flex; gap: 10px; align-items: center; font-size: 1.25rem; margin: 0 0 12px; }
.tree { list-style: none; margin: 0; padding: 0; }
.tree-node { margin: 2px 0; }
.tree-row { display: flex; align-items: center; gap: 4px; }
.tree-toggle { width: 30px; height: 30px; background: none; border: 0; display: grid; place-items: center; cursor: pointer; color: var(--ink); border-radius: 6px; flex-shrink: 0; }
.tree-toggle .icon { transition: transform .3s var(--ease); }
.tree-toggle[aria-expanded="false"] .icon { transform: rotate(-90deg); }
.tree-link { flex: 1; display: flex; align-items: center; gap: 10px; padding: 9px 8px; border-radius: 8px; text-decoration: none; color: var(--ink); font-size: 1.05rem; font-family: var(--font-head); font-weight: 500; }
.tree-link:hover { background: var(--bg); }
.tree-link.is-active { background: var(--aqua-100); box-shadow: inset 4px 0 0 var(--teal); }
.tree-link .pill { margin-left: auto; }
.tree-children { list-style: none; margin: 0 0 0 15px; padding: 0 0 0 14px; border-left: 1px solid var(--line); display: grid; grid-template-rows: 1fr; transition: grid-template-rows .35s var(--ease); }
.tree-children > div { overflow: hidden; }
.tree-children.is-collapsed { grid-template-rows: 0fr; }
.tree-children .tree-link { font-size: .98rem; font-family: var(--font-body); font-weight: 400; }
.tree-count { margin-left: auto; font-size: .78rem; color: var(--muted); }
.tree-hint { display: flex; gap: 14px; align-items: flex-start; margin-top: 16px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); font-size: .88rem; }
.tree-hint strong { color: var(--ink); display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.05rem; }
.service-promo { margin-top: 18px; padding: 18px; }
.service-promo h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; margin: 0; }
.shop-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 3.8vw, 2.9rem); margin-bottom: 14px; }
.chip-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.chip-tabs a { padding: 9px 18px; border-radius: 10px; background: #edf2f7; color: var(--navy-800); text-decoration: none; font-weight: 600; transition: background .2s, color .2s; }
.chip-tabs a:hover { background: var(--aqua-100); }
.chip-tabs a.is-active { background: var(--navy-900); color: #fff; }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.shop-toolbar h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; margin: 0; display: flex; align-items: baseline; gap: 12px; }
.shop-toolbar h2 small { font-family: var(--font-body); font-size: .95rem; color: var(--muted); }
.toolbar-right { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.toolbar-right .select { min-height: 42px; width: auto; padding-block: 8px; }
.view-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.view-toggle button { width: 44px; height: 42px; border: 0; background: #fff; color: var(--navy-800); cursor: pointer; display: grid; place-items: center; }
.view-toggle button[aria-pressed="true"] { background: var(--navy-900); color: #fff; }
.shop-search { display: flex; gap: 8px; margin-bottom: 14px; }
.shop-search .input-icon { flex: 1; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 22px; }
.product-grid.is-list { grid-template-columns: 1fr; }
.product-grid.is-list .p-card { flex-direction: row; gap: 18px; align-items: stretch; }
.product-grid.is-list .p-card > .photo-wrap { width: 220px; flex-shrink: 0; }
@media (max-width: 640px) { .product-grid.is-list .p-card { flex-direction: column; } .product-grid.is-list .p-card > .photo-wrap { width: 100%; } }
.shop-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 18px; font-size: .92rem; color: var(--muted); }
.pager { display: flex; gap: 6px; align-items: center; }
.pager a, .pager span { min-width: 40px; height: 38px; padding: 0 12px; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--line); text-decoration: none; color: var(--navy-800); background: #fff; font-weight: 600; }
.pager .is-current { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.pager .is-disabled { color: #a8b5c3; background: var(--bg); }
.soon-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.soon-card { position: relative; border-radius: 10px; overflow: hidden; min-height: 120px; padding: 18px 20px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; justify-content: space-between; }
.soon-card strong { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; position: relative; z-index: 1; }
.soon-card strong::after { content: ""; display: block; width: 26px; height: 2px; background: var(--ink); margin-top: 6px; opacity: .5; }
.soon-card .pill { position: relative; z-index: 1; align-self: flex-start; background: rgba(255,255,255,.75); }
.soon-card svg.bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
@media (max-width: 760px) { .soon-row { grid-template-columns: 1fr; } }
.cart-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 14px; padding: 10px 10px 10px 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); transition: transform .4s var(--ease), opacity .4s; }
.cart-float.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
.cart-float span { font-size: .95rem; color: var(--ink); }
.compare-bar { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 41; background: var(--navy-900); color: #fff; border-radius: 14px; padding: 10px 12px 10px 18px; display: flex; gap: 14px; align-items: center; box-shadow: var(--shadow-lg); max-width: calc(100vw - 32px); }
.compare-bar[hidden] { display: none; }
.compare-check { display: inline-flex; gap: 8px; align-items: center; cursor: pointer; color: var(--text); }
.compare-check input { width: 18px; height: 18px; accent-color: var(--navy-900); }

/* ==========================================================================
   PAGE: PRODUCT DETAILS
   ========================================================================== */
.pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); padding: 8px 0 40px; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; } }
.gallery-main { position: relative; border-radius: 14px; overflow: hidden; background: #d6d7db; aspect-ratio: 1 / 1; }
/* Every slide fills the square frame and its picture/video is centred, whatever its shape. */
.gallery-slide { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.gallery-slide[hidden] { display: none; }
.gallery-slide picture { display: contents; }
.gallery-slide > img, .gallery-slide picture img, .gallery-slide video { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.gallery-video, .gallery-youtube { background: #0b1c2e; }
.gallery-slide iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; max-height: 100%; border: 0; display: block; }
.gallery-slide.is-entering { animation: slide-in .4s var(--ease); }
@keyframes slide-in { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }
.yt-load { position: relative; width: 100%; height: 100%; padding: 0; border: 0; background: #0b1c2e; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.yt-load img { width: 100%; height: auto; max-height: 100%; object-fit: contain; }
.play-badge { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--navy); box-shadow: 0 8px 28px rgba(2, 20, 38, .35); transition: transform .25s var(--ease); pointer-events: none; }
.play-badge svg { margin-left: 4px; }
.play-badge.sm { width: 34px; height: 34px; }
.play-badge.sm svg { margin-left: 2px; }
.yt-load:hover .play-badge, .yt-load:focus-visible .play-badge { transform: translate(-50%, -50%) scale(1.08); }
.gallery-thumbs button { position: relative; }
.gallery-thumbs picture { display: contents; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.gallery-main > .ph-photo { position: absolute; inset: 0; }
@media (prefers-reduced-motion: reduce) { .gallery-slide.is-entering { animation: none; } }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.gallery-thumbs button { border: 2px solid transparent; border-radius: 10px; overflow: hidden; padding: 0; cursor: pointer; background: #ddd; aspect-ratio: 1; }
.gallery-thumbs button[aria-current="true"] { border-color: var(--teal); }
.pdp h1 { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.4rem, 4.5vw, 3.4rem); margin-bottom: 4px; letter-spacing: .01em; }
.pdp-tagline { font-size: 1.2rem; color: var(--ink); margin-bottom: 16px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: #eef3f7; color: var(--ink); font-size: .95rem; }
.price-big { font-family: var(--font-head); font-size: clamp(1.5rem, 2.6vw, 1.9rem); font-weight: 700; color: var(--ink); margin: 18px 0 6px; }
.price-lines { margin: 0 0 12px; color: var(--ink); }
.price-lines p { margin: 0; }
.pdp-buy { display: grid; grid-template-columns: auto 1fr; gap: 14px 20px; align-items: end; margin-top: 18px; }
.pdp-buy .btn-col { display: grid; gap: 12px; }
@media (max-width: 520px) { .pdp-buy { grid-template-columns: 1fr; } }
.pdp-links { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.pdp-links a, .pdp-links button { display: inline-flex; gap: 8px; align-items: center; color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; padding: 4px 0; }
.included-band { background: var(--navy-900); color: #fff; }
.included-band .container { display: grid; grid-template-columns: 1.2fr repeat(4, 1fr); align-items: center; gap: 0; padding-block: 24px; }
.included-band h2 { color: #fff; margin: 0; font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 600; }
.included-band .inc { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 6px 12px; border-left: 1px solid rgba(255,255,255,.18); font-size: .98rem; }
@media (max-width: 900px) { .included-band .container { grid-template-columns: repeat(2, 1fr); gap: 16px; } .included-band h2 { grid-column: 1 / -1; } .included-band .inc { border-left: 0; } }
.pdp-tabs { position: sticky; top: calc(var(--hdr-h) + 3px); background: #fff; z-index: 20; }
.feature-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.feature-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.feature-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.split-2 { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; }
@media (max-width: 900px) { .split-2 { grid-template-columns: 1fr; } }
.delivery-band { background: var(--bg-aqua); border-radius: 14px; padding: 24px; display: grid; grid-template-columns: auto repeat(3, 1fr); gap: 20px; align-items: start; }
.delivery-band .item { display: flex; gap: 14px; align-items: flex-start; }
.delivery-band .item + .item { border-left: 1px solid #c6e6ee; padding-left: 20px; }
.delivery-band h3 { font-size: 1rem; margin-bottom: 2px; }
.delivery-band p { margin: 0; font-size: .92rem; color: var(--muted); }
@media (max-width: 900px) { .delivery-band { grid-template-columns: 1fr; } .delivery-band .item + .item { border-left: 0; padding-left: 0; } }
.sticky-buy { background: linear-gradient(90deg, var(--navy-950), var(--navy-900)); color: #fff; }
.sticky-buy .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 18px; flex-wrap: wrap; }
.sticky-buy h2 { color: #fff; margin: 0; font-size: 1.35rem; }
.sticky-buy .price { font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; }

/* ==========================================================================
   CART / CHECKOUT
   ========================================================================== */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 28px; align-items: start; }
.two-col-wide { grid-template-columns: minmax(0, 1fr) 380px; }
@media (max-width: 1000px) { .two-col, .two-col-wide { grid-template-columns: 1fr; } }
.sticky-col { position: sticky; top: calc(var(--hdr-h) + 20px); display: grid; gap: 18px; }
@media (max-width: 1000px) { .sticky-col { position: static; } }
.cart-line { display: grid; grid-template-columns: 160px minmax(0, 1fr) auto; gap: 22px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; transition: opacity .3s, transform .3s; }
.cart-line.is-removing { opacity: 0; transform: translateX(-12px); }
.cart-line:last-child { border-bottom: 0; }
.cart-line .photo-frame { border-radius: 10px; }
.cart-line h3 { font-size: 1.3rem; margin: 0; }
.line-actions { display: grid; gap: 10px; padding-left: 20px; border-left: 1px solid var(--line); }
.line-actions button { display: inline-flex; gap: 8px; align-items: center; background: none; border: 0; color: var(--ink); cursor: pointer; padding: 4px 0; font-size: .95rem; }
.line-actions button:hover { color: var(--teal-700); }
.cart-mid { display: grid; grid-template-columns: 1fr auto; gap: 16px; }
@media (max-width: 760px) { .cart-line { grid-template-columns: 96px minmax(0, 1fr); } .line-actions { grid-column: 1 / -1; border-left: 0; padding-left: 0; display: flex; gap: 20px; } .cart-mid { grid-template-columns: 1fr; } }
.incl-row { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; align-items: center; padding: 14px 18px; background: var(--bg); border-top: 1px solid var(--line); font-size: .95rem; color: var(--ink); }
.incl-row span { display: inline-flex; gap: 8px; align-items: center; }
.reassure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 26px 0; }
.reassure > div { display: flex; gap: 14px; align-items: flex-start; }
.reassure > div + div { border-left: 1px solid var(--line); padding-left: 20px; }
.reassure strong { display: block; color: var(--ink); }
.reassure span { font-size: .88rem; color: var(--muted); }
@media (max-width: 760px) { .reassure { grid-template-columns: 1fr; } .reassure > div + div { border-left: 0; padding-left: 0; } }
.pay-panel { border: 1.5px solid var(--navy-800); border-radius: 12px; padding: 18px; margin-top: 14px; }
.method-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 520px) { .method-list { grid-template-columns: 1fr; } }
.method-list .choice-body { align-items: center; padding: 12px 14px; }
.method-list .choice-sub { font-size: .8rem; }
.status-big { display: flex; gap: 18px; align-items: center; }
.status-check { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--teal); box-shadow: 0 0 0 8px var(--aqua-100); flex-shrink: 0; }
.status-check.warn { background: #f0a020; box-shadow: 0 0 0 8px #fff1dc; }
.status-check.bad { background: var(--bad); box-shadow: 0 0 0 8px var(--bad-bg); }
.status-check svg { animation: pop .5s var(--ease) both .2s; }
.fact-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fact-strip > div { display: flex; gap: 14px; align-items: center; padding: 18px 22px; }
.fact-strip > div + div { border-left: 1px solid var(--line); }
.fact-strip .lbl { font-size: .85rem; color: var(--muted); display: block; }
.fact-strip .val { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.12rem; }
@media (max-width: 760px) { .fact-strip { grid-template-columns: 1fr; } .fact-strip > div + div { border-left: 0; border-top: 1px solid var(--line); } }
.next-steps { background: linear-gradient(170deg, var(--navy-900), var(--navy-950)); color: #fff; border-radius: var(--radius); padding: 24px; }
.next-steps h2 { color: #fff; font-size: 1.3rem; display: flex; gap: 10px; align-items: center; }
.next-steps ol { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 18px; }
.next-steps li { display: flex; gap: 14px; }
.next-steps .num-badge { background: var(--teal); }
.next-steps strong { display: block; }
.next-steps span { color: rgba(255,255,255,.8); font-size: .92rem; }
.app-pending { background: #fffaf0; border: 1px solid #f2dcae; border-radius: var(--radius); padding: 22px; }

/* ==========================================================================
   AUTH
   ========================================================================== */
.auth-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(100vh - var(--hdr-h)); }
.auth-art { position: relative; overflow: hidden; background: radial-gradient(90% 70% at 50% 80%, #0d6aa0, #063b62 50%, var(--navy-950)); color: #fff; padding: clamp(32px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; isolation: isolate; }
.auth-art::after { content: ""; position: absolute; inset: 0; background: repeating-radial-gradient(ellipse at 50% 120%, rgba(142, 230, 242, .14) 0 1px, transparent 1px 26px); z-index: -1; }
.auth-art h1 { color: #fff; font-size: clamp(2.4rem, 4.8vw, 4rem); line-height: 1.02; margin-bottom: 14px; }
.auth-art .lead { font-size: 1.25rem; color: rgba(255,255,255,.9); margin-bottom: 30px; }
.auth-benefits { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.auth-benefits li { display: flex; gap: 18px; align-items: center; }
.auth-benefits .ring { width: 64px; height: 64px; border-radius: 50%; border: 1.5px solid rgba(142, 230, 242, .7); display: grid; place-items: center; flex-shrink: 0; }
.auth-benefits strong { display: block; font-family: var(--font-head); font-size: 1.15rem; }
.auth-benefits span { color: rgba(255,255,255,.85); }
.auth-panel { display: grid; place-items: center; padding: clamp(24px, 4vw, 56px) var(--gutter); background: linear-gradient(180deg, #eef9fb, #fff); }
.auth-card { width: 100%; max-width: 560px; padding: clamp(24px, 3.5vw, 40px); }
.auth-card h1, .auth-card h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); margin-bottom: 4px; }
.auth-card .lead { color: var(--muted); font-size: 1.08rem; margin-bottom: 22px; }
.auth-tag { display: inline-block; background: var(--aqua-100); color: var(--navy-800); border-radius: 999px; padding: 4px 14px; font-weight: 700; font-size: .85rem; margin-bottom: 18px; }
.auth-solo { display: grid; grid-template-columns: 300px minmax(0, 1fr); min-height: 560px; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; max-width: 980px; margin: 40px auto 60px; }
.auth-solo .side { background: linear-gradient(180deg, var(--navy-900), #0c4f80 70%, #1a83b3); color: #fff; padding: 30px 28px; position: relative; overflow: hidden; }
.auth-solo .side::after { content: ""; position: absolute; left: -20%; right: -20%; bottom: -10%; height: 45%; background: repeating-radial-gradient(ellipse at 50% 100%, rgba(255,255,255,.18) 0 1px, transparent 1px 18px); }
.auth-solo .side .step { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.35); display: inline-block; margin-bottom: 30px; }
.auth-solo .side .brand { font-family: var(--font-head); letter-spacing: .32em; font-size: 1.6rem; line-height: 1.2; margin-bottom: 26px; }
.auth-solo .side .brand small { display: block; font-size: .8rem; letter-spacing: .5em; }
.auth-solo .side .motto { letter-spacing: .18em; font-size: .85rem; line-height: 1.9; text-transform: uppercase; }
.auth-solo .main { padding: clamp(24px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 900px) { .auth-wrap { grid-template-columns: 1fr; } .auth-art { padding-block: 40px; } .auth-benefits { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .auth-solo { grid-template-columns: 1fr; margin: 20px auto 40px; } .auth-solo .side { padding: 22px; } .auth-solo .side .brand, .auth-solo .side .motto { display: none; } .auth-solo .side .step { margin: 0; border: 0; padding: 0; } .auth-benefits { grid-template-columns: 1fr; } }
.divider-text { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: .9rem; margin: 20px 0; }
.divider-text::before, .divider-text::after { content: ""; flex: 1; border-top: 1px solid var(--line); }

/* ==========================================================================
   ACCOUNT / DASHBOARD SHELL
   ========================================================================== */
.dash { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 0; min-height: 70vh; background: var(--bg); }
.dash-side { background: #fff; border-right: 1px solid var(--line); padding: 24px 16px; }
.dash-side.dark { background: linear-gradient(180deg, var(--navy-900), var(--navy-950)); border-right: 0; color: #fff; position: relative; overflow: hidden; }
.dash-user { display: flex; gap: 12px; align-items: center; padding: 6px 8px 22px; }
.avatar { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(160deg, #cdeffa, #8fd3ea); color: var(--navy-800); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; flex-shrink: 0; }
.dash-user strong { display: block; color: var(--ink); font-family: var(--font-head); }
.dash-side.dark .dash-user strong { color: #fff; }
.dash-user span { font-size: .85rem; color: var(--muted); }
.dash-side.dark .dash-user span { color: rgba(255,255,255,.75); }
.dash-nav { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.dash-nav a { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 600; transition: background .2s; }
.dash-nav a:hover { background: var(--bg); }
.dash-nav a.is-active { background: var(--aqua-100); color: var(--navy-900); }
.dash-side.dark .dash-nav a { color: #fff; }
.dash-side.dark .dash-nav a:hover { background: rgba(255,255,255,.07); }
.dash-side.dark .dash-nav a.is-active { background: #5fe0ef; color: var(--navy-900); }
.dash-nav .sep { border-top: 1px solid var(--line); margin: 12px 8px; }
.dash-side.dark .dash-nav .sep { border-color: rgba(255,255,255,.15); }
.dash-main { padding: clamp(18px, 3vw, 32px); min-width: 0; }
.dash-main .page-head { padding-top: 0; }
@media (max-width: 960px) {
  .dash { grid-template-columns: 1fr; }
  .dash-side { border-right: 0; border-bottom: 1px solid var(--line); padding: 12px var(--gutter); }
  .dash-user { padding-bottom: 10px; }
  .dash-nav { display: flex; overflow-x: auto; gap: 6px; scrollbar-width: none; padding-bottom: 4px; }
  .dash-nav a { white-space: nowrap; padding: 9px 12px; }
  .dash-nav .sep { display: none; }
}
.stat { display: flex; gap: 16px; align-items: center; padding: 20px; }
.stat .lbl { font-weight: 700; color: var(--ink); display: block; }
.stat .val { font-family: var(--font-head); font-weight: 700; font-size: 2rem; color: var(--ink); line-height: 1.1; display: block; }
.stat .sub { font-size: .88rem; color: var(--muted); }
.stat-link { text-decoration: none; color: inherit; }
.list-rows > * + * { border-top: 1px solid var(--line-soft); }
.list-row { display: flex; gap: 14px; align-items: center; padding: 14px 0; }
.list-row .grow { flex: 1; min-width: 0; }
.list-row strong { color: var(--ink); }
.invite { background: linear-gradient(110deg, var(--navy-950), var(--navy-900) 60%, #0c5a87); color: #fff; border-radius: var(--radius); padding: clamp(20px, 3vw, 30px); position: relative; overflow: hidden; }
.invite h2 { color: #fff; }
.invite-feats { display: flex; flex-wrap: wrap; gap: 14px 28px; margin: 18px 0 22px; }
.invite-feats span { display: flex; gap: 10px; align-items: center; }
.reward-tile { position: relative; padding: 20px 18px; border-radius: 12px; border: 1px solid var(--line); background: #fff; text-align: center; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.reward-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.reward-tile.tint { background: linear-gradient(170deg, #f1fbfd, #d8f3f8); }
.reward-tile.dark { background: linear-gradient(170deg, var(--navy-800), var(--navy-950)); color: #fff; border: 0; }
.reward-tile .r-kind { display: flex; gap: 8px; align-items: center; justify-content: flex-start; font-weight: 600; font-size: .95rem; color: var(--ink); }
.reward-tile.dark .r-kind { color: #fff; }
.reward-tile .r-val { font-family: var(--font-head); font-weight: 800; color: var(--ink); line-height: 1; margin: 14px 0 10px; display: flex; justify-content: center; align-items: baseline; gap: 6px; }
.reward-tile .r-val b { font-size: 3.4rem; }
.reward-tile .r-val small { font-size: 1.2rem; font-weight: 700; }
.reward-tile.dark .r-val { color: #fff; }
.reward-tile .r-cost { border-top: 1.5px dashed var(--aqua-300); padding-top: 12px; margin: 0 6px 14px; font-size: .9rem; }
.reward-tile .ribbon { position: absolute; top: -6px; right: 10px; color: var(--aqua-300); }
.reward-tile .notch { position: absolute; top: 58%; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); }
.reward-tile .notch.l { left: -9px; } .reward-tile .notch.r { right: -9px; }
.reward-tile.dark .btn-outline { background: transparent; color: #fff; border-color: #fff; }
.reward-tile.dark .btn-outline:hover { background: #fff; color: var(--navy-900); }
.points-hero { position: relative; overflow: hidden; border-radius: var(--radius); background: radial-gradient(80% 120% at 85% 50%, #1180b4, #0a4a78 45%, var(--navy-950)); color: #fff; padding: clamp(22px, 3.5vw, 40px); }
.points-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; }
.points-box { display: inline-flex; gap: 24px; align-items: center; background: #fff; color: var(--ink); border-radius: 12px; padding: 16px 22px; margin-top: 12px; flex-wrap: wrap; }
.points-box .val { font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; line-height: 1; }
.celebrate { position: fixed; inset: 0; pointer-events: none; z-index: 130; overflow: hidden; }
.celebrate i { position: absolute; top: -10px; width: 9px; height: 14px; border-radius: 2px; animation: confetti 1.6s var(--ease) forwards; }
@keyframes confetti { to { transform: translate3d(var(--x), 105vh, 0) rotate(var(--r)); opacity: .2; } }

.ref-box { background: linear-gradient(100deg, #d9f5fa, #c6eef6); border: 1px solid #b6e3ec; border-radius: var(--radius); padding: clamp(18px, 3vw, 28px); }
.ref-row { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; margin-top: 12px; }
@media (max-width: 760px) { .ref-row { grid-template-columns: 1fr; } }
.ref-row .input { background: #fff; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .95rem; }

/* Booking specific */
.machine-card .choice-body { align-items: center; }
.machine-card .thumb { width: 84px; height: 84px; border-radius: 8px; overflow: hidden; background: #d6d7db; flex-shrink: 0; }
.machine-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.reveal-block { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .35s var(--ease), opacity .35s; }
.reveal-block > div { overflow: hidden; }
.reveal-block.is-hidden { grid-template-rows: 0fr; opacity: 0; }

/* Info centre */
.info-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; padding: 24px 0 60px; }
@media (max-width: 900px) { .info-layout { grid-template-columns: 1fr; } }
.info-nav { padding: 18px 12px; align-self: start; position: sticky; top: calc(var(--hdr-h) + 20px); }
.info-nav h2 { font-size: 1.15rem; padding: 0 10px; }
.info-nav a { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); color: var(--ink); text-decoration: none; }
.info-nav a:last-child { border-bottom: 0; }
.info-nav a.is-active { background: var(--aqua-100); box-shadow: inset 3px 0 0 var(--teal); color: var(--teal-700); font-weight: 700; }
@media (max-width: 900px) { .info-nav { position: static; } }
.prose h2 { font-size: 1.35rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.1rem; margin-top: 1.3em; }
.prose ul { margin: 0 0 1em; }
.prose li { margin-bottom: 4px; }
.page-hero { position: relative; overflow: hidden; background: radial-gradient(70% 140% at 80% 30%, #1a7fb3, #0a4a78 45%, var(--navy-950)); color: #fff; isolation: isolate; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: repeating-radial-gradient(ellipse at 70% 40%, rgba(255,255,255,.07) 0 1px, transparent 1px 22px); z-index: -1; }
.page-hero .container { padding-block: clamp(28px, 4vw, 56px); }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
.page-hero h1 em { color: var(--aqua); font-style: normal; }
.page-hero p { font-size: 1.2rem; color: rgba(255,255,255,.9); margin: 0; }
.page-hero .breadcrumbs, .page-hero .breadcrumbs a { color: rgba(255,255,255,.85); }
.page-hero .breadcrumbs [aria-current] { color: var(--aqua); }
.info-rows a { display: grid; grid-template-columns: 34px 180px 1fr 20px; gap: 14px; align-items: center; padding: 14px 6px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.info-rows a:hover { background: var(--bg); }
.info-rows strong { font-family: var(--font-head); }
.info-rows span { color: var(--muted); font-size: .95rem; }
@media (max-width: 640px) { .info-rows a { grid-template-columns: 30px 1fr 20px; } .info-rows span { grid-column: 2; } }
.draft-badge { display: inline-flex; gap: 6px; align-items: center; background: var(--warn-bg); color: var(--warn); border: 1px solid #f1d9ad; border-radius: 999px; padding: 3px 12px; font-size: .8rem; font-weight: 700; }

/* Help */
.topic-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.topic-tile { display: flex; gap: 16px; align-items: center; padding: 18px; text-decoration: none; color: inherit; }
.topic-tile h3 { margin: 0 0 2px; font-size: 1.1rem; }
.topic-tile p { margin: 0; font-size: .88rem; color: var(--muted); }
.topic-tile .chev { margin-left: auto; color: var(--ink); }
@media (max-width: 900px) { .topic-tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .topic-tiles { grid-template-columns: 1fr; } }
.help-hero { position: relative; overflow: hidden; background: radial-gradient(70% 120% at 80% 40%, #1e7ab0, #0a3f6a 50%, var(--navy-950)); color: #fff; }
.help-hero .container { padding-block: 40px 56px; position: relative; z-index: 1; }
.help-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin-bottom: 4px; }
.help-hero p { font-size: 1.15rem; margin-bottom: 18px; }
.help-search { max-width: 560px; position: relative; }
.help-search .input { min-height: 54px; padding-left: 48px; border: 0; box-shadow: var(--shadow); }
.help-search .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--ink); }
.drop-art { position: absolute; right: 8%; top: 50%; transform: translateY(-50%); width: 260px; height: 260px; z-index: 0; opacity: .85; }
@media (max-width: 760px) { .drop-art { opacity: .25; right: -60px; } }

/* Distributor landing */
.dist-hero { position: relative; overflow: hidden; background: radial-gradient(80% 110% at 85% 30%, #1b86b9, #0a4a78 40%, var(--navy-950) 80%); color: #fff; isolation: isolate; }
.dist-hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; padding-block: clamp(36px, 6vw, 72px); }
.dist-hero h1 { color: #fff; font-size: clamp(2.5rem, 5.4vw, 4.2rem); line-height: 1.02; margin-bottom: 14px; }
.dist-hero h1 span { color: var(--aqua); }
.dist-hero .lead { font-size: 1.25rem; margin-bottom: 24px; }
.dist-feats { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 26px; font-size: .95rem; }
.dist-feats span { display: flex; gap: 8px; align-items: center; }
.dist-visual { position: relative; }
@media (max-width: 860px) { .dist-hero .container { grid-template-columns: 1fr; } }
.preview-dash { background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); padding: 18px; color: var(--ink); }
.preview-dash .mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 12px 0; }
.preview-dash .mini-stats div { border: 1px solid var(--line); border-radius: 10px; padding: 12px; font-size: .85rem; }
.preview-dash .mini-stats b { display: block; font-size: 1.2rem; color: var(--ink); }

/* Coming soon / error */
.soon-hero { text-align: center; padding: clamp(50px, 8vw, 100px) 0; }
.soon-hero .icon-bubble { margin: 0 auto 18px; }

/* Admin */
.admin-body { background: var(--bg); }
.admin { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 80vh; }
.admin-side { background: var(--navy-950); color: #fff; padding: 20px 12px; }
.admin-side h2 { color: var(--aqua); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin: 18px 10px 6px; }
.admin-side a { display: flex; gap: 10px; align-items: center; color: rgba(255,255,255,.88); text-decoration: none; padding: 9px 10px; border-radius: 8px; font-size: .94rem; }
.admin-side a:hover { background: rgba(255,255,255,.08); color: #fff; }
.admin-side a.is-active { background: rgba(55, 230, 248, .16); color: #fff; box-shadow: inset 3px 0 0 var(--aqua); }
.admin-main { padding: 24px clamp(16px, 3vw, 32px) 60px; min-width: 0; }
.admin-main h1 { font-size: 1.8rem; }
@media (max-width: 900px) { .admin { grid-template-columns: 1fr; } .admin-side { display: flex; flex-wrap: wrap; gap: 4px; } .admin-side h2 { width: 100%; margin: 8px 6px 2px; } }
.admin-table td .btn { min-height: 34px; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; margin-bottom: 16px; }
.filters .field { margin: 0; }
.filters .input, .filters .select { min-height: 42px; padding-block: 8px; }

/* Errors */
.error-page { text-align: center; padding: 80px 0 100px; }
.error-page .code { font-family: var(--font-display); font-size: 5rem; color: var(--aqua-300); line-height: 1; }

/* ---------- Reduced motion: switch off all non-essential motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js .reveal-fade, .js .banner.reveal-banner .banner-inner { opacity: 1 !important; transform: none !important; }
  .droplet, .ripple, .celebrate { display: none; }
}

/* ---------- Print (receipts) ---------- */
@media print {
  .site-header, .site-footer, .prelaunch, .no-print, .toast-region, .cart-float { display: none !important; }
  body { color: #000; }
  .card { box-shadow: none; }
}

/* ---------- Responsive safety net ---------- */
fieldset { min-width: 0; }
.dash > *, .two-col > *, .grid-2 > *, .grid-3 > *, .grid-4 > *, .shop-layout > *, .info-layout > *, .pdp > *, .admin > * { min-width: 0; }
@media (max-width: 960px) {
  .grid-2[style*="grid-template-columns"], .two-col[style*="grid-template-columns"], .dash[style*="grid-template-columns"], .form-row[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  .preview-dash .mini-stats { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 640px) {
  .grid-3[style*="gap"] { grid-template-columns: 1fr; }
  .preview-dash .mini-stats { grid-template-columns: 1fr; }
  .cart-line .photo-frame { width: 96px; }
  .ref-row .btn { width: 100%; }
  .summary-head h2 { font-size: 1.15rem; }
  .kv-2 { grid-template-columns: 1fr !important; }
  .kv-2 dd { margin-bottom: 6px; }
}
svg.icon { display: inline-block; vertical-align: -0.2em; }
.p-price span { white-space: nowrap; }
.p-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.pkg-card > div { min-width: 0; }
.pkg-card .btn { white-space: normal; }

/* ---------- Photo backgrounds (replace files in assets/img/backgrounds and assets/img/categories) ---------- */
.hero { background: linear-gradient(100deg, #031a31 0%, #052a4a 42%, #073a60 100%); }
.hero::before { display: none; }
.hero-visual { isolation: isolate; }
.hero-scene { position: absolute; z-index: 0; left: 50%; top: 50%; width: min(820px, 215%); aspect-ratio: 1125 / 828; max-width: none; transform: translate(-50%, -50%);
  background: url("../img/backgrounds/home-hero.jpg") center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%); pointer-events: none; }
.hero-product { z-index: 2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(90deg, rgba(3, 26, 49, .92) 0%, rgba(3, 26, 49, .55) 38%, rgba(3, 26, 49, 0) 58%); }
.hero-grid { position: relative; z-index: 1; }
.hero-load { position: relative; z-index: 3; }
.banner-offers { background: #d8f1f6 url("../img/backgrounds/banner-offers.jpg") right center / cover no-repeat; }
.banner-filters { background: #eeeeec url("../img/backgrounds/banner-filters.jpg") right center / cover no-repeat; }
.banner-offers::after { background: linear-gradient(90deg, rgba(232, 248, 251, .92) 0%, rgba(232, 248, 251, .7) 34%, rgba(232, 248, 251, 0) 60%); opacity: 1; }
.banner-filters::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(246, 246, 244, .95) 0%, rgba(246, 246, 244, .7) 38%, rgba(246, 246, 244, 0) 62%); }
.banner-inner { min-height: clamp(180px, 20vw, 260px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
@media (max-width: 760px) { .banner-offers, .banner-filters { background-position: 72% center; } .banner-offers::after, .banner-filters::after { background: rgba(255, 255, 255, .72); } }
img.cat-photo, .cat-photo-empty { display: block; width: 100%; height: 100%; object-fit: cover; }
.cat-photo-empty { background: linear-gradient(160deg, #eef3f6, #dfe9ef); }
.cat-tile .art picture { display: block; width: 100%; height: 100%; }
.cat-tile .art img.cat-photo { transition: transform .8s var(--ease); }
.cat-tile:hover .art img.cat-photo { transform: scale(1.04); }
.soon-card picture, .soon-card .cat-photo { position: absolute; inset: 0; z-index: 0; }
.soon-card::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(255,255,255,.85), rgba(255,255,255,.2) 70%); }
.soon-card strong, .soon-card .pill { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .cat-tile:hover .art img.cat-photo { transform: none; } }

@media (max-width: 860px) { .hero-scene { width: min(680px, 190%); } .hero::after { background: linear-gradient(180deg, rgba(3,26,49,.9) 0%, rgba(3,26,49,.6) 45%, rgba(3,26,49,0) 70%); } }
@media (max-width: 860px) { .hero-scene { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 80%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 80%, transparent 100%); } }

/* ---------- Hero motion (home) ---------- */
/* Anchor the water scene so the glass sits beside the product instead of under the headline. */
@media (min-width: 861px) {
  .hero-scene { left: -6%; top: 50%; width: 124%; transform: translateY(-50%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 16%, #000 84%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent 0%, #000 16%, #000 84%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
    mask-composite: intersect; }
}
.hero-scene { animation: scene-drift 22s ease-in-out infinite alternate; }
@keyframes scene-drift { from { background-position: 50% 50%; background-size: 100% auto; } to { background-position: 46% 52%; background-size: 106% auto; } }
.hero-fx { position: absolute; inset: -10% -20%; width: 140%; height: 120%; z-index: 1; pointer-events: none; }
.hero .ripple { z-index: 1; bottom: 2%; width: 90%; }
.hero h1, .hero-sub { text-shadow: 0 2px 24px rgba(2, 20, 38, .55); }
.hero-product::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.38) 48%, transparent 61%);
  transform: translateX(-120%); animation: sheen 7s ease-in-out 2s infinite; }
@keyframes sheen { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.hero-video { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; background: #cfd0d4; }
@media (prefers-reduced-motion: reduce) {
  .hero-scene, .hero-product::after { animation: none !important; }
  .hero-fx { display: none; }
}

/* Home banner badge (Admin → Home banner) */
.hero-badge { position: absolute; top: 14px; left: 14px; z-index: 3; padding: 6px 14px; border-radius: 999px; background: var(--teal, #2bc4d6); color: #04263f;
  font-weight: 700; font-size: .85rem; letter-spacing: .02em; box-shadow: 0 6px 18px rgba(2, 20, 38, .3); }

/* Product page: instalment plan length chooser */
.plan-lengths { border: 0; padding: 0; margin: 14px 0 4px; }
.plan-lengths[hidden] { display: none; }
.plan-length-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; margin-top: 8px; }
.plan-length { position: relative; cursor: pointer; }
.plan-length input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.plan-length > span { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .2s, background .2s, box-shadow .2s; }
.plan-length input:checked + span { border-color: var(--teal); background: #effbfd; box-shadow: 0 0 0 3px rgba(26, 180, 200, .15); }
.plan-length input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.plan-length .small { color: var(--muted); }

/* Home banner: full-width slides (Admin → Home banner) */
.hero[data-hero]::after { display: none; }
.hero-track { position: relative; display: grid; }
.hero-slide { grid-area: 1 / 1; position: relative; isolation: isolate; overflow: hidden; opacity: 0; visibility: hidden;
  transition: opacity .9s var(--ease), visibility 0s linear .9s; }
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; transition: opacity .9s var(--ease), visibility 0s; }
.hero-layout-product::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(90deg, rgba(3, 26, 49, .92) 0%, rgba(3, 26, 49, .55) 38%, rgba(3, 26, 49, 0) 58%); }
.hero-slide .hero-grid { position: relative; z-index: 1; }
.hero .hero-title { font-family: var(--font-display); font-weight: 400; color: #fff; font-size: clamp(2.6rem, 5.8vw, 4.6rem); line-height: 1.02; letter-spacing: -.01em; margin-bottom: 18px; text-shadow: 0 2px 24px rgba(2,20,38,.55); }
.hero-slide.is-active .hero-text > * { animation: heroin .9s var(--ease) both; }
.hero-slide.is-active .hero-text > *:nth-child(2) { animation-delay: .15s; }
.hero-slide.is-active .hero-text > *:nth-child(3) { animation-delay: .3s; }
/* full-width picture / video */
.hero-bg { position: absolute; inset: 0; z-index: 0; background: #06223b; }
.hero-bg-media { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-focus-left .hero-bg-media { object-position: 20% center; }
.hero-focus-right .hero-bg-media { object-position: 80% center; }
.hero-slide.is-active .hero-bg-media { animation: hero-kenburns 16s ease-out both; }
@keyframes hero-kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-shade-light { background: linear-gradient(90deg, rgba(3, 26, 49, .72) 0%, rgba(3, 26, 49, .35) 42%, rgba(3, 26, 49, 0) 65%); }
.hero-shade-strong { background: linear-gradient(90deg, rgba(3, 26, 49, .9) 0%, rgba(3, 26, 49, .6) 50%, rgba(3, 26, 49, .25) 100%); }
.hero-text-dark .hero-shade-light { background: linear-gradient(90deg, rgba(255, 255, 255, .8) 0%, rgba(255, 255, 255, .4) 42%, rgba(255, 255, 255, 0) 65%); }
.hero-text-dark .hero-shade-strong { background: linear-gradient(90deg, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .65) 50%, rgba(255, 255, 255, .3) 100%); }
.hero-text-dark .hero-title, .hero-text-dark .hero-sub { color: var(--ink); text-shadow: none; }
.hero-bg-link { position: absolute; inset: 0; z-index: 1; }
.hero-grid-full { z-index: 2; pointer-events: none; }
.hero-grid-full > * { pointer-events: auto; }
.hero-badge-full { position: absolute; top: 28px; right: 24px; left: auto; }
/* animated layer + controls */
.hero-fx-full { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; opacity: 0; }
.hero-controls-wrap { position: absolute; left: 0; right: 0; bottom: 24px; z-index: 3; pointer-events: none; }
.hero-controls { display: inline-flex; align-items: center; gap: 14px; pointer-events: auto; padding: 6px 10px 6px 6px; border-radius: 999px; background: rgba(3, 26, 49, .35); backdrop-filter: blur(6px); }
.hero-dots { display: flex; gap: 8px; }
.hero-dots button { width: 28px; height: 6px; border-radius: 3px; border: 0; padding: 0; cursor: pointer; background: rgba(255,255,255,.4); transition: background .3s, width .3s; }
.hero-dots button[aria-current="true"] { background: #37e6f8; width: 44px; }
.hero-dots button:focus-visible, .hero-pause:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.hero-pause { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; }
.hero-pause:hover { background: rgba(255,255,255,.14); }
.hero-product.hero-wide { width: min(600px, 100%); aspect-ratio: 16 / 9; background: #06223b; }
.hero-product.hero-wide img, .hero-product.hero-wide video { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
@media (max-width: 860px) {
  .hero-controls-wrap { bottom: 14px; } .hero-controls-wrap .container { display: flex; justify-content: center; }
  .hero-shade-light, .hero-shade-strong { background: linear-gradient(180deg, rgba(3, 26, 49, .78) 0%, rgba(3, 26, 49, .4) 55%, rgba(3, 26, 49, .15) 100%); }
  .hero-text-dark .hero-shade-light, .hero-text-dark .hero-shade-strong { background: linear-gradient(180deg, rgba(255, 255, 255, .85) 0%, rgba(255, 255, 255, .45) 55%, rgba(255, 255, 255, .1) 100%); }
  .hero-layout-product::before { background: linear-gradient(180deg, rgba(3,26,49,.9) 0%, rgba(3,26,49,.6) 45%, rgba(3,26,49,0) 70%); }
  .hero-badge-full { top: 16px; right: 16px; }
}
@media (prefers-reduced-motion: reduce) { .hero-slide, .hero-slide.is-active { transition: none; } .hero-slide.is-active .hero-bg-media, .hero-slide.is-active .hero-text > * { animation: none; } }

/* ---------- Admin business modules (scoped to the admin area) ---------- */
.admin-main .stat-num { font-size: 1.55rem; color: var(--ink); font-family: var(--font-head); line-height: 1.25; }
.admin-main .h-card { font-size: 1.15rem; margin-bottom: 12px; }
.admin-main .h-sub { font-size: 1rem; }
.admin-main .th-sort { color: inherit; text-decoration: none; }
.admin-main .th-sort:hover { text-decoration: underline; }
.admin-main .req { color: var(--bad); }
.admin-main .num { text-align: right; white-space: nowrap; }
.admin-main a.stat-link { text-decoration: none; color: inherit; display: block; }
.admin-main a.stat-link:hover { box-shadow: 0 0 0 2px var(--aqua-300); }
.admin-main .chart-bars { display: flex; align-items: flex-end; gap: 6px; height: 160px; padding: 8px 0 0; border-bottom: 1px solid var(--line); }
.admin-main .chart-bars a, .admin-main .chart-bars span.bar { flex: 1 1 0; min-width: 6px; background: var(--navy-800); border-radius: 4px 4px 0 0; position: relative; display: block; }
.admin-main .chart-bars a:hover { background: var(--teal); }
.admin-main .chart-bars .bar-b { background: var(--teal); }
.admin-main .chart-labels { display: flex; gap: 6px; font-size: .72rem; color: var(--muted); margin-top: 4px; }
.admin-main .chart-labels span { flex: 1 1 0; text-align: center; overflow: hidden; white-space: nowrap; }
.admin-main .hbar { height: 10px; border-radius: 5px; background: var(--teal); min-width: 2px; }
.admin-main .legend-dot { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 4px; vertical-align: middle; }
.admin-main .cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.admin-main .cal-day { background: #fff; border: 1px solid var(--line-soft); border-radius: 8px; min-height: 96px; padding: 6px; font-size: .78rem; }
.admin-main .cal-day.is-today { box-shadow: inset 0 0 0 2px var(--teal); }
.admin-main .cal-day.is-other { opacity: .5; }
.admin-main .cal-job { display: block; padding: 3px 6px; margin-top: 4px; border-radius: 6px; background: var(--aqua-100); color: var(--navy-800); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-main .cal-job.is-done { background: var(--ok-bg); color: var(--ok); }
.admin-main .cal-job.is-conflict { background: var(--bad-bg); color: var(--bad); }
@media (max-width: 760px) { .admin-main .cal { grid-template-columns: 1fr; } .admin-main .cal-day.is-other { display: none; } }
.print-doc .doc { max-width: 900px; margin: 24px auto; background: #fff; padding: 32px; border-radius: 12px; }
@media print { .print-doc .doc { margin: 0; padding: 0; } .admin-side { display: none !important; } .admin { grid-template-columns: 1fr !important; } .filters, .pager, .tabs-line { display: none !important; } }
.admin-main .chart-pair { flex: 1 1 0; display: flex; align-items: flex-end; gap: 2px; height: 100%; text-decoration: none; }
.admin-main .chart-pair .bar { flex: 1 1 0; min-width: 3px; display: block; border-radius: 3px 3px 0 0; background: var(--navy-800); }
.admin-main .chart-pair .bar.bar-b { background: var(--teal); }
.admin-main .chart-pair:hover .bar { opacity: .8; }
.admin-main .legend-dot { display: inline-block; width: 10px; height: 10px; border-radius: 2px; vertical-align: middle; margin-right: 4px; background: var(--navy-800); }
.admin-main .legend-dot.is-b { background: var(--teal); }
.admin-main .kpi-delta { font-size: .75rem; }
.admin-main .kpi-delta.up { color: var(--ok); } .admin-main .kpi-delta.down { color: var(--bad); }
.admin-main .chart-bars a.chart-pair { background: none; border-radius: 0; display: flex; align-items: flex-end; }
/* sign-in session warning (shown shortly before an inactivity sign-out) */
.session-warn { position: fixed; z-index: 130; right: 20px; bottom: 20px; width: min(380px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 16px 18px; }
.session-warn p { margin: 0 0 8px; }
.session-warn [data-left] { font-variant-numeric: tabular-nums; font-weight: 700; }
@media print { .session-warn { display: none !important; } }
.admin-main [data-feature][hidden], .admin-main [data-feature-none][hidden], .admin-main [data-cat-changed][hidden] { display: none !important; }
/* Business Register (spreadsheet-style table, staff area only) */
.admin-main .reg-wrap { overflow: auto; max-height: 72vh; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.admin-main .reg-table { table-layout: fixed; width: max-content; min-width: 100%; border-collapse: separate; border-spacing: 0; font-size: .8rem; margin: 0; }
.admin-main .reg-table th, .admin-main .reg-table td { padding: 6px 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: middle; border-bottom: 1px solid var(--line-soft); background: #fff; }
.admin-main .reg-table thead th { position: sticky; top: 0; z-index: 2; background: #f3f6f9; font-weight: 700; white-space: normal; line-height: 1.25; vertical-align: bottom; }
.admin-main .reg-table .reg-freeze { position: sticky; left: 0; z-index: 1; box-shadow: 1px 0 0 var(--line); }
.admin-main .reg-table thead .reg-freeze { z-index: 3; }
.admin-main .reg-table tbody tr:hover td { background: #f7fbfc; }
.admin-main .reg-table td.reg-repeat { color: var(--muted); }
.admin-main .reg-table td.reg-repeat .pill { opacity: .75; }
.admin-main .reg-trunc { display: block; overflow: hidden; text-overflow: ellipsis; cursor: zoom-in; }
.admin-main .reg-trunc.is-open { white-space: normal; cursor: zoom-out; }
.admin-main .reg-resize { position: absolute; top: 0; right: 0; width: 7px; height: 100%; cursor: col-resize; }
.admin-main .reg-resize:hover, .admin-main .reg-resize.is-drag { background: var(--aqua-100); }
.admin-main .reg-table thead th { position: sticky; }
.admin-main .reg-tag { display: inline-block; margin-left: 4px; padding: 0 5px; border-radius: 4px; background: var(--aqua-100); color: var(--navy-800); font-size: .66rem; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; vertical-align: middle; }
.admin-main .reg-basis { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 10px 14px; border-radius: 10px; background: var(--info-bg); }
.admin-main .reg-col-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.admin-main .reg-col-groups fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 2px; }
@media (max-width: 760px) { .admin-main .reg-table .reg-freeze { position: static; box-shadow: none; } .admin-main .reg-wrap { max-height: none; } }
@media print { .admin-main .reg-wrap { max-height: none; overflow: visible; } }

/* PayNow QR */
.paynow-box{display:flex;gap:16px;align-items:center;flex-wrap:wrap;border:1px solid var(--line,#dfe7ef);border-radius:12px;padding:12px;margin:12px 0;background:#fff;break-inside:avoid}
.paynow-qr{width:170px;height:170px;flex:none}
.paynow-qr svg{width:100%;height:100%;display:block}
@media print{.paynow-box{border-color:#999}}
