/* فونت وزیر */
@font-face {
    font-family: 'Vazir';
    src: url('../fonts/Vazirmatn.eot');
    src: url('../fonts/Vazirmatn.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Vazirmatn.woff2') format('woff2'),
         url('../fonts/Vazirmatn.woff') format('woff'),
         url('../fonts/Vazirmatn.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazir';
    src: url('../fonts/Vazirmatn-Bold.eot');
    src: url('../fonts/Vazirmatn-Bold.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Vazirmatn-Bold.woff2') format('woff2'),
         url('../fonts/Vazirmatn-Bold.woff') format('woff'),
         url('../fonts/Vazirmatn-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazir';
    src: url('../fonts/Vazirmatn-Medium.eot');
    src: url('../fonts/Vazirmatn-Medium.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Vazirmatn-Medium.woff2') format('woff2'),
         url('../fonts/Vazirmatn-Medium.woff') format('woff'),
         url('../fonts/Vazirmatn-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazir';
    src: url('../fonts/Vazirmatn-Light.eot');
    src: url('../fonts/Vazirmatn-Light.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Vazirmatn-Light.woff2') format('woff2'),
         url('../fonts/Vazirmatn-Light.woff') format('woff'),
         url('../fonts/Vazirmatn-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazir';
    src: url('../fonts/Vazirmatn-Thin.eot');
    src: url('../fonts/Vazirmatn-Thin.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Vazirmatn-Thin.woff2') format('woff2'),
         url('../fonts/Vazirmatn-Thin.woff') format('woff'),
         url('../fonts/Vazirmatn-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
	font-family: 'Vazir', sans-serif;
}

:root {
    --primary-color: #2C3E50; /* رنگ ذغالی */
    --secondary-color: #8B4513; /* رنگ قهوه‌ای براق */
    --accent-color: #27AE60; /* رنگ کرال براق */
    --light-color: #FFFFFF;
    --dark-color: #1C2833;
    --gray-light: #F8F9FA;
    --gray: #95A5A6;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Vazir', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);	   
    padding-top: 120px; /* برای هدر fixed */
	 /* اضافه کردن تصویر پس‌زمینه 
    background-image: url('../images/backgrounds/pattern.png');*/
	 background-image: 
        linear-gradient(
            135deg,
            rgba(44, 62, 80, 0.03) 0%,   /* سایه ذغالی */
            rgba(139, 69, 19, 0.03) 50%, /* سایه قهوه‌ای */
            rgba(39, 174, 96, 0.03) 100% /* سایه کرال */
        ),
        radial-gradient(
            circle at 10% 20%,
            rgba(255, 255, 255, 0.9) 0%,
            rgba(248, 249, 250, 0.8) 100%
        );
    
    background-attachment: fixed; /* ثابت ماندن هنگام اسکرول */
    background-size: cover; /* پوشش کامل صفحه */
    background-position: center center; /* مرکز تصویر */
    background-repeat: no-repeat; /* عدم تکرار */
    
    /* گرادیانت یکدست به جای تصویر */
    background-blend-mode: multiply; /* ترکیب طبیعی رنگ‌ها */
    
    /* حالت ریسپانسیو */
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;    
	background-image: 
        radial-gradient(
            circle at 20% 80%,
            rgba(139, 69, 19, 0.03) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 80% 20%,
            rgba(39, 174, 96, 0.03) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 40% 40%,
            rgba(44, 62, 80, 0.02) 0%,
            transparent 50%
        );
    pointer-events: none; /* عدم تداخل با عناصر صفحه */
    z-index: -1; /* قرار گرفتن در پشت محتوا */

    z-index: -1;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--light-color);
    box-shadow: var(--shadow);
    z-index: 1000;
}

.header-content{
	margin-top:-25px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--gray-light);
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-color);
}

.logo img {
    width: 100px;
    height: 100px;
    margin-left: 10px;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
}

.search-box form {
    display: flex;
    background: var(--gray-light);
    border-radius: 25px;
    overflow: hidden;
}

.search-box input {
    border: none;
    padding: 10px 15px;
    width: 300px;
    background: transparent;
    font-family: 'Vazir';
}

.search-box button {
    border: none;
    background: var(--accent-color);
    color: white;
    padding: 10px 20px;
    cursor: pointer;
    transition: var(--transition);
}

.search-box button:hover {
    background: var(--secondary-color);
}

.user-cart {
    position: relative;
}

.cart-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
    position: relative;
    text-decoration: none;
}

.cart-count {
    position: absolute;
    top: -8px;
    left: -8px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Navigation */
.main-nav {
    position: relative;
	z-index:1001;
}

.nav-menu {
    display: flex;
    list-style: none;
    justify-content: center;
	
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu > li > a:hover {
    color: var(--accent-color);
    background: var(--gray-light);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--light-color);
    min-width: 200px;
    box-shadow: var(--shadow);
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: var(--primary-color);
    border-bottom: 1px solid var(--gray-light);
}

.dropdown-menu li a:hover {
    background: var(--gray-light);
    color: var(--accent-color);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

.mobile-menu {
    display: none;
    background: var(--light-color);
    box-shadow: var(--shadow);
}

.mobile-nav-menu {
    list-style: none;
}

.mobile-nav-menu li a {
    display: block;
    padding: 15px;
    text-decoration: none;
    color: var(--primary-color);
    border-bottom: 1px solid var(--gray-light);
}

.mobile-nav-menu li a:hover {
    background: var(--gray-light);
    color: var(--accent-color);
}

.compare-btn {
    padding: 12px 25px;
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.compare-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.3);
}

.compare-count.pulse {
    animation: pulse 0.5s ease;
}

.remove-product:disabled,
.btn-clear:disabled,
.btn-share:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.remove-product i.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Loading state for buttons */
.btn-clear.loading,
.btn-share.loading {
    position: relative;
    color: transparent !important;
}

.btn-clear.loading::after,
.btn-share.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.basket-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/backgrounds/texture.jpg') repeat;
    opacity: 0.1;
    z-index: -1;
}

/* Basket Section Background */
.basket-section {
    position: relative;
    padding: 60px 0;
    background: rgba(248, 249, 250, 0.9);
}

/* Hero Section Background */
.hero {
    background-image: url('../images/backgrounds/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* پارالاکس افکت */
	height:400px;
    color: white;
    padding: 0;
    text-align: center;
    margin-bottom: 0px;
	margin-top:20px;
    position: relative;
    overflow: hidden;	
}

/* Sections with subtle background */
.products-section {
    position: relative;
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.9);
}

.products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/backgrounds/texture.jpg');
    opacity: 0.05;
    z-index: -1;
}


