/* ========================================================= */
/*                 ESTILOS MEJORADOS TIENDA                  */
/* ========================================================= */

/* Header de la tienda */
.header-tienda {
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    border: 1px solid #333;
}

.logo-tienda {
    color: #fff;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
    font-size: 2.2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Menú de categorías */
.menu-categorias {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 25px;
}

.categoria-btn {
    background: #333;
    color: #fff;
    border: 2px solid #444;
    padding: 12px 24px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 14px;
}

.categoria-btn:hover {
    background: #444;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.categoria-btn.activo {
    background: #e10600;
    border-color: #e10600;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(225, 6, 0, 0.4);
}

/* Buscador */
.buscador-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.buscador-container input {
    width: 100%;
    padding: 14px 50px 14px 20px;
    border-radius: 30px;
    border: 2px solid #ddd;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fff;
}

.buscador-container input:focus {
    border-color: #e10600;
    box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.1);
    outline: none;
}

.buscador-container i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
    font-size: 18px;
}

/* Título principal */
.titulo-tienda {
    text-align: center;
    margin: 40px 0 30px;
    color: #333;
    font-weight: 800;
    position: relative;
    font-size: 2.5rem;
}

.titulo-tienda:after {
    content: '';
    display: block;
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, #e10600, #ff4444);
    margin: 20px auto;
    border-radius: 3px;
}

/* Grid de productos */
.grid-productos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* Variables de colores */
:root {
    --stock-bajo: #e10600;
    --stock-medio: #ff9800;
    --stock-alto: #28a745;
}

