 
 :root {
    --primary-orange: #FF5722;
    --primary-red: #C91619;
    --dark-red: #B20710;
    --dark-bg: #101010;
    --light-bg: #FFFFFF;
    --light-text: #F5F5F5;
    --dark-text: #121212;
    --muted-text-dark: #AAAAAA;
    --muted-text-light: #555555;
    --border-color-dark: rgba(255, 255, 255, 0.1);
    --border-color-light: #E0E0E0;
    --glow: 0 0 15px var(--primary-orange), 0 0 25px var(--primary-orange);
    --animation-speed: 0.9s;
    --whatsapp-green: #25D366;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
    height: 100%; font-family: 'Inter', sans-serif;
    color: var(--light-text); background-color: var(--dark-bg);
    text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    scroll-behavior: smooth; /* Para un scroll suave al hacer click en los links */
}

.logo img{ height:50px !important;}
    /* cuando aparece */
    .logo.visible {
      opacity: 1;
      transform: translateY(0);
    }


/* --- SCROLLBAR PERSONALIZADO --- */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #202020; }
::-webkit-scrollbar-thumb { background: var(--primary-red); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--dark-red); }

/* --- PRELOADER --- */
#preloader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, var(--dark-red) 0%, var(--primary-red) 100%); z-index: 10000; display: flex; justify-content: center; align-items: center; transition: opacity 1.8s ease-out 1.5s, visibility 1.8s ease-out 1.5s; }
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
#animated-logo { width: 90%; max-width: 600px; }
#animated-logo text { font-size: 80px; font-weight: 900; stroke: var(--light-text); stroke-width: 1.5; fill: transparent; stroke-dasharray: 2000; stroke-dashoffset: 2000; animation: draw-and-fill-preloader 3.5s ease-in-out forwards; }
#animated-logo .logo-border { stroke: var(--light-text); stroke-width: 2; fill: transparent; stroke-dasharray: 2500; stroke-dashoffset: 2500; animation: draw-border-preloader 3.0s ease-in-out forwards; }
@keyframes draw-border-preloader { to { stroke-dashoffset: 0; } }
@keyframes draw-and-fill-preloader { to { stroke-dashoffset: 0; fill: var(--light-text); } }

/* --- WHATSAPP FLOTANTE --- */
#whatsapp-flotante { position: fixed; bottom: 25px; right: 25px; z-index: 1001; width: 60px; height: 60px; background-color: var(--whatsapp-green); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 5px 15px rgba(0,0,0,0.2); transition: transform 0.3s ease; animation: pulse-whatsapp 2s infinite; text-decoration: none; }
#whatsapp-flotante:hover { transform: scale(1.1); animation: none; }
#whatsapp-flotante i { font-size: 32px; color: white; }
@keyframes pulse-whatsapp { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

/* --- ESTRUCTURA Y NAVEGACIÓN DE PÁGINA --- */
#fullpage-container { height: 100%; scroll-snap-type: y mandatory; overflow-y: scroll; }
.page { position: relative; width: 100%; height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 5vh 5% 8vh 5%; text-align: center; overflow: hidden; scroll-snap-align: start; scroll-snap-stop: always; }
.page-content { max-width: 1600px; width: 100%; position: relative; z-index: 2; }

/* --- MENÚ DE NAVEGACIÓN LATERAL (DESKTOP) --- */
#page-nav { display: none; }
@media (min-width: 1025px) {
  html, body { overflow: hidden; }
  #fullpage-container { overflow-y: auto; height: 100vh; }
}
@media (min-width: 1025px) {
    #page-nav { display: block; position: fixed; top: 50%; right: 30px; transform: translateY(-50%); z-index: 100; }
    #page-nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; align-items: flex-end; }
    #page-nav li { margin: 10px 0; }
    #page-nav a { display: flex; align-items: center; text-decoration: none; color: var(--muted-text-dark); transition: color 0.3s; }
    #page-nav a:hover, #page-nav li.active a { color: var(--light-text); }
    #page-nav .nav-label { font-size: 0.8rem; font-weight: bold; text-transform: uppercase; margin-right: 15px; opacity: 0; transition: opacity 0.4s ease; max-width: 0; overflow: hidden; white-space: nowrap; }
    #page-nav a:hover .nav-label, #page-nav li.active a .nav-label { opacity: 1; max-width: 100px; }
    #page-nav .dot { width: 12px; height: 12px; border-radius: 50%; transition: all 0.3s; border: 2px solid var(--muted-text-dark); flex-shrink: 0; }
    #page-nav li.active a .dot { background-color: var(--primary-orange); border-color: var(--primary-orange); transform: scale(1.3); }
    body.on-light-bg #page-nav a, body.on-light-bg #page-nav li.active a { color: var(--dark-text); }
    body.on-light-bg #page-nav .dot { border-color: var(--muted-text-light); }
    body.on-light-bg #page-nav li.active a .dot { background-color: var(--primary-red); border-color: var(--primary-red); }
}

/* --- ICONOS --- */
.icon { font-size: 24px; }
.feature-icon, .benefit-item .icon, .spec-item .icon { display: inline-flex; align-items: center; justify-content: center; }
.feature-icon i { font-size: 40px; }
.benefit-item .icon i { font-size: 48px; }
.benefits-list i { font-size: 20px; color: var(--primary-red); flex-shrink: 0; }
.testimonial-nav i { color: white; font-size: 24px; }
.discover-arrow i { font-size: 24px; }

/* --- ANIMACIONES DE ENTRADA --- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.page.active .reveal { opacity: 1; transform: translateY(0); }
.h2-animate span { opacity: 0; transform: translateY(100%); display: inline-block; transition: opacity 0.4s, transform 0.4s cubic-bezier(0.2, 1, 0.8, 1); }
.page.active .h2-animate span { opacity: 1; transform: translateY(0); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* --- ESTILOS GENERALES Y ANTI-CORTE DE TEXTO (TIPOGRAFÍA AJUSTADA) --- */
ul { list-style: none; padding: 0; }
h2, h3, p { overflow-wrap: break-word; word-wrap: break-word; hyphens: auto; }
h2 { font-family: 'Exo 2', sans-serif; font-size: clamp(2.2rem, 4vw, 3.6rem); text-transform: uppercase; margin-bottom: 20px; font-weight: 900; line-height: 1.1; }
h3 { font-family: 'Exo 2', sans-serif; font-weight: 700; }
p.subtitle { font-size: clamp(1rem, 1.3vw, 1.2rem); line-height: 1.7; max-width: 800px; margin: 20px auto 40px auto; }
.highlight { color: var(--primary-orange); text-shadow: var(--glow); }
.highlight-red { color: var(--primary-red); }

/* --- BOTONES --- */
/* Base */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  font-family: 'Exo 2', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 18px 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  text-decoration: none;
  border-radius: 5px;
  border: none;
  cursor: pointer;
}