.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: var(--transition);
}

.cta-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 100px;
    height: 3px;
    background: var(--accent-color);
}

.products-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 30px !important;
    margin-bottom: 50px !important;
}

/* Product Cards with Background */
.product-card {
    background: white !important;
    border-radius: 15px !important;
    overflow: hidden !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.3s ease !important;
    border: 1px solid #f0f0f0 !important;
    position: relative !important;
    cursor: pointer !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.05), rgba(44, 62, 80, 0.05));
    z-index: -1;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.product-image {
	height: 220px !important;
    overflow: hidden !important;
    position: relative !important;
    flex-shrink: 0 !important;
}

.product-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.5s ease !important;
}

.product-card:hover .product-image img {
    transform: scale(1.15);
}

.product-info {
    padding: 25px !important;
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

.product-title {
    margin-bottom: 15px !important;
}

.product-title a {
    color: var(--primary-color) !important;
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
    display: block !important;
}

.product-title a:hover {
    color: var(--accent-color);
}

.product-description {
     color: #666 !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    margin-bottom: 15px !important;
    flex-grow: 1 !important;
}

.product-price {
     margin-bottom: 20px !important;
}

.current-price, .price {
    font-size: 1rem !important;
    font-weight: 800 !important;
    color: var(--accent-color) !important;
}

.price-current {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-color);
}

.original-price {
    text-decoration: line-through !important;
    color: #888 !important;
    font-size: 1.3rem !important;
}

.price-old {
    text-decoration: line-through;
    color: var(--gray);
    font-size: 1rem;
}

.discount-badge {
    background: #E74C3C;
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.8rem;
}

