@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Roboto:wght@300;400;500&display=swap');

:root {
  --color-rosa: #E91E8C;
  --color-azul: #00A8E8;
  --color-azul-oscuro: #0077B6;
  --color-rosa-oscuro: #C41771;
  --color-texto: #1A1A1A;
  --color-texto-claro: #4A4A4A;
  --color-fondo: #F8F9FA;
  --color-blanco: #FFFFFF;
  --sombra-suave: 0 2px 10px rgba(0, 0, 0, 0.08);
  --sombra-media: 0 4px 20px rgba(0, 0, 0, 0.12);
  --transicion: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Roboto', sans-serif;
  color: var(--color-texto);
  background-color: var(--color-fondo);
  line-height: 1.7;
  padding-top: 76px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transicion);
}

/* =============== NAVBAR MEJORADO =============== */
.navbar {
  background: linear-gradient(135deg, var(--color-rosa) 0%, var(--color-azul) 100%) !important;
  padding: 1rem 0;
  box-shadow: var(--sombra-media);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

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

.navbar-brand img {
  transition: var(--transicion);
  filter: brightness(1.1);
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

.navbar-nav .nav-link {
  color: var(--color-blanco) !important;
  font-weight: 500;
  font-size: 1rem;
  margin: 0 0.5rem;
  padding: 0.5rem 1rem !important;
  border-radius: 8px;
  transition: var(--transicion);
  position: relative;
}

.navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background-color: var(--color-blanco);
  transition: var(--transicion);
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
  width: 60%;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* =============== HERO SECTION =============== */
.hero {
  background-image: url('imagenes/PORTADA.MODI.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  height: 100vh;
  position: relative;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, 
    rgba(233, 30, 140, 0.3) 0%, 
    rgba(0, 168, 232, 0.3) 50%, 
    rgba(0, 0, 0, 0.6) 100%
  );
  animation: gradientMove 10s ease infinite;
}

@keyframes gradientMove {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.overlay {
  background: linear-gradient(135deg, 
    rgba(233, 30, 140, 0.85) 0%, 
    rgba(0, 168, 232, 0.85) 100%
  );
  padding: 3rem 2rem;
  border-radius: 20px;
  backdrop-filter: blur(10px) saturate(180%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
              inset 0 1px 1px rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: floatSlow 6s ease-in-out infinite;
}

@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--color-blanco);
  text-shadow: 
    3px 3px 6px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(255, 255, 255, 0.3);
  margin-bottom: 1rem;
  letter-spacing: -1px;
  animation: slideInDown 1s ease;
}

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

.hero h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-blanco);
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
  margin-bottom: 1rem;
  animation: slideInUp 1s ease 0.3s backwards;
}

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

.hero p {
  font-size: 1.2rem;
  color: var(--color-blanco);
  text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeIn 1s ease 0.6s backwards;
}

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

/* =============== SECCIONES =============== */
section h2 {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-rosa) 0%, var(--color-azul) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 3rem;
  letter-spacing: -0.5px;
}

/* =============== CARDS MEJORADAS =============== */
.card {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transicion);
  background: var(--color-blanco);
  box-shadow: var(--sombra-suave);
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(233, 30, 140, 0.1) 0%, 
    rgba(0, 168, 232, 0.1) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  pointer-events: none;
}

.card:hover::before {
  opacity: 1;
}

.card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 20px 40px rgba(233, 30, 140, 0.25),
              0 10px 20px rgba(0, 168, 232, 0.15);
}

.card-img-top {
  height: 250px;
  object-fit: cover;
  transition: transform 0.6s ease;
  position: relative;
  z-index: 2;
}

.card:hover .card-img-top {
  transform: scale(1.1) rotate(2deg);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--color-rosa) 0%, var(--color-azul) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 2;
  animation: gradientShift 3s ease infinite;
  background-size: 200% auto;
}

.card-text {
  color: var(--color-texto-claro);
  font-size: 0.95rem;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

.card-body {
  padding: 1.5rem;
  position: relative;
  z-index: 2;
}

/* =============== BOTONES =============== */
.btn-primary {
  background: linear-gradient(135deg, var(--color-rosa) 0%, var(--color-azul) 100%);
  border: none;
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transicion);
  box-shadow: 0 4px 15px rgba(233, 30, 140, 0.3);
  color: var(--color-blanco);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(233, 30, 140, 0.4);
  background: linear-gradient(135deg, var(--color-rosa-oscuro) 0%, var(--color-azul-oscuro) 100%);
}