/* --- BOTÓN ROJO --- */
.cta-button.red {
  background: var(--primary-red);
  color: white;
 transform-origin: center; z-index: 3; display: inline-flex; align-items: center; justify-content: center; gap: 12px; font-family: 'Exo 2', sans-serif; font-size: 1rem; font-weight: 700; padding: 16px 32px; color: var(--light-text); text-transform: uppercase; text-decoration: none; border-radius: 5px; border: none; background: var(--primary-red); box-shadow: 0 5px 20px rgba(229, 9, 20, 0.4); animation: pulse-play-btn 2.5s infinite; transition: all 0.3s ease;
}

.cta-button.red:hover {
  transform: translateY(-5px);
  color: white;
  box-shadow: 0 10px 30px rgba(255, 0, 0, 0.5);
}

/* --- BOTÓN BLANCO --- */
.cta-button.white {
  background: white;
  border: 2px solid var(--primary-red);
  color: var(--primary-red);
 transform-origin: center; z-index: 3; display: inline-flex; align-items: center; justify-content: center; gap: 12px; font-family: 'Exo 2', sans-serif; font-size: 1rem; font-weight: 700; padding: 16px 32px; color: var(--light-text); text-transform: uppercase; text-decoration: none; border-radius: 5px; border: none; background: var(--primary-red); box-shadow: 0 5px 20px rgba(255, 255, 255, 0.4); animation: pulse-play-btn 2.5s infinite; transition: all 0.3s ease;

}

.cta-button.white:hover {
  background: white !important;
  color: var(--dark-red);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.4);
}

/* Tamaño pequeño */
.cta-button.small {
  padding: 12px 28px;
  font-size: 0.9rem;
}



@keyframes pulse-glow-red {
    0%, 100% { box-shadow: 0 0 5px 0px rgba(229, 9, 20, 0.4); }
    50% { box-shadow: 0 0 20px 5px rgba(229, 9, 20, 0.7); }
}

/* --- PAG 1: INTRO (VIDEO) --- */
#inicio { background-color: #000; }
#intro-video-wrapper { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; z-index: 0; }
#intro-video { object-fit: cover; width: 100%; height: 100%; }
#inicio::after { content:''; position: absolute; top:0; left:0; width:100%; height:100%; z-index: 1; background: radial-gradient(ellipse at center, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.8) 100%); }
.discover-down { position: absolute; bottom: 140px; left: 50%; transform: translateX(-50%); z-index: 2; color: white; opacity: 0; animation: fadeInDiscover 1.5s ease 1s forwards; }
.discover-down span { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; }
.discover-arrow { display: block; margin-top: 10px; animation: bounceDown 2s infinite; }
@keyframes fadeInDiscover { to { opacity: 1; } }
@keyframes bounceDown { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(15px); } 60% { transform: translateY(10px); } }

/* --- PAG 2: NOSOTROS --- */
#nosotros { background: linear-gradient(135deg, var(--dark-red) 0%, var(--primary-red) 100%); color: var(--light-text); }
.about-us-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 50px; text-align: left; }
.feature-card { padding: 35px 30px; position: relative; transition: all 0.4s ease; background-color: rgba(0,0,0,0.15); border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); }
.feature-card:hover { background-color: var(--light-bg); transform: translateY(-8px); border-color: var(--primary-red); }
.feature-icon { color: var(--primary-orange); margin-bottom: 20px; transition: color 0.4s ease; }
.feature-card:hover .feature-icon { color: var(--primary-red); }
.feature-card h3 { font-size: 1.5rem; margin-bottom: 12px; color: var(--light-text); transition: color 0.4s ease; }
.feature-card:hover h3, .feature-card:hover p { color: var(--dark-text); }
.feature-card p { font-size: 0.95rem; color: rgba(255, 255, 255, 0.85); line-height: 1.7; transition: color 0.4s ease; }

