/*
Theme Name: Vibrato Custom
Author: Petr Kuneš
Description: Full Vanilla CSS Theme with Mega Menu and Horizontal Nav.
Version: 2.4
*/

/* Material Symbols — self-hosted subset (jen ~41 ikon, ~5,5 KB místo 1,1 MB
   z Google Fonts). Generuje tools/material-symbols/build.py.
   Statická instance wght=400, FILL=0. Tahle @font-face + základní třída
   nahrazují CSS, které dřív dodával Google (po odebrání jejich linku v
   header.php). font-display:block = místo „search" textu ukáže rovnou ikonu
   (font je preloadovaný a malý, takže blok je nepatrný). */
@font-face {
    font-family: 'Material Symbols Outlined';
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url('assets/fonts/material-symbols-subset.woff2?v=5') format('woff2');
}
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    -webkit-font-feature-settings: 'liga';
    font-feature-settings: 'liga';
}

:root {
    --primary: #2F7559;
    --primary-deep: #153629;
    --emerald-luxury: #2F7559;
    --emerald-dark: #153629;
    --background-dark: #f6faf5;
    --surface-dark: #ffffff;
    --surface-alt: #eff5ef;
    --surface-elevated: #e6eee7;
    --surface-strong: #d5e0d6;
    --text-main: #101f18;
    --text-muted: #41564a;
    --text-soft: #61766a;
    --text-inverse: #f8fcf9;
    --border-color: #bcccbc;
    --border-strong: #a2b5a5;
    --accent-gradient: linear-gradient(135deg, #3F966F, #2F7559, #245F47);
    --accent-gradient-hover: linear-gradient(135deg, #4CAB80, #3F966F, #2F7559);
    --font-display: 'Nunito', sans-serif;
    --font-body: 'Nunito', sans-serif;
    --shadow-glow: 0 10px 30px rgba(47, 117, 89, 0.24);
    --shadow-glow-sm: 0 4px 15px rgba(47, 117, 89, 0.16);
    --shadow-emerald: 0 10px 30px rgba(21, 54, 41, 0.28);
    --shadow-emerald-sm: 0 4px 15px rgba(21, 54, 41, 0.2);
}

/* Globální .feat-tooltip / .price-info-* — používá se na PDP, archivech,
   košíku i variantním picker (kdekoli PHP filter injectne tooltip k
   přeškrtnuté ceně, plus delivery tooltip na PDP). Dřív jen v pdp.css,
   ale archive cards bubble renderovala jako inline text protože pdp.css
   se na archivech neloaduje. */
.feat-tooltip {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: help;
    color: var(--text-muted);
    outline: none;
}

.feat-tooltip-icon {
    font-size: 18px !important;
}

/* Tooltip pozice je CSS-variable driven (`--tooltip-tx`, `--tooltip-left`,
   `--tooltip-right`, `--tooltip-arrow-x`) aby šly override-nout per-column
   v 2-col grid bez duplikace hover/focus state pravidel. Default = centered. */
.feat-tooltip-bubble {
    --tooltip-tx: -50%;
    --tooltip-left: 50%;
    --tooltip-right: auto;
    --tooltip-arrow-left: 50%;
    --tooltip-arrow-tx: -50%;
    position: absolute;
    bottom: calc(100% + 8px);
    left: var(--tooltip-left);
    right: var(--tooltip-right);
    background: var(--text-main);
    color: var(--text-inverse);
    font-size: 12px;
    line-height: 1.45;
    padding: 10px 12px;
    border-radius: 4px;
    width: 260px;
    max-width: calc(100vw - 32px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translate(var(--tooltip-tx), 4px);
    transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
    z-index: 30;
    pointer-events: none;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 400;
}

.feat-tooltip-bubble::after {
    content: '';
    position: absolute;
    top: 100%;
    left: var(--tooltip-arrow-left);
    transform: translateX(var(--tooltip-arrow-tx));
    border: 6px solid transparent;
    border-top-color: var(--text-main);
}

.feat-tooltip:hover .feat-tooltip-bubble,
.feat-tooltip:focus .feat-tooltip-bubble,
.feat-tooltip:focus-within .feat-tooltip-bubble,
.feat-tooltip.is-open .feat-tooltip-bubble {
    opacity: 1;
    visibility: visible;
    transform: translate(var(--tooltip-tx), 0);
}

.price-info-trigger {
    margin-left: 4px;
    vertical-align: middle;
    display: inline-flex;
}

.price-info-trigger .feat-tooltip-icon {
    font-size: 16px !important;
    color: var(--text-muted);
}

.price-info-line {
    display: block;
    margin: 4px 0;
}

.price-info-line:first-child {
    margin-top: 0;
}

.price-info-line:last-child {
    margin-bottom: 0;
}

.price-info-line strong {
    display: block;
    font-weight: 700;
    margin-bottom: 2px;
}

/* PHP filter (inc/price-history.php) označí <del> data-has-tooltip, když
   místo něj injectne .feat-tooltip dark bubble. Tady potlačíme původní
   pseudo ⓘ + light badge, aby nebyly dvě ikony. Globální selektor pokryje
   .current-price, .p-price, .acc-price i .woocommerce-variation-price. */
del[data-has-tooltip]::after,
del[data-has-tooltip]::before {
    content: none !important;
}

del[data-has-tooltip] {
    padding-right: 0 !important;
    cursor: default;
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Base Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--background-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-weight: 300;
    letter-spacing: -0.01em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.text-primary {
    color: var(--primary) !important;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--surface-strong);
}

::-webkit-scrollbar-thumb {
    background: var(--surface-strong);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--border-color);
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 1024px) {
    .container {
        padding: 0 64px;
    }
}

.section-spacing {
    padding: 80px 0;
}

@media (min-width: 1024px) {
    .section-spacing {
        padding: 120px 0;
    }
}

/* HEADER */
/* Promo / introductory strip — brand-accent bar above the contact row.
   Editable via Customizer; carries the new-shop / introductory framing
   so the per-product sale prices have context. */
.top-promo {
    background: var(--primary, #2d6c45);
    color: #fff;
}

.top-promo-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 7px 24px;
    text-align: center;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.top-promo-part {
    white-space: nowrap;
}

.top-promo-inner a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width: 600px) {
    .top-promo-inner {
        padding: 6px 14px;
        font-size: 12px;
    }
}

.top-announcement {
    background: var(--surface-strong);
    border-bottom: 1px solid rgba(16, 41, 31, 0.06);
    padding: 0;
}

/* Site-wide topbar — kontakt centered (telefon, e-mail, hodiny). USPs
   nepatří sem (žijí v archivu/PDP/checkout) — vyhnutí duplikaci a
   topbar zůstává čistě "důvěra přes přímý kontakt". Mobile: hodiny
   schované (úspora místa), click-to-call priorita. */
.top-bar-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 8px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    font-size: 12px;
    line-height: 1.2;
    color: var(--text-muted);
}

.top-contact {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.top-contact-right {
    justify-content: flex-end;
}

.top-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease;
    white-space: nowrap;
}

.top-contact-link .material-symbols-outlined {
    font-size: 16px;
    color: var(--brand-primary, #2d6c45);
    line-height: 1;
    flex: 0 0 auto;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20;
}

a.top-contact-link:hover {
    color: var(--text-main);
}

.top-contact-static {
    cursor: default;
}

/* Stránky o obchodu uprostřed lišty (shop.info_links); na užším displeji
   jsou v mobilním menu. */
.top-info-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.top-info-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.15s ease;
}

.top-info-links a:hover {
    color: var(--text-main);
}

@media (max-width: 1180px) {
    .top-info-links {
        display: none;
    }
}

@media (max-width: 900px) {
    .top-bar-inner {
        padding: 7px 16px;
        gap: 12px;
        font-size: 12.5px;
        justify-content: center;
    }

    .top-contact {
        gap: 18px;
        flex-wrap: nowrap;
    }

    .top-contact-right,
    .top-contact-static {
        display: none;
    }

    .top-contact-link .material-symbols-outlined {
        font-size: 17px;
    }
}

@media (max-width: 480px) {
    .top-contact-link span:not(.material-symbols-outlined) {
        font-size: 12px;
    }
}

.accent-link {
    color: var(--primary);
    text-decoration: underline;
    margin-left: 10px;
    font-weight: 600;
}

.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #f6fbf7;
    border-bottom: 1px solid rgba(16, 41, 31, 0.06);
}

/* Mobile: no category nav row to selectively collapse, so the whole
   (thin) sticky header slides away on scroll-down and snaps back on
   scroll-up — the "headroom" pattern. Maximises content space; nav is
   one upward flick away. Desktop keeps the header fixed and only
   condenses the nav row (see .desktop-nav rules). */
@media (max-width: 1023px) {
    .main-header {
        transition: transform 0.26s ease;
        will-change: transform;
    }
    body.header-condensed .main-header {
        transform: translateY(-100%);
    }
}

/* Cart + checkout: hlavička není sticky — uživatel je v dokončování,
   nepotřebuje neustále navigaci/menu/search nad očima a uvolní se místo
   pro form a souhrn. */
body.woocommerce-cart .main-header,
body.woocommerce-checkout .main-header {
    position: static;
}

/* ========================================================================
   PROGRESS STEPS (cart / checkout / thank-you) — canonical recept sdílený
   přes všechny 3 stránky. Layout: 3-sloupcový grid s rovnou šířkou,
   v každé buňce dot nad labelem, mezi dotty connector line. Stavy:
   `.is-active` (současný krok, brand fill, číslo), `.is-done` (předchozí
   krok, brand fill, check ikona), default = outlined.
   ======================================================================== */
.cart-steps,
.checkout-steps {
    display: flex !important;
    align-items: flex-start;
    justify-content: space-between;
    max-width: 520px;
    margin: 36px auto 44px;
    padding: 0;
    color: var(--text-muted);
    gap: 0;
}

.cart-steps .step,
.checkout-steps .step {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    text-align: center;
}

/* Connector — ::after kreslí čáru mezi dotem tohoto stepu a vedlejším.
   Začíná na pravém okraji aktuálního dotu (50% + radius), končí na levém
   okraji vedlejšího dotu. Šířka `calc(100% - dot-diameter)` = vzdálenost
   mezi vnitřními okraji dotů: step je 1/3 kontejneru, vedlejší dot je
   ve středu vedlejšího stepu (tj. 100% od středu tohoto), takže gap mezi
   okrajem tohoto dotu a okrajem dalšího je `100% - diameter`. */
.cart-steps .step:not(:last-child)::after,
.checkout-steps .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 17px; /* polovina 34 px dot výšky */
    left: 50%;
    width: calc(100% - 34px);
    transform: translateX(17px);
    height: 2px;
    background: var(--border-color);
    z-index: 0;
}

.cart-steps .step.is-done:not(:last-child)::after,
.checkout-steps .step.is-done:not(:last-child)::after {
    background: var(--primary-deep);
}

.cart-steps .dot,
.checkout-steps .dot {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--surface-elevated);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

/* Active = brand fill + číslo */
.cart-steps .is-active,
.checkout-steps .is-active {
    color: var(--text-main);
}

.cart-steps .is-active .dot,
.checkout-steps .is-active .dot {
    background: var(--primary-deep);
    border-color: var(--primary-deep);
    color: var(--text-inverse);
    font-weight: 600;
}

