/* --- General & Variables (Estilo Luxury/Minimalista) --- */
:root {
    /* Paleta de colores refinada y deportiva */
    --primary-color: #1a1a1a; /* Negro intenso */
    --secondary-color: #f7f7f7; /* Gris claro para fondos */
    --accent-color: #e63946;   /* Rojo deportivo y vibrante */
    --text-color: #333333;   /* Color de texto principal */
    --background-color: #ffffff; /* Blanco puro */
    --border-color: #e5e5e5;  /* Color de borde sutil */
    --success-color: #25D366; /* Verde WhatsApp */

    /* Tipografía refinada */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-titles: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Marquee (Estilo Sutil) --- */
.marquee-container {
    background-color: var(--primary-color);
    color: var(--background-color);
    padding: 0.6rem 0;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-text span {
    font-size: 0.8rem;
    font-weight: 500;
    margin: 0 2rem;
    letter-spacing: 0.5px;
}

@keyframes scroll-to-right {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

.marquee-text {
    display: inline-block;
    animation: scroll-to-right 40s linear infinite;
}

/* --- Header & Navigation (Minimalista) --- */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 2.5rem; 
    background-color: var(--primary-color);
    border-bottom: 1px solid #333;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.header-nav { flex: 1; }
.logo { text-align: center; flex-shrink: 0; z-index: 10; }
.header-right { flex: 1; display: flex; justify-content: flex-end; align-items: center; gap: 0.5rem; }

.logo img {
    height: 102px; 
    width: auto;
    vertical-align: middle;
}

.header-icons { display: flex; gap: 0.5rem; }

.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    position: relative;
    color: var(--background-color);
}
.icon-btn svg { stroke: currentColor; transition: color 0.3s ease; }
.icon-btn:hover { color: var(--accent-color); }

.cart-counter {
    position: absolute;
    top: 2px;
    right: 2px;
    background-color: var(--accent-color);
    color: var(--background-color);
    font-size: 0.7rem;
    font-weight: 600;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: none;
    justify-content: center;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    padding: 0.5rem 0;
    text-decoration: none;
    color: var(--background-color);
    font-weight: 500;
    transition: color 0.3s ease;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    position: relative;
}

.nav-links > li > a:hover { color: var(--accent-color); }
.nav-links > li > a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: var(--background-color);
    transition: width 0.4s ease;
}
.nav-links > li > a:hover::after { width: 100%; }
.has-dropdown > a::after { content: ''; } 

.dropdown {
    list-style: none;
    padding: 0.5rem 0;
    min-width: 240px;
    z-index: 1001;
    border-radius: 4px;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--background-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.dropdown-submenu {
    top: -0.6rem;
    left: 100%;
}

.nav-links li:hover > .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li:hover > .dropdown-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    white-space: nowrap;
    text-transform: none;
    font-weight: 400;
    color: var(--text-color);
    transition: background-color 0.2s ease, color 0.2s ease;
}
.dropdown li a:hover { background-color: var(--secondary-color); }

.hamburger {
    display: none;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
    z-index: 10;
}
.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--background-color);
    transition: all 0.3s ease-in-out;
}

.hero {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
    color: var(--background-color);
    background-color: #1a1a1a;
}

.carousel-slide {
    position: absolute; width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    z-index: 1;
}
.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}
.carousel-slide > img { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: -2;
}
.carousel-slide:not(#slide-promo):not(#video-slide)::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: -1;
}
#video-slide { background-color: #111; }
.hero-showcase-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.showcase-image, .showcase-video-wrapper {
    height: 100%;
    overflow: hidden;
}

.showcase-image { 
    flex: 1; 
    position: relative;
}

