/* LIVBEN SHOP - SHARED LAYOUT */
.lv-header {
    position: relative;
    z-index: 30;
    background: #fff;
    border-bottom: 1px solid #e5ebe7;
}

.lv-header-inner {
    max-width: 1180px;
    height: 82px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.lv-brand {
    flex: none;
    font-size: 30px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -1.6px;
    color: #075c45;
}

.lv-brand-image {
    display: block;
    width: auto;
    height: auto;
    max-width: 180px;
    max-height: 44px;
    object-fit: contain;
}

.lv-brand-dot {
    color: #f97316;
}

.lv-header-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex: 1;
}

.lv-header-nav a {
    color: #30463b;
    font-size: 14px;
    font-weight: 650;
    white-space: nowrap;
}

.lv-header-nav a:hover,
.lv-header-nav a:focus-visible {
    color: #075c45;
}

.lv-header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.lv-cart-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 700;
}

.lv-cart-icon {
    position: relative;
    display: inline-flex;
    flex: none;
}

.lv-cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 17px;
    height: 17px;
    padding: 0 3px;
    border-radius: 9px;
    background: #075c45;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    pointer-events: none;
}

.lv-cart-link svg,
.lv-language-menu svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lv-language-menu {
    position: relative;
}

.lv-language-menu summary {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    list-style: none;
    padding: 9px 11px;
    border: 1px solid #dfe7e1;
    border-radius: 10px;
    background: #fff;
    font-size: 13px;
    font-weight: 800;
}

.lv-language-menu summary::-webkit-details-marker {
    display: none;
}

.lv-language-menu[open] summary {
    border-color: #075c45;
}

.lv-language-options {
    position: absolute;
    top: calc(100% + 10px);
    inset-inline-end: 0;
    width: 205px;
    padding: 7px;
    border: 1px solid #e2e9e4;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 14px 35px rgba(15, 40, 27, .12);
    max-height: min(65vh, 440px);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.lv-language-options a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 12px;
    border-radius: 8px;
    font-size: 14px;
}

.lv-language-options a:hover,
.lv-language-options a[aria-current] {
    background: #eef6f0;
    color: #075c45;
}

.lv-language-short {
    color: #78897f;
    font-size: 11px;
    font-weight: 800;
}

.lv-mobile-toggle {
    display: none;
}

.lv-header :focus-visible {
    outline: 2px solid #075c45;
    outline-offset: 3px;
}

@media (max-width: 800px) {
    .lv-header-inner {
        height: 70px;
        padding: 0 10px;
        flex-wrap: nowrap;
        gap: 6px;
    }

    .lv-brand {
        flex: 0 1 auto;
        min-width: 0;
    }

    .lv-brand-image {
        max-width: 108px;
        max-height: 38px;
    }

    .lv-header-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 4px 20px 12px;
        border-bottom: 1px solid #e5ebe7;
        background: #fff;
    }

    .lv-header-nav.lv-nav-open {
        display: flex;
    }

    .lv-header-nav a {
        padding: 13px 5px;
        border-top: 1px solid #edf0ed;
    }

    .lv-header-actions {
        flex-shrink: 0;
        gap: 6px;
    }

    .lv-mobile-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4px;
        width: 42px;
        height: 42px;
        padding: 0;
        background: transparent;
        border: 1px solid #dfe7e1;
        color: #18382a;
        border-radius: 10px;
    }

    .lv-mobile-toggle span {
        width: 19px;
        height: 2px;
        background: currentColor;
        border-radius: 2px;
    }
}

@media (max-width: 430px) {
    .lv-brand {
        font-size: 25px;
    }

    .lv-brand-image {
        max-width: 72px;
        max-height: 36px;
    }

    .lv-cart-link > .lv-cart-text {
        display: none;
    }

    .lv-header-actions {
        gap: 8px;
    }

    .lv-currency-menu .lv-language-options {
        inset-inline-start: 0;
        inset-inline-end: auto;
    }
}

/* Header currency selector - shared language dropdown layout */
.lv-currency-menu .lv-language-options {
    width: 220px;
}

