:root {
    --navy-deep: #0a1123;
    --navy-mid: #0e1629;
    --bg-light: #f9f6f1;
    --cream: #eeebe8;
    --white: #ffffff;
    --gold: #d4a263;
    --text-dark: #0e1629;
    --text-muted: #a8a5a0;
    --border: #e7e4db;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg-light);
    color: var(--text-dark);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

img {
    display: block;
    max-width: 100%;
}

/* ============ FIXED SIDEBAR ============ */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 220px;
    height: 100vh;
    background: var(--navy-deep);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 22px 10px;
    z-index: 100;
}

.sidebar-logo {
    margin-bottom: 45px;
    margin-top: 40px;
}

.sidebar-logo img {
    height: 80px;
    border-radius: 12px;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    align-items: center;
    flex: 1;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    padding: 10px 4px;
    border-radius: 12px;
    color: #fff;
    font-size: 14px;
    font-weight: 300;
    text-align: center;
    line-height: 1.2;
    transition: background .2s, color .2s;
}

.nav-item .nav-icon img {
    width: 25px;
    height: 25px;
    border-radius: 5px;
}

.nav-item:hover {
    background: rgba(255, 255, 255, .05);
    color: var(--white);
}

/* .nav-item.active {
    background: linear-gradient(135deg, var(--gold), #b9863a);
} */
.nav-item.active {
    background: linear-gradient(135deg, #0a1123, var(--gold));
    border-radius: 6px;
}

/* Normal - White */
.nav-item .nav-icon img {
    filter: brightness(0) invert(1);
}

/* Active - #d4a263 */
.nav-item.active .nav-icon img {
    filter: brightness(0) saturate(100%)
            invert(70%) sepia(25%)
            saturate(700%)
            hue-rotate(350deg)
            brightness(90%)
            contrast(90%);
}

.nav-icon {
    margin-left: 10px;
}

.sidebar-footer {
    margin-top: auto;
    border: 1px dashed rgba(212, 162, 76, .5);
    border-radius: 12px;
    padding: 10px 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    text-align: center;
}

.footer-icon img {
    height: 40px;
    border-radius: 8px;
}

.footer-text {
    display: flex;
    flex-direction: column;
    color: var(--white);
}

.footer-text strong {
    color: var(--gold);
    font-size: 10px;
    letter-spacing: .03em;
}

.footer-text span {
    font-size: 9px;
    color: var(--text-muted);
}

/* ============ MAIN CONTENT WRAPPER ============ */
.main-content {
    margin-left: 220px;
    min-height: 100vh;
}

.topbar {
    background: var(--navy-deep);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9px 32px;
    font-size: 12.5px;
    height: 40px;
    position: relative;
}

.topbar-left {
    display: flex;
    gap: 34px;
}

.topbar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: .9;
}

.topbar-item img {
    width: 14px;
    height: 14px;
}

.topbar-right {
    opacity: .9;
    position: absolute;
    right: 20px;
}

/* ============ HEADER ============ */
.header {
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 20px 32px;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: .02em;
    white-space: nowrap;
    color: var(--navy-deep);
}

.header-logo img {
    border-radius: 10px;
    width: 40px;
}

.search-bar {
    flex: 1;
    display: flex;
    align-items: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0 0 0 16px;
    max-width: 720px;
    height: 48px;
}

.search-icon {
    width: 16px;
    height: 16px;
    opacity: .5;
    margin-right: 10px;
}

.search-bar input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    background: transparent;
    color: var(--text-dark);
}

.search-btn {
    background: var(--navy-deep);
    width: 46px;
    height: 46px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn img {
    width: 24px;
    height: 24px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 26px;
    flex-shrink: 0;
}

.header-action {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--text-dark);
    cursor: pointer;
}

.header-action img {
    width: 24px;
    height: 24px;
}