.cart-steps .is-active .step-label,
.checkout-steps .is-active .step-label {
    color: var(--text-main);
    font-weight: 600;
}

/* Done = brand fill + check (PHP renderuje prázdný span.dot, check
   kreslíme přes ::before jako rotovaný roh). */
.cart-steps .is-done .dot,
.checkout-steps .is-done .dot {
    background: var(--primary-deep);
    border-color: var(--primary-deep);
    color: var(--text-inverse);
}

.cart-steps .is-done .dot::before,
.checkout-steps .is-done .dot::before {
    content: "";
    width: 12px;
    height: 7px;
    border-left: 2px solid var(--text-inverse);
    border-bottom: 2px solid var(--text-inverse);
    transform: rotate(-45deg) translate(1px, -1px);
    display: block;
}

.cart-steps .is-done .step-label,
.checkout-steps .is-done .step-label {
    color: var(--text-main);
}

.cart-steps .step-label,
.checkout-steps .step-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.2;
    color: var(--text-muted);
}

/* Step-link hover (Košík ← z pokladny, Doprava → z košíku). */
.cart-steps .step-link,
.checkout-steps .step-link {
    cursor: pointer;
}

.cart-steps .step-link:hover .step-label,
.cart-steps .step-link:focus-visible .step-label,
.checkout-steps .step-link:hover .step-label,
.checkout-steps .step-link:focus-visible .step-label {
    color: var(--primary-deep);
}

.cart-steps .step-link:not(.is-done):hover .dot,
.cart-steps .step-link:not(.is-done):focus-visible .dot,
.checkout-steps .step-link:not(.is-done):hover .dot,
.checkout-steps .step-link:not(.is-done):focus-visible .dot {
    border-color: var(--primary-deep);
    color: var(--primary-deep);
}

/* Mobile (≤ 600 px) — menší tečky a popisky, obě stále viditelné.
   Container se zužuje aby connector line nebyla moc dlouhá. */
@media (max-width: 600px) {
    .cart-steps,
    .checkout-steps {
        max-width: 360px;
        margin: 24px auto 32px;
    }
    .cart-steps .step,
    .checkout-steps .step {
        gap: 8px;
    }
    .cart-steps .dot,
    .checkout-steps .dot {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }
    .cart-steps .step:not(:last-child)::after,
    .checkout-steps .step:not(:last-child)::after {
        top: 15px; /* polovina 30 px dot výšky */
        width: calc(100% - 30px);
        transform: translateX(15px);
    }
    .cart-steps .step-label,
    .checkout-steps .step-label {
        font-size: 10px;
        letter-spacing: 0.04em;
    }
    .cart-steps .is-done .dot::before,
    .checkout-steps .is-done .dot::before {
        width: 10px;
        height: 6px;
    }
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
    height: 60px;
}

@media (min-width: 1024px) {
    .header-top {
        height: 90px;
        padding: 0 64px;
    }
}

.header-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

@media (max-width: 1023px) {
    .header-left {
        gap: 12px;
    }
}

.menu-toggle {
    display: flex;
}

@media (min-width: 1024px) {
    .menu-toggle {
        display: none !important;
    }
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.custom-logo-link img,
.header-logo img,
.header-logo .logo-icon,
.mobile-menu-logo img,
.mobile-menu-logo .logo-icon {
    height: 90px !important;
    max-height: 90px !important;
    width: auto !important;
    display: block;
    object-fit: contain;
}

/* Fallback icons should not have forced height if they are text icons */
.header-logo .logo-icon,
.mobile-menu-logo .logo-icon {
    height: auto !important;
    max-height: none !important;
    width: auto !important;
}

@media (max-width: 700px) {

    .custom-logo-link img,
    .header-logo img,
    .mobile-menu-logo img {
        height: 60px !important;
        max-height: 60px !important;
    }
}

@media (max-width: 480px) {

    .custom-logo-link img,
    .header-logo img,
    .mobile-menu-logo img {
        height: 45px !important;
        max-height: 45px !important;
    }
}

.main-header .header-top {
    min-height: 100px;
}

/* Společná hlavička košíku, pokladny a potvrzení objednávky. */
.main-header--checkout .header-left {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-width: 0;
    gap: 12px;
}

.main-header--checkout .header-center,
.main-header--checkout .header-right {
    display: none !important;
}

.main-header--checkout .custom-logo-link {
    flex: 0 1 360px;
    min-width: 0;
    max-width: 360px;
}

.main-header--checkout .custom-logo {
    width: 100% !important;
    height: auto !important;
}

.main-header--checkout .cart-back-link {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    min-height: 44px;
    white-space: nowrap;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    text-decoration: none;
}

.main-header--checkout .cart-back-link:hover {
    color: var(--text-main);
}

@media (max-width: 700px) {
    .main-header--checkout .custom-logo-link {
        max-width: 240px;
    }
}

@media (max-width: 480px) {
    .main-header--checkout .custom-logo-link {
        max-width: 180px;
    }
}

.header-logo .custom-logo-link {
    display: block;
    line-height: 0;
}

.footer-topbar .custom-logo {
    max-height: 60px;
    width: auto;
    display: block;
}

.footer-topbar .custom-logo-link {
    display: inline-block;
    line-height: 0;
}

.logo-icon {
    color: var(--primary);
    font-size: 32px !important;
    filter: drop-shadow(var(--shadow-glow-sm));
}

.logo-text {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 500;
    font-style: normal;
    letter-spacing: -0.03em;
    color: var(--text-main);
}

@media (min-width: 1024px) {
    .logo-text {
        font-size: 36px;
    }
}

.header-right {
    display: flex;
    gap: 12px;
    align-items: center;
}

@media (min-width: 1024px) {
    .header-right {
        gap: 15px;
    }
}

.icon-btn {
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    transition: 0.3s;
    padding: 8px;
    display: flex;
    align-items: center;
}

.icon-btn .material-symbols-outlined {
    font-size: 26px !important;
}

.icon-btn:hover {
    color: var(--primary);
}

.header-search {
    position: fixed;
    inset: 0;
    z-index: 2000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.header-search.is-open {
    opacity: 1;
    pointer-events: auto;
}

.header-search-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 35, 27, 0.34);
    backdrop-filter: blur(6px);
}

.header-search-panel {
    position: relative;
    max-width: 1100px;
    margin: 60px auto 0;
    background: var(--surface-alt);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 2px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: calc(100vh - 120px);
    overflow: auto;
}

.header-search-close {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    cursor: pointer;
    padding: 0 12px;
    height: 54px;
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.header-search-close:hover {
    border-color: rgba(16, 41, 31, 0.30);
    color: var(--primary);
}

.header-search-form {
    display: flex;
    gap: 12px;
    align-items: center;
}

.header-top {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-center {
    flex: 1;
    display: none;
    justify-content: center;
}

@media (min-width: 1024px) {
    .header-center {
        display: flex;
    }
}

.header-search-inline {
    position: relative;
    max-width: 520px;
    width: 100%;
}

.header-search-form--inline .header-search-input {
    height: 46px;
}

.header-search-form--inline .header-search-submit {
    height: 46px;
    padding: 0 16px;
}

.header-search-inline .header-search-results {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    z-index: 50;
    background: var(--surface-alt);
}

.header-search-inline .header-search-results.is-visible {
    display: grid;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: 2px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    width: 900px;
    max-width: 95vw;
    left: 50%;
    transform: translateX(-50%);
}

.header-search-inline .search-cats,
.header-search-inline .search-products {
    background: transparent;
    border: none;
    padding: 0;
}

@media (min-width: 901px) {
    #header-search {
        display: none;
    }

    #header-search-trigger {
        display: none;
    }
}

@media (max-width: 900px) {
    .header-center {
        display: none;
    }
}

.header-search-input {
    flex: 1 1 auto;
    height: 54px;
    padding: 0 16px;
    background: var(--surface-elevated);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-size: 16px;
    border-radius: 2px;
}

.header-search-input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    height: 14px;
    width: 14px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2314231b'><path d='M18.3 5.71 12 12l6.3 6.29-1.42 1.42L10.59 13.4 4.29 19.7 2.87 18.3 9.17 12 2.87 5.71 4.29 4.29l6.3 6.3 6.29-6.3z'/></svg>") center/contain no-repeat;
    opacity: 0.8;
    cursor: pointer;
}

.header-search-input::placeholder {
    color: var(--text-soft);
}

.header-search-input:focus {
    outline: none;
    border-color: rgba(16, 41, 31, 0.38);
}

.header-search-submit {
    height: 54px;
    padding: 0 22px;
    background: var(--accent-gradient);
    color: var(--text-inverse);
    border: none;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 2px;
    cursor: pointer;
}

.header-search-submit:hover {
    background: var(--accent-gradient-hover);
}

.header-search-results {
    margin-top: 18px;
    display: none;
    gap: 20px;
}

.header-search-results.is-visible {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
}

.search-col-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
    border-right: 1px solid var(--border-color);
    padding-right: 24px;
}

.search-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.search-group ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.search-group li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(16, 41, 31, 0.06);
    border-radius: 4px;
    font-size: 14px;
    color: var(--text-main);
    transition: all 0.2s;
}

.search-group li a:hover {
    background: rgba(16, 41, 31, 0.14);
    color: var(--primary);
}

.search-group li a .count {
    font-size: 12px;
    color: var(--text-muted);
}

.search-empty-item {
    font-size: 13px;
    color: var(--text-muted);
    font-style: normal;
    padding: 0 12px;
}

.header-search-results .search-group-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.header-search-results .search-col-left,
.header-search-results .search-col-right {
    background: transparent;
    border: none;
    padding: 0;
}

.header-search-results .search-products-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-search-results .search-cats a {
    color: var(--text-main);
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 14px;
}

.header-search-results .search-cats a:hover {
    color: var(--primary);
}

.header-search-results .search-products li {
    list-style: none;
}

.header-search-results .search-product-card {
    background: var(--surface-alt);
    border: 1px solid var(--border-color);
    border-radius: 2px;
    overflow: hidden;
}

.header-search-results .search-products ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.header-search-results .search-product-card-link {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: start;
    padding: 10px;
    text-decoration: none;
}

.header-search-results .search-product-card-link:hover {
    border-color: rgba(16, 41, 31, 0.30);
}

.header-search-results .search-product-thumb img {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
    border-radius: 2px;
    background: var(--surface-alt);
}

.header-search-results .search-product-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.header-search-results .search-product-title {
    color: var(--text-main);
    font-size: 14px;
    text-decoration: none;
}

.header-search-results .search-product-title:hover {
    color: var(--primary);
}

.header-search-results .search-price {
    white-space: nowrap;
    font-weight: 700;
    color: var(--text-main);
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
}

.header-search-results .search-price del {
    order: 2;
    color: var(--text-soft);
    font-size: 12px;
    text-decoration: line-through;
}

/* Tooltip ⓘ vpravo i v search modalu — search-price má explicit order na
   ins (1) a del (2), takže defaultní order 0 by tooltip dal na začátek
   (= vlevo od ceny). order: 3 ho posune za del. */
.header-search-results .search-price .price-info-trigger {
    order: 3;
}

.header-search-results .search-price del .amount {
    color: var(--text-soft);
}

