/* ============================================
   RESET Y VARIABLES - ESTILO DAMA AESTHETIC
   ============================================ */
:root {
    --primary: #1a1a2e;
    --primary-light: #2d2d44;
    --accent: #e8b4b8;
    --accent-dark: #d4a0a4;
    --gold: #c9a96e;
    --rose: #f7d4d4;
    --success: #10b981;
    --whatsapp: #25D366;
    --whatsapp-dark: #128C7E;
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.15);
    --shadow-rose: 0 8px 30px rgba(232, 180, 184, 0.3);
    --radius: 20px;
    --radius-sm: 12px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --font-primary: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background: linear-gradient(160deg, #faf5f7 0%, #f0e8ea 100%);
    min-height: 100vh;
    color: #2d2d44;
}

/* ============================================
   HEADER - DAMA AESTHETIC
   ============================================ */
header {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 50%, #1a1a2e 100%);
    text-align: center;
    padding: 16px 20px;
    font-weight: 600;
    font-size: 14px;
    color: var(--gold);
    letter-spacing: 2px;
    box-shadow: 0 4px 20px rgba(26, 26, 46, 0.15);
    position: sticky;
    top: 0;
    z-index: 100;
    text-transform: uppercase;
    border-bottom: 2px solid var(--accent);
}

header::before {
    content: '✦ ';
    color: var(--accent);
}

header::after {
    content: ' ✦';
    color: var(--accent);
}

header i {
    margin-right: 8px;
    color: var(--gold);
}

/* ============================================
   CONTAINER
   ============================================ */
.container-landing {
    max-width: 1200px;
    margin: 30px auto 50px;
    padding: 0 20px;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   IMÁGENES
   ============================================ */
.main-image {
    border-radius: var(--radius);
    transition: var(--transition);
    border: 3px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, var(--accent), var(--gold)) border-box;
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    padding: 15px;
    background-color: white;
    box-shadow: var(--shadow-rose);
}

.main-image:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 15px 45px rgba(232, 180, 184, 0.4);
}

.thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
}

.thumbs img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border: 3px solid #e8e0e2;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.thumbs img:hover {
    transform: translateY(-5px) scale(1.1);
    border-color: var(--accent-dark);
    box-shadow: var(--shadow-rose);
}

/* ============================================
   TÍTULO Y PRECIO - DAMA AESTHETIC
   ============================================ */
h1 {
    font-size: 42px;
    margin-bottom: 15px;
    text-align: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 40%, #1a1a2e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.price {
    font-size: 36px;
    font-weight: 400;
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    color: #1a1a2e;
}

.shipping-badge {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #1a1a2e;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    animation: pulseGlow 2s infinite;
    letter-spacing: 1px;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 5px rgba(232, 180, 184, 0.3); }
    50% { box-shadow: 0 0 20px rgba(232, 180, 184, 0.5); }
}

/* ============================================
   CARDS - DAMA AESTHETIC
   ============================================ */
.card-producto {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-radius: 28px;
    transition: var(--transition);
    border: 1px solid rgba(232, 180, 184, 0.2) !important;
    box-shadow: var(--shadow-rose);
}

.card-producto:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(232, 180, 184, 0.3);
}

/* ============================================
   OPCIONES (COLORES Y TALLAS) - 2 COLUMNAS EN MÓVIL
   ============================================ */
.options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.options button {
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, #ffffff, #faf5f7);
    border: 2px solid #e8e0e2;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    color: #2d2d44;
    font-size: 14px;
}

.options button:hover {
    transform: translateY(-2px);
    border-color: var(--accent-dark);
    box-shadow: var(--shadow-rose);
}

.options button.selected {
    background: linear-gradient(135deg, #1a1a2e, #2d2d44);
    color: #faf5f7;
    border-color: transparent;
    box-shadow: 0 0 20px rgba(26, 26, 46, 0.25);
    transform: translateY(-2px);
}

.color-preview {
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    margin-right: 8px;
    flex-shrink: 0;
    border: 2px solid rgba(0, 0, 0, 0.08);
}

/* ============================================
   COLORES - 2 COLUMNAS EN MÓVIL
   ============================================ */
#colorOptions {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
}

#colorOptions button {
    width: 100% !important;
    justify-content: flex-start !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border: 2px solid #e8e0e2 !important;
    transition: all 0.3s ease !important;
}

#colorOptions button:hover {
    border-color: var(--accent-dark) !important;
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-rose) !important;
}

#colorOptions button.selected {
    background: linear-gradient(135deg, #1a1a2e, #2d2d44) !important;
    color: #faf5f7 !important;
    border-color: transparent !important;
    box-shadow: 0 0 25px rgba(26, 26, 46, 0.2) !important;
}

/* ============================================
   TALLAS - FILA FLEXIBLE
   ============================================ */
