/* ============ tokens ============ */
:root {
    --bg: #0E1012;
    --bg-elev: #141719;
    --bg-soft: #1A1E20;
    --surface: rgba(245, 243, 236, 0.035);
    --surface-strong: rgba(245, 243, 236, 0.06);
    --line: rgba(191, 211, 204, 0.16);
    --line-strong: rgba(191, 211, 204, 0.3);
    --text: #F2EFE8;
    --text-soft: #D8D3C9;
    --muted: #A3ADA9;
    --copper: #B2795B;
    --copper-soft: rgba(178, 121, 91, 0.16);
    --amber: #DDBA80;
    --gold: #F0D5A7;
    --teal: #6E9480;
    --violet: #9C8FB0;
    --safelight: #C05743;

    --font-display: "Manrope", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
    --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
    --font-mono: "JetBrains Mono", "Cascadia Mono", Consolas, ui-monospace, monospace;

    --radius: 16px;
    --radius-sm: 8px;
    --shadow: 0 32px 70px -40px rgba(0, 0, 0, 0.9);
    --shell: 1240px;
    --ease: cubic-bezier(0.2, 0.75, 0.15, 1);
}

html[data-theme="light"] {
    --bg: #F6F2EA;
    --bg-elev: #FBF8F1;
    --bg-soft: #EFE8DC;
    --surface: #FFFDF7;
    --surface-strong: #FFFFFF;
    --line: rgba(28, 23, 18, 0.13);
    --line-strong: rgba(28, 23, 18, 0.26);
    --text: #1C1712;
    --text-soft: #463C33;
    --muted: #6B6156;
    --copper: #925947;
    --copper-soft: rgba(146, 89, 71, 0.12);
    --amber: #8A6A33;
    --gold: #7A5B24;
    --teal: #2F5B4A;
    --violet: #5B4B70;
    --safelight: #A0392A;
    --shadow: 0 28px 60px -40px rgba(60, 44, 26, 0.45);
}

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

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

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    background-image:
        radial-gradient(1100px 620px at 82% -8%, rgba(190, 132, 98, 0.14), transparent 62%),
        radial-gradient(900px 560px at 4% 8%, rgba(107, 151, 128, 0.14), transparent 60%);
    background-repeat: no-repeat;
    background-attachment: fixed;
}

html[data-theme="light"] body {
    background-image:
        radial-gradient(1000px 560px at 86% -10%, rgba(190, 132, 98, 0.18), transparent 62%),
        radial-gradient(820px 520px at 2% 6%, rgba(107, 151, 128, 0.14), transparent 60%);
}

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

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

a:hover {
    color: var(--copper);
}

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

p {
    margin: 0;
}

ul, ol, dl {
    margin: 0;
    padding: 0;
    list-style: none;
}

button {
    font: inherit;
    color: inherit;
}

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

.shell {
    width: min(var(--shell), calc(100% - 48px));
    margin-inline: auto;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    padding: 10px 16px;
    background: var(--copper);
    color: #FFF6EA;
    border-radius: 8px;
    z-index: 40;
    transition: top 0.2s var(--ease);
}

.skip-link:focus {
    top: 12px;
}

.muted {
    color: var(--muted);
}

/* ============ typography bits ============ */
.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.74rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 18px;
}

.eyebrow-dot {
    width: 24px;
    height: 1px;
    border-radius: 0;
    background: linear-gradient(90deg, var(--gold), transparent);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-soft);
    border-bottom: 1px solid var(--line-strong);
    padding-bottom: 3px;
    transition: color 0.2s, border-color 0.2s;
}

.link-arrow::after {
    content: "→";
    transition: transform 0.2s var(--ease);
}

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

.link-muted {
    background: none;
    border: 0;
    padding: 0;
    color: var(--muted);
    font-size: 0.9rem;
    text-decoration: underline;
    text-decoration-color: var(--line-strong);
    text-underline-offset: 4px;
    cursor: pointer;
}

.link-muted:hover {
    color: var(--text);
}

/* ============ header ============ */
.site-topbar {
    position: sticky;
    top: 0;
    z-index: 30;
}

.site-header {
    position: relative;
    background: color-mix(in srgb, var(--bg) 82%, transparent);
    backdrop-filter: blur(18px) saturate(140%);
    border-bottom: 1px solid var(--line);
}

@supports not (background: color-mix(in srgb, red, blue)) {
    .site-header {
        background: var(--bg);
    }
}

.test-banner {
    background: var(--gold);
    color: #17120b;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    padding: 10px 0;
    text-align: center;
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    min-height: 70px;
    flex-wrap: wrap;
    padding: 10px 0;
}
.brand {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-right: auto;
}

.brand-mark {
    width: 27px;
    height: 33px;
    flex: none;
    background: linear-gradient(180deg, var(--gold), var(--amber));
    -webkit-mask: url("../img/logo.png") center / contain no-repeat;
    mask: url("../img/logo.png") center / contain no-repeat;
    transition: opacity 0.25s;
}

.brand:hover .brand-mark {
    opacity: 0.82;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text strong {
    display: flex;
    align-items: baseline;
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Noto Sans", Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: 650;
    letter-spacing: 0.025em;
    line-height: 1.15;
}

.brand-text strong i {
    font-style: normal;
    font-weight: 650;
    color: var(--gold);
    letter-spacing: 0.025em;
}

.brand-text small {
    margin-top: 3px;
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    color: var(--muted);
}

.main-nav {
    display: flex;
    gap: 24px;
    font-size: 0.92rem;
    color: var(--text-soft);
}

.main-nav a {
    position: relative;
    padding: 6px 0;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--copper);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s var(--ease);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
    transform: scaleX(1);
}

