/* NOVA Workspace — Cart
   Built around WooCommerce's classic cart markup, keeping all commerce logic native. */

.nova-cart-page {
    background: #f7f7f4;
}

.nova-cart-link.is-current {
    background: #eef0ea;
}

.nova-cart-main {
    min-height: 64vh;
    background: #f7f7f4;
}

.nova-cart-hero {
    padding: 46px 0 30px;
    border-bottom: 1px solid #e4e4df;
}

.nova-cart-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 30px;
    color: #85857f;
    font-size: 13px;
    font-weight: 500;
}

.nova-cart-breadcrumb a {
    color: #686868;
    text-decoration: none;
}

.nova-cart-breadcrumb a:hover {
    color: #171717;
}

.nova-cart-hero__row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
}

.nova-cart-hero h1 {
    margin: 10px 0 0 !important;
    color: #171717 !important;
    font-family: "Manrope", sans-serif !important;
    font-size: clamp(42px, 5vw, 64px) !important;
    font-weight: 600 !important;
    letter-spacing: -0.055em;
    line-height: .98;
}

.nova-cart-hero__row > p {
    width: min(100%, 370px);
    margin: 0 0 4px;
    color: #686868;
    font-size: 15px;
    line-height: 1.65;
    text-align: right;
}

.nova-cart-section {
    padding: 42px 0 96px;
}

.nova-shipping-progress {
    margin-bottom: 28px;
    padding: 19px 22px 18px;
    border: 1px solid #dfe3d9;
    border-radius: 18px;
    background: #eef0ea;
}

.nova-shipping-progress.is-complete {
    background: #e9eee5;
    border-color: #d4ddcf;
}