/* =============== FORMULARIOS =============== */
.form-control,
.form-select {
  border: 2px solid #E0E0E0;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  transition: var(--transicion);
  font-size: 1rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--color-rosa);
  box-shadow: 0 0 0 0.2rem rgba(233, 30, 140, 0.15);
}

.form-label {
  font-weight: 600;
  color: var(--color-texto);
  margin-bottom: 0.5rem;
}

/* =============== FOOTER MEJORADO =============== */
footer {
  background: linear-gradient(135deg, var(--color-rosa) 0%, var(--color-azul) 100%);
  color: var(--color-blanco);
  padding: 3rem 1rem 2rem;
  text-align: center;
  font-size: 0.95rem;
  margin-top: 4rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, 
    var(--color-rosa) 0%, 
    var(--color-azul) 50%, 
    var(--color-rosa) 100%);
}

footer h5 {
  color: var(--color-blanco);
  margin-bottom: 1rem;
  font-size: 1.25rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

footer p {
  margin: 0.5rem 0;
  font-weight: 400;
  opacity: 0.95;
}

footer a {
  color: var(--color-blanco);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transicion);
  display: inline-block;
}

footer a:hover {
  color: #FFE100;
  transform: translateY(-2px);
}

.footer-social {
  margin-top: 1.5rem;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  transition: var(--transicion);
  font-size: 1rem;
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

footer hr {
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  margin: 2rem 0;
}

/* =============== CAROUSEL =============== */
.carousel-item img {
  height: 500px;
  object-fit: cover;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(233, 30, 140, 0.7);
  border-radius: 50%;
  padding: 2rem;
}

/* =============== UTILIDADES =============== */
.bg-gradient-primary {
  background: linear-gradient(135deg, var(--color-rosa) 0%, var(--color-azul) 100%);
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-rosa) 0%, var(--color-azul) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.shadow-custom {
  box-shadow: var(--sombra-media);
}

/* =============== RESPONSIVE =============== */
@media (max-width: 768px) {
  body {
    padding-top: 70px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero h2 {
    font-size: 1.5rem;
  }

  section h2 {
    font-size: 2rem;
  }

  .navbar-nav .nav-link {
    margin: 0.25rem 0;
  }

  .carousel-item img {
    height: 300px;
  }

  .overlay {
    padding: 2rem 1rem;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 1.75rem;
  }

  section h2 {
    font-size: 1.75rem;
  }

  .card-img-top {
    height: 200px;
  }
}

/* =============== EFECTOS VISUALES AVANZADOS =============== */

/* Glassmorphism para cards premium */
.card-glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.dark-mode .card-glass {
  background: rgba(42, 42, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Gradient borders */
.gradient-border {
  position: relative;
  border-radius: 16px;
  background: white;
  padding: 2px;
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(135deg, var(--color-rosa) 0%, var(--color-azul) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

/* Floating animation */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.float {
  animation: float 3s ease-in-out infinite;
}

/* Glow effect */
.glow {
  box-shadow: 0 0 20px rgba(233, 30, 140, 0.5),
              0 0 40px rgba(0, 168, 232, 0.3);
}

.glow-hover:hover {
  box-shadow: 0 0 30px rgba(233, 30, 140, 0.7),
              0 0 60px rgba(0, 168, 232, 0.5);
  transition: box-shadow 0.3s ease;
}

/* Neon text effect */
.neon-text {
  text-shadow: 
    0 0 7px rgba(233, 30, 140, 0.8),
    0 0 10px rgba(233, 30, 140, 0.6),
    0 0 21px rgba(233, 30, 140, 0.4),
    0 0 42px rgba(0, 168, 232, 0.4),
    0 0 82px rgba(0, 168, 232, 0.2);
  animation: neonPulse 2s ease-in-out infinite alternate;
}

@keyframes neonPulse {
  from {
    text-shadow: 
      0 0 7px rgba(233, 30, 140, 0.8),
      0 0 10px rgba(233, 30, 140, 0.6),
      0 0 21px rgba(233, 30, 140, 0.4),
      0 0 42px rgba(0, 168, 232, 0.4),
      0 0 82px rgba(0, 168, 232, 0.2);
  }
  to {
    text-shadow: 
      0 0 10px rgba(233, 30, 140, 1),
      0 0 20px rgba(233, 30, 140, 0.8),
      0 0 30px rgba(233, 30, 140, 0.6),
      0 0 50px rgba(0, 168, 232, 0.6),
      0 0 100px rgba(0, 168, 232, 0.4);
  }
}

/* 3D Card Effect */
.card-3d {
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}

.card-3d:hover {
  transform: rotateY(5deg) rotateX(5deg) scale(1.02);
}

/* Shine effect */
.shine {
  position: relative;
  overflow: hidden;
}

.shine::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.3), 
    transparent
  );
  transition: left 0.7s;
}

.shine:hover::before {
  left: 100%;
}

/* Particle background effect */
.particles {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  top: 0;
  left: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  animation: particleFloat 15s infinite;
}

@keyframes particleFloat {
  0% {
    transform: translateY(100vh) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) translateX(100px);
    opacity: 0;
  }
}

/* Gradient text animations */
.gradient-text-animated {
  background: linear-gradient(45deg, 
    var(--color-rosa), 
    var(--color-azul), 
    var(--color-rosa)
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Ribbon effect */
.ribbon {
  position: absolute;
  top: 20px;
  right: -5px;
  background: linear-gradient(135deg, var(--color-rosa) 0%, var(--color-azul) 100%);
  color: white;
  padding: 0.5rem 1rem;
  font-weight: 700;
  font-size: 0.85rem;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.ribbon::before {
  content: '';
  position: absolute;
  bottom: -10px;
  right: 0;
  border-left: 5px solid var(--color-rosa-oscuro);
  border-bottom: 10px solid transparent;
}

/* Tilt effect */
.tilt {
  transition: transform 0.3s ease;
}

.tilt:hover {
  transform: perspective(1000px) rotateX(10deg) rotateY(10deg);
}

/* Morphing button */
.btn-morph {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-morph::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  z-index: -1;
}

.btn-morph:hover::before {
  width: 300px;
  height: 300px;
}

/* Loading skeleton */
.skeleton {
  background: linear-gradient(90deg, 
    #f0f0f0 25%, 
    #e0e0e0 50%, 
    #f0f0f0 75%
  );
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
  border-radius: 8px;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.dark-mode .skeleton {
  background: linear-gradient(90deg, 
    #2a2a2a 25%, 
    #1a1a1a 50%, 
    #2a2a2a 75%
  );
  background-size: 200% 100%;
}

/* Icon bounce */
@keyframes iconBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.icon-bounce {
  animation: iconBounce 1s ease-in-out infinite;
}

/* Wavy underline */
.wavy-underline {
  position: relative;
  display: inline-block;
}

.wavy-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 3px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 4'%3E%3Cpath fill='none' stroke='%23E91E8C' stroke-width='2' d='M0,2 Q5,0 10,2 T20,2'/%3E%3C/svg%3E") repeat-x;
  background-size: 20px 4px;
}

/* Scroll reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Parallax effect */
.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

/* Image zoom on hover */
.zoom-image {
  overflow: hidden;
  border-radius: 16px;
}

.zoom-image img {
  transition: transform 0.5s ease;
}

.zoom-image:hover img {
  transform: scale(1.15);
}

/* Split text animation */
.split-text {
  display: inline-block;
  overflow: hidden;
}

.split-text span {
  display: inline-block;
  animation: slideUp 0.5s ease forwards;
  opacity: 0;
}

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

/* Glitch effect */
.glitch {
  position: relative;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.glitch::before {
  left: 2px;
  text-shadow: -2px 0 var(--color-rosa);
  clip: rect(24px, 550px, 90px, 0);
  animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

.glitch::after {
  left: -2px;
  text-shadow: -2px 0 var(--color-azul);
  clip: rect(85px, 550px, 140px, 0);
  animation: glitch-anim 2.5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
  0% {
    clip: rect(30px, 9999px, 80px, 0);
  }
  20% {
    clip: rect(70px, 9999px, 20px, 0);
  }
  40% {
    clip: rect(10px, 9999px, 100px, 0);
  }
  60% {
    clip: rect(90px, 9999px, 50px, 0);
  }
  80% {
    clip: rect(40px, 9999px, 60px, 0);
  }
  100% {
    clip: rect(60px, 9999px, 30px, 0);
  }
}

@keyframes glitch-anim-2 {
  0% {
    clip: rect(50px, 9999px, 90px, 0);
  }
  20% {
    clip: rect(20px, 9999px, 70px, 0);
  }
  40% {
    clip: rect(80px, 9999px, 30px, 0);
  }
  60% {
    clip: rect(40px, 9999px, 100px, 0);
  }
  80% {
    clip: rect(10px, 9999px, 60px, 0);
  }
  100% {
    clip: rect(70px, 9999px, 40px, 0);
  }
}

/* =============== BRAND LOGOS =============== */
.brand-logo {
  padding: 2rem;
  transition: var(--transicion);
  cursor: pointer;
  filter: grayscale(100%);
  opacity: 0.6;
}

.brand-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

.brand-logo h2 {
  margin: 0;
  transition: var(--transicion);
}

.brand-logo:hover h2 {
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* =============== CTA BUTTON ENHANCEMENTS =============== */
.btn-light:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3) !important;
}

/* =============== ANIMATED BACKGROUND PATTERNS =============== */
.bg-pattern {
  position: relative;
  overflow: hidden;
}

.bg-pattern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  animation: bgMove 20s ease infinite;
}

@keyframes bgMove {
  0%, 100% {
    transform: translate(0, 0);
  }
  33% {
    transform: translate(30px, -50px);
  }
  66% {
    transform: translate(-20px, 20px);
  }
}

/* =============== PRICE TAG STYLE =============== */
.price-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-rosa) 0%, var(--color-azul) 100%);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.25rem;
  box-shadow: 0 4px 15px rgba(233, 30, 140, 0.3);
  animation: pricePulse 2s ease-in-out infinite;
}

@keyframes pricePulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(233, 30, 140, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(233, 30, 140, 0.5);
  }
}

/* =============== ICON STYLES =============== */
.icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-rosa) 0%, var(--color-azul) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 15px rgba(233, 30, 140, 0.3);
  transition: var(--transicion);
}

