@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montserrat:wght@700;800;900&display=swap');

/* ==========================================
   FAN GEAR SPORT - GLOBAL RESPONSIVE STYLES
   ========================================== */

:root {
    --bg-main: #FFFFFF;       /* Pure White body background */
    --bg-card: #FFFFFF;       /* Pure White for cards and panels */
    --bg-input: #FFFFFF;      /* White background for inputs */
    --accent: #E50914;        /* Crimson Red accent */
    --text-dark: #0B0C10;     /* Dark obsidian text for body */
    --text-muted: #6E6E73;    /* Silver slate for subtitle descriptions */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --site-max-width: 1200px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-main);
    color: var(--text-dark);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

/* Page content wrapper */
.site-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* ==========================================
   HEADER NAVIGATION (BLACK)
   ========================================== */
.main-header {
    background-color: #0B0C10; /* Header stays Black */
    border-bottom: 1px solid #1F2833;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.header-container-upper {
    max-width: var(--site-max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.header-search-box {
    display: flex;
    align-items: center;
    background-color: #11141A;
    border: 1px solid #22262F;
    padding: 0 10px;
    width: 280px;
    height: 38px;
    transition: var(--transition);
}

.header-search-box:focus-within {
    border-color: var(--accent);
}

.navigation-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.nav-item-link {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 11px;
    color: #FFFFFF;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 0;
    transition: var(--transition);
    border-bottom: 2px solid transparent;
}

.nav-item-link:hover, .nav-item-link.is-active {
    color: var(--accent) !important;
    border-bottom-color: var(--accent);
}

/* Mobile responsive navigation rules */
@media (max-width: 991px) {
    .hide-mobile {
        display: none !important;
    }
    
    .header-search-box {
        display: none !important;
    }
    
    .logo-link {
        justify-content: flex-start !important;
        flex: none !important;
    }
    
    .header-actions {
        width: auto !important;
    }
    
    .header-left-col {
        width: auto !important;
    }
    
    .header-lower {
        padding: 6px 10px !important;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .header-container-lower {
        justify-content: flex-start !important;
    }
    
    .navigation-menu {
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        gap: 14px !important;
    }
    
    .navigation-menu::-webkit-scrollbar {
        display: none;
    }
}

.btn-action {
    background: none;
    border: none;
    color: #FFFFFF; /* Icons remain white */
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    position: relative;
    transition: var(--transition);
}

.btn-action:hover, .btn-action.is-active {
    color: var(--accent);
}

.btn-action svg {
    width: 22px;
    height: 22px;
}

/* Dev center redirect button */
.btn-dev-redirect {
    border: 1px solid #1F2833;
    padding: 6px 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    color: #C5C6C7;
    text-decoration: none;
    transition: var(--transition);
}

.btn-dev-redirect:hover {
    border-color: var(--accent);
    color: #FFFFFF;
    background-color: rgba(229, 9, 20, 0.1);
}

@media (max-width: 580px) {
    .btn-dev-redirect span {
        display: none;
    }
    .btn-dev-redirect::after {
        content: 'DEV';
    }
}

/* Cart badge count */
.cart-badge {
    position: absolute;
    top: -2px;
    right: -4px;
    background-color: var(--accent);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 9px;
    min-width: 14px;
    height: 14px;
    border-radius: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #0B0C10;
}

/* ==========================================
   SEARCH DRAWER PANEL (BLACK)
   ========================================== */
.search-drawer {
    display: none;
    background-color: #0E1015; /* Drawer remains Black */
    border-bottom: 1px solid #1F2833;
    width: 100%;
}

.search-drawer.is-open {
    display: block;
}

.search-container {
    max-width: var(--site-max-width);
    margin: 0 auto;
    padding: 12px 20px;
}

.search-wrap {
    display: flex;
    background-color: #11141A;
    border: 1px solid #22262F;
    border-radius: 0px;
}

.search-input {
    flex: 1;
    background: none;
    border: none;
    padding: 12px 16px;
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
}

.search-input::placeholder {
    color: #C5C6C7;
}

.search-submit {
    background: none;
    border: none;
    color: var(--accent);
    padding: 0 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

/* ==========================================
   MAIN CONTENT VIEWS
   ========================================== */
.main-content {
    flex: 1;
    max-width: var(--site-max-width);
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    animation: fadeIn 0.25s ease-out;
}

.view-panel {
    display: none;
}

.view-panel.is-active {
    display: block;
}

/* Categories Bar (White theme styled) */
.categories-bar {
    display: flex;
    gap: 10px;
    padding-bottom: 16px;
    margin-bottom: 20px;
    border-bottom: 1px solid #E5E7EB;
    overflow-x: auto;
}

.categories-bar::-webkit-scrollbar {
    display: none;
}

.cat-tag {
    white-space: nowrap;
    background-color: var(--bg-card);
    border: 1px solid #E5E7EB;
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 11px;
    text-transform: uppercase;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 16px;
    transition: var(--transition);
}

.cat-tag.is-active, .cat-tag:hover {
    border-color: var(--accent);
    color: var(--accent);
    background-color: rgba(229, 9, 20, 0.05);
}

/* ==========================================
   PRODUCT SHOP GRID (RESPONSIVE)
   ========================================== */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 1024px) {
    .shop-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .shop-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

.product-card {
    background-color: #FFFFFF !important;
    border: none !important;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.product-card:hover {
    transform: none !important;
    box-shadow: none !important;
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--accent);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 0px;
    text-transform: uppercase;
    z-index: 2;
    letter-spacing: 0.5px;
}

.prod-img-wrap {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.prod-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .prod-img {
    transform: none !important;
}

.prod-info {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.prod-tag {
    font-family: var(--font-heading);
    font-size: 9px;
    font-weight: 800;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.prod-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 6px;
    line-height: 1.3;
}

.prod-pricing {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.prod-price {
    font-weight: 700;
    font-size: 15px;
    color: var(--accent);
}

.prod-old-price {
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: line-through;
}

/* ==========================================
   PRODUCT DETAIL VIEW (RESPONSIVE)
   ========================================== */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    margin-top: 10px;
}

@media (max-width: 767px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.detail-gallery {
    width: 100%;
    aspect-ratio: 1.1;
    position: relative;
    background-color: #F5F5F7;
    border: 1px solid #E5E7EB;
}

.detail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.back-btn {
    border-radius: 0px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.back-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.detail-body {
    display: flex;
    flex-direction: column;
}

.detail-category {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 11px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.detail-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 26px;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    color: var(--text-dark);
}

@media (max-width: 767px) {
    .detail-title {
        font-size: 20px;
    }
}

.detail-price-box {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.detail-price {
    font-weight: 800;
    font-size: 24px;
    color: var(--accent);
}

.detail-old-price {
    font-size: 16px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.detail-desc {
    color: #4A4A4A;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Sizing & Attribute selections */
.size-section {
    margin-bottom: 24px;
}

.section-label {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.size-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.size-btn {
    min-width: 50px;
    padding: 10px 14px;
    background-color: #FFFFFF;
    border: 1px solid #D2D2D7;
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    text-align: center;
    border-radius: 0px;
    transition: var(--transition);
}

.size-btn.is-active, .size-btn:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    color: #FFFFFF;
}

/* Form selects fields */
.fgs-select-field {
    background-color: #FFFFFF !important;
    color: var(--text-dark) !important;
    border: 1px solid #D2D2D7 !important;
    border-radius: 0px !important;
    padding: 12px 16px !important;
    font-size: 13px !important;
    font-family: var(--font-body) !important;
    outline: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

/* Personalization inputs */
.personalization-box {
    background-color: #F5F5F7 !important;
    border: 1px solid #E5E7EB !important;
}

.personalization-box label {
    color: #4A4A4A !important;
}

.personalization-box input {
    background-color: #FFFFFF !important;
    border: 1px solid #D2D2D7 !important;
    color: var(--text-dark) !important;
    transition: var(--transition);
}

.personalization-box input:focus {
    border-color: var(--accent) !important;
}

/* ATC Button static */
.atc-static-action {
    margin-top: 10px;
}

.atc-static-btn {
    width: 100%;
    max-width: 320px;
    background-color: var(--accent);
    color: #FFFFFF;
    border: none;
    padding: 16px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    cursor: pointer;
    border-radius: 0px;
    transition: var(--transition);
}

.atc-static-btn:hover {
    background-color: #b3000b;
}

@media (max-width: 767px) {
    .atc-static-btn {
        max-width: 100%;
    }
}

/* ==========================================
   MOBILE ONLY STICKY ATC BOTTOM BAR (BLACK)
   ========================================== */
.sticky-atc-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #0B0C10; /* Bar remains Black */
    border-top: 2px solid var(--accent);
    padding: 10px 16px;
    z-index: 999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.7);
    transform: translateY(110%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sticky-atc-bar.is-visible {
    transform: translateY(0);
}

.sticky-container {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 0 auto;
}

.sticky-img {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border: 1px solid #1C1F26;
}

.sticky-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sticky-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 11px;
    color: #FFFFFF; /* White text on black bar */
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sticky-price {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent);
}

.sticky-sizes {
    display: flex;
    gap: 4px;
}

.sticky-swatch {
    flex: 1;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 10px;
    padding: 6px 0;
    text-align: center;
    background-color: #1F2833;
    border: 1px solid #22262F;
    cursor: pointer;
    color: #FFFFFF;
    min-width: 32px;
}

.sticky-swatch.is-selected {
    background-color: var(--accent);
    border-color: var(--accent);
}

.sticky-btn {
    background-color: var(--accent);
    color: #FFFFFF;
    border: none;
    padding: 12px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    cursor: pointer;
    width: 100%;
}

@media (min-width: 768px) {
    .sticky-atc-bar {
        display: none !important;
    }
}

/* ==========================================
   SLIDE OUT SHOPPING CART DRAWER (WHITE)
   ========================================== */
.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    height: 100%;
    background-color: #FFFFFF; /* Drawer turns White */
    border-left: 1px solid #E5E7EB;
    z-index: 2000;
    transform: translateX(100%);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 24px;
    display: flex;
    flex-direction: column;
}

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

.cart-drawer.is-open {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #E5E7EB;
    padding-bottom: 14px;
    margin-bottom: 20px;
}

.drawer-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 16px;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.drawer-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    transition: var(--transition);
}

.drawer-close:hover {
    color: var(--accent);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-item {
    display: flex;
    gap: 12px;
    background-color: var(--bg-card);
    border: 1px solid #E5E7EB;
    padding: 10px;
}

.cart-item-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-name {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-dark);
    line-height: 1.3;
}

.cart-item-meta {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.4;
}

.cart-item-price {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 11px;
    align-self: flex-start;
    padding: 4px;
}

.cart-item-remove:hover {
    color: var(--accent);
}

.cart-footer {
    border-top: 1px solid #E5E7EB;
    padding-top: 20px;
    margin-top: auto;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.cart-total-price {
    color: var(--accent);
}

.cart-checkout-btn {
    width: 100%;
    background-color: var(--accent);
    color: #FFFFFF;
    border: none;
    padding: 16px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.cart-checkout-btn:hover {
    background-color: #b3000b;
}

/* ==========================================
   FOOTER SECTION (RED & WHITE TEXT)
   ========================================== */
footer {
    background-color: var(--accent); /* Footer turns RED */
    border-top: none;
    padding: 50px 20px;
    margin-top: 60px;
}

.footer-grid {
    max-width: var(--site-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 0.9fr 1fr;
    gap: 40px;
    text-align: left;
    margin-bottom: 40px;
}

.footer-column h4 {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    border-bottom: 2px solid #FFFFFF;
    padding-bottom: 6px;
    display: inline-block;
    color: #FFFFFF;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column ul li a {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-column ul li a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

.footer-bottom {
    max-width: var(--site-max-width);
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 767px) {
    footer {
        padding: 40px 20px !important;
        margin-top: 50px !important;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px 20px !important;
        text-align: left !important;
    }
    .footer-column {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
    }
    .footer-column:nth-child(1) {
        grid-column: span 2 !important;
    }
    .footer-column:nth-child(2) {
        grid-column: span 1 !important;
    }
    .footer-column:nth-child(3) {
        grid-column: span 1 !important;
    }
    .footer-column:nth-child(4) {
        grid-column: span 2 !important;
    }
    .footer-column h4 {
        font-size: 14px !important;
        margin-bottom: 12px !important;
        width: 100% !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        padding-bottom: 6px !important;
    }
    .footer-column ul {
        gap: 8px !important;
        align-items: flex-start !important;
    }
    .footer-column ul li a {
        font-size: 13px !important;
    }
    .footer-column p,
    .footer-column p[style] {
        font-size: 12px !important;
        line-height: 1.5 !important;
        margin-bottom: 8px !important;
        text-align: left !important;
    }
    .footer-bottom {
        flex-direction: column !important;
        text-align: center !important;
        padding-top: 15px !important;
        gap: 15px !important;
    }
}

.footer-text {
    font-size: 12px;
    color: #FFFFFF !important; /* Footer text turns white */
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Toast Message */
.toast-msg {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: var(--accent);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    padding: 14px 28px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    z-index: 10000;
    animation: slideInRight 0.3s ease-out, fadeOutToast 0.3s ease-in 2.5s forwards;
}

@keyframes slideInRight {
    from { transform: translateX(110%); }
    to { transform: translateX(0); }
}

@keyframes fadeOutToast {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-10px); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ==========================================
   PRODUCT THUMBNAILS GALLERY STYLES
   ========================================== */
.thumb-card {
    border: 1px solid #E5E7EB;
    transition: var(--transition);
}

.thumb-card.is-active {
    border-color: var(--accent) !important;
    box-shadow: 0 0 6px rgba(229, 9, 20, 0.25);
}

.thumb-card:hover {
    border-color: var(--accent);
}

.thumb-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================
   VISUAL LEAGUE CARDS AND HOVER STYLES
   ========================================== */
.league-card {
    transition: var(--transition);
}

/* Override outer cat-tag styles when used as league-card for a clean UI */
.cat-tag.league-card {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.league-card-image-wrapper {
    transition: all 0.3s ease !important;
}

.league-card-image-wrapper img {
    transition: transform 0.3s ease !important;
}

.league-card:hover .league-card-image-wrapper {
    border-color: #CBD5E1 !important;
    box-shadow: none !important;
    transform: translateY(-2px);
}

.league-card:hover .league-card-image-wrapper img {
    transform: scale(1.05);
}

.league-card.is-active .league-card-image-wrapper {
    border-color: var(--accent) !important;
    box-shadow: none !important;
    outline: 2px solid var(--accent);
    outline-offset: 2.5px;
}

.league-card span {
    transition: var(--transition);
    color: var(--text-dark) !important;
    margin-top: 10px;
    display: block;
}

.league-card:hover span {
    color: var(--accent) !important;
}

@media (min-width: 1024px) {
    .leagues-slider {
        width: max-content !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        justify-content: flex-start !important;
    }
}

@media (max-width: 768px) {
    .leagues-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
}

/* Hide scrollbar for leagues slider to keep the UI clean */
.leagues-slider::-webkit-scrollbar {
    display: none;
}
.leagues-slider {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* ==========================================
   DESKTOP SUBMENU DROPDOWN NAVIGATION
   ========================================== */
.nav-item-wrapper {
    position: static; /* Set to static so absolute children position relative to header container */
    display: inline-block;
}

.submenu-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-top: 3px solid var(--accent);
    z-index: 9999;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    border-radius: 0 0 8px 8px;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
    box-sizing: border-box;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px 20px;
    transform: translateY(10px);
}

.nav-item-wrapper:hover .submenu-dropdown {
    display: grid !important;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* ==========================================
   MOBILE SIDEBAR DRAWER AND ANIMATIONS
   ========================================== */
.mobile-sidebar.is-open {
    left: 0 !important;
}

#sidebar-backdrop.is-visible {
    display: block !important;
    opacity: 1 !important;
}

@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }
    .main-header {
        position: sticky;
        top: 0;
        z-index: 1000;
    }
    #btn-hamburger {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
}

@media (min-width: 769px) {
    .hide-desktop {
        display: none !important;
    }
}

.slider-nav-btn {
    opacity: 0.8;
}
.slider-nav-btn:hover {
    opacity: 1 !important;
    transform: translateY(-50%) scale(1.1) !important;
    background-color: var(--accent) !important;
    color: #FFFFFF !important;
    border-color: var(--accent) !important;
}

@media (max-width: 768px) {
    .slider-nav-btn {
        display: none !important;
    }
}

/* ==========================================================================
   DESKTOP RESOLUTION STRETCH & SCALE STYLES (optimized for 1920x1080 screens)
   ========================================================================== */
@media (min-width: 992px) {
    /* Stretch max layout width */
    :root {
        --site-max-width: 1728px !important;
    }

    /* Top promotional bar */
    .top-promo-bar {
        font-size: 16px !important;
        padding: 14px 28px !important;
    }

    /* Upper Header elements */
    .header-upper {
        padding: 19px 28px !important;
    }
    .logo-img {
        height: 72px !important;
    }
    .header-search-box {
        width: 384px !important;
        height: 50px !important;
    }
    .header-search-box input {
        font-size: 17px !important;
    }
    .header-actions {
        width: 384px !important;
        gap: 22px !important;
    }
    .header-actions a {
        font-size: 16px !important;
    }
    .header-actions svg {
        width: 24px !important;
        height: 24px !important;
    }
    .cart-count {
        font-size: 13px !important;
        width: 22px !important;
        height: 22px !important;
        top: -7px !important;
        right: -10px !important;
    }

    /* Row 2: Navigation menu bar */
    .header-lower {
        padding: 12px 24px !important;
    }
    .navigation-menu {
        gap: 38px !important;
    }
    .nav-item-link {
        font-size: 16px !important;
        letter-spacing: 1px !important;
        padding: 10px 0 !important;
    }

    /* Hero Banner on Homepage */
    .hero-section {
        min-height: 744px !important;
        padding: 72px 48px !important;
    }
    .hero-section span {
        font-size: 19px !important;
        margin-bottom: 19px !important;
    }
    .hero-section h1 {
        font-size: 76px !important;
        margin-bottom: 14px !important;
    }
    .hero-section h2 {
        font-size: 65px !important;
        margin-bottom: 36px !important;
    }
    .hero-section button {
        max-width: 288px !important;
        padding: 19px 38px !important;
        font-size: 17px !important;
    }

    /* Sections general headings */
    .leagues-grid-container h2,
    .featured-split-section h2,
    .collection-header h1,
    .league-header h1,
    .blog-header h1,
    .shop-section h2 {
        font-size: 31px !important;
        margin-bottom: 36px !important;
        padding-left: 19px !important;
    }

    /* Explore League Slider Cards */
    .league-card {
        flex: 0 0 228px !important;
        width: 228px !important;
        gap: 14px !important;
    }
    .league-card span {
        font-size: 16px !important;
        letter-spacing: 1.2px !important;
    }

    /* Featured Products Split Section */
    .featured-split-section .product-detail-layout {
        padding: 48px !important;
        gap: 48px !important;
    }

    /* Product Grid Sizing */
    .prod-grid {
        gap: 42px !important;
        margin-top: 36px !important;
    }
    .product-card {
        padding: 24px !important;
    }
    .prod-name {
        font-size: 19px !important;
        margin-bottom: 10px !important;
    }
    .prod-price {
        font-size: 22px !important;
    }
    .prod-old-price {
        font-size: 17px !important;
    }

    /* Page Breadcrumbs */
    .breadcrumb {
        font-size: 16px !important;
        margin-bottom: 34px !important;
    }
    .breadcrumb a, .breadcrumb span {
        font-size: 16px !important;
    }

    /* Product Details Page styling (Kept at clean, standard size as requested) */
    .product-detail-layout {
        gap: 40px !important;
    }
    .detail-category {
        font-size: 13px !important;
        margin-bottom: 12px !important;
    }
    .detail-title {
        font-size: 34px !important;
        margin-bottom: 16px !important;
    }
    .detail-price {
        font-size: 30px !important;
    }
    .detail-old-price {
        font-size: 18px !important;
    }
    .detail-desc {
        font-size: 15px !important;
        margin-bottom: 30px !important;
    }
    .section-label {
        font-size: 13px !important;
        margin-bottom: 12px !important;
    }
    .size-swatches {
        gap: 10px !important;
    }
    .size-btn {
        font-size: 13px !important;
        padding: 12px 18px !important;
        min-width: 55px !important;
    }
    .fgs-select-field {
        font-size: 14px !important;
        padding: 14px 18px !important;
    }
    .personalization-box {
        padding: 24px !important;
        gap: 16px !important;
        margin-bottom: 30px !important;
    }
    .personalization-box label {
        font-size: 13px !important;
    }
    .personalization-box input {
        font-size: 15px !important;
        height: 46px !important;
    }
    .atc-static-btn {
        max-width: 360px !important;
        font-size: 15px !important;
        padding: 18px 24px !important;
    }
    .qty-btn {
        width: 44px !important;
        height: 44px !important;
        font-size: 16px !important;
    }
    .qty-val {
        width: 44px !important;
        height: 44px !important;
        font-size: 15px !important;
    }

    /* Cart drawer scale up */
    .cart-drawer {
        width: 552px !important;
    }
    .cart-item-name {
        font-size: 16px !important;
    }
    .cart-item-meta {
        font-size: 16px !important;
    }
    .cart-qty-btn {
        width: 28px !important;
        height: 28px !important;
    }

    /* Footer styling scale up */
    footer {
        padding: 72px 48px !important;
        margin-top: 96px !important;
    }
    .footer-grid {
        gap: 60px !important;
        margin-bottom: 60px !important;
    }
    .footer-column h4 {
        font-size: 18px !important;
        margin-bottom: 28px !important;
    }
    .footer-column ul {
        gap: 17px !important;
    }
    .footer-column ul li a {
        font-size: 16px !important;
    }
    .footer-column p {
        font-size: 16px !important;
        line-height: 1.7 !important;
    }
    .footer-text {
        font-size: 16px !important;
    }
}

/* League Slider Card Hover Animation Rules */
.league-slider-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}
.league-slider-card:hover img {
    transform: scale(1.06);
}

/* Circular Pagination Buttons */
#coll-pagination-container button {
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    min-width: 0 !important;
    line-height: 1 !important;
}
