/* ============================================
   COLECCION.CSS - PÁGINA DE COLECCIÓN ELEGANTE
   Crochet by Mocla
   ============================================ */

/* ========== ANIMACIONES ELEGANTES ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ========== HERO DE COLECCIÓN - IDÉNTICO AL INDEX ========== */
.collection-hero {
    position: relative;
    height: 100vh;
    min-height: 750px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FAF8F5;
    overflow: hidden;
    margin-top: 60px;
}

.collection-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(201, 168, 124, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 115, 85, 0.04) 0%, transparent 50%);
    animation: fadeIn 1s ease-out;
}

.collection-hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 900px;
    border: 1px solid rgba(201, 168, 124, 0.08);
    border-radius: 50%;
    animation: pulse-circle 10s ease-in-out infinite;
}

@keyframes pulse-circle {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.25;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.08);
        opacity: 0.12;
    }
}

.collection-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 950px;
    padding: 3rem 2rem;
}

.collection-hero-content .section-subtitle {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 5px;
    color: #C9A87C;
    text-transform: uppercase;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.collection-hero-content .section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4.8rem;
    font-weight: 300;
    line-height: 1.25;
    color: #1A1A1A;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    letter-spacing: 0.5px;
}

.collection-hero-content .section-title em {
    font-family: 'Dancing Script', cursive !important;
    font-weight: 400;
    font-style: normal;
    font-size: 5.2rem;
    color: #8B7355;
    display: block;
    line-height: 1.3;
    margin-top: 0.6rem;
    letter-spacing: 3px;
    opacity: 0.92;
}

.collection-hero-text {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.9;
    color: #6B6B6B;
    margin-bottom: 3.5rem;
    animation: fadeInUp 0.8s ease-out 0.7s both;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.5px;
}

/* Ornamento decorativo */
.collection-hero-content .hero-ornament {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #C9A87C, transparent);
    margin: 0 auto 2.5rem;
    opacity: 0.5;
    animation: fadeInDown 0.8s ease-out 0.1s both;
}

/* Línea decorativa */
.collection-hero-content .hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2.5rem auto;
    animation: fadeIn 0.8s ease-out 0.6s both;
}

.collection-hero-content .hero-divider .divider-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #C9A87C, transparent);
}

.collection-hero-content .hero-divider .divider-dot {
    width: 4px;
    height: 4px;
    background-color: #C9A87C;
    border-radius: 50%;
}

/* Botón CTA */
.collection-hero-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3.5rem;
    animation: fadeInUp 0.8s ease-out 0.9s both;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .collection-hero-content .hero-ornament {
        width: 60px;
        margin-bottom: 2rem;
    }
    
    .collection-hero-content .hero-divider {
        margin: 2rem auto;
    }
    
    .collection-hero-content .hero-divider .divider-line {
        width: 40px;
    }
    
    .collection-hero-cta {
        width: 100%;
        margin-top: 2.5rem;
    }
    
    .collection-hero-cta .btn-primary {
        width: 100%;
        max-width: 100%;
        padding: 1.1rem 2rem;
    }
}

/* ========== RESPONSIVE HERO - COPIADO EXACTO DEL INDEX ========== */

@media (max-width: 1200px) {
    .collection-hero-content .section-title {
        font-size: 4.2rem;
    }
    
    .collection-hero-content .section-title em {
        font-size: 4.8rem;
    }
}