.showcase-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.showcase-video-wrapper { position: relative; flex-shrink: 0; }
.showcase-image img { width: 100%; height: 100%; object-fit: cover; }
.showcase-video-wrapper video { width: auto; height: 100%; object-fit: contain; }
.video-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.4); z-index: 1;
}
#video-slide .hero-content {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 2; display: flex; flex-direction: column;
    justify-content: center; align-items: center; padding: 2rem;
}
.hero-content { max-width: 800px; padding: 1rem; animation: fadeInDown 1.5s ease-out; }
.hero-content h1 {
    font-family: var(--font-titles); font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600; letter-spacing: 1px; margin-bottom: 1rem;
    text-transform: uppercase; color: var(--background-color);
}

.promo-highlight {
    border: 1px solid var(--background-color);
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-left: 5px;
    display: inline-block;
}

#slide-promo {
    background-color: var(--primary-color);
    background-image: 
        radial-gradient(ellipse 50% 60% at 20% 40%, rgba(255, 255, 255, 0.08), transparent),
        radial-gradient(ellipse 50% 60% at 85% 60%, rgba(255, 255, 255, 0.06), transparent),
        radial-gradient(ellipse 40% 50% at 50% 95%, rgba(255, 255, 255, 0.05), transparent);
}
#slide-promo .hero-content h1 {
    color: var(--background-color);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
}
#slide-promo p {
    color: #cccccc;
}
#slide-promo .hero-subtitle {
    color: var(--background-color);
    font-weight: 500;
}

#video-slide .hero-content h1 { font-size: clamp(2rem, 4vw, 3.5rem); }
.hero-content p { font-size: clamp(1rem, 2vw, 1.1rem); margin-bottom: 2.5rem; font-weight: 300; }

.carousel-nav {
    position: absolute; bottom: 30px; left: 50%;
    transform: translateX(-50%); display: flex; gap: 12px; z-index: 3;
}
.carousel-dot {
    width: 10px; height: 10px; background: rgba(255, 255, 255, 0.4);
    border-radius: 50%; cursor: pointer; transition: all 0.4s ease;
}
.carousel-dot.active { background: var(--background-color); transform: scale(1.2); }

.btn {
    padding: 0.8rem 2.2rem; text-decoration: none; border-radius: 50px;
    font-weight: 500; transition: all 0.3s ease; display: inline-block;
    text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px;
    border: 1px solid var(--primary-color); background-color: var(--primary-color);
    color: var(--background-color);
}
.btn:hover { background-color: #333; border-color: #333; }
.btn.btn-outline { background-color: transparent; color: var(--background-color); border-color: var(--background-color); }
.btn.btn-outline:hover { background-color: var(--background-color); color: var(--primary-color); }

.btn.btn-solid { background-color: var(--background-color); color: var(--primary-color); border-color: var(--background-color); }
.btn.btn-solid:hover { background-color: transparent; color: var(--background-color); }

.catalog-header, .container { text-align: center; padding: 6rem 2rem; }
.catalog-title, .section-title {
    font-size: clamp(2rem, 4vw, 2.5rem); font-weight: 600;
    color: var(--text-color); margin-bottom: 0.75rem;
    text-transform: uppercase; letter-spacing: 1px;
}
.catalog-subtitle {
    font-size: 1.1rem; color: #8a8a8a;
    max-width: 600px; margin: 0 auto 4rem auto;
}
h2.section-title { margin-bottom: 4rem; padding-bottom: 1rem; position: relative; display: inline-block;}
h2.section-title::after {
    content: ''; position: absolute; width: 50px; height: 2px;
    bottom: 0; left: 50%; transform: translateX(-50%); background-color: var(--border-color);
}

.featured-categories-section { padding: 6rem 2rem; background-color: var(--background-color); }
.featured-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 1.5rem; max-width: 1800px; margin: 0 auto;
}
.featured-card {
    position: relative; overflow: hidden; height: 420px; 
    display: block; text-decoration: none; color: var(--background-color);
    border-radius: 4px;
}
.featured-card img {
    width: 100%; height: 100%; object-fit: cover;
    filter: grayscale(100%) brightness(0.9);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.5s ease;
}
.featured-card:hover img { transform: scale(1.03); filter: grayscale(0%) brightness(1); }
.featured-card-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    display: flex; align-items: flex-end; justify-content: flex-start;
    padding: 1.5rem; background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 60%);
    transition: background 0.5s ease;
}
.featured-card h3 {
    font-family: var(--font-titles); font-size: 1.5rem; 
    text-transform: uppercase; font-weight: 500; letter-spacing: 1px;
}
.women-catalog-section { padding: 6rem 2rem; background-color: var(--secondary-color); }
.luxury-product-grid, .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: stretch; /* Ensures cards in the same row have the same height */
}
.luxury-product-card, .product-card {
    background-color: var(--background-color); text-align: center;
    border-radius: 4px; overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
}
.luxury-product-card:hover, .product-card:hover {
    transform: translateY(-8px); border-color: var(--border-color);
    box-shadow: 0 15px 30px rgba(0,0,0,0.07);
}