/* Tarjetas de producto */
.producto {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    border: 1px solid #f0f0f0;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

/* Hover efectos */
.producto:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Imagen de producto */
.producto-img {
    aspect-ratio: 1 / 1; /* Mantiene proporción cuadrada */
    max-height: 280px; /* Aumenta la altura para resaltar más la imagen */
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.producto-img img {
    max-width: 90%; /* Imagen más grande */
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.3s ease-in-out;
}

.producto:hover .producto-img img {
    transform: scale(1.08);
}

/* Información del producto */
.producto-info {
    padding: 10px 15px; /* reduce padding general */
}

.producto h3 {
    font-size: 1.3rem;
    margin: 0 0 4px 0; /* margen inferior más pequeño */
    color: #333;
    font-weight: 700;
    line-height: 1.2; /* reduce el espacio entre líneas */
    white-space: normal; /* permite varias líneas */
    overflow: hidden;
    text-overflow: ellipsis;
}

.producto .marca {
    color: #e10600;
    font-weight: 600;
    margin-bottom: 4px; /* menos espacio */
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px; /* más compacto */
}

.producto .descripcion {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.producto .precio {
    font-size: 1.8rem;
    font-weight: 800;
    color: #2c5530;
    margin-bottom: 8px;
}

.producto .stock {
    font-size: 13px;
    margin-bottom: 12px; /* Reduce margen inferior */
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.stock.bajo {
    color: var(--stock-bajo);
}

.stock.medio {
    color: var(--stock-medio);
}

.stock.alto {
    color: var(--stock-alto);
}

/* Responsive */
@media (max-width: 768px) {
    .producto {
        max-width: 90%;
    }
}


/* =================================================== */
/*   REFRIGERANTES - IMAGEN MÁS GRANDE DENTRO DEL BOX */
/*   (MISMO ESTILO QUE RADIADORES)                    */
/* =================================================== */

/* EL CONTENEDOR MANTIENE EL MISMO TAMAÑO */
.producto[data-tipo="REFRIGERANTE"] .producto-img {
    max-height: 280px; /* IGUAL que radiadores */
}

/* LA IMAGEN OCUPA MÁS ESPACIO DENTRO */
.producto[data-tipo="REFRIGERANTE"] .producto-img img {
    max-width: 100% !important;   /* Antes 90% */
    max-height: 100% !important;  /* Antes 90% */
    transform: scale(1.8.1.8);        /* 10% más grande */
    object-fit: contain;
}



/* BOTÓN PRINCIPAL CORREGIDO */
.btn-comprar {
    display: flex; /* Ya tienes display: block y display: flex - ELIMINA display: block */
    width: 100%;
    background: linear-gradient(135deg, #e10600, #ff4444);
    color: white;
    text-align: center;
    padding: 12px 10px; /* Reducido para mejor ajuste */
    border-radius: 8px;
    font-weight: 600; /* Reducido de 700 */
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 13px; /* Reducido de 15px */
    text-transform: uppercase;
    letter-spacing: 0.3px; /* Reducido de 0.5px */
    position: relative;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    gap: 6px; /* Reducido de 8px */
    box-shadow: 0 4px 12px rgba(225, 6, 0, 0.3);
    min-height: 44px; /* Agregado para consistencia */
}

.btn-comprar:hover {
    background: linear-gradient(135deg, #c10500, #e10600);
    transform: translateY(-2px); /* Reducido de -3px */
    box-shadow: 0 6px 16px rgba(225, 6, 0, 0.4); /* Reducido */
}

.btn-comprar:active {
    transform: translateY(0); /* Cambiado de -1px */
}

.btn-comprar:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    opacity: 0.7;
}

/* Estado cuando está en el carrito */
.btn-comprar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    max-width: 100%;
    padding: 12px 20px;
    font-size: 13px; /* tamaño de fuente consistente */
    line-height: 1.2; /* línea fija para que no se agrande */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

/* En carrito */
.btn-comprar.en-carrito {
    background: linear-gradient(135deg, #28a745, #20c997);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

/* Hover en carrito */
.btn-comprar.en-carrito:hover {
    background: linear-gradient(135deg, #218838, #1e9e8a);
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.4);
    transform: translateY(-2px) scale(1.02);
}

/* Estado agregado */
.btn-comprar.agregado {
    background: linear-gradient(135deg, #28a745, #20c997);
    animation: none; /* desactivar animación que puede agrandar texto */
    font-size: 13px; /* asegura consistencia */
}

/* Estado cargando */
.btn-comprar.cargando {
    animation: pulse 1s infinite ease-in-out;
    opacity: 0.7;
    cursor: not-allowed;
    font-size: 13px; /* tamaño fijo */
}

/* Estado error */
.btn-comprar.error {
    background: linear-gradient(135deg, #dc3545, #c82333);
    animation: shake 0.5s ease-in-out;
    font-size: 13px; /* tamaño fijo */
}


/* Estados de carga y feedback - CORREGIDOS */
.btn-comprar.cargando {
    animation: pulse 0.6s ease-in-out;
    opacity: 0.8;
    cursor: not-allowed;
}

.btn-comprar.agregado {
    background: linear-gradient(135deg, #28a745, #20c997);
    animation: bounce 0.5s ease-in-out;
}

.btn-comprar.error {
    background: linear-gradient(135deg, #dc3545, #c82333);
    animation: shake 0.5s ease-in-out;
}

/* BOTÓN DETALLES - AGREGAR ESTO */
.btn-detalles {
    display: flex;
    width: 100%;
    background: linear-gradient(135deg, #6c757d, #5a6268);
    color: white;
    text-align: center;
    padding: 12px 10px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
    min-height: 44px;
}

.btn-detalles:hover {
    background: linear-gradient(135deg, #5a6268, #495057);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(108, 117, 125, 0.4);
}

.btn-detalles:active {
    transform: translateY(0);
}

/* BOTÓN DETALLE CORREGIDO */
.btn-comprar-detalle {
    background: linear-gradient(135deg, #e10600, #ff4444);
    color: white;
    border: none;
    padding: 12px 20px; /* Reducido de 15px 30px */
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600; /* Reducido de 700 */
    font-size: 14px; /* Reducido de 1.1em */
    transition: all 0.3s ease;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    min-height: 44px;
}

.btn-comprar-detalle:hover:not(:disabled) {
    background: linear-gradient(135deg, #c10500, #e10600);
    transform: translateY(-2px);
}

.btn-comprar-detalle.en-carrito {
    background: linear-gradient(135deg, #28a745, #20c997);
}

/* ANIMACIONES FALTANTES - AGREGAR */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

@keyframes bounce {
    0%, 20%, 60%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
    80% { transform: translateY(-2px); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}
/* Badge para mostrar cantidad en el botón */
.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ffc107;
    color: #212529;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Loading spinner */
.btn-loading {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Animaciones */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes bounce {
    0%, 20%, 60%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    80% { transform: translateY(-4px); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Efecto de shake para errores */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.btn-comprar.shake {
    animation: shake 0.5s ease-in-out;
}
/* Etiquetas */
.etiqueta-oferta {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #e10600, #ff6b6b);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 3px 10px rgba(225, 6, 0, 0.3);
}

/* Filtros avanzados */
.filtros-avanzados {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 35px;
    border: 1px solid #e0e0e0;
}

.filtros-avanzados h3 {
    margin-bottom: 20px;
    font-size: 1.4rem;
    color: #333;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.filtros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.filtro-grupo label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
    font-size: 14px;
}

.filtro-grupo select, .filtro-grupo input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fff;
}

.filtro-grupo select:focus, .filtro-grupo input:focus {
    border-color: #e10600;
    box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.1);
    outline: none;
}

/* Contador de productos */
.contador-productos {
    text-align: center;
    margin: 25px 0;
    color: #666;
    font-size: 16px;
    font-weight: 500;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

/* Sin resultados */
.sin-resultados {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 40px;
    color: #666;
    background: #f8f9fa;
    border-radius: 15px;
    border: 2px dashed #ddd;
}

.sin-resultados i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
}

.sin-resultados h3 {
    color: #666;
    margin-bottom: 15px;
    font-weight: 600;
}

/* ========================================================= */
/*                    ESTILOS DEL CARRITO                    */
/* ========================================================= */

/* Badge del carrito en el header */
.carrito-badge {
    background: #e10600;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
    font-weight: bold;
    margin-left: 5px;
    display: none;
}

/* Modal del carrito */
.modal-carrito-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.modal-carrito {
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: slideUp 0.3s ease;
}

.modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #1a1a1a, #333);
    color: white;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-cerrar {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.btn-cerrar:hover {
    background: rgba(255,255,255,0.1);
}

.modal-body {
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
}
/* ===============================
   Item de carrito
   =============================== */
.item-carrito {
    display: flex;
    align-items: center;
    padding: 12px 15px; /* Más compacto */
    border-bottom: 1px solid #f0f0f0;
    gap: 12px; /* Ajuste de espacio */
    transition: background 0.3s ease, transform 0.2s ease;
    border-radius: 8px; /* Leve redondeo */
}

.item-carrito:hover {
    background: #f8f9fa;
    transform: translateY(-2px); /* Pequeño efecto hover */
}

/* Imagen del producto */
.item-carrito img {
    width: 70px; /* Imagen un poco más grande */
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    flex-shrink: 0; /* Evita que se achique */
    transition: transform 0.3s ease;
}

.item-carrito img:hover {
    transform: scale(1.05); /* Hover sutil en imagen */
}

/* Información del producto */
.item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
}

.item-info h4 {
    margin: 0;
    color: #333;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.item-info p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Botón eliminar */
.btn-eliminar {
    background: #e10600;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease, transform 0.2s ease;
    flex-shrink: 0; /* No se achique */
}

.btn-eliminar:hover {
    background: #c10500;
    transform: scale(1.05);
    box-shadow: 0 2px 6px rgba(0,0,0,0.2); /* Sombra sutil */
}

/* Responsive - carrito compacto */
@media (max-width: 576px) {
    .item-carrito {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 10px;
    }

    .item-carrito img {
        width: 100%;
        height: auto;
    }

    .btn-eliminar {
        align-self: flex-end;
    }
}


.carrito-vacio {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.carrito-vacio i {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 15px;
}

.modal-footer {
    padding: 20px 25px;
    border-top: 1px solid #e9ecef;
    background: #f8f9fa;
}

.total-carrito {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
}

.btn-finalizar-compra {
    width: 100%;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-finalizar-compra:hover {
    background: linear-gradient(135deg, #218838, #1e9e8a);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

/* ========================================================= */
/*                   NOTIFICACIONES                          */
/* ========================================================= */

.alert-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border-left: 4px solid #28a745;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10001;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    max-width: 350px;
    animation: slideInRight 0.3s ease;
}

.alert-notification.show {
    transform: translateX(0);
}

.alert-notification.error {
    border-left-color: #e10600;
}

.alert-notification.success {
    border-left-color: #28a745;
}

.alert-notification.info {
    border-left-color: #17a2b8;
}

.alert-notification i {
    font-size: 20px;
}

.alert-notification.success i {
    color: #28a745;
}

.alert-notification.error i {
    color: #e10600;
}

.alert-notification.info i {
    color: #17a2b8;
}

.alert-notification span {
    font-weight: 500;
    color: #333;
}

/* ========================================================= */
/*                   ANIMACIONES                             */
/* ========================================================= */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.producto {
    animation: fadeIn 0.5s ease forwards;
}

/* Loading state */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #e10600;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 10;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ========================================================= */
/*                   RESPONSIVE                              */
/* ========================================================= */

@media (max-width: 1200px) {
    .grid-productos {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .header-tienda {
        padding: 20px;
    }
    
    .logo-tienda {
        font-size: 1.8rem;
    }
    
    .menu-categorias {
        flex-direction: column;
        align-items: center;
    }
    
    .categoria-btn {
        width: 220px;
    }
    
    .grid-productos {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 20px;
    }
    
    .filtros-grid {
        grid-template-columns: 1fr;
    }
    
    .titulo-tienda {
        font-size: 2rem;
    }
    
    .modal-carrito {
        width: 95%;
        margin: 20px;
    }
    
    .item-carrito {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .item-info {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .grid-productos {
        grid-template-columns: 1fr;
    }
    
    .header-tienda {
        padding: 15px;
    }
    
    .producto-info {
        padding: 20px;
    }
    
    .filtros-avanzados {
        padding: 20px;
    }
    
    .logo-tienda {
        font-size: 1.5rem;
    }
    
    .titulo-tienda {
        font-size: 1.8rem;
    }
    
    .alert-notification {
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

/* ========================================================= */
/*                   UTILIDADES                              */
/* ========================================================= */

.text-center {
    text-align: center;
}

.text-success {
    color: #28a745;
}

.text-danger {
    color: #e10600;
}

.text-warning {
    color: #ffc107;
}

.hidden {
    display: none !important;
}

.fade-in {
    animation: fadeIn 0.5s ease;
}

/* Estados de stock mejorados */
.stock-alto { 
    color: #28a745;
    font-weight: 600;
}

.stock-medio { 
    color: #ff9800;
    font-weight: 600;
}

.stock-bajo { 
    color: #e10600;
    font-weight: 600;
}


/* Scroll personalizado */
.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* ========================================================= */
/*               ESTILOS PARA EL CHECKOUT                    */
/* ========================================================= */

/* Modal Checkout */
.modal-checkout-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.modal-checkout {
    background: white;
    border-radius: 15px;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: modalAppear 0.3s ease;
}

@keyframes modalAppear {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.modal-checkout .modal-header {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 20px 30px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-checkout .modal-header h3 {
    margin: 0;
    font-size: 1.4em;
}

.btn-cerrar {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkout-body {
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* Resumen del pedido */
.resumen-pedido {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    border: 2px solid #e9ecef;
}

.resumen-pedido h4 {
    margin-bottom: 20px;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.items-resumen {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.item-resumen {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #dee2e6;
}

.item-resumen:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.item-info {
    flex: 1;
}

.item-info strong {
    display: block;
    color: #2c3e50;
    margin-bottom: 5px;
}

.item-info span {
    font-size: 0.9em;
    color: #6c757d;
}

.item-precio {
    font-weight: bold;
    color: #e74c3c;
    font-size: 1.1em;
}

.total-resumen {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 2px solid #3498db;
    font-size: 1.2em;
    color: #2c3e50;
}

/* Formulario */
.formulario-cliente {
    background: white;
}

.formulario-cliente h4 {
    margin-bottom: 20px;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1em;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Métodos de pago */
.metodo-pago h4 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.opciones-pago {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.opcion-pago {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.opcion-pago:hover {
    border-color: #3498db;
    background: #f8f9fa;
}

.opcion-pago input[type="radio"] {
    display: none;
}

.opcion-pago input[type="radio"]:checked + .opcion-contenido {
    border-color: #3498db;
    background: #e3f2fd;
}

.opcion-contenido {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.opcion-contenido i {
    font-size: 1.5em;
    margin-bottom: 5px;
}

.opcion-contenido span {
    font-weight: 600;
    color: #2c3e50;
}

.opcion-contenido small {
    color: #6c757d;
    font-size: 0.85em;
}

/* Footer del modal */
.modal-checkout .modal-footer {
    padding: 20px 30px;
    background: #f8f9fa;
    border-radius: 0 0 15px 15px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.btn-secundario {
    background: #6c757d;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    transition: all 0.3s ease;
}

.btn-finalizar-pedido {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secundario:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.btn-finalizar-pedido:hover {
    background: linear-gradient(135deg, #229954, #27ae60);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
}

/* Confirmación de pedido */
.modal-confirmacion-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 20px;
}

.modal-confirmacion {
    background: white;
    border-radius: 15px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: modalAppear 0.3s ease;
}

.confirmacion-header {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    padding: 30px;
    border-radius: 15px 15px 0 0;
}

.confirmacion-header i {
    font-size: 4em;
    margin-bottom: 15px;
}

.confirmacion-header h3 {
    margin: 0 0 10px 0;
    font-size: 1.8em;
}

.numero-pedido {
    margin: 0;
    font-size: 1.1em;
    opacity: 0.9;
}

.confirmacion-body {
    padding: 30px;
}

.info-pedido {
    text-align: left;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding: 8px 0;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item i {
    color: #3498db;
    width: 20px;
}

.instrucciones-pago {
    text-align: left;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
}

.instrucciones-pago h4 {
    color: #856404;
    margin-bottom: 15px;
}

.instrucciones-pago ul {
    margin: 0;
    padding-left: 20px;
}

.instrucciones-pago li {
    margin-bottom: 8px;
    color: #856404;
}

.contacto-urgente {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.contacto-urgente p {
    margin: 0 0 15px 0;
    color: #721c24;
    font-weight: 600;
}

.btn-whatsapp-urgente {
    background: #25D366;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-whatsapp-urgente:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

.confirmacion-footer {
    padding: 20px 30px;
    background: #f8f9fa;
    border-radius: 0 0 15px 15px;
}

.btn-primario {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primario:hover {
    background: linear-gradient(135deg, #2980b9, #1f618d);
    transform: translateY(-2px);
}

/* Loading */
.loading-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10001;
}

.loading-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .checkout-body {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .modal-checkout .modal-footer {
        flex-direction: column;
    }
    
    .modal-checkout, .modal-confirmacion {
        margin: 10px;
    }
}

/* ========================================================= */
/*               ESTILOS PARA SISTEMA DE VOUCHER             */
/* ========================================================= */

.modal-voucher-overlay,
.modal-instrucciones-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 20px;
}

.modal-voucher,
.modal-instrucciones {
    background: white;
    border-radius: 15px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.voucher-instructions,
.instrucciones-content {
    padding: 25px;
}

.payment-info {
    margin: 20px 0;
}

.info-card {
    background: #e3f2fd;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #2196f3;
    line-height: 1.6;
}

.upload-section {
    margin: 25px 0;
}

.upload-area {
    border: 2px dashed #007bff;
    border-radius: 10px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.upload-area:hover {
    background: #e9ecef;
    border-color: #0056b3;
}

.upload-area.dragover {
    background: #d4edda;
    border-color: #28a745;
}

.upload-area i {
    font-size: 3em;
    color: #007bff;
    margin-bottom: 15px;
}

.upload-hint {
    display: block;
    font-size: 0.8em;
    color: #6c757d;
    margin-top: 10px;
}

.preview-area {
    text-align: center;
    padding: 20px;
}

#voucherPreview {
    max-width: 100%;
    max-height: 300px;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 10px;
    background: white;
}

.btn-remove {
    background: #dc3545;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.btn-remove:hover {
    background: #c82333;
}

.whatsapp-actions {
    margin: 25px 0;
}

.btn-whatsapp-send {
    background: #25D366;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.btn-whatsapp-send:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
}

.btn-whatsapp-send:not(:disabled):hover {
    background: #128C7E;
    transform: translateY(-2px);
}

.alternative-send {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.btn-already-sent {
    background: #28a745;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-already-sent:hover {
    background: #218838;
}

.help-section {
    margin-top: 25px;
    padding: 20px;
    background: #fff3cd;
    border-radius: 10px;
    border: 1px solid #ffeaa7;
}

.help-section h5 {
    color: #856404;
    margin-bottom: 15px;
}

.help-steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.help-step {
    padding: 10px;
    background: white;
    border-radius: 5px;
    border-left: 3px solid #ffc107;
}

/* Estilos para instrucciones */
.pasos-adjuntar {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
}

.paso {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.paso-num {
    background: #007bff;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.paso-content {
    flex: 1;
}

.nota-importante {
    background: #d1ecf1;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #17a2b8;
    margin: 20px 0;
}

.acciones-finales {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.acciones-finales .btn-primario {
    flex: 2;
}

.acciones-finales .btn-secundario {
    flex: 1;
}

/* Estados del pedido */
.estado-pedido {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
}

.estado-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border-radius: 8px;
    font-weight: 500;
}

.estado-item.success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.estado-item.processing {
    background: #cce7ff;
    color: #004085;
    border-left: 4px solid #007bff;
}

.estado-item i {
    font-size: 1.2em;
}

.contacto-inmediato {
    background: #fff3cd;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #ffeaa7;
    text-align: center;
    margin: 20px 0;
}

.btn-whatsapp-inmediato {
    background: #25D366;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-whatsapp-inmediato:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .modal-voucher,
    .modal-instrucciones {
        margin: 10px;
    }
    
    .acciones-finales {
        flex-direction: column;
    }
}
/* =========================================================
   MODALES DE PAGO - QR, MERCADO PAGO, ETC. - MEJOR DISTRIBUCIÓN
========================================================= */

/* Modal QR - Contenido más expandido hacia abajo */
.modal-qr-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.4s ease;
    backdrop-filter: blur(10px);
    padding: 20px;
}

.modal-qr {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    width: 95%;
    max-width: 620px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    animation: slideUpScale 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    display: flex;
    flex-direction: column;
}

@keyframes slideUpScale {
    from { 
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px 20px 0 0;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FF6B00, #FF8C00);
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5em;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}

.btn-cerrar {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    font-size: 26px;
    cursor: pointer;
    padding: 0;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-cerrar:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg) scale(1.1);
}

.modal-body {
    padding: 35px 30px 30px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
    overflow-y: auto;
}

/* Contenido QR - Mejor distribución vertical */
.qr-instructions {
    text-align: center;
    padding: 0;
}

.qr-instructions h4 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.4em;
    font-weight: 700;
    line-height: 1.3;
}

.qr-amount {
    margin: 0;
    padding: 22px 25px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    border-left: 5px solid #FF6B00;
    box-shadow: 0 5px 20px rgba(255, 107, 0, 0.15);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.qr-amount:hover {
    transform: translateY(-3px);
}

.amount-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.amount-label {
    font-weight: 700;
    color: #2c3e50;
    font-size: 1.1em;
}

.amount-value {
    font-size: 1.9em;
    font-weight: 900;
    color: #FF6B00;
    text-shadow: 0 2px 4px rgba(255, 107, 0, 0.2);
}

.qr-container {
    margin: 10px 0;
    padding: 28px;
    background: white;
    border: 3px dashed #e0e0e0;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.qr-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #FF6B00, #FF8C00);
    transform: scaleX(0);
    transition: transform 0.6s ease;
}

.qr-container:hover::before {
    transform: scaleX(1);
}

.qr-container:hover {
    border-color: #FF6B00;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.qr-image {
    width: 250px;
    height: 250px;
    margin: 0;
    display: block;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.qr-container:hover .qr-image {
    transform: scale(1.05);
}

.qr-note {
    margin: 0;
    color: #666;
    font-size: 1.05em;
    font-weight: 600;
    text-align: center;
}

/* Pasos de pago - Mejor espaciado vertical */
.payment-steps {
    margin: 15px 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.step {
    display: flex;
    align-items: flex-start;
    margin: 0;
    padding: 18px 20px;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 12px;
    border-left: 4px solid #FF6B00;
    transition: transform 0.3s ease;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    gap: 18px;
}

.step:hover {
    transform: translateX(5px);
}

.step-number {
    background: linear-gradient(135deg, #FF6B00, #FF8C00);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    font-size: 0.95em;
    box-shadow: 0 4px 10px rgba(255, 107, 0, 0.3);
    margin-top: 2px;
}

.step-text {
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.02em;
    line-height: 1.4;
    flex: 1;
    padding-top: 4px;
}

/* WhatsApp confirmation - Más espacio */
.whatsapp-confirmation {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    padding: 28px 25px;
    border-radius: 15px;
    margin: 10px 0;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.whatsapp-confirmation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
}

.whatsapp-confirmation p {
    margin: 0;
    font-size: 1.05em;
    line-height: 1.5;
    text-align: center;
}

.btn-whatsapp-comprobante {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
    padding: 16px 25px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    margin: 0;
    width: 100%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1.1em;
    position: relative;
    overflow: hidden;
}

.btn-whatsapp-comprobante::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.btn-whatsapp-comprobante:hover::before {
    left: 100%;
}

.btn-whatsapp-comprobante:hover {
    background: white;
    color: #25D366;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

/* Información bancaria - Mejor distribución */
.bank-info {
    background: linear-gradient(135deg, #e3f2fd, #f0f8ff);
    padding: 22px 25px;
    border-radius: 12px;
    margin: 10px 0;
    text-align: left;
    border: 2px solid #e1f5fe;
    position: relative;
}

.bank-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2196f3, #03a9f4);
}

.bank-info h5 {
    margin: 0 0 18px 0;
    color: #1976d2;
    font-weight: 700;
    font-size: 1.12em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bank-accounts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.account {
    padding: 14px 16px;
    background: white;
    border-radius: 8px;
    font-size: 0.98em;
    border-left: 3px solid #2196f3;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.1);
    transition: transform 0.2s ease;
    line-height: 1.4;
}

.account:hover {
    transform: translateX(3px);
}

/* Botones de acción - Mejor espaciado */
.alternative-actions {
    display: flex;
    gap: 15px;
    margin: 20px 0 0 0;
    padding-top: 15px;
    border-top: 2px solid #f0f0f0;
}

.btn-alternative, .btn-payment-done {
    flex: 1;
    padding: 17px 20px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.05em;
    position: relative;
    overflow: hidden;
    min-height: 55px;
}

.btn-alternative::before, .btn-payment-done::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.btn-alternative:hover::before, .btn-payment-done:hover::before {
    left: 100%;
}

.btn-alternative {
    background: linear-gradient(135deg, #6c757d, #5a6268);
    color: white;
}

.btn-alternative:hover {
    background: linear-gradient(135deg, #5a6268, #495056);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(108, 117, 125, 0.3);
}

.btn-payment-done {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.btn-payment-done:hover {
    background: linear-gradient(135deg, #218838, #1e9e8a);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.3);
}

/* Modal de voucher - Mejor distribución vertical */
.modal-voucher-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10001;
    backdrop-filter: blur(10px);
    padding: 20px;
}

.modal-voucher {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    width: 95%;
    max-width: 650px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    animation: slideUpScale 0.5s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
}

.voucher-instructions {
    padding: 35px 30px 30px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.upload-section {
    margin: 15px 0;
}

.upload-area {
    border: 3px dashed #007bff;
    border-radius: 15px;
    padding: 55px 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.upload-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    transform: scaleX(0);
    transition: transform 0.6s ease;
}

.upload-area:hover::before {
    transform: scaleX(1);
}

.upload-area:hover {
    background: linear-gradient(135deg, #e9ecef, #f8f9fa);
    border-color: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.15);
}

.upload-area.dragover {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border-color: #28a745;
    color: #155724;
}

.preview-area {
    text-align: center;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

#voucherPreview {
    max-width: 350px;
    max-height: 350px;
    border-radius: 12px;
    margin: 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 2px solid #e9ecef;
}

.btn-remove {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    border: none;
    padding: 14px 22px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1.05em;
}

.btn-remove:hover {
    background: linear-gradient(135deg, #c82333, #bd2130);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

/* Scroll personalizado mejorado */
.modal-qr::-webkit-scrollbar,
.modal-voucher::-webkit-scrollbar {
    width: 8px;
}

.modal-qr::-webkit-scrollbar-track,
.modal-voucher::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.modal-qr::-webkit-scrollbar-thumb,
.modal-voucher::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 10px;
}

.modal-qr::-webkit-scrollbar-thumb:hover,
.modal-voucher::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a6fd8, #6a42a5);
}

/* Responsive mejorado para distribución vertical */
@media (max-width: 768px) {
    .modal-qr, .modal-voucher {
        width: 98%;
        margin: 10px;
        max-height: 90vh;
    }
    
    .modal-body {
        padding: 25px 20px 20px 20px;
        gap: 20px;
    }
    
    .voucher-instructions {
        padding: 25px 20px 20px 20px;
        gap: 20px;
    }
    
    .alternative-actions {
        flex-direction: column;
        gap: 12px;
        margin-top: 15px;
    }
    
    .qr-image {
        width: 220px;
        height: 220px;
    }
    
    .modal-header {
        padding: 20px 25px;
    }
    
    .step {
        padding: 15px;
        margin: 0;
        gap: 15px;
    }
    
    .step-number {
        width: 28px;
        height: 28px;
        margin-top: 0;
    }
    
    .upload-area {
        padding: 40px 25px;
    }
    
    #voucherPreview {
        max-width: 280px;
        max-height: 280px;
    }
}

@media (max-width: 480px) {
    .qr-image {
        width: 200px;
        height: 200px;
    }
    
    .modal-header h3 {
        font-size: 1.3em;
    }
    
    .amount-value {
        font-size: 1.7em;
    }
    
    .btn-alternative, .btn-payment-done {
        padding: 15px 18px;
        font-size: 1em;
        min-height: 50px;
    }
    
    .modal-body {
        padding: 20px 15px 15px 15px;
        gap: 18px;
    }
    
    .voucher-instructions {
        padding: 20px 15px 15px 15px;
        gap: 18px;
    }
}

/* Estilos para el branding del QR */


.qr-branding-logo {
    width: 250px;
    height: 110px;
    border-radius: 12px;
    object-fit: contain;
    border: 3px solid #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Estilos para método de entrega */
.metodo-entrega {
    margin: 25px 0;
}

.opciones-entrega {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.opcion-entrega {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
}

.opcion-entrega:hover {
    border-color: #007bff;
    background: #f8f9fa;
}

.opcion-entrega input[type="radio"]:checked + .opcion-contenido {
    border-color: #007bff;
    background: #e7f3ff;
}

.opcion-contenido {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.opcion-contenido i {
    font-size: 1.8em;
    margin-bottom: 8px;
}

.opcion-contenido span {
    font-weight: 700;
    color: #2c3e50;
    font-size: 1.1em;
}

.opcion-contenido small {
    color: #28a745;
    font-weight: 600;
    font-size: 0.95em;
}

.info-entrega {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e9ecef;
}

.info-entrega p {
    margin: 4px 0;
    font-size: 0.85em;
    color: #666;
    line-height: 1.4;
}

/* Resumen final */
.resumen-final {
    margin-bottom: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.costo-envio, .total-final {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.total-final {
    font-size: 1.2em;
    font-weight: 700;
    color: #2c3e50;
    border-top: 2px solid #dee2e6;
    padding-top: 10px;
    margin-top: 10px;
}

.acciones-finales {
    display: flex;
    gap: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .opciones-entrega {
        gap: 10px;
    }
    
    .opcion-entrega {
        padding: 15px;
    }
    
    .acciones-finales {
        flex-direction: column;
    }
}



/* Modal de Detalles - VERSIÓN COMPACTA */
.modal-detalles-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 15px; /* Reducido */
    backdrop-filter: blur(5px);
}

.modal-detalles {
    background: white;
    border-radius: 15px; /* Reducido */
    width: 95%;
    max-width: 800px; /* Reducido de 1000px */
    max-height: 85vh; /* Reducido de 90vh */
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    animation: modalAppear 0.3s ease;
}
/* Contenedor principal de detalles */
.detalles-body {
    padding: 15px;
    display: grid;
    grid-template-columns: minmax(280px, 320px) 1fr; /* Imagen un poco más grande */
    gap: 15px;
}

/* Galería de imágenes */
.detalles-galeria {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Imagen principal y secundaria */
.imagen-principal img,
.imagen-secundaria img {
    width: 100%;
    max-height: 280px; /* Aumenta altura */
    aspect-ratio: 4 / 3; /* Mantiene proporción */
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.imagen-principal img:hover,
.imagen-secundaria img:hover {
    transform: scale(1.05);
}

/* Badge / etiqueta */
.plano-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 123, 255, 0.95);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}


/* Información del Producto - COMPACTA */
.detalles-info h2 {
    color: #2c3e50;
    margin-bottom: 8px; /* Reducido */
    font-size: 1.4em; /* Reducido */
}

.codigo-referencia {
    color: #666;
    font-size: 13px; /* Reducido */
    margin-bottom: 15px; /* Reducido */
    font-style: italic;
}

/* Precios - COMPACTO */
.detalles-precios {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 15px; /* Reducido */
    border-radius: 10px; /* Reducido */
    margin-bottom: 20px; /* Reducido */
    border-left: 4px solid #e10600;
}

.precio-original {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px; /* Reducido */
    font-size: 1em; /* Reducido */
}

.descuento-badge {
    background: #e10600;
    color: white;
    padding: 6px 12px; /* Reducido */
    border-radius: 15px;
    font-weight: 700;
    text-align: center;
    margin: 8px 0; /* Reducido */
    display: inline-block;
    font-size: 13px; /* Reducido */
}

.precio-final {
    display: flex;
    justify-content: space-between;
    font-size: 1.2em; /* Reducido */
    font-weight: 700;
    margin: 12px 0; /* Reducido */
}

.precio-destacado {
    color: #e10600;
    font-size: 1.1em; /* Reducido */
}

.ahorro {
    background: #d4edda;
    color: #155724;
    padding: 8px; /* Reducido */
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
    font-size: 13px; /* Reducido */
}

/* Especificaciones - COMPACTA */
.especificaciones-completas {
    margin: 20px 0; /* Reducido */
}

.especificaciones-completas h4 {
    color: #2c3e50;
    margin-bottom: 12px; /* Reducido */
    border-bottom: 2px solid #007bff;
    padding-bottom: 6px; /* Reducido */
    font-size: 1.1em; /* Reducido */
}

.especificaciones-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px; /* Reducido */
}

.espec-item {
    display: flex;
    justify-content: space-between;
    padding: 8px; /* Reducido */
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 13px; /* Reducido */
}

/* RESPONSIVE COMPACTO */
@media (max-width: 768px) {
    .modal-detalles {
        max-width: 95%;
        max-height: 90vh;
    }
    
    .detalles-body {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px;
    }
    
    .imagen-principal img, .imagen-secundaria img {
        height: 180px;
    }
    
    .detalles-info h2 {
        font-size: 1.3em;
    }
}
/* Compatibilidad y Características */
.compatibilidad, .caracteristicas-lista, .descripcion-completa {
    margin: 20px 0;
}

.compatibilidad h4, .caracteristicas-lista h4, .descripcion-completa h4 {
    color: #2c3e50;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.caracteristicas-lista ul {
    list-style: none;
    padding: 0;
}

.caracteristicas-lista li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.caracteristicas-lista li i {
    color: #28a745;
}

/* Stock en Detalle */
.stock-detalle {
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: center;
    font-size: 1.1em;
    font-weight: 600;
}

/* Botón Ver Detalles en Producto */
.btn-detalles {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #6c757d, #5a6268);
    color: white;
    text-align: center;
    padding: 14px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.btn-detalles:hover {
    background: linear-gradient(135deg, #5a6268, #495057);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
}

/* Acciones del Modal */
.detalles-acciones {
    padding: 20px 30px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 15px;
    justify-content: space-between;
}



/* Responsive */
@media (max-width: 768px) {
    .detalles-body {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
    
    .especificaciones-grid {
        grid-template-columns: 1fr;
    }
    
    .detalles-acciones {
        flex-direction: column;
    }
    
    .modal-detalles {
        margin: 10px;
    }
}

/* ESTILOS PARA OFERTAS Y DESCUENTOS */
.etiqueta-descuento {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ff6b00, #ff8c00);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7em;
    font-weight: bold;
    z-index: 2;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
.precios-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 10px 0;
    align-items: flex-start; /* ← ESTA LÍNEA ES CLAVE */
}

.precio-original-linea {
    display: flex;
    align-items: center;
    gap: 10px; /* ← ESPACIO ENTRE PRECIO ORIGINAL Y DESCUENTO */
}

.precio-original {
    color: #999;
    text-decoration: line-through;
    font-size: 14px;
}

.descuento-porcentaje {
    background: #e10600;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: bold;
}

.precio-final {
    font-size: 1.4rem;
    font-weight: 800;
    color: #2c5530;
}

.precio-final.con-descuento {
    color: #e10600;
}

.ahorro {
    font-size: 12px;
    color: #28a745;
    font-weight: 600;
}

/* Mejorar el diseño de productos */
.producto {
    position: relative;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 15px;
    background: white;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.producto:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.producto-img {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 12px;
}

.btn-ver-detalles {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.7);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    opacity: 0;
    transition: all 0.3s ease;
}

.producto-img:hover .btn-ver-detalles {
    opacity: 1;
}

.producto-acciones {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}




/* NOTIFICACIONES MEJORADAS CON DESCUENTO */
.alert-notification.con-descuento {
    background: linear-gradient(135deg, #fff3cd, #fff);
    border: 2px solid #ffc107;
    border-left: 6px solid #ff6b00;
    max-width: 350px;
    padding: 0;
}

.alert-notification.con-descuento .notification-header {
    background: linear-gradient(135deg, #ff6b00, #ff8c00);
    color: white;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
}

.alert-notification.con-descuento .notification-body {
    padding: 15px;
}

.alert-notification.con-descuento .descuento-info {
    background: #fff3cd;
    border: 1px dashed #ffc107;
    border-radius: 8px;
    padding: 10px;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #856404;
}

.alert-notification.con-descuento .notification-footer {
    background: #f8f9fa;
    padding: 8px 15px;
    border-top: 1px solid #dee2e6;
    font-size: 0.8em;
    color: #6c757d;
    text-align: center;
}

/* Estilos para el carrito con descuentos */
.item-carrito .descuento-badge {
    background: #dc3545;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7em;
    margin-left: 5px;
}

.item-carrito .precio-original {
    text-decoration: line-through;
    color: #888;
    font-size: 0.9em;
    margin-right: 5px;
}

.item-carrito .ahorro-info {
    color: #28a745;
    font-size: 0.8em;
    font-weight: bold;
}



/* ESTILOS PARA EL RESUMEN DEL PEDIDO CON DESCUENTOS */
.item-resumen.con-descuento {
    background: #f8f9fa;
    border-left: 4px solid #ff6b00;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.detalles-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
}

.detalles-item .descuento-badge {
    background: #dc3545;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: bold;
}

.ahorro-item {
    color: #28a745;
    font-size: 0.85em;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.precio-original-resumen {
    text-decoration: line-through;
    color: #6c757d;
    font-size: 0.9em;
}

.precio-final-resumen {
    color: #ff6b00;
    font-weight: bold;
    font-size: 1.1em;
}

.resumen-ahorros {
    background: linear-gradient(135deg, #d4edda, #f8f9fa);
    border: 2px dashed #28a745;
    border-radius: 8px;
    padding: 12px;
    margin: 15px 0;
}

.ahorro-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.ahorro-valor {
    color: #28a745;
    font-size: 1.1em;
}

.total-resumen {
    background: #007bff;
    color: white;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    font-size: 1.2em;
    margin-top: 15px;
}


/* ESTILOS PARA MODAL DE TRANSFERENCIA */
.modal-transferencia-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 20px;
}

.modal-transferencia {
    background: white;
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.bank-accounts-transferencia {
    margin: 20px 0;
}

.account-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 10px;
    background: #f8f9fa;
}

.bank-logo {
    font-size: 1.5em;
    width: 40px;
    text-align: center;
}

.account-details {
    flex: 1;
}

.account-number {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    color: #007bff;
    font-size: 1.1em;
    margin: 5px 0;
}

.account-name {
    color: #6c757d;
    font-size: 0.9em;
}

.transferencia-steps {
    margin: 20px 0;
}

.transferencia-branding-logo {
    width: 250px !important;
    height: 110px !important;
    object-fit: contain;
}

.transferencia-branding {
    text-align: center;
    margin-bottom: 20px;
}

.transferencia-branding p {
    font-weight: 700;
    color: #2c3e50;
    margin: 10px 0 0 0;
    font-size: 1.1em;
}

/* --- MEJORAS PARA BANNER FULL (VERSIÓN DEFINITIVA) --- */

/* ========================================================= */
/*           SLIDER PROMOCIONAL - SIN ESPACIOS LATERALES    */
/*           IMÁGENES COMPLETAS, SIN RECORTES              */
/* ========================================================= */

/* Contenedor principal - SIN PADDING LATERAL */
.banner-full {
    max-width: 1400px;
    margin: 20px auto;
    padding: 0;  /* ← ELIMINADO padding lateral */
    animation: fadeIn 0.8s ease-in-out;
}

/* Carrusel Bootstrap - OCUPA TODO EL ANCHO */
#sliderPromos {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    background-color: #f8f9fa;
    width: 100%;
}

/* ✅ ALTURA AUTOMÁTICA - SIN ESPACIOS LATERALES */
#sliderPromos .carousel-inner {
    width: 100%;
    height: auto;  /* ← ALTURA AUTOMÁTICA */
    background-color: #f8f9fa;
}

/* ✅ SIN ZOOM - imagen COMPLETA, OCUPA TODO EL ANCHO */
#sliderPromos .carousel-item img {
    width: 100%;
    height: auto;  /* ← ALTURA PROPORCIONAL */
    object-fit: contain;  /* ← SIN ZOOM, imagen completa */
    object-position: center;
    background-color: #f8f9fa;
    display: block;
}

/* Efecto suave al cambiar de slide */
#sliderPromos .carousel-item {
    transition: transform 0.6s ease-in-out;
    background-color: #f8f9fa;
}

/* Indicadores mejorados - REPOSICIONADOS */
#sliderPromos .carousel-indicators {
    bottom: 15px;
    margin-bottom: 10px;
}

#sliderPromos .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    background-color: rgba(0,0,0,0.3);
    border: 2px solid rgba(255,255,255,0.5);
}

#sliderPromos .carousel-indicators button.active {
    background-color: #0052A4;
    transform: scale(1.2);
    border-color: white;
}

/* Flechas de navegación */
#sliderPromos .carousel-control-prev,
#sliderPromos .carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.2);
    border-radius: 50%;
    margin: 0 20px;
    opacity: 0;
    transition: all 0.3s ease;
}

#sliderPromos:hover .carousel-control-prev,
#sliderPromos:hover .carousel-control-next {
    opacity: 1;
    background: rgba(0,0,0,0.5);
}

#sliderPromos .carousel-control-prev:hover,
#sliderPromos .carousel-control-next:hover {
    background: #0052A4;
    transform: translateY(-50%) scale(1.1);
}

#sliderPromos .carousel-control-prev-icon,
#sliderPromos .carousel-control-next-icon {
    filter: invert(1);
    width: 24px;
    height: 24px;
}

/* Animación de entrada */
@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(15px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* ========================================================= */
/*           RESPONSIVE - SIN PADDING EN TODAS              */
/* ========================================================= */

@media (max-width: 992px) {
    .banner-full {
        padding: 0;  /* ← SIN PADDING */
    }
    
    #sliderPromos .carousel-control-prev,
    #sliderPromos .carousel-control-next {
        width: 45px;
        height: 45px;
        margin: 0 15px;
    }
}

@media (max-width: 768px) {
    .banner-full {
        margin: 15px auto;
        padding: 0;  /* ← SIN PADDING */
    }
    
    #sliderPromos {
        border-radius: 16px;
    }
    
    #sliderPromos .carousel-control-prev,
    #sliderPromos .carousel-control-next {
        width: 40px;
        height: 40px;
        margin: 0 12px;
    }
    
    #sliderPromos .carousel-indicators button {
        width: 10px;
        height: 10px;
        margin: 0 5px;
    }
    
    #sliderPromos .carousel-control-prev-icon,
    #sliderPromos .carousel-control-next-icon {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .banner-full {
        margin: 10px auto;
        padding: 0;  /* ← SIN PADDING */
    }
    
    #sliderPromos {
        border-radius: 12px;
    }
    
    #sliderPromos .carousel-control-prev,
    #sliderPromos .carousel-control-next {
        width: 32px;
        height: 32px;
        margin: 0 8px;
    }
    
    #sliderPromos .carousel-indicators {
        bottom: 10px;
    }
    
    #sliderPromos .carousel-indicators button {
        width: 8px;
        height: 8px;
        margin: 0 4px;
    }
    
    #sliderPromos .carousel-control-prev-icon,
    #sliderPromos .carousel-control-next-icon {
        width: 16px;
        height: 16px;
    }
}