@media (max-width: 1024px) {
    .collection-hero {
        height: 85vh;
        min-height: 650px;
    }
    
    .collection-hero-content .section-title {
        font-size: 3.8rem;
    }
    
    .collection-hero-content .section-title em {
        font-size: 4.4rem;
    }
    
    .collection-hero-text {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .collection-hero {
        height: auto;
        min-height: 650px;
        padding: 5rem 0;
    }
    
    .collection-hero-content {
        padding: 2rem 1.5rem;
    }
    
    .collection-hero-content .section-subtitle {
        font-size: 0.7rem;
        letter-spacing: 4px;
        margin-bottom: 1.5rem;
    }
    
    .collection-hero-content .section-title {
        font-size: 2.8rem;
        margin-bottom: 2rem;
    }
    
    .collection-hero-content .section-title em {
        font-size: 3.6rem;
        margin-top: 0.5rem;
    }
    
    .collection-hero-text {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 576px) {
    .collection-hero {
        min-height: 600px;
    }
    
    .collection-hero-content .section-title {
        font-size: 2.2rem;
    }
    
    .collection-hero-content .section-title em {
        font-size: 3rem;
    }
    
    .collection-hero-text {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 400px) {
    .collection-hero-content .section-title {
        font-size: 2rem;
    }
    
    .collection-hero-content .section-title em {
        font-size: 2.6rem;
    }
    
    .collection-hero::after {
        width: 700px;
        height: 700px;
    }
}

@media (max-width: 896px) and (orientation: landscape) {
    .collection-hero {
        height: auto;
        min-height: 550px;
        padding: 4rem 0;
    }
    
    .collection-hero-content .section-title {
        font-size: 2.5rem;
    }
    
    .collection-hero-content .section-title em {
        font-size: 3.2rem;
    }
}

/* ========== GRID DE PRODUCTOS - 4 COLUMNAS COMPACTAS ========== */
.all-products .products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

/* ========== TARJETAS COMPACTAS Y ELEGANTES ========== */
.all-products .product-item {
    background-color: #FFFFFF;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.all-products .product-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

/* ========== IMAGEN CUADRADA COMPACTA ========== */
.all-products .product-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #F5F5F5;
    flex-shrink: 0;
}

.all-products .product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.all-products .product-item:hover .product-image {
    transform: scale(1.05);
}

/* ========== DETALLES MÁS COMPACTOS ========== */
.all-products .product-details {
    padding: 1rem 1.15rem 1.15rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-height: 0;
}

.all-products .product-cat {
    display: block;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: 0.4rem;
    flex-shrink: 0;
}

.all-products .product-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-primary);
    margin-bottom: 0.35rem;
    line-height: 1.3;
    flex-shrink: 0;
    /* Limitar a 2 líneas */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6rem;
}

.all-products .product-desc {
    font-size: 0.75rem;
    font-weight: 300;
    color: var(--color-text-light);
    margin-bottom: auto;
    line-height: 1.5;
    /* Limitar a 2 líneas */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.25rem;
}

.all-products .product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
}

.all-products .product-price {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-primary);
    letter-spacing: 0.3px;
}

.all-products .product-arrow {
    font-size: 1rem;
    color: var(--color-secondary);
    transition: transform var(--transition-base);
}

/* ========== HOVER EFFECTS SUAVES ========== */
.all-products .product-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.all-products .product-item:hover .product-arrow {
    transform: translateX(4px);
}

/* ========== BADGES COMPACTOS ========== */
.all-products .product-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.3rem 0.75rem;
    background-color: #C9A87C;
    color: #FFFFFF;
    font-size: 0.55rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(6px);
}

/* ========== MENSAJE SIN PRODUCTOS ========== */
.no-products {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--color-text-light);
    font-size: 1.05rem;
    grid-column: 1 / -1;
}

/* ========== ANIMACIÓN ESCALONADA ELEGANTE ========== */
.all-products .product-item:nth-child(1) { animation-delay: 0.7s; }
.all-products .product-item:nth-child(2) { animation-delay: 0.74s; }
.all-products .product-item:nth-child(3) { animation-delay: 0.78s; }
.all-products .product-item:nth-child(4) { animation-delay: 0.82s; }
.all-products .product-item:nth-child(5) { animation-delay: 0.86s; }
.all-products .product-item:nth-child(6) { animation-delay: 0.9s; }
.all-products .product-item:nth-child(7) { animation-delay: 0.94s; }
.all-products .product-item:nth-child(8) { animation-delay: 0.98s; }
.all-products .product-item:nth-child(9) { animation-delay: 1.02s; }
.all-products .product-item:nth-child(10) { animation-delay: 1.06s; }
.all-products .product-item:nth-child(11) { animation-delay: 1.1s; }
.all-products .product-item:nth-child(12) { animation-delay: 1.14s; }

