.flash-group {
    z-index: 10001 !important;
    top: 130px !important;
}

.flash-item {
    z-index: 10001 !important;
}
.full-header {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 998;
}

.mega-top-header {
    background: #323f4f;
    color: #fff;
    padding: 13px 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    font-size: 14px;
}
.mega-top-header,
.mega-main-header {
    padding: 12px 20px;
}

@media (min-width: 1200px) {
    .mega-top-header,
    .mega-main-header {
        padding: 13px 80px;
    }
}
/*   MAIN HEADER   */
.mega-main-header {
    background: #fff;
    padding: 3px 80px;
    display: flex;
    align-items: center;
    gap: 24px;
    border-bottom: 1px solid #e8e8e8;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    flex-wrap: wrap;
}

/* Logo */
.logo-wrap { display: flex; align-items: center; gap: 12px; min-width: 220px; }


/* Phone */
.phone-wrap {
    display: flex; align-items: center; gap: 7px;
    color: #323f4f;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-left: 16px;
    white-space: nowrap;
    margin-top: 0px;
}
.phone-wrap .ph-icon {
    background: #2c3a4a;
    border-radius: 50%;
    width: 26px; height: 26px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

/* Search */
.search-wrap {
    flex: 1;
    display: flex;
    align-items: stretch;
    max-width: 520px;
    margin-left: auto;
    border: 2px solid #323f4f;
    border-radius: 2px;
    overflow: hidden;
}
.search-btn {
    background: #323f4f;
    border: none;
    color: #fff;
    padding: 0 18px;
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    cursor: pointer;
    display: flex; align-items: center; gap: 7px;
    white-space: nowrap;
}
.search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px 14px;
    font-family: 'Lato', sans-serif;
    font-size: 13.5px;
    color: #333;
    background: #fff;
}
.search-input::placeholder { color: #aaa; font-style: italic; }

/* Cart */
.cart-wrap {
    position: relative;
    margin-left: 18px;
    cursor: pointer;
    color: #323f4f;
    flex-shrink: 0;
}
.cart-wrap svg { display: block; }
.cart-badge {
    position: absolute;
    top: -7px; right: -8px;
    background: #323f4f;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 18px; height: 18px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid #fff;
}
/* Left side */
.header-left .store-link {
    color: #fff;
    text-decoration: none;
}
.store-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    text-decoration: none;
}

.store-link svg {
    display: inline-block;
    width: 14px;
    height: 14px;
}

/* Right side */
.header-right a {
    color: #fff;
    text-decoration: none;
    margin: 0 5px;
}

.header-right span {
    margin: 0 5px;
    color: #ccc;
}

.header-right a:hover {
    text-decoration: underline;
}


/*   Hide the checkbox — it's only a state carrier      ─ */
.nav-toggle-input {
    display: none;
}

/*   Container    ─ */
.main-nav {
    background: #1e2d3d;
    position: relative;
    z-index: 997;
    border-top: 1px solid rgba(255,255,255,0.06);
}

/*   Nav list      */
.nav-list {
    display: flex;
    list-style: none;
    margin: 0 auto;
    padding: 0 40px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1400px;
}

/*   Nav item      */
.nav-item {
    position: relative;
}

/*   Nav link      */
.nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    color: rgba(255,255,255,0.88);
    text-decoration: none;
    padding: 16px 17px;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 0.2s, background 0.2s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: #e8a020;
    border-radius: 2px 2px 0 0;
    transition: transform 0.22s ease;
}

.nav-item:hover > .nav-link {
    color: #fff;
    background: rgba(255,255,255,0.06);
}

.nav-item:hover > .nav-link::after {
    transform: translateX(-50%) scaleX(1);
}

/*   Chevron arrow  ─ */
.nav-arrow {
    transition: transform 0.22s ease;
    opacity: 0.7;
    flex-shrink: 0;
}

.nav-item:hover > .nav-link .nav-arrow {
    transform: rotate(-180deg);
    opacity: 1;
}

.mega-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    min-width: 680px;
    background: #fff;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
    pointer-events: none;
    border-top: 3px solid #e8a020;
}

/* Left-side items: open rightward */
.nav-item:nth-child(1) > .mega-dropdown,
.nav-item:nth-child(2) > .mega-dropdown,
.nav-item:nth-child(3) > .mega-dropdown,
.nav-item:nth-child(4) > .mega-dropdown,
.nav-item:nth-child(5) > .mega-dropdown {
    left: 0;
    right: auto;
}

.nav-item.has-dropdown:hover > .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-inner {
    padding: 24px 28px 28px;
}

/*  Grid of columns */
.dropdown-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 8px 20px;
}

/*   Column heading   */
.col-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    color: #1e2d3d;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 8px 10px;
    border-radius: 5px;
    transition: background 0.18s, color 0.18s;
    border-bottom: 1.5px solid #eceef0;
    margin-bottom: 6px;
}

.col-heading:hover {
    background: #f3f6f9;
    color: #e8a020;
}

.sub-arrow {
    opacity: 0.35;
    transition: opacity 0.18s;
    flex-shrink: 0;
}

.col-heading:hover .sub-arrow {
    opacity: 0.75;
}

/* Sub list */
.sub-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: none;
}

.dropdown-col.has-sub:hover > .sub-list {
    display: block;
}

