/* ============================================================
   CASEKOO889 — "FLAGSHIP" design system  (v2 total revamp)
   Dark premium smart-tech flagship. Near-black teal-tinted
   canvas, neon teal/cyan glow, HUD detailing, mono numerals.
   Marketing pages = dark. shop.html + product.html = pure white.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
    /* Brand */
    --teal:        #37C8C8;
    --teal-bright: #63F2F2;
    --teal-deep:   #1B9CA0;
    --teal-ink:    #0B5E62;

    /* Dark canvas */
    --ink:     #04090B;
    --bg:      #070E11;
    --bg-2:    #0A1418;
    --panel:   #0E1B20;
    --panel-2: #122a30;
    --panel-3: #16323a;
    --line:    rgba(255,255,255,.08);
    --line-2:  rgba(99,242,242,.20);

    --text:       #EAF7F7;
    --text-soft:  #9FB6B9;
    --text-faint: #6B8488;

    /* Light surfaces (shop + product only) */
    --w-bg:    #FFFFFF;
    --w-soft:  #F4F8F8;
    --w-line:  #E5EEEE;
    --w-line2: #D6E6E6;
    --w-text:  #0A1417;
    --w-soft-text: #54686B;
    --w-faint: #84999C;

    /* Type */
    --display: 'Sora', system-ui, -apple-system, sans-serif;
    --sans:    'Inter', system-ui, -apple-system, sans-serif;
    --mono:    'JetBrains Mono', ui-monospace, monospace;

    /* FX */
    --glow:      0 0 0 1px rgba(99,242,242,.18), 0 18px 50px rgba(20,140,144,.30);
    --glow-soft: 0 14px 40px rgba(0,0,0,.5);
    --radius:    18px;
    --radius-lg: 26px;
    --radius-sm: 12px;
    --grad:      linear-gradient(120deg, var(--teal), var(--teal-bright));
}

/* ============================================================ BASE */
* { box-sizing: border-box; }
html, body { height: 100%; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--sans);
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    display: flex; flex-direction: column; min-height: 100vh;
    line-height: 1.65;
    overflow-x: hidden;
}
#pageContent { flex: 1 0 auto; }

h1,h2,h3,h4,h5,h6 {
    font-family: var(--display);
    color: #fff; font-weight: 700;
    letter-spacing: -0.025em; line-height: 1.08; margin: 0;
}
p { margin: 0; }
a { color: var(--teal); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--teal-bright); }
img { max-width: 100%; display: block; }
::selection { background: var(--teal); color: #04181a; }

a:focus-visible, button:focus-visible, .btn:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible,
.accordion-button:focus-visible {
    outline: 2px solid var(--teal-bright); outline-offset: 3px; border-radius: 8px;
}

/* ============================================================ PRIMITIVES */
.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: 26px; }
.wrap-narrow { max-width: 940px; }
.wrap-wide { max-width: 1480px; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--mono);
    font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
    color: var(--teal); margin: 0 0 18px;
}
.eyebrow::before { content: "//"; color: var(--teal-bright); opacity: .8; }
.eyebrow.is-centered { justify-content: center; }
.eyebrow.on-dark { color: var(--teal-bright); }

.display { font-family: var(--display); font-weight: 800; line-height: 1.04; letter-spacing: -0.035em; }
.display-xl { font-size: clamp(2.8rem, 7vw, 5.2rem); }
.display-lg { font-size: clamp(2.1rem, 4.8vw, 3.6rem); }
.display-md { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }

.lead { font-size: 1.08rem; color: var(--text-soft); max-width: 58ch; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

.section { padding-block: clamp(58px, 8vw, 120px); position: relative; }
.section--tight { padding-block: clamp(46px, 5vw, 76px); }

.section-head { max-width: 680px; }
.section-head.is-centered { margin-inline: auto; text-align: center; }

/* gradient text accent */
.grad-text {
    background: var(--grad); -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: var(--teal);
}

/* dotted/grid background utility */
.bg-grid::before {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(99,242,242,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99,242,242,.05) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 78%);
            mask-image: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 78%);
}

/* ============================================================ BUTTONS */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font-family: var(--sans); font-weight: 600; font-size: .95rem; line-height: 1;
    padding: 15px 28px; border-radius: 999px; border: 1.5px solid transparent;
    cursor: pointer; white-space: nowrap; text-decoration: none;
    transition: transform .18s ease, box-shadow .22s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* primary (class kept: .btn-terra) */
