/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Vazirmatn FD NL ;
    background-color: #ffffff;
    color: #1e1e2a;
    line-height: 1.5;
    direction: rtl;
}

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

ul, ol {
    list-style: none;
}

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

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

input, textarea, select {
    font-family: inherit;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   TYPOGRAPHY & UTILITIES
   ======================================== */
.section {
    padding: 60px 0;
}

.section--gray {
    background-color: #f8f9fa;
}

.section__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.section__title {
    font-size: 1.75rem;
    font-weight: 600;
    position: relative;
    padding-right: 16px;
    border-right: 4px solid #2563eb;
}

.section__link {
    color: #2563eb;
    font-size: 0.9rem;
    transition: transform 0.2s;
}

.section__link:hover {
    transform: translateX(-4px);
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.btn-outline {
    border: 1.5px solid #2563eb;
    color: #2563eb;
}

.btn-outline:hover {
    background: #2563eb;
    color: white;
}

.btn-light {
    background: white;
    color: #2563eb;
}

.btn-light:hover {
    background: #f3f4f6;
}

/* ========================================
   HEADER
   ======================================== */
.header {
    background: white;
    border-bottom: 1px solid #eef2f6;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.header__hamburger {
    display: none;
    font-size: 1.5rem;
    color: #1e1e2a;
}

.header__logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1e1e2a;
}

.header__logo span {
    color: #2563eb;
}

.header__nav {
    flex: 1;
}

.header__menu {
    display: flex;
    gap: 28px;
    justify-content: center;
}

.header__menu a {
    font-weight: 500;
    transition: color 0.2s;
}

.header__menu a:hover {
    color: #2563eb;
}

.header__search {
    display: flex;
    background: #f3f4f6;
    border-radius: 40px;
    overflow: hidden;
}

.header__search input {
    border: none;
    padding: 10px 16px;
    width: 220px;
    background: transparent;
}

.header__search button {
    background: #2563eb;
    color: white;
    padding: 10px;
}

.header__mobile-search {
    display: none;
    font-size: 1.2rem;
}

/* ========================================
   دراپ‌داون سبد خرید - کاملاً ایزوله
   ======================================== */

.header__cart {
    position: relative;
}

.header__cart-btn {
    font-size: 1.3rem;
    position: relative;
    color: #1e1e2a;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
}

.header__cart-btn:hover {
    color: #2563eb;
}

.header__cart-count {
    position: absolute;
    top: -8px;
    right: -12px;
    background: #ef4444;
    color: white;
    font-size: 0.7rem;
    border-radius: 50%;
    padding: 2px 6px;
    min-width: 18px;
    font-weight: 600;
}

/* ========================================
   استایل‌های دراپ‌داون - ایزوله شده
   ======================================== */
.header__cart-dropdown {
    position: absolute;
    top: 45px;
    left: 0;
    width: 340px;
    max-width: calc(100vw - 20px);
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    padding: 16px;
    z-index: 1000;
    display: none;
    border: 1px solid rgba(0,0,0,0.05);
}

.header__cart-dropdown.active {
    display: block;
    animation: fadeInDown 0.2s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* آیتم‌های سبد خرید - فقط داخل دراپ‌داون */
.header__cart-dropdown .cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.header__cart-dropdown .cart-item:last-child {
    border-bottom: none;
}

.header__cart-dropdown .cart-item__image {
    width: 60px;
    height: 60px;
    min-width: 60px;
    object-fit: cover;
    border-radius: 12px;
    background: #f8fafc;
}

.header__cart-dropdown .cart-item__info {
    flex: 1;
    min-width: 0;
}

.header__cart-dropdown .cart-item__info h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px 0;
    color: #1e293b;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header__cart-dropdown .cart-item__info span {
    font-size: 13px;
    color: #2563eb;
    font-weight: 600;
}

.header__cart-dropdown .cart-item__info small {
    font-size: 11px;
    color: #94a3b8;
    display: block;
    margin-top: 2px;
}

.header__cart-dropdown .cart-item__remove {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
    min-width: 32px;
    position: unset;
}

.header__cart-dropdown .cart-item__remove i{
    font-size: 1.3rem;
    background: none;
}

.header__cart-dropdown .cart-item__remove:hover {
    color: #ef4444;
    background: #fef2f2;
}

/* مجموع سبد خرید */
.header__cart-dropdown .cart__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    margin-top: 8px;
    border-top: 2px solid #f0f0f0;
    font-weight: 600;
}

.header__cart-dropdown .cart__total span {
    font-size: 14px;
    color: #64748b;
}

.header__cart-dropdown .cart__total strong {
    font-size: 16px;
    color: #1e293b;
}

/* دکمه‌ها */
.header__cart-dropdown .cart__checkout {
    display: block;
    text-align: center;
    padding: 12px;
    margin-top: 8px;
    background: #2563eb;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.header__cart-dropdown .cart__checkout:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.header__cart-dropdown .cart__checkout--checkout {
    background: #10b981;
}

.header__cart-dropdown .cart__checkout--checkout:hover {
    background: #059669;
}

/* حالت خالی */
.header__cart-dropdown .cart-empty {
    text-align: center;
    padding: 30px 20px;
}

.header__cart-dropdown .cart-empty i {
    font-size: 48px;
    color: #cbd5e1;
    margin-bottom: 12px;
    display: block;
}

.header__cart-dropdown .cart-empty p {
    color: #94a3b8;
    font-size: 14px;
    margin: 0;
}

/* اسکرول */
.header__cart-dropdown {
    max-height: 500px;
    overflow-y: auto;
}

.header__cart-dropdown::-webkit-scrollbar {
    width: 4px;
}

.header__cart-dropdown::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.header__cart-dropdown::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

/* ========================================
   Media Queries - ریسپانسیو
   ======================================== */

/* تبلت */
@media (max-width: 768px) {
    .header__cart-dropdown {
        width: 320px;
        padding: 12px;
    }
    
    .header__cart-dropdown .cart-item {
        gap: 10px;
        padding: 10px 0;
    }
    
    .header__cart-dropdown .cart-item__image {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }
    
    .header__cart-dropdown .cart-item__info h4 {
        font-size: 13px;
    }
}

/* موبایل */
@media (max-width: 576px) {
    .header__cart-dropdown {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 20px 20px 0 0;
        max-height: 80vh;
        transform: translateY(100%);
        transition: transform 0.3s ease;
    }
    
    .header__cart-dropdown.active {
        transform: translateY(0);
        animation: slideUp 0.3s ease;
    }
    
    @keyframes slideUp {
        from {
            transform: translateY(100%);
        }
        to {
            transform: translateY(0);
        }
    }
    
    .header__cart-dropdown::before {
        content: '';
        width: 50px;
        height: 4px;
        background: #e2e8f0;
        border-radius: 2px;
        position: absolute;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        display: block;
    }
    
    .header__cart-dropdown .cart-item {
        padding: 12px;
    }
    
    .header__cart-dropdown .cart-item__image {
        width: 55px;
        height: 55px;
        min-width: 55px;
    }
    
    .header__cart-dropdown .cart-item__info h4 {
        font-size: 14px;
        white-space: normal;
        word-break: break-word;
    }
    
    .header__cart-dropdown .cart__checkout {
        padding: 14px;
    }
}

.header__auth {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f3f4f6;
    padding: 8px 16px;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* منوی دسته‌بندی */
.header__categories {
    background: #f8f9fa;
    border-top: 1px solid #eef2f6;
}

.header__categories-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.categories-menu {
    display: flex;
    gap: 32px;
    padding: 12px 0;
}

.categories-menu__item {
    position: relative;
}

.categories-menu__item > a {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 6px 0;
}

.dropdown__menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 200px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    z-index: 100;
}

.categories-menu__item:hover .dropdown__menu {
    opacity: 1;
    visibility: visible;
}

.dropdown__menu li a {
    display: block;
    padding: 8px 20px;
    font-size: 0.85rem;
    transition: background 0.2s;
}

.dropdown__menu li a:hover {
    background: #f3f4f6;
    color: #2563eb;
}

/* ========================================
   MOBILE MENU
   ======================================== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 360px;
    height: 100%;
    background: white;
    z-index: 2000;
    padding: 24px;
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-shadow: -5px 0 30px rgba(0,0,0,0.1);
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid #eef2f6;
}

.mobile-menu__header button {
    font-size: 1.3rem;
}

.mobile-menu__search {
    display: flex;
    background: #f3f4f6;
    border-radius: 40px;
    overflow: hidden;
}

.mobile-menu__search input {
    flex: 1;
    border: none;
    padding: 12px 16px;
    background: transparent;
}

.mobile-menu__search button {
    background: #2563eb;
    color: white;
    padding: 0 16px;
}

.mobile-menu__list, .mobile-menu__categories {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-menu__list a, .mobile-menu__categories a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    padding: 6px 0;
}

.mobile-menu__divider {
    height: 1px;
    background: #eef2f6;
}

.mobile-menu__title {
    font-size: 1rem;
    color: #6b7280;
}

.mobile-menu__footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #eef2f6;
}

.mobile-menu__footer a {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #2563eb;
    color: white;
    padding: 12px;
    border-radius: 40px;
    justify-content: center;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1500;
    display: none;
}

.overlay.active {
    display: block;
}

/* ========================================
   FULLSCREEN SEARCH
   ======================================== */
.fullscreen-search {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
}

.fullscreen-search.active {
    display: flex;
}

.fullscreen-search__close {
    position: absolute;
    top: 24px;
    left: 24px;
    font-size: 1.8rem;
}

.fullscreen-search__container {
    width: 90%;
    max-width: 500px;
    display: flex;
    gap: 12px;
}

.fullscreen-search__container input {
    flex: 1;
    padding: 16px;
    border: 2px solid #eef2f6;
    border-radius: 60px;
    font-size: 1rem;
}

.fullscreen-search__container button {
    background: #2563eb;
    color: white;
    padding: 0 24px;
    border-radius: 60px;
}







/* ========================================
   INDEX PAGE - MODERN STYLES
   ======================================== */

/* بخش هدر سکشن‌ها */
.section-header-modern {
    text-align: center;
    margin-bottom: 48px;
}

.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.section-tag {
    display: inline-block;
    background: #eef2ff;
    color: #2563eb;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    margin-bottom: 12px;
}

.section-title-modern {
    font-size: 2rem;
    font-weight: 700;
}

.section-title-modern span {
    color: #2563eb;
}

.section-desc {
    color: #6b7280;
    margin-top: 12px;
}