.header-search-results .search-price ins {
    order: 1;
    text-decoration: none;
    color: var(--text-main);
}

.header-search-results .search-price ins .amount {
    color: var(--text-main);
}

.header-search-results .search-empty {
    grid-column: 1 / -1;
    color: var(--text-muted);
    font-size: 14px;
}

.header-search-results .search-empty-dym {
    color: var(--text-main, #10291f);
    font-size: 15px;
    margin-bottom: 6px;
}

.header-search-results .search-empty-dym-link {
    color: var(--brand-primary, #2d6c45);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.header-search-results .search-empty-dym-link:hover {
    color: var(--text-main, #10291f);
}

.search-loader-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
}

.search-loader-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.search-loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
}

.search-loading-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(16, 41, 31, 0.25);
    border-top-color: rgba(16, 41, 31, 0.8);
    animation: vibratoSearchSpin 0.7s linear infinite;
}

.search-skel-line {
    height: 34px;
    border-radius: 4px;
    background: linear-gradient(100deg, rgba(16, 41, 31, 0.08) 0%, rgba(16, 41, 31, 0.16) 45%, rgba(16, 41, 31, 0.08) 100%);
    background-size: 220% 100%;
    animation: vibratoSearchPulse 1.2s ease-in-out infinite;
}

.search-skel-line.is-short {
    width: 72%;
}

.search-skel-products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.search-skel-card {
    min-height: 168px;
    border-radius: 4px;
    background: linear-gradient(100deg, rgba(16, 41, 31, 0.08) 0%, rgba(16, 41, 31, 0.16) 45%, rgba(16, 41, 31, 0.08) 100%);
    background-size: 220% 100%;
    animation: vibratoSearchPulse 1.2s ease-in-out infinite;
}

@keyframes vibratoSearchPulse {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

@keyframes vibratoSearchSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 900px) {
    .header-search-results.is-visible {
        grid-template-columns: 1fr;
    }

    .search-loader-grid {
        grid-template-columns: 1fr;
    }

    .search-skel-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .header-search-results .search-products-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .header-search-results .search-products-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .header-search-results .search-price {
        justify-self: start;
    }
}

@media (max-width: 700px) {
    .header-search-panel {
        margin: 24px 12px 0;
        padding: 18px;
        max-height: calc(100vh - 48px);
    }

    .header-search-form {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
    }

    .header-search-input {
        flex: 1 1 100%;
    }

    .header-search-submit {
        flex: 1 1 auto;
        height: 46px;
    }

    .header-search-close {
        flex: 0 0 46px;
        width: 46px;
        height: 46px;
        padding: 0;
    }
}

.cart-btn {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--primary) !important;
    color: var(--text-inverse) !important;
    font-size: 9px !important;
    width: 16px !important;
    height: 16px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: bold !important;
    font-family: var(--font-body) !important;
    line-height: 1 !important;
    z-index: 10;
}

.cart-badge.is-bumping {
    animation: cart-badge-bump .35s ease;
}

@keyframes cart-badge-bump {
    0%, 100% { transform: scale(1); }
    45% { transform: scale(1.35); }
}

/* DESKTOP NAV */
.desktop-nav {
    background: var(--surface-elevated);
    border-top: 1px solid rgba(16, 41, 31, 0.09);
    display: none;
    position: relative;
}

@media (min-width: 1024px) {
    .desktop-nav {
        display: block;
        padding: 0 64px;
        height: 57px; /* nav-list 56px + 1px top border */
        transition: height 0.26s ease, opacity 0.18s ease;
    }

    /* Scroll down → collapse the category nav row, keep logo+search+icons
       sticky. overflow:hidden only kicks in while condensed, so the
       mega-menu dropdown isn't clipped in the normal (expanded) state. */
    body.header-condensed .desktop-nav {
        height: 0;
        opacity: 0;
        overflow: hidden;
        border-top-color: transparent;
        pointer-events: none;
    }
}

.nav-list {
    display: flex;
    justify-content: center;
    gap: 50px;
    list-style: none;
    height: 56px;
    align-items: center;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
    /* Force single line */
}

.nav-list>li {
    position: static;
    height: 100%;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    /* Prevent shrinking so JS can measure true width */
}

.nav-list>li>.nav-link {
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    padding: 0;
}

.nav-link-button {
    cursor: pointer;
}

.nav-list>li>.nav-link:hover,
.nav-list>li:hover>.nav-link,
.nav-list>li.current-menu-item>.nav-link {
    color: var(--text-main);
}

.nav-link .chevron {
    font-size: 18px !important;
    opacity: 0.6;
    margin-top: -2px;
}

.sale-link {
    color: var(--primary) !important;
}

/* MEGA MENU */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--surface-elevated);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.3s;
    transition-delay: 0.15s;
    /* Mouse tunnel fix */
    z-index: 1000;
}

.nav-list>li:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-grid {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 40px;
    padding: 40px 0;
}

/* Visual Category Grid */
.cats-col {
    border-right: 1px solid rgba(16, 41, 31, 0.09);
    padding-right: 40px;
}

.mega-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 24px;
    display: block;
}

/* Mega menu kategorie — text-first list-row, stejný pattern jako archive
   subcat cards. Thumb 44px je accent/ilustrace, název = main signal.
   Cíl: konzistence s archive + víc childrenů nad foldem v dropdownu. */
.mega-list-visual {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    list-style: none;
    padding: 0;
}

.cat-visual-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    min-height: 64px;
    border-radius: 4px;
    border: 1px solid rgba(16, 41, 31, 0.09);
    background: var(--surface-elevated);
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.cat-visual-link:hover {
    border-color: rgba(16, 41, 31, 0.24);
    background: rgba(16, 41, 31, 0.04);
    transform: translateX(2px);
}

.cat-thumb {
    width: 44px;
    height: 44px;
    border-radius: 3px;
    overflow: hidden;
    background-color: rgba(16, 41, 31, 0.04);
    flex: 0 0 auto;
    transition: opacity 0.2s ease;
}

.cat-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.cat-visual-link:hover .cat-thumb img {
    opacity: 1;
}

.cat-visual-link span {
    flex: 1 1 auto;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.3;
    /* Dlouhé názvy přes 2 řádky max */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* No-image: thumb je soft brand-tinted square jako placeholder accent */
.cat-visual-link.no-img .cat-thumb {
    background: linear-gradient(135deg, rgba(45, 108, 69, 0.18), rgba(45, 108, 69, 0.05));
}


/* Menu Teaser */
.teaser-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mega-teaser-link {
    display: block;
    height: 100%;
    transition: 0.3s;
}

.mega-teaser-link:hover {
    transform: translateY(-3px);
}

.mega-teaser-card {
    background: var(--surface-alt);
    border: 1px solid var(--border-color);
    border-radius: 2px;
    overflow: hidden;
    display: grid;
    grid-template-rows: 1fr auto;
    min-height: 180px;
}

.mega-teaser-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: 0.4s;
}

/* Čtverec s celou fotkou: produkt na výšku natáhl celé megamenu přes obrazovku. */
.mega-teaser-media {
    position: relative;
    aspect-ratio: 1 / 1;
    max-height: 320px;
    overflow: hidden;
    background: #fff;
}

.mega-teaser-link:hover .mega-teaser-media img {
    transform: scale(1.03);
}

.mega-teaser-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mega-teaser-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--surface-dark);
    color: var(--text-main);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 4px 8px;
    border-radius: 2px;
    z-index: 2;
}

.mega-teaser-title {
    color: var(--text-main);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
}

.mega-teaser-price {
    color: var(--text-main);
    font-size: 16px;
    font-weight: 700;
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 8px;
    align-items: baseline;
}

.mega-teaser-price del {
    font-size: 12px;
    color: var(--text-soft);
    font-weight: 400;
}

.mega-teaser-price ins {
    text-decoration: none;
    color: var(--text-main);
}

/* MOBILE MENU OVERLAY - PREMIUM DESIGN */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(20, 35, 27, 0.38);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(25px);
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    width: 90%;
    max-width: 380px;
    height: 100%;
    background: var(--surface-alt);
    position: relative;
    transform: translateX(-100%);
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(16, 41, 31, 0.09);
}

.mobile-overlay.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(16, 41, 31, 0.09);
}

.mobile-menu-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-menu-logo .logo-icon {
    font-size: 28px !important;
}

.mobile-menu-logo .logo-text {
    font-size: 24px;
}

.close-menu {
    background: rgba(16, 41, 31, 0.06);
    border: 1px solid rgba(16, 41, 31, 0.14);
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}

.close-menu:hover {
    background: rgba(16, 41, 31, 0.14);
    color: var(--primary);
}

.mobile-menu-search {
    padding: 20px 24px;
}

.mobile-search-form {
    position: relative;
    display: flex;
    align-items: center;
}

.mobile-search-form .search-icon {
    position: absolute;
    left: 14px;
    color: var(--text-muted);
    font-size: 20px !important;
}

.mobile-search-input {
    width: 100%;
    height: 48px;
    background: var(--surface-elevated);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0 16px 0 44px;
    color: var(--text-main);
    font-size: 14px;
    transition: 0.3s;
}

.mobile-search-input:focus {
    border-color: var(--primary);
    background: var(--surface-strong);
    outline: none;
}

.mobile-menu-body {
    flex: 1;
    overflow-y: auto;
    padding: 10px 0 40px;
}

/* Accordion Nav */
.mobile-accordion {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-item {
    border-bottom: 1px solid rgba(16, 41, 31, 0.04);
}

.mobile-nav-link-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-nav-link {
    display: block;
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    flex: 1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mobile-nav-link.sale-link {
    color: var(--primary);
}

.mobile-nav-toggle {
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 16px 24px;
    cursor: pointer;
    transition: 0.3s;
}

.mobile-nav-toggle .material-symbols-outlined {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-item.is-open .mobile-nav-toggle .material-symbols-outlined {
    transform: rotate(180deg);
    color: var(--text-main);
}

.mobile-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    background: rgba(16, 41, 31, 0.04);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-item.is-open .mobile-submenu {
    max-height: 1000px;
    /* Large enough for any submenu */
}

.mobile-submenu .mobile-nav-link {
    padding: 12px 24px 12px 40px;
    font-size: 14px;
    font-weight: 400;
    text-transform: none;
    color: var(--text-muted);
}

.mobile-submenu .view-all-link {
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    color: var(--primary);
    border-bottom: 1px solid rgba(16, 41, 31, 0.09);
}

/* Utility Links */
.mobile-utility-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 30px 24px;
}

.utility-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    background: rgba(16, 41, 31, 0.06);
    border: 1px solid rgba(16, 41, 31, 0.09);
    border-radius: 4px;
    transition: 0.3s;
}

.utility-item:hover {
    background: rgba(16, 41, 31, 0.11);
    border-color: var(--primary);
}

.utility-item .material-symbols-outlined {
    color: var(--primary);
    font-size: 24px !important;
}

.utility-item span:not(.material-symbols-outlined) {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Benefits */
.mobile-benefits {
    padding: 30px 24px;
    background: rgba(16, 41, 31, 0.05);
    border-top: 1px solid rgba(16, 41, 31, 0.10);
    border-bottom: 1px solid rgba(16, 41, 31, 0.10);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benefit-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.benefit-item .material-symbols-outlined {
    color: var(--primary);
    font-size: 24px !important;
    margin-top: 2px;
}

.benefit-item strong {
    display: block;
    font-size: 13px;
    color: var(--text-main);
    margin-bottom: 2px;
}

.benefit-item p {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
}

/* Contact Links */
.mobile-info-links {
    display: flex;
    flex-direction: column;
    padding: 8px 24px 16px;
}

.mobile-info-links a {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
}

.mobile-contact-links {
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--surface-elevated);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    transition: 0.3s;
}

.contact-item .material-symbols-outlined {
    color: var(--primary);
}

.contact-item.whatsapp {
    background: rgba(37, 211, 102, 0.05);
    border-color: rgba(37, 211, 102, 0.2);
}

.contact-item.whatsapp .material-symbols-outlined {
    color: #25D366;
}

/* Rest of the design (Hero, Teasers, etc.) restored */
/* ── HERO: split panel — text on a solid brand panel, photo beside it.
   Copy never sits over the busy photo, so it reads clean/premium and the
   layout is bullet-proof on mobile (photo band on top, panel below). ── */
.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--primary-deep);
}