.icon-circle:hover {
  transform: rotate(360deg) scale(1.1);
  box-shadow: 0 6px 25px rgba(233, 30, 140, 0.5);
}

/* =============== DIVIDER STYLES =============== */
.divider {
  height: 4px;
  width: 100px;
  background: linear-gradient(90deg, var(--color-rosa) 0%, var(--color-azul) 100%);
  margin: 2rem auto;
  border-radius: 2px;
}

.divider-full {
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--color-rosa) 25%, 
    var(--color-azul) 75%, 
    transparent 100%
  );
  margin: 3rem 0;
}

/* =============== FEATURE BOX =============== */
.feature-box {
  padding: 2rem;
  background: white;
  border-radius: 16px;
  box-shadow: var(--sombra-suave);
  transition: var(--transicion);
  border: 2px solid transparent;
}

.feature-box:hover {
  border-color: var(--color-rosa);
  box-shadow: 0 10px 30px rgba(233, 30, 140, 0.2);
  transform: translateY(-5px);
}

.dark-mode .feature-box {
  background: #2a2a2a;
  color: #e0e0e0;
}

/* =============== PROGRESS BAR =============== */
.progress-bar-custom {
  height: 8px;
  background: var(--color-fondo);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-rosa) 0%, var(--color-azul) 100%);
  border-radius: 10px;
  transition: width 1s ease;
  position: relative;
  overflow: hidden;
}

