:root {
    --brand-yellow: #f5a11a;
    --brand-blue: #2d3440;
    --orange: var(--brand-yellow);
    --orange-dark: color-mix(in srgb, var(--brand-yellow) 78%, #000);
    --dark: var(--brand-blue);
    --dark-2: var(--brand-blue);
    --black: color-mix(in srgb, var(--brand-blue) 82%, #000);
    --heading: var(--brand-blue);
    --muted: #6f6f6f;
    --line: #e5e5e5;
    --light: #f6f6f6;
    --white: #ffffff;
    --success: #148b4b;
    --danger: #b42318;
    --shadow: 0 18px 45px rgba(0,0,0,.12);
    --radius: 16px;
    --container: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--black);
    background: var(--white);
    line-height: 1.55;
    font-size: 1rem;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: min(var(--container), calc(100% - 32px)); margin: 0 auto; }
.section-pad { padding: 52px 0; }
.section-muted { background: var(--light); }

.top-line { background: var(--dark-2); color: #fff; font-size: 14px; }
.top-line__inner { min-height: 34px; display: flex; align-items: center; gap: 24px; justify-content: center; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.header-main {
    min-height: 64px;
    display: flex;
    align-items: center;
    gap: 18px;
}
.logo { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.logo__mark {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    font-weight: 800;
    color: var(--white);
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    box-shadow: 0 8px 16px color-mix(in srgb, var(--brand-yellow) 35%, transparent);
}
.logo__text { font-size: 19px; font-weight: 800; color: var(--dark-2); letter-spacing: -.02em; }

.main-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.main-nav a {
    padding: 9px 8px;
    border-radius: 10px;
    color: var(--dark-2);
    font-weight: 700;
    font-size: 14px;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--white); background: var(--dark); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-phone { font-weight: 800; color: var(--dark-2); white-space: nowrap; }
.messenger {
    width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
    color: #fff; font-size: 12px; font-weight: 900;
}
.messenger--tg { background: #279bdc; }
.messenger--vb { background: #7357d5; }
.cart-link {
    height: 40px;
    min-width: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 12px;
    background: var(--orange);
    color: var(--white);
    border-radius: 12px;
    font-weight: 800;
    position: relative;
}
.cart-link:hover, .cart-link.is-active { background: var(--orange-dark); }
.cart-count {
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--dark-2);
    color: #fff;
    font-size: 12px;
}
.menu-toggle { display: none; background: none; border: 0; padding: 8px; }
.menu-toggle span { display: block; width: 26px; height: 3px; margin: 5px 0; background: var(--dark-2); border-radius: 3px; }

.hero {
    background: radial-gradient(circle at 70% 20%, color-mix(in srgb, var(--brand-yellow) 22%, transparent), transparent 34%), linear-gradient(180deg, #fff, #f7f7f7);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 32px; align-items: center; }
.eyebrow, .section-label, .section-head span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--orange-dark);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    font-weight: 900;
}
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.875rem; color: var(--heading); }
h1 { font-size: clamp(2rem, 3vw, 2.625rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(1.5rem, 2.2vw, 2rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); letter-spacing: -0.015em; }
p { margin: 0 0 1.125rem; }
.lead { font-size: clamp(0.9375rem, 1vw, 1.0625rem); line-height: 1.45; color: var(--muted); max-width: 42.5rem; }
.hero-badges {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.625rem;
    margin: 1rem 0;
    width: 100%;
}
.hero-badges span {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.3125rem;
    min-width: 0;
    min-height: 3rem;
    background: var(--white);
    border: 0.0625rem solid var(--line);
    border-left: 0.25rem solid var(--orange);
    padding: 0.5rem;
    border-radius: 0.75rem;
    color: var(--dark-2);
}
.hero-badges span small {
    color: var(--muted);
    font-size: 0.6875rem;
    line-height: 1.15;
    font-weight: 800;
}
.hero-badges span strong {
    color: var(--dark-2);
    font-size: 0.9375rem;
    line-height: 1.15;
    font-weight: 900;
}
.price-line { display: flex; align-items: baseline; gap: 0.75rem; flex-wrap: wrap; margin: 0.875rem 0 1rem; }
.price-line strong { font-size: 1.875rem; }
.price-line span { color: var(--muted); text-decoration: line-through; font-size: 1rem; }
.price-line em { font-style: normal; color: var(--success); font-weight: 900; background: #eaf8ef; padding: 0.375rem 0.625rem; border-radius: 62.4375rem; font-size: 0.8125rem; }
.hero-buttons, .inline-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0 1.125rem;
    border-radius: 0.75rem;
    border: 0.125rem solid transparent;
    cursor: pointer;
    font-weight: 900;
    transition: .18s ease;
}
.btn-primary { background: var(--orange); color: var(--white); box-shadow: 0 10px 22px color-mix(in srgb, var(--brand-yellow) 28%, transparent); }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn-secondary { background: var(--dark); color: var(--white); }
.btn-secondary:hover { background: var(--dark-2); transform: translateY(-1px); }
.btn-ghost { background: var(--white); border-color: var(--line); color: var(--dark-2); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange-dark); }
.btn-wide { width: 100%; }
.microcopy { margin-top: 14px; color: var(--muted); font-size: 14px; }

.hero-card {
    background: var(--white);
    border-radius: 28px;
    padding: 20px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,.04);
}
.product-photo {
    min-height: 410px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #efefef, #fff);
    border-radius: 22px;
    overflow: hidden;
}
.product-photo img { width: 100%; height: 100%; object-fit: contain; }
.hero-card__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 18px; }
.hero-card__bottom strong, .hero-card__bottom span { display: block; }
.hero-card__bottom span { color: var(--muted); }
.mini-cart-link { color: var(--white); background: var(--dark); border-radius: 999px; padding: 8px 13px; font-weight: 800; }

.trust-strip { background: var(--dark); color: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; }
.trust-grid div { padding: 22px 18px; background: rgba(255,255,255,.05); }
.trust-grid strong { display: block; font-size: 18px; }
.trust-grid span { color: rgba(255,255,255,.78); font-size: 14px; }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 28px; }
.section-head p, .split-grid p, .specs-layout p { color: var(--muted); }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.info-card, .review-card, .delivery-box, .contact-card, .cart-panel, .order-form, .text-page {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,.05);
}
.info-card { border-top: 5px solid var(--orange); }
.info-card p, .review-card p { color: var(--muted); margin-bottom: 0; }