.lv-currency-menu .lv-language-options button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 11px 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 13px;
    text-align: start;
    cursor: pointer;
}

.lv-currency-menu .lv-language-options button:hover,
.lv-currency-menu .lv-language-options button[aria-current] {
    background: #eef6f0;
    color: #075c45;
}

/* LIVBEN COOKIE CONSENT */
.lv-cookie-banner[hidden],
.lv-cookie-reopen[hidden],
.lv-cookie-options[hidden]{
    display:none!important
}
.lv-cookie-banner{
    position:fixed;
    z-index:1100;
    left:50%;
    transform:translateX(-50%);
    bottom:16px;
    width:min(1180px,calc(100vw - 32px));
    box-sizing:border-box;
    padding:23px;
    background:#fff;
    color:#20352b;
    border:1px solid #dce7df;
    border-radius:16px;
    box-shadow:0 12px 45px rgba(0,0,0,.18);
    text-align:start
}
.lv-cookie-banner h2{
    margin:0 0 9px;
    font-size:19px;
    line-height:1.3
}
.lv-cookie-banner p{
    margin:0 0 17px;
    color:#53665b;
    font-size:0.875rem;
    line-height:1.7
}
.lv-cookie-actions{
    display:flex;
    flex-wrap:wrap;
    gap:9px
}
.lv-cookie-actions button,
.lv-cookie-save{
    cursor:pointer;
    border:1px solid #d2ded5;
    border-radius:9px;
    padding:11px 14px;
    font:inherit;
    font-size:0.875rem;
    font-weight:700
}
.lv-cookie-accept,
.lv-cookie-essential,
.lv-cookie-save{
    background:#155e45;
    border-color:#155e45!important;
    color:#fff
}
.lv-cookie-preference-button{
    background:#fff;
    color:#155e45
}
.lv-cookie-options{
    display:grid;
    gap:10px;
    margin-top:17px;
    padding-top:15px;
    border-top:1px solid #e4ebe5
}
.lv-cookie-option{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    font-size:0.875rem;
    font-weight:600
}
.lv-cookie-option input{
    width:1.125rem;
    height:1.125rem;
    margin:0;
    flex:0 0 auto;
    accent-color:#155e45;
    cursor:pointer
}
.lv-cookie-reopen{
    position:fixed;
    z-index:1099;
    bottom:12px;
    left:12px;
    padding:8px 11px;
    background:#fff;
    color:#155e45;
    border:1px solid #dce7df;
    border-radius:9px;
    box-shadow:0 3px 14px rgba(0,0,0,.1);
    font-size:0.8125rem;
    font-weight:700;
    cursor:pointer
}
.lv-cookie-banner button:focus-visible,
.lv-cookie-reopen:focus-visible,
.lv-cookie-option input:focus-visible{
    outline:3px solid #347a60;
    outline-offset:3px
}
@media(max-width:600px){
    .lv-cookie-banner{
        
        bottom:10px;
        
        max-height:85vh;
        overflow-y:auto;
        padding:16px
    }
    .lv-cookie-actions{
        display:grid;
        grid-template-columns:1fr
    }
    .lv-cookie-actions button,
    .lv-cookie-save{
        width:100%
    }
}

/* WhatsApp contact */
.lv-whatsapp-float {
    position: fixed;
    right: 18px;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    z-index: 1098;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #128c4a;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .18);
}

.lv-whatsapp-float svg {
    width: 30px;
    height: 30px;
}

.lv-whatsapp-float:hover {
    background: #08783e;
    color: #fff;
}

.lv-whatsapp-float:focus-visible {
    outline: 3px solid #064e3b;
    outline-offset: 4px;
}

.lv-cookie-banner:not([hidden]) ~ .lv-whatsapp-float {
    display: none;
}

@media (max-width: 600px) {
    .lv-whatsapp-float {
        right: 12px;
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        width: 48px;
        height: 48px;
    }

    .lv-whatsapp-float svg {
        width: 27px;
        height: 27px;
    }
}
