/* ========================================
   MEJORAS SUTILES UI/UX - Fajas Íntimos
   APLICACIÓN SEGURA: Añadir DESPUÉS de styles.css
   ======================================== */

/* Estas mejoras NO rompen nada, solo refinan el diseño existente */

/* ========================================
   1. MEJORAS DE SOMBRAS (Más profundidad)
   ======================================== */

.product-card {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
}

.product-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15), 0 6px 16px rgba(0, 0, 0, 0.08);
}

.testimonial-card {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.10), 0 3px 10px rgba(0, 0, 0, 0.05);
}

.testimonial-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15), 0 6px 16px rgba(0, 0, 0, 0.08);
}

.category-card {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.10), 0 3px 10px rgba(0, 0, 0, 0.05);
}

.category-card:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18), 0 8px 20px rgba(0, 0, 0, 0.10);
}

/* ========================================
   2. MEJORAS DE HOVER (Más feedback)
   ======================================== */

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(185, 22, 89, 0.35);
}

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

.btn--secondary:hover {
    transform: translateY(-1px);
}

.product-card:hover {
    transform: translateY(-6px);
}

.benefit-card:hover {
    transform: translateY(-4px);
}

/* ========================================
   3. MEJORAS DE SPACING (Más respiro)
   ======================================== */

.section {
    padding: 5rem 0;
}

@media (max-width: 768px) {
    .section {
        padding: 3.5rem 0;
    }
}

.section__header {
    margin-bottom: 4rem;
}

.products__grid,
.categories__grid,
.benefits__grid {
    gap: 2rem;
}

/* ========================================
   4. MEJORAS DE TIPOGRAFÍA (Mejor legibilidad)
   ======================================== */

body {
    line-height: 1.65;
}

.hero__title {
    line-height: 1.15;
    letter-spacing: -0.02em;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.hero__subtitle {
    line-height: 1.7;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.section__title {
    letter-spacing: -0.015em;
}

.testimonial-card__quote {
    line-height: 1.75;
}

/* ========================================
   5. MEJORAS DE BORDER RADIUS (Más suave)
   ======================================== */

.product-card,
.category-card,
.benefit-card {
    border-radius: 16px;
}

.testimonial-card {
    border-radius: 20px;
}

.hero__image-main {
    border-radius: 16px;
}

/* ========================================
   6. MEJORAS DE ANIMACIONES (Más suaves)
   ======================================== */

.hero__title,
.hero__subtitle,
.hero__benefits,
.hero__buttons,
.hero__trust,
.hero__image {
    animation-duration: 0.8s;
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__title {
    animation-delay: 0.1s;
}

.hero__subtitle {
    animation-delay: 0.25s;
}

.hero__benefits {
    animation-delay: 0.4s;
}

.hero__buttons {
    animation-delay: 0.55s;
}

.hero__trust {
    animation-delay: 0.7s;
}

.hero__image {
    animation-delay: 0.35s;
}

/* ========================================
   7. MEJORAS DE TRUST BAR
   ======================================== */

.trust-bar__item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trust-bar__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

/* ========================================
   8. MEJORAS DE BENEFICIOS
   ======================================== */

.hero__benefit {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    padding: 0.875rem 1.25rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.hero__benefit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10);
    background-color: rgba(255, 255, 255, 0.95);
}

/* ========================================
   9. MEJORAS DE NEWSLETTER
   ======================================== */

.newsletter__input {
    border-radius: 10px;
    border: 2px solid var(--color-grey-200);
    transition: all 0.3s ease;
}

.newsletter__input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(231, 29, 115, 0.1);
}

/* ========================================
   10. MEJORAS DE FOOTER
   ======================================== */

.footer__social a {
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
}

.footer__social a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* ========================================
   11. MEJORAS DE NAVEGACIÓN
   ======================================== */

.nav__icon {
    border-radius: 8px;
    padding: 8px;
    transition: all 0.2s ease;
}

.nav__icon:hover {
    background-color: rgba(231, 29, 115, 0.08);
}

.nav__link::after {
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   12. MEJORAS DE WHATSAPP FLOAT
   ======================================== */

.whatsapp-float {
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(0);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.7);
}

/* ========================================
   13. MEJORAS DE ACCESIBILIDAD
   ======================================== */

/* Focus visible para teclado */
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Mejor contraste en links */
.nav__link:focus-visible {
    color: var(--color-primary-dark);
}

/* ========================================
   14. MEJORAS RESPONSIVE MOBILE
   ======================================== */

@media (max-width: 576px) {
    /* Mejor spacing en mobile */
    .hero {
        padding: 3rem 0 2.5rem;
    }

    .section {
        padding: 3rem 0;
    }

    /* Títulos más legibles */
    .hero__title {
        font-size: 1.875rem;
        line-height: 1.2;
        -webkit-text-size-adjust: 100%;
        -moz-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    /* Mejor spacing en grids */
    .products__grid,
    .categories__grid,
    .testimonials__slider {
        gap: 1.5rem;
    }

    /* Cards más compactas pero elegantes */
    .product-card__info,
    .testimonial-card {
        padding: 1.25rem;
    }

    /* Trust bar más compacto */
    .trust-bar__grid {
        gap: 1rem;
    }

    .trust-bar__number {
        font-size: 1.75rem;
    }

    /* Newsletter más usable */
    .newsletter__form {
        gap: 0.75rem;
    }

    .newsletter__input,
    .btn {
        font-size: 1rem;
    }
}

/* ========================================
   15. OPTIMIZACIÓN DE PERFORMANCE
   ======================================== */

/* Optimizar animaciones para GPU */
.product-card,
.category-card,
.testimonial-card,
.benefit-card,
.btn {
    will-change: transform;
}

/* Smooth scroll mejorado */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========================================
   16. MEJORAS SUTILES DE COLOR
   ======================================== */

/* Gradiente sutil en hero */
.hero {
    background: linear-gradient(135deg, #FAF7F4 0%, #FFFDFB 100%);
}

/* Sombra de color en primary buttons */
.btn--primary {
    box-shadow: 0 4px 12px rgba(185, 22, 89, 0.20);
}

/* ========================================
   17. MEJORAS DE PRODUCT CARDS
   ======================================== */

.product-card__wishlist {
    backdrop-filter: blur(8px);
    transition: all 0.2s ease;
}

.product-card__wishlist:hover {
    background-color: rgba(231, 29, 115, 0.1);
    transform: scale(1.1);
}

.product-card__badge {
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* ========================================
   18. MEJORAS DE CATEGORY CARDS
   ======================================== */

.category-card__cta {
    transition: all 0.3s ease;
}

.category-card:hover .category-card__cta {
    transform: translateX(6px);
}

/* ========================================
   19. MEJORAS DE TESTIMONIALS
   ======================================== */

.testimonial-card__verified {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.testimonial-card__avatar {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
}

/* ========================================
   20. TRANSICIONES GLOBALES MEJORADAS
   ======================================== */

* {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

a, button {
    transition-duration: 0.2s;
}

/* ========================================
   FIN DE MEJORAS SUTILES

   NOTA: Estas mejoras son 100% compatibles
   con tu HTML existente y no rompen nada.
   Solo refinan y mejoran la experiencia.
   ======================================== */