.view-all-link {
    color: #2563eb;
    font-weight: 500;
    transition: transform 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.view-all-link:hover {
    transform: translateX(-5px);
}

/* ========== HERO MODERN ========== */
.hero-modern {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    overflow: hidden;
}

.hero-modern__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: #fee2e2;
    color: #ef4444;
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-highlight {
    color: #2563eb;
    display: block;
}

.hero-desc {
    color: #6b7280;
    margin-bottom: 30px;
    font-size: 1rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: #2563eb;
    color: white;
    padding: 12px 28px;
    border-radius: 40px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.btn-hero-primary:hover {
    background: #1d4ed8;
    transform: translateY(-3px);
}

.btn-hero-secondary {
    background: transparent;
    color: #2563eb;
    padding: 12px 28px;
    border-radius: 40px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1.5px solid #2563eb;
    transition: all 0.3s;
}

.btn-hero-secondary:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 30px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e1e2a;
}

.stat-label {
    font-size: 0.75rem;
    color: #6b7280;
}

.hero-modern__image {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-modern__image img {
    max-width: 100%;
    border-radius: 40px;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    font-size: 0.85rem;
    font-weight: 500;
}

.floating-card i {
    color: #2563eb;
    font-size: 1.1rem;
}

.floating-card-1 {
    top: 20%;
    left: -20px;
}

.floating-card-2 {
    bottom: 20%;
    right: -20px;
}

@media (max-width: 992px) {
    .hero-modern__wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .floating-card {
        display: none;
    }
    
    .hero-title {
        font-size: 2rem;
    }
}

/* ========== CATEGORIES GLASS ========== */
.categories-glass {
    padding: 60px 0;
}

.categories-glass__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

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

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

.category-glass-card {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    padding: 24px 16px;
    text-align: center;
    border-radius: 20px;
    transition: all 0.3s;
    border: 1px solid rgba(37,99,235,0.1);
    text-decoration: none;
}

.category-glass-card:hover {
    transform: translateY(-8px);
    border-color: #2563eb;
    box-shadow: 0 15px 30px rgba(37,99,235,0.1);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: #eef2ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.category-icon i {
    font-size: 1.5rem;
    color: #2563eb;
}

.category-glass-card h3 {
    font-size: 1rem;
    margin-bottom: 6px;
    color: #1e1e2a;
}

.category-glass-card span {
    font-size: 0.7rem;
    color: #6b7280;
}





/* ========================================
   اسلایدر محصولات با Swiper.js
   ======================================== */

/* بخش اصلی اسلایدر */
.slider-section {
    padding: 60px 0;
    background: white;
    border-bottom: 1px solid #eef2f6;
}

.slider-section:last-child {
    border-bottom: none;
}

/* هدر اسلایدر */
.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.slider-title-box {
    flex: 1;
}

.slider-badge {
    display: inline-block;
    background: #fee2e2;
    color: #ef4444;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.slider-badge.purple {
    background: #ede9fe;
    color: #8b5cf6;
}

.slider-badge.green {
    background: #d1fae5;
    color: #10b981;
}

.slider-badge.orange {
    background: #ffedd5;
    color: #f97316;
}

.slider-title-box h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.slider-title-box h2 span {
    color: #2563eb;
}

.slider-title-box p {
    color: #6b7280;
    font-size: 0.85rem;
    margin-top: 8px;
}

/* کنترل‌های اسلایدر */
.slider-controls {
    display: flex;
    gap: 15px;
    align-items: center;
}

.slider-play-pause {
    width: 44px;
    height: 44px;
    background: #f3f4f6;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    color: #1f2937;
    font-size: 1rem;
}

.slider-play-pause:hover {
    background: #2563eb;
    color: white;
    transform: scale(1.05);
}

.slider-buttons {
    display: flex;
    gap: 8px;
}

.slider-buttons button {
    width: 44px;
    height: 44px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    color: #4b5563;
    font-size: 1rem;
}

.slider-buttons button:hover {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
    transform: scale(1.05);
}

/* ========================================
   Swiper Container
   ======================================== */
.swiper-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.swiper-slide {
    height: auto;
    transition: transform 0.3s;
}

/* ========================================
   کارت محصول (slider-item)
   ======================================== */
.slider-item {
    background: white;
    border: 1px solid #eef2f6;
    border-radius: 20px;
    padding: 20px;
    position: relative;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.slider-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-color: #2563eb;
}

/* ========================================
   نشانگرهای محصول (بج)
   ======================================== */
.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 2;
}

.product-badge.hot {
    background: #ef4444;
    color: white;
}

.product-badge.sale {
    background: #8b5cf6;
    color: white;
}

.product-badge.new {
    background: #10b981;
    color: white;
}

.product-badge.discount {
    right: auto;
    left: 15px;
    background: #f97316;
    color: white;
}

/* ========================================
   تصویر محصول
   ======================================== */
.product-img {
    position: relative;
    margin-bottom: 16px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
}

.product-img img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.slider-item:hover .product-img img {
    transform: scale(1.05);
}

.quick-view {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: #4b5563;
}

.slider-item:hover .quick-view {
    opacity: 1;
}

.quick-view:hover {
    background: #2563eb;
    color: white;
    transform: scale(1.1);
}

/* ========================================
   اطلاعات محصول
   ======================================== */
.product-cat {
    font-size: 0.7rem;
    color: #2563eb;
    display: block;
    margin-bottom: 8px;
}

.product-info h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #1f2937;
}

/* امتیاز محصول */
.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.product-rating div {
    color: #fbbf24;
    font-size: 0.7rem;
    display: flex;
    gap: 3px;
}

.product-rating span {
    font-size: 0.7rem;
    color: #9ca3af;
}

/* قیمت محصول */
.product-price {
    margin-bottom: 16px;
}

.price-new {
    font-size: 1rem;
    font-weight: 700;
    color: #2563eb;
}

.price-old {
    font-size: 0.75rem;
    color: #9ca3af;
    text-decoration: line-through;
    margin-right: 8px;
}

/* دکمه‌های اقدام */
.product-buttons {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.add-cart {
    flex: 1;
    background: #f3f4f6;
    border: none;
    padding: 10px 12px;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #1f2937;
}

.add-cart:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
}

.add-wishlist {
    width: 40px;
    background: #f3f4f6;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
    font-size: 1rem;
}

.add-wishlist:hover {
    background: #fee2e2;
    transform: scale(1.05);
}

/* ========================================
   پروگرس بار اسلایدر
   ======================================== */
.slider-progress {
    width: 100%;
    height: 3px;
    background: #e5e7eb;
    border-radius: 10px;
    margin-top: 40px;
    overflow: hidden;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: #2563eb;
    border-radius: 10px;
    transition: width linear;
}

/* ========================================
   دکمه‌های ناوبری Swiper (در صورت نیاز به استایل داخلی)
   ======================================== */
.swiper-button-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ========================================
   ریسپانسیو
   ======================================== */