.split-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 42px; align-items: center; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.video-grid--page { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.video-shell, .video-placeholder {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: var(--dark-2);
    min-height: 220px;
    box-shadow: var(--shadow);
    cursor: pointer;
}
.video-shell::before { content: ''; display: block; padding-top: 56.25%; }
.video-shell--short { max-width: 365px; margin: 0 auto; }
.video-shell--short::before { padding-top: 177.8%; }
.video-shell img, .video-shell iframe, .video-play {
    position: absolute;
}
.video-shell img, .video-shell iframe { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-shell.is-loaded img, .video-shell.is-loaded .video-play { display: none; }
.video-shell iframe { border: 0; }
.video-play {
    z-index: 2;
    left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 64px; height: 64px; border-radius: 50%; border: 0;
    background: var(--orange); color: #fff; font-size: 24px; cursor: pointer;
    box-shadow: 0 8px 28px rgba(0,0,0,.22);
}
.video-placeholder { color: #fff; display: grid; place-content: center; text-align: center; gap: 8px; padding: 20px; }
.video-placeholder span { color: rgba(255,255,255,.72); }

.specs-layout { display: grid; grid-template-columns: .55fr 1.45fr; gap: 30px; align-items: start; }
.spec-table { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-table div { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.spec-table div:last-child { border-bottom: 0; }
.spec-table span { color: var(--muted); }
.spec-table strong { text-align: left; }


.final-cta { background: linear-gradient(135deg, var(--dark-2), var(--dark)); color: #fff; padding: 46px 0; }
.final-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.final-cta p { margin: 0; color: rgba(255,255,255,.75); }

.page-hero { background: linear-gradient(135deg, var(--dark), var(--dark-2)); color: #fff; padding: 72px 0; }
.page-hero--compact { padding: 48px 0; }
.page-hero p { color: rgba(255,255,255,.8); max-width: 760px; }

.cart-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: start; }
.cart-empty { padding: 20px; background: var(--light); border-radius: 14px; }
.cart-items { display: grid; gap: 12px; }
.cart-item { display: grid; grid-template-columns: 88px 1fr auto auto; gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 14px; }
.cart-item img { width: 88px; height: 70px; object-fit: contain; background: var(--light); border-radius: 10px; }
.cart-item__body strong, .cart-item__body span { display: block; }
.cart-item__body span { color: var(--muted); font-size: 14px; }
.cart-item__price { font-weight: 900; color: var(--orange-dark); margin-top: 5px; }
.qty-control { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.qty-control button { width: 34px; height: 36px; border: 0; background: var(--light); cursor: pointer; font-weight: 900; }
.qty-control input { width: 46px; height: 36px; border: 0; text-align: center; }
.remove-btn { border: 0; background: transparent; color: var(--danger); font-weight: 800; cursor: pointer; }
.cart-total { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-size: 22px; }

.order-form { display: grid; gap: 16px; }
.order-form h2 { margin-bottom: 0; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
legend { font-weight: 900; margin-bottom: 8px; }
.radio-card { display: flex; align-items: flex-start; gap: 12px; border: 1px solid var(--line); border-radius: 14px; padding: 14px; cursor: pointer; }
.radio-card:has(input:checked) { border-color: var(--orange); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-yellow) 15%, transparent); }
.radio-card input { margin-top: 3px; accent-color: var(--orange-dark); }
.radio-card strong, .radio-card em { display: block; }
.radio-card em { font-style: normal; color: var(--muted); font-size: 14px; }
.order-form label:not(.radio-card) { display: grid; gap: 7px; }
.order-form label span { font-weight: 800; color: var(--dark-2); }
.order-form input[type="text"], .order-form input[type="tel"], .order-form textarea {
    width: 100%; border: 1px solid #cfcfcf; border-radius: 12px; padding: 13px 14px; outline: 0;
}
.order-form input:focus, .order-form textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-yellow) 15%, transparent); }
.pickup-note { padding: 14px; border-radius: 14px; background: color-mix(in srgb, var(--brand-yellow) 11%, #fff); border: 1px solid color-mix(in srgb, var(--brand-yellow) 35%, transparent); }
.pickup-note span { display: block; color: var(--dark-2); }
.form-message { min-height: 24px; font-weight: 800; }
.form-message.is-success { color: var(--success); }
.form-message.is-error { color: var(--danger); }

.contacts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.contact-line { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
.address-big { font-size: 23px; font-weight: 900; color: var(--dark-2); }
.muted { color: var(--muted); }
.map-section { padding: 0 0 72px; }
.map-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
}
.map-responsive {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
    border-radius: calc(var(--radius) - 4px);
    background: var(--light);
}
.map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
    border: 0;
}
.map-caption { margin-top: 12px; color: var(--muted); }
.text-page { max-width: 850px; }
.text-page h2 { margin-top: 28px; }
.text-page h2:first-child { margin-top: 0; }
.review-card strong { color: var(--orange-dark); display: block; margin-bottom: 10px; }
.review-card span { font-weight: 800; color: var(--dark-2); }

.site-footer { background: var(--brand-blue); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr 1fr; gap: 24px; padding: 34px 0; }
.footer-grid h3, .footer-logo { color: #fff; font-weight: 900; }
.footer-logo { font-size: 22px; margin-bottom: 10px; }
.footer-grid p, .footer-grid a { display: block; color: rgba(255,255,255,.74); margin: 7px 0; }
.footer-grid a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.62); padding: 16px 0; }

@media (max-width: 1024px) {
    .header-main { flex-wrap: wrap; }
    .main-nav { order: 3; width: 100%; justify-content: center; }
    .header-actions { margin-left: auto; }
    .hero-grid, .split-grid, .specs-layout, .cart-layout { grid-template-columns: 1fr; }
    .trust-grid, .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .video-grid, .contacts-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
    .container { width: min(100% - 24px, var(--container)); }
    .section-pad { padding: 50px 0; }
    .top-line__inner { flex-wrap: wrap; gap: 8px 16px; padding: 8px 0; }
    .header-main { min-height: 68px; gap: 12px; }
    .logo__text { font-size: 18px; }
    .header-phone, .messenger { display: none; }
    .menu-toggle { display: block; margin-left: auto; }
    .main-nav { display: none; align-items: stretch; flex-direction: column; order: 5; }
    .main-nav.is-open { display: flex; }
    .main-nav a { padding: 12px 14px; }
    .cart-link__text { display: none; }
    .cart-link { min-width: 48px; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.0625rem; }
    .lead { font-size: 0.9375rem; }
    .hero-grid { gap: 28px; }
    .product-photo { min-height: 260px; }
    .trust-grid, .cards-grid, .video-grid, .contacts-grid, .footer-grid { grid-template-columns: 1fr; }
    .spec-table div { grid-template-columns: 1fr; gap: 4px; }
    .spec-table strong { text-align: left; }
    .product-info-order__controls { align-items: stretch; flex-direction: column; gap: 8px; }
    .product-info-order__buttons { display: grid; grid-template-columns: repeat(2, 1fr); width: 100%; padding: 3px; gap: 1px; }
    .product-info-order__button { width: 100%; padding: 0 6px; font-size: 12.5px; }
    .product-info-order__button + .product-info-order__button::before { display: none; }
    .customer-reviews__grid { grid-template-columns: 1fr; }
    .final-cta__inner { flex-direction: column; align-items: flex-start; }
    .cart-item { grid-template-columns: 72px 1fr; }
    .qty-control, .remove-btn { grid-column: 2; justify-self: start; }
    .page-hero { padding: 48px 0; }
}

/* Product photo gallery */
.hero-grid--product { grid-template-columns: minmax(0, 1.06fr) minmax(380px, .94fr); align-items: start; }
.product-media {
    background: var(--white);
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 20px;
    padding: 12px;
    box-shadow: var(--shadow);
}
.product-media__main {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #efefef, #fff);
    aspect-ratio: 1 / .66;
}
.product-media__main-item {
    position: absolute;
    inset: 0;
    display: none;
    place-items: center;
}
.product-media__main-item.is-active { display: grid; }
.product-media__main-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.product-media__thumbs {
    display: flex;
    gap: 7px;
    margin-top: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 1px 1px 5px;
    scrollbar-width: thin;
}
.product-media__thumb {
    position: relative;
    border: 2px solid transparent;
    background: var(--light);
    border-radius: 12px;
    overflow: hidden;
    flex: 0 0 68px;
    aspect-ratio: 1 / .74;
    padding: 0;
    cursor: pointer;
}
.product-media__thumb.is-active { border-color: var(--orange); }
.product-media__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-summary {
    background: var(--white);
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 10px 28px rgba(0,0,0,.06);
}
.short-sales-list {
    margin: 22px 0 0;
    padding: 18px 18px 18px 38px;
    background: var(--light);
    border-radius: 14px;
    color: var(--dark-2);
}
.short-sales-list li { margin: 6px 0; }
.product-description { max-width: 980px; }

.product-description > p { font-size: 16.5px; line-height: 1.55; color: var(--dark-2); margin-bottom: 12px; }
.cards-grid--compact { margin-top: 20px; }

/* Description/specifications/video/reviews order switcher: all sections stay visible. */
.product-info-order { background: var(--white); }
.product-info-order__controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    padding:0;
}
.product-info-order__label {
    color: var(--muted);
    font-size: 0.875rem;
    font-weight: 800;
}
.product-info-order__buttons {
    display: inline-flex;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--light);
    box-shadow: inset 0 1px 2px rgba(0,0,0,.04);
}
.product-info-order__button {
    position: relative;
    min-height: 42px;
    padding: 0 18px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font: inherit;
    font-weight: 900;
    transition: background .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.product-info-order__button + .product-info-order__button::before {
    content: '';
    position: absolute;
    top: 9px;
    bottom: 9px;
    left: -1px;
    width: 1px;
    background: #d8d8d8;
    transition: opacity .18s ease;
}
.product-info-order__button:hover {
    background: color-mix(in srgb, var(--brand-yellow) 15%, #fff);
    color: var(--orange-dark);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--brand-yellow) 16%, transparent);
    transform: translateY(-1px);
}
.product-info-order__button:hover::before,
.product-info-order__button:hover + .product-info-order__button::before,
.product-info-order__button.is-active::before,
.product-info-order__button.is-active + .product-info-order__button::before {
    opacity: 0;
}
.product-info-order__button.is-active {
    background: var(--white);
    color: var(--orange-dark);
    box-shadow: 0 4px 14px rgba(0,0,0,.09);
}
.product-info-order > [data-product-info-section] { scroll-margin-top: 88px; }
.product-videos { background: var(--light); }
.video-group + .video-group { margin-top: 38px; }
.video-group__title {
    margin: 0 0 18px;
    font-size: 1.35rem;
    color: var(--dark-2);
}
.video-grid--product { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.video-grid--shorts { grid-template-columns: repeat(auto-fit, minmax(240px, 365px)); }
.video-card {
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 8px 24px rgba(0,0,0,.05);
}
.video-card h4 {
    margin: 14px 2px 2px;
    font-size: 1rem;
    line-height: 1.35;
    color: var(--dark-2);
}
.video-card--short { max-width: 365px; width: 100%; justify-self: center; }

.customer-reviews { background: var(--white); }
.customer-reviews__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 1180px; margin: 0 auto; }
.customer-review {
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid var(--line);
    border-left: 5px solid var(--orange);
    border-radius: var(--radius);
    background: var(--light);
    box-shadow: 0 10px 28px rgba(0,0,0,.06);
}
.customer-review__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}
.customer-review__header h3 { margin: 0 0 5px; color: var(--dark-2); }
.customer-review__header time { color: var(--muted); font-weight: 700; }
.customer-review__rating { color: var(--orange-dark); font-size: 1.2rem; letter-spacing: .08em; white-space: nowrap; }
.customer-review blockquote { margin: 0; }
.customer-review blockquote p { margin: 0; color: var(--dark-2); font-size: 1.05rem; line-height: 1.75; }
.spec-groups { display: grid; gap: 16px; }
.spec-group {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}
.spec-group h3 {
    margin: 0;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    background: var(--light);
    font-size: 1rem;
}
.spec-group .spec-table { border: 0; border-radius: 0; }
.spec-group .spec-table div:last-child { border-bottom: 0; }


