/* 
   AD Beauty Experience - Shopify-Inspired Ecommerce Styles
   Theme: Minimalist, Premium, High-Conversion
*/

:root {
    /* ── Paleta Principal (sincronizada con index.html / styles.css) ── */

    /* Rose Gold */
    --brand-rose-gold-light: #E8B4B8;
    --brand-rose-gold: #D4A5A5;
    --brand-rose-gold-dark: #C89595;

    /* Gold */
    --brand-gold-light: #FFD700;
    --brand-gold: #D4AF37;
    --brand-gold-dark: #B8941F;

    /* Negros y Neutros */
    --brand-black: #1a1a1a;
    --brand-black-soft: #2d2d2d;
    --brand-gray-dark: #4a4a4a;
    --brand-gray: #6a6a6a;
    --brand-gray-light: #e5e5e5;
    --brand-white: #ffffff;

    /* Fondo de página (igual que index.html) */
    --brand-bg-page: #ffffff;

    /* Gradientes (mismos que styles.css) */
    --gradient-rose-gold: linear-gradient(135deg, var(--brand-rose-gold-light) 0%, var(--brand-rose-gold-dark) 100%);
    --gradient-gold: linear-gradient(135deg, var(--brand-gold-light) 0%, var(--brand-gold-dark) 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(212, 165, 165, 0.9) 0%, rgba(212, 175, 55, 0.9) 100%);

    /* Sombras (matching styles.css) */
    --shadow-sm: 0 2px 8px rgba(212, 165, 165, 0.12);
    --shadow-md: 0 4px 16px rgba(212, 165, 165, 0.22);
    --shadow-lg: 0 8px 32px rgba(212, 165, 165, 0.32);
    --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.3);

    /* Tipografías */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;

    /* Layout */
    --container-width: 1300px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.ecommerce-page {
    padding-top: 100px; /* Adjusted spacer for new 10px navbar top */
}

html {
    overflow-y: scroll;
    scrollbar-gutter: stable; /* Previene el salto de la página al ocultar scroll */
}

body {
    font-family: var(--font-body);
    color: var(--brand-black);
    background-color: var(--brand-bg-page);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    scrollbar-gutter: stable;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

body.vender-locked {
    overflow: hidden;
    background-color: #fff;
}

body.vender-locked > *:not(#auth-modal):not(#alert-modal) {
    display: none !important;
}

body.vender-locked #auth-modal {
    background: #fff;
    backdrop-filter: none;
    z-index: 10000;
}

body.vender-locked .auth-modal {
    box-shadow: none;
    max-width: 450px;
    width: 90%;
    padding: 3rem 1.5rem;
}

@media (max-width: 480px) {
    body.vender-locked .auth-modal {
        padding: 2rem 1rem;
        max-width: 95%;
    }
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Announcement Bar */
.announcement-bar {
    background-color: var(--brand-black);
    color: var(--brand-white);
    text-align: center;
    padding: 10px 0;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: none;
    /* Hidden by default, JS will show it if configured */
}

/* Navigation (Pill-shaped design matching index.html vibe but keeping shop colors) */
.shop-nav {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 95vw;
    max-width: 1400px;
    background: #ffffff;
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    z-index: 12000;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.6rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem 0 2rem;
    min-height: 50px;
}

.logo {
    width: 150px;
    /* Ancho fijo para que no se mueva */
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
    display: block;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-left: 3.5rem; /* Separación fija del logo */
    margin-right: auto;   /* Empuja todo el resto a la derecha */
}

.nav-links li a {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--brand-black);
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.3s;
}

.nav-links li a:hover {
    color: var(--brand-rose-gold);
}

.heart-brand {
    color: var(--brand-rose-gold);
    margin-left: 6px;
    font-size: 1.4em;
    display: inline-block;
    vertical-align: middle;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    filter: drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.15));
    transition: var(--transition);
}

.nav-item:hover .heart-brand {
    transform: scale(1.15);
}