@media (max-width: 1200px) {
    .slider-title-box h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 992px) {
    .slider-section {
        padding: 50px 0;
    }
    
    .slider-title-box h2 {
        font-size: 1.4rem;
    }
    
    .slider-controls {
        gap: 10px;
    }
    
    .slider-play-pause,
    .slider-buttons button {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 768px) {
    .slider-section {
        padding: 40px 0;
    }
    
    .slider-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .slider-controls {
        align-self: flex-end;
    }
    
    .slider-title-box h2 {
        font-size: 1.3rem;
    }
    
    .slider-item {
        padding: 15px;
    }
    
    .product-info h3 {
        font-size: 0.85rem;
        height: 36px;
    }
    
    .price-new {
        font-size: 0.9rem;
    }
    
    .add-cart {
        padding: 8px 10px;
        font-size: 0.75rem;
    }
    
    .add-wishlist {
        width: 36px;
    }
}

@media (max-width: 576px) {
    .slider-section {
        padding: 30px 0;
    }
    
    .slider-title-box h2 {
        font-size: 1.2rem;
    }
    
    .slider-title-box p {
        font-size: 0.75rem;
    }
    
    .slider-play-pause,
    .slider-buttons button {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }
    
    .slider-item {
        padding: 12px;
    }
    
    .product-cat {
        font-size: 0.65rem;
    }
    
    .product-info h3 {
        font-size: 0.8rem;
        height: 34px;
    }
    
    .product-rating div,
    .product-rating span {
        font-size: 0.65rem;
    }
    
    .price-new {
        font-size: 0.85rem;
    }
    
    .price-old {
        font-size: 0.7rem;
    }
    
    .add-cart {
        padding: 7px 8px;
        font-size: 0.7rem;
    }
    
    .add-wishlist {
        width: 32px;
        font-size: 0.85rem;
    }
    
    .quick-view {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
}

/* ========================================
   دارک مود
   ======================================== */
body.dark .slider-section {
    background: #111827;
    border-bottom-color: #374151;
}

body.dark .slider-item {
    background: #1f2937;
    border-color: #374151;
}

body.dark .slider-title-box h2 {
    color: #f3f4f6;
}

body.dark .slider-title-box p {
    color: #9ca3af;
}

body.dark .slider-play-pause {
    background: #374151;
    color: #f3f4f6;
}

body.dark .slider-play-pause:hover {
    background: #2563eb;
}

body.dark .slider-buttons button {
    background: #1f2937;
    border-color: #374151;
    color: #f3f4f6;
}

body.dark .slider-buttons button:hover {
    background: #2563eb;
    border-color: #2563eb;
}

body.dark .product-info h3 {
    color: #f3f4f6;
}

body.dark .add-cart {
    background: #374151;
    color: #f3f4f6;
}

body.dark .add-cart:hover {
    background: #2563eb;
}

body.dark .add-wishlist {
    background: #374151;
}

body.dark .add-wishlist:hover {
    background: #7f1a1a;
}

body.dark .slider-progress {
    background: #374151;
}

body.dark .progress-fill {
    background: #60a5fa;
}

body.dark .product-badge.discount {
    background: #ea580c;
}

body.dark .product-badge.hot {
    background: #dc2626;
}

body.dark .product-badge.sale {
    background: #7c3aed;
}

body.dark .product-badge.new {
    background: #059669;
}





/* ========== BANNER MODERN ========== */
.banner-modern {
    padding: 60px 0;
}

.banner-modern__wrapper {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    border-radius: 30px;
    padding: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.banner-badge {
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
}

.banner-modern__content h2 {
    font-size: 2.2rem;
    margin: 12px 0;
}

.banner-modern__content p {
    opacity: 0.9;
    margin-bottom: 24px;
}

.banner-btn {
    background: white;
    color: #2563eb;
    padding: 12px 28px;
    border-radius: 40px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.discount-circle {
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.discount-circle span {
    font-size: 2rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    .banner-modern__wrapper {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }
    
    .discount-circle {
        margin-top: 20px;
    }
}

/* ========== FEATURES MODERN ========== */
.features-modern {
    padding: 40px 0;
}

.features-modern__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .features-modern__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-modern {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 20px;
}

.feature-icon-wrap {
    width: 50px;
    height: 50px;
    background: #eef2ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-wrap i {
    font-size: 1.3rem;
    color: #2563eb;
}

.feature-content h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.feature-content p {
    font-size: 0.75rem;
    color: #6b7280;
}

/* ========== BEST SELLERS ========== */
.best-sellers {
    padding: 60px 0;
    background: #f8f9fa;
}

.best-sellers__grid {
    max-width: 600px;
    margin: 0 auto;
}

.best-seller-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: white;
    padding: 16px 20px;
    border-radius: 16px;
    margin-bottom: 12px;
    transition: all 0.2s;
}

.best-seller-card:hover {
    transform: translateX(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.rank {
    width: 35px;
    height: 35px;
    background: #eef2ff;
    color: #2563eb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.best-seller-card img {
    width: 55px;
    height: 55px;
    border-radius: 12px;
}

.seller-info {
    flex: 1;
}

.seller-info h4 {
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.seller-info span {
    font-size: 0.8rem;
    color: #2563eb;
    font-weight: 500;
}

.seller-add {
    width: 36px;
    height: 36px;
    background: #f3f4f6;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
}

.seller-add:hover {
    background: #2563eb;
    color: white;
}

/* ========== BLOG SECTION ========== */
.blog-section {
    padding: 60px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #eef2f6;
    transition: all 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.blog-image {
    position: relative;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    transition: transform 0.3s;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #2563eb;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
}

.blog-content {
    padding: 20px;
}

.blog-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 0.7rem;
    color: #9ca3af;
}

.blog-meta i {
    margin-left: 5px;
}

.blog-content h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-content p {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 16px;
}

.read-more {
    color: #2563eb;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}


/* ========================================
   نوتیفیکیشن سفارشی
   ======================================== */
.nixstore-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #10b981;
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    z-index: 9999;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.nixstore-notification.show {
    transform: translateX(0);
}

/* انیمیشن برای شمارنده سبد خرید */
.header__cart-count.bump {
    animation: bump 0.3s ease;
}

@keyframes bump {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* ========== NEWSLETTER ========== */
.newsletter-modern {
    padding: 60px 0;
    background: linear-gradient(135deg, #1e1e2a, #111827);
    color: white;
}

.newsletter-wrapper {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-icon {
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.newsletter-icon i {
    font-size: 2rem;
}

.newsletter-wrapper h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.newsletter-wrapper p {
    opacity: 0.8;
    margin-bottom: 25px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 50px;
    font-size: 0.9rem;
}

.newsletter-form button {
    background: #2563eb;
    color: white;
    padding: 0 28px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s;
}

.newsletter-form button:hover {
    background: #1d4ed8;
}

@media (max-width: 480px) {
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        padding: 12px;
    }
}

/* دارک مود */
body.dark .hero-modern {
    background: linear-gradient(135deg, #1a1a24, #0f0f17);
}

body.dark .category-glass-card,
body.dark .product-card-modern,
body.dark .best-seller-card,
body.dark .blog-card {
    background: #1f2937;
}

body.dark .category-glass-card h3 {
    color: white;
}

body.dark .features-modern,
body.dark .best-sellers,
body.dark .products-slider-section {
    background: #111827;
}

body.dark .feature-modern {
    background: #1a1a24;
}

body.dark .floating-card {
    background: #1f2937;
    color: white;
}





/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: #1e1e2a;
    color: #a1a1aa;
    padding: 48px 0 24px;
    margin-top: 60px;
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer__logo {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 16px;
}

.footer__logo span {
    color: #2563eb;
}

.footer__social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer__social a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.2s;
}

.footer__social a:hover {
    background: #2563eb;
}

.footer__col h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer__col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__col a {
    transition: color 0.2s;
}

.footer__col a:hover {
    color: white;
}

.footer__newsletter {
    display: flex;
    gap: 8px;
    margin: 16px 0;
}

.footer__newsletter input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 40px;
    background: rgba(255,255,255,0.1);
    color: white;
}

.footer__newsletter button {
    background: #2563eb;
    color: white;
    width: 40px;
    border-radius: 50%;
}

.footer__bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
}

/* ========================================
   THEME TOGGLE
   ======================================== */
.theme-toggle {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #1e1e2a;
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
}

/* ========================================
   DARK MODE
   ======================================== */
body.dark {
    background: #121212;
    color: #e5e5e5;
}

body.dark .header,
body.dark .mobile-menu,
body.dark .product-card,
body.dark .fullscreen-search,
body.dark .header__cart-dropdown {
    background: #1e1e2a;
    border-color: #2d2d3a;
}

body.dark .section--gray,
body.dark .category-card,
body.dark .feature {
    background: #1a1a24;
}

body.dark .header__search,
body.dark .mobile-menu__search {
    background: #2d2d3a;
}

body.dark .header__search input,
body.dark .mobile-menu__search input {
    color: white;
}

body.dark .header__auth {
    background: #2d2d3a;
    color: white;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .header__hamburger {
        display: block;
    }
    
    .header__nav {
        display: none;
    }
    
    .header__search {
        display: none;
    }
    
    .header__mobile-search {
        display: block;
    }
    
    .header__categories {
        display: none;
    }
    
    .header__auth span {
        display: none;
    }
    
    .header__auth {
        background: none;
        padding: 0;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero__content h1 {
        font-size: 2rem;
    }
    
    .banner__content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .section__title {
        font-size: 1.3rem;
    }
}





/* ========================================
   CART DROPDOWN COMPLETE STYLES
   ======================================== */
.header__cart-dropdown {
    position: absolute;
    top: 50px;
    left: -80px;
    width: 340px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    padding: 20px;
    z-index: 1000;
    display: none;
    border: 1px solid #eef2f6;
}

@media (max-width: 768px) {
    .header__cart-dropdown {
        left: -120px;
        width: 320px;
    }
}

.header__cart-dropdown.active {
    display: block;
    animation: fadeInDown 0.2s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* آیتم سبد خرید */
.cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #eef2f6;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item i {
    font-size: 2rem;
    color: #2563eb;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    border-radius: 12px;
}

.cart-item__info {
    flex: 1;
}

.cart-item__info h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: #1e1e2a;
}

.cart-item__info span {
    font-size: 0.8rem;
    color: #2563eb;
    font-weight: 500;
}

.cart-item__remove {
    background: #fee2e2;
    color: #ef4444;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.cart-item__remove:hover {
    background: #ef4444;
    color: white;
    transform: scale(1.1);
}

/* جمع کل سبد خرید */
.cart__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    margin-top: 8px;
    border-top: 2px solid #eef2f6;
    font-size: 1rem;
}

.cart__total span {
    color: #6b7280;
}

.cart__total strong {
    color: #2563eb;
    font-size: 1.1rem;
}

/* دکمه مشاهده سبد خرید */
.cart__checkout {
    display: block;
    background: #2563eb;
    color: white;
    text-align: center;
    padding: 12px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 500;
    margin-top: 12px;
    transition: all 0.2s;
}

.cart__checkout:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

/* سبد خرید خالی */
.cart-empty {
    text-align: center;
    padding: 30px 20px;
    color: #9ca3af;
}

.cart-empty i {
    font-size: 3rem;
    margin-bottom: 12px;
    opacity: 0.5;
}

.cart-empty p {
    font-size: 0.9rem;
}

/* ========================================
   FOOTER COMPLETE STYLES
   ======================================== */
.footer {
    background: #111827;
    color: #9ca3af;
    padding: 60px 0 24px;
    margin-top: 60px;
    direction: rtl;
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

@media (max-width: 992px) {
    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* هر ستون فوتر */
.footer__col p {
    line-height: 1.7;
    margin-top: 12px;
    font-size: 0.85rem;
}

.footer__logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    display: inline-block;
}

.footer__logo span {
    color: #2563eb;
}

/* شبکه‌های اجتماعی */
.footer__social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer__social a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #9ca3af;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.footer__social a:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-3px);
}

/* تیترهای فوتر */
.footer__col h4 {
    color: white;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer__col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background: #2563eb;
    border-radius: 2px;
}

/* لیست لینک‌های فوتر */
.footer__col ul {
    list-style: none;
    padding: 0;
}

.footer__col ul li {
    margin-bottom: 12px;
}

.footer__col ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}

.footer__col ul li a::before {
    content: '←';
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.2s;
}

.footer__col ul li a:hover {
    color: white;
    transform: translateX(-5px);
}

.footer__col ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* بخش خبرنامه */
.footer__newsletter {
    display: flex;
    gap: 10px;
    margin: 16px 0 12px;
}

.footer__newsletter input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.footer__newsletter input:focus {
    outline: none;
    border-color: #2563eb;
    background: rgba(255, 255, 255, 0.1);
}

.footer__newsletter input::placeholder {
    color: #6b7280;
}

.footer__newsletter button {
    background: #2563eb;
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer__newsletter button:hover {
    background: #1d4ed8;
    transform: scale(1.05);
}

.footer__col > p:last-of-type {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 12px;
}

/* بخش پایینی فوتر */
.footer__bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.8rem;
}

/* ========================================
   DARK MODE FOR FOOTER & CART
   ======================================== */
body.dark .footer {
    background: #0a0a0f;
}

body.dark .header__cart-dropdown {
    background: #1f2937;
    border-color: #374151;
}

body.dark .cart-item {
    border-bottom-color: #374151;
}

body.dark .cart-item i {
    background: #111827;
    color: #60a5fa;
}

body.dark .cart-item__info h4 {
    color: #f3f4f6;
}

body.dark .cart__total {
    border-top-color: #374151;
}

body.dark .cart__total span {
    color: #9ca3af;
}

body.dark .cart-item__remove {
    background: #7f1a1a;
    color: #fca5a5;
}

body.dark .cart-item__remove:hover {
    background: #dc2626;
    color: white;
}

body.dark .footer__newsletter input {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.05);
}

body.dark .footer__newsletter input:focus {
    border-color: #60a5fa;
}

/* ========================================
   RESPONSIVE FIXES FOR CART
   ======================================== */
@media (max-width: 480px) {
    .header__cart-dropdown {
        left: -140px;
        width: 300px;
        padding: 15px;
    }
    
    .cart-item i {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .cart-item__info h4 {
        font-size: 0.8rem;
    }
    
    .cart__total strong {
        font-size: 0.95rem;
    }
}






/* ========================================
   ARCHIVE PAGE STYLES
   ======================================== */

/* هدر آرشیو */
.archive-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #eef2f6 100%);
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

.archive-header__content h1 {
    font-size: 2.2rem;
    margin-bottom: 12px;
    color: #1e1e2a;
}

.archive-header__content p {
    color: #6b7280;
    font-size: 1rem;
}

/* wrapper آرشیو */
.archive-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    margin: 50px 0;
}

@media (max-width: 992px) {
    .archive-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* سایدبار */
.archive-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-card {
    background: white;
    border: 1px solid #eef2f6;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 24px;
}

.sidebar-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #2563eb;
    display: inline-block;
}

/* دسته‌بندی سایدبار */
.sidebar-categories li,
.sidebar-brands li {
    margin-bottom: 12px;
}

.sidebar-categories a,
.sidebar-brands label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #4b5563;
    font-size: 0.9rem;
    transition: all 0.2s;
    cursor: pointer;
}

.sidebar-categories a:hover {
    color: #2563eb;
    transform: translateX(-5px);
}

.sidebar-categories a i {
    margin-left: 10px;
    width: 20px;
    color: #2563eb;
}

.sidebar-categories span,
.sidebar-brands span {
    color: #9ca3af;
    font-size: 0.75rem;
}

.sidebar-brands input {
    margin-left: 10px;
    cursor: pointer;
}

/* فیلتر قیمت */
.price-inputs {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 15px;
}

.price-inputs input {
    flex: 1;
    padding: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-size: 0.85rem;
    text-align: center;
}

.price-filter-btn {
    width: 100%;
    background: #2563eb;
    color: white;
    padding: 10px;
    border-radius: 12px;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.price-filter-btn:hover {
    background: #1d4ed8;
}

/* محصولات پرفروش سایدبار */
.sidebar-product {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #eef2f6;
}

.sidebar-product:last-child {
    border-bottom: none;
}

.sidebar-product img {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    object-fit: cover;
}

.sidebar-product__info h4 {
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.sidebar-product__info .price {
    font-size: 0.75rem;
    color: #2563eb;
    font-weight: 500;
}

/* تولبار آرشیو */
.archive-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    padding: 15px 0;
    border-bottom: 1px solid #eef2f6;
}

.archive-results {
    font-size: 0.85rem;
    color: #6b7280;
}

.archive-sort {
    display: flex;
    align-items: center;
    gap: 10px;
}

.archive-sort select {
    padding: 8px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: white;
    font-size: 0.85rem;
    cursor: pointer;
}

.archive-view {
    display: flex;
    gap: 8px;
}

.view-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #f3f4f6;
    color: #6b7280;
    transition: all 0.2s;
}

.view-btn.active,
.view-btn:hover {
    background: #2563eb;
    color: white;
}

/* ریتبینگ محصولات */
.product-card__rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    margin: 10px 0;
    font-size: 0.7rem;
}

.product-card__rating i {
    color: #fbbf24;
}

.product-card__rating span {
    color: #9ca3af;
    margin-right: 5px;
}

/* لیست ویو */
.products-grid.list-view {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.products-grid.list-view .product-card {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: right;
    padding: 20px;
}

.products-grid.list-view .product-card__img {
    width: 120px;
    height: 120px;
    margin: 0;
}

.products-grid.list-view .product-card__title {
    margin: 0;
}

.products-grid.list-view .product-card__price {
    justify-content: flex-start;
}

.products-grid.list-view .product-card__btn {
    width: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .products-grid.list-view .product-card {
        flex-wrap: wrap;
    }
    
    .products-grid.list-view .product-card__btn {
        width: 100%;
        margin-right: 0;
    }
}

/* صفحه‌بندی */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 50px;
    padding: 20px 0;
}

.pagination a {
    text-decoration: none;
    transition: all 0.2s;
}

.pagination__prev,
.pagination__next {
    padding: 8px 16px;
    background: #f3f4f6;
    border-radius: 12px;
    color: #4b5563;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pagination__prev:hover,
.pagination__next:hover {
    background: #2563eb;
    color: white;
}

.pagination__numbers {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination__numbers a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #f3f4f6;
    color: #4b5563;
    font-size: 0.85rem;
}

.pagination__numbers a.active,
.pagination__numbers a:hover {
    background: #2563eb;
    color: white;
}

.pagination__numbers span {
    color: #9ca3af;
    padding: 0 4px;
}

/* دارک مود برای آرشیو */
body.dark .archive-header {
    background: #1a1a24;
    border-bottom-color: #2d2d3a;
}

body.dark .archive-header__content h1 {
    color: white;
}

body.dark .sidebar-card,
body.dark .archive-sort select,
body.dark .price-inputs input {
    background: #1f2937;
    border-color: #374151;
    color: #f3f4f6;
}

body.dark .sidebar-categories a,
body.dark .sidebar-brands label {
    color: #d1d5db;
}

body.dark .sidebar-product {
    border-bottom-color: #374151;
}

body.dark .pagination a {
    background: #1f2937;
    color: #d1d5db;
}

body.dark .pagination a:hover,
body.dark .pagination a.active {
    background: #2563eb;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .archive-header {
        padding: 40px 0;
    }
    
    .archive-header__content h1 {
        font-size: 1.6rem;
    }
    
    .archive-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .pagination__numbers {
        order: 3;
        width: 100%;
        justify-content: center;
    }
    
    .sidebar-card {
        position: static;
    }
}






/* ========================================
   SINGLE PRODUCT PAGE STYLES
   ======================================== */

/* مسیر یاب */
.breadcrumb {
    padding: 20px 0;
    background: #f8f9fa;
    border-bottom: 1px solid #eef2f6;
}

.breadcrumb__list {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.breadcrumb__list li {
    font-size: 0.85rem;
    color: #6b7280;
}

.breadcrumb__list a {
    color: #4b5563;
    transition: color 0.2s;
}

.breadcrumb__list a:hover {
    color: #2563eb;
}

.breadcrumb__list li i {
    font-size: 0.7rem;
    margin: 0 4px;
}

.breadcrumb__list li:last-child span {
    color: #2563eb;
    font-weight: 500;
}

/* سینگل محصول */
.single-product {
    padding: 50px 0;
}

.single-product__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

@media (max-width: 992px) {
    .single-product__wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* گالری تصاویر */
.gallery-main {
    background: #f8f9fa;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 16px;
}

.gallery-main img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-thumbs {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.gallery-thumb {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
    flex-shrink: 0;
}

.gallery-thumb.active {
    border-color: #2563eb;
}

.gallery-thumb:hover {
    transform: translateY(-3px);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* اطلاعات محصول */
.product-badge {
    display: inline-block;
    background: #fee2e2;
    color: #ef4444;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.product-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .product-title {
        font-size: 1.4rem;
    }
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.stars {
    display: flex;
    gap: 3px;
    color: #fbbf24;
    font-size: 0.9rem;
}

.rating-count {
    font-size: 0.8rem;
    color: #6b7280;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.price-current {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2563eb;
}

.price-old {
    font-size: 1rem;
    color: #9ca3af;
    text-decoration: line-through;
}

.price-discount {
    background: #ef4444;
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.product-short-desc {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eef2f6;
}

.product-short-desc p {
    color: #4b5563;
    line-height: 1.7;
}

/* متغیرهای محصول */
.product-variants {
    margin-bottom: 24px;
}

.variant-group {
    margin-bottom: 20px;
}

.variant-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 10px;
    font-size: 0.85rem;
}

.color-options {
    display: flex;
    gap: 12px;
}

.color-option {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #e5e7eb;
    cursor: pointer;
    transition: all 0.2s;
}

.color-option.active {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.color-option:hover {
    transform: scale(1.1);
}

.model-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.model-option {
    padding: 8px 20px;
    border: 1px solid #e5e7eb;
    border-radius: 40px;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
}

.model-option.active,
.model-option:hover {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

/* مقدار محصول */
.product-quantity {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.product-quantity label {
    font-weight: 500;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid #e5e7eb;
    border-radius: 40px;
    overflow: hidden;
}

.quantity-selector button {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s;
}

.quantity-selector button:hover {
    background: #e5e7eb;
}

.quantity-selector input {
    width: 60px;
    text-align: center;
    border: none;
    padding: 8px 0;
    font-size: 1rem;
}

.quantity-selector input:focus {
    outline: none;
}

.stock-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
}

.stock-status.in-stock {
    color: #10b981;
}

.stock-status.out-stock {
    color: #ef4444;
}

/* دکمه‌های اقدام */
.product-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.btn-add-to-cart {
    flex: 1;
    background: #2563eb;
    color: white;
    padding: 14px 24px;
    border-radius: 40px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s;
}

.btn-add-to-cart:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.btn-wishlist {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #f8f9fa;
    color: #ef4444;
    font-size: 1.2rem;
    transition: all 0.2s;
}

.btn-wishlist:hover {
    background: #fee2e2;
    transform: scale(1.05);
}

/* متای محصول */
.product-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid #eef2f6;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    color: #6b7280;
}

.meta-item i {
    font-size: 1.1rem;
    color: #2563eb;
}

/* ویژگی‌های محصول */
.product-features {
    padding: 60px 0;
    background: #f8f9fa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-item {
    text-align: center;
    padding: 24px;
    background: white;
    border-radius: 20px;
    transition: all 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: #eef2ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.feature-icon i {
    font-size: 1.8rem;
    color: #2563eb;
}

.feature-item h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.feature-item p {
    font-size: 0.8rem;
    color: #6b7280;
}

/* توضیحات محصول با تب */
.product-description {
    padding: 60px 0;
}

.description-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 2px solid #eef2f6;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 28px;
    background: none;
    border: none;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    color: #6b7280;
}

.tab-btn.active {
    color: #2563eb;
    border-bottom: 2px solid #2563eb;
    margin-bottom: -2px;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.description-content h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.description-content p {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 20px;
}

.description-highlights {
    background: #f8f9fa;
    padding: 24px;
    border-radius: 20px;
    margin-top: 30px;
}

.description-highlights h4 {
    margin-bottom: 16px;
}

.description-highlights ul {
    list-style: none;
}

.description-highlights li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.description-highlights li i {
    color: #10b981;
}

/* جدول مشخصات فنی */
.specs-table {
    background: white;
    border: 1px solid #eef2f6;
    border-radius: 20px;
    overflow: hidden;
}

.spec-row {
    display: flex;
    padding: 16px 20px;
    border-bottom: 1px solid #eef2f6;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-label {
    width: 180px;
    font-weight: 600;
    color: #1e1e2a;
}

.spec-value {
    flex: 1;
    color: #4b5563;
}

@media (max-width: 768px) {
    .spec-row {
        flex-direction: column;
        gap: 8px;
    }
    
    .spec-label {
        width: 100%;
    }
}

/* بخش نظرات */
.reviews-section {
    max-width: 800px;
    margin: 0 auto;
}

.reviews-summary {
    display: flex;
    gap: 40px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.summary-rating {
    text-align: center;
    min-width: 150px;
}

.big-rating {
    font-size: 3rem;
    font-weight: 700;
    color: #2563eb;
}

.stars-big {
    color: #fbbf24;
    margin: 8px 0;
}

.summary-bars {
    flex: 1;
}

.bar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 0.8rem;
}

.bar-item span:first-child {
    width: 65px;
}

.bar {
    flex: 1;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: #fbbf24;
    border-radius: 4px;
}

.bar-item span:last-child {
    width: 35px;
    text-align: left;
}

.review-item {
    padding: 20px;
    border-bottom: 1px solid #eef2f6;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.review-stars {
    color: #fbbf24;
    font-size: 0.8rem;
}

.review-header span {
    font-size: 0.75rem;
    color: #9ca3af;
}

.review-item p {
    color: #4b5563;
    line-height: 1.6;
}

.btn-write-review {
    background: #2563eb;
    color: white;
    padding: 12px 30px;
    border-radius: 40px;
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* محصولات مرتبط */
.related-products {
    padding: 60px 0;
    background: #f8f9fa;
}

/* دارک مود برای سینگل محصول */
body.dark .breadcrumb {
    background: #1a1a24;
    border-bottom-color: #2d2d3a;
}

body.dark .gallery-main,
body.dark .feature-item,
body.dark .specs-table,
body.dark .reviews-summary {
    background: #1f2937;
}

body.dark .spec-row,
body.dark .product-short-desc,
body.dark .product-meta,
body.dark .review-item {
    border-bottom-color: #374151;
}

body.dark .product-short-desc p,
body.dark .description-content p,
body.dark .spec-value,
body.dark .review-item p {
    color: #d1d5db;
}

body.dark .spec-label {
    color: white;
}

body.dark .model-option {
    background: #1f2937;
    border-color: #374151;
    color: white;
}

body.dark .quantity-selector,
body.dark .quantity-selector button {
    background: #1f2937;
    border-color: #374151;
    color: white;
}

body.dark .btn-wishlist {
    background: #1f2937;
}

body.dark .description-highlights {
    background: #1f2937;
}

body.dark .related-products {
    background: #111827;
}








/* ========================================
   BLOG ARCHIVE PAGE STYLES
   ======================================== */

/* هدر بلاگ */
.blog-header {
    background: linear-gradient(135deg, #1e1e2a, #111827);
    padding: 70px 0;
    text-align: center;
    color: white;
}

.blog-header__badge {
    display: inline-block;
    background: rgba(37, 99, 235, 0.2);
    color: #60a5fa;
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.8rem;
    margin-bottom: 20px;
}

.blog-header h1 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.blog-header h1 span {
    color: #60a5fa;
}

.blog-header p {
    opacity: 0.8;
    margin-bottom: 30px;
}

.blog-search-form {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255,255,255,0.1);
    border-radius: 60px;
    display: flex;
    align-items: center;
    padding: 5px 5px 5px 20px;
}

.blog-search-form i {
    color: #9ca3af;
}

.blog-search-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 14px 12px;
    color: white;
    font-size: 0.9rem;
}

.blog-search-form input::placeholder {
    color: #9ca3af;
}

.blog-search-form input:focus {
    outline: none;
}

.blog-search-form button {
    background: #2563eb;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.2s;
}

.blog-search-form button:hover {
    background: #1d4ed8;
}

/* دسته‌بندی بلاگ */
.blog-categories-filter {
    padding: 25px 0;
    background: white;
    border-bottom: 1px solid #eef2f6;
    position: sticky;
    top: 80px;
    z-index: 99;
}

.blog-categories-list {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.blog-categories-list li a {
    padding: 8px 20px;
    background: #f3f4f6;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s;
    display: block;
}

.blog-categories-list li a.active,
.blog-categories-list li a:hover {
    background: #2563eb;
    color: white;
}

/* پست ویژه */
.featured-post {
    padding: 60px 0;
    background: #f8f9fa;
}

.featured-post__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.featured-post__image {
    position: relative;
    overflow: hidden;
}

.featured-post__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ef4444;
    color: white;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 500;
}

.featured-post__content {
    padding: 40px 40px 40px 0;
}

.post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.8rem;
    color: #6b7280;
    flex-wrap: wrap;
}

.post-meta i {
    margin-left: 6px;
}

.featured-post__content h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    line-height: 1.4;
}

.featured-post__content p {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 25px;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.post-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.post-author strong {
    display: block;
    font-size: 0.9rem;
}

.post-author span {
    font-size: 0.75rem;
    color: #6b7280;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #2563eb;
    color: white;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 500;
    transition: all 0.2s;
}

.read-more-btn:hover {
    background: #1d4ed8;
    transform: translateX(-5px);
}

@media (max-width: 992px) {
    .featured-post__wrapper {
        grid-template-columns: 1fr;
    }
    
    .featured-post__content {
        padding: 30px;
    }
    
    .featured-post__content h2 {
        font-size: 1.4rem;
    }
}

/* بخش گرید مقالات */
.blog-grid-section {
    padding: 60px 0;
}

.blog-sort select {
    padding: 8px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: white;
    font-size: 0.85rem;
    cursor: pointer;
}

/* کارت مقالات */
.blog-card--large {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #eef2f6;
    transition: all 0.3s;
}

.blog-card--large:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.blog-card__image {
    position: relative;
    overflow: hidden;
}

.blog-card__image img {
    width: 100%;
    transition: transform 0.3s;
}

.blog-card--large:hover .blog-card__image img {
    transform: scale(1.05);
}

.blog-card__content {
    padding: 24px;
}

.blog-stats {
    display: flex;
    gap: 16px;
    margin: 16px 0;
    font-size: 0.75rem;
    color: #9ca3af;
}

.blog-stats i {
    margin-left: 5px;
}

.blog-card__content h3 {
    font-size: 1.1rem;
    margin: 12px 0;
    line-height: 1.5;
}

/* محبوب‌ترین مقالات */
.popular-posts {
    padding: 60px 0;
    background: #f8f9fa;
}

.popular-grid {
    max-width: 800px;
    margin: 0 auto;
}

.popular-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    padding: 16px 24px;
    border-radius: 16px;
    margin-bottom: 12px;
    transition: all 0.2s;
}

.popular-card:hover {
    transform: translateX(-8px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.popular-rank {
    width: 40px;
    height: 40px;
    background: #eef2ff;
    color: #2563eb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.popular-content {
    flex: 1;
}

.popular-content h4 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.popular-stats {
    font-size: 0.7rem;
    color: #6b7280;
}

.popular-link {
    width: 36px;
    height: 36px;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.popular-link:hover {
    background: #2563eb;
    color: white;
}

/* خبرنامه بلاگ */
.newsletter-blog {
    padding: 60px 0;
}

.newsletter-blog__wrapper {
    text-align: center;
    max-width: 550px;
    margin: 0 auto;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    padding: 50px 40px;
    border-radius: 40px;
    color: white;
}

.newsletter-blog__icon {
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.newsletter-blog__icon i {
    font-size: 2rem;
}

.newsletter-blog__wrapper h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.newsletter-blog__wrapper p {
    opacity: 0.9;
    margin-bottom: 25px;
}

.newsletter-blog__form {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.newsletter-blog__form input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 50px;
    font-size: 0.9rem;
}

.newsletter-blog__form button {
    background: #1e1e2a;
    color: white;
    padding: 0 28px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s;
}

.newsletter-blog__form button:hover {
    background: #111827;
}

.newsletter-blog__note {
    font-size: 0.8rem;
    opacity: 0.8;
}

.newsletter-blog__note i {
    margin-left: 6px;
}

@media (max-width: 576px) {
    .newsletter-blog__form {
        flex-direction: column;
    }
    
    .newsletter-blog__form button {
        padding: 12px;
    }
    
    .newsletter-blog__wrapper {
        padding: 30px 20px;
    }
}

/* ریسپانسیو کامل بلاگ */
@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-header h1 {
        font-size: 1.8rem;
    }
    
    .blog-categories-filter {
        top: 70px;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* دارک مود بلاگ */
body.dark .blog-categories-filter,
body.dark .featured-post__wrapper,
body.dark .blog-card--large,
body.dark .popular-card {
    background: #1f2937;
    border-color: #374151;
}

body.dark .featured-post {
    background: #111827;
}

body.dark .blog-categories-list li a {
    background: #374151;
    color: #d1d5db;
}

body.dark .blog-categories-list li a.active,
body.dark .blog-categories-list li a:hover {
    background: #2563eb;
}

body.dark .blog-sort select {
    background: #1f2937;
    border-color: #374151;
    color: white;
}

body.dark .popular-posts {
    background: #111827;
}

body.dark .blog-card__content p,
body.dark .featured-post__content p {
    color: #d1d5db;
}










/* ========================================
   SINGLE BLOG PAGE STYLES
   ======================================== */

/* بخش اصلی سینگل بلاگ */
.single-blog {
    padding: 50px 0;
}

.single-blog__wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 50px;
}

@media (max-width: 992px) {
    .single-blog__wrapper {
        grid-template-columns: 1fr;
    }
}

/* هدر پست */
.post-header {
    margin-bottom: 40px;
}

.post-category {
    margin-bottom: 16px;
}

.post-category a {
    display: inline-block;
    background: #eef2ff;
    color: #2563eb;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 500;
}

.post-title {
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .post-title {
        font-size: 1.6rem;
    }
}

.post-meta-large {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid #eef2f6;
    border-bottom: 1px solid #eef2f6;
    margin-bottom: 30px;
}

.post-author-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.post-author-box img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
}

.author-title {
    font-size: 0.7rem;
    color: #6b7280;
}

.post-meta-info {
    display: flex;
    gap: 20px;
    font-size: 0.8rem;
    color: #6b7280;
}

.post-meta-info i {
    margin-left: 6px;
}

/* تصویر شاخص */
.post-featured-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    border-radius: 24px;
}

.post-share-floating {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
}

.post-share-floating span {
    font-size: 0.8rem;
}

.post-share-floating a {
    color: white;
    transition: color 0.2s;
}

.post-share-floating a:hover {
    color: #60a5fa;
}

/* فهرست مطالب */
.post-toc {
    background: #f8f9fa;
    padding: 24px;
    border-radius: 20px;
    margin: 30px 0;
}

.toc-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.toc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toc-list a {
    color: #4b5563;
    transition: color 0.2s;
}

.toc-list a:hover {
    color: #2563eb;
}

/* محتوای مقاله */
.post-body {
    font-size: 1rem;
    line-height: 1.8;
    color: #374151;
}

.post-body p {
    margin-bottom: 1.5rem;
}

.dropcap:first-letter {
    font-size: 3.5rem;
    font-weight: 700;
    float: right;
    margin-left: 10px;
    line-height: 1;
    color: #2563eb;
}

.post-body h2 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eef2f6;
}

.post-body h3 {
    font-size: 1.2rem;
    margin: 25px 0 12px;
}

.post-body ul, .post-body ol {
    margin: 1rem 0 1.5rem 0;
    padding-right: 1.5rem;
}

.post-body li {
    margin-bottom: 8px;
}

.post-info-box {
    background: #eef2ff;
    padding: 20px 24px;
    border-radius: 16px;
    display: flex;
    gap: 16px;
    margin: 30px 0;
}

.post-info-box i {
    font-size: 1.5rem;
    color: #2563eb;
}

.post-info-box strong {
    display: block;
    margin-bottom: 8px;
}

.post-info-box p {
    margin: 0;
}

.post-image-full {
    margin: 30px 0;
    text-align: center;
}

.post-image-full img {
    max-width: 100%;
    border-radius: 20px;
}

.image-caption {
    display: block;
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 8px;
}

/* جدول محصولات */
.products-table {
    background: white;
    border: 1px solid #eef2f6;
    border-radius: 16px;
    overflow: hidden;
    margin: 30px 0;
}

.table-header {
    display: grid;
    grid-template-columns: 50px 1fr 80px 70px 100px;
    background: #f8f9fa;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 0.8rem;
}

.table-row {
    display: grid;
    grid-template-columns: 50px 1fr 80px 70px 100px;
    padding: 12px 16px;
    border-top: 1px solid #eef2f6;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .table-header, .table-row {
        grid-template-columns: 40px 1fr 70px 60px 85px;
        font-size: 0.7rem;
        gap: 8px;
    }
}

/* برچسب‌ها */
.post-tags {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 40px 0 30px;
    padding-top: 20px;
    border-top: 1px solid #eef2f6;
}

.post-tags span {
    font-weight: 600;
}

.post-tags a {
    background: #f3f4f6;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    transition: all 0.2s;
}

.post-tags a:hover {
    background: #2563eb;
    color: white;
}

/* نویسنده مقاله */
.author-bio {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 20px;
    display: flex;
    gap: 24px;
    margin: 40px 0;
}

.author-bio img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.author-bio__info h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.author-bio__info p {
    font-size: 0.85rem;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 15px;
}

.author-social {
    display: flex;
    gap: 12px;
}

.author-social a {
    width: 34px;
    height: 34px;
    background: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.author-social a:hover {
    background: #2563eb;
    color: white;
}

@media (max-width: 576px) {
    .author-bio {
        flex-direction: column;
        text-align: center;
    }
    
    .author-social {
        justify-content: center;
    }
}

/* نظرات */
.comments-section {
    margin-top: 50px;
}

.comments-title {
    font-size: 1.3rem;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eef2f6;
}

.comment {
    display: flex;
    gap: 16px;
    margin-bottom: 25px;
}

.comment img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    flex-shrink: 0;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.comment-header strong {
    font-size: 0.95rem;
}

.comment-header span {
    font-size: 0.7rem;
    color: #9ca3af;
}

.comment-content p {
    font-size: 0.9rem;
    color: #4b5563;
    margin-bottom: 10px;
}

.reply-btn {
    background: none;
    border: none;
    color: #2563eb;
    font-size: 0.75rem;
    cursor: pointer;
}

.comment-reply {
    margin-right: 60px;
}

/* فرم نظر */
.comment-form {
    margin-top: 40px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 20px;
}

.comment-form h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
}



.form-row input,
.comment-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-family: inherit;
}

.comment-form textarea {
    resize: vertical;
}

.comment-form button {
    background: #2563eb;
    color: white;
    padding: 12px 30px;
    border-radius: 40px;
    margin-top: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.comment-form button:hover {
    background: #1d4ed8;
}

/* سایدبار */
.sidebar-widget {
    background: white;
    border: 1px solid #eef2f6;
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 30px;
}

.widget-title {
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #2563eb;
    display: inline-block;
}

/* جستجوی سایدبار */
.widget-search {
    display: flex;
    gap: 8px;
}

.widget-search input {
    flex: 1;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.widget-search button {
    background: #2563eb;
    color: white;
    width: 44px;
    border-radius: 12px;
    cursor: pointer;
}

/* پست‌های سایدبار */
.widget-post {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
}

.widget-post img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
}

.widget-post__info a {
    font-weight: 500;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 6px;
}

.widget-post__info span {
    font-size: 0.7rem;
    color: #6b7280;
}

.widget-post__info span i {
    margin-left: 4px;
}

/* دسته‌بندی سایدبار */
.widget-categories li {
    margin-bottom: 12px;
}

.widget-categories a {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    transition: all 0.2s;
}

.widget-categories a:hover {
    color: #2563eb;
    padding-right: 8px;
}

/* برچسب‌ها */
.widget-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.widget-tags a {
    background: #f3f4f6;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    transition: all 0.2s;
}

.widget-tags a:hover {
    background: #2563eb;
    color: white;
}

/* خبرنامه سایدبار */
.newsletter-widget {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: white;
    text-align: center;
}

.newsletter-widget .widget-title {
    color: white;
    border-bottom-color: rgba(255,255,255,0.3);
}

.newsletter-widget p {
    margin-bottom: 16px;
    font-size: 0.85rem;
}

.widget-newsletter input {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 12px;
    margin-bottom: 12px;
}

.widget-newsletter button {
    width: 100%;
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 12px;
    border-radius: 12px;
    cursor: pointer;
}

/* مقالات مرتبط */
.related-posts {
    padding: 60px 0;
    background: #f8f9fa;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 768px) {
    .related-grid {
        grid-template-columns: 1fr;
    }
}

.related-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.related-card img {
    width: 100%;
}

.related-card__content {
    padding: 20px;
}

.related-category {
    display: inline-block;
    background: #eef2ff;
    color: #2563eb;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    margin-bottom: 12px;
}

.related-card__content h4 {
    font-size: 1rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.related-link {
    color: #2563eb;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* دارک مود سینگل بلاگ */
body.dark .post-toc,
body.dark .author-bio,
body.dark .comment-form,
body.dark .sidebar-widget,
body.dark .related-card {
    background: #1f2937;
    border-color: #374151;
}

body.dark .post-body,
body.dark .comment-content p {
    color: #d1d5db;
}

body.dark .post-info-box {
    background: #1e2d4a;
}

body.dark .products-table {
    background: #1f2937;
    border-color: #374151;
}

body.dark .table-header {
    background: #111827;
}

body.dark .widget-tags a {
    background: #374151;
    color: #d1d5db;
}

body.dark .related-posts {
    background: #111827;
}

body.dark .comment-header span {
    color: #6b7280;
}





/* ========================================
   PAGE FULL - صفحات تمام صفحه
   ======================================== */

/* هدر صفحه */
.page-header-full {
    position: relative;
    min-height: 350px;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.page-header-full__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-header-full__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-header-full__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
}

.page-header-full__content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 60px 0;
}

.page-breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.85rem;
}

.page-breadcrumb a {
    color: rgba(255,255,255,0.8);
    transition: color 0.2s;
}

.page-breadcrumb a:hover {
    color: white;
}

.page-breadcrumb i {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.6);
}

.page-breadcrumb span {
    color: white;
}

.page-header-full__content h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-header-full__content p {
    font-size: 1.1rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .page-header-full {
        min-height: 280px;
    }
    
    .page-header-full__content h1 {
        font-size: 2rem;
    }
    
    .page-header-full__content p {
        font-size: 0.95rem;
    }
}

/* محتوای اصلی */
.page-content-full {
    padding: 60px 0;
    background: #f8f9fa;
}

.page-content-full__wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

@media (max-width: 992px) {
    .page-content-full__wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* سایدبار */
.page-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-menu,
.sidebar-contact,
.sidebar-social {
    background: white;
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid #eef2f6;
}

.sidebar-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #2563eb;
    display: inline-block;
}

.sidebar-nav {
    list-style: none;
}

.sidebar-nav li {
    margin-bottom: 12px;
}

.sidebar-nav li a {
    display: block;
    padding: 8px 0;
    color: #4b5563;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.sidebar-nav li a:hover,
.sidebar-nav li a.active {
    color: #2563eb;
    padding-right: 12px;
}

.contact-list {
    list-style: none;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.85rem;
    color: #4b5563;
}

.contact-list li i {
    width: 30px;
    color: #2563eb;
    font-size: 1rem;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: #4b5563;
}

.social-links a:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-3px);
}

/* محتوای اصلی صفحه */
.page-main {
    background: white;
    border-radius: 24px;
    padding: 40px;
    border: 1px solid #eef2f6;
}

@media (max-width: 768px) {
    .page-main {
        padding: 24px;
    }
}

.page-content h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eef2f6;
}

.page-content h3 {
    font-size: 1.4rem;
    margin: 30px 0 20px;
}

.page-content p {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* آمار صفحه */
.page-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px 0;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 20px;
}

@media (max-width: 768px) {
    .page-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 480px) {
    .page-stats {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.85rem;
    color: #6b7280;
}

/* گرید ارزش‌ها */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 30px 0;
}

@media (max-width: 992px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
}

.value-card {
    text-align: center;
    padding: 24px;
    background: #f8f9fa;
    border-radius: 20px;
    transition: all 0.3s;
}

.value-card:hover {
    transform: translateY(-5px);
    background: #2563eb;
    color: white;
}

.value-card i {
    font-size: 2rem;
    margin-bottom: 16px;
    display: inline-block;
}

.value-card h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.value-card p {
    font-size: 0.8rem;
    margin: 0;
}

.value-card:hover p,
.value-card:hover h4,
.value-card:hover i {
    color: white;
}

/* نقل قول */
.page-quote {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: white;
    padding: 40px;
    border-radius: 24px;
    margin: 40px 0;
    text-align: center;
}

.page-quote i {
    font-size: 2.5rem;
    opacity: 0.5;
    margin-bottom: 20px;
    display: inline-block;
}

.page-quote p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: white;
    font-style: italic;
}

.page-quote span {
    font-size: 0.9rem;
    opacity: 0.8;
    display: block;
}

/* تیم ما */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 30px 0;
}

@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

.team-member {
    text-align: center;
    background: #f8f9fa;
    padding: 24px;
    border-radius: 20px;
    transition: all 0.3s;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 16px;
}

.team-member h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.team-member span {
    font-size: 0.8rem;
    color: #2563eb;
    display: block;
    margin-bottom: 16px;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.member-social a {
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: #4b5563;
}

.member-social a:hover {
    background: #2563eb;
    color: white;
}

/* CTA تماس */
.contact-cta {
    padding: 60px 0;
    background: white;
}

.contact-cta__wrapper {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    border: 1px solid #eef2f6;
}

.contact-cta__content h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.contact-cta__content p {
    color: #6b7280;
}

.contact-cta__btn {
    background: #2563eb;
    color: white;
    padding: 14px 32px;
    border-radius: 40px;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.contact-cta__btn:hover {
    background: #1d4ed8;
    transform: translateX(-5px);
}

/* دارک مود */
body.dark .page-content-full {
    background: #111827;
}

body.dark .sidebar-menu,
body.dark .sidebar-contact,
body.dark .sidebar-social,
body.dark .page-main {
    background: #1f2937;
    border-color: #374151;
}

body.dark .sidebar-nav li a,
body.dark .contact-list li {
    color: #d1d5db;
}

body.dark .page-content h2,
body.dark .page-content h3 {
    color: #f3f4f6;
    border-bottom-color: #374151;
}

body.dark .page-content p {
    color: #d1d5db;
}

body.dark .page-stats,
body.dark .value-card,
body.dark .team-member {
    background: #111827;
}

body.dark .value-card:hover {
    background: #2563eb;
}

body.dark .contact-cta {
    background: #111827;
}

body.dark .contact-cta__wrapper {
    background: #1f2937;
    border-color: #374151;
}

body.dark .member-social a {
    background: #374151;
    color: #d1d5db;
}

body.dark .social-links a {
    background: #374151;
    color: #d1d5db;
}



/* ========================================
   PRODUCTS GRID - صفحه آرشیو محصولات
   ======================================== */

/* گرید اصلی محصولات */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 30px 0;
}

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* کارت محصول در گرید */
.product-card {
    background: white;
    border: 1px solid #eef2f6;
    border-radius: 20px;
    padding: 20px;
    position: relative;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-color: #2563eb;
}

/* بج محصول */
.product-card__badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ef4444;
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 2;
}

/* تصویر محصول */
.product-card__img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 16px;
    transition: transform 0.3s ease;
}

.product-card:hover .product-card__img {
    transform: scale(1.02);
}

/* عنوان محصول */
.product-card__title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #1f2937;
}

