/* Reset y Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Modal de Bienvenida */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 1rem;
}

.modal-overlay.active {
    display: flex;
}

.modal-bienvenida {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 24px;
    max-width: 500px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideUp 0.4s ease-out;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animaciones para notificaciones */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes slideOutUp {
    from {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    to {
        opacity: 0;
        transform: translateX(-50%) translateY(-100px);
    }
}

.modal-header {
    padding: 2.5rem 2rem 2rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 120%, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.modal-header h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.5px;
}

.modal-logo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    margin: 0 auto 1rem;
    display: block;
    position: relative;
    z-index: 1;
    border-radius: 50%;
    background: white;
    padding: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.modal-bienvenida-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    text-transform: capitalize;
    position: relative;
    z-index: 1;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.mensaje-principal {
    font-size: 1.5rem;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
}

.mensaje-principal strong {
    color: #ffd700;
    font-size: 1.8rem;
}

.modal-body {
    background: white;
    padding: 2rem;
    border-radius: 0 0 24px 24px;
}

.subtitulo {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #666;
    font-size: 1.1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.btn-primary {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.nota-privacidad {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: #999;
}

/* Header */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: grid;
    grid-template-columns: minmax(150px, 15%) minmax(400px, 70%) minmax(150px, 15%);
    align-items: center;
    padding: 0.5rem 0;
    height: 60px;
    gap: 1rem;
    max-width: 100%;
}

.logo {
    font-size: 1.4rem !important;
    color: white !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: opacity 0.3s;
    display: flex !important;
    align-items: center !important;
    gap: 0.3rem;
    line-height: 1 !important;
    justify-self: start;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* Modal Datos Adicionales Moderno */
.modal-datos-content {
    background: white;
    border-radius: 24px;
    max-width: 440px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
    animation: modalSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-datos-header {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    padding: 2rem 1.5rem 1.75rem;
    text-align: center;
    color: white;
    border-radius: 24px 24px 0 0;
    position: relative;
}

.modal-datos-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    animation: bounceIn 0.6s ease-out;
}

@keyframes bounceIn {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

.modal-datos-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.modal-datos-close svg {
    width: 20px;
    height: 20px;
}

.modal-datos-close:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.1) rotate(90deg);
}

.modal-datos-header h2 {
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.modal-datos-header p {
    font-size: 0.95rem;
    opacity: 0.9;
    font-weight: 400;
}

.modal-datos-body {
    padding: 2rem 1.5rem 1.5rem;
    overflow-y: auto;
}

.btn-datos-enviar {
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.3);
    margin-top: 1.5rem;
}

.btn-datos-enviar .btn-icon {
    font-size: 1.2rem;
}

.btn-datos-enviar:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
}

.btn-datos-enviar:active {
    transform: translateY(0) scale(0.98);
}

.info-seguridad {
    text-align: center;
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 1.25rem;
    padding: 0.75rem;
    background: #f0fdf4;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border: 1px solid #86efac;
}

.security-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #10b981;
}

/* Responsive para móviles */
@media (max-width: 480px) {
    .modal-datos-content {
        max-width: 95%;
        border-radius: 20px;
    }
    
    .modal-datos-header {
        padding: 1.5rem 1rem 1.25rem;
    }
    
    .modal-datos-icon {
        font-size: 2.5rem;
    }
    
    .modal-datos-body {
        padding: 1.5rem 1rem 1rem;
    }
}

.logo-text {
    font-size: 1.1rem;
    color: white;
    font-weight: 700;
    margin-left: 0.5rem;
    text-transform: capitalize;
    transition: all 0.3s;
}

.logo:hover {
    opacity: 0.9;
}

.header-nav {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
}

.nav-link {
    padding: 0.5rem 1rem;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    border-radius: 8px;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    white-space: nowrap;
    min-width: 100px;
    text-align: center;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
}

.nav-link.active {
    background: white;
    color: #667eea;
    font-weight: 600;
    border-color: white;
}

.header-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.btn-carrito {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    font-size: 0.9rem;
    height: 40px;
    white-space: nowrap;
    overflow: hidden;
}

.btn-carrito:hover {
    background: white;
    color: #667eea;
}

#carrito-count {
    background: #ff5252;
    color: white;
    padding: 0.1rem 0.4rem;
    border-radius: 10px;
    font-size: 0.75rem;
    min-width: 20px;
    text-align: center;
    display: none;
    flex-shrink: 0;
}

#carrito-total {
    font-weight: 700;
    font-size: 0.95rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Footer */
.footer {
    background: #2d3748;
    color: #cbd5e0;
    padding: 1rem 0;
    text-align: center;
    margin-top: 3rem;
    border-top: 3px solid #667eea;
}

.footer p {
    margin: 0;
    font-size: 0.875rem;
}

