/* ====================================================
ESTILOS EXCLUSIVOS PARA LA TIENDA PÚBLICA (CRISOL CELUS)
==================================================== */

:root {
--color-principal: #3DDC84; /* Verde Android /
--color-acento: #ffeb3b; / Amarillo/Dorado para ofertas */
--bg-cuerpo: #0f0f11;
--bg-tarjetas: #1a1a1a;
--text-principal: #ffffff;
--text-secundario: #a0a0a0;
--borde-suave: #333333;
}

body {
background-color: var(--bg-cuerpo);
color: var(--text-principal);
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
margin: 0;
padding: 0;
overflow-x: hidden;
width: 100%;
box-sizing: border-box;
}

/* =========================================
CABECERA FLOTANTE PREMIUM
========================================= */
.public-header {
position: fixed;
top: 0;
left: 0;
width: 100%;
box-sizing: border-box;
z-index: 1000;
background: rgba(15, 15, 17, 0.95) !important;
backdrop-filter: blur(10px);
box-shadow: 0 4px 15px rgba(0,0,0,0.8) !important;
padding: 15px 20px;
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid var(--borde-suave);
transition: all 0.3s ease;
}

.public-header.scrolled {
padding: 10px 20px;
background: rgba(15, 15, 17, 1) !important;
}

/* =========================================
SECCIÓN HERO (BANNER PRINCIPAL)
========================================= */
.hero-section {
margin-top: 70px;
padding: 60px 20px;
background: linear-gradient(135deg, #1a0b2e 0%, #000000 100%);
display: flex;
align-items: center;
justify-content: center;
text-align: center;
color: white;
position: relative;
overflow: hidden;
width: 100%;
box-sizing: border-box;
}

.hero-content {
display: flex;
flex-direction: column;
align-items: center;
max-width: 800px;
z-index: 2;
margin: 0 auto;
}

.hero-title {
font-size: 3.5rem;
font-weight: 900;
margin-bottom: 15px;
letter-spacing: -1px;
line-height: 1.1;
color: var(--text-principal);
}

.hero-subtitle {
font-size: 1.2rem;
font-weight: 400;
margin-bottom: 30px;
color: var(--text-secundario);
}

.hero-btn {
background: var(--color-principal);
color: #000;
padding: 15px 35px;
border-radius: 50px;
font-size: 1.1rem;
font-weight: bold;
text-decoration: none;
display: inline-block;
transition: 0.3s;
box-shadow: 0 4px 15px rgba(61, 220, 132, 0.3);
border: none;
cursor: pointer;
}

.hero-btn:hover {
transform: translateY(-3px);
box-shadow: 0 10px 25px rgba(61, 220, 132, 0.5);
}

/* =========================================
BARRA DE BENEFICIOS (CORRECCIÓN)
========================================= */
.benefits-bar {
display: flex !important;
flex-direction: row !important;
justify-content: space-around !important;
align-items: center !important;
flex-wrap: wrap !important;
background-color: #111 !important;
padding: 25px 20px !important;
border-top: 1px solid var(--borde-suave) !important;
border-bottom: 1px solid var(--borde-suave) !important;
gap: 20px;
width: 100%;
margin-top: -5px;
}

.benefit-item {
display: flex !important;
flex-direction: row !important;
align-items: center !important;
gap: 15px !important;
color: var(--text-principal) !important;
min-width: 250px;
}

.benefit-icon {
font-size: 2.2rem;
color: var(--color-principal);
}

.benefit-text h4 {
margin: 0 0 5px 0;
font-size: 1.1rem;
font-weight: 800;
color: var(--text-principal);
}

.benefit-text p {
margin: 0;
font-size: 0.9rem;
color: var(--text-secundario);
}

/* =========================================
CONTENEDOR DE LA TIENDA Y BUSCADOR
========================================= */
.store-container {
max-width: 1200px;
margin: 50px auto;
padding: 0 20px;
}

.store-controls {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 30px;
flex-wrap: wrap;
gap: 15px;
}

.search-modern {
flex: 1;
min-width: 300px;
position: relative;
}

.search-modern input {
width: 100%;
padding: 15px 20px 15px 50px;
border-radius: 50px;
background-color: var(--bg-tarjetas);
color: var(--text-principal);
border: 1px solid var(--borde-suave);
font-size: 1rem;
outline: none;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(0,0,0,0.2);
box-sizing: border-box;
}

.search-modern input:focus {
border-color: var(--color-principal);
box-shadow: 0 0 15px rgba(61, 220, 132, 0.2);
background-color: #222;
}

.search-modern i {
position: absolute;
left: 20px;
top: 50%;
transform: translateY(-50%);
color: var(--text-secundario);
font-size: 1.2rem;
}

/* =========================================
CLUSTERS DE PRODUCTOS (CELULARES)
========================================= */
.cluster-section {
margin-bottom: 40px;
}

.cluster-header {
margin-bottom: 20px;
border-left: 5px solid var(--color-principal);
padding-left: 15px;
}

.cluster-header h3 {
margin: 0;
color: var(--text-principal);
font-size: 1.6rem;
font-weight: 900;
}

.cluster-header p {
margin: 5px 0 0 0;
color: var(--text-secundario);
font-size: 1rem;
font-weight: 500;
}

/* Comportamiento del scroll táctil */
.cluster-slider {
display: flex;
overflow-x: auto;
gap: 15px;
padding-bottom: 15px;
scroll-snap-type: x mandatory;
-ms-overflow-style: none;

scrollbar-width: none;

}

.cluster-slider::-webkit-scrollbar {
display: none;
}

/* Adaptación de tarjetas para modo oscuro */
.product-card {
background-color: var(--bg-tarjetas);
border: 1px solid var(--borde-suave);
border-radius: 15px;
overflow: hidden;
transition: transform 0.3s, box-shadow 0.3s;
display: flex;
flex-direction: column;
min-width: 220px;
max-width: 220px;
scroll-snap-align: start;
flex-shrink: 0;
}

.product-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(61, 220, 132, 0.15);
border-color: var(--color-principal);
}

.product-title {
color: var(--text-principal);
font-size: 1.1rem;
}

.product-price {
color: var(--color-principal);
font-size: 1.3rem;
font-weight: bold;
}

/* =========================================
DISEÑO RESPONSIVO (MÓVILES)
========================================= */
@media (max-width: 768px) {
.hero-title { font-size: 2.5rem; }
.public-header { padding: 15px 20px; }
.benefits-bar {
margin: 0;
border-radius: 0;
flex-direction: column;
align-items: flex-start;
gap: 20px;
}
}

/* =========================================
CARRUSEL DE OFERTAS
========================================= */
.promo-slider-container {
background-color: transparent !important;
min-height: 100px;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
margin-bottom: 30px;
}

.slider-wrapper {
background-color: var(--bg-tarjetas);
border: 1px dashed var(--borde-suave);
border-radius: 15px;
min-height: 150px;
width: 90%;
display: flex;
align-items: center;
justify-content: center;
color: var(--text-secundario);
}

/* Ocultar los botones del carrusel si está vacío */
.slider-btn {
display: none !important;
}