/* ================================================= */
/* --- PAG 3: PRODUCTOS (DISEÑO REFORZADO 100VH) --- */
/* ================================================= */
#productos {
    background-color: #f8f8f8;
    color: var(--dark-text);
    height: 100vh;
}
#productos .page-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}
.productos-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    width: 100%;
    flex-shrink: 0;
}
.productos-header h2 { font-size: 1.5rem; font-weight: 600; margin: 0; }
.productos-header .cta-button {
    display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.5rem 1rem;
    border: 2px solid var(--primary-red); border-radius: 6px; font-size: 0.9rem; font-weight: 500;
    text-decoration: none; transition: all 0.3s ease;
}
.productos-header .cta-button:hover { background-color: #e63946; color: #fff; }
.productos-header .cta-button i { font-size: 1.2rem; }

/* Contenedor principal para Desktop */
.productos-container-desktop {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    width: 100%;
    flex-grow: 1;
    overflow: hidden;
    min-height: 0;
}

#productos-categories-list-desktop {
    display: flex; flex-direction: column; gap: 15px;
    background: #fff; padding: 25px; border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); border: 1px solid var(--border-color-light);
}
.category-card {
    background-color: #f9f9f9; border-radius: 12px; padding: 23px 14px; text-align: left;
    border: 2px solid transparent; transition: all 0.3s ease; cursor: pointer;
}
.category-card:hover { transform: translateY(-5px); background-color: #fff; border-color: var(--primary-red); }
.category-card.active {
    border-color: var(--primary-red); background-color: #fff7f5; transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(229, 9, 20, 0.1);
}
.category-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.category-card .category-card-header i { font-size: 32px; color: var(--primary-red); margin-bottom: 0; display: block; }
.category-card .category-card-header h4 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0; color: var(--dark-text); }
.category-card p { font-size: 0.9rem; color: var(--muted-text-light); line-height: 1.5; }

#productos-main-panel-desktop {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    opacity: 1; transform: scale(1);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
#productos-main-panel-desktop.is-changing { opacity: 0; transform: scale(0.98); }

/* Contenedor del producto individual */
#product-display-wrapper {
    flex-grow: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: 35% 1fr;
    gap: 30px;
    background-color: #fff; border-radius: 15px; padding: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.07); border: 1px solid var(--border-color-light);
    margin-bottom: 25px;
    overflow: hidden;
}

.display-image-container {
    display: flex; align-items: center; justify-content: center;
    background-color: #fdfdfd; border-radius: 10px; overflow: hidden;
}
.display-image-container img { max-width: 100%; max-height: 80%; object-fit: contain; }

.display-details-container {
    text-align: left;
    overflow-y: auto;
    padding-right: 20px; padding-left: 10px; padding-bottom: 40px;
    position: relative;
}
.display-details-container::-webkit-scrollbar { width: 6px; }
.display-details-container::-webkit-scrollbar-track { background: #f0f0f0; border-radius: 10px; }
.display-details-container::-webkit-scrollbar-thumb { background: #ccc; border-radius: 10px; }
.display-details-container h3 { font-size: clamp(1.8rem, 2.2vw, 2.2rem); margin-bottom: 15px; color: var(--dark-text); }
.display-details-container .description { margin: 15px 0 25px; line-height: 1.7; color: var(--muted-text-light); font-size: 1rem; }

.product-price {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--primary-red);
    margin: 15px 0 20px;
}

.product-tabs { display: flex; border-bottom: 1px solid var(--border-color-light); margin: 25px 0 20px; }
.tab-btn { background: none; border: none; padding: 12px 0; margin-right: 25px; font-size: 1rem; font-weight: 700; color: #AAAAAA; border-bottom: 3px solid transparent; transition: all 0.3s; cursor: pointer; }
.tab-btn.active { color: var(--primary-red); border-bottom-color: var(--primary-red); }
.tab-content { display: none; } .tab-content.active { display: block; animation: fadeIn 0.5s; }
.specs-list { list-style: none; padding: 0; }
.spec-item { display: flex; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--border-color-light); }
.spec-item:last-child { border-bottom: none; }
.spec-item i { color: var(--primary-red); margin-right: 18px; font-size: 24px; flex-shrink: 0; width: 30px; text-align: center; }
.spec-item .spec-key { font-weight: bold; color: #333333; margin-right: 8px; }
.features-list { padding-left: 20px; list-style: disc; } .features-list li { margin-bottom: 8px; line-height: 1.6; }

.scroll-indicator {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary-red);
    font-size: 36px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.scroll-indicator.visible {
    opacity: 1;
    animation: bounceDown 2s infinite;
}

#product-carousel-wrapper {
    flex-shrink: 0;
    height: 160px;
    padding: 10px 5px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 -5px 15px -5px rgba(0,0,0,0.05);
    overflow-x: auto;
    overflow-y: hidden;
}
#product-carousel-list {
    display: flex;
    gap: 20px;
    padding-bottom: 15px;
}

.carousel-item {
    flex-shrink: 0; width: 130px; height: 130px; background-color: #fff;
    border-radius: 12px; border: 2px solid var(--border-color-light); padding: 10px;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s ease; box-shadow: 0 4px 10px rgba(0,0,0,0.04);
    cursor: pointer;
}
.carousel-item:hover { transform: translateY(-5px); border-color: var(--primary-red); box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
.carousel-item.active {
    border-color: var(--primary-red); box-shadow: 0 0 15px rgba(229, 9, 20, 0.2);
    transform: translateY(-5px);
}
.carousel-item img { max-width: 100%; max-height: 100%; object-fit: contain; }
#mobile-product-list, #product-categories { display: none; }
/* ========================================= */
/* --- FIN DE MEJORAS EN SECCIÓN PRODUCTOS --- */
/* ========================================= */

/* --- PAG 4: BENEFICIOS --- */
#beneficios { background: linear-gradient(135deg, var(--dark-red) 0%, var(--primary-red) 100%); color: var(--light-text); }
#beneficios .subtitle { color: rgba(255,255,255,0.9); }



#tiendas { background: linear-gradient(135deg, var(--dark-red) 0%, var(--primary-red) 100%); color: var(--light-text); }
#tiendas .subtitle { color: rgba(255,255,255,0.9); }
#tiendas .page-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

#tiendas .text-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 600px;
}

#tiendas img {
  max-width: 400px;
  height: auto;
  align-self: flex-end;
    -webkit-mask-image: linear-gradient(to top, transparent 5%, black 35%);
  mask-image: linear-gradient(to top, transparent 5%, black 35%);
}
#tiendas .sinefecto {
  max-width: 200px;
  height: auto;
  display: block;
  margin-left: 0;
  margin-right: auto;
     -webkit-mask-image: none !important;
  mask-image: none !important;
}


