/* ============================================================
   PHONE-LAND | Product Card Modern Styles 2026
   Complete Rewrite - Preserving All Classes
   ============================================================ */

/* ============================================================
   1. ROOT VARIABLES - بر اساس لوگو فون‌لند
   ============================================================ */
:root {
    /* --- Brand Colors --- */
    --brand-teal: #00a3a3;
    --brand-teal-dark: #007a7a;
    --brand-teal-light: #00cccc;
    --brand-orange: #f08020;
    --brand-orange-dark: #c96315;
    --brand-orange-light: #ffa347;

    /* --- Product Card Variables (Preserved) --- */
    --product-card-shadow: 0 4px 16px rgba(0, 122, 122, 0.06);
    --product-card-hover-shadow: 0 16px 40px rgba(0, 122, 122, 0.15);
    --product-card-transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    --product-card-border-radius: 16px;
    --product-card-badge-bg: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-dark));
    --product-card-overlay: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);

    /* --- Card Typography Sizes --- */
    --card-font-size: 13px;
    --card-title-size: 14px;
    --card-price-size: 16px;
    --card-old-price-size: 11px;
    --badge-font-size: 10px;
    --filter-font-size: 13px;

    /* --- Legacy Color References --- */
    --accent-color: #f08020;
    --secondary-color: #00a3a3;
    --text-color: #2c3e50;
    --accent-light: #ffa347;
    --accent-dark: #c96315;
}

/* ============================================================
   2. PRODUCT CARD MODERN - کارت اصلی
   ============================================================ */
.product-card-modern {
    background: #ffffff;
    border-radius: var(--product-card-border-radius);
    overflow: hidden;
    box-shadow: var(--product-card-shadow);
    transition: var(--product-card-transition);
    border: 1px solid rgba(0, 163, 163, 0.08);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
}

.product-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-teal), var(--brand-orange));
    transition: width 0.4s ease;
    z-index: 5;
    border-radius: var(--product-card-border-radius) var(--product-card-border-radius) 0 0;
}

.product-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: var(--product-card-hover-shadow);
    border-color: rgba(240, 128, 32, 0.25);
}

.product-card-modern:hover::before {
    width: 100%;
}

/* ============================================================
   3. PRODUCT IMAGE MODERN - تصویر محصول
   ============================================================ */
.product-image-modern {
    position: relative;
    padding-top: 75%;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafb, #eef2f5);
}

.product-image-modern::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 122, 122, 0.05), transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.product-card-modern:hover .product-image-modern::after {
    opacity: 1;
}

.product-image-modern img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-card-modern:hover .product-image-modern img {
    transform: scale(1.08);
}

/* ============================================================
   4. PRODUCT BADGES - برچسب‌های محصول
   ============================================================ */
.product-badges {
    position: absolute;
    top: 12px;
    right: 12px;
    left: 12px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 10;
    pointer-events: none;
}

.badge-right,
.badge-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.product-badge-modern {
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 10px !important;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    line-height: 1.4;
    white-space: nowrap;
}

.product-badge-modern i {
    font-size: 9px;
}

.product-badge-modern.discount {
    background: linear-gradient(135deg, #e74c3c, #c82333);
}

.product-badge-modern.new {
    background: linear-gradient(135deg, #20b26c, #1a8f57);
}

.product-badge-modern.special {
    background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-dark));
}

.product-badge-modern.out-of-stock {
    display: none;
}

/* ============================================================
   5. PRODUCT ACTION BUTTONS - دکمه‌های عملیات
   ============================================================ */
.product-actions-modern {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 10;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--product-card-transition);
    pointer-events: none;
}

.product-card-modern:hover .product-actions-modern {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.action-btn-modern {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--brand-teal-dark);
    border: 1.5px solid rgba(0, 163, 163, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: var(--product-card-transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    font-family: inherit;
}

.action-btn-modern:hover {
    background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-dark));
    color: #ffffff;
    transform: scale(1.12) rotate(8deg);
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(240, 128, 32, 0.35);
}

.action-btn-modern.add-to-cart {
    width: auto;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-light));
    color: #ffffff;
    padding: 0 18px;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    flex: 0 0 auto;
    border-color: transparent;
    box-shadow: 0 6px 16px rgba(240, 128, 32, 0.28);
}

.action-btn-modern.add-to-cart i {
    font-size: 14px;
}