/* قیمت محصول */
.product-card__price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.price-current {
    font-size: 1rem;
    font-weight: 700;
    color: #2563eb;
}

.price-old {
    font-size: 0.75rem;
    color: #9ca3af;
    text-decoration: line-through;
}

/* امتیاز محصول */
.product-card__rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.product-card__rating i {
    color: #fbbf24;
    font-size: 0.7rem;
}

.product-card__rating i.far {
    color: #e5e7eb;
}

.product-card__rating span {
    font-size: 0.7rem;
    color: #9ca3af;
}

/* دکمه محصول */
.product-card__btn {
    width: 100%;
    background: #f3f4f6;
    border: none;
    padding: 10px;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #1f2937;
}

.product-card__btn:hover {
    background: #2563eb;
    color: white;
}

/* ========================================
   PRODUCTS GRID - حالت لیست ویو
   ======================================== */
.products-grid.list-view {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.products-grid.list-view .product-card {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px;
}

.products-grid.list-view .product-card__img {
    width: 120px;
    height: 120px;
    margin-bottom: 0;
    flex-shrink: 0;
}

.products-grid.list-view .product-card__info {
    flex: 1;
}

.products-grid.list-view .product-card__title {
    height: auto;
    margin-bottom: 8px;
}

.products-grid.list-view .product-card__price {
    margin-bottom: 8px;
}

.products-grid.list-view .product-card__rating {
    margin-bottom: 10px;
}

.products-grid.list-view .product-card__btn {
    width: auto;
    padding: 8px 24px;
    margin-top: 0;
}

@media (max-width: 768px) {
    .products-grid.list-view .product-card {
        flex-wrap: wrap;
    }
    
    .products-grid.list-view .product-card__btn {
        width: 100%;
    }
}

/* ========================================
   PRODUCT CARD - حالت هوریزونتال (برای پرفروش‌ها)
   ======================================== */
.product-card--horizontal {
    display: flex;
    align-items: center;
    gap: 16px;
    background: white;
    border: 1px solid #eef2f6;
    border-radius: 16px;
    padding: 16px;
    transition: all 0.3s ease;
}

.product-card--horizontal:hover {
    transform: translateX(-5px);
    border-color: #2563eb;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.product-card--horizontal img {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.product-card--horizontal .product-card__info {
    flex: 1;
}

.product-card--horizontal h3 {
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.product-card--horizontal .price-current {
    font-size: 0.85rem;
}

.product-card__quick {
    width: 32px;
    height: 32px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1rem;
}

.product-card__quick:hover {
    background: #1d4ed8;
    transform: scale(1.05);
}

/* ========================================
   PRODUCTS EMPTY STATE
   ======================================== */
.products-empty {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 20px;
}

.products-empty i {
    font-size: 4rem;
    color: #cbd5e1;
    margin-bottom: 20px;
}

.products-empty h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #1f2937;
}

.products-empty p {
    color: #6b7280;
    margin-bottom: 20px;
}

.products-empty .btn {
    display: inline-block;
    background: #2563eb;
    color: white;
    padding: 10px 24px;
    border-radius: 40px;
    text-decoration: none;
}

/* ========================================
   PRODUCTS LOADING SKELETON
   ======================================== */
.product-card-skeleton {
    background: white;
    border: 1px solid #eef2f6;
    border-radius: 20px;
    padding: 20px;
}

.skeleton-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 16px;
    margin-bottom: 16px;
}

