/* Aside base */
aside .list-group p,
aside .list-group textarea {
    font-size: 0.8rem !important;
    margin-bottom: 0;
}

aside .list-group select,
aside .list-group .info_pago,
#div_total,
aside .list-group textarea {
    background-color: #0069ff1a !important;
    font-size: 0.8rem !important;
}

aside #resumen {
    position: sticky;
    top: 80px;
}

/* Responsive background para aside */
aside.aside-bg-mobile {
    background-color: white;
}

@media (min-width: 768px) {
    aside.aside-bg-mobile {
        background-color: transparent;
    }
}



/* Section labels in aside */
.section-label {
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    font-weight: 700;
    color: #2b3445;
}

/* Group header for contado/credito */
.grupo-cuotas {
    margin-bottom: 1.5rem !important;
}

.grupo-cuotas-header {
    font-size: .9rem;
    text-transform: capitalize;
    letter-spacing: .03em;
    font-weight: 600;
    color: #2b3445;
    padding: 0.75rem 0.85rem;
    margin-bottom: 0;
    border-bottom: 2px solid #f0f2f5;
    background-color: #f4f4f4;
    border-radius: 5px 5px 0 0;
}

/* Item card */
.item-carrito {
    padding: .85rem 0;
    border-bottom: 1px solid #f0f2f5;
}

.item-carrito:last-child {
    border-bottom: none;
}

.item-img-wrap img {
    width: 250px !important;
    height: 250px !important;
    max-width: 300px !important;
    object-fit: contain;
    border-radius: 8px;
    padding: 4px;
}

.product-title a {
    color: #212529;
    text-decoration: none;
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.3;
}

.product-title a:hover {
    color: #0069ff;
}

/* Price row */
.item-carrito .d-flex.flex-wrap .col-6 {
    flex-basis: auto;
    max-width: calc(50% - .5rem);
    margin-bottom: .5rem;
}

.item-carrito .d-flex.flex-wrap .col-6 {
    margin-right: 1rem;
}

.item-carrito .d-flex.flex-wrap .col-6:nth-child(2n) {
    margin-right: 0;
}

.item-price-row {
    gap: 0;
}

.label-muted {
    font-size: .66rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: .03em;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: .3rem;
}

.price-val {
    font-size: .88rem;
    font-weight: 700;
    color: #212529;
    line-height: 1.2;
}

.subtotal-val {
    font-size: .88rem;
    font-weight: 700;
    color: #f18500;
    line-height: 1.2;
}

.gs-label {
    font-size: .66rem;
    color: #999;
    font-weight: 500;
    margin-left: 2px;
}

.delete-col {
    align-self: flex-end;
    padding-bottom: 0;
    padding-left: .5rem;
    margin-top: auto;
}

.delete-btn {
    cursor: pointer;
    opacity: .6;
    transition: opacity .15s, color .15s;
    display: inline-block;
    font-size: 1.1rem;
}

.delete-btn:hover {
    opacity: 1;
    color: #dc3545 !important;
}

/* Quantity stepper */
.qty-stepper {
    border: 1px solid #dee2e6;
    border-radius: 6px;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
}

.btn-qty {
    background: #f8f9fa;
    border: none;
    width: 28px;
    height: 28px;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    transition: background .15s;
    color: #495057;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn-qty:hover:not(:disabled) {
    background: #e9ecef;
}

.btn-qty:disabled {
    color: #ced4da;
    cursor: default;
}

.qty-val {
    width: 34px;
    text-align: center;
    border: none;
    border-left: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    font-size: .85rem;
    background: #fff;
    padding: 0;
    height: 28px;
}

/* Total section */
.total-amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f18500;
    line-height: 1.2;
}

/* Checkout button */
.btn-checkout-main {
    border-radius: 8px !important;
    font-size: .95rem;
    padding: .7rem 1rem;
    font-weight: 600;
}