/* Variables y estilos base */
:root {
    --color-cream: #F5F5F0;
    --color-beige: #E5E5DC;
    --color-gold: #B8860B;
    --color-gold-light: #D4AF37;
    --color-text: #1A1A1A;
    --color-text-light: #4A4A4A;
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
    --font-display: 'Italiana', serif;
    --spacing-section: 4rem;
}

body {
    background-color: var(--color-cream);
    color: var(--color-text);
    font-family: var(--font-sans);
    line-height: 1.6;
}

.magazine-main {
    padding-top: 0; /* Sin espacio para que el video llegue hasta la navbar */
}

/* Collection Grid */
.collection-grid {
    padding: 0;
    background-color: var(--color-cream);
}

.grid-title {
    text-align: center;
    margin-bottom: 4rem;
    background-color: #1A1A1A;
    padding: 3rem 2rem;
    border-radius: 8px;
}

.grid-title h1 {
    font-family: var(--font-display);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #F5F5F0;
}

.grid-title p {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.2rem;
    color: #D4AF37;
}

/* Index Grid y Filtros */
.index-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 4rem 1rem 0 1rem;
}

.index-filters {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
    background: linear-gradient(45deg, var(--color-cream), #fff);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 4px;
}

.index-filter {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1px solid var(--color-text);
    color: var(--color-text);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.index-filter:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: #fff;
}

.index-filter.active {
    background: var(--color-text);
    border-color: var(--color-text);
    color: #fff;
    font-weight: 500;
}

/* Estilo Tom Ford para las tarjetas de producto */
.index-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 350px));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    justify-content: center;
}

.index-item {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: visible;
    border: none;
    padding: 0;
    margin: 0;
    max-height: 700px;
    min-height: 600px;
    display: flex;
    flex-direction: column;
}

.index-item:hover {
    transform: translateY(-2px);
}

/* Sale Badge */
.sale-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #000;
    color: #fff;
    padding: 8px 12px;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
    z-index: 2;
    font-family: var(--font-sans);
}

/* Award Badge */
.award-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    background: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.award-badge::after {
    content: "★";
    color: #fff;
    font-size: 20px;
}

.item-image {
    position: relative;
    padding: 0;
    margin: 0;
    background: #f8f8f8;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    height: 400px;
    overflow: hidden;
    flex: 1;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    border-radius: 8px;
}

.index-item:hover .item-image img {
    transform: scale(1.05);
}

/* Size Options */
.size-options {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    gap: 5px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.index-item:hover .size-options {
    opacity: 1;
    transform: translateY(0);
}

.size-option {
    background: rgba(255,255,255,0.9);
    border: 1px solid #ddd;
    padding: 4px 8px;
    font-size: 10px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
}

.size-option:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

.item-content {
    padding: 1.5rem;
    text-align: center;
    background: var(--color-cream);
    border: none;
    margin: 0;
}

/* Título del producto */
.item-title {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000;
    margin: 0 0 8px 0;
    line-height: 1.3;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Tamaño del producto */
.item-size {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    color: #999;
    margin: 0 0 8px 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Descripción del producto */
.item-description {
    font-family: var(--font-serif);
    font-size: 12px;
    color: #666;
    margin: 0 0 15px 0;
    line-height: 1.4;
    font-style: italic;    min-height: 35px;
}

/* Precio */
.item-price {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin: 0 0 20px 0;
}

.precio-original {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
    margin-right: 8px;
}

.precio-oferta {
    color: #d4002a;
    font-weight: bold;
}

.descuento-badge {
    background: #d4002a;
    color: white;
    padding: 2px 6px;
    font-size: 10px;
    margin-left: 8px;
    font-weight: bold;
}

/* Add to Bag Button */
.add-to-bag-btn {
    background: #000;
    color: #fff;
    border: 1px solid #000;
    padding: 12px 20px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-family: var(--font-sans);
}

.add-to-bag-btn:hover {
    background: #fff;
    color: #000;
    border-color: #000;
}

/* Botones deshabilitados */
.add-to-bag-btn.disabled,
.add-to-cart-btn.disabled {
    background: #ccc !important;
    color: #666 !important;
    border-color: #ccc !important;
    cursor: not-allowed !important;
    opacity: 0.6;
}

.add-to-bag-btn.disabled:hover,
.add-to-cart-btn.disabled:hover {
    background: #ccc !important;
    color: #666 !important;
    border-color: #ccc !important;
    transform: none !important;
}

/* Estado badges */
.estado-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 12px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.estado-disponible {
    background: #28a745;
    color: white;
}

.estado-agotado {
    background: #dc3545;
    color: white;
}

.estado-proximo {
    background: #ffc107;
    color: #000;
}

.estado-oferta {
    background: #000;
    color: white;
}

/* Overlay para quick view */
.item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.index-item:hover .item-overlay {
    opacity: 1;
}

.quick-view-btn {
    background: #fff;
    color: #000;
    border: 1px solid #fff;
    padding: 12px 24px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-sans);
}

.quick-view-btn:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

/* Estilos para el contenido anterior - mantener para compatibilidad */
.item-info {
    padding: 1.5rem;
    text-align: center;
}

.item-name {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.item-brand {
    font-family: var(--font-serif);
    font-size: 12px;
    color: #666;
    font-style: italic;
    margin-bottom: 0.8rem;
}

.item-price {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin-bottom: 1rem;
}

.item-actions {
    margin-top: 1rem;
}

.add-to-cart-btn {
    background: #000;
    color: #fff;
    border: 1px solid #000;
    padding: 12px 20px;
    cursor: pointer;
    font-weight: 500;
    font-size: 12px;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-sans);
}

.add-to-cart-btn:hover {
    background: #fff;
    color: #000;
    border-color: #000;
}

.index-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 30%, rgba(0,0,0,0.03) 100%);
}