.action-btn-modern.add-to-cart:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(240, 128, 32, 0.42);
    background: linear-gradient(135deg, var(--brand-orange-dark), var(--brand-orange));
}

.action-btn-modern.disabled {
    background: #e9ecef;
    color: #adb5bd;
    cursor: not-allowed;
    opacity: 0.6;
    border-color: transparent;
}

.action-btn-modern.disabled:hover {
    transform: none;
    background: #e9ecef;
    color: #adb5bd;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* ============================================================
   6. PRODUCT INFO MODERN - اطلاعات محصول
   ============================================================ */
.product-info-modern {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #ffffff;
}

.product-category-modern {
    font-size: 11px !important;
    color: var(--brand-orange);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-category-modern i {
    font-size: 12px;
}

/* --- Product Title --- */
.product-title-modern {
    font-size: 14px !important;
    font-weight: 700;
    color: var(--brand-teal-dark);
    margin-bottom: 10px;
    line-height: 1.4 !important;
    height: 40px !important;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-decoration: none;
    transition: color 0.3s ease;
    text-shadow: none !important;
}

.product-title-modern:hover {
    color: var(--brand-orange);
}

.product-card-modern:hover .product-title-modern {
    color: var(--brand-orange-dark);
}

/* --- Product Description --- */
.product-description-modern {
    font-size: 12px !important;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 12px;
    height: 54px !important;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* ============================================================
   7. PRODUCT RATING - امتیاز محصول
   ============================================================ */
.product-rating-modern {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.stars-modern {
    display: flex;
    gap: 2px;
    direction: ltr;
}

.stars-modern i {
    color: #f39c12;
    font-size: 13px;
}

.stars-modern i.far {
    color: #e4e5e9;
}

.rating-count-modern {
    font-size: 11px;
    color: #6c757d;
    font-weight: 500;
}

/* ============================================================
   8. PRODUCT PRICE - قیمت محصول
   ============================================================ */
.product-price-modern {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 12px;
    border-top: 2px dashed rgba(240, 128, 32, 0.15);
    gap: 8px;
    flex-wrap: wrap;
}

.price-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.current-price-modern {
    font-size: 16px !important;
    font-weight: 800;
    color: var(--brand-orange);
    line-height: 1.2;
    letter-spacing: -0.3px;
}

.currency-modern {
    font-size: 11px !important;
    font-weight: 500;
    color: #6c757d;
    margin-right: 3px;
}

.old-price-modern {
    font-size: 12px !important;
    color: #adb5bd;
    text-decoration: line-through;
    margin-top: 2px;
    text-decoration-color: rgba(231, 76, 60, 0.5);
    text-decoration-thickness: 1.5px;
    min-height: 16px;
}

.old-price-modern:empty {
    display: none;
}

.discount-percent-modern {
    background: linear-gradient(135deg, #20b26c, #1a8f57);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 11px !important;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 3px 8px rgba(32, 178, 108, 0.25);
    white-space: nowrap;
}

.discount-percent-modern i {
    font-size: 10px;
}

/* ============================================================
   9. STOCK STATUS - وضعیت موجودی
   ============================================================ */
.stock-status-modern {
    display: none;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    margin-top: 8px;
}

.stock-status-modern.in-stock {
    color: #20b26c;
}

.stock-status-modern.out-of-stock {
    color: #e74c3c;
}

.stock-status-modern i {
    font-size: 12px;
}

/* ============================================================
   10. VIEW DETAILS LINK - لینک مشاهده جزئیات
   ============================================================ */
.view-details-modern {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--brand-teal);
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    margin-top: 8px;
    transition: var(--product-card-transition);
    border-bottom: 2px solid transparent;
    padding-bottom: 3px;
    width: fit-content;
}

.view-details-modern:hover {
    color: var(--brand-orange);
    border-bottom-color: var(--brand-orange);
}

.view-details-modern i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.view-details-modern:hover i {
    transform: translateX(-4px);
}

/* ============================================================
   11. QUICK VIEW MODAL - مودال نمایش سریع
   ============================================================ */
.quick-view-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    padding: 20px;
}

.quick-view-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.quick-view-content {
    background: #ffffff;
    border-radius: 24px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
}

.quick-view-close {
    position: absolute;
    top: 18px;
    left: 18px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-dark));
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 10;
    transition: var(--product-card-transition);
    box-shadow: 0 4px 12px rgba(240, 128, 32, 0.3);
}

.quick-view-close:hover {
    transform: rotate(90deg) scale(1.05);
    background: linear-gradient(135deg, var(--brand-orange-dark), var(--brand-orange));
    box-shadow: 0 8px 20px rgba(240, 128, 32, 0.45);
}

/* ============================================================
   12. LOADING STATE - حالت بارگذاری
   ============================================================ */
.product-card-modern.loading {
    position: relative;
    overflow: hidden;
}

.product-card-modern.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: loading 1.5s infinite;
    z-index: 20;
}

