/* ════════════════════════════════════════════════════════════
   ALPENZAUN — Header Main (topbar + hlavný riadok + offcanvas)
   Shortcode: [alpenzaun_header_main]
   ════════════════════════════════════════════════════════════ */

.aze-hm {
    --az-black: #141414;
    --az-black-2: #1d1d1d;
    --az-terra: #f04e23;
    --az-terra-dark: #772008;
    --az-khaki: #3d403a;
    --az-cream: #fafaf8;
    --az-steel: #a8a8a0;
    --az-line: rgba(20, 20, 20, .08);
    --az-line-w: rgba(255, 255, 255, .12);

    font-family: 'Instrument Sans', system-ui, -apple-system, sans-serif;
    position: relative;
    z-index: 1000;
}
.aze-hm *, .aze-hm *::before, .aze-hm *::after { box-sizing: border-box; }
.aze-hm button { font-family: inherit; }

/* ── TOPBAR ─────────────────────────────────────────────── */
.aze-hm-topbar {
    background: var(--az-terra);
    color: #fff;
}
.aze-hm-topbar-in {
    max-width: 1650px;
    margin: 0 auto;
    padding: 9px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 13px;
    font-weight: 500;
}
.aze-hm-topbar-left,
.aze-hm-topbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}
.aze-hm-topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
.aze-hm-topbar-item svg { width: 16px; height: 16px; flex-shrink: 0; }
.aze-hm-topbar-item svg.aze-hm-flag,
svg.aze-hm-flag,
.aze-hm-flag {
    width: 38px !important;   /* preserveAspectRatio=none — grafika sa prispôsobí boxu */
    height: 23px !important;
    /* Negatívny margin = vlajka nezvyšuje výšku topbaru, vizuálne vyplní jeho padding */
    margin: -4px 0 !important;
    border-radius: 0;
    flex-shrink: 0;
    filter: none;
}
.aze-hm-topbar-item--flag {
    font-weight: 700;
    letter-spacing: .03em;
}
.aze-hm-topbar-sep {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, .35);
    flex-shrink: 0;
}
.aze-hm-topbar-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity .2s;
}
.aze-hm-topbar-link svg { width: 15px; height: 15px; }
.aze-hm-topbar-link:hover { opacity: .82; color: #fff; }

/* ── MAIN BAR ───────────────────────────────────────────── */
.aze-hm-main {
    background: var(--az-black);
    color: #fff;
}
.aze-hm-main-in {
    max-width: 1650px;
    margin: 0 auto;
    padding: 16px 0;
    display: flex;
    align-items: center;
    gap: 26px;
}
/* Pod 1700px (1650 + 2×24 gutter) pridaj bočný padding aby obsah nelepil na okraj */
@media (max-width: 1700px) {
    .aze-hm-topbar-in { padding-left: 24px; padding-right: 24px; }
    .aze-hm-main-in   { padding-left: 24px; padding-right: 24px; }
}

/* LOGO */
.aze-hm-logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    flex-shrink: 0;
}
.aze-hm-logo img {
    height: 38px !important;
    max-height: 38px !important;
    width: auto !important;
    max-width: 220px !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}
.aze-hm-logo-mark { width: 34px; height: 34px; display: inline-flex; }
.aze-hm-logo-mark svg { width: 100%; height: 100%; }
.aze-hm-logo-text {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -.02em;
    color: #fff;
}

