/* GALERÍA - ESTILOS SIMPLIFICADOS */
.wrapper nav {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.wrapper .items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.items span {
    padding: 8px 20px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    color: var(--color-secundario);
    border: 2px solid var(--color-secundario);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.items span.active,
.items span:hover {
    color: white;
    background: var(--color-secundario);
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.gallery .image {
    flex: 0 0 calc(16.666% - 15px);
    max-width: calc(16.666% - 15px);
    cursor: pointer;
}

.gallery .image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery .image:hover img {
    transform: scale(1.05);
}

/* PREVIEW BOX SIMPLIFICADO */
.preview-box {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.preview-box.active {
    display: flex;
}

.preview-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.preview-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.preview-title span {
    color: var(--color-secundario);
    font-weight: 700;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-btn:hover {
    color: #ff0000;
    background: rgba(255, 0, 0, 0.1);
}

.preview-image-container {
    position: relative;
    padding: 20px;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.preview-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
}

/* FLECHAS DE NAVEGACIÓN - POSICIÓN FIJA */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.nav-arrow:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.prev-arrow {
    left: 20px;
}

.next-arrow {
    right: 20px;
}

.nav-arrow.hidden {
    display: none !important;
}

/* CONTADOR */
.image-counter {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .gallery .image {
        flex: 0 0 calc(20% - 15px);
        max-width: calc(20% - 15px);
    }
}

@media (max-width: 992px) {
    .gallery .image {
        flex: 0 0 calc(25% - 15px);
        max-width: calc(25% - 15px);
    }
}

@media (max-width: 768px) {
    .gallery .image {
        flex: 0 0 calc(33.333% - 15px);
        max-width: calc(33.333% - 15px);
    }
    
    .nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .gallery .image {
        flex: 0 0 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }
    
    .gallery .image img {
        height: 150px;
    }
    
    .preview-content {
        max-width: 95%;
        max-height: 95%;
    }
    
    .nav-arrow {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .prev-arrow {
        left: 10px;
    }
    
    .next-arrow {
        right: 10px;
    }
}

/* BOTÓN WHATSAPP RESPONSIVE */
		.whatsapp-btn {
			position: fixed;
			bottom: 20px;
			right: 20px;
			width: 60px;
			height: 60px;
			border-radius: 50%;
			background: linear-gradient(135deg, #25d366, #128C7E);
			color: white;
			border: none;
			font-size: 24px;
			display: flex;
			align-items: center;
			justify-content: center;
			box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
			z-index: 1000;
			text-decoration: none;
			transition: all 0.3s ease;
		}

		.whatsapp-btn:hover {
			transform: scale(1.1);
			box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
			color: white;
			text-decoration: none;
		}