.nav-icons {
    margin-left: auto;
    /* Empuja los iconos a la derecha */
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-icons a {
    display: flex;
    align-items: center;
    color: var(--brand-black);
}

.nav-icons a:hover {
    color: var(--brand-rose-gold);
}

.mega-dropdown {
    position: static;
    /* Required for full-width mega menu */
}

.mega-menu {
    position: absolute;
    top: calc(100% + 15px); /* Adjusted for pill shape */
    left: 2.5%;
    width: 95%;
    background: #fff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    padding: 2rem 0;
    border-radius: 20px;
    border: 1px solid #eee;
}

.mega-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
}

.mega-menu-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1.2rem;
}

.mega-menu-arrows {
    display: flex;
    gap: 0.8rem;
}

/* Mega Menu V2 (Categories) */
.mega-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr) 1.5fr;
    gap: 3rem;
    padding: 2rem 0;
}

.mega-title-v2 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand-rose-gold);
    /* Soft blue color for headers */
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.mega-list-v2 {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.mega-list-v2 li a {
    font-size: 0.9rem;
    color: #444;
    transition: var(--transition);
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
}

.mega-list-v2 li a:hover {
    color: var(--brand-rose-gold);
    padding-left: 5px;
}

/* Featured Boxes */
.mega-featured-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.featured-brand-box {
    display: flex;
    height: 150px;
    background: #f8f8f8;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.featured-brand-box:hover {
    background: #f0f0f0;
    transform: translateY(-5px);
}

.featured-brand-info {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 0.9rem;
}

.featured-brand-image {
    flex: 1.5;
    overflow: hidden;
}

.featured-brand-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.featured-brand-box:hover img {
    transform: scale(1.1);
}

.mega-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
    background: #fdfdfd;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
    line-height: 1;
}

.mega-arrow:hover {
    background: var(--brand-black);
    color: #fff;
    border-color: var(--brand-black);
}

.mega-menu-content {
    max-width: 800px;
    margin: 0 auto;
}

.brands-grid {
    display: flex;
    scroll-behavior: smooth;
    overflow-x: auto;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE 10+ */
    gap: 0;
}

.brands-grid::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

/* Minimalist Premium Brands */
.brand-item-premium {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.6rem;
    padding: 0.8rem;
    cursor: pointer;
    transition: all 0.4s ease;
    flex: 0 0 25%;
    /* Exactly 4 brands per view */
    max-width: 25%;
}

.brand-symbol {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 35px;
    width: 35px;
}

.brand-symbol.circle,
.brand-symbol.square {
    width: 35px;
    height: 35px;
    border: 1px solid #eee;
    overflow: hidden;
    padding: 5px;
    background: #fff;
}

.brand-symbol.circle {
    border-radius: 50%;
}

.brand-symbol.square {
    border-radius: 4px;
}

.brand-symbol img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.brand-symbol.underline {
    border-bottom: 2px solid #333;
    padding-bottom: 4px;
    font-weight: 700;
    width: auto;
}

.brand-title-premium {
    font-family: 'Playfair Display', serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #333;
    margin: 0;
}

.brand-subtitle-premium {
    font-size: 0.45rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: #999;
    text-transform: uppercase;
    line-height: 1.5;
    margin: 0;
}

.brand-item-premium:hover {
    transform: translateY(-5px);
}

.brand-item-premium:hover .brand-title-premium {
    color: var(--brand-rose-gold);
}

.nav-icons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    padding-right: 1.5rem;
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: var(--brand-black);
    color: #fff;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Section */
