header.header {
    background: #0b0b0b;
    color: #fff;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 3000;
}

header.header .container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 12px 16px;
}

header.header .header-top .container {
    display: grid;
    grid-template-columns: 180px 1fr auto;
    align-items: center;
    gap: 20px;
}

header.header .brand {
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

header.header .brand img {
    height: 36px;
    width: auto;
    display: block;
}

header.header .search-form {
    display: grid;
    grid-template-columns: 1fr 56px;
    background: #f7efef;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #2a2a2a;
}

header.header .search-field {
    border: 0;
    padding: 12px 16px;
    background: transparent;
    color: #111;
    font-family: 'Raleway', sans-serif;
}

header.header .search-submit {
    border: 0;
    background: transparent;
    color: #666;
    cursor: pointer;
}

header.header .right {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    justify-content: flex-end;
}

header.header .right img {
    width: 24px;
    height: 24px;
    display: inline-block;
    margin-right: 6px;
}

header.header .support,
header.header .account {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}
header.header .support-wrap{ position: relative; }
header.header .support{ background: transparent; border: 0; cursor: pointer; }
header.header .support-popover{ position: absolute; top: calc(100% + 8px); left: 0; background: #fff; color: #0f172a; border: 1px solid #e5e7eb; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.25); width: 320px; padding: 12px; z-index: 4000; }
header.header .support-popover[hidden]{ display: none; }
header.header .support-popover .sp-title{ font-weight: 700; margin-bottom: 8px; }
header.header .support-popover .sp-row{ display: flex; align-items: center; gap: 8px; padding: 6px 0; }
header.header .support-popover .sp-sep{ border-top: 1px solid #e5e7eb; margin: 8px 0; }
header.header .support-popover .sp-icon{ width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; }
header.header .support-popover .sp-icon img{ width: 18px; height: 18px; display: inline-block; }
header.header .support-popover .sp-text, .sp-hours{ font-size:14px; color: #0f172a; text-decoration: none; transition: color .3s ease; display:inline-block; max-width:100%; min-width:0; overflow-wrap:anywhere; word-break:break-word; }
header.header .support-popover .sp-text:hover{ color:#e11d29}

header.header .mini-cart {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
}

header.header .mini-cart .count {
    background: #fff;
    color: #0b0b0b;
    border-radius: 999px;
    min-width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    padding: 0 6px;
}
@keyframes cartPulse{0%{transform:scale(1);}30%{transform:scale(1.2);}100%{transform:scale(1);}}
[data-cart-count].pulse{animation:cartPulse .6s ease; will-change:transform;}

header.header .header-bottom {
    border-top: 1px solid #333;
}

header.header .header-bottom .container ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

header.header .quick-nav {
    list-style: none;
    display: flex;
    gap: 48px;
    padding: 12px 0;
    margin: 0;
}

header.header .quick-nav .qn {
    background-color: unset;
    cursor: pointer;
    box-shadow: unset;
    border: unset;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 4px;
    font-size: 14px;
}

header.header .quick-nav li:hover ,
header.header .quick-nav li:focus-within  {
    background: #e11d29;
     border-radius: 4px;
}

header.header .quick-nav .qn img {
    width: 24px;
    height: 24px;
    display: inline-block;
}

.mega {
    background: #0b0b0b;
    border-top: 1px solid #333;
}

.mega .container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 16px;
}
.mega .mega-grid{ display: grid; grid-template-columns: 2fr 1fr; gap: 16px; align-items: start; }

.mega .mega-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px 24px;
    padding: 0;
    margin: 0;
}

.mega .mega-list a {
    color: #fff;
    text-decoration: none;
    padding: 8px 0;
    display: block;
}
.mega .mega-right{ background:#fff; border-radius:8px; padding:12px; }
.mega .mega-product-card{ display:grid; gap:8px; }
.mega .mega-product-card .thumb{ position:relative; display:block; }
.mega .mega-product-card .thumb img{ width:100%; height:auto; display:block; border-radius:4px; }
.mega .mega-product-card .thumb .badge{font-weight: 700; position:absolute; top:8px; left:8px; background:#000; color:#fff; font-size:12px; padding:2px 6px; border-radius:999px; z-index:2; }
.mega .mega-product-card .name{ color:#0f172a; font-weight:700; text-decoration:none; }
.mega .mega-product-card .price .regular{ color:#9ca3af; font-size:14px; }
.mega .mega-product-card .price .sale{ color:#111827; font-weight:700; font-size:16px; }
.mega .mega-product-card .button{ display:inline-block; text-align:center; padding:10px 12px; background:#e11d29; color:#fff; border-radius:4px; text-decoration:none; font-weight:700; }

.mega .mega-list a{ position:relative; overflow:hidden; transition: color .2s ease, background-color .2s ease; border-radius:4px; padding:8px 10px; }
.mega .mega-list a:hover{ color:#e11d29; background-color: rgba(255,255,255,0.06); }
.mega .mega-list a::after{ content:""; position:absolute; left:-120%; top:0; width:120%; height:100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.15), transparent); }
.mega .mega-list a:hover::after{ animation: megaHoverShine .6s ease forwards; }
@keyframes megaHoverShine{ 0%{ left:-120%; } 100%{ left:120%; } }

.mobile-nav {
    display: none;
}

/* Mobile */
@media (max-width: 900px) {
    .mobile-nav {
        display: flex;
    }

    header.header .header-top .container {
        grid-template-columns: 1fr auto;
    }

    header.header .center {
        display: none;
    }

    header.header .right .support,
    header.header .right .account {
        display: none;
    }

    header.header .header-bottom {
        display: none;
    }

    header.header .hamburger {
        display: inline-flex;
        flex-direction: column;
        gap: 4px;
        background: transparent;
        border: 0;
        cursor: pointer;
    }

    header.header .hamburger span {
        width: 22px;
        height: 2px;
        background: #fff;
        display: block;
    }
}

.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 10000;
}

.mobile-nav[hidden] {
    display: none !important;
}

.mobile-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    opacity: 0;
    transition: opacity .25s ease;
}

.mobile-drawer {
    position: absolute;
    top: 0;
    left: 0;
    width: 88%;
    max-width: 380px;
    height: 100%;
    background: #0b0b0b;
    color: #fff;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    gap: 14px;
    padding: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
    transform: translateX(-100%);
    transition: transform .25s ease;
    box-sizing: border-box;
    padding-bottom: calc(env(safe-area-inset-bottom, 16px) + 18px);
}
.mobile-nav.open .mobile-overlay{ opacity: 1; }
.mobile-nav.open .mobile-drawer{ transform: translateX(0); }

.mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-header .brand img {
    height: 32px;
    width: auto;
}

.mobile-close {
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

.mobile-quick {
    list-style: none;
    padding: 0;
    margin: 12px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-quick .qn {
    background: transparent;
    border: 0;
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 4px;
    font-size: 16px;
}
.mobile-quick .qn:hover{ background: #121212; }
.mobile-quick .qn[data-collapse]{ position: relative; cursor: pointer; padding-right: 36px; }
.mobile-quick .qn[data-collapse]::after{ content: "▾"; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); opacity: .8; transition: transform .2s ease; }
.mobile-quick .qn[aria-expanded="true"]::after{ transform: translateY(-50%) rotate(180deg); }

.mobile-quick .qn img {
    width: 22px;
    height: 22px;
}

.collapse {
    padding-left: 8px;
}

.collapse ul {
    list-style: none;
    margin: 6px 0;
    padding: 0;
}

.collapse a {
    color: #fff;
    text-decoration: none;
    padding: 8px 0;
    display: block;
}

.mobile-drawer .search-form{ display: grid; grid-template-columns: 1fr 44px; background: #1a1a1a; border-radius: 4px; overflow: hidden; border: 1px solid #2a2a2a; }
.mobile-drawer .search-form .search-field{    font-family: 'Raleway', sans-serif; border: 0; padding: 12px 16px; background: transparent; color: #fff; }
.mobile-drawer .search-form .search-submit{ border: 0; background: transparent; color: #fff; }
.mobile-drawer .search-form .search-submit svg path {
    fill: white;
}
.mobile-footer{ margin-top: 0; padding-top: 12px; border-top: 1px solid #222; display: flex; flex-direction: column; gap: 10px; padding-bottom: env(safe-area-inset-bottom, 8px); }
.mobile-footer a{ color:#fff; text-decoration:none; display:inline-flex; align-items:center; gap:8px; padding:10px 12px; border-radius:4px; }
.mobile-footer a:hover{ background:#121212; }
.mobile-footer a img{ width:22px; height:22px; }