@charset "UTF-8";
/*
Theme Name: sadatnuts
Theme URI: 
Author: the سجاد عنایتی
Author URI: 
Description:sadatnuts
Requires at least: WordPress 4.9.6
Version: 1.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentynineteen
Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, rtl-language-support, sticky-post, threaded-comments, translation-ready


*/

 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

.about-content {
    font-weight: 300;
}

img.iconc {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

h3 {
    font-weight: bold !important;
}

        body {
            font-family: Ravi VF !important;
            background-color: #F0E5CF !important;
            color: #050F03 !important;
            line-height: 1.6 !important;
            overflow-x: hidden;
        }

        /* Brand Colors */
        :root {
            --deep-blue: #1F3663;
            --golden-beige: #BFB561;
            --vibrant-green: #8CBF29;
            --soft-cream: #F0E5CF;
            --midnight-black: #050F03;
        }

        /* Typography */
        h1, h2, h3, .logo {
            font-family: 'Playfair Display', serif;
        }

        h1 {
            font-size: 3.5rem;
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 24px;
            color: var(--deep-blue);
        }

        h2 {
            font-size: 2.5rem !important;
            font-weight: bold !important;
            margin-bottom: 48px !important;
            text-align: center;
            color: var(--deep-blue) !important;
            position: relative;
        }

        h2:after {
            content: '';
            display: block;
            width: 80px;
            height: 3px;
            background: var(--golden-beige);
            margin: 16px auto 0;
            border-radius: 2px;
        }

        h3 {
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 16px;
            color: var(--deep-blue);
        }

        /* Buttons */
        .btn-primary {
            background: var(--golden-beige) !important;
            color: var(--deep-blue) !important;
            border: none;
            padding: 12px 32px;
            font-size: 1rem;
            font-weight: 600;
            border-radius: 40px;
            transition: all 0.3s ease;
            display: inline-block;
        }

        .btn-primary:hover {
            background: var(--deep-blue);
            color: var(--soft-cream);
            transform: translateY(-2px);
        }

        .btn-secondary {
            background: transparent;
            color: var(--deep-blue);
            border: 2px solid var(--deep-blue);
            padding: 10px 28px;
            font-size: 1rem;
            font-weight: 600;
            border-radius: 40px;
            transition: all 0.3s ease;
            display: inline-block;
        }

        .btn-secondary:hover {
            background: var(--deep-blue);
            color: var(--soft-cream);
        }

        /* Header */
        header {
            background: rgb(240 229 207 / 20%);
            padding: 15px 0;
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1000;
            backdrop-filter: blur(10px);
            /* box-shadow: 0 2px 20px rgba(0,0,0,0.05); */
        }

        .logo {
            font-size: 1.6rem;
            font-weight: 700;
            color: var(--deep-blue);
            text-decoration: none;
        }

        .logo span {
            color: var(--golden-beige);
        }

        .nav-links {
            list-style: none;
            margin: 0;
            padding: 0;
            display: flex;
            gap: 25px;
        }

        .nav-links li a {
            text-decoration: none;
            color: var(--deep-blue);
            font-weight: 500;
            transition: color 0.3s;
        }

        .nav-links li a:hover {
            color: var(--golden-beige);
        }
		a.right.carousel-control {
    background: #00000000;
	display: none !important;
}

a.left.carousel-control {
    background: #00000000;
	display: none !important;
}

        /* Hero Section */
        .hero {
            position: relative;
            min-height: 100vh;
            display: flex;
            align-items: center;
            background-image: url('https://sadatnuts.co/beta/wp-content/themes/sadat/img/hero.jpg');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            padding-top: 80px;
        }

        .hero-content .subtitle {
            font-family: 'Playfair Display', serif;
            font-style: italic;
            font-size: 1.3rem;
            color: #1f3663;
            margin-bottom: 16px;
            display: inline-block;
        }

        .hero-content p {
            font-size: 1.1rem;
            color: #444;
            margin-bottom: 32px;
        }

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

        /* Floating Features */
        .floating-features {
            position: absolute;
            bottom: 32px;
            left: 0;
            right: 0;
            z-index: 20;
        }

        .glass-box {
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(12px);
            border-radius: 24px;
            padding: 24px 32px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
            border: 1px solid rgba(191, 181, 97, 0.4);
        }

        .features-container {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 20px;
        }

        .feature-item {
            flex: 1;
            min-width: 150px;
            text-align: center;
            padding: 16px 12px;
            transition: all 0.3s;
        }

        .feature-item:hover {
            transform: translateY(-5px);
        }

        .feature-item i {
            font-size: 2.2rem;
            color: var(--golden-beige);
            margin-bottom: 12px;
            display: inline-block;
        }

        .feature-item h4 {
            font-size: 11pt;
            margin-bottom: 6px;
            color: var(--deep-blue);
            font-weight: bold;
        }

        .feature-item p {
            font-size: 8pt;
            color: #555;
            margin: 0;
        }

        /* About Section */
        .about {
            padding: 100px 0 80px;
            background: white;
        }

        .stat-number {
            font-size: 2rem;
            font-weight: 700;
            color: var(--golden-beige);
        }

        .stat-item {
            display: inline-block;
            margin-right: 30px;
        }

        .stats {
            margin-top: 30px;
            font-weight: bold;
        }

        .about-image {
            background: var(--soft-cream);
            border-radius: 20px;
            /* padding: 30px; */
            text-align: center;
        }

        /* Products */
        .products {
            padding: 80px 0;
            background: var(--soft-cream);
        }

        .product-card {
            background: white;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 10px 25px rgba(0,0,0,0.08);
            transition: all 0.3s;
            margin-bottom: 30px;
        }

        .product-card:hover {
            transform: translateY(-5px);
        }

        .product-image {
            height: 180px;
            
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 3rem;
        }

        .product-info {
            padding: 20px;
        }

        .product-info h4 {
            font-size: 11pt;
            margin-bottom: 8px;
            color: var(--deep-blue);
            FONT-WEIGHT: bold;
        }

        .product-specs {
            font-size: 7pt;
            color: #666;
            margin: 10px 0;
            padding: 8px 0;
            border-top: 1px solid #eee;
            border-bottom: 1px solid #eee;
            font-weight: bold;
        }

        /* Map & Certifications Side by Side */
        .map-cert-section {
            padding: 80px 0;
            background: white;
        }

        .map-container {
            background: #0a1620;
            border-radius: 20px;
            overflow: hidden;
            height: 500px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }

        #chartdiv {
            width: 100%;
            height: 500px;
        }

        .cert-side {
            background: var(--soft-cream);
            border-radius: 20px;
            padding: 30px;
            height: 500px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .cert-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin-top: 20px;
        }

        .cert-item {
            background: white;
            padding: 12px 20px;
            border-radius: 40px;
            font-weight: 600;
            color: var(--deep-blue);
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
            font-size: 0.9rem;
        }

        /* Quote Section */
        .quote-section {
            padding: 80px 0;
            background: var(--deep-blue);
            color: white;
            text-align: center;
        }

        .quote-section h2 {
            color: white;
        }

        .quote-section h2:after {
            background: var(--golden-beige);
        }

        .quote-form input,
        .quote-form select,
        .quote-form textarea {
            padding: 12px 20px;
            border: none;
            border-radius: 12px;
            width: 100%;
            margin-bottom: 15px;
        }

        /* Footer */
        footer {
            background: var(--midnight-black);
            color: #aaa;
            padding: 50px 0 30px;
        }

        footer h4 {
            color: var(--golden-beige);
            margin-bottom: 20px;
        }

        footer a {
            color: #aaa;
            text-decoration: none;
        }

        footer a:hover {
            color: var(--golden-beige);
        }

        /* Responsive */
        @media (max-width: 768px) {
            h1 {
                font-size: 2rem;
            }
            h2 {
                font-size: 1.8rem;
            }
            .hero {
                min-height: auto;
                padding: 120px 0 100px;
            }
            .floating-features {
                position: relative;
                bottom: 0;
                margin-top: -40px;
                margin-bottom: 20px;
            }
            .glass-box {
                padding: 16px;
            }
            .feature-item {
                min-width: calc(50% - 10px);
            }
            .map-container, .cert-side {
                height: auto;
                margin-bottom: 20px;
            }
            .cert-side {
                height: auto;
            }
            .nav-links {
                display: none;
            }
        }

        @media (min-width: 769px) and (max-width: 992px) {
            h1 {
                font-size: 2.5rem;
            }
            .feature-item h4 {
                font-size: 0.85rem;
            }
        }
        
        /* ===== Blog Section (Index) ===== */