/* One-click order modal */
.modal-open { overflow: hidden; }
.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 16px;
    background: rgba(0,0,0,.52);
}
.modal-backdrop[hidden] { display: none; }
.quick-modal {
    width: min(460px, 100%);
    position: relative;
    background: var(--white);
    border-radius: 22px;
    padding: 26px;
    box-shadow: 0 24px 70px rgba(0,0,0,.28);
}
.quick-modal p { color: var(--muted); }
.quick-modal form { display: grid; gap: 14px; }
.quick-modal label { display: grid; gap: 7px; }
.quick-modal label span { font-weight: 800; color: var(--dark-2); }
.quick-modal input {
    width: 100%;
    border: 1px solid #cfcfcf;
    border-radius: 12px;
    padding: 13px 14px;
    outline: 0;
}
.quick-modal input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-yellow) 15%, transparent); }
.modal-close {
    position: absolute;
    right: 14px;
    top: 14px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: var(--light);
    color: var(--dark-2);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

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

@media (max-width: 760px) {
    .customer-review__header { display: grid; gap: 10px; }
    .hero-badges { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.375rem; }
    .hero-badges span { min-width: 0; min-height: 3rem; padding: 0.5rem; border-left-width: 0.1875rem; }
    .hero-badges span small { font-size: 0.5625rem; }
    .hero-badges span strong { font-size: 0.75rem; }
    .product-media { padding: 10px; border-radius: 18px; }
    .product-media__main { border-radius: 14px; aspect-ratio: 1 / .86; }
    .product-media__thumbs { grid-template-columns: repeat(5, 1fr); gap: 6px; }
    .product-summary { padding: 20px; border-radius: 18px; }
    .short-sales-list { padding: 14px 14px 14px 32px; }
}

/* Brand banner and compact header */
.brand-banner {
    height: clamp(120px, 12vw, 190px);
    overflow: hidden;
    background: var(--brand-yellow);
    line-height: normal;
    display: flex;
    align-items: center;
    justify-content: center;
}
.brand-banner__inner {
    position: relative;
    height: 100%;
    width: auto;
    max-width: 100%;
    aspect-ratio: 3 / 1;
    overflow: hidden;
}
.brand-banner__inner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.brand-banner__copy {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: 4.5%;
    width: 43%;
    transform: translateY(-50%);
    display: grid;
    gap: clamp(3px, .28vw, 6px);
    color: #fff;
    text-align: left;
    overflow: hidden;
}
.brand-banner__eyebrow {
    font-size: clamp(9px, .95vw, 15px);
    font-weight: 500;
    line-height: 1.1;
    white-space: nowrap;
}
.brand-banner__title {
    display: block;
    color: var(--brand-yellow);
    max-width: 100%;
    font-size: clamp(15px, 1.9vw, 28px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.015em;
    white-space: nowrap;
}
.brand-banner__tagline {
    padding-top: clamp(4px, .5vw, 9px);
    border-top: 1px solid color-mix(in srgb, var(--brand-yellow) 90%, transparent);
    font-size: clamp(7.5px, .82vw, 12px);
    line-height: 1.15;
    white-space: nowrap;
}
.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.logo__image {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    object-fit: contain;
    box-shadow: 0 8px 16px color-mix(in srgb, var(--brand-yellow) 18%, transparent);
    flex: 0 0 auto;
}
.logo__mark { display: none; }
.main-nav a { font-size: 13px; }

.price-line--small strong { font-size: 1.75rem; }
.review-product-card {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 28px;
    align-items: center;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
}
.review-product-card__image {
    background: var(--light);
    border-radius: 16px;
    padding: 16px;
}
.review-product-card__image img {
    width: 100%;
    aspect-ratio: 1 / .8;
    object-fit: contain;
}
.video-grid article h3 { margin-top: 14px; }
.contact-map-card {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: 22px;
    align-items: stretch;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow);
}
.contact-map-card__text {
    align-self: center;
}
.contact-map-card__map .map-responsive { height: 100%; min-height: 360px; padding-bottom: 0; }
.contacts-grid--main { align-items: stretch; }
.channel-description p { font-size: 17px; }
.map-section--padded { padding-top: 52px; }

@media (max-width: 1024px) {
    .review-product-card, .contact-map-card { grid-template-columns: 1fr; }
    .contact-map-card__map .map-responsive { min-height: 320px; }
}
@media (max-width: 760px) {
    .logo__image { width: 34px; height: 34px; }
    .logo__text { font-size: 17px; }
    .review-product-card { padding: 16px; gap: 18px; }
    .contact-map-card { padding: 16px; }
    .contact-map-card__map .map-responsive { min-height: 260px; }
}

/* Highlight real clickable contacts and links */
.live-link {
    color: var(--dark-2);
    border-bottom: 1px solid color-mix(in srgb, var(--brand-yellow) 35%, transparent);
    border-left: 4px solid transparent;
    padding-left: 10px;
    transition: .18s ease;
}
.live-link span {
    color: var(--orange-dark);
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.live-link:hover {
    background: color-mix(in srgb, var(--brand-yellow) 11%, #fff);
    border-left-color: var(--orange);
    color: var(--black);
}
.inline-link {
    color: var(--orange-dark);
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.donate-note {
    margin-top: 14px;
    padding: 14px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--brand-yellow) 11%, #fff);
    border: 1px solid color-mix(in srgb, var(--brand-yellow) 35%, transparent);
}
.donate-note p {
    margin: 0 0 8px;
    color: var(--dark-2);
}
.donate-note p:last-child { margin-bottom: 0; }

/* v8 fixes: cart row, delivery menu width, compact donate link */
.address-big.live-link {
    display: inline-block;
    margin: 0 0 16px;
    padding: 0 0 2px;
    border-left: 0;
}
.address-big.live-link:hover {
    background: transparent;
    color: var(--orange-dark);
}

.cart-item {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 12px 14px;
}
.cart-item__body { min-width: 0; }
.qty-control {
    grid-column: 2;
    justify-self: start;
    max-width: 118px;
}
.remove-btn {
    grid-column: 2;
    justify-self: start;
}
.qty-control button { flex: 0 0 34px; }
.qty-control input { flex: 0 0 46px; }

@media (min-width: 1025px) {
    .main-nav a { white-space: nowrap; }
}


/* Compact desktop layout: keeps the product visible within the first screen. */
.hero.section-pad { padding: 38px 0 44px; }
.product-summary h1 { margin-bottom: 0.625rem; }
.product-summary .eyebrow { margin-bottom: 0.375rem; }
.product-summary .lead { margin-bottom: 0.75rem; }
.product-summary .price-line {
    justify-content: center;
    text-align: center;
}
.product-summary .hero-buttons {
    justify-content: center;
    gap: 0.5625rem;
    width: 100%;
}
.product-summary .hero-buttons .btn { min-width: 10.5rem; }
.hero-badges span small { font-size: 0.625rem; }
.hero-badges span strong { font-size: 0.875rem; }
.price-line em { padding: 0.3125rem 0.5rem; font-size: 0.8125rem; }
.info-card, .review-card, .delivery-box, .contact-card, .cart-panel, .order-form, .text-page { padding: 20px; }
.product-description h2 { margin-bottom: 12px; }

@media (max-width: 1024px) {
    .header-main { min-height: 60px; }
    .hero.section-pad { padding: 30px 0 38px; }
}

@media (max-width: 760px) {
    .section-pad { padding: 2.375rem 0; }
    .hero.section-pad { padding: 1.5rem 0 2.125rem; }
    .header-main { min-height: 3.625rem; }
    .product-media__main { aspect-ratio: 1 / .82; }
    .product-media__thumbs { display: flex; gap: 0.375rem; }
    .product-media__thumb { flex-basis: 3.625rem; }
    .product-summary .hero-buttons .btn {
        flex: 1 1 10rem;
        min-width: 0;
    }
}

/* Product gallery: stable responsive sizing, no cropping, no overflow. */
.hero-grid--product > *,
.product-media,
.product-summary,
.product-media__main,
.product-media__thumbs {
    min-width: 0;
    max-width: 100%;
}

.product-media {
    overflow: hidden;
}

.product-media__main {
    position: relative;
    min-height: 0;
    overflow: hidden;
    background: #fff;
}

.product-media__main:focus-visible {
    outline: 0.1875rem solid rgba(245, 161, 26, 0.45);
    outline-offset: 0.1875rem;
}

.product-media__main-item {
    position: absolute;
    inset: 0;
    display: none;
    place-items: center;
    width: 100%;
    height: 100%;
    padding: 0.625rem;
    overflow: hidden;
    box-sizing: border-box;
}

.product-media__main-item.is-active {
    display: grid;
}

.product-media__main-item--image {
    cursor: zoom-in;
}

.product-media__main-item--image img {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    max-width: none;
    max-height: none;
    object-fit: contain;
    object-position: center;
    transform: none !important;
    user-select: none;
    -webkit-user-drag: none;
}


.product-media__nav,
.product-media__zoom {
    position: absolute;
    z-index: 8;
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 0.0625rem solid rgba(0, 0, 0, 0.12);
    border-radius: 50%;
    color: var(--black);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 0.375rem 1.25rem rgba(0, 0, 0, 0.18);
    cursor: pointer;
    transition: transform 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
    -webkit-tap-highlight-color: transparent;
}

.product-media__nav:hover,
.product-media__zoom:hover {
    background: var(--white);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.24);
}

.product-media__nav svg,
.product-media__zoom svg,
.media-lightbox__nav svg {
    width: 1.375rem;
    height: 1.375rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.25;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.product-media__nav {
    top: 50%;
    transform: translateY(-50%);
}

.product-media__nav:hover {
    transform: translateY(-50%) scale(1.06);
}

.product-media__nav:active {
    transform: translateY(-50%) scale(0.96);
}

.product-media__nav--prev { left: 0.75rem; }
.product-media__nav--next { right: 0.75rem; }
.product-media__zoom { top: 0.75rem; right: 0.75rem; }

.product-media__counter {
    position: absolute;
    z-index: 7;
    right: 0.75rem;
    bottom: 0.75rem;
    min-width: 3.375rem;
    padding: 0.3125rem 0.625rem;
    border-radius: 999px;
    color: var(--white);
    background: rgba(0, 0, 0, 0.62);
    font-size: 0.8125rem;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    pointer-events: none;
}

/* Two columns: equal-height cards, the row never exceeds the visible viewport. */
@media (min-width: 64.0625rem) {
    .hero-grid--product {
        align-items: stretch;
        height: min(36rem, calc(100dvh - 8rem));
        max-height: calc(100dvh - 8rem);
        min-height: 0;
    }

    .product-media,
    .product-summary {
        height: 100%;
        min-height: 0;
        box-sizing: border-box;
    }

    .product-media {
        display: grid;
        grid-template-rows: minmax(0, 1fr) auto;
    }

    .product-media__main {
        width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: auto;
    }

    .product-media__thumbs {
        flex: 0 0 auto;
    }

    .product-summary {
        display: flex;
        flex-direction: column;
        justify-content: center;
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-gutter: stable;
    }
}

/* One column: use a controlled responsive stage, not viewport-width-based giant heights. */
@media (max-width: 64rem) {
    .hero-grid--product {
        align-items: start;
    }

    .product-media,
    .product-summary {
        height: auto;
    }

    .product-media__main {
        width: 100%;
        height: min(34rem, 68dvh, calc(100vw - 3rem));
        min-height: 18rem;
        aspect-ratio: auto;
    }
}

@media (max-width: 47.5rem) {
    .product-media__main {
        height: min(29rem, 62dvh, calc(100vw - 2rem));
        min-height: 16rem;
    }

    .product-media__main-item {
        padding: 0.375rem;
    }


    .product-media__nav,
    .product-media__zoom {
        width: 2.625rem;
        height: 2.625rem;
    }

    .product-media__nav--prev { left: 0.5rem; }
    .product-media__nav--next { right: 0.5rem; }
    .product-media__zoom { top: 0.5rem; right: 0.5rem; }
    .product-media__counter { right: 0.5rem; bottom: 0.5rem; }
}

/* Fullscreen viewer. It uses the browser Fullscreen API when available. */
.media-lightbox[hidden] { display: none; }

.media-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    width: 100vw;
    height: 100dvh;
    padding: 0;
    overflow: hidden;
    background: #111;
}

.media-lightbox:fullscreen {
    width: 100vw;
    height: 100vh;
    background: #111;
}

.media-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(12, 12, 12, 0.98);
}

.media-lightbox__dialog {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    padding: 1rem 5rem;
    box-sizing: border-box;
    pointer-events: none;
}

.media-lightbox__image {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    max-width: none;
    max-height: none;
    object-fit: contain;
    object-position: center;
    border-radius: 0.625rem;
    background: transparent;
    box-shadow: none;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: auto;
}

.media-lightbox__close,
.media-lightbox__nav {
    position: fixed;
    z-index: 3;
    display: grid;
    place-items: center;
    border: 0;
    color: var(--black);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.28);
    cursor: pointer;
    pointer-events: auto;
}

