.venta-cart {
    color: #777;
    font-size: 14px;
    line-height: 1.6;
}
.cart-banner {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 14px;
    padding: 20px 15px 60px;
    background:
        linear-gradient(#000b, #000b),
        url('catalog-banner.webp') center/cover;
    text-transform: uppercase;
    color: #bcbcbc;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
}
.cart-banner h1 {
    margin: 0;
    border-bottom: 2px solid #0169ad;
    color: #fff;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}
.cart-container {
    max-width: 1222px;
    padding: 0 15px;
    margin: 80px auto 50px;
}
.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 30px;
}
.cart-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 20px;
    border: 0;
    background: #0169ad;
    color: #fff;
    font:
        600 13px/1.2 Quicksand,
        Arial,
        Helvetica,
        sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 250ms;
}
.cart-button:hover {
    color: #fff;
    background: #5b8bad;
    text-decoration: none;
}
.cart-round {
    border-radius: 30px;
}
.cart-secondary {
    background: #f7f7f7;
    color: #333;
}
.cart-secondary:hover {
    background: #eee;
    color: #333;
}
.cart-button:disabled {
    opacity: 0.5;
    cursor: default;
}
.venta-cart :focus-visible,
.cart-add :focus-visible,
#venta-cart-drawer :focus-visible {
    outline: 3px solid #a54900;
    outline-offset: 3px;
}
.venta-cart input,
.cart-add input {
    min-height: 42px;
    padding: 8px 15px;
    border: 2px solid #e5e5e5;
    background: #fff;
    color: #555;
    font: inherit;
    border-radius: 0;
    max-width: 100%;
}
.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}
.cart-table th {
    padding: 12px 10px 16px;
    border-bottom: 2px solid #eee;
    color: #242424;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
}
.cart-table td {
    padding: 20px 10px;
    border-bottom: 1px solid #ddd;
    vertical-align: middle;
}
.cart-table .cart-remove {
    width: 40px;
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}
.cart-remove button,
.cart-drawer-item button,
.cart-text-button,
.cart-undo button {
    padding: 0;
    border: 0;
    color: #333;
    background: transparent;
    cursor: pointer;
}
.cart-remove button,
.cart-drawer-item button {
    width: 28px;
    min-height: 32px;
    font-size: 20px;
    font-weight: 300;
}
.cart-photo {
    display: block;
    width: 80px;
    min-height: 80px;
}
.cart-photo img {
    display: block;
    object-fit: contain;
    width: 80px;
    height: 80px;
}
.cart-table .cart-name {
    width: 40%;
    color: #333;
}
.cart-name a,
.cart-drawer-description a {
    color: #333;
}
.cart-name small,
.cart-drawer-description small {
    display: block;
}
.cart-unit,
.cart-line-total {
    white-space: nowrap;
}
.cart-line-total {
    color: #0169ad;
    font-weight: 600;
    text-align: right;
}
.cart-stepper {
    display: inline-flex;
    align-items: center;
}
.cart-stepper button {
    flex: 0 0 25px;
    height: 42px;
    padding: 0;
    border: 2px solid #e5e5e5;
    border-radius: 30px;
    background: #fff;
    color: #777;
    cursor: pointer;
}
.cart-stepper input {
    width: 30px;
    min-width: 30px;
    padding: 0;
    border-width: 0 0 2px;
    text-align: center;
    appearance: textfield;
}
.cart-stepper input::-webkit-inner-spin-button,
.cart-stepper input::-webkit-outer-spin-button {
    appearance: none;
}
.cart-stepper button:hover {
    background: #f7f7f7;
}
.cart-actions {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
    align-items: start;
}
.cart-coupon {
    display: flex;
    gap: 10px;
}
.cart-coupon input {
    width: 230px;
}
.cart-totals {
    align-self: start;
    border: 3px solid #eee;
    padding: 25px;
}
.cart-totals h2 {
    margin: 0 0 18px;
    color: #242424;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.4;
    text-transform: uppercase;
}
.cart-totals dl {
    margin: 0;
}
.cart-totals dl > div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
}
.cart-totals dt {
    color: #242424;
    font-weight: 600;
}
.cart-totals dd {
    margin: 0;
    text-align: right;
    overflow-wrap: anywhere;
}
.cart-totals dd p {
    margin: 6px 0 0;
}
.cart-totals .cart-grand-total {
    border-bottom: 0;
    padding-bottom: 0;
    align-items: baseline;
}
.cart-grand-total dd {
    color: #0169ad;
    font-size: 18px;
    font-weight: 600;
}
.cart-vat {
    margin: 0 0 15px;
    text-align: right;
    font-size: 11px;
}
.cart-vat strong {
    color: #0169ad;
}
.cart-totals > .cart-button {
    width: 100%;
}
.cart-empty {
    text-align: center;
}
.cart-empty > .vi {
    display: block;
    color: #eee;
    font-size: 140px;
    line-height: 1;
    margin-bottom: 20px;
}
.cart-empty > .vi::before,
#venta-cart-drawer .venta-empty-cart .vi::before {
    content: '\f147';
}
.cart-empty h2 {
    margin: 0 0 20px;
    color: #242424;
    font-size: 40px;
    font-weight: 600;
}
.cart-empty p {
    margin-bottom: 20px;
}
.cart-notice,
.cart-notices,
.cart-undo {
    background: #f3f7fa;
    padding: 12px 16px;
    margin: 0 0 20px;
    color: #333;
}
.cart-text-button,
.cart-undo button {
    color: #0169ad;
    text-decoration: underline;
}
.cart-add {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 15px;
    margin: 20px 0;
}
.cart-add label {
    display: grid;
    gap: 5px;
    margin: 0;
}
.cart-add input {
    width: 85px;
}
.purchase-stock {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0 0 20px;
    color: #333;
    font-weight: 600;
    line-height: 1.3;
}
.purchase-stock::before {
    content: '';
    width: 12px;
    height: 7px;
    border: solid #0169ad;
    border-width: 0 0 2px 2px;
    transform: translateY(-2px) rotate(-45deg);
}
.product-purchase {
    gap: 10px;
    margin: 0 0 20px;
}
.product-purchase .cart-stepper {
    display: grid;
    grid-template-columns: 25px 30px 25px;
    flex: 0 0 80px;
}
.product-purchase .cart-stepper > :is(button, input) {
    height: 42px;
}
.product-purchase .cart-stepper input {
    width: 30px;
    padding: 0;
    border-width: 2px 0;
    color: #767676;
}
.product-purchase .cart-stepper button {
    color: #767676;
}
.product-purchase .cart-button {
    font-family: var(--venta-font);
}
.cart-holding {
    min-height: 250px;
}
.cart-holding h2 {
    color: #242424;
}
.cart-delivery {
    margin: 24px 0;
    border-top: 1px solid #ddd;
    padding-top: 20px;
    color: #555;
}
.cart-delivery h3 {
    margin: 0 0 14px;
    color: #242424;
    font-size: 18px;
    font-weight: 600;
}
.cart-delivery label {
    display: block;
    margin-bottom: 5px;
    color: #333;
}
.cart-delivery-field {
    margin-bottom: 15px;
}
.cart-delivery input,
.cart-delivery select {
    width: 100%;
    min-width: 0;
}
.cart-delivery select {
    min-height: 42px;
    border: 2px solid #e5e5e5;
    background: #fff;
    color: #555;
    padding: 8px;
    font: inherit;
}
.cart-delivery fieldset {
    min-width: 0;
    border: 0;
    padding: 0;
    margin: 20px 0 0;
}
.cart-delivery legend {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}
.cart-delivery .errorlist {
    padding-left: 20px;
    color: #9b1c1c;
}
.cart-delivery-help {
    font-size: 13px;
}
.cart-delivery .cart-button {
    width: 100%;
}
.cart-lockers {
    margin-top: 20px;
}
.cart-lockers summary {
    cursor: pointer;
    color: #0169ad;
    font-weight: 600;
    padding: 8px 0;
}
.cart-locker-list {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}
.cart-locker-list li {
    padding: 12px 0;
    border-bottom: 1px solid #ddd;
    overflow-wrap: anywhere;
}
.cart-feedback {
    position: fixed;
    z-index: 10000;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 550px;
    padding: 15px 20px;
    border: 1px solid #ddd;
    background: #fff;
    color: #9b1c1c;
}
.cart-feedback[hidden] {
    display: none;
}
#venta-cart-drawer .venta-drawer-inner {
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
}
#venta-cart-drawer [data-cart-drawer-content] {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}
.cart-drawer-lines {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}
.cart-drawer-item {
    display: flex;
    gap: 10px;
    padding: 15px;
    border-bottom: 1px solid #eee;
    font-size: 11px;
    line-height: 1.4;
}
.cart-drawer-item .cart-photo,
.cart-drawer-item img {
    width: 70px;
    height: 70px;
    min-height: 70px;
}
.cart-drawer-description {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
}
.cart-drawer-description p {
    margin: 10px 0 0;
    color: #777;
}
.cart-drawer-description strong {
    color: #0169ad;
}
.cart-drawer-item button {
    font-size: 16px;
    width: 20px;
    min-height: 24px;
}
.cart-drawer-footer {
    padding: 15px;
    border-top: 1px solid #ddd;
}
.cart-drawer-footer p {
    display: flex;
    justify-content: space-between;
    margin: 0 0 15px;
}
.cart-drawer-footer p strong:last-child {
    color: #0169ad;
}
.cart-drawer-footer .cart-button {
    display: flex;
    width: 100%;
}
.cart-drawer-footer .cart-button + .cart-button {
    margin-top: 10px;
}
#venta-cart-drawer .venta-empty-cart {
    font-size: 11px;
    padding: 30px 15px;
}
#venta-cart-drawer .venta-empty-cart .vi {
    color: #eee;
    font-size: 85px;
    line-height: 1;
}
#venta-cart-drawer::backdrop {
    background: transparent;
}
#venta-cart-drawer .cart-button {
    color: #fff;
}
#venta-cart-drawer .cart-secondary {
    color: #333;
}
@media (max-width: 1100px) and (min-width: 768px) {
    .cart-layout {
        grid-template-columns: minmax(0, 1fr) 330px;
        gap: 20px;
    }
    .cart-actions {
        flex-wrap: wrap;
    }
    .cart-photo,
    .cart-photo img {
        width: 60px;
        height: 60px;
        min-height: 60px;
    }
    .cart-table td,
    .cart-table th {
        padding-left: 5px;
        padding-right: 5px;
    }
}
@media (max-width: 767px) {
    .venta-cart-drawer {
        width: 100%;
    }
    .cart-banner {
        padding: 15px 15px 16px;
        font-size: 24px;
    }
    .cart-banner > span {
        display: none;
    }
    .cart-banner h1 {
        border: 0;
    }
    .cart-container {
        margin-top: 80px;
    }
    .cart-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }
    .cart-table,
    .cart-table tbody {
        display: block;
    }
    .cart-table thead {
        display: none;
    }
    .cart-table tr {
        position: relative;
        display: grid;
        grid-template-columns: 100px minmax(0, 1fr);
        column-gap: 15px;
        padding: 0 0 15px;
        margin-bottom: 20px;
        border-bottom: 1px solid #ddd;
    }
    .cart-table td {
        display: block;
        padding: 0;
        border: 0;
    }
    .cart-table .cart-remove {
        position: absolute;
        top: -5px;
        right: -5px;
        width: 25px;
    }
    .cart-table .cart-image {
        grid-area: 1 / 1 / 5 / 2;
        align-self: start;
    }
    .cart-image .cart-photo,
    .cart-image img {
        width: 100px;
        height: 100px;
    }
    .cart-table .cart-name {
        grid-column: 2;
        width: auto;
        padding: 0 20px 5px 0;
    }
    .cart-table td[data-label] {
        grid-column: 2;
        display: flex;
        justify-content: space-between;
        gap: 10px;
        align-items: center;
        padding: 5px 0;
        min-height: 32px;
    }
    .cart-table td[data-label]::before {
        content: attr(data-label);
        color: #777;
        font-weight: 400;
    }
    .cart-table .cart-quantity {
        border-top: 1px dashed #ddd;
        border-bottom: 1px dashed #ddd;
        flex-wrap: wrap;
    }
    .cart-stepper button {
        height: 30px;
    }
    .cart-stepper input {
        min-height: 30px;
        height: 30px;
    }
    .cart-actions {
        flex-direction: column-reverse;
        align-items: stretch;
        margin-top: 30px;
        gap: 30px;
    }
    .cart-coupon {
        padding: 25px;
        border: 2px dashed #ddd;
        flex-direction: column;
    }
    .cart-coupon input {
        width: 100%;
    }
    .cart-totals dl > div {
        flex-wrap: wrap;
    }
    .cart-totals dl > div:not(.cart-grand-total) dd {
        text-align: left;
    }
    .cart-empty h2 {
        font-size: 28px;
    }
    .cart-empty > .vi {
        font-size: 100px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .cart-button {
        transition: none;
    }
}
