
/* =========================================
   SAIGA SHOP PAGE
   DARK BLACK + GOLD THEME
========================================= */

.saiga-shop-page {
    --shop-bg: #090909;
    --shop-card: #141414;
    --shop-border: rgba(242, 200, 121, .17);
    --shop-gold: #F2C879;
    --shop-text: #f5f5f5;
    --shop-muted: #a4a4a4;

    background: var(--shop-bg);
    color: var(--shop-text);
    font-family: 'DM Sans', sans-serif;
    min-height: 70vh;
}

.saiga-shop-page * {
    box-sizing: border-box;
}

.saiga-shop-page a {
    text-decoration: none;
}


/* HERO */

.shop-hero {
    position: relative;
    padding: 75px 20px;
    text-align: center;
    background:
        radial-gradient(ellipse at center, #252016 0%, #11100d 45%, #090909 100%);
    border-bottom: 1px solid var(--shop-border);
}

.shop-hero-content {
    max-width: 750px;
    margin: auto;
}

.shop-eyebrow {
    color: var(--shop-gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 4px;
}

.shop-hero h1 {
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: clamp(34px, 5vw, 55px);
    margin: 18px 0 12px;
}

.shop-hero h1 span {
    color: var(--shop-gold);
}

.shop-hero p {
    color: #bdbdbd;
    font-size: 15px;
    line-height: 1.8;
}

.shop-gold-line {
    width: 65px;
    height: 2px;
    background: var(--shop-gold);
    margin: 25px auto 0;
}


/* MAIN CONTAINER */

.shop-container {
    width: min(1380px, 94%);
    margin: auto;
    padding: 48px 0 75px;
}


/* TOOLBAR */

.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--shop-border);
}

.shop-result-info > span {
    color: var(--shop-gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.shop-result-info h2 {
    color: #fff;
    font-size: 25px;
    margin: 6px 0;
    font-family: 'Playfair Display', serif;
}

.shop-result-info p {
    color: var(--shop-muted);
    font-size: 13px;
    margin: 0;
}

.shop-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.shop-sort-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.shop-sort-form label {
    color: #aaa;
    font-size: 13px;
}

.shop-sort-form select,
.filter-group select,
.filter-group input {
    background: #191919;
    border: 1px solid #38332a;
    color: #eee;
    border-radius: 5px;
    padding: 11px 12px;
    outline: none;
    font-family: inherit;
    max-width: 100%;
}

.shop-sort-form select {
    min-width: 175px;
}

.shop-sort-form select:focus,
.filter-group select:focus,
.filter-group input:focus {
    border-color: var(--shop-gold);
}

.shop-filter-toggle {
    display: none;
    background: #171717;
    border: 1px solid var(--shop-gold);
    color: var(--shop-gold);
    padding: 11px 16px;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
}


/* SHOP LAYOUT */

.shop-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 30px;
    align-items: start;
}


/* SIDEBAR */

.shop-sidebar {
    background: var(--shop-card);
    border: 1px solid var(--shop-border);
    border-radius: 9px;
    padding: 22px;
    position: sticky;
    top: 20px;
}

.filter-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.filter-heading h3 {
    color: var(--shop-gold);
    font-size: 20px;
    margin: 0;
}

.filter-heading a {
    color: #aaa;
    font-size: 12px;
}

.filter-heading a:hover {
    color: var(--shop-gold);
}

.filter-group {
    padding: 18px 0;
    border-top: 1px solid #302a20;
}

.filter-group h4 {
    color: #eee;
    font-size: 14px;
    margin: 0 0 13px;
}

.filter-group input[type="search"],
.filter-group select {
    width: 100%;
    font-size: 13px;
}

.filter-group input::placeholder {
    color: #858585;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 210px;
    overflow-y: auto;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #c5c5c5;
    font-size: 13px;
}

.filter-option input {
    accent-color: var(--shop-gold);
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.filter-option:hover {
    color: var(--shop-gold);
}

.featured-filter {
    margin-top: 2px;
}

.price-filter-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.price-filter-inputs input {
    width: 100%;
    min-width: 0;
}

.apply-filter-btn,
.clear-filter-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.apply-filter-btn {
    background: var(--shop-gold);
    color: #111;
    border: 1px solid var(--shop-gold);
}

.apply-filter-btn:hover {
    background: #dfb365;
}

.clear-filter-btn {
    color: var(--shop-gold);
    border: 1px solid var(--shop-border);
    margin-top: 10px;
}


/* PRODUCT GRID */

.shop-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.shop-product-card {
    min-width: 0;
    background: var(--shop-card);
    border: 1px solid var(--shop-border);
    border-radius: 8px;
    overflow: hidden;
    transition: .3s ease;
}

.shop-product-card:hover {
    border-color: var(--shop-gold);
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(242, 200, 121, .09);
}


/* PRODUCT IMAGE */

.shop-product-image {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #1d1d1d;
}

.shop-product-image > a:first-child {
    display: block;
    width: 100%;
    height: 100%;
}

.shop-product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.shop-product-card:hover .shop-product-image img {
    transform: scale(1.05);
}


/* BADGES */

.product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    pointer-events: none;
}

.product-featured-badge,
.product-sale-badge {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 6px 9px;
    border-radius: 2px;
}

.product-featured-badge {
    background: var(--shop-gold);
    color: #111;
}

.product-sale-badge {
    background: #a52c2c;
    color: #fff;
}


/* WISHLIST */

.shop-wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 0;
    background: rgba(0,0,0,.75);
    color: #fff;
    font-size: 21px;
    cursor: pointer;
}