.sub-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4a5568;
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    padding: 7px 10px;
    border-radius: 4px;
    transition: background 0.15s, color 0.15s, padding-left 0.15s;
    line-height: 1.4;
}

.sub-link:hover {
    background: #f3f6f9;
    color: #1e2d3d;
    padding-left: 14px;
}

.sub-dot {
    color: #cbd5e0;
    flex-shrink: 0;
    transition: color 0.15s;
}

.sub-link:hover .sub-dot {
    color: #e8a020;
}


.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background 0.18s;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    user-select: none;
}

.nav-hamburger:hover {
    background: rgba(255,255,255,0.1);
}

.bar {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease, width 0.2s ease;
    transform-origin: center;
}

/* Hamburger stays as ☰ always — ✕ is a separate button inside the drawer */
/* Hide hamburger when drawer is open */
.nav-toggle-input:checked ~ .nav-hamburger {
    display: none;
}

/* Overlay label  */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 995;
    opacity: 0;
    cursor: default;
    transition: opacity 0.25s;
    pointer-events: none;
}


/*  Close button — inside the drawer, top of nav-list  */
.nav-close-item {
    display: none; /* hidden on desktop */
}

.nav-close-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 14px 22px;
    color: rgba(255,255,255,0.6);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: color 0.18s, background 0.18s;
    user-select: none;
    justify-content: flex-end;
}

.nav-close-btn:hover {
    color: #fff;
    background: rgba(255,255,255,0.05);
}


@media (max-width: 991px) {

    .main-nav {
        min-height: 52px;
        display: flex;
        align-items: center;
    }

    /* Show hamburger */
    .nav-hamburger {
        display: flex;
    }

    /* Show close button inside drawer */
    .nav-close-item {
        display: block;
        width: 100%;
    }

    .nav-overlay {
        display: block;
    }

    .nav-toggle-input:checked ~ .nav-overlay {
        opacity: 1;
        pointer-events: auto;
    }

    /*  Off-canvas drawer  */
    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        bottom: 0;
        width: min(300px, 85vw);
        background: #1e2d3d;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding: 0 0 32px;
        overflow-y: auto;
        overflow-x: hidden;
        z-index: 996;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: none;
    }

    /* Slide in when checkbox checked */
    .nav-toggle-input:checked ~ .nav-list {
        right: 0;
        box-shadow: -8px 0 32px rgba(0,0,0,0.3);
    }

    /* Items stack */
    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.07);
    }

    .nav-link {
        width: 100%;
        justify-content: space-between;
        padding: 15px 22px;
        font-size: 13px;
        text-transform: none;
        letter-spacing: 0.02em;
    }

    .nav-link::after {
        display: none;
    }

    .mega-dropdown {
        position: static;
        min-width: 0;
        width: 100%;
        background: #162535;
        box-shadow: none;
        border-radius: 0;
        border-top: none;
        border-left: 3px solid #e8a020;
        /* Reset desktop right/left overrides */
        right: auto;
        left: auto;
        /* Hidden by default via max-height */
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.32s ease;
        pointer-events: none;
    }

    /* All nth-child left/right overrides are desktop-only — reset */
    .nav-item:nth-child(1) > .mega-dropdown,
    .nav-item:nth-child(2) > .mega-dropdown,
    .nav-item:nth-child(3) > .mega-dropdown,
    .nav-item:nth-child(4) > .mega-dropdown,
    .nav-item:nth-child(5) > .mega-dropdown {
        left: auto;
        right: auto;
    }

    /* Open on hover (touch: persists after tap) */
    .nav-item:hover > .mega-dropdown {
        max-height: 800px;
        pointer-events: auto;
    }

    /* Arrow rotate on mobile */
    .nav-item:hover > .nav-link .nav-arrow {
        transform: rotate(-180deg);
    }

    .dropdown-inner {
        padding: 10px 14px 16px;
    }

    .dropdown-columns {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .col-heading {
        color: rgba(255,255,255,0.88);
        border-bottom: 1px solid rgba(255,255,255,0.1);
        border-radius: 0;
        padding: 10px 6px;
        margin-bottom: 0;
        font-size: 12px;
        text-transform: none;
    }

    .col-heading:hover {
        background: rgba(255,255,255,0.05);
        color: #e8a020;
    }

    .sub-list {
        background: rgba(0,0,0,0.18);
        border-radius: 4px;
        margin: 4px 0 8px;
        padding: 4px 0;
    }

    .sub-link {
        color: rgba(255,255,255,0.6);
        font-size: 12px;
        padding: 8px 14px;
        border-radius: 0;
    }

    .sub-link:hover {
        background: rgba(255,255,255,0.07);
        color: #fff;
        padding-left: 20px;
    }

    .sub-dot {
        color: rgba(255,255,255,0.22);
    }

    .sub-link:hover .sub-dot {
        color: #e8a020;
    }
}

@media (max-width: 480px) {
    .nav-list {
        width: 100%;
    }
}

/* Hide main shop header and top section */
header,
.max-lg\:hidden x-shop\:\:layouts\.header\.desktop\.top {
    display: none !important;
}

/* If the top section is inside a div with max-lg:hidden as class */
.max-lg\:hidden {
    display: none !important;
}

/**
 * Carousel section customization
 */
.mega-carousel-section {
    margin-top: 14% !important;
    height: 16rem;
    width: 90% !important;
    border: 6px solid yellow !important;
}
.home-offer {
    display: none !important;
}