.hero-panel {
    order: 2;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 36px 24px 44px;
    background:
        radial-gradient(130% 150% at 0% 0%, rgba(47, 117, 89, 0.5) 0%, rgba(17, 44, 33, 0) 55%),
        linear-gradient(160deg, #16382a 0%, #112c21 100%);
}

.hero-media {
    order: 1;
    height: 230px;
    background-size: cover;
    background-position: center;
}

.hero-content {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.tag-label {
    display: inline-flex;
    padding: 4px 12px;
    border-left: 2px solid #4fd49b;
    background: rgba(255, 255, 255, 0.08);
    color: #9beecb;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hero h1 {
    font-size: 38px;
    line-height: 1.05;
    color: var(--text-inverse);
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-highlight {
    display: block;
    color: #4fd49b;
    font-weight: 900;
}

.hero-accent-bar {
    height: 5px;
    width: 96px;
    background: #4fd49b;
    border-radius: 3px;
    box-shadow: 0 6px 20px rgba(79, 212, 155, 0.35);
    margin-bottom: 24px;
}

.hero p {
    font-size: 16px;
    line-height: 1.5;
    color: rgba(248, 252, 249, 0.82);
    max-width: 460px;
    font-weight: 300;
    margin-bottom: 28px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero CTAs sit on the dark green panel → primary becomes bright, outline white. */
.hero-cta .btn-luxury {
    background: #4fd49b;
    color: #0f261c;
}
.hero-cta .btn-luxury:hover {
    background: #6fe6b3;
    box-shadow: 0 10px 30px rgba(79, 212, 155, 0.35);
    transform: translateY(-3px);
}
.hero-cta .btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: var(--text-inverse);
    backdrop-filter: none;
}
.hero-cta .btn-outline:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: #fff !important;
    box-shadow: none;
}

@media (min-width: 900px) {
    .hero {
        flex-direction: row;
        min-height: 560px;
    }
    .hero-panel {
        order: 1;
        flex: 0 0 46%;
        padding: 48px 56px;
    }
    .hero-media {
        order: 2;
        flex: 1 1 54%;
        height: auto;
        align-self: stretch;
    }
    .hero h1 {
        font-size: clamp(44px, 4.4vw, 68px);
        margin-bottom: 24px;
    }
    .hero p {
        font-size: 18px;
    }
}

@media (min-width: 1280px) {
    .hero {
        min-height: 620px;
    }
    .hero h1 {
        font-size: clamp(56px, 4vw, 76px);
    }
}

.btn-luxury {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    padding: 0 24px;
    background: var(--emerald-luxury);
    color: var(--text-inverse);
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 2px;
}

@media (min-width: 1024px) {
    .btn-luxury {
        height: 64px;
        padding: 0 48px;
    }
}

.btn-luxury:hover {
    background: var(--emerald-dark);
    box-shadow: var(--shadow-emerald);
    transform: translateY(-3px);
}

.btn-outline {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(16, 41, 31, 0.28);
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    box-shadow: var(--shadow-glow);
}

.teaser-section {
    max-width: 1440px;
    margin: 20px auto 0;
    position: relative;
    z-index: 20;
    padding: 0 16px 30px;
}

@media (min-width: 1024px) {
    .teaser-section {
        margin: 40px auto 0;
        padding: 0 48px 64px;
    }
}

.teaser-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .teaser-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
}

.teaser-card {
    height: 350px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.teaser-card.is-static {
    cursor: default;
}

@media (min-width: 1024px) {
    .teaser-card {
        height: 500px;
    }
}

.teaser-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: 0.7s;
    width: 100%;
    height: 100%;
}

.teaser-card:hover .teaser-img {
    transform: scale(1.1);
}

.teaser-card.is-static:hover .teaser-img {
    transform: none;
}

.teaser-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.45) 35%, transparent 70%);
    transition: 0.3s;
}

.teaser-card:hover .teaser-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 40%, rgba(0, 0, 0, 0.1) 80%);
}

.teaser-card.is-static:hover .teaser-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.45) 35%, transparent 70%);
}

.teaser-content {
    position: absolute;
    bottom: 32px;
    left: 0;
    width: 100%;
    text-align: center;
}

.teaser-content h2 {
    font-size: 32px;
    font-style: normal;
    color: var(--text-inverse);
    margin-bottom: 8px;
    transition: 0.3s;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}

@media (min-width: 1024px) {
    .teaser-content h2 {
        font-size: 40px;
    }
}

.teaser-card:hover h2 {
    transform: translateY(-8px);
}

.teaser-card.is-static:hover h2 {
    transform: none;
}

.teaser-discover {
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0;
    transform: translateY(16px);
    transition: 0.3s;
    display: block;
}

.teaser-card:hover .teaser-discover {
    opacity: 1;
    transform: translateY(0);
}

.features-bar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 1024px;
    margin: 40px auto;
}

@media (min-width: 768px) {
    .features-bar {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(16, 41, 31, 0.24);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 12px;
    transition: 0.3s;
    box-shadow: var(--shadow-glow-sm);
}

.feature-item h3 {
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--text-main);
    margin-bottom: 4px;
}

.feature-item p {
    font-size: 12px;
    color: var(--text-muted);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
    margin-top: 60px;
    margin-bottom: 40px;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 0;
}

@media (min-width: 576px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 32px;
        padding: 40px 0;
    }
}

/* Related / Naposledy prohlížené — shared mezi PDP a archive.
   Desktop: 4-col grid (.product-grid base).
   Mobile (≤900px): horizontal scroll-snap carousel (Alza/Mall pattern),
   každá karta zabírá 82% viewportu, hidden scrollbar. */
.related-section {
    border-top: 1px solid var(--border-color);
    padding-top: 48px;
    margin-bottom: 96px;
}

.related-title {
    font-family: var(--font-display);
    font-size: 32px;
    color: var(--text-main);
    margin-bottom: 32px;
}

.related-title-accent {
    font-style: normal;
    color: var(--primary);
}

.related-section .product-grid {
    margin-bottom: 0;
}

.related-section .p-price {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.related-section .btn-buy-card {
    font-size: 12px;
    padding: 0 16px;
    height: 44px;
    background: var(--accent-gradient);
}

.related-section .btn-buy-card:hover {
    background: var(--accent-gradient-hover);
    box-shadow: var(--shadow-emerald-sm);
}

@media (max-width: 900px) {
    .related-section {
        padding-top: 32px;
        margin-bottom: 48px;
    }

    .related-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .related-section .product-grid.related-carousel {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .related-section .product-grid.related-carousel::-webkit-scrollbar {
        display: none;
    }

    .related-section .product-grid.related-carousel .p-card {
        flex: 0 0 70%;
        scroll-snap-align: start;
    }
}

/* Edge-to-edge image pattern — image fills card top, text rows uvnitř mají
   vlastní horizontal padding. Image clipping rohů je na `.p-img-box` self
   (border-radius top + overflow hidden), NE na kartě, aby tooltip "i"
   ikony u `.p-price del` mohl escape ven přes overflow visible. */
.p-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    background: rgba(16, 41, 31, 0.03);
    border: 1px solid rgba(16, 41, 31, 0.09);
    border-radius: 4px;
    overflow: visible;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.p-card:hover {
    background: rgba(16, 41, 31, 0.06);
    border-color: rgba(16, 41, 31, 0.24);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.p-img-box {
    position: relative;
    aspect-ratio: 1 / 1;
    margin: 0;
    overflow: hidden;
    border-radius: 4px 4px 0 0;
    background: var(--surface-elevated);
}

.p-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.7s;
}

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

.p-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}

.p-card:hover .p-overlay {
    opacity: 1;
}

.p-zoom-btn {
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(16, 41, 31, 0.28);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.p-zoom-btn .material-symbols-outlined {
    color: #fff;
}

.p-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.p-badge {
    font-family: var(--font-body);
    font-weight: bold;
    font-size: 9px;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.p-badge.sale {
    background: var(--primary);
    color: var(--text-inverse);
}

.p-badge.new {
    background: var(--surface-dark);
    color: var(--text-main);
}

.p-badge.new.has-sale {
    margin-top: 4px;
}

.p-badge.tag {
    background: var(--surface-dark);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

/* Edge-to-edge image pattern: image bleeduje, text rows mají vlastní
   horizontal padding. Jeden source of truth pro padding všech text-rows
   uvnitř .p-card — DRY princip, na mobilu se override-uje v archive.css. */
.p-card > .p-title-wrapper,
.p-card > .p-variants-slot,
.p-card > .p-price,
.p-card > .p-meta,
.p-card > .p-footer {
    padding-left: 14px;
    padding-right: 14px;
}

.p-card > .p-title-wrapper {
    padding-top: 12px;
}

.p-card > .p-footer {
    padding-bottom: 14px;
}

.p-title-wrapper {
    height: 64px;
    overflow: hidden;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

.p-title {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-main);
    line-height: 1.4;
    font-weight: 600;
}

.p-price {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: baseline;
    gap: 8px;
    font-size: 20px;
    color: var(--text-main);
    font-weight: 800;
    margin-bottom: 12px;
    min-height: 28px;
    letter-spacing: -0.01em;
}

/* Meta row pod cenou — "Skladem" + případně "Doprava ZDARMA" pill.
   Sdílí se napříč archiv / homepage / PDP related / Naposledy prohlížené.
   Stock: customer nevidí filtr "instock only", takže explicitní signal.
   Freeship: per-product diskriminátor (jen kdy cena ≥ 5 000 Kč) —
   transformuje obecný USP slib na konkrétní per-product záruku
   a hýbe upsell behavior (4 800 Kč → 5 100 Kč pro zdarma). */
.p-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin-bottom: 12px;
    line-height: 1;
}

.p-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--brand-primary, #2d6c45);
    line-height: 1;
    letter-spacing: 0.02em;
}

.p-stock-dot {
    position: relative;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand-primary, #2d6c45);
    flex: 0 0 auto;
}

/* Pulzující prstenec přes ::after a transform/opacity (GPU-composited),
   ne box-shadow (non-composited → překresluje, Lighthouse to flagoval u 24
   prvků na výpisu). Vizuál stejný: rozpínající se mizející kroužek. */
.p-stock-dot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(45, 108, 69, 0.45);
    animation: vibratoPStockPulse 2.4s ease-out infinite;
}

@keyframes vibratoPStockPulse {
    0%   { transform: scale(1);   opacity: 0.45; }
    70%  { transform: scale(2.7); opacity: 0; }
    100% { transform: scale(2.7); opacity: 0; }
}

.p-freeship {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--brand-primary, #2d6c45);
    background: rgba(45, 108, 69, 0.10);
    padding: 4px 8px;
    border-radius: 3px;
    line-height: 1;
}

.p-freeship .material-symbols-outlined {
    font-size: 13px;
    color: var(--brand-primary, #2d6c45);
    line-height: 1;
    font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 20;
}

.p-price ins {
    text-decoration: none;
    color: var(--text-main);
}

.p-price del {
    font-size: 12px;
    color: var(--text-soft);
    margin-left: 6px;
    font-weight: 500;
    position: relative;
    padding-right: 18px;
    cursor: help;
}

.p-price del::after {
    content: "i";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-size: 10px;
    line-height: 14px;
    text-align: center;
    background: var(--surface-elevated);
}

.p-price del::before {
    content: "Doporučená MOC cena";
    position: absolute;
    right: 0;
    top: -34px;
    white-space: nowrap;
    background: var(--surface-elevated);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-size: 10px;
    padding: 6px 8px;
    border-radius: 2px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(4px);
    transition: 0.2s;
}

.p-price del:hover::before,
.p-price del.moc-active::before {
    opacity: 1;
    transform: translateY(0);
}

.p-footer {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.qty-box {
    display: flex;
    align-items: center;
    background: var(--surface-strong);
    border: 1px solid var(--border-color);
    border-radius: 2px;
}

.qty-btn {
    width: 30px;
    background: none;
    border: none;
    color: var(--text-soft);
    cursor: pointer;
    font-size: 16px;
    padding: 0;
}

.qty-input {
    width: 30px;
    background: none;
    border: none;
    color: var(--text-main);
    text-align: center;
    font-weight: 700;
    -moz-appearance: textfield;
    appearance: textfield;
}

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

.btn-buy-card {
    flex: 1;
    background: var(--accent-gradient);
    color: var(--text-inverse);
    border: none;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 2px;
    height: 44px;
    padding: 0 16px;
}

.btn-buy-card .material-symbols-outlined {
    font-size: 18px !important;
}

.btn-buy-card:hover {
    background: var(--accent-gradient-hover);
    box-shadow: var(--shadow-emerald-sm);
}

.btn-buy-card.added {
    background: var(--primary-deep);
    box-shadow: var(--shadow-emerald-sm);
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 48px;
    }
}

.inspiration-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (min-width: 1024px) {
    .inspiration-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
}

.inspiration-item {
    position: relative;
    height: 160px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 14px 16px;
}

.inspiration-item.is-static {
    cursor: default;
}

@media (min-width: 1024px) {
    .inspiration-item {
        height: 256px;
    }
}

.inspiration-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: 0.7s;
}

.inspiration-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.1) 100%);
    transition: 0.3s;
    z-index: 5;
}