.progress-bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.3), 
    transparent
  );
  animation: progressShine 2s infinite;
}

@keyframes progressShine {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* =============== TOOLTIP CUSTOM =============== */
.tooltip-custom {
  position: relative;
  cursor: help;
}

.tooltip-custom::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%) scale(0);
  padding: 0.5rem 1rem;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  border-radius: 8px;
  font-size: 0.85rem;
  white-space: nowrap;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 1000;
}

.tooltip-custom:hover::before {
  transform: translateX(-50%) scale(1);
  opacity: 1;
}

/* =============== STICKER EFFECT =============== */
.sticker {
  position: relative;
  display: inline-block;
}

.sticker::after {
  content: '';
  position: absolute;
  top: -5px;
  right: -5px;
  width: 20px;
  height: 20px;
  background: var(--color-rosa);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(233, 30, 140, 0.5);
  animation: stickerPulse 1.5s ease-in-out infinite;
}

@keyframes stickerPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }
}

/* =============== DARK MODE =============== */
.dark-mode {
  background-color: #1a1a1a;
  color: #e0e0e0;
}

.dark-mode .bg-light {
  background-color: #2a2a2a !important;
}

.dark-mode .bg-white {
  background-color: #2a2a2a !important;
}

.dark-mode .card {
  background-color: #333;
  color: #e0e0e0;
}

.dark-mode .card-text {
  color: #b0b0b0;
}