.index-image img {
    max-width: 80%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    transition: transform 0.6s ease;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
}

.index-item:hover .index-image img {
    transform: scale(1.05) translateY(-5px);
}

.index-info {
    padding: 2rem;
    text-align: center;
    background-color: #fff;
}

.index-info h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.index-brand {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.index-category {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.index-description {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--color-text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.index-notes {
    font-family: var(--font-serif);
    font-size: 0.9rem;
    color: var(--color-text);
    opacity: 0.7;
}

/* Estilos para el precio */
.index-price {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-gold);
    margin-bottom: 1rem;
    text-align: center;
}

.modal-brand {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-text);
    margin-bottom: 1rem;
    opacity: 0.8;
}

.modal-price {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--color-gold);
    margin-bottom: 2rem;
    text-align: center;
}

/* Quick View Modal */
.quick-view-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.quick-view-modal.active {
    display: flex;
}

.modal-content {
    background-color: #fff;
    max-width: 800px;
    width: 90%;
    max-height: 95vh;
    overflow: hidden;
    position: relative;
    animation: modalFadeIn 0.3s ease;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 0;
    margin: 0;
}

.modal-body {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
}

/* Nuevo estilo Tom Ford para el modal */
.quick-view-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
    margin: 0;
}

.quick-view-image {
    position: relative;
    height: 500px;
    overflow: hidden;
    background: #f8f8f8;
    border-radius: 12px 12px 0 0;
    padding: 0;
    margin: 0;
}

.quick-view-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
    transition: opacity 0.3s ease;
    opacity: 1;
}

.quick-view-image img[src=""], 
.quick-view-image img:not([src]) {
    opacity: 0;
}

.quick-view-info {
    padding: 2rem;
    background: var(--color-cream);
    text-align: center;
    font-family: var(--font-serif);
    border-radius: 0 0 12px 12px;
}

.quick-view-info h2 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
    line-height: 1.2;
}

.quick-view-info .brand {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
}

.quick-view-info .size {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.quick-view-info .price {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.quick-view-info .description {
    font-family: var(--font-serif);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.quick-view-info .notes {
    background: rgba(255,255,255,0.6);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border: 1px solid rgba(0,0,0,0.08);
}

.quick-view-info .notes h4 {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-text);
    margin-bottom: 0.8rem;
}

.quick-view-info .notes p {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    color: var(--color-text-light);
    font-style: italic;
    line-height: 1.5;
}

.quick-view-info .actions {
    margin-top: auto;
}

.add-to-cart-btn {
    width: 100%;
    padding: 1rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    background: var(--color-text);
    color: var(--color-cream);
    border: 1px solid var(--color-text);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.add-to-cart-btn:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(184,134,11,0.3);
}

/* Cerrar modal */
.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(0,0,0,0.8);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: var(--color-gold);
    transform: scale(1.1);
}



/* Filtros dinámicos */
.dynamic-filters {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.filter-section {
    flex: 1;
    min-width: 200px;
}

.filter-section h4 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
    font-weight: 600;
}

.filter-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0.25rem;
    background: transparent;
    border: 1px solid var(--color-gold);
    border-radius: 25px;
    color: var(--color-text);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.filter-btn:hover {
    background: var(--color-gold-light);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.filter-btn.active {
    background: var(--color-gold);
    color: white;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
}

/* Notificaciones de carga */
.loading-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--color-gold);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    font-weight: 500;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.loading-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.error-notification {
    background: #dc3545;
}

.success-notification {
    background: #28a745;
}

/* Estado sin productos */
.no-products {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--color-text-light);
    grid-column: 1 / -1;
}

.no-products h3 {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.no-products p {
    font-size: 1.1rem;
    font-family: var(--font-sans);
}

/* Search highlighting */
mark {
    background-color: var(--color-gold);
    color: white;
    padding: 0.1em 0.2em;
    border-radius: 3px;
    font-weight: 500;
}

/* ======= COMBINED SEARCH AND PRICE FILTER STYLES ======= */
.search-and-filters-container {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(245,245,240,0.8));
    border: 1px solid rgba(229,229,220,0.6);
    border-radius: 20px;
    padding: 0.6rem 0.8rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.02);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.search-and-filters-container:hover {
    box-shadow: 0 2px 8px rgba(184, 134, 11, 0.08);
    border-color: rgba(184, 134, 11, 0.2);
}