.main-nav a.is-active {
    color: var(--text);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.search {
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 4px 6px 4px 14px;
    background: var(--surface);
    transition: border-color 0.2s;
}

.search:focus-within {
    border-color: var(--line-strong);
}

.search input {
    width: 150px;
    border: 0;
    background: none;
    color: var(--text);
    font: inherit;
    font-size: 0.88rem;
    padding: 6px 0;
}

.search input::placeholder {
    color: var(--muted);
}

.search input:focus {
    outline: none;
}

.search button {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: var(--copper-soft);
    cursor: pointer;
    color: var(--amber);
}

.search button svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
}

.theme-toggle {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--surface);
    cursor: pointer;
    transition: border-color 0.2s, transform 0.3s var(--ease);
}

.theme-toggle:hover {
    border-color: var(--line-strong);
    transform: rotate(-18deg);
}

.theme-toggle-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--amber);
    box-shadow: inset -4px -2px 0 0 var(--bg);
}

html[data-theme="light"] .theme-toggle-icon {
    background: var(--teal);
    box-shadow: inset 4px 2px 0 0 var(--bg-soft);
}

.cart-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    font-size: 0.88rem;
    white-space: nowrap;
    transition: background 0.2s, border-color 0.2s;
}

.cart-link:hover {
    background: var(--surface-strong);
}

.cart-link svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linejoin: round;
}

.cart-count {
    display: inline-grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--copper);
    color: #FFF4E9;
    font-size: 0.72rem;
    font-variant-numeric: tabular-nums;
}

/* ============ flashes ============ */
.flash-stack {
    padding-top: 18px;
}

.flash {
    border: 1px solid var(--line);
    border-left: 2px solid var(--copper);
    background: var(--surface);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
}

.flash + .flash {
    margin-top: 8px;
}

.flash--error {
    border-left-color: var(--safelight);
}

.flash--success {
    border-left-color: var(--teal);
}

/* ============ hero ============ */
.hero {
    padding: clamp(36px, 4.5vw, 64px) 0 clamp(28px, 3.5vw, 48px);
    border-bottom: 1px solid var(--line);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(28px, 4vw, 56px);
    align-items: center;
}

.hero h1 {
    font-size: clamp(2.3rem, 4.2vw, 3.9rem);
    line-height: 1.04;
    letter-spacing: -0.02em;
    font-weight: 500;
    margin-bottom: 22px;
}

.hero-lead {
    max-width: 46ch;
    color: var(--text-soft);
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.hero-note {
    margin-top: 20px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    color: var(--muted);
}

.hero-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.hero-facts li {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-facts span {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.hero-facts strong {
    font-weight: 400;
    font-size: 0.92rem;
    color: var(--text-soft);
}

/* stage */
.hero-media {
    position: relative;
    margin: 0;
    aspect-ratio: 4 / 4;
    max-width: 420px;
    margin-left: auto;
    border: 1px solid var(--line-strong);
    background: var(--bg-soft);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.94) contrast(1.02);
    transition: transform 0.9s var(--ease);
}

.hero-media:hover img {
    transform: scale(1.02);
}

.hero-media::before {
    content: "";
    position: absolute;
    inset: 13px;
    border: 1px solid rgba(240, 213, 167, 0.3);
    pointer-events: none;
    z-index: 2;
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 11, 12, 0.05) 40%, rgba(9, 11, 12, 0.62));
    pointer-events: none;
}

.hero-media figcaption {
    position: absolute;
    left: 13px;
    right: 13px;
    bottom: 13px;
    z-index: 3;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border-top: 1px solid rgba(240, 213, 167, 0.28);
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #E6E0D4;
}

.hero-media figcaption strong {
    font-weight: 500;
    color: var(--gold);
    letter-spacing: 0.1em;
}
/* ============ buttons ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--text);
    font-size: 0.94rem;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.15s var(--ease), background 0.2s, border-color 0.2s, color 0.2s;
    white-space: nowrap;
    text-align: center;
}

.btn:active {
    transform: translateY(1px);
}

.btn--primary {
    background: linear-gradient(180deg, #F4DCB0, #DFBD88);
    color: #171310;
    border-color: rgba(255, 246, 228, 0.45);
    box-shadow: 0 18px 34px -22px rgba(223, 189, 136, 0.7);
}

.btn--primary:hover {
    color: #171310;
    background: linear-gradient(180deg, #FAE8C4, #E9CB98);
}

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

.btn--ghost:hover {
    border-color: var(--copper);
    color: var(--copper);
}

.btn--dark {
    background: #171310;
    color: #F2EFE8;
    border-color: #171310;
}

.btn--dark:hover {
    background: #26201A;
    color: #F2EFE8;
}

.btn--copper {
    background: var(--copper);
    color: #FFF8EF;
    border-color: var(--copper);
}

.btn--copper:hover {
    background: color-mix(in srgb, var(--copper) 84%, #000 16%);
    color: #FFF8EF;
}

.btn--contrast {
    background: #F2EFE8;
    color: #171310;
    border-color: #F2EFE8;
}

.btn--contrast:hover {
    background: #DFDAD2;
    color: #171310;
}

.btn--link {
    border-color: transparent;
    background: transparent;
    color: var(--copper);
    padding-left: 6px;
    padding-right: 6px;
    box-shadow: none;
}

.btn--link:hover {
    color: var(--text);
}

.btn--small {
    padding: 9px 16px;
    font-size: 0.84rem;
}

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

.btn--full {
    width: 100%;
}

.btn--grow {
    flex: 1;
}

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

/* ============ sections ============ */
.section {
    padding: clamp(44px, 5vw, 72px) 0;
    border-bottom: 1px solid var(--line);
}

.section-head {
    max-width: 62ch;
    margin-bottom: 28px;
}

.section-head h2 {
    font-size: clamp(1.9rem, 3.2vw, 2.7rem);
    margin-bottom: 12px;
}

