/* Base Styles & Typography */
        /* Base Styles & Root Variables */
        :root {
            --brand-color: #5603AD;  /* بنفش سلطنتی */
            --brand-light: #8338EC;  /* بنفش روشن */
            --brand-dark: #2A1B3D;   /* بنفش تیره */
            --gold-accent: #FFB703;  /* طلایی */
            --bg-light: #FBF9FE;     /* پس زمینه روشن */
        }

        body {
            font-family: 'Vazirmatn', sans-serif;
            direction: rtl;
            background: var(--bg-light);
            line-height: 1.6;
            color: #333;
            padding-top: 90px;
        }



        /* Product Section Styles */
        .container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
        /*برای اندازه هدر*/
        .main { margin-top: 8px; padding: 20px 0; }
        .product-details-container { background: linear-gradient(135deg, #ffffff 0%, #FBF9FE 100%); border-radius: 30px; padding: 30px; box-shadow: 0 15px 40px rgba(86, 3, 173, 0.08); border: 1px solid #E9D8FD; position: relative; overflow: hidden; margin-bottom: 20px; display: flex; flex-direction: column; gap: 40px; }
        .product-gallery { text-align: center; }
        .main-image {
            position: relative;
            overflow: hidden;
            border-radius: 10px;
            margin-bottom: 20px;
            /* اضافه شدن نسبت ابعاد و پس‌زمینه لودینگ */
            aspect-ratio: 1 / 1;
            width: 100%;
            background-color: #f4f4f4;
        }
        .main-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 8px;
            transition: transform 0.3s ease;
        }
        .gallery-thumbnails { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
        .gallery-item { width: 80px; height: 80px; border: 2px solid #ddd; border-radius: 5px; overflow: hidden; cursor: pointer; transition: all 0.3s ease; }
        .gallery-item img { width: 100%; height: 100%; object-fit: cover; }
        .gallery-item.active, .gallery-item:hover { border-color: var(--gold-accent); box-shadow: 0 5px 15px rgba(255, 183, 3, 0.3); transform: scale(1.05); }
        .product-info { padding: 10px; }
        .product-title {
    font-size: clamp(1.3rem, 4vw, 1.8rem);
    font-weight: 800;
    color: var(--brand-dark, #2A1B3D);
    margin-bottom: 15px;
    line-height: 1.5;
    overflow-wrap: break-word;
}
        .description { color: #666; margin-bottom: 20px; line-height: 1.7; }
        .rating-stars { color: #ffc107; font-size: 1.2rem; margin-bottom: 20px; }
        .product-features h3 { font-size: 1.5rem; font-weight: bold; color: #333; margin-top: 10px; margin-bottom: 15px; }
        .product-features ul { list-style: none; padding: 0; }
        .product-features ul li { display: flex; align-items: center; gap: 10px; color: #666; margin-bottom: 10px; }
        .price-container { display: flex; align-items: center; gap: 15px; margin: 20px 0; }
        .current-price { font-size: 2.5rem; font-weight: 800; color: var(--brand-color); }
        .old-price { text-decoration: line-through; color: #a7a7a7; font-size: 1.3rem; margin-left: 10px; }
        .discount-badge { background: var(--gold-accent); color: #222; padding: 4px 12px; border-radius: 8px; font-size: 1rem; font-weight: 800; box-shadow: 0 4px 10px rgba(255, 183, 3, 0.3); }
        .quantity-selector { display: flex; justify-content: flex-start; align-items: center; gap: 15px; margin-top: 20px; margin-bottom: 30px; background: #fff; padding: 5px 15px; border-radius: 50px; width: fit-content; border: 1px solid #E9D8FD; }
        .quantity-btn { background: #F3E5F5; border: none; border-radius: 50%; width: 44px; height: 44px; display: flex; justify-content: center; align-items: center; font-size: 20px; color: var(--brand-color); cursor: pointer; transition: all 0.3s ease; }
        .quantity-btn:hover { background: var(--brand-color); color: #fff; transform: scale(1.1); box-shadow: 0 4px 10px rgba(86, 3, 173, 0.2); }
        .quantity-input { width: 40px; text-align: center; font-size: 1.2rem; border: none; background: transparent; font-weight: bold; color: var(--brand-dark); }
        .quantity-input { width: 50px; text-align: center; font-size: 1.2rem; border: none; background: transparent; font-weight: bold; }
        .btn-order-now { background: linear-gradient(90deg, var(--brand-color) 0%, var(--brand-light) 100%); color: #fff; border: none; padding: 16px 40px; border-radius: 50px; font-size: 1.2rem; font-weight: 800; text-align: center; display: block; width: 100%; margin-top: 30px; box-shadow: 0 8px 25px rgba(86, 3, 173, 0.3); transition: all 0.3s ease; border: 1px solid rgba(255,255,255,0.1); }
        .btn-order-now:disabled { background: #e0e0e0; box-shadow: none; cursor: not-allowed; opacity: 0.7; color: #888; border: none; }
        .btn-order-now:hover:not(:disabled) { background: linear-gradient(90deg, #46028C 0%, var(--brand-color) 100%); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(86, 3, 173, 0.4); }
        .additional-products-container { display: flex; justify-content: center; margin: 30px 0; padding: 20px 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
        .btn-more-products { background: #6d4c41; color: #fff; border: none; padding: 12px 30px; border-radius: 8px; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; font-size: 16px; transition: all 0.3s ease; text-decoration: none; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); }
        .btn-more-products:hover { background: #5d4037; transform: translateY(-2px); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); }
        .product-description-container { margin: 30px 0; background: #fff; border-radius: 20px; padding: 25px; box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08); }
        .product-description-content { line-height: 1.8; color: #555; text-align: justify; }
        .reviews-section { margin-top: 40px; padding: 30px; background: #fff; border-radius: 20px; box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08); }
        .review-form-container { margin-bottom: 30px; }
        .product-description-title, .reviews-title { font-size: 24px; font-weight: 800; color: var(--brand-color); margin-bottom: 25px; padding-bottom: 15px; position: relative; border-bottom: 1px solid #E9D8FD; }
        .product-description-title::after, .reviews-title::after { content: ''; position: absolute; bottom: -1px; right: 0; width: 60px; height: 3px; background: var(--gold-accent); border-radius: 2px; }
        .review-form-container h3 { font-size: 20px; color: #333; margin-bottom: 15px; }
        .form-group { margin-bottom: 20px; }
        .form-group label { display: block; font-size: 16px; color: #333; margin-bottom: 8px; }
        .star-rating { display: flex; gap: 5px; justify-content: flex-end; }
        .star-rating input { display: none; }
        .star-rating label { cursor: pointer; color: #ddd; font-size: 20px; }
        .star-rating label i { transition: color 0.3s; }
        .star-rating input:checked ~ label i, .star-rating label:hover i, .star-rating label:hover ~ label i { color: #5603AD; }
        textarea, input[type="text"] { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 5px; font-size: 16px; }
        .btn-submit-review { background: #5603AD; color: #fff; padding: 10px 20px; border: none; border-radius: 5px; cursor: pointer; font-size: 16px; transition: background 0.3s; }
        .btn-submit-review:hover { background: #8338EC; }
        .login-prompt { font-size: 16px; color: #666; }
        .login-prompt a { color: #5603AD; text-decoration: none; }
        .login-prompt a:hover { text-decoration: underline; }
        .reviews-list { margin-top: 20px; }
        .review-item { padding: 15px; border-bottom: 1px solid #eee; }
        .review-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
        .review-username { font-size: 16px; font-weight: bold; color: #333; }
        .review-rating i { color: #ffc107; font-size: 16px; }
        .review-comment { font-size: 14px; color: #666; line-height: 1.8; margin-bottom: 10px; }
        .review-date { font-size: 12px; color: #999; }
        .no-reviews { text-align: center; padding: 20px; color: #888; }
        .admin-reply { margin-top: 15px; padding: 10px; background-color: #f8f9fa; border-radius: 5px; border-right: 3px solid #5603AD; }
        .reply-header { display: flex; justify-content: space-between; margin-bottom: 5px; }
        .reply-label { font-weight: bold; color: #5603AD; }
        .reply-date { font-size: 12px; color: #999; }
        .reply-text { font-size: 14px; color: #555; line-height: 1.6; }

        .copyright { border-top: 1px solid #ddd; padding-top: 20px; color: #666; font-size: 14px; }
        @media (min-width: 768px) {
            .product-details-container { flex-direction: row; justify-content: center; gap: 50px; }
            .product-gallery, .product-info { width: 50%; }
            .product-info { padding-top: 20px; }
        }

        /* استایل‌های جدید برای بهینه‌سازی تصاویر */
        .product-gallery img {
            width: 100%;
            height: auto;
            object-fit: cover;
        }

        .main-image {
            position: relative;
            overflow: hidden;
        }

        .image-zoom {
            transition: transform 0.3s ease;
        }

        .image-zoom:hover {
            transform: scale(1.05);
        }

       /* ─────────────── بهبود فوق‌حرفه‌ای Breadcrumb (RTL) ─────────────── */
        .breadcrumb {
            background-color: transparent;
            padding: 10px 0;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            flex-wrap: nowrap;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
            /* ایجاد پدینگ در سمت چپ برای جلوگیری از چسبیدن متن به لبه گوشی */
            padding-left: 20px;
        }

        .breadcrumb::-webkit-scrollbar { display: none; }

        .breadcrumb-item {
            display: inline-flex;
            align-items: center;
            white-space: nowrap;
            font-size: 0.85rem;
        }

        /* 1. حذف استایل‌های مزاحم پیش‌فرض بوت‌استرپ */
        .breadcrumb-item + .breadcrumb-item::before {
            display: none !important;
        }

        /* 2. استفاده از ::after به جای ::before برای سایت‌های فارسی */
        .breadcrumb-item:not(:last-child)::after {
            content: "\f284"; /* آیکون Chevron-Left از بوت‌استرپ آیکون */
            font-family: "bootstrap-icons";
            color: #b0b0b0;
            font-size: 0.75rem;
            margin: 0 10px; /* فاصله استاندارد بین کلمات و فلش */
            display: inline-block;
        }

        .breadcrumb-item a { color: #555; text-decoration: none; transition: color 0.3s ease; }
        .breadcrumb-item a:hover { color: var(--brand-color, #5603AD); }
        .breadcrumb-item.active { color: #888; font-weight: 500; }

        /* بهبود accessibility */
        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }

        .social-links {
            display: flex;
            gap: 15px;
            justify-content: center;
        }

        .social-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background-color: #3a3a3a;
            border-radius: 50%;
            color: #f5f5f5;
            font-size: 18px;
            text-decoration: none;
            transition: background-color 0.3s ease, transform 0.3s ease;
        }

        .social-btn:hover {
            background-color: #d4a373;
            transform: scale(1.1);
        }

        .accordion-button {
            background-color: #3a3a3a;
            color: #f5f5f5;
            font-size: 16px;
            font-weight: 500;
            border: none;
            border-radius: 8px;
            padding: 15px;
            transition: background-color 0.3s ease;
        }

        .accordion-button:not(.collapsed) {
            background-color: #d4a373;
            color: #2c2c2c;
        }

        .accordion-body {
            background-color: #333333;
            color: #f5f5f5;
            border-radius: 0 0 8px 8px;
            padding: 20px;
        }



        .trust-badges {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            justify-content: center;
        }

        .trust-badges img {
            max-width: 100px;
            height: auto;
            transition: transform 0.3s ease;
        }

        .trust-badges img:hover {
            transform: scale(1.05);
        }


        .copyright-text {
            font-size: 14px;
            color: #cccccc;
        }

        .copyright-text strong {
            color: #d4a373;
        }

        .designed-by {
            font-size: 13px;
            color: #999999;
            margin-top: 10px;
        }

        .designed-by .bi-heart-fill {
            color: #dc3545;
        }




        @media (max-width: 576px) {
            .support-popup {
                width: 90%;
                right: 5%;
            }
        }
        /* ─────────────── بهبود بخش محصولات پیشنهادی ─────────────── */
.suggested-products-section {
    direction: rtl;
    background: linear-gradient(135deg, #fffaf5 0%, #fff5f0 100%);
    border-radius: 24px;
    margin: 3rem 0;
    padding: 4rem 0;
}

.product-card {
    border-radius: 20px !important;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: white;
}

.product-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 60px rgba(255, 111, 97, 0.25) !important;
    border: 1px solid #5603AD !important;
}

.image-zoom-wrapper:hover .hover-scale {
    transform: scale(1.12);
}

.hover-scale {
    transition: transform 0.5s ease;
}

.btn-safran {
    background: #5603AD;
    color: white;
    border: none;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.btn-safran:hover {
    background: #8338EC;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 111, 97, 0.4);
}

.btn-safran:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 111, 97, 0.3);
}

/* موبایل و تبلت */
@media (max-width: 576px) {
    .product-card {
        border-radius: 16px;
    }
    .card-body {
        padding: 1.25rem !important;
    }
    .current-price {
        font-size: 1.4rem !important;
    }
    .btn-safran {
        padding: 0.75rem 1rem !important;
        font-size: 0.95rem !important;
    }
}

@media (max-width: 768px) {
    .suggested-products-section {
        padding: 3rem 1rem;
        margin: 2rem 0;
    }
}


/* Snapp!Pay - لوگو راست + بالای دکمه + فونت بزرگ */
.snapp-pay-section {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
    width: 388px;
    margin: 18px 0 12px auto; /* فاصله مناسب بالای دکمه */
}

.snapp-pay-section .snapp-text {
    text-align: right;
    line-height: 1.35;
}

.snapp-pay-section .main-line {
    font-weight: 700;
    font-size: 16px;
    color: #000;
}

.snapp-pay-section .sub-line {
    font-size: 14px;
    color: #444;
    font-weight: 500;
}

.snapp-pay-section .snapp-logo {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

/* موبایل */
@media (max-width: 768px) {
    .snapp-pay-section {
        width: 288px;
        gap: 12px;
        margin: 15px 0 10px auto;
    }
    .snapp-pay-section .snapp-logo {
        width: 32px;
        height: 32px;
    }
    .snapp-pay-section .main-line { font-size: 15px; }
    .snapp-pay-section .sub-line { font-size: 13px; }
}


/* Media Query for larger screens */
@media (min-width: 768px) {
  .product-faq-wrapper {
    padding: 3rem;
  }
  .faq-luxury-title {
    font-size: 1.75rem;
  }
  .faq-question {
    font-size: 1.15rem;
  }
}
/* --- Mobile-First FAQ Section Styles --- */
/* استایل پایه برای موبایل */
.product-faq-wrapper {
    background: #ffffff;
    border-radius: 16px; /* انحنای مناسب موبایل */
    padding: 1.5rem 1rem; /* پدینگ بهینه برای صفحه نمایش کوچک */
    box-shadow: 0 4px 15px rgba(86, 3, 173, 0.05);
    margin: 2rem 0;
    border: 1px solid #E9D8FD;
}

.faq-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.faq-luxury-title {
    color: var(--brand-dark, #2A1B3D);
    font-weight: 800;
    font-size: 1.25rem; /* سایز فونت مناسب موبایل */
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 4px;
    line-height: 1.4;
}

.faq-luxury-title::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: var(--gold-accent, #FFB703);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 4px;
}

.faq-subtitle {
    color: #666;
    font-size: 0.85rem;
    margin-top: 8px;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.75rem; /* فاصله کمتر بین سوالات در موبایل */
}

.faq-item {
    background: #FBF9FE;
    border-radius: 12px;
    border: 1px solid transparent;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1rem;
    min-height: 52px; /* استاندارد جهانی برای لمس راحت انگشت */
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: right;
    cursor: pointer;
    color: #333;
    font-family: 'Vazirmatn', sans-serif;
    font-weight: 700;
    font-size: 0.95rem; /* جلوگیری از شکستگی خطوط در موبایل */
    line-height: 1.5;
}

.question-text {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    text-align: right;
}

.question-text i {
    margin-top: 3px; /* هم‌تراز کردن آیکون با متن‌های طولانی */
    font-size: 1.1rem;
}

.faq-icon {
    color: var(--brand-light, #8338EC);
    font-size: 1.1rem;
    transition: transform 0.3s ease;
    background: #F3E5F5;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    margin-right: 12px;
}

.faq-question.active {
    color: var(--brand-color, #5603AD);
}

.faq-question.active .faq-icon {
    transform: rotate(180deg);
    background: var(--brand-color, #5603AD);
    color: #ffffff;
}

.faq-item.active {
    background: #ffffff;
    border-color: var(--brand-color, #5603AD);
    box-shadow: 0 4px 15px rgba(86, 3, 173, 0.08);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out; /* انیمیشن نرم‌تر */
}

.answer-content {
    padding: 0 1rem 1.25rem 1rem;
    color: #555;
    font-size: 0.85rem;
    line-height: 1.8;
    border-top: 1px dashed #E9D8FD;
    margin-top: 0.25rem;
    padding-top: 0.75rem;
}

/* --------------------------------------------------- */
/* --- Desktop & Tablet Enhancements (Media Queries) --- */
/* این بخش تنظیمات را برای نمایشگرهای بزرگتر ارتقا می‌دهد */
@media (min-width: 768px) {
    .product-faq-wrapper {
        border-radius: 24px;
        padding: 2.5rem;
        margin: 3rem 0;
    }

    .faq-luxury-title {
        font-size: 1.6rem;
    }

    .faq-subtitle {
        font-size: 0.95rem;
    }

    .faq-accordion {
        gap: 1rem;
    }

    .faq-item {
        border-radius: 16px;
    }

    .faq-item:hover {
        border-color: #E9D8FD;
        box-shadow: 0 5px 15px rgba(86, 3, 173, 0.08);
        transform: translateY(-2px);
    }

    .faq-question {
        padding: 1.2rem 1.5rem;
        font-size: 1.05rem;
    }

    .faq-icon {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }

    .answer-content {
        padding: 0 1.5rem 1.5rem 1.5rem;
        font-size: 0.95rem;
        padding-top: 1rem;
    }
}
/* ─────────────── Smart Sticky Bar (Mobile) ─────────────── */
.smart-sticky-bar {
    position: fixed;
    bottom: -120px; /* در حالت پیش‌فرض پایین‌تر از صفحه مخفی است */
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px); /* افکت شیشه‌ای لوکس */
    box-shadow: 0 -4px 25px rgba(86, 3, 173, 0.12);
    border-top: 1px solid #E9D8FD;
    z-index: 990; /* قرارگیری زیر پاپ‌آپ VIP */
    padding: 12px 20px;
    /* رعایت فضای امن در گوشی‌های آیفون خط‌دار */
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
    transition: bottom 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: none; /* در دسکتاپ کلاً مخفی است */
}

.smart-sticky-bar.visible {
    bottom: 0; /* نمایش نوار */
}

.sticky-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sticky-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.sticky-title {
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
}

.sticky-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--brand-color);
}

.btn-sticky-buy {
    background: linear-gradient(90deg, var(--brand-color) 0%, var(--brand-light) 100%);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 800;
    box-shadow: 0 6px 15px rgba(86, 3, 173, 0.25);
    transition: transform 0.2s ease;
}

.btn-sticky-buy:active {
    transform: scale(0.95);
}

.btn-sticky-buy:disabled {
    background: #e0e0e0;
    color: #888;
    box-shadow: none;
}

/* فقط در موبایل و تبلت‌های کوچک نمایش داده شود */
@media (max-width: 768px) {
    .smart-sticky-bar {
        display: block;
    }
}
/*مخی کردن نوار پایین صفحه*/
@media (max-width: 991px) {
        .mobile-bottom-nav {
            display: none !important;
        }
    }
/* ─────────────── Seller Info Card (Product Details) ─────────────── */
.seller-info-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #E9D8FD;
    box-shadow: 0 10px 30px rgba(86, 3, 173, 0.05);
    padding: 24px;
    margin-bottom: 2rem;
    direction: rtl;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.seller-info-card:hover {
    box-shadow: 0 15px 40px rgba(86, 3, 173, 0.1);
    border-color: var(--brand-color);
}

.seller-section-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px dashed #E9D8FD;
    padding-bottom: 15px;
}

.seller-section-title i {
    color: var(--gold-accent);
    font-size: 1.4rem;
}

.seller-info-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
}

.seller-avatar-wrapper {
    position: relative;
    width: 85px;
    height: 85px;
    flex-shrink: 0;
}

.seller-shop-avatar, .seller-avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--brand-color);
    padding: 4px;
    object-fit: cover;
    background: var(--bg-light);
    box-shadow: 0 5px 15px rgba(255, 183, 3, 0.15);
}

.seller-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--brand-color);
}

.seller-verified-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    background: var(--gold-accent);
    color: #222;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.seller-details {
    flex-grow: 1;
    width: 100%;
}

.seller-shop-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--brand-color);
    margin-bottom: 10px;
}

.seller-experience {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--bg-light);
    color: #555;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 16px;
    border: 1px solid #E9D8FD;
}

.seller-experience i {
    color: var(--gold-accent);
    font-size: 1rem;
}

.seller-bio {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 18px;
    text-align: justify;
}

.seller-address {
    font-size: 0.85rem;
    color: #777;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 20px;
    background: #f9f9f9;
    padding: 10px;
    border-radius: 10px;
}

.seller-address i {
    color: #dc3545;
}

.btn-seller-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(90deg, var(--brand-color) 0%, var(--brand-light) 100%);
    color: #ffffff !important;
    padding: 14px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(86, 3, 173, 0.2);
    width: 100%;
    border: none;
}

.btn-seller-profile:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(86, 3, 173, 0.35);
}

/* ─────────────── Desktop / Tablet View ─────────────── */
@media (min-width: 768px) {
    .seller-info-card {
        padding: 30px;
    }
    .seller-info-body {
        flex-direction: row;
        text-align: right;
        align-items: flex-start;
        gap: 25px;
    }
    .seller-address {
        justify-content: flex-start;
        background: transparent;
        padding: 0;
    }
}

/* ─────────────── Desktop & Tablet Enhancements ─────────────── */
@media (min-width: 768px) {
    .seller-profile-wrapper {
        padding: 2.5rem;
        border-radius: 30px;
    }

    .seller-profile-content {
        flex-direction: row;
        text-align: right;
        align-items: center;
        gap: 2.5rem;
    }

    .seller-avatar-container {
        width: 110px;
        height: 110px;
    }

    .seller-title-nastaliq {
        font-size: 3rem;
    }

    .seller-desc {
        margin: 0;
        text-align: justify;
    }

    .seller-stats {
        width: auto;
        border-top: none;
        border-right: 1px solid #E9D8FD;
        padding-top: 0;
        padding-right: 25px;
        flex-direction: column;
        gap: 15px;
    }

    .stat-item {
        align-items: flex-start;
    }
}
/* ─────────────── Product Specifications Grid (Mobile First) ─────────────── */
.product-spec-grid {
    display: grid;
    /* در موبایل دقیقا ۲ ستون با عرض مساوی ایجاد می‌کند تا بهم ریختگی رخ ندهد */
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 1.5rem 0;
}

.spec-card {
    background: #ffffff;
    border: 1px solid #E9D8FD;
    border-radius: 16px;
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 4px 10px rgba(86, 3, 173, 0.02);
    transition: all 0.3s ease;
}

.spec-card:hover {
    transform: translateY(-3px);
    border-color: var(--gold-accent, #FFB703);
    box-shadow: 0 6px 15px rgba(255, 183, 3, 0.15);
}

.spec-card .icon-wrapper {
    color: var(--brand-color, #5603AD);
    font-size: 1.3rem;
    background: var(--bg-light, #FBF9FE);
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 8px;
}

.spec-card .spec-label {
    font-size: 0.75rem;
    color: #888;
    font-weight: 500;
    margin-bottom: 4px;
}

.spec-card .spec-value {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--brand-dark, #2A1B3D);
    line-height: 1.3;
}

/* ─────────────── دسکتاپ و تبلت ─────────────── */
@media (min-width: 768px) {
    .product-spec-grid {
        /* در دسکتاپ به یک ردیف ۴ تایی تبدیل می‌شود */
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
    .spec-card {
        padding: 15px 10px;
    }
    .spec-card .spec-value {
        font-size: 0.9rem;
    }
}
/* ─────────────── بازطراحی بخش قیمت (لوکس و رسپانسیو) ─────────────── */
        .luxury-price-box {
            display: flex;
            flex-direction: column; /* چیدمان عمودی برای جلوگیری از بهم‌ریختگی در موبایل */
            gap: 8px;
            margin: 25px 0;
            background: #ffffff;
            padding: 16px 24px;
            border-radius: 16px;
            border: 1px solid #E9D8FD;
            box-shadow: 0 8px 25px rgba(86, 3, 173, 0.04);
            width: fit-content;
            min-width: 280px; /* عرض مناسب برای ایجاد حس یک باکس اختصاصی */
        }

        .discount-row {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .discount-badge {
            background: #dc3545; /* رنگ قرمز استاندارد برای ایجاد حس فوریت (FOMO) */
            color: #ffffff;
            padding: 4px 12px;
            border-radius: 20px; /* طراحی کپسولی مدرن */
            font-size: 0.85rem;
            font-weight: 800;
            box-shadow: 0 4px 10px rgba(220, 53, 69, 0.25);
        }

        .old-price {
            text-decoration: line-through;
            color: #a7a7a7;
            font-size: clamp(1rem, 3vw, 1.1rem);
            font-weight: 500;
        }

        .current-price-row {
            display: flex;
            align-items: baseline;
        }

        .current-price {
            /* جادوی clamp: در موبایل 1.6rem، در لپ‌تاپ 2.2rem */
            font-size: clamp(1.6rem, 5vw, 2.2rem);
            font-weight: 900;
            color: var(--brand-color, #5603AD);
            letter-spacing: -0.5px; /* کمی فشردگی اعداد برای ظاهر شیک‌تر */
        }

        .current-price .currency {
            font-size: clamp(0.9rem, 2.5vw, 1.1rem);
            font-weight: 500;
            color: #777;
            margin-right: 6px;
        }

        /* بهینه‌سازی ویژه برای گوشی‌های خیلی کوچک */
        @media (max-width: 380px) {
            .luxury-price-box {
                min-width: 100%;
                padding: 12px 16px;
            }
        }


                    .video-responsive-wrapper iframe {
                        position: absolute !important;
                        top: 0 !important;
                        left: 0 !important;
                        width: 100% !important;
                        height: 100% !important;
                    }