.blog-section {
    padding: 80px 0;
    background: #ffffff;
}

.blog-subtitle {
    text-align: center;
    color: #666;
    margin-top: -30px;
    margin-bottom: 40px;
    font-size: 1.1rem;
    font-weight: bold;
    font-size: 10pt;
}

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

.blog-card {
    background: var(--soft-cream);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(31, 54, 99, 0.12);
}

.blog-image {
    height: 200px;
    overflow: hidden;
    background: #e0d5c0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.blog-image-placeholder {
    font-size: 3rem;
    color: var(--deep-blue);
    opacity: 0.4;
}

.blog-content {
    padding: 24px 24px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-date {
    font-size: 0.8rem;
    color: var(--golden-beige);
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: block;
}

.blog-title {
    font-size: 12pt;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.3;
    margin-top: 1px !important;
}

.blog-title a {
    color: var(--deep-blue);
    text-decoration: none;
    transition: color 0.3s;
}

.blog-title a:hover {
    color: var(--golden-beige);
    text-decoration: none;
}

.blog-excerpt {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
    font-weight: bold;
}

.blog-readmore {
    color: var(--deep-blue);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid var(--golden-beige);
    padding-bottom: 4px;
    align-self: flex-start;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.blog-readmore:hover {
    color: var(--golden-beige);
    border-bottom-color: var(--deep-blue);
}

.blog-footer-link {
    text-align: center;
    margin-top: 10px;
}

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

@media (max-width: 576px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .blog-image {
        height: 180px;
    }
}
img.iconf {
    width: 20px;
}
/* ===== Hero Slider (غیرتداخلی با بوت‌استرپ) ===== */
.hero-slider {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide.hero-active {
    opacity: 1;
    z-index: 1;
}

/* دکمه‌های ناوبری */
.hero-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 15px 20px;
    cursor: pointer;
    font-size: 1.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider-btn:hover {
    background: #BFB561;
    border-color: #BFB561;
    color: #1F3663;
}

.hero-prev-btn {
    left: 20px;
}

.hero-next-btn {
    right: 20px;
}

/* نقطه‌های پایین */
.hero-slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.hero-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.hero-dot.hero-dot-active {
    background: #BFB561;
    border-color: #BFB561;
    transform: scale(1.2);
}

.hero-dot:hover {
    background: #BFB561;
    border-color: #BFB561;
}

/* واکنش‌گرایی */
@media (max-width: 768px) {
    .hero-slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        padding: 10px 14px;
    }
    
    .hero-prev-btn {
        left: 10px;
    }
    
    .hero-next-btn {
        right: 10px;
    }
}
        /* =========================================================
   SADATNUTS — STYLE ENHANCEMENTS
   این فایل را در انتهای style.css اضافه کن یا به‌صورت
   جداگانه enqueue کن. هیچ رنگ، فونت یا ساختاری تغییر نکرده،
   فقط سایه‌ها، فاصله‌ها، انیمیشن‌ها و جزئیات بصری بهبود یافته.
   ========================================================= */

/* ---------- بهبودهای کلی ---------- */
section {
    position: relative;
}

img {
    transition: transform 0.4s ease, filter 0.3s ease;
}

/* ---------- هدر: کمی عمق بیشتر ---------- */
header {
    box-shadow: 0 4px 24px rgba(5, 15, 3, 0.06);
    border-bottom: 1px solid rgba(191, 181, 97, 0.15);
}

.nav-links li a {
    position: relative;
}

.nav-links li a:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: var(--golden-beige);
    transition: width 0.3s ease;
}

.nav-links li a:hover:after {
    width: 100%;
}

/* ---------- هیرو اسلایدر ---------- */
.hero-slide {
    position: relative;
}

.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5,15,3,0.15) 0%, rgba(5,15,3,0.45) 100%);
    pointer-events: none;
}

