/* =========================================================
   RZ SPORTS - SHOP PAGE
   Clean version
   IMPORTANT:
   This file does NOT control navbar/header spacing.
========================================================= */


/* =========================================
   SHOP PAGE
========================================= */

.shop-page {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background: #f2f2ef;
}


/* =========================================
   SHOP HERO / HEADER
========================================= */

.shop-header {
    width: 100%;
    padding: 55px 0 45px;
    background:
        radial-gradient(
            circle at 75% 50%,
            rgba(255, 230, 0, 0.09),
            transparent 35%
        ),
        #090a0a;
    border-bottom: 1px solid #262626;
}

.shop-header .container {
    width: 100%;
}

.shop-header .section-label {
    margin: 0 0 12px;
    color: #ffe000;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.shop-header h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(42px, 5vw, 70px);
    font-weight: 900;
    font-style: italic;
    line-height: 0.95;
    letter-spacing: -3px;
    text-transform: uppercase;
}

.shop-header p:not(.section-label) {
    max-width: 620px;
    margin: 16px 0 0;
    color: #9b9b9b;
    font-size: 14px;
    line-height: 1.7;
}


/* =========================================
   SHOP CONTENT
========================================= */

.shop-content {
    width: 100%;
    padding: 36px 0 80px;
    background: #f2f2ef;
}


/* =========================================
   FILTER TOOLBAR
========================================= */

.shop-toolbar {
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 32px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #ddddda;
    box-sizing: border-box;
}

.shop-filter-form {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    flex-wrap: wrap;
    margin: 0;
}

.shop-filter-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 190px;
}

.shop-filter-group label {
    color: #242424;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.shop-filter-group select {
    width: 100%;
    min-height: 42px;
    padding: 0 38px 0 13px;
    color: #111111;
    background: #ffffff;
    border: 1px solid #cccccc;
    outline: none;
    font-family: inherit;
    font-size: 11px;
    cursor: pointer;
    box-sizing: border-box;
}

.shop-filter-group select:focus {
    border-color: #ffe000;
}


/* =========================================
   FILTER BUTTON
========================================= */

.shop-filter-form button {
    min-height: 42px;
    padding: 0 22px;
    color: #090909;
    background: #ffe000;
    border: 1px solid #ffe000;
    font-family: inherit;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.2s ease;
}

.shop-filter-form button:hover {
    color: #ffe000;
    background: #090909;
    border-color: #090909;
}


/* =========================================
   CLEAR FILTER
========================================= */

.clear-shop-filters {
    min-height: 42px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #444444;
    background: transparent;
    border: 1px solid #cccccc;
    font-size: 10px;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
    box-sizing: border-box;
}

.clear-shop-filters:hover {
    color: #111111;
    border-color: #111111;
}


/* =========================================
   PRODUCT COUNT
========================================= */

