/* استایل صفحهٔ home — استخراج‌شده از resources/views/home.blade.php برای کش شدن توسط مرورگر */

/* ========== بخش نمایش آدرس کاربر (اصلاح شده) ========== */
    .user-address-section {
        width: 100%;
        max-width: 1200px;
        /* تغییر ایجاد شده: مقدار اول (مارجین بالا) از 0 به 24px تغییر کرد */
        margin: 24px auto 20px;
        padding: 0 20px;
    }

    .user-address-card {
        background: #FFF7ED;
        border: 1px solid rgba(249, 115, 22, 0.2);
        border-radius: 16px;
        padding: 16px 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        box-shadow: 0 4px 12px rgba(249, 115, 22, 0.08);
        transition: all 0.3s ease;
    }

    .user-address-card:hover {
        box-shadow: 0 6px 20px rgba(249, 115, 22, 0.12);
    }

    .address-info {
        display: flex;
        align-items: center;
        gap: 12px;
        flex: 1;
    }

    .address-icon {
        font-size: 20px;
        color: #F97316;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        background: rgba(249, 115, 22, 0.1);
        border-radius: 50%;
        flex-shrink: 0;
    }

    .user-address-card:not(.user-address-prompt) .address-icon {
        color: #C2410C;
        background: rgba(194, 65, 12, 0.08);
    }
    .address-label {
        font-size: 12px;
        color: #D97706;
        font-weight: 500;
    }
    .address-text {
        font-size: 14px;
        font-weight: 600;
        color: #C2410C;
        line-height: 1.4;
    }
    
    .user-address-prompt .address-icon {
        font-size: 24px;
        font-weight: bold;
        line-height: 1;
        color: #F97316;
        background: rgba(249, 115, 22, 0.1);
        border-radius: 8px;
        font-family: 'Arial', sans-serif;
    }
    .user-address-prompt .address-text {
        font-size: 14px;
        font-weight: 500;
        color: #B45309;
    }

    .address-details {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .address-actions {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .change-address-btn {
        background: #FED7AA;
        color: #C2410C;
        border: 1px solid rgba(249, 115, 22, 0.2);
        padding: 8px 16px;
        border-radius: 8px;
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        white-space: nowrap;
        box-shadow: 0 2px 8px rgba(249, 115, 22, 0.15);
    }

    .change-address-btn:hover {
        background: #FDBA74;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(249, 115, 22, 0.2);
    }

    /* ========== پاپ‌آپ آدرس‌ها (استایل موجود) ========== */
    .address-modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 10002;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }

    .address-modal.show {
        display: flex;
        animation: fadeIn 0.3s ease;
    }

    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    .address-modal-content {
        background: white;
        border-radius: 20px;
        width: 100%;
        max-width: 500px;
        max-height: 80vh;
        overflow: hidden;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        animation: slideUpModal 0.3s ease;
    }

    @keyframes slideUpModal {
        from { 
            opacity: 0;
            transform: translateY(30px);
        }
        to { 
            opacity: 1;
            transform: translateY(0);
        }
    }

    .address-modal-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 24px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    .address-modal-title {
        font-size: 18px;
        font-weight: 700;
        color: var(--text-primary);
        margin: 0;
    }

    .address-modal-close {
        background: rgba(0, 0, 0, 0.05);
        border: none;
        width: 32px;
        height: 32px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 18px;
        transition: all 0.3s;
    }

    .address-modal-close:hover {
        background: rgba(0, 0, 0, 0.1);
    }

    .address-modal-body {
        padding: 0;
        max-height: 400px;
        overflow-y: auto;
    }

    .address-list {
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .address-list-item {
        padding: 20px 24px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        cursor: pointer;
        transition: all 0.3s;
        display: flex;
        align-items: flex-start;
        gap: 12px;
    }

    .address-list-item:hover {
        background: rgba(249, 115, 22, 0.05);
    }

    .address-list-item:last-child {
        border-bottom: none;
    }

    .address-list-item.active {
        background: rgba(249, 115, 22, 0.1);
        border-left: 3px solid #F97316;
    }

    .address-radio {
        margin-top: 4px;
        accent-color: #F97316;
    }

    .address-item-content {
        flex: 1;
    }

    .address-item-title {
        font-size: 15px;
        font-weight: 600;
        color: var(--text-primary);
        margin-bottom: 6px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .address-item-default-badge {
        background: #F97316;
        color: white;
        font-size: 10px;
        padding: 2px 8px;
        border-radius: 10px;
        font-weight: 600;
    }

    .address-item-details {
        font-size: 13px;
        color: var(--text-muted);
        line-height: 1.5;
    }

    .address-modal-footer {
        padding: 20px 24px;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        display: flex;
        gap: 12px;
    }

    .btn {
        padding: 10px 20px;
        border-radius: 10px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s;
        border: none;
        font-family: inherit;
        text-align: center;
        flex: 1;
    }

    .btn-primary {
        background: #F97316;
        color: white;
        box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
    }

    .btn-primary:hover {
        background: #C2410C;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
    }
    
    .btn-full {
        width: 100%;
    }

    .btn-primary:disabled {
        background: #FDBA74;
        cursor: not-allowed;
    }

    .btn-secondary {
        background: rgba(0, 0, 0, 0.05);
        color: var(--text-primary);
    }

    .btn-secondary:hover {
        background: rgba(0, 0, 0, 0.1);
    }

    .no-address-message {
        padding: 40px 24px;
        text-align: center;
        color: var(--text-muted);
    }

    .no-address-icon {
        font-size: 48px;
        margin-bottom: 16px;
        opacity: 0.3;
    }
    
    /* ========== پاپ‌آپ موقعیت مکانی مهمان ========== */
    /* ==================== مودال انتخاب لوکیشن (مورد ۱: ریسپانسیو) ==================== */
    /* مشکل قبلی: محتوای مودال هیچ سقف ارتفاعی نداشت و در صفحه‌های کوتاه یا موبایل
       از بالا و پایین بیرون می‌زد و دکمه تایید در دسترس نبود. */

    .guest-location-modal {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.6);
        z-index: 10003;
        align-items: center;
        justify-content: center;
        padding: 16px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .guest-location-modal.show {
        display: flex;
        animation: fadeIn 0.3s ease;
    }

    .guest-location-modal-content {
        background: white;
        border-radius: 20px;
        width: 100%;
        max-width: 460px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        animation: slideUpModal 0.3s ease;

        /* هرگز بلندتر از ارتفاع قابل مشاهده نشود */
        max-height: calc(100dvh - 32px);
        display: flex;
        flex-direction: column;
        overflow: hidden;
        margin: auto;
    }

    /* هدر و فوتر ثابت، فقط بدنه اسکرول شود */
    .guest-location-header {
        text-align: center;
        padding: 24px 24px 18px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        flex: none;
    }

    .guest-location-body {
        flex: 1 1 auto;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }

    .guest-location-footer {
        flex: none;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
        background: #fff;
    }

    /* موبایل: مودال از پایین بالا می‌آید و تمام عرض را می‌گیرد */
    @media (max-width: 560px) {
        .guest-location-modal {
            padding: 0;
            align-items: flex-end;
        }

        .guest-location-modal-content {
            max-width: 100%;
            border-radius: 20px 20px 0 0;
            max-height: 92dvh;
        }

        .guest-location-header {
            padding: 18px 18px 14px;
        }

        .guest-location-icon {
            font-size: 34px !important;
            margin-bottom: 8px !important;
        }

        .guest-location-title {
            font-size: 17px !important;
        }
    }

    /* صفحه‌های کوتاه (مثلاً موبایل افقی) */
    @media (max-height: 620px) {
        .guest-location-icon { font-size: 30px !important; margin-bottom: 6px !important; }
        .guest-location-header { padding: 14px 18px 12px !important; }
        #guestLocationMap { height: 150px !important; }
    }

    .guest-location-icon {
        font-size: 48px;
        margin-bottom: 16px;
        color: #F97316;
    }

    .guest-location-title {
        font-size: 20px;
        font-weight: 700;
        color: var(--text-primary);
        margin: 0;
    }
    
    .guest-location-subtitle {
        font-size: 14px;
        color: var(--text-muted);
        margin-top: 8px;
        line-height: 1.6;
    }

    .guest-location-body {
        padding: 24px;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .guest-location-body .form-group {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    /* کادر خطای مدال موقعیت مکانی.
       جایگزین alert مرورگر شده تا پیام دقیق سرور کنار خود فرم دیده شود. */
    .guest-location-error {
        background: rgba(211, 47, 47, 0.08);
        border: 1px solid rgba(211, 47, 47, 0.28);
        color: #C62828;
        border-radius: 10px;
        padding: 11px 14px;
        font-size: 13px;
        line-height: 1.9;
        text-align: right;
    }

    .guest-location-body .form-label {
        font-size: 13px;
        font-weight: 600;
        color: var(--text-primary);
    }

    .guest-location-body .form-select {
        width: 100%;
        padding: 12px 16px;
        border: 1px solid rgba(0, 0, 0, 0.1);
        border-radius: 10px;
        font-size: 14px;
        background-color: #f9f9f9;
        transition: all 0.3s;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
        background-position: left 0.75rem center;
        background-repeat: no-repeat;
        background-size: 1.25em;
        padding-left: 2.5rem;
    }

    .guest-location-body .form-select:focus {
        outline: none;
        border-color: #F97316;
        background-color: white;
        box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
    }
    
    .guest-location-body .form-select:disabled {
        background-color: #e9e9e9;
        cursor: not-allowed;
    }

    .guest-location-footer {
        padding: 20px 24px;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
    }

    /* ========== اسلایدر اصلی (استایل موجود) ========== */
    .hero-slider-container {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto 60px;
        padding: 0 20px;
    }

    .hero-swiper {
        width: 100%;
        border-radius: 24px;
        overflow: hidden;
        box-shadow: 0 15px 35px rgba(43, 43, 43, 0.15);
    }

    .swiper-slide {
        position: relative;
        overflow: hidden;
    }

    .swiper-slide img {
        width: 100%;
        height: 500px;
        object-fit: cover;
        display: block;
    }

    .slide-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(to top, rgba(43, 43, 43, 0.8) 0%, transparent 100%);
        padding: 40px;
        color: white;
    }

    .slide-title {
        font-size: 32px;
        font-weight: 700;
        margin-bottom: 12px;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }

    .slide-description {
        font-size: 16px;
        opacity: 0.95;
        line-height: 1.6;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
        margin-bottom: 16px;
    }

    .slide-button {
        display: inline-block;
        padding: 12px 32px;
        background: linear-gradient(135deg, #C2A25F 0%, #B3955B 100%);
        color: white;
        border-radius: 12px;
        font-size: 14px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s;
        box-shadow: 0 4px 15px rgba(194, 162, 95, 0.3);
    }

    .slide-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(194, 162, 95, 0.4);
    }

    .swiper-button-next,
    .swiper-button-prev {
        background: rgba(255, 255, 255, 0.9);
        width: 48px;
        height: 48px;
        border-radius: 50%;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        transition: all 0.3s;
    }

    .swiper-button-next:hover,
    .swiper-button-prev:hover {
        background: white;
        transform: scale(1.1);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 20px;
        color: #2B2B2B;
        font-weight: 700;
    }

    .swiper-pagination {
        bottom: 20px !important;
    }

    .swiper-pagination-bullet {
        width: 12px;
        height: 12px;
        background: rgba(255, 255, 255, 0.6);
        opacity: 1;
        transition: all 0.3s;
    }

    .swiper-pagination-bullet-active {
        background: #C2A25F;
        width: 32px;
        border-radius: 6px;
    }

    /* ========== استایل‌های بنرها (استایل موجود) ========== */
    .banners-section {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto 40px;
        padding: 0 20px;
    }

    .banner-single {
        width: 100%;
        border-radius: 16px;
        overflow: hidden;
        margin-bottom: 30px;
        position: relative;
        box-shadow: 0 8px 25px rgba(43, 43, 43, 0.12);
        transition: all 0.3s;
        display: block;
        text-decoration: none;
    }

    .banner-single:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 35px rgba(43, 43, 43, 0.15);
    }

    .banner-single img {
        width: 100%;
        height: 300px;
        object-fit: cover;
        display: block;
    }

    .banner-double-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-bottom: 30px;
    }

    .banner-double-item {
        border-radius: 16px;
        overflow: hidden;
        position: relative;
        box-shadow: 0 4px 12px rgba(43, 43, 43, 0.1);
        transition: all 0.3s;
        display: block;
        text-decoration: none;
    }

    .banner-double-item:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(43, 43, 43, 0.15);
    }

    .banner-double-item img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        display: block;
    }

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

    .banner-triple-item {
        border-radius: 12px;
        overflow: hidden;
        position: relative;
        box-shadow: 0 2px 8px rgba(43, 43, 43, 0.08);
        transition: all 0.3s;
        display: block;
        text-decoration: none;
    }

    .banner-triple-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(43, 43, 43, 0.12);
    }

    .banner-triple-item img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        display: block;
    }

    .banner-content {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 20px;
        background: linear-gradient(to top, rgba(43, 43, 43, 0.9) 0%, transparent 100%);
        color: white;
    }

    .banner-title {
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 8px;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }

    .banner-subtitle {
        font-size: 14px;
        opacity: 0.9;
        margin-bottom: 12px;
    }

    .banner-link {
        display: inline-block;
        padding: 8px 20px;
        background: rgba(194, 162, 95, 0.9);
        color: white;
        border-radius: 8px;
        font-size: 12px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s;
    }

    .banner-link:hover {
        background: rgba(194, 162, 95, 1);
        transform: scale(1.05);
    }

    /* ========== بنر نصب PWA (اصلاح شده) ========== */
    .install-banner {
        position: fixed;
        bottom: 24px;
        /* اصلاح: وسط‌چین کردن با margin و left/right بجای transform برای جلوگیری از پرش */
        left: 0;
        right: 0;
        margin: 0 auto;
        
        width: calc(100% - 40px);
        max-width: 520px;
        background: linear-gradient(135deg, #2B2B2B 0%, #3A3A3A 100%);
        color: white;
        border-radius: 20px;
        box-shadow: 0 10px 40px rgba(43, 43, 43, 0.4);
        display: none;
        z-index: 10001;
        animation: slideUpBanner 0.5s ease-out; /* نام انیمیشن تغییر کرد */
        border: 1px solid rgba(194, 162, 95, 0.3);
        padding: 24px;
    }

    .install-banner.show {
        display: block;
    }

    /* تعریف انیمیشن جدید بدون تداخل افقی */
    @keyframes slideUpBanner {
        from {
            opacity: 0;
            transform: translateY(100px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .install-banner-header {
        display: flex;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 20px;
    }

    .install-icon {
        width: 56px;
        height: 56px;
        background: linear-gradient(135deg, #C2A25F 0%, #B3955B 100%);
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        box-shadow: 0 4px 15px rgba(194, 162, 95, 0.3);
        padding: 8px;
        overflow: hidden;
    }

    .install-icon img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .install-content {
        flex: 1;
        padding-top: 4px;
        padding-left: 30px;
    }

    .install-title {
        font-size: 17px;
        font-weight: 700;
        margin-bottom: 6px;
        line-height: 1.3;
    }

    .install-text {
        font-size: 14px;
        color: rgba(255, 255, 255, 0.8);
        line-height: 1.6;
    }

    .install-actions {
        display: flex;
        gap: 10px;
        margin-top: 0;
    }

    .install-btn {
        flex: 1;
        padding: 12px 20px;
        border-radius: 10px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s;
        border: none;
        font-family: inherit;
        text-align: center;
    }

    .install-btn-primary {
        background: linear-gradient(135deg, #C2A25F 0%, #B3955B 100%);
        color: white;
    }

    .install-btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(194, 162, 95, 0.4);
    }

    .install-btn-secondary {
        background: rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.9);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .install-btn-secondary:hover {
        background: rgba(255, 255, 255, 0.15);
        border-color: rgba(255, 255, 255, 0.3);
    }

    .install-close {
        position: absolute;
        top: 16px;
        left: 16px;
        background: rgba(255, 255, 255, 0.1);
        border: none;
        color: rgba(255, 255, 255, 0.7);
        font-size: 22px;
        cursor: pointer;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s;
        border-radius: 8px;
        line-height: 1;
        padding: 0;
    }

    .install-close:hover {
        color: white;
        background: rgba(255, 255, 255, 0.2);
        transform: rotate(90deg);
    }

    /* ========== Debug Info (استایل موجود) ========== */
    .debug-info {
        position: fixed;
        top: 80px;
        left: 10px;
        background: rgba(0, 0, 0, 0.9);
        color: #0f0;
        padding: 12px;
        border-radius: 8px;
        font-family: monospace;
        font-size: 11px;
        max-width: 320px;
        z-index: 9999;
        display: none;
        line-height: 1.6;
    }

    .debug-info.show {
        display: block;
    }

    .debug-info div {
        margin-bottom: 4px;
    }

    /* ========== استایل‌های بخش محصولات محبوب (استایل موجود) ========== */
    .popular-products-section {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto 60px;
        padding: 0 20px;
    }

    .section-header {
        text-align: center;
        margin-bottom: 32px;
    }

    .section-title {
        font-size: 28px;
        font-weight: 700;
        color: #2B2B2B;
        margin-bottom: 8px;
        letter-spacing: -0.02em;
    }

    .section-subtitle {
        font-size: 14px;
        color: #5A5A5A;
        line-height: 1.6;
    }

    .location-badge {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background: rgba(194, 162, 95, 0.1);
        color: var(--gold-medium);
        padding: 6px 12px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 600;
        margin-right: 8px;
    }

    .products-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 24px;
    }

    .no-products-message {
        text-align: center;
        padding: 60px 20px;
        background: white;
        border-radius: 20px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.03);
        grid-column: 1 / -1;
    }

    .view-all-link {
        display: inline-block;
        margin-top: 32px;
        padding: 12px 32px;
        background: linear-gradient(135deg, #C2A25F 0%, #B3955B 100%);
        color: white;
        border-radius: 12px;
        font-size: 14px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s;
        box-shadow: 0 4px 15px rgba(194, 162, 95, 0.3);
    }

    .view-all-link:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(194, 162, 95, 0.4);
    }

    /* ========== سایر استایل‌ها (استایل موجود) ========== */
    .feature-card {
        background: white;
        border-radius: 16px;
        padding: 32px;
        box-shadow: 0 2px 8px rgba(43, 43, 43, 0.08);
        transition: all 0.3s;
    }

    .feature-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 25px rgba(43, 43, 43, 0.12);
    }

    .feature-icon {
        width: 48px;
        height: 48px;
        background: rgba(194, 162, 95, 0.1);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 16px;
        font-size: 24px;
    }

    .cta-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 16px 48px;
        background: linear-gradient(135deg, #2B2B2B 0%, #3A3A3A 100%);
        color: white;
        border: none;
        border-radius: 12px;
        font-size: 16px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s;
        box-shadow: 0 4px 15px rgba(43, 43, 43, 0.15);
    }

    .cta-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(43, 43, 43, 0.25);
    }

    .cta-button.gold {
        background: linear-gradient(135deg, #C2A25F 0%, #B3955B 100%);
        box-shadow: 0 4px 15px rgba(194, 162, 95, 0.3);
    }

    .cta-button.gold:hover {
        box-shadow: 0 8px 25px rgba(194, 162, 95, 0.4);
    }

    /* ========== دسته‌بندی‌ها (استایل موجود) ========== */
    .categories-section {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto 40px;
        padding: 0 20px;
    }

    .categories-header {
        text-align: center;
        margin-bottom: 28px;
    }

    .categories-title {
        font-size: 28px;
        font-weight: 700;
        color: #2B2B2B;
        margin-bottom: 8px;
        letter-spacing: -0.02em;
    }

    .categories-subtitle {
        font-size: 14px;
        color: #5A5A5A;
        line-height: 1.6;
    }

    .categories-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }

    .category-card {
        background: linear-gradient(135deg, #FEFDFB 0%, #FAF8F5 100%);
        border-radius: 16px;
        padding: 20px 16px;
        text-align: center;
        border: 2px solid transparent;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        cursor: pointer;
        position: relative;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(43, 43, 43, 0.08);
        text-decoration: none;
        color: inherit;
        display: block;
    }

    .category-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(194, 162, 95, 0.05) 0%, rgba(179, 149, 91, 0.08) 100%);
        opacity: 0;
        transition: opacity 0.4s;
        z-index: 0;
    }

    .category-card:hover::before {
        opacity: 1;
    }

    .category-card:hover {
        transform: translateY(-8px);
        border-color: rgba(194, 162, 95, 0.3);
        box-shadow: 0 12px 30px rgba(194, 162, 95, 0.2);
    }

    .category-icon-wrapper {
        width: 60px;
        height: 60px;
        margin: 0 auto 14px;
        background: linear-gradient(135deg, #C2A25F 0%, #B3955B 100%);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 8px 20px rgba(194, 162, 95, 0.25);
        transition: all 0.4s;
        position: relative;
        z-index: 1;
    }

    .category-card:hover .category-icon-wrapper {
        transform: scale(1.1) rotate(5deg);
        box-shadow: 0 12px 30px rgba(194, 162, 95, 0.35);
    }

    .category-icon {
        font-size: 28px;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    }

    .category-name {
        font-size: 16px;
        font-weight: 700;
        color: #2B2B2B;
        margin-bottom: 6px;
        position: relative;
        z-index: 1;
        transition: color 0.3s;
    }

    .category-card:hover .category-name {
        color: #A48651;
    }

    .category-description {
        font-size: 13px;
        color: #5A5A5A;
        line-height: 1.6;
        position: relative;
        z-index: 1;
    }

    .category-badge {
        position: absolute;
        top: 16px;
        left: 16px;
        background: linear-gradient(135deg, #C2A25F 0%, #B3955B 100%);
        color: white;
        font-size: 11px;
        font-weight: 600;
        padding: 4px 10px;
        border-radius: 20px;
        box-shadow: 0 2px 8px rgba(194, 162, 95, 0.3);
        z-index: 2;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s;
    }

    .category-card:hover .category-badge {
        opacity: 1;
        transform: translateY(0);
    }

    /* ========== Responsive (استایل موجود) ========== */
    @media (max-width: 1024px) {
        .categories-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
        }

        .banner-triple-grid {
            grid-template-columns: repeat(2, 1fr);
        }

        .products-grid {
            grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        }
    }

    @media (max-width: 768px) {
        /* استایل‌های ریسپانسیو بخش آدرس کاربر */
        .user-address-section {
            padding: 0 12px;
            margin-bottom: 16px;
        }
        .user-address-card {
            padding: 14px 16px;
            flex-direction: column;
            align-items: flex-start;
            gap: 12px;
        }
        .address-actions {
            align-self: flex-end;
        }

        /* استایل‌های ریسپانسیو پاپ‌آپ آدرس */
        .address-modal {
            padding: 10px;
        }
        .address-modal-content {
            max-height: 90vh;
        }
        .address-modal-header {
            padding: 20px;
        }
        .address-list-item {
            padding: 16px 20px;
        }
        .address-modal-footer {
            padding: 16px 20px;
            flex-direction: column;
        }

        .hero-slider-container {
            margin-bottom: 40px;
            padding: 0 12px;
        }

        .banners-section {
            padding: 0 12px;
        }

        .banner-double-grid {
            grid-template-columns: 1fr;
            gap: 16px;
        }

        .banner-triple-grid {
            grid-template-columns: 1fr;
            gap: 12px;
        }

        .banner-single img,
        .banner-double-item img {
            height: 200px;
        }

        .banner-triple-item img {
            height: 180px;
        }

        .categories-section {
            margin-bottom: 40px;
            padding: 0 12px;
        }

        .categories-header {
            margin-bottom: 28px;
        }

        .categories-title {
            font-size: 28px;
        }

        .categories-subtitle {
            font-size: 14px;
        }

        .categories-grid {
            gap: 16px;
        }

        .category-card {
            padding: 24px 16px;
        }

        .category-icon-wrapper {
            width: 64px;
            height: 64px;
            margin-bottom: 16px;
        }

        .category-icon {
            font-size: 28px;
        }

        .category-name {
            font-size: 16px;
        }

        .category-description {
            font-size: 12px;
        }

        .popular-products-section {
            padding: 0 12px;
            margin-bottom: 40px;
        }

        .section-title {
            font-size: 22px;
        }

        .products-grid {
            grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
            gap: 16px;
        }

        .hero-swiper {
            border-radius: 16px;
        }

        .swiper-slide img {
            height: 280px;
        }

        .slide-overlay {
            padding: 24px;
        }

        .slide-title {
            font-size: 22px;
            margin-bottom: 8px;
        }

        .slide-description {
            font-size: 14px;
        }

        .swiper-button-next,
        .swiper-button-prev {
            width: 40px;
            height: 40px;
        }

        .swiper-button-next::after,
        .swiper-button-prev::after {
            font-size: 16px;
        }

        .swiper-pagination-bullet {
            width: 8px;
            height: 8px;
        }

        .swiper-pagination-bullet-active {
            width: 24px;
        }
    }

    @media (max-width: 640px) {
        .categories-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
        }

        .categories-title {
            font-size: 22px;
        }

        .categories-subtitle {
            font-size: 13px;
        }

        .category-card {
            padding: 16px 12px;
        }

        .category-icon-wrapper {
            width: 52px;
            height: 52px;
            margin-bottom: 12px;
        }

        .category-icon {
            font-size: 24px;
        }

        .category-name {
            font-size: 14px;
            margin-bottom: 4px;
        }

        .category-description {
            font-size: 11px;
        }

        .category-badge {
            font-size: 9px;
            padding: 3px 8px;
            top: 10px;
            left: 10px;
        }

        .install-banner {
            bottom: 12px;
            width: calc(100% - 24px);
            padding: 16px;
            border-radius: 16px;
        }

        .install-banner-header {
            margin-bottom: 14px;
            gap: 12px;
        }

        .install-content {
            padding-left: 32px;
            padding-top: 0;
        }

        .install-icon {
            width: 44px;
            height: 44px;
            padding: 6px;
            border-radius: 12px;
        }

        .install-title {
            font-size: 15px;
            margin-bottom: 4px;
        }

        .install-text {
            font-size: 12px;
            line-height: 1.5;
        }

        .install-actions {
            flex-direction: column;
            gap: 8px;
        }

        .install-btn {
            width: 100%;
            padding: 11px 16px;
            font-size: 13px;
        }

        .install-close {
            top: 10px;
            left: 10px;
            width: 28px;
            height: 28px;
            font-size: 20px;
            border-radius: 6px;
        }

        .debug-info {
            top: 70px;
            left: 5px;
            right: 5px;
            max-width: none;
            font-size: 10px;
        }

        .swiper-slide img {
            height: 220px;
        }

        .slide-overlay {
            padding: 20px;
        }

        .slide-title {
            font-size: 18px;
        }

        .slide-description {
            font-size: 13px;
            margin-bottom: 12px;
        }

        .slide-button {
            font-size: 12px;
            padding: 10px 24px;
        }
    }

    @media (max-width: 480px) {
        /* استایل ریسپانسیو بخش آدرس */
        .address-text {
            font-size: 13px;
        }

        .change-address-btn {
            padding: 6px 12px;
            font-size: 12px;
        }
    }

    @media (max-width: 380px) {
        .install-banner {
            bottom: 8px;
            width: calc(100% - 16px);
            padding: 14px;
        }

        .install-icon {
            width: 40px;
            height: 40px;
            padding: 5px;
        }

        .install-title {
            font-size: 14px;
        }

        .install-text {
            font-size: 11px;
        }

        .install-btn {
            padding: 10px 14px;
            font-size: 12px;
        }

        .install-close {
            width: 26px;
            height: 26px;
            font-size: 18px;
        }

        .swiper-slide img {
            height: 200px;
        }

        .slide-title {
            font-size: 16px;
        }

        .slide-description {
            font-size: 12px;
        }

        .slide-button {
            font-size: 11px;
            padding: 8px 20px;
        }
    }