/* فونت فارسی */
@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');

/* متغیرهای رنگی */
:root {
    --primary-color: #8B4513;
    --primary-dark: #654321;
    --primary-light: #A0522D;
    --secondary-color: #D2691E;
    --accent-color: #CD853F;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --background: #ffffff;
    --background-light: #f8f9fa;
    --border-color: #dee2e6;
    --success: #27ae60;
    --danger: #e74c3c;
    --warning: #f39c12;
    --shadow: rgba(0, 0, 0, 0.1);
}

/* Reset و تنظیمات پایه */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    direction: rtl;
    background-color: var(--background);
    color: var(--text-dark);
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* هدر */
.header {
    background: var(--background);
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    gap: 2rem;
    flex-wrap: wrap;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.logo i {
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    background: var(--background-light);
    color: var(--primary-color);
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-icon {
    position: relative;
    font-size: 1.5rem;
    color: var(--text-dark);
}

.cart-count {
    position: absolute;
    top: -8px;
    left: -8px;
    background: var(--danger);
    color: white;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 50%;
    min-width: 20px;
    text-align: center;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* پیام‌ها */
.messages-container {
    position: fixed;
    top: 80px;
    left: 20px;
    z-index: 9999;
    max-width: 400px;
}

.alert {
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    background: white;
    box-shadow: 0 4px 12px var(--shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.alert-success {
    border-right: 4px solid var(--success);
    color: var(--success);
}

.alert-error {
    border-right: 4px solid var(--danger);
    color: var(--danger);
}

.alert-warning {
    border-right: 4px solid var(--warning);
    color: var(--warning);
}

.close-alert {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-light);
}

/* Main Content */
.main-content {
    min-height: 70vh;
}

/* هیرو سکشن */
.hero {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    color: white;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    min-height: 500px;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-shape {
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* دکمه‌ها */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

.btn-light {
    background: white;
    color: var(--primary-color);
}

.btn-light:hover {
    background: var(--background-light);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
    display: block;
}

.btn-disabled {
    background: var(--text-light);
    cursor: not-allowed;
    opacity: 0.6;
}

/* Section Title */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin: 3rem 0 1rem;
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* دسته‌بندی‌ها */
.categories-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.category-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.category-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 12px 40px rgba(139, 69, 19, 0.25);
    border-color: var(--primary-color);
}

.category-card:hover::before {
    opacity: 0.05;
}

.category-card-inner {
    position: relative;
    z-index: 1;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.category-icon-wrapper {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(139, 69, 19, 0.3);
    transition: all 0.4s ease;
    position: relative;
}

.category-icon-wrapper::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.category-card:hover .category-icon-wrapper {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 12px 30px rgba(139, 69, 19, 0.4);
}

.category-card:hover .category-icon-wrapper::before {
    opacity: 0.5;
}

.category-icon {
    font-size: 3rem;
    color: white;
}

.category-content {
    text-align: center;
    width: 100%;
}

.category-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.category-card:hover h3 {
    color: var(--primary-color);
}

.category-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    min-height: 3em;
}

.category-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--background-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all 0.4s ease;
    margin-top: auto;
}

.category-card:hover .category-arrow {
    background: var(--primary-color);
    color: white;
    transform: translateX(-8px);
}

.category-hover-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.category-card:hover .category-hover-overlay {
    transform: scaleX(1);
}

/* محصولات */
.featured-products {
    padding: 4rem 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px var(--shadow);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px var(--shadow);
}

.product-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    display: block;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-placeholder {
    width: 100%;
    height: 100%;
    background: var(--background-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--text-light);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
}

.product-badge.unavailable {
    background: var(--danger);
}

.product-badge.limited {
    background: var(--warning);
}

.product-badge.discount {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    box-shadow: 0 2px 8px rgba(238, 90, 36, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.product-title a {
    color: var(--text-dark);
}

.product-title a:hover {
    color: var(--primary-color);
}

.product-description {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.product-meta {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.product-price-old {
    font-size: 0.95rem;
    color: #999;
    text-decoration: line-through;
    margin-left: 0.5rem;
}

.price-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.add-to-cart-form {
    display: inline;
}

/* ویژگی‌ها */
.features {
    padding: 4rem 0;
    background: var(--background-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-light);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* فوتر */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--primary-color);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* تنظیمات صفحات جزئی در فایل بعدی... */

.text-center {
    text-align: center;
    margin-top: 2rem;
}

.no-products {
    text-align: center;
    color: var(--text-light);
    padding: 2rem;
    grid-column: 1 / -1;
}

/* صفحه محصولات */
.products-section {
    padding: 2rem 0 4rem;
}

.products-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
}

.products-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.filter-box {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px var(--shadow);
}

.filter-box h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.category-filter {
    list-style: none;
}

.category-filter li {
    margin-bottom: 0.5rem;
}

.category-filter a {
    display: block;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.category-filter a:hover,
.category-filter a.active {
    background: var(--primary-color);
    color: white;
}

.category-header {
    margin-bottom: 2rem;
}

.category-header h2 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.no-products-full {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
}

.no-products-full i {
    font-size: 5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* صفحه جزئیات محصول */
.breadcrumb {
    background: var(--background-light);
    padding: 1rem 0;
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--text-dark);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.product-detail {
    padding: 3rem 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.product-detail-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px var(--shadow);
}

.product-detail-image img {
    width: 100%;
    height: auto;
}

.product-placeholder-large {
    width: 100%;
    height: 500px;
    background: var(--background-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: var(--text-light);
}

.product-detail-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.product-detail-price {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.price-value-old {
    font-size: 1.3rem;
    color: #999;
    text-decoration: line-through;
    margin-left: 1rem;
}

.discount-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(238, 90, 36, 0.3);
}

.discount-badge i {
    margin-left: 0.3rem;
}

.price-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.discount-info {
    font-size: 0.9rem;
    color: #27ae60;
    font-weight: 600;
    margin-top: 0.5rem;
}

.price-currency {
    font-size: 1.2rem;
}

.product-detail-description {
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--background-light);
    border-radius: 8px;
}

.product-specs {
    margin-bottom: 2rem;
}

.product-specs h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.product-specs ul {
    list-style: none;
}

.product-specs li {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem;
    border-bottom: 1px solid var(--border-color);
}

.spec-label {
    color: var(--text-light);
}

.spec-value {
    font-weight: 600;
}

.stock-available {
    color: var(--success);
}

.stock-limited {
    color: var(--warning);
}

.stock-unavailable {
    color: var(--danger);
}

.product-order-form {
    margin-bottom: 2rem;
}

.quantity-selector {
    margin-bottom: 1rem;
}

.quantity-selector label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.quantity-input {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-input input {
    width: 80px;
    text-align: center;
    padding: 0.5rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 8px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.qty-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.unavailable-notice {
    background: #fee;
    color: var(--danger);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 2rem;
}

.product-share {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.share-btn {
    width: 40px;
    height: 40px;
    background: var(--background-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-dark);
}

.share-btn:hover {
    background: var(--primary-color);
    color: white;
}

.related-products {
    margin-top: 4rem;
}

/* سبد خرید */
.cart-section {
    padding: 2rem 0 4rem;
}

.cart-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.cart-items {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px var(--shadow);
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 2fr 150px 120px 50px;
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-placeholder {
    width: 100px;
    height: 100px;
    background: var(--background-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-light);
}

.cart-item-details h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.cart-item-price {
    color: var(--text-light);
}

.cart-price-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cart-item-price-old {
    color: #999;
    text-decoration: line-through;
    font-size: 0.9rem;
}

.cart-discount-badge {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
}

.quantity-update-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.btn-update-qty {
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.item-total-price {
    font-weight: bold;
    color: var(--primary-color);
}

.btn-remove {
    background: none;
    border: none;
    color: var(--danger);
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.btn-remove:hover {
    transform: scale(1.2);
}

.cart-summary {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px var(--shadow);
    position: sticky;
    top: 100px;
    height: fit-content;
}

.cart-summary h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.summary-divider {
    border-top: 2px solid var(--border-color);
    margin: 1.5rem 0;
}

.summary-total {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
}

.empty-cart {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-cart i {
    font-size: 6rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.empty-cart h2 {
    margin-bottom: 0.5rem;
}

.empty-cart p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* تسویه حساب */
.checkout-section {
    padding: 2rem 0 4rem;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.checkout-form-wrapper {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px var(--shadow);
}

.checkout-form-wrapper h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.order-summary {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px var(--shadow);
    position: sticky;
    top: 100px;
    height: fit-content;
}

.order-summary h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.order-items {
    margin-bottom: 1.5rem;
}

.order-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.order-item:last-child {
    border-bottom: none;
}

.order-item-image {
    flex-shrink: 0;
}

.order-item-image img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

.order-placeholder {
    width: 60px;
    height: 60px;
    background: var(--background-light);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-light);
}

.order-item-details h4 {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.order-item-details p {
    font-size: 0.85rem;
    color: var(--text-light);
}

.order-item-price {
    margin-right: auto;
    font-weight: 600;
}

.shipping-info {
    background: #e8f5e9;
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--success);
    margin-top: 1rem;
}

/* صفحه موفقیت سفارش */
.success-section {
    padding: 4rem 0;
}

.success-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.success-icon {
    font-size: 6rem;
    color: var(--success);
    margin-bottom: 1rem;
}

.success-content h1 {
    color: var(--success);
    margin-bottom: 0.5rem;
}

.success-subtitle {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.order-number {
    background: var(--background-light);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.order-number strong {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.order-info-box {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px var(--shadow);
    margin-bottom: 2rem;
    text-align: right;
}

.order-info-box h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    color: var(--text-light);
}

.info-value {
    font-weight: 600;
}

.status-badge {
    background: var(--warning);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

.order-items-list {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px var(--shadow);
    margin-bottom: 2rem;
    text-align: right;
}

.order-items-list h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.success-order-item {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
}

.success-order-item:last-child {
    border-bottom: none;
}

.success-message {
    background: #e3f2fd;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    display: flex;
    align-items: start;
    gap: 1rem;
    text-align: right;
}

.success-message i {
    color: #1976d2;
    font-size: 1.5rem;
}

.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* صفحات About و Contact */
.about-section,
.contact-section {
    padding: 3rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.about-text h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-text p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-placeholder {
    width: 400px;
    height: 400px;
    background: var(--background-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: var(--text-light);
}

.values-section,
.process-section,
.team-section {
    padding: 3rem 0;
}

.values-section {
    background: var(--background-light);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px var(--shadow);
}

.value-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.process-step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px var(--shadow);
}

.member-avatar {
    width: 120px;
    height: 120px;
    background: var(--background-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--text-light);
    margin: 0 auto 1rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.contact-form-wrapper,
.contact-info-wrapper {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px var(--shadow);
}

.contact-info-wrapper h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-info-card {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    background: var(--background-light);
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-info-text h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.social-links-large {
    margin-top: 2rem;
}

.social-links-large h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    color: white;
    font-weight: 600;
}

.social-btn.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-btn.telegram {
    background: #0088cc;
}

.social-btn.whatsapp {
    background: #25d366;
}

.map-section {
    padding: 2rem 0 4rem;
}

.map-placeholder {
    height: 400px;
    background: var(--background-light);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--text-light);
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-shape {
        width: 250px;
        height: 250px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .products-layout {
        grid-template-columns: 1fr;
    }
    
    .products-sidebar {
        position: static;
    }
    
    .product-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .cart-layout,
    .checkout-layout,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 1rem;
    }
    
    .cart-item-quantity,
    .cart-item-total,
    .cart-item-remove {
        grid-column: 1 / -1;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-placeholder {
        width: 100%;
        height: 300px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .success-actions {
        flex-direction: column;
    }
}/* گالری تصاویر */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 16px var(--shadow);
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.main-image:hover img {
    transform: scale(1.05);
}

.thumbnail-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.5rem;
}

.thumbnail {
    width: 100%;
    height: 100px;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail.active {
    border-color: var(--primary-color);
}

.thumbnail:hover {
    border-color: var(--primary-light);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* امتیاز محصول */
.product-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.product-rating .stars {
    display: flex;
    gap: 0.2rem;
    color: #ffa500;
}

.product-rating .rating-text {
    font-weight: 600;
    color: var(--text-dark);
}

.product-rating .review-count {
    color: var(--text-light);
}

/* سایز و رنگ */
.product-option {
    margin-bottom: 1.5rem;
}

.product-option h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.size-selector,
.color-selector {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.size-badge,
.color-badge {
    padding: 0.5rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.size-badge.active,
.color-badge.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.size-badge:hover,
.color-badge:hover {
    border-color: var(--primary-color);
}

/* تب‌ها */
.product-tabs {
    margin-top: 4rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px var(--shadow);
    overflow: hidden;
}

.tab-buttons {
    display: flex;
    border-bottom: 2px solid var(--border-color);
}

.tab-btn {
    flex: 1;
    padding: 1rem 2rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-content {
    display: none;
    padding: 2rem;
}

.tab-content.active {
    display: block;
}

/* نظرات */
.reviews-summary {
    margin-bottom: 2rem;
    padding: 2rem;
    background: var(--background-light);
    border-radius: 8px;
}

.rating-overview {
    text-align: center;
}

.rating-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stars-large {
    display: flex;
    justify-content: center;
    gap: 0.3rem;
    color: #ffa500;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.reviews-list {
    margin-bottom: 2rem;
}

.review-item {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.review-item:last-child {
    border-bottom: none;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    gap: 1rem;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.reviewer-info h4 {
    margin-bottom: 0.2rem;
}

.review-date {
    font-size: 0.85rem;
    color: var(--text-light);
}

.review-stars {
    display: flex;
    gap: 0.2rem;
    color: #ffa500;
}

.review-comment {
    line-height: 1.6;
    color: var(--text-dark);
}

.no-reviews {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
}

/* فرم افزودن نظر */
.add-review {
    padding: 2rem;
    background: var(--background-light);
    border-radius: 8px;
}

.add-review h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.review-form .form-group {
    margin-bottom: 1.5rem;
}

.rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 0.5rem;
}

.rating-input input[type="radio"] {
    display: none;
}

.rating-input label {
    font-size: 2rem;
    color: var(--border-color);
    cursor: pointer;
    transition: color 0.3s ease;
}

.rating-input input[type="radio"]:checked ~ label,
.rating-input label:hover,
.rating-input label:hover ~ label,
.rating-input label.selected {
    color: #ffa500;
}

.form-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

/* توضیحات تکمیلی */
.additional-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.additional-info h4 {
    color: var(--text-dark);
    margin: 1.5rem 0 0.5rem;
}

.additional-info ul {
    list-style: none;
    padding-right: 1.5rem;
}

.additional-info li {
    position: relative;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.additional-info li:before {
    content: "✓";
    position: absolute;
    right: -1.5rem;
    color: var(--success);
    font-weight: bold;
}

/* Responsive برای محصول */
@media (max-width: 768px) {
    .main-image {
        height: 300px;
    }
    
    .thumbnail-images {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .thumbnail {
        height: 80px;
    }
    
    .tab-buttons {
        flex-direction: column;
    }
    
    .rating-overview {
        padding: 1rem;
    }
    
    .rating-number {
        font-size: 2rem;
    }
}
/* ============================================
   صفحات احراز هویت (ورود/ثبت نام)
   ============================================ */

.auth-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--background-light) 0%, #fff 100%);
}

.auth-container {
    max-width: 500px;
    margin: 0 auto;
}

.auth-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 24px var(--shadow);
    padding: 3rem;
}

.auth-card h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.auth-form input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.auth-form input:focus {
    border-color: var(--primary-color);
    outline: none;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.auth-footer a {
    color: var(--primary-color);
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* ============================================
   پروفایل کاربر
   ============================================ */

.profile-section {
    padding: 4rem 0;
}

.profile-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.profile-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px var(--shadow);
    padding: 2rem;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.profile-info h2 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.profile-info p {
    color: var(--text-light);
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: var(--background-light);
    border-radius: 8px;
}

.stat-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-item strong {
    display: block;
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.stat-item span {
    font-size: 0.85rem;
    color: var(--text-light);
}

.profile-form {
    margin-bottom: 2rem;
}

.profile-form h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.profile-actions {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.orders-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px var(--shadow);
    padding: 2rem;
}

.orders-card h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.order-item {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    transition: border-color 0.3s;
}

.order-item:hover {
    border-color: var(--primary-light);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.order-date {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-processing {
    background: #d1ecf1;
    color: #0c5460;
}

.status-shipped {
    background: #d4edda;
    color: #155724;
}

.status-delivered {
    background: #d4edda;
    color: #155724;
}

.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

.order-items {
    margin-bottom: 1rem;
}

.order-product {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    color: var(--text-dark);
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.order-total {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.paid-badge {
    color: var(--success);
    font-weight: 600;
}

.unpaid-badge {
    color: var(--warning);
    font-weight: 600;
}

/* ============================================
   لیست علاقه‌مندی‌ها
   ============================================ */

.wishlist-section {
    padding: 4rem 0;
}

.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.wishlist-item {
    position: relative;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px var(--shadow);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.wishlist-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px var(--shadow);
}

.remove-wishlist {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--error);
    font-size: 1.2rem;
    z-index: 10;
    transition: all 0.3s;
}

.remove-wishlist:hover {
    background: var(--error);
    color: white;
    transform: scale(1.1);
}

.wishlist-item .price-box {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.wishlist-item .price-old {
    font-size: 0.95rem;
    color: #999;
    text-decoration: line-through;
}

.wishlist-item .discount-badge-small {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.wishlist-item .product-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.wishlist-item .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.wishlist-item:hover .product-image img {
    transform: scale(1.05);
}

.wishlist-item .no-image {
    width: 100%;
    height: 100%;
    background: var(--background-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 3rem;
}

.wishlist-item .product-info {
    padding: 1.5rem;
}

.wishlist-item h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.wishlist-item .price {
    font-size: 1.25rem;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 1rem;
}

.product-meta {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.badge {
    padding: 0.25rem 0.75rem;
    background: var(--background-light);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-dark);
}

.product-actions {
    display: flex;
    gap: 0.5rem;
}

.product-actions .btn {
    flex: 1;
}

.out-of-stock {
    flex: 1;
    text-align: center;
    padding: 0.75rem;
    background: var(--background-light);
    color: var(--text-light);
    border-radius: 8px;
    font-weight: 600;
}

/* ============================================
   آیکون‌های ناوبری
   ============================================ */

.nav-icons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: all 0.3s;
}

.icon-btn:hover {
    background: var(--background-light);
    color: var(--primary-color);
}

/* دکمه علاقه‌مندی در صفحه محصول */
.btn-wishlist {
    padding: 0.75rem 1.5rem !important;
    background: white !important;
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color) !important;
}

.btn-wishlist:hover {
    background: var(--primary-color) !important;
    color: white !important;
}

.btn-group {
    display: flex;
    gap: 0.5rem;
}

.btn-group .btn-primary {
    flex: 1;
}

/* ============================================
   حالت خالی (Empty State)
   ============================================ */

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px var(--shadow);
}

.empty-state i {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.empty-state h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.empty-state p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* ============================================
   Responsive برای صفحات کاربری
   ============================================ */

@media (max-width: 1024px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .auth-card {
        padding: 2rem;
    }
    
    .profile-stats {
        grid-template-columns: 1fr;
    }
    
    .wishlist-grid {
        grid-template-columns: 1fr;
    }
    
    .order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .order-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .btn-group {
        flex-direction: column;
    }
}
/* ============================================
   اسلایدر اصلی - Hero Slider
   ============================================ */

.hero-slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f1e8 0%, #ffffff 100%);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.slide-content .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.slide-text {
    animation: slideInRight 1s ease-out;
}

.slide.active .slide-text {
    animation: slideInRight 1s ease-out;
}

.slide-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    animation: pulse 2s ease-in-out infinite;
}

.slide-title {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.slide-subtitle {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.slide-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.slide-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.slide-image {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-shape {
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50% 40% 60% 50%;
    position: relative;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 20px 60px rgba(139, 69, 19, 0.3);
}

.slide-shape::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50% 40% 60% 50%;
    animation: rotate 20s linear infinite;
}

.floating-badge {
    position: absolute;
    top: 20%;
    right: 10%;
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: floatBadge 3s ease-in-out infinite;
    z-index: 10;
}

.floating-badge i {
    font-size: 2rem;
    color: var(--primary-color);
}

.floating-badge span {
    font-weight: 600;
    color: var(--text-dark);
}

/* دکمه‌های کنترل اسلایدر */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    right: 2rem;
}

.next-btn {
    left: 2rem;
}

/* نقاط ناوبری */
.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.dot.active {
    background: var(--primary-color);
    width: 40px;
    border-radius: 6px;
}

.dot:hover {
    background: var(--primary-color);
}

/* ============================================
   بهبود بخش‌های موجود
   ============================================ */

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header .section-title {
    margin-bottom: 0.5rem;
}

.section-header .section-subtitle {
    color: var(--text-light);
}

/* دسته‌بندی‌ها */
.category-card {
    position: relative;
    overflow: hidden;
}

.category-arrow {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.category-card:hover .category-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* محصولات */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(139, 69, 19, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-image:hover .product-overlay {
    opacity: 1;
}

.product-overlay i {
    font-size: 2rem;
}

.product-category {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.price-box {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
}

.product-price {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--primary-color);
}

.price-currency {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ============================================
   انیمیشن‌ها
   ============================================ */

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(2deg);
    }
    50% {
        transform: translateY(-10px) rotate(-2deg);
    }
    75% {
        transform: translateY(-15px) rotate(1deg);
    }
}

@keyframes floatBadge {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
    .slide-content .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .slide-image {
        display: none;
    }
    
    .slide-title {
        font-size: 2.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 500px;
    }
    
    .slide-title {
        font-size: 2rem;
    }
    
    .slide-subtitle {
        font-size: 1.2rem;
    }
    
    .slide-description {
        font-size: 1rem;
    }
    
    .slide-buttons {
        flex-direction: column;
    }
    
    .slide-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .prev-btn {
        right: 1rem;
    }
    
    .next-btn {
        left: 1rem;
    }
    
    .slider-dots {
        bottom: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 450px;
    }
    
    .slide-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }
    
    .slide-title {
        font-size: 1.75rem;
    }
}
/* ============================================
   صفحه لیست محصولات - فیلترها و Pagination
   ============================================ */

/* جستجو */
.search-form {
    position: relative;
    display: flex;
}

.search-input {
    width: 100%;
    padding: 0.75rem 3rem 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.3s;
}

.search-input:focus {
    border-color: var(--primary-color);
    outline: none;
}

.search-btn {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    padding: 0 1rem;
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    transition: color 0.3s;
}

.search-btn:hover {
    color: var(--primary-dark);
}

/* فیلتر قیمت */
.price-inputs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.price-input {
    flex: 1;
    padding: 0.5rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.9rem;
}

.price-input:focus {
    border-color: var(--primary-color);
    outline: none;
}

.price-inputs span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* فیلتر سایز */
.size-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.size-option {
    padding: 0.5rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: all 0.3s;
    cursor: pointer;
}

.size-option:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.size-option.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* فیلتر رنگ */
.color-filter {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.color-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s;
    cursor: pointer;
}

.color-option:hover {
    border-color: var(--primary-color);
    background: var(--background-light);
}

.color-option.active {
    border-color: var(--primary-color);
    background: var(--background-light);
}

.color-box {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    border: 2px solid var(--border-color);
}

/* رنگ‌های مختلف */
.color-natural {
    background: #f5deb3;
}

.color-dark_brown {
    background: #654321;
}

.color-light_brown {
    background: #d2691e;
}

.color-walnut {
    background: #773f1a;
}

.color-oak {
    background: #bc987e;
}

.color-mahogany {
    background: #c04000;
}

.color-white {
    background: #f5f5f5;
}

.color-black {
    background: #2c2c2c;
}

.color-name {
    font-size: 0.9rem;
    color: var(--text-dark);
}

/* هدر محصولات */
.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px var(--shadow);
    margin-bottom: 2rem;
}

.products-count {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.products-count i {
    color: var(--primary-color);
}

.sort-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sort-box label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.sort-box select {
    padding: 0.5rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: white;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: border-color 0.3s;
}

.sort-box select:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* فیلترهای فعال */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--background-light);
    border-radius: 8px;
    margin-bottom: 2rem;
}

.filter-label {
    font-weight: 600;
    color: var(--text-dark);
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.filter-tag a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 0.8rem;
    transition: background 0.3s;
}

.filter-tag a:hover {
    background: var(--primary-dark);
}

/* متا اطلاعات محصول */
.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.75rem;
    background: var(--background-light);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.meta-item i {
    font-size: 0.75rem;
}

/* Pagination */
.pagination {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 0;
}

.pagination-info {
    color: var(--text-light);
    font-size: 0.95rem;
}

.pagination-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-dark);
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
}

.pagination-btn:hover:not(.disabled) {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.pagination-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* حالت خالی */
.no-products-full {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px var(--shadow);
}

.no-products-full i {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.no-products-full h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.no-products-full p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* دکمه حذف فیلترها */
.btn-outline.btn-block {
    justify-content: center;
    gap: 0.5rem;
}

/* بهبود filter-box */
.filter-box h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1rem;
}

.filter-box h3 i {
    font-size: 0.9rem;
}

.category-filter li a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.category-filter li a i {
    font-size: 0.9rem;
    color: var(--primary-color);
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 768px) {
    .products-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .sort-box {
        flex-direction: column;
        align-items: stretch;
    }
    
    .sort-box select {
        width: 100%;
    }
    
    .active-filters {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .pagination-list {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .pagination-btn {
        min-width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .price-inputs {
        flex-direction: column;
    }
    
    .price-input {
        width: 100%;
    }
    
    .color-filter {
        max-height: 300px;
        overflow-y: auto;
    }
}

@media (max-width: 480px) {
    .products-count {
        font-size: 0.9rem;
    }
    
    .filter-tag {
        font-size: 0.85rem;
        padding: 0.4rem 0.75rem;
    }
    
    .no-products-full {
        padding: 3rem 1rem;
    }
    
    .no-products-full i {
        font-size: 3rem;
    }
}

/* ============ جستجوی زنده ============ */
.header-search {
    flex: 1;
    max-width: 500px;
    margin: 0 2rem;
    position: relative;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

#live-search-input {
    width: 100%;
    padding: 0.75rem 3rem 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #f8f8f8;
    font-family: inherit;
}

#live-search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.search-icon {
    position: absolute;
    left: 1rem;
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.5rem;
}

.search-results {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    left: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
}

.search-results-list {
    padding: 0.5rem;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
    gap: 1rem;
}

.search-result-item:hover {
    background: #f8f8f8;
}

.search-result-item img,
.search-result-item .no-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.search-result-item .no-image {
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 1.5rem;
}

.search-result-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.search-result-info h4 {
    font-size: 0.95rem;
    margin: 0;
    color: #333;
}

.search-result-info .category {
    font-size: 0.85rem;
    color: #666;
}

.search-result-info .price {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
}

.no-results {
    padding: 2rem;
    text-align: center;
    color: #666;
    font-size: 0.95rem;
}

/* ============ اسلایدر قیمت ============ */
.price-slider-container {
    padding: 1rem 0;
}

.price-values {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 600;
    gap: 0.5rem;
}

#min-price-display,
#max-price-display {
    font-size: 1.1rem;
}

.range-slider {
    position: relative;
    height: 40px;
    display: flex;
    align-items: center;
}

.slider-track {
    position: absolute;
    width: 100%;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    top: 50%;
    transform: translateY(-50%);
}

.slider-range {
    position: absolute;
    height: 6px;
    background: var(--primary-color);
    border-radius: 3px;
    top: 50%;
    transform: translateY(-50%);
}

.range-input {
    position: absolute;
    width: 100%;
    height: 6px;
    background: transparent;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}

.range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: var(--primary-color);
    border: 3px solid white;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.range-input::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: var(--primary-color);
    border: 3px solid white;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.range-input::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.range-input::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

/* Responsive برای جستجو و اسلایدر */
@media (max-width: 768px) {
    .header-search {
        margin: 1rem 0;
        max-width: 100%;
    }
    
    .search-result-item {
        flex-direction: column;
        text-align: center;
    }
    
    .search-result-item img,
    .search-result-item .no-image {
        width: 100%;
        height: 150px;
    }
}