.luxury-image-wrapper {
    overflow: hidden;
    background-color: #f0f0f0;
    aspect-ratio: 3 / 4;
}

.luxury-image-wrapper img, 
.product-card .product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.product-card .product-image { height: 350px; }

.luxury-product-info {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.luxury-product-details {
    flex-grow: 1;
}

.luxury-product-info h3, .product-info h3 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-transform: capitalize;
    min-height: 3.2em; /* Accommodates up to 2 lines of text (1.6 line-height * 2) */
}
.luxury-product-price, .product-card .price {
    font-size: 1rem; color: #8a8a8a;
    margin-bottom: 1.5rem;
    min-height: 48px; /* Added to prevent layout shift */
}

/* Styles for discount prices on the main page */
.luxury-product-price .old-price {
    text-decoration: line-through;
    color: #8a8a8a;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.25rem;
}

.luxury-product-price .new-price {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1.1rem;
    display: block;
}


.luxury-product-btn {
    display: inline-block; padding: 0.7rem 1.5rem; border: 1px solid var(--border-color);
    border-radius: 50px; color: var(--text-color); text-decoration: none;
    font-weight: 500; transition: all 0.3s ease; background-color: transparent;
    font-size: 0.8rem;
}
.luxury-product-btn:hover { background-color: var(--primary-color); color: var(--background-color); border-color: var(--primary-color); }
.add-to-cart-btn {
    background-color: var(--secondary-color); color: var(--text-color);
    border: 1px solid var(--border-color); width: 100%;
    padding: 0.8rem 1rem; cursor: pointer; border-radius: 4px;
    font-weight: 500; transition: all 0.3s ease;
}
.add-to-cart-btn:hover { background-color: var(--primary-color); color: var(--background-color); border-color: var(--primary-color); }

.search-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(26, 26, 26, 0.95); z-index: 2000;
    display: none;
    justify-content: center; align-items: flex-start;
    padding-top: 15vh;
    opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0.4s ease;
}
.search-overlay.active {
    display: flex;
    opacity: 1; visibility: visible;
}
.search-content {
    width: 90%;
    max-width: 600px;
}
#search-input {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.2rem;
    border: 2px solid #8a8a8a;
    border-radius: 50px;
    background: transparent;
    color: var(--background-color);
    outline: none;
}
.close-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: var(--background-color);
    font-size: 2.5rem;
    cursor: pointer;
}

#cart-panel .close-btn {
    position: static;
    color: var(--primary-color);
    font-size: 2.2rem;
    line-height: 1;
}

