/* ── Reset ── */
.ln-nav *,
.ln-nav *::before,
.ln-nav *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ── Root ── */
.ln-nav {
    --ln-cream: #f9f7f0;
    --ln-dim: rgba(249, 247, 240, 0.5);
    --ln-divider: rgba(249, 247, 240, 0.12);
    --ln-overlay: #2a0d11;
    --ln-font: "Figtree", sans-serif;
    --ln-serif: "Cormorant Garamond", serif;
    --ln-h: 76px;
    --ln-max: 1240px;
    --ln-pad: 20px;

    position: fixed;        /* fixný odhora */
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;           /* nad obsahom stránky */
    font-family: var(--ln-font);
    background: transparent;

    transform: translateY(0);
    opacity: 1;
    transition:
        transform 0.45s cubic-bezier(0.23, 1, 0.32, 1),
        opacity 0.45s cubic-bezier(0.23, 1, 0.32, 1),
        background 0.3s ease;
}

/* Tmavé pozadie keď nie sme úplne hore (pridáva JS) */
.ln-nav.is-fixed .ln-desktop,
.ln-nav.is-fixed .ln-mobile {
    background: #3a0d14;
}

/* Skrytý stav (scroll dole) */
.ln-nav.is-hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.ln-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: var(--ln-max);
    margin: 0 auto;
    padding: 0 var(--ln-pad);
    position: relative;
}
.ln-mobile .ln-inner {
    max-width: 100%;
    padding: 0 var(--ln-pad);
}
.ln-desktop {
    display: flex;
    align-items: center;
    height: var(--ln-h);
    background: transparent;
}
.ln-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 44px;
    flex: 1;
}
.ln-list--right {
    justify-content: flex-start;
}
.ln-list--left {
    justify-content: flex-end;
}
.ln-link {
    color: var(--ln-cream);
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.025em;
    transition: color 0.25s ease;
    cursor: pointer;
}
.ln-link:hover {
    color: var(--ln-dim);
}
.ln-eshop-link {
    position: absolute;
    right: 20px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: var(--ln-cream);
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.025em;

    padding-block-start: 13px;
    padding-block-end: 12px;
    padding-inline-start: 24px;
    padding-inline-end: 24px;
    margin: 0px;
    border-radius: 24px;
    background-color: var(--primary_button);
    background-clip: border-box;

    transition: all 0.25s ease;
}
.ln-eshop-link:hover {
    background-color: var(--primary_button_hover);
}
@media (max-width: 768px) {
    .ln-eshop-link {
        position: static;
        margin-top: 20px;
        padding: 6px 12px;
        width: 100%;
        margin-top: 20px;
    }
}
.ln-logo {
    flex-shrink: 0;
    display: block;
    margin: 0 36px;
    line-height: 0;
    opacity: 1;
    cursor: pointer;
    transition: opacity 0.25s ease;
}
@media (max-width: 768px) {
    .ln-logo {
        margin: 0;
    }
}
.ln-logo:hover {
    opacity: 0.8;
}
.ln-logo img {
    display: block;
}
.ln-mobile {
    display: none;
    align-items: center;
    height: var(--ln-h);
    background: transparent;
    position: relative;
    z-index: 9300;
}
.ln-nav.menu-open .ln-mobile {
    background: #3a0d14;
}
.ln-burger {
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 9200;
    -webkit-tap-highlight-color: transparent;
}
.ln-burger:focus,
.ln-burger:active,
.ln-burger:focus-visible {
    background: transparent;
    outline: none;
    box-shadow: none;
}
.ln-burger span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--ln-cream);
    transform-origin: center;
    transition:
        transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
        opacity 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}