.shop-wishlist:hover,
.shop-wishlist.is-liked {
    color: var(--shop-gold);
}


/* VIEW PRODUCT */

.product-view-btn {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: -55px;
    text-align: center;
    padding: 11px;
    background: var(--shop-gold);
    color: #111;
    font-size: 12px;
    font-weight: 800;
    border-radius: 4px;
    transition: .3s ease;
}

.shop-product-card:hover .product-view-btn {
    bottom: 10px;
}


/* PRODUCT CONTENT */

.shop-product-content {
    padding: 16px;
}

.product-brand {
    color: var(--shop-gold);
    font-size: 10px;
    letter-spacing: 1.5px;
    font-weight: 700;
    text-transform: uppercase;
}

.product-name {
    font-size: 15px;
    line-height: 1.5;
    font-weight: 700;
    margin: 7px 0 12px;
    min-height: 45px;
}

.product-name a {
    color: #f4f4f4;
}

.product-name a:hover {
    color: var(--shop-gold);
}

.product-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
}

.product-price strong {
    color: var(--shop-gold);
    font-size: 19px;
    font-weight: 800;
}

.product-price del {
    color: #898989;
    font-size: 12px;
}

.product-variant-info {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin-top: 13px;
}

.product-variant-info span {
    color: #999;
    font-size: 11px;
}

.product-variant-info small {
    padding: 4px 7px;
    border: 1px solid #393939;
    border-radius: 3px;
    color: #ddd;
    font-size: 10px;
}

.product-color-info {
    color: #999;
    font-size: 11px;
    margin-top: 9px;
}

.product-details-link {
    display: block;
    border-top: 1px solid #302a20;
    margin-top: 14px;
    padding-top: 12px;
    color: var(--shop-gold);
    font-size: 12px;
    font-weight: 700;
}

.product-details-link span {
    float: right;
}


/* EMPTY STATE */

.shop-empty-state {
    text-align: center;
    padding: 85px 20px;
    background: #141414;
    border: 1px solid var(--shop-border);
    border-radius: 8px;
}

.empty-icon {
    color: var(--shop-gold);
    font-size: 45px;
}

.shop-empty-state h2 {
    color: #fff;
    font-family: 'Playfair Display', serif;
    margin: 15px 0;
}

.shop-empty-state p {
    color: #aaa;
    font-size: 14px;
    line-height: 1.7;
}

.shop-empty-state a {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 20px;
    background: var(--shop-gold);
    color: #111;
    font-weight: 700;
    border-radius: 4px;
}


/* TABLET */

@media (max-width: 1100px) {

    .shop-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .shop-layout {
        grid-template-columns: 225px minmax(0, 1fr);
        gap: 18px;
    }

}


/* MOBILE */

@media (max-width: 767px) {

    .shop-hero {
        padding: 48px 16px;
    }

    .shop-hero h1 {
        font-size: 36px;
    }

    .shop-hero p {
        font-size: 13px;
    }

    .shop-container {
        width: 94%;
        padding: 30px 0 50px;
    }

    .shop-toolbar {
        align-items: flex-end;
        flex-wrap: wrap;
        gap: 12px;
    }

    .shop-result-info h2 {
        font-size: 21px;
    }

    .shop-toolbar-actions {
        width: 100%;
        justify-content: space-between;
    }

    .shop-filter-toggle {
        display: block;
    }

    .shop-sort-form {
        flex: 1;
        justify-content: flex-end;
    }

    .shop-sort-form label {
        display: none;
    }

    .shop-sort-form select {
        min-width: 0;
        width: 100%;
        max-width: 200px;
        font-size: 11px;
        padding: 10px 7px;
    }

    .shop-layout {
        display: flex;
        flex-direction: column;
        gap: 18px;
    }

    .shop-sidebar {
        display: none;
        position: static;
        width: 100%;
        padding: 17px;
    }

    .shop-sidebar.is-open {
        display: block;
    }

    .shop-products-area {
        width: 100%;
    }

    .shop-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 11px;
    }

    .shop-product-content {
        padding: 11px;
    }

    .product-name {
        font-size: 13px;
        min-height: 39px;
        margin: 6px 0 9px;
    }

    .product-price {
        gap: 5px;
    }

    .product-price strong {
        font-size: 16px;
    }

    .product-price del {
        font-size: 10px;
    }

    .product-brand {
        font-size: 9px;
    }

    .product-featured-badge,
    .product-sale-badge {
        font-size: 8px;
        padding: 5px 6px;
    }

    .shop-wishlist {
        width: 30px;
        height: 30px;
        font-size: 18px;
        top: 8px;
        right: 8px;
    }

    .product-view-btn {
        display: none;
    }

    .product-details-link {
        font-size: 11px;
    }

}


/* SMALL MOBILE */

@media (max-width: 360px) {

    .shop-product-grid {
        gap: 8px;
    }

    .shop-product-content {
        padding: 9px;
    }

    .product-price strong {
        font-size: 14px;
    }

    .product-name {
        font-size: 12px;
    }

    .product-variant-info {
        gap: 4px;
    }

}