.skeleton-title {
    height: 15px;
    background: #f3f4f6;
    border-radius: 8px;
    margin-bottom: 10px;
    width: 80%;
}

.skeleton-price {
    height: 20px;
    background: #f3f4f6;
    border-radius: 8px;
    width: 60%;
    margin-bottom: 12px;
}

.skeleton-btn {
    height: 40px;
    background: #f3f4f6;
    border-radius: 40px;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ========================================
   DARK MODE PRODUCTS GRID
   ======================================== */
body.dark .product-card,
body.dark .product-card--horizontal {
    background: #1f2937;
    border-color: #374151;
}

body.dark .product-card__title {
    color: #f3f4f6;
}

body.dark .product-card__btn {
    background: #374151;
    color: #f3f4f6;
}

body.dark .product-card__btn:hover {
    background: #2563eb;
}

body.dark .products-empty {
    background: #1a1a24;
}

body.dark .products-empty h3 {
    color: #f3f4f6;
}

body.dark .skeleton-img,
body.dark .skeleton-title,
body.dark .skeleton-price,
body.dark .skeleton-btn {
    background: #374151;
}



/* ========================================
   ARCHIVE TOOLBAR - مرتب‌سازی و فیلتر
   ======================================== */
.archive-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    padding: 15px 0;
    border-bottom: 1px solid #eef2f6;
}

