.elementor-296 .elementor-element.elementor-element-a4d7311{--display:flex;--min-height:1324px;}/* Start custom CSS *//* متغیرهای رنگی و فونت‌ها */
:root {
    --primary-green: #059669;
    --dark-green: #064e3b;
    --gold: #d4af37;
    --gold-light: #fcd34d;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --bg-body: #f3f4f6;
    --bg-card: #ffffff;
    --border: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --font-body: 'Vazirmatn', sans-serif;
    --font-heading: 'Lalezar', cursive;
}

/* تنظیمات پایه گالری */
.cs-gallery-wrap { 
    font-family: var(--font-body); 
    background-color: var(--bg-body); 
    color: var(--text-main); 
    text-align: right; 
    direction: rtl; 
}

.cs-gallery-wrap * { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

.cs-gallery-wrap a { 
    text-decoration: none; 
    color: inherit; 
    transition: 0.3s; 
}

.cs-gallery-wrap button { 
    font-family: var(--font-body); 
}

/* ساختار گرید اصلی */
.shop-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    position: relative;
}

/* سایدبار فیلترها */
.shop-sidebar {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 25px;
    height: fit-content;
    position: sticky;
    top: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.filter-group {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border);
}

.filter-group:last-child { 
    border-bottom: none; 
}

.filter-title {
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--dark-green);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-list { 
    list-style: none; 
}

.filter-list li { 
    margin-bottom: 10px; 
}

/* استایل چک‌باکس‌های اختصاصی */
.checkbox-wrapper {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: 0.2s;
}

.checkbox-wrapper:hover { 
    color: var(--primary-green); 
}

.custom-checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    margin-left: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

input[type="checkbox"]:checked + .custom-checkbox {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
}

input[type="checkbox"]:checked + .custom-checkbox::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: white;
    font-size: 10px;
}

input[type="checkbox"] { 
    display: none; 
}

/* بخش اصلی و هدر */
.shop-main { 
    display: flex; 
    flex-direction: column; 
    gap: 30px; 
}

.shop-header-bar {
    background: var(--dark-green);
    background-image: url('https://www.transparenttextures.com/patterns/cubes.png');
    border-radius: 16px;
    padding: 40px;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.shop-header-bar::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(45deg, rgba(0,0,0,0.4), transparent);
}

.shop-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
    color: var(--gold);
}

.shop-desc {
    opacity: 0.9;
    max-width: 600px;
    position: relative;
    z-index: 2;
    font-size: 1.1rem;
}

/* کادر جستجو (اصلاح شده) */
.search-area {
    margin-top: 30px;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 600px;
}

.search-input {
    width: 100%;
    /* پدینگ راست (65px) برای جلوگیری از رفتن متن زیر ذره‌بین */
    padding: 15px 65px 15px 25px; 
    border-radius: 50px;
    border: 2px solid transparent;
    font-family: var(--font-body);
    font-size: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    outline: none;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: var(--primary-green);
    box-shadow: 0 5px 20px rgba(5, 150, 105, 0.3);
}

.search-icon {
    position: absolute;
    right: 25px; /* فاصله آیکون از سمت راست */
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.2rem;
    pointer-events: none; /* تا کلیک روی آیکون مانع تایپ نشه */
}

/* نوار ابزار (نمایش تعداد و مرتب‌سازی) */
.toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-card);
    padding: 15px 25px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.result-count { 
    font-weight: 700; 
    color: var(--text-main); 
    font-size: 0.95rem; 
}

.result-count span { 
    color: var(--primary-green); 
}

.sort-select {
    border: 1px solid var(--border);
    padding: 8px 15px;
    border-radius: 8px;
    font-family: var(--font-body);
    color: var(--text-main);
    background: white;
    cursor: pointer;
}

/* شبکه کارت‌های ماکت و استند */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
}

.product-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px rgba(0,0,0,0.1);
    border-color: var(--gold);
}

.card-img-container {
    height: 320px;
    background: radial-gradient(circle at bottom, #e5e7eb, #f3f4f6);
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    padding-bottom: 20px;
}

/* افکت نور پشت سر در تصاویر */
.card-img-container::after {
    content: '';
    position: absolute;
    width: 150px; 
    height: 150px;
    background: var(--gold);
    filter: blur(40px);
    opacity: 0;
    transition: 0.5s;
    border-radius: 50%;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.product-card:hover .card-img-container::after { 
    opacity: 0.4; 
}

.product-img {
    max-height: 95%;
    width: auto;
    object-fit: contain;
    position: relative;
    z-index: 2;
    transition: 0.5s;
    filter: drop-shadow(0 15px 10px rgba(0,0,0,0.2)); /* سایه روی زمین */
}

.product-card:hover .product-img { 
    transform: scale(1.05); 
}

/* بج‌ها (مثل ویژه، تخفیف) */
.card-badges {
    position: absolute;
    top: 15px; 
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 10;
}

.badge {
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    backdrop-filter: blur(4px);
}

.badge.gold { background: var(--gold); color: black; }
.badge.green { background: var(--primary-green); }

/* اطلاعات کارت محصول */
.card-info { 
    padding: 20px; 
    flex-grow: 1; 
    display: flex; 
    flex-direction: column; 
}

.product-cat {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 5px;
    display: block;
}/* End custom CSS */