.cart-banner.inner-page-banner {
    min-height: 190px;
    padding: 20px 0;
    overflow: hidden;
}

.cart-banner .banner-content h1 {
    margin-bottom: 4px;
    font-size: 3.25rem;
}

.cart-banner .banner-content h1::after,
.cart-banner .breadcrumb-vec-btm,
.cart-banner .banner-img-bg {
    display: none;
}

.cart-banner .banner-content .breadcrumb {
    margin-bottom: 0;
}

.cart-banner .cart-banner__image {
    height: 150px;
    align-items: flex-end;
    justify-content: flex-end;
}

.cart-banner .cart-banner__image > img {
    width: auto;
    max-height: 150px;
    object-fit: contain;
}

.cart-list-heading {
    display: flex;
    margin-bottom: 22px;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.cart-eyebrow {
    display: block;
    margin-bottom: 4px;
    color: #78b82a;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cart-list-heading h2,
.cart-summary h2 {
    margin: 0;
    color: var(--title-color2);
    font-family: var(--font-dosis);
    font-size: 1.85rem;
    font-weight: 700;
}

.cart-item-count {
    padding: 7px 12px;
    border-radius: 999px;
    background: #f1f8e7;
    color: #5f921f;
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
}

.cart-section .table-wrapper {
    margin-bottom: 20px;
    overflow: visible;
}

.cart-section .cart-table,
.cart-section .cart-table tbody {
    display: block;
}

.cart-section .cart-table thead {
    display: none;
}

.cart-section .table-wrapper .cart-table tbody tr {
    display: grid;
    margin-bottom: 14px;
    padding: 16px;
    grid-template-columns: 38px 92px minmax(150px, 1fr) 126px 128px;
    grid-template-areas:
        "remove image product quantity subtotal"
        "remove image unit quantity subtotal";
    align-items: center;
    column-gap: 14px;
    border: 1px solid rgba(37, 64, 72, 0.1);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(37, 64, 72, 0.05);
}

.cart-section .table-wrapper .cart-table tbody tr td {
    display: block;
    width: auto;
    padding: 0;
    border: 0;
    text-align: left;
}

.cart-section .cart-table td:nth-child(1) { grid-area: remove; }
.cart-section .cart-table td:nth-child(2) { grid-area: image; }
.cart-section .cart-table td:nth-child(3) { grid-area: product; align-self: end; font-weight: 700; }
.cart-section .cart-table td:nth-child(4) { grid-area: unit; align-self: start; color: #738087; font-size: 0.82rem; }
.cart-section .cart-table td:nth-child(5) { grid-area: quantity; }
.cart-section .cart-table td:nth-child(6) { grid-area: subtotal; text-align: right; color: #69a81d; font-size: 1.05rem; font-weight: 800; }

.cart-section .cart-table td:nth-child(4)::before {
    content: "Precio unitario: ";
}

.cart-section .table-wrapper .cart-table tbody tr td:nth-child(2) img {
    width: 88px;
    height: 88px;
    padding: 6px;
    border-radius: 14px;
    background: #fafcf8;
    object-fit: contain;
}

.cart-section .delete-icon {
    cursor: pointer;
}

.cart-section .quantity {
    justify-content: center;
}

.cart-section .quantity-btn {
    display: grid;
    width: 34px;
    height: 34px;
    padding: 0;
    place-items: center;
    border: 1px solid #dfe6df;
    border-radius: 50%;
    background: #fff;
    color: var(--title-color2);
    transition: background-color 0.25s ease, color 0.25s ease;
}

.cart-section .quantity-btn:hover {
    border-color: #86c338;
    background: #86c338;
    color: #fff;
}

.cart-section .quantity-btn:disabled,
.cart-section .quantity-btn:disabled:hover {
    border-color: #e4e9e2;
    background: #f4f6f3;
    color: #b3bdb1;
    cursor: not-allowed;
}

.cart-stock-available {
    display: block;
    margin-top: 5px;
    color: #628f2a;
    font-size: .76rem;
    font-weight: 700;
}

.cart-section .quantity-input {
    width: 45px;
    height: 36px;
    margin: 0 5px;
    border: 1px solid #dfe6df;
    border-radius: 10px;
    text-align: center;
}

.cart-section .quantity-btn i { pointer-events: none; }

.cart-section .stock-status {
    display: inline-block;
    margin-top: 6px;
}

.cart-continue-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--title-color2);
    font-weight: 700;
}

.cart-summary {
    position: sticky;
    top: 24px;
    padding: 28px;
    border: 1px solid rgba(37, 64, 72, 0.1);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(37, 64, 72, 0.09);
}

.cart-summary__rows {
    margin: 22px 0;
}

.cart-summary__row {
    display: flex;
    padding: 12px 0;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid #edf0ed;
    color: #536168;
}

.cart-summary__shipping span:last-child {
    max-width: 145px;
    font-size: 0.78rem;
    text-align: right;
}

.cart-summary__total-row {
    padding-top: 18px;
    border-bottom: 0;
    color: var(--title-color2);
    font-size: 1.12rem;
    font-weight: 800;
}

.cart-summary__total-row strong {
    color: #69a81d;
    font-size: 1.35rem;
}

.cart-summary .coupon-area {
    margin-bottom: 20px;
    padding-top: 18px;
    border-top: 1px dashed #dce2dc;
}

.cart-summary .coupon-area .coupon-title {
    margin-bottom: 10px;
    font-size: 1rem;
}

.cart-summary .coupon-input input {
    height: 42px;
    padding: 8px 12px;
}

.cart-summary .coupon-input button {
    padding: 0 16px;
    font-size: 0.85rem;
}

.cart-summary .checkout-action {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cart-summary .checkout-action.is-disabled {
    pointer-events: none;
    opacity: 0.45;
}

.cart-summary__note {
    display: flex;
    margin: 14px 0 0;
    align-items: flex-start;
    gap: 7px;
    color: #78838a;
    font-size: 0.75rem;
    line-height: 1.4;
}

.cart-empty-state {
    display: none;
    padding: 54px 24px;
    border: 1px dashed #cfd9cc;
    border-radius: 22px;
    background: #fbfdf9;
    text-align: center;
}

.cart-empty-state__icon {
    display: grid;
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    place-items: center;
    border-radius: 50%;
    background: #edf7df;
    color: #78b82a;
    font-size: 1.7rem;
}

.cart-empty-state h3 { margin-bottom: 6px; }
.cart-empty-state p { margin: 0 auto 20px; color: #6f7c82; }
.cart-section.is-empty .cart-empty-state { display: block; }
.cart-section.is-empty .table-wrapper,
.cart-section.is-empty .cart-continue-link { display: none; }

@media (max-width: 991px) {
    .cart-banner.inner-page-banner { min-height: 170px; }
    .cart-summary { position: static; }
}

@media (max-width: 767px) {
    .cart-banner.inner-page-banner { min-height: 145px; padding: 18px 0; }
    .cart-banner .banner-content h1 { font-size: 2.45rem; }
    .cart-section { padding-top: 50px !important; }
    .cart-list-heading { align-items: start; }
    .cart-list-heading h2 { font-size: 1.5rem; }
    .cart-section .table-wrapper .cart-table tbody tr {
        grid-template-columns: 76px minmax(0, 1fr) 34px;
        grid-template-areas:
            "image product remove"
            "image unit remove"
            "quantity quantity subtotal";
        row-gap: 12px;
    }
    .cart-section .table-wrapper .cart-table tbody tr td::before { display: none; }
    .cart-section .table-wrapper .cart-table tbody tr td:nth-child(2) img { width: 72px; height: 72px; }
    .cart-section .cart-table td:nth-child(5) { justify-self: start; }
    .cart-summary { padding: 22px 18px; }
}