.ln-burger.is-open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}
.ln-burger.is-open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.ln-burger.is-open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}
.ln-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background-color: #3a0d14 !important;
    z-index: 9150;
    flex-direction: column;
}
.ln-overlay.is-open {
    display: flex;
}
.ln-overlay-inner {
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: calc(var(--ln-h) + 32px) 40px 52px;
}
.ln-overlay.is-open .ln-overlay-inner {
    opacity: 1;
}
.ln-overlay-list {
    list-style: none;
    margin: auto 0;
    display: flex;
    flex-direction: column;
}
.ln-overlay-item {
    border-bottom: 0.5px solid var(--ln-divider);
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.5s cubic-bezier(0.23, 1, 0.32, 1) calc(0.1s + var(--i) * 0.08s),
        transform 0.5s cubic-bezier(0.23, 1, 0.32, 1) calc(0.1s + var(--i) * 0.08s);
}
.ln-overlay-item:last-child {
    border-bottom: none;
}
.ln-overlay.is-open .ln-overlay-item {
    opacity: 1;
    transform: translateY(0);
}
.ln-overlay-link {
    display: block;
    padding: 16px 0;
    font-family: var(--ln-serif);
    font-size: 46px;
    font-weight: 400;
    color: var(--ln-cream);
    text-decoration: none;
    line-height: 1.1;
    letter-spacing: 0.01em;
    transition: color 0.2s ease;
}
.ln-overlay-link:hover {
    color: var(--ln-dim);
}
.ln-overlay-footer {
    margin-top: 40px;
    opacity: 0;
    transform: translateY(12px);
    transition:
        opacity 0.5s cubic-bezier(0.23, 1, 0.32, 1) 0.46s,
        transform 0.5s cubic-bezier(0.23, 1, 0.32, 1) 0.46s;
}
.ln-overlay.is-open .ln-overlay-footer {
    opacity: 1;
    transform: translateY(0);
}
.ln-overlay-follow {
    font-size: 11px;
    color: rgba(249, 247, 240, 0.35);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.ln-overlay-socials {
    display: flex;
    gap: 24px;
}
.ln-overlay-socials a {
    font-size: 14px;
    font-weight: 300;
    color: rgba(249, 247, 240, 0.5);
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: color 0.2s ease;
}
.ln-overlay-socials a:hover {
    color: var(--ln-cream);
}
@media (max-width: 768px) {
    .ln-desktop {
        display: none !important;
    }
    .ln-mobile {
        display: flex !important;
    }
}
@media (min-width: 769px) {
    .ln-mobile {
        display: none !important;
    }
    .ln-overlay {
        display: none !important;
    }
    .ln-overlay.is-open {
        display: none !important;
    }
}


/* ─────────────────────────────────────────────
   DEFAULT NAVBAR (Subpages Layout)
───────────────────────────────────────────── */
.ln-nav--default .ln-inner {
    width: 100%;
    justify-content: space-between;
}

.ln-nav--default .ln-logo {
    margin: 0 48px 0 0;
}

.ln-nav--default .ln-list {
    flex: 1;
    justify-content: flex-start;
}

.ln-nav--default .ln-icons {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: auto;
}

.ln-mobile-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ln-mobile-right .ln-icons {
    display: flex;
    align-items: center;
    gap: 18px;
}

.ln-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ln-cream);
    text-decoration: none;
    transition: color 0.25s ease;
    line-height: 0;
}

.ln-icon-link:hover {
    color: var(--ln-dim);
}

.ln-icon-link svg {
    width: 24px;
    height: 24px;
}

.ln-icon-link--account svg {
    width: 21px;
    height: 21px;
}

/* ── Cart count badge (biele číslo + krúžok) ── */
.ln-icon-link.js-wqe-cart-toggle {
    position: relative;
}

.js-wqe-cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #E96A7A;
    color: #fff;
    font-family: var(--ln-font);
    font-size: 11px;
    font-weight: 600;
    line-height: 18px;
    text-align: center;
    box-sizing: border-box;
    pointer-events: none;
}

.js-wqe-cart-count.is-empty {
    display: none;
}