/* ======= SEARCH BAR STYLES - UPDATED ======= */
.search-container {
    flex: 2;
    margin-bottom: 0;
}

.search-wrapper {
    position: relative;
    width: 100%;
    margin: 0;
}

.search-input {
    width: 100%;
    padding: 0.6rem 2.5rem 0.6rem 2.5rem;
    border: 1px solid rgba(229,229,220,0.4);
    border-radius: 15px;
    background-color: rgba(245,245,240,0.3);
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: var(--color-text);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.search-input:focus {
    outline: none;
    border-color: var(--color-gold);
    background-color: rgba(255,255,255,0.9);
    box-shadow: 0 1px 6px rgba(184, 134, 11, 0.08);
}

.search-input::placeholder {
    color: var(--color-text-light);
    font-style: italic;
    font-size: 0.75rem;
}

.search-icon {
    position: absolute;
    left: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-light);
    pointer-events: none;
    transition: color 0.3s ease;
    width: 16px;
    height: 16px;
}

.search-input:focus + .search-icon {
    color: var(--color-gold);
}

.clear-search {
    position: absolute;
    right: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--color-text-light);
    cursor: pointer;
    padding: 0.3rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.clear-search:hover {
    background-color: rgba(229,229,220,0.3);
    color: var(--color-text);
}

/* ======= SIMPLE PRICE FILTERS STYLES ======= */
.simple-price-filters {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(229, 229, 220, 0.8);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(26, 26, 26, 0.1);
    padding: 1.25rem;
    transition: all 0.3s ease;
}

.simple-price-filters:hover {
    border-color: var(--color-gold);
    box-shadow: 0 12px 40px rgba(184, 134, 11, 0.15);
}

.filter-header-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(229, 229, 220, 0.5);
}

.simple-price-filters .filter-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
}

.simple-price-filters .filter-title svg {
    color: var(--color-gold);
    transition: transform 0.3s ease;
}

.filter-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.clear-filters-btn,
.toggle-filter-btn {
    background: none;
    border: 1px solid rgba(229, 229, 220, 0.8);
    border-radius: 8px;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.clear-filters-btn:hover,
.toggle-filter-btn:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--color-gold);
    color: var(--color-gold);
    transform: scale(1.05);
}

.clear-filters-btn {
    background: rgba(231, 76, 60, 0.1);
    border-color: rgba(231, 76, 60, 0.3);
    color: #e74c3c;
}

.clear-filters-btn:hover {
    background: rgba(231, 76, 60, 0.2);
    border-color: #e74c3c;
    color: #c0392b;
}

.simple-filter-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: all 0.4s ease;
    overflow: hidden;
    max-height: 500px;
    opacity: 1;
    margin-top: 0;
}

.simple-price-filters.collapsed .simple-filter-buttons {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
    gap: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.simple-price-filters.collapsed {
    padding-bottom: 1.25rem;
}

.toggle-filter-btn svg {
    transition: transform 0.3s ease;
}

.simple-price-filters.collapsed .toggle-filter-btn svg {
    transform: rotate(0deg);
}

.simple-price-filters:not(.collapsed) .toggle-filter-btn svg {
    transform: rotate(90deg);
}

.simple-filter-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: rgba(245, 245, 240, 0.8);
    border: 1.5px solid rgba(229, 229, 220, 0.8);
    border-radius: 12px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.simple-filter-btn:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--color-gold);
    color: var(--color-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(184, 134, 11, 0.2);
}

.simple-filter-btn.active {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: white;
    box-shadow: 0 4px 16px rgba(184, 134, 11, 0.3);
}

.simple-filter-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.simple-filter-btn:hover svg {
    transform: scale(1.1);
}

.simple-filter-btn.active svg {
    color: white;
}

.filter-toggle:hover {
    background: rgba(184, 134, 11, 0.1);
    color: var(--color-gold);
    transform: scale(1.05);
}

.filter-toggle svg {
    transition: transform 0.3s ease;
}

.filter-content {
    padding: 1.5rem 1.25rem;
    display: block;
}

.filter-content.collapsed {
    display: none;
}

.price-display-modern {
    display: flex;
    align-items: end;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.price-input-group {
    flex: 1;
}

.price-input-group label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.price-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(245, 245, 240, 0.8);
    border: 2px solid rgba(229, 229, 220, 0.6);
    border-radius: 12px;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.price-input-wrapper:focus-within {
    border-color: var(--color-gold);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.1);
}

.currency {
    font-family: var(--font-sans);
    font-weight: 600;
    color: var(--color-gold);
    margin-right: 0.5rem;
    font-size: 1rem;
}

.price-input {
    border: none;
    background: transparent;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    width: 100%;
    outline: none;
}

.price-input::placeholder {
    color: rgba(74, 74, 74, 0.5);
}

.price-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    margin: 0 0.5rem;
    padding-bottom: 1.25rem;
}