.hero-slide.hero-active {
    animation: heroKenBurns 9s ease-in-out forwards;
}

@keyframes heroKenBurns {
    0%   { background-size: 100%; }
    100% { background-size: 112%; }
}

.hero-slider-dots {
    gap: 10px;
}

.hero-dot {
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.hero-slider-btn {
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

/* ---------- باکس شیشه‌ای فیچرها ---------- */
.glass-box {
    box-shadow: 0 25px 60px rgba(31, 54, 99, 0.18);
    border: 1px solid rgba(255,255,255,0.5);
}

.feature-item {
    border-radius: 16px;
    position: relative;
}

.feature-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: rgba(31, 54, 99, 0.1);
}

.feature-item i {
    transition: transform 0.35s ease, filter 0.35s ease;
}

.feature-item:hover i {
    transform: scale(1.15) rotate(-4deg);
}

/* ---------- About ---------- */
.about-image video {
    box-shadow: 0 25px 50px rgba(31, 54, 99, 0.2);
}

.stat-item {
    padding: 10px 18px 10px 0;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-3px);
}

.stat-number {
    position: relative;
    display: inline-block;
}

.stat-number::after {
    content: '';
    display: block;
    width: 36px;
    height: 2px;
    background: var(--vibrant-green);
    margin-top: 6px;
    border-radius: 2px;
}

