.shopify-cleanslate ._1mqqPYZtCQtz5_i0b-po4l {
    justify-content: center;
}

/* Reducir el espacio negro sobrante y hacer la tabla dinámica */
.cart-section {
    padding: 24px 0 16px 0; /* Mucho menos padding arriba y abajo */
}

.yv-cart-content .between-heading {
    align-items: center;
    margin-bottom: 16px; /* Menos espacio inferior */
}

.yv-cart-content .between-heading h2 {
    margin: 0
}

.yv-cart-table {
    border: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    table-layout: auto;
}

.yv-cart-table td,
.yv-cart-table th {
    border: 0;
    vertical-align: middle;
    padding: 12px 10px; /* Menos padding para reducir espacio */
    word-break: break-word;
}

.yv-cart-table tbody.disabled,
.yv-cart-table tr.disabled {
    opacity: .6;
    pointer-events: none
}

.yv-cart-table th {
    width: auto;
    min-width: 80px;
    padding-left: 0;
    padding-right: 0
}

.cart-img {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: var(--productImageBorder);
    border-radius: var(--layoutRadius);
    overflow: hidden;
    background-color: var(--colorImageBg);
    min-width: 60px;
    max-width: 120px;
}
.yv-cart-table-main .cart-img img {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
}
.cart-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.cart-prd-details {
    max-width: 100vw;
    min-width: 120px;
    width: 100%;
}

.cart-prd-details .yv-product-title {
    margin-bottom: 6px
}

.yv-cart-product-details .yv-product-information,
.yv-cart-product-details p {
    margin-top: 0;
    margin-bottom: 4px;
}

.coupanName,
.yv-cart-product-details .yv-product-information .unit-price,
.yv-cart-product-details .yv-product-information .yv-prizebox {
    margin-top: 0
}

.cart-remove {
    width: 60px
}

.cart-remove .remove-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin-left: auto;
    cursor: pointer;
    color: var(--colorTextBody)
}

.cart-remove .remove-icon svg {
    width: 24px;
    fill: currentcolor
}

.cart-sidebar {
    max-width: 100%;
    margin-left: auto;
    position: sticky;
    top: 0;
}

.cart-quantity {
    position: relative
}

.cart-total-details {
    padding: 18px 16px; /* Menos padding */
    background-color: var(--primaryAlternateBg);
    border-radius: var(--layoutRadius);
    margin-bottom: 8px; /* Menos espacio inferior */
}

.cart-total-details h5 {
    margin: 0 0 18px;
}

.cart-total-details .seller-box-input {
    min-height: 80px;
    padding: 12px;
    background: #fff;
    color: #000;
    border: 1px solid #B1B1B1;
    border-radius: var(--layoutRadius);
    margin: 0 0 12px;
    resize: none;
    width: 100%
}

.cart-total-list .cart-total-item,
.cart-total-list li {
    color: var(--colorTextBody)
}

.cart-total-list li {
    font-weight: 500;
    margin: 0 0 8px
}
.cart-btn button {
	gap: 10px;
}
.cart-total-list li strong {
    margin-left: auto;
    font-family: var(--priceFontFamily);
}

.cart-total-list .cart-total-item {
    padding-top: 8px;
    border-top: 0 dashed #ccc;
    margin-bottom: 12px
}
.cart-section .cart-sidebar .cart-item-total {
	padding-top: 0;
}
.checkout-text {
    text-align: center;
    margin: 6px 0 0;
    opacity: .7
}

.yv-payment-methods {
    margin-top: 10px
}

.go-back {
    text-align: right;
    padding: 10px 0
}

.go-back a {
    position: relative;
    display: inline-block;
    padding-left: 10px;
    color: var(--colorTextBody);
}

.yv-shipping-estimations-box {
    margin-top: 20px;
    margin-bottom: 20px;
    position: relative;
}

.yv-shipping-estimations {
    padding: 16px 10px;
    border: 1px solid #ABABAB;
    border-radius: var(--layoutRadius);
}

.yv-shipping-estimations-box .section-heading:after {
    border-bottom: 1px solid var(--colorXXlightTextBody);
    padding-bottom: 10px;
    content: "";
    width: 100%;
    position: absolute;
    left: 0;
}

.shipping_estimates_wrepper {
    padding-top: 6px;
}

.yv-shipping-estimations-box .section-heading {
    margin-bottom: 12px
}

.yv-shipping-estimations select {
    background: url(https://cdn.shopify.com/s/files/1/0597/9668/5009/files/select-arrow-black.png?v=1649157281) 96% 50%/9px no-repeat transparent;
    padding-right: 24px
}

.yv-shipping-estimations .label {
    font-weight: 700
}

.yv-shipping-estimations .error-text,
.yv-shipping-estimations .success-text {
    padding: 5px 10px;
    text-transform: capitalize;
    margin: 0
}

.yv-shipping-estimations .error-text {
    background-color: #ffe7e7
}

.yv-shipping-estimations .success-text span:first-child {
    margin-right: 12px
}

.continue-shopping {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px /* Mucho menos alto para evitar espacio negro */
}

.continue-shopping h4 {
    margin: 0 0 10px
}

.dynamic-checkout__content ul {
    list-style-type: none
}

.dynamic-checkout__content ul li {
    width: 100%;
    border-radius: 0;
    flex-basis: 1!important
}

.discounts {
    margin-top: 2px
}

.discounts i {
    font-size: 10px
}

#cartUpdate,
.cart-btn button {
    margin-bottom: 6px
}

.cart-item-error.error-text {
    position: absolute;
    width: 100%;
    left: 0
}

div#dynamic-checkout-cart [role="button"] {
    border-radius: var(--buttonRadius) !important;
    width: 100% !important;
}