.add-to-cart {
	background: linear-gradient(135deg, var(--secondary-color) 0%, #9c4e19 100%) !important;
    color: white !important;
    padding: 12px !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-top: auto !important;
}

.view-details-btn {
    background: #f8f9fa !important;
    color: var(--primary-color) !important;
    border: 1px solid #e9ecef !important;
    padding: 12px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    font-weight: 600 !important;
}

/* تخفیف */
.discount-label {
    position: absolute !important;
    top: 15px !important;
    left: 15px !important;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%) !important;
    color: white !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: bold !important;
    z-index: 2 !important;
}

/* ویژگی‌های محصول */
.product-features {
    margin-bottom: 20px !important;
    padding: 15px !important;
    background: #f8f9fa !important;
    border-radius: 8px !important;
    border-right: 3px solid var(--accent-color) !important;
}

.product-features ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.product-features li {
    padding: 5px 0 !important;
    font-size: 0.9rem !important;
    color: #555 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

/* متا اطلاعات */
.product-meta {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 15px 0 !important;
    border-top: 1px solid #f0f0f0 !important;
    border-bottom: 1px solid #f0f0f0 !important;
    margin-bottom: 20px !important;
}

.add-to-cart:hover {
    background: var(--primary-color);
	transform: translateY(-2px);
}

/* بازنویسی hover effects برای کارت محصول */
.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.1) 0%, rgba(139, 69, 19, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 10px;
    z-index: 1;
}

.product-card:hover::before {
    opacity: 1;
}

.product-info {
    position: relative;
    z-index: 2;
}

/* استایل برای لینک محصول در توضیحات */
.product-description {
    position: relative;
    z-index: 2;
}

/* جلوگیری از انتخاب متن در کارت محصول */
.product-card {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* نشانگر دست برای لینک‌ها */
.product-image-link,
.product-title a {
    cursor: pointer;
}

/* Clients Section with Background */
.clients-section {
    background: url('../images/backgrounds/clients-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 80px 0;
    margin: 50px 0;
    position: relative;
}

.clients-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(139, 69, 19, 0.1), rgba(39, 174, 96, 0.1));
    z-index: -1;
}


.clients-slider {
    display: flex;
    overflow: hidden;
    position: relative;
    height: 100px;
}

