/* ==========================================================================
   Sky Glass — storefront styles
   Hand-written and served as a static file: no Vite/npm build step, so the
   site deploys to shared hosting (Namecheap Stellar) by upload alone.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
    --navy-950: #05051a;
    --navy-900: #08081f;
    --navy-800: #0d0d29;
    --navy-700: #131335;
    --navy-600: #1b1b45;

    --ink: #eceafc;
    --ink-soft: #c3c2e4;
    --muted: #9d9dc4;

    --line: rgba(255, 255, 255, 0.10);
    --line-strong: rgba(255, 255, 255, 0.18);

    --orange: #ff8a1e;
    --orange-deep: #f4530c;
    --red: #e0300d;
    --magenta: #e5119a;
    --cyan: #12b9e8;
    --green: #25d366;

    --brand: linear-gradient(103deg, #ff9d24 0%, #fb6410 42%, #e0300d 100%);
    --aurora: linear-gradient(103deg, #ffb020 0%, #e5119a 52%, #12b9e8 100%);

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 22px;

    --shadow-sm: 0 6px 20px -8px rgba(0, 0, 0, 0.6);
    --shadow: 0 22px 50px -22px rgba(0, 0, 0, 0.85);
    --shadow-glow: 0 18px 45px -18px rgba(240, 83, 12, 0.6);

    --container: 1200px;
    --header-h: 76px;

    --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    background-color: var(--navy-900);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Nebula wash behind everything, echoing the logo artwork. */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(60rem 40rem at 8% -8%, rgba(255, 138, 30, 0.20), transparent 60%),
        radial-gradient(55rem 38rem at 92% 4%, rgba(229, 17, 154, 0.22), transparent 62%),
        radial-gradient(50rem 40rem at 70% 96%, rgba(18, 185, 232, 0.16), transparent 60%),
        var(--navy-900);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Long product names, URLs and pasted CMS content must never widen the page. */
h1, h2, h3, h4, h5, p, li, td, th, dd, dt, a, span, strong {
    overflow-wrap: break-word;
}

a {
    color: inherit;
    text-decoration: none;
}

h1, h2, h3, h4, h5 {
    margin: 0 0 0.6em;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

p { margin: 0 0 1rem; }

ul, ol { margin: 0 0 1rem; padding-left: 1.2rem; }

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

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 200;
    padding: 12px 20px;
    background: var(--navy-700);
    border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
    left: 0;
}

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 20px;
}

.section {
    padding-block: clamp(2.75rem, 7vw, 6rem);
}

.section--tight { padding-block: clamp(2rem, 5vw, 4rem); }

.section-head {
    max-width: 720px;
    margin-bottom: 2.75rem;
}

.section-head--center {
    margin-inline: auto;
    text-align: center;
}

.section-head p {
    color: var(--muted);
    font-size: 1.05rem;
    margin: 0;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 0.9rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    background: var(--aurora);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.gradient-text {
    background: var(--brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.grid {
    display: grid;
    gap: 1.25rem;
}

.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.glass {
    background: linear-gradient(158deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.85rem 1.6rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.97rem;
    font-weight: 650;
    line-height: 1.2;
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
    text-align: center;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
    background: var(--brand);
    color: #fff;
    box-shadow: var(--shadow-glow);
}

.btn--whatsapp {
    background: var(--green);
    color: #04231a;
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--line-strong);
    color: var(--ink);
}

.btn--ghost:hover { background: rgba(255, 255, 255, 0.11); }

.btn--block { width: 100%; }
.btn--sm { padding: 0.6rem 1.15rem; font-size: 0.88rem; }
.btn--lg { padding: 1.05rem 2.1rem; font-size: 1.05rem; }

.btn svg { flex: none; }

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(8, 8, 31, 0.78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-height: var(--header-h);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex: none;
}

.logo img {
    height: 42px;
    width: auto;
    border-radius: 8px;
}

.logo-fallback {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-left: auto;
}

.main-nav a,
.nav-toggle-label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 550;
    color: var(--ink-soft);
    transition: color 0.15s ease, background-color 0.15s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
}

/* Categories dropdown */
.has-dropdown { position: relative; }

.dropdown-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    translate: -50% 0;
    min-width: 300px;
    padding: 0.6rem;
    background: rgba(13, 13, 41, 0.97);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}

.has-dropdown:hover .dropdown-panel,
.has-dropdown:focus-within .dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-panel a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0.85rem;
    border-radius: var(--radius-sm);
    width: 100%;
}

