﻿
/* اصلاح کامل دکمه تسویه حساب */
.cart-home .proceed-to-checkout {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.cart-home .proceed-to-checkout a.checkout-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #c97587 !important;
    background-image: none !important;
    border: 1px solid #c97587 !important;
    border-radius: 25px !important;
    color: #ffffff !important;
    outline: 0 !important;
    box-shadow: 0 0 0 0 transparent !important;
    text-decoration: none !important;
}

    /* حالت‌های مختلف دکمه */
    .cart-home .proceed-to-checkout a.checkout-button:hover,
    .cart-home .proceed-to-checkout a.checkout-button:focus,
    .cart-home .proceed-to-checkout a.checkout-button:active,
    .cart-home .proceed-to-checkout a.checkout-button:focus-visible {
        background: #a64f65 !important;
        background-image: none !important;
        border: 1px solid #a64f65 !important;
        color: #ffffff !important;
        outline: none !important;
        box-shadow: none !important;
    }

/* رنگ‌بندی صورتی صفحه سبد خرید آورا */
.cart-home {
    background: #fffafa;
    color: #373239;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
}

    /* کادر اصلی محصولات */
    .cart-home .post-item-cart,
    .cart-home .content-page,
    .cart-home .cart-form {
        background: #fffafa;
        border-radius: 16px;
    }

    /* سرستون‌های جدول */
    .cart-home .table-cart thead th {
        background: #efc0c9 !important;
        color: #373239 !important;
        border-color: #f0e2e6 !important;
        padding: 18px 12px;
    }

    /* ردیف‌های محصولات */
    .cart-home .table-cart tbody tr {
        background: #fff4f6 !important;
        border-bottom: 1px solid #f0e2e6;
    }

    .cart-home .table-cart tbody td,
    .cart-home .table-cart tbody th {
        background: #fff4f6 !important;
        color: #373239 !important;
        border-color: #f0e2e6 !important;
        vertical-align: middle;
        padding: 15px 12px;
    }

    /* نام محصولات */
    .cart-home .product-title a {
        color: #373239 !important;
        transition: color .2s ease;
    }

        .cart-home .product-title a:hover {
            color: #c97587 !important;
        }

    /* قیمت محصولات */
    .cart-home .amount {
        color: #c97587 !important;
        font-weight: 700;
    }

    /* دکمه حذف محصول */
    .cart-home .product-remove a {
        color: #c97587 !important;
        transition: all .2s ease;
    }

        .cart-home .product-remove a:hover {
            color: #a64f65 !important;
        }

    /* کنترل تعداد محصول */
    .cart-home .quantity {
        border: 1px solid #f0cbd3;
        border-radius: 10px;
        overflow: hidden;
    }

        .cart-home .quantity input {
            border-color: #f0e2e6 !important;
            background: #fffafa !important;
            color: #373239 !important;
        }

    .cart-home .quantity-button {
        background: #efc0c9 !important;
        color: #a64f65 !important;
        transition: background .2s ease;
    }

        .cart-home .quantity-button:hover {
            background: #c97587 !important;
            color: #fff !important;
        }

    /* کادر مجموع سبد خرید */
    .cart-home .cart-collaterals,
    .cart-home .totals {
        background: #fff4f6 !important;
        border: 1px solid #f0e2e6;
        border-radius: 16px;
    }

    /* عنوان مجموع کل */
    .cart-home .Total-cart-total {
        background: #efc0c9 !important;
        color: #373239 !important;
        border-radius: 12px 12px 0 0;
        padding: 18px;
    }

    /* خلاصه قیمت و حمل‌ونقل */
    .cart-home .checkout-summary,
    .cart-home .checkout-summary-summary {
        background: #fff4f6 !important;
    }

        .cart-home .checkout-summary-summary li {
            border-color: #f0e2e6 !important;
            color: #373239;
            padding-top: 12px;
            padding-bottom: 12px;
        }

        .cart-home .checkout-summary-summary .amount {
            color: #373239 !important;
        }

    /* انتخاب روش حمل‌ونقل */
    .cart-home input[type="radio"] {
        accent-color: #c97587;
    }

    .cart-home .shipping-totals-title,
    .cart-home .shipping-destination {
        color: #6b5960 !important;
    }

    /* کادر کد تخفیف */
    .cart-home .input-coupon-code {
        background: #fffafa !important;
        border: 1px solid #f0cbd3 !important;
        border-radius: 25px !important;
        color: #373239 !important;
        outline: none;
        padding: 12px 16px;
    }

        .cart-home .input-coupon-code:focus {
            border-color: #c97587 !important;
            box-shadow: 0 0 0 3px rgba(201, 117, 135, .12);
        }

    /* دکمه اعمال کد تخفیف */
    .cart-home .btn-coupon {
        background: #efc0c9 !important;
        border: 1px solid #efc0c9 !important;
        color: #373239 !important;
        border-radius: 25px !important;
        transition: all .25s ease;
    }

        .cart-home .btn-coupon:hover {
            background: #c97587 !important;
            border-color: #c97587 !important;
            color: #fff !important;
        }

    /* دکمه تسویه حساب */
    .cart-home .checkout-button {
        background: #c97587 !important;
        border: 1px solid #c97587 !important;
        color: #fff !important;
        border-radius: 25px !important;
        padding: 13px 18px;
        text-align: center;
        transition: all .25s ease;
    }

        .cart-home .checkout-button:hover {
            background: #a64f65 !important;
            border-color: #a64f65 !important;
            color: #fff !important;
        }

/* نمایش بهتر در موبایل */
@media (max-width: 767px) {
    .cart-home .table-cart {
        font-size: 11px;
    }

        .cart-home .table-cart thead th,
        .cart-home .table-cart tbody td,
        .cart-home .table-cart tbody th {
            padding: 10px 6px;
        }

    .cart-home .Total-cart-total {
        font-size: 16px;
    }
}

