/* Exclusivo del contenido del carrito clásico. No afecta al mini-carrito ni al checkout. */
.wsupportstore-cart-page #main {
    --theme-text-color: #526174;
    --theme-heading-color: #14263a;
    --theme-link-initial-color: #2563eb;
    --theme-link-hover-color: #1d4ed8;
    --theme-button-background-initial-color: #2563eb;
    --theme-button-background-hover-color: #1d4ed8;
    --theme-button-text-initial-color: #fff;
    --theme-button-text-hover-color: #fff;
    --theme-button-border-radius: 10px;
    --theme-button-min-height: 46px;
    --theme-form-field-border-radius: 10px;
    background: #f5f7fa;
    color: #14263a;
}

.wsupportstore-cart-page #main .hero-section {
    padding-block: 30px 24px;
    margin-bottom: 0;
    text-align: start;
}

.wsupportstore-cart-page #main .page-title,
.wsupportstore-cart-page #main .wsupportstore-cart-intro h1 {
    margin: 0 0 10px;
    color: #14263a;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.25;
}

.wsupportstore-cart-page #main .wsupportstore-cart-intro p {
    margin: 0;
    color: #526174;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
}

.wsupportstore-cart-page #main .woocommerce > .wsupportstore-cart-intro {
    margin-bottom: 28px;
}

.wsupportstore-cart-page #main .ct-woocommerce-cart-form {
    grid-template-columns: minmax(0, 1.8fr) minmax(290px, 1fr);
    align-items: start;
    gap: 28px;
    margin-bottom: 40px;
}

.wsupportstore-cart-page #main .woocommerce-cart-form,
.wsupportstore-cart-page #main .cart_totals {
    box-sizing: border-box;
    min-width: 0;
    padding: 24px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 26px rgb(20 38 58 / 4%);
}

.wsupportstore-cart-page #main .woocommerce-cart-form .shop_table {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: collapse;
}

.wsupportstore-cart-page #main .woocommerce-cart-form .shop_table thead th {
    padding: 0 10px 18px;
    border-bottom: 1px solid #dce4ed;
    color: #60738d;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.wsupportstore-cart-page #main .woocommerce-cart-form .shop_table tbody td {
    padding: 22px 10px;
    border-bottom: 1px solid #e5eaf0;
    vertical-align: middle;
}

.wsupportstore-cart-page #main .woocommerce-cart-form .product-thumbnail {
    width: 86px;
}

.wsupportstore-cart-page #main .woocommerce-cart-form .product-thumbnail .ct-media-container,
.wsupportstore-cart-page #main .woocommerce-cart-form .product-thumbnail img {
    border-radius: 12px;
    background: #f5f7fa;
}

.wsupportstore-cart-page #main .woocommerce-cart-form .product-thumbnail img {
    object-fit: contain;
}

.wsupportstore-cart-page #main .woocommerce-cart-form .product-name {
    color: #14263a;
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.wsupportstore-cart-page #main .woocommerce-cart-form .product-name > a {
    color: #14263a;
    font-weight: 600;
}

.wsupportstore-cart-page #main .woocommerce-cart-form .product-name .price {
    color: #526174;
    font-size: 14px;
}

.wsupportstore-cart-page #main .woocommerce-cart-form .product-subtotal {
    color: #14263a;
    font-size: 14px;
    font-weight: 600;
}

.wsupportstore-cart-page #main .woocommerce-cart-form .quantity {
    --quantity-height: 44px;
    --quantity-width: 100px;
    border-radius: 10px;
}

.wsupportstore-cart-page #main .woocommerce-cart-form .remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    padding: 0;
    border-radius: 10px;
    color: #60738d;
}

.wsupportstore-cart-page #main .woocommerce-cart-form tr > .product-remove {
    width: 44px;
}

.wsupportstore-cart-page #main .woocommerce-cart-form .remove:hover {
    background: #fff0ee;
    color: #b42318;
}

.wsupportstore-cart-page #main .woocommerce-cart-form .shop_table .actions {
    padding: 24px 0 0;
    border-bottom: 0;
}

.wsupportstore-cart-page #main .woocommerce-cart-form .coupon {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.wsupportstore-cart-page #main .woocommerce-cart-form .coupon input {
    box-sizing: border-box;
    width: 190px;
    max-width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid #ccd7e4;
    border-radius: 10px;
    background: #fff;
    color: #14263a;
}