.dropdown-panel .count {
    font-size: 0.78rem;
    color: var(--muted);
}

.header-cta { flex: none; }

/* Kept in the accessibility tree (not display:none) so it stays keyboard
   reachable — the drawer works with CSS alone if JS never loads. */
.nav-toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--line);
}

.nav-toggle:focus-visible ~ .nav-toggle-label {
    outline: 2px solid var(--orange);
    outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    padding-block: clamp(3.5rem, 8vw, 6.5rem);
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: var(--hero-image, none);
    background-size: cover;
    background-position: center;
    opacity: 0.28;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 85%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 85%);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem 0.45rem 0.5rem;
    margin-bottom: 1.4rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-size: 0.85rem;
    color: var(--ink-soft);
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.18);
}

.hero h1 { margin-bottom: 1.1rem; }

.hero-sub {
    font-size: clamp(1.02rem, 1.6vw, 1.18rem);
    color: var(--ink-soft);
    max-width: 40rem;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 2.5rem;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2.4rem;
}

.hero-stats .num {
    display: block;
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: var(--aurora);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-stats .label {
    font-size: 0.85rem;
    color: var(--muted);
}

.hero-visual {
    position: relative;
    padding: 1.1rem;
}

.hero-visual img {
    width: 100%;
    border-radius: var(--radius);
}

.hero-visual .float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 1rem;
    background: rgba(13, 13, 41, 0.92);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    font-size: 0.85rem;
    white-space: nowrap;
}

.hero-visual .float-card--tl { top: -0.9rem; left: -1.1rem; }
.hero-visual .float-card--br { bottom: -1rem; right: -0.9rem; }

.hero-visual .float-card strong { display: block; font-size: 0.95rem; }
.hero-visual .float-card span { color: var(--muted); }

.icon-pill {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--brand);
    flex: none;
}

/* --------------------------------------------------------------------------
   7. Category cards
   -------------------------------------------------------------------------- */
.category-card {
    display: block;
    padding: 1.6rem;
    background: linear-gradient(158deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
    box-shadow: var(--shadow);
}

.category-card .cat-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 1.1rem;
    border-radius: 14px;
    background: var(--brand);
    box-shadow: var(--shadow-glow);
}

.category-card h3 { margin-bottom: 0.4rem; }

.category-card p {
    margin: 0 0 0.9rem;
    font-size: 0.92rem;
    color: var(--muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-card .cat-meta {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--orange);
}

/* --------------------------------------------------------------------------
   8. Product cards
   -------------------------------------------------------------------------- */
.product-card {
    display: flex;
    flex-direction: column;
    background: linear-gradient(158deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
    box-shadow: var(--shadow);
}

.product-thumb {
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--navy-700);
    overflow: hidden;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Placeholder shown until the client uploads a real product image. */
.product-thumb--empty {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 30% 25%, rgba(255, 138, 30, 0.35), transparent 55%),
        radial-gradient(circle at 75% 80%, rgba(229, 17, 154, 0.35), transparent 55%),
        var(--navy-700);
}

.product-thumb--empty span {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
}

.badge {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    padding: 0.28rem 0.7rem;
    background: var(--brand);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
}

.product-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.25rem;
}

.product-cat {
    font-size: 0.76rem;
    font-weight: 650;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.5rem;
}

.product-body h3 {
    font-size: 1.12rem;
    margin-bottom: 0.45rem;
}

.product-body p {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 1.1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
    padding-top: 0.9rem;
    border-top: 1px solid var(--line);
}