#tiendas h2,
#tiendas .subtitle,
#tiendas .contact-buttons-wrapper {
    text-align: left;
    margin: 0;
    padding: 0;
}

#tiendas .subtitle {
    margin-top: 15px;
}

#tiendas .contact-buttons-wrapper {
    margin-top: 25px;
}

@media (max-width: 768px) {
  #tiendas .page-content {
    flex-direction: column;
    text-align: center;
  }

  #tiendas .text-content-wrapper {
    align-items: center;
  }

  #tiendas h2,
  #tiendas .subtitle {
      text-align: center;
  }

  #tiendas img {
    align-self: center;
    margin-bottom: 20px;
  }
}






.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 50px; }
.benefit-item { text-align: center; padding: 40px 30px; border-radius: 12px; background: rgba(0,0,0,0.15); border: 1px solid rgba(255,255,255,0.1); transition: all 0.3s ease; }
.benefit-item:hover { transform: translateY(-10px); background: var(--light-bg); border-color: var(--primary-red); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); }
.benefit-item .icon { margin: 0 auto 25px; width: 48px; height: 48px; color: var(--primary-orange); transition: color 0.3s ease; }
.benefit-item:hover .icon { color: var(--primary-red); }
.benefit-item h3 { font-size: 1.6rem; margin-bottom: 12px; color: var(--light-text); transition: color 0.3s ease; }
.benefit-item:hover h3, .benefit-item:hover p { color: var(--dark-text); }
.benefit-item p { color: rgba(255, 255, 255, 0.85); line-height: 1.7; font-size: 0.95rem; transition: color 0.3s ease; }