/* ZENTRALLAGER */
.aze-hm-zl { position: relative; flex-shrink: 0; }
.aze-hm-zl-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    background: transparent;
    border: 1px solid var(--az-line-w);
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    transition: border-color .25s, background .25s;
    text-align: left;
}
.aze-hm-zl-btn:hover,
.aze-hm-zl.is-open .aze-hm-zl-btn {
    border-color: rgba(240, 78, 35, .6);
    background: rgba(240, 78, 35, .08);
}
.aze-hm-zl-ico { width: 22px; height: 22px; color: #fff; display: inline-flex; flex-shrink: 0; transition: color .25s; }
.aze-hm-zl-btn:hover .aze-hm-zl-ico,
.aze-hm-zl.is-open .aze-hm-zl-ico { color: var(--az-terra); }
.aze-hm-zl-ico svg { width: 100%; height: 100%; }
.aze-hm-zl-txt { display: flex; flex-direction: column; line-height: 1.25; }
.aze-hm-zl-txt strong { font-size: 13.5px; font-weight: 700; color: #fff; }
.aze-hm-zl-txt em { font-size: 12px; font-style: normal; color: var(--az-steel); }
.aze-hm-zl-chev { width: 14px; height: 14px; color: var(--az-steel); transition: transform .25s; }
.aze-hm-zl.is-open .aze-hm-zl-chev { transform: rotate(180deg); color: var(--az-terra); }

/* ZL panel — hero + info riadky + footer */
.aze-hm-zl-panel {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 400px;
    background: #161616;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 18px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 30px 70px -16px rgba(0, 0, 0, .55);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
    z-index: 50;
}
.aze-hm-zl.is-open .aze-hm-zl-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Hero zóna — terracotta gradient + horská silueta */
.aze-hm-zl-hero {
    position: relative;
    background: linear-gradient(135deg, var(--az-terra) 0%, #d63d13 100%);
    padding: 24px 26px 38px;
    overflow: hidden;
}
.aze-hm-zl-peaks {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 54px;
    pointer-events: none;
}
.aze-hm-zl-close {
    position: absolute;
    top: 14px; right: 14px;
    width: 32px; height: 32px;
    background: rgba(255, 255, 255, .16);
    border: 0;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, transform .2s;
    z-index: 2;
}
.aze-hm-zl-close:hover { background: var(--az-black); transform: rotate(90deg); }
.aze-hm-zl-close svg { width: 14px; height: 14px; }
.aze-hm-zl-badge {
    position: relative;
    z-index: 1;
    display: inline-flex;
    padding: 5px 12px;
    background: rgba(255, 255, 255, .18);
    color: #fff;
    border: 0;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    margin-bottom: 12px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.aze-hm-zl-title {
    position: relative;
    z-index: 1;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: .015em;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
}

/* Info riadky s labelmi */
.aze-hm-zl-list {
    list-style: none;
    margin: 0;
    padding: 10px 26px;
    display: flex;
    flex-direction: column;
}
.aze-hm-zl-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.aze-hm-zl-list li:last-child { border-bottom: 0; }
.aze-hm-zl-li-ico {
    width: 40px; height: 40px;
    background: rgba(240, 78, 35, .13);
    border: 0;
    border-radius: 11px;
    color: var(--az-terra);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .2s, color .2s;
}
.aze-hm-zl-list li:hover .aze-hm-zl-li-ico {
    background: var(--az-terra);
    color: #fff;
}
.aze-hm-zl-li-ico svg { width: 17px; height: 17px; }
.aze-hm-zl-li-txt {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.aze-hm-zl-li-txt em {
    font-style: normal;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--az-steel);
}
.aze-hm-zl-li-txt strong {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
}
.aze-hm-zl-li-txt a {
    color: inherit;
    text-decoration: none;
    transition: color .2s;
}
.aze-hm-zl-li-txt a:hover { color: var(--az-terra); }

/* Footer — CTA + Route */
.aze-hm-zl-foot {
    display: flex;
    gap: 10px;
    padding: 8px 26px 24px;
}
.aze-hm-zl-cta {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 22px;
    background: var(--az-terra);
    color: #fff !important;
    border-radius: 11px;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s, transform .2s, box-shadow .2s;
}
.aze-hm-zl-cta:hover {
    background: #d63d13;
    transform: translateY(-1px);
    box-shadow: 0 12px 26px -8px rgba(240, 78, 35, .5);
}
.aze-hm-zl-cta svg { width: 15px; height: 15px; transition: transform .2s; }
.aze-hm-zl-cta:hover svg { transform: translateX(3px); }
.aze-hm-zl-route {
    width: 46px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 11px;
    color: #fff;
    text-decoration: none;
    transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.aze-hm-zl-route:hover {
    background: var(--az-terra);
    border-color: var(--az-terra);
    color: #fff;
    transform: translateY(-1px);
}
.aze-hm-zl-route svg { width: 18px; height: 18px; }

/* ── SEARCH ─────────────────────────────────────────────── */
.aze-hm-search {
    position: relative;
    flex: 1;
    min-width: 0;
    max-width: 640px;  /* užší searchbar — viac miesta pre akcie s cenou vpravo */
}
.aze-hm-search-form {
    display: flex;
    align-items: stretch;
    background: rgba(255, 255, 255, .07);
    border: 1px solid var(--az-line-w);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color .25s, background .25s, box-shadow .25s;
}
.aze-hm-search-form:hover {
    border-color: rgba(255, 255, 255, .3);
    background: rgba(255, 255, 255, .1);
}
.aze-hm-search-form:focus-within {
    border-color: rgba(240, 78, 35, .65);
    background: rgba(255, 255, 255, .1);
    box-shadow: 0 0 0 3px rgba(240, 78, 35, .15);
}
.aze-hm-search-form input.aze-hm-search-input,
input.aze-hm-search-input,
.aze-hm-search-input {
    flex: 1;
    min-width: 0;
    background: transparent !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    padding: 12px 18px !important;
    margin: 0 !important;
    color: #fff !important;
    font-size: 14.5px !important;
    font-family: 'Instrument Sans', system-ui, sans-serif !important;
    height: auto !important;
    line-height: 1.4 !important;
    border-radius: 0 !important;
    -webkit-appearance: none;
    appearance: none;
}
.aze-hm-search-input:focus {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
    color: #fff !important;
}
.aze-hm-search-input::placeholder { color: var(--az-steel) !important; opacity: 1; }
.aze-hm-search-input::-webkit-search-decoration,
.aze-hm-search-input::-webkit-search-cancel-button { -webkit-appearance: none; }
button.aze-hm-search-btn,
.aze-hm-search-btn {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 18px !important;
    margin: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    line-height: 1 !important;
    border-radius: 0 !important;
    color: #fff !important;
    cursor: pointer;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: stretch;
    transition: color .2s, background .2s !important;
    -webkit-appearance: none;
    appearance: none;
}
.aze-hm-search-btn:hover {
    color: var(--az-terra) !important;
    background: rgba(240, 78, 35, .12) !important;
}
.aze-hm-search-btn svg {
    width: 19px !important;
    height: 19px !important;
    display: block;
    flex-shrink: 0;
}

/* Search dropdown */
.aze-hm-search-drop {
    position: absolute;
    top: calc(100% + 10px);
    left: 0; right: 0;
    background: #fff;
    border: 1px solid var(--az-line);
    border-radius: 14px;
    box-shadow: 0 30px 70px -16px rgba(20, 20, 20, .3);
    padding: 18px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .22s, transform .22s, visibility .22s;
    z-index: 60;
    max-height: min(560px, 70vh);
    overflow-y: auto;
}
.aze-hm-search-drop.is-on {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.aze-hm-search-head {
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--az-steel);
    margin-bottom: 10px;
}
.aze-hm-search-reco ul,
.aze-hm-sr-sec ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.aze-hm-search-reco li a,
.aze-hm-sr-sec > ul > li > a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 9px;
    color: var(--az-black);
    font-size: 14.5px;
    font-weight: 500;
    text-decoration: none;
    transition: background .18s, color .18s;
}
.aze-hm-search-reco li a:hover,
.aze-hm-sr-sec li a:hover {
    background: rgba(240, 78, 35, .07);
    color: var(--az-terra);
}
.aze-hm-search-reco li a svg,
.aze-hm-sr-sec li a > svg {
    width: 16px; height: 16px;
    color: var(--az-steel);
    flex-shrink: 0;
}
.aze-hm-search-reco li a:hover svg { color: var(--az-terra); }
.aze-hm-sr-sec { margin-bottom: 16px; }
.aze-hm-sr-sec:last-child { margin-bottom: 0; }
.aze-hm-sr-sec li a em {
    margin-left: auto;
    font-style: normal;
    font-size: 11.5px;
    color: var(--az-steel);
    background: var(--az-cream);
    border-radius: 100px;
    padding: 2px 9px;
}
.aze-hm-sr-prods li a { align-items: center; }
.aze-hm-sr-prods img,
.aze-hm-sr-noimg {
    width: 44px; height: 44px;
    border-radius: 8px;
    object-fit: cover;
    background: var(--az-cream);
    flex-shrink: 0;
}
.aze-hm-sr-name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.aze-hm-sr-price {
    font-weight: 700;
    color: var(--az-terra);
    font-size: 13.5px;
    white-space: nowrap;
}
.aze-hm-sr-none {
    padding: 18px 12px;
    font-size: 14px;
    color: var(--az-khaki);
    text-align: center;
}

/* ── ACTIONS ────────────────────────────────────────────── */
.aze-hm-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
    margin-left: auto;  /* akcie dotlačené na pravý okraj 1650px kontajnera */
}
.aze-hm-action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 0;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    padding: 6px 2px;
    transition: color .2s;
}
.aze-hm-action:hover { color: var(--az-terra); }
.aze-hm-action svg { width: 24px; height: 24px; }
.aze-hm-action-sep {
    width: 1px;
    height: 26px;
    background: var(--az-line-w);
}
.aze-hm-action-icowrap { position: relative; display: inline-flex; }
.aze-hm-count {
    position: absolute;
    top: -8px;
    right: -10px;
    min-width: 18px;
    height: 18px;
    background: var(--az-terra);
    color: #fff !important;
    border-radius: 5px;  /* oblý štvorec, nie kruh */
    font-size: 10.5px !important;
    font-weight: 700 !important;
    font-family: 'Instrument Sans', system-ui, sans-serif !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 4px !important;
    margin: 0 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    text-align: center;
    box-shadow: 0 0 0 2px var(--az-black);
}
.aze-hm-cart-total { white-space: nowrap; }
.aze-hm-cart-total .woocommerce-Price-amount { color: #fff; font-weight: 700; }
.aze-hm-action:hover .aze-hm-cart-total .woocommerce-Price-amount { color: var(--az-terra); }
.aze-hm-vat {
    font-size: 10.5px;
    font-weight: 500;
    color: var(--az-steel);
    letter-spacing: .01em;
}

/* ── BACKDROP ───────────────────────────────────────────── */
.aze-hm-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(20, 20, 20, .55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
    z-index: 999998;
}
.aze-hm-backdrop.is-on {
    opacity: 1;
    visibility: visible;
}
body.aze-hm-locked { overflow: hidden; }

/* ── OFFCANVAS ──────────────────────────────────────────── */
.aze-hm-oc {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(420px, 92vw);
    background: #fff;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    /* visibility: zavretý panel je úplne mŕtvy — jeho box-shadow inak trčí do viewportu */
    visibility: hidden;
    box-shadow: none;
    transition: transform .38s cubic-bezier(.22, .94, .36, 1),
                visibility .38s;
    font-family: 'Instrument Sans', system-ui, -apple-system, sans-serif;
    color: var(--az-black, #141414);
}
.aze-hm-oc.is-open {
    transform: translateX(0);
    visibility: visible;
    box-shadow: -24px 0 60px -20px rgba(0, 0, 0, .3);
}

/* WP admin bar offset — offcanvas nesmie ísť pod admin lištu */
body.admin-bar .aze-hm-oc { top: 32px; }
body.admin-bar .aze-hm-backdrop { top: 32px; }
@media screen and (max-width: 782px) {
    body.admin-bar .aze-hm-oc { top: 46px; }
    body.admin-bar .aze-hm-backdrop { top: 46px; }
}

.aze-hm-oc-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(20, 20, 20, .08);
    flex-shrink: 0;
}
.aze-hm-oc-title {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #141414;
}
.aze-hm-oc-title svg { width: 20px; height: 20px; color: #f04e23; }
.aze-hm-oc-close {
    width: 36px; height: 36px;
    background: rgba(20, 20, 20, .05);
    border: 0;
    border-radius: 50%;
    color: #141414;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, color .2s, transform .2s;
}
.aze-hm-oc-close:hover {
    background: #f04e23;
    color: #fff;
    transform: rotate(90deg);
}
.aze-hm-oc-close svg { width: 16px; height: 16px; }

.aze-hm-oc-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
}

/* Items list (cart + wishlist) */
.aze-hm-oc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.aze-hm-oc-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(20, 20, 20, .07);
}
.aze-hm-oc-item-img {
    width: 64px; height: 64px;
    border-radius: 10px;
    overflow: hidden;
    background: #fafaf8;
    flex-shrink: 0;
    display: block;
    border: 1px solid rgba(20, 20, 20, .06);
}
.aze-hm-oc-item-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 !important;
}
.aze-hm-oc-item-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.aze-hm-oc-item-name {
    font-size: 14px;
    font-weight: 600;
    color: #141414;
    text-decoration: none;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .2s;
}
.aze-hm-oc-item-name:hover { color: #f04e23; }
.aze-hm-oc-item-price {
    font-size: 13px;
    color: #3d403a;
}
.aze-hm-oc-item-price .woocommerce-Price-amount { color: #f04e23; font-weight: 700; }
.aze-hm-oc-item-rm {
    width: 30px; height: 30px;
    background: transparent;
    border: 1px solid rgba(20, 20, 20, .12);
    border-radius: 50%;
    color: #a8a8a0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all .2s;
}
.aze-hm-oc-item-rm:hover {
    background: #f04e23;
    border-color: #f04e23;
    color: #fff;
}
.aze-hm-oc-item-rm svg { width: 13px; height: 13px; }
.aze-hm-oc-item-rm:disabled { opacity: .4; cursor: wait; }

/* Subtotal */
.aze-hm-oc-subtotal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0 4px;
    font-size: 14px;
    color: #3d403a;
}
.aze-hm-oc-subtotal strong {
    font-size: 18px;
    color: #141414;
}
.aze-hm-oc-subtotal strong .woocommerce-Price-amount { color: #f04e23; font-weight: 800; }

/* Footer buttons */
.aze-hm-oc-foot {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 16px;
    flex-shrink: 0;
}
.aze-hm-oc-btn,
a.aze-hm-oc-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 13px 18px;
    background: #fff;
    border: 1.5px solid rgba(20, 20, 20, .14);
    border-radius: 10px;
    color: #141414 !important;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    text-decoration: none !important;
    cursor: pointer;
    font-family: inherit;
    transition: background .2s, border-color .2s, color .2s, box-shadow .2s;
}
.aze-hm-oc-btn:hover,
a.aze-hm-oc-btn:hover,
.aze-hm-oc-btn:focus {
    border-color: #141414;
    background: #141414;
    color: #fff !important;   /* !important — theme a:hover by inak prefarbil text na tmavo (zmizol) */
}
.aze-hm-oc-btn--primary,
a.aze-hm-oc-btn--primary {
    background: #f04e23;
    border-color: #f04e23;
    color: #fff !important;
}
.aze-hm-oc-btn--primary:hover,
a.aze-hm-oc-btn--primary:hover {
    background: #d63d13;
    border-color: #d63d13;
    color: #fff !important;
    box-shadow: 0 12px 26px -10px rgba(240, 78, 35, .5);
}
.aze-hm-oc-btn:disabled { opacity: .6; cursor: wait; }

/* Loading spinner */
.aze-hm-oc-loading {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}
.aze-hm-spinner {
    width: 34px;
    height: 34px;
    border: 3px solid rgba(240, 78, 35, .18);
    border-top-color: #f04e23;
    border-radius: 50%;
    animation: aze-hm-spin .7s linear infinite;
    display: inline-block;
}
@keyframes aze-hm-spin {
    to { transform: rotate(360deg); }
}

/* Qty stepper v offcanvas košíku */
.aze-hm-oc-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.aze-hm-oc-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(20, 20, 20, .14);
    border-radius: 8px;
    overflow: hidden;
    transition: opacity .2s;
}
.aze-hm-oc-qty.is-busy { opacity: .5; pointer-events: none; }
.aze-hm-oc-qty button {
    width: 26px;
    height: 26px;
    background: transparent !important;
    border: 0 !important;
    color: #141414 !important;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: background .15s, color .15s;
    font-family: inherit !important;
}
.aze-hm-oc-qty button:hover {
    background: #f04e23 !important;
    color: #fff !important;
}
.aze-hm-oc-qty em {
    min-width: 26px;
    text-align: center;
    font-style: normal;
    font-size: 13px;
    font-weight: 700;
    color: #141414;
    border-left: 1px solid rgba(20, 20, 20, .1);
    border-right: 1px solid rgba(20, 20, 20, .1);
    padding: 4px 4px;
    line-height: 1;
}

/* Empty state */
.aze-hm-oc-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: #a8a8a0;
    text-align: center;
    padding: 40px 20px;
}
.aze-hm-oc-empty svg { width: 56px; height: 56px; opacity: .5; }
.aze-hm-oc-empty p { margin: 0; font-size: 14.5px; }