.shop-hero {
    background-color: var(--brand-gray-light);
    padding: 6rem 0;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

.badge {
    display: inline-block;
    background: var(--gradient-rose-gold);
    color: #fff;
    padding: 4px 16px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-text h1 span {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--brand-gray-dark);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 1rem 2.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.btn-dark {
    background-color: var(--brand-black);
    color: #fff;
    transition: var(--transition);
}

.btn-dark:hover {
    background: var(--gradient-rose-gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    border: 2px solid var(--brand-black);
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--gradient-rose-gold);
    border-color: transparent;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.hero-image {
    position: relative;
}

.floating-img {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 20px 20px 0px var(--brand-rose-gold), var(--shadow-lg);
    transition: var(--transition);
}

.floating-img:hover {
    transform: translateY(-6px);
    box-shadow: 28px 28px 0px var(--brand-rose-gold-dark), var(--shadow-lg);
}

/* Features */
.features {
    padding: 4rem 0;
    border-bottom: 1px solid #eee;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--brand-gray-dark);
}

/* Product Listing */
.product-listing {
    padding: 6rem 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
}

.view-all {
    font-weight: 600;
    border-bottom: 2px solid var(--brand-rose-gold);
    padding-bottom: 2px;
    transition: var(--transition);
}

.view-all:hover {
    color: var(--brand-rose-gold-dark);
    border-color: var(--brand-gold);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding-bottom: 4rem;
}

.product-card {
    position: relative;
    cursor: pointer;
}

.product-image {
    position: relative;
    background-color: var(--brand-gray-light);
    aspect-ratio: 1/1;
    overflow: hidden;
    margin-bottom: 1rem;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #fff;
    transition: transform 0.8s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

/* Out of Stock Overlay */
.out-of-stock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    pointer-events: none;
    backdrop-filter: grayscale(80%);
}

.out-of-stock-badge {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.8rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: rotate(-15deg);
    border: 2px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.product-card.no-stock {
    filter: saturate(0.5);
}

.product-card.no-stock .quick-add {
    display: none;
}

.sale-tag,
.new-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--gradient-rose-gold);
    color: #fff;
    padding: 3px 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 3px;
    box-shadow: var(--shadow-sm);
}

.new-tag {
    background: var(--gradient-gold);
    color: var(--brand-black);
}

.quick-add {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.product-card:hover .quick-add {
    transform: translateY(0);
}

.quick-add button {
    width: 100%;
    padding: 0.8rem;
    background: var(--brand-black);
    color: #fff;
    border: none;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.product-brand {
    font-size: 0.75rem;
    color: var(--brand-gold);
    margin-bottom: 0.3rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    height: 3.2rem;
    line-height: 1.2rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-price {
    display: flex;
    gap: 0.8rem;
    font-weight: 700;
}

.old-price {
    text-decoration: line-through;
    color: #999;
}

.current-price {
    background: var(--gradient-rose-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Newsletter */
.newsletter {
    background: linear-gradient(135deg, var(--brand-bg-page) 0%, rgba(212, 165, 165, 0.12) 100%);
    padding: 6rem 0;
    text-align: center;
}

.newsletter-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter-content p {
    color: var(--brand-gray-dark);
    margin-bottom: 2.5rem;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.newsletter-form button {
    padding: 1rem 2rem;
    background: var(--gradient-rose-gold);
    color: #fff;
    border: none;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--brand-black);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* Footer */
.shop-footer {
    background: #fff;
    padding: 6rem 0 2rem;
    border-top: 1px solid #eee;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.footer-col p {
    color: var(--brand-gray-dark);
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: var(--brand-gray-dark);
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: var(--brand-rose-gold);
}

.footer-bottom {
    border-top: 1px solid #eee;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.8rem;
    color: #999;
}

/* Mobile Toggle Hidden on Desktop */
.mobile-nav-toggle {
    display: none;
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .shop-nav {
        width: 94%;
        top: 10px;
        padding: 0.5rem 0;
        border-radius: 50px;
    }

    .nav-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 1.5rem;
        min-height: 45px;
    }

    .mobile-nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 30px;
        height: 30px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1001;
        padding: 0;
        order: -1;
    }

    .mobile-nav-toggle span {
        width: 20px;
        height: 2px;
        background-color: var(--brand-black);
        transition: all 0.3s ease;
    }

    .logo {
        flex: 1;
        display: flex;
        justify-content: center;
    }

    .logo img {
        height: 35px;
    }

    .nav-icons {
        flex: 0;
        display: flex;
        justify-content: flex-end;
        padding-right: 0;
    }

    .mobile-nav-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-nav-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    body.nav-active {
        overflow: hidden !important;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        padding: 6rem 2.5rem;
        gap: 1.5rem;
        transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: 15px 0 45px rgba(0, 0, 0, 0.15);
        z-index: 1000;
        align-items: flex-start;
        overflow-y: auto;
        opacity: 0;
    }

    .nav-links.active {
        left: 0;
        opacity: 1;
    }

    .mega-dropdown {
        width: 100%;
    }

    .mega-menu {
        position: relative;
        top: 0;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        padding: 0;
        display: none;
        border: none;
        width: 100%;
    }

    .mega-dropdown:hover .mega-menu,
    .mega-dropdown.active .mega-menu {
        display: block;
    }

    .mega-menu-content {
        max-width: 100%;
        padding: 0;
        margin: 0;
    }

    .mega-grid-v2 {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem 1rem;
    }

    .mega-featured-col {
        display: none;
        /* Hide featured boxes on mobile to save space */
    }

    .mega-menu-header {
        margin-bottom: 0.5rem;
    }

    .brand-item-premium {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        padding: 0.5rem;
    }

    .brand-title-premium {
        font-size: 0.95rem;
    }

    .brand-subtitle-premium {
        font-size: 0.5rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .quick-add {
        position: static;
        transform: none !important;
        padding: 0.6rem 0.5rem;
        background: #fdfdfd; 
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        border-top: 1px solid #eee;
    }

    .quick-add button {
        padding: 0.75rem;
        font-size: 0.75rem;
        border-radius: 50px;
        letter-spacing: 0.8px;
        background: var(--brand-black);
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .product-card {
        background: #fff;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: var(--shadow-sm);
        display: flex;
        flex-direction: column;
    }

    .product-image {
        margin-bottom: 0;
    }

    .product-info {
        padding: 0.8rem;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }

    .product-title {
        font-size: 0.85rem;
        height: 3.6rem; /* Incrementado de 2.2rem para permitir 2-3 líneas sin solapar */
        line-height: 1.2rem;
        margin-bottom: 0.5rem;
        -webkit-line-clamp: 3; /* Permitir una línea más para nombres largos */
        line-clamp: 3;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Upcoming Modal Styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    /* Darker backdrop for focus */
    backdrop-filter: blur(10px);
    /* Premium glassmorphism touch */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    /* Above nav which is 1000 */
    padding: 20px;
}

.modal-content {
    background: #fff;
    padding: 4rem 3rem;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), var(--shadow-lg);
    border-top: 5px solid transparent;
    background-clip: padding-box;
    background-image: linear-gradient(#fff, #fff), var(--gradient-rose-gold);
    background-origin: border-box;
    border-top: 5px solid var(--brand-rose-gold-light);
    animation: modalAppear 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-logo {
    height: 60px;
    margin-bottom: 2rem;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: 4px;
    color: var(--brand-black);
    margin-bottom: 1.5rem;
    line-height: 1;
}

.modal-text {
    font-size: 1.1rem;
    color: var(--brand-gray-dark);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.modal-accent {
    width: 60px;
    height: 3px;
    background: var(--gradient-rose-gold);
    margin: 0 auto;
    border-radius: 2px;
}

/* Prevent scrolling while modal is open */
body.modal-open {
    overflow: hidden;
}

/* --- NEW HOME PAGE DESIGN --- */

/* Hero Slider */
.shop-hero-v2 {
    height: 80vh;
    background: url('https://images.unsplash.com/photo-1595475253541-714088463851?q=80&w=2000') no-repeat center center/cover;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    border-radius: 30px;
}


.hero-overlay-v2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.9) 30%, transparent 70%);
}

.hero-content-v2 {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding-left: 5%;
}

.hero-content-v2 h2 {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.hero-content-v2 .promo-title {
    font-family: var(--font-heading);
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 1rem;
    color: #333;
}

.hero-content-v2 .promo-sub {
    font-size: 1rem;
    color: #666;
    margin-bottom: 2.5rem;
}

.hero-btn-v2 {
    display: inline-block;
    background: var(--brand-black);
    color: #fff;
    padding: 1.2rem 3.5rem;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.hero-btn-v2:hover {
    background: var(--gradient-rose-gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Home Section Titles */
.home-section-header {
    text-align: center;
    padding: 4rem 1rem 3rem;
}

.home-section-header h2 {
    font-family: var(--font-body);
    font-size: 1.4rem;
    font-weight: 500;
    color: #444;
}

/* Treatment Circles */
.treatments-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.treatment-item {
    text-align: center;
}

.treatment-circle {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.5rem;
    transition: var(--transition);
    border: 1px solid #eee;
}

.treatment-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.treatment-item:hover .treatment-circle {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.treatment-item:hover img {
    transform: scale(1.1);
}

.treatment-item h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    background: var(--gradient-rose-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.treatment-item p {
    font-size: 0.8rem;
    color: #888;
    line-height: 1.4;
    padding: 0 0.5rem;
}

/* Featured Two-Col Layout */
.featured-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    padding: 5rem 0;
}

.featured-image-box {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.featured-image-box img {
    width: 100%;
    display: block;
}

.featured-text-box h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.featured-text-box p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.featured-text-box ul {
    margin-bottom: 2.5rem;
}

.featured-text-box ul li {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: #444;
}

/* Detox Routine */
.routine-section {
    padding: 6rem 0;
    background: #fdfdfd;
}

.routine-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        "info image"
        "actions image";
    gap: 2rem 4rem;
    align-items: center;
}

.routine-content {
    grid-area: info;
}

.routine-image-numbered {
    grid-area: image;
}

.routine-actions {
    grid-area: actions;
}

.routine-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.routine-product-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.routine-product-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    background: #fff;
    padding: 5px;
}

.routine-product-info h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
    color: #333;
}

.routine-product-info p {
    font-size: 0.75rem;
    color: var(--brand-rose-gold);
    font-weight: 700;
}

.routine-image-numbered {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.routine-image-numbered img {
    width: 100%;
    display: block;
}

/* Contact/Newsletter Section v2 */
.newsletter-v2 {
    background: url('https://images.unsplash.com/photo-1522338242992-e1a54906a8da?q=80&w=2000') no-repeat center center/cover;
    padding: 8rem 0;
    color: #fff;
    text-align: center;
    position: relative;
    margin-top: 5rem;
    overflow: hidden;
}

.newsletter-overlay-v2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.newsletter-content-v2 {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content-v2 h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: 3px;
}

.newsletter-form-v2 {
    display: flex;
    gap: 0;
    margin-top: 2.5rem;
}

.newsletter-form-v2 input {
    flex: 1;
    padding: 1.2rem 2rem;
    border: none;
    outline: none;
    font-family: var(--font-body);
}

.newsletter-form-v2 button {
    background: var(--brand-rose-gold);
    color: #fff;
    padding: 0 3rem;
    border: none;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    transition: var(--transition);
}

.newsletter-form-v2 button:hover {
    background: var(--brand-rose-gold-dark);
}

/* Section Centered Buttons */
.section-footer-btn {
    text-align: center;
    margin-top: 8rem;
}

.btn-pill-blue {
    display: inline-block;
    background: var(--gradient-rose-gold);
    color: #fff;
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn-pill-blue:hover {
    background: var(--gradient-gold);
    color: var(--brand-black);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

@media (max-width: 968px) {
    .treatments-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .routine-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "info"
            "image"
            "actions";
        gap: 2rem;
    }

    .hero-content-v2 h2 {
        font-size: 1rem;
    }

    .hero-content-v2 .promo-title {
        font-size: 3rem;
    }

    .newsletter-form-v2 {
        flex-direction: column;
        gap: 1rem;
    }
}

/* --- END NEW HOME PAGE DESIGN --- */

/* =========================================
   CORAZÓN ROSE GOLD CON RELIEVE (portada)
   ========================================= */
.heart-rosegold {
    display: inline-block;
    font-style: normal;

    /* Gradiente rose gold aplicado al texto */
    background: var(--gradient-rose-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

    /* Efecto de relieve / emboss 3D con múltiples sombras */
    filter:
        drop-shadow(0px 1px 0px rgba(255, 220, 210, 0.9)) drop-shadow(0px 2px 0px rgba(200, 149, 149, 0.7)) drop-shadow(0px 3px 1px rgba(150, 80, 80, 0.4)) drop-shadow(0px 4px 6px rgba(180, 100, 100, 0.25));

    /* Tamaño ligeramente mayor para destacarlo */
    font-size: 1.15em;
    vertical-align: middle;
    line-height: 1;

    /* Animación de pulso suave */
    animation: heartbeat-rosegold 2.4s ease-in-out infinite;
    transform-origin: center;
    will-change: transform, filter;
}

@keyframes heartbeat-rosegold {

    0%,
    100% {
        transform: scale(1);
        filter:
            drop-shadow(0px 1px 0px rgba(255, 220, 210, 0.9)) drop-shadow(0px 2px 0px rgba(200, 149, 149, 0.7)) drop-shadow(0px 3px 1px rgba(150, 80, 80, 0.4)) drop-shadow(0px 4px 6px rgba(180, 100, 100, 0.25));
    }

    14% {
        transform: scale(1.18);
        filter:
            drop-shadow(0px 2px 0px rgba(255, 220, 210, 1)) drop-shadow(0px 4px 2px rgba(200, 149, 149, 0.8)) drop-shadow(0px 5px 2px rgba(150, 80, 80, 0.5)) drop-shadow(0px 6px 10px rgba(212, 175, 55, 0.35));
    }

    28% {
        transform: scale(1);
    }

    42% {
        transform: scale(1.1);
        filter:
            drop-shadow(0px 1px 0px rgba(255, 220, 210, 0.95)) drop-shadow(0px 3px 1px rgba(200, 149, 149, 0.75)) drop-shadow(0px 4px 2px rgba(150, 80, 80, 0.45)) drop-shadow(0px 5px 8px rgba(212, 175, 55, 0.28));
    }

    56%,
    100% {
        transform: scale(1);
    }
}

/* =========================================
   CARRUSEL DE BANNERS DINÁMICO
   ========================================= */

.banner-carousel-section {
    width: calc(100% - 40px);
    max-width: 1170px;
    margin: 1.2rem auto;
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    box-shadow: var(--shadow-md);
}

/* El div del carrusel real */
.banner-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: transparent;
    border-radius: 26px;
}

.banner-slides {
    display: flex;
    transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* Cada slide — sin fondo, alto dinámico según imagen */
.banner-slide {
    min-width: 100%;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 26px;
    background: transparent;
    display: flex;
    align-items: flex-start;
    justify-content: stretch;
}

.banner-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.banner-slide:hover img {
    transform: scale(1.02);
}

/* Overlay del banner — sin degradado para no tapar la imagen */
.banner-slide-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 0 6% 7%;
    color: #fff;
    pointer-events: none;
}

/* Título visible con sombra para legibilidad — subtítulo oculto */
.banner-slide-overlay h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.4rem, 4vw, 3.4rem);
    font-weight: 700;
    margin: 0 0 1rem;
    color: #fff;
    text-shadow:
        0 2px 12px rgba(0, 0, 0, 0.7),
        0 1px 4px rgba(0, 0, 0, 0.9);
    line-height: 1.15;
    max-width: 600px;
}

.banner-slide-overlay p {
    font-size: clamp(0.75rem, 1.6vw, 1.1rem);
    margin: 0 0 1.2rem;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
    line-height: 1.5;
    max-width: 500px;
    font-weight: 400;
}

.banner-slide-btn {
    display: inline-block;
    background: rgba(255, 255, 255, 0.18);
    border: 2px solid rgba(255, 255, 255, 0.85);
    color: #fff;
    padding: 0.75rem 2.5rem;
    border-radius: 50px;
    font-size: clamp(0.68rem, 1.2vw, 0.9rem);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background 0.3s, border-color 0.3s, transform 0.2s;
    cursor: pointer;
    pointer-events: all;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.22);
}

.banner-slide-btn:hover {
    background: rgba(255, 255, 255, 0.32);
    border-color: #fff;
    transform: translateX(5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.28);
}


/* Flechas de navegación */
.banner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    font-size: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    backdrop-filter: blur(4px);
    transition: background 0.25s, transform 0.2s, border-color 0.25s;
    line-height: 1;
    padding: 0;
}

.banner-nav:hover {
    background: rgba(212, 165, 165, 0.4);
    border-color: var(--brand-rose-gold-light, #E8B4B8);
    transform: translateY(-50%) scale(1.1);
}

.banner-prev,
.banner-next {
    display: none !important;
}

/* Ocultar flechas si solo hay 1 banner */
.banner-carousel.single .banner-nav,
.banner-carousel.single .banner-dots {
    display: none;
}

/* Indicadores de puntos */
.banner-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.banner-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    border: 2px solid rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.banner-dot.active {
    background: #fff;
    transform: scale(1.35);
    border-color: #fff;
}

@media (max-width: 768px) {
    .banner-carousel-section {
        width: 100%;
        margin: 0;
        border-radius: 0;
    }

    .banner-carousel,
    .banner-slide {
        border-radius: 0;
    }

    .banner-slide img {
        object-fit: contain;
        /* Para que la imagen se vea completa */
        background-color: #000;
        /* Fondo negro para rellenar si la imagen no es 16:9 */
    }

    .banner-slide-overlay {
        background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
        padding: 0 4% 8%;
    }

    .banner-slide-overlay h2 {
        font-size: 1.2rem;
        margin: 0 0 0.3rem;
        max-width: 90%;
    }

    .banner-slide-overlay p {
        font-size: 0.8rem;
        margin: 0 0 0.8rem;
        max-width: 90%;
    }

    .banner-slide-btn {
        font-size: 0.7rem;
        padding: 0.6rem 1.5rem;
    }

    .banner-nav {
        width: 32px;
        height: 32px;
        font-size: 1.2rem;
    }

    .banner-prev {
        left: 0.3rem;
    }

    .banner-next {
        right: 0.3rem;
    }
}

@media (max-width: 480px) {
    .banner-slide-overlay h2 {
        font-size: 1rem;
    }

    .banner-slide-overlay p {
        font-size: 0.75rem;
    }
}

/* ── Stories Bar (Instagram Style) ────────────────────────── */
.stories-wrapper {
    background: #fff;
    padding: 1rem 0;
    position: relative; /* Ensure it stays below navbar in stacking */
    z-index: 10;
    border-bottom: 1px solid #f0f0f0;
    overflow: hidden;
}

.stories-container {
    display: flex;
    gap: 1.4rem;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: none;
}

.stories-container::-webkit-scrollbar {
    display: none;
}

.story-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    flex-shrink: 0;
}

.story-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    padding: 3px;
    border: 2px solid var(--brand-rose-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.story-circle img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
}

.story-item span {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--brand-black);
    letter-spacing: 0.5px;
}

.story-item:hover .story-circle {
    transform: scale(1.05);
}

/* ── Featured Innovation / Historias ────────────────────────── */

.featured-innovation-container {
    padding: 4.5rem 0;
    background-color: var(--brand-bg-page);
    /* El rosa suave de la imagen */
}

.featured-innovation {
    margin-bottom: 4.5rem;
}

.featured-innovation:last-child {
    margin-bottom: 0;
}

.featured-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
    align-items: center;
}

.featured-image-box {
    background: #fff;
    padding: 2rem;
    /* Framed effect */
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

.featured-image-box img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    /* Extra depth for the product */
}

.featured-text-box h3 {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    font-weight: 700;
    color: var(--brand-black);
}

.featured-text-box p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.featured-text-box ul {
    margin-bottom: 3rem;
    list-style: none;
}

.featured-text-box li {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1rem;
    color: #444;
    font-weight: 400;
}

.btn-pill-blue {
    display: inline-block;
    padding: 1rem 3rem;
    background-color: var(--brand-rose-gold);
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-pill-blue:hover {
    background-color: var(--brand-rose-gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 165, 165, 0.4);
}

@media (max-width: 992px) {
    .featured-layout {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }

    .featured-text-box h3 {
        font-size: 2rem;
    }

    .featured-text-box li {
        justify-content: center;
    }
}

/* ── Story Viewer Modal ────────────────────────── */
.story-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    z-index: 30000; /* Higher than navbar and other modals */
    display: none;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 20px;
    overflow-y: auto;
}

.story-modal-content {
    position: relative;
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    background: #000;
    border-radius: 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
    animation: storyAppear 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    scrollbar-width: thin;
    scrollbar-color: var(--brand-rose-gold) #000;
}

@keyframes storyAppear {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.story-close {
    position: fixed; /* Keep it always visible and on top of scrollable content */
    top: 25px;
    right: 25px;
    background: rgba(0,0,0,0.5); /* Add background for better visibility against images */
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    backdrop-filter: blur(5px);
    font-size: 30px;
    cursor: pointer;
    z-index: 10;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s;
}

.story-close:hover {
    color: #fff;
}

.story-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 10;
}

.story-progress-fill {
    width: 0%;
    height: 100%;
    background: var(--brand-rose-gold);
}

.story-modal-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

#story-modal-img {
    width: 100%;
    height: 55%;
    object-fit: cover;
    border-bottom: 1px solid rgba(212, 165, 165, 0.1);
}

.story-modal-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #111 0%, #000 100%);
}

.story-modal-info h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--brand-rose-gold);
}

.story-modal-info p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 2rem;
}

#story-modal-items {
    margin-bottom: 2rem;
    text-align: left;
}

#story-modal-items ul {
    list-style: none;
    padding: 0;
}