/* --- PAG 5: TESTIMONIOS --- */
#clientes { color: var(--light-text); padding: 0; }
.testimonial-slider-container { position: relative; width: 100%; height: 100%; }
.testimonial-slide-fullscreen { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; visibility: hidden; transition: opacity 1.2s ease; display: flex; justify-content: center; align-items: center; text-align: left;}
.testimonial-slide-fullscreen.active { opacity: 1; visibility: visible; }
.testimonial-slide-fullscreen::before { content:''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); backdrop-filter: blur(8px); z-index: 1; }
.testimonial-content-wrapper { z-index: 2; max-width: 950px; padding: 50px; display: flex; align-items: center; gap: 50px; border: 1px solid rgba(255,255,255,0.15); border-radius: 15px; background: rgba(0,0,0,0.25); position: relative; }
.testimonial-avatar { flex-shrink: 0; }
.testimonial-avatar img { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; border: 4px solid var(--primary-red); box-shadow: 0 5px 25px rgba(0,0,0,0.3); }
.testimonial-quote { font-size: clamp(1.4rem, 1.8vw, 1.8rem); line-height: 1.5; font-weight: bold; margin-bottom: 25px; font-family: 'Exo 2', sans-serif; }
.testimonial-client .name { font-size: 1.7rem; font-weight: 700; }
.testimonial-client .business { color: var(--primary-red); font-weight: bold; font-size: 1.15rem; }
.testimonial-nav { position: absolute; bottom: 50px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 15px; }
.testimonial-nav button { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 50%; width: 50px; height: 50px; transition: all 0.3s; cursor: pointer; }
.testimonial-nav button:hover { background: var(--primary-red); }
.play-testimonial-btn { position: absolute; bottom: -30px; right: 50px; transform-origin: center; z-index: 3; display: inline-flex; align-items: center; justify-content: center; gap: 12px; font-family: 'Exo 2', sans-serif; font-size: 1rem; font-weight: 700; padding: 16px 32px; color: var(--light-text); text-transform: uppercase; text-decoration: none; border-radius: 5px; border: none; background: var(--primary-red); box-shadow: 0 5px 20px rgba(229, 9, 20, 0.4); animation: pulse-play-btn 2.5s infinite; transition: all 0.3s ease; }
.play-testimonial-btn:hover { background: var(--dark-red); transform: scale(1.05) translateY(-5px); animation: none; }
.play-testimonial-btn i { font-size: 26px; color: white; }
@keyframes pulse-play-btn {
    0% { box-shadow: 0 0 0 0 rgba(229, 9, 20, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(229, 9, 20, 0); }
    100% { box-shadow: 0 0 0 0 rgba(229, 9, 20, 0); }
}

/* --- VIDEO POPUP --- */
#video-popup { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); z-index: 10001; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0.4s ease; backdrop-filter: blur(10px); }
#video-popup.show { opacity: 1; visibility: visible; }
#video-popup-content { position: relative; width: 90%; max-width: 1100px; aspect-ratio: 16 / 9; transform: scale(0.8); transition: transform 0.4s ease; }
#video-popup.show #video-popup-content { transform: scale(1); }
#popup-video-embed { width: 100%; height: 100%; }
#video-popup iframe { width: 100%; height: 100%; border: 2px solid var(--primary-red); border-radius: 10px; }
#close-popup-btn { position: absolute; top: -50px; right: 0; background: var(--primary-red); color: white; border: none; width: 40px; height: 40px; border-radius: 50%; font-size: 24px; cursor: pointer; }

/* --- PAG 6: TUTORIALES --- */
#tutoriales { background-color: #f8f8f8; color: var(--dark-text); }
#tutoriales .page-content { display: flex; flex-direction: column; height: 100%; }
.tutoriales-container { display: grid; grid-template-columns: 1fr 380px; gap: 40px; width: 100%; flex-grow: 1; max-height: 85vh; margin-top: 15px; }
#video-player-main { background: #fff; border-radius: 15px; box-shadow: 0 10px 40px rgba(0,0,0,0.07); overflow: hidden; border: 1px solid var(--border-color-light); display: flex; flex-direction: column; }
#video-player-embed { width: 100%; aspect-ratio: 16/9; background: #000; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
#video-player-embed iframe { width: 100%; height: 100%; border: none; }
#video-player-info { padding: 30px; text-align: left; flex-grow: 1; }
#video-player-info h3 { font-size: 1.9rem; margin-bottom: 12px; color: var(--dark-text); line-height: 1.3; }
#video-player-info p { color: var(--muted-text-light); line-height: 1.7; font-size: 1rem; }
#video-playlist { background: #fff; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border: 1px solid var(--border-color-light); padding: 20px; overflow-y: auto; }
#video-playlist::-webkit-scrollbar { width: 6px; }
#video-playlist::-webkit-scrollbar-track { background: #f0f0f0; border-radius: 10px; }
#video-playlist::-webkit-scrollbar-thumb { background: #ccc; border-radius: 10px; }
.playlist-item { display: flex; gap: 15px; padding: 15px; border-radius: 10px; transition: all 0.3s; border: 2px solid transparent; margin-bottom: 10px; cursor: pointer; }
.playlist-item:last-child { margin-bottom: 0; }
.playlist-item:hover { background-color: #f9f9f9; border-color: var(--primary-red); transform: translateX(5px); }
.playlist-item.active { background-color: #fff7f5; border-color: var(--primary-red); transform: translateX(5px); }
.playlist-thumbnail { width: 120px; height: 70px; flex-shrink: 0; background-size: cover; background-position: center; border-radius: 8px; }
.playlist-info h4 { font-size: 1.05rem; font-weight: 700; color: var(--dark-text); margin-bottom: 5px; line-height: 1.4; }
.playlist-info p { font-size: 0.8rem; color: var(--muted-text-light); line-height: 1.4; }

/* --- PAG 7: CONTACTO --- */
#unete { background: linear-gradient(135deg, var(--dark-red) 0%, var(--primary-red) 100%); color: var(--light-text);  }
#unete .page-content { border: 1px solid rgba(229, 9, 20, 0.5); border-radius: 15px; padding: 60px; display: inline-block; background: rgb(255, 255, 255); animation: pulse-glow 3s infinite ease-in-out; text-align: center; color: #000 !important; }
.contact-buttons-wrapper { display: flex; flex-wrap: wrap; justify-content: center; gap: 25px; margin-top: 40px; }
@keyframes pulse-glow { 0%, 100% { box-shadow: 0 0 15px rgba(229, 9, 20, 0.4), 0 0 25px rgba(229, 9, 20, 0.3), inset 0 0 10px rgba(229, 9, 20, 0.2); } 50% { box-shadow: 0 0 30px rgba(229, 9, 20, 0.7), 0 0 45px rgba(229, 9, 20, 0.5), inset 0 0 20px rgba(229, 9, 20, 0.3); } }

/* === MENÚ MÓVIL === */
#mobile-menu-toggle { display: none; position: fixed; top: 25px; right: 25px; z-index: 1002; background-color: var(--primary-red); color: white; border: none; width: 50px; height: 50px; border-radius: 10px; font-size: 28px; box-shadow: 0 4px 12px rgba(0,0,0,0.2); justify-content: center; align-items: center; cursor: pointer; }
#mobile-nav { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(10, 10, 10, 0.95); backdrop-filter: blur(10px); z-index: 10000; transform: translateX(-100%); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); flex-direction: column; align-items: center; justify-content: center; }
#mobile-nav.active { transform: translateX(0); }
#mobile-menu-close { position: absolute; top: 25px; right: 25px; background: none; border: none; color: white; font-size: 36px; cursor: pointer; }
#mobile-nav ul { list-style: none; padding: 0; text-align: center; }
#mobile-nav li { margin: 25px 0; }
#mobile-nav a { color: var(--light-text); text-decoration: none; font-family: 'Exo 2', sans-serif; font-size: 2rem; font-weight: 700; text-transform: uppercase; transition: color 0.3s, text-shadow 0.3s; }
#mobile-nav a:hover { color: var(--primary-orange); text-shadow: var(--glow); }

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
    html, body { overflow-y: scroll; cursor: auto; scroll-snap-type: none; }
    #fullpage-container { height: auto; overflow-y: visible; }
    .page {
        height: auto;
        min-height: 100vh;
        padding: 120px 25px 80px 25px;
        overflow: visible;
    }
    #productos {
        height: auto;
    }
    #mobile-menu-toggle, #mobile-nav { display: flex; }
    .productos-header { flex-direction: column; align-items: flex-start; gap: 15px; text-align: left; }
    #productos .productos-header { padding: 0; }
    #tutoriales h2, #tutoriales p.subtitle { padding: 0; text-align: left; }
    .h2-animate { line-height: 1.2; }
    .about-us-features { grid-template-columns: 1fr; }
    .productos-container-desktop { display: none; }

    /* Productos Móvil */
    #product-categories { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 10px; justify-content: flex-start; -webkit-overflow-scrolling: touch; padding: 0 0 15px 0; margin: 0 0 30px 0; }
    #product-categories::-webkit-scrollbar { height: 5px; }
    #product-categories::-webkit-scrollbar-track { background: #e0e0e0; border-radius: 10px;}
    #product-categories::-webkit-scrollbar-thumb { background: var(--primary-red); border-radius: 10px; }
    .category-btn { background: rgba(255,255,255,0.8); border: 1px solid var(--border-color-light); color: var(--muted-text-light); padding: 12px 25px; font-weight: 700; border-radius: 50px; transition: all 0.3s; font-size: 1rem; text-transform: uppercase; flex-shrink: 0; cursor: pointer; }
    .category-btn:hover { background-color: white; color: var(--dark-text); }
    .category-btn.active { background-color: var(--primary-red); color: var(--light-text); box-shadow: 0 5px 15px rgba(229, 9, 20, 0.3); border-color: var(--primary-red); }
    #mobile-product-list { display: block; width: 100%; padding: 0px; }
    .product-card-mobile { background: white; border-radius: 15px; border: 1px solid var(--border-color-light); margin-bottom: 20px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
    .product-card-mobile-header { display: flex; gap: 15px; align-items: center; padding: 15px; }
    .product-card-mobile-img { width: 80px; height: 80px; background: white; border: 1px solid var(--border-color-light); border-radius: 10px; padding: 5px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
    .product-card-mobile-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
    .product-card-mobile-title { font-weight: 700; font-size: 1.2rem; color: var(--dark-text); }
    .details-toggle-btn { margin-left: auto; background: var(--primary-red); color: white; border: none; border-radius: 50%; width: 40px; height: 40px; flex-shrink: 0; font-size: 24px; transition: transform 0.3s ease; cursor: pointer; }
    .product-card-mobile.active .details-toggle-btn { transform: rotate(45deg); }
    .product-details-mobile { max-height: 0; overflow: hidden; transition: max-height 0.5s ease-out; }
    .product-card-mobile.active .product-details-mobile { max-height: 2000px; }
    .product-details-mobile-content {
        padding: 0 20px 20px 20px;
        text-align: left;
        padding-bottom: 40px;
    }
    .product-details-mobile-content .description { text-align: center; margin-bottom: 20px; color: var(--muted-text-light); }
    .product-details-mobile-content h3 { font-size: 1.4rem; }
    .product-details-mobile-content .product-tabs { justify-content: center; }

    /* Tutoriales y Beneficios Móvil */
    .tutoriales-container { grid-template-columns: 1fr; max-height: none; gap: 30px; }
    #video-playlist { max-height: 300px; }
    #beneficios .benefits-grid { grid-template-columns: 1fr; gap: 25px; }

    /* === BLOQUE DE TESTIMONIOS MÓVIL === */
    #clientes {
        justify-content: center;
        padding-left: 15px; padding-right: 15px;
    }
    .testimonial-content-wrapper {
        flex-direction: column; text-align: center;
        gap: 25px; padding: 25px;
    }
    .testimonial-avatar img { width: 140px; height: 140px; }
    .testimonial-quote { font-size: 1.2rem; }
    .play-testimonial-btn {
         position: static; transform: none; margin-top: 25px;
         padding: 14px 28px; font-size: 1rem;
    }
    .testimonial-nav { position: static; width: 0; height: 0; }
    #testimonial-prev, #testimonial-next {
        position: absolute; top: 50%; transform: translateY(-50%);
        z-index: 5; width: 44px; height: 44px;
    }
    #testimonial-prev { left: -130px; top: -130px !important; }
    #testimonial-next { right: -130px; top: -130px !important; }

    #unete .page-content { padding: 30px; }
    #close-popup-btn { top: 10px; right: 10px; }
}

@media (max-width: 480px) {
    h2 { font-size: clamp(1.8rem, 10vw, 2.2rem); }
    p.subtitle { font-size: 0.9rem; }
    .category-btn { padding: 10px 20px; font-size: 0.9rem; }
    .contact-buttons-wrapper { flex-direction: column; align-items: stretch; }
    .cta-button { justify-content: center; }
    .cta-button.small { padding: 14px 28px; font-size: 1rem; }
    #whatsapp-flotante { width: 50px; height: 50px; bottom: 20px; right: 20px; }
    #whatsapp-flotante i { font-size: 28px; }

    #testimonial-prev{
        width: 38px; height: 38px; left: -178px!important; top: -150px !important;
    }
    #testimonial-next {
        width: 38px; height: 38px; left: 145px; top: -150px !important;
    }
    #testimonial-prev { left: 5px; }
    #testimonial-next { right: 5px; }
}
 /* --- ESTILOS PARA EL POPUP DE CONFIRMACIÓN PERSONALIZADO --- */