.price-slider-modern {
    position: relative;
    margin: 1.5rem 0;
    padding: 1rem 0;
}

.slider-track {
    position: relative;
    height: 6px;
    background: linear-gradient(90deg, rgba(229, 229, 220, 0.6), rgba(229, 229, 220, 0.8));
    border-radius: 3px;
    overflow: hidden;
}

.slider-range {
    position: absolute;
    top: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--color-gold-light), var(--color-gold));
    border-radius: 3px;
    transition: all 0.3s ease;
}

.slider-thumb {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: var(--color-gold);
    border: 3px solid white;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(184, 134, 11, 0.3);
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-thumb:hover {
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 6px 20px rgba(184, 134, 11, 0.4);
}

.slider-thumb::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.range-input {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 6px;
    background: transparent;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    pointer-events: none;
    margin: 0;
}

.range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: transparent;
    cursor: pointer;
    pointer-events: all;
}

.range-input::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
}

.price-presets {
    margin: 1.5rem 0;
}

.presets-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    color: var(--color-text-light);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.preset-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.preset-btn {
    padding: 0.6rem 0.8rem;
    border: 1px solid rgba(229, 229, 220, 0.6);
    background: rgba(245, 245, 240, 0.5);
    color: var(--color-text);
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.preset-btn:hover {
    border-color: var(--color-gold);
    background: rgba(184, 134, 11, 0.1);
    color: var(--color-gold);
    transform: translateY(-1px);
}

.preset-btn.active {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
    color: white;
    border-color: var(--color-gold);
}

.filter-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(229, 229, 220, 0.5);
}

.action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.action-btn.secondary {
    background: rgba(245, 245, 240, 0.8);
    border: 1px solid rgba(229, 229, 220, 0.6);
    color: var(--color-text-light);
}

.action-btn.secondary:hover {
    background: rgba(229, 229, 220, 0.8);
    border-color: var(--color-text-light);
    color: var(--color-text);
    transform: translateY(-1px);
}

.action-btn.primary {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
    border: 1px solid var(--color-gold);
    color: white;
}

.action-btn.primary:hover {
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 134, 11, 0.3);
}

.action-btn svg {
    transition: transform 0.3s ease;
}

.action-btn:hover svg {
    transform: scale(1.1);
}

/* Responsive para el filtro rediseñado */
@media (max-width: 768px) {
    .price-filter-redesigned {
        min-width: 100%;
        max-width: none;
        margin: 0.5rem 0;
    }
    
    .price-display-modern {
        flex-direction: column;
        gap: 1rem;
    }
    
    .price-separator {
        display: none;
    }
    
    .preset-buttons {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }
    
    .filter-actions {
        flex-direction: column;
    }
}

/* ======= END PRICE FILTER REDESIGNED STYLES ======= */

/* ======= INLINE PRICE FILTER STYLES ======= */
.price-filter-inline {
    flex: 1;
    min-width: 160px;
    max-width: 220px;
}

.price-filter-header-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
}

.price-label {
    font-family: var(--font-serif);
    font-size: 0.75rem;
    color: var(--color-text);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.price-range-display {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    color: var(--color-gold);
    font-weight: 600;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(184, 134, 11, 0.15));
    padding: 0.15rem 0.4rem;
    border-radius: 8px;
    border: 1px solid rgba(184, 134, 11, 0.2);
}

.price-slider-container {
    position: relative;
    height: 20px;
    margin: 0.3rem 0 0.4rem 0;
    padding: 9px 0;
}

.price-slider-track {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 2px;
    background-color: rgba(229,229,220,0.6);
    border-radius: 1px;
}

.price-slider-range {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 2px;
    background: linear-gradient(90deg, var(--color-gold-light), var(--color-gold));
    border-radius: 1px;
    transition: all 0.3s ease;
    z-index: 1;
}

.price-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: none;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    pointer-events: none;
    margin: 0;
    z-index: 2;
}

.price-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    background: var(--color-gold);
    border: 2px solid white;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    box-shadow: 0 1px 2px rgba(184, 134, 11, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.price-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 1px 4px rgba(184, 134, 11, 0.4);
}

.price-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: var(--color-gold);
    border: 2px solid white;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    box-shadow: 0 1px 2px rgba(184, 134, 11, 0.3);
    transition: all 0.3s ease;
}

.price-slider::-moz-range-track {
    background: transparent;
    border: none;
    outline: none;
    height: 2px;
}

.price-slider::-moz-range-progress {
    background: transparent;
    height: 2px;
}

/* Asegurar que ambos sliders estén en la misma posición */
.price-slider-min {
    z-index: 3;
}

.price-slider-max {
    z-index: 2;
}