.media-lightbox__close {
    top: 1rem;
    right: 1rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    font-size: 2rem;
    line-height: 1;
}

.media-lightbox__nav {
    top: 50%;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    transform: translateY(-50%);
}

.media-lightbox__nav--prev { left: 1rem; }
.media-lightbox__nav--next { right: 1rem; }

.media-lightbox__counter {
    position: fixed;
    z-index: 3;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.4375rem 0.875rem;
    border-radius: 999px;
    color: var(--white);
    background: rgba(0, 0, 0, 0.72);
    font-size: 0.875rem;
    font-weight: 800;
    pointer-events: none;
}

body.media-lightbox-open {
    overflow: hidden;
}

@media (max-width: 47.5rem) {
    .media-lightbox__dialog {
        padding: 4rem 0.5rem 3.5rem;
    }

    .media-lightbox__close {
        top: 0.5rem;
        right: 0.5rem;
        width: 2.75rem;
        height: 2.75rem;
    }

    .media-lightbox__nav {
        width: 2.75rem;
        height: 2.75rem;
    }

    .media-lightbox__nav--prev { left: 0.5rem; }
    .media-lightbox__nav--next { right: 0.5rem; }
    .media-lightbox__counter { bottom: 0.5rem; }
}

/* Compact only on short desktop displays. */
@media (min-width: 64.0625rem) and (max-height: 44rem) {
    .hero.section-pad {
        padding-top: 1.25rem;
        padding-bottom: 1.25rem;
    }

    .hero-grid--product {
        height: calc(100dvh - 6.75rem);
        max-height: calc(100dvh - 6.75rem);
    }

    .product-summary {
        padding: 1rem 1.125rem;
    }

    .product-summary h1 {
        font-size: clamp(1.875rem, 2.6vw, 2.25rem);
        margin-bottom: 0.375rem;
    }

    .product-summary .lead {
        font-size: 0.875rem;
        line-height: 1.35;
        margin-bottom: 0.5rem;
    }

    .product-summary .price-line {
        margin-top: 0.5rem;
        margin-bottom: 0.625rem;
    }

    .price-line strong { font-size: 1.625rem; }
    .hero-badges { gap: 0.375rem; margin: 0.625rem 0; }
    .hero-badges span { min-height: 2.625rem; padding: 0.375rem 0.5rem; }
    .product-summary .hero-buttons { margin-top: 0.25rem; }
}