#custom-confirm-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
#custom-confirm-overlay.visible {
    opacity: 1;
    visibility: visible;
}
#custom-confirm-box {
    background: var(--dark-bg);
    color: var(--light-text);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--border-color-dark);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    text-align: center;
    max-width: 400px;
    width: 90%;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}
#custom-confirm-overlay.visible #custom-confirm-box {
    transform: scale(1);
}
#custom-confirm-box h4 {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 15px;
}
#custom-confirm-box h4 .mdi {
    color: var(--primary-red);
    font-size: 1.3em;
    vertical-align: middle;
    margin-right: 5px;
}
#custom-confirm-message {
    margin-bottom: 25px;
    line-height: 1.6;
    color: var(--muted-text-dark);
}
#custom-confirm-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}
.confirm-btn {
    border: none;
    padding: 10px 25px;
    border-radius: 5px;
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}
#confirm-btn-yes {
    background-color: var(--primary-red);
    color: white;
}
#confirm-btn-yes:hover {
    background-color: var(--dark-red);
    transform: translateY(-2px);
}
#confirm-btn-no {
    background-color: #333;
    color: white;
}
 #confirm-btn-no:hover {
    background-color: #444;
}

/* --- ESTILOS PARA EL CARRITO FLOTANTE (TEMA BLANCO) --- */
#carrito-container {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 1002;
    width: 380px;
    pointer-events: none;
}

#carrito-flotante, #carrito-minimizado-btn {
    pointer-events: auto;
}

#carrito-flotante {
    width: 100%;
    max-height: 80vh;
    background-color: #ffffff;
    border: 1px solid var(--dark-red);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    color: var(--dark-text);
    transition: transform 0.4s ease-out, opacity 0.4s ease-out, visibility 0.4s, border 0.3s;
    transform-origin: bottom left;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
}