/* ========== RESPONSIVE GRID - CORREGIDO ========== */

/* Tablet grande - 3 columnas */
@media (max-width: 1024px) {
    .all-products .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.35rem;
    }
    
    .all-products .product-details {
        padding: 1rem 1.15rem 1.15rem;
    }
    
    .all-products .product-cat {
        font-size: 0.58rem;
        letter-spacing: 1.8px;
    }
    
    .all-products .product-name {
        font-size: 0.98rem;
    }
    
    .all-products .product-price {
        font-size: 1.05rem;
    }
}

/* Tablet pequeña - 2 columnas */
@media (max-width: 768px) {
    .all-products .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.25rem;
    }
    
    .all-products .product-item {
        width: 100%;
        height: auto;
    }
    
    .all-products .product-image-wrapper {
        aspect-ratio: 1 / 1;
    }
    
    .all-products .product-details {
        padding: 0.9rem 1rem 1rem;
    }
    
    .all-products .product-cat {
        font-size: 0.55rem;
        letter-spacing: 1.5px;
        margin-bottom: 0.35rem;
    }
    
    .all-products .product-name {
        font-size: 0.92rem;
        margin-bottom: 0.3rem;
        min-height: 2.4rem;
    }
    
    .all-products .product-desc {
        font-size: 0.72rem;
        margin-bottom: 0;
        min-height: 2.16rem;
    }
    
    .all-products .product-footer {
        padding-top: 0.65rem;
        margin-top: 0.5rem;
    }
    
    .all-products .product-price {
        font-size: 0.98rem;
    }
    
    .all-products .product-arrow {
        font-size: 0.95rem;
    }
    
    .all-products .product-badge {
        top: 0.65rem;
        left: 0.65rem;
        padding: 0.28rem 0.7rem;
        font-size: 0.52rem;
        letter-spacing: 1.3px;
    }
}

/* Mobile grande - 2 columnas compactas */
@media (max-width: 576px) {
    .all-products .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem;
    }
    
    .all-products .product-details {
        padding: 0.8rem 0.9rem 0.9rem;
    }
    
    .all-products .product-cat {
        font-size: 0.52rem;
        letter-spacing: 1.3px;
        margin-bottom: 0.3rem;
    }
    
    .all-products .product-name {
        font-size: 0.85rem;
        line-height: 1.25;
        min-height: 2.125rem;
    }
    
    .all-products .product-desc {
        font-size: 0.68rem;
        line-height: 1.4;
        min-height: 1.9rem;
    }
    
    .all-products .product-footer {
        padding-top: 0.6rem;
        margin-top: 0.45rem;
    }
    
    .all-products .product-price {
        font-size: 0.92rem;
    }
    
    .all-products .product-arrow {
        font-size: 0.9rem;
    }
}

/* Mobile muy pequeño - 2 columnas mínimas */
@media (max-width: 400px) {
    .all-products .products-grid {
        gap: 0.85rem;
    }
    
    .all-products .product-details {
        padding: 0.7rem 0.8rem 0.8rem;
    }
    
    .all-products .product-cat {
        font-size: 0.5rem;
        letter-spacing: 1.2px;
    }
    
    .all-products .product-name {
        font-size: 0.8rem;
        min-height: 2rem;
    }
    
    .all-products .product-desc {
        font-size: 0.65rem;
        min-height: 1.82rem;
    }
    
    .all-products .product-price {
        font-size: 0.88rem;
    }
}

/* ========== CATEGORÍAS CON ANIMACIONES ========== */
.categories {
    background-color: #FFFFFF;
    padding: 6rem 0;
}

