/* =========================================================
   Bemony Marketplace — global stylesheet
   Same key visual as bemony.com (Plus Jakarta Sans headings,
   Inter text, green #2B9664, soft cards with a green-tinted
   shadow), light by default with a dark theme behind the
   toggle in the header.
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
    /* "--acid" is the brand fill colour (buttons, badges, selection). The name
       stayed from the previous identity so every rule that uses it follows. */
    --acid: #2b9664;
    --acid-press: #237f54;
    --ink-on-acid: #ffffff;
    --brand-glow: 43, 150, 100;
    --mint: #1ff0b0;

    --bg: #f9fbfa;
    --bg-elev: #ffffff;
    --bg-sunk: #eef3f1;
    --text: #12211c;
    --text-dim: #33453f;
    --text-mute: #677c75;
    --line: rgba(18, 33, 28, 0.08);
    --line-strong: rgba(18, 33, 28, 0.16);
    --surface: #ffffff;
    --surface-2: #f7faf9;
    --accent-ink: #1d6a46;
    --acid-soft: #e3f5eb;
    --acid-line: rgba(43, 150, 100, 0.3);
    --stage: radial-gradient(120% 90% at 50% 100%, rgba(43, 150, 100, 0.18), transparent 62%), #eef4f1;
    --shadow-s: 0 1px 3px rgba(31, 82, 59, 0.06), 0 8px 24px rgba(31, 82, 59, 0.06);
    --shadow-l: 0 12px 40px -8px rgba(31, 82, 59, 0.16);
    --danger: #e5484d;
    --star: #f2b01e;
    --nav-bg: rgba(249, 251, 250, 0.82);
    --band-bg: #12211c;

    --radius-s: 8px;
    --radius: 12px;
    --radius-l: 20px;
    --radius-btn: 10px;
    --shell: 1240px;
    --gutter: 24px;
    --nav-h: 72px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-display: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color-scheme: light;
}

:root[data-theme="dark"] {
    --acid: #30a66e;
    --acid-press: #3bb97c;
    --bg: #0c1311;
    --bg-elev: #141c19;
    --bg-sunk: #0f1715;
    --text: #f0f5f3;
    --text-dim: #d3ded9;
    --text-mute: #8fa39a;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.16);
    --surface: #141c19;
    --surface-2: #18221e;
    --accent-ink: #85dcb2;
    --acid-soft: rgba(48, 166, 110, 0.16);
    --acid-line: rgba(48, 166, 110, 0.35);
    --stage: radial-gradient(120% 90% at 50% 100%, rgba(48, 166, 110, 0.18), transparent 62%), #121b18;
    --shadow-s: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-l: 0 24px 60px -24px rgba(0, 0, 0, 0.8);
    --danger: #ff6b5e;
    --nav-bg: rgba(12, 19, 17, 0.8);
    --band-bg: #141c19;
    color-scheme: dark;
}

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

html {
    -webkit-text-size-adjust: 100%;
    overflow-x: clip;
}

/* Anchor targets stop below the sticky header. This lives on the targets, not
   as scroll-padding on html: the header search sits inside that padding, and
   the browser would then scroll the page on every keystroke trying to bring
   the (sticky, unmovable) field into view. */
[id] {
    scroll-margin-top: calc(var(--nav-h) + 16px);
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: -0.011em;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

img,
svg {
    max-width: 100%;
    display: block;
}

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

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.08;
}

p,
ul,
ol,
figure {
    margin: 0;
}

::selection {
    background: var(--acid);
    color: var(--ink-on-acid);
}

:focus-visible {
    outline: 2px solid var(--accent-ink);
    outline-offset: 3px;
    border-radius: 6px;
}

[hidden] {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.icon {
    width: 20px;
    height: 20px;
    flex: none;
}

/* ---------- Layout helpers ---------- */
.shell {
    width: 100%;
    max-width: var(--shell);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

main {
    padding-top: var(--nav-h);
    min-height: 70vh;
}

.section {
    padding-block: clamp(40px, 6vw, 72px);
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}

.section-head p {
    color: var(--text-mute);
    margin-top: 8px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 10px;
    border: 1px solid var(--acid-line);
    border-radius: 999px;
    background: var(--acid-soft);
    color: var(--accent-ink);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eyebrow .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-ink);
    animation: pulse 2.4s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--brand-glow), 0.5);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(var(--brand-glow), 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(var(--brand-glow), 0);
    }
}

.h-xl {
    font-size: clamp(2.3rem, 5.6vw, 4.1rem);
}

.h-lg {
    font-size: clamp(1.7rem, 3.4vw, 2.5rem);
}

.h-md {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

.lead {
    color: var(--text-dim);
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.65;
}

.mark {
    color: var(--acid);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: var(--radius-btn);
    border: 1px solid transparent;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    white-space: nowrap;
    transition: transform 0.35s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease),
        color 0.3s var(--ease), box-shadow 0.35s var(--ease);
}

.btn svg {
    width: 17px;
    height: 17px;
    transition: transform 0.35s var(--ease);
}

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

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--acid);
    color: var(--ink-on-acid);
    box-shadow: 0 10px 30px -12px rgba(var(--brand-glow), 0.55);
}

.btn-primary:hover {
    background: var(--acid-press);
    box-shadow: 0 18px 40px -14px rgba(var(--brand-glow), 0.65);
}

.btn-dark {
    background: var(--text);
    color: var(--bg);
}

.btn-dark:hover {
    box-shadow: var(--shadow-l);
}

.btn-ghost {
    border-color: var(--line-strong);
    background: var(--surface);
    color: var(--text);
}

.btn-ghost:hover {
    border-color: var(--acid-line);
    color: var(--accent-ink);
    background: var(--acid-soft);
}

.btn-block {
    width: 100%;
}