.price-from {
    display: block;
    font-size: 0.74rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.price {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: var(--brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* --------------------------------------------------------------------------
   9. Feature / step cards
   -------------------------------------------------------------------------- */
.feature-card {
    padding: 1.6rem;
    background: linear-gradient(158deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018));
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.feature-card .cat-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 1rem;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--line-strong);
}

.feature-card h3 { font-size: 1.08rem; margin-bottom: 0.35rem; }
.feature-card p { margin: 0; font-size: 0.92rem; color: var(--muted); }

.step-card {
    position: relative;
    padding: 1.75rem 1.6rem 1.6rem;
    background: linear-gradient(158deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018));
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.step-card .step-num {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: var(--brand);
    font-weight: 800;
    color: #fff;
    box-shadow: var(--shadow-glow);
}

.step-card h3 { font-size: 1.08rem; margin-bottom: 0.35rem; }
.step-card p { margin: 0; font-size: 0.92rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   App download band
   -------------------------------------------------------------------------- */
.app-download {
    position: relative;
    padding: clamp(2.2rem, 5vw, 3.4rem);
    border-radius: var(--radius-lg);
    border: 1px solid var(--line-strong);
    background:
        radial-gradient(40rem 20rem at 88% 0%, rgba(255, 138, 30, 0.16), transparent 65%),
        linear-gradient(158deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
    overflow: hidden;
}

.app-download-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.app-image {
    flex: none;
    display: grid;
    place-items: center;
    width: 100px;
    height: 100px;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius);
    background: var(--brand);
    box-shadow: var(--shadow-glow);
    color: #fff;
    overflow: hidden;
}

.app-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-download-body { flex: 1 1 18rem; }
.app-download-body h2 { margin-bottom: 0.5rem; }

.app-download-body p {
    margin: 0;
    max-width: 40rem;
    color: var(--ink-soft);
}

.app-download-actions { flex: none; }

.app-download-note {
    margin: 0.6rem 0 0;
    font-size: 0.8rem;
    color: var(--muted);
    max-width: 16rem;
}

/* --------------------------------------------------------------------------
   10. WhatsApp community band
   -------------------------------------------------------------------------- */
.community {
    position: relative;
    padding: clamp(2.2rem, 5vw, 3.4rem);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(37, 211, 102, 0.3);
    background:
        radial-gradient(40rem 20rem at 12% 0%, rgba(37, 211, 102, 0.16), transparent 65%),
        linear-gradient(158deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
    overflow: hidden;
}

.community-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.community h2 { margin-bottom: 0.5rem; }

.community p {
    margin: 0;
    max-width: 46rem;
    color: var(--ink-soft);
}

.community-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.wa-mark {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin-bottom: 1.2rem;
    border-radius: 18px;
    background: var(--green);
    box-shadow: 0 16px 40px -14px rgba(37, 211, 102, 0.8);
}

/* --------------------------------------------------------------------------
   11. FAQ
   -------------------------------------------------------------------------- */
.faq-item {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.035);
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.05rem 1.3rem;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: "+";
    flex: none;
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--orange);
    transition: transform 0.2s ease;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item .faq-body {
    padding: 0 1.3rem 1.15rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   12. Breadcrumbs & page header
   -------------------------------------------------------------------------- */
.page-head {
    padding-block: clamp(2.2rem, 5vw, 3.4rem);
    border-bottom: 1px solid var(--line);
}

.page-head h1 { margin-bottom: 0.5rem; }

.page-head p {
    margin: 0;
    color: var(--muted);
    max-width: 46rem;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1rem;
    padding: 0;
    list-style: none;
    font-size: 0.85rem;
    color: var(--muted);
}

.breadcrumb li { display: flex; align-items: center; gap: 0.45rem; }
.breadcrumb li + li::before { content: "/"; opacity: 0.5; }
.breadcrumb a:hover { color: var(--orange); }

/* --------------------------------------------------------------------------
   13. Product detail
   -------------------------------------------------------------------------- */
.product-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 2.5rem;
    align-items: start;
}

.product-hero-img {
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    margin-bottom: 1rem;
}

.product-hero-img img { width: 100%; height: 100%; object-fit: cover; }

.gallery-strip {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.gallery-strip button {
    width: 84px;
    aspect-ratio: 1 / 1;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: none;
    cursor: pointer;
    transition: border-color 0.15s ease;
}

.gallery-strip button:hover,
.gallery-strip button[aria-current="true"] { border-color: var(--orange); }

.gallery-strip img { width: 100%; height: 100%; object-fit: cover; }

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: grid;
    gap: 0.7rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    color: var(--ink-soft);
}

.feature-list .tick {
    flex: none;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    margin-top: 0.15rem;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.15);
    border: 1px solid rgba(37, 211, 102, 0.4);
}

/* Order panel */
.order-panel {
    position: sticky;
    top: calc(var(--header-h) + 20px);
    padding: 1.6rem;
    background: linear-gradient(158deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.025));
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.panel-title {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.9rem;
}

.plan-list {
    display: grid;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
}

.plan-option { position: relative; display: block; cursor: pointer; }

.plan-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.plan-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.03);
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.plan-option:hover .plan-box { border-color: var(--line-strong); }

