﻿/* =========================================
   1. تنظیمات پایه و متغیرها
   ========================================= */
:root {
    --primary-blue: #0092e6;
    --primary-grad: linear-gradient(135deg, #0092e6 0%, #00629b 100%);
    --danger-red: #ff4757;
    --text-dark: #1a202c;
    --text-muted: #718096;
    --bg-light: #f8fafc;
    --border-color: #f1f5f9;
}

.luxe-cart-page, .luxe-cart-page * {
    font-family: inherit !important;
    direction: rtl;
    box-sizing: border-box;
}

/* =========================================
   2. استایل کارت‌ها و هدر
   ========================================= */
.luxe-card {
    background: #fff;
    border-radius: 24px;
    padding: 25px;
    box-shadow: 0 12px 40px rgb(0 0 0 / 40% );
    margin: 25px 0 25px 0;
    border: 2px solid var(--border-color);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--bg-light);
    padding-bottom: 20px;
}

    .cart-header h1 {
        font-size: 20px;
        font-weight: 800;
        color: #00629b;
        margin: 0;
    }

        .cart-header h1 i {
            color: #0092e6;
        }

.badge-count {
    background: #ebf8ff;
    color: #3182ce;
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: bold;
}

/* =========================================
   3. آیتم محصول و مدیریت نام طولانی
   ========================================= */
.luxe-cart-item {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.item-image img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid var(--border-color);
}

.item-details {
    flex: 1;
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    min-width: 0; /* برای کارکرد صحیح ellipsis */
}

/* =========================================
   4. بج‌های ویژگی و قیمت واحد
   ========================================= */
.item-body-flex {
    display: flex;
    flex-direction: row; /* قرارگیری کنار هم */
    gap: 15px;
    width: 100%;
    align-items: flex-start;
}

.item-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.luxe-badge {
    background: #f1f5f9;
    color: #4a5568;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 9px;
    display: flex;
    align-items: center;
    gap: 5px;
}

    .luxe-badge i {
        color: var(--primary-blue);
    }

.unit-price-row {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

    .unit-price-row strong {
        color: #4a5568;
        margin-right: 4px;
    }

/* =========================================
   5. بخش فوتر (تعداد، حذف و قیمت کل)
   ========================================= */
.item-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    gap: 15px;
}

/* باکس دکمه‌ها (تعداد + حذف) */
.controls-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quantity-control {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 4px;
}

.q-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: #fff;
    border-radius: 9px;
    cursor: pointer;
    color: var(--primary-blue);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* فیکس عدد تعداد در وسط */
.input-holder {
    position: relative;
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.q-input {
    width: 100% !important;
    border: none !important;
    background: transparent !important;
    text-align: center !important;
    font-weight: 800;
    font-size: 16px;
    color: var(--text-dark);
    padding: 0 !important;
    margin-right: 10px !important;
}

.max-limit {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--danger-red);
    color: #fff;
    font-size: 8px;
    padding: 2px 8px;
    border-radius: 6px;
    white-space: nowrap;
}

/* دکمه حذف فیکس شده در کنار تعداد */
.luxe-delete-btn {
    background: #fff1f2;
    color: var(--danger-red);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: 0.2s;
}

    .luxe-delete-btn:hover {
        background: var(--danger-red);
        color: #fff;
    }

/* قیمت نهایی محصول */
.item-price-sum {
    text-align: left;
}

.sum-label {
    font-size: 11px;
    color: var(--text-muted);
    display: block;
}

.item-price-sum strong {
    font-size: 18px;
    color: var(--primary-blue);
    font-weight: 900;
}

/* =========================================
   6. سایدبار و تکمیل خرید
   ========================================= */
.checkout-sidebar {
    position: sticky;
    top: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

    .summary-row strong {
        font-size: 22px;
        color: var(--primary-blue);
        font-weight: 900;
    }

.luxe-empty-state h2 {
    font-size: 19px;
    color: var(--primary-blue) !important;
    margin-bottom: 5px;
}

.luxe-btn-primary {
    background: var(--primary-grad);
    color: #fff !important;
    padding: 18px;
    border-radius: 18px;
    width: 250px;
    text-align: center;
    text-decoration: none !important;
    font-weight: bold;
    box-shadow: 0 10px 25px rgba(0, 146, 230, 0.3);
}

/* =========================================
   7. استایل سبد خالی
   ========================================= */
.luxe-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 24px;
}

    .luxe-empty-state img {
        width: 160px;
        margin-bottom: 20px;
    }

