:root {
    color-scheme: dark;
    --background: #0b1622;
    --header: #0d1926;
    --surface: #101f2e;
    --field: #142534;
    --edge: #2a3e50;
    --field-edge: #526779;
    --text: #f1f5fa;
    --muted: #afc1d1;
    --cyan: #65d9ef;
    --cyan-hover: #9ceaf8;
    --ink: #071924;
    --warning: #ffc294;
    --radius: 8px;
    font-family: system-ui, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; display: flex; flex-direction: column; min-height: 100vh; color: var(--text); background: radial-gradient(ellipse at 30% 0, #132434, var(--background) 52rem); }
img { display: block; width: 100%; height: 100%; object-fit: contain; }
input, button, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .6; }
input, select, textarea { min-width: 0; }
a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: .19em; }
a:hover { color: var(--cyan-hover); }
:focus-visible { outline: 2px solid var(--cyan-hover); outline-offset: 3px; }
h1, h2, h3, p, ul { margin-top: 0; }
h1 { margin-bottom: 22px; font-size: clamp(2rem, 4.8vw, 3.75rem); line-height: 1.04; letter-spacing: -.043em; overflow-wrap: anywhere; }
h2 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); line-height: 1.2; letter-spacing: -.022em; }
h3 { line-height: 1.27; }
[id] { scroll-margin-top: 12px; }

.shell { width: min(1360px, calc(100% - 68px)); margin-inline: auto; }
.main-content { flex: 1; padding-block: clamp(30px, 4vw, 56px) 72px; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: absolute; left: 12px; top: 12px; z-index: 2; padding: 8px 12px; border-radius: var(--radius); color: var(--ink); background: var(--cyan); }
.icon { display: block; width: 22px; height: 22px; flex: none; }
.muted, .field-hint { color: var(--muted); }
.notice { margin-bottom: 22px; padding: 12px 16px; border: 1px solid var(--edge); border-left: 3px solid var(--cyan); border-radius: var(--radius); background: var(--surface); overflow-wrap: anywhere; }
.availability { color: var(--warning); }
.price { font-weight: 760; font-variant-numeric: tabular-nums; }