.shop-product-count {
    flex-shrink: 0;
    margin: 0 0 12px;
    color: #777777;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}


/* =========================================
   PRODUCT GRID
========================================= */

.shop-content .product-grid {
    width: 100%;
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 24px;
}


/* =========================================
   PRODUCT CARD
========================================= */

.shop-content .product-card {
    min-width: 0;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e0e0dd;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.shop-content .product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}


/* =========================================
   PRODUCT IMAGE
========================================= */

.shop-content .product-image {
    position: relative;
    width: 100%;
    height: 320px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #e9e9e5;
}

.shop-content .product-slides,
.shop-content .product-slide {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.shop-content .product-slide {
    display: none;
}

.shop-content .product-slide.active {
    display: block;
}

.shop-content .product-slide img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    object-position: center;
}


/* =========================================
   STOCK BADGE
========================================= */

.shop-content .product-tag {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 20;
    padding: 11px 13px;
    color: #090909;
    background: #ffe000;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.5px;
}


/* =========================================
   PRODUCT TEXT
========================================= */

.shop-content .product-category {
    margin: 17px 17px 6px;
    color: #949494;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.shop-content .product-card h3 {
    min-height: 45px;
    margin: 0;
    padding: 0 17px;
}

.shop-content .product-name-link {
    color: #111111;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.4;
    text-decoration: none;
}

.shop-content .product-name-link:hover {
    color: #b89e00;
}


/* =========================================
   PRODUCT BOTTOM
========================================= */

.shop-content .product-bottom {
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 10px 17px 17px;
}

.shop-content .product-bottom > strong {
    color: #111111;
    font-size: 15px;
    font-weight: 900;
}


/* =========================================
   ADD TO CART
========================================= */

.shop-content .add-to-cart {
    min-width: 65px;
    min-height: 38px;
    padding: 0 14px;
    color: #ffffff;
    background: #090909;
    border: 1px solid #090909;
    font-family: inherit;
    font-size: 9px;
    font-weight: 900;
    cursor: pointer;
}

.shop-content .add-to-cart:hover:not(:disabled) {
    color: #090909;
    background: #ffe000;
    border-color: #ffe000;
}

.shop-content .add-to-cart:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


/* =========================================
   SLIDER DOTS
========================================= */

.shop-content .slider-dots {
    position: absolute;
    left: 50%;
    bottom: 11px;
    z-index: 15;
    display: flex;
    align-items: center;
    gap: 6px;
    transform: translateX(-50%);
}

.shop-content .slider-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    background: #d7d7d7;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

.shop-content .slider-dot.active {
    width: 22px;
    background: #ffe000;
    border-radius: 10px;
}


/* =========================================
   SLIDER ARROWS
========================================= */

.shop-content .slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 15;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.65);
    border: 0;
    cursor: pointer;
    transform: translateY(-50%);
    opacity: 0;
    transition: 0.2s ease;
}

.shop-content .slider-prev {
    left: 10px;
}

.shop-content .slider-next {
    right: 10px;
}

.shop-content .product-image:hover .slider-arrow {
    opacity: 1;
}


/* =========================================
   EMPTY STATE
========================================= */

.shop-empty-state {
    width: 100%;
    min-height: 330px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 45px 20px;
    text-align: center;
    background: #ffffff;
    border: 1px dashed #cccccc;
    box-sizing: border-box;
}

.shop-empty-state h2 {
    margin: 0;
    color: #111111;
    font-size: 28px;
    font-weight: 900;
    text-transform: uppercase;
}

.shop-empty-state p {
    max-width: 520px;
    margin: 12px auto 22px;
    color: #777777;
    font-size: 13px;
    line-height: 1.7;
}

.shop-empty-state a {
    padding: 13px 20px;
    color: #111111;
    background: #ffe000;
    font-size: 10px;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1050px) {

    .shop-content .product-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .shop-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .shop-product-count {
        margin: 0;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

    .shop-header {
        padding: 40px 0 34px;
    }

    .shop-header h1 {
        font-size: 42px;
        letter-spacing: -2px;
    }

    .shop-content {
        padding: 28px 0 55px;
    }

    .shop-toolbar {
        padding: 16px;
    }

    .shop-filter-form {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .shop-filter-group {
        width: 100%;
        min-width: 0;
    }

    .shop-filter-form button,
    .clear-shop-filters {
        width: 100%;
    }

    .shop-content .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .shop-content .product-image {
        height: 300px;
    }

    .shop-content .slider-arrow {
        opacity: 1;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 450px) {

    .shop-header h1 {
        font-size: 36px;
    }

    .shop-content .product-image {
        height: 270px;
    }

}

/* =========================================
   PROFESSIONAL SOLD OUT PRODUCT CARD
========================================= */

.product-card.sold-out {
    position: relative;
}

.product-card.sold-out .product-image {
    position: relative;
}

.product-card.sold-out .product-image::after {
    content: "SOLD OUT";
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, .48);

    color: #fff;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 2px;

    z-index: 12;

    pointer-events: none;
}

.product-card.sold-out .product-slide img {
    filter: grayscale(.25) brightness(.8);
}

.product-card.sold-out .product-tag {
    background: #d71920 !important;
    color: #fff !important;
}

.product-card.sold-out .add-to-cart {
    background: #8a8a8a !important;
    color: #fff !important;

    cursor: not-allowed !important;
    opacity: .8;
}