/* =========================================================
   YUVATHI CART - WooCommerce Cart Block
========================================================= */

body.woocommerce-cart {
    background: #fff;
}

/* Main cart container */

.woocommerce-cart .wp-site-blocks,
.woocommerce-cart main {
    overflow: visible;
}

.woocommerce-cart .wc-block-cart {
    width: min(1180px, calc(100% - 40px));
    margin: 55px auto 0;
    padding: 30px 0 100px;
}
/* Main columns */

.woocommerce-cart .wc-block-cart__main {
    padding-right: 42px;
}

.woocommerce-cart .wc-block-cart__sidebar {
    margin-top: 0;
}

/* Headings */

.woocommerce-cart .wc-block-cart-items__header {
    border-bottom: 1px solid #eadde2;
}

.woocommerce-cart .wc-block-cart-items__header span,
.woocommerce-cart .wc-block-cart__totals-title {
    color: #362129;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

/* Product rows */

.woocommerce-cart .wc-block-cart-items tbody tr {
    border-bottom: 1px solid #eadde2;
}

.woocommerce-cart .wc-block-cart-items td {
    padding-top: 28px;
    padding-bottom: 28px;
}

/* Product image */

.woocommerce-cart .wc-block-cart-item__image {
    width: 115px;
}

.woocommerce-cart .wc-block-cart-item__image img {
    width: 100%;
    height: 115px;
    object-fit: contain;
    padding: 10px;
    border-radius: 16px;
    background: #fff7fa;
}

/* Product name */

.woocommerce-cart .wc-block-components-product-name {
    color: #3f2730 !important;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;
    text-decoration: none;
}

.woocommerce-cart .wc-block-components-product-name:hover {
    color: #9e315a !important;
}

/* Product description */

.woocommerce-cart .wc-block-components-product-metadata,
.woocommerce-cart .wc-block-components-product-metadata p {
    color: #806c74;
    font-size: 12px;
    line-height: 1.6;
}

/* Price */

.woocommerce-cart .wc-block-components-product-price {
    margin-top: 7px;
    color: #9e315a;
    font-size: 14px;
    font-weight: 800;
}

.woocommerce-cart .wc-block-components-product-price__regular {
    color: #8c7b81;
    font-weight: 500;
}

/* Quantity */

.woocommerce-cart .wc-block-components-quantity-selector {
    min-height: 42px;
    border: 1px solid rgba(126, 48, 76, 0.16);
    border-radius: 999px;
    background: #fff;
}

.woocommerce-cart .wc-block-components-quantity-selector input {
    color: #3f2730;
    font-weight: 700;
}

.woocommerce-cart .wc-block-components-quantity-selector button {
    color: #9e315a;
}

/* Remove item */

.woocommerce-cart
.wc-block-cart-item__remove-link {
    color: #9e315a !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.woocommerce-cart
.wc-block-cart-item__remove-link:hover {
    color: #812143 !important;
}

/* Product total */

.woocommerce-cart .wc-block-cart-item__total-price-and-sale-badge-wrapper {
    justify-content: flex-end;
}

.woocommerce-cart
.wc-block-components-product-price__value {
    color: #362129;
    font-size: 16px;
    font-weight: 800;
}

/* =========================================================
   CART SUMMARY
========================================================= */

.woocommerce-cart .wc-block-cart__sidebar {
    padding: 28px !important;
    border: 1px solid rgba(136, 43, 76, 0.1);
    border-radius: 24px;
    background:
        radial-gradient(
            circle at 90% 0,
            rgba(212, 124, 156, 0.12),
            transparent 30%
        ),
        #fff8fa;
    box-shadow: 0 18px 50px rgba(77, 27, 46, 0.08);
}

/* Cart totals title */

.woocommerce-cart .wc-block-cart__totals-title {
    margin-bottom: 14px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(117, 55, 78, 0.1);
}

/* Coupon */

.woocommerce-cart .wc-block-components-totals-coupon {
    border-bottom: 1px solid rgba(117, 55, 78, 0.1);
}

.woocommerce-cart
.wc-block-components-totals-coupon__button {
    color: #9e315a;
    font-weight: 750;
}

/* Totals */

.woocommerce-cart .wc-block-components-totals-item {
    padding: 15px 0;
}

.woocommerce-cart
.wc-block-components-totals-item__label {
    color: #66515a;
    font-size: 14px;
    font-weight: 650;
}

.woocommerce-cart
.wc-block-components-totals-item__value {
    color: #362129;
    font-size: 14px;
    font-weight: 800;
}

/* Grand total */

.woocommerce-cart
.wc-block-components-totals-footer-item {
    padding-top: 22px;
    border-top: 1px solid rgba(117, 55, 78, 0.1);
}

.woocommerce-cart
.wc-block-components-totals-footer-item
.wc-block-components-totals-item__label,
.woocommerce-cart
.wc-block-components-totals-footer-item
.wc-block-components-totals-item__value {
    color: #362129;
    font-size: 21px;
    font-weight: 850;
}

/* Checkout button */

.woocommerce-cart
.wc-block-cart__submit-button {
    min-height: 56px;
    margin-top: 18px;
    border-radius: 999px !important;
    background: #9e315a !important;
    color: #fff !important;
    box-shadow: 0 14px 30px rgba(128, 39, 72, 0.22);
    font-size: 15px;
    font-weight: 800;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.woocommerce-cart
.wc-block-cart__submit-button:hover {
    background: #812143 !important;
    transform: translateY(-1px);
}

.woocommerce-cart
.wc-block-cart__submit-button
.wc-block-components-button__text {
    color: #fff !important;
}

/* =========================================================
   EMPTY CART
========================================================= */

.woocommerce-cart .wc-block-cart__empty-cart__title {
    color: #362129;
    font-size: 34px;
    font-weight: 800;
}

.woocommerce-cart .wc-block-cart__empty-cart__title.with-empty-cart-icon::before {
    color: #9e315a;
}

/* =========================================================
   NOTICES
========================================================= */

.woocommerce-cart .woocommerce-notices-wrapper {
    width: min(1180px, calc(100% - 40px));
    margin: 25px auto 0;
}

.woocommerce-cart .woocommerce-message,
.woocommerce-cart .woocommerce-info,
.woocommerce-cart .woocommerce-error {
    border: 1px solid rgba(143, 42, 81, 0.12);
    border-top: 0;
    border-radius: 14px;
    background: #fff6f9;
    color: #4f3841;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .woocommerce-cart .wc-block-cart {
        padding: 50px 0 75px;
    }

    .woocommerce-cart .wc-block-cart__main {
        padding-right: 0;
    }

    .woocommerce-cart .wc-block-cart__sidebar {
        margin-top: 35px;
    }
}

@media (max-width: 600px) {

    .woocommerce-cart .wc-block-cart {
        width: min(100% - 28px, 1180px);
        padding: 35px 0 60px;
    }

    .woocommerce-cart .wc-block-cart__sidebar {
        padding: 22px !important;
        border-radius: 18px;
    }

    .woocommerce-cart .wc-block-cart-item__image {
        width: 82px;
    }

    .woocommerce-cart .wc-block-cart-item__image img {
        height: 82px;
    }

    .woocommerce-cart .wc-block-components-product-name {
        font-size: 15px;
    }

    .woocommerce-cart
    .wc-block-components-totals-footer-item
    .wc-block-components-totals-item__label,
    .woocommerce-cart
    .wc-block-components-totals-footer-item
    .wc-block-components-totals-item__value {
        font-size: 18px;
    }
}

/* Coupon Apply button */
.woocommerce-cart
.wc-block-components-totals-coupon__button {
    min-height: 50px;
    padding: 0 24px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: #9e315a !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    cursor: pointer;
    transition: background 0.2s ease;
}

.woocommerce-cart
.wc-block-components-totals-coupon__button:hover {
    background: #812143 !important;
    color: #ffffff !important;
}

.woocommerce-cart
.wc-block-components-totals-coupon__button
.wc-block-components-button__text {
    color: #ffffff !important;
}