.cart-icon-wrap {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -14px;
    right: -30px;
    background: var(--navy-deep);
    color: var(--white);
    font-size: 9px;
    font-weight: 800;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============ CATEGORY MENU ============ */
.top-category-menu {
    display: flex;
    gap: 36px;
    padding: 14px 32px;
    background: var(--bg-light);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .03em;
}

.top-category-menu a {
    color: var(--navy-mid);
    opacity: .85;
}

.top-category-menu a.active,
.top-category-menu a:hover {
    opacity: 1;
    color: var(--navy-deep);
}





/* ============ TOP HEADER ============ */

.top-banner {
    padding: 0px 20px;
}

.top-banner-content {
    width: 100%;
    position: relative;
}

.top-banner-content img {
    width: 100%;
}

.top-banner-content.owl-carousel .owl-nav button.owl-next {
    position: absolute;
    right: 10px;
    top: 34%;
}

.top-banner-content.owl-carousel .owl-nav button.owl-prev {
    position: absolute;
    left: 10px;
    top: 34%;
}

.owl-nav button span {
    font-size: 16px;
}

.owl-nav button {
    width: 40px;
    height: 40px;
    background: #0a1123 !important;
    color: #fff !important;
    border-radius: 50% !important;
}

.top-banner-content.owl-carousel .owl-dots {
    margin-top: 15px;
}

.top-banner-content.owl-carousel .owl-dot span {
    background: #362121 !important;
}

.top-banner-content.owl-carousel .owl-dot.active span {
    background: #d4a263 !important;
}



/* ============ FEATURED CATEGORIES ============ */

.featured-categories {
    padding: 15px 20px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.shop-by-players,
.shop-by-club,
.new-arrivals {
    overflow-x: hidden;
    background: var(--cream);
    padding: 20px 16px;
    border-radius: 12px;
}

.shop-by-players-header,
.shop-by-club-header,
.new-arrivals-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.shop-by-players-header h2,
.shop-by-club-header h2,
.new-arrivals-header h2 {
    font-size: 18px;
    font-weight: 500;
}

.shop-by-players-header a,
.shop-by-club-header a,
.new-arrivals-header a {
    font-size: 14px;
    font-weight: 500;
}

.shop-by-players-items,
.shop-by-club-items,
.new-arrivals-items {
    display: flex;
    gap: 10px;
}

.players-card,
.club-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 5px;
    padding: 10px;
    border-radius: 10px;
}

.players-card {
    background: var(--bg-light);
    padding: 0;
}

.players-card a {
    width: 100%;
}

.club-card {
    /* background: #ebe4da; */
    background: #f5f1ec;
}

.players-card-text h2,
.club-card-text h2 {
    font-size: 12px;
    margin-top: 10px;
}

.players-card-text p,
.club-card-text p {
    font-size: 10px;
}

.players-card-image {
    height: 125px;
}

.players-card-image img{
    height: 100%;
    object-fit: cover;
            border-top-left-radius: 6px;
        border-top-right-radius: 6px;
}


.club-card-image img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.new-arrivals-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
    gap: 12px;
    padding: 15px 10px;
    border-radius: 10px;
    position: relative;
    background-color: #f5f1ec;
}

.new-arrivals-card-image {
    height: 100px;
}

.new-arrivals-card-image img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.new-arrivals-card-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.new-arrivals-wishlist {
    width: 15px;
    height: 15px;
    position: absolute;
    top: 10px;
    right: 5px;
}

.new-arrivals-wishlist img {
    width: 100%;
    height: 100%;
}

.new-arrivals-tag {
    position: absolute;
    top: 10px;
    left: 5px;
    color: white;
    background-color: var(--navy-mid);
    display: flex;
    border-radius: 10px;
}

.new-arrivals-tag span {
    font-size: 12px;
    margin: 0;
    padding: 3px 8px;
}

.new-arrivals-year,
.new-arrivals-type,
.new-arrivals-name {
    font-size: 12px;
    margin-bottom: 0;
    font-weight: 700;
}




.seasons {
    display: flex;
    gap: 5px;
}

.season-image-wrapper img {
    width: 100%;
    height: 100%;
}


/* ============ FEATURED BOTTOM BAR ============ */

.features-bottom-bar {
    display: flex;
    padding: 20px 30px;
    justify-content: space-between;
    margin-top: 15px;
}

.features-bottom-card {
    display: flex;
    gap: 15px;
}

.features-bottom-bar-img {
    width: 40px;
}

.features-bottom-bat-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.features-bottom-bat-text strong {
    font-size: 12px;
}

.features-bottom-bat-text span {
    font-size: 10px;
}



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

    .features-bottom-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}



.mobile-only {
    display: none;
}