.plan-option input:checked + .plan-box {
    border-color: var(--orange);
    background: rgba(255, 138, 30, 0.1);
    box-shadow: 0 0 0 1px var(--orange) inset;
}

.plan-option input:focus-visible + .plan-box {
    outline: 2px solid var(--orange);
    outline-offset: 2px;
}

.plan-name { font-weight: 650; }

.plan-note {
    display: block;
    font-size: 0.8rem;
    color: var(--muted);
}

.plan-price { text-align: right; flex: none; }

.plan-price .now {
    font-weight: 800;
    font-size: 1.1rem;
}

.plan-price .was {
    display: block;
    font-size: 0.8rem;
    color: var(--muted);
    text-decoration: line-through;
}

.plan-tag {
    display: inline-block;
    margin-left: 0.5rem;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    background: var(--brand);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    vertical-align: middle;
}

.total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    margin-bottom: 1.1rem;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.total-row .label { color: var(--muted); font-size: 0.92rem; }

.total-row .amount {
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: var(--brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.panel-note {
    margin: 1rem 0 0;
    font-size: 0.82rem;
    color: var(--muted);
    text-align: center;
}

/* --------------------------------------------------------------------------
   14. Forms
   -------------------------------------------------------------------------- */
.field { margin-bottom: 1rem; }

.field label,
.form-label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.87rem;
    font-weight: 600;
    color: var(--ink-soft);
}

.field .req { color: var(--orange); }

.input,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="url"],
select,
textarea {
    width: 100%;
    padding: 0.75rem 0.95rem;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

input::placeholder,
textarea::placeholder { color: #7c7ca6; }

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--orange);
    background: rgba(255, 255, 255, 0.08);
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%239d9dc4' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.95rem center;
    padding-right: 2.4rem;
}

select option { background: var(--navy-800); color: var(--ink); }

textarea { resize: vertical; min-height: 120px; }

.field-error {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.82rem;
    color: #ff8f7a;
}

.input-error { border-color: #ff8f7a !important; }

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.qty-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qty-control button {
    width: 40px;
    height: 40px;
    flex: none;
    font-size: 1.2rem;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.qty-control button:hover { background: rgba(255, 255, 255, 0.12); }
.qty-control input { text-align: center; }

/* --------------------------------------------------------------------------
   15. Alerts
   -------------------------------------------------------------------------- */
.alert {
    padding: 1rem 1.2rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    font-size: 0.93rem;
}

.alert--success {
    border-color: rgba(37, 211, 102, 0.45);
    background: rgba(37, 211, 102, 0.12);
}

.alert--error {
    border-color: rgba(255, 143, 122, 0.45);
    background: rgba(255, 143, 122, 0.11);
}

.alert ul { margin: 0.4rem 0 0; padding-left: 1.1rem; }

/* --------------------------------------------------------------------------
   16. Pagination
   -------------------------------------------------------------------------- */
.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 2.5rem;
    padding: 0;
    list-style: none;
}

.pagination a,
.pagination span {
    display: grid;
    place-items: center;
    min-width: 42px;
    height: 42px;
    padding-inline: 0.75rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--ink-soft);
    background: rgba(255, 255, 255, 0.035);
}

