/* ==========================================================================
   Header Style 11 — sticky two-tier navbar (Webflow-inspired)
   - Black bar that sticks to the top of the viewport
   - At top: full height, nav row visible
   - On scroll: header collapses and the nav row hides
   - Background is ALWAYS black; accents pull from theme vars
   ========================================================================== */

.header.style-11 {
    --h11-bg: #fff;
    --h11-text: #111;
    --h11-accent: var(--secondary-color, #d4145a);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Sticky wrapper — transparent so the bar stays inset within the container */
.header.style-11 .header-content-wrapper {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: transparent;
    padding-top: 12px;
}

.header.style-11 .navbar-11 {
    background-color: transparent;
}

/* Two-tier bar: the centered black bar, inset by the container's gutters */
.header.style-11 .site-navigation-11 {
    background-color: var(--h11-bg);
    border-radius: 12px;
    padding: 14px 20px;
    width: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .1);
}

/* Tier 1: mobile-toggle | centered logo | actions */
.header.style-11 .nav-tier-top-11 {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    min-height: 44px;
}

/* Tier 1 columns */
.header.style-11 .nav-left-11 {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
}

.header.style-11 .nav-center-11 {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header.style-11 .nav-right-11 {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
}

/* Tier 2: full-width centered nav */
.header.style-11 .nav-tier-bottom-11 {
    display: flex;
    justify-content: center;
    border-top: 1px solid rgba(0, 0, 0, .08);
    margin-top: 6px;
    padding-top: 6px;
}

/* --------------------------------------------------------------------------
   Brand / logo (centered)
   -------------------------------------------------------------------------- */
.header.style-11 .nav-brand-11 {
    display: inline-flex;
    align-items: center;
    padding: 0;
    line-height: 0;
}

.header.style-11 .nav-brand-logo-11 {
    width: auto;
    max-height: 44px;
    object-fit: contain;
}

/* --------------------------------------------------------------------------
   Primary navigation (driven by menu_style.blade.php -> ul.menu)
   -------------------------------------------------------------------------- */
.header.style-11 .nav-menu-11 .menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 0px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header.style-11 .nav-menu-11 .menu > li {
    position: relative;
}

.header.style-11 .nav-menu-11 .menu > li > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--h11-text);
    font-weight: 600;
    font-size: 16px;
    line-height: 1.4;
    padding: 6px 0;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity .2s ease;
    border: none !important;
}

.header.style-11 .nav-menu-11 .menu > li > a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.header.style-11 .nav-menu-11 .menu > li.active > a {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Chevron for items with submenus */
.header.style-11 .nav-menu-11 .menu > li{
 padding-right: 1.5rem;
 padding-left: 1.5rem;
}
.header.style-11 .nav-menu-11 .has-submenu > a::after{
  display: none;
}

.header.style-11 .menu .megamenu ul li:first-child {
    padding-top: 8px;
}

/* --------------------------------------------------------------------------
   Dropdown / submenu + megamenu
   -------------------------------------------------------------------------- */
.header.style-11 .nav-menu-11 .menu .submenu,
.header.style-11 .nav-menu-11 .menu .megamenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, 8px);
    min-width: 220px;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 10px;
    padding: 10px;
    list-style: none;
    margin: 0;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    z-index: 50;
}

/* Megamenu lays children blocks side by side */
.header.style-11 .nav-menu-11 .menu .megamenu {
    display: flex;
    gap: 24px;
    min-width: 480px;
    padding: 18px;
}

.header.style-11 .nav-menu-11 .menu > li:hover > .submenu,
.header.style-11 .nav-menu-11 .menu > li:hover > .megamenu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

/* Edge items: anchor first/last dropdowns to their side so they don't clip */
.header.style-11 .nav-menu-11 .menu > li:first-child .submenu,
.header.style-11 .nav-menu-11 .menu > li:first-child .megamenu {
    left: 0;
    right: auto;
    transform: translate(0, 8px);
}

.header.style-11 .nav-menu-11 .menu > li:first-child:hover > .submenu,
.header.style-11 .nav-menu-11 .menu > li:first-child:hover > .megamenu {
    transform: translate(0, 0);
}

.header.style-11 .nav-menu-11 .menu > li:last-child .submenu,
.header.style-11 .nav-menu-11 .menu > li:last-child .megamenu {
    left: auto;
    right: 0;
    transform: translate(0, 8px);
}

.header.style-11 .nav-menu-11 .menu > li:last-child:hover > .submenu,
.header.style-11 .nav-menu-11 .menu > li:last-child:hover > .megamenu {
    transform: translate(0, 0);
}