.categories .section-header {
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.categories .section-header .section-subtitle {
    animation: fadeInDown 0.6s ease-out 0.3s both;
}

.categories .section-header .section-title {
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

/* Animación para las categorías */
.categories-grid .category-item {
    animation: fadeInUp 0.6s ease-out backwards;
}

.categories-grid .category-item:nth-child(1) {
    animation-delay: 0.5s;
}

.categories-grid .category-item:nth-child(2) {
    animation-delay: 0.6s;
}

.categories-grid .category-item:nth-child(3) {
    animation-delay: 0.7s;
}

.categories-grid .category-item:nth-child(4) {
    animation-delay: 0.8s;
}

/* ========== SECCIÓN DE PRODUCTOS MEJORADA CON ANIMACIONES ========== */
.all-products {
    background-color: #FAF8F5;
    padding: 6rem 0;
    position: relative;
}

/* Decoración sutil de fondo con animación */
.all-products::before {
    content: '';
    position: absolute;
    top: 15%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(201, 168, 124, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: fadeIn 1s ease-out 0.5s both;
}

.all-products::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: -5%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(139, 115, 85, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: fadeIn 1s ease-out 0.7s both;
}

/* Header de productos elegante con animación */
.products-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    gap: 2rem;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.products-header-left {
    flex: 0 0 auto;
}

.products-header-left .section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    font-weight: 400;
    color: #1A1A1A;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.products-count {
    font-size: 0.9rem;
    color: #9E9E9E;
    letter-spacing: 0.5px;
    font-weight: 300;
}

.products-header-right {
    flex: 1;
}

.products-header-right .filter-bar {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin: 0;
}

/* Animación para los filtros */
.filter-bar .filter-item {
    animation: fadeInDown 0.4s ease-out backwards;
}

.filter-bar .filter-item:nth-child(1) { animation-delay: 0.5s; }
.filter-bar .filter-item:nth-child(2) { animation-delay: 0.55s; }
.filter-bar .filter-item:nth-child(3) { animation-delay: 0.6s; }
.filter-bar .filter-item:nth-child(4) { animation-delay: 0.65s; }
.filter-bar .filter-item:nth-child(5) { animation-delay: 0.7s; }

/* ========== GRID DE PRODUCTOS CON ANIMACIONES ESCALONADAS ========== */
/*.all-products .products-grid {*/
/*    display: grid;*/
/*    grid-template-columns: repeat(3, 1fr);*/
/*    gap: 2.5rem;*/
/*    position: relative;*/
/*    z-index: 1;*/
/*}*/

/* Tarjetas de producto elegantes con entrada animada */
/*.all-products .product-item {*/
/*    background-color: #FFFFFF;*/
/*    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);*/
/*    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);*/
/*    opacity: 0;*/
/*    animation: fadeInUp 0.6s ease-out forwards;*/
/*}*/

/* Animación escalonada elegante */
/*.all-products .product-item:nth-child(1) { animation-delay: 0.7s; }*/
/*.all-products .product-item:nth-child(2) { animation-delay: 0.75s; }*/
/*.all-products .product-item:nth-child(3) { animation-delay: 0.8s; }*/
/*.all-products .product-item:nth-child(4) { animation-delay: 0.85s; }*/
/*.all-products .product-item:nth-child(5) { animation-delay: 0.9s; }*/
/*.all-products .product-item:nth-child(6) { animation-delay: 0.95s; }*/
/*.all-products .product-item:nth-child(7) { animation-delay: 1s; }*/
/*.all-products .product-item:nth-child(8) { animation-delay: 1.05s; }*/
/*.all-products .product-item:nth-child(9) { animation-delay: 1.1s; }*/
/*.all-products .product-item:nth-child(10) { animation-delay: 1.15s; }*/
/*.all-products .product-item:nth-child(11) { animation-delay: 1.2s; }*/
/*.all-products .product-item:nth-child(12) { animation-delay: 1.25s; }*/

/*.all-products .product-item:hover {*/
/*    transform: translateY(-8px);*/
/*    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);*/
/*}*/

/* ========== RESPONSIVE PARA COLECCIÓN ========== */

/* Desktop grande */
/*@media (max-width: 1400px) {*/
/*    .collection-hero-content .section-title {*/
/*        font-size: 3.5rem;*/
/*    }*/
    
/*    .collection-hero-content .section-title em {*/
/*        font-size: 4rem !important;*/
/*    }*/
/*}*/

/* Tablet grande */
/*@media (max-width: 1200px) {*/
/*    .collection-hero {*/
/*        padding: 8rem 0 5rem;*/
/*    }*/
    
/*    .collection-hero-content .section-title {*/
/*        font-size: 3.2rem;*/
/*    }*/
    
/*    .collection-hero-content .section-title em {*/
/*        font-size: 3.6rem !important;*/
/*    }*/
    
/*    .products-header-left .section-title {*/
/*        font-size: 2.4rem;*/
/*    }*/
    
/*    .all-products .products-grid {*/
/*        grid-template-columns: repeat(2, 1fr);*/
/*        gap: 2rem;*/
/*    }*/
/*}*/

/* Tablet */
/*@media (max-width: 1024px) {*/
/*    .collection-hero {*/
/*        padding: 7rem 0 4rem;*/
/*    }*/
    
/*    .collection-hero-content .section-title {*/
/*        font-size: 2.8rem;*/
/*    }*/
    
/*    .collection-hero-content .section-title em {*/
/*        font-size: 3.2rem !important;*/
/*    }*/
    
/*    .collection-hero-text {*/
/*        font-size: 1rem;*/
/*    }*/
    
/*    .categories {*/
/*        padding: 5rem 0;*/
/*    }*/
    
/*    .all-products {*/
/*        padding: 5rem 0;*/
/*    }*/
    
/*    .products-header {*/
/*        margin-bottom: 3rem;*/
/*        padding-bottom: 1.5rem;*/
/*    }*/
    
/*    .products-header-left .section-title {*/
/*        font-size: 2.2rem;*/
/*    }*/
/*}*/

/* Mobile grande / Tablet pequeña */
/*@media (max-width: 768px) {*/
/*    .collection-hero {*/
/*        padding: 6rem 0 3rem;*/
/*    }*/
    
/*    .collection-hero-content .section-subtitle {*/
/*        font-size: 0.7rem;*/
/*        letter-spacing: 4px;*/
/*        margin-bottom: 1.25rem;*/
/*    }*/
    
/*    .collection-hero-content .section-title {*/
/*        font-size: 2.5rem;*/
/*        margin-bottom: 1.5rem;*/
/*    }*/
    
/*    .collection-hero-content .section-title em {*/
/*        font-size: 3rem !important;*/
/*        margin-top: 0.2rem;*/
/*        display: inline;*/
/*    }*/
    
/*    .collection-hero-text {*/
/*        font-size: 0.95rem;*/
/*        line-height: 1.7;*/
/*    }*/
    
/*    .categories {*/
/*        padding: 4rem 0;*/
/*    }*/
    
/*    .all-products {*/
/*        padding: 4rem 0;*/
/*    }*/
    
    /* Header de productos en móvil */
/*    .products-header {*/
/*        flex-direction: column;*/
/*        align-items: flex-start;*/
/*        gap: 2rem;*/
/*        margin-bottom: 3rem;*/
/*        padding-bottom: 1.5rem;*/
/*    }*/
    
/*    .products-header-left .section-title {*/
/*        font-size: 2rem;*/
/*    }*/
    
/*    .products-count {*/
/*        font-size: 0.85rem;*/
/*    }*/
    
/*    .products-header-right {*/
/*        width: 100%;*/
/*    }*/
    
/*    .products-header-right .filter-bar {*/
/*        width: 100%;*/
/*        justify-content: flex-start;*/
/*        overflow-x: auto;*/
/*        overflow-y: hidden;*/
/*        flex-wrap: nowrap;*/
/*        -webkit-overflow-scrolling: touch;*/
/*        scrollbar-width: none;*/
/*        padding-bottom: 0.5rem;*/
/*    }*/
    
/*    .products-header-right .filter-bar::-webkit-scrollbar {*/
/*        display: none;*/
/*    }*/
    
/*    .products-header-right .filter-item {*/
/*        flex: 0 0 auto;*/
/*        white-space: nowrap;*/
/*    }*/
    
    /* Grid de productos en móvil */
/*    .all-products .products-grid {*/
/*        grid-template-columns: 1fr;*/
/*        gap: 2.5rem;*/
/*    }*/
/*}*/

/* Mobile */
/*@media (max-width: 576px) {*/
/*    .collection-hero {*/
/*        padding: 5rem 0 2.5rem;*/
/*    }*/
    
/*    .collection-hero-content .section-subtitle {*/
/*        font-size: 0.65rem;*/
/*        letter-spacing: 3px;*/
/*        margin-bottom: 1rem;*/
/*    }*/
    
/*    .collection-hero-content .section-title {*/
/*        font-size: 2.2rem;*/
/*    }*/
    
/*    .collection-hero-content .section-title em {*/
/*        font-size: 2.6rem !important;*/
/*    }*/
    
/*    .collection-hero-text {*/
/*        font-size: 0.9rem;*/
/*    }*/
    
/*    .categories {*/
/*        padding: 3rem 0;*/
/*    }*/
    
/*    .all-products {*/
/*        padding: 3rem 0;*/
/*    }*/
    
/*    .products-header-left .section-title {*/
/*        font-size: 1.8rem;*/
/*    }*/
    
/*    .products-count {*/
/*        font-size: 0.8rem;*/
/*    }*/
    
/*    .all-products .products-grid {*/
/*        gap: 2rem;*/
/*    }*/
/*}*/

/* Mobile muy pequeño */
/*@media (max-width: 400px) {*/
/*    .collection-hero-content .section-title {*/
/*        font-size: 2rem;*/
/*    }*/
    
/*    .collection-hero-content .section-title em {*/
/*        font-size: 2.4rem !important;*/
/*    }*/
    
/*    .products-header-left .section-title {*/
/*        font-size: 1.6rem;*/
/*    }*/
/*}*/

/* Landscape en móviles */
/*@media (max-width: 896px) and (orientation: landscape) {*/
/*    .collection-hero {*/
/*        padding: 5rem 0 3rem;*/
/*    }*/
    
/*    .collection-hero-content .section-title {*/
/*        font-size: 2.2rem;*/
/*    }*/
    
/*    .collection-hero-content .section-title em {*/
/*        font-size: 2.6rem !important;*/
/*    }*/
/*}*/

/* ========== OPTIMIZACIONES ========== */
@media (prefers-reduced-motion: reduce) {
    .all-products .product-item,
    .collection-hero::before,
    .collection-hero::after,
    .collection-hero-content .section-subtitle,
    .collection-hero-content .section-title,
    .collection-hero-text,
    .categories .section-header,
    .categories-grid .category-item,
    .products-header,
    .filter-bar .filter-item,
    .all-products::before,
    .all-products::after {
        animation: none !important;
        opacity: 1 !important;
    }
}

/* Performance */
.collection-hero::before,
.collection-hero::after,
.all-products::before,
.all-products::after {
    will-change: transform, opacity;
}

.all-products .product-item {
    will-change: transform, opacity;
}

/* ========== BADGES PARA COLECCIÓN ========== */
.all-products .product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.35rem 0.9rem;
    background-color: #C9A87C;
    color: #FFFFFF;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(6px);
}

.all-products .product-badge.new,
.all-products .product-badge.badge-new {
    background-color: #C9A87C;
}

@media (max-width: 768px) {
    .all-products .product-badge {
        top: 0.75rem;
        left: 0.75rem;
        padding: 0.3rem 0.75rem;
        font-size: 0.55rem;
        letter-spacing: 1.5px;
    }
}

/* ========== MEJORAS PARA IMÁGENES DE CATEGORÍAS ========== */

/* Asegurar que todas las imágenes se vean bien */
.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Logo de la empresa - ajuste especial */
.category-image img.category-logo {
    object-fit: contain;
    padding: 20%;
    background-color: #FAF8F5;
}

/* Hover effect más suave para el logo */
.category-item:hover .category-logo {
    transform: scale(1.05);
}

/* Loading state para imágenes */
.category-image {
    background-color: #F5F5F5;
}

.category-image img {
    opacity: 0;
    animation: fadeInImage 0.6s ease-out 0.1s forwards;
}

@keyframes fadeInImage {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Error de carga - mostrar logo como fallback */
.category-image img[src="img/Logo.png"] {
    object-fit: contain;
    padding: 15%;
    background-color: #FAF8F5;
}