.btn-terra { background: var(--grad); color: #04181a; box-shadow: 0 10px 26px rgba(55,200,200,.32); }
.btn-terra:hover { color: #04181a; box-shadow: 0 0 0 1px rgba(99,242,242,.5), 0 16px 40px rgba(55,200,200,.5); }

.btn-ink { background: #fff; color: #06181a; }
.btn-ink:hover { background: var(--teal-bright); color: #04181a; }

.btn-outline { background: rgba(255,255,255,.02); color: #fff; border-color: rgba(255,255,255,.22); }
.btn-outline:hover { border-color: var(--teal); color: var(--teal-bright); background: rgba(55,200,200,.08); }

.btn-outline-cream { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-outline-cream:hover { background: #fff; color: #06181a; border-color: #fff; }

.btn-light-terra { background: var(--grad); color: #04181a; box-shadow: 0 10px 26px rgba(55,200,200,.32); }
.btn-light-terra:hover { color: #04181a; box-shadow: 0 0 0 1px rgba(99,242,242,.5), 0 16px 40px rgba(55,200,200,.5); }

.link-arrow {
    font-family: var(--mono); font-weight: 500; font-size: .78rem;
    letter-spacing: .08em; text-transform: uppercase; color: var(--teal);
    display: inline-flex; align-items: center; gap: 8px;
}
.link-arrow i { transition: transform .2s ease; }
.link-arrow:hover { color: var(--teal-bright); }
.link-arrow:hover i { transform: translateX(4px); }

/* ============================================================ HEADER — floating glass pill */
.site-header { position: sticky; top: 0; z-index: 1050; padding-top: 16px; }
.topstrip { display: none; }              /* dropped in v2 */

.navbar-main {
    width: min(1280px, calc(100% - 32px));
    margin-inline: auto;
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    padding: 4px 12px 4px 22px;
    background: rgba(10,20,24,.72);
    backdrop-filter: saturate(160%) blur(16px);
    -webkit-backdrop-filter: saturate(160%) blur(16px);
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: 0 12px 40px rgba(0,0,0,.45);
}
.navbar-main .wrap { display: contents; }   /* header.html wraps in .wrap; flatten it */

.brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; }
.brand:hover { color: #fff; }
.brand img { display: block; height: 80px; width: auto; }   /* CASEKOO889 logo (transparent PNG) */
.site-footer .brand img { height: 62px; }
.brand .brand-glyph, .brand .brand-word { display: none; } /* logo image replaces the text wordmark */

.nav-links { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav-links a {
    font-family: var(--sans); font-weight: 500; font-size: .9rem;
    color: var(--text-soft); padding: 9px 16px; border-radius: 999px; position: relative;
    transition: color .18s ease, background .18s ease;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.06); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions .btn { padding: 11px 22px; }
.nav-toggle {
    display: none; background: rgba(255,255,255,.05); border: 1px solid var(--line);
    color: #fff; width: 44px; height: 44px; border-radius: 12px; font-size: 1.05rem; cursor: pointer;
}

.mobile-menu {
    display: none;
    width: min(1280px, calc(100% - 32px)); margin: 10px auto 0;
    background: rgba(10,20,24,.96); backdrop-filter: blur(16px);
    border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; margin: 0; padding: 12px; }
.mobile-menu li + li { border-top: 1px solid var(--line); }
.mobile-menu a { display: block; padding: 14px 12px; font-weight: 500; color: var(--text); }
.mobile-menu a:hover { color: var(--teal-bright); }
.mobile-menu .wrap { padding: 0 12px 16px; }
.mobile-menu .btn { width: 100%; }

/* ============================================================ HERO */
.hero { position: relative; overflow: hidden; background: radial-gradient(110% 90% at 80% -20%, rgba(27,156,160,.28), transparent 55%), var(--bg); }
.hero::after {
    content: ""; position: absolute; left: -10%; bottom: -40%; width: 60%; height: 90%;
    background: radial-gradient(circle, rgba(99,242,242,.12), transparent 65%); pointer-events: none;
}
.hero-grid {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 64px);
    align-items: center; padding-block: clamp(54px, 7vw, 100px);
}
.hero-copy { max-width: 640px; }
.hero-title {
    font-family: var(--display); font-weight: 800;
    font-size: clamp(2.7rem, 6vw, 5rem); line-height: 1.0; letter-spacing: -0.04em;
    margin: 0 0 10px; color: #fff;
}
.hero-title #heroHighlight { display: block; margin-top: 16px; font-size: clamp(1.35rem, 2.3vw, 2rem); font-weight: 600; line-height: 1.2; letter-spacing: -0.015em; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--teal); }
.hero-desc { font-size: 1.1rem; color: var(--text-soft); margin: 24px 0 34px; max-width: 50ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-meta { display: flex; gap: 14px; margin-top: 46px; flex-wrap: wrap; }
.hero-meta > div {
    flex: 1 1 130px; padding: 16px 18px; border: 1px solid var(--line);
    border-radius: 14px; background: rgba(255,255,255,.02);
}
.hero-meta .stat-num { font-family: var(--display); font-weight: 700; font-size: 1.6rem; color: #fff; line-height: 1; }
.hero-meta .stat-lbl { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin-top: 9px; }

/* Hero visual = bg.png product showcase in a glowing frame */
.hero-visual { position: relative; display: grid; place-items: center; }
.hero-frame {
    position: relative; z-index: 2; width: 100%;
    border: 1px solid var(--line-2); border-radius: var(--radius-lg);
    background: linear-gradient(160deg, var(--panel-2), var(--panel));
    box-shadow: var(--glow); overflow: hidden; aspect-ratio: 836 / 470;
}
.hero-frame::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; box-shadow: inset 0 0 60px rgba(4,9,11,.45); }
.hero-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hud { display: none; }   /* retired: real product image now used */
.hud-ring {
    width: 150px; height: 150px; margin: 6px auto 22px; border-radius: 50%;
    background: conic-gradient(var(--teal-bright) 0deg, var(--teal) 200deg, rgba(255,255,255,.06) 200deg 360deg);
    display: grid; place-items: center; box-shadow: 0 0 40px rgba(55,200,200,.35);
    -webkit-mask: none;
}
.hud-ring::before { content: ""; position: absolute; width: 118px; height: 118px; border-radius: 50%; background: var(--panel); }
.hud-ring .hud-bpm { position: relative; text-align: center; }
.hud-ring .hud-bpm b { font-family: var(--display); font-size: 2rem; color: #fff; display: block; line-height: 1; }
.hud-ring .hud-bpm span { font-family: var(--mono); font-size: .6rem; letter-spacing: .15em; color: var(--teal-bright); text-transform: uppercase; }
.hud-rows { display: grid; gap: 10px; }
.hud-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.02); }
.hud-row .hr-label { font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; color: var(--text-faint); text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; }
.hud-row .hr-label i { color: var(--teal); }
.hud-row .hr-val { font-family: var(--mono); font-size: .82rem; color: var(--teal-bright); font-weight: 700; }
.hero-chip {
    position: absolute; z-index: 3; bottom: 26px; right: -10px;
    background: rgba(4,15,17,.9); border: 1px solid var(--line-2); border-radius: 14px;
    padding: 12px 16px; display: flex; align-items: center; gap: 10px; box-shadow: var(--glow-soft);
}
.hero-chip i { color: var(--teal-bright); font-size: 1.1rem; }
.hero-chip .hc-text { font-size: .76rem; line-height: 1.2; color: var(--text-soft); }
.hero-chip .hc-text strong { display: block; color: #fff; font-family: var(--display); font-size: .92rem; }

/* ============================================================ MARQUEE */
.marquee { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; padding-block: 18px; }
.marquee-track { display: flex; width: max-content; gap: 0; animation: marquee 38s linear infinite; }
.marquee-track span {
    font-family: var(--display); font-weight: 600; font-size: 1.05rem; color: var(--text-faint);
    padding-inline: 26px; display: inline-flex; align-items: center; gap: 26px; white-space: nowrap;
    text-transform: uppercase; letter-spacing: .02em;
}
.marquee-track span::after { content: "◆"; color: var(--teal); font-size: .55rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }
/* legacy ticker support */
.ticker { display: none; }

/* ============================================================ CATEGORIES — numbered icon rail */
.cat-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
#categoryTitle { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin: 6px 0 0; }

.cat-mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat-card {
    position: relative; display: flex; align-items: center; gap: 18px;
    padding: 24px 22px; border: 1px solid var(--w-line); border-radius: var(--radius);
    background: #fff;
    text-decoration: none; overflow: hidden;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.cat-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 90% at 100% 0%, rgba(55,200,200,.12), transparent 60%); opacity: 0; transition: opacity .25s ease; }
.cat-card:hover { transform: translateY(-4px); border-color: var(--teal); box-shadow: 0 20px 44px rgba(11,94,98,.18); }
.cat-card:hover::after { opacity: 1; }
.cat-card .cat-ico {
    position: relative; overflow: hidden;
    flex-shrink: 0; width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
    background: rgba(55,200,200,.12); border: 1px solid rgba(55,200,200,.28); color: var(--teal-deep); font-size: 1.4rem;
    transition: background .25s ease, color .25s ease;
}
.cat-card .cat-ico img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-card:hover .cat-ico { background: var(--grad); color: #04181a; }
.cat-card .cat-info { position: relative; z-index: 1; flex: 1; min-width: 0; }
.cat-card .cat-no { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; color: var(--w-faint); }
.cat-card .cat-name { font-family: var(--display); font-weight: 700; font-size: 1.1rem; color: var(--w-text); margin: 3px 0 2px; letter-spacing: -0.01em; }
.cat-card .cat-count { font-family: var(--mono); font-size: .72rem; color: var(--teal-deep); }
.cat-card .cat-go { flex-shrink: 0; color: var(--w-faint); font-size: .95rem; transition: transform .2s ease, color .2s ease; }
.cat-card:hover .cat-go { color: var(--teal-deep); transform: translateX(4px); }
.cat-card--feature { grid-column: span 1; }   /* equalised in v2 */

/* ============================================================ PROCESS / STEPS band */
.steps-band { position: relative; background: var(--bg-2); border-block: 1px solid var(--line); overflow: hidden; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step {
    position: relative; padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius);
    background: rgba(255,255,255,.02); transition: transform .2s ease, border-color .2s ease;
}
.step:hover { transform: translateY(-4px); border-color: var(--line-2); }
.step .step-no { font-family: var(--mono); font-size: .72rem; color: var(--teal); letter-spacing: .12em; }
.step .step-ico { font-size: 1.5rem; color: var(--teal-bright); margin: 14px 0 16px; }
.step h3 { color: #fff; font-size: 1.15rem; margin: 0 0 9px; }
.step p { color: var(--text-soft); font-size: .92rem; }

/* ============================================================ STATS band */
.stats-band {
    position: relative; overflow: hidden;
    background: linear-gradient(120deg, rgba(27,156,160,.16), rgba(99,242,242,.05)), var(--panel);
    border-block: 1px solid var(--line-2);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-cell { padding: 8px; }
.stat-cell b { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); color: #fff; display: block; line-height: 1; }
.stat-cell span { font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin-top: 12px; display: block; }
.stat-cell + .stat-cell { border-left: 1px solid var(--line); }

/* ============================================================ CTA */
.cta-band { position: relative; }
.cta-inner {
    position: relative; overflow: hidden; text-align: center;
    border: 1px solid var(--line-2); border-radius: var(--radius-lg);
    background: linear-gradient(160deg, var(--panel-2), var(--bg-2));
    padding: clamp(40px, 6vw, 76px); box-shadow: var(--glow);
}
.cta-inner::before { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(99,242,242,.22), transparent 65%); }
.cta-inner::after { content: ""; position: absolute; left: -120px; bottom: -160px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(27,156,160,.2), transparent 68%); }
.cta-inner > * { position: relative; z-index: 1; }
#ctaTitle { color: #fff; font-size: clamp(2rem, 4vw, 3.1rem); margin: 0 auto 18px; max-width: 18ch; }
#ctaDesc { color: var(--text-soft); margin: 0 auto 32px; max-width: 60ch; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================ FOOTER */
.site-footer { background: var(--ink); border-top: 1px solid var(--line); margin-top: auto; }
.footer-top { padding-block: clamp(50px, 6vw, 84px); }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.3fr; gap: 44px; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand-name { font-family: var(--display); font-weight: 800; font-size: 1.5rem; color: #fff; margin: 0 0 14px; }
.footer-tag { color: var(--text-faint); max-width: 40ch; margin: 0 0 22px; font-size: .95rem; }
.footer-contact { display: grid; gap: 11px; font-size: .9rem; }
.footer-contact div { display: flex; gap: 11px; align-items: flex-start; color: var(--text-soft); }
.footer-contact i { color: var(--teal); margin-top: 4px; width: 16px; text-align: center; }
.footer-col h4 { color: #fff; font-family: var(--mono); font-weight: 500; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 20px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-col a { color: var(--text-soft); font-size: .94rem; }
.footer-col a:hover { color: var(--teal-bright); }
.footer-cta-card { border: 1px solid var(--line-2); border-radius: var(--radius); padding: 24px; background: linear-gradient(160deg, var(--panel), var(--bg-2)); }
.footer-cta-card h4 { color: #fff; font-family: var(--display); font-size: 1.1rem; letter-spacing: -0.01em; text-transform: none; margin: 0 0 8px; }
.footer-cta-card p { color: var(--text-soft); font-size: .88rem; margin: 0 0 16px; }
.footer-cta-card .btn { width: 100%; }
.footer-bottom { padding-block: 22px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-family: var(--mono); font-size: .76rem; color: var(--text-faint); }
.footer-bottom .fb-brand { color: var(--teal); }

/* ============================================================ SHOP + PRODUCT (dark, matches site) */
/* body[data-page] inherits the default dark canvas — no white override */

/* product image tiles are WHITE so product photos read cleanly */
.pcard-media, .product-image-frame { background: #ffffff; }

/* SHOP hero */
.shop-hero { padding-top: clamp(120px, 12vw, 150px); padding-bottom: 10px; max-width: 760px; }
.shop-hero .display-lg { margin: 8px 0 0; }

/* toolbar — NOT sticky (never overlaps product images) */
.shop-toolbar {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    padding: 14px 0 22px; margin: 26px 0 34px; border-bottom: 1px solid var(--line);
}
#categoryFilter { display: flex; gap: 9px; flex-wrap: wrap; }
.category-btn, .category-badge {
    font-family: var(--sans); background: rgba(255,255,255,.04); color: var(--text-soft);
    border: 1.5px solid var(--line); padding: 9px 17px; border-radius: 999px;
    font-size: 13px; font-weight: 600; cursor: pointer; transition: all .16s ease;
}
.category-btn:hover, .category-badge:hover { border-color: var(--teal); color: var(--teal-bright); background: rgba(55,200,200,.08); }
.category-btn.active, .category-badge.active { background: var(--grad); color: #04181a; border-color: transparent; }
.sort-wrap { position: relative; display: inline-flex; align-items: center; }
.sort-wrap label { font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); margin-right: 10px; }
#sortSelect { appearance: none; font-family: var(--sans); font-size: .88rem; font-weight: 600; color: var(--text); background: var(--panel); border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 38px 10px 18px; cursor: pointer; }
#sortSelect option { background: var(--panel); color: var(--text); }
.sort-wrap::after { content: "\f078"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .65rem; color: var(--text-faint); position: absolute; right: 16px; pointer-events: none; }

/* PRODUCT CARD (white card on dark page) */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pcard { position: relative; display: flex; flex-direction: column; text-decoration: none; color: var(--w-text); border: 1px solid var(--w-line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease; }
.pcard:hover { transform: translateY(-5px); border-color: var(--teal); box-shadow: 0 22px 46px rgba(11,94,98,.22); }
.pcard-media { position: relative; aspect-ratio: 1/1; overflow: hidden; display: grid; place-items: center; border-bottom: 1px solid var(--w-line); }
.pcard-media img { width: 80%; height: 80%; object-fit: contain; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.pcard:hover .pcard-media img { transform: scale(1.07); }
.pcard-sale { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--grad); color: #04181a; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 5px 10px; border-radius: 8px; }
.pcard-quick { position: absolute; right: 12px; bottom: 12px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; background: var(--grad); color: #04181a; display: grid; place-items: center; font-size: 0; opacity: 0; transform: translateY(8px); transition: opacity .25s ease, transform .25s ease; box-shadow: 0 8px 18px rgba(55,200,200,.4); }
.pcard-quick i { font-size: .85rem; }
.pcard:hover .pcard-quick { opacity: 1; transform: translateY(0); }
.pcard-body { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; background: #fff; }
.pcard-cat { font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 8px; }
.pcard-title { font-family: var(--display); font-weight: 600; font-size: .98rem; line-height: 1.35; margin: 0 0 14px; color: var(--w-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.pcard-price { display: flex; align-items: baseline; gap: 9px; margin-top: auto; flex-wrap: wrap; }
.pcard-price .now { font-family: var(--mono); font-weight: 700; font-size: 1.08rem; color: var(--w-text); }
.pcard-price .now.is-sale { color: var(--teal-deep); }
.pcard-price .was { font-family: var(--mono); font-size: .82rem; color: var(--w-faint); text-decoration: line-through; }
.pcard-price .off { font-family: var(--mono); font-size: .68rem; font-weight: 700; color: var(--teal-deep); background: rgba(55,200,200,.14); padding: 2px 7px; border-radius: 6px; }
.salebadge { background: var(--teal-deep); color:#fff; border-radius: 8px; padding: 3px 10px; }
.salebadgefont { color: var(--teal-deep); font-weight: 700; }

/* PRODUCT DETAIL (dark) */
.pd-wrap { padding-top: clamp(120px, 12vw, 150px); padding-bottom: clamp(60px, 7vw, 96px); }
.pd-crumb { font-family: var(--mono); font-size: .76rem; letter-spacing: .03em; color: var(--text-faint); margin-bottom: 26px; }
.pd-crumb a { color: var(--text-faint); }
.pd-crumb a:hover { color: var(--teal-bright); }
.pd-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.product-image-frame { position: relative; border: 1px solid var(--line-2); border-radius: var(--radius-lg); aspect-ratio: 1/1; display: grid; place-items: center; overflow: hidden; box-shadow: var(--glow); }
.product-main-img { position: relative; max-width: 80%; max-height: 80%; object-fit: contain; }
.pd-info { padding-top: 6px; }
#productCategory { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; display: inline-block; }
#productTitle { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin: 0 0 18px; color: #fff; }
#productDesc { color: var(--text-soft); font-size: 1.02rem; line-height: 1.8; margin-bottom: 26px; }
#productPrice { margin-bottom: 28px; font-family: var(--mono); }
#productPrice .fw-bold, #productPrice span { font-family: var(--mono); font-size: 1.7rem; color: #fff; }
#productPrice .text-danger { color: var(--teal-bright) !important; }
#productPrice .text-decoration-line-through { font-size: 1.1rem; color: var(--text-faint); }
.pd-meta { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.pd-meta div { display: flex; gap: 12px; align-items: center; font-size: .92rem; color: var(--text-soft); }
.pd-meta i { color: var(--teal-bright); width: 18px; text-align: center; }
.send-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--grad); color: #04181a; border: none; padding: 16px 34px; border-radius: 999px; font-family: var(--sans); font-weight: 600; font-size: .98rem; cursor: pointer; transition: transform .18s ease, box-shadow .2s ease; box-shadow: 0 10px 26px rgba(55,200,200,.3); }
.send-btn:hover { color: #04181a; transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(27,156,160,.5), 0 16px 40px rgba(55,200,200,.45); }

/* ============================================================ INTERIOR (dark) PAGES — about / contact / faq / policy */
.page-hero { position: relative; padding-top: clamp(120px, 13vw, 170px); padding-bottom: clamp(20px, 4vw, 46px); text-align: center; overflow: hidden; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; }
.page-hero p { color: var(--text-soft); }

.about-hero { text-align: center; max-width: 820px; margin-inline: auto; }
#aboutHeadline { color: var(--text-soft); font-size: 1.12rem; line-height: 1.75; }

.mission-box { position: relative; overflow: hidden; border: 1px solid var(--line-2); border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--panel-2), var(--bg-2)); padding: clamp(34px, 5vw, 64px); text-align: center; max-width: 900px; margin-inline: auto; box-shadow: var(--glow); }
.mission-box::before { content: "“"; font-family: var(--display); color: var(--teal); font-size: 4.5rem; line-height: .8; display: block; }
.mission-box .eyebrow { justify-content: center; }
#missionText { color: var(--text); font-size: 1.18rem; line-height: 1.75; max-width: 62ch; margin-inline: auto; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; background: linear-gradient(160deg, var(--panel), var(--bg-2)); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.feature:hover { transform: translateY(-5px); border-color: var(--line-2); box-shadow: var(--glow); }
.feature i { font-size: 1.3rem; color: var(--teal-bright); width: 54px; height: 54px; border-radius: 14px; background: rgba(55,200,200,.1); border: 1px solid var(--line-2); display: grid; place-items: center; margin-bottom: 18px; }
.feature h5 { font-size: 1.1rem; margin: 0 0 10px; color: #fff; }
.feature p { color: var(--text-soft); font-size: .92rem; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,4vw,52px); align-items: start; }
.contact-info { display: grid; gap: 0; }
.contact-info .info-row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-info .info-row:first-of-type { padding-top: 0; }
.contact-info i.icon { color: var(--teal-bright); font-size: 1.05rem; width: 46px; height: 46px; border-radius: 12px; background: rgba(55,200,200,.1); border: 1px solid var(--line-2); display: grid; place-items: center; flex-shrink: 0; }
.contact-info .info-row strong { display: block; font-family: var(--display); font-size: 1.02rem; color: #fff; margin-bottom: 4px; }
.contact-info .info-row span { color: var(--text-soft); font-size: .94rem; }
.contact-box { border: 1px solid var(--line-2); border-radius: var(--radius); background: linear-gradient(160deg, var(--panel-2), var(--bg-2)); padding: 30px; margin-top: 26px; box-shadow: var(--glow); }
.contact-box h4 { color: #fff; }
.contact-box p { color: var(--text-soft); }
.contact-box .send-btn { width: 100%; }
#mapContainer iframe { display: block; border-radius: var(--radius); border: 1px solid var(--line); filter: invert(.92) hue-rotate(160deg) saturate(.7) contrast(.95); }

/* POLICY + FAQ */
.policy-hero { text-align: center; max-width: 760px; margin-inline: auto; }
.policy-box { max-width: 880px; margin-inline: auto; }
.policy-card { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel); padding: clamp(28px, 4vw, 50px); text-align: left; }
.policy-card h1,.policy-card h2,.policy-card h3,.policy-card h4 { color: #fff; margin-top: 1.6em; margin-bottom: .5em; }
.policy-card h1:first-child,.policy-card h2:first-child,.policy-card h3:first-child { margin-top: 0; }
.policy-card p, .policy-card li { line-height: 1.85; color: var(--text-soft); }
.policy-card strong { color: var(--text); }
.policy-card a { color: var(--teal); text-decoration: underline; }

.accordion { --bs-accordion-border-color: var(--line); display: grid; gap: 12px; }
.accordion-item { border: 1px solid var(--line) !important; border-radius: 14px !important; overflow: hidden; background: var(--panel); }
.accordion-item:hover { border-color: var(--line-2) !important; }
.accordion-button { font-family: var(--display); font-weight: 600; font-size: 1.04rem; background: var(--panel) !important; color: #fff !important; padding: 22px 24px; box-shadow: none !important; }
.accordion-button .me-2 { color: var(--teal); font-family: var(--mono); }
.accordion-button:not(.collapsed) { background: var(--panel-2) !important; color: var(--teal-bright) !important; }
.accordion-button::after { background-image: none; content: "\2b"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--teal); width: auto; height: auto; transition: transform .2s ease; }
.accordion-button:not(.collapsed)::after { content: "\f068"; }
.accordion-body { background: var(--panel); color: var(--text-soft); line-height: 1.85; padding: 4px 24px 24px; }
#faqAccordion .accordion-button { text-align: left; }

/* ============================================================ RESPONSIVE */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-cell:nth-child(3) { border-left: 0; }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .cat-mosaic { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { order: -1; max-width: 420px; margin-inline: auto; }
    .pd-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-actions .btn { display: none; }
    .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .brand img { height: 56px; }
    .shop-toolbar { top: 78px; }
}
@media (max-width: 640px) {
    .wrap { padding-inline: 18px; }
    .cat-mosaic { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; gap: 18px; }
    .stat-cell + .stat-cell { border-left: 0; border-top: 1px solid var(--line); padding-top: 18px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .feature-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .hero-meta > div { flex-basis: 100%; }
    .pcard-title { font-size: .92rem; }
    .pcard-body { padding: 13px; }
}