.dark-mode .form-control,
.dark-mode .form-select {
  background-color: #333;
  color: #e0e0e0;
  border-color: #555;
}

.dark-mode .navbar {
  background: linear-gradient(135deg, #C41771 0%, #0077B6 100%) !important;
}

#dark-mode-toggle {
  position: fixed;
  top: 90px;
  right: 20px;
  z-index: 9999;
  background: linear-gradient(135deg, var(--color-rosa) 0%, var(--color-azul) 100%);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: var(--sombra-media);
  transition: var(--transicion);
}

#dark-mode-toggle:hover {
  transform: scale(1.1) rotate(15deg);
}

/* =============== WHATSAPP BUTTON =============== */
#whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9998;
  background: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition: var(--transicion);
  animation: pulse 2s infinite;
}

#whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.7);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* =============== SCROLL TO TOP =============== */
#scroll-to-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  z-index: 9997;
  background: linear-gradient(135deg, var(--color-rosa) 0%, var(--color-azul) 100%);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: var(--sombra-media);
  transition: var(--transicion);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

#scroll-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#scroll-to-top:hover {
  transform: translateY(-5px);
}

/* =============== BARRA DE PROGRESO =============== */
#scroll-progress {
  position: fixed;
  top: 76px;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-rosa) 0%, var(--color-azul) 100%);
  width: 0%;
  z-index: 9999;
  transition: width 0.1s ease;
}

/* =============== TOAST NOTIFICATIONS =============== */
.toast-notification {
  position: fixed;
  top: 100px;
  right: -400px;
  background: white;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: var(--sombra-media);
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transicion);
  max-width: 350px;
}

.toast-notification.show {
  right: 20px;
}

.toast-notification button {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #999;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toast-success {
  border-left: 4px solid #28a745;
}

.toast-error {
  border-left: 4px solid #dc3545;
}

.toast-info {
  border-left: 4px solid var(--color-azul);
}

/* =============== MODALES =============== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

.modal.show {
  display: flex;
}

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

.modal-content {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  max-width: 500px;
  width: 100%;
  position: relative;
  animation: modalSlideIn 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.dark-mode .modal-content {
  background: #2a2a2a;
  color: #e0e0e0;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.05);
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #999;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transicion);
  line-height: 1;
  font-weight: 300;
}

.close-modal:hover {
  background: rgba(233, 30, 140, 0.1);
  color: var(--color-rosa);
  transform: rotate(90deg);
}

.dark-mode .close-modal {
  background: rgba(255, 255, 255, 0.1);
  color: #ccc;
}

.dark-mode .close-modal:hover {
  background: rgba(233, 30, 140, 0.2);
  color: var(--color-rosa);
}

/* =============== CARRITO BADGE =============== */
#cart-btn {
  position: relative;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: 1rem;
  transition: var(--transicion);
  display: flex;
  align-items: center;
  justify-content: center;
}

#cart-btn:hover {
  transform: scale(1.1);
}

#cart-btn:focus {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

#cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ff0000;
  color: white;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(255, 0, 0, 0.4);
  animation: popIn 0.3s ease;
}

@keyframes popIn {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

/* =============== CARRITO MODAL MEJORADO =============== */

/* Header del carrito */
.cart-header {
  text-align: center;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--color-rosa), var(--color-azul)) 1;
  margin-bottom: 1.5rem;
}

.cart-subtitle {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
}

.dark-mode .cart-subtitle {
  color: #999;
}

/* Contenedor de items */
.cart-items-container {
  max-height: 400px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 0.5rem;
  margin-bottom: 1.5rem;
}

/* Scrollbar personalizado */
.cart-items-container::-webkit-scrollbar {
  width: 8px;
}

.cart-items-container::-webkit-scrollbar-track {
  background: rgba(233, 30, 140, 0.1);
  border-radius: 10px;
}

.cart-items-container::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--color-rosa), var(--color-azul));
  border-radius: 10px;
}

.cart-items-container::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--color-azul), var(--color-rosa));
}

/* Item del carrito mejorado */
.cart-item-enhanced {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(233, 30, 140, 0.2);
  transition: all 0.3s ease;
  animation: slideInCart 0.3s ease forwards;
  opacity: 0;
  transform: translateX(-20px);
}

@keyframes slideInCart {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.cart-item-enhanced:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(233, 30, 140, 0.2);
  border-color: var(--color-rosa);
}

.dark-mode .cart-item-enhanced {
  background: rgba(30, 30, 30, 0.8);
  border-color: rgba(233, 30, 140, 0.3);
}