.section-lead {
    color: var(--muted);
    max-width: 52ch;
}

.section-head--row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    max-width: none;
    margin-bottom: 28px;
}

/* categories */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.category-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.category-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 22px 20px 20px;
    min-height: 190px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    overflow: hidden;
    transition: transform 0.25s var(--ease), border-color 0.25s, background 0.25s;
}

.category-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 2px;
    background: linear-gradient(90deg, var(--tint, var(--copper)), transparent 78%);
}

.category-card::after {
    content: "";
    position: absolute;
    right: -40px;
    bottom: -60px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--tint, var(--copper)), transparent 70%);
    opacity: 0.16;
    transition: opacity 0.3s;
}

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

.category-card:hover::after {
    opacity: 0.3;
}

.category-num {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--muted);
    letter-spacing: 0.08em;
}

.category-card h3 {
    font-size: 1.42rem;
    margin-top: auto;
}

.category-card p {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.5;
}

.category-count {
    font-size: 0.76rem;
    color: var(--tint, var(--copper));
    letter-spacing: 0.06em;
}

.tint-amber { --tint: var(--amber); }
.tint-copper { --tint: var(--copper); }
.tint-teal { --tint: var(--teal); }
.tint-violet { --tint: var(--violet); }

/* ============ product grid & cards ============ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
    gap: 18px;
}

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

.section--related {
    padding: 28px 0 40px;
}

.section--related .section-head--row {
    margin-bottom: 16px;
    align-items: center;
}

.section--related .section-head h2 {
    font-size: clamp(1.35rem, 2vw, 1.7rem);
    margin-bottom: 0;
}

.product-grid--related {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.product-grid--related .product-card {
    flex-direction: row;
    align-items: stretch;
}

.product-grid--related .product-media {
    flex: 0 0 84px;
    aspect-ratio: 3 / 4;
}

.product-grid--related .product-body {
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.product-grid--related .product-cat,
.product-grid--related .product-sub {
    display: none;
}

.product-grid--related .product-title {
    font-size: 0.9rem;
    line-height: 1.3;
    margin: 0;
}

.product-grid--related .product-foot {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 2px;
}

.product-grid--related .price-now {
    font-size: 0.95rem;
}

.product-grid--related .product-foot .btn {
    padding: 5px 10px;
    font-size: 0.76rem;
}

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

.product-card:hover {
    border-color: rgba(240, 213, 167, 0.36);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.product-media img {
    transition: transform 0.8s var(--ease);
}

.product-card:hover .product-media img {
    transform: scale(1.03);
}

.product-media {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    background: linear-gradient(165deg, var(--bg-soft), var(--bg-elev));
    overflow: hidden;
}

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

.product-photo--empty {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 2vw, 26px);
    width: 100%;
    height: 100%;
    background:
        radial-gradient(65% 50% at 50% 30%, color-mix(in srgb, var(--tint, var(--copper)) 34%, transparent), transparent 70%),
        linear-gradient(170deg, var(--bg-soft), var(--bg-elev));
}

.ph-emblem {
    width: 34%;
    max-width: 140px;
    aspect-ratio: 200 / 246;
    background: linear-gradient(180deg, rgba(240, 213, 167, 0.9), rgba(221, 186, 128, 0.5));
    -webkit-mask: url("../img/logo.png") center / contain no-repeat;
    mask: url("../img/logo.png") center / contain no-repeat;
    opacity: 0.55;
}

.product-photo--empty span {
    font-family: var(--font-display);
    font-size: clamp(0.95rem, 1.4vw, 1.25rem);
    color: var(--text-soft);
    padding: 7px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 2px;
    background: rgba(12, 14, 15, 0.35);
    letter-spacing: 0.04em;
    text-align: center;
    position: relative;
    z-index: 1;
}

html[data-theme="light"] .product-photo--empty span {
    background: rgba(255, 253, 247, 0.65);
}

.product-photo--empty::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 62%, rgba(0, 0, 0, 0.28));
    pointer-events: none;
}

.chip {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 0.66rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background: rgba(12, 14, 15, 0.66);
    border: 1px solid rgba(240, 213, 167, 0.35);
    color: var(--gold);
    backdrop-filter: blur(8px);
}

html[data-theme="light"] .chip {
    background: rgba(255, 253, 247, 0.85);
    border-color: rgba(28, 23, 18, 0.18);
    color: #7A5B24;
}

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

.product-cat {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    display: flex;
    gap: 10px;
    align-items: baseline;
    flex-wrap: wrap;
}

.product-title {
    font-size: 1.18rem;
    line-height: 1.28;
}

.product-title a:hover {
    color: var(--copper);
}

.product-sub {
    font-size: 0.84rem;
    color: var(--muted);
}

.product-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 14px;
}

.product-foot .btn {
    border-color: var(--line-strong);
}

.product-foot .btn:hover:not([disabled]) {
    border-color: var(--copper);
    color: var(--copper);
}

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

.price-now {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.01em;
}

.price-now--lg {
    font-size: 2.1rem;
}

.price-old {
    font-size: 0.84rem;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

.price-discount {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: var(--safelight);
    border: 1px solid color-mix(in srgb, var(--safelight) 45%, transparent);
    border-radius: 999px;
    padding: 2px 8px;
}

.inline-form {
    margin: 0;
}

/* ============ process ============ */
.process-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    counter-reset: step;
}

.process-list li {
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.process-num {
    font-family: var(--font-mono);
    font-size: 0.76rem;
    color: var(--copper);
    letter-spacing: 0.1em;
}

.process-list h3 {
    font-size: 1.3rem;
    margin: 12px 0 8px;
}

.process-list p {
    color: var(--muted);
    font-size: 0.92rem;
}

/* split block */
.split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(32px, 6vw, 80px);
    align-items: start;
}

.split-copy h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 18px;
}