/* Account nav */
.aze-hm-acc-nav {
    display: flex;
    flex-direction: column;
}
.aze-hm-acc-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 4px;
    border-bottom: 1px solid rgba(20, 20, 20, .07);
    color: #141414;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color .2s;
    position: relative;
}
.aze-hm-acc-l {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}
.aze-hm-acc-ico {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(240, 78, 35, .08);
    color: #f04e23;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .2s, color .2s;
}
.aze-hm-acc-ico svg { width: 17px; height: 17px; }
.aze-hm-acc-link:hover { color: #f04e23; }
.aze-hm-acc-link:hover .aze-hm-acc-ico {
    background: #f04e23;
    color: #fff;
}
.aze-hm-acc-chev { width: 15px; height: 15px; color: #a8a8a0; transition: color .2s, transform .2s; }
.aze-hm-acc-link:hover .aze-hm-acc-chev { color: #f04e23; transform: translateX(2px); }
.aze-hm-acc-link--logout {
    color: #a8a8a0;
    border-bottom: 0;
    margin-top: 8px;
}
.aze-hm-acc-link--logout .aze-hm-acc-ico {
    background: rgba(20, 20, 20, .05);
    color: #a8a8a0;
}
.aze-hm-acc-link--logout:hover { color: #f04e23; }
.aze-hm-acc-guest {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 24px 0;
}
.aze-hm-acc-guest p {
    margin: 0;
    font-size: 14.5px;
    color: #3d403a;
    line-height: 1.6;
}

/* ── BURGER (mobile menu trigger) ───────────────────────── */
.aze-hm-burger { display: none; }
@media (max-width: 980px) {
    .aze-hm-burger {
        display: inline-flex;
    }
}

/* ── MOBILE MENU (offcanvas obsah) ─────────────────────── */
.aze-hm-mnav {
    display: flex;
    flex-direction: column;
}
.aze-hm-mnav-link,
.aze-hm-mnav-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 16px 4px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(20, 20, 20, .07);
    color: #141414;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    transition: color .2s;
}
.aze-hm-mnav-link:hover,
.aze-hm-mnav-toggle:hover { color: #f04e23; }
.aze-hm-mnav-link svg,
.aze-hm-mnav-toggle svg {
    width: 16px; height: 16px;
    color: #a8a8a0;
    flex-shrink: 0;
    transition: transform .25s, color .2s;
}
.aze-hm-mnav-link:hover svg,
.aze-hm-mnav-toggle:hover svg { color: #f04e23; }
.aze-hm-mnav-group.is-open .aze-hm-mnav-toggle { color: #f04e23; }
.aze-hm-mnav-group.is-open .aze-hm-mnav-toggle svg {
    transform: rotate(180deg);
    color: #f04e23;
}
.aze-hm-mnav-sub {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s cubic-bezier(.22, .94, .36, 1);
    display: flex;
    flex-direction: column;
    background: #fafaf8;
    border-radius: 0 0 10px 10px;
}
.aze-hm-mnav-group.is-open .aze-hm-mnav-sub {
    max-height: 480px;
    border-bottom: 1px solid rgba(20, 20, 20, .07);
}
.aze-hm-mnav-sub a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: #3d403a;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color .2s, padding-left .2s;
}
.aze-hm-mnav-sub a::before {
    content: '';
    width: 5px; height: 5px;
    background: #f04e23;
    border-radius: 50%;
    flex-shrink: 0;
    opacity: .55;
    transition: opacity .2s;
}
.aze-hm-mnav-sub a:hover {
    color: #f04e23;
    padding-left: 20px;
}
.aze-hm-mnav-sub a:hover::before { opacity: 1; }
.aze-hm-mnav-sub .aze-hm-mnav-all {
    font-weight: 700;
    color: #f04e23;
    border-top: 1px dashed rgba(20, 20, 20, .1);
    margin-top: 4px;
}
.aze-hm-mnav-sub .aze-hm-mnav-all::before { display: none; }
.aze-hm-mnav-sub .aze-hm-mnav-all svg { width: 14px; height: 14px; }

/* Zaunkonfigurator CTA karta */
.aze-hm-mnav-cfg {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 22px;
    padding: 18px 20px;
    background: linear-gradient(135deg, #141414 0%, #1f1f1f 100%);
    border-radius: 14px;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
}
.aze-hm-mnav-cfg:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -10px rgba(20, 20, 20, .35);
}
.aze-hm-mnav-cfg-ico {
    width: 44px; height: 44px;
    background: rgba(240, 78, 35, .15);
    border-radius: 11px;
    color: #f04e23;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.aze-hm-mnav-cfg-ico svg { width: 22px; height: 22px; }
.aze-hm-mnav-cfg-txt {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.aze-hm-mnav-cfg-txt strong {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}
.aze-hm-mnav-cfg-badge {
    display: inline-flex;
    padding: 2px 8px;
    background: #f04e23;
    color: #fff;
    border-radius: 100px;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.aze-hm-mnav-cfg-txt em {
    font-style: normal;
    font-size: 12.5px;
    color: #a8a8a0;
}
.aze-hm-mnav-cfg-arr {
    width: 18px; height: 18px;
    color: #f04e23;
    flex-shrink: 0;
    transition: transform .2s;
}
.aze-hm-mnav-cfg:hover .aze-hm-mnav-cfg-arr { transform: translateX(4px); }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1100px) {
    .aze-hm-action-txt { display: none; }
    .aze-hm-action--cart .aze-hm-cart-total { display: none; }
    .aze-hm-main-in { gap: 18px; }
}
@media (max-width: 860px) {
    .aze-hm-zl { display: none; }
    .aze-hm-topbar-usp { display: none; }
}
@media (max-width: 640px) {
    .aze-hm-topbar-in { padding: 8px 14px; font-size: 12px; }
    .aze-hm-main-in {
        padding: 12px 14px;
        gap: 12px;
        flex-wrap: wrap;
    }
    .aze-hm-logo img { height: 30px !important; max-height: 30px !important; max-width: 170px !important; }
    .aze-hm-logo-text { font-size: 21px; }
    .aze-hm-logo-mark { width: 28px; height: 28px; }
    .aze-hm-search {
        order: 10;
        flex: 1 1 100%;
    }
    .aze-hm-search-input { padding: 10px 14px; font-size: 14px; }
    .aze-hm-actions { gap: 12px; margin-left: auto; }
    .aze-hm-action svg { width: 22px; height: 22px; }
    .aze-hm-action-sep { display: none; }
    .aze-hm-oc { width: 100vw; }
    .aze-hm-zl-panel { width: calc(100vw - 28px); }
}