#tallaOptions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    justify-content: center !important;
}

#tallaOptions button {
    min-width: 55px !important;
    text-align: center !important;
    padding: 10px 16px !important;
    font-size: 14px !important;
    border-radius: 25px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border: 2px solid #e8e0e2 !important;
}

#tallaOptions button.selected {
    background: linear-gradient(135deg, #1a1a2e, #2d2d44) !important;
    color: #faf5f7 !important;
    border-color: transparent !important;
}

/* ============================================
   BOTÓN COMPRAR - DAMA AESTHETIC
   ============================================ */
.btn-comprar {
    background: linear-gradient(135deg, #1a1a2e, #2d2d44);
    color: #faf5f7;
    border: none;
    padding: 18px 25px;
    font-weight: 500;
    border-radius: 15px;
    font-size: 18px;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(26, 26, 46, 0.2);
}

.btn-comprar i {
    margin-right: 12px;
    color: var(--gold);
}

.btn-comprar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(232, 180, 184, 0.15);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-comprar:hover::before {
    width: 300px;
    height: 300px;
}

.btn-comprar:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(26, 26, 46, 0.3);
    color: #faf5f7;
}

/* ============================================
   NOTE
   ============================================ */
.note {
    background: linear-gradient(135deg, #faf5f7, #f7ecee);
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid var(--accent);
    font-size: 13px;
    color: #2d2d44;
}

/* ============================================
   WHATSAPP FLOTANTE
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.35);
    animation: pulse 2s infinite;
    transition: var(--transition);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

.whatsapp-float:hover img {
    transform: scale(1.12);
    box-shadow: 0 10px 35px rgba(37, 211, 102, 0.5);
}

/* ============================================
   MODAL DE COMPRA
   ============================================ */
.modal-compra .modal-content {
    border-radius: var(--radius);
    border: none;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.modal-compra .modal-header {
    background: linear-gradient(135deg, #1a1a2e, #2d2d44);
    color: #faf5f7;
    border: none;
    padding: 20px 25px;
}

.modal-compra .modal-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.6;
}

.modal-compra .modal-header .btn-close:hover {
    opacity: 1;
}

.modal-compra .modal-title {
    font-weight: 400;
    font-size: 20px;
    font-family: 'Georgia', 'Times New Roman', serif;
    letter-spacing: 1px;
}

.modal-compra .modal-title small {
    font-weight: 300;
    font-size: 13px;
    opacity: 0.7;
    display: block;
    margin-top: 4px;
    font-family: var(--font-primary);
    letter-spacing: 0;
}

.modal-compra .modal-body {
    padding: 25px;
    max-height: 70vh;
    overflow-y: auto;
    background: #faf5f7;
}

/* Precio en modal */
.modal-compra .precio-modal {
    font-size: 28px;
    font-weight: 400;
    color: #1a1a2e;
    font-family: 'Georgia', 'Times New Roman', serif;
}

/* Opción de pares */
.modal-compra .opcion-pares {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.modal-compra .opcion-pares .btn-pares {
    flex: 1;
    padding: 15px 10px;
    border: 2px solid #e8e0e2;
    border-radius: var(--radius-sm);
    background: white;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.modal-compra .opcion-pares .btn-pares:hover {
    border-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-rose);
}

.modal-compra .opcion-pares .btn-pares.active {
    border-color: #1a1a2e;
    background: #faf5f7;
    box-shadow: 0 0 0 3px rgba(26, 26, 46, 0.1);
}

.modal-compra .opcion-pares .btn-pares .precio-par {
    font-weight: 500;
    color: #1a1a2e;
    font-size: 18px;
}

.modal-compra .opcion-pares .btn-pares .label-par {
    font-size: 13px;
    color: #888;
}

.modal-compra .opcion-pares .btn-pares .ahorro {
    font-size: 12px;
    color: #dc3545;
    font-weight: 500;
    display: block;
    margin-top: 5px;
}

/* Formulario en modal */
.modal-compra .form-label {
    font-weight: 500;
    font-size: 13px;
    margin-bottom: 5px;
    color: #2d2d44;
}

.modal-compra .form-control,
.modal-compra .form-select {
    border-radius: 10px;
    border: 2px solid #e8e0e2;
    padding: 10px 15px;
    transition: var(--transition);
    background: white;
}

.modal-compra .form-control:focus,
.modal-compra .form-select:focus {
    border-color: #1a1a2e;
    box-shadow: 0 0 0 3px rgba(26, 26, 46, 0.08);
}

/* Botón enviar modal */
.modal-compra .btn-enviar-modal {
    background: linear-gradient(135deg, #1a1a2e, #2d2d44);
    color: #faf5f7;
    border: none;
    padding: 14px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    font-size: 17px;
    width: 100%;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.modal-compra .btn-enviar-modal:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(26, 26, 46, 0.25);
    color: #faf5f7;
}

/* ============================================
   CONFIRMACIÓN
   ============================================ */
#textofinal-modal,
#textofinal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 46, 0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.confirmation-content {
    background: white;
    padding: 40px;
    border-radius: 25px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    animation: slideUp 0.5s ease;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.confirmation-content .btn {
    background: linear-gradient(135deg, #1a1a2e, #2d2d44);
    border: none;
    padding: 12px 35px;
    font-weight: 500;
    font-size: 16px;
    transition: var(--transition);
    letter-spacing: 1px;
    color: #faf5f7;
}

.confirmation-content .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(26, 26, 46, 0.25);
    color: #faf5f7;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: linear-gradient(135deg, #1a1a2e, #2d2d44);
    border-top: 2px solid var(--accent);
    padding: 25px 0;
    margin-top: 50px;
}

footer p {
    color: rgba(250, 245, 247, 0.7);
    font-weight: 300;
    letter-spacing: 1px;
}

footer a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 400;
    transition: var(--transition);
}

footer a:hover {
    color: var(--accent);
    text-decoration: underline;
}

/* ============================================
   RESPONSIVE - 2 COLUMNAS EN MÓVIL
   ============================================ */
@media (max-width: 768px) {
    h1 {
        font-size: 30px;
        letter-spacing: 2px;
    }
    
    .price {
        font-size: 26px;
        flex-direction: column;
        gap: 10px;
    }
    
    .shipping-badge {
        font-size: 11px;
        padding: 5px 14px;
    }
    
    /* 🔥 2 COLUMNAS EN MÓVIL */
    #colorOptions {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
    
    #colorOptions button {
        padding: 10px 12px !important;
        font-size: 13px !important;
        border-radius: 12px !important;
    }
    
    #tallaOptions button {
        min-width: 50px !important;
        padding: 8px 14px !important;
        font-size: 13px !important;
    }
    
    .thumbs img {
        width: 55px;
        height: 55px;
    }
    
    .btn-comprar {
        font-size: 15px;
        padding: 14px 20px;
        letter-spacing: 1.5px;
    }
    
    .whatsapp-float img {
        width: 55px;
        height: 55px;
    }
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .modal-compra .opcion-pares {
        flex-direction: column;
        gap: 10px;
    }
    .modal-compra .modal-body {
        padding: 15px;
        max-height: 80vh;
    }
    .modal-compra .precio-modal {
        font-size: 22px;
    }
    .modal-compra .modal-title {
        font-size: 17px;
    }
    .confirmation-content {
        padding: 30px 20px;
    }
    .confirmation-content h2 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 24px;
        letter-spacing: 1.5px;
    }
    
    .price {
        font-size: 22px;
    }
    
    /* 🔥 2 COLUMNAS EN MÓVIL PEQUEÑO */
    #colorOptions {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px !important;
    }
    
    #colorOptions button {
        padding: 8px 10px !important;
        font-size: 12px !important;
        border-radius: 10px !important;
    }
    
    #tallaOptions button {
        min-width: 45px !important;
        padding: 6px 10px !important;
        font-size: 12px !important;
    }
    
    .color-preview {
        width: 18px;
        height: 18px;
    }
    
    .thumbs img {
        width: 45px;
        height: 45px;
    }
    
    .btn-comprar {
        font-size: 13px;
        padding: 12px 16px;
        letter-spacing: 1px;
    }
    
    .whatsapp-float img {
        width: 50px;
        height: 50px;
    }
    .modal-compra .modal-title {
        font-size: 15px;
    }
    .modal-compra .modal-title small {
        font-size: 12px;
    }
}

/* ============================================
   SCROLLBAR PERSONALIZADA - DAMA AESTHETIC
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f0e8ea;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent), var(--accent-dark));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--accent-dark), var(--accent));
}

/* ============================================
   UTILIDADES - DAMA AESTHETIC
   ============================================ */
.text-gradient {
    background: linear-gradient(135deg, #1a1a2e, #2d2d44);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.shadow-custom {
    box-shadow: var(--shadow-rose);
}

.shadow-custom:hover {
    box-shadow: 0 15px 50px rgba(232, 180, 184, 0.3);
}

/* ============================================
   BADGE DE ESTRELLAS - DAMA AESTHETIC
   ============================================ */
.star-rating {
    color: var(--gold);
    letter-spacing: 2px;
}

/* ============================================
   BENEFICIOS - DAMA AESTHETIC
   ============================================ */
.benefits-list li {
    padding: 6px 0;
    border-bottom: 1px solid rgba(232, 180, 184, 0.15);
}

.benefits-list li:last-child {
    border-bottom: none;
}

.benefits-list i {
    color: var(--accent-dark);
    width: 24px;
}