.btn-lg {
    padding: 17px 30px;
    font-size: 16px;
}

.btn-sm {
    padding: 9px 16px;
    font-size: 13.5px;
}

.btn[disabled] {
    opacity: 0.5;
    pointer-events: none;
}

.icon-btn {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-btn);
    border: 1px solid var(--line-strong);
    background: var(--surface);
    transition: border-color 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}

.icon-btn:hover {
    border-color: var(--acid-line);
    background: var(--acid-soft);
}

.icon-btn .icon {
    width: 19px;
    height: 19px;
}

/* theme toggle swaps its own icon */
.theme-toggle .i-moon {
    display: block;
}
.theme-toggle .i-sun {
    display: none;
}
:root[data-theme="dark"] .theme-toggle .i-moon {
    display: none;
}
:root[data-theme="dark"] .theme-toggle .i-sun {
    display: block;
}

/* ---------- Announcement + Navigation ---------- */
.topbar {
    background: var(--text);
    color: var(--bg);
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    padding: 8px var(--gutter);
}

.topbar strong {
    color: var(--mint);
}

:root[data-theme="dark"] .topbar {
    background: var(--acid);
    color: var(--ink-on-acid);
}

:root[data-theme="dark"] .topbar strong {
    color: var(--ink-on-acid);
}

.nav {
    position: sticky;
    top: 0;
    z-index: 60;
    background: var(--nav-bg);
    backdrop-filter: saturate(1.4) blur(16px);
    -webkit-backdrop-filter: saturate(1.4) blur(16px);
    border-bottom: 1px solid var(--line);
}

/* the nav is sticky, so main does not need the fixed-header offset */
.has-sticky-nav main {
    padding-top: 0;
}

.nav-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    height: var(--nav-h);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: none;
}

.logo img {
    height: 32px;
    width: auto;
}

.logo-word {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-name {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
}

.logo-tag {
    margin-top: 4px;
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-mute);
}

.nav-search {
    flex: 1;
    max-width: 560px;
    margin-inline: auto;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.nav-search + .nav-actions {
    margin-left: 0;
}

/* ---------- Search ---------- */
.search {
    position: relative;
}

.search-field {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 46px;
    padding: 0 6px 0 16px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-btn);
    background: var(--surface);
    transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.search-field:focus-within {
    border-color: var(--acid-line);
    box-shadow: 0 0 0 4px var(--acid-soft);
}

.search-field .icon {
    color: var(--text-mute);
    width: 18px;
    height: 18px;
}

.search-field input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 15px;
}

.search-field input::placeholder {
    color: var(--text-mute);
}

.search-field input::-webkit-search-cancel-button {
    display: none;
}

.search-kbd {
    padding: 2px 8px;
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    font-size: 12px;
    color: var(--text-mute);
}

.search-field:focus-within .search-kbd {
    display: none;
}

.search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 70;
    max-height: min(70vh, 480px);
    overflow-y: auto;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-elev);
    box-shadow: var(--shadow-l);
}

.search-results[hidden] {
    display: none;
}

.sr-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px;
    border-radius: 12px;
}

.sr-item:hover,
.sr-item.is-active {
    background: var(--acid-soft);
}

.sr-item img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 10px;
    background: var(--stage);
}

.sr-item b {
    display: block;
    font-size: 14.5px;
    font-weight: 600;
}

.sr-item span {
    font-size: 12.5px;
    color: var(--text-mute);
}

.sr-item .sr-price {
    margin-left: auto;
    font-weight: 600;
    font-size: 14px;
    color: var(--text);
}

.sr-empty,
.sr-all {
    display: block;
    padding: 12px;
    font-size: 14px;
    color: var(--text-mute);
}

.sr-all {
    border-top: 1px solid var(--line);
    margin-top: 6px;
    font-weight: 600;
    color: var(--accent-ink);
}

mark {
    background: var(--acid-soft);
    color: inherit;
    border-radius: 3px;
}

/* ---------- Hero ---------- */
/* The glow behind the hero must not spill over the header, but the search
   suggestions have to drop over the section below. So clip the top edge only
   (sideways overflow is already clipped by html), not every side. */
.hero {
    position: relative;
    z-index: 2;
    clip-path: inset(0 -100vw -100vh -100vw);
    padding-block: clamp(44px, 7vw, 88px) clamp(36px, 5vw, 56px);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 70% 70% at 70% 30%, #000 10%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 30%, #000 10%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    width: 620px;
    height: 620px;
    top: -260px;
    right: -120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--brand-glow), 0.3), transparent 66%);
    filter: blur(40px);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 48px;
}

.hero-grid > * {
    min-width: 0;
}

.hero h1 {
    margin-top: 22px;
}

.hero .lead {
    margin-top: 18px;
    max-width: 520px;
}

.hero-search {
    margin-top: 30px;
    max-width: 560px;
}

.hero-search .search-field {
    height: 58px;
    padding-left: 20px;
    box-shadow: var(--shadow-s);
}

.hero-search .search-field input {
    font-size: 16px;
}

.hero-stage {
    position: relative;
    aspect-ratio: 1 / 0.86;
}

.hero-stage .stage-bg {
    position: absolute;
    inset: 6% 4% 0;
    border-radius: 32px;
    background: var(--stage);
    border: 1px solid var(--line);
}

/* A loose, scattered arrangement: different sizes, slight tilts, a little
   overlap, each piece drifting on its own rhythm. Every product image is a
   square with the product on the same baseline, so a slot only sets size,
   position, tilt and depth. */
.hero-stage .hs {
    position: absolute;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
    filter: drop-shadow(0 18px 18px rgba(18, 33, 28, 0.16));
    rotate: var(--r, 0deg);
    animation: drift-hs var(--d, 7s) ease-in-out var(--delay, 0s) infinite alternate;
}

