/* =========================================================
   NAVGRAH — CART PAGE DESIGN
   Version 1.0

   IMPORTANT:
   Cart-only styling.
   style.css and main.css remain untouched.
   ========================================================= */


/* =========================================================
   01 — CART PAGE FOUNDATION
   ========================================================= */

body.woocommerce-cart {
    background: #f8f6f0;
    color: #241034;
}


/* Main Cart block */

body.woocommerce-cart
.wp-block-woocommerce-cart {
    max-width: 1240px;
    margin: 0 auto;
    padding: 65px 28px 80px;
}


/* =========================================================
   02 — CART MAIN LAYOUT
   ========================================================= */

body.woocommerce-cart
.wc-block-cart {
    background: transparent;
}


/* =========================================================
   03 — CART ITEMS AREA
   ========================================================= */

body.woocommerce-cart
.wc-block-cart-items {
    background: #ffffff;

    border-left: 3px solid #d89418;

    padding: 35px 36px;

    box-shadow: 0 18px 45px rgba(43, 18, 65, 0.07);
}


/* Product / Total column headings */

body.woocommerce-cart
.wc-block-cart-items__header {
    color: #241034;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 13px;
    font-weight: 500;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}


/* =========================================================
   04 — PRODUCT ROW
   ========================================================= */

body.woocommerce-cart
.wc-block-cart-items__row {
    border-bottom: 1px solid #e2dbd1;
    padding: 25px 0;
}


/* =========================================================
   05 — PRODUCT IMAGE
   ========================================================= */

body.woocommerce-cart
.wc-block-cart-item__image {
    width: 110px;
}


body.woocommerce-cart
.wc-block-cart-item__image img {
    width: 100%;
    height: auto;

    border: 1px solid #e0d8cd;
    border-radius: 2px;
}


/* =========================================================
   06 — PRODUCT INFORMATION
   ========================================================= */

body.woocommerce-cart
.wc-block-cart-item__product {
    color: #241034;
}


/* Product name */

body.woocommerce-cart
.wc-block-cart-item__product
.wc-block-components-product-name {
    color: #241034;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    font-weight: 500;

    text-decoration: none;
}


body.woocommerce-cart
.wc-block-cart-item__product
.wc-block-components-product-name:hover {
    color: #6d3ba8;
}


/* Product price */

body.woocommerce-cart
.wc-block-cart-item__product
.wc-block-components-product-price {
    color: #6d3ba8;
    font-size: 14px;
    font-weight: 600;

    margin-top: 5px;
}


/* Product description */

body.woocommerce-cart
.wc-block-cart-item__product
.wc-block-components-product-metadata {
    color: #6a626b;

    font-size: 12px;
    line-height: 1.6;

    margin-top: 8px;
}


/* =========================================================
   07 — QUANTITY CONTROL
   ========================================================= */

body.woocommerce-cart
.wc-block-components-quantity-selector {
    border: 1px solid #cfc6ba;
    border-radius: 2px;

    background: #fffdf9;

    min-height: 38px;

    margin-top: 15px;
}


body.woocommerce-cart
.wc-block-components-quantity-selector input {
    color: #241034;

    background: transparent;

    border: none;
}


body.woocommerce-cart
.wc-block-components-quantity-selector button {
    color: #6d3ba8;

    background: transparent;

    transition: background 0.2s ease;
}


body.woocommerce-cart
.wc-block-components-quantity-selector button:hover {
    background: #f7f1e6;
}


/* =========================================================
   08 — REMOVE ITEM
   ========================================================= */

body.woocommerce-cart
.wc-block-cart-item__remove-link {
    color: #8a777f;

    font-size: 11px;

    text-decoration: none;

    transition: color 0.2s ease;
}


body.woocommerce-cart
.wc-block-cart-item__remove-link:hover {
    color: #6d3ba8;
}


/* =========================================================
   09 — PRODUCT TOTAL
   ========================================================= */

body.woocommerce-cart
.wc-block-cart-item__total {
    color: #241034;

    font-size: 15px;
    font-weight: 600;
}


/* =========================================================
   10 — CART TOTALS PANEL
   ========================================================= */

body.woocommerce-cart
.wc-block-cart__sidebar {
    background: #ffffff;

    border-left: 3px solid #d89418;

    padding: 30px;

    box-shadow: 0 18px 45px rgba(43, 18, 65, 0.07);
}


/* Cart totals heading */

body.woocommerce-cart
.wc-block-components-totals-wrapper {
    color: #241034;
}


body.woocommerce-cart
.wc-block-cart__sidebar
.wc-block-components-totals-coupon {
    border-top: 1px solid #e2dbd1;
    border-bottom: 1px solid #e2dbd1;

    padding: 16px 0;
}


/* =========================================================
   11 — TOTAL ROWS
   ========================================================= */

body.woocommerce-cart
.wc-block-cart__sidebar
.wc-block-components-totals-item {
    border-bottom: 1px solid #e2dbd1;

    padding-top: 13px;
    padding-bottom: 13px;
}