.cart-panel {
    position: fixed; top: 0; right: -100%;
    width: 100%; max-width: 420px; height: 100%;
    background-color: var(--background-color);
    box-shadow: -10px 0 40px rgba(0,0,0,0.1);
    transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2001;
    display: flex; flex-direction: column;
}
.cart-panel.active { right: 0; }
.cart-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 1.5rem; border-bottom: 1px solid var(--border-color);
}
.cart-header h3 { margin: 0; font-weight: 600; }
.cart-items { flex-grow: 1; overflow-y: auto; }
.cart-item {
    display: flex; padding: 1rem 1.5rem; gap: 1rem; align-items: center;
    border-bottom: 1px solid var(--border-color);
}
.cart-item img { width: 80px; height: 80px; object-fit: cover; border-radius: 4px; }
.cart-item-info { flex-grow: 1; }
.cart-item-info h4 { font-size: 0.9rem; margin: 0 0 0.5rem 0; font-weight: 500; }
.cart-item-info .price { color: #8a8a8a; font-size: 0.9rem; margin-bottom: 0.5rem; }
.cart-item-info .size-info { font-size: 0.85rem; color: #555; } /* Estilo para la talla en el carrito */
.cart-item-actions { display: flex; align-items: center; gap: 0.8rem; }
.cart-item-actions .quantity-btn {
    background: none; border: 1px solid var(--border-color);
    width: 28px; height: 28px; border-radius: 50%;
    cursor: pointer;
}
.remove-item-btn {
    background: none; border: none; font-size: 1.5rem;
    color: #8a8a8a; cursor: pointer;
}
.cart-footer { padding: 1.5rem; border-top: 1px solid var(--border-color); }
.cart-total { display: flex; justify-content: space-between; margin-bottom: 1rem; font-weight: 600; font-size: 1.1rem; }
.checkout-btn { width: 100%; background-color: var(--accent-color); border-color: var(--accent-color);}
.checkout-btn:hover { background-color: var(--primary-color); border-color: var(--primary-color); }

.whatsapp-fab {
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 100;
    background-color: var(--success-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    text-decoration: none;
}

.whatsapp-fab:hover {
    transform: scale(1.1);
    background-color: #128C7E;
}

/* =================================================================== */
/* ====== ESTILOS PÁGINA DE PRODUCTOS (SECCIÓN ACTUALIZADA) ====== */
/* =================================================================== */

.product-page-container {
    max-width: 1200px;
    margin: 3rem auto 6rem auto;
    padding: 0 2rem;
    text-align: left;
}

.back-to-shop-link {
    display: inline-block;
    margin-bottom: 2.5rem;
    font-size: 0.9rem;
    color: #8a8a8a;
    text-decoration: none;
    transition: color 0.3s;
}
.back-to-shop-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.product-detail-main {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: flex-start;
    gap: 4rem;
}

.product-detail-image-wrapper {
    background-color: var(--secondary-color);
    border-radius: 8px;
}

.product-detail-image-wrapper img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    display: block;
    border-radius: 8px;
    object-fit: contain;
    transition: opacity 0.4s ease-in-out;
}

.image-fade-out {
    opacity: 0;
}

.product-detail-info .product-detail-title {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-pricing-new {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}
.product-pricing-new .old-price {
    text-decoration: line-through;
    color: #8a8a8a;
    font-size: 1.2rem;
    opacity: 0.8;
}
.product-pricing-new .current-price {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-color);
}
.product-pricing-new .current-price.single-price {
    font-size: 1.8rem;
}
.product-pricing-new .save-badge {
    background-color: var(--accent-color);
    color: var(--background-color);
    padding: 0.2rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
}

.product-options-label {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
}

.product-colors-new, .product-sizes-new {
    margin-bottom: 2rem;
}

.color-palette-new {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.color-swatch-new {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid var(--border-color);
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
}
.color-swatch-new:hover {
    transform: scale(1.1);
}
.color-swatch-new.active {
    box-shadow: 0 0 0 2px var(--background-color), 0 0 0 4px var(--primary-color);
}

/* --- NUEVOS ESTILOS PARA TALLAS Y STOCK --- */
.size-selector-new {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.size-option-new {
    position: relative;
}

.size-option-new input[type="radio"] {
    display: none;
}

.size-option-new label {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    padding: 0 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

.size-option-new input[type="radio"]:checked + label {
    background-color: var(--primary-color);
    color: var(--background-color);
    border-color: var(--primary-color);
}

.size-option-new input[type="radio"]:disabled + label {
    background-color: #f5f5f5;
    color: #ccc;
    cursor: not-allowed;
    text-decoration: line-through;
}

.special-order-text-shop {
    color: var(--accent-color);
    font-size: 0.8rem;
    margin-left: 0.5rem;
    font-weight: 500;
}

.out-of-stock-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 500;
}
/* --- FIN NUEVOS ESTILOS --- */


.product-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: stretch;
}
.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}
.quantity-selector button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 1rem;
    font-size: 1.2rem;
    color: #8a8a8a;
}

.quantity-selector input {
    width: 40px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    font-size: 1rem;
    font-weight: 500;
    padding: 0.8rem 0;
    -moz-appearance: textfield;
    appearance: none;
}

.quantity-selector input::-webkit-outer-spin-button,
.quantity-selector input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.btn-add-to-cart-new {
    flex-grow: 1;
    padding: 1rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
    border-radius: 4px;
}
.btn-add-to-cart-new:hover {
    background-color: #333;
}
.btn-add-to-cart-new:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}