@keyframes drift-hs {
    from {
        translate: 0 0;
    }
    to {
        translate: 0 -12px;
    }
}

.hero-stage .hs-1 { width: 30%; left: 6%;  top: 21%;    --r: -10deg; --d: 6.5s; z-index: 2; }
.hero-stage .hs-2 { width: 30%; left: 35.5%; top: 12%;     --r: 7deg;   --d: 8s; --delay: -2s; z-index: 1; }
.hero-stage .hs-3 { width: 23%; right: 8%; top: 22%;    --r: 10deg;  --d: 7s; --delay: -4s; z-index: 2; }
.hero-stage .hs-4 { width: 30%; left: 7%;  bottom: 7%; --r: 5deg;   --d: 7.5s; --delay: -1s; z-index: 3; }
.hero-stage .hs-5 { width: 30%; left: 35.5%; bottom: 10%; --r: -4deg;  --d: 6s; --delay: -3s; z-index: 4; }
.hero-stage .hs-6 { width: 29%; right: 7%; bottom: 11%; --r: -7deg;  --d: 8.5s; --delay: -5s; z-index: 3; }

.hero-chip {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 14px;
    background: var(--bg-elev);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-l);
    font-size: 13px;
    font-weight: 600;
}

.hero-chip .icon {
    width: 28px;
    height: 28px;
    padding: 6px;
    border-radius: 9px;
    background: var(--acid);
    color: var(--ink-on-acid);
}

.hero-chip small {
    display: block;
    font-weight: 500;
    color: var(--text-mute);
    font-size: 12px;
}

.hero-chip.c1 {
    top: 1%;
    left: -2%;
    animation: float 6s ease-in-out infinite;
}

.hero-chip.c2 {
    bottom: -4%;
    right: -2%;
    animation: float 7s ease-in-out infinite reverse;
}

@keyframes float {
    50% {
        transform: translateY(-10px);
    }
}

/* ---------- Trust strip ---------- */
.trust {
    border-block: 1px solid var(--line);
    background: var(--surface);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 18px;
}

.trust-item + .trust-item {
    border-left: 1px solid var(--line);
}

.trust-item .icon {
    width: 40px;
    height: 40px;
    padding: 9px;
    border-radius: 12px;
    background: var(--acid-soft);
    color: var(--accent-ink);
    border: 1px solid var(--acid-line);
}

.trust-item b {
    display: block;
    font-size: 14.5px;
}

.trust-item span {
    font-size: 13px;
    color: var(--text-mute);
}

/* ---------- Category rail ---------- */
.cat-bar {
    position: sticky;
    top: var(--nav-h);
    z-index: 40;
    background: var(--nav-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
}

.cat-rail {
    display: flex;
    gap: 8px;
    padding-block: 12px;
    overflow-x: auto;
    scrollbar-width: none;
}

.cat-rail::-webkit-scrollbar {
    display: none;
}

.cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: none;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: var(--surface);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dim);
    transition: all 0.25s var(--ease);
}

.cat-pill:hover {
    border-color: var(--acid-line);
    color: var(--text);
}

.cat-pill[aria-pressed="true"] {
    background: var(--text);
    border-color: var(--text);
    color: var(--bg);
}

.cat-pill small {
    font-size: 12px;
    opacity: 0.6;
}

/* ---------- Category tiles ---------- */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
}

.cat-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 168px;
    padding: 18px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--stage);
    overflow: hidden;
    transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}

.cat-tile:hover {
    transform: translateY(-4px);
    border-color: var(--acid-line);
}

.cat-tile b {
    position: relative;
    z-index: 1;
    font-size: 14px;
    letter-spacing: -0.02em;
}

.cat-tile span {
    position: relative;
    z-index: 1;
    font-size: 12.5px;
    color: var(--text-mute);
}

.cat-tile img {
    position: absolute;
    right: -6px;
    bottom: -10px;
    height: 72%;
    width: auto;
    filter: drop-shadow(0 10px 10px rgba(18, 33, 28, 0.16));
    transition: transform 0.5s var(--ease);
}

.cat-tile:hover img {
    transform: translateY(-4px) rotate(-3deg);
}

/* ---------- Toolbar (results + sort) ---------- */
.toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
}

.toolbar h2 {
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
}

.toolbar p {
    color: var(--text-mute);
    font-size: 14px;
    margin-top: 4px;
}

.select {
    appearance: none;
    padding: 10px 40px 10px 16px;
    border-radius: var(--radius-btn);
    border: 1px solid var(--line-strong);
    background: var(--surface)
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7362' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")
        no-repeat right 14px center / 16px;
    font-size: 14px;
}

.clear-filter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-ink);
    background: none;
    border: 0;
    padding: 0;
}

/* ---------- Product grid / card ---------- */
.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.p-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    overflow: hidden;
    transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.p-card:hover {
    transform: translateY(-5px);
    border-color: var(--acid-line);
    box-shadow: var(--shadow-l);
}

.p-media {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    background: var(--stage);
}

.p-media img {
    position: absolute;
    inset: 10%;
    width: 80%;
    height: 80%;
    object-fit: contain;
    filter: drop-shadow(0 14px 14px rgba(18, 33, 28, 0.16));
    transition: transform 0.6s var(--ease), opacity 0.4s var(--ease);
}

.p-media img.alt {
    opacity: 0;
}

.p-card:hover .p-media img.main {
    transform: scale(1.05);
}

.p-card:hover .p-media img.alt {
    opacity: 1;
}

.p-card:hover .p-media img.alt + img.main,
.p-card:hover .p-media:has(img.alt) img.main {
    opacity: 0;
}

.p-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--acid);
    color: var(--ink-on-acid);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.p-tag.is-dark {
    background: var(--text);
    color: var(--bg);
}