.site-header { background: var(--header); }
.utility-bar { border-bottom: 1px solid var(--edge); background: #101e2b; }
.utility-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.utility-links { display: flex; gap: clamp(12px, 2.8vw, 34px); }
.utility-links a { color: var(--muted); font-size: .82rem; text-decoration: none; }
.utility-links a:hover { color: var(--cyan); }
.phone-link { display: inline-flex; align-items: center; gap: .52em; color: var(--text); font-size: .88rem; font-weight: 650; text-decoration: none; white-space: nowrap; }
.phone-link .icon { color: var(--cyan); width: 15px; height: 15px; }
.masthead { min-height: 72px; display: grid; grid-template-columns: auto minmax(120px, 650px) auto; justify-content: space-between; align-items: center; column-gap: clamp(18px, 4vw, 68px); padding-block: 12px; }
.wordmark { display: inline-block; color: var(--text); font-weight: 900; font-size: clamp(1.38rem, 2.65vw, 2.03rem); line-height: .9; letter-spacing: -.035em; text-decoration: none; }
.wordmark span { display: block; }
.catalog-search { display: grid; grid-template-columns: minmax(0, 1fr) auto; min-height: 42px; border: 1px solid var(--field-edge); border-radius: var(--radius); background: var(--field); }
.catalog-search:focus-within { border-color: var(--cyan); }
.catalog-search input, .catalog-search button { border: 0; border-radius: var(--radius); background: transparent; color: var(--text); }
.catalog-search input { width: 100%; padding: 8px 3px 8px 13px; }
.catalog-search input::placeholder { color: var(--muted); }
.catalog-search button { display: grid; place-items: center; width: 46px; color: var(--cyan); }
.catalog-search button:hover { color: var(--cyan-hover); background: #1b3344; }
.buyer-nav { display: flex; gap: clamp(11px, 2.4vw, 28px); align-items: center; }
.nav-action { display: flex; align-items: center; gap: 8px; padding: 6px 0; border: 0; color: var(--text); background: transparent; font-size: .88rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.nav-action:hover, .nav-action[aria-current] { color: var(--cyan); }
.cart-count { min-width: 23px; padding: 1px 5px; border-radius: 99px; color: var(--ink); background: var(--cyan); text-align: center; font-size: .79rem; font-weight: 800; }
.catalog-browse {
    --rail-glow: #15fff2;
    border-block: 1px solid #245361;
    background: radial-gradient(ellipse at 24% 5%, #214151, #101e2b 74%);
}
.catalog-browse-rows { display: grid; gap: 12px; padding-block: 12px 16px; }
.catalog-rail { min-width: 0; }
.catalog-rail h2 { margin: 0 0 5px; color: var(--rail-glow); font-size: .91rem; font-weight: 750; text-shadow: 0 0 12px #00ffe873; }
.catalog-rail-body { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; }
.catalog-rail-items {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 3px;
    margin: 0 -3px;
    list-style: none;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
}
.catalog-rail-items::-webkit-scrollbar { display: none; }
.catalog-rail-items li { flex: 0 0 24.5%; min-width: 155px; display: flex; scroll-snap-align: start; }
.catalog-rail-items a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 56px;
    padding: 6px clamp(9px, 1.4vw, 20px);
    position: relative;
    border: 1px solid #71fff7;
    border-radius: 9px;
    color: var(--text);
    background:
        linear-gradient(158deg, rgb(185 255 252 / 34%), rgb(135 255 249 / 8%) 55%, transparent 56%),
        linear-gradient(180deg, rgb(50 179 187 / 35%), rgb(17 51 68 / 80%));
    box-shadow: inset 0 2px 0 rgb(222 255 255 / 55%), inset 0 -8px 15px rgb(0 255 238 / 16%), 0 0 8px rgb(0 255 239 / 22%);
    backdrop-filter: blur(12px) saturate(155%);
    text-align: center;
    text-decoration: none;
    line-height: 1.25;
    text-wrap: balance;
    overflow-wrap: anywhere;
    font-size: .9rem;
    font-weight: 690;
}
.catalog-rail-items a:hover, .catalog-rail-items a[aria-current] { color: #edffff; border-color: #c2fffc; background-color: #267780; }
.catalog-arrow {
    grid-row: 1;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid #659ba9;
    border-radius: 9px;
    color: #79f5ff;
    background: linear-gradient(150deg, #305565, #172f41 70%);
}
.catalog-arrow[hidden] { display: none; }
.catalog-rail-body > .catalog-arrow:first-child { grid-column: 1; margin-right: 8px; }
.catalog-rail-body > .catalog-arrow:last-child { grid-column: 3; margin-left: 8px; }
.catalog-arrow .icon { width: 17px; height: 17px; }
.catalog-arrow:not(:disabled):hover { border-color: var(--cyan); }
.catalog-rail-body .catalog-arrow {
    position: relative;
    border-color: #75fff5;
    color: var(--rail-glow);
    background: linear-gradient(152deg, rgb(171 255 250 / 32%), rgb(22 92 105 / 54%) 54%, #162e40 56%);
    box-shadow: inset 0 1px 0 rgb(222 255 255 / 50%), inset 0 -5px 10px rgb(0 255 238 / 17%), 0 0 8px rgb(0 255 239 / 20%);
    backdrop-filter: blur(12px) saturate(155%);
}
.catalog-rail-body .catalog-arrow:disabled { border-color: #51a8ad; color: #74bac2; }
.catalog-rail-items a::after, .catalog-rail-body .catalog-arrow:not(:disabled)::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 2px var(--rail-glow), inset 0 0 16px rgb(0 255 235 / 58%), 0 0 12px rgb(0 255 235 / 66%);
    opacity: .58;
    pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
    .catalog-rail-items a::after, .catalog-rail-body .catalog-arrow:not(:disabled)::after {
        animation: catalog-glass-glow 2.9s ease-in-out -.8s infinite;
    }
    .catalog-rail-types a::after, .catalog-rail-types .catalog-arrow:not(:disabled)::after { animation-delay: -.4s; }
    @keyframes catalog-glass-glow {
        0%, 100% { opacity: .25; }
        50% { opacity: 1; }
    }
}
.listing-heading { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin-bottom: 14px; }
.listing-heading :is(h1,h2) { margin-bottom: 0; font-size: clamp(1.55rem, 3vw, 2.3rem); overflow-wrap: anywhere; }
.listing-heading a, .query-display { font-size: .9rem; }
.query-display { color: var(--muted); overflow-wrap: anywhere; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(11px, 1.7vw, 24px); list-style: none; padding: 0; margin-bottom: 0; }
.home-showcase { display: grid; gap: clamp(23px, 3vw, 42px); margin-bottom: clamp(36px, 5vw, 65px); }
.home-shelf { min-width: 0; }
.home-shelf-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.home-shelf-header h2 { margin: 0; color: var(--text); font-size: clamp(1.34rem, 2.5vw, 2rem); }
.home-shelf-link { display: inline-flex; align-items: center; gap: 5px; color: inherit; text-decoration: none; }
.home-shelf-link .icon { width: .7em; height: .7em; color: #54efee; }
.home-shelf-link:hover, .home-shelf-link:focus-visible { color: #83fff8; text-decoration: underline; text-underline-offset: .16em; }
.home-shelf-arrows { display: flex; gap: 8px; flex: none; }
.browse-filters { display: flex; min-width: 0; align-items: center; gap: 7px; }
.home-shelf-header .browse-filters, .listing-heading .browse-filters { margin-left: auto; }
.browse-select { position: relative; min-width: 0; }
.browse-select::after {
    content: "";
    position: absolute;
    right: 11px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid var(--cyan);
    border-bottom: 1.5px solid var(--cyan);
    transform: translateY(-75%) rotate(45deg);
    pointer-events: none;
}
.browse-select select {
    appearance: none;
    color-scheme: dark;
    width: 100%;
    min-height: 40px;
    padding: 5px 24px 5px 10px;
    border: 1px solid #47697e;
    border-radius: 8px;
    background: linear-gradient(145deg, #224253, #152a3b);
    color: var(--text);
    font: inherit;
    font-size: .84rem;
    cursor: pointer;
}
.browse-select select:hover, .browse-select select:focus-visible { border-color: var(--cyan); }
.browse-select option { background: #152a3b; color: var(--text); }
.browse-brand { width: clamp(104px, 16vw, 188px); }
:is(.listing-heading, .home-shelf-header) > [id$="-title"] { scroll-margin-top: 12px; }
@media (max-width: 570px) {
    .home-shelf-header { flex-wrap: wrap; gap: 7px; }
    .home-shelf-header .browse-filters, .listing-heading .browse-filters { margin-left: 0; }
    .home-shelf-header .browse-select select { padding-inline: 8px 21px; }
    .home-shelf-header .browse-select::after { right: 9px; }
    .home-shelf-header .browse-brand { width: 100px; }
    .home-shelf-arrows { margin-left: auto; gap: 6px; }
}
.home-shelf-items {
    --shelf-gap: clamp(11px, 1.7vw, 24px);
    display: flex;
    gap: var(--shelf-gap);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    margin: 0;
    padding: 2px 0 4px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.home-shelf-items::-webkit-scrollbar { display: none; }
.home-shelf-items > .product-card { flex: 0 0 calc((100% - 3 * var(--shelf-gap)) / 4); scroll-snap-align: start; }
.product-card { min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--edge); border-radius: var(--radius); background: #101d2a; }
.product-card:hover, .product-card:focus-within { border-color: var(--cyan); }
.media { display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; overflow: hidden; background: radial-gradient(ellipse at 48% 56%, #20394a, #101b28 72%); }
.media > img { min-width: 0; min-height: 0; object-position: center; }
.product-card-media { aspect-ratio: 1 / 1.03; border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; border-bottom: 1px solid var(--edge); padding: clamp(10px, 1.5vw, 22px); text-decoration: none; }
.photo-empty { color: var(--muted); text-align: center; font-size: .82rem; }
.product-card-body { flex: 1; display: flex; flex-direction: column; padding: clamp(10px, 1.25vw, 17px); }
.product-card :is(h2,h3) { margin-bottom: 12px; font-size: clamp(.89rem, 1.25vw, 1.05rem); overflow-wrap: anywhere; }
.product-card :is(h2,h3) a { color: var(--text); text-decoration: none; }
.product-card :is(h2,h3) a:hover { color: var(--cyan); }
.product-card-bottom { display: grid; gap: 10px; margin-top: auto; }
.product-card-bottom .price { margin-bottom: 0; font-size: clamp(.94rem, 1.5vw, 1.24rem); }
.product-card-bottom .button { width: 100%; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 7px; flex-wrap: wrap; margin-top: 28px; }
.pagination a, .current-page { display: inline-grid; place-items: center; min-width: 40px; min-height: 40px; padding-inline: 8px; border: 1px solid var(--edge); border-radius: var(--radius); text-decoration: none; }
.pagination a:hover { border-color: var(--cyan); }
.current-page { border-color: var(--cyan); color: var(--ink); background: var(--cyan); font-weight: 800; }
.pagination-gap { padding-inline: 2px; color: var(--muted); }

.breadcrumb { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 8px; margin-bottom: 19px; color: var(--muted); font-size: .85rem; overflow-wrap: anywhere; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb [aria-current] { min-width: 0; }
.max-navigation { margin-bottom: 12px; }
.max-navigation .button { padding-inline: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 8px 15px; border: 1px solid var(--cyan); border-radius: var(--radius); color: var(--ink); background: var(--cyan); text-align: center; font-weight: 700; font-size: .91rem; line-height: 1.22; text-decoration: none; overflow-wrap: anywhere; }
.button:hover { background: var(--cyan-hover); color: var(--ink); }
.button-outline { color: var(--cyan); background: transparent; }
.button-outline:hover { color: var(--cyan-hover); background: #172d3d; }
.button .icon { width: 18px; height: 18px; }
input:where(:not([type="radio"], [type="checkbox"], [type="hidden"])), select, textarea { min-height: 42px; padding: 8px 11px; border: 1px solid var(--field-edge); border-radius: var(--radius); color: var(--text); background: var(--field); }
textarea { resize: vertical; }
input[type="radio"], input[type="checkbox"] { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--cyan); }

.product-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: start; gap: clamp(21px, 5vw, 76px); }
.product-main-photo { aspect-ratio: 1.08; padding: clamp(13px, 3vw, 38px); border: 1px solid var(--edge); border-radius: var(--radius); }
.gallery [hidden] { display: none; }
.gallery-controls { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.gallery-controls [aria-pressed="true"] { color: var(--ink); background: var(--cyan); }
.thumbnails { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; }
.thumbnail { width: 70px; height: 70px; padding: 6px; border: 1px solid var(--edge); border-radius: var(--radius); }
.thumbnail:hover, .thumbnail[aria-pressed="true"], .thumbnail[aria-current="true"] { border-color: var(--cyan); }
.product-detail h1 { margin-bottom: 16px; font-size: clamp(1.95rem, 3.6vw, 3.28rem); }
.product-price { margin-bottom: 16px; font-size: clamp(1.34rem, 2.65vw, 2rem); }
.buy-form { display: grid; gap: 8px; }
.buy-form p { margin-bottom: 0; }
.buy-form > label, .quantity-field label { font-size: .83rem; font-weight: 650; }
.buy-form select { width: 100%; max-width: 100%; }
.buy-actions { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 10px; margin-top: 5px; }
.quantity-field { display: grid; gap: 4px; }
.quantity-field input { width: 88px; }
.buy-actions .button { flex: 1 0 140px; }
.product-description { margin-top: 26px; padding-top: 19px; border-top: 1px solid var(--edge); }
.specialist-photo { width: min(100%, 16rem); aspect-ratio: 1; overflow: hidden; margin: 0 0 1rem; border: 1px solid var(--edge); border-radius: var(--radius); }
.specialist-photo img { object-fit: cover; }
.specialist-photo-preview { width: min(100%, 9rem); }
.product-description h2 { margin-bottom: 8px; }
.product-description p { color: var(--muted); overflow-wrap: anywhere; }

.panel, .empty-state { padding: clamp(15px, 2.4vw, 32px); border: 1px solid var(--edge); border-radius: var(--radius); background: var(--surface); }
.empty-state p { color: var(--muted); }
.order-layout { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(245px, 1fr); gap: clamp(12px, 2vw, 26px); align-items: start; }
.checkout-entry { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.order-summary h2 { margin-bottom: 13px; }
.order-summary .total-price { margin-bottom: 9px; font-size: 1.68rem; }
.order-summary .button { width: 100%; }
.order-summary > p:last-child { margin-bottom: 0; }
.cart-list, .order-preview { list-style: none; padding: 0; margin-bottom: 14px; }
.cart-item { display: grid; grid-template-columns: minmax(0, 1fr) 90px auto; align-items: center; gap: 9px 14px; padding: 12px 0; border-bottom: 1px solid var(--edge); }
.cart-item:first-child { padding-top: 0; }
.cart-item p { margin: 3px 0 0; font-size: .86rem; overflow-wrap: anywhere; }
.cart-item-title { color: var(--text); font-weight: 680; overflow-wrap: anywhere; }
.cart-item-price { justify-self: end; text-align: right; }
.field-hint { font-size: .84rem; }
.cart-panel .button { margin-top: 2px; }
.delivery-options { min-width: 0; margin: 0; padding: 0; border: 0; }
.delivery-options legend, .checkout-contacts h2 { margin-bottom: 12px; font-size: clamp(1.16rem, 2vw, 1.35rem); font-weight: 740; }
.delivery-option { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: 8px clamp(7px, 1.3vw, 15px); padding: 10px 11px; border: 1px solid var(--edge); border-radius: var(--radius); cursor: pointer; }
.delivery-option + .delivery-option { margin-top: 7px; }
.delivery-option:has(input:checked) { border-color: var(--cyan); background: #182f3e; }
.delivery-option small, .order-preview small { display: block; color: var(--muted); }
.rate { text-align: right; font-size: .89rem; font-weight: 630; }
.delivery-map-link { margin: 9px 0 0; font-size: .88rem; }
.checkout-contacts { margin-top: 26px; }
.consent-block { display: grid; gap: 7px; margin-bottom: 16px; }
.check-line { display: grid; align-items: start; grid-template-columns: 18px 1fr; gap: 10px; }
.check-line label { cursor: pointer; }
.newsletter-offer {
    margin-top: 7px;
    padding: 13px 14px;
    border: 1px solid #318b8a;
    border-radius: 10px;
    background: #103235;
}
.newsletter-offer-copy { display: grid; gap: 4px; min-width: 0; }
.newsletter-offer-copy label { color: #effffc; font-weight: 750; }
.newsletter-offer-copy a { justify-self: start; color: #acdfdb; font-size: .85rem; text-decoration: underline; }
.newsletter-offer-copy p { margin: 3px 0 0; color: #e4faf5; font-size: .94rem; }
.newsletter-offer-copy strong { color: #8af2d6; }
.newsletter-offer-instruction { display: none; }
.newsletter-offer input:checked + .newsletter-offer-copy .newsletter-offer-instruction { display: block; }
@media (prefers-reduced-motion: no-preference) {
    .newsletter-offer:not(:focus-within) { animation: newsletter-pulse 2.6s ease-in-out 3; }
    @keyframes newsletter-pulse {
        0%, 100% { box-shadow: 0 0 0 0 rgb(80 214 191 / 0%); }
        50% { box-shadow: 0 0 0 4px rgb(80 214 191 / 22%); }
    }
}
.policy-link { justify-self: start; margin-left: 28px; font-size: .85rem; }
@supports selector(:has(*)) {
    .consent-block:has(input[required]:not(:checked)) + .personal-fields { display: none; }
}
.form-fields { display: grid; gap: 13px; }
.form-fields label { font-size: .88rem; font-weight: 650; }
.form-fields small { color: var(--muted); font-weight: 400; }
.form-fields input, .form-fields textarea { display: block; width: 100%; margin-top: 4px; }
.form-fields button { justify-self: start; margin-top: 3px; }
.order-preview li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding-block: 7px; font-size: .91rem; overflow-wrap: anywhere; }
.summary-total { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; justify-content: space-between; border-top: 1px solid var(--edge); padding-top: 12px; }
.summary-total .price { font-size: 1.26rem; }
.completion { max-width: 630px; margin: clamp(10px, 6vw, 74px) auto; text-align: center; }
.completion h1 { margin-top: 16px; font-size: clamp(1.9rem, 4vw, 3rem); }
.completion p { color: var(--muted); }
.completion-icon { display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto; border: 1px solid var(--cyan); border-radius: 50%; color: var(--cyan); background: #182f3e; }
.account { width: min(100%, 470px); margin-inline: auto; }
.account-switch { margin: 18px 0 0; color: var(--muted); }
.account-heading { display: flex; align-items: start; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin-bottom: 16px; }
.account-heading h1 { margin-bottom: 0; }
.member-orders { list-style: none; padding: 0; }
.member-orders > li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 8px 16px; padding-block: 11px; border-bottom: 1px solid var(--edge); overflow-wrap: anywhere; }
.member-orders small, .member-orders time { display: block; color: var(--muted); font-size: .84rem; }
.member-order-price { text-align: right; }
.member-order-items { grid-column: 1 / -1; display: grid; gap: 8px; padding: 0; list-style: none; }
.member-order-items > li { display: flex; align-items: center; gap: 11px; padding: 8px; border-radius: 8px; background: #122433; }
.admin-order-product { display: flex; align-items: center; gap: 10px; }
.order-item-photo { width: 66px; height: 66px; flex: 0 0 66px; padding: 4px; border-radius: 6px; }
.order-item-photo img { width: 100%; height: 100%; object-fit: contain; }

.footer { border-top: 1px solid var(--edge); background: #0d1926; }
.footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 24px; padding-block: 29px 39px; }
.footer h2 { margin-bottom: 8px; font-size: .98rem; }
.footer p, .footer-doc { margin-bottom: 7px; color: var(--muted); font-size: .85rem; }
.footer p:last-child { margin-bottom: 0; }
.footer-doc { display: block; }
.footer-doc:hover { color: var(--cyan); }
.footer-brand { align-self: start; }

.cookie-settings-link {
    padding: 0;
    border: 0;
    color: var(--muted);
    background: transparent;
    text-align: left;
    text-decoration: underline;
    font-size: .85rem;
}
.cookie-settings-link:hover { color: var(--cyan); }
.cookie-notice {
    position: fixed;
    z-index: 20;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 12px;
    width: min(900px, calc(100% - 24px));
    margin-inline: auto;
    padding: 15px clamp(14px, 2.5vw, 22px);
    border: 1px solid var(--edge);
    border-radius: 12px;
    background: #142534;
    box-shadow: 0 8px 36px rgb(0 0 0 / 42%);
}
.cookie-notice-body { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px; }
.cookie-notice h2, .cookie-dialog h2 { margin: 0 0 6px; font-size: 1.13rem; }
.cookie-notice p, .cookie-dialog p { margin: 0; color: var(--muted); }
.cookie-notice a, .cookie-dialog a { font-size: .86rem; }
.cookie-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cookie-dialog {
    width: min(500px, calc(100% - 24px));
    padding: clamp(16px, 4vw, 26px);
    border: 1px solid var(--edge);
    border-radius: 12px;
    color: var(--text);
    background: var(--surface);
}
.cookie-dialog::backdrop { background: rgb(4 12 20 / 70%); }
.cookie-dialog .cookie-actions { justify-content: flex-end; margin-top: 16px; }
.cookie-category { margin-block: 14px; padding: 12px; border: 1px solid var(--edge); border-radius: var(--radius); }
.cookie-category p { margin-top: 4px; }

@media (max-width: 1000px) {
    .home-shelf-items > .product-card { flex-basis: calc((100% - 2 * var(--shelf-gap)) / 3); }
    .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

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

@media (max-width: 720px) {
    .home-shelf-items > .product-card { flex-basis: calc((100% - var(--shelf-gap)) / 2); }
    .utility-inner { padding-block: 5px; }
    .utility-links { min-width: 0; flex-wrap: wrap; row-gap: 2px; }
    .shell { width: calc(100% - 36px); }
    .masthead { grid-template-columns: 1fr auto; gap: 11px; }
    .catalog-search { grid-area: 2 / 1 / 3 / -1; }
    .catalog-rail-items li { flex-basis: calc(50% - 4px); min-width: 0; }
    .catalog-rail-items a { height: 72px; }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .product-layout, .order-layout { grid-template-columns: minmax(0, 1fr); }
    .product-main-photo { max-width: 495px; }
    .product-detail h1 { margin-bottom: 9px; }
    .main-content { padding-bottom: 45px; }
}

@media (max-width: 405px) {
    .catalog-rail-items a { height: 80px; font-size: .84rem; }
    .shell { width: calc(100% - 26px); }
    .buyer-nav { gap: 9px; }
    .nav-action { gap: 4px; font-size: .79rem; }
    .nav-action .icon { width: 18px; height: 18px; }
    .cart-count { min-width: 19px; }
    .utility-links { column-gap: 9px; }
    .utility-links a, .utility-inner .phone-link { font-size: .72rem; }
    .utility-inner .phone-link { gap: 4px; }
    .utility-inner .phone-link .icon { display: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 17px; }
    .cart-item { grid-template-columns: minmax(0, 1fr) auto; }
    .cart-item-price { grid-column: 1 / -1; }
    .member-orders > li { grid-template-columns: 1fr 1fr; }
    .member-order-price { grid-column: 1 / -1; text-align: left; }
}