/* Delivery and payment page refinements */
.delivery-overview {
    padding: 30px 0 26px;
    background: linear-gradient(180deg, #ffffff 0%, color-mix(in srgb, var(--brand-yellow) 6%, #fff) 100%);
    border-bottom: 1px solid color-mix(in srgb, var(--brand-yellow) 28%, transparent);
}
.delivery-overview__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 18px;
}
.delivery-overview__heading h1 {
    margin: 3px 0 0;
    font-size: clamp(1.75rem, 2.2vw, 2.15rem);
    font-weight: 650;
    letter-spacing: -0.035em;
}
.delivery-overview__heading p {
    max-width: 560px;
    margin: 0 0 3px;
    color: var(--muted);
    font-size: .95rem;
    line-height: 1.4;
    text-align: right;
}
.delivery-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,.055);
}
.delivery-fact {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 11px;
    min-width: 0;
    padding: 16px 17px;
    border-right: 1px solid var(--line);
}
.delivery-fact:last-child { border-right: 0; }
.delivery-fact__icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    color: var(--orange-dark);
    background: color-mix(in srgb, var(--brand-yellow) 15%, #fff);
}
.delivery-fact__icon svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
}
.delivery-fact h2 {
    margin: 0 0 4px;
    font-size: 1rem;
    line-height: 1.2;
    letter-spacing: -.015em;
}
.delivery-fact p {
    margin: 0;
    color: var(--muted);
    font-size: .84rem;
    line-height: 1.35;
}
.delivery-overview__note {
    margin: 10px 2px 0;
    color: var(--muted);
    font-size: .82rem;
}
.delivery-overview__note strong { color: var(--dark-2); }