@keyframes loading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ============================================================
   13. FILTER BOX - باکس فیلتر شناور
   ============================================================ */
#box-filter {
    position: sticky;
    top: 90px;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--brand-orange) #f0f0f0;
    padding-right: 5px;
    transition: all 0.3s ease;
}

#box-filter::-webkit-scrollbar {
    width: 5px;
}

#box-filter::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

#box-filter::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--brand-teal), var(--brand-orange));
    border-radius: 10px;
}

#box-filter::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--brand-orange), var(--brand-teal));
}

/* ============================================================
   14. FILTER CONTAINER - کانتینر فیلتر
   ============================================================ */
.filter-container {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 15px;
    border: 1px solid #e8ecef;
    box-shadow: 0 2px 8px rgba(0, 122, 122, 0.03);
    transition: all 0.3s ease;
}

.filter-container:hover {
    border-color: rgba(0, 163, 163, 0.15);
    box-shadow: 0 4px 16px rgba(0, 122, 122, 0.06);
}

.filter-title {
    font-size: 15px !important;
    font-weight: 800;
    color: var(--brand-teal-dark);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(0, 163, 163, 0.1);
}

.filter-head {
    cursor: pointer;
    padding: 6px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border-radius: 8px;
    padding-right: 8px;
    padding-left: 8px;
}

.filter-head:hover {
    background: rgba(0, 163, 163, 0.04);
}

.filter-head i {
    font-size: 14px;
    color: var(--brand-teal);
    transition: transform 0.3s ease;
}

.filter-head i.bi-chevron-up {
    transform: rotate(180deg);
}

.filter-content {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px dashed rgba(0, 163, 163, 0.1);
}

.form-check-label {
    font-size: 13px !important;
    color: #4a5568;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s ease;
}

.form-check-label:hover {
    color: var(--brand-teal-dark);
}

.form-check-input:checked {
    background-color: var(--brand-orange);
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 3px rgba(240, 128, 32, 0.15);
}

.form-check-input:focus {
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 3px rgba(240, 128, 32, 0.15);
}

/* ============================================================
   15. PRICE SLIDER - اسلایدر قیمت
   ============================================================ */
.price-slider {
    width: 100%;
}

.slider-range {
    position: relative;
    height: 6px;
    background: #e8ecef;
    border-radius: 5px;
    margin: 20px 0 30px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.slider-range .progress {
    position: absolute;
    height: 6px;
    background: linear-gradient(90deg, var(--brand-teal), var(--brand-orange));
    border-radius: 5px;
    z-index: 1;
    box-shadow: 0 2px 6px rgba(240, 128, 32, 0.3);
}

.range-input {
    position: relative;
}

.range-input input {
    position: absolute;
    width: 100%;
    height: 5px;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
    top: -6px;
    z-index: 2;
    outline: none;
}

.range-input input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #ffffff;
    border: 3px solid var(--brand-orange);
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 3px 8px rgba(240, 128, 32, 0.35);
    margin-top: -7px;
    transition: all 0.2s ease;
}

.range-input input::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 5px 12px rgba(240, 128, 32, 0.5);
}

.range-input input::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #ffffff;
    border: 3px solid var(--brand-orange);
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 3px 8px rgba(240, 128, 32, 0.35);
    transition: all 0.2s ease;
}

.range-input input::-moz-range-thumb:hover {
    transform: scale(1.15);
}

.price-slider .field {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f8fafb;
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid #e8ecef;
    transition: all 0.2s ease;
}

.price-slider .field:focus-within {
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 3px rgba(240, 128, 32, 0.1);
}

.price-slider .field input {
    width: 90px;
    padding: 6px;
    border: none;
    background: transparent;
    font-size: 13px;
    text-align: center;
    font-family: inherit;
    outline: none;
    color: var(--brand-teal-dark);
    font-weight: 700;
}