.inspiration-item:hover img {
    transform: scale(1.1);
}

.inspiration-item.is-static:hover img {
    transform: none;
}

.inspiration-item h3 {
    position: relative;
    z-index: 10;
    font-size: 17px;
    line-height: 1.15;
    font-weight: bold;
    text-transform: uppercase;
    text-align: left;
    color: var(--text-inverse);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

/* Homepage trust blocks: "Kdo stojí za Navilo" + "Když se něco nepovede".
   Second card is brand-dark so the active-problem-solving promise pops. */
.home-trust {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .home-trust {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
}

.home-trust-card {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 32px 28px;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.home-trust-card--accent {
    background: linear-gradient(160deg, #16382a 0%, #112c21 100%);
    border-color: transparent;
}

.home-trust-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(47, 117, 89, 0.1);
    color: var(--primary);
    margin-bottom: 18px;
}

.home-trust-card--accent .home-trust-icon {
    background: rgba(79, 212, 155, 0.15);
    color: #4fd49b;
}

.home-trust-card h3 {
    font-size: 22px;
    color: var(--text-main);
    margin-bottom: 10px;
}

.home-trust-card--accent h3 {
    color: var(--text-inverse);
}

.home-trust-card p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.home-trust-card--accent p {
    color: rgba(248, 252, 249, 0.82);
}

.home-trust-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    font-weight: 700;
    font-size: 14px;
    color: var(--primary);
    text-decoration: none;
    transition: gap 0.2s ease;
}

.home-trust-card--accent .home-trust-link {
    color: #4fd49b;
}

.home-trust-link .material-symbols-outlined {
    font-size: 18px;
}

.home-trust-link:hover {
    gap: 10px;
}

.footer-link-button {
    appearance: none;
    background: none;
    border: none;
    padding: 0;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.footer-link-button:hover {
    color: var(--primary);
}

.mag-header {
    text-align: center;
    margin-bottom: 40px;
}

.mag-header h2 {
    font-size: 32px;
}

@media (min-width: 1024px) {
    .mag-header h2 {
        font-size: 48px;
    }
}

.accent-line {
    height: 4px;
    width: 80px;
    background: var(--primary);
    margin: 20px auto;
}

.magazine-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .magazine-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
}

.magazine-card {
    background: var(--surface-elevated);
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: 0.3s;
    height: 100%;
}

.magazine-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow-sm);
}

.mag-img-box {
    height: 200px;
    position: relative;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .mag-img-box {
        height: 250px;
    }
}

.mag-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: 0.7s;
}

.mag-content {
    padding: 25px;
    background: var(--surface-elevated);
    flex-grow: 1;
}

.mag-link {
    color: var(--primary);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 12px;
}

.newsletter-box {
    background: var(--surface-elevated);
    border-top: 1px solid var(--border-color);
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('assets/img/cubes.png'); /* self-hostováno (bylo transparenttextures.com = 3rd-party) */
    opacity: 0.05;
    pointer-events: none;
}

.newsletter-inner {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-inner h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    margin-top: 30px;
    flex-direction: column;
}

@media (min-width: 600px) {
    .newsletter-form {
        flex-direction: row;
    }
}

.newsletter-input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 2px;
    color: var(--text-main);
}

.btn-newsletter {
    background: var(--emerald-luxury);
    color: var(--text-inverse);
    border: none;
    padding: 15px 30px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
}

.btn-newsletter:hover {
    background: var(--emerald-dark);
    box-shadow: var(--shadow-emerald);
}

.newsletter-message {
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-muted);
}

/* Pozadí sekce je SVĚTLÉ (--surface-elevated #e6eee7), takže sem patří tmavé
   tóny. Dřív tu byla světlá máta #9ee0c4 — kontrast ~1,4:1, prakticky
   neviditelná (barva mířená na tmavý podklad). Chyba měla brandovou zelenou,
   takže se tvářila jako úspěch. */
.newsletter-message.success {
    color: var(--primary); /* 4,7:1 na --surface-elevated */
}

.newsletter-message.error {
    color: #b9632f; /* stejná chybová barva jako .navilo-form-msg.is-error */
}

.newsletter-gdpr {
    margin-top: 12px;
    font-size: 12px;
    color: var(--text-muted);
}

.newsletter-gdpr a {
    color: var(--text-main);
    text-decoration: underline;
    text-underline-offset: 3px;
}

footer {
    background: var(--surface-dark);
    border-top: 1px solid var(--border-color);
    padding: 44px 20px 24px;
}

@media (min-width: 1024px) {
    footer {
        padding: 56px 48px 32px;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 1440px;
    margin: 0 auto 32px;
}

.footer-topbar {
    max-width: 1440px;
    margin: 0 auto 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-inline: 2px;
}

.footer-utility-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.footer-utility-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.4;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.footer-utility-link .material-symbols-outlined {
    font-size: 19px;
    color: var(--primary);
    flex-shrink: 0;
}

.footer-utility-link:hover {
    color: var(--primary);
}

.footer-utility-link--static {
    color: var(--text-main);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-topbar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 28px;
    }

    .footer-utility-links {
        flex-direction: row;
        align-items: center;
        gap: 12px 28px;
        justify-content: flex-end;
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 36px;
    }
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-col h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-main);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
}

.footer-brand-icon {
    color: var(--primary);
    font-size: 32px;
}

.footer-brand-title {
    font-size: 24px;
    font-weight: 700;
    font-style: normal;
    margin: 0;
}

.footer-contact-card {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact-card h3 {
    margin: 0;
}

.footer-contact-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li:last-child {
    margin-bottom: 0;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    transition: 0.3s;
}

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

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 2px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--surface-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.social-icon:hover {
    background: var(--primary);
    color: var(--text-inverse);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 22px;
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
}

.footer-operator {
    font-size: 11px;
    opacity: 1;
}

/* Platební loga — karetní badge + oficiální Stripe wordmark vedle sebe na
   jednom řádku. Světlé panely → badge bez Comgate brandingu, Visa modrá.
   Stripe wordmark (Blurple) se nesmí přebarvovat. */
.footer-payment-logos,
.cart-payment-logos,
.checkout-payment-logos {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}
.cart-payment-logos,
.checkout-payment-logos {
    justify-content: center;
}
.checkout-payment-logos {
    margin-top: 16px;
}
.footer-payment-logos > img,
.cart-payment-logos > img,
.checkout-payment-logos > img {
    height: 24px;
    width: auto;
    max-width: 100%;
    display: block;
}
.stripe-logo {
    height: 19px !important;
}

.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 18px 24px;
}

.footer-guarantee-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-guarantee-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
}

.footer-guarantee-item .material-symbols-outlined {
    color: var(--primary);
    font-size: 20px;
    flex-shrink: 0;
}

.footer-payments {
    display: flex;
    gap: 8px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.footer-payments span {
    min-width: 48px;
    height: 32px;
    background: #fff;
    border-radius: 8px;
    color: #333;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    letter-spacing: 0.02em;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .footer-bottom-links {
        justify-content: flex-end;
    }
}

/* Hide unwanted WooCommerce 'View Cart' link after AJAX add */
.added_to_cart.wc-forward {
    display: none !important;
}

