@font-face {
    font-family: 'IRANSansXFaNum';
    src: url('fonts/IRANSansXFaNum-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSansXFaNum';
    src: url('fonts/IRANSansXFaNum-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'IRANSansXFaNum', 'Tahoma', sans-serif;
    background: #000000;
    min-height: 100vh;
    padding: 15px;
}

/* ========================================
   کانتینر اصلی
   ======================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
}

/* ========================================
   هدر
   ======================================== */
.header-section {
    text-align: center;
    margin-bottom: 25px;
    border-bottom: 2px solid #E8B84B;
    padding-bottom: 15px;
}

.logo {
    max-width: 120px;
    height: auto;
    margin-bottom: 10px;
}

.cafe-title {
    color: #E8B84B;
    font-size: 1.8em;
    margin-bottom: 5px;
    font-weight: bold;
}

.tagline {
    color: #A0A0A0;
    font-size: 0.85em;
}

/* ========================================
   باکس فیلتر اصلی - دکمه‌ها در یک خط
   ======================================== */
.filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 15px;
    flex-wrap: wrap;
    padding: 12px 20px;
    //background: rgba(0, 0, 0, 0.3);
    border-radius: 50px;
}

.filter-btn {
    padding: 10px 24px;
    border: none;
    background: #2b3278;
    color: #FFFFFF;
    border-radius: 40px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    font-weight: bold;
    font-family: 'IRANSansXFaNum', sans-serif;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.filter-btn:hover {
    background: #5A6AAA;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: #E8B84B;
    color: #1E1E1E;
}

.dropdown-arrow {
    font-size: 10px;
    transition: transform 0.2s ease;
}

.dropdown-arrow.open {
    transform: rotate(180deg);
}

/* ========================================
   باکس زیردسته‌ها (جدا از باکس اصلی - افقی)
   ======================================== */
.subcats-container {
    display: none;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 25px 0;
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50px;
    width: 100%;
    clear: both;
}

.sub-filter-btn {
    padding: 6px 18px;
    border: none;
    background: #2b3278;
    color: #FFFFFF;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s ease;
    font-family: 'IRANSansXFaNum', sans-serif;
    white-space: nowrap;
}

.sub-filter-btn:hover {
    background: #5A6AAA;
    transform: translateY(-2px);
}

.sub-filter-btn.active {
    background: #E8B84B;
    color: #1E1E1E;
}

/* ========================================
   گروه‌بندی اصلی - کافی شاپ و رستوران
   ======================================== */
.category-main-group {
    margin-bottom: 60px;
    width: 100%;
    display: block;
    clear: both;
}

.main-category-title {
    color: #E8B84B;
    font-size: 2em;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid #E8B84B;
    display: inline-block;
}

/* زیردسته‌ها */
.subcategory-group {
    margin-bottom: 40px;
    margin-right: 15px;
    padding-right: 15px;
    border-right: 2px solid rgba(232, 184, 75, 0.2);
}

.subcategory-title {
    color: #E8B84B;
    font-size: 1.4em;
    margin-bottom: 20px;
    padding-right: 12px;
    border-right: 4px solid #E8B84B;
    display: inline-block;
}

/* ========================================
   گرید محصولات
   ======================================== */
.products-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 20px;
    width: 100%;
}

/* دسکتاپ بزرگ - 4 ستون */
@media (min-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* دسکتاپ متوسط - 3 ستون */
@media (min-width: 992px) and (max-width: 1199px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* تبلت - 2 ستون */
@media (min-width: 768px) and (max-width: 991px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* موبایل - 1 ستون */
@media (max-width: 767px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   کارت محصول
   ======================================== */
.product-card {
    display: flex;
    flex-direction: row;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 140px;
    width: 100%;
    border: 1px solid rgba(232, 184, 75, 0.2);
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(232, 184, 75, 0.5);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.product-card-blur-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(12px) brightness(0.9);
    z-index: 0;
    border-radius: 16px 0 0 16px;
}

.product-image-container {
    position: relative;
    z-index: 2;
    width: 35%;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    order: 2;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(42, 58, 110, 0.8);
    backdrop-filter: blur(10px);
    color: #E8B84B;
    font-size: 45px;
}

.product-info {
    position: relative;
    z-index: 2;
    width: 65%;
    padding: 12px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    order: 1;
}

.product-name {
    font-size: 0.95em;
    color: #E8B84B;
    font-weight: bold;
    line-height: 1.4;
    word-break: break-word;
}

.product-price {
    font-size: 1.1em;
    color: #FFFFFF;
    font-weight: bold;
}

.product-category {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(232, 184, 75, 0.9);
    color: #1E1E1E;
    border-radius: 20px;
    font-size: 0.7em;
    font-weight: bold;
    align-self: flex-start;
}

/* ========================================
   دکمه سبد سفارش
   ======================================== */
.note-order-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #E8B84B;
    color: #1E1E1E;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-family: 'IRANSansXFaNum', sans-serif;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.note-order-btn:hover {
    background: #d4a42e;
    transform: scale(1.02);
}

.cart-badge {
    background: #1E1E1E;
    color: #E8B84B;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
}

/* ========================================
   پنل سبد سفارش
   ======================================== */
.order-cart-panel {
    position: fixed;
    bottom: 80px;
    left: 20px;
    right: 20px;
    max-width: 380px;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid #E8B84B;
    z-index: 999;
    display: none;
    max-height: 500px;
    overflow-y: auto;
}

.order-cart-panel.show {
    display: block;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid #E8B84B;
    color: #E8B84B;
    font-weight: bold;
    font-size: 1.1em;
}

.close-cart-btn {
    background: transparent;
    border: none;
    color: #E8B84B;
    font-size: 22px;
    cursor: pointer;
    padding: 0 5px;
    transition: all 0.2s ease;
}

.close-cart-btn:hover {
    transform: scale(1.1);
    color: #e53e3e;
}

.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
    max-height: 280px;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: rgba(255,255,255,0.08);
    border-radius: 12px;
    color: #fff;
    font-size: 12px;
    gap: 10px;
}

.cart-item-info {
    flex: 2;
}

.cart-item-name {
    font-weight: bold;
    color: #E8B84B;
    font-size: 12px;
}

.cart-item-note {
    font-size: 9px;
    color: #aaa;
    margin-top: 3px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(74, 90, 154, 0.5);
    border-radius: 30px;
    padding: 4px 10px;
}

.cart-item-quantity .quantity-decr,
.cart-item-quantity .quantity-incr {
    background: #4A5A9A;
    color: white;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.cart-item-quantity .quantity-decr:hover,
.cart-item-quantity .quantity-incr:hover {
    background: #E8B84B;
    color: #1E1E1E;
}

.cart-item-quantity .quantity-num {
    font-size: 14px;
    color: white;
    min-width: 25px;
    text-align: center;
    font-weight: bold;
}

.cart-item-price {
    font-size: 11px;
    color: #E8B84B;
    white-space: nowrap;
    font-weight: bold;
}

.cart-item-remove {
    background: #e53e3e;
    border: none;
    color: white;
    padding: 4px 8px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 10px;
    transition: all 0.2s ease;
}

.cart-item-remove:hover {
    background: #c53030;
    transform: scale(1.05);
}

.cart-total {
    margin-top: 15px;
    padding-top: 12px;
    border-top: 2px solid #E8B84B;
    text-align: left;
    color: #E8B84B;
    font-weight: bold;
    font-size: 14px;
}

.clear-cart-btn {
    background: #e53e3e;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'IRANSansXFaNum', sans-serif;
    font-size: 12px;
    margin-top: 12px;
    width: 100%;
    transition: all 0.2s ease;
    font-weight: bold;
}

.clear-cart-btn:hover {
    background: #c53030;
    transform: translateY(-2px);
}

.empty-cart {
    text-align: center;
    padding: 30px;
    color: #aaa;
    font-size: 13px;
}

/* ========================================
   مودال محصول
   ======================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: #1E1E1E;
    border-radius: 24px;
    max-width: 450px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid #E8B84B;
}

.modal-close {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #e53e3e;
    color: white;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}

.modal-close:hover {
    transform: scale(1.1);
}

.modal-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.modal-info {
    padding: 20px;
}

.modal-name {
    font-size: 1.5em;
    color: #E8B84B;
    margin-bottom: 10px;
    font-weight: bold;
}

.modal-description {
    color: #E0E0E0;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 13px;
}

.modal-price {
    font-size: 1.4em;
    color: #FFFFFF;
    font-weight: bold;
    margin-bottom: 20px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.quantity-btn {
    background: #4A5A9A;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    font-size: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s ease;
}

.quantity-btn:hover {
    background: #E8B84B;
    color: #1E1E1E;
}

.quantity-input {
    width: 65px;
    text-align: center;
    font-size: 16px;
    padding: 8px;
    border: 1px solid #E8B84B;
    border-radius: 10px;
    background: #2C3E50;
    color: white;
    font-weight: bold;
}

.order-note-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #E8B84B;
    border-radius: 12px;
    background: #2C3E50;
    color: white;
    font-family: 'IRANSansXFaNum', sans-serif;
    margin-bottom: 20px;
    resize: vertical;
    font-size: 12px;
}

.order-note-input:focus {
    outline: none;
    border-color: #E8B84B;
    box-shadow: 0 0 5px rgba(232, 184, 75, 0.5);
}

.add-to-cart-btn {
    width: 100%;
    background: #E8B84B;
    color: #1E1E1E;
    border: none;
    padding: 12px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    font-family: 'IRANSansXFaNum', sans-serif;
    transition: all 0.2s ease;
}

.add-to-cart-btn:hover {
    background: #d4a42e;
    transform: translateY(-2px);
}

@keyframes fadeOut {
    0% { opacity: 1; }
    70% { opacity: 1; }
    100% { opacity: 0; visibility: hidden; }
}

/* ========================================
   ویدیو بکگراند
   ======================================== */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(5px);
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

/* ========================================
   فوتر
   ======================================== */
.footer {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 2px solid #E8B84B;
    color: #fff;
}

.footer-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
    text-align: center;
}

.footer-info h3 {
    color: #E8B84B;
    font-size: 1.1em;
    margin-bottom: 15px;
    font-weight: bold;
}

.footer-contact a {
    color: #ddd;
    text-decoration: none;
    line-height: 1.7;
    font-size: 0.9em;
    transition: all 0.2s ease;
}

.footer-contact a:hover {
    color: #E8B84B;
}

.footer-address p {
    color: #ddd;
    line-height: 1.7;
    font-size: 0.85em;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(232, 184, 75, 0.15);
    padding: 10px 18px;
    border-radius: 50px;
    text-decoration: none;
    color: #E8B84B;
    font-size: 0.85em;
    transition: all 0.3s ease;
    border: 1px solid rgba(232, 184, 75, 0.3);
}

.map-link:hover {
    background: #E8B84B;
    color: #1E1E1E;
    transform: translateY(-2px);
}

.map-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(232, 184, 75, 0.15);
    padding: 10px 18px;
    border-radius: 50px;
    text-decoration: none;
    color: #E8B84B;
    font-size: 0.85em;
    transition: all 0.3s ease;
    border: 1px solid rgba(232, 184, 75, 0.3);
}

.social-link:hover {
    background: #E8B84B;
    color: #1E1E1E;
    transform: translateY(-2px);
}

.social-icon-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 0.75em;
    color: #aaa;
}

/* ========================================
   موبایل
   ======================================== */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .container {
        padding: 12px;
    }
    
    .filters {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        padding: 10px;
        border-radius: 25px;
    }
    
    .filter-btn {
        white-space: nowrap;
        font-size: 16px;
        padding: 6px 16px;
    }
    
    .subcats-container {
        margin: 0 0 20px 0;
        padding: 10px;
        border-radius: 25px;
        gap: 8px;
    }
    
    .sub-filter-btn {
        white-space: nowrap;
        font-size: 15px;
        padding: 5px 12px;
    }
    
    .main-category-title {
        font-size: 1.5em;
        margin-bottom: 15px;
    }
    
    .subcategory-title {
        font-size: 1.2em;
        margin-bottom: 15px;
    }
    
    .subcategory-group {
        margin-right: 8px;
        padding-right: 8px;
    }
    
    .product-card {
        min-height: 120px;
    }
    
    .product-name {
        font-size: 0.85em;
    }
    
    .product-price {
        font-size: 0.95em;
    }
    
    .footer-info {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .note-order-btn {
        padding: 10px 18px;
        font-size: 13px;
        bottom: 15px;
        left: 15px;
    }
    
    .order-cart-panel {
        left: 10px;
        right: 10px;
        bottom: 70px;
        max-width: none;
    }
    
    .modal-content {
        max-width: 95%;
    }
}

/* ========================================
   گزینه‌های محصول در مودال
   ======================================== */
.modal-options {
    margin: 15px 0;
}

.option-group {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(232, 184, 75, 0.2);
}

.option-group:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.option-label {
    display: block;
    color: #E8B84B;
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: bold;
}

.option-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.option-btn {
    padding: 8px 16px;
    border: 1px solid rgba(232, 184, 75, 0.3);
    background: #2C3E50;
    color: #FFFFFF;
    border-radius: 30px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s ease;
    font-family: 'IRANSansXFaNum', sans-serif;
}

.option-btn:hover {
    background: #4A5A9A;
    border-color: #E8B84B;
}

.option-btn.active {
    background: #E8B84B;
    color: #1E1E1E;
    border-color: #E8B84B;
}

.toppings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.cart-item-options {
    font-size: 10px;
    color: #E8B84B;
    margin-top: 3px;
}

.toppings-limit-warning {
    font-size: 11px;
    color: #E8B84B;
    margin-top: 8px;
    text-align: center;
}

/* موبایل */
@media (max-width: 768px) {
    .option-buttons {
        gap: 8px;
    }
    
    .option-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .toppings-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   توضیحات دسته بندی
   ======================================== */
.category-description {
    color: #ccc;
    font-size: 0.85em;
    line-height: 1.5;
    margin-bottom: 20px;
    margin-top: 5px;
    padding: 10px 15px;
    //background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border-right: 3px solid #d4264c;
      white-space: pre-wrap;    /* حفظ فاصله خطوط و شکستن خودکار */
      word-wrap: break-word;     /* شکستن کلمات طولانی */
      overflow-wrap: break-word;
}

.subcategory-group .category-description {
    margin-right: 10px;
    font-size: 0.8em;
    padding: 8px 12px;
}

/* موبایل */
@media (max-width: 768px) {
    .category-description {
        font-size: 0.75em;
        padding: 8px 10px;
        margin-bottom: 15px;
             line-height: 1.5;
    }
}


/* ========================================
   بخش جستجوی زنده
   ======================================== */
.search-section {
    margin: 15px 0 20px 0;
    display: flex;
    justify-content: center;
}

.search-box-container {
    position: relative;
    width: 100%;
    max-width: 450px;
}

.live-search-input {
    width: 100%;
    padding: 14px 45px 14px 20px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: 2px solid #E8B84B;
    border-radius: 50px;
    color: #FFFFFF;
    font-family: 'IRANSansXFaNum', sans-serif;
    font-size: 15px;
    transition: all 0.3s ease;
}

.live-search-input:focus {
    outline: none;
    border-color: #d4a42e;
    box-shadow: 0 0 15px rgba(232, 184, 75, 0.3);
    background: rgba(0, 0, 0, 0.85);
}

.live-search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.clear-search-btn {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: #e53e3e;
    border: none;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.clear-search-btn:hover {
    background: #c53030;
    transform: translateY(-50%) scale(1.05);
}

/* ========================================
   بخش پیشنهاد ویژه
   ======================================== */
.special-offer-section {
    border-radius: 24px;
    padding: 20px;
    margin-bottom: 30px;
}

.special-offer-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.special-offer-header h2 {
    color: #E8B84B;
    font-size: 1.5em;
    font-weight: bold;
    margin: 0;
}

.special-icon {
    font-size: 28px;
    animation: pulse 1.5s ease infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.special-offer-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

/* استایل اصلی کارت پیشنهاد ویژه با افکت بلور */
.special-product-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    width: 280px;
    max-width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    //border: 1px solid #ffffff;
}

.special-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(232, 184, 75, 0.2);
}

/* تصویر بلور در پشت کارت */
.special-product-blur-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(15px) brightness(0.7);
    z-index: 0;
    border-radius: 18px;
}

.special-product-card .product-image-container {
    position: relative;
    z-index: 2;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.special-product-card .product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.special-product-card .product-info {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 15px;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.special-product-card .special-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #e53e3e;
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: bold;
    z-index: 15;
    display: flex;
    align-items: center;
    gap: 5px;
}

.special-product-card .special-badge::before {
    content: "⭐";
    font-size: 12px;
}

.special-product-card .product-name {
    font-size: 1.1em;
    margin-bottom: 8px;
    color: #E8B84B;
}

.special-product-card .product-price {
    font-size: 1.3em;
    color: #FFFFFF;
}

/* استایل برای حالت بدون نتیجه جستجو */
.no-results-message {
    text-align: center;
    padding: 50px;
    color: #E8B84B;
    font-size: 1.1em;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    margin: 20px 0;
}

/* هایلایت متن جستجو */
.search-highlight {
    background-color: #E8B84B;
    color: #1E1E1E;
    border-radius: 4px;
    padding: 0 2px;
}

/* موبایل */
@media (max-width: 768px) {
    .special-offer-section {
        padding: 15px;
    }
    
    .special-offer-header h2 {
        font-size: 1.2em;
    }
    
    .special-icon {
        font-size: 22px;
    }
    
    .special-product-card {
        width: 100%;
        max-width: 320px;
    }
    
    .special-product-card .product-name {
        font-size: 0.95em;
    }
    
    .live-search-input {
        padding: 12px 40px 12px 15px;
        font-size: 13px;
    }
}


/* ========================================
   استایل‌های تخفیف (دو قیمتی و بخش تخفیف دارها)
   ======================================== */

/* نمایش دو قیمتی در کارت محصولات */
.product-price.discounted {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.product-price .original-price {
    color: #aaa;
    text-decoration: line-through;
    font-size: 0.85em;
    font-weight: normal;
}

.product-price .discounted-price {
    //color: #E8B84B;
    color: #ffffff;
    font-size: 1.1em;
    font-weight: bold;
}

.product-price .discount-badge {
    background: #e53e3e;
    color: #fff;
    padding: 2px 6px;
    border-radius: 20px;
    font-size: 0.7em;
    font-weight: bold;
}

/* بخش تخفیف دارهای امروز */
.discounted-product-card .discount-badge-header {
    background: #e53e3e !important;
}

.discounted-product-card .discount-badge-header::before {
    content: "💰" !important;
}

.discounted-product-card .product-price.discounted-price-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.discounted-product-card .original-price {
    color: #aaa;
    text-decoration: line-through;
    font-size: 0.85em;
}

.discounted-product-card .discounted-price {
    color: #ffffff;
    //color: #E8B84B;
    font-size: 1.2em;
    font-weight: bold;
}

/* استایل برای کارت تخفیف دارها در بخش ویژه */
.discounted-product-card {
    border: 2px solid #e53e3e !important;
}

.discounted-product-card:hover {
    border-color: #E8B84B !important;
}
