/**
* Copyright © 2026 SIGESAD
* Todos los derechos reservados.
*
* Software protegido por derechos de autor.
* Uso sujeto a licencia.
*
* Prohibida la copia, distribución,
* modificación o reutilización del código
* sin autorización expresa de SIGESAD.

* Estilo CSS 100% MCBO
* Creado: 20-06-2026
* Ultima Modificación: 20-06-2026
* Usuario: Frank Blanco
* Email: soporte@sigesad.com 
*
*/

.cart-checkout{
    margin-top: 220px !important;
}
.btn-link{
    text-decoration: none;
}

.btn-eliminar-producto-canvas{
    padding-bottom:0px !important;
}

.btn-confimar, .btn-seguir-comprando{
    border-radius: 0px !important;
    text-align: center;
    justify-content: center;
}


/* ============================================
BOOTSTRAP 5 MINIMAL - Solo clases utilizadas
en resumen_carrito.php
============================================ */

/* Reset básico */
*, *::before, *::after {
    box-sizing: border-box;
}
body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
}
/* ============================================
OFFCANVAS
============================================ */
.offcanvas {
    position: fixed;
    bottom: 0;
    z-index: 1045;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    visibility: hidden;
    background-color: #fff;
    background-clip: padding-box;
    outline: 0;
    transition: transform 0.3s ease-in-out;
}
.offcanvas.show {
    transform: none;
    visibility: visible;
}
.offcanvas-end {
    top: 0;
    right: 0;
    width: 400px;
    max-width: 100%;
    height: 100vh;
    transform: translateX(100%);
    border-left: 1px solid rgba(0, 0, 0, 0.2);
}
.offcanvas.show.offcanvas-end {
    transform: none;
}
.offcanvas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
}
.offcanvas-title {
    margin-bottom: 0;
    line-height: 1.5;
}
.offcanvas-body {
    flex-grow: 1;
    padding: 1rem;
    overflow-y: auto;
}
.offcanvas-footer {
    padding: 1rem;
}
/* Backdrop para offcanvas */
.offcanvas-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    opacity: 0.5;
}
/* ============================================
BOTONES
============================================ */
.btn {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border-radius: 0.375rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.btn:hover {
    opacity: 0.85;
}
.btn:disabled {
    pointer-events: none;
    opacity: 0.65;
}
.btn-primary {
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
}
.btn-primary:hover {
    color: #fff;
    background-color: #0b5ed7;
    border-color: #0a58ca;
}
.btn-outline-secondary {
    color: #6c757d;
    border-color: #6c757d;
    background-color: transparent;
}
.btn-outline-secondary:hover {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}
.btn-outline-danger {
    color: #dc3545;
    border-color: #dc3545;
    background-color: transparent;
}
.btn-outline-danger:hover {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}
.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border-radius: 0.25rem;
}
.btn-close {
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: 0.25em 0.25em;
    color: #000;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    border: 0;
    border-radius: 0.375rem;
    opacity: 0.5;
    cursor: pointer;
}
.btn-close:hover {
    opacity: 0.75;
}
/* ============================================
GRID SYSTEM (Solo columnas usadas)
============================================ */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -0.75rem;
    margin-left: -0.75rem;
}
.row > * {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
}
.col-3 {
    flex: 0 0 auto;
    width: 25%;
}
.col-9 {
    flex: 0 0 auto;
    width: 75%;
}
/* ============================================
FLEXBOX UTILITIES
============================================ */
.d-flex {
    display: flex !important;
}
.d-grid {
    display: grid !important;
}
.flex-column {
    flex-direction: column !important;
}
.justify-content-between {
    justify-content: space-between !important;
}
.justify-content-center {
    justify-content: center !important;
}
.align-items-center {
    align-items: center !important;
}
.gap-2 {
    gap: 0.5rem !important;
}
/* ============================================
SPACING
============================================ */
.p-0 {
    padding: 0 !important;
}
.p-3 {
    padding: 1rem !important;
}
.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}
.pt-2 {
    padding-top: 0.5rem !important;
}
.mb-0 {
    margin-bottom: 0 !important;
}
.mb-1 {
    margin-bottom: 0.25rem !important;
}
.mb-2 {
    margin-bottom: 0.5rem !important;
}
.mb-3 {
    margin-bottom: 1rem !important;
}
.mt-2 {
    margin-top: 0.5rem !important;
}
/* ============================================
TEXT UTILITIES
============================================ */
.text-center {
    text-align: center !important;
}
.text-muted {
    color: #6c757d !important;
}
.text-primary {
    color: #0d6efd !important;
}
.small {
    font-size: 0.875em !important;
}
/* ============================================
HEADINGS
============================================ */
.h5, h5 {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 0.5rem;
}
.h6, h6 {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 0.5rem;
}
/* ============================================
BORDERS
============================================ */
.border-bottom {
    border-bottom: 1px solid #dee2e6 !important;
}
.border-top {
    border-top: 1px solid #dee2e6 !important;
}
/* ============================================
SPINNER
============================================ */
.spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: -0.125em;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border 0.75s linear infinite;
}
.spinner-border.text-primary {
    color: #0d6efd;
}
@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}
/* ============================================
VISUALLY HIDDEN
============================================ */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
/* ============================================
RESPONSIVE (Mobile-first)
============================================ */
@media (max-width: 575.98px) {
    .offcanvas-end {
        width: 100%;
    }
}