.p-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 6px;
    padding: 16px 16px 18px;
}

.p-cat {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-ink);
}

.p-name {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.p-name a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.p-desc {
    font-size: 13.5px;
    color: var(--text-mute);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--text-mute);
}

.stars {
    --pct: 100%;
    position: relative;
    display: inline-block;
    font-size: 13px;
    letter-spacing: 1px;
    line-height: 1;
    color: var(--line-strong);
}

.stars::before {
    content: "★★★★★";
}

.stars::after {
    content: "★★★★★";
    position: absolute;
    inset: 0;
    width: var(--pct);
    overflow: hidden;
    color: var(--star);
}

.p-foot {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 10px;
}

.price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 8px;
}

.price-from {
    width: 100%;
    font-size: 11.5px;
    color: var(--text-mute);
}

.price-now {
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.price-was {
    font-size: 13.5px;
    color: var(--text-mute);
    text-decoration: line-through;
}

.price-unit {
    font-size: 12.5px;
    color: var(--text-mute);
}

.empty {
    padding: 64px 24px;
    text-align: center;
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius-l);
    color: var(--text-mute);
}

.empty h3 {
    color: var(--text);
    margin-bottom: 8px;
}

.empty .btn {
    margin-top: 20px;
}

/* skeletons while the catalogue loads */
.skel {
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: linear-gradient(90deg, var(--bg-sunk) 0%, var(--surface) 50%, var(--bg-sunk) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite linear;
    aspect-ratio: 0.72;
}

@keyframes shimmer {
    to {
        background-position: -200% 0;
    }
}

.cat-section + .cat-section {
    margin-top: clamp(40px, 6vw, 64px);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: none;
    color: var(--accent-ink);
    font-size: 14px;
    font-weight: 600;
    background: none;
    border: 0;
    padding: 0;
}

.link-arrow svg {
    width: 15px;
    height: 15px;
    transition: transform 0.35s var(--ease);
}

.link-arrow:hover svg {
    transform: translateX(4px);
}

/* ---------- Promo band ---------- */
.band {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 32px;
    padding: clamp(28px, 5vw, 56px);
    border-radius: var(--radius-l);
    background: var(--band-bg);
    color: #f0f5f3;
}

.band::after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -120px;
    top: -200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--brand-glow), 0.35), transparent 66%);
}

.band > * {
    position: relative;
    z-index: 1;
}

.band .eyebrow {
    color: #85dcb2;
    border-color: rgba(133, 220, 178, 0.28);
    background: rgba(133, 220, 178, 0.1);
}

.band h2 {
    margin-top: 18px;
}

.band p {
    margin-top: 14px;
    color: #b7c7c0;
    max-width: 460px;
}

.band-steps {
    display: grid;
    gap: 12px;
}

.band-step {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
}

.band-step b {
    display: grid;
    place-items: center;
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--acid);
    color: var(--ink-on-acid);
    font-size: 14px;
}

.band-step span {
    font-size: 14.5px;
}

.band-step small {
    display: block;
    color: #8fa39a;
    font-size: 12.5px;
}

/* ---------- Breadcrumb ---------- */
.crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding-block: 22px 8px;
    font-size: 13.5px;
    color: var(--text-mute);
}

.crumbs a:hover {
    color: var(--accent-ink);
}

.crumbs span[aria-current] {
    color: var(--text);
    font-weight: 500;
}

/* ---------- Product page ---------- */
.pdp {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(28px, 5vw, 64px);
    align-items: start;
    padding-block: 16px clamp(40px, 6vw, 72px);
}

.pdp > * {
    min-width: 0;
}

.gallery {
    position: sticky;
    top: calc(var(--nav-h) + 20px);
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 14px;
}

.thumbs {
    display: grid;
    align-content: start;
    gap: 10px;
}

.thumb {
    position: relative;
    aspect-ratio: 1;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--stage);
    transition: border-color 0.25s var(--ease);
}

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

.thumb[aria-current="true"] {
    border-color: var(--text);
    box-shadow: 0 0 0 1px var(--text);
}

.thumb-label {
    position: absolute;
    left: 4px;
    right: 4px;
    bottom: 4px;
    padding: 1px 0;
    border-radius: 5px;
    background: var(--text);
    color: var(--bg);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-align: center;
    text-transform: uppercase;
}

.stage {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius-l);
    border: 1px solid var(--line);
    background: var(--stage);
    overflow: hidden;
    cursor: zoom-in;
}

.stage img {
    position: absolute;
    inset: 8%;
    width: 84%;
    height: 84%;
    object-fit: contain;
    filter: drop-shadow(0 22px 22px rgba(18, 33, 28, 0.18));
    animation: fadeIn 0.4s var(--ease);
}

.stage img.is-label {
    inset: 5%;
    width: 90%;
    height: 90%;
    filter: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.98);
    }
}

.stage-hint {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--bg-elev);
    border: 1px solid var(--line);
    font-size: 12px;
    font-weight: 600;
}

.stage-hint .icon {
    width: 14px;
    height: 14px;
}

.buybox h1 {
    font-size: clamp(2rem, 3.6vw, 2.8rem);
    margin-top: 12px;
}

.buybox .tagline {
    margin-top: 12px;
    color: var(--text-dim);
    font-size: 16.5px;
}

.buybox .rating {
    margin-top: 14px;
}

.pdp-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 12px;
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.pdp-price .price-now {
    font-size: 34px;
}

.pdp-price .price-was {
    font-size: 17px;
}

.save-pill {
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--acid);
    color: var(--ink-on-acid);
    font-size: 12.5px;
    font-weight: 700;
}

.pdp-price .price-unit {
    width: 100%;
    font-size: 13.5px;
}