/* Navegación Móvil */
.nav-mobile {
    display: none;
    background: white;
    border-bottom: 1px solid #e5e5e5;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-mobile-scroll {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 0;
    padding: 0.5rem 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.nav-mobile-scroll::-webkit-scrollbar {
    display: none;
}

.nav-mobile-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #666;
    padding: 0.4rem 0.4rem;
    border-radius: 6px;
    transition: all 0.2s;
    white-space: nowrap;
    min-width: 52px;
    text-align: center;
}

.nav-mobile-link:hover {
    background: #f5f5f5;
}

.nav-mobile-link.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.nav-mobile-icon {
    font-size: 1.25rem;
    margin-bottom: 0.15rem;
}

.nav-mobile-text {
    font-size: 0.65rem;
    font-weight: 500;
    line-height: 1.1;
}

/* Filtros */
/* Buscador Principal (estilo Mercado Libre) */
.buscador-principal {
    background: #fff159;
    padding: 1.5rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.buscador-wrapper {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.input-buscar-principal {
    flex: 1;
    padding: 0.85rem 1rem;
    border: none;
    font-size: 1rem;
    color: #333;
}

.input-buscar-principal:focus {
    outline: none;
}

.input-buscar-principal::placeholder {
    color: #999;
}

.btn-buscar {
    padding: 0 1.5rem;
    background: white;
    border: none;
    border-left: 1px solid #e5e5e5;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.2s;
}

.btn-buscar:hover {
    background: #f5f5f5;
}

/* Filtros Colapsables */
.filtros {
    background: white;
    border-bottom: 1px solid #e5e5e5;
    padding: 1rem 0;
    margin-bottom: 1.5rem;
}

.filtros-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.filtros-botones {
    display: flex;
    gap: 0.75rem;
}

.btn-filtros {
    padding: 0.6rem 1.2rem;
    background: white;
    border: 2px solid #667eea;
    border-radius: 8px;
    color: #667eea;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-filtros:hover {
    background: #667eea;
    color: white;
}

.btn-filtros.active {
    background: #667eea;
    color: white;
}

.btn-quitar-filtros {
    padding: 0.6rem 1.2rem;
    background: white;
    border: 2px solid #ff5252;
    border-radius: 8px;
    color: #ff5252;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-quitar-filtros:hover {
    background: #ff5252;
    color: white;
}

.btn-quitar-filtros.hidden {
    display: none;
}

.filtros-activos-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    justify-content: flex-end;
}

.filtros-activos {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filtro-activo-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.75rem;
    background: #667eea;
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.filtro-activo-nombre {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

.filtro-activo-valor {
    font-weight: 600;
}

.filtro-activo-quitar {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    padding: 0;
    margin-left: 0.25rem;
    line-height: 1;
    transition: transform 0.2s;
}

.filtro-activo-quitar:hover {
    transform: scale(1.2);
}

.contador-resultados {
    font-size: 0.9rem;
    color: #666;
    white-space: nowrap;
    font-weight: 500;
}

.filtros-panel {
    display: none;
    background: #f9f9f9;
    border-radius: 8px;
    padding: 0.5rem;
}

.filtros-panel.active {
    display: block;
}

.filtro-item {
    background: white;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    overflow: hidden;
    border: 1px solid #e5e5e5;
}

.filtro-toggle {
    width: 100%;
    padding: 0.75rem 1rem;
    background: white;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    transition: background 0.2s;
}

.filtro-toggle:hover {
    background: #f5f5f5;
}

.filtro-toggle.active {
    background: #f0f0f0;
    border-bottom: 1px solid #e5e5e5;
}

.filtro-arrow {
    transition: transform 0.3s;
    font-size: 0.75rem;
    color: #999;
}

.filtro-toggle.active .filtro-arrow {
    transform: rotate(180deg);
}

.filtro-content {
    display: none;
    padding: 1rem;
    background: white;
}

.filtro-content.active {
    display: block;
}

.filtro-select-acordeon {
    width: 100%;
    padding: 0.6rem;
    border: 2px solid #e5e5e5;
    border-radius: 6px;
    font-size: 0.9rem;
    background: white;
    cursor: pointer;
    transition: border-color 0.2s;
}

.filtro-select-acordeon:focus {
    outline: none;
    border-color: #667eea;
}

.filtro-precio-inputs {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.input-precio-acordeon {
    flex: 1;
    padding: 0.6rem;
    border: 2px solid #e5e5e5;
    border-radius: 6px;
    font-size: 0.9rem;
}

.input-precio-acordeon:focus {
    outline: none;
    border-color: #667eea;
}

.precio-separador {
    color: #999;
    font-weight: 600;
}

/* Catálogo */
.catalogo {
    padding: 2rem 0;
}

.loading {
    text-align: center;
    padding: 3rem;
    font-size: 1.2rem;
    color: #999;
}

/* Responsive */
@media (min-width: 768px) {
    .filtros-content {
        flex-direction: row;
        align-items: center;
    }
    
    .filtros-selects {
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 0.4rem 0;
        display: flex;
        justify-content: space-between;
        grid-template-columns: unset;
        gap: 0.5rem;
    }
    
    .logo-img {
        height: 40px;
        width: 40px;
        padding: 3px;
    }
    
    .logo-text {
        font-size: 1.1rem;
        margin-left: 0.3rem;
    }
    
    .header-nav {
        display: none;
    }
    
    /* Mostrar navegación móvil */
    .nav-mobile {
        display: block;
    }
    
    .btn-carrito {
        padding: 0.4rem 0.8rem;
        gap: 0.4rem;
        font-size: 0.85rem;
        height: 36px;
        max-width: 180px;
    }
    
    #carrito-count {
        font-size: 0.7rem;
        padding: 0.1rem 0.35rem;
        min-width: 18px;
    }
    
    #carrito-total {
        font-size: 0.85rem;
        max-width: 100px;
    }
    
    /* Buscador móvil */
    .buscador-principal {
        padding: 1rem 0;
    }
    
    .buscador-wrapper {
        margin: 0;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    }
    
    .input-buscar-principal {
        padding: 0.7rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .btn-buscar {
        padding: 0 1rem;
        font-size: 1rem;
    }
    
    /* Filtros móvil */
    .filtros {
        padding: 0.75rem 0;
        margin-bottom: 1rem;
    }
    
    .filtros-header {
        margin-bottom: 0.75rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .filtros-botones {
        width: 100%;
        gap: 0.5rem;
    }
    
    .btn-filtros, .btn-quitar-filtros {
        flex: 1;
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
        justify-content: center;
    }
    
    .filtros-activos-container {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .filtros-activos {
        width: 100%;
        gap: 0.4rem;
    }
    
    .filtro-activo-chip {
        font-size: 0.8rem;
        padding: 0.35rem 0.65rem;
    }
    
    .contador-resultados {
        width: 100%;
        text-align: center;
        padding: 0.5rem;
        background: #f5f5f5;
        border-radius: 6px;
    }
    
    .filtros-panel {
        padding: 0.25rem;
    }
    
    .filtro-toggle {
        padding: 0.6rem 0.75rem;
        font-size: 0.85rem;
    }
    
    .filtro-content {
        padding: 0.75rem;
    }
    
    .filtro-precio-inputs {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .precio-separador {
        display: none;
    }
    
    .input-precio-acordeon {
        width: 100%;
    }
    
    .contador-resultados {
        text-align: right;
        font-size: 0.85rem;
    }
}

@media (max-width: 500px) {
    .modal-header h1 {
        font-size: 1.5rem;
    }
    
    .mensaje-principal {
        font-size: 1.2rem;
    }
    
    .mensaje-principal strong {
        font-size: 1.5rem;
    }
    
    .filtros-selects {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 0.75rem;
    }
    
    .logo-img {
        height: 38px;
        width: 38px;
        padding: 2px;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    .btn-carrito {
        padding: 0.35rem 0.7rem;
        gap: 0.3rem;
        font-size: 0.8rem;
        height: 34px;
        max-width: 160px;
    }
    
    #carrito-total {
        font-size: 0.8rem;
        max-width: 85px;
    }
}

/* ===================================
   MODAL DE CARRITO
   =================================== */
.modal-carrito {
    background: white;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-carrito .modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-carrito .modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.btn-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.btn-close:hover {
    background: rgba(255,255,255,0.3);
}

.modal-carrito .modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.carrito-vacio {
    text-align: center;
    padding: 3rem 1rem;
    color: #999;
}

.carrito-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.carrito-item-imagen {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.carrito-item-info {
    flex: 1;
}

.carrito-item-nombre {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.carrito-item-precio {
    color: #667eea;
    font-weight: 700;
}

.carrito-item-controles {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.btn-cantidad {
    width: 30px;
    height: 30px;
    border: 1px solid #667eea;
    background: white;
    color: #667eea;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
}

.btn-cantidad:hover {
    background: #667eea;
    color: white;
}

.btn-eliminar {
    margin-left: auto;
    background: #ff5252;
    border: none;
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-eliminar:hover {
    background: #d32f2f;
}

.modal-carrito .modal-footer {
    padding: 1.5rem;
    border-top: 2px solid #e0e0e0;
    background: #f9f9f9;
}

.carrito-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.btn-checkout {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-checkout:hover:not(.disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.btn-checkout.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.carrito-item-cantidad {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
}