/* Prevenir selección de texto en el slider */
.price-slider-container {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Asegurar que el contenedor tenga el tamaño correcto */
.price-filter-inline {
    position: relative;
}

.reset-price-filter-inline {
    width: 100%;
    margin-top: 0.3rem;
    padding: 0.25rem 0.5rem;
    border: 1px solid rgba(229,229,220,0.5);
    background-color: transparent;
    color: var(--color-text-light);
    font-family: var(--font-sans);
    font-size: 0.65rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.reset-price-filter-inline:hover {
    border-color: var(--color-gold);
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 1px 4px rgba(184, 134, 11, 0.2);
}

.search-results-count {
    text-align: center;
    margin-bottom: 0.8rem;
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--color-text-light);
    font-size: 0.8rem;
}

/* Responsive combined layout */
@media (max-width: 768px) {
    .grid-title {
        padding: 2rem 1rem;
        margin-bottom: 2rem;
    }
    
    .grid-title h1 {
        font-size: 2.5rem;
    }
    
    .grid-title p {
        font-size: 1rem;
    }
    
    .search-and-filters-container {
        flex-direction: column;
        gap: 0.8rem;
        padding: 0.6rem;
        border-radius: 15px;
    }
    
    .search-container {
        flex: none;
    }
    
    .price-filter-inline {
        flex: none;
        min-width: auto;
        max-width: none;
    }
    
    .search-input {
        padding: 0.6rem 2.2rem 0.6rem 2.2rem;
        font-size: 0.75rem;
    }
    
    .price-label {
        font-size: 0.7rem;
    }
    
    .price-range-display {
        font-size: 0.6rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .index-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 320px));
        gap: 1.5rem;
        padding: 1rem;
        justify-content: center;
    }
    
    .index-item {
        max-height: 580px;
        min-height: 500px;
    }
    
    .item-image {
        min-height: 350px;
        height: 350px;
    }
    
    .item-info {
        padding: 1rem;
    }
    
    .item-name {
        font-size: 1.1rem;
    }
    
    .item-price {
        font-size: 1rem;
    }
    
    .add-to-cart-btn {
        padding: 10px 16px;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        font-weight: 500;
    }
    
    .notification {
        right: 10px;
        left: 10px;
        transform: translateY(-100px);
        max-width: none;
    }
    
    .notification.show {
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    /* Estilos responsivos para filtros simples */
    .simple-price-filters {
        min-width: unset;
        max-width: 100%;
        margin-bottom: 1rem;
        padding: 1rem;
    }
    
    .simple-price-filters.collapsed {
        padding-bottom: 1rem;
    }
    
    .filter-header-controls {
        flex-direction: row;
        align-items: center;
        margin-bottom: 0.75rem;
    }
    
    .simple-price-filters .filter-title {
        font-size: 0.9rem;
    }
    
    .filter-controls {
        gap: 0.375rem;
    }
    
    .clear-filters-btn,
    .toggle-filter-btn {
        padding: 0.375rem;
        border-radius: 6px;
    }
    
    .clear-filters-btn svg,
    .toggle-filter-btn svg {
        width: 14px;
        height: 14px;
    }
    
    .simple-filter-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .simple-price-filters.collapsed .simple-filter-buttons {
        gap: 0;
    }
    
    .simple-filter-btn {
        flex: 1;
        min-width: calc(50% - 0.25rem);
        padding: 0.75rem 0.5rem;
        font-size: 0.75rem;
        justify-content: center;
        text-align: center;
    }
    
    .simple-filter-btn svg {
        width: 14px;
        height: 14px;
    }
    
    .index-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 300px));
        gap: 1rem;
        padding: 0.5rem;
        justify-content: center;
    }
    
    .index-item {
        max-height: 550px;
        min-height: 470px;
    }
    
    .item-image {
        min-height: 320px;
        height: 320px;
    }
}

/* ======= FILTER STYLES UPDATED ======= */

/* ======= PRICE FILTER STYLES ======= */
.price-filter-container {
    background-color: white;
    border: 1px solid var(--color-beige);
    border-radius: 8px;
    padding: 0.75rem;
    margin-top: 0.75rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
    max-width: 100%;
    overflow: hidden;
}

.price-filter-container:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.price-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    gap: 0.5rem;
}

.price-filter-header h4 {
    font-family: var(--font-serif);
    font-size: 0.85rem;
    color: var(--color-text);
    margin: 0;
    font-weight: 600;
    flex-shrink: 0;
}

.price-range-display {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    color: var(--color-gold);
    font-weight: 600;
    background-color: var(--color-cream);
    padding: 0.15rem 0.5rem;
    border-radius: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 60%;
    flex-shrink: 1;
}

.price-slider-container {
    position: relative;
    height: 3px;
    margin: 0.5rem 0;
}

.price-slider-track {
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: var(--color-beige);
    border-radius: 2px;
}

.price-slider-range {
    position: absolute;
    height: 3px;
    background: linear-gradient(90deg, var(--color-gold-light), var(--color-gold));
    border-radius: 2px;
    transition: all 0.3s ease;
}

.price-slider {
    position: absolute;
    width: 100%;
    height: 3px;
    background: none;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    pointer-events: none;
}

.price-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    background: var(--color-gold);
    border: 2px solid white;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    box-shadow: 0 1px 3px rgba(184, 134, 11, 0.3);
    transition: all 0.3s ease;
}