/* Submenu links */
.header.style-11 .nav-menu-11 .submenu li a,
.header.style-11 .nav-menu-11 .megamenu li a {
    display: block;
    color: rgba(0, 0, 0, .7);
    font-size: 14px;
    font-weight: 400;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .2s ease, color .2s ease;
}

.header.style-11 .nav-menu-11 .submenu li a:hover,
.header.style-11 .nav-menu-11 .megamenu li a:hover {
    background-color: rgba(0, 0, 0, .05);
    color: var(--h11-text);
}

/* Megamenu column titles */
.header.style-11 .nav-menu-11 .megamenu .megamenu-item {
    list-style: none;
}

.header.style-11 .nav-menu-11 .megamenu .menu-title {
    margin: 0 0 6px;
    padding: 0 12px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.header.style-11 .nav-menu-11 .megamenu .menu-title a {
    color: var(--h11-accent);
    font-weight: 600;
    padding: 0;
}

.header.style-11 .nav-menu-11 .megamenu .menu-title a:hover {
    background: none;
}

.header.style-11 .nav-menu-11 .megamenu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* --------------------------------------------------------------------------
   Cart
   -------------------------------------------------------------------------- */
.header.style-11 .cart-block-11 {
    position: relative;
}

.header.style-11 .cart-button-11 {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--h11-text);
    font-weight: 400;
    font-size: 15px;
    line-height: 1;
    text-decoration: none;
    padding: 0;
    background: transparent;
    transition: opacity .2s ease;
}

.header.style-11 .cart-button-11:hover {
    opacity: .85;
}

/* Icon sized relative to the cart text */
.header.style-11 .cart-icon-image-11 {
    width: 1.15em;
    height: auto;
    color: var(--h11-text);
    flex-shrink: 0;
}

.header.style-11 .header-cart-title-11 {
    color: var(--h11-text);
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
}

/* Neutralize the global .cart-dropdown .cart-count badge — render inline text */
.header.style-11 .cart-dropdown .cart-count {
    position: static;
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    color: inherit;
    font-size: inherit;
    font-weight: 500;
    line-height: inherit;
    z-index: auto;
    right: auto;
    top: auto;
    text-align: inherit;
}

/* --------------------------------------------------------------------------
   Login / CTA pill button (accent)
   -------------------------------------------------------------------------- */
.header.style-11 .login-btn-11 {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background-color: #111;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    transition: filter .2s ease;
}

.header.style-11 .login-btn-11:hover {
    filter: brightness(.85);
}

.header.style-11 .login-btn-11 .icon {
    width: 1.15em;
    height: auto;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Scroll-collapse: nav row hides + header shrinks once scrolled
   -------------------------------------------------------------------------- */
.header.style-11 .nav-tier-bottom-11 {
    /* collapse animation targets — visible when open so dropdowns can escape */
    overflow: visible;
    max-height: 80px;
    opacity: 1;
    transition: max-height .35s ease, opacity .25s ease,
        margin-top .35s ease, padding-top .35s ease;
}

.header.style-11.is-scrolled .nav-tier-bottom-11 {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    margin-top: 0;
    padding-top: 0;
    border-top-color: transparent;
}

/* Hovering the scrolled header re-expands it to full height */
.header.style-11.is-scrolled:hover .nav-tier-bottom-11 {
    max-height: 80px;
    opacity: 1;
    margin-top: 6px;
    padding-top: 6px;
    border-top-color: rgba(0, 0, 0, .08);
}

.header.style-11 .site-navigation-11 {
    transition: padding .3s ease;
}

.header.style-11.is-scrolled .site-navigation-11 {
    padding-top: 10px;
    padding-bottom: 10px;
}

.header.style-11.is-scrolled:hover .site-navigation-11 {
    padding-top: 14px;
    padding-bottom: 14px;
}


.active-underline > li > a::before
{
    display: none;
}
/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
.header.style-11 .mobile-only-11 { display: none; }

.header.style-11 .desktop-only-11 li{
 margin-right: 0px;
}

.header.style-11 .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--h11-text);
    font-size: 22px;
    line-height: 1;
    text-decoration: none;
}

@media (max-width: 991px) {
    .header.style-11 .mobile-only-11 { display: inline-flex; }
    .header.style-11 .desktop-only-11 { display: none; }

    .header.style-11 .nav-brand-logo-11 {
        max-height: 38px;
    }
}

@media (max-width: 575px) {
    .header.style-11 .site-navigation-11 {
        padding: 10px 14px;
        gap: 12px;
    }

    .header.style-11 .header-cart-title-11 {
        display: none !important;
    }
}