.shipping-policy-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #8a8a8a;
    text-decoration: none;
    margin-bottom: 2rem;
    transition: color 0.3s ease;
}
.shipping-policy-link:hover {
    color: var(--primary-color);
}

.product-description-section {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 2.5rem;
}
.product-description-section p {
    margin-bottom: 0.5rem;
}

.social-share-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}
.social-share-buttons a {
    color: #8a8a8a;
    transition: color 0.3s ease;
}
.social-share-buttons a:hover {
    color: var(--primary-color);
}
.social-share-buttons svg {
    width: 24px;
    height: 24px;
}

.product-accordion {
    border-top: 1px solid var(--border-color);
}
.accordion-item {
    border-bottom: 1px solid var(--border-color);
}
.accordion-header {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 1.25rem 0;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}
.accordion-header:hover {
    color: #000;
}
.accordion-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}
.accordion-content p {
    padding: 0 0 1.5rem 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
}
.accordion-item.active .accordion-header {
    font-weight: 600;
}
.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.combina-con-section {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 4rem;
}
.combina-con-title {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 1.5rem 0;
    font-weight: 600;
}
.recommended-product {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.recommended-product-image {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 4px;
    background-color: var(--secondary-color);
}
.recommended-product-info {
    flex-grow: 1;
}
.recommended-product-info h5 {
    font-size: 1.1rem;
    margin: 0 0 0.25rem 0;
}
.recommended-product-info p {
    font-size: 1rem;
    color: #8a8a8a;
    margin: 0;
}
.recommended-product-link {
    text-decoration: none;
    color: var(--text-color);
    border: 1px solid var(--border-color);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}
.recommended-product-link:hover {
    background-color: var(--primary-color);
    color: var(--background-color);
    border-color: var(--primary-color);
}

.product-not-found {
    text-align: center;
    padding: 5rem 1rem;
}
.product-not-found h2 { margin-bottom: 2rem; }
.product-detail-loading { text-align: center; padding: 5rem 1rem; }

.footer {
    background-color: var(--primary-color);
    color: #a0a0a0;
    padding: 5rem 2rem 2rem;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 4rem auto;
    text-align: left;
}

.footer-column .footer-logo-text {
    color: var(--background-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.footer-column h4 {
    color: var(--background-color);
    font-weight: 500;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.footer-column p {
    margin-bottom: 1rem;
}

.footer-column a {
    color: #a0a0a0;
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--background-color);
    text-decoration: underline;
}

.footer-social-icons {
    display: flex;
    gap: 1.2rem;
    margin-top: 1rem;
}

.footer-social-icons a {
    display: inline-block;
}
.footer-social-icons a svg {
    color: #a0a0a0;
    transition: color 0.3s ease;
}
.footer-social-icons a:hover svg {
    color: var(--background-color);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 2rem;
    font-size: 0.85rem;
}
.footer-bottom p {
    margin: 0;
}
.footer-bottom a {
    color: var(--background-color);
    text-decoration: underline;
    font-weight: 500;
}

/* =================================================================== */
/* ======        NUEVOS ESTILOS MODAL DE PAGO MULTI-PASO        ====== */
/* =================================================================== */

.payment-modal-overlay {
    position: fixed;
    z-index: 2002;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 26, 26, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.payment-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.payment-modal-content {
    background-color: var(--background-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 500px;
    position: relative;
    transform: scale(0.95) translateY(10px);
    transition: transform 0.3s ease;
    overflow: hidden; /* Para contener las vistas que se deslizan */
}

.payment-modal-overlay.active .payment-modal-content {
    transform: scale(1) translateY(0);
}

.payment-modal-content .close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #aaa;
    font-size: 2.5rem;
    line-height: 1;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10;
}
.payment-modal-content .close-btn:hover {
    color: var(--primary-color);
}

.modal-progress-bar {
    margin-bottom: 2rem;
}

.progress-steps-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem; 
}

.progress-step {
    text-align: center;
    flex: 1;
    font-size: 0.8rem;
    color: #aaa;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.progress-step.active {
    color: var(--primary-color);
    font-weight: 600;
}

.progress-line-container {
    width: 100%;
    height: 2px;
    background-color: var(--border-color);
    border-radius: 2px;
    position: relative;
}

.progress-line-active {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 2px;
    width: 0%;
    transition: width 0.4s ease;
}

.modal-views-container {
    position: relative;
}

.modal-view {
    display: none;
    animation: fadeIn 0.5s ease;
}
.modal-view.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-view h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.payment-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.payment-option input[type="radio"] {
    display: none;
}
.payment-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100px;
}
.payment-option label:hover {
    border-color: var(--primary-color);
    background-color: var(--secondary-color);
}
.payment-option input[type="radio"]:checked + label {
    border-color: var(--primary-color);
    background-color: var(--secondary-color);
    box-shadow: 0 0 0 2px var(--primary-color);
}
.payment-option img {
    height: 30px;
    margin-bottom: 0.5rem;
}
.payment-option span {
    font-weight: 500;
    font-size: 0.9rem;
}

#whatsapp-message-textarea {
    width: 100%;
    height: 180px;
    padding: 1rem;
    font-family: 'Menlo', 'Consolas', monospace;
    font-size: 0.9rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    resize: none;
    background-color: #f9f9f9;
    color: #333;
    margin-bottom: 1rem;
}

.modal-final-step {
    text-align: center;
    padding: 2rem 0;
}
.modal-final-step .success-icon {
    width: 60px;
    height: 60px;
    color: var(--success-color);
    margin-bottom: 1rem;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-top: 1.5rem;
}

.modal-btn {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.modal-btn:disabled {
    background-color: #ccc;
    border-color: #ccc;
    cursor: not-allowed;
}

.modal-btn.primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--background-color);
}
.modal-btn.primary:not(:disabled):hover {
    background-color: #333;
    border-color: #333;
}