.pagination a:hover { border-color: var(--orange); color: #fff; }

.pagination .is-active span {
    background: var(--brand);
    border-color: transparent;
    color: #fff;
    font-weight: 700;
}

.pagination .is-disabled span { opacity: 0.35; }

/* --------------------------------------------------------------------------
   17. Prose (CMS page content)
   -------------------------------------------------------------------------- */
.prose {
    max-width: 60rem;
    color: var(--ink-soft);
    font-size: 1.02rem;
}

.prose h2 {
    margin-top: 2.4rem;
    font-size: clamp(1.35rem, 2.4vw, 1.7rem);
    color: var(--ink);
}

.prose h2:first-child { margin-top: 0; }

.prose h3 {
    margin-top: 1.8rem;
    font-size: 1.18rem;
    color: var(--ink);
}

.prose ul, .prose ol { margin-bottom: 1.2rem; }
.prose li { margin-bottom: 0.45rem; }
.prose strong { color: var(--ink); }
.prose em { color: var(--muted); }

.prose a {
    color: var(--orange);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* CMS-authored tables scroll inside themselves instead of stretching the page. */
.prose table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    display: block;
    overflow-x: auto;
    white-space: nowrap;
}

@media (min-width: 720px) {
    .prose table { display: table; white-space: normal; }
}

.prose th, .prose td {
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--line);
    text-align: left;
}

.prose th { background: rgba(255, 255, 255, 0.05); color: var(--ink); }

.prose blockquote {
    margin: 0 0 1.2rem;
    padding: 0.8rem 1.2rem;
    border-left: 3px solid var(--orange);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* --------------------------------------------------------------------------
   18. Order success
   -------------------------------------------------------------------------- */
.success-wrap {
    max-width: 720px;
    margin-inline: auto;
    text-align: center;
}

.success-mark {
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
    margin: 0 auto 1.6rem;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.14);
    border: 1px solid rgba(37, 211, 102, 0.45);
}

.order-summary {
    text-align: left;
    padding: 1.6rem;
    margin-block: 2rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem;
}

.summary-row:last-child { border-bottom: none; }
.summary-row .k { color: var(--muted); }
.summary-row .v { font-weight: 600; text-align: right; }

.payment-box {
    text-align: left;
    padding: 1.5rem;
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.035);
    margin-bottom: 2rem;
}

.payment-box h3 { font-size: 1.05rem; }

.payment-box pre {
    margin: 0.8rem 0 0;
    padding: 0.9rem 1rem;
    background: rgba(0, 0, 0, 0.28);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.92rem;
    color: var(--ink);
    white-space: pre-wrap;
}

/* --------------------------------------------------------------------------
   19. Footer
   -------------------------------------------------------------------------- */
.site-footer {
    margin-top: clamp(3rem, 6vw, 5rem);
    padding-top: clamp(3rem, 6vw, 4.5rem);
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 40%);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 2.5rem;
    padding-bottom: 3rem;
}

.footer-about p {
    color: var(--muted);
    font-size: 0.93rem;
    max-width: 24rem;
    margin-top: 1.1rem;
}

.footer h4 {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 1.1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.65rem;
}

.footer-links a {
    color: var(--ink-soft);
    font-size: 0.93rem;
    transition: color 0.15s ease;
}

.footer-links a:hover { color: var(--orange); }

.footer-contact {
    display: grid;
    gap: 0.8rem;
    font-size: 0.93rem;
    color: var(--ink-soft);
}

.footer-contact div {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.footer-contact svg { flex: none; margin-top: 0.22rem; opacity: 0.75; }

.social-row {
    display: flex;
    gap: 0.6rem;
    margin-top: 1.4rem;
}

.social-row a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.social-row a:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--orange); }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding-block: 1.5rem;
    border-top: 1px solid var(--line);
    font-size: 0.87rem;
    color: var(--muted);
}

.footer-bottom nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
}

.footer-bottom a:hover { color: var(--orange); }

.footer-disclaimer {
    padding-bottom: 2rem;
    font-size: 0.8rem;
    line-height: 1.6;
    color: #7c7ca6;
}

/* --------------------------------------------------------------------------
   20. Floating WhatsApp button
   -------------------------------------------------------------------------- */
.wa-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 80;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 1.15rem 0.7rem 0.75rem;
    background: var(--green);
    color: #04231a;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.92rem;
    box-shadow: 0 14px 36px -10px rgba(37, 211, 102, 0.75);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.wa-float:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 18px 44px -10px rgba(37, 211, 102, 0.9);
}