/* TOAST NOTIFICATION */
.vibrato-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--surface-elevated);
    border: 1px solid rgba(16, 41, 31, 0.17);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    border-radius: 4px;
    z-index: 100000;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 26px;
    transform: translateY(100px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.vibrato-toast.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.vibrato-toast.is-error {
    background: linear-gradient(135deg, #8f1f1f 0%, #6f1717 100%);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 18px 48px rgba(95, 20, 20, 0.45);
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.check-icon {
    color: var(--emerald-luxury);
    font-size: 24px !important;
}

.vibrato-toast.is-error .check-icon {
    color: #fff;
}

.vibrato-toast.is-error .toast-title {
    color: #fff;
}

.vibrato-toast.is-error .toast-subtitle {
    color: rgba(255, 255, 255, 0.88);
}

.vibrato-toast.is-error .toast-link {
    display: none;
}

.toast-message {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.toast-title {
    color: var(--text-main);
    font-weight: 700;
    font-size: 14px;
}

.toast-subtitle {
    color: var(--text-muted);
    font-size: 11px;
}

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

/* Bez tohohle je atribut `hidden` na .toast-actions k ničemu: `display: flex`
   výše (a `display: grid` v mobilním media query) přebije `[hidden]{display:none}`
   z UA stylu. JS pak schovává tlačítko, které zůstane vidět. Vyšší specificita
   než obě pravidla, takže na pořadí ani na media query nezáleží. */
.toast-actions[hidden] {
    display: none;
}

.vibrato-toast.is-error .toast-actions {
    display: none;
}

.toast-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 10px 16px;
    border-radius: 2px;
    text-decoration: none;
    height: 36px;
    transition: 0.2s;
    white-space: nowrap;
}

/* Secondary = "Zobrazit košík" — neutralní outline, ať primary K POKLADNĚ
   vyhraje vizuálně (CRO: hierarchie volby). */
.toast-link-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.toast-link-secondary:hover {
    border-color: var(--emerald-luxury);
    color: var(--emerald-luxury);
}

.toast-link-primary {
    background: var(--emerald-luxury);
    color: var(--text-inverse);
}

.toast-link-primary:hover {
    background: var(--emerald-dark);
}

.toast-link-primary .material-symbols-outlined {
    font-size: 16px !important;
}

.toast-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: transparent;
    border: 0;
    padding: 4px;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 0;
    border-radius: 2px;
    transition: 0.2s;
}

.toast-close:hover {
    color: var(--text-main);
    background: rgba(16, 41, 31, 0.06);
}

.toast-close .material-symbols-outlined {
    font-size: 18px !important;
}

.vibrato-toast.is-error .toast-close {
    color: rgba(255, 255, 255, 0.8);
}

.vibrato-toast.is-error .toast-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.toast-cart-summary {
    color: var(--text-soft);
    font-size: 11px;
    margin-top: 2px;
}

.vibrato-toast.is-error .toast-cart-summary {
    display: none;
}

.vibrato-toast {
    padding-top: 22px;
    padding-right: 36px;
}

.toast-btn {
    background: var(--emerald-luxury);
    color: var(--text-inverse);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 11px;
    padding: 10px 20px;
    border-radius: 2px;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-emerald-sm);
    transition: 0.3s;
    white-space: nowrap;
}

.toast-btn:hover {
    background: var(--emerald-dark);
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .vibrato-toast {
        bottom: 20px;
        right: 20px;
        left: 20px;
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .toast-content {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 10px;
    }

    .toast-btn {
        width: 100%;
        text-align: center;
    }

    .toast-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        width: 100%;
        margin-left: 0;
    }

    .toast-link {
        width: 100%;
        height: 40px;
    }
}

/* =========================================
   PRODUCT DETAIL PAGE - NEW DESIGN
   ========================================= */

.vibrato-product-detail {
    padding-top: 40px;
    padding-bottom: 100px;
}

/* 1. Header & Meta */
.product-collection-label {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--primary);
    margin-bottom: 12px;
}

.product-meta-top {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.rating-stars {
    color: #f1c40f;
    font-size: 14px;
    letter-spacing: 2px;
}

.rating-count {
    color: var(--text-muted);
    font-size: 12px;
    margin-left: 8px;
    letter-spacing: 0;
    font-family: var(--font-body);
}

.stock-status {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.stock-status .dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(47, 117, 89, 0.5);
}

/* 2. Gallery Badges */
.product-gallery-col {
    position: relative;
}

.product-badges-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.badge-sale {
    background: var(--primary);
    color: var(--text-inverse);
    padding: 4px 10px;
    font-weight: 800;
    font-size: 11px;
    border-radius: 2px;
}

.badge-tag {
    background: var(--surface-dark);
    color: var(--text-main);
    padding: 4px 10px;
    font-weight: 800;
    font-size: 11px;
    border-radius: 2px;
}

.wishlist-btn-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    width: 44px;
    height: 44px;
    background: rgba(16, 41, 31, 0.17);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    cursor: pointer;
    transition: 0.3s;
}

.wishlist-btn-overlay:hover {
    background: var(--surface-dark);
    color: var(--primary);
}

/* 3. Pricing Section */
.product-price-section {
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.price-main {
    font-size: 48px;
    font-weight: 800;
    color: var(--emerald-luxury);
}

.price-main del {
    font-size: 24px;
    color: var(--text-soft);
    font-weight: 400;
    margin-left: 15px;
}

.price-main ins {
    text-decoration: none;
    color: var(--primary);
}

.save-badge {
    background: var(--surface-elevated);
    border: 1px solid var(--border-strong);
    color: var(--text-soft);
    font-size: 10px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
}

/* 4. Variants */
.product-variants {
    margin-bottom: 40px;
}

.variant-group {
    margin-bottom: 24px;
}

.variant-group label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-main);
    margin-bottom: 12px;
    letter-spacing: 0.1em;
}

.variant-val {
    color: var(--text-muted);
    font-weight: 400;
    margin-left: 5px;
}

.swatches {
    display: flex;
    gap: 12px;
}

.swatch {
    cursor: pointer;
    border: 2px solid transparent;
    transition: 0.2s;
}

.swatch.circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.swatch.box {
    padding: 10px 24px;
    background: var(--surface-dark);
    border: 1px solid var(--border-strong);
    color: var(--text-main);
    font-size: 11px;
    font-weight: 700;
}

.swatch:hover {
    border-color: var(--primary);
}

.swatch.active {
    border-color: var(--primary);
    background: rgba(47, 117, 89, 0.12);
}

.swatch.circle.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary);
}

/* 5. Buy Row */
.product-buy-row {
    display: flex;
    gap: 16px;
    margin-bottom: 30px;
}

.qty-selector {
    display: flex;
    border: 1px solid var(--border-strong);
    background: var(--surface-strong);
    border-radius: 2px;
}

.qty-selector button {
    width: 44px;
    height: 56px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
}

.qty-selector input {
    width: 50px;
    text-align: center;
    background: none;
    border: none;
    color: var(--text-main);
    font-weight: 700;
    font-size: 18px;
}

.btn-buy-large {
    flex: 1;
    background: var(--emerald-luxury);
    color: var(--text-inverse);
    border: none;
    height: 56px;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.btn-buy-large:hover {
    background: var(--emerald-dark);
    box-shadow: var(--shadow-emerald);
    transform: translateY(-2px);
}

/* 6. Info Blocks */
.discreet-shipping-box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: rgba(16, 41, 31, 0.04);
    border: 1px solid rgba(16, 41, 31, 0.09);
    border-radius: 4px;
    margin-bottom: 20px;
}

.discreet-shipping-box span {
    color: var(--primary);
    font-size: 28px !important;
}

.discreet-shipping-box strong {
    display: block;
    font-size: 12px;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.discreet-shipping-box span:not(.material-symbols-outlined) {
    font-size: 11px;
    color: var(--text-muted);
}

.free-shipping-info {
    font-size: 13px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.free-shipping-info span {
    color: var(--primary);
    font-size: 18px !important;
}

/* 7. Cross-sell */
.cross-sell-section {
    margin-top: 80px;
    padding: 40px;
    background: rgba(16, 41, 31, 0.03);
    border: 1px solid rgba(16, 41, 31, 0.06);
    border-radius: 4px;
}

.section-sub {
    font-size: 20px;
    color: var(--text-main);
    margin-bottom: 30px;
    font-style: normal;
}

.section-sub small {
    color: var(--text-muted);
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
}

.cross-sell-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}

.cs-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(16, 41, 31, 0.04);
    border: 1px solid rgba(16, 41, 31, 0.09);
    position: relative;
}

.cs-img {
    width: 60px;
    height: 60px;
    background: var(--surface-elevated);
    border-radius: 2px;
}

.cs-info h4 {
    font-size: 13px;
    color: var(--text-main);
    margin-bottom: 4px;
}

.cs-info p {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.cs-info strong {
    font-size: 13px;
    color: var(--primary);
}

.cs-add {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 24px;
    height: 24px;
    background: var(--border-strong);
    border: none;
    color: var(--text-main);
    border-radius: 50%;
    cursor: pointer;
}

.cs-bundle-promo {
    padding: 20px;
    border: 1px dashed var(--text-soft);
    border-radius: 4px;
    text-align: center;
}

.cs-bundle-promo span {
    color: var(--primary);
    font-size: 32px !important;
    margin-bottom: 10px;
}

/* 8. Tech Specs Grid */
.tech-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    padding: 60px 0;
}

.tech-intro h3 {
    font-size: 32px;
    color: var(--text-main);
    margin-bottom: 20px;
    font-style: normal;
}

.tech-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.tech-list li {
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.tech-list li .check {
    color: var(--primary);
    font-weight: bold;
}

.specs-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.spec-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px;
    background: rgba(16, 41, 31, 0.04);
    border: 1px solid rgba(16, 41, 31, 0.09);
}

.spec-icon {
    width: 48px;
    height: 48px;
    background: var(--surface-elevated);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.spec-text strong {
    display: block;
    font-size: 12px;
    color: var(--text-main);
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.spec-text p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* 9. Tabs Styling */
.custom-tabs {
    display: flex;
    justify-content: center;
    gap: 60px;
    list-style: none;
    border-bottom: 1px solid var(--border-strong);
    margin-top: 80px;
}

.custom-tabs li {
    padding-bottom: 20px;
    font-size: 14px;
    font-weight: 800;
    color: var(--text-soft);
    cursor: pointer;
    letter-spacing: 0.15em;
    transition: 0.3s;
}

.custom-tabs li.active {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
}

.custom-tabs li:hover {
    color: var(--text-main);
}

@media (max-width: 1023px) {
    .hide-mobile {
        display: none;
    }
}

/* PDP ROBUST LAYOUT FIXES */
.vibrato-product-detail .pdp-main-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 40px !important;
}

@media (min-width: 1024px) {
    .vibrato-product-detail .pdp-main-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 80px !important;
    }
}

.pdp-gallery-col {
    width: 100% !important;
}

.pdp-summary-col {
    width: 100% !important;
}

.pdp-cross-sell {
    margin-top: 60px !important;
    width: 100% !important;
}

.cs-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 24px !important;
}

.pdp-tabs-wrapper {
    margin-top: 80px !important;
}

.specs-layout {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 40px !important;
}

@media (min-width: 1024px) {
    .specs-layout {
        grid-template-columns: 1fr 2fr !important;
    }
}

.pdp-related {
    margin-top: 80px !important;
}

.pdp-related .product-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
}