.pickup-section { padding-top: 42px; padding-bottom: 42px; }
.split-grid--pickup {
    grid-template-columns: minmax(0, .82fr) minmax(420px, 1.18fr);
    align-items: stretch;
}
.pickup-section__content { align-self: center; }
.pickup-section__content .address-big {
    display: inline-block;
    margin-bottom: 18px;
}
.map-card--pickup { padding: 14px; }
.map-card--pickup .map-responsive {
    height: 100%;
    min-height: 340px;
    padding-bottom: 0;
}
.map-card--pickup .map-caption { margin: 10px 2px 0; }
.final-cta--delivery {
    position: relative;
    overflow: hidden;
    padding: 38px 0;
    color: var(--dark-2);
    background:
        radial-gradient(circle at 84% 20%, color-mix(in srgb, var(--brand-yellow) 25%, transparent), transparent 28%),
        linear-gradient(135deg, color-mix(in srgb, var(--brand-yellow) 11%, #fff), #ffffff 72%);
    border-top: 1px solid color-mix(in srgb, var(--brand-yellow) 45%, transparent);
    border-bottom: 5px solid var(--orange);
}
.final-cta--delivery::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 8px;
    background: var(--orange);
}
.final-cta--delivery h2 { color: var(--dark-2); }
.final-cta--delivery p { color: var(--muted); }

@media (max-width: 1100px) {
    .delivery-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .delivery-fact:nth-child(2) { border-right: 0; }
    .delivery-fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 1024px) {
    .split-grid--pickup { grid-template-columns: 1fr; }
    .map-card--pickup .map-responsive { min-height: 330px; }
}

@media (max-width: 760px) {
    .delivery-overview { padding: 24px 0 22px; }
    .delivery-overview__heading {
        display: block;
        margin-bottom: 14px;
    }
    .delivery-overview__heading h1 { font-size: 1.7rem; }
    .delivery-overview__heading p {
        margin-top: 7px;
        text-align: left;
    }
    .delivery-facts { grid-template-columns: 1fr; }
    .delivery-fact,
    .delivery-fact:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }
    .delivery-fact:last-child { border-bottom: 0; }
    .pickup-section { padding-top: 34px; padding-bottom: 34px; }
    .map-card--pickup .map-responsive { min-height: 270px; }
    .final-cta--delivery { padding: 32px 0; }
    .final-cta--delivery::before { width: 5px; }
}