.luxe-btn-outline {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid var(--primary-blue);
    background-color: var(--primary-blue);
    color: #fff;
    border-radius: 15px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
}

    .luxe-btn-outline:hover {
        background-color: var(--primary-blue);
        color: #fff;
        transform: translateY(-3px); /* دکمه کمی بالا می‌آید */
        box-shadow: 0 15px 35px rgba(0, 146, 230, 0.45); /* سایه عمیق‌تر و رنگی‌تر */
        filter: brightness(1.1); /* کمی روشن‌تر شدن رنگ گرادینت */
    }

.luxe-btn-outline {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.luxe-btn-outline {
    transform: translateY(-1px); /* حالت کلیک شدن */
}

/* =========================================
   8. موبایل ریسپانسیو (اصلاح نهایی)
   ========================================= */
/* =========================================
   8. موبایل ریسپانسیو (اصلاح نهایی و قطعی)
   ========================================= */
@media (max-width: 768px) {
    .luxe-cart-item {
        display: flex;
        flex-direction: column !important;
        padding: 15px 0;
    }

    .item-image img {
        width: 95px;
        height: 95px;
    }

    .item-details {
        flex: 1;
        padding-right: 0 !important;
        display: flex;
        flex-direction: column;
    }

    .item-footer {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px !important;
        margin-top: 15px;
        width: 100% !important; /* بسیار مهم */
    }

    .controls-wrapper {
        width: 100% !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center;
    }

    /* این بخشی است که گفتی جابجا نمی‌شود */
    .item-price-sum {
        width: 100% !important;
        display: flex !important;
        flex-direction: row !important; /* اجبار به چیدمان خطی */
        justify-content: space-between !important; /* برچسب راست، قیمت چپ */
        align-items: center !important;
        border-top: 1px dashed #eee;
        padding-top: 12px;
        margin-top: 5px;
    }

    .sum-label {
        flex: 0 1 auto !important;
        text-align: right !important;
        margin: 0 !important;
        font-size: 11px;
        color: var(--text-muted);
    }

    .item-price-sum strong {
        flex: 0 1 auto !important;
        text-align: left !important; /* قیمت کاملاً سمت چپ */
        font-size: 16px !important;
        color: var(--primary-blue) !important;
        font-weight: 900;
        margin: 0 !important;
    }

    .product-name {
        font-size: 13px !important;
        margin-top: 0 !;
    }
}

.fa {
    font-family: 'FontAwesome' !important;
    display: inline-block !important;
    font-style: normal !important;
}

.q-btn.is-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    filter: grayscale(1);
}
/* 1. هاور روی دکمه تکمیل خرید (افکت تپش ملایم و تغییر سایه) */
.luxe-btn-primary {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

    .luxe-btn-primary:hover {
        transform: translateY(-3px); /* دکمه کمی بالا می‌آید */
        box-shadow: 0 15px 35px rgba(0, 146, 230, 0.45); /* سایه عمیق‌تر و رنگی‌تر */
        filter: brightness(1.1); /* کمی روشن‌تر شدن رنگ گرادینت */
    }

    .luxe-btn-primary:active {
        transform: translateY(-1px); /* حالت کلیک شدن */
    }

/* 2. هاور روی عکس محصول (زوم ملایم و شفافیت) */
.item-image {
    overflow: hidden; /* جلوگیری از بیرون زدگی عکس هنگام زوم */
    border-radius: 18px;
}

    .item-image img {
        transition: all 0.5s ease;
    }

    .item-image:hover img {
        transform: scale(1.08); /* زوم ملایم روی عکس */
        filter: contrast(1.1); /* کمی پررنگ‌تر شدن جزئیات عکس */
    }


/* افکت تکمیلی برای کارت محصول */
.luxe-cart-item {
    display: flex;
    flex-direction: column !important;
}

    .luxe-cart-item:hover {
        background-color: #fcfdfe; /* تغییر رنگ پس‌زمینه ردیف به صورت خیلی محو */
    }
/* ظرف اصلی هدر محصول */
.item-header-full {
    width: 100%;
    display: block;
    margin-bottom: 12px;
}

/* لینک نام محصول */
.item-link {
    text-decoration: none !important;
    display: block;
    transition: transform 0.3s ease;
}

    .item-link:hover {
        transform: translateX(-5px);
    }

/* استایل متن نام محصول با قابلیت سه نقطه */
.product-name {
    font-size: 14px;
    font-weight: 800;
    color: #004f7c;
    line-height: 1.6;
    margin-top: 10px;
    transition: color 0.3s ease;
    /* منطق نمایش سه نقطه (Ellipsis) در ۲ خط */
    display: -webkit-box;
    -webkit-line-clamp: 2; /* تعداد خطوط مجاز */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word; /* برای جلوگیری از به هم ریختگی کلمات خیلی طولانی */
}

/* هاور رنگ نام محصول */
.item-link:hover .product-name {
    color: var(--primary-blue) !important;
}

.luxe-loading {
    opacity: 0.5 !important;
    pointer-events: none !important; /* قفل کردن دکمه تا رسیدن جواب سرور */
    cursor: wait !important;
}

/* باکس لودینگ شیشه‌ای */
.luxe-blur-loading {
    position: relative;
    overflow: hidden;
    pointer-events: none;
}

    .luxe-blur-loading::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgb(117, 221, 252, 0.21);
        backdrop-filter: blur(1px); /* تار کردن پشت */
        z-index: 2;
        border-radius: 12px;
    }