@media (max-width: 1024px) {

    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block;
    }

    /* ---------- SIDEBAR -> OFF-CANVAS DRAWER ---------- */
    .sidebar {
        transform: translateX(-100%);
        transition: transform .3s ease;
        z-index: 200;
        width: 250px;
    }

    .sidebar.open {
        transform: translateX(0);
        overflow-y: scroll;
    }

    .sidebar-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(10, 17, 35, .55);
        z-index: 150;
    }

    .sidebar-overlay.open {
        display: block;
    }

    .main-content {
        margin-left: 0;
        padding-bottom: 70px;
        /* room for bottom nav */
    }

    /* ---------- MOBILE HEADER ---------- */
    .mobile-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: var(--bg-light);
        padding: 14px 16px;
        gap: 14px;
    }

    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        width: 22px;
    }

    .mobile-menu-btn span {
        display: block;
        height: 2px;
        width: 100%;
        background: var(--navy-deep);
        border-radius: 2px;
    }

    .mobile-header-logo {
        display: flex;
        align-items: center;
        gap: 8px;
        font-weight: 800;
        font-size: 17px;
        color: var(--navy-deep);
    }

    .mobile-header-logo img {
        width: 26px;
        border-radius: 6px;
    }

    .mobile-header-icons {
        display: flex;
        align-items: center;
        gap: 18px;
        margin-left: auto;
    }

    .mobile-header-icons img {
        width: 21px;
        height: 21px;
    }

    .mobile-header-icons .cart-icon-wrap {
        position: relative;
    }

    .mobile-header-icons .cart-badge {
        position: absolute;
        top: -8px;
        right: -8px;
        background: var(--navy-deep);
        color: var(--white);
        font-size: 9px;
        font-weight: 800;
        width: 15px;
        height: 15px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .shop-by-players, .shop-by-club, .new-arrivals {
            padding: 20px 6px;
    }

    .club-card {
        background-color: white;
    }

    .players-card {
        padding: 0;
    }

    .players-card a,
    .club-card a {
        width: 100%;
    }

    .players-card img{
       object-fit: cover;
       border-top-left-radius: 6px;
        border-top-right-radius: 6px
    }

    /* ---------- HERO BANNER (replaces top-banner carousel) ---------- */
    .hero-banner {
        position: relative;
        margin: 0 0 16px 0;
        overflow: hidden;
        background: var(--navy-deep);
        /* min-height: 350px; */
        display: flex;
        align-items: flex-end;
    }

    .shop-by-players,
    .shop-by-club,
    .new-arrivals {
        background: #f5f1ec;
    }

    .club-card {
        background: #f3eee7;
    }

    .hero-banner.second {
        display: none;
    }

    .hero-banner-bg {
        /* position: absolute; */
        inset: 0;
    }

    .hero-banner-bg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: .55;
    }

    /* .hero-banner-bg::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(0deg, rgba(10, 17, 35, .95) 10%, rgba(10, 17, 35, .3) 70%);
    } */

    .hero-banner-content {
        position: absolute;
        z-index: 2;
        padding: 24px 20px 26px;
        color: var(--white);
        bottom: 60px;
    }

    .hero-tag {
        color: var(--gold);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: .08em;
    }

    .hero-banner-content h1 {
        font-size: 30px;
        line-height: 1.1;
        font-weight: 800;
        margin: 8px 0 10px;
    }

    .hero-banner-content h1 em {
        color: var(--gold);
        font-style: italic;
    }

    .hero-banner-content p {
        font-size: 13px;
        color: var(--text-muted);
        margin-bottom: 16px;
        max-width: 260px;
    }

    .hero-cta {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: var(--gold);
        color: var(--navy-deep);
        font-weight: 700;
        font-size: 12px;
        letter-spacing: .03em;
        padding: 12px 18px;
        border-radius: 8px;
    }

    /* ---------- FEATURE STRIP ---------- */
    .feature-strip {
        display: grid;
        justify-items: center;
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        padding: 0 16px 20px;
        text-align: center;
        position: relative;
        width: 100%;
    }

    .feature-item {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .feature-item img {
        width: 30px;
        height: 30px;
    }

    .feature-item span {
        font-size: 10px;
        color: var(--white);
        font-weight: 400;
        line-height: 1.2;
    }

    /* ---------- FEATURED CATEGORIES STACK ---------- */
    .featured-categories {
        grid-template-columns: 1fr;
        padding: 0 4px;
        gap: 20px;
    }

    .shop-by-players-header h2,
    .shop-by-club-header h2 {
        font-size: 18px;
        font-weight: 600;
    }

    .shop-by-players-header p,
    .shop-by-club-header p,
    .new-arrivals-header p {
        font-weight: 500;
        font-size: 14px;
    }

    .players-card,
    .club-card {
        min-width: 78px;
    }

    .players-card {
        background: white;
    }

    .players-card-image {
        /* height: 70px;
        width: 70px; */
        background: var(--white);
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        /* box-shadow: 0 2px 6px rgba(0, 0, 0, .08); */
    }

    .club-card-image {
        /* height: 70px;
        width: 70px; */
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        /* box-shadow: 0 2px 6px rgba(0, 0, 0, .08); */
    }

    /* .players-card-image img,
    .club-card-image img {
        height: 70%;
        width: auto;
    } */

    .players-card-text h2,
    .club-card-text h2 {
        font-size: 14px;
        font-weight: 700;
        margin-top: 4px;
    }

    .players-card-text p,
    .club-card-text p {
        font-size: 13px;
    }

    /* ---------- NEW ARRIVALS: 2-col grid feel ---------- */
    .new-arrivals-card {
        background: var(--white);
        text-align: left;
        border: 1px solid var(--border);
    }

    .new-arrivals-card-image {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        /* background: var(--cream); */
        border-radius: 8px;
    }

    .new-arrivals-tag {
        background: var(--navy-deep);
        top: 8px;
        left: 8px;
    }

    .new-arrivals-wishlist {
        top: 8px;
        right: 8px;
        background: var(--white);
        border-radius: 50%;
        width: 30px;
        height: 30px;
        padding: 4px;
    }

    .new-arrivals-year,
    .new-arrivals-type,
    .new-arrivals-name {
        font-size: 13px;
    }

    .new-arrivals-price {
        font-size: 16px;
        font-weight: 800;
        color: var(--navy-deep);
        margin-top: 4px;
    }

    /* ---------- BOTTOM NAV ---------- */
    .bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--white);
        border-top: 1px solid var(--border);
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 8px 0 10px;
        z-index: 120;
    }

    .bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
        font-size: 14px;
        color: var(--navy-deep);
        font-weight: 600;
    }

    .bottom-nav-item img {
        width: 30px;
        height: 30px;
    }

    .bottom-nav-item.active {
        color: var(--gold);
    }

    .bottom-nav-item.active img {
        filter: invert(63%) sepia(35%) saturate(500%) hue-rotate(1deg);
    }
}