#carrito-container.visible #carrito-flotante {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* MODIFICACIÓN: Animación para el borde rojo del carrito */
@keyframes attention-pulse-red {
    0% { box-shadow: 0 0 0 0px var(--primary-red); }
    100% { box-shadow: 0 0 0 15px rgba(229, 9, 20, 0); }
}

#carrito-flotante.just-added {
    border: 2px solid var(--primary-red);
    animation: attention-pulse-red 1s ease-out;
}

/* --- BOTÓN MINIMIZADO --- */
#carrito-minimizado-btn {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 65px;
    height: 65px;
    background-color: var(--primary-red);
    color: white;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(229, 9, 20, 0.4);
    font-size: 28px;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    transition: all 0.4s ease;
    animation: pulse-red-btn 2.5s infinite;
}

#carrito-container.minimized #carrito-minimizado-btn {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

#carrito-container.minimized #carrito-flotante {
     opacity: 0;
     visibility: hidden;
     transform: translateY(10px) scale(0.95);
     pointer-events: none;
}

#carrito-item-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: var(--primary-orange);
    color: white;
    font-size: 12px;
    font-weight: bold;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

@keyframes pulse-red-btn {
    0% { box-shadow: 0 0 0 0 rgba(229, 9, 20, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(229, 9, 20, 0); }
    100% { box-shadow: 0 0 0 0 rgba(229, 9, 20, 0); }
}

/* --- ESTILOS INTERNOS DEL CARRITO (TEMA BLANCO) --- */
.carrito-header {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f9f9f9;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}
.carrito-header h3 {
    font-family: 'Exo 2', sans-serif;
    margin: 0;
    font-size: 1.2rem;
    color: var(--dark-text);
}
.carrito-header h3 .mdi { color: var(--primary-red); }

#cerrar-carrito, .vaciar-carrito-btn {
    background: none;
    border: none;
    color: var(--muted-text-light);
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s, transform 0.3s;
}
#cerrar-carrito:hover, .vaciar-carrito-btn:hover {
    color: var(--primary-red);
    transform: scale(1.1);
}
.vaciar-carrito-btn { font-size: 20px; margin-right: 10px; }

.carrito-body { padding: 10px; overflow-y: auto; flex-grow: 1; }
.carrito-body::-webkit-scrollbar { width: 6px; }
.carrito-body::-webkit-scrollbar-track { background: #f0f0f0; }
.carrito-body::-webkit-scrollbar-thumb { background: #ccc; border-radius: 10px; }
.carrito-item {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 15px;
    align-items: center;
    padding: 12px 10px;
    border-bottom: 1px solid var(--border-color-light);
}
.carrito-item:last-child { border-bottom: none; }
.carrito-item-nombre { font-weight: bold; font-size: 0.95rem; }
.carrito-item-subtotal { font-size: 0.9rem; color: var(--muted-text-light); }
.carrito-item input.item-cantidad {
    width: 50px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    color: var(--dark-text);
    border-radius: 5px;
    padding: 5px;
    text-align: center;
}
.carrito-item .delete-btn {
    color: #aaa;
    text-decoration: none;
    font-size: 20px;
    transition: color 0.3s;
    background: none;
    border: none;
    cursor: pointer;
}
.carrito-item .delete-btn:hover { color: var(--primary-red); }
.carrito-empty-msg { padding: 40px 20px; text-align: center; color: var(--muted-text-light); }
.carrito-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color-light);
    background-color: #f9f9f9;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}
.carrito-total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 1rem;
}
.coupon-row {
    background-color: #fff0f1;
    color: var(--dark-red);
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 5px;
    margin: 10px 0;
    border: 1px dashed var(--primary-red);
    align-items: center;
    font-size: 0.9rem;
}
.coupon-row::before {
    content: "\F051E";
    font-family: "Material Design Icons";
    margin-right: 8px;
    font-weight: normal;
    font-size: 1.2em;
}

.carrito-total-row.grand-total {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-red);
    margin-top: 10px;
}
.carrito-acciones {
    margin-top: 15px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: center;
}
.carrito-acciones .btn {
    padding: 10px; text-align: center; border-radius: 5px; text-decoration: none; font-weight: bold; transition: all 0.3s;
    font-family: 'Exo 2', sans-serif; text-transform: uppercase; font-size: 0.9rem;
    display: flex; align-items: center; justify-content: center;
}
.btn-update {
    background-color: #6c757d;
    color: white;
    border: none;
    cursor: pointer;
    width: 42px;
    height: 42px;
    padding: 0;
    font-size: 1.4rem;
}
.btn-update:hover { background-color: #5a6268; }
.btn-whatsapp { background-color: var(--whatsapp-green); color: white; gap: 8px;}
.btn-whatsapp:hover { background-color: #128C7E; transform: scale(1.05); }

@media (max-width: 480px) {
    #carrito-container {
        width: calc(100% - 20px);
        left: 10px;
        bottom: 10px;
    }
     #carrito-flotante {
        max-height: 60vh;
    }
     #carrito-minimizado-btn {
        width: 60px;
        height: 60px;
        font-size: 26px;
     }
}

/* ==== CSS extraído desde index.php ==== */

/* Anti-flicker + scroll container */
  html, body { height: 100%; overflow: hidden; }
  #fullpage-container { height: 100vh; overflow-y: auto; opacity: 0; will-change: scroll-position, opacity; }
  :focus-visible { outline: 2px solid #e74c3c; outline-offset: 2px; }

/* ===================== NAVBAR DESKTOP ===================== */
#desktop-header {
  position: fixed; top: 0; left: 0; right: 0; height: 70px; z-index: 1200;
  display: none; /* móvil oculto */
}
#desktop-header .inner {
  height: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px; gap: 20px;
  background: transparent; transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}
#desktop-header.scrolled .inner {
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(1.2) blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

