/* ========================= */
/* 🌸 IMPORTAR FUENTES */
/* ========================= */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Quicksand:wght@300;500;700&display=swap');

/* ========================= */
/* 🌸 VARIABLES GLOBALES */
/* ========================= */
:root {
    --color-primary: #ff5fa2;
    --color-primary-dark: #ff2f7a;
    --color-secondary: #c71585;
    --color-gradient-start: #ffd6e8;
    --color-gradient-end: #ffbcd9;
    --color-bg-light: #fff5fb;
    --color-text-dark: #333333;
    --color-text-soft: #555555;
    --color-white: #ffffff;
    --shadow-soft: 0 10px 30px rgba(255, 95, 162, 0.15);
    --shadow-hover: 0 15px 35px rgba(255, 47, 122, 0.25);
    --border-radius-card: 20px;
    --border-radius-button: 40px;
    --transition-smooth: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

/* ========================= */
/* 🌸 GENERAL */
/* ========================= */

body {
    font-family: 'Quicksand', sans-serif;
    background: linear-gradient(135deg, var(--color-bg-light), #fff0f5);
    color: var(--color-text-dark);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* ========================= */
/* 🌸 NAVBAR */
/* ========================= */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 60px;
    background: linear-gradient(90deg, var(--color-gradient-start), var(--color-gradient-end));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.navbar:hover {
    background: rgba(255, 214, 232, 0.95);
    box-shadow: var(--shadow-hover);
}

.navbar-left {
    display: flex;
    align-items: center; /* centra verticalmente */
    gap: 15px; /* espacio entre logo y texto */
}

.logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: none;
    box-shadow: 0 5px 15px rgba(255, 95, 162, 0.3);
    transition: var(--transition-smooth);
}

.logo:hover {
    transform: scale(1.05) rotate(5deg);
    border-color: var(--color-primary);
}

.brand-text h1 {
    font-size: 32px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.brand-text span {
    font-size: 18px;
    color: var(--color-text-soft);
    font-weight: 500;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.brand-text span::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transition: width 0.3s ease;
}

.brand-text:hover span::after {
    width: 100%;
}

/* ========================= */
/* 🌸 MENÚ DESKTOP */
/* ========================= */

.navbar-menu {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
}

.navbar-menu a {
    color: var(--color-text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    position: relative;
    padding: 5px 0;
    transition: var(--transition-smooth);
}

.navbar-menu a::before {
    content: '💖';
    position: absolute;
    left: 50%;
    top: -20px;
    transform: translateX(-50%) scale(0);
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 14px;
}

.navbar-menu a:hover {
    color: var(--color-primary);
}

.navbar-menu a:hover::before {
    transform: translateX(-50%) scale(1);
    opacity: 1;
    top: -25px;
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transition: width 0.3s ease;
}

.navbar-menu a:hover::after {
    width: 100%;
}

/* ========================= */
/* 🌸 BOTÓN HAMBURGUESA */
/* ========================= */

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 35px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    width: 100%;
    height: 4px;
    background: var(--color-primary);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ========================= */
/* 🌸 MENÚ MÓVIL */
/* ========================= */

.mobile-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100px;
    right: 20px;
    background: rgba(51, 51, 51, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
    width: 220px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

.mobile-menu:not(.hidden) {
    display: flex;
}

.mobile-menu.hidden {
    display: none !important;
}

.mobile-menu a {
    color: white;
    text-decoration: none;
    padding: 12px 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 600;
}

/* ========================= */
/* 💖 POPUP PROMOCIONAL */
/* ========================= */

body.promo-open {
    overflow: hidden;
}

.promo-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 18px;
}

.promo-modal.is-open {
    display: flex;
}

.promo-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.promo-dialog {
    position: relative;
    width: min(92vw, 520px);
    max-height: calc(100vh - 36px);
    display: flex;
    flex-direction: column;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.55);
    animation: promoPop 0.28s ease-out;
}

@keyframes promoPop {
    from { transform: translateY(10px) scale(0.98); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.promo-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 26px;
    line-height: 1;
    display: grid;
    place-items: center;
    z-index: 2;
    transition: transform 0.18s ease, background 0.18s ease;
}

.promo-close:hover {
    transform: scale(1.04);
    background: rgba(0, 0, 0, 0.7);
}

.promo-media img {
    width: 100%;
    height: auto;
    max-height: 55vh; /* celular */
    object-fit: contain;
    display: block;
}

/* PC / tablet: imagen un poco más grande */
@media (min-width: 768px) {
    .promo-media img {
        max-height: 65vh;
    }
}

/* ↓ Ajuste: menos espacio en "Oferta especial" */
.promo-content {
    padding: 10px 16px 12px; /* antes 16/18/18 */
    text-align: center;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex: 0 0 auto;
    min-height: 0;
}

.promo-content h3 {
    margin: 4px 0 4px; /* menos margen */
    font-size: 1.35rem; /* un pelín menor */
    color: #6b1f4d;
    line-height: 1.15;
}

.promo-content p {
    margin: 0 0 10px; /* menos espacio abajo */
    color: var(--color-text-soft);
    font-weight: 500;
    line-height: 1.25;
}

.promo-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2px; /* compacta */
}

.promo-cta,
.promo-secondary {
    border-radius: 999px;
    padding: 10px 14px; /* botones un poco más compactos */
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.promo-cta {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff;
    box-shadow: 0 10px 22px rgba(255, 47, 122, 0.22);
}

.promo-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(255, 47, 122, 0.28);
}

.promo-secondary {
    border: 2px solid rgba(199, 21, 133, 0.25);
    background: rgba(255, 255, 255, 0.92);
    color: #7a2a58;
}

.promo-secondary:hover {
    transform: translateY(-2px);
    border-color: rgba(199, 21, 133, 0.38);
}

.mobile-menu a:hover {
    background: rgba(255, 95, 162, 0.3);
    transform: translateX(10px);
}


/* ========================= */
/* 🌸 HERO SECTION */
/* ========================= */

.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #f3c1cf 0%, #eaa9bc 50%, #de8fa7 100%);
    border-radius: 40px;
    margin: 20px 40px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.3) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 40px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 40px;
    
    animation: fadeInUp 1s ease;
}

.hero h2 {
    font-size: 56px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 20px;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================= */
/* 🌸 NOVEDADES */
/* ========================= */

.novedades {
    padding: 60px 40px;
    text-align: center;
}

.novedades h3 {
    font-size: 42px;
    color: var(--color-text-dark);
    margin-bottom: 30px;
}

.novedades ul {
    list-style: none;
    padding: 0;
    max-width: 600px;
    margin: 0 auto;
}

.novedades ul li {
    font-size: 18px;
    color: var(--color-text-soft);
    padding: 15px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: var(--transition-smooth);
}

.novedades ul li:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.8);
    color: var(--color-primary);
}