/* استایل سه نقطه متحرک */
.dot-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 4px;
    z-index: 3;
}

    .dot-loader span {
        width: 6px;
        height: 6px;
        background-color: #006ead;
        border-radius: 50%;
        display: inline-block;
        animation: dot-pulse 1.2s infinite ease-in-out;
    }

        /* ایجاد تاخیر برای حرکت موجی نقاط */
        .dot-loader span:nth-child(2) {
            animation-delay: 0.2s;
        }

        .dot-loader span:nth-child(3) {
            animation-delay: 0.4s;
        }

@keyframes dot-pulse {
    0%, 80%, 100% {
        transform: scale(0.6);
        opacity: 0.4;
    }

    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/*-------------- (post - off)بخش کناری اطلاعات مشتری برای سفارش----------*/
/* استایل مخصوص پست‌های غیرفعال */
.is-disabled-post {
    opacity: 0.4 !important; /* کمرنگ شدن */
    filter: grayscale(1); /* خاکستری شدن */
    pointer-events: none; /* غیرقابل کلیک کردن کامل */
    cursor: not-allowed;
}

    .is-disabled-post .shipping-card {
        background-color: #f5f5f5 !important;
        border-color: #ddd !important;
    }
/* شبکه بندی دو ستونه در دسکتاپ */
.shipping-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 16px;
    margin-top: 15px;
}

.shipping-card-wrapper {
    position: relative;
}

    /* مخفی کردن اینپوت اصلی */
    .shipping-card-wrapper input[type="radio"] {
        position: absolute;
        opacity: 0;
    }

/* استایل بدنه کارت */
.shipping-card-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: #fff;
    border: 1.5px solid #edf2f7;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    margin: 0;
}

/* نوار رنگی کنار کارت */
.card-indicator {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: transparent;
    transition: 0.3s;
}

.card-main-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.shipping-icon-box {
    width: 45px;
    height: 45px;
    background: #f7fafc;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0aec0;
    font-size: 20px;
    transition: 0.3s;
}

.shipping-title {
    display: block;
    font-weight: 800;
    color: #2d3748;
    font-size: 14px;
    margin-bottom: 2px;
}

.shipping-desc {
    font-size: 11px;
    color: #718096;
}

.price-num {
    font-weight: 900;
    color: #2d3748;
    font-size: 14px;
    padding-left: 5px;
}

.price-unit {
    font-size: 10px;
    color: #a0aec0;
    margin-right: 3px;
}

/* تیک انتخاب */
.selection-check {
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    color: #006ead;
    font-size: 22px;
    transition: 0.3s;
}

/* --- استایل وضعیت انتخاب شده (Selected) --- */
.shipping-card-wrapper input[type="radio"]:checked + .shipping-card-body {
    border-color: #3182ce;
    background: #f0f7ff;
    box-shadow: 0 10px 15px -3px rgba(49, 130, 206, 0.1);
}

    .shipping-card-wrapper input[type="radio"]:checked + .shipping-card-body .card-indicator {
        background: #3182ce;
    }

    .shipping-card-wrapper input[type="radio"]:checked + .shipping-card-body .shipping-icon-box {
        background: #fff;
        color: #3182ce;
    }

    .shipping-card-wrapper input[type="radio"]:checked + .shipping-card-body .selection-check {
        transform: translateY(-50%) scale(1);
    }

/* --- استایل غیرفعال (Disabled) --- */
.shipping-card-wrapper.is-disabled {
    opacity: 0.5;
    filter: grayscale(1);
    pointer-events: none;
}

