﻿:root {
    --gold: #d4af37;
    --gold-dark: #b8962e;
    --light-bg: #f8f8f8;
}

body {
    box-sizing: border-box;
    font-family: "Picoopic", "Vazirmatn", Tahoma, Arial, sans-serif;
    font-weight: 400;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}


/* Top Header */
.top-header {
    background: var(--gold);
    color: white;
    padding: 8px 0;
    font-size: 0.9rem;
}

    .top-header a {
        color: white;
        text-decoration: none;
        margin: 0 15px;
        transition: opacity 0.3s;
    }

        .top-header a:hover {
            opacity: 0.8;
            color: white;
        }

/* Main Header */
.main-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold);
    text-decoration: none;
}

.search-box {
    position: relative;
    flex: 1;
    max-width: 600px;
    margin: 0 20px;
}

.search-input {
    width: 100%;
    padding: 12px 50px 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
}

    .search-input:focus {
        outline: none;
        border-color: var(--gold);
        box-shadow: 0 0 0 3px rgba(212,175,55,0.2);
    }

.search-btn {
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--gold);
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    color: white;
    cursor: pointer;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    background: white;
}

    .header-btn:hover {
        border-color: var(--gold);
        color: var(--gold);
    }

.cart-badge {
    background: var(--gold);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    position: absolute;
    top: -5px;
    right: -5px;
}

/* Navigation Menu */
.nav-menu {
    background: white;
    border-top: 1px solid #e0e0e0;
    padding: 0;
}

.nav-item {
    position: relative;
    display: inline-block;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

    .nav-link:hover {
        color: var(--gold);
        border-bottom-color: var(--gold);
        border-bottom-color: #ef394e;
    }

    .nav-link i {
        margin-left: 8px;
        font-size: 1.1rem;
    }

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 800px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 0 0 12px 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1000;
}

.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 30px;
}

.mega-menu-column h5 {
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.mega-menu-column a {
    display: block;
    color: #666;
    text-decoration: none;
    padding: 8px 0;
    transition: all 0.3s;
    font-size: 0.95rem;
}

    .mega-menu-column a:hover {
        color: var(--gold);
        transform: translateX(5px);
    }

/* Hero Slider */
.hero-slider {
    margin: 20px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.hero-slide {
    height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
}

    .hero-slide::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.3);
    }

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 50px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-btn {
    background: var(--gold);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

    .hero-btn:hover {
        background: var(--gold-dark);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(239, 57, 78, 0.3);
    }

/* Categories Section */
.categories-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 60px;
        height: 3px;
        background: var(--gold);
        border-radius: 2px;
    }

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.category-card {
    text-align: center;
    padding: 25px 15px;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    transition: all 0.3s;
    cursor: pointer;
    background: white;
}

    .category-card:hover {
        border-color: var(--gold);
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }

.category-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 15px;
}

.category-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.category-count {
    font-size: 0.9rem;
    color: #666;
}

/* Products Grid */
.products-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.product-card {
    background: white;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
}

    .product-card:hover {
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        transform: translateY(-5px);
    }

.product-image {
    height: 200px;
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #6c757d;
    position: relative;
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--gold);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-info {
    padding: 20px;
}

.product-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

    .product-features li {
        font-size: 0.9rem;
        color: #666;
        margin-bottom: 5px;
        position: relative;
        padding-right: 15px;
    }

        .product-features li::before {
            content: '✓';
            position: absolute;
            right: 0;
            color: #28a745;
            font-weight: bold;
        }

.product-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 15px 0;
}

.current-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold);
}

.old-price {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
}

