/* ==========================================================================
   Adventure Camp — cart
   ========================================================================== */

body.woocommerce-cart,
body.ac-cart-body {
    background: #4a4038;
}

.cart-page__header {
    margin: 0 auto 48px;
}

.cart-page__eyebrow {
    margin: 0 0 14px;
    color: #e4002b;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.cart-page__title {
    margin: 0;
    color: #20201f;
    font-family: "Saira Condensed", sans-serif;
    font-size: clamp(42px, 5vw, 64px);
    font-weight: 800;
    line-height: 0.95;
    text-transform: uppercase;
}

.cart-page__content {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.cart-page .woocommerce-cart-form,
.cart-page .cart_totals,
.cart-page .cart-empty {
    padding: 30px;
    border: 1.5px solid #6e6153;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.cart-page .woocommerce-cart-form {
    margin-bottom: 28px;
}

.cart-page .woocommerce table.shop_table {
    margin: 0;
}

.cart-page .woocommerce table.shop_table th,
.cart-page .woocommerce table.shop_table td {
    padding: 16px 12px;
    vertical-align: middle;
}

.cart-page .woocommerce table.shop_table th:first-child,
.cart-page .woocommerce table.shop_table td:first-child {
    padding-left: 0;
}

.cart-page .woocommerce table.shop_table th:last-child,
.cart-page .woocommerce table.shop_table td:last-child {
    padding-right: 0;
}

.cart-page .product-thumbnail {
    width: 96px;
}

.cart-page .product-thumbnail img {
    display: block;
    width: 78px;
    height: 78px;
    border-radius: 6px;
    object-fit: cover;
}

.cart-page .product-name a {
    color: #20201f;
    font-family: "Saira Condensed", sans-serif;
    font-size: 19px;
    font-weight: 700;
    text-decoration: none;
}

.cart-page .product-remove a.remove {
    display: grid;
    width: 30px;
    height: 30px;
    border: 1px solid #d8d0c6;
    border-radius: 50%;
    color: #e4002b !important;
    font-size: 22px;
    line-height: 1;
    place-items: center;
}

.cart-page .product-remove a.remove:hover {
    border-color: #e4002b;
    background: #e4002b;
    color: #fff !important;
}

.cart-page .quantity .qty {
    width: 68px;
    min-height: 44px;
    border: 1px solid #b9aea1;
    border-radius: 6px;
    background: #fbf9f6;
    color: #20201f;
    font-size: 16px;
    text-align: center;
}

.cart-page .woocommerce-cart-form td.actions {
    display: none !important;
}

.cart-page .wc-proceed-to-checkout .checkout-button,
.cart-page .return-to-shop .button {
    min-height: 54px;
    padding: 14px 24px;
    border: 0;
    border-radius: 8px;
    background: #e4002b;
    color: #fff;
    font-family: "Saira Condensed", sans-serif;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 0.03em;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    box-shadow: 0 8px 22px rgba(228, 0, 43, 0.25);
}

.cart-page .wc-proceed-to-checkout .checkout-button:hover,
.cart-page .return-to-shop .button:hover {
    background: #c4001f;
    color: #fff;
}

.cart-page .woocommerce .wc-proceed-to-checkout a.checkout-button.button {
    background: #e4002b !important;
    color: #fff !important;
}

.cart-page .woocommerce .wc-proceed-to-checkout a.checkout-button.button:hover {
    background: #c4001f !important;
    color: #fff !important;
}

.cart-page .cart-collaterals::before,
.cart-page .cart-collaterals::after {
    display: none;
}

.cart-page .cart-collaterals .cart_totals {
    float: none;
    width: 100%;
    max-width: 440px;
    margin-left: auto;
}

.cart-page .cart_totals h2 {
    margin: 0 0 18px;
    color: #20201f;
    font-family: "Saira Condensed", sans-serif;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
}

.cart-page .wc-proceed-to-checkout {
    padding: 8px 0 0;
}

.cart-page .wc-proceed-to-checkout .checkout-button,
.cart-page .return-to-shop .button {
    display: block;
    width: 100%;
    margin: 0;
}

.cart-page .cart-empty {
    margin: 0;
    color: #20201f;
    font-size: 18px;
    text-align: center;
}

.cart-page .return-to-shop {
    width: 100%;
    max-width: 360px;
    margin: 24px auto 0;
}

@media (max-width: 820px) {
    .cart-page__header {
        margin-bottom: 36px;
    }

    .cart-page .woocommerce-cart-form,
    .cart-page .cart_totals,
    .cart-page .cart-empty {
        padding: 24px;
    }

    .cart-page .cart-collaterals .cart_totals {
        max-width: none;
    }
}

@media (max-width: 560px) {
    .cart-page .woocommerce-cart-form,
    .cart-page .cart_totals,
    .cart-page .cart-empty {
        padding: 20px 18px;
    }

    .cart-page .woocommerce table.shop_table_responsive tr td {
        padding: 12px 0;
    }

    .cart-page .woocommerce table.shop_table_responsive tr td.product-thumbnail {
        display: block;
        width: 100%;
    }

    .cart-page .product-thumbnail img {
        width: 96px;
        height: 96px;
        margin-left: auto;
    }
}