.price-slider .field span {
    font-size: 11px;
    color: #6c757d;
    font-weight: 600;
}

/* ============================================================
   16. PRO SLIDER - اسلایدر دسته‌بندی
   ============================================================ */
.pro-slider {
    position: relative;
    padding: 10px 0 20px !important;
}

.pro-slider .swiper-wrapper {
    display: flex;
}

.pro-slider .swiper-slide {
    width: auto;
    flex-shrink: 0;
}

.cat-item {
    width: 100px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    padding: 10px 6px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #f0f0f0;
    cursor: pointer;
}

.cat-item:hover {
    border-color: var(--brand-orange);
    box-shadow: 0 6px 18px rgba(240, 128, 32, 0.12);
    transform: translateY(-3px);
}

.cat-item-image {
    width: 60px;
    height: 60px;
    margin: 0 auto 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #f8fafb, #eef2f5);
    transition: all 0.3s ease;
}

.cat-item:hover .cat-item-image {
    background: linear-gradient(135deg, rgba(240, 128, 32, 0.1), rgba(0, 163, 163, 0.1));
}

.cat-item-image img {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.cat-item:hover .cat-item-image img {
    transform: scale(1.08);
}

.cat-item-desc h6 {
    font-size: 11px !important;
    font-weight: 700;
    color: #4a5568;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.cat-item:hover .cat-item-desc h6 {
    color: var(--brand-orange);
}

.swiper-nav {
    display: none;
}

/* ============================================================
   17. CATEGORY SORT - مرتب‌سازی دسته‌بندی
   ============================================================ */
.category-sort .content-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 12px 16px;
    border: 1px solid #e8ecef;
    box-shadow: 0 2px 8px rgba(0, 122, 122, 0.03);
}

.category-sort .btn {
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.box_filter ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.box_filter li {
    margin: 0 !important;
}

.box_filter a {
    font-size: 12px;
    padding: 6px 14px;
    border-radius: 30px;
    background: #f8fafb;
    color: #4a5568;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    border: 1px solid #e8ecef;
    font-weight: 600;
}

.box_filter a.active_custom,
.box_filter a:hover {
    background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-dark));
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(240, 128, 32, 0.25);
    transform: translateY(-2px);
}

.box_filter_counter {
    font-size: 14px !important;
    color: #6c757d;
    font-weight: 600;
}

.box_filter_counter i {
    color: var(--brand-orange);
    margin-left: 4px;
}

.content-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 15px 20px;
    border: 1px solid #e8ecef;
    box-shadow: 0 2px 8px rgba(0, 122, 122, 0.03);
}

/* ============================================================
   18. SELECTED FILTER - فیلترهای انتخاب شده
   ============================================================ */
.selected-filter {
    background: linear-gradient(135deg, rgba(0, 163, 163, 0.04), rgba(240, 128, 32, 0.03));
    padding: 10px 14px;
    border-radius: 10px;
    margin: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    border-right: 3px solid var(--brand-orange);
    font-weight: 600;
    color: var(--brand-teal-dark);
    transition: all 0.3s ease;
}

.selected-filter:hover {
    background: linear-gradient(135deg, rgba(0, 163, 163, 0.08), rgba(240, 128, 32, 0.06));
}

.btn-close-filter {
    background: rgba(231, 76, 60, 0.08);
    border: none;
    color: #e74c3c;
    font-size: 14px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 50%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.btn-close-filter:hover {
    background: #e74c3c;
    color: #ffffff;
    transform: rotate(90deg);
}

/* ============================================================
   19. READ MORE - توضیحات با نمایش بیشتر
   ============================================================ */
.read-more-state {
    display: none;
}

.read-more-wrap {
    position: relative;
    max-height: 60px;
    overflow: hidden;
    transition: max-height 0.4s ease;
    font-size: 13px;
    line-height: 1.7;
    color: #4a5568;
}

.read-more-state:checked ~ .read-more-wrap {
    max-height: 800px;
}

.read-more-trigger {
    display: inline-block;
    margin-top: 10px;
    color: var(--brand-orange);
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    background: none;
    border: none;
    padding: 4px 0;
    transition: all 0.3s ease;
}

.read-more-trigger:hover {
    color: var(--brand-orange-dark);
}

.read-more-trigger:before {
    content: 'نمایش بیشتر';
}

.read-more-state:checked ~ .read-more-trigger:before {
    content: 'نمایش کمتر';
}

.read-more-trigger i {
    margin-right: 5px;
    transition: transform 0.3s;
    font-size: 10px;
}

.read-more-state:checked ~ .read-more-trigger i {
    transform: rotate(180deg);
}

/* ============================================================
   20. GLOBAL BUTTON STYLES - استایل دکمه‌های سراسری
   ============================================================ */
.btn {
    color: #000;
    transition: all 0.3s ease;
}

.btn:hover {
    color: var(--bs-btn-hover-color);
    background-color: var(--brand-teal-dark);
    border-color: var(--brand-teal-dark);
}

/* ============================================================
   21. LOADING INDICATOR - نشانگر بارگذاری
   ============================================================ */
#loading-indicator {
    width: 100%;
    text-align: center;
    padding: 20px;
}