.price-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 6px rgba(184, 134, 11, 0.4);
}

.price-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: var(--color-gold);
    border: 2px solid white;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    box-shadow: 0 1px 3px rgba(184, 134, 11, 0.3);
    transition: all 0.3s ease;
}

.price-slider::-moz-range-track {
    background: transparent;
    border: none;
    outline: none;
    height: 2px;
}

.price-slider::-moz-range-progress {
    background: transparent;
    height: 2px;
}

/* Asegurar que ambos sliders estén en la misma posición */
.price-slider-min {
    z-index: 3;
}

.price-slider-max {
    z-index: 2;
}

/* Prevenir selección de texto en el slider */
.price-slider-container {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Asegurar que el contenedor tenga el tamaño correcto */
.price-filter-inline {
    position: relative;
}

.reset-price-filter {
    width: auto;
    margin-top: 0.5rem;
    padding: 0.4rem 0.8rem;
    border: 1px solid var(--color-beige);
    background-color: transparent;
    color: var(--color-text-light);
    font-family: var(--font-sans);
    font-size: 0.7rem;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.reset-price-filter:hover {
    border-color: var(--color-gold);
    background-color: var(--color-gold);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 1px 6px rgba(184, 134, 11, 0.2);
}

/* Notificaciones */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(184,134,11,0.3);
    transform: translateX(400px);
    transition: transform 0.4s ease;
    z-index: 10000;
    font-weight: 500;
    font-family: var(--font-sans);
    max-width: 350px;
}

.notification.show {
    transform: translateX(0);
}

/* ======= PAGINATION STYLES ======= */
.pagination-container {
    margin-top: 3rem;
    padding: 2rem 0;
    border-top: 1px solid var(--color-beige);
}

.pagination-info {
    text-align: center;
    margin-bottom: 1.5rem;
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--color-beige);
    background-color: white;
    color: var(--color-text);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 400;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.pagination-btn:hover:not(:disabled) {
    border-color: var(--color-gold);
    background-color: var(--color-gold);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.2);
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.pagination-number {
    width: 40px;
    height: 40px;
    border: 2px solid var(--color-beige);
    background-color: white;
    color: var(--color-text);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.pagination-number:hover {
    border-color: var(--color-gold);
    background-color: var(--color-gold);
    color: white;
    transform: translateY(-2px);
}

.pagination-number.active {
    background-color: var(--color-gold);
    border-color: var(--color-gold);
    color: white;
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
}

.pagination-ellipsis {
    color: var(--color-text-light);
    font-weight: bold;
    padding: 0 0.5rem;
}

/* Animaciones */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .index-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 340px));
        gap: 2rem;
        justify-content: center;
    }

    .index-item {
        max-height: 650px;
        min-height: 550px;
    }

    .item-image {
        height: 380px;
        min-height: 380px;
    }
}