.discount-badge {
    background: #28a745;
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.btn-add-cart {
    flex: 1;
    background: var(--gold);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

    .btn-add-cart:hover {
        background: var(--gold-dark);
    }

.btn-wishlist {
    background: white;
    border: 2px solid #e0e0e0;
    padding: 12px;
    border-radius: 8px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
}

    .btn-wishlist:hover {
        border-color: var(--gold);
        color: var(--gold);
    }

/* Special Offers */
.offers-section {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    border-radius: 12px;
    padding: 40px;
    margin: 20px 0;
    color: white;
    text-align: center;
}

.offers-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.offers-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.timer-item {
    background: rgba(255,255,255,0.2);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    min-width: 80px;
}

.timer-number {
    font-size: 2rem;
    font-weight: 700;
    display: block;
}

.timer-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Brands Section */
.brands-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.brand-item {
    text-align: center;
    padding: 20px;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    transition: all 0.3s;
    cursor: pointer;
}

    .brand-item:hover {
        border-color: var(--gold);
        transform: translateY(-3px);
    }

.brand-logo {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* ۱. تنظیمات کلی و دسکتاپ (۴ تا کنار هم) */
.services-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* در دسکتاپ ۴ ستونه */
    gap: 20px;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    text-align: center; /* وسط‌چین شدن در همه ابعاد */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    transition: 0.3s;
}

.service-icon {
    font-size: 2.5rem;
    color: #D4AF37; /* طلایی لوکس */
    margin-bottom: 15px;
}

.service-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.service-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

/* ۲. تنظیمات اختصاصی موبایل (فقط زیر ۷۶۸ پیکسل) */
@media (max-width: 768px) {
    .services-section {
        grid-template-columns: repeat(2, 1fr) !important; /* تبدیل به ۲ ستونه در موبایل */
        gap: 15px !important;
        padding: 20px 10px !important;
    }

    .service-card {
        padding: 15px 5px !important;
    }

    .service-icon {
        font-size: 2rem !important;
        margin-bottom: 8px !important;
    }

    .service-title {
        font-size: 0.9rem !important;
    }

    .service-desc {
        font-size: 0.75rem !important;
        line-height: 1.4 !important;
    }
}


/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    margin-top: 50px;
}

.footer-top {
    padding: 50px 0;
}

.footer-section h5 {
    color: #ecf0f1;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-link {
    color: #bdc3c7;
    text-decoration: none;
    display: block;
    padding: 5px 0;
    transition: all 0.3s;
}

    .footer-link:hover {
        color: var(--gold);
        transform: translateX(5px);
    }

.footer-bottom {
    background: #34495e;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid #4a5f7a;
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

    .social-link:hover {
        background: var(--gold-dark);
        transform: translateY(-3px);
        color: white;
    }

/* Responsive Design */
@media (max-width: 768px) {
    .search-box {
        margin: 10px 0;
        order: 3;
        width: 100%;
    }

    .header-actions {
        gap: 10px;
    }

    .mega-menu {
        min-width: 100vw;
        right: -15px;
    }

    .mega-menu-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .countdown-timer {
        flex-wrap: wrap;
        gap: 10px;
    }
}

/* Loading Animation */
@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.loading {
    animation: pulse 1.5s infinite;
}

.scroll-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--gold);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1000;
}

    .scroll-top.show {
        opacity: 1;
        visibility: visible;
    }

    .scroll-top:hover {
        background: var(--gold-dark);
        transform: translateY(-3px);
    }

.hero-slider {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0;
}