/* ---------- محصولات ---------- */
.product-card {
    border: 1px solid rgba(191, 181, 97, 0.15);
}

.product-card:hover {
    box-shadow: 0 18px 40px rgba(31, 54, 99, 0.18);
}

.product-image {
    /* background: linear-gradient(160deg, var(--soft-cream) 0%, #ffffff 100%); */
    /* overflow: hidden; */
}

.product-card:hover .product-image img {
    transform: scale(1.06);
}

.product-info h4 {
    position: relative;
    padding-bottom: 10px;
}

.product-info h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--golden-beige);
}

.carousel-indicators li {
    background-color: rgba(31, 54, 99, 0.25) !important;
    border-color: transparent !important;
    width: 9px;
    height: 9px;
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    background-color: var(--golden-beige) !important;
    width: 22px;
    border-radius: 6px;
}

/* ---------- بلاگ ---------- */
.blog-card {
    border: 1px solid rgba(31, 54, 99, 0.06);
}

.blog-date {
    position: relative;
    padding-left: 18px;
}

.blog-date::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--vibrant-green);
}

/* ---------- نقشه و گواهینامه‌ها ---------- */
.map-container {
    box-shadow: 0 25px 50px rgba(5, 15, 3, 0.25);
    border: 1px solid rgba(191, 181, 97, 0.2);
}

.cert-side {
    box-shadow: inset 0 0 0 1px rgba(31, 54, 99, 0.06);
}

.cert-item {
    transition: all 0.3s ease;
}

.cert-item:hover {
    background: var(--deep-blue);
    color: var(--soft-cream);
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(31, 54, 99, 0.25);
}

/* ---------- بخش درخواست قیمت ---------- */
.quote-section {
    background-image:
        radial-gradient(circle at 15% 20%, rgba(191,181,97,0.12) 0%, transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(140,191,41,0.10) 0%, transparent 45%);
}

.quote-form input,
.quote-form select,
.quote-form textarea {
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(191,181,97,0.5), 0 6px 20px rgba(0,0,0,0.12);
    transform: translateY(-1px);
}