.cart__dynamic-checkout-buttons {
    margin-bottom: 10px;
}
/*  */
.yv-cart-table thead {
	background: transparent;
    border-bottom: none;
    display: none;
}

.yv-cart-table thead tr th {
	padding: 12px 10px;
    vertical-align: middle;
}
.yv-cart-table thead tr th:last-child {
	text-align: end;
}
.cart-total-details-title:after {
	padding-bottom: 12px;
	content: "";
	border-bottom: 1px solid var(--colorXXlightTextBody);
	display: block;
	width: 100%;
	position: absolute;
	left: 0;
}
.cart-note {
	margin: 16px 0px 8px;
	display: flex;
	align-items: center;
	gap: 8px;
}
.cart-total-list {
	display: grid;
	grid-template-columns: 1fr;
}

.cart-total-list .checkout-text.text-medium {
	text-align: right;
}
.continue-shopping-btn {
	display: flex;
	align-items: center;
	justify-content: flex-end;
    margin-top: -12px;
	margin-bottom: 2px;
}

.continue-shopping-btn .btn {
	border: 1px solid currentColor;
	padding: 10px 10px;
	border-radius: 100px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 200px;
}

.continue-shopping-icon {
	margin-left: 20px;
	border: 1px solid currentColor;
	border-radius: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
}

.continue-shopping-icon svg {
	width: 14px;
	height: 14px;
}

@media screen and (min-width:1025px) {
    .go-back a:hover,
    .go-back a:hover:before {
        color: var(--theme-color);
        border-color: var(--theme-color)
    }
}

@media screen and (max-width:1440px) {
    .cart-sidebar {
        max-width: 100%
    }
    .yv-cart-table td,
    .yv-cart-table th {
        padding: 12px 8px
    }
    .yv-cart-table th {
        width: auto;
        padding-left: 0
    }
    .cart-prd-details {
        max-width: 100vw;
        vertical-align: top
    }
    .cart-total-details {
        padding: 12px
    }
    .yv-shipping-estimations {
        padding: 12px;
    }
}

@media screen and (max-width:1199px) {
    .cart-prd-details {
        max-width: 100vw
    }
    .discounts {
        margin-top: 4px
    }
    .coupanName {
        margin-top: 0
    }
    .cart-remove {
        width: 40px
    }
    .yv-cart-table td,
    .yv-cart-table th {
        padding: 8px 4px
    }
    .cart-quantity .quantity input {
        padding: 2px 10px
    }
    .cart-total-details .seller-box-input {
        min-height: 60px;
    }
    .cart-total-list .cart-total-item {
        padding-top: 8px;
        margin-bottom: 8px
    }
    .yv-payment-methods {
        margin-top: 6px
    }
    .yv-payment-methods svg {
        width: 20px
    }
}

@media screen and (max-width:991px) {
    .cart-sidebar {
        max-width: 100%;
        margin-top: 16px
    }
}

@media screen and (max-width:575px) {
    .yv-cart-table tr {
        position: relative;
        display: table;
        width: 100%
    }
    .yv-cart-table td,
    .yv-cart-table th {
        padding: 6px 4px 0
    }
    .yv-cart-table tr td:nth-child(2),
    .yv-cart-table tr th {
        padding-top: 10px
    }
    .yv-cart-table tr th {
        padding-right: 2px;
        padding-bottom: 10px
    }
    .yv-cart-table td {
        display: block;
        width: 100%;
        vertical-align: top
    }
    .cart-prd-details {
        max-width: 100vw
    }
    .cart-remove .remove-icon {
        position: absolute;
        top: 8px;
        right: 0
    }
    .yv-shipping-estimations-box {
        margin-top: 10px;
    }
    .yv-shipping-estimations {
        padding: 6px;
    }
    .yv-shipping-estimations .form-control {
        background-position: 97% 50%
    }
    .cart-section {
        padding: 8px 0
    }
    .cart-section .yv-cart-content .section-heading {
        border-bottom: 1px solid #ddd;
        padding: 0 8px 8px;
        margin: 0 -8px 6px
    }
    .yv-cart-table th {
        vertical-align: top;
    }
    .cart-total-list {
        grid-template-columns: 1fr;
    }
    .cart-total-list .checkout-text.text-medium {
        text-align: left;
        margin: 0;
    }
    .total {
        display: none;
    }
    
    .yv-cart-table thead tr th {
		padding: 6px;
		font-size: 12px;
    }
    .yv-cart-table-main {
        padding: 0px 4px;
    }
    .continue-shopping-btn {
        justify-content: center;
        margin-top: -8px;
    }
}

.yv-cart-content-box .free_shipping {
    background: var(--primaryAlternateBg);
    padding: 8px 10px;
    border-radius: 8px;
    margin-bottom: 6px;
}

.yv-cart-content-box .progress {
    height: 5px;
    margin-bottom: 6px;
    overflow: hidden;
    background-color: #e1dfdf;
    border-radius: 20px;
}

.yv-cart-content-box .free_shipping p {
    margin: 2px 0 4px;
}