.archive-results {
    font-size: 0.85rem;
    color: #6b7280;
}

.archive-results strong {
    color: #2563eb;
    font-weight: 600;
}

.archive-sort {
    display: flex;
    align-items: center;
    gap: 12px;
}

.archive-sort label {
    font-size: 0.85rem;
    color: #6b7280;
}

.archive-sort select {
    padding: 8px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: white;
    font-size: 0.85rem;
    cursor: pointer;
    font-family: inherit;
}

.archive-view {
    display: flex;
    gap: 8px;
}

.view-btn {
    width: 38px;
    height: 38px;
    background: #f3f4f6;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    color: #6b7280;
    font-size: 1rem;
}

.view-btn.active,
.view-btn:hover {
    background: #2563eb;
    color: white;
}

/* دارک مود */
body.dark .archive-toolbar {
    border-bottom-color: #374151;
}

body.dark .archive-sort select {
    background: #1f2937;
    border-color: #374151;
    color: #f3f4f6;
}

body.dark .view-btn {
    background: #374151;
    color: #d1d5db;
}

body.dark .view-btn.active,
body.dark .view-btn:hover {
    background: #2563eb;
}

/* ========================================
   PAGINATION - صفحه‌بندی
   ======================================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 50px;
    padding: 20px 0;
    flex-wrap: wrap;
}

.pagination a {
    text-decoration: none;
    transition: all 0.2s;
}

.pagination__prev,
.pagination__next {
    padding: 8px 20px;
    background: #f3f4f6;
    border-radius: 40px;
    color: #4b5563;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pagination__prev:hover,
.pagination__next:hover {
    background: #2563eb;
    color: white;
}

.pagination__numbers {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination__numbers a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    border-radius: 12px;
    color: #4b5563;
    font-size: 0.85rem;
    font-weight: 500;
}

.pagination__numbers a.active,
.pagination__numbers a:hover {
    background: #2563eb;
    color: white;
}

.pagination__numbers span {
    color: #9ca3af;
    padding: 0 5px;
}

/* دارک مود */
body.dark .pagination__prev,
body.dark .pagination__next,
body.dark .pagination__numbers a {
    background: #1f2937;
    color: #d1d5db;
}

body.dark .pagination__prev:hover,
body.dark .pagination__next:hover,
body.dark .pagination__numbers a.active,
body.dark .pagination__numbers a:hover {
    background: #2563eb;
    color: white;
}

body.dark .pagination__numbers span {
    color: #6b7280;
}