.frase {
    font-size: 24px;
    font-family: 'Playfair Display', serif;
    color: var(--color-primary);
    margin-top: 40px;
    font-style: italic;
    position: relative;
    display: inline-block;
    padding: 0 20px;
}

.frase::before,
.frase::after {
    content: '"';
    font-size: 40px;
    color: var(--color-primary);
    opacity: 0.5;
    position: absolute;
}

.frase::before {
    left: -20px;
    top: -10px;
}

.frase::after {
    right: -20px;
    bottom: -10px;
    transform: rotate(180deg);
}

/* ========================= */
/* 🌸 BOTÓN VER CATÁLOGO */
/* ========================= */

.btn-catalogo {
    display: inline-block;
    margin-top: 30px;
    padding: 16px 35px;
    background: transparent; /* Quitamos el degradado */
    color: white; /* Rosa elegante */
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    border-radius: var(--border-radius-button);
    transition: var(--transition-smooth);
    border: 2px solid #c25578; /* Contorno */
    box-shadow: none; /* Quitamos sombra fuerte */
}

.btn-catalogo::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 ease;
}

.btn-catalogo:hover::before {
    left: 100%;
}

.btn-catalogo:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(255, 47, 122, 0.5);
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
}

/* ========================= */
/* 🌸 FOOTER */
/* ========================= */

footer {
    text-align: center;
    padding: 30px;
    background: linear-gradient(90deg, var(--color-gradient-start), var(--color-gradient-end));
    color: var(--color-text-dark);
    font-size: 16px;
    margin-top: 60px;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '💖';
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 50px;
    opacity: 0.1;
    animation: float 3s ease-in-out infinite;
}

footer p {
    position: relative;
    z-index: 1;
    font-weight: 500;
    letter-spacing: 1px;
}

/* ========================= */
/* 🌸 ANIMACIONES */
/* ========================= */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

/* ========================= */
/* 📱 RESPONSIVE - SOLO CAMBIOS EN CELULAR */
/* ========================= */