.wsupportstore-cart-page #main .woocommerce-cart-form .actions .button,
.wsupportstore-cart-page #main .cart_totals .checkout-button,
.wsupportstore-cart-page #main .shipping-calculator-form button,
.wsupportstore-cart-page #main .return-to-shop .button {
    box-sizing: border-box;
    min-height: 46px;
    padding: 12px 18px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: #2563eb;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    white-space: normal;
}

.wsupportstore-cart-page #main .woocommerce-cart-form .actions .button:not(:disabled):hover,
.wsupportstore-cart-page #main .cart_totals .checkout-button:hover,
.wsupportstore-cart-page #main .return-to-shop .button:hover {
    background: #1d4ed8;
    color: #fff;
}

.wsupportstore-cart-page #main .woocommerce-cart-form button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.wsupportstore-cart-page #main .cart_totals > h2 {
    margin: 0 0 24px;
    color: #14263a;
    font-size: 20px;
    line-height: 1.35;
}

.wsupportstore-cart-page #main .cart_totals .shop_table {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: collapse;
}

.wsupportstore-cart-page #main .cart_totals .shop_table th,
.wsupportstore-cart-page #main .cart_totals .shop_table td {
    padding: 18px 0;
    border-bottom: 1px solid #e5eaf0;
    color: #33465e;
    font-size: 14px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.wsupportstore-cart-page #main .cart_totals .ct-shipping-heading {
    margin-bottom: 14px;
    color: #14263a;
    font-weight: 600;
}

.wsupportstore-cart-page #main .cart_totals .order-total th,
.wsupportstore-cart-page #main .cart_totals .order-total td {
    padding-block: 24px;
    border-bottom: 0;
    color: #14263a;
    font-size: 19px;
    font-weight: 700;
}

.wsupportstore-cart-page #main .cart_totals .order-total td strong {
    color: #2563eb;
}

.wsupportstore-cart-page #main .cart_totals .wc-proceed-to-checkout {
    margin-top: 16px;
}

.wsupportstore-cart-page #main .cart_totals .checkout-button {
    display: block;
    width: 100%;
    min-height: 50px;
    padding-block: 14px;
    text-decoration: none;
}

.wsupportstore-cart-page #main .shipping-calculator-form input,
.wsupportstore-cart-page #main .shipping-calculator-form select {
    box-sizing: border-box;
    max-width: 100%;
    min-height: 44px;
    border: 1px solid #ccd7e4;
    border-radius: 10px;
    background: #fff;
    color: #14263a;
}

.wsupportstore-cart-page #main .cart-empty {
    border-radius: 12px;
}

.wsupportstore-cart-page #main a:focus-visible,
.wsupportstore-cart-page #main button:focus-visible,
.wsupportstore-cart-page #main input:focus-visible,
.wsupportstore-cart-page #main select:focus-visible {
    outline: 3px solid #2563eb;
    outline-offset: 3px;
}

@media (max-width: 999px) {
    .wsupportstore-cart-page #main .ct-woocommerce-cart-form {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .wsupportstore-cart-page #main .cart_totals {
        position: static;
    }
}

@media (max-width: 540px) {
    .wsupportstore-cart-page #main .woocommerce-cart-form,
    .wsupportstore-cart-page #main .cart_totals {
        padding: 18px;
        border-radius: 14px;
    }

    .wsupportstore-cart-page #main .woocommerce-cart-form .shop_table tbody td {
        padding: 18px 6px;
    }

    .wsupportstore-cart-page #main .woocommerce-cart-form .product-thumbnail {
        width: 72px;
    }

    .wsupportstore-cart-page #main .woocommerce-cart-form .product-mobile-actions {
        flex-wrap: wrap;
        gap: 8px;
    }

    .wsupportstore-cart-page #main .woocommerce-cart-form .coupon input,
    .wsupportstore-cart-page #main .woocommerce-cart-form .coupon .button {
        width: 100%;
    }

    .wsupportstore-cart-page #main .woocommerce-cart-form button[name="update_cart"] {
        width: 100%;
        margin-top: 12px;
    }
}