/* Estilo HERO (inicio) — texto blanco con sombra para máxima legibilidad */
#desktop-header.hero .inner { background: transparent; backdrop-filter: none; box-shadow: none; }
#desktop-header.hero .brand-title, 
#desktop-header.hero nav.primary a,
#desktop-header.hero .cta-top { color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.60); border-color: #fff; }
#desktop-header.hero nav.primary a:after { background:#fff; }
#desktop-header.hero .cta-top:hover { background:#fff; color:#e74c3c; text-shadow: none; }

#desktop-header .brand { display:flex; align-items:center; gap:10px; text-decoration:none; }
#desktop-header .brand img { height: 38px; width:auto; display:block; }
#desktop-header .brand-title { font-weight: 900; letter-spacing: .5px; color:#1d1d1f; text-transform: uppercase; font-size: 14px; }

#desktop-header nav.primary a {
  margin: 0 10px; padding: 8px 4px; text-decoration: none; color: #1d1d1f; font-weight: 800;
  position: relative; letter-spacing: .5px; text-transform: uppercase; font-size: 13px;
}
#desktop-header nav.primary a:after {
  content:''; position:absolute; left:0; right:0; bottom:-6px; height:2px; border-radius:2px; transform: scaleX(0);
  background:#e74c3c; transition: transform .2s ease;
}
#desktop-header nav.primary a:hover:after,
#desktop-header nav.primary a[aria-current="page"]:after { transform: scaleX(1); }

#desktop-header .cta-top {
  display:inline-flex; align-items:center; gap:8px; padding:10px 14px; border-radius:12px; border:2px solid #e74c3c;
  color:#e74c3c; text-decoration:none; font-weight:900; letter-spacing:.4px; text-transform: uppercase; font-size:12px;
  transition: background .2s ease, color .2s ease, transform .1s ease;
}
#desktop-header .cta-top:hover { background:#e74c3c; color:#fff; transform: translateY(-1px); }

@media (min-width: 1025px) { #desktop-header { display:block; } }

/* ===================== CARRITO FLOTANTE (GLASS) ===================== */
#carrito-container { position: fixed; right: 24px; bottom: 24px; z-index: 1100; }
#carrito-minimizado-btn {
  display:flex; align-items:center; gap:10px; border:1px solid rgba(231,76,60,.25);
  border-radius: 40px; padding: 12px 16px;
  background: rgba(255,255,255,.9); backdrop-filter: blur(8px); box-shadow: 0 10px 28px rgba(0,0,0,.14);
  cursor:pointer; transition: transform .12s ease, box-shadow .2s ease, border-color .2s;
}
#carrito-minimizado-btn .mdi { font-size: 26px; color:#e74c3c; } /* ÍCONO ROJO VISIBLE */
#carrito-minimizado-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0,0,0,.18); border-color: rgba(231,76,60,.5); }
#carrito-item-count {
  min-width: 22px; height: 22px; padding:0 8px; border-radius: 12px; display:inline-flex; align-items:center; justify-content:center;
  font-weight: 800; background:#e74c3c; color:#fff; font-size:12px;
}
#carrito-flotante {
  width: 380px; max-height: 72vh; overflow: hidden; display:none; flex-direction: column; border-radius: 16px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px); box-shadow: 0 22px 60px rgba(0,0,0,.20);
  transform-origin: bottom right; animation: none;
}
#carrito-container.visible #carrito-flotante { display:flex; animation: cartIn .18s ease-out; }
#carrito-container.minimized #carrito-flotante { display:none; }
@keyframes cartIn { from{ transform: scale(.96); opacity:0 } to { transform: scale(1); opacity:1 } }
#carrito-flotante .carrito-header {
  display:flex; align-items:center; justify-content:space-between; padding:12px 14px; border-bottom:1px solid rgba(0,0,0,.06);
}
#cart-content-wrapper { overflow:auto; padding: 8px 12px; }

/* Pulso al agregar */
#carrito-flotante.just-added { animation: pulse 700ms ease-out; }
@keyframes pulse { 0%{ box-shadow:0 0 0 0 rgba(231,76,60,.5) } 100%{ box-shadow:0 0 0 20px rgba(231,76,60,0) } }

/* ===================== BANNER CHEF (solo desktop, pegado al carrito) ===================== */
#chef-promo-flotante {
  position: absolute;            /* anclado al #carrito-container */
  top: calc(100% + 12px);        /* debajo del botón */
  left: 200px;                   /* 200px hacia la derecha */
  transform: translateY(8px);    /* animamos SOLO Y para que no se pierda el offset X */

  /* el resto de estilos que ya tienes se mantienen */
  display: none; align-items: center; gap: 12px;
  padding: 12px 14px; max-width: 320px; border-radius: 14px;
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  box-shadow: 0 10px 28px rgba(0,0,0,.15);
  opacity: 0; transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, left .2s ease, top .2s ease;
  z-index: 1110; /* asegura que no quede debajo del carrito */
}
#chef-promo-flotante.show { display:flex; opacity:1; transform: translateY(0); }
#chef-promo-flotante img { width:56px; height:56px; object-fit:cover; border-radius: 50%; }
#chef-promo-flotante .chef-text p { margin:0; line-height:1.25; color:#333; font-size:.92rem; }
#chef-promo-flotante .chef-text strong { color:#e74c3c; }
#close-chef-promo { position:absolute; top:6px; right:6px; border:0; background:transparent; color:#888; cursor:pointer; }
#close-chef-promo:hover { color:#333; }
@media (max-width:1024px){ #chef-promo-flotante { display:none !important; } } /* solo desktop */

/* ============ Otros ============ */
@media (min-width:1025px){ html, body { overflow: hidden; } #fullpage-container { overflow-y:auto; height:100vh; } }

#fullpage-container{opacity:1!important;} #preloader{display:none!important;}