body.woocommerce-cart
.wc-block-cart__sidebar
.wc-block-components-totals-item__label {
    color: #4d4650;
    font-size: 13px;
}


body.woocommerce-cart
.wc-block-cart__sidebar
.wc-block-components-totals-item__value {
    color: #241034;
    font-size: 14px;
    font-weight: 500;
}


/* =========================================================
   12 — ESTIMATED TOTAL
   ========================================================= */

body.woocommerce-cart
.wc-block-cart__sidebar
.wc-block-components-totals-footer-item {
    background: #f7f1e6;

    border: none;

    padding: 18px 16px;

    margin-top: 12px;
}


body.woocommerce-cart
.wc-block-cart__sidebar
.wc-block-components-totals-footer-item__label {
    color: #241034;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    font-weight: 500;
}


body.woocommerce-cart
.wc-block-cart__sidebar
.wc-block-components-totals-footer-item__value {
    color: #241034;

    font-size: 21px;
    font-weight: 600;
}


/* =========================================================
   13 — PROCEED TO CHECKOUT
   ========================================================= */

body.woocommerce-cart
.wc-block-cart__sidebar
.wc-block-components-button {
    min-height: 56px;

    width: 100%;

    margin-top: 18px;

    background: #35134f;

    border: none;
    border-radius: 2px;

    color: #ffffff;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    font-weight: 500;

    letter-spacing: 0.04em;

    box-shadow: 0 8px 22px rgba(53, 19, 79, 0.16);

    transition:
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


body.woocommerce-cart
.wc-block-cart__sidebar
.wc-block-components-button:hover {
    background: #4b1d6c;

    transform: translateY(-1px);

    box-shadow: 0 11px 26px rgba(53, 19, 79, 0.22);
}


/* =========================================================
   14 — ERROR / PAYMENT CANCELLATION NOTICE
   ========================================================= */

body.woocommerce-cart
.wc-block-components-notice-banner {
    border-radius: 2px;

    margin-bottom: 30px;

    box-shadow: none;
}


/* Error notice */

body.woocommerce-cart
.wc-block-components-notice-banner.is-error {
    background: #fff8f7;

    border: 1px solid #d89418;

    color: #4a3030;
}


body.woocommerce-cart
.wc-block-components-notice-banner.is-error
.wc-block-components-notice-banner__content {
    color: #4a3030;
}


body.woocommerce-cart
.wc-block-components-notice-banner__dismiss {
    color: #6d3ba8;
}


/* =========================================================
   15 — EMPTY CART
   ========================================================= */

body.woocommerce-cart
.wc-block-cart__empty-cart__title {
    color: #241034;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-weight: 500;
}


body.woocommerce-cart
.wc-block-cart__empty-cart__title::after {
    content: " .. NAVGRAH ..";

    display: block;

    margin-top: 12px;

    color: #d89418;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 11px;

    letter-spacing: 0.25em;
}


/* =========================================================
   16 — MOBILE
   ========================================================= */

@media (max-width: 782px) {

    body.woocommerce-cart
    .wp-block-woocommerce-cart {
        padding: 35px 15px 55px;
    }


    body.woocommerce-cart
    .wc-block-cart-items,
    body.woocommerce-cart
    .wc-block-cart__sidebar {
        padding: 25px 20px;
    }


    body.woocommerce-cart
    .wc-block-cart-item__image {
        width: 85px;
    }


    body.woocommerce-cart
    .wc-block-cart-item__product
    .wc-block-components-product-name {
        font-size: 15px;
    }


    body.woocommerce-cart
    .wc-block-cart__sidebar {
        margin-top: 25px;
    }


    body.woocommerce-cart
    .wc-block-cart__sidebar
    .wc-block-components-button {
        min-height: 54px;
    }
}
/* =========================================================
   NAVGRAH — CART CLOSING MESSAGE
   ========================================================= */

body.woocommerce-cart .navgrah-cart-closing {
    max-width: 1240px;
    margin: 0 auto;

    padding: 10px 28px 65px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 22px;

    text-align: center;
}


body.woocommerce-cart .navgrah-cart-closing-line {
    width: 55px;
    height: 1px;

    background: #d89418;

    flex-shrink: 0;
}


body.woocommerce-cart .navgrah-cart-closing-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}


body.woocommerce-cart .navgrah-cart-closing-title {
    color: #d89418;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 25px;
    font-style: italic;
    font-weight: 500;

    line-height: 1.3;
}


body.woocommerce-cart .navgrah-cart-closing-brand {
    margin-top: 9px;

    color: #d89418;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 12px;

    letter-spacing: 0.28em;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 782px) {

    body.woocommerce-cart .navgrah-cart-closing {
        padding: 5px 20px 45px;
        gap: 12px;
    }


    body.woocommerce-cart .navgrah-cart-closing-line {
        width: 28px;
    }


    body.woocommerce-cart .navgrah-cart-closing-title {
        font-size: 20px;
    }


    body.woocommerce-cart .navgrah-cart-closing-brand {
        font-size: 10px;
    }
}