@media (max-width: 768px) {
    .magazine-title {
        font-size: 3rem;
    }
    
    .modal-content {
        width: 95%;
        height: 90vh;
        max-height: 90vh;
        margin: 5vh auto;
        border-radius: 16px;
        overflow-y: auto;
    }

    .quick-view-content {
        display: flex;
        flex-direction: column;
        height: auto;
        min-height: 100%;
    }

    .quick-view-image {
        height: 400px;
        flex-shrink: 0;
        border-radius: 16px 16px 0 0;
    }

    .quick-view-image img {
        object-fit: cover;
        border-radius: 16px 16px 0 0;
    }

    .quick-view-info {
        padding: 1.5rem;
        flex: 1;
        text-align: left;
    }

    .quick-view-info h2 {
        font-size: 1.8rem;
        text-align: center;
        margin-bottom: 1rem;
        line-height: 1.3;
    }

    .quick-view-info .brand {
        font-size: 1.1rem;
        text-align: center;
        margin-bottom: 0.5rem;
    }

    .quick-view-info .size {
        font-size: 1rem;
        text-align: center;
        margin-bottom: 0.5rem;
    }

    .quick-view-info .price {
        font-size: 1.8rem;
        text-align: center;
        margin-bottom: 1rem;
        font-weight: bold;
    }

    .quick-view-info .description {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1rem;
        text-align: justify;
    }

    .quick-view-info .notes {
        margin-bottom: 1.5rem;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.5);
        border-radius: 8px;
    }

    .quick-view-info .notes h4 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .quick-view-info .notes p {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .quick-view-info .actions {
        margin-top: auto;
        padding-top: 1rem;
    }

    .add-to-bag-btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 12px;
        border-radius: 4px;
        font-weight: 500;
        min-height: auto;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .close-modal {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 24px;
        background: rgba(0, 0, 0, 0.7);
        border-radius: 50%;
        z-index: 1001;
    }

    .index-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1.5rem;
        padding: 1rem;
    }

    .search-wrapper {
        max-width: 100%;
    }
    
    .search-input {
        padding: 0.875rem 2.5rem 0.875rem 3rem;
        font-size: 0.9rem;
    }
    
    .search-results-count {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .modal-content {
        margin: 0.5rem;
        width: calc(100% - 1rem);
        height: 96vh;
        max-height: 96vh;
        border-radius: 12px;
    }

    .quick-view-content {
        display: flex;
        flex-direction: column;
        height: auto;
        min-height: 100%;
    }

    .quick-view-image {
        height: 320px;
        flex-shrink: 0;
        border-radius: 12px 12px 0 0;
    }

    .quick-view-image img {
        border-radius: 12px 12px 0 0;
    }

    .quick-view-info {
        padding: 1rem;
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .quick-view-info h2 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
        line-height: 1.2;
    }

    .quick-view-info .brand {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .quick-view-info .size {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .quick-view-info .price {
        font-size: 1.6rem;
        margin-bottom: 0.75rem;
        font-weight: bold;
    }

    .quick-view-info .description {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 0.75rem;
        text-align: justify;
    }

    .quick-view-info .notes {
        margin-bottom: 1rem;
        padding: 0.75rem;
        background: rgba(255, 255, 255, 0.5);
        border-radius: 6px;
        flex-shrink: 0;
    }

    .quick-view-info .notes h4 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }

    .quick-view-info .notes p {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    .quick-view-info .actions {
        margin-top: auto;
        padding-top: 0.75rem;
    }

    .add-to-bag-btn {
        width: 100%;
        padding: 10px 16px;
        font-size: 11px;
        border-radius: 4px;
        font-weight: 500;
        min-height: auto;
        text-transform: uppercase;
        letter-spacing: 0.8px;
    }

    .close-modal {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
        font-size: 22px;
        background: rgba(0, 0, 0, 0.8);
        border-radius: 50%;
        z-index: 1001;
    }

    .modal-left {
        padding: 1.5rem 1.5rem 0.5rem;
    }

    .modal-right {
        padding: 1.5rem;
    }

    .modal-right h2 {
        font-size: 2rem;
    }

    .modal-right .modal-description {
        font-size: 1rem;
    }

    .modal-right .modal-notes {
        padding: 1rem;
    }

    .index-image {
        min-height: 200px;
    }

    .estado-badge {
        top: 5px;
        left: 5px;
        padding: 0.2rem 0.5rem;
        font-size: 0.7rem;
    }
    
    .precio-con-descuento {
        align-items: center;
        text-align: center;
    }
    
    .descuento-badge {
        font-size: 0.7rem;
        padding: 0.15rem 0.4rem;
    }
}

/* Notificaciones */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(184,134,11,0.3);
    transform: translateX(400px);
    transition: transform 0.4s ease;
    z-index: 10000;
    font-weight: 500;
    font-family: var(--font-sans);
    max-width: 350px;
}

.notification.show {
    transform: translateX(0);
}

/* Quick view modal mejoras */
.quick-view-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    max-width: 800px;
    width: 90%;
    max-height: 90%;
    overflow-y: auto;
    border-radius: 10px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--color-text-light);
    z-index: 1;
}

.quick-view-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
}

.quick-view-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.quick-view-info h2 {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.quick-view-info .brand {
    color: var(--color-gold);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.quick-view-info .size {
    color: #999;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quick-view-info .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.quick-view-info .description {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.quick-view-info .notes h4 {
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.quick-view-info .notes p {
    color: var(--color-text-light);
    font-style: italic;
}

.quick-view-info .actions {
    margin-top: 2rem;
}

/* Etiquetas adicionales para productos - Todas con estilo negro/blanco consistente */
.sold-out-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #000;
    color: #fff;
    padding: 8px 12px;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
    z-index: 2;
    font-family: var(--font-sans);
}

.coming-soon-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #000;
    color: #fff;
    padding: 8px 12px;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
    z-index: 2;
    font-family: var(--font-sans);
}

.new-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #000;
    color: #fff;
    padding: 8px 12px;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
    z-index: 2;
    font-family: var(--font-sans);
}

.premium-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #000;
    color: #fff;
    padding: 8px 12px;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
    z-index: 2;
    font-family: var(--font-sans);
}

.luxury-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #000;
    color: #fff;
    padding: 8px 12px;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
    z-index: 2;
    font-family: var(--font-sans);
}

.discount-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #000;
    color: #fff;
    padding: 8px 12px;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
    z-index: 2;
    font-family: var(--font-sans);
}

.popular-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #000;
    color: #fff;
    padding: 8px 12px;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
    z-index: 2;
    font-family: var(--font-sans);
}

.limited-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #000;
    color: #fff;
    padding: 8px 12px;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
    z-index: 2;
    font-family: var(--font-sans);
}

/* Estilo para múltiples etiquetas - segunda etiqueta más abajo */
.index-item [class*="-badge"]:nth-of-type(2) {
    top: 50px;
}

/* ===== LOADING INDICATOR ===== */
.loading-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    border-radius: 12px;
    margin: 20px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(220, 220, 220, 0.5);
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #c49b61;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.loading-details {
    font-size: 14px;
    color: #666;
    font-style: italic;
    margin-top: 5px;
}