@media (max-width: 968px) {
    .hero h2 {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    /* Navbar */
    .navbar {
        padding: 8px 15px;
    }
    
    .logo {
        width: 60px;
        height: 60px;
    }
    
    .brand-text h1 {
        font-size: 30px;
    }
    
    .brand-text span {
        font-size: 15px;
    }
    
    .navbar-menu {
        display: none !important;
    }
    
    .hamburger {
        display: flex !important;
    }
    
    /* ===== HERO SECTION - SOLUCIÓN DIRECTA ===== */
    .hero {
        margin: 10px !important;
        min-height: auto !important;
        padding: 30px 0 !important;
        display: flex !important;
        align-items: center !important;
        border-radius: 30px !important;
    }
    
    .hero-content {
        padding: 30px 20px !important;
        margin: 0 10px !important;
        width: calc(100% - 20px) !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    /* Títulos y textos con espaciado mejorado */
    .hero h2 {
        font-size: 32px !important;
        margin: 0 0 15px 0 !important;
        line-height: 1.3 !important;
        color: white !important;
    }
    
    .hero p {
        font-size: 18px !important;
        margin: 0 0 12px 0 !important;
        line-height: 1.5 !important;
        color: white !important;
        max-width: 100% !important;
    }
    
    /* El último párrafo tiene menos margen */
    .hero p:last-of-type {
        margin-bottom: 5px !important;
    }
    
    /* Botón - AHORA SÍ DEBAJO */
    .btn-catalogo {
        display: inline-block !important;
        margin: 20px auto 5px auto !important; /* Centrado horizontal */
        padding: 14px 30px !important;
        font-size: 18px !important;
        width: auto !important;
        min-width: 200px !important;
        text-align: center !important;
        position: relative !important;
        order: 10 !important; /* Forzar que esté al final */
    }
    
    /* Novedades */
    .novedades {
        padding: 40px 15px !important;
    }
    
    .novedades h3 {
        font-size: 28px !important;
        margin-bottom: 20px !important;
    }
    
    .novedades ul li {
        font-size: 16px !important;
        padding: 12px !important;
        margin-bottom: 10px !important;
        text-align: center !important;
    }
    
    .frase {
        font-size: 18px !important;
        margin-top: 30px !important;
        padding: 0 15px !important;
    }
    
    footer {
        padding: 18px !important;
        font-size: 15px !important;
        margin-top: 30px !important;
    }
}

/* ========================= */
/* 📱 CELULARES PEQUEÑOS */
/* ========================= */
@media (max-width: 380px) {
    .hero h2 {
        font-size: 28px !important;
    }
    
    .hero p {
        font-size: 16px !important;
    }
    
    .btn-catalogo {
        padding: 12px 25px !important;
        font-size: 16px !important;
        min-width: 180px !important;
    }
}

/* ========================= */
/* 💗 BLOQUE "¿CÓMO COMPRAR?" */
/* ========================= */

.como-comprar{
    margin: 30px 40px;
    padding: 50px 35px;
    background: rgba(255,255,255,0.55);
    border-radius: 30px;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 95, 162, 0.18);
    text-align: center;
}

.como-comprar h3{
    font-size: 40px;
    margin: 0 0 14px 0;
    color: var(--color-text-dark);
}

.como-sub{
    max-width: 820px;
    margin: 0 auto 22px auto;
    color: var(--color-text-soft);
    font-size: 18px;
}

/* Video ligero (click-to-play) */
.yt-lite{
    position: relative;
    width: min(420px, 100%);
    margin: 18px auto 24px auto;
    border-radius: 22px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
    border: 1px solid rgba(0,0,0,0.08);
}

/* Vertical 9:16 */
.yt-lite.yt-vertical{
    aspect-ratio: 9 / 16;
}

/* Thumbnail de YouTube */
.yt-lite::before{
    content:"";
    position:absolute;
    inset:0;
    background: url("https://i.ytimg.com/vi/IOc8ibG-SsU/hqdefault.jpg") center/cover no-repeat;
    filter: saturate(1.05);
    transform: scale(1.02);
}

/* Oscurecer un poquito para que el botón destaque */
.yt-lite::after{
    content:"";
    position:absolute;
    inset:0;
    background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0.05));
}

/* Botón play */
.yt-lite__btn{
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 2;
    padding: 14px 16px;
    border: none;
    border-radius: 999px;
    font-weight: 900;
    font-size: 16px;
    cursor: pointer;
    background: rgba(255,255,255,0.92);
    color: #4b2b3a;
    transition: var(--transition-smooth);
}

.yt-lite__btn:hover{
    transform: translateY(-2px);
    background: white;
    box-shadow: 0 15px 35px rgba(255, 47, 122, 0.25);
}

/* Iframe cuando se carga */
.yt-lite iframe{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    z-index: 3;
}

/* Pasos */
.como-pasos{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 980px;
    margin: 18px auto 0 auto;
}

.paso{
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(255, 95, 162, 0.16);
    border-radius: 20px;
    padding: 16px 14px;
    box-shadow: 0 10px 24px rgba(255, 95, 162, 0.08);
}

.paso-num{
    display: inline-flex;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: white;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    margin-bottom: 10px;
}

.paso p{
    margin: 0;
    color: var(--color-text-soft);
    font-weight: 600;
}



/* Responsive */
@media (max-width: 768px){
    .como-comprar{
        margin: 18px 10px;
        padding: 34px 18px;
        border-radius: 26px;
    }

    .como-comprar h3{
        font-size: 28px;
    }

    .como-sub{
        font-size: 16px;
    }

    .como-pasos{
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .yt-lite{
        width: min(360px, 100%);
        border-radius: 18px;
    }
}