.nova-shipping-progress__copy {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nova-shipping-progress__icon {
    display: grid;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 50%;
    background: #5f6f52;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.nova-shipping-progress__copy div {
    display: grid;
    gap: 2px;
}

.nova-shipping-progress__copy strong {
    color: #20251e;
    font-family: "Manrope", sans-serif;
    font-size: 14px;
    font-weight: 700;
}

.nova-shipping-progress__copy span:not(.nova-shipping-progress__icon) {
    color: #6a7165;
    font-size: 12px;
}

.nova-shipping-progress__track {
    position: relative;
    height: 5px;
    margin-top: 16px;
    overflow: hidden;
    border-radius: 99px;
    background: rgba(95, 111, 82, .14);
}

.nova-shipping-progress__track span {
    position: absolute;
    inset: 0 auto 0 0;
    display: block;
    border-radius: inherit;
    background: #5f6f52;
    transition: width .25s ease;
}

/* WooCommerce cart shell */
.nova-cart-content .woocommerce {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(330px, .72fr);
    gap: 34px;
    align-items: start;
}

.nova-cart-content .woocommerce > .woocommerce-notices-wrapper,
.nova-cart-content .woocommerce > .woocommerce-message,
.nova-cart-content .woocommerce > .woocommerce-error,
.nova-cart-content .woocommerce > .woocommerce-info,
.nova-cart-content .woocommerce > .return-to-shop {
    grid-column: 1 / -1;
}

.nova-cart-content .woocommerce-cart-form {
    grid-column: 1;
    width: 100% !important;
    margin: 0 !important;
    padding: 0;
    border: 1px solid #e4e4df;
    border-radius: 22px;
    overflow: hidden;
    background: #fff;
    box-shadow: none;
}

.nova-cart-content table.shop_table {
    width: 100%;
    margin: 0 !important;
    border: 0 !important;
    border-collapse: collapse !important;
    border-radius: 0 !important;
    background: transparent;
}

.nova-cart-content table.shop_table thead {
    background: #fafaf8;
}

.nova-cart-content table.shop_table th {
    padding: 16px 18px !important;
    border: 0 !important;
    border-bottom: 1px solid #e9e9e5 !important;
    color: #77776f;
    font-family: "Inter", sans-serif;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.nova-cart-content table.shop_table td {
    padding: 22px 18px !important;
    border: 0 !important;
    border-bottom: 1px solid #ecece8 !important;
    color: #282824;
    vertical-align: middle;
}

.nova-cart-content table.shop_table tr:last-child td {
    border-bottom: 0 !important;
}

.nova-cart-content .product-remove {
    width: 42px;
    padding-right: 2px !important;
    text-align: center;
}

.nova-cart-content .product-remove a.remove {
    display: inline-grid !important;
    width: 30px !important;
    height: 30px !important;
    place-items: center;
    border: 1px solid #e4e4df;
    border-radius: 50%;
    color: #7a7a73 !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    text-decoration: none;
    background: transparent !important;
    transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.nova-cart-content .product-remove a.remove:hover {
    border-color: #c9c9c2;
    color: #171717 !important;
    background: #f5f5f2 !important;
}

.nova-cart-content .product-thumbnail {
    width: 94px;
}

.nova-cart-content .product-thumbnail img {
    width: 74px !important;
    height: 74px !important;
    object-fit: cover;
    border-radius: 12px;
    background: #f1f1ed;
}

.nova-cart-content .product-name a {
    color: #1c1c1a;
    font-family: "Manrope", sans-serif;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.35;
    text-decoration: none;
}

.nova-cart-content .product-name a:hover {
    color: #5f6f52;
}

.nova-cart-content .variation {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3px 7px;
    margin: 7px 0 0 !important;
    color: #7d7d75;
    font-size: 11px;
}

.nova-cart-content .variation dt,
.nova-cart-content .variation dd,
.nova-cart-content .variation p {
    margin: 0 !important;
    padding: 0 !important;
    color: inherit;
    font-size: inherit;
    line-height: 1.45;
}

.nova-cart-content .product-price,
.nova-cart-content .product-subtotal {
    white-space: nowrap;
    color: #2b2b27;
    font-size: 13px;
    font-weight: 600;
}

.nova-cart-content .quantity {
    display: inline-flex;
    align-items: center;
    margin: 0;
}

.nova-cart-content .quantity .qty {
    width: 62px !important;
    min-height: 42px;
    padding: 7px 8px !important;
    border: 1px solid #deded8 !important;
    border-radius: 10px !important;
    color: #171717 !important;
    font-size: 13px !important;
    text-align: center;
    background: #fff !important;
    box-shadow: none !important;
}

.nova-cart-content td.actions {
    padding: 18px !important;
    background: #fafaf8;
}

.nova-cart-content .actions .coupon {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nova-cart-content .coupon #coupon_code {
    width: 190px !important;
    min-height: 44px;
    margin: 0 !important;
    padding: 0 13px !important;
    border: 1px solid #deded8 !important;
    border-radius: 10px !important;
    color: #171717;
    font-size: 12px;
    background: #fff;
    box-shadow: none;
}

.nova-cart-content button.button,
.nova-cart-content input.button {
    min-height: 44px;
    padding: 0 17px !important;
    border: 1px solid #d8d8d2 !important;
    border-radius: 10px !important;
    color: #33332f !important;
    font-family: "Inter", sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    background: #fff !important;
    box-shadow: none !important;
    transition: background .2s ease, border-color .2s ease;
}

.nova-cart-content button.button:hover,
.nova-cart-content input.button:hover {
    border-color: #bdbdb5 !important;
    background: #f4f4f0 !important;
}

.nova-cart-content button.button:disabled,
.nova-cart-content button.button:disabled[disabled] {
    opacity: .48;
}

/* Order summary */
.nova-cart-content .cart-collaterals {
    grid-column: 2;
    width: 100% !important;
    margin: 0 !important;
}

.nova-cart-content .cross-sells {
    display: none !important;
}

.nova-cart-content .cart_totals {
    position: sticky;
    top: 124px;
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 26px;
    border: 1px solid #deded8;
    border-radius: 22px;
    background: #fff;
}

.nova-cart-content .cart_totals h2 {
    margin: 0 0 17px !important;
    padding-bottom: 17px;
    border-bottom: 1px solid #e9e9e4;
    color: #171717 !important;
    font-family: "Manrope", sans-serif !important;
    font-size: 23px !important;
    font-weight: 600 !important;
    letter-spacing: -.035em;
}

.nova-cart-content .cart_totals table.shop_table {
    margin: 0 0 18px !important;
}

.nova-cart-content .cart_totals table.shop_table th,
.nova-cart-content .cart_totals table.shop_table td {
    padding: 12px 0 !important;
    border-bottom: 1px solid #eeeeea !important;
    font-size: 12px !important;
    text-transform: none;
    letter-spacing: 0;
    background: transparent;
}

.nova-cart-content .cart_totals table.shop_table th {
    width: 44%;
    color: #77776f;
    font-weight: 500 !important;
}

.nova-cart-content .cart_totals table.shop_table td {
    color: #292925;
    font-weight: 600;
    text-align: right;
}

.nova-cart-content .cart_totals .order-total th,
.nova-cart-content .cart_totals .order-total td {
    padding-top: 17px !important;
    border-bottom: 0 !important;
    color: #171717;
    font-size: 15px !important;
    font-weight: 700 !important;
}

.nova-cart-content .cart_totals .order-total strong,
.nova-cart-content .cart_totals .order-total .woocommerce-Price-amount {
    color: #171717;
    font-size: 18px;
}

.nova-cart-content .woocommerce-shipping-methods {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nova-cart-content .woocommerce-shipping-methods li {
    display: flex;
    justify-content: flex-end;
    gap: 7px;
    margin: 4px 0;
}

.nova-cart-content .woocommerce-shipping-methods label {
    margin: 0;
    color: #33332f;
    font-size: 11px;
    font-weight: 500;
}

.nova-cart-content .woocommerce-shipping-destination,
.nova-cart-content .woocommerce-shipping-calculator {
    color: #7b7b74;
    font-size: 11px;
    line-height: 1.55;
}

.nova-cart-content .shipping-calculator-button {
    color: #5f6f52;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
}

.nova-cart-content .wc-proceed-to-checkout {
    margin: 18px 0 0 !important;
    padding: 0 !important;
}

.nova-cart-content .wc-proceed-to-checkout .checkout-button,
.nova-cart-content .nova-cart-checkout-button {
    display: flex !important;
    width: 100%;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 0 20px !important;
    border: 1px solid #5f6f52 !important;
    border-radius: 12px !important;
    color: #fff !important;
    font-family: "Inter", sans-serif !important;
    font-size: 13px !important;
    font-weight: 650 !important;
    text-decoration: none !important;
    background: #5f6f52 !important;
    box-shadow: none !important;
    transition: transform .2s ease, background .2s ease;
}

.nova-cart-content .wc-proceed-to-checkout .checkout-button:hover,
.nova-cart-content .nova-cart-checkout-button:hover {
    transform: translateY(-1px);
    background: #4d5b43 !important;
}

.nova-cart-continue {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    margin-top: 9px;
    border: 1px solid #deded8;
    border-radius: 12px;
    color: #3e3e39;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    background: #fff;
    transition: border-color .2s ease, background .2s ease;
}

.nova-cart-continue:hover {
    border-color: #bdbdb5;
    color: #171717;
    background: #f5f5f2;
}

/* Notices */
.nova-cart-content .woocommerce-message,
.nova-cart-content .woocommerce-info,
.nova-cart-content .woocommerce-error {
    margin: 0 0 22px !important;
    padding: 15px 18px 15px 48px !important;
    border: 1px solid #deded8 !important;
    border-top: 0 !important;
    border-radius: 13px;
    color: #343430 !important;
    font-size: 12px;
    background: #fff !important;
}

.nova-cart-content .woocommerce-message::before,
.nova-cart-content .woocommerce-info::before {
    color: #5f6f52 !important;
    top: 14px !important;
}

/* Empty cart */
.nova-cart-content .cart-empty.woocommerce-info {
    max-width: 720px;
    margin: 42px auto 16px !important;
    padding: 42px 28px !important;
    border: 1px solid #e1e1dc !important;
    border-radius: 20px;
    color: #686868 !important;
    text-align: center;
    background: #fff !important;
}

.nova-cart-content .cart-empty.woocommerce-info::before {
    display: none;
}

.nova-cart-content .return-to-shop {
    margin: 0 auto !important;
    text-align: center;
}

.nova-cart-content .return-to-shop .button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 0 22px !important;
    border: 1px solid #5f6f52 !important;
    border-radius: 12px !important;
    color: #fff !important;
    background: #5f6f52 !important;
}

/* Reassurance */
.nova-cart-reassurance {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 46px;
    overflow: hidden;
    border: 1px solid #e4e4df;
    border-radius: 18px;
    background: #e4e4df;
}

.nova-cart-reassurance__item {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 13px;
    padding: 24px;
    background: #fff;
}

.nova-cart-reassurance__item > span {
    color: #8c9783;
    font-family: "Manrope", sans-serif;
    font-size: 11px;
    font-weight: 700;
}

.nova-cart-reassurance__item strong {
    display: block;
    margin-bottom: 5px;
    color: #242420;
    font-family: "Manrope", sans-serif;
    font-size: 13px;
    font-weight: 650;
}

.nova-cart-reassurance__item p {
    margin: 0;
    color: #77776f;
    font-size: 11px;
    line-height: 1.55;
}

@media (max-width: 980px) {
    .nova-cart-content .woocommerce {
        grid-template-columns: minmax(0, 1fr) 310px;
        gap: 20px;
    }

    .nova-cart-content table.shop_table th,
    .nova-cart-content table.shop_table td {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .nova-cart-content .product-thumbnail {
        width: 76px;
    }

    .nova-cart-content .product-thumbnail img {
        width: 58px !important;
        height: 58px !important;
    }

    .nova-cart-content .cart_totals {
        padding: 21px;
    }
}

@media (max-width: 820px) {
    .nova-cart-hero {
        padding: 32px 0 24px;
    }

    .nova-cart-hero__row {
        display: block;
    }

    .nova-cart-hero__row > p {
        width: 100%;
        margin-top: 16px;
        text-align: left;
    }

    .nova-cart-section {
        padding: 28px 0 72px;
    }

    .nova-cart-content .woocommerce {
        display: block;
    }

    .nova-cart-content .woocommerce-cart-form,
    .nova-cart-content .cart-collaterals {
        width: 100% !important;
    }

    .nova-cart-content .cart-collaterals {
        margin-top: 22px !important;
    }

    .nova-cart-content .cart_totals {
        position: static;
    }

    .nova-cart-reassurance {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .nova-cart-hero h1 {
        font-size: 42px !important;
    }

    .nova-shipping-progress {
        padding: 16px;
        border-radius: 14px;
    }

    .nova-shipping-progress__copy {
        align-items: flex-start;
    }

    .nova-cart-content .woocommerce-cart-form {
        border-radius: 16px;
        overflow: visible;
        border: 0;
        background: transparent;
    }

    .nova-cart-content table.shop_table_responsive thead {
        display: none;
    }

    .nova-cart-content table.shop_table_responsive tbody,
    .nova-cart-content table.shop_table_responsive tr,
    .nova-cart-content table.shop_table_responsive td {
        display: block;
        width: 100%;
    }

    .nova-cart-content table.shop_table_responsive tr.cart_item {
        position: relative;
        display: grid;
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 0 14px;
        margin-bottom: 12px;
        padding: 16px;
        border: 1px solid #e3e3de;
        border-radius: 16px;
        background: #fff;
    }

    .nova-cart-content table.shop_table_responsive tr.cart_item td {
        padding: 4px 0 !important;
        border: 0 !important;
        text-align: left !important;
    }

    .nova-cart-content table.shop_table_responsive tr.cart_item td::before {
        display: none !important;
    }

    .nova-cart-content .product-remove {
        position: absolute;
        top: 12px;
        right: 12px;
        z-index: 2;
        width: auto !important;
    }

    .nova-cart-content .product-thumbnail {
        grid-column: 1;
        grid-row: 1 / span 4;
        display: block !important;
        width: 76px !important;
    }

    .nova-cart-content .product-thumbnail::before {
        display: none !important;
    }

    .nova-cart-content .product-thumbnail img {
        width: 76px !important;
        height: 76px !important;
        border-radius: 12px;
    }

    .nova-cart-content .product-name,
    .nova-cart-content .product-price,
    .nova-cart-content .product-quantity,
    .nova-cart-content .product-subtotal {
        grid-column: 2;
        padding-right: 34px !important;
    }

    .nova-cart-content .product-price {
        color: #85857d;
        font-size: 11px;
    }

    .nova-cart-content .product-subtotal {
        margin-top: 3px;
        color: #171717;
        font-size: 13px;
    }

    .nova-cart-content td.actions {
        display: block !important;
        padding: 15px !important;
        border: 1px solid #e3e3de !important;
        border-radius: 16px;
        background: #fff;
    }

    .nova-cart-content .actions .coupon {
        display: grid;
        grid-template-columns: 1fr auto;
        width: 100%;
        margin-bottom: 10px;
    }

    .nova-cart-content .coupon #coupon_code {
        width: 100% !important;
    }

    .nova-cart-content td.actions > button[name="update_cart"] {
        width: 100%;
    }

    .nova-cart-content .cart_totals {
        padding: 20px;
        border-radius: 16px;
    }

    .nova-cart-reassurance {
        margin-top: 32px;
        border-radius: 14px;
    }
}