.split-copy p {
    color: var(--text-soft);
    margin-bottom: 14px;
    max-width: 54ch;
}

.split-copy .btn {
    margin-top: 10px;
}

.spec-list {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line);
}

.spec-list > div {
    display: grid;
    grid-template-columns: minmax(120px, 0.45fr) 1fr;
    gap: 16px;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
}

.spec-list dt {
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.spec-list dd {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.94rem;
}

.spec-list--compact > div {
    padding: 11px 0;
}

/* delivery band */
.delivery-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: clamp(28px, 4vw, 44px);
    border: 1px solid var(--line);
    border-radius: 24px;
    background:
        radial-gradient(80% 120% at 100% 0%, rgba(78, 130, 122, 0.14), transparent 62%),
        var(--surface);
}

.delivery-band h2 {
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    margin-bottom: 8px;
}

.delivery-band p {
    color: var(--muted);
    max-width: 46ch;
}

.delivery-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 320px;
}

.delivery-tags li {
    padding: 7px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-size: 0.82rem;
    color: var(--text-soft);
}

/* CTA */
.cta {
    text-align: center;
    padding: clamp(36px, 5vw, 60px) 24px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background:
        radial-gradient(60% 120% at 50% 0%, rgba(203, 156, 82, 0.16), transparent 70%),
        var(--surface);
}

.cta h2 {
    font-size: clamp(1.9rem, 3.4vw, 2.8rem);
    margin-bottom: 10px;
}

.cta p {
    color: var(--muted);
}

.cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

/* ============ page head ============ */
.page-head {
    padding: 28px 0 34px;
    border-bottom: 1px solid var(--line);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.78rem;
    color: var(--muted);
    margin-bottom: 22px;
}

.breadcrumb a:hover {
    color: var(--copper);
}

.page-head h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 10px;
}

.page-lead {
    color: var(--muted);
    max-width: 62ch;
}

.page-head-row,
.order-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.page-count {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--muted);
    white-space: nowrap;
}

/* ============ catalog ============ */
.catalog-layout {
    display: grid;
    grid-template-columns: 236px 1fr;
    gap: clamp(24px, 3vw, 44px);
    padding: 36px 0 72px;
    align-items: start;
}

.filters {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.filters-block {
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.filters-title {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px;
}

.filters-list {
    display: grid;
    gap: 2px;
}

.filters-list a {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 0.92rem;
    color: var(--text-soft);
    transition: background 0.2s, color 0.2s;
}

.filters-list a span {
    color: var(--muted);
    font-size: 0.78rem;
    font-variant-numeric: tabular-nums;
}

.filters-list a:hover {
    background: var(--surface);
    color: var(--text);
}

.filters-list a.is-active {
    background: var(--copper-soft);
    color: var(--text);
}

.filters-list a.is-active span {
    color: var(--copper);
}

.price-range {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.price-range input {
    width: 100%;
    padding: 9px 12px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    font: inherit;
    font-size: 0.9rem;
}

.price-range-dash {
    color: var(--muted);
}

.filters-reset {
    display: block;
    margin-top: 10px;
    font-size: 0.82rem;
    color: var(--muted);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.filters-note p {
    font-size: 0.86rem;
    color: var(--muted);
    margin-bottom: 8px;
}

.filters-note a {
    font-size: 0.86rem;
    color: var(--copper);
}

.catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
    font-size: 0.84rem;
    color: var(--muted);
}

.sort-control {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.sort-control select {
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    font: inherit;
    font-size: 0.86rem;
}

.pagination {
    display: flex;
    gap: 6px;
    margin-top: 36px;
}

.pagination a {
    display: grid;
    place-items: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 0.88rem;
    color: var(--text-soft);
}

.pagination a.is-active {
    border-color: var(--copper);
    color: var(--text);
    background: var(--copper-soft);
}

/* ============ empty state ============ */
.empty-state {
    padding: clamp(44px, 6vw, 72px) 24px;
    text-align: center;
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius);
    background: var(--surface);
}

.empty-state h2 {
    font-size: 1.7rem;
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--muted);
    max-width: 46ch;
    margin: 0 auto 22px;
}

/* ============ product page ============ */
.product-page {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(24px, 3vw, 48px);
    padding: 28px 0 clamp(40px, 5vw, 64px);
    align-items: start;
}

.product-page > * {
    min-width: 0;
}

.product-gallery {
    width: 100%;
    max-width: 440px;
}

.product-gallery-frame {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: 22px;
    border: 1px solid var(--line);
    overflow: hidden;
    background:
        radial-gradient(60% 50% at 50% 30%, color-mix(in srgb, var(--tint, var(--copper)) 30%, transparent), transparent 72%),
        linear-gradient(170deg, var(--bg-soft), var(--bg-elev));
}

.product-gallery-frame .product-photo--empty span {
    font-size: clamp(1.5rem, 2.6vw, 2.2rem);
    padding: 12px 22px;
}

.product-gallery-note {
    margin-top: 12px;
    font-size: 0.78rem;
    color: var(--muted);
}

.product-info h1 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin: 8px 0 6px;
}

.product-subtitle {
    color: var(--muted);
    font-size: 1rem;
    margin-bottom: 16px;
}

.product-short {
    color: var(--text-soft);
    line-height: 1.65;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.product-sku {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--muted);
}

.product-buy {
    padding: 22px 0 26px;
    border-bottom: 1px solid var(--line);
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.product-stock {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0 18px;
    font-size: 0.86rem;
    color: var(--text-soft);
}

.stock-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 10px rgba(78, 130, 122, 0.8);
}

.is-out .stock-dot {
    background: var(--safelight);
    box-shadow: 0 0 10px rgba(169, 84, 67, 0.8);
}

.buy-form {
    display: flex;
    gap: 12px;
    align-items: stretch;
    flex-wrap: wrap;
}

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

.qty-btn {
    width: 42px;
    height: 46px;
    border: 0;
    background: none;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--text-soft);
    transition: background 0.2s, color 0.2s;
}