.opt-label {
    display: flex;
    justify-content: space-between;
    margin: 26px 0 12px;
    font-size: 14px;
    font-weight: 600;
}

.opt-label span {
    font-weight: 500;
    color: var(--text-mute);
}

.packs {
    display: grid;
    gap: 10px;
}

.pack {
    position: relative;
    display: grid;
    grid-template-columns: auto 56px 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 12px 16px 12px 14px;
    border: 1.5px solid var(--line-strong);
    border-radius: 14px;
    background: var(--surface);
    cursor: pointer;
    transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.pack:hover {
    border-color: var(--acid-line);
}

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

.pack .radio {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--line-strong);
    transition: all 0.2s var(--ease);
}

.pack:has(input:checked) {
    border-color: var(--text);
    background: var(--surface-2);
}

.pack:has(input:checked) .radio {
    border: 6px solid var(--text);
}

.pack:has(input:focus-visible) {
    outline: 2px solid var(--accent-ink);
    outline-offset: 2px;
}

.pack img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.pack-title {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.015em;
}

.pack-sub {
    display: block;
    font-size: 12.5px;
    color: var(--text-mute);
}

.pack-price {
    text-align: right;
}

.pack-price b {
    display: block;
    font-size: 17px;
    letter-spacing: -0.02em;
}

.pack-price s {
    font-size: 12.5px;
    color: var(--text-mute);
}

.pack-flag {
    position: absolute;
    top: -10px;
    right: 14px;
    padding: 2px 10px;
    border-radius: 999px;
    background: var(--acid);
    color: var(--ink-on-acid);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.buy-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    margin-top: 22px;
}

.qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: var(--surface);
}

.qty button {
    width: 40px;
    height: 100%;
    min-height: 40px;
    border: 0;
    background: none;
    font-size: 18px;
    line-height: 1;
    color: var(--text-dim);
}

.qty button:hover {
    color: var(--accent-ink);
}

.qty input {
    width: 34px;
    border: 0;
    background: none;
    text-align: center;
    font-weight: 600;
    -moz-appearance: textfield;
}

.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.qty.is-sm button {
    width: 30px;
    min-height: 32px;
    font-size: 16px;
}

.qty.is-sm input {
    width: 24px;
    font-size: 14px;
}

.buy-now {
    margin-top: 10px;
}

.assurances {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 22px;
}

.assurance {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 8px;
    border-radius: 12px;
    background: var(--bg-sunk);
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    color: var(--text-dim);
}

.assurance .icon {
    width: 20px;
    height: 20px;
    color: var(--accent-ink);
}

.pay-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    font-size: 12.5px;
    color: var(--text-mute);
}

.pay-row .icon {
    width: 15px;
    height: 15px;
}

/* ---------- Accordions / details ---------- */
.acc {
    margin-top: 28px;
    border-top: 1px solid var(--line);
}

.acc details {
    border-bottom: 1px solid var(--line);
}

.acc summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    list-style: none;
    font-weight: 600;
    cursor: pointer;
}

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

.acc summary::after {
    content: "+";
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    color: var(--text-mute);
    transition: transform 0.3s var(--ease);
}

.acc details[open] summary::after {
    transform: rotate(45deg);
}

.acc .acc-body {
    padding-bottom: 20px;
    color: var(--text-dim);
    font-size: 15px;
}

.acc .acc-body p + p {
    margin-top: 12px;
}

.acc ul {
    padding-left: 18px;
    display: grid;
    gap: 6px;
}

/* ---------- Label section ---------- */
.label-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(28px, 5vw, 64px);
    padding: clamp(24px, 4vw, 48px);
    border-radius: var(--radius-l);
    border: 1px solid var(--line);
    background: var(--surface);
}

.label-section > * {
    min-width: 0;
}

.label-frame {
    position: relative;
    display: block;
    width: 100%;
    border: 0;
    padding: 18px;
    border-radius: var(--radius);
    background: var(--bg-sunk);
    cursor: zoom-in;
}

.label-frame img {
    width: 100%;
    height: auto;
    max-height: 560px;
    object-fit: contain;
    border-radius: 8px;
}

.label-section h2 {
    margin-top: 18px;
}

.label-section p {
    margin-top: 14px;
    color: var(--text-dim);
}

.facts {
    display: grid;
    gap: 0;
    margin-top: 22px;
    border-top: 1px solid var(--line);
}

.facts div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14.5px;
}

.facts dt {
    color: var(--text-mute);
}

.facts dd {
    margin: 0;
    font-weight: 600;
    text-align: right;
}

/* ---------- Sticky buy bar (mobile) ---------- */
.buy-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 55;
    display: none;
    align-items: center;
    gap: 12px;
    padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
    background: var(--nav-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--line);
    transform: translateY(110%);
    transition: transform 0.4s var(--ease);
}

.buy-bar.is-on {
    transform: none;
}

.buy-bar .price-now {
    font-size: 19px;
}

.buy-bar small {
    display: block;
    font-size: 12px;
    color: var(--text-mute);
}

.buy-bar .btn {
    margin-left: auto;
}

/* ---------- Lightbox ---------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 130;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(12, 19, 17, 0.88);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0.3s;
    cursor: zoom-out;
}

.lightbox.is-on {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: min(1100px, 100%);
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    background: #fff;
}

.lightbox .icon-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #fff;
    color: #12211c;
}

/* ---------- Legal / content pages ---------- */
.page-hero {
    padding-block: clamp(40px, 6vw, 72px) 24px;
    border-bottom: 1px solid var(--line);
}

.page-hero h1 {
    margin-top: 18px;
}

.page-hero p {
    margin-top: 12px;
    color: var(--text-mute);
}

.prose {
    max-width: 780px;
    padding-block: 40px 20px;
    color: var(--text-dim);
}