.modal-btn.whatsapp {
    background-color: var(--success-color);
    color: white;
}
.modal-btn.whatsapp:hover {
    background-color: #128C7E;
}

/* =================================================================== */
/* ======      ESTILOS RESPONSIVOS PARA MÓVILES Y TABLETAS      ====== */
/* =================================================================== */

@media (max-width: 1024px) {
    .header {
        padding: 0.5rem 1.5rem;
    }
    .header-nav { flex: 0 1 auto; }
    .header-right { flex: 0 1 auto; }
    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    .logo img { height: 90px; }
    .hamburger { display: block; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        flex-direction: column;
        padding: 1rem 0;
        border-top: 1px solid #333;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    .dropdown { display: none; }
    .has-dropdown > a::after { content: none; }
    
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

@media (max-width: 768px) {
    .catalog-header, .container, .women-catalog-section, .featured-categories-section {
        padding: 3rem 1rem;
    }
    .catalog-subtitle {
        margin-bottom: 2.5rem;
    }
    h2.section-title {
        margin-bottom: 2.5rem;
    }
    .hero {
        height: 75vh;
        min-height: 550px;
    }
    .hero-content h1 {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }
    .hero-content p {
        font-size: clamp(0.9rem, 4vw, 1rem);
        margin-bottom: 2rem;
    }
    #video-slide .showcase-image {
        display: none;
    }
    #video-slide .showcase-video-wrapper {
        width: 100%;
        height: 100%;
    }
    #video-slide .showcase-video-wrapper video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .featured-grid {
        gap: 1rem;
    }
    .featured-card {
        height: 350px;
    }
    .luxury-product-grid, .product-grid {
        gap: 1.5rem;
    }
    .product-page-container {
        margin: 2rem auto 4rem auto;
        padding: 0 1rem;
    }
    .product-detail-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .product-detail-info .product-detail-title {
        font-size: clamp(1.5rem, 6vw, 1.9rem);
    }
    .product-actions {
        flex-direction: column;
    }
    .btn-add-to-cart-new {
        padding: 1.1rem;
        font-size: 1rem;
    }
    .recommended-product {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .footer {
        padding: 3rem 1rem 1.5rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }
    .footer-social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .header { padding: 0.25rem 1rem; }
    .logo img { height: 80px; }
    .hero { height: 70vh; }
    .cart-panel {
        max-width: 100%;
    }
    
    /* --- INICIO DE LA SOLUCIÓN: Visibilidad del botón de pago en móvil --- */
    .cart-footer {
        padding: 1rem;
        flex-shrink: 0; /* Asegura que el footer no se encoja */
        background-color: var(--background-color); /* Fondo sólido para que no sea transparente */
        box-shadow: 0 -5px 10px -5px rgba(0,0,0,0.1); /* Sombra para separarlo del contenido */
    }
    .checkout-btn {
        padding: 1rem;
        font-size: 1rem;
        width: 100%;
        display: block; /* Asegura que ocupe todo el ancho */
        border-radius: 8px; /* Esquinas ligeramente redondeadas para un look moderno */
    }
    /* --- FIN DE LA SOLUCIÓN --- */

    .payment-modal-content {
        padding: 1.5rem 1rem;
    }
    .payment-options {
        gap: 0.5rem;
    }
    .payment-option label {
        padding: 0.75rem;
        height: 90px;
    }
    .payment-option img {
        height: 25px;
    }
    .whatsapp-fab {
        width: 55px;
        height: 55px;
        bottom: 15px;
        right: 15px;
    }
}