.qty-btn:hover {
    background: var(--surface-strong);
    color: var(--text);
}

.qty input {
    width: 46px;
    height: 46px;
    border: 0;
    border-inline: 1px solid var(--line);
    background: none;
    color: var(--text);
    text-align: center;
    font: inherit;
    font-variant-numeric: tabular-nums;
    -moz-appearance: textfield;
}

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

.buy-form .btn {
    min-height: 48px;
}

.buy-notes {
    display: grid;
    gap: 6px;
    margin-top: 18px;
    font-size: 0.83rem;
    color: var(--muted);
}

.buy-notes li {
    display: flex;
    gap: 10px;
}

.buy-notes li::before {
    content: "—";
    color: var(--copper);
}

/* dilution calculator */
.dilution {
    margin-top: 26px;
    padding: 22px;
    border: 1px solid var(--line);
    border-left: 2px solid var(--copper);
    border-radius: var(--radius-sm);
    background: var(--surface);
}

.dilution-head h2 {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.dilution-head p {
    font-size: 0.86rem;
    color: var(--muted);
}

.dilution-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
    margin: 18px 0;
}

.field--inline {
    width: 160px;
}

.field--inline input {
    padding: 10px 12px;
}

.ratio-group {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.ratio-chip {
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: transparent;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--text-soft);
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.ratio-chip:hover {
    border-color: var(--copper);
    color: var(--copper);
}

.ratio-chip.is-active {
    background: var(--copper-soft);
    border-color: var(--copper);
    color: var(--text);
}

.dilution-out {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.dilution-out dt {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.dilution-out dd {
    margin: 4px 0 0;
    font-family: var(--font-mono);
    font-size: 1.35rem;
    color: var(--text);
}

.dilution-note {
    margin-top: 14px;
    font-size: 0.78rem;
    color: var(--muted);
}

/* accordions */
.accordions {
    margin-top: 26px;
    border-top: 1px solid var(--line);
}

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

.accordion summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 2px;
    cursor: pointer;
    font-size: 0.98rem;
    list-style: none;
}

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

.accordion summary::after {
    content: "+";
    font-family: var(--font-mono);
    color: var(--muted);
    font-size: 1.1rem;
}

.accordion[open] summary::after {
    content: "−";
}

.accordion summary:hover {
    color: var(--copper);
}

.accordion-body {
    padding-bottom: 20px;
    color: var(--text-soft);
    font-size: 0.94rem;
    line-height: 1.7;
}

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

/* tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.data-table th {
    text-align: left;
    font-weight: 400;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 10px 12px 10px 0;
    border-bottom: 1px solid var(--line);
}

.data-table td {
    padding: 12px 12px 12px 0;
    border-bottom: 1px solid var(--line);
    color: var(--text-soft);
    vertical-align: top;
}

.data-table tr:last-child td {
    border-bottom: 0;
}

.data-table td small {
    display: block;
    font-size: 0.74rem;
    color: var(--muted);
}

/* ============ cart ============ */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: clamp(24px, 3vw, 40px);
    padding: 36px 0 80px;
    align-items: start;
}

.cart-list {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line);
}

.cart-row {
    display: grid;
    grid-template-columns: 92px 1fr auto auto auto;
    gap: 18px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}

.cart-row-media {
    display: block;
    width: 92px;
    aspect-ratio: 3 / 4;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--line);
}

.cart-row-media .product-photo--empty span {
    font-size: 0.72rem;
    padding: 4px 6px;
    border: 0;
    background: none;
}

.cart-row-title {
    font-size: 1.1rem;
    margin: 4px 0;
}

.cart-row-sub,
.cart-row-price {
    font-size: 0.82rem;
    color: var(--muted);
}

.cart-row-total {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-variant-numeric: tabular-nums;
    min-width: 96px;
    text-align: right;
}

.cart-row-remove {
    border: 0;
    background: none;
    padding: 0;
    font-size: 0.78rem;
    color: var(--muted);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.cart-row-remove:hover {
    color: var(--safelight);
}

.cart-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 20px;
}

.cart-summary,
.checkout-summary,
.order-aside .panel {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.cart-summary {
    position: sticky;
    top: 96px;
}

.cart-summary h2,
.checkout-summary h2 {
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.summary-list {
    display: grid;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-soft);
}

.summary-list > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.summary-list dd {
    margin: 0;
    font-variant-numeric: tabular-nums;
}

.summary-list--flat {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.summary-list-total {
    padding-top: 10px;
    border-top: 1px solid var(--line);
    font-size: 1rem;
    color: var(--text);
}

.summary-hint {
    margin-top: 14px;
    padding: 10px 12px;
    border-radius: 8px;
    background: var(--copper-soft);
    font-size: 0.82rem;
    color: var(--text-soft);
}

.summary-hint.is-good {
    background: color-mix(in srgb, var(--teal) 18%, transparent);
}

.summary-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin: 18px 0;
    padding-top: 16px;
    border-top: 1px solid var(--line-strong);
    font-size: 0.9rem;
    color: var(--muted);
}

.summary-total strong {
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 400;
    color: var(--text);
    font-variant-numeric: tabular-nums;
}

.summary-clear {
    margin-top: 14px;
    text-align: center;
}

/* ============ checkout ============ */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: clamp(24px, 3vw, 44px);
    padding: 36px 0 80px;
    align-items: start;
}

.checkout-form {
    display: grid;
    gap: 26px;
}

.form-section {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.form-section h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    margin-bottom: 18px;
}

.form-step {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--copper);
    letter-spacing: 0.08em;
}

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

.field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 14px;
}

.field > span {
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    color: var(--text-soft);
}

