/* =============================================
   CHECKOUT — resumen de pago (columna lateral)
   Ruta FTP: /static/css/custom.css
   ============================================= */

#secondary-column .summary,
#secondary-column .summary-details {
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

#secondary-column .summary-details.panel {
    padding: 20px !important;
    box-shadow: none !important;
}

#secondary-column .summary-img-thumb {
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #eee;
}

#secondary-column .table-product-name {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    color: #111;
    padding-right: 8px !important;
}

#secondary-column .table-price-discount-tag {
    display: inline-block;
    background: #111;
    color: #fff !important;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 2px 6px;
    border-radius: 3px;
    margin-right: 4px;
}

#secondary-column .table-price-compare span {
    color: #999;
    text-decoration: line-through;
    font-size: 12px;
}

#secondary-column .table-price > span:last-child,
#secondary-column td.table-price > span:not(.table-price-discount-tag) {
    font-weight: 700;
    color: #111;
}

#secondary-column .table-subtotal {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #ececec;
}

#secondary-column .table-subtotal table {
    margin-bottom: 0 !important;
}

#secondary-column .table-subtotal [data-testid="cart-subtotal"] td {
    font-size: 14px;
    color: #666;
    padding: 6px 0 !important;
    border: 0 !important;
}

#secondary-column .table-subtotal [data-testid="cart-subtotal"] .text-right {
    font-weight: 500;
    color: #333;
}

#secondary-column .table-footer tr td,
#secondary-column .table-footer .table-price {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #c4161c !important;
    padding: 14px 0 6px !important;
    border: 0 !important;
    letter-spacing: -0.01em;
}

#secondary-column .table-footer .text-right,
#secondary-column .table-footer [test-id="cart-total-price"],
#secondary-column .table-footer [data-testid="cart-total-price"] {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #c4161c !important;
}

#secondary-column .summary-coupon {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #ececec;
}

#secondary-column .summary-coupon .btn-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px 12px;
    border: 1px dashed #bbb;
    border-radius: 6px;
    color: #111 !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    background: #fafafa;
    transition: background 0.2s ease, border-color 0.2s ease;
}

#secondary-column .summary-coupon .btn-link:hover {
    background: #f0f0f0;
    border-color: #111;
}

#secondary-column .summary-coupon .coupon-icon {
    fill: #111;
}