.prose h2 {
    margin: 36px 0 12px;
    font-size: 1.35rem;
    color: var(--text);
}

.prose h3 {
    margin: 22px 0 8px;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
    color: var(--text);
}

.prose p,
.prose ul {
    margin-bottom: 14px;
}

.prose ul {
    padding-left: 20px;
}

.prose a {
    color: var(--accent-ink);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(24px, 4vw, 48px);
    padding-block: 40px;
}

.contact-grid > * {
    min-width: 0;
}

.contact-cards {
    display: grid;
    gap: 12px;
    align-content: start;
}

.contact-card {
    display: flex;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.contact-card .icon {
    width: 42px;
    height: 42px;
    padding: 10px;
    border-radius: 12px;
    background: var(--acid-soft);
    color: var(--accent-ink);
}

.contact-card b {
    display: block;
    font-size: 15px;
}

.contact-card span,
.contact-card a {
    font-size: 14px;
    color: var(--text-mute);
}

.contact-card a:hover {
    color: var(--accent-ink);
}

.form {
    padding: clamp(20px, 4vw, 32px);
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    background: var(--surface);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.field {
    display: grid;
    gap: 6px;
    margin-bottom: 14px;
}

.field label {
    font-size: 13.5px;
    font-weight: 600;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: var(--bg);
    outline: 0;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field textarea {
    min-height: 140px;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--acid-line);
    box-shadow: 0 0 0 4px var(--acid-soft);
}

.form-ok {
    display: none;
    padding: 14px 16px;
    margin-bottom: 14px;
    border-radius: 12px;
    background: var(--acid-soft);
    border: 1px solid var(--acid-line);
    font-weight: 500;
}

.form.is-sent .form-ok {
    display: block;
}

/* ---------- Footer ---------- */
.footer {
    margin-top: clamp(48px, 7vw, 96px);
    border-top: 1px solid var(--line);
    background: var(--surface);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
    padding-block: 56px 44px;
}

.footer-brand p {
    margin-top: 16px;
    max-width: 320px;
    color: var(--text-mute);
    font-size: 14px;
}

.footer-contact {
    display: grid;
    gap: 6px;
    margin-top: 18px;
    font-size: 14px;
    color: var(--text-dim);
}

.footer-contact a:hover {
    color: var(--accent-ink);
}

.footer-entity {
    margin-top: 22px;
}

.footer-entity-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-ink);
}

.footer-brand .footer-entity p {
    margin-top: 6px;
    font-size: 15px;
    color: var(--text-mute);
}

.footer-entity b {
    font-weight: 700;
    color: var(--text);
}

.footer h4 {
    margin-bottom: 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-mute);
}

.footer ul {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 10px;
}

.footer ul a {
    font-size: 14px;
    color: var(--text-dim);
    transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
}

.footer ul a:hover {
    color: var(--accent-ink);
    padding-left: 4px;
}

.footer-pay {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-block: 22px;
    border-top: 1px solid var(--line);
}

.footer-pay > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-mute);
}

.footer-pay > span .icon {
    width: 16px;
    height: 16px;
    color: var(--accent-ink);
}

