/* === Variables Globales === */
:root {
    --primary-color: #ff4e8d;
    --secondary-color: #a13d6f;
    --dark-color: #1a1a2e;
    --light-color: #fef6f6;
    --whatsapp-color: #25D366;
    --text-color: #333;
    --text-light: #888;
    --bg-light: #f9f9f9;
}

/* === Reset y Estilos Base === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s;
}

/* Modo Discreto */
body.discreet-mode {
    background-color: var(--bg-light);
}

body.discreet-mode .hero {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../images/backgrounds/Fondo02.jpg') center/cover no-repeat !important;
	
}

body.discreet-mode .product-item img,
body.discreet-mode .modal-product-images img {
    filter: brightness(0.95);
}

body.discreet-mode .section-title h2::after {
    background: var(--text-light);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.bg-light {
    background-color: var(--bg-light);
}

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

/* === Estilos del Header === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.4s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
}

.logo .highlight {
    color: var(--primary-color);
    font-weight: 800;
}



.main-nav ul {
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.highlight-link {
    color: var(--primary-color);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.discreet-mode-toggle {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s;
}

.discreet-mode-toggle:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--dark-color);
    transition: all 0.3s ease;
}

/* === Estilos del Hero === */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/backgrounds/Fondo01.jpg') center/cover no-repeat;
}

.hero-content {
    max-width: 800px;
    padding: 0 30px;
    transform: translateY(50px);
    animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    opacity: 0;
    animation: fadeInUp 1s ease 0.9s forwards;
}

.btn:hover {
    background-color: #d62e7c;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(232, 62, 140, 0.3);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    font-size: 0.8rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* === Estilos de Secciones de Productos === */
.product-section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

.section-title p {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.product-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
    gap: 10px;
}

.filter-btn {
    padding: 8px 20px;
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary-color);
    color: white;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    transition: opacity 0.3s ease;
}

.product-item {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

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

.quick-view {
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-info h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
}

.price {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
}

.original-price {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-left: 5px;
}

.product-badge {
    display: inline-block;
    padding: 3px 10px;
    background-color: var(--primary-color);
    color: white;
    font-size: 0.8rem;
    border-radius: 10px;
    margin-left: 10px;
}

/* === Estilos del Modal de Producto === */
.product-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    overflow-y: auto;
    padding: 20px;
}

.modal-content {
    background-color: white;
    margin: 50px auto;
    padding: 30px;
    border-radius: 10px;
    max-width: 900px;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--secondary-color);
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--primary-color);
}

.modal-product-images {
    flex: 1;
    min-width: 300px;
}

.main-image {
    height: 400px;
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 5px;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-images {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.thumbnail-images img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.thumbnail-images img:hover, .thumbnail-images img.active {
    border-color: var(--primary-color);
}

.modal-product-info {
    flex: 1;
    min-width: 300px;
}

.modal-product-info h2 {
    font-size: 2rem;
    margin-top: 0;
    color: var(--dark-color);
}

.modal-product-info .price {
    font-size: 1.8rem;
    display: block;
    margin: 10px 0 20px;
}

.modal-product-info p {
    margin-bottom: 20px;
    color: var(--text-color);
}

#modal-product-specs {
    list-style: none;
    margin-bottom: 30px;
}

#modal-product-specs li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

#modal-product-specs li i {
    color: var(--primary-color);
}

.whatsapp-btn {
    background-color: var(--whatsapp-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 25px;
    font-size: 1.1rem;
}

.whatsapp-btn:hover {
    background-color: #1da851;
}

/* === Estilos del WhatsApp Float === */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #1da851;
}

/* === Estilos del Footer === */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-section p, .footer-section i {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    background-color: rgba(0, 0, 0, 0.2);
    font-size: 0.9rem;
}



/* RESPONSIVE ADICIONAL */
/* ==================== */
@media (max-width: 768px) {
    /* Estilos para tabletas */
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
	
	.close-modal {
		z-index: 100;
	}
	
	.modal-product-images {
    	flex: 0;
	}
	
	.modal-product-info p {
		width: 95%;
	}
	
	.modal-content {
		max-width: 98%;
		height: 220%;
	}
	
	#modal-product-specs li{
		width: 95%;
	}
	
	.whatsapp-btn {
		position: relative;
        bottom: 15px;
        left: 0;
        right: 0;
        margin: 20px 0 0;
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);
	}
	
	
	.main-nav {
        position: fixed;
        top: 70px; /* Ajusta según la altura de tu header */
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding: 20px;
        display: none;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .menu-toggle {
        display: flex;
        z-index: 1001;
    }
    
    /* Animación para el botón hamburguesa */
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

@media (max-width: 480px) {
    /* Estilos para móviles pequeños */
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }
	
	.modal-product-images {
    	flex: 0;
	}
    
    .main-image {
        max-height: 40vh;
    }
    
    .whatsapp-btn {
        position: relative;
        bottom: 15px;
        left: 0;
        right: 0;
        margin: 20px 0 0;
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    }
	
	.modal-product-info p {
		width: 95%;
	}
	
	.modal-content {
		max-width: 98%;
		height: 220%;
	}
	
	#modal-product-specs li{
		width: 95%;
	}
	
	.main-nav {
        position: fixed;
        top: 70px; /* Ajusta según la altura de tu header */
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding: 20px;
        display: none;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .menu-toggle {
        display: flex;
        z-index: 1001;
    }
    
    /* Animación para el botón hamburguesa */
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}


/*Mapa*/
.map-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Relación de aspecto 16:9 */
    height: 0;
    overflow: hidden;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


/*Estilo mayor de edad*/
#age-verification {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(110, 0, 49, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    font-family: 'Arial', sans-serif; /* Cambia la fuente según tu preferencia */
}

body.age-gate-active #age-verification {
    
    overflow: hidden;
    height: 100vh;
  }

.age-verification-content {
    background: #ffffff; /* Fondo blanco */
    padding: 30px;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    max-width: 400px;
    width: 80%;
}

.age-verification-content h2 {
    margin-bottom: 20px;
    color: #333333; /* Color del texto */
}

.age-verification-content button {
    margin: 10px;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.age-verification-content button:hover {
    background-color: #dddddd; /* Color de fondo al pasar el ratón */
}

-type {
    background-color: #4CAF50; /* Color del botón "Sí" */
    color: white;
}

.age-verification-content button:last-of-type {
    background-color: #f44336; /* Color del botón "No" */
    color: white;
}

/* Fin Edad */

/* === Estilos de Paginación === */
/* Estilos de paginación */
.pagination-container {
    margin-top: 30px;
    text-align: center;
}

.pagination {
    display: inline-flex;
    gap: 5px;
}

.page-btn {
    padding: 8px 15px;
    border: none;
    background-color: #f5f5f5;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-btn:hover {
    background-color: #e0e0e0;
}

.page-btn.active {
    background-color: #c40057;
    color: white;
    font-weight: bold;
}
/* Fin Paginación */