.field em {
    color: var(--copper);
    font-style: normal;
}

.field input,
.field textarea,
.field select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--line-strong);
    background: var(--bg-elev);
    color: var(--text);
    font: inherit;
    font-size: 0.94rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
    outline: none;
    border-color: var(--copper);
    box-shadow: 0 0 0 3px var(--copper-soft);
}

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

.field.has-error input,
.field.has-error textarea {
    border-color: var(--safelight);
}

.field-error {
    color: #D98B72;
    font-size: 0.78rem;
}

html[data-theme="light"] .field-error {
    color: #9C3F28;
}

.field-hint {
    font-size: 0.76rem;
    color: var(--muted);
}

.option-list {
    display: grid;
    gap: 10px;
    margin-bottom: 16px;
}

.option-card {
    position: relative;
    display: block;
    padding: 15px 18px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.option-card:hover {
    border-color: var(--copper);
}

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

.option-card:has(input:checked) {
    border-color: var(--copper);
    background: var(--copper-soft);
}

.option-card:has(input:focus-visible) {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.option-card-body {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 16px;
    align-items: baseline;
}

.option-card-title {
    font-size: 0.98rem;
}

.option-card-meta {
    grid-column: 1;
    font-size: 0.78rem;
    color: var(--muted);
}

.option-card-price {
    grid-row: 1 / span 2;
    grid-column: 2;
    font-family: var(--font-display);
    font-variant-numeric: tabular-nums;
    font-size: 1rem;
    color: var(--text-soft);
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.84rem;
    color: var(--text-soft);
    cursor: pointer;
}

.checkbox input {
    margin-top: 3px;
    width: 17px;
    height: 17px;
    accent-color: var(--copper);
    flex: none;
}

.form-note {
    font-size: 0.78rem;
    color: var(--muted);
    text-align: center;
}

.checkout-summary {
    position: sticky;
    top: 96px;
}

.summary-items {
    display: grid;
    gap: 10px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.summary-items li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.86rem;
    color: var(--text-soft);
}

.summary-item-name em {
    font-style: normal;
    color: var(--muted);
}

.summary-item-price {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* ============ order page ============ */
.order-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: clamp(24px, 3vw, 40px);
    padding: 36px 0 80px;
    align-items: start;
}

.order-main,
.order-aside {
    display: grid;
    gap: 20px;
}

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

.status-chip {
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    font-size: 0.78rem;
    color: var(--text-soft);
}

.status-chip--paid,
.status-chip--pay-paid {
    border-color: color-mix(in srgb, var(--teal) 60%, transparent);
    color: var(--teal);
}

.status-chip--canceled,
.status-chip--pay-failed {
    border-color: color-mix(in srgb, var(--safelight) 60%, transparent);
    color: var(--safelight);
}

.panel {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.panel--soft {
    background: var(--surface-strong);
}

.panel h2 {
    font-size: 1.2rem;
    margin-bottom: 14px;
}

.panel-text {
    font-size: 0.9rem;
    color: var(--text-soft);
    margin-bottom: 10px;
}

.panel-text--muted {
    color: var(--muted);
    font-size: 0.82rem;
}

.demo-note {
    margin-top: 14px;
    padding: 16px;
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius-sm);
    background: var(--copper-soft);
}

.demo-note p {
    font-size: 0.86rem;
    color: var(--text-soft);
    margin-bottom: 12px;
}

/* ============ info pages ============ */
.info-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: clamp(24px, 3vw, 40px);
    padding: 36px 0 80px;
    align-items: start;
}

.info-main {
    display: grid;
    gap: 20px;
}

.info-aside {
    display: grid;
    gap: 20px;
}

.info-layout a {
    color: var(--copper);
}

.plain-list {
    display: grid;
    gap: 6px;
    margin: 8px 0 16px;
    font-size: 0.92rem;
    color: var(--text-soft);
}

.plain-list li {
    display: flex;
    gap: 10px;
}

.plain-list li::before {
    content: "—";
    color: var(--copper);
}

.empty-state--page {
    margin: 60px auto 100px;
    max-width: 640px;
}

/* ============ footer ============ */
.site-footer {
    margin-top: auto;
    padding: 56px 0 24px;
    border-top: 1px solid var(--line);
    background: var(--bg-elev);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 32px;
    padding-bottom: 36px;
}

.footer-name {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 1.04rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.footer-name i {
    font-style: italic;
    color: var(--gold);
}

.footer-mark {
    width: 24px;
    height: 30px;
    flex: none;
    background: linear-gradient(180deg, var(--gold), var(--amber));
    -webkit-mask: url("../img/logo.png") center / contain no-repeat;
    mask: url("../img/logo.png") center / contain no-repeat;
}

.footer-note {
    font-size: 0.84rem;
    color: var(--muted);
    max-width: 34ch;
}

.footer-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.86rem;
    color: var(--muted);
}

.footer-label {
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-soft);
    margin-bottom: 4px;
}

.footer-block a:hover {
    color: var(--copper);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    font-size: 0.76rem;
    color: var(--muted);
}

/* ============ gallery ============ */
.gallery-thumbs-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

.gallery-thumbs {
    flex: 1;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    padding-bottom: 2px;
}

.gallery-thumbs::-webkit-scrollbar {
    display: none;
}

.gallery-nav {
    flex: none;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--bg-elev);
    color: var(--text-soft);
    font-size: 1.05rem;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.2s var(--ease), color 0.2s var(--ease), opacity 0.2s;
}

.gallery-nav:hover:not(:disabled) {
    border-color: var(--gold);
    color: var(--gold);
}

.gallery-nav:disabled {
    opacity: 0.32;
    cursor: default;
}

.zoomable {
    cursor: zoom-in;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(7, 9, 10, 0.94);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s var(--ease), visibility 0.25s var(--ease);
}

.lightbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.lightbox__img {
    display: block;
    width: auto;
    height: auto;
    max-width: min(1120px, 100%);
    max-height: calc(100vh - 88px);
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
}

.lightbox__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    background: rgba(18, 20, 22, 0.75);
    color: #fff;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.lightbox__close:hover {
    border-color: var(--gold);
    color: var(--gold);
}

@media (max-width: 640px) {
    .lightbox {
        padding: 12px;
    }

    .lightbox__img {
        max-height: calc(100vh - 72px);
        border-radius: 6px;
    }

    .lightbox__close {
        top: 8px;
        right: 8px;
    }
}

.gallery-thumb {
    flex: 0 0 72px;
    scroll-snap-align: start;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--bg-elev);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 3 / 4;
    opacity: 0.72;
    transition: border-color 0.2s, opacity 0.2s;
}

.gallery-thumb:hover,
.gallery-thumb.is-active {
    border-color: var(--gold);
    opacity: 1;
}

.gallery-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-main {
    transition: opacity 0.25s var(--ease);
}

/* ============ rich description ============ */
.accordion-body--rich > p {
    margin-bottom: 14px;
}

.accordion-body--rich > p:last-child {
    margin-bottom: 0;
}

.accordion-body--rich h3,
.accordion-body--rich h4 {
    margin: 22px 0 10px;
    font-size: 1.12rem;
}

.accordion-body--rich ul,
.accordion-body--rich ol {
    margin: 0 0 14px;
    padding-left: 22px;
    list-style: disc;
}

.accordion-body--rich ol {
    list-style: decimal;
}

.accordion-body--rich li {
    margin-bottom: 6px;
}

.desc-figure {
    margin: 18px 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-elev);
}

.desc-figure img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 640px;
    object-fit: contain;
    background: var(--bg-soft);
}

.accordion-body--rich .desc-icon {
    float: left;
    display: inline-block;
    width: auto;
    max-width: 180px;
    max-height: 64px;
    margin: 2px 16px 10px 0;
    vertical-align: middle;
    object-fit: contain;
}

.accordion-body--rich .desc-figure {
    clear: both;
}

@media (max-width: 640px) {
    .desc-figure img {
        max-height: 340px;
    }

    .accordion-body--rich {
        overflow-wrap: anywhere;
    }
}

/* policy page */
.policy h2 {
    font-size: 1.22rem;
    margin: 28px 0 10px;
}

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