.cards {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.card-mark {
    display: block;
    width: 52px;
    height: 34px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid rgba(18, 33, 28, 0.12);
}

.card-mark svg {
    width: 100%;
    height: 100%;
}

.footer-disclaimer {
    padding-bottom: 22px;
    font-size: 12px;
    line-height: 1.65;
    color: var(--text-mute);
}

.footer-base {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-block: 22px;
    border-top: 1px solid var(--line);
    font-size: 13px;
    color: var(--text-mute);
}

.footer-base nav {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-base a:hover {
    color: var(--accent-ink);
}

/* ---------- Reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .hero-grid,
    .pdp,
    .band,
    .label-section,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .hero-stage {
        max-width: 520px;
        width: 100%;
        margin-inline: auto;
    }
    .gallery {
        position: static;
    }
    .trust-grid {
        grid-template-columns: 1fr 1fr;
    }
    .trust-item:nth-child(3) {
        border-left: 0;
    }
    .trust-item:nth-child(n + 3) {
        border-top: 1px solid var(--line);
    }
    .buy-bar {
        display: flex;
    }
}

@media (max-width: 760px) {
    :root {
        --gutter: 16px;
        --nav-h: 64px;
    }
    .nav-inner {
        flex-wrap: wrap;
        height: auto;
        padding-block: 10px;
        row-gap: 10px;
    }
    .nav-search {
        order: 3;
        flex-basis: 100%;
        max-width: none;
    }
    .nav-search .search-field {
        height: 42px;
    }
    .nav-actions {
        margin-left: auto !important;
    }
    .icon-btn {
        width: 40px;
        height: 40px;
    }
    .logo img {
        height: 28px;
    }
    .logo-name {
        font-size: 20px;
    }
    .cat-bar {
        top: 0;
        position: relative;
    }
    .grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .p-body {
        padding: 12px 12px 14px;
    }
    .p-name {
        font-size: 15px;
    }
    .p-desc {
        display: none;
    }
    .price-now {
        font-size: 18px;
    }

    .gallery {
        grid-template-columns: 1fr;
    }
    .thumbs {
        order: 2;
        grid-template-columns: repeat(5, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .search-kbd,
    .hero-chip.c1 {
        display: none;
    }
    .pack {
        grid-template-columns: auto 44px 1fr auto;
        gap: 10px;
        padding: 12px;
    }
    .pack img {
        width: 44px;
        height: 44px;
    }
    .assurances {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 6px;
    }
    .assurance {
        font-size: 11px;
    }
}

@media (max-width: 420px) {
    .trust-grid {
        grid-template-columns: 1fr;
    }
    .trust-item + .trust-item {
        border-left: 0;
        border-top: 1px solid var(--line);
    }
    .hero-search .search-field {
        height: 52px;
    }
}

/* ---------- Product without a photo yet ---------- */
.ph {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    height: 100%;
    padding: 10%;
    border: 1.5px dashed var(--acid-line);
    border-radius: 14px;
    text-align: center;
    color: var(--text-dim);
}

.ph b {
    font-size: clamp(13px, 1.6vw, 18px);
    letter-spacing: -0.02em;
}

.ph small {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-mute);
}

.p-media .ph {
    position: absolute;
    inset: 12%;
    width: 76%;
    height: 76%;
}

.stage .ph {
    position: absolute;
    inset: 10%;
    width: 80%;
    height: 80%;
}

.stage .ph b {
    font-size: 26px;
}

.sr-item .ph,
.line-img .ph,
.pack .ph {
    padding: 2px;
    border-radius: 8px;
}

.sr-item .ph {
    width: 48px;
    height: 48px;
}

.sr-item .ph b,
.line-img .ph b,
.pack .ph b,
.cat-tile .ph b {
    font-size: 9px;
}

.sr-item .ph small,
.line-img .ph small,
.pack .ph small {
    display: none;
}

.pack .ph {
    width: 56px;
    height: 56px;
}

.line-sub {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: var(--accent-ink);
    font-weight: 600;
}

.line-sub .icon {
    width: 12px;
    height: 12px;
}

.line-price s {
    text-decoration: none;
}

.btn[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
}

/* ---------- One-time vs monthly ---------- */
.plans {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.plan {
    position: relative;
    display: block;
    padding: 14px 16px;
    border: 1.5px solid var(--line-strong);
    border-radius: 14px;
    background: var(--surface);
    cursor: pointer;
    transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

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

.plan:hover {
    border-color: var(--acid-line);
}

.plan:has(input:checked) {
    border-color: var(--text);
    background: var(--surface-2);
}

.plan:has(input:focus-visible) {
    outline: 2px solid var(--accent-ink);
    outline-offset: 2px;
}

.plan b {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14.5px;
}

.plan b .icon {
    width: 16px;
    height: 16px;
    color: var(--accent-ink);
}

.plan span {
    display: block;
    margin-top: 4px;
    font-size: 12.5px;
    color: var(--text-mute);
    line-height: 1.45;
}

.plan .pack-flag {
    top: -10px;
    right: 12px;
}

.sub-note {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--acid-soft);
    border: 1px solid var(--acid-line);
    font-size: 13px;
    color: var(--text-dim);
}

.sub-note a {
    color: var(--accent-ink);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pending-note {
    margin-top: 10px;
    font-size: 12.5px;
    text-align: center;
    color: var(--text-mute);
}

.p-brand {
    font-size: 12.5px;
    color: var(--text-mute);
}

.p-sub {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-ink);
}

.p-sub .icon {
    width: 13px;
    height: 13px;
}

@media (max-width: 420px) {
    .plans {
        grid-template-columns: 1fr;
    }
}

.cat-tile .cat-ico {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 46px;
    height: 46px;
    padding: 10px;
    border-radius: 14px;
    background: var(--bg-elev);
    color: var(--accent-ink);
}

.buy-now.is-pending {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

.buy-now.is-pending:hover {
    transform: none;
    background: var(--acid);
}

/* ---------- Category tiles: titles only ---------- */
.cat-grid {
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 12px;
}

.cat-tile {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 0;
    padding: 20px 20px;
    background: var(--surface);
}

.cat-tile b {
    font-size: 14px;
    line-height: 1.25;
}

.cat-tile .icon {
    flex: none;
    width: 18px;
    height: 18px;
    color: var(--accent-ink);
    transition: transform 0.35s var(--ease);
}

.cat-tile:hover {
    background: var(--acid-soft);
}

.cat-tile:hover .icon {
    transform: translateX(4px);
}

/* ---------- Editorial photos fill their frame; cutouts float ---------- */
.p-media img.is-photo,
.stage img.is-photo {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: none;
}

.p-card:hover .p-media img.is-photo {
    transform: scale(1.03);
}

.thumb img.is-photo,
.pack img.is-photo,
.line-img img.is-photo,
.sr-item img.is-photo {
    object-fit: cover;
    border-radius: 8px;
}

.thumb:has(img.is-photo) {
    padding: 0;
    overflow: hidden;
}

.line-img:has(img.is-photo) {
    padding: 0;
    overflow: hidden;
}

/* ---------- Category rail: arrows, fades, drag ---------- */
.cat-wrap {
    position: relative;
}

.cat-rail {
    scroll-behavior: auto;
    cursor: grab;
    user-select: none;
}

.cat-rail.is-dragging {
    cursor: grabbing;
}

.cat-rail.is-dragging .cat-pill {
    pointer-events: none;
}

.cat-wrap::before,
.cat-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
    width: 72px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s var(--ease);
}

.cat-wrap::before {
    left: var(--gutter);
    background: linear-gradient(90deg, var(--bg) 35%, transparent);
}

.cat-wrap::after {
    right: var(--gutter);
    background: linear-gradient(270deg, var(--bg) 35%, transparent);
}

.cat-wrap.can-prev::before,
.cat-wrap.can-next::after {
    opacity: 1;
}

.rail-btn {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: var(--bg-elev);
    color: var(--text);
    box-shadow: var(--shadow-s);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-50%);
    transition: opacity 0.25s var(--ease), visibility 0.25s, border-color 0.25s var(--ease);
}

.rail-btn:hover {
    border-color: var(--acid-line);
    color: var(--accent-ink);
}

.rail-btn .icon {
    width: 16px;
    height: 16px;
}

.rail-btn.is-prev {
    left: calc(var(--gutter) - 6px);
}

.rail-btn.is-prev .icon {
    transform: rotate(180deg);
}

.rail-btn.is-next {
    right: calc(var(--gutter) - 6px);
}

.cat-wrap.can-prev .rail-btn.is-prev,
.cat-wrap.can-next .rail-btn.is-next {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 760px) {
    .hero-chip.c2 {
        display: none;
    }
    .rail-btn {
        display: none;
    }
}

/* contact page without a form: the cards take the full row */
.contact-grid.is-cards-only {
    grid-template-columns: 1fr;
}

.contact-grid.is-cards-only .contact-cards {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {
    .contact-grid.is-cards-only .contact-cards {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .contact-grid.is-cards-only .contact-cards {
        grid-template-columns: 1fr;
    }
}

/* ---------- Fixes from the review ---------- */

/* wherever the mobile buy bar shows, the page ends above it, so the footer
   links stay clickable */
@media (max-width: 900px) {
    body:has([data-buy-bar]) {
        padding-bottom: calc(96px + env(safe-area-inset-bottom));
    }
}

/* on phones the header wraps to two rows (~113px) */
@media (max-width: 760px) {
    [id] {
        scroll-margin-top: 130px;
    }
}

/* ---------- No cart: Buy now is the only action ---------- */
.buybox .buy-now {
    margin-top: 22px;
}

/* the arrow is only a picture of the card's own link: it must not sit on top
   of that link, or it would swallow the click and show the default cursor */
.p-go {
    pointer-events: none;
    flex: none;
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-btn);
    background: var(--bg-sunk);
    color: var(--text);
    transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}

.p-go .icon {
    width: 17px;
    height: 17px;
}

.p-card:hover .p-go {
    background: var(--acid);
    color: var(--ink-on-acid);
    transform: translateX(3px);
}

/* ---------- Price per unit ----------
   The struck single-unit price sits right on top of the per-unit price,
   both tight together; "/each" is set smaller than the amount. */
.price.is-each {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 0;
}

.price s,
.pack-price s {
    font-size: 13.5px;
    font-weight: 400;
    line-height: 1.15;
    color: var(--text-mute);
    text-decoration-thickness: 1.5px;
}

.price-now small,
.pack-price b small,
.sr-price small {
    font-size: 0.62em;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.price.is-each .price-now {
    line-height: 1.1;
}

.pack-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
    line-height: 1.15;
}

.pack-price b {
    display: block;
    font-size: 19px;
    letter-spacing: -0.02em;
}

.pack-sub {
    font-weight: 500;
}

/* =========================================================
   Thank-you page (/thank-you) — assets/js/thank-you.js
   ========================================================= */
.ty { padding-block: clamp(28px, 5vw, 56px); }
.ty-head { display: flex; gap: 18px; align-items: flex-start; padding: 26px 28px; margin-bottom: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-s); }
.ty-check { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--acid); color: var(--ink-on-acid); }
.ty-check .icon { width: 22px; height: 22px; }
.ty-eyebrow { margin-bottom: 12px; }
.ty-title { margin: 0 0 6px; font-size: clamp(26px, 3.2vw, 34px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; }
.ty-ref { margin: 0 0 8px; color: var(--text-dim); font-size: 14px; font-weight: 500; }
.ty-note { margin: 0; color: var(--text-mute); font-size: 14px; }
.ty-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.ty-card { padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.ty-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.ty-card-head h2 { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.ty-count { color: var(--text-mute); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.ty-line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.ty-thumb { position: relative; width: 64px; height: 64px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--bg-elev); }
.ty-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6px; border-radius: var(--radius-s); }
.ty-thumb-icon { display: grid; place-items: center; color: var(--text-dim); background: var(--bg-sunk); }
.ty-thumb-icon .icon { width: 24px; height: 24px; }
.ty-qty { position: absolute; top: -8px; right: -8px; display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--text); color: var(--bg); font-size: 11px; font-weight: 700; }
.ty-line-name { margin: 0; font-size: 14px; font-weight: 600; }
.ty-line-sub { margin: 3px 0 0; color: var(--text-mute); font-size: 12px; }
.ty-line-terms { margin: 3px 0 0; color: var(--accent-ink); font-size: 12px; font-weight: 500; }
.ty-line-price { font-size: 14px; font-weight: 600; text-align: right; white-space: nowrap; }
.ty-line-price small { display: block; color: var(--text-mute); font-size: 11px; font-weight: 400; }
.ty-plan { margin-top: 6px; padding: 16px 18px; border-radius: var(--radius-s); background: var(--acid-soft); border: 1px solid var(--acid-line); }
.ty-plan h3 { margin: 0 0 6px; font-size: 14px; font-weight: 700; }
.ty-plan p { margin: 0 0 4px; font-size: 13px; }
.ty-mute { color: var(--text-mute); }
.ty-rows { margin: 0; }
.ty-rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; font-size: 14px; }
.ty-rows dt, .ty-rows dd { margin: 0; }
.ty-rows .ty-mute dd { font-size: 13px; }
.ty-rows .ty-total { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line-strong); font-size: 17px; font-weight: 700; }
.ty-rows .ty-renew { padding-top: 10px; border-top: 1px dashed var(--line-strong); font-size: 13px; }
.ty-rows .ty-renew dd { color: var(--accent-ink); font-weight: 600; }
.ty-tax { margin: 10px 0 18px; font-size: 12px; }
.ty-help { margin: 14px 0 0; color: var(--text-mute); font-size: 13px; text-align: center; }
.ty-help a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 900px) {
    .ty-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
    .ty-head { flex-direction: column; padding: 22px 20px; }
    .ty-card { padding: 18px; }
    .ty-line { grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; }
    .ty-thumb { width: 52px; height: 52px; }
}