.wa-float svg { flex: none; }

.wa-float::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 2px solid rgba(37, 211, 102, 0.55);
    animation: wa-ping 2.4s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes wa-ping {
    0% { transform: scale(1); opacity: 0.8; }
    70%, 100% { transform: scale(1.28); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .wa-float::before { animation: none; }
    html { scroll-behavior: auto; }
    * { transition-duration: 0.01ms !important; }
}

/* --------------------------------------------------------------------------
   21. Search bar
   -------------------------------------------------------------------------- */
.search-bar {
    display: flex;
    gap: 0.6rem;
    max-width: 520px;
    margin-bottom: 2rem;
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.chip {
    padding: 0.5rem 1.05rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 0.88rem;
    color: var(--ink-soft);
    background: rgba(255, 255, 255, 0.04);
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.chip:hover { border-color: var(--line-strong); }

.chip.is-active {
    background: var(--brand);
    border-color: transparent;
    color: #fff;
    font-weight: 650;
}

.empty-state {
    padding: 4rem 1.5rem;
    text-align: center;
    color: var(--muted);
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius-lg);
}

/* --------------------------------------------------------------------------
   22. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1040px) {
    .grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .product-layout { grid-template-columns: 1fr; }
    .order-panel { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    /* Collapse the nav into a checkbox-driven drawer — no JS dependency. */
    .nav-toggle-label { display: inline-flex; margin-left: auto; }

    .main-nav {
        position: fixed;
        inset: var(--header-h) 0 auto 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0.2rem;
        margin: 0;
        padding: 1rem 20px 1.5rem;
        background: rgba(8, 8, 31, 0.98);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        border-bottom: 1px solid var(--line);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: max-height 0.25s ease, opacity 0.2s ease, visibility 0.25s;
    }

    .nav-toggle:checked ~ .main-nav {
        max-height: calc(100vh - var(--header-h));
        overflow-y: auto;
        opacity: 1;
        visibility: visible;
    }

    .main-nav a { padding: 0.8rem 0.9rem; }

    .dropdown-panel {
        position: static;
        translate: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        min-width: 0;
        margin: 0.2rem 0 0.4rem;
        padding: 0.3rem;
        background: rgba(255, 255, 255, 0.04);
        box-shadow: none;
    }

    .header-cta { display: none; }
}

@media (max-width: 640px) {
    .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }

    /* Product cards stay two-up on phones — the usual shopping pattern —
       until the viewport is too narrow for the price row to breathe. */
    .grid--products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
    .grid--products .product-body { padding: 0.9rem; }
    .grid--products .product-body h3 { font-size: 1rem; }
    .grid--products .product-body p { display: none; }
    .grid--products .product-foot { flex-direction: column; align-items: stretch; gap: 0.6rem; }
    .grid--products .btn { width: 100%; }

    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 1.25rem 2rem; }
    .hero-actions .btn { width: 100%; }
    .community-inner { flex-direction: column; align-items: flex-start; }
    .community-actions { width: 100%; }
    .community-actions .btn { flex: 1 1 auto; }
    .app-download-inner { flex-direction: column; align-items: flex-start; }
    .app-download-actions { width: 100%; }
    .app-download-actions .btn { width: 100%; }
    .wa-float span { display: none; }
    .wa-float { padding: 0.85rem; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .search-bar { flex-direction: column; }
    .search-bar .btn { width: 100%; }
    .order-panel { padding: 1.15rem; }
    .plan-box { padding: 0.8rem 0.9rem; }
    .page-head h1 { font-size: clamp(1.7rem, 8vw, 2.2rem); }
}

@media (max-width: 430px) {
    .grid--products { grid-template-columns: 1fr; }
    .grid--products .product-body p { display: -webkit-box; }
    .grid--products .product-foot { flex-direction: row; align-items: flex-end; }
    .grid--products .btn { width: auto; }
    .container { padding-inline: 16px; }
    .hero-stats { gap: 1rem 1.75rem; }
    .hero-stats .num { font-size: 1.45rem; }
}