.quote-form textarea {
    min-height: 110px;
    resize: vertical;
}

/* ---------- فوتر ---------- */
.footer-social a {
    /* box-shadow: 0 4px 14px rgba(0,0,0,0.2); */
}

.footer-links a:hover {
    text-shadow: 0 0 12px rgba(191,181,97,0.4);
}

/* ---------- اسکرول نرم سراسری ---------- */
html {
    scroll-behavior: smooth;
}

/* ---------- انیمیشن ظاهر شدن هنگام اسکرول (اختیاری، نیاز به JS کوچک) ---------- */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}
/* =========================================================
   HOME PRODUCT CATEGORIES GRID
   ========================================================= */
.section-subtitle {
    text-align: center;
    color: #666;
    margin-top: -30px;
    margin-bottom: 40px;
    font-size: 1.1rem;
    font-weight: 300;
}

.home-categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 20px;
}

.category-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none !important;
    color: var(--deep-blue);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    display: block;
    border: 1px solid rgba(191, 181, 97, 0.15);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(31, 54, 99, 0.18);
    text-decoration: none !important;
}

.category-image {
    height: 200px;
    overflow: hidden;
    background: var(--soft-cream);
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.08);
}

.category-info {
    padding: 20px 24px 24px;
    text-align: center;
}

.category-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--deep-blue);
    margin-bottom: 6px;
}

.category-info p {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 12px;
    font-weight: normal;
}

.category-count {
    display: inline-block;
    background: var(--soft-cream);
    color: var(--deep-blue);
    font-size: 0.75rem;
    padding: 4px 16px;
    border-radius: 30px;
    font-weight: 600;
}

/* =========================================================
   PRODUCTS ARCHIVE - FILTER TABS WITH URL
   ========================================================= */
.products-filter {
    padding: 30px 0;
    background: white;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 80px;
    z-index: 50;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-tab {
    background: transparent;
    border: 2px solid #1F3663;
    color: #1F3663;
    padding: 10px 28px;
    border-radius: 40px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.filter-tab:hover {
    background: rgba(31, 54, 99, 0.05);
    text-decoration: none;
}

.filter-tab.active {
    background: #BFB561;
    border-color: #BFB561;
    color: #1F3663;
}

/* =========================================================
   RESPONSIVE HOME CATEGORIES
   ========================================================= */
@media (max-width: 992px) {
    .home-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .home-categories-grid {
        grid-template-columns: 1fr;
    }
    .category-image {
        height: 180px;
    }
    .filter-tabs {
        gap: 5px;
    }
    .filter-tab {
        padding: 6px 16px;
        font-size: 0.85rem;
    }
}
/* ===== Product Categories Grid ===== */
.home-categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 ستون مساوی */
    gap: 25px;
    margin-top: 40px;
}

/* برای نمایش ۵ آیتم در یک ردیف */
.category-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    color: #333;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.category-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.category-info {
    padding: 18px 20px 22px;
    text-align: center;
}

.category-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1F3663;
    margin-bottom: 8px;
}

.category-info p {
    font-size: 13px;
    color: #777;
    margin-bottom: 10px;
    line-height: 1.5;
    font-weight: 300;
}

.category-count {
    display: inline-block;
    font-size: 12px;
    color: #BFB561;
    font-weight: 500;
    background: rgba(191, 181, 97, 0.12);
    padding: 4px 14px;
    border-radius: 20px;
}

/* ===== Responsive ===== */

/* تبلت و صفحه‌های کوچک‌تر */
@media (max-width: 1024px) {
    .home-categories-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 ستون */
        gap: 20px;
    }
}

/* موبایل */
@media (max-width: 768px) {
    .home-categories-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 ستون */
        gap: 15px;
    }
    
    .category-image {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .home-categories-grid {
        grid-template-columns: 1fr; /* 1 ستون */
        gap: 15px;
    }
}
i.fab {
    background: #a4a061;
    color: #000;
    padding: 4px;
    border-radius: 50%;
}