/* Compact contacts page */
.contacts-overview {
    padding: 30px 0 28px;
    background: linear-gradient(180deg, #ffffff 0%, color-mix(in srgb, var(--brand-yellow) 6%, #fff) 100%);
    border-bottom: 1px solid color-mix(in srgb, var(--brand-yellow) 28%, transparent);
}
.contacts-overview__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 18px;
}
.contacts-overview__heading h1 {
    margin: 3px 0 0;
    font-size: clamp(1.75rem, 2.2vw, 2.15rem);
    font-weight: 650;
    letter-spacing: -.035em;
}
.contacts-overview__heading p {
    max-width: 650px;
    margin: 0 0 3px;
    color: var(--muted);
    font-size: .95rem;
    line-height: 1.4;
    text-align: right;
}
.contact-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,.055);
}
.contact-fact {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 11px;
    min-width: 0;
    padding: 16px 17px;
    border-right: 1px solid var(--line);
}
.contact-fact:last-child { border-right: 0; }
.contact-fact__icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    color: var(--orange-dark);
    background: color-mix(in srgb, var(--brand-yellow) 15%, #fff);
}
.contact-fact__icon svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
}
.contact-fact h2 {
    margin: 0 0 4px;
    font-size: 1rem;
    line-height: 1.2;
    letter-spacing: -.015em;
}
.contact-fact > div > a {
    display: block;
    color: var(--dark-2);
    font-size: .93rem;
    font-weight: 900;
    overflow-wrap: anywhere;
}
.contact-fact p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: .78rem;
    line-height: 1.3;
}
.contact-fact__links {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 5px;
}
.contact-fact__links a {
    color: var(--orange-dark);
    font-size: .76rem;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.contacts-location { padding-top: 42px; padding-bottom: 42px; }
.contacts-location__note {
    padding: 11px 13px;
    border-left: 4px solid var(--orange);
    border-radius: 0 10px 10px 0;
    background: color-mix(in srgb, var(--brand-yellow) 11%, #fff);
    color: var(--muted);
    font-size: .9rem;
}
.contacts-location__note strong { color: var(--dark-2); }

@media (max-width: 1100px) {
    .contact-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-fact:nth-child(2) { border-right: 0; }
    .contact-fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 760px) {
    .contacts-overview { padding: 24px 0 22px; }
    .contacts-overview__heading { display: block; margin-bottom: 14px; }
    .contacts-overview__heading h1 { font-size: 1.7rem; }
    .contacts-overview__heading p { margin-top: 7px; text-align: left; }
    .contact-facts { grid-template-columns: 1fr; }
    .contact-fact,
    .contact-fact:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }
    .contact-fact:last-child { border-bottom: 0; }
    .contacts-location { padding-top: 34px; padding-bottom: 34px; }
}

/* Shared purchase prompt before the footer */
.global-cta { margin-top: 0; }

/* v9: reliable hidden states, sticky product switcher and compact cart */
[hidden] { display: none !important; }

.product-info-order__sticky {
    position: sticky;
    top: 64px;
    z-index: 45;
    border-top: 1px solid rgba(0,0,0,.05);
    border-bottom: 1px solid var(--line);
    background: rgba(255,255,255,.96);
    box-shadow: 0 7px 18px rgba(0,0,0,.07);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.product-info-order__controls {
    min-height: 54px;
    justify-content: flex-end;
    padding: 6px 0;
}
.product-info-order__buttons {
    max-width: 100%;
}
.product-info-order > [data-product-info-section] { scroll-margin-top: 130px; }

.cart-page {
    min-height: 55vh;
    background: linear-gradient(180deg, color-mix(in srgb, var(--brand-yellow) 6%, #fff) 0, #fff 215px);
}
.cart-page__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 24px;
    padding: 0 0 18px;
    border-bottom: 2px solid color-mix(in srgb, var(--brand-yellow) 35%, transparent);
}
.cart-page__heading h1 {
    margin: 3px 0 0;
    font-size: clamp(1.75rem, 2.5vw, 2.25rem);
}
.cart-page__heading p {
    max-width: 570px;
    margin: 0 0 3px;
    color: var(--muted);
    text-align: right;
}
.cart-empty-state {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    padding: 24px;
    border: 1px solid color-mix(in srgb, var(--brand-yellow) 35%, transparent);
    border-left: 5px solid var(--orange);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 12px 30px rgba(0,0,0,.06);
}
.cart-empty-state__icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: color-mix(in srgb, var(--brand-yellow) 18%, #fff);
    font-size: 25px;
}
.cart-empty-state h2 { margin: 0 0 4px; font-size: 1.3rem; }
.cart-empty-state p { margin: 0; color: var(--muted); }
.cart-layout { gap: 22px; }
.cart-panel,
.order-form {
    border-top: 4px solid var(--orange);
    box-shadow: 0 12px 30px rgba(0,0,0,.07);
}
.panel-heading {
    padding-bottom: 13px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--line);
}
.panel-heading > span {
    display: block;
    margin-bottom: 2px;
    color: var(--orange-dark);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .7rem;
    font-weight: 900;
}
.panel-heading h2 { margin: 0; font-size: 1.35rem; }

.order-form { gap: 12px; }
.order-form .order-group {
    display: block;
    min-width: 0;
    margin: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}
.order-form .order-group > legend {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 11px;
    padding: 0;
}
.order-group__number {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: var(--orange);
    color: #fff;
    font-size: .8rem;
    font-weight: 900;
}
.order-form .order-group legend > span:last-child,
.order-group__inline-title > div {
    display: grid;
    gap: 1px;
}
.order-form .order-group legend strong,
.order-group__inline-title strong {
    color: var(--dark-2);
    font-size: 1rem;
    line-height: 1.2;
}
.order-form .order-group legend em,
.order-group__inline-title em {
    color: var(--muted);
    font-size: .76rem;
    font-style: normal;
    font-weight: 500;
}
.order-group__inline-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 9px;
}
.order-group.pickup-note p { margin: 0; color: var(--dark-2); }
.radio-options {
    display: grid;
    gap: 8px;
}
.radio-options--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.radio-options--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.order-form .radio-card {
    min-height: 0;
    padding: 10px 11px;
    gap: 9px;
    border-radius: 11px;
    background: var(--light);
}
.order-form .radio-card input { flex: 0 0 auto; margin-top: 2px; }
.order-form .radio-card strong {
    font-size: .87rem;
    line-height: 1.2;
}
.order-form .radio-card em {
    margin-top: 2px;
    font-size: .72rem;
    line-height: 1.25;
}
.form-grid {
    display: grid;
    gap: 10px;
}
.form-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.order-form label:not(.radio-card) { gap: 5px; }
.order-form label:not(.radio-card) > span {
    font-size: .82rem;
    line-height: 1.25;
}
.order-form input[type="text"],
.order-form input[type="tel"],
.order-form textarea {
    padding: 10px 11px;
    border-radius: 10px;
    font-size: .9rem;
}
.order-form textarea { resize: vertical; }
.field-hint {
    margin: 9px 0 0;
    padding: 9px 11px;
    border-left: 3px solid var(--orange);
    border-radius: 0 9px 9px 0;
    background: color-mix(in srgb, var(--brand-yellow) 11%, #fff);
    color: var(--muted);
    font-size: .77rem;
    line-height: 1.35;
}
.field-hint strong { color: var(--dark-2); }
.order-form .btn-wide { margin-top: 2px; }

@media (max-width: 1024px) {
    .product-info-order__sticky { top: 60px; }
}

@media (max-width: 760px) {
    .product-info-order__sticky { top: 58px; }
    .product-info-order__controls { min-height: 48px; padding: 5px 0; }
    .product-info-order__buttons {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1px;
        width: 100%;
        padding: 3px;
    }
    .product-info-order__button {
        min-width: 0;
        min-height: 36px;
        padding: 0 4px;
        font-size: 10.5px;
    }
    .product-info-order__button + .product-info-order__button::before { display: none; }
    .product-info-order > [data-product-info-section] { scroll-margin-top: 112px; }
    .cart-page__heading { display: block; margin-bottom: 18px; padding-bottom: 14px; }
    .cart-page__heading p { margin-top: 7px; text-align: left; }
    .cart-empty-state { grid-template-columns: auto 1fr; padding: 18px; }
    .cart-empty-state .btn { grid-column: 1 / -1; width: 100%; }
    .radio-options--2,
    .radio-options--3,
    .form-grid--2 { grid-template-columns: 1fr; }
    .order-form .order-group { padding: 12px; }
}


/* v11: flyer heading tone, compact legal note and unified delivery step */
.page-hero h1,
.page-hero h2,
.page-hero h3,
.final-cta:not(.final-cta--delivery) h2 { color: #fff; }

.cart-page { padding-top: 26px; }
.cart-page__heading { margin-bottom: 18px; padding-bottom: 14px; }
.cart-page__heading .eyebrow { margin-bottom: 0; }

.delivery-overview__heading > div { display: flex; align-items: center; }
.delivery-overview__heading h1 { margin-bottom: 0; }
.delivery-overview__legal {
    position: relative;
    margin: 8px 0 0;
    padding: 9px 12px 9px 28px;
    border: 1px solid rgba(45,52,64,.12);
    border-radius: 10px;
    background: rgba(45,52,64,.045);
    color: var(--muted);
    font-size: .76rem;
    line-height: 1.4;
}
.delivery-overview__legal > span {
    position: absolute;
    left: 12px;
    top: 8px;
    color: var(--orange-dark);
    font-weight: 900;
}

.contact-fact__links--networks {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 2px;
}
.contact-fact__links--networks a {
    margin: 0;
    padding: 5px 9px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--light);
    font-size: .8rem;
    font-weight: 800;
}
.contact-fact__links--networks a:hover {
    border-color: var(--orange);
    background: color-mix(in srgb, var(--brand-yellow) 11%, #fff);
}

.order-group--delivery .radio-options { margin-bottom: 0; }
.delivery-choice-details {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}
.delivery-choice-details__heading {
    display: grid;
    gap: 2px;
    margin-bottom: 9px;
}
.delivery-choice-details__heading strong {
    color: var(--heading);
    font-size: .92rem;
    line-height: 1.2;
}
.delivery-choice-details__heading span {
    color: var(--muted);
    font-size: .74rem;
    line-height: 1.35;
}
.order-group--delivery .pickup-note p {
    margin: 0;
    color: var(--heading);
    font-weight: 800;
}

@media (max-width: 760px) {
    .cart-page { padding-top: 20px; }
    .delivery-overview__heading > div { display: block; }
    .contact-fact__links--networks { gap: 6px; }
}


/* v12: section switcher focus and global back-to-top control */
.back-to-top {
    position: fixed;
    left: 18px;
    bottom: 18px;
    z-index: 80;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 15px 0 12px;
    border: 2px solid var(--orange);
    border-radius: 14px;
    background: var(--heading);
    color: #fff;
    box-shadow: 0 12px 30px rgba(45,52,64,.25);
    cursor: pointer;
    font-weight: 900;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity .2s ease, transform .2s ease, background .18s ease, box-shadow .18s ease;
}
.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.back-to-top:hover,
.back-to-top:focus-visible {
    background: var(--orange-dark);
    box-shadow: 0 14px 34px rgba(45,52,64,.32);
    outline: none;
}
.back-to-top__icon {
    font-size: 1.25rem;
    line-height: 1;
}
.back-to-top__label {
    font-size: .82rem;
    line-height: 1;
}

@media (max-width: 760px) {
    .back-to-top {
        left: 10px;
        bottom: 10px;
        width: 40px;
        min-height: 40px;
        padding: 0;
        border: 1px solid rgba(242,145,0,.72);
        border-radius: 12px;
        background: rgba(255,255,255,.28);
        color: var(--heading);
        box-shadow: 0 5px 16px rgba(45,52,64,.12);
    }
    .back-to-top:hover,
    .back-to-top:focus-visible,
    .back-to-top:active {
        background: rgba(45,52,64,.78);
        color: #fff;
        box-shadow: 0 7px 18px rgba(45,52,64,.2);
    }
    .back-to-top__icon {
        font-size: 1.12rem;
        text-shadow: 0 1px 2px rgba(255,255,255,.7);
    }
    .back-to-top:hover .back-to-top__icon,
    .back-to-top:focus-visible .back-to-top__icon,
    .back-to-top:active .back-to-top__icon {
        text-shadow: none;
    }
    .back-to-top__label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .back-to-top { transition: none; }
}

/* Маска та валідація номера телефону */
.order-form input[type="tel"].is-invalid,
.quick-modal input[type="tel"].is-invalid,
.order-form input[type="tel"][aria-invalid="true"],
.quick-modal input[type="tel"][aria-invalid="true"] {
    border-color: var(--danger);
    box-shadow: 0 0 0 3px rgba(193, 45, 45, .12);
}



@media (min-width: 761px) and (max-width: 1200px) {
    .brand-banner__copy {
        right: 3.5%;
        width: 45%;
    }
    .brand-banner__title {
        font-size: clamp(15px, 1.8vw, 22px);
    }
    .brand-banner__tagline {
        font-size: clamp(7.5px, .78vw, 10px);
    }
}

@media (max-width: 760px) {
    .brand-banner { height: 104px; }
    .brand-banner__inner { max-width: 100%; }
    .brand-banner__copy { right: 3.5%; width: 43%; gap: 2px; }
    .brand-banner__eyebrow { font-size: 9px; }
    .brand-banner__title { font-size: 16px; }
    .brand-banner__tagline { font-size: 8px; padding-top: 3px; }
}
@media (max-width: 390px) {
    .brand-banner { height: 94px; }
    .brand-banner__eyebrow { display: none; }
    .brand-banner__title { font-size: 15px; }
    .brand-banner__tagline { font-size: 7.5px; }
}

/* v22: unified accent links on the contacts page */
.contact-fact__links,
.contact-fact__links--networks {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-top: 6px;
}

.contact-fact__links a,
.contact-fact__links--networks a,
.map-caption .inline-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    margin: 0;
    padding: 5px 10px;
    border: 1px solid rgba(245, 161, 26, .38);
    border-radius: 8px;
    background: color-mix(in srgb, var(--brand-yellow) 11%, #fff);
    color: var(--orange-dark);
    font-size: .78rem;
    font-weight: 800;
    line-height: 1.1;
    text-decoration: none;
    text-underline-offset: 0;
    box-shadow: 0 2px 7px rgba(45, 52, 64, .05);
    transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease;
}

.contact-fact__links a:hover,
.contact-fact__links--networks a:hover,
.map-caption .inline-link:hover {
    border-color: var(--orange);
    background: color-mix(in srgb, var(--brand-yellow) 25%, #fff);
    color: var(--dark-2);
    transform: translateY(-1px);
}

.contact-fact__links a:focus-visible,
.contact-fact__links--networks a:focus-visible,
.map-caption .inline-link:focus-visible {
    outline: 3px solid rgba(245, 161, 26, .28);
    outline-offset: 2px;
}

.map-caption {
    margin-top: 8px;
}

@media (max-width: 760px) {
    .contact-fact__links a,
    .contact-fact__links--networks a,
    .map-caption .inline-link {
        min-height: 32px;
        padding-inline: 11px;
    }
}


/* Semantic characteristics table */
.product-spec-table-wrap {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 10px 28px rgba(0,0,0,.045);
}
.product-spec-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    color: var(--dark-2);
}
.product-spec-table__name-col { width: 50%; }
.product-spec-table__value-col { width: 50%; }
.product-spec-table th,
.product-spec-table td {
    padding: 11px 16px;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
    text-align: left;
    overflow-wrap: anywhere;
}
.product-spec-table tbody tr:not(.product-spec-table__group-row) th {
    border-right: 1px solid var(--line);
    color: var(--muted);
    font-weight: 600;
}
.product-spec-table td {
    font-weight: 750;
}
.product-spec-table__group-row th {
    padding: 13px 16px;
    border-bottom: 1px solid var(--line);
    background: var(--light);
    color: var(--dark-2);
    font-size: 1rem;
    font-weight: 850;
}
.product-spec-table tbody tr:last-child th,
.product-spec-table tbody tr:last-child td {
    border-bottom: 0;
}
.product-spec-table tbody tr:not(.product-spec-table__group-row):hover {
    background: color-mix(in srgb, var(--brand-yellow) 4.5%, transparent);
}

/* Final mobile override: review cards must always use one column. */
@media (max-width: 760px) {
    .customer-reviews__grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 16px;
    }
    .customer-review {
        min-width: 0;
        padding: 20px;
    }
    .customer-review__header {
        display: grid;
        gap: 10px;
    }
    .product-spec-table th,
    .product-spec-table td {
        padding: 10px 11px;
        font-size: .875rem;
        line-height: 1.4;
    }
    .product-spec-table__name-col { width: 48%; }
    .product-spec-table__value-col { width: 52%; }
    .product-spec-table__group-row th {
        padding: 11px;
        font-size: .925rem;
    }
}

@media (max-width: 390px) {
    .product-spec-table th,
    .product-spec-table td {
        padding: 9px 8px;
        font-size: .8125rem;
    }
}

/* Promo code in cart */
.promo-box {
    margin-top: 18px;
    padding: 16px;
    border: 1px solid #e1e4e8;
    border-left: 4px solid var(--orange);
    border-radius: 13px;
    background: color-mix(in srgb, var(--brand-yellow) 6%, #fff);
}
.promo-box > label > span { display:block; margin-bottom:8px; font-weight:800; color:var(--dark-2); }
.promo-box__controls { display:flex; align-items:center; gap:9px; }
.promo-box__controls input { flex:1 1 auto; min-width:0; text-transform:uppercase; }
.promo-box__controls .btn { flex:0 0 auto; padding:11px 15px; }
.promo-box__remove { border:0; background:transparent; color:var(--orange-dark); text-decoration:underline; cursor:pointer; font-weight:700; }
.promo-box__message { min-height:1.2em; margin:9px 0 0; font-size:14px; }
.promo-box__message.is-success { color:#087a55; }
.promo-box__message.is-error { color:#b42318; }
.cart-total--details { display:grid; gap:9px; }
.cart-total--details > div { display:flex; justify-content:space-between; gap:20px; align-items:center; }
.cart-total--details > div strong { text-align:right; }
.cart-total--details [data-cart-discount] { color:#087a55; }
.cart-total--details [data-free-shipping-row] strong { color:#087a55; font-size:14px; }
.cart-total__final { margin-top:4px; padding-top:12px; border-top:1px solid #dfe3e8; font-size:1.08em; }
.admin-html > :first-child { margin-top:0; }
.admin-html > :last-child { margin-bottom:0; }
@media (max-width: 560px) {
    .promo-box__controls { display:grid; grid-template-columns:1fr auto; }
    .promo-box__remove { grid-column:1/-1; justify-self:start; padding:0; }
}

/* Local test output for order email */
.order-debug{margin:18px 0;padding:0;border:1px solid #d6dbe1;border-radius:14px;background:#f7f8fa;text-align:left;overflow:hidden}.order-debug summary{cursor:pointer;padding:13px 16px;background:#eef1f4;color:var(--brand-blue);font-weight:800}.order-debug__meta{padding:13px 16px 0;color:var(--brand-blue);line-height:1.55}.order-debug pre{margin:12px 16px 16px;padding:14px;border-radius:10px;background:var(--brand-blue);color:#f5f7fa;white-space:pre-wrap;overflow-wrap:anywhere;font:13px/1.5 Consolas,Monaco,monospace}