.spinner-border {
    color: var(--brand-orange);
    width: 2rem;
    height: 2rem;
    border-width: 0.2em;
}

/* ============================================================
   22. EMPTY STATE - حالت خالی
   ============================================================ */
.empty-state {
    padding: 40px 20px;
    text-align: center;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e8ecef;
}

.empty-icon {
    font-size: 48px;
    color: var(--brand-orange);
    opacity: 0.5;
    margin-bottom: 16px;
}

/* ============================================================
   23. RESPONSIVE STYLES - استایل‌های ریسپانسیو
   ============================================================ */

/* --- 992px --- */
@media (max-width: 992px) {
    .product-card-modern {
        border-radius: 14px;
    }

    .product-info-modern {
        padding: 14px;
    }
}

/* --- 768px --- */
@media (max-width: 768px) {
    .col-lg-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .cat-item {
        width: 85px;
        padding: 8px 5px;
    }

    .cat-item-image {
        width: 50px;
        height: 50px;
    }

    .cat-item-desc h6 {
        font-size: 10px !important;
    }

    .pro-slider {
        padding: 5px 0 15px !important;
    }

    .category-sort .content-box {
        padding: 10px 14px;
    }

    .box_filter ul {
        gap: 6px;
    }

    .box_filter a {
        font-size: 11px;
        padding: 5px 10px;
    }

    /* --- Product card responsive --- */
    .product-actions-modern {
        opacity: 1;
        transform: translateY(0);
        bottom: 10px;
        left: 10px;
        right: 10px;
    }

    .action-btn-modern {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }

    .action-btn-modern.add-to-cart {
        padding: 0 16px;
        font-size: 12px;
    }

    .product-title-modern {
        font-size: 13px !important;
        height: 38px !important;
    }

    .current-price-modern {
        font-size: 15px !important;
    }

    .product-badge-modern {
        padding: 4px 10px;
        font-size: 9px !important;
    }
}

/* --- 576px --- */
@media (max-width: 576px) {
    .col-lg-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .product-info-modern {
        padding: 10px;
    }

    .product-title-modern {
        font-size: 12px !important;
        height: 34px !important;
    }

    .current-price-modern {
        font-size: 13px !important;
    }

    .old-price-modern {
        font-size: 10px !important;
    }

    .currency-modern {
        font-size: 10px !important;
    }

    .discount-percent-modern {
        padding: 2px 6px;
        font-size: 9px !important;
    }

    .view-details-modern {
        font-size: 10px;
        margin-top: 5px;
    }

    .product-description-modern {
        font-size: 11px !important;
        height: 48px !important;
    }

    .action-btn-modern {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }

    .action-btn-modern.add-to-cart {
        padding: 0 12px;
        font-size: 11px;
    }

    .product-badge-modern {
        padding: 3px 8px;
        font-size: 8px !important;
    }

    .quick-view-content {
        width: 95%;
        border-radius: 16px;
    }

    .quick-view-close {
        width: 34px;
        height: 34px;
        font-size: 15px;
        top: 12px;
        left: 12px;
    }
}

/* --- 480px --- */
@media (max-width: 480px) {
    .filter-container {
        padding: 12px;
    }

    .filter-title {
        font-size: 13px !important;
    }

    .price-slider .field input {
        width: 70px;
        font-size: 12px;
    }

    .selected-filter {
        font-size: 11px;
        padding: 8px 12px;
    }
}

/* ============================================================
   END OF PRODUCT CARD STYLES
   ============================================================ */