/* Loading states for grid */
.index-grid.loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.index-grid.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    z-index: 100;
}

/* ===== ERROR STATES ===== */
.error-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    background: rgba(255, 245, 245, 0.95);
    border: 1px solid rgba(220, 53, 69, 0.2);
    border-radius: 12px;
    margin: 20px 0;
    color: #dc3545;
}

.error-message h3 {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: 600;
}

.error-message p {
    margin: 5px 0;
    font-size: 14px;
    opacity: 0.8;
}

.retry-button {
    margin-top: 15px;
    padding: 10px 20px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.retry-button:hover {
    background: #c82333;
}

/* ===== RESPONSIVE LOADING ===== */
@media (max-width: 768px) {
    .loading-indicator {
        padding: 30px 15px;
        margin: 15px 0;
    }
    
    .loading-spinner {
        width: 40px;
        height: 40px;
        margin-bottom: 15px;
    }
    
    .loading-text {
        font-size: 16px;
    }
    
    .loading-details {
        font-size: 12px;
    }
}

/* ===== VIDEO TITLE SECTION STYLES ===== */
.video-title-section {
    width: 100vw;
    height: 100vh;
    position: relative;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 0;
    margin-left: calc(-50vw + 50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    /* Deshabilitación completa de interactividad en móviles */
    pointer-events: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    outline: none;
    border: none;
}

/* Asegurar que el video no sea interactivo en ningún dispositivo */
.hero-video::-webkit-media-controls {
    display: none !important;
}

.hero-video::-webkit-media-controls-panel {
    display: none !important;
}

.hero-video::-webkit-media-controls-play-button {
    display: none !important;
}

.hero-video::-webkit-media-controls-start-playback-button {
    display: none !important;
}

/* Para dispositivos móviles específicamente */
@media (max-width: 768px) {
    .hero-video {
        pointer-events: none !important;
        -webkit-touch-callout: none !important;
        touch-action: none !important;
    }
    
    .hero-video:focus {
        outline: none !important;
    }
}

/* Video Overlay Elegant - SOLO TEXTO SUPERPUESTO */
.video-overlay-elegant {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    text-align: center;
    padding: 2rem;
    box-sizing: border-box;
}

.video-title-elegant {
    font-family: 'Clash Grotesk', sans-serif;
    font-size: 7rem;
    font-weight: 700;
    font-style: normal;
    margin: 0 0 2rem 0;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #ffffff;
    line-height: 0.9;
    animation: elegantFadeIn 3s ease-out;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.video-subtitle-elegant {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 600;
    font-style: normal;
    margin: 0;
    line-height: 1.4;
    color: #ffffff;
    letter-spacing: 0.03em;
    animation: elegantFadeIn 3s ease-out 0.5s both;
    max-width: 800px;
    transition: all 0.3s ease;
}

/* Animación elegante */
@keyframes elegantFadeIn {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.8);
        filter: blur(5px);
    }
    50% {
        opacity: 0.7;
        transform: translateY(25px) scale(0.9);
        filter: blur(2px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0px);
    }
}

/* Efectos hover removidos por solicitud del usuario */

/* Responsive para texto elegante */
@media (max-width: 1200px) {
    .video-title-elegant {
        font-size: 5.5rem;
        letter-spacing: 0.12em;
    }
    
    .video-subtitle-elegant {
        font-size: 2rem;
        max-width: 700px;
    }
}

@media (max-width: 768px) {
    .video-overlay-elegant {
        padding: 1.5rem;
    }
    
    .video-title-elegant {
        font-size: 4rem;
        letter-spacing: 0.1em;
        margin-bottom: 1.5rem;
    }
    
    .video-subtitle-elegant {
        font-size: 1.6rem;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .video-overlay-elegant {
        padding: 1rem;
    }
    
    .video-title-elegant {
        font-size: 3rem;
        letter-spacing: 0.08em;
        margin-bottom: 1rem;
        line-height: 1;
    }
    
    .video-subtitle-elegant {
        font-size: 1.3rem;
        line-height: 1.3;
    }
}

@media (max-width: 360px) {
    .video-title-elegant {
        font-size: 2.5rem;
        letter-spacing: 0.05em;
    }
    
    .video-subtitle-elegant {
        font-size: 1.1rem;
    }
    
    /* Asegurar que los botones mantengan tamaño consistente */
    .add-to-bag-btn,
    .add-to-cart-btn {
        padding: 9px 14px !important;
        font-size: 10px !important;
        font-weight: 500 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.6px !important;
        min-height: 38px !important;
        line-height: 1.2 !important;
    }
}

/* Responsive adicional para pantallas muy pequeñas */
@media (max-width: 480px) {
    .pagination-controls {
        flex-direction: column;
        gap: 1rem;
    }
    
    .pagination-btn {
        order: 2;
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
    
    .pagination-numbers {
        order: 1;
        justify-content: center;
    }
}