/* Imagen del producto en carrito */
.cart-item-image {
  position: relative;
  flex-shrink: 0;
}

.cart-item-image img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid rgba(233, 30, 140, 0.3);
  transition: var(--transicion);
}

.cart-item-enhanced:hover .cart-item-image img {
  border-color: var(--color-rosa);
  transform: scale(1.05);
}

/* Info del producto */
.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cart-item-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-texto);
  margin: 0;
  line-height: 1.3;
}

.cart-item-price-wrapper,
.cart-item-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.price-label,
.subtotal-label {
  color: #666;
  font-weight: 400;
}

.dark-mode .price-label,
.dark-mode .subtotal-label {
  color: #999;
}

.cart-item-price {
  color: var(--color-azul);
  font-weight: 600;
}

.subtotal-amount {
  color: var(--color-rosa);
  font-weight: 700;
  font-size: 1rem;
}

/* Controles del carrito */
.cart-item-controls {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  justify-content: space-between;
}

/* Cantidad mejorada */
.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(233, 30, 140, 0.1);
  border-radius: 20px;
  padding: 0.25rem;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border: none;
  background: linear-gradient(135deg, var(--color-rosa), var(--color-azul));
  color: white;
  border-radius: 50%;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transicion);
  box-shadow: 0 2px 8px rgba(233, 30, 140, 0.3);
}

.qty-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(233, 30, 140, 0.5);
}

.qty-btn:active {
  transform: scale(0.95);
}

.qty-value {
  min-width: 30px;
  text-align: center;
  font-weight: 700;
  color: var(--color-rosa);
  font-size: 1rem;
}

/* Botón eliminar mejorado */
.remove-item-btn {
  background: rgba(220, 53, 69, 0.1);
  border: 1px solid rgba(220, 53, 69, 0.3);
  color: #dc3545;
  border-radius: 8px;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 600;
  transition: var(--transicion);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.remove-item-btn:hover {
  background: #dc3545;
  color: white;
  border-color: #dc3545;
  transform: scale(1.05);
}

.remove-icon {
  font-size: 1rem;
}

.remove-text {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Estado vacío mejorado */
.empty-cart-state {
  text-align: center;
  padding: 3rem 1rem;
  animation: fadeIn 0.5s ease;
}

.empty-cart-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.3;
}

.empty-cart-state h4 {
  color: var(--color-texto);
  margin-bottom: 0.5rem;
}

.empty-cart-state p {
  color: #999;
  margin-bottom: 1.5rem;
}

/* Resumen del carrito */
.cart-summary {
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--color-rosa), var(--color-azul)) 1;
  padding-top: 1.5rem;
}

.cart-total-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(233, 30, 140, 0.1), rgba(0, 168, 232, 0.1));
  border-radius: 12px;
  margin-bottom: 1rem;
}

.total-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-texto);
}

.total-amount {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--color-rosa), var(--color-azul));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cart-actions .btn-icon {
  font-size: 1.2rem;
  margin-right: 0.5rem;
}

/* Modal del carrito mejorado */
.cart-modal-enhanced {
  max-width: 600px;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Responsive */
@media (max-width: 576px) {
  .cart-item-enhanced {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cart-item-controls {
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
  }
  
  .cart-item-image img {
    width: 100%;
    height: auto;
  }
  
  .total-amount {
    font-size: 1.2rem;
  }
}

/* =============== BOTONES DE PRODUCTO =============== */
.product-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  align-items: stretch;
}

.favorite-btn {
  background: white;
  border: 2px solid var(--color-rosa);
  color: var(--color-rosa);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transicion);
  font-size: 1.2rem;
  min-width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dark-mode .favorite-btn {
  background: #333;
  color: var(--color-rosa);
}

.favorite-btn.active {
  background: var(--color-rosa);
  color: white;
  animation: heartBeat 0.3s ease;
}

.favorite-btn:hover {
  background: var(--color-rosa);
  color: white;
  transform: scale(1.05);
}

@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.2); }
  50% { transform: scale(1.1); }
  75% { transform: scale(1.15); }
}

.add-to-cart-btn {
  flex: 1;
  background: linear-gradient(135deg, var(--color-rosa) 0%, var(--color-azul) 100%);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transicion);
}

.add-to-cart-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(233, 30, 140, 0.3);
}

/* =============== FILTROS =============== */
.filter-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  align-items: center;
  justify-content: center;
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--color-rosa);
  background: white;
  color: var(--color-rosa);
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transicion);
}