.policy p {
    color: var(--text-soft);
    font-size: 0.94rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.policy ul {
    margin: 0 0 14px;
    padding-left: 20px;
    list-style: disc;
    color: var(--text-soft);
    font-size: 0.94rem;
    line-height: 1.7;
}

.policy li {
    margin-bottom: 6px;
}

.policy a {
    color: var(--copper);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* content pages (pages CMS) */
.page-doc {
    color: var(--text-soft);
    font-size: 0.95rem;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.page-doc > *:first-child {
    margin-top: 0;
}

.page-doc > *:last-child {
    margin-bottom: 0;
}

.page-doc p {
    margin: 0 0 14px;
}

.page-doc h2 {
    margin: 26px 0 12px;
    font-size: 1.2rem;
    color: var(--text);
}

.page-doc h2:first-child {
    margin-top: 0;
}

.page-doc h3 {
    margin: 22px 0 10px;
    font-size: 1.05rem;
    color: var(--text);
}

.page-doc ul,
.page-doc ol {
    margin: 0 0 16px;
    padding-left: 22px;
}

.page-doc ul {
    list-style: disc;
}

.page-doc ol {
    list-style: decimal;
}

.page-doc li {
    margin-bottom: 6px;
}

.page-doc strong {
    color: var(--text);
}

.page-doc a {
    color: var(--copper);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.page-doc blockquote {
    margin: 18px 0;
    padding: 12px 18px;
    border-left: 3px solid var(--copper);
    background: var(--surface-strong);
    border-radius: 0 10px 10px 0;
}

.page-doc .desc-figure,
.page-doc .desc-media-text {
    margin: 20px 0;
}

.section--page-blocks .page-doc {
    max-width: 760px;
}

@media (max-width: 640px) {
    .page-doc .desc-media-text,
    .page-doc .desc-media-text--right {
        flex-direction: column;
    }

    .page-doc .desc-media-text img {
        width: 100%;
        max-width: none;
    }
}

/* ============ responsive ============ */
@media (max-width: 1080px) {
    .search {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .hero-media {
        aspect-ratio: 16 / 11;
        max-width: 560px;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-page,
    .cart-layout,
    .checkout-layout,
    .order-layout,
    .info-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary,
    .checkout-summary {
        position: static;
    }

    .product-gallery-frame {
        aspect-ratio: 3 / 4;
        max-width: 520px;
    }

    .product-gallery,
    .gallery-thumbs-wrap {
        max-width: 100%;
    }

    .catalog-layout {
        grid-template-columns: 200px 1fr;
    }
}

@media (max-width: 860px) {
    .main-nav {
        order: 3;
        width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
        gap: 20px;
        font-size: 0.88rem;
        scrollbar-width: none;
    }

    .main-nav::-webkit-scrollbar {
        display: none;
    }

    .header-inner {
        gap: 14px;
        min-height: 68px;
    }

    .search input {
        width: 110px;
    }

    .split {
        grid-template-columns: 1fr;
    }

    .process-list {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .process-list li {
        padding-top: 16px;
    }

    .delivery-band {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .catalog-layout {
        grid-template-columns: 1fr;
        padding-top: 24px;
    }

    .filters {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .filters-block {
        padding-bottom: 16px;
    }

    .filters-note {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

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

@media (max-width: 640px) {
    .shell {
        width: calc(100% - 32px);
    }

    .brand-text small {
        font-size: 0.6rem;
    }

    .cart-link-text {
        display: none;
    }

    .cart-link {
        padding-inline: 14px;
    }

    .search {
        display: none;
    }

    .hero h1 {
        font-size: clamp(2.2rem, 9vw, 3rem);
    }

    .hero-facts {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hero-facts li {
        flex-direction: row;
        justify-content: space-between;
        gap: 12px;
        padding-bottom: 10px;
        border-bottom: 1px solid var(--line);
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .category-card {
        min-height: 170px;
    }

    .product-grid,
    .product-grid--three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .product-body {
        padding: 14px 12px 12px;
    }

    .product-title {
        font-size: 1rem;
    }

    .product-foot {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .product-foot .btn {
        width: 100%;
    }

    .filters {
        grid-template-columns: 1fr;
    }

    .cart-row {
        grid-template-columns: 72px 1fr;
        gap: 12px;
    }

    .cart-row-media {
        width: 72px;
    }

    .cart-row-qty {
        grid-column: 2;
    }

    .cart-row-total {
        grid-column: 2;
        text-align: left;
    }

    .cart-row-remove {
        grid-column: 2;
        text-align: left;
    }

    .field-grid {
        grid-template-columns: 1fr;
    }

    .dilution-out {
        grid-template-columns: 1fr;
    }

    .buy-form {
        flex-direction: column;
    }

    .buy-form .qty {
        align-self: flex-start;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .section-head--row {
        flex-direction: column;
        align-items: flex-start;
    }

    .order-head {
        align-items: flex-start;
    }

    .cta-actions .btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* related products: compact grid overrides */
@media (max-width: 860px) {
    .product-grid--related {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .product-grid--related {
        grid-template-columns: 1fr;
    }

    .product-grid--related .product-media {
        flex-basis: 96px;
    }
}

/* accent variety */
.product-card {
    border-top: 2px solid var(--tint, var(--line));
}

.chip--badge {
    background: var(--violet);
    color: #fff;
}

.price-discount {
    background: var(--teal);
    color: #fff;
}

.section--categories .eyebrow { color: var(--amber); }
.section--process .eyebrow { color: var(--teal); }
.section--split .eyebrow { color: var(--copper); }
.section--delivery .eyebrow { color: var(--violet); }
.section--cta .eyebrow { color: var(--amber); }

.section--split {
    background: linear-gradient(180deg, rgba(47, 91, 74, 0.07), transparent 60%);
}

.section--delivery {
    background: rgba(156, 143, 176, 0.05);
}

.hero-facts span {
    color: var(--teal);
}

/* sticky product gallery on desktop */
@media (min-width: 1081px) {
    .product-gallery {
        position: sticky;
        top: 96px;
    }
}

/* product details full width */
.product-details {
    max-width: 900px;
}

/* in-cart button state */
.btn.is-in-cart {
    border-color: var(--teal);
    color: var(--teal);
}

/* product tabs */
.product-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.product-tab-btn {
    padding: 7px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: 0.82rem;
    cursor: pointer;
}

.product-tab-btn.is-active {
    border-color: var(--gold);
    color: var(--gold);
}

.accordions .accordion > summary {
    display: none;
}

.accordions .accordion {
    border: 0;
    padding: 0;
    margin: 0;
}

/* custom ratio inputs */
.ratio-custom {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0 4px;
}

.ratio-custom span {
    color: var(--muted);
    font-size: 0.9rem;
}

.ratio-custom input {
    width: 64px;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--bg-elev, #16181a);
    color: var(--text, #F2EFE8);
    font: inherit;
    font-size: 0.9rem;
    -moz-appearance: textfield;
    appearance: textfield;
}

.ratio-custom input:focus {
    outline: none;
    border-color: var(--gold);
}

.ratio-custom input::-webkit-outer-spin-button,
.ratio-custom input::-webkit-inner-spin-button {
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
}

.ratio-custom[hidden] {
    display: none;
}

/* image blocks in description */
.desc-media-text {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin: 16px 0;
}

.desc-media-text img {
    width: 40%;
    max-width: 320px;
    border-radius: 10px;
}

.desc-media-text--right {
    flex-direction: row-reverse;
}

.desc-media-text div {
    flex: 1;
    min-width: 0;
}

@media (max-width: 640px) {
    .desc-media-text,
    .desc-media-text--right {
        flex-direction: column;
    }

    .desc-media-text img {
        width: 100%;
        max-width: none;
    }
}

.desc-float {
    margin: 18px 0;
}

.desc-float img {
    max-width: 42%;
    border-radius: 10px;
}

.desc-float--left img {
    float: left;
    margin: 4px 20px 12px 0;
}

.desc-float--right img {
    float: right;
    margin: 4px 0 12px 20px;
}

.desc-float div {
    overflow-wrap: break-word;
}

@media (max-width: 640px) {
    .desc-float img,
    .desc-float--left img,
    .desc-float--right img {
        float: none;
        display: block;
        max-width: 100%;
        margin: 0 0 12px;
    }
}

.desc-icon-list {
    list-style: none;
    margin: 18px 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.desc-icon-item {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 16px;
    align-items: start;
}

.desc-icon-item img {
    display: block;
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 8px;
    background: var(--bg-soft);
}

.desc-icon-item__text {
    overflow-wrap: break-word;
}

@media (max-width: 640px) {
    .desc-icon-item {
        grid-template-columns: 48px 1fr;
        gap: 10px;
    }

    .desc-icon-item img {
        width: 48px;
        height: 48px;
    }
}

/* mobile catalog search */
.catalog-search {
    display: none;
}

@media (max-width: 1080px) {
    .catalog-search {
        display: block;
        padding-bottom: 20px;
    }

    .catalog-search form {
        display: flex;
        gap: 8px;
    }

    .catalog-search input[type="search"] {
        flex: 1;
        min-width: 0;
    }
}