.status-label {
    font-size: 10px;
    background: #fff5f5;
    color: #c53030;
    padding: 0;
    border-radius: 8px;
    font-weight: 700;
}

@media (max-width: 576px) {
    .shipping-card-body {
        padding: 15px;
    }

    .shipping-options-grid {
        grid-template-columns: 1fr;
    }

    .price-num {
        font-size: 12px !important;
        padding-left: 10px !important;
    }
}

.btn-add-info {
    margin-top: 10px !important;
    width:100% !important;
}

.guide-box {
    padding: 7px 8px;
    font-size: 10px !important;
}
.guide-header {
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 5px;
}
.profile p {
    font-size: 10px !important;
    padding-top: 0 !important;
    padding-right: 25px !important;
}
/* کارت صورتحساب مدرن */
.invoice-card-modern {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #eef2f6;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.invoice-summary {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #64748b;
}

    .summary-item .value {
        font-weight: 700;
        color: #1e293b;
    }

.discount-text {
    color: #ef4444; /* رنگ قرمز برای تخفیف */
}

    .discount-text .value {
        color: #ef4444;
    }

.divider {
    height: 1px;
    background: #f1f5f9;
    margin: 5px 0;
}



/* دکمه‌ها و هشدارها */
.btn-checkout-danger {
    display: block;
    background: #00629b !important;
    color: #fff;
    text-align: center;
    padding: 14px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
    margin-top: 10px;
}

    .btn-checkout-danger:hover {
        background: #dc2626;
        color: #fff;
        transform: translateY(-2px);
    }

.waiting-selection {
    text-align: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 12px;
    border-radius: 12px;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 600;
    margin-top:10px;
}
/* هدر صورتحساب */
.invoice-card .modern-header {
    border-right: 5px solid #059669 !important; /* کهربایی گرم */
}

    .invoice-card .modern-header h1 {
        color: #059669 !important;
    }
    .invoice-card .modern-header i {
        color: #0cdb9b !important;
    }
/* لیست جزئیات */
.invoice-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .invoice-details li {
        display: flex;
        justify-content: space-between;
        margin-bottom: 12px;
        font-size: 14px;
        color: #4b5563;
    }

