/* assets/css/style.css - Estilos globales */

/* Estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

/* Header */
header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    text-align: center;
    padding: 12px;
    font-weight: bold;
}

/* Imágenes */
.main-image {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.thumbs img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s;
}

.thumbs img:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Botones de selección */
.options button {
    border-radius: 25px;
    padding: 8px 20px;
    transition: all 0.3s;
}

.options button.selected {
    background-color: #007bff;
    color: white;
    border-color: #0056b3;
    transform: scale(1.05);
}

/* Botón WhatsApp */
.whatsapp-button {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 50px;
    width: 100%;
    transition: all 0.3s;
}

.whatsapp-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37,211,102,0.3);
    color: white;
}

/* Badge de envío */
.shipping-badge {
    background: #28a745;
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 14px;
    margin-left: 15px;
}

/* Confirmación */
#textofinal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.confirmation-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    text-align: center;
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* WhatsApp flotante */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    transition: all 0.3s;
}

.whatsapp-float img {
    width: 60px;
    height: 60px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.whatsapp-float:hover img {
    transform: scale(1.15);
}

/* Responsive */
@media (max-width: 768px) {
    .thumbs img {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-button {
        font-size: 16px;
        padding: 12px 20px;
    }
    
    .shipping-badge {
        font-size: 12px;
        margin-left: 10px;
    }
}