.filter-btn:hover,
.filter-btn.active {
  background: linear-gradient(135deg, var(--color-rosa) 0%, var(--color-azul) 100%);
  color: white;
  border-color: transparent;
}

.search-box {
  flex: 1;
  max-width: 400px;
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 3rem;
  border: 2px solid #E0E0E0;
  border-radius: 50px;
  font-size: 1rem;
  transition: var(--transicion);
}

.search-box input:focus {
  border-color: var(--color-rosa);
  outline: none;
}

.search-box::before {
  content: '🔍';
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
}

/* =============== TESTIMONIOS =============== */
.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--sombra-suave);
  text-align: center;
  transition: var(--transicion);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sombra-media);
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  object-fit: cover;
  border: 4px solid var(--color-rosa);
}

.testimonial-text {
  font-style: italic;
  color: var(--color-texto-claro);
  margin-bottom: 1rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--color-texto);
}

.testimonial-rating {
  color: #FFD700;
  font-size: 1.2rem;
}

/* =============== FAQ ACCORDION =============== */
.faq-item {
  background: white;
  margin-bottom: 1rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--sombra-suave);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: white;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transicion);
  color: var(--color-texto);
}

.faq-question:hover {
  background: var(--color-fondo);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--color-rosa);
  transition: var(--transicion);
}

.faq-question.active::after {
  content: '−';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1.5rem;
}

.faq-answer.active {
  max-height: 500px;
  padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
  color: var(--color-texto-claro);
  line-height: 1.6;
  margin: 0;
}

/* =============== STATS COUNTER =============== */
.stats-section {
  background: linear-gradient(135deg, var(--color-rosa) 0%, var(--color-azul) 100%);
  padding: 4rem 0;
  color: white;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.stat-item {
  text-align: center;
  position: relative;
  z-index: 1;
}

.counter {
  font-size: 3rem;
  font-weight: 800;
  display: block;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  font-family: 'Montserrat', sans-serif;
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.95;
  font-weight: 500;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* =============== BADGE NUEVO =============== */
.badge-new {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ff0000;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 10;
}

/* =============== ANIMACIONES =============== */
.fade-in {
  animation: fadeIn 0.5s ease;
}

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

/* =============== VALIDACIÓN DE FORMULARIOS =============== */
.form-control.error {
  border-color: #dc3545;
}

.error-message {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* =============== BREADCRUMBS =============== */
.breadcrumb {
  background: transparent;
  padding: 1rem 0;
  margin-bottom: 1rem;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  color: var(--color-rosa);
}

/* =============== PRODUCT CARD POSITION RELATIVE =============== */
.product-item {
  position: relative;
}

.product-item .card {
  position: relative;
  overflow: visible;
}

/* =============== NEWSLETTER FORM STYLES =============== */
#newsletter-form input[type="email"] {
  padding: 0.75rem 1rem;
  border: 2px solid #E0E0E0;
  border-radius: 12px;
  font-size: 1rem;
  width: 100%;
  transition: var(--transicion);
}

#newsletter-form input[type="email"]:focus {
  border-color: var(--color-rosa);
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(233, 30, 140, 0.15);
}

/* =============== CART ITEMS CONTAINER =============== */
#cart-items {
  max-height: 400px;
  overflow-y: auto;
  margin-bottom: 1rem;
}

#cart-items::-webkit-scrollbar {
  width: 8px;
}

#cart-items::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

#cart-items::-webkit-scrollbar-thumb {
  background: var(--color-rosa);
  border-radius: 10px;
}

#cart-items::-webkit-scrollbar-thumb:hover {
  background: var(--color-rosa-oscuro);
}

/* =============== NAVBAR TOGGLER =============== */
.navbar-toggler {
  border: 2px solid rgba(255, 255, 255, 0.5);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.3);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* =============== MEJORAR RESPONSIVE DE MODALES =============== */
@media (max-width: 576px) {
  .modal-content {
    padding: 1.5rem;
    max-height: 85vh;
  }
  
  #cart-items {
    max-height: 250px;
  }
  
  .cart-item {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  
  .cart-item img {
    width: 50px;
    height: 50px;
  }
}

/* =============== HOVER EFFECTS PARA ENLACES =============== */
footer a {
  position: relative;
  display: inline-block;
}

footer a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #FFE100;
  transition: var(--transicion);
}

footer a:hover::after {
  width: 100%;
}