/* --- Estilos del Cursor Personalizado y Efecto de Toque --- */
#custom-cursor {
    position: fixed;
    width: 25px;
    height: 25px;
    border: 1px solid rgba(26, 26, 26, 0.8);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease, border-width 0.3s ease, opacity 0.3s ease, left 0.1s linear, top 0.1s linear;
    background-color: transparent;
    backdrop-filter: invert(1);
    -webkit-backdrop-filter: invert(1);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

#custom-cursor.grow {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border-width: 1px;
}

#custom-cursor.hidden {
    opacity: 0;
    width: 0;
    height: 0;
}

/* Estilos para el punto persistente en dispositivos táctiles */
#custom-cursor.touch-cursor {
    width: 10px;
    height: 10px;
    background-color: var(--primary-color);
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    opacity: 0; /* Inicialmente oculto */
    transform: translate(-50%, -50%) scale(0.5);
    transition: opacity 0.4s ease, transform 0.4s ease, left 0.05s linear, top 0.05s linear;
}

#custom-cursor.touch-cursor.active {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1);
}

/* Ocultar cursor por defecto en dispositivos con puntero fino (mouse) */
@media (hover: hover) and (pointer: fine) {
    html, body, a, button, input, textarea, select {
        cursor: none;
    }
}

/* New styles for category sections */
.category-anchor {
    padding-top: 6rem; /* Match the section padding */
    margin-top: -6rem; /* Offset for the sticky header */
}

.category-section-title {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 3rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.category-section-title::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--border-color);
}