.invoice-divider {
    height: 1px;
    background: linear-gradient(to left, transparent, #e2e8f0, transparent);
    margin: 20px 0;
}


.total-payable-box {
    background: #ddffe5; 
    padding: 18px;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 2px dashed #0cdb9b !important;
    transition: all 0.3s ease;
}

.total-label {
    font-weight: 800;
    color: #056044;
    font-size: 13px;
}





/* استایل دکمه‌ها و وضعیت‌ها */
.btn-checkout-danger {
    display: block;
    background: #ef4444;
    color: #fff !important;
    text-align: center;
    padding: 15px;
    border-radius: 14px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

/* استایل دکمه نهایی بعد از انتخاب */
.btn-final-confirm {
    background: #059669 !important; /* سبز زمردی برای حس مثبت پرداخت */
    color: white !important;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3) !important;
    border-radius: 14px !important;
    padding: 15px !important;
    font-weight: bold !important;
}
/*-------------- (post - off)اتمام بخش کناری اطلاعات مشتری برای سفارش----------*/

/*----------بخش نهایی سفارش-------*/
/* گرید انتخاب پرداخت */
.payment-options-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* استایل کلی کارت فاکتور */
.invoice-card-modern {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #eef2f6;
    box-shadow: 0 10px 25px rgba(0,0,0,0.02);
    overflow: hidden;
}



/* دکمه تایید نهایی سبز رنگ */
.btn-final-confirm {
    background: #059669 !important;
    color: white !important;
    padding: 16px;
    border-radius: 12px;
    font-weight: bold;
    font-size: 16px;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

    .btn-final-confirm:hover {
        background: #047857 !important;
        transform: translateY(-2px);
    }
/* یکپارچه سازی فواصل لیست فاکتور */
.invoice-details {
    padding: 0;
    margin: 0;
    list-style: none;
}

    .invoice-details li {
        display: flex;
        justify-content: space-between;
        padding: 12px 0;
        border-bottom: 1px dashed #f1f5f9;
        font-size: 14px;
    }

        .invoice-details li i {
            margin-left: 8px;
            width: 15px;
            text-align: center;
        }

/* زیباتر کردن باکس مبلغ نهایی */
.total-payable-box {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

    .total-payable-box:hover {
        transform: scale(1.01);
        box-shadow: 0 8px 20px #0cdb9b3d !important;
    }

/* --- بخش تایید نهایی و پرداخت (Final Payment Page) --- */

/* هدرهای مدرن */
.modern-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

/* لیست جزئیات فاکتور */
.invoice-details {
    padding: 0;
    margin: 0;
    list-style: none;
}

    .invoice-details li {
        display: flex;
        justify-content: space-between;
        padding: 15px 0;
        border-bottom: 1px dashed #f1f5f9;
        font-size: 14px;
        color: #475569;
    }

        .invoice-details li:last-child {
            border-bottom: none;
        }

        .invoice-details li i {
            margin-left: 10px;
            color: #94a3b8;
            width: 20px;
            text-align: center;
        }

    .invoice-details b {
        color: #1e293b;
        font-weight: 700;
    }

/* جداکننده فاکتور */
.invoice-divider {
    height: 1px;
    background: linear-gradient(to left, transparent, #e2e8f0, transparent);
    margin: 15px 0;
}

/* باکس مبلغ نهایی (نارنجی) */
.total-payable-box {
    padding: 22px;
    border-radius: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

    .total-payable-box:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(230, 126, 34, 0.1);
    }

/* باکس راهنما */
.guide-box {
    background: #f8fafc;
    border-radius: 14px;
    padding: 15px;
    border: 1px solid #eef2f6;
}

.guide-header {
    font-weight: 800;
    font-size: 13px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* دکمه پرداخت نهایی (نارنجی Luxe) */
.btn-payment-final {
    background: linear-gradient(135deg, #0092e6 0%, #00629b 100%);
    color: #fff !important;
    padding: 18px;
    border-radius: 18px;
    width: 100%;
    text-align: center;
    text-decoration: none !important;
    font-weight: bold;
    box-shadow: 0 10px 25px rgba(0, 146, 230, 0.3);
    margin-top:10px;
}

.btn-payment-final {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

    .btn-payment-final:hover {
        transform: translateY(-3px); /* دکمه کمی بالا می‌آید */
        box-shadow: 0 15px 35px rgba(0, 146, 230, 0.45); /* سایه عمیق‌تر و رنگی‌تر */
        filter: brightness(1.1); /* کمی روشن‌تر شدن رنگ گرادینت */
    }

    .btn-payment-final:active {
        transform: translateY(-1px); /* حالت کلیک شدن */
    }
/* --- ساختار کلی و هدرها --- */
.luxe-cart-page .modern-header {
    border-right: 5px solid #059669;
    padding-right: 15px;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

    .luxe-cart-page .modern-header h1 {
        font-size: 18px;
        font-weight: 800;
        margin: 0;
    }

.luxe-cart-page .invoice-card-right h1 {
    color: #065f46;
}
.luxe-cart-page .invoice-card-right h1 i {
    color: #0fc18f !important;
}
.luxe-cart-page .payment-card-left h1 {
    color: #00629b;
}
    .luxe-cart-page .payment-card-left h1 i {
        color: #0092e6 !important;
    }
.luxe-cart-page .payment-card-left .modern-header {
    border-right-color: #00629b !important;
}

/* --- لیست فاکتور --- */
.invoice-details {
    padding: 0;
    margin: 0;
    list-style: none;
}

    .invoice-details li {
        display: flex;
        justify-content: space-between;
        padding: 15px 0;
        border-bottom: 1px dashed #f1f5f9;
        font-size: 14px;
        color: #475569;
    }

        .invoice-details li i {
            margin-left: 10px;
            opacity: 0.5;
            width: 20px;
            text-align: center;
        }

    .invoice-details b {
        color: #1e293b;
    }

.invoice-divider {
    height: 1px;
    background: linear-gradient(to left, transparent, #e2e8f0, transparent);
    margin: 15px 0;
}

.total-value b {
    color: #00b479;
    font-size: 21px;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.total-value small {
    color: #00b479;
    margin-right: 5px;
    font-size: 12px;
}

/* --- باکس راهنما و وضعیت --- */
.guide-box {
    margin-top: 20px;
    background: #f8fafc;
    border-radius: 14px;
    padding: 15px;
    border: 1px solid #eef2f6;
}

.guide-header {
    color: #0284c7;
    font-weight: 800;
    font-size: 13px;
    margin-bottom: 5px;
}

.guide-box p {
    margin: 0;
    opacity: 0.8;
    font-size: 11px;
}

    .btn-payment-final:hover {
        transform: translateY(-3px);
        filter: brightness(1.1);
    }
.shipping-info p {
    font-size: 10px !important;
    color: #6b6b6b !important;
}
/*--------اتمام بخش نهایی سفارش--------*/