@media (max-width: 1024px) {
    .pdp-related .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

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

.vibrato-product-detail .woocommerce-tabs,
.vibrato-product-detail .related.products,
.vibrato-product-detail .upsells.products {
    display: none !important;
}

.header-left .custom-logo-link+.logo-icon,
.header-left .custom-logo-link+.logo-text,
.header-left .custom-logo-link~.logo-icon,
.header-left .custom-logo-link~.logo-text {
    display: none !important;
}

.header-logo {
    display: none !important;
}

/* 404 Page */
.error-404 {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 20px;
}

.error-title {
    font-size: 100px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 20px;
}

.error-subtitle {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 20px;
}

.error-text {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.error-search form {
    display: flex;
    gap: 10px;
}

.error-actions {
    margin-top: 40px;
}

/* Footer Contact Styles */
.footer-contact-item {
    list-style: none;
}

.footer-contact-item a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    color: var(--text-main);
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
    text-decoration: none;
    min-height: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    text-align: left;
}

.footer-contact-item a .material-symbols-outlined {
    font-size: 18px !important;
    color: var(--primary);
}

.footer-contact-item a:hover {
    color: var(--primary);
}

/* Standard Text Page Styles */
/* Compact, shop-consistent info pages: constrained reading column, tighter
   rhythm, sharp corners — closer to the archive than an airy full-width doc. */
.page-standard.section-spacing {
    padding: 40px 0 64px;
}

.page-standard__body {
    max-width: 1200px;
    margin: 0 auto;
}

/* Keep long text readable even at full width; visual blocks (cards, steps,
   callouts, contact) span full width to feel like part of the shop. */
.page-standard__body > p,
.page-standard__body > ul:not(.svc-check),
.page-standard__body > ol:not(.svc-steps) {
    max-width: 860px;
}

.page-standard__header {
    text-align: center;
    margin-bottom: 2.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(16, 41, 31, 0.09);
}

.page-standard__title {
    font-size: 2rem;
    font-family: var(--font-display);
    color: var(--text-main);
    margin: 0;
    line-height: 1.15;
}

@media (min-width: 768px) {
    .page-standard__title {
        font-size: 2.6rem;
    }
}

/* Prose for text content */
.prose {
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--text-main);
}

.prose p {
    margin-bottom: 1.2rem;
}

.prose h2 {
    font-size: 1.45rem;
    color: var(--text-main);
    margin-top: 2.4rem;
    margin-bottom: 0.9rem;
    font-family: var(--font-display);
    border-bottom: 1px solid rgba(16, 41, 31, 0.09);
    padding-bottom: 8px;
}

.prose h3 {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    font-family: var(--font-display);
}

.prose h4 {
    font-size: 1.25rem;
    color: var(--text-main);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.prose ul,
.prose ol {
    margin-bottom: 1.5rem;
    padding-left: 20px;
}

.prose li {
    margin-bottom: 0.5rem;
}

.prose a {
    color: var(--primary);
    text-decoration: underline;
    transition: 0.2s;
}

.prose a:hover {
    color: #ff3333;
    text-decoration: none;
}

.prose blockquote {
    margin: 2rem 0;
    padding-left: 1.5rem;
    border-left: 4px solid var(--primary);
    font-style: normal;
    color: var(--text-muted);
}

/* ── Service-page visual kit (icon cards, steps, callouts, checklists).
   Scoped to .page-standard so legal pages stay plain unless they opt in. ── */
.page-standard .svc-lead {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.page-standard .svc-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 1.5rem 0 2.5rem;
}

@media (min-width: 640px) {
    .page-standard .svc-cards {
        grid-template-columns: repeat(3, 1fr);
    }
    .page-standard .svc-cards--2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.page-standard .svc-card {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 22px 20px;
    background: var(--surface-dark);
}

/* Key facts as clean icon lines — everything left-aligned, hairline between.
   Tidy and proportionate for just a couple of facts (no oversized widget). */
.page-standard .svc-keys {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 2rem;
}

.page-standard .svc-keys li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 1.05rem;
    color: var(--text-main);
}

.page-standard .svc-keys li + li {
    border-top: 1px solid var(--border-color);
}

.page-standard .svc-keys .material-symbols-outlined {
    color: var(--primary);
    font-size: 24px;
    flex: 0 0 auto;
}

/* Quick self-serve link chips (e.g. on Kontakt) */
.page-standard .svc-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 1rem 0 2rem;
}

.page-standard .svc-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: #fff;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: 0.2s;
}

.page-standard .svc-links a:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.page-standard .svc-links a .material-symbols-outlined {
    font-size: 19px;
    color: var(--primary);
}

/* Definition rows — operator details, label left / value right, hairline. */
.page-standard .svc-info {
    list-style: none;
    padding: 0;
    margin: 1rem 0 2rem;
    max-width: 560px;
}

.page-standard .svc-info li {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 11px 0;
    border-bottom: 1px solid var(--border-color);
}

.page-standard .svc-info li > span {
    color: var(--text-muted);
    flex: 0 0 auto;
}

.page-standard .svc-info li > strong {
    color: var(--text-main);
    text-align: right;
}

/* FAQ accordion — native <details>, no JS, +/- toggle. */
.page-standard .svc-faq {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin-bottom: 10px;
    background: var(--surface-dark);
}

.page-standard .svc-faq summary {
    list-style: none;
    cursor: pointer;
    padding: 15px 20px;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-size: 1.02rem;
}

.page-standard .svc-faq summary::-webkit-details-marker {
    display: none;
}

.page-standard .svc-faq summary::after {
    content: "+";
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1;
    flex: 0 0 auto;
}

.page-standard .svc-faq[open] summary::after {
    content: "\2212";
}

.page-standard .svc-faq summary:hover {
    color: var(--primary);
}

.page-standard .svc-faq-body {
    padding: 0 20px 16px;
    color: var(--text-muted);
    line-height: 1.6;
}

.page-standard .svc-faq-body p {
    margin: 0;
}

.page-standard .svc-ic {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(47, 117, 89, 0.1);
    color: var(--primary);
    margin-bottom: 12px;
}

.page-standard .svc-ic .material-symbols-outlined {
    font-size: 24px;
}

.page-standard .svc-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    margin: 0 0 6px;
}

.page-standard .svc-card p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.55;
    color: var(--text-muted);
}

/* Numbered steps */
.page-standard .svc-steps {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2.5rem;
    counter-reset: svcstep;
}

.page-standard .svc-steps li {
    position: relative;
    padding-left: 60px;
    margin-bottom: 22px;
    min-height: 42px;
    line-height: 1.55;
}

.page-standard .svc-steps li::before {
    counter-increment: svcstep;
    content: counter(svcstep);
    position: absolute;
    left: 0;
    top: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.05rem;
    box-shadow: var(--shadow-glow-sm);
}

.page-standard .svc-steps li strong {
    display: block;
    color: var(--text-main);
    margin-bottom: 2px;
}

/* Callout box */
.page-standard .svc-callout {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary);
    border-radius: 4px;
    padding: 16px 18px;
    margin: 1.5rem 0 2rem;
    background: rgba(47, 117, 89, 0.05);
}

.page-standard .svc-callout .material-symbols-outlined {
    color: var(--primary);
    font-size: 24px;
    flex: 0 0 auto;
    margin-top: 2px;
}

.page-standard .svc-callout p {
    margin: 0;
    line-height: 1.55;
}

.page-standard .svc-callout--warn {
    border-left-color: #b9632f;
    background: rgba(185, 99, 47, 0.06);
}

.page-standard .svc-callout--warn .material-symbols-outlined {
    color: #b9632f;
}

/* Checklist */
.page-standard .svc-check {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2rem;
}

.page-standard .svc-check li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 10px;
    line-height: 1.5;
}

.page-standard .svc-check li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-weight: 800;
    font-size: 1.1rem;
}

/* Payment method badges — show at a glance what's accepted */
.page-standard .svc-pay {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 1.25rem 0 2rem;
}

.page-standard .svc-pay-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
}

.page-standard .svc-pay-badge .material-symbols-outlined {
    font-size: 20px;
    color: var(--primary);
}

/* Prominent contact block (replaces email buried mid-sentence) */
.page-standard .svc-contact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary);
    border-radius: 4px;
    padding: 22px 24px;
    margin: 2.5rem 0 0.5rem;
    background: rgba(47, 117, 89, 0.05);
}

.page-standard .svc-contact-text h3 {
    margin: 0 0 4px;
    color: var(--text-main);
    font-family: var(--font-display);
    font-size: 1.2rem;
}

.page-standard .svc-contact-text p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.98rem;
}

/* Email shown inline in the copy uses the standard prose link styling. */

/* Site-consistent CTA: emerald gradient, sharp, uppercase — like .btn-luxury. */
.page-standard a.svc-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 48px;
    padding: 0 24px;
    background: var(--accent-gradient);
    color: var(--text-inverse);
    border-radius: 2px;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: 0.3s;
}

.page-standard a.svc-contact-btn:hover {
    background: var(--accent-gradient-hover);
    color: var(--text-inverse);
    box-shadow: var(--shadow-emerald-sm);
    transform: translateY(-2px);
}

.page-standard a.svc-contact-btn .material-symbols-outlined {
    font-size: 19px;
}

.page-standard .svc-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Phone = secondary (outline) next to the filled e-mail CTA. */
.page-standard a.svc-contact-btn--phone {
    background: var(--surface-dark);
    color: var(--primary);
    border: 1px solid var(--primary);
}

.page-standard a.svc-contact-btn--phone:hover {
    background: rgba(47, 117, 89, 0.08);
    color: var(--primary);
    box-shadow: none;
}

.prose img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 1.5rem 0;
}

/* Contact / claim form */
.page-standard .navilo-form {
    margin: 1.25rem 0 2rem;
    max-width: 760px;
}

.page-standard .navilo-form-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.page-standard .navilo-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 560px) {
    .page-standard .navilo-form-grid {
        grid-template-columns: 1fr;
    }
}

.page-standard .navilo-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.page-standard .navilo-field--full {
    grid-column: 1 / -1;
}

.page-standard .navilo-field > label:not(.navilo-upload-btn),
.page-standard .navilo-field-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-main);
    display: block;
}

.page-standard .navilo-field .req {
    color: #b9632f;
}

.page-standard .navilo-field input[type="text"],
.page-standard .navilo-field input[type="email"],
.page-standard .navilo-field select,
.page-standard .navilo-field textarea {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-main);
    background: var(--surface-dark);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.page-standard .navilo-field input:focus,
.page-standard .navilo-field select:focus,
.page-standard .navilo-field textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(47, 117, 89, 0.12);
}

.page-standard .navilo-field textarea {
    resize: vertical;
    min-height: 120px;
}

/* Custom file picker (native input hidden, label styled as a button). */
.page-standard .navilo-upload-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
    padding: 0;
    margin: -1px;
}

.page-standard .navilo-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 11px 18px;
    border: 1px dashed var(--primary);
    border-radius: 4px;
    background: rgba(47, 117, 89, 0.05);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.page-standard .navilo-upload-btn:hover {
    background: rgba(47, 117, 89, 0.1);
    border-color: var(--primary-deep);
}

.page-standard .navilo-upload-btn .material-symbols-outlined {
    font-size: 20px;
}

.page-standard .navilo-upload-input:focus-visible + .navilo-upload-btn {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.page-standard .navilo-upload-list {
    display: block;
    margin-top: 4px;
    font-size: 0.9rem;
    color: var(--text-main);
    word-break: break-word;
}

.page-standard .navilo-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.page-standard .navilo-consent label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-weight: 400;
    font-size: 0.95rem;
    color: var(--text-muted);
    cursor: pointer;
}

.page-standard .navilo-consent input {
    margin-top: 3px;
    flex: 0 0 auto;
}