/* =============== STATS RESPONSIVE =============== */
@media (max-width: 768px) {
  .counter {
    font-size: 2.5rem;
  }
  
  .stat-label {
    font-size: 1rem;
  }
}

/* =============== PRODUCT PRICE HIGHLIGHT =============== */
.card-body strong {
  font-weight: 600;
}

.card-body p strong.text-gradient {
  font-size: 1.1rem;
}

/* =============== MEJORAS PARA CAROUSEL =============== */
.carousel-item {
  transition: transform 0.6s ease-in-out;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  opacity: 0.7;
  transition: var(--transicion);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
}

/* =============== TESTIMONIAL CARDS HOVER =============== */
.dark-mode .testimonial-card {
  background: #333;
  color: #e0e0e0;
}

/* =============== FAQ DARK MODE =============== */
.dark-mode .faq-item {
  background: #333;
}

.dark-mode .faq-question {
  background: #333;
  color: #e0e0e0;
}

.dark-mode .faq-question:hover {
  background: #404040;
}

.dark-mode .faq-answer p {
  color: #b0b0b0;
}

/* =============== LOADING ANIMATION =============== */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.loading {
  animation: shimmer 2s infinite;
  background: linear-gradient(to right, #f0f0f0 4%, #e0e0e0 25%, #f0f0f0 36%);
  background-size: 1000px 100%;
}

/* =============== IMPROVED BUTTON ACTIVE STATE =============== */
.btn-primary:active,
.add-to-cart-btn:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 8px rgba(233, 30, 140, 0.2) !important;
}

/* =============== SEARCH BOX DARK MODE =============== */
.dark-mode .search-box input {
  background-color: #333;
  color: #e0e0e0;
  border-color: #555;
}

/* =============== FILTER BUTTONS DARK MODE =============== */
.dark-mode .filter-btn {
  background: #333;
  color: #e0e0e0;
  border-color: var(--color-rosa);
}

.dark-mode .filter-btn:hover,
.dark-mode .filter-btn.active {
  background: linear-gradient(135deg, var(--color-rosa) 0%, var(--color-azul) 100%);
  color: white;
}

/* =============== TOAST DARK MODE =============== */
.dark-mode .toast-notification {
  background: #333;
  color: #e0e0e0;
}

/* =============== CART MODAL IMPROVEMENTS =============== */
.cart-total {
  background: var(--color-fondo);
  margin: 0 -2rem -2rem;
  padding: 1.5rem 2rem 2rem;
}

.dark-mode .cart-total {
  background: #1a1a1a;
  color: #e0e0e0;
}

/* =============== SMOOTH SCROLL =============== */
html {
  scroll-behavior: smooth;
}

/* =============== FOCUS STATES FOR ACCESSIBILITY =============== */
button:focus,
a:focus,
input:focus {
  outline: 2px solid var(--color-rosa);
  outline-offset: 2px;
}

/* =============== PRINT STYLES =============== */
@media print {
  #whatsapp-float,
  #scroll-to-top,
  #dark-mode-toggle,
  #scroll-progress,
  .navbar,
  footer {
    display: none !important;
  }
}

/* =============== MEJORA DE ACCESIBILIDAD =============== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* =============== SELECTION COLOR =============== */
::selection {
  background-color: var(--color-rosa);
  color: white;
}

::-moz-selection {
  background-color: var(--color-rosa);
  color: white;
}

/* =============== IMPROVED CONTAINER =============== */
.container {
  position: relative;
}

/* =============== NO RESULTS MESSAGE =============== */
.no-results {
  text-align: center;
  padding: 3rem 1rem;
  color: #999;
  font-size: 1.2rem;
}

.no-results::before {
  content: '🔍';
  display: block;
  font-size: 4rem;
  margin-bottom: 1rem;
}

/* =============== MOBILE MENU IMPROVEMENTS =============== */
@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 12px;
    margin-top: 1rem;
  }
  
  #cart-btn {
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
  }
}

/* =============== IMPROVED CARD TRANSITIONS =============== */
.card {
  will-change: transform;
}

.card-img-top {
  will-change: transform;
}

/* =============== FLOATING BUTTONS RESPONSIVE =============== */
@media (max-width: 768px) {
  #whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    font-size: 1.75rem;
  }
  
  #scroll-to-top {
    bottom: 85px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 1.25rem;
  }
  
  #dark-mode-toggle {
    top: 80px;
    right: 15px;
    width: 45px;
    height: 45px;
    font-size: 1.25rem;
  }
}