@media (min-width: 1025px) {
    .mobile-only {
        display: none !important;
    }
}

@media (max-width: 625px) {
    .players-card-text h2,
    .new-arrivals-name {
        font-size: 12px;
        font-weight: 600;
        margin-top: 8px;
        margin-bottom: 8px;
    }

    .club-card-text h2 {
        font-size: 12px;
        font-weight: 600;
        margin-top: 6px;
        margin-bottom: 0;
    }
}

@media (max-width: 600px) {
    .hero-banner.second {
        display: block;
    }

    .hero-banner.first {
        display: none;
    }

    .club-card {
        background: white;
    }
}


@media (max-width: 550px) {
    .feature-item img {
        width: 25px;
        height: 25px;
    }

    .bottom-nav-item img {
        width: 25px;
        height: 25px;
    }

    .bottom-nav-item {
        font-size: 11px;
    }

    .mobile-header-icons {
        margin-left: 0 !important;
    }
}

@media (max-width: 475px) {
    .players-card-text h2,
    .new-arrivals-name {
        font-size: 11px;
        font-weight: 600;
        margin-top: 6px;
        margin-bottom: 6px;
    }
}


@media (max-width: 430px) {
    .feature-item img {
        width: 15px;
        height: 15px;
    }

    .feature-item span {
        font-size: 8px;
    }
}






.search-bar {
    position: relative;
}

.search-results {
    position: absolute;
    top: 55px;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    max-height: 350px;
    overflow-y: auto;
    display: none;
    z-index: 999;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .15);
}

.search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.search-item:hover {
    background: #f7f7f7;
}

.search-item img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.search-info {
    display: flex;
    flex-direction: column;
}

.search-type {
    font-size: 12px;
    color: #888;
}

.search-name {
    font-size: 14px;
    font-weight: 600;
}





/* mobile search  */
/* ============ MOBILE SEARCH (icon -> expanding input) ============ */

.mobile-header-icons {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
}

.mobile-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.mobile-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-search-btn img {
    width: 21px;
    height: 21px;
}

.mobile-search-expand {
    position: absolute;
    right: 26px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    width: 0;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: width .25s ease, padding .25s ease;
    z-index: 210;
}

.mobile-search-expand.open {
    width: 170px;
    padding: 0 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
}

.mobile-search-expand input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 13px;
    padding: 8px 0;
    color: var(--text-dark);
    width: 100%;
}

/* dropdown results anchored under the mobile search icon */
.mobile-search-wrap .search-results {
    top: 42px;
    left: auto;
    right: -10px;
    width: 260px;
}

@media (max-width: 360px) {
    .mobile-search-expand.open {
        width: 130px;
    }

    .mobile-search-wrap .search-results {
        width: 220px;
        right: -50px;
    }
}


.mobile-banner-strip {
    padding: 0 4px;
    margin: 4px 0 4px;
}

.mobile-banner-strip img {
    width: 100%;
    border-radius: 12px;
    display: block;
}