.page-standard .navilo-form-foot {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.page-standard button.navilo-submit {
    border: none;
    cursor: pointer;
}

.page-standard .navilo-form.is-sending {
    opacity: 0.7;
    pointer-events: none;
}

.page-standard .navilo-form-msg {
    font-size: 0.95rem;
}

.page-standard .navilo-form-msg.is-error {
    color: #b9632f;
}

.page-standard .navilo-form-msg.is-pending {
    color: var(--text-muted);
}

.page-standard .navilo-form-success {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 24px;
    border: 1px solid var(--primary);
    border-radius: 4px;
    background: rgba(47, 117, 89, 0.06);
}

.page-standard .navilo-form-success .material-symbols-outlined {
    color: var(--primary);
    font-size: 34px;
    flex: 0 0 auto;
}

.page-standard .navilo-form-success p {
    margin: 0;
    color: var(--text-main);
    font-weight: 600;
}

/* Priority Nav */
.more-item {
    position: relative;
    cursor: pointer;
}

.more-item .mega-menu.simple-dropdown {
    width: 250px !important;
    left: auto !important;
    right: 0;
    padding: 15px !important;
    background: var(--surface-elevated);
    top: 100%;
    grid-template-columns: 1fr;
    display: block;
    height: auto;
    border-radius: 0 0 4px 4px;
}

.more-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.more-list .nav-item {
    display: block;
    height: auto;
    padding: 0;
}

.more-list .nav-link {
    font-size: 13px;
    padding: 10px 15px;
    color: var(--text-muted);
    justify-content: flex-start;
    /* Override center */
    width: 100%;
    text-transform: none;
    /* Make it cleaner */
    letter-spacing: 0.05em;
    font-weight: 500;
}

.more-list .nav-link:hover {
    color: var(--primary);
    background: rgba(16, 41, 31, 0.06);
}

.more-list .chevron {
    display: none;
    /* Hide chevrons in dropdown */
}

.more-list .mega-menu {
    display: none !important;
    /* Hide nested mega menus */
}

/* Přepínač jazyka (jen obchod s víc jazyky). */
.locale-switcher {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin-left: 16px;
}

.locale-switcher-link {
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.06em;
}

.locale-switcher-link:hover {
    color: var(--primary);
}

.locale-switcher-link.is-active {
    color: var(--primary);
    box-shadow: inset 0 0 0 1px currentColor;
}

.locale-switcher--mobile {
    margin: 0 0 16px;
    padding: 0 20px;
    gap: 8px;
}

.locale-switcher--mobile .locale-switcher-link {
    font-size: 14px;
    padding: 6px 12px;
}

/* Doručení a vysvětlení dopravy košíku z víc skladů (partials/cart-fulfillment). */
.cart-fulfillment {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 14px 0 4px;
    font-size: 13px;
    line-height: 1.5;
    text-align: left;
}

.cart-fulfillment-line {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.cart-fulfillment-line .material-symbols-outlined {
    font-size: 20px;
    color: var(--primary);
}

/* Pojistka proti ztrátě zvedla dopravu: věta v pokladně (partials/cart-fulfillment). */
.cart-shipping-raised {
    margin: 12px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-muted);
    text-align: left;
}

/* Souhrn košíku: doprava (jen zvednutá) a doručení (partials/cart-summary-info). */
.cart-summary-info {
    margin: 4px 0 16px;
    border-top: 1px solid var(--border-color);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

.cart-summary-row span {
    color: var(--text-muted);
}

.cart-summary-row strong {
    text-align: right;
    white-space: nowrap;
}

.cart-summary-row:has(+ .cart-summary-hint) {
    border-bottom: 0;
    padding-bottom: 2px;
}

.cart-summary-hint {
    margin: 0;
    padding: 0 0 12px;
    border-bottom: 1px solid var(--border-color);
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--text-muted);
}

/* Tipy „ušetřete na dopravě“ (partials/cart-shipping-upsell): tři tipy na
   širokém displeji vedle sebe jako dlaždice (ve dvou sloupcích by třetí visel
   sám); úspora místo popisku. */
@media (min-width: 1200px) {
    .cart-cross-sell.cart-shipping-upsell .acc-grid {
        grid-template-columns: repeat(var(--tips, 3), 1fr);
    }

    .cart-cross-sell.cart-shipping-upsell .acc-card {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .cart-cross-sell.cart-shipping-upsell .acc-img-link {
        align-self: center;
    }
}

/* Na mobilu kompaktní řádky (obrázek vlevo), ne karty s obrázkem přes celou
   šířku: tři tipy by jinak zabraly tři obrazovky. */
@media (max-width: 767px) {
    .cart-cross-sell.cart-shipping-upsell .acc-title {
        font-size: 20px;
        margin-bottom: 14px;
    }

    .cart-cross-sell.cart-shipping-upsell .acc-subtitle {
        display: block;
        margin: 6px 0 0;
        font-size: 13px;
        line-height: 1.45;
    }

    .cart-cross-sell.cart-shipping-upsell .acc-grid {
        gap: 10px;
    }

    .cart-cross-sell.cart-shipping-upsell .acc-card {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        padding: 12px;
    }

    .cart-cross-sell.cart-shipping-upsell .acc-img {
        width: 72px;
        height: 72px;
        aspect-ratio: auto;
    }

    .cart-cross-sell.cart-shipping-upsell .acc-info h4 {
        font-size: 13px;
        line-height: 1.35;
    }
}

.acc-info p.acc-saving,
.cart-cross-sell .acc-info p.acc-saving {
    font-size: 12px;
    font-weight: 600;
    color: var(--stock-ok, #2e7d32);
}





/* Vzorník barev: tečka u barvy ve filtru (App\Support\ColorSwatch). */
.filter-swatch {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 8px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(127, 127, 127, 0.45);
    vertical-align: -2px;
    flex: 0 0 auto;
}

/* Ověření věku (shop.age_gate): skryté, dokud skript v <head> nenastaví html.age-gate-on. */
.age-gate { display: none; }
html.age-gate-on { overflow: hidden; }
html.age-gate-on .age-gate {
    position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center;
    padding: 16px; background: rgba(10, 14, 12, 0.82); backdrop-filter: blur(6px);
}
.age-gate__box {
    width: 100%; max-width: 420px; padding: 32px 28px; border-radius: 16px; text-align: center;
    background: var(--surface-dark); color: var(--text-main); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.age-gate__brand { margin: 0 0 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; font-size: 13px; color: var(--primary); }
.age-gate__title { margin: 0 0 12px; font-family: var(--font-display); font-size: 28px; line-height: 1.2; }
.age-gate__text { margin: 0 0 24px; color: var(--text-muted); line-height: 1.55; }
.age-gate__actions { display: flex; flex-direction: column; gap: 10px; }
.age-gate__yes {
    padding: 14px 20px; border: 0; border-radius: 999px; cursor: pointer; font: inherit; font-weight: 800;
    background: var(--primary); color: var(--text-inverse);
}
.age-gate__yes:hover, .age-gate__yes:focus-visible { background: var(--primary-deep); }
.age-gate__no { color: var(--text-muted); text-decoration: underline; padding: 6px; }

/* Jedno okno pro věk i cookies (html.age-gate-combined): samostatné okno 18+ se skryje. */
html.age-gate-combined .age-gate { display: none !important; }
html:not(.age-gate-combined) .vb-cc-age-only { display: none !important; }
html.age-gate-combined .vb-cc-normal-only { display: none !important; }


/* Okno po přidání do košíku (partials/cart-added, cart.js showAddedDialog):
   co přibylo, stav dopravy a doplňky. Na mobilu vysune zespodu. */
html.cart-added-open,
html.cart-added-open body {
    overflow: hidden;
}

.cart-added {
    position: fixed;
    inset: 0;
    /* Nad spodní lištou produktu s tlačítkem Koupit (z-index 100000). */
    z-index: 100010;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.cart-added-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.cart-added-box {
    position: relative;
    width: min(720px, 100%);
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    padding: 24px;
    background: var(--surface-elevated, #fff);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.cart-added-x {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    padding: 4px;
    background: none;
    border: 0;
    color: var(--text-muted);
    cursor: pointer;
}

.cart-added-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 32px 16px 0;
    font-family: var(--font-display);
    font-size: 22px;
    outline: none;
}

.cart-added-title .material-symbols-outlined {
    color: var(--stock-ok, #2e7d32);
    font-size: 24px;
}

.cart-added-product {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.cart-added-img img,
.cart-added-tip-img img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #fff;
    border-radius: 3px;
}

.cart-added-name,
.cart-added-tip-name {
    color: inherit;
    text-decoration: none;
    line-height: 1.35;
}

.cart-added-name {
    font-size: 14px;
}

.cart-added-price {
    font-weight: 700;
    white-space: nowrap;
}

.cart-added-shipping {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    padding: 12px 0 4px;
    font-size: 14px;
}

.cart-added-shipping .material-symbols-outlined {
    color: var(--primary);
    font-size: 20px;
}

.cart-added-bar {
    flex: 1 0 100%;
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
}

.cart-added-bar span {
    display: block;
    height: 100%;
    background: var(--primary);
}

.cart-added-heading {
    margin: 16px 0 10px;
    font-weight: 700;
    font-size: 15px;
}

.cart-added-tips {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.cart-added-tips li {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.cart-added-tip-img {
    display: block;
    width: 96px;
    align-self: center;
}

.cart-added-tip-name {
    font-size: 13px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cart-added-tip-saving {
    font-size: 12px;
    font-weight: 600;
    color: var(--stock-ok, #2e7d32);
}

.cart-added-tip-buy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
}

.cart-added-tip-price {
    font-weight: 700;
}

.cart-added-tip-add {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 6px 10px;
    border: 1px solid var(--primary);
    border-radius: 3px;
    background: transparent;
    color: var(--text-main);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.cart-added-tip-add:hover {
    background: var(--primary);
    color: #fff;
}

.cart-added-tip-add .material-symbols-outlined {
    font-size: 16px;
}

.cart-added-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.cart-added-continue {
    padding: 12px 18px;
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 3px;
    color: var(--text-main);
    font-weight: 600;
    cursor: pointer;
}

.cart-added-cart {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 22px;
    background: var(--accent-gradient, var(--primary));
    border-radius: 3px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 13px;
}

@media (max-width: 767px) {
    .cart-added {
        align-items: flex-end;
        padding: 0;
    }

    .cart-added-box {
        max-height: 88vh;
        padding: 20px 16px calc(16px + env(safe-area-inset-bottom, 0px));
        border-radius: 12px 12px 0 0;
    }

    .cart-added-title {
        font-size: 19px;
    }

    .cart-added-tips {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .cart-added-tips li {
        display: grid;
        grid-template-columns: 56px 1fr;
        column-gap: 10px;
        row-gap: 4px;
        align-items: center;
    }

    .cart-added-tip-img {
        width: 56px;
        grid-row: span 3;
    }

    .cart-added-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .cart-added-cart {
        justify-content: center;
    }
}

/* Doplňky v okně po přidání do košíku se donačítají (cart.js loadAddedTips). */
.cart-added-tips-loading {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.cart-added-tips-loading span {
    height: 150px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--border-color) 25%, transparent 50%, var(--border-color) 75%);
    background-size: 200% 100%;
    opacity: 0.5;
    animation: cart-added-loading 1.2s linear infinite;
}

@keyframes cart-added-loading {
    to { background-position: -200% 0; }
}

@media (max-width: 767px) {
    .cart-added-tips-loading {
        grid-template-columns: 1fr;
    }

    .cart-added-tips-loading span {
        height: 72px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cart-added-tips-loading span {
        animation: none;
    }
}