.hero-slide {
    height: 320px;
    border-radius: 28px;
    overflow: hidden;
    background-image: url("/images/1.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 15%;
    background-color: #fff;
    box-shadow: 0 12px 30px rgba(0,0,0,.15);
}

    .hero-slide::before {
        display: none !important;
    }


/* محتوا هم لازم نیست */
.hero-content {
    display: none;
}

@media (max-width: 768px) {
    .hero-slide {
        height: 200px;
        border-radius: 18px;
    }
}

/* Custom styles for equal sliders */
.hero-slider-wrapper .carousel-inner,
.offers-slider-wrapper .carousel-inner {
    border-radius: 1.5rem; /* Same as rounded-4, adjust as needed */
    overflow: hidden; /* Ensure content stays within rounded corners */
    height: 320px; /* SET YOUR DESIRED HEIGHT HERE */
    position: relative; /* Needed for absolute positioning of images if necessary */
}

.hero-slider-wrapper .carousel-item img,
.offers-slider-wrapper .carousel-item img {
    height: 100%; /* Make images fill the carousel-inner height */
    width: 100%; /* Make images fill the carousel-inner width */
    object-fit: cover; /* Crop images to cover the area without distortion */
    object-position: center; /* Center the image crop */
}

/* Adjust carousel controls to be visible */
.carousel-control-prev,
.carousel-control-next {
    z-index: 10; /* Ensure controls are above the image */
}

/* Remove unnecessary default styles from original hero-slider */
.hero-slider {
    margin-bottom: 0; /* Adjust margin if needed */
}

/* Remove original hero-slide styles if they conflict */
.hero-slide {
    /* Styles here were for background image, now handled by img tag */
}

    .hero-slide::before {
        display: none !important;
    }

.hero-content {
    display: none;
}

/* Adjustments for responsiveness */
@media (max-width: 768px) {
    .hero-slider-wrapper .carousel-inner,
    .offers-slider-wrapper .carousel-inner {
        height: 200px; /* Smaller height on mobile */
    }
}

/* Ensure the container holding the sliders has appropriate width */
.container.my-4 {
    max-width: 1200px; /* Or your preferred max-width */
}
/* باکس اصلی که اینپوت و آیکن داخلش هستن */
.password-box {
    position: relative;
    display: flex;
    align-items: center;
}

    /* استایل آیکن چشم */
    .password-box .toggle-password {
        position: absolute;
        left: 10px; /* فاصله از لبه سمت چپ */
        cursor: pointer;
        color: #6c757d; /* رنگ خاکستری ملایم */
        z-index: 10;
        font-size: 1.2rem;
        display: flex;
        align-items: center;
    }

    /* فاصله دادن به متن داخل اینپوت که زیر چشم نره */
    .password-box input {
        padding-left: 40px !important; /* فضای خالی سمت چپ برای آیکن */
        padding-right: 12px !important; /* فاصله متن از سمت راست */
    }

/* مخفی کردن چشم پیش‌فرض خودِ مرورگر (خیلی مهم) */
input::-ms-reveal,
input::-ms-clear {
    display: none;
}

i {
    color: var(--gold);
}
/* --- استایل پایه و دسکتاپ (بدون تغییر در ابعاد) --- */
.main-page-announcement {
    padding: 15px 0;
    direction: rtl;
}

.sultan-banner-wrapper {
    display: block;
    text-decoration: none !important;
    position: relative;
    background: linear-gradient(90deg, #b8860b 0%, #d4af37 50%, #b8860b 100%);
    border-radius: 18px;
    padding: 15px 30px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(184, 134, 11, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.right-side {
    display: flex;
    align-items: center;
    gap: 12px;
}

.banner-main-text {
    color: #fff;
    margin: 0;
    font-size: 1.15rem; /* فونت درشت برای دسکتاپ */
    font-weight: 700;
}

.btn-estelam {
    background: #fff;
    color: #946b00;
    padding: 10px 22px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

/* افکت درخشش */
.banner-shine {
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-20deg);
    animation: shine-loop 6s infinite linear;
}

@keyframes shine-loop {
    0% {
        left: -150%;
    }

    20% {
        left: 150%;
    }

    100% {
        left: 150%;
    }
}

/* --- جادوی موبایل (دقیقاً همان چیزی که خواستید) --- */
@media (max-width: 768px) {
    .sultan-banner-wrapper {
        padding: 10px 15px; /* باریک‌تر و جمع‌وجورتر */
        border-radius: 14px;
        margin: 0 5px;
    }

    .banner-content {
        display: grid; /* استفاده از گرید برای تراز دقیق */
        grid-template-columns: 1fr auto; /* متن فضای اصلی، دکمه اندازه خودش */
        align-items: center;
        gap: 10px;
    }

    .banner-main-text {
        font-size: 0.85rem; /* فونت کوچک و شیک در موبایل */
        line-height: 1.6; /* فاصله مناسب برای دو خط شدن */
        text-align: right;
    }

    .fire-emoji {
        display: none; /* حذف ایموجی در موبایل برای خلوت شدن فضا */
    }

    .btn-estelam {
        padding: 6px 12px; /* دکمه کوچک و میزون */
        font-size: 0.75rem;
        border-radius: 8px;
        height: fit-content;
    }

    /* تنظیم هایلایت در موبایل */
    .highlight-white {
        background: none;
        color: #fff;
        border-bottom: 1px solid #fff;
        padding: 0;
    }
}

/* کلاس کمکی برای دسکتاپ/موبایل */
@media (min-width: 769px) {
    .d-md-none {
        display: none;
    }
}
/* ================================
   Custom Category Grid - Added Only
   هیچ استایل قبلی حذف نشود
================================ */

.custom-category-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

    .custom-category-grid .category-card {
        min-height: 190px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-decoration: none !important;
    }

    .custom-category-grid .category-icon {
        font-size: 2.8rem;
        margin-bottom: 12px;
        color: var(--gold);
    }

    .custom-category-grid .category-name {
        font-size: 1.05rem;
        font-weight: 700;
        color: #333;
        margin-bottom: 6px;
    }

    .custom-category-grid .category-count {
        font-size: 0.85rem;
        color: #777;
    }

/* فقط برای اینکه در دسکتاپ حتما 5 ستونه باشد */
@media (min-width: 1200px) {
    .custom-category-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* تبلت */
@media (max-width: 991.98px) {
    .custom-category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* موبایل */
@media (max-width: 767.98px) {
    .custom-category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

        .custom-category-grid .category-card {
            min-height: 150px;
            padding: 18px 10px;
        }

        .custom-category-grid .category-icon {
            font-size: 2.2rem;
            margin-bottom: 10px;
        }

        .custom-category-grid .category-name {
            font-size: 0.95rem;
        }

        .custom-category-grid .category-count {
            font-size: 0.75rem;
        }
}
.buyback-banner {
    background: linear-gradient(90deg,#b8860b,#d4af37,#b8860b);
    border-radius: 14px;
    padding: 16px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.banner-text {
    color: #fff;
    font-size: 1.25rem; /* بزرگ‌تر شد */
    font-weight: 600;
    white-space: nowrap;
    text-align: right; /* کامل سمت راست */
    flex: 1;
}

    .banner-text strong {
        font-weight: 800;
    }

.banner-btn {
    background: #fff;
    color: #b8860b;
    padding: 10px 22px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: .25s;
}

    .banner-btn:hover {
        background: #f4f4f4;
        transform: translateX(-4px);
    }

/* موبایل */
@media(max-width:768px) {
    .buyback-banner {
        flex-direction: column;
        text-align: right;
        align-items: flex-start;
    }

    .banner-text {
        white-space: normal;
        font-size: 1.05rem;
    }

    .banner-btn {
        width: 100%;
        text-align: center;
    }
}
html, body {
    font-family: "Picoopic", "Vazirmatn", Tahoma, Arial, sans-serif;
    font-weight: 400;
}
h1, h2, h3, h4, h5, h6 {
    font-family: "Picoopic", "Vazirmatn", sans-serif;
    font-weight: 900;
}

button, .btn, .ant-btn, input, select, textarea {
    font-family: "Picoopic", "Vazirmatn", sans-serif;
    font-weight: 500;
}
/* متغیرهای رنگی برای یکدستی سایت */
:root {
    --gold: #d4af37;
    --dark: #1a1a1a;
    --radius: 24px;
}

/* استایل کارت‌های محصول */
.product-card {
    background: #fff;
    padding: 15px;
    border-radius: var(--radius);
    border: 1px solid #eee;
    text-align: center;
    transition: 0.3s;
    position: relative;
}

    .product-card:hover {
        border-color: var(--gold);
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    }

.discount-badge {
    background: #dc3545;
    color: white;
    padding: 2px 10px;
    border-radius: 10px;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.75rem;
}

.final-price {
    color: var(--gold);
    font-weight: bold;
    display: block;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.8rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

/* تمیزکاری برندها */
.brand-item {
    background: #fff;
    padding: 15px;
    border-radius: var(--radius);
    border: 1px solid #eee;
    text-align: center;
}
/* Product Card Styling */
.product-card {
    display: block;
    background: #fff;
    padding: 15px;
    border-radius: 24px; /* گوشه‌های گرد ۲۴ پیکسلی */
    text-decoration: none;
    color: var(--dark-color, #333);
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    position: relative;
    text-align: center;
}

    .product-card:hover {
        box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2); /* سایه طلایی ملایم */
    }

    .product-card img {
        height: 150px;
        object-fit: contain;
        margin-bottom: 10px;
    }

.discount-badge {
    position: absolute;
    top: 50px;
    right: 50px;
    background: #dc3545; /* رنگ قرمز برای تخفیف */
    color: #fff;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
}

.product-name {
    font-size: 0.95rem;
    margin: 10px 0;
    font-weight: 600;
}

.price-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.old-price {
    font-size: 0.8rem;
    color: #999;
    text-decoration: line-through;
}

.final-price {
    font-size: 1.1rem;
    color: #d4af37; /* رنگ طلایی موبایل سلطان */
    font-weight: 800;
}
/* باکس شگفت‌انگیز با تم طلایی ملایم */
.amazing-offers-section {
    background: linear-gradient(135deg, #ffffff 0%, #fdf5e6 100%);
    border: 1px solid #e5d3a5; /* حاشیه طلایی ملایم */
    border-radius: 24px;
    padding: 20px;
}

/* متن عنوان بخش */
.amazing-title {
    color: #b8860b; /* طلایی تیره */
    font-weight: 800;
}

/* تایمر شیک */
.timer-box {
    background: #1a1a1a; /* مشکی لوکس */
    color: #d4af37; /* طلایی */
    border-radius: 12px;
    padding: 10px;
    font-family: monospace;
    font-size: 1.2rem;
}

/* کارت‌های محصول */
.product-card {
    background: #fff;
    border: 1px solid #f0e6d2;
    border-radius: 20px !important;
    transition: all 0.3s ease;
}

    .product-card:hover {
        border-color: #d4af37;
        box-shadow: 0 10px 20px rgba(212, 175, 55, 0.15);
    }

/* دکمه‌ها و بادج */
.gold-badge {
    background-color: #d4af37;
    color: #fff;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 10px;
}
/* باکس شگفت‌انگیزِ مینیمال */
.amazing-offers-section {
    background: #ffffff; /* زمینه کاملا سفید */
    border: 1px solid #f0e6d2; /* یک خط خیلی ظریف طلایی */
    border-radius: 24px;
    padding: 24px;
}

/* عنوان بخش */
.amazing-title {
    color: #1a1a1a;
    font-weight: 700;
    font-size: 1.2rem;
}

/* دکمه «مشاهده همه» - بسیار شیک */
.btn-view-all {
    border: 1px solid #d4af37; /* حاشیه طلایی */
    color: #d4af37;
    background: transparent;
    padding: 8px 20px;
    border-radius: 24px; /* گوشه‌های گرد ۲۴ پیکسلی */
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

    .btn-view-all:hover {
        background: #d4af37;
        color: #ffffff;
    }

/* کارت‌های محصول */
.product-card {
    background: #fff;
    border: 1px solid #f8f8f8;
    border-radius: 20px !important;
    transition: all 0.3s ease;
}

    .product-card:hover {
        border-color: #d4af37;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    }
/* Amazing Offers - Mobile Fix */
@media (max-width: 768px) {
    .amazing-offers-section {
        padding: 16px 12px;
        border-radius: 22px;
        background: #fff;
    }

        .amazing-offers-section .row {
            flex-direction: column;
            gap: 12px;
        }

        .amazing-offers-section .col-12.col-md-2,
        .amazing-offers-section .col-12.col-md-10 {
            width: 100%;
            max-width: 100%;
            flex: 0 0 100%;
        }

        .amazing-offers-section .col-12.col-md-2 {
            padding: 8px 0 !important;
            align-items: flex-end !important;
            text-align: right !important;
        }

    .amazing-title {
        width: 100%;
        text-align: right;
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 8px !important;
    }

    .btn-view-all {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 8px 14px;
        border-radius: 14px;
        font-size: 0.85rem;
    }

    .amazing-products-scroll {
        gap: 12px !important;
        padding-bottom: 6px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        direction: rtl;
    }

        .amazing-products-scroll > a.product-card {
            min-width: 145px !important;
            max-width: 145px !important;
            flex: 0 0 auto;
            scroll-snap-align: start;
            border-radius: 18px !important;
        }

        .amazing-products-scroll .card-img-top {
            height: 120px !important;
        }

        .amazing-products-scroll .card-body {
            padding: 8px !important;
        }

        .amazing-products-scroll .card-title {
            font-size: 0.8rem !important;
        }

        .amazing-products-scroll .fw-bold {
            font-size: 0.9rem !important;
        }
}
/* ============================================================
   AMAZING OFFERS - GOLD & WHITE MINIMAL THEME
   ============================================================ */

.amazing-offers-section {
    background: #ffffff;
    border: 1px solid #f0e6d2;
    border-radius: 24px;
    padding: 24px;
    direction: rtl;
    margin-bottom: 30px;
}

/* هدر سمت راست */
.amazing-offers-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.amazing-header-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1a1a1a;
    font-size: 1.25rem;
    font-weight: 800;
}

    .amazing-header-title i {
        font-size: 1.4rem;
        color: #d4af37;
    }

/* دکمه مشاهده همه */
.amazing-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #d4af37;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #d4af37;
    padding: 8px 16px;
    border-radius: 24px;
    transition: all 0.3s ease;
}

    .amazing-view-all-btn:hover {
        background: #d4af37;
        color: #fff;
    }

/* اسکرول محصولات */
.amazing-products-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

    .amazing-products-scroll::-webkit-scrollbar {
        display: none;
    }

/* کارت محصول */
.amazing-product-card {
    flex: 0 0 auto;
    width: 180px;
    min-width: 180px;
    background: #fff;
    border: 1px solid #f5f0e6;
    border-radius: 20px;
    padding: 14px;
    text-decoration: none !important;
    color: #1a1a1a;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    scroll-snap-align: start;
    position: relative;
}

    .amazing-product-card:hover {
        border-color: #d4af37;
        box-shadow: 0 8px 24px rgba(212, 175, 55, 0.12);
        transform: translateY(-5px);
    }

/* تصویر محصول */
.amazing-product-image-box {
    width: 100%;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    position: relative;
}

.amazing-product-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* بادج تخفیف - طلایی بدون قرمز */
.amazing-discount-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #fff;
    color: #d4af37;
    border: 1px solid #d4af37;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 12px;
}

/* محتوای متنی */
.amazing-product-content {
    text-align: right;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.amazing-product-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    line-height: 1.6;
    margin-bottom: 10px;
    height: 44px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* قیمت‌ها */
.amazing-price-wrapper {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.amazing-old-price {
    color: #aaa;
    font-size: 0.75rem;
    text-decoration: line-through;
}

.amazing-current-price {
    color: #d4af37;
    font-size: 1.05rem;
    font-weight: 800;
}

    .amazing-current-price small {
        font-size: 0.65rem;
        margin-right: 4px;
        color: #888;
    }

/* کارت مشاهده همه در انتها */
.amazing-last-view-all {
    flex: 0 0 auto;
    width: 150px;
    min-width: 150px;
    background: #fff;
    border: 1px solid #f0e6d2;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none !important;
    color: #d4af37;
    transition: all 0.3s ease;
    scroll-snap-align: start;
}

    .amazing-last-view-all:hover {
        background: #d4af37;
        color: #fff;
        border-color: #d4af37;
    }

.amazing-arrow-circle {
    width: 44px;
    height: 44px;
    border: 1px solid currentColor;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* ============================================================
   MOBILE OPTIMIZATION
   ============================================================ */

@media (max-width: 768px) {
    .amazing-offers-section {
        padding: 16px 12px;
        border-radius: 22px;
    }

    .amazing-offers-header {
        margin-bottom: 16px;
    }

    .amazing-header-title {
        font-size: 1.1rem;
        gap: 8px;
    }

        .amazing-header-title i {
            font-size: 1.2rem;
        }

    .amazing-view-all-btn {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .amazing-product-card {
        width: 150px;
        min-width: 150px;
        padding: 10px;
        border-radius: 18px;
    }

    .amazing-product-image-box {
        height: 115px;
    }

    .amazing-product-title {
        font-size: 0.8rem;
        height: 38px;
    }

    .amazing-current-price {
        font-size: 0.95rem;
    }

    .amazing-last-view-all {
        width: 130px;
        min-width: 130px;
        border-radius: 18px;
    }
}