.client-logo {
    flex: 0 0 200px;
    margin: 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo img {
    max-width: 150px;
    max-height: 80px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.client-logo img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* Footer Background */
.main-footer {
    background: url('../images/backgrounds/footer-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 50px 0 0;
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    margin-left: 10px;
}

.footer-description {
    margin-bottom: 20px;
    color: var(--gray);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.footer-col h4 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 2px;
    background: var(--accent-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-right: 5px;
}

.contact-info {
    list-style: none;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-info i {
    margin-left: 10px;
    color: var(--accent-color);
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payment-methods i {
    font-size: 1.5rem;
    margin-right: 10px;
    opacity: 0.8;
}

/* About Page Background */
.about-hero {
    background: linear-gradient(rgba(139, 69, 19, 0.85), rgba(139, 69, 19, 0.9)), 
                url('../images/backgrounds/about-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 100px 0;
    text-align: center;
    margin-bottom: 50px;
}

.about-content {
    max-width: 800px;
    margin: 0 auto 50px;
}

.about-content h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

/* Contact Page */
/* Contact Page Background */
.contact-hero {
    background: linear-gradient(rgba(39, 174, 96, 0.85), rgba(39, 174, 96, 0.9)), 
                url('../images/backgrounds/contact-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 100px 0;
    text-align: center;
    margin-bottom: 50px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--primary-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--gray-light);
    border-radius: 5px;
    font-family: 'Vazir';
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.submit-btn {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Vazir';
    font-weight: 500;
    transition: var(--transition);
}

.submit-btn:hover {
    background: var(--primary-color);
}

.contact-info-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.map-container {
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 20px;
}

/* Basket Page */
.basket-container {
    max-width: 1000px;
    margin: 0 auto 50px;
}

.basket-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    background: white;
    box-shadow: var(--shadow);
    border-radius: 10px;
    overflow: hidden;
}

.basket-table th,
.basket-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid var(--gray-light);
}

.basket-table th {
    background: var(--gray-light);
    color: var(--primary-color);
    font-weight: 600;
}

.basket-table td img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
}

.quantity-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border: none;
    background: var(--gray-light);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.quantity-btn:hover {
    background: var(--accent-color);
    color: white;
}

.remove-btn {
    background: #E74C3C;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
    transition: var(--transition);
}

.remove-btn:hover {
    background: #C0392B;
}

.basket-summary {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--gray-light);
}

.summary-row.total {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-color);
    border-bottom: none;
}

.checkout-btn {
    width: 100%;
    padding: 15px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 20px;
}

.checkout-btn:hover {
    background: var(--secondary-color);
}

/* Admin Login */
.login-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 40px;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.login-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.login-form .form-group {
    margin-bottom: 25px;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.login-btn:hover {
    background: var(--secondary-color);
}

* Animated Background for Hero */
@keyframes backgroundMove {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
}

.hero.animated {
    animation: backgroundMove 20s infinite alternate;
}

/* Gradient Backgrounds for Different Pages */
.page-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
}

/* Animated Particles Background */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: var(--accent-color);
    border-radius: 50%;
    opacity: 0.1;
}

/* Responsive Design */
@media (max-width: 992px) {
    body {
        padding-top: 100px;
    }
    
    .search-box input {
        width: 200px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
	
	body {
        background-attachment: scroll;
    }
	
	.hero,
    .about-hero,
    .contact-hero,
    .clients-section {
        background-attachment: scroll;
    }
	
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .header-top {
        flex-direction: column;
        gap: 15px;
    }
    
    .search-box input {
        width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 10px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Seasonal Background Variations */
.seasonal-autumn {
    background-image: url('../images/backgrounds/autumn-pattern.png'), 
                     linear-gradient(to bottom, rgba(139, 69, 19, 0.05), transparent);
}

.seasonal-winter {
    background-image: url('../images/backgrounds/winter-pattern.png'), 
                     linear-gradient(to bottom, rgba(255, 255, 255, 0.1), transparent);
}

.seasonal-spring {
    background-image: url('../images/backgrounds/spring-pattern.png'), 
                     linear-gradient(to bottom, rgba(39, 174, 96, 0.05), transparent);
}

/* Time-based Backgrounds */
body.morning-bg {
    background: linear-gradient(to bottom, 
        rgba(255, 223, 186, 0.1),
        rgba(255, 255, 255, 0.98)),
        url('../images/backgrounds/pattern.png');
}

body.afternoon-bg {
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0.98),
        rgba(248, 249, 250, 0.98)),
        url('../images/backgrounds/pattern.png');
}

body.evening-bg {
    background: linear-gradient(to bottom, 
        rgba(44, 62, 80, 0.1),
        rgba(255, 255, 255, 0.98)),
        url('../images/backgrounds/pattern.png');
}

body.night-bg {
    background: linear-gradient(to bottom, 
        rgba(28, 40, 51, 0.1),
        rgba(255, 255, 255, 0.98)),
        url('../images/backgrounds/pattern.png');
}

/* Seasonal Overlays */
body.season-spring {
    background-blend-mode: multiply;
    background-color: rgba(39, 174, 96, 0.02);
}

body.season-summer {
    background-blend-mode: multiply;
    background-color: rgba(255, 193, 7, 0.02);
}

body.season-autumn {
    background-blend-mode: multiply;
    background-color: rgba(139, 69, 19, 0.03);
}

body.season-winter {
    background-blend-mode: multiply;
    background-color: rgba(255, 255, 255, 0.05);
}

/* Special Occasion Backgrounds */
body.occasion-nowruz {
    background-image: 
        linear-gradient(to bottom, 
            rgba(255, 242, 0, 0.05),
            rgba(255, 255, 255, 0.98)),
        url('../images/backgrounds/nowruz-pattern.png');
}

body.occasion-newyear {
    background-image: 
        linear-gradient(to bottom, 
            rgba(220, 53, 69, 0.05),
            rgba(255, 255, 255, 0.98)),
        url('../images/backgrounds/newyear-pattern.png');
}


/* Admin Panel Specific Styles */

/* Loading Spinner */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.admin-container{
	margin-top:50px;
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.85rem;
    font-weight: 500;
}

.status-active {
    background: #d4edda;
    color: #155724;
}

.status-inactive {
    background: #f8d7da;
    color: #721c24;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

/* Filter Bar */
.filter-bar {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 5px;
}

.filter-group label {
    margin-bottom: 0;
    font-weight: 500;
}

/* Quick Actions */
.quick-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.quick-action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-action-btn:hover {
    background: #f8f9fa;
    border-color: var(--accent-color);
}

/* Charts Container */
.charts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.chart-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Data Tables */
.data-table-wrapper {
    overflow-x: auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    background: #f8f9fa;
    padding: 15px;
    text-align: right;
    font-weight: 600;
    color: var(--primary-color);
    border-bottom: 2px solid #e9ecef;
}

.data-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e9ecef;
}

.data-table tr:hover {
    background: #f8f9fa;
}

/* Bulk Actions */
.bulk-actions {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Search Box */
.admin-search-box {
    position: relative;
    flex: 1;
    max-width: 300px;
}

.admin-search-box input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.admin-search-box button {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
}

/* Export Buttons */
.export-buttons {
    display: flex;
    gap: 10px;
}

.export-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 15px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.export-btn:hover {
    background: #f8f9fa;
    border-color: var(--accent-color);
}

/* استایل‌های خطا و هشدار */
.error-message {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    padding: 25px;
    border-radius: 12px;
    border: 2px solid #f1aeb5;
    text-align: center;
    margin: 30px 0;
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.1);
}

.error-message i {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #e74c3c;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.error-message p {
    margin: 15px 0;
    font-size: 1.2rem;
    line-height: 1.6;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
    padding: 14px 35px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #27ae5f 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.btn-back:hover {
    background: linear-gradient(135deg, #27ae5f 0%, var(--accent-color) 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

/* Responsive Admin Panel */
@media (max-width: 768px) {
    .admin-nav ul {
        flex-direction: column;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .charts-container {
        grid-template-columns: 1fr;
    }
    
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .bulk-actions {
        flex-direction: column;
        align-items: stretch;
    }
}


.hero-search {
    max-width: 600px;
    margin: 0 auto;
}

.search-form {
    display: flex;
    background: white;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.search-form input {
    flex: 1;
    padding: 15px 25px;
    border: none;
    font-size: 1.1rem;
    font-family: 'Vazir';
}

.search-form button {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 0 30px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.3s ease;
}

.search-form button:hover {
    background: var(--secondary-color);
}

/* Sidebar Filters */
.filters-sidebar {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: fit-content;
    position: sticky;
    top: 120px;
}

.filter-section {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.filter-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.filter-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.filter-list li {
    margin-bottom: 8px;
}

.filter-list li:last-child {
    margin-bottom: 0;
}

.filter-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    color: #555;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.filter-list a:hover,
.filter-list a.active {
    background: var(--accent-color);
    color: white;
    padding-right: 20px;
}

.filter-list a i {
    margin-left: 10px;
}

.category-count {
    background: #e9ecef;
    color: #495057;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.filter-list a:hover .category-count,
.filter-list a.active .category-count {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.subcategories {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 20px;
    border-right: 2px solid #e9ecef;
}

.subcategories li {
    margin-bottom: 5px;
}

.subcategories a {
    background: none !important;
    padding: 8px 10px !important;
    font-size: 0.95rem;
}

.subcategories a:hover,
.subcategories a.active {
    background: var(--secondary-color) !important;
    color: white !important;
}

/* Price Filter */
.price-range {
    position: relative;
    height: 40px;
    margin: 20px 0;
}

.price-range input[type="range"] {
    position: absolute;
    width: 100%;
    height: 5px;
    background: #e9ecef;
    border-radius: 5px;
    outline: none;
    -webkit-appearance: none;
}

.price-range input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.price-range input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.price-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.price-input {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.price-input label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.price-input input {
    padding: 10px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-family: 'Vazir';
    text-align: center;
}

.price-input input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.apply-price-filter {
    width: 100%;
    padding: 12px;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.apply-price-filter:hover {
    background: var(--primary-color);
}

/* Featured Products */
.featured-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.featured-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.featured-item:hover {
    background: #e9ecef;
    transform: translateX(-5px);
}

.featured-image {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-info h4 {
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.featured-info h4 a {
    color: var(--primary-color);
    text-decoration: none;
}

.featured-info h4 a:hover {
    color: var(--accent-color);
}

.featured-price .current {
    font-weight: 700;
    color: var(--accent-color);
    font-size: 0.9rem;
}

.featured-price .original {
    text-decoration: line-through;
    color: #6c757d;
    font-size: 0.8rem;
    margin-right: 5px;
}

/* Products Main */
.products-main {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.products-info h2 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1.8rem;
}

.products-count {
    color: #666;
    font-size: 0.95rem;
}

.sort-options select {
    padding: 10px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-family: 'Vazir';
    background: white;
    cursor: pointer;
    min-width: 150px;
}

.sort-options select:focus {
    outline: none;
    border-color: var(--accent-color);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #f0f0f0;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Product Badges */
.product-badges {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 2;
}

.badge {
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
}

.badge.discount {
    background: #e74c3c;
    color: white;
}

.badge.new {
    background: #2ecc71;
    color: white;
}

.badge.bestseller {
    background: #f39c12;
    color: white;
}

.badge.featured {
    background: #3498db;
    color: white;
}

/* Product Image */
.product-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

/* Product Info */
.product-info {
    padding: 20px;
}

.product-category,
.product-code,
.product-brand {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.product-category i,
.product-code i,
.product-brand i {
    color: var(--accent-color);
}

.product-title {
    margin: 10px 0;
    line-height: 1.4;
}

.product-title a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
}

.product-title a:hover {
    color: var(--accent-color);
}

.product-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 10px 0;
    height: 60px;
    overflow: hidden;
}

/* Product Price */
.product-price {
    margin: 15px 0;
}

.discounted-price {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.discounted-price .current {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-color);
}

.discounted-price .original {
    font-size: 1rem;
    color: #6c757d;
    text-decoration: line-through;
}

.regular-price .current {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Stock Status */
.product-stock {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    margin: 10px 0;
    padding: 5px 10px;
    border-radius: 5px;
    width: fit-content;
}

.product-stock.in-stock {
    background: #d4edda;
    color: #155724;
}

.product-stock.low-stock {
    background: #fff3cd;
    color: #856404;
}

.product-stock.out-of-stock {
    background: #f8d7da;
    color: #721c24;
}

.product-stock i {
    font-size: 1rem;
}

.stock-quantity {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Product Actions */
.product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
}

.add-to-cart-btn,
.out-of-stock-btn,
.view-details-btn {
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.add-to-cart-btn {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #9c4e19 100%);
    color: white;
}

.add-to-cart-btn:hover {
    background: linear-gradient(135deg, #9c4e19 0%, var(--secondary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.3);
}

.out-of-stock-btn {
    background: #95a5a6;
    color: white;
    cursor: not-allowed;
}

.view-details-btn {
    background: #e9ecef;
    color: var(--primary-color);
    border: 2px solid #dee2e6;
}

.view-details-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* No Products */
.no-products {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-products i {
    margin-bottom: 20px;
    color: #ddd;
}

.no-products h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.reset-filters-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 12px 25px;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.reset-filters-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.pagination-btn {
    padding: 10px 15px;
    background: #f8f9fa;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 45px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.pagination-btn:hover,
.pagination-btn.active {
    background: var(--accent-color);
    color: white;
}

.pagination-dots {
    padding: 10px 15px;
    color: #6c757d;
}

/* Brands Section */
.brands-section {
    background: #f8f9fa;
    padding: 50px 0;
    margin-top: 50px;
    border-top: 2px solid #e9ecef;
}

.brands-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.brands-slider {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 20px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) #f1f1f1;
}

.brands-slider::-webkit-scrollbar {
    height: 8px;
}

.brands-slider::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.brands-slider::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
}

.brand-logo {
    flex: 0 0 150px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.brand-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.brand-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.brand-name {
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .hunting-gear-hero h1 {
        font-size: 2rem;
    }
    
    .products-header {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .sort-options select {
        width: 100%;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .product-actions {
        grid-template-columns: 1fr;
    }
    
    .brand-logo {
        flex: 0 0 120px;
        height: 60px;
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .hunting-gear-hero {
        padding: 60px 0;
    }
    
    .hunting-gear-hero h1 {
        font-size: 1.7rem;
    }
    
    .hunting-gear-hero p {
        font-size: 1rem;
    }
    
    .search-form input {
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .product-image {
        height: 180px;
    }
}