#story-modal-items li {
    font-size: 0.85rem;
    color: #aaa;
    margin-bottom: 10px;
    display: flex;
    align-items: baseline;
    gap: 12px;
}

#story-modal-items li::before {
    content: '✦';
    color: var(--brand-rose-gold);
    font-size: 0.7rem;
}

#story-modal-btn {
    margin-top: auto;
    width: 100%;
    text-align: center;
    padding: 1.1rem;
    background: var(--brand-rose-gold);
    color: #fff;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-decoration: none;
    transition: all 0.3s;
}

#story-modal-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(212, 165, 165, 0.4);
}

@media (max-width: 480px) {
    .story-modal {
        padding: 0;
    }

    .story-modal-content {
        height: 100%;
        max-width: 100%;
        border-radius: 0;
    }

    #story-modal-img {
        height: 50%;
    }

    .story-modal-info {
        padding: 1.5rem;
    }

    .story-modal-info h2 {
        font-size: 1.4rem;
    }

    .story-modal-info p {
        font-size: 0.88rem;
    }

    .story-close {
        top: 20px;
        right: 20px;
        width: 44px; /* Larger tap target for mobile */
        height: 44px;
        font-size: 24px;
    }
}

/* Link del Diseñador en Footer */
.designer-link {
    color: inherit;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.designer-link:hover {
    color: #25D366 !important;
}