﻿﻿.bs-products {
    margin-bottom: 40px;
}

.bs-products-container {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.bs-products-header {
    background: linear-gradient(135deg, #0092e6, #00629b);
    padding: 8px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

    .bs-products-header::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
        animation: rotateBg 20s linear infinite;
    }

@keyframes rotateBg {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.bs-products-title {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

    .bs-products-title i {
        font-size: 26px;
        color: #fff;
        animation: firePulse 1.5s ease infinite;
    }

@keyframes firePulse {
    0%, 100% {
        transform: scale(1);
        text-shadow: 0 0 5px rgba(255,255,255,0.5);
    }

    50% {
        transform: scale(1.1);
        text-shadow: 0 0 15px rgba(255,255,255,0.8);
    }
}

.bs-products-title h3 {
    font-size: 18px;
    color: #fff;
    margin: 0;
    font-weight: bold;
}

.bs-products-link {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 30px;
    color: #fff;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
    z-index: 1;
}

    .bs-products-link:hover {
        background: #fff;
        color: #0092e6;
        transform: translateX(-5px);
        text-decoration: none;
    }

.bs-products-slider {
    padding: 25px 20px;
    overflow: visible;
}

.bs-products-swiper {
    overflow: visible;
    padding: 5px 10px !important;
}

    .bs-products-swiper .swiper-slide {
        height: auto;
        padding-bottom: 10px;
    }

.bs-products-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 5px;
}

    .bs-products-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 146, 230, 0.15);
    }

.bs-products-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    padding: 4px 12px;
    border-radius: 30px;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(238,90,36,0.3);
}

    .bs-products-badge i {
        font-size: 12px;
    }

.bs-products-image {
    background: #f8f9fa;
    padding: 15px;
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

    .bs-products-image a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
    }

    .bs-products-image img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
        transition: transform 0.4s ease;
        border-radius:10px;
    }

.bs-products-card:hover .bs-products-image img {
    transform: scale(1.03);
}

.bs-products-freeship {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 146, 230, 0.95);
    backdrop-filter: blur(5px);
    padding: 4px 12px;
    border-radius: 30px;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
}

    .bs-products-freeship i {
        font-size: 12px;
    }