/* ========================================
   CART & CHECKOUT PAGES
   ======================================== */

/* هدر مینیمال صفحات */
.page-header-minimal {
    text-align: center;
    padding: 40px 0 30px;
}

.page-header-minimal h1 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.cart-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 0.85rem;
    color: #9ca3af;
}

.cart-steps span.active {
    color: #2563eb;
    font-weight: 500;
}

.cart-steps i {
    font-size: 0.7rem;
}




/* ========================================
   اضافات مخصوص صفحه چک‌اوت ووکامرس
   ======================================== */

/* رفع تکرار بخش پرداخت */
/* #order_review .order-summary #payment:first-child {
    display: none;
} */

/* استایل روش‌های ارسال ووکامرس */
.woocommerce-shipping-methods {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-shipping-methods li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    margin-bottom: 12px;
    transition: all 0.2s;
    cursor: pointer;
}

.woocommerce-shipping-methods li:hover {
    border-color: #2563eb;
    background: #f8f9fa;
}

.woocommerce-shipping-methods li input[type="radio"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    accent-color: #2563eb;
}

.woocommerce-shipping-methods li label {
    flex: 1;
    cursor: pointer;
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1f2937;
}

.woocommerce-shipping-methods li label span {
    font-size: 0.75rem;
    color: #6b7280;
    display: block;
    margin-top: 4px;
}

/* استایل کلاس‌های ووکامرس در totals */
.order-totals .woocommerce-Price-amount {
    font-weight: 500;
}

.order-totals .woocommerce-Price-currencySymbol {
    margin-left: 2px;
}

/* استایل باکس پرداخت ووکامرس */
#payment {
    margin-top: 20px;
}

#payment ul.payment_methods {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

#payment ul.payment_methods li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

#payment ul.payment_methods li input[type="radio"] {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #2563eb;
}

#payment ul.payment_methods li label {
    flex: 1;
    cursor: pointer;
    margin: 0;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

#payment ul.payment_methods li label img {
    max-height: 24px;
    width: auto;
}

#payment ul.payment_methods li .payment_box {
    width: 100%;
    padding: 12px 16px;
    margin-top: 8px;
    background: #f3f4f6;
    border-radius: 12px;
    font-size: 0.8rem;
    color: #4b5563;
}

/* استایل privacy policy text */
.woocommerce-privacy-policy-text {
    font-size: 0.7rem;
    color: #9ca3af;
    margin: 15px 0;
    text-align: center;
}

.woocommerce-privacy-policy-text a {
    color: #2563eb;
    text-decoration: none;
}

.woocommerce-privacy-policy-text a:hover {
    text-decoration: underline;
}

/* دکمه ثبت سفارش ووکامرس رو مخفی و از دکمه خودمون استفاده میکنیم */


/* اما اگر خواستی خود دکمه ووکامرس استایل داشته باشه */
button#place_order:not([style*="display: none"]) {
    width: 100%;
    background: #2563eb;
    color: white;
    padding: 14px;
    border: none;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 20px;
}

button#place_order:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

/* استایل نوار اسکرول سفارش‌ها */
.order-items::-webkit-scrollbar {
    width: 4px;
}

.order-items::-webkit-scrollbar-track {
    background: #e5e7eb;
    border-radius: 10px;
}

.order-items::-webkit-scrollbar-thumb {
    background: #2563eb;
    border-radius: 10px;
}

/* دارک مود برای المان‌های ووکامرس */
body.dark .woocommerce-shipping-methods li {
    border-color: #374151;
}

body.dark .woocommerce-shipping-methods li:hover {
    background: #1a1a24;
    border-color: #60a5fa;
}

body.dark .woocommerce-shipping-methods li label {
    color: #f3f4f6;
}

body.dark #payment ul.payment_methods li {
    border-color: #374151;
}

body.dark #payment ul.payment_methods li .payment_box {
    background: #1a1a24;
    color: #9ca3af;
}

body.dark .woocommerce-privacy-policy-text {
    color: #6b7280;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .woocommerce-shipping-methods li,
    #payment ul.payment_methods li {
        flex-direction: column;
        align-items: flex-start;
    }
    
    #payment ul.payment_methods li label {
        width: 100%;
    }
    
    .order-totals .totals-row {
        font-size: 0.8rem;
    }
}

/* کوپن تخفیف ووکامرس */
.woocommerce-form-coupon-toggle {
    margin-bottom: 20px;
}

.woocommerce-info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 0.85rem;
}

.woocommerce-info a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.checkout_coupon {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 20px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.checkout_coupon .form-row-first {
    flex: 1;
    margin: 0;
}

.checkout_coupon .form-row-first input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.checkout_coupon .form-row-last {
    margin: 0;
}

.checkout_coupon button {
    background: #2563eb;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 40px;
    cursor: pointer;
}

body.dark .woocommerce-info {
    background: #1e293b;
    border-color: #334155;
    color: #93c5fd;
}

body.dark .checkout_coupon {
    background: #1f2937;
}

body.dark .checkout_coupon .form-row-first input {
    background: #1f2937;
    border-color: #374151;
    color: #f3f4f6;
}




/* ========================================
   CART PAGE - موبایل فرست
   ======================================== */

/* هدر صفحه */
.cart-header {
    text-align: center;
    padding: 20px 0 30px;
}

.cart-header h1 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.cart-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.75rem;
    color: #9ca3af;
}

.cart-steps span.active {
    color: #2563eb;
    font-weight: 500;
}

.cart-steps i {
    font-size: 0.65rem;
}

/* ========================================
   کارت‌های محصولات (موبایل فرست)
   ======================================== */
.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.cart-item-card {
    background: white;
    border: 1px solid #eef2f6;
    border-radius: 20px;
    padding: 16px;
    display: flex;
    gap: 14px;
    transition: all 0.3s;
}

.cart-item-card:hover {
    border-color: #2563eb;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

/* تصویر محصول */
.cart-item__image {
    position: relative;
    flex-shrink: 0;
}

.cart-item__image img {
    width: 90px;
    height: 90px;
    border-radius: 16px;
    object-fit: cover;
}

.cart-item__remove {
    position: absolute;
    top: -8px;
    left: -8px;
    width: 26px;
    height: 26px;
    background: #fee2e2;
    border: none;
    border-radius: 50%;
    color: #ef4444;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.cart-item__remove:hover {
    background: #ef4444;
    color: white;
    transform: scale(1.1);
}

/* جزئیات محصول */
.cart-item__details {
    flex: 1;
}

.cart-item__title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.4;
}

.cart-item__meta {
    margin-bottom: 12px;
}

.product-sku {
    font-size: 0.65rem;
    color: #9ca3af;
}

/* ردیف قیمت و تعداد */
.cart-item__price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

.cart-item__price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}

.price-label {
    font-size: 0.7rem;
    color: #9ca3af;
}

.price-value {
    font-size: 0.85rem;
    font-weight: 500;
    color: #1f2937;
}

/* کنترل تعداد */
.cart-item__quantity {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-item__quantity label {
    font-size: 0.7rem;
    color: #9ca3af;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f3f4f6;
    border-radius: 30px;
    padding: 2px;
}

.quantity-control button {
    width: 28px;
    height: 28px;
    background: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.quantity-control button:hover {
    background: #2563eb;
    color: white;
}

.quantity-control input {
    width: 40px;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 0.85rem;
    font-weight: 500;
}

.quantity-control input:focus {
    outline: none;
}

/* جمع کل هر محصول */
.cart-item__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid #eef2f6;
}

.cart-item__total span {
    font-size: 0.75rem;
    color: #9ca3af;
}

.cart-item__total strong {
    font-size: 0.9rem;
    color: #2563eb;
}

/* ========================================
   حالت خالی سبد خرید
   ======================================== */
.cart-empty {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 24px;
}

.cart-empty i {
    font-size: 4rem;
    color: #cbd5e1;
    margin-bottom: 16px;
}

.cart-empty h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.cart-empty p {
    color: #6b7280;
    margin-bottom: 20px;
}

.btn-empty-cart {
    display: inline-block;
    background: #2563eb;
    color: white;
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
}

/* ========================================
   کوپن تخفیف
   ======================================== */
.cart-coupon-section {
    margin-bottom: 24px;
}

.coupon-wrapper {
    display: flex;
    gap: 10px;
    background: white;
    border: 1px solid #eef2f6;
    border-radius: 60px;
    padding: 4px 4px 4px 16px;
}

.coupon-wrapper input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 0;
    font-size: 0.85rem;
}

.coupon-wrapper input:focus {
    outline: none;
}

.btn-apply-coupon {
    background: #f3f4f6;
    border: none;
    padding: 8px 20px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-apply-coupon:hover {
    background: #2563eb;
    color: white;
}

/* ========================================
   دو ستونه دسکتاپ
   ======================================== */
.cart-bottom-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 992px) {
    .cart-bottom-grid {
        grid-template-columns: 1fr 320px;
    }
}

/* خلاصه سبد خرید */
.cart-summary {
    background: #f8f9fa;
    border-radius: 24px;
    padding: 20px;
}

.cart-summary h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 0.85rem;
}

.summary-row.discount {
    color: #10b981;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 10px;
}

.summary-row.total {
    border-top: 1px solid #e5e7eb;
    margin-top: 5px;
    padding-top: 15px;
    font-size: 1rem;
}

.summary-row.total strong {
    font-size: 1.05rem;
    color: #2563eb;
}

.btn-proceed-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: #2563eb;
    color: white;
    padding: 14px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    margin: 20px 0 15px;
    transition: all 0.2s;
}

.btn-proceed-checkout:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.secure-payment {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.7rem;
    color: #9ca3af;
    text-align: center;
}

/* پیشنهاد ویژه */
.cart-suggestions {
    background: white;
    border: 1px solid #eef2f6;
    border-radius: 24px;
    padding: 20px;
}

.cart-suggestions h3 {
    font-size: 1rem;
    margin-bottom: 16px;
    color: #1f2937;
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #eef2f6;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item img {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    object-fit: cover;
}

.suggestion-info {
    flex: 1;
}