.bs-products-info {
    padding: 12px 12px 15px 12px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.bs-products-name {
    font-size: 13px;
    margin: 0 0 10px 0;
    line-height: 1.8;
    height: 46px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    font-weight: 600;
}

    .bs-products-name a {
        color: #2c3e50;
        text-decoration: none;
        transition: color 0.2s;
        display: block;
        line-height: 1.8;
    }

        .bs-products-name a:hover {
            color: #0092e6;
        }

.bs-products-price {
    padding-top: 10px;
    border-top: 1px solid #eee;
    margin-top: auto;
}

.bs-products-current {
    color: #0092e6;
    font-size: 16px;
    font-weight: bold;
    display: inline-block;
}

.bs-products-old {
    color: #aaa;
    font-size: 11px;
    text-decoration: line-through;
    margin-right: 6px;
    display: inline-block;
}

.bs-products-unavailable {
    padding-top: 10px;
    border-top: 1px solid #eee;
    margin-top: auto;
}

.bs-products-soon {
    color: #0092e6;
    font-size: 13px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.bs-products-out {
    color: #999;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.bs-products-swiper .swiper-button-next,
.bs-products-swiper .swiper-button-prev,
.bs-products-swiper .swiper-pagination {
    display: none !important;
}

/* کامپیوتر بزرگ */
@media (min-width: 1200px) {
    .bs-products-swiper {
        padding: 5px 15px !important;
    }

        .bs-products-swiper .swiper-slide {
            padding-bottom: 12px;
        }

    .bs-products-image {
        height: 210px;
        padding: 18px;
    }

    .bs-products-info {
        padding: 14px 14px 18px 14px;
    }

    .bs-products-name {
        font-size: 14px;
        line-height: 1.8;
        height: 50px;
        margin-bottom: 12px;
    }

    .bs-products-current {
        font-size: 17px;
    }
}

/* کامپیوتر کوچک و تبلت بزرگ */
@media (min-width: 768px) and (max-width: 1199px) {
    .bs-products-swiper {
        padding: 5px 12px !important;
    }

        .bs-products-swiper .swiper-slide {
            padding-bottom: 10px;
        }

    .bs-products-image {
        height: 190px;
        padding: 15px;
    }

    .bs-products-info {
        padding: 12px 12px 15px 12px;
    }

    .bs-products-name {
        font-size: 13px;
        line-height: 1.7;
        height: 44px;
    }

    .bs-products-current {
        font-size: 15px;
    }
}

/* تبلت */
@media (max-width: 767px) {
    .bs-products-header {
        padding: 10px 18px;
    }

    .bs-products-title i {
        font-size: 20px;
    }

    .bs-products-title h3 {
        font-size: 15px;
    }

    .bs-products-link {
        padding: 5px 14px;
        font-size: 11px;
    }

    .bs-products-slider {
        padding: 15px 12px;
    }

    .bs-products-swiper {
        padding: 5px 8px !important;
    }

        .bs-products-swiper .swiper-slide {
            padding-bottom: 8px;
        }

    .bs-products-image {
        height: 170px;
        padding: 12px;
    }

    .bs-products-info {
        padding: 10px 10px 12px 10px;
    }

    .bs-products-name {
        font-size: 12px;
        line-height: 1.6;
        height: 40px;
        margin-bottom: 8px;
    }

    .bs-products-current {
        font-size: 14px;
    }

    .bs-products-old {
        font-size: 10px;
    }
}

/* موبایل */
@media (max-width: 576px) {
    .bs-products-swiper {
        padding: 5px 5px !important;
    }

        .bs-products-swiper .swiper-slide {
            padding-bottom: 6px;
        }

    .bs-products-image {
        height: 150px;
        padding: 10px;
    }

    .bs-products-info {
        padding: 8px 8px 10px 8px;
    }

    .bs-products-name {
        font-size: 11px;
        line-height: 1.5;
        height: 35px;
        margin-bottom: 6px;
    }

        .bs-products-name a {
            line-height: 1.5;
        }

    .bs-products-current {
        font-size: 13px;
    }

    .bs-products-badge {
        padding: 3px 10px;
        font-size: 9px;
    }

    .bs-products-freeship {
        padding: 3px 10px;
        font-size: 9px;
    }
}
/*----محصولات----*/
/* جدیدترین محصولات - استایل مدرن */
.modern-products {
    margin-bottom: 40px;
}

.modern-products-container {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.modern-products-header {
    background: linear-gradient(135deg, #10ac84, #1dd1a1);
    padding: 8px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

    .modern-products-header::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
        animation: modernRotateBg 20s linear infinite;
    }

@keyframes modernRotateBg {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.modern-products-title {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

    .modern-products-title i {
        font-size: 26px;
        color: #fff;
        animation: starPulse 1.5s ease infinite;
    }

@keyframes starPulse {
    0%, 100% {
        transform: scale(1);
        text-shadow: 0 0 5px rgba(255,255,255,0.5);
    }

    50% {
        transform: scale(1.1);
        text-shadow: 0 0 15px rgba(255,255,255,0.8);
    }
}

.modern-products-title h3 {
    font-size: 18px;
    color: #fff;
    margin: 0;
    font-weight: bold;
}

.modern-products-link {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 30px;
    color: #fff;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
    z-index: 1;
}

    .modern-products-link:hover {
        background: #fff;
        color: #10ac84;
        transform: translateX(-5px);
        text-decoration: none;
    }

.modern-products-slider {
    padding: 25px 20px;
    overflow: visible;
}

.modern-products-swiper {
    overflow: visible;
    padding: 5px 10px !important;
}

    .modern-products-swiper .swiper-slide {
        height: auto;
        padding-bottom: 10px;
    }

.modern-product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 5px;
}

    .modern-product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(16, 172, 132, 0.15);
    }

.modern-product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #10ac84, #1dd1a1);
    padding: 4px 12px;
    border-radius: 30px;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(16, 172, 132, 0.3);
}

    .modern-product-badge i {
        font-size: 12px;
    }

.modern-product-image {
    background: #f8f9fa;
    padding: 15px;
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

    .modern-product-image a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
    }

    .modern-product-image img {
        max-width: 100%;
        max-height: 100%;
        border-radius: 10px !important;
        width: auto;
        height: auto;
        object-fit: contain;
        transition: transform 0.4s ease;
    }

.modern-product-card:hover .modern-product-image img {
    transform: scale(1.03);
}

.modern-product-freeship {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(16, 172, 132, 0.95);
    backdrop-filter: blur(5px);
    padding: 4px 12px;
    border-radius: 30px;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
}

.modern-product-off {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(238, 90, 36, 0.95);
    backdrop-filter: blur(5px);
    padding: 4px 12px;
    border-radius: 30px;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
}

    .modern-product-freeship i,
    .modern-product-off i {
        font-size: 12px;
    }

.modern-product-info {
    padding: 12px 12px 15px 12px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.modern-product-name {
    font-size: 13px;
    margin: 0 0 10px 0;
    line-height: 1.8;
    height: 46px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    font-weight: 600;
}

    .modern-product-name a {
        color: #2c3e50;
        text-decoration: none;
        transition: color 0.2s;
        display: block;
        line-height: 1.8;
    }

        .modern-product-name a:hover {
            color: #10ac84;
        }

.modern-product-price {
    padding-top: 10px;
    border-top: 1px solid #eee;
    margin-top: auto;
}

.modern-price-current {
    color: #10ac84;
    font-size: 16px;
    font-weight: bold;
    display: inline-block;
}

.modern-price-old {
    color: #aaa;
    font-size: 11px;
    text-decoration: line-through;
    margin-right: 6px;
    display: inline-block;
}

.modern-product-unavailable {
    padding-top: 10px;
    border-top: 1px solid #eee;
    margin-top: auto;
}

.modern-status-soon {
    color: #10ac84;
    font-size: 13px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.modern-status-out {
    color: #999;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.modern-products-swiper .swiper-button-next,
.modern-products-swiper .swiper-button-prev,
.modern-products-swiper .swiper-pagination {
    display: none !important;
}

/* کامپیوتر بزرگ */
@media (min-width: 1200px) {
    .modern-products-swiper {
        padding: 5px 15px !important;
    }

        .modern-products-swiper .swiper-slide {
            padding-bottom: 12px;
        }

    .modern-product-image {
        height: 210px;
        padding: 18px;
    }

    .modern-product-info {
        padding: 14px 14px 18px 14px;
    }

    .modern-product-name {
        font-size: 14px;
        line-height: 1.8;
        height: 50px;
        margin-bottom: 12px;
    }

    .modern-price-current {
        font-size: 17px;
    }
}

/* کامپیوتر کوچک و تبلت بزرگ */
@media (min-width: 768px) and (max-width: 1199px) {
    .modern-products-swiper {
        padding: 5px 12px !important;
    }

        .modern-products-swiper .swiper-slide {
            padding-bottom: 10px;
        }

    .modern-product-image {
        height: 190px;
        padding: 15px;
    }

    .modern-product-info {
        padding: 12px 12px 15px 12px;
    }

    .modern-product-name {
        font-size: 13px;
        line-height: 1.7;
        height: 44px;
    }

    .modern-price-current {
        font-size: 15px;
    }
}

/* تبلت */
@media (max-width: 767px) {
    .modern-products-header {
        padding: 10px 18px;
    }

    .modern-products-title i {
        font-size: 20px;
    }

    .modern-products-title h3 {
        font-size: 15px;
    }

    .modern-products-link {
        padding: 5px 14px;
        font-size: 11px;
    }

    .modern-products-slider {
        padding: 15px 12px;
    }

    .modern-products-swiper {
        padding: 5px 8px !important;
    }

        .modern-products-swiper .swiper-slide {
            padding-bottom: 8px;
        }

    .modern-product-image {
        height: 170px;
        padding: 12px;
    }

    .modern-product-info {
        padding: 10px 10px 12px 10px;
    }

    .modern-product-name {
        font-size: 12px;
        line-height: 1.6;
        height: 40px;
        margin-bottom: 8px;
    }

    .modern-price-current {
        font-size: 14px;
    }

    .modern-price-old {
        font-size: 10px;
    }
}

/* موبایل */
@media (max-width: 576px) {
    .modern-products-swiper {
        padding: 5px 5px !important;
    }

        .modern-products-swiper .swiper-slide {
            padding-bottom: 6px;
        }

    .modern-product-image {
        height: 150px;
        padding: 10px;
    }

    .modern-product-info {
        padding: 8px 8px 10px 8px;
    }

    .modern-product-name {
        font-size: 11px;
        line-height: 1.5;
        height: 35px;
        margin-bottom: 6px;
    }

        .modern-product-name a {
            line-height: 1.5;
        }

    .modern-price-current {
        font-size: 13px;
    }

    .modern-product-badge {
        padding: 3px 10px;
        font-size: 9px;
    }

    .modern-product-freeship,
    .modern-product-off {
        padding: 3px 10px;
        font-size: 9px;
    }
}


/* ============================================
   آرشیو محصولات - استایل کامل
   ============================================ */

/* بخش اصلی */
.archive-page {
    padding: 20px 0;
    background: #f8f9fa;
    min-height: calc(100vh - 200px);
}

.archive-page-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #0092e6, #00629b);
    border-radius: 20px;
    color: #fff;
}

    .archive-page-header h1 {
        font-size: 24px;
        margin-bottom: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

        .archive-page-header h1 i {
            font-size: 28px;
        }

    .archive-page-header p {
        font-size: 14px;
        opacity: 0.9;
        margin: 0;
    }

.archive-content {
    max-width: 1400px;
    margin: 0 auto;
}

.archive-row {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

/* ============================================
   فیلتر موبایل
   ============================================ */
.filter-mobile {
    display: none;
    margin-bottom: 20px;
}

.filter-mobile-btn {
    width: 100%;
    background: linear-gradient(135deg, #0092e6, #00629b);
    border: none;
    padding: 14px 20px;
    border-radius: 16px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
}

    .filter-mobile-btn i:first-child {
        font-size: 20px;
    }

.filter-mobile-group {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
    margin-top: 16px;
    border: 1px solid #eee;
}

.filter-mobile-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #0092e6;
}

    .filter-mobile-label i {
        color: #0092e6;
        font-size: 18px;
    }

.filter-mobile-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
}

.filter-mobile-category {
    margin-bottom: 8px;
}

.filter-mobile-category-title {
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: #555;
    font-size: 14px;
}

.filter-mobile-subcategory {
    padding-right: 15px;
    margin-top: 8px;
}

.filter-mobile-check {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    cursor: pointer;
    font-size: 13px;
}

    .filter-mobile-check input {
        width: 18px;
        height: 18px;
        cursor: pointer;
        accent-color: #0092e6;
    }

.filter-mobile-price {
    display: flex;
    align-items: center;
    gap: 12px;
}

.price-field {
    flex: 1;
}

    .price-field label {
        display: block;
        font-size: 12px;
        color: #666;
        margin-bottom: 4px;
    }

.price-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 14px;
}

.price-sep {
    color: #999;
    font-size: 12px;
}

.filter-mobile-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.btn-filter-apply {
    flex: 1;
    background: linear-gradient(135deg, #0092e6, #00629b);
    border: none;
    padding: 12px;
    border-radius: 12px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

    .btn-filter-apply:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0,146,230,0.3);
    }

.btn-filter-reset {
    flex: 1;
    background: #f0f0f0;
    border: none;
    padding: 12px;
    border-radius: 12px;
    color: #666;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

    .btn-filter-reset:hover {
        background: #e0e0e0;
        text-decoration: none;
        color: #333;
    }

/* ============================================
   سایدبار دسکتاپ
   ============================================ */
.archive-sidebar {
    width: 280px;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
    align-self: flex-start;
    height: fit-content;
}

.filter-desktop {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 120px);
}

/* هدر فیلتر - ثابت */
.filter-desktop-header {
    background: linear-gradient(135deg, #0092e6, #00629b);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 10;
}

    .filter-desktop-header i {
        font-size: 24px;
        color: #fff;
    }

    .filter-desktop-header h4 {
        color: #fff;
        margin: 0;
        font-size: 16px;
        font-weight: bold;
    }

/* محتوای قابل اسکرول */
.filter-desktop-scroll {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

    .filter-desktop-scroll::-webkit-scrollbar {
        width: 4px;
    }

    .filter-desktop-scroll::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }

    .filter-desktop-scroll::-webkit-scrollbar-thumb {
        background: #0092e6;
        border-radius: 10px;
    }

        .filter-desktop-scroll::-webkit-scrollbar-thumb:hover {
            background: #00629b;
        }

/* دکمه‌های پایین - ثابت */
.filter-desktop-actions {
    padding: 18px 20px;
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    background: #fff;
    border-top: 1px solid #f0f0f0;
    position: sticky;
    bottom: 0;
    z-index: 10;
}

.filter-desktop-section {
    padding: 18px 20px;
    border-bottom: 1px solid #f0f0f0;
}

    .filter-desktop-section:last-of-type {
        border-bottom: none;
    }

    .filter-desktop-section h5 {
        font-size: 14px;
        font-weight: bold;
        margin-bottom: 15px;
        color: #333;
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .filter-desktop-section h5 i {
            color: #0092e6;
            font-size: 18px;
        }

.filter-radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-radio {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    color: #555;
}

    .filter-radio input {
        width: 18px;
        height: 18px;
        cursor: pointer;
        accent-color: #0092e6;
    }

.filter-desktop-category {
    margin-bottom: 12px;
}

.filter-desktop-category-title {
    padding: 8px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: #555;
    font-size: 13px;
    font-weight: 500;
}

    .filter-desktop-category-title i {
        font-size: 18px;
        color: #0092e6;
    }

.filter-desktop-subcategory {
    padding-right: 15px;
    margin-top: 8px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    cursor: pointer;
    font-size: 12px;
    color: #666;
}

    .filter-checkbox input {
        width: 16px;
        height: 16px;
        cursor: pointer;
        accent-color: #0092e6;
    }

.filter-desktop-price {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.price-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.price-currency {
    position: absolute;
    right: 12px;
    font-size: 11px;
    color: #999;
}

.price-input-wrapper .price-input {
    padding-left: 12px;
    padding-right: 50px;
}

/* ============================================
   محصولات
   ============================================ */
.archive-products {
    flex: 1;
    min-width: 0;
}

.archive-products-header {
    background: #fff;
    padding: 15px 20px;
    border-radius: 16px;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.archive-products-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .archive-products-title i {
        font-size: 22px;
        color: #0092e6;
    }

    .archive-products-title h3 {
        font-size: 16px;
        margin: 0;
        color: #333;
    }

.archive-products-count {
    background: #f0f0f0;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 13px;
    color: #666;
}

    .archive-products-count span:first-child {
        color: #0092e6;
        font-weight: bold;
    }

.archive-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.archive-product-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    position: relative;
    display: flex;
    flex-direction: column;
}

    .archive-product-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 15px 35px rgba(0, 146, 230, 0.12);
    }

.archive-product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.badge-hot {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 10px;
    font-weight: bold;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.badge-new {
    background: linear-gradient(135deg, #10ac84, #1dd1a1);
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 10px;
    font-weight: bold;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.badge-off {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 10px;
    font-weight: bold;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

    .badge-hot i,
    .badge-new i,
    .badge-off i {
        font-size: 11px;
    }

.archive-product-img {
    background: #f8f9fa;
    padding: 25px;
    height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

    .archive-product-img a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
    }

    .archive-product-img img {
        max-width: 100%;
        max-height: 100%;
        border-radius: 10px !important;
        width: auto;
        height: auto;
        object-fit: contain;
        transition: transform 0.4s ease;
    }

.archive-product-card:hover .archive-product-img img {
    transform: scale(1.05);
}

.free-ship-tag {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0, 146, 230, 0.95);
    padding: 5px 12px;
    border-radius: 30px;
    color: #fff;
    font-size: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(5px);
    z-index: 5;
}

    .free-ship-tag i {
        font-size: 11px;
    }

.archive-product-info {
    padding: 16px;
    text-align: center;
    flex: 1;
}

.archive-product-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 10px 0;
    line-height: 1.8;
    min-height: 48px;
    max-height: 48px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

    .archive-product-title a {
        color: #2c3e50;
        text-decoration: none;
        transition: color 0.2s;
        line-height: 1.8;
    }

        .archive-product-title a:hover {
            color: #0092e6;
        }

.archive-product-colors {
    margin: 10px 0 12px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.color-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: transform 0.2s;
}

    .color-dot:hover {
        transform: scale(1.2);
    }

.color-more {
    font-size: 11px;
    color: #0092e6;
    font-weight: bold;
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 20px;
    cursor: pointer;
}

.archive-product-price {
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.price-current {
    color: #0092e6;
    font-size: 17px;
    font-weight: bold;
}

.price-old {
    color: #aaa;
    font-size: 12px;
    text-decoration: line-through;
}

.archive-product-status {
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.status-soon {
    color: #0092e6;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.status-out {
    color: #999;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* صفحه خالی */
.archive-empty {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border-radius: 20px;
}

    .archive-empty i {
        font-size: 80px;
        color: #ccc;
        margin-bottom: 20px;
    }

    .archive-empty h3 {
        font-size: 18px;
        color: #666;
        margin-bottom: 10px;
    }

    .archive-empty p {
        color: #999;
        font-size: 14px;
        margin-bottom: 20px;
    }

.empty-back-btn {
    display: inline-block;
    background: linear-gradient(135deg, #0092e6, #00629b);
    color: #fff;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

    .empty-back-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0,146,230,0.3);
        text-decoration: none;
        color: #fff;
    }

/* صفحه‌بندی */
.archive-pagination {
    text-align: center;
    margin-top: 20px;
    padding: 20px 0;
    background: #fff;
    border-radius: 16px;
}

    .archive-pagination ul {
        display: inline-flex;
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
        margin: 0;
        padding: 0;
    }

        .archive-pagination ul li {
            display: inline-block;
            list-style: none;
        }

            .archive-pagination ul li a,
            .archive-pagination ul li span {
                display: flex;
                align-items: center;
                justify-content: center;
                min-width: 40px;
                height: 40px;
                padding: 0 12px;
                border-radius: 12px;
                background: #f8f9fa;
                color: #0092e6;
                text-decoration: none;
                transition: all 0.3s;
                font-size: 14px;
                cursor: pointer;
            }

                .archive-pagination ul li a:hover {
                    background: #0092e6;
                    color: #fff;
                }

            .archive-pagination ul li .page-active {
                background: #0092e6;
                color: #fff;
            }

            .archive-pagination ul li a.disabled,
            .archive-pagination ul li span.disabled {
                opacity: 0.5;
                cursor: not-allowed;
            }

    .archive-pagination .page-info {
        margin-top: 15px;
        font-size: 13px;
        color: #999;
    }

/* ============================================
   ریسپانسیو
   ============================================ */
@media (max-width: 992px) {
    .archive-sidebar {
        display: none;
    }

    .filter-mobile {
        display: block;
    }

    .archive-products {
        width: 100%;
    }

    .archive-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .archive-page-header h1 {
        font-size: 20px;
    }

        .archive-page-header h1 i {
            font-size: 24px;
        }

    .archive-products-header {
        padding: 12px 15px;
    }

    .archive-products-title h3 {
        font-size: 14px;
    }

    .archive-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .archive-product-img {
        height: 180px;
        padding: 20px;
    }

    .archive-product-title {
        font-size: 12px;
        line-height: 1.6;
        min-height: 40px;
        max-height: 40px;
    }

    .price-current {
        font-size: 14px;
    }

    .price-old {
        font-size: 11px;
    }

    .color-dot {
        width: 14px;
        height: 14px;
    }

    .archive-pagination ul li a,
    .archive-pagination ul li span {
        min-width: 35px;
        height: 35px;
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .archive-page {
        padding: 10px 0;
    }

    .archive-page-header {
        padding: 15px;
        margin-bottom: 20px;
    }

        .archive-page-header h1 {
            font-size: 18px;
        }

    .archive-products-grid {
        gap: 12px;
    }

    .archive-product-img {
        height: 150px;
        padding: 15px;
    }

    .archive-product-info {
        padding: 12px;
    }

    .archive-product-title {
        font-size: 11px;
        line-height: 1.5;
        min-height: 34px;
        max-height: 34px;
    }

    .price-current {
        font-size: 13px;
    }

    .price-old {
        font-size: 10px;
    }

    .badge-hot, .badge-new, .badge-off {
        padding: 3px 10px;
        font-size: 8px;
    }

        .badge-hot i, .badge-new i, .badge-off i {
            font-size: 9px;
        }

    .free-ship-tag {
        padding: 3px 10px;
        font-size: 8px;
    }

        .free-ship-tag i {
            font-size: 9px;
        }

    .color-dot {
        width: 12px;
        height: 12px;
    }

    .color-more {
        font-size: 9px;
        padding: 1px 6px;
    }

    .archive-pagination ul {
        gap: 5px;
    }

        .archive-pagination ul li a,
        .archive-pagination ul li span {
            min-width: 32px;
            height: 32px;
            font-size: 12px;
            padding: 0 8px;
        }

    .filter-mobile-btn {
        padding: 12px 16px;
        font-size: 14px;
    }

    .filter-mobile-group {
        padding: 12px;
    }

    .btn-filter-apply,
    .btn-filter-reset {
        padding: 10px;
        font-size: 13px;
    }
}



/* ============================================
   استایل اختصاصی اسلایدر دسته‌بندی
   ============================================ */

.category-premium__swiper {
    overflow: visible;
    padding: 5px 0 10px 0;
}

    .category-premium__swiper .swiper-button-next,
    .category-premium__swiper .swiper-button-prev,
    .category-premium__swiper .swiper-pagination {
        display: none !important;
    }

    .category-premium__swiper .swiper-slide {
        height: auto;
        padding-left: 2px;
        padding-right: 2px;
    }
@media (min-width: 1200px) {
    .category-premium__swiper {
        margin-left: -4px;
        margin-right: -4px;
    }
}
/* کارت محصول */
.premium-product-card {
    background: #fff !important;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
    border: 1px solid #f0f2f5;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

    .premium-product-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 35px rgba(0,146,230,0.12);
    }

/* تصویر محصول */
.premium-product-image {
    position: relative;
    background: #f8fafc;
    padding: 20px;
    aspect-ratio: 4 / 3;
    min-height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    .premium-product-image img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
        transition: transform 0.3s ease;
        border-radius:10px;
    }

.premium-product-card:hover .premium-product-image img {
    transform: scale(1.05);
}

/* برچسب‌ها (روی تصویر) */
.premium-badge {
    position: absolute;
    z-index: 10;
    padding: 5px 12px;
    border-radius: 40px;
    font-size: 9px;
    font-weight: 700;
    backdrop-filter: blur(4px);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.premium-badge i {
    font-size: 14px;
}

    /* تخفیف: بالا سمت راست */
    .premium-badge.discount {
        top: 12px;
        right: 12px;
        bottom: auto;
        left: auto;
        background: linear-gradient(135deg, #ff6b6b, #ee5a24);
        color: #fff;
    }

    /* ارسال رایگان: پایین سمت چپ */
    .premium-badge.free-ship {
        top: auto;
        right: auto;
        bottom: 5px;
        left: 5px;
        background: rgba(0, 146, 230, 0.9);
        color: #fff;
    }

/* اطلاعات محصول */
.premium-product-info {
    padding: 16px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.premium-product-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 5px;
    line-height: 1.45;
    height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

    .premium-product-title a {
        color: #1e293b;
        text-decoration: none;
        transition: color 0.2s;
    }

        .premium-product-title a:hover {
            color: #0092e6;
        }

.premium-product-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    border-top: 1px solid #eef2f8;
    margin-top: auto;
    padding-top: 14px;
}

.price-old {
    font-size: 1rem;
    color: #94a3b8;
    text-decoration: line-through;
}

.price-current {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0092e6;
}

/* ریسپانسیو برای تطابق ارتفاع تصاویر */
@media (max-width: 767px) {
    .premium-product-image {
        height: 160px; /* ارتفاع ثابت برای موبایل */
        padding: 52px;
    }

    .premium-product-title {
        font-size: 1.3rem;
        height: 2.8em;
    }

    .price-current {
        font-size: 1.4rem;
    }
}

@media (max-width: 576px) {
    .premium-product-image {
        height: 150px;
        padding: 10px;
    }

    .premium-product-title {
        font-size: 1.2rem;
    }

    .price-current {
        font-size: 1.2rem;
    }
}
.category-premium__header a:hover {
    border:1px double #00629b;
    transform: translateX(-5px);
    text-decoration: none;
}

/* استایل دکمه‌های رادیویی برای مرتب سازی */
.sort-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.sort-radio {
    flex: 1;
    min-width: calc(50% - 10px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 40px;
    padding: 10px 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .sort-radio input {
        display: none;
    }

    .sort-radio span {
        font-size: 13px;
        color: #475569;
        font-weight: 500;
    }

    .sort-radio:has(input:checked) {
        background: #0092e6;
        border-color: #0092e6;
    }

        .sort-radio:has(input:checked) span {
            color: #fff;
        }
/* ============================================
   استایل مدرن برای دسته بندی محصولات در موبایل
   ============================================ */

/* استایل دسته بندی اصلی */
.filter-mobile-category {
    margin-bottom: 12px;
    border-radius: 16px;
    background: #f8fafc;
    transition: all 0.3s ease;
}

    .filter-mobile-category:hover {
        background: #f1f5f9;
    }

/* عنوان دسته بندی */
.filter-mobile-category-title {
    padding: 14px 12px !important;
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 16px;
}

    .filter-mobile-category-title span {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .filter-mobile-category-title i:first-child {
        color: #0092e6;
        font-size: 20px;
    }

    .filter-mobile-category-title i:last-child {
        color: #94a3b8;
        font-size: 18px;
        transition: transform 0.3s ease;
    }

    .filter-mobile-category-title[aria-expanded="true"] i:last-child {
        transform: rotate(180deg);
        color: #0092e6;
    }

/* زیرمجموعه‌ها */
.filter-mobile-subcategory {
    padding: 8px 12px 16px 28px !important;
    margin-top: 0 !important;
    border-top: 1px solid #e2e8f0;
    background: #fff;
    border-radius: 0 0 16px 16px;
}

/* استایل چک باکس‌ها */
.filter-mobile-check {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 12px;
}

    .filter-mobile-check:hover {
        background: #f8fafc;
        padding-right: 8px;
    }

    .filter-mobile-check input {
        width: 18px;
        height: 18px;
        cursor: pointer;
        accent-color: #0092e6;
        margin: 0;
    }

    .filter-mobile-check span {
        font-size: 14px;
        color: #475569;
        font-weight: 500;
        flex: 1;
    }

/* آیکون دسته بندی پیش فرض */
.filter-mobile-category-title span::before {
    content: '\f197';
    font-family: 'Material-Design-Iconic-Font';
    font-size: 18px;
    color: #0092e6;
    margin-left: 10px;
}

/* رنگ و استایل برای سطوح مختلف */
.filter-mobile-category[data-level="1"] .filter-mobile-category-title {
    padding-right: 20px;
    font-weight: 700;
    background: linear-gradient(90deg, #f8fafc, transparent);
}

/* انیمیشن باز شدن */
.filter-mobile-subcategory.collapse {
    transition: all 0.3s ease;
}

    .filter-mobile-subcategory.collapse.show {
        margin-bottom: 0;
    }

/* آیکون دسته بندی‌های بدون زیرمجموعه */
.filter-mobile-category:not(:has(.collapse)) .filter-mobile-category-title i:last-child {
    display: none;
}
/* ============================================
   استایل مدرن برای محدوده قیمت در موبایل
   ============================================ */

/* گروه قیمت */
.filter-mobile-group:has(.filter-mobile-price) {
    background: linear-gradient(135deg, #fff, #f8fafc);
}

.filter-mobile-label i.zmdi-money-box {
    background: #0092e6;
    color: #fff;
    border-radius: 50%;
    padding: 4px;
    font-size: 14px;
}

/* کانتینر قیمت */
.filter-mobile-price {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 5px 0 10px 0;
}

/* فیلدهای ورودی */
.price-field {
    flex: 1;
    position: relative;
}

    .price-field label {
        display: block;
        font-size: 11px;
        color: #64748b;
        margin-bottom: 6px;
        font-weight: 500;
        letter-spacing: 0.3px;
    }

.price-input {
    width: 100%;
    padding: 12px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    text-align: center;
    background: #fff;
    transition: all 0.3s ease;
    font-family: inherit;
}

    .price-input:focus {
        outline: none;
        border-color: #0092e6;
        box-shadow: 0 0 0 3px rgba(0, 146, 230, 0.1);
    }

    .price-input::placeholder {
        color: #cbd5e1;
        font-weight: 400;
        font-size: 13px;
    }

/* جداکننده "تا" */
.price-sep {
    color: #0092e6;
    font-size: 14px;
    font-weight: 700;
    background: #e0f2fe;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 5px;
}

/* پیشوند تومان داخل فیلد (اختیاری) */
.price-field .price-unit {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    color: #94a3b8;
    pointer-events: none;
}

.price-field .price-input {
    padding-right: 8px;
}

/* افکت هاور روی فیلدها */
.price-field:hover .price-input {
    border-color: #0092e6;
}

/* استایل برای اعداد (اسپینرها را غیرفعال کنید) */
.price-input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

    .price-input[type="number"]::-webkit-inner-spin-button,
    .price-input[type="number"]::-webkit-outer-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }
/* ============================================
   استایل مدرن برای مرتب سازی در دسکتاپ
   ============================================ */

/* ============================================
   استایل مدرن برای مرتب سازی در دسکتاپ
   ============================================ */

/* استایل رادیوهای مرتب سازی */
.filter-radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-radio {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 10px 12px;
    border-radius: 14px;
    transition: all 0.3s ease;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    margin: 0 !important;
}

    .filter-radio:hover {
        background: #f1f5f9;
        border-color: #0092e6;
        transform: translateX(-3px);
    }

    .filter-radio input {
        width: 18px;
        height: 18px;
        cursor: pointer;
        accent-color: #0092e6;
        margin: 0;
    }

    .filter-radio span {
        font-size: 14px;
        color: #475569;
        font-weight: 500;
        transition: color 0.3s ease;
    }

    .filter-radio:has(input:checked) {
        background: linear-gradient(135deg, #0092e6, #00629b);
        border-color: #0092e6;
    }

        .filter-radio:has(input:checked) span {
            color: #fff;
        }

        .filter-radio:has(input:checked) input {
            accent-color: #fff;
        }

/* استایل هدر بخش */
.filter-desktop-section h5 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 18px;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

    .filter-desktop-section h5 i {
        color: #0092e6;
        font-size: 20px;
        background: #e0f2fe;
        padding: 6px;
        border-radius: 12px;
    }

/* استایل سلکت باکس (نسخه جایگزین) */
.sort-desktop-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    font-size: 14px;
    font-family: inherit;
    background: #fff;
    color: #1e293b;
    font-weight: 500;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230092e6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: left 12px center;
    background-size: 20px;
    transition: all 0.3s ease;
}

    .sort-desktop-select:hover {
        border-color: #0092e6;
    }

    .sort-desktop-select:focus {
        outline: none;
        border-color: #0092e6;
        box-shadow: 0 0 0 3px rgba(0, 146, 230, 0.1);
    }
/* ============================================
   استایل مدرن برای دسته بندی و قیمت در دسکتاپ
   ============================================ */

/* ===== دسته بندی محصولات ===== */

/* استایل دسته بندی اصلی */
.filter-desktop-category {
    margin-bottom: 12px;
    border-radius: 16px;
    background: #f8fafc;
    transition: all 0.3s ease;
    overflow: hidden;
}

    .filter-desktop-category:hover {
        background: #f1f5f9;
    }

/* عنوان دسته بندی */
.filter-desktop-category-title {
    padding: 10px 16px !important;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .filter-desktop-category-title span {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .filter-desktop-category-title i:first-child {
        color: #0092e6;
        font-size: 18px;
    }

    .filter-desktop-category-title i:last-child {
        color: #94a3b8;
        font-size: 16px;
        transition: transform 0.3s ease;
    }

    .filter-desktop-category-title[aria-expanded="true"] i:last-child {
        transform: rotate(180deg);
        color: #0092e6;
    }

/* زیرمجموعه‌ها */
.filter-desktop-subcategory {
    padding: 8px 12px 16px 32px !important;
    margin-top: 0 !important;
    border-top: 1px solid #e2e8f0;
    background: #fff;
}

/* استایل چک باکس‌ها */
.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    margin: 4px 0;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 12px;
}

    .filter-checkbox:hover {
        background: #f8fafc;
        transform: translateX(3px);
    }

    .filter-checkbox input {
        width: 18px;
        height: 18px;
        cursor: pointer;
        accent-color: #0092e6;
        margin: 0;
    }

    .filter-checkbox span {
        font-size: 13px;
        color: #475569;
        font-weight: 500;
        flex: 1;
    }

    /* تعداد محصولات (اختیاری) */
    .filter-checkbox .count {
        font-size: 11px;
        color: #94a3b8;
        background: #f1f5f9;
        padding: 2px 8px;
        border-radius: 20px;
    }

/* ===== محدوده قیمت ===== */

/* استایل بخش قیمت */
.filter-desktop-section:has(.filter-desktop-price) {
    background: linear-gradient(135deg, #fff, #f8fafc);
}

/* کانتینر قیمت */
.filter-desktop-price {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 5px 0;
}

/* فیلدها */
.price-field {
    position: relative;
}

    .price-field label {
        display: block;
        font-size: 12px;
        color: #64748b;
        margin-bottom: 8px;
        font-weight: 600;
        letter-spacing: 0.3px;
    }

/* ورودی قیمت */
.price-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.price-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    background: #fff;
    transition: all 0.3s ease;
    font-family: inherit;
}

    .price-input:focus {
        outline: none;
        border-color: #0092e6;
        box-shadow: 0 0 0 3px rgba(0, 146, 230, 0.1);
    }

.price-currency {
    position: absolute;
    left: 14px;
    font-size: 12px;
    color: #0092e6;
    font-weight: 500;
    pointer-events: none;
}

.price-input {
    padding-right: 16px;
}

/* اسلایدر قیمت (نسخه پیشرفته) */
.price-range-slider {
    margin: 15px 0 25px;
    position: relative;
    height: 4px;
    background: #e2e8f0;
    border-radius: 4px;
}

    .price-range-slider .ui-slider-range {
        background: #0092e6;
        height: 4px;
        border-radius: 4px;
    }

    .price-range-slider .ui-slider-handle {
        width: 18px;
        height: 18px;
        background: #fff;
        border: 2px solid #0092e6;
        border-radius: 50%;
        cursor: pointer;
        top: -7px;
        transition: 0.2s;
    }

        .price-range-slider .ui-slider-handle:hover {
            transform: scale(1.2);
            background: #0092e6;
        }

/* مقادیر قیمت نمایش داده شده */
.price-values {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

    .price-values span {
        color: #1e293b;
        font-weight: 600;
        font-size: 14px;
    }

        .price-values span:first-child,
        .price-values span:last-child {
            background: #f1f5f9;
            padding: 8px 16px;
            border-radius: 40px;
            font-size: 13px;
            color: #0092e6;
        }

/* دکمه اعمال فیلتر مخصوص دسکتاپ */
.filter-desktop-submit {
    width: 100%;
    margin: 0 !important;
    background: linear-gradient(135deg, #0092e6, #00629b);
    border: none;
    padding: 14px;
    border-radius: 40px;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 146, 230, 0.2);
}

    .filter-desktop-submit:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 146, 230, 0.3);
    }

/* دکمه حذف فیلترها */
.filter-desktop-actions .btn-filter-reset {
    background: #f1f5f9;
    color: #475569;
    border-radius: 40px;
    padding: 12px;
    font-weight: 600;
    transition: all 0.3s;
}

    .filter-desktop-actions .btn-filter-reset:hover {
        background: #e2e8f0;
        color: #1e293b;
    }
/* ============================================
   دسته‌بندی‌های صفحه اصلی - استایل اختصاصی
   ============================================ */

.category-premium__content {
    background: #fff;
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.category-premium__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

    .category-premium__header h3 {
        font-size: 1.4rem;
        font-weight: 700;
        margin: 0;
        color: #1e2a3a;
    }

        .category-premium__header h3 span {
            color: #0092e6;
            border-right: 3px solid #0092e6;
            padding-right: 12px;
        }

.category-premium__more {
    background: rgba(0,146,230,0.1);
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 0.9rem;
    color: #0092e6;
    text-decoration: none;
    transition: 0.2s;
}

    .category-premium__more:hover {
        background: #0092e6;
        color: #fff;
        transform: translateX(-5px);
        text-decoration: none;
    }

.category-premium__swiper {
    overflow: visible;
    padding: 5px 0 10px 0;
}

    .category-premium__swiper .swiper-button-next,
    .category-premium__swiper .swiper-button-prev,
    .category-premium__swiper .swiper-pagination {
        display: none !important;
    }

    .category-premium__swiper .swiper-slide {
        height: auto;
        padding-left: 2px;
        padding-right: 2px;
    }

@media (min-width: 1200px) {
    .category-premium__swiper {
        margin-left: -4px;
        margin-right: -4px;
    }
}

/* کارت محصول */
.premium-product-card {
    background: #fff !important;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #f0f2f5;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

    .premium-product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0,146,230,0.1);
    }

/* تصویر محصول */
.premium-product-image {
    position: relative;
    background: #f8fafc;
    padding: 20px;
    aspect-ratio: 4 / 3;
    min-height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    .premium-product-image img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
        transition: transform 0.3s ease;
    }

.premium-product-card:hover .premium-product-image img {
    transform: scale(1.03);
}

/* برچسب‌ها (روی تصویر) */
.premium-badge {
    position: absolute;
    z-index: 10;
    padding: 4px 10px;
    border-radius: 30px;
    font-size: 9px;
    font-weight: 700;
    backdrop-filter: blur(4px);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

    .premium-badge i {
        font-size: 11px;
    }

    /* تخفیف: بالا سمت راست */
    .premium-badge.discount {
        top: 10px;
        right: 10px;
        bottom: auto;
        left: auto;
        background: linear-gradient(135deg, #ff6b6b, #ee5a24);
        color: #fff;
    }

    /* ارسال رایگان: پایین سمت چپ */
    .premium-badge.free-ship {
        top: auto;
        right: auto;
        bottom: 10px;
        left: 10px;
        background: rgba(0, 146, 230, 0.9);
        color: #fff;
    }

/* اطلاعات محصول */
.premium-product-info {
    padding: 14px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.premium-product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 8px;
    line-height: 1.4;
    height: 2.6em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

    .premium-product-title a {
        color: #1e293b;
        text-decoration: none;
        transition: color 0.2s;
    }

        .premium-product-title a:hover {
            color: #0092e6;
        }

.premium-product-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    border-top: 1px solid #eef2f8;
    margin-top: auto;
    padding-top: 10px;
}

.price-old {
    font-size: 0.75rem;
    color: #94a3b8;
    text-decoration: line-through;
}

.price-current {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0092e6;
}

.premium-product-status {
    border-top: 1px solid #eef2f8;
    margin-top: auto;
    padding-top: 10px;
    font-size: 0.75rem;
    color: #94a3b8;
}

.status-soon {
    color: #0092e6;
}

/* ریسپانسیو */
@media (max-width: 767px) {
    .category-premium__more {
        padding: 6px 9px;
        font-size: 0.9rem;
    }
    .category-premium__more  i{
        font-size: 1.2rem;
    }
    .category-premium__content {
        padding: 15px;
    }

    .category-premium__header h3 {
        font-size: 1.2rem;
    }

    .category-premium__more {
        padding: 6px 14px;
        font-size: 0.8rem;
    }

    .premium-product-image {
        min-height: 150px;
        padding: 12px;
    }

    .premium-product-title {
        font-size: 0.85rem;
        height: 2.7em;
    }

    .price-current {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .premium-product-image {
        min-height: 130px;
        padding: 10px;
    }

    .premium-product-title {
        font-size: 0.9rem;
    }

    .price-current {
        font-size: 1rem;
    }

    .premium-badge {
        padding: 3px 8px;
        font-size: 8px;
    }
}

/* ============================================
   دسته‌بندی‌های صفحه اصلی - تنظیمات ریسپانسیو
   ============================================ */

/* تبلت */
@media (min-width: 768px) and (max-width: 991px) {
    .category-premium__content {
        width: calc(100% + 30px) !important;
        margin-left: -15px !important;
        margin-right: -15px !important;
        border-radius: 20px !important;
        padding: 15px !important;
    }

    .category-premium__header {
        padding: 0 5px !important;
    }

        .category-premium__header h3 {
            font-size: 1.2rem !important;
        }

    .category-premium__more {
        padding: 6px 16px !important;
        font-size: 0.8rem !important;
    }
}

/* موبایل */
@media (max-width: 767px) {
    .category-premium__content {
        width: calc(100% + 40px) !important;
        margin-left: -20px !important;
        margin-right: -20px !important;
        border-radius: 16px !important;
        padding: 12px 10px !important;
    }

    .category-premium__header {
        padding: 0 8px !important;
        margin-bottom: 12px !important;
    }

        .category-premium__header h3 {
            font-size: 1rem !important;
        }

    .category-premium__more {
        padding: 5px 12px !important;
        font-size: 0.7rem !important;
    }
}

/* موبایل خیلی کوچک */
@media (max-width: 576px) {
    .category-premium__content {
        width: calc(100% + 30px) !important;
        margin-left: -15px !important;
        margin-right: -15px !important;
        padding: 10px 8px !important;
    }

    .category-premium__header h3 {
        font-size: 1rem !important;
    }

    .category-premium__more {
        padding: 4px 10px !important;
        font-size: 0.9rem !important;
    }
}