.suggestion-info h4 {
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.suggestion-info .price {
    font-size: 0.75rem;
    color: #2563eb;
    font-weight: 500;
}

.add-to-cart-suggestion {
    width: 34px;
    height: 34px;
    background: #f3f4f6;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.2s;
}

.add-to-cart-suggestion:hover {
    background: #2563eb;
    color: white;
    transform: scale(1.05);
}

/* ========================================
   ریسپانسیو کامل
   ======================================== */
@media (min-width: 768px) {
    .cart-header h1 {
        font-size: 2rem;
    }
    
    .cart-steps {
        font-size: 0.85rem;
        gap: 12px;
    }
    
    .cart-item-card {
        padding: 20px;
        gap: 20px;
    }
    
    .cart-item__image img {
        width: 110px;
        height: 110px;
    }
    
    .cart-item__title {
        font-size: 1rem;
    }
    
    .cart-item__price-row {
        flex-wrap: nowrap;
    }
    
    .cart-summary {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .cart-item-card {
        flex-direction: column;
    }
    
    .cart-item__image {
        display: flex;
        justify-content: center;
    }
    
    .cart-item__image img {
        width: 100px;
        height: 100px;
    }
    
    .cart-item__remove {
        top: -5px;
        left: -5px;
    }
    
    .cart-item__price-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .coupon-wrapper {
        border-radius: 16px;
        flex-direction: column;
        padding: 12px;
        gap: 10px;
    }
    
    .coupon-wrapper input {
        text-align: center;
    }
    
    .btn-apply-coupon {
        width: 100%;
        padding: 10px;
    }
}

/* ========================================
   دارک مود
   ======================================== */
body.dark .cart-item-card {
    background: #1f2937;
    border-color: #374151;
}

body.dark .cart-item-card:hover {
    border-color: #60a5fa;
}

body.dark .cart-item__title {
    color: #f3f4f6;
}

body.dark .price-value {
    color: #f3f4f6;
}

body.dark .quantity-control button {
    background: #374151;
    color: #f3f4f6;
}

body.dark .quantity-control input {
    color: #f3f4f6;
}

body.dark .cart-item__total {
    border-top-color: #374151;
}

body.dark .cart-summary {
    background: #1a1a24;
}

body.dark .cart-suggestions {
    background: #1f2937;
    border-color: #374151;
}

body.dark .cart-suggestions h3 {
    color: #f3f4f6;
}

body.dark .suggestion-item {
    border-bottom-color: #374151;
}

body.dark .coupon-wrapper {
    background: #1f2937;
    border-color: #374151;
}

body.dark .coupon-wrapper input {
    color: #f3f4f6;
}

body.dark .btn-apply-coupon {
    background: #374151;
    color: #f3f4f6;
}

body.dark .btn-apply-coupon:hover {
    background: #2563eb;
}

body.dark .cart-empty {
    background: #1a1a24;
}

body.dark .cart-empty i {
    color: #4b5563;
}

body.dark .cart-empty h3 {
    color: #f3f4f6;
}

/* ========================================
   CHECKOUT PAGE STYLES
   ======================================== */
.checkout-wrapper {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .checkout-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* فرم تسویه حساب */
.checkout-form {
    background: white;
    border: 1px solid #eef2f6;
    border-radius: 24px;
    padding: 30px;
}

.checkout-form__section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eef2f6;
}

.checkout-form__section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.checkout-form__section h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}



.form-group {
    margin-bottom: 20px;
}

.form-group.half {
    flex: 1;
    min-width: calc(50% - 10px);
}

.form-group.full {
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.85rem;
    font-weight: 500;
}

.required {
    color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-size: 0.9rem;
    font-family: inherit;
    transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* روش ارسال و پرداخت */
.shipping-methods,
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.shipping-option,
.payment-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.shipping-option:hover,
.payment-option:hover {
    border-color: #2563eb;
    background: #f8f9fa;
}

.shipping-option input,
.payment-option input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.shipping-option div,
.payment-option div {
    flex: 1;
}

.shipping-option strong,
.payment-option strong {
    display: block;
    margin-bottom: 4px;
    font-size: 0.9rem;
}

.shipping-option span,
.payment-option span {
    font-size: 0.75rem;
    color: #6b7280;
}

/* سایدبار سفارش */
.checkout-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.order-summary {
    background: #f8f9fa;
    border-radius: 24px;
    padding: 24px;
}

.order-summary h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.order-items {
    margin-bottom: 20px;
    max-height: 300px;
    overflow-y: auto;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

.item-info {
    display: flex;
    gap: 8px;
    align-items: baseline;
}

.item-name {
    font-size: 0.85rem;
}

.item-qty {
    font-size: 0.7rem;
    color: #9ca3af;
}

.item-price {
    font-size: 0.85rem;
    font-weight: 500;
}

.order-totals {
    border-top: 1px solid #e5e7eb;
    padding-top: 15px;
}

.btn-place-order {
    width: 100%;
    background: #2563eb;
    color: white;
    padding: 14px;
    border: none;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 20px;
}

.btn-place-order:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.privacy-note {
    text-align: center;
    font-size: 0.7rem;
    color: #9ca3af;
    margin-top: 15px;
}

.privacy-note i {
    margin-left: 5px;
}

/* مودال موفقیت */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.success-modal.active {
    display: flex;
}

.success-modal__content {
    background: white;
    padding: 40px;
    border-radius: 30px;
    text-align: center;
    max-width: 400px;
    margin: 20px;
}

.success-modal__content i {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 20px;
}

.success-modal__content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.success-modal__content p {
    color: #6b7280;
    margin-bottom: 10px;
}

.btn-close-modal {
    background: #2563eb;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 40px;
    margin-top: 20px;
    cursor: pointer;
}

/* دارک مود */
body.dark .cart-table,
body.dark .checkout-form {
    background: #1f2937;
    border-color: #374151;
}

body.dark .cart-table thead {
    background: #111827;
}

body.dark .cart-table th,
body.dark .cart-table td {
    border-bottom-color: #374151;
    color: #f3f4f6;
}

body.dark .cart-totals,
body.dark .order-summary {
    background: #1a1a24;
}

body.dark .totals-row,
body.dark .order-item {
    border-bottom-color: #374151;
}

body.dark .cart-coupon input,
body.dark .form-group input,
body.dark .form-group select,
body.dark .form-group textarea,
body.dark .quantity-input input {
    background: #1f2937;
    border-color: #374151;
    color: #f3f4f6;
}

body.dark .btn-coupon,
body.dark .btn-continue {
    background: #374151;
    color: #f3f4f6;
}

body.dark .shipping-option,
body.dark .payment-option {
    border-color: #374151;
}

body.dark .shipping-option:hover,
body.dark .payment-option:hover {
    background: #1a1a24;
}

body.dark .success-modal__content {
    background: #1f2937;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .cart-table th:nth-child(2),
    .cart-table th:nth-child(4),
    .cart-table td:nth-child(2),
    .cart-table td:nth-child(4) {
        display: none;
    }
    
    .product-info {
        flex-direction: column;
        text-align: center;
    }
    
    .cart-totals {
        max-width: 100%;
    }
    
    .cart-steps {
        font-size: 0.7rem;
        gap: 6px;
    }
    
    .page-header-minimal h1 {
        font-size: 1.5rem;
    }
    
    .checkout-form {
        padding: 20px;
    }
    
    .form-group.half {
        min-width: 100%;
    }
}





/* صفحات تمام عرض */
.page-content-full__wrapper-full {
    max-width: 100%;
}

.page-main-full {
    width: 100%;
}

.page-content-full__wrapper {
    display: flex;
    gap: 40px;
}

.page-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.page-main {
    flex: 1;
}

.page-main-full {
    width: 100%;
}

/* ریسپانسیو */
@media (max-width: 992px) {
    .page-content-full__wrapper {
        flex-direction: column;
    }
    
    .page-sidebar {
        width: 100%;
        order: 2;
    }
    
    .page-main {
        order: 1;
    }
}




/* ========================================
   استایل حرفه‌ای فیلدهای صورتحساب ووکامرس
   ======================================== */

/* بخش اصلی فیلدها */
.woocommerce-billing-fields {
    margin-bottom: 30px;
}

.woocommerce-billing-fields h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eef2f6;
    position: relative;
}

.woocommerce-billing-fields h3:after {
    content: '';
    position: absolute;
    bottom: -1px;
    right: 0;
    width: 50px;
    height: 2px;
    background: #2563eb;
}

/* کانتینر اصلی فیلدها */
.woocommerce-billing-fields__field-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 0 -10px;
}

/* هر ردیف فیلد */
.woocommerce-billing-fields__field-wrapper p {
    padding: 0 10px;
    margin-bottom: 20px;
    width: 100%;
}

/* فیلدهای دو ستونه */
.woocommerce-billing-fields__field-wrapper .form-row-first,
.woocommerce-billing-fields__field-wrapper .form-row-last {
    width: 50%;
    float: none !important;
}

/* لیبل فیلدها */
.woocommerce-billing-fields label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #1f2937;
}

/* استار اجباری */
.woocommerce-billing-fields .required {
    color: #ef4444;
}

/* اینپوت‌ها، سلکت‌ها و textarea */
.woocommerce-billing-fields input:not([type="checkbox"]):not([type="radio"]),
.woocommerce-billing-fields select,
.woocommerce-billing-fields textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-size: 0.9rem;
    font-family: inherit;
    transition: all 0.2s ease;
    background: white;
}

.woocommerce-billing-fields input:focus,
.woocommerce-billing-fields select:focus,
.woocommerce-billing-fields textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* استایل Select2 (برای فیلد استان و شهر) */
.select2-container--default .select2-selection--single {
    height: auto !important;
    padding: 12px 16px;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    background: white !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #1f2937 !important;
    line-height: 1.4 !important;
    padding: 0 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
    top: 0 !important;
    right: 10px !important;
}

.select2-dropdown {
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05) !important;
}

.select2-search--dropdown .select2-search__field {
    padding: 10px !important;
    border-radius: 10px !important;
    border: 1px solid #e5e7eb !important;
}

.select2-results__option--highlighted[aria-selected] {
    background-color: #2563eb !important;
}

/* فیلد آدرس (full width) */
#billing_address_1_field,
#billing_address_2_field {
    width: 100%;
}

/* فیلدهایی که باید full width باشند */
#billing_email_field {
    width: 100%;
}

/* چک‌باکس ساخت حساب کاربری */
.woocommerce-account-fields {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eef2f6;
}

.create-account {
    margin-top: 15px;
}

.create-account p {
    margin-bottom: 15px;
}

.create-account label.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.create-account input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #2563eb;
}

/* استایل placeholder */
.woocommerce-billing-fields input::placeholder,
.woocommerce-billing-fields textarea::placeholder {
    color: #9ca3af;
    font-size: 0.85rem;
}

/* استایل برای فیلدهای غیرفعال یا خطا */
.woocommerce-billing-fields .woocommerce-invalid input {
    border-color: #ef4444;
    background-color: #fef2f2;
}

.woocommerce-billing-fields .woocommerce-validated input {
    border-color: #10b981;
}

/* پیام خطا */
.woocommerce-billing-fields .woocommerce-error {
    font-size: 0.75rem;
    color: #ef4444;
    margin-top: 5px;
}

/* ========================================
   ریسپانسیو کامل
   ======================================== */

@media (max-width: 768px) {
    .woocommerce-billing-fields__field-wrapper {
        margin: 0;
    }
    
    .woocommerce-billing-fields__field-wrapper p {
        padding: 0;
    }
    
    .woocommerce-billing-fields__field-wrapper .form-row-first,
    .woocommerce-billing-fields__field-wrapper .form-row-last {
        width: 100%;
    }
    
    .woocommerce-billing-fields input:not([type="checkbox"]):not([type="radio"]),
    .woocommerce-billing-fields select,
    .woocommerce-billing-fields textarea {
        padding: 10px 14px;
        font-size: 0.85rem;
    }
    
    .select2-container--default .select2-selection--single {
        padding: 8px 12px;
    }
    
    .woocommerce-billing-fields h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .woocommerce-billing-fields label {
        font-size: 0.75rem;
        margin-bottom: 6px;
    }
    
    .woocommerce-billing-fields input:not([type="checkbox"]):not([type="radio"]),
    .woocommerce-billing-fields select,
    .woocommerce-billing-fields textarea {
        padding: 8px 12px;
        font-size: 0.8rem;
        border-radius: 10px;
    }
    
    .select2-container--default .select2-selection--single {
        padding: 6px 12px;
    }
}

/* ========================================
   دارک مود
   ======================================== */
body.dark .woocommerce-billing-fields h3 {
    color: #f3f4f6;
    border-bottom-color: #374151;
}

body.dark .woocommerce-billing-fields label {
    color: #e5e7eb;
}

body.dark .woocommerce-billing-fields input:not([type="checkbox"]):not([type="radio"]),
body.dark .woocommerce-billing-fields select,
body.dark .woocommerce-billing-fields textarea {
    background: #1f2937;
    border-color: #374151;
    color: #f3f4f6;
}

body.dark .select2-container--default .select2-selection--single {
    background: #1f2937 !important;
    border-color: #374151 !important;
}

body.dark .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #f3f4f6 !important;
}

body.dark .select2-dropdown {
    background: #1f2937 !important;
    border-color: #374151 !important;
}

body.dark .select2-search--dropdown .select2-search__field {
    background: #1f2937 !important;
    border-color: #374151 !important;
    color: #f3f4f6 !important;
}

body.dark .select2-results__option {
    color: #e5e7eb !important;
}

body.dark .select2-results__option--highlighted[aria-selected] {
    background-color: #2563eb !important;
}

body.dark .woocommerce-account-fields {
    border-top-color: #374151;
}

body.dark .woocommerce-billing-fields input::placeholder {
    color: #6b7280;
}

/* ========================================
   انیمیشن‌ها
   ======================================== */
.woocommerce-billing-fields input,
.woocommerce-billing-fields select,
.woocommerce-billing-fields textarea,
.select2-container--default .select2-selection--single {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.woocommerce-billing-fields input:hover,
.woocommerce-billing-fields select:hover,
.woocommerce-billing-fields textarea:hover {
    border-color: #2563eb;
}

/* فاصله بین فیلدها */
.woocommerce-billing-fields__field-wrapper p:last-child {
    margin-bottom: 0;
}