/*Whatsapp flotante*/
:root {
  --biker-primary: #069ffc;
  --biker-primary-dark: #004080;
  --ink: #111;
  --muted: #444;
  --card: #121212;
  --container-bg: #0f0f0f;
}

.float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 100px;
  right: 30px;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  z-index: 100;
}

.float:before,
.float:after {
  content: "";
  position: absolute;
  top: 4px;
  left: 8px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: #25d366;
  opacity: 0;
  animation: onda 1.7s infinite;
}

.float:before {
  animation-delay: 1s;
}

.float:after {
  animation-delay: 1.3s;
}

.float img:hover {
  width: 100%;
  transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
}

.float img {
  width: 90%;
  position: relative;
  z-index: 2;
  transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
}

.my-float {
  margin-top: 16px;
}

@keyframes onda {
  0% {
    transform: scale(1);
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
  }

  15% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: scale(2.1);
    -webkit-transform: scale(2.1);
    -moz-transform: scale(2.1);
    -ms-transform: scale(2.1);
    -o-transform: scale(2.1);
  }
}

/*Fin whatsapp Flotante*/
/* Contenedor de todas las tarjetas */
.cert-cards-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* 4 columnas */
  gap: 10px;
  /* espacio entre tarjetas */
  max-width: 1300px;
  margin: auto;
  justify-items: center;
}

/* Card individual */
.cert-card {
  position: relative;
  width: 300px;
  height: 300px;
  overflow: hidden;
  border-radius: 10px;
}

.cert-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.cert-card:hover img {
  transform: scale(1.1);
}

/* Texto abajo */
.cert-card-text {
  position: absolute;
  bottom: 15px;
  /* pegado abajo */
  left: 50%;
  transform: translateX(-50%);
  /* centrado horizontal */
  text-align: center;
  color: white;
  font-size: 18px;
  font-weight: bold;
  z-index: 2;
  pointer-events: none;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
  transition: opacity 0.3s ease;
  /* para animar la desaparición */
}

/* Botón circular (flecha) */
.cert-card-button {
  position: absolute;
  bottom: 15px;
  /* misma posición que el texto */
  left: 50%;
  transform: translateX(-50%);
  background: white;
  color: black;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  opacity: 0;
  /* inicialmente oculto */
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 3;
}

/* Hover: texto desaparece y aparece flecha */
.cert-card:hover .cert-card-text {
  opacity: 0;
}

.cert-card:hover .cert-card-button {
  opacity: 1;
  transform: translateX(-50%) scale(1.1);
}

.cert-card-button a {
  text-decoration: none;
  color: black;
  font-weight: bold;
}

.cert-card-button:hover a {
  text-decoration: none;
  color: #069ffc;
  font-weight: bold;
}

/* Títulos */
.cert-page-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: linear-gradient(90deg, #069ffc, #004080);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cert-page-subtitle {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: #444;
}

.cert-page-subtitle span {
  background: linear-gradient(90deg, #069ffc, #004080);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
}

.cert-title-line {
  width: 200px;
  height: 4px;
  margin: 0.5rem auto 2rem auto;
  border-radius: 2px;
  background: linear-gradient(90deg, #069ffc, #004080);
}

/* Info */
.cert-info-section {
  max-width: 1100px;
  margin: 0 auto 3rem;
  padding: 2rem 1.5rem;
  border: 1px solid #eee;
  border-radius: 18px;
  background: #fff;
}

.cert-info-title {
  margin: 0 0 .75rem;
  font-size: 1rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink);
}

.cert-info-title .cert-accent {
  background: linear-gradient(90deg, var(--biker-primary), var(--biker-primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cert-info-lead {
  margin: 0 0 1rem;
  color: #222;
  font-size: 1.05rem;
  line-height: 1.5;
}

.cert-info-muted {
  color: var(--muted);
}

.cert-steps {
  margin: 1rem 0 1.25rem;
  padding-left: 0;
  list-style: none;
}

.cert-steps li {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  margin: .55rem 0;
  color: #222;
}

.cert-badge {
  flex: 0 0 auto;
  background: linear-gradient(90deg, var(--biker-primary), var(--biker-primary-dark));
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: .1rem .6rem;
  font-size: .85rem;
  line-height: 1.6;
}

.cert-info-callout {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--biker-primary);
  background: linear-gradient(180deg, #f7fbff, #ffffff);
  border-radius: 8px;
  color: #0b2540;
  font-size: 1rem;
}

/* Responsive */
@media (max-width: 520px) {
  .cert-page-title {
    font-size: 2.1rem;
  }

  .cert-info-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 1200px) {
  .cert-cards-container {
    grid-template-columns: repeat(3, 1fr);
    /* 3 columnas en pantallas medianas */
  }
}

@media (max-width: 900px) {
  .cert-cards-container {
    grid-template-columns: repeat(2, 1fr);
    /* 2 columnas en tablets */
  }
}

@media (max-width: 600px) {
  .cert-cards-container {
    grid-template-columns: 1fr;
    /* 1 columna en móviles */
  }
}

/* General */
.hotspot-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  width: 100%;
  align-items: center;
}

/* Imagen con hotspots */
.hotspot-image-box {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.hotspot-image-box img {
  width: 100%;
  display: block;
  border-radius: 12px;
}

.hotspot-point {
  position: absolute;
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease;
}

.hotspot-point:hover {
  transform: scale(1.2);
}

/* Carrusel */
.hotspot-carousel {
  text-align: center;
}

.hotspot-product img {
  width: 240px;
  margin: 0 auto;
  display: block;
}

.hotspot-product h2 {
  font-size: 20px;
  margin: 1rem 0 0.5rem;
}

.hotspot-product p {
  color: #bbb;
  font-size: 16px;
}

.hotspot-controls {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.hotspot-controls button {
  padding: 10px 14px;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  transition: background 0.2s ease;
}

.hotspot-controls button:hover {
  background: #555;
}

/* Contenedor general en dos columnas */
.ic-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 20px;
  max-width: 1300px;
  margin: auto;
  justify-items: center;
}

/* Columna de texto */
.ic-text {
  flex: 1;
  max-width: 400px;
}

.ic-text h2 {
  font-size: 22px;
  color: #222;
  margin-bottom: 10px;
}

.ic-text h3 {
  font-size: 26px;
  color: #000;
  margin-bottom: 15px;
}

.ic-text p {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 20px;
}

.ic-text .ic-link {
  font-size: 16px;
  font-weight: bold;
  color: #0077cc;
  text-decoration: none;
}

.ic-text .ic-link:hover {
  text-decoration: underline;
}

/* Wrapper del slider */
.ic-wrapper {
  position: relative;
  height: 400px;
  width: 600px;
  overflow: hidden;
  background: #fff;
  border: 7px solid #fff;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.ic-wrapper .ic-images {
  height: 100%;
  width: 100%;
  display: flex;
}

.ic-wrapper .ic-images .ic-img-1 {
  height: 100%;
  width: 100%;
  background: url("http://127.0.0.1:8000/storage/cascos/55ed65ec-3a07-4851-8489-718ed4276646.webp") no-repeat center;
  background-size: cover;
}

.ic-wrapper .ic-images .ic-img-2 {
  position: absolute;
  height: 100%;
  width: 100%;
  /* siempre 100% */
  filter: grayscale(80%);
  background: url("http://127.0.0.1:8000/storage/cascos/81ad8726-2eba-49e0-88ea-dae05f270355.webp") no-repeat center;
  background-size: cover;
  /* Inicialmente se muestra la mitad */
  clip-path: inset(0 50% 0 0);
}

.ic-wrapper .ic-slider {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 99;
}

.ic-wrapper .ic-slider input {
  width: 100%;
  outline: none;
  background: none;
  -webkit-appearance: none;
}

.ic-slider input::-webkit-slider-thumb {
  height: 400px;
  width: 3px;
  background: none;
  -webkit-appearance: none;
  cursor: col-resize;
}

.ic-slider .ic-drag-line {
  width: 3px;
  height: 400px;
  position: absolute;
  left: 50%;
  pointer-events: none;
}

.ic-slider .ic-drag-line::before,
.ic-slider .ic-drag-line::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 180px;
  background: #000000;
}

.ic-slider .ic-drag-line::before {
  top: 0;
}

.ic-slider .ic-drag-line::after {
  bottom: 0;
}

.ic-slider .ic-drag-line span {
  height: 42px;
  width: 42px;
  border: 3px solid #000000;
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.ic-slider .ic-drag-line span::before,
.ic-slider .ic-drag-line span::after {
  position: absolute;
  content: "";
  top: 50%;
  border: 10px solid transparent;
  border-bottom-width: 0px;
  border-right-width: 0px;
  transform: translate(-50%, -50%) rotate(45deg);
}

.ic-slider .ic-drag-line span::before {
  left: 40%;
  border-left-color: #000000;
}

.ic-slider .ic-drag-line span::after {
  left: 60%;
  border-top-color: #000000;
}

/* 📱 Responsive */
@media (max-width: 900px) {
  .ic-container {
    flex-direction: column;
    text-align: center;
  }

  .ic-text {
    max-width: 90%;
  }

  .ic-wrapper {
    width: 100%;
    max-width: 500px;
    height: 300px;
  }

  .ic-slider input::-webkit-slider-thumb {
    height: 300px;
  }

  .ic-slider .ic-drag-line {
    height: 300px;
  }
}

/*Cards Categorias*/
/* =================== Escritorio (grid original) =================== */
.cm-categorias-modernas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 20px;
  max-width: 1800px;
  margin: auto;
  padding: 100px;
}

.cm-card {
  position: relative;
  height: 600px;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  transition: height 0.3s ease;
}

/* Efecto de iluminación azul */
.cm-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 123, 255, 0);
  /* azul transparente inicial */
  transition: background 0.3s ease;
  border-radius: 12px;
  z-index: 1;
  /* debajo de texto y botón */
}

.cm-card:hover::after {
  background: rgba(0, 123, 255, 0.3);
  /* azul semitransparente al pasar mouse */
}

.cm-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.cm-card:hover img {
  transform: scale(1.1);
}

.cm-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 25px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 15%, rgba(0, 0, 0, 0.7) 30%, rgba(0, 0, 0, 0) 60%);
  transition: background 0.3s ease;
  z-index: 2;
}

.cm-overlay h3 {
  color: #fff;
  font-size: 1.1rem;
  margin: 12px 0 0 0;
  font-weight: bold;
  letter-spacing: 1px;
  text-align: center;
  z-index: 2;
}

.cm-circle-btn {
  width: 50px;
  height: 50px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  font-size: 1.2rem;
  font-weight: bold;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.3s ease;
  z-index: 2;
}

.cm-card:hover .cm-circle-btn {
  opacity: 1;
  transform: scale(1);
}

/* =================== Responsive (carrusel) =================== */
@media (max-width: 1024px) {
  .cm-categorias-modernas {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px;
    scroll-behavior: smooth;
  }

  .cm-card {
    flex: 0 0 250px;
    /* ancho fijo por tarjeta */
    height: 400px;
  }

  .cm-overlay h3 {
    font-size: 1rem;
  }

  .cm-circle-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .cm-card {
    flex: 0 0 200px;
    height: 300px;
  }

  .cm-overlay h3 {
    font-size: 0.9rem;
  }

  .cm-circle-btn {
    width: 35px;
    height: 35px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .cm-card {
    flex: 0 0 160px;
    height: 250px;
  }

  .cm-overlay h3 {
    font-size: 0.8rem;
  }

  .cm-circle-btn {
    width: 30px;
    height: 30px;
    font-size: 0.7rem;
  }
}

/* Contenedor de las sucursales */
.sucursales-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 20px;
}

/* Estilo de cada card */
.sucursal-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Contenido */
.sucursal-card-content {
  padding: 15px;
}

.sucursal-card-title {
  font-size: 18px;
  font-weight: bold;
  color: #238bfa;
}

.sucursal-card-address {
  margin: 10px 0;
  color: #555;
}

.sucursal-card-phone {
  font-weight: bold;
  color: #222;
}

.sucursal-card-phone a {
  color: #0066cc;
  text-decoration: none;
}

.sucursal-card-phone a:hover {
  text-decoration: underline;
}

/* Mapa */
.sucursal-card iframe {
  width: 100%;
  height: 250px;
  border: 0;
}

/* Responsive */
@media (min-width: 768px) {
  .sucursales-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .sucursales-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

:root {
  --bg: #0f1724;
  --card: #0b1220;
  --text: #e6eef6;
}

.brands-container {
  max-width: 1800px;
  width: 100%;
  text-align: center;
  margin: auto;
  padding: 50px;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.brand {
  background: var(--card);
  border-radius: 12px;
  overflow: hidden;
  /* asegura que la imagen no se salga */
  height: 150px;
  /* altura fija para las cards */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* muestra la imagen completa */
  background: #fff;
  /* color de fondo si sobra espacio */
}

/* Hover solo en dispositivos con mouse */
@media (hover: hover) and (pointer: fine) {
  .brand:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
  }
}

/* ===== MEDIA QUERIES ===== */
/* Tablets */
@media (max-width: 1024px) {
  .brands-container {
    padding: 60px;
  }

  .brand {
    height: 130px;
  }
}

/* Móviles grandes */
@media (max-width: 768px) {
  .brands-container {
    padding: 40px;
  }

  .brand {
    height: 120px;
  }
}

/* Móviles pequeños */
@media (max-width: 480px) {
  .brands-container {
    padding: 20px;
  }

  .brand {
    height: 100px;
  }
}

/* 🎯 Estilos exclusivos del módulo de ofertas */
.ofertas-container {
  font-family: 'Inter', sans-serif;
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 15px;
  overflow-x: auto;
  padding: 10px 20px;
  scroll-snap-type: x mandatory;
  background: #f8f9fb;
  border-radius: 12px;
  flex-wrap: nowrap;
}

.ofertas-container::-webkit-scrollbar {
  height: 6px;
}

.ofertas-container::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.15);
  border-radius: 10px;
}

/* Cada card */
.ofertas-card {
  flex: 0 0 160px;
  /* ancho */
  height: 180px;
  /* alto */
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  background: white;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  color: #2b6ff3;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  text-align: center;
  cursor: pointer;
  scroll-snap-align: start;
  text-decoration: none;
}

.ofertas-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 20px 10px;
}

/* 🔵 Fondo circular azul detrás del icono */
.ofertas-icon-wrapper {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(43, 111, 243, 0.1);
  /* azul translúcido */
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

/* Imagen WebP con filtro azul */
.ofertas-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  transition: filter 0.3s ease, transform 0.2s ease;
  /* 🔹 Filtro azul calibrado para WebP */
  filter: brightness(0) invert(35%) sepia(96%) saturate(2000%) hue-rotate(210deg);
}

/* Hover: más azul y animación */
.ofertas-card:hover .ofertas-icon {
  filter: brightness(0) invert(25%) sepia(100%) saturate(3500%) hue-rotate(210deg);
  transform: scale(1.08);
}

/* Título */
.ofertas-title {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  line-height: 1.2;
}

.ofertas-card span {
  font-size: 12px;
  color: #777;
}

/* Hover y estado activo */
.ofertas-card:hover {
  border-color: #2b6ff3;
  box-shadow: 0 2px 8px rgba(43, 111, 243, 0.15);
  transform: translateY(-3px);
}

.ofertas-active {
  border-color: #2b6ff3;
  background: #f0f6ff;
}

/* 📱 Responsive */
@media (max-width: 600px) {
  .ofertas-container {
    justify-content: flex-start;
  }

  .ofertas-card {
    flex: 0 0 140px;
    height: 150px;
  }

  .ofertas-icon-wrapper {
    width: 50px;
    height: 50px;
  }

  .ofertas-icon {
    width: 28px;
    height: 28px;
  }

  .ofertas-title {
    font-size: 13px;
  }
}

/* Variables SCSS convertidas */
:root {
  --globe-width: 12px;
  --globe-height: 28px;
  --globe-spacing: 40px;
  --globe-spread: 3px;
  --light-off-opacity: 0.4;
}

.lightrope {
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  position: absolute;
  z-index: 1;
  margin: -15px 0 0 0;
  padding: 0;
  pointer-events: none;
  width: 100%;
}

.lightrope li {
  position: relative;
  animation-fill-mode: both;
  animation-iteration-count: infinite;
  list-style: none;
  margin: calc(var(--globe-spacing) / 2);
  padding: 0;
  width: var(--globe-width);
  height: var(--globe-height);
  border-radius: 50%;
  display: inline-block;
  background: rgba(0, 247, 165, 1);
  box-shadow: 0px calc(var(--globe-height)/6) calc(var(--globe-width)*2) var(--globe-spread) rgba(0, 247, 165, 1);
  animation-name: flash-1;
  animation-duration: 2s;
}

/* Azul */
.lightrope li:nth-child(2n+1) {
  background: rgba(0, 255, 255, 1);
  box-shadow: 0px calc(var(--globe-height)/6) calc(var(--globe-width)*2) var(--globe-spread) rgba(0, 255, 255, 0.5);
  animation-name: flash-2;
  animation-duration: 0.4s;
}

/* Rosa */
.lightrope li:nth-child(4n+2) {
  background: rgba(247, 0, 148, 1);
  box-shadow: 0px calc(var(--globe-height)/6) calc(var(--globe-width)*2) var(--globe-spread) rgba(247, 0, 148, 1);
  animation-name: flash-3;
  animation-duration: 1.1s;
}

/* Ritmos alternos */
.lightrope li:nth-child(odd) {
  animation-duration: 1.8s;
}

.lightrope li:nth-child(3n+1) {
  animation-duration: 1.4s;
}

/* Casquillo */
.lightrope li::before {
  content: "";
  position: absolute;
  background: #222;
  width: calc(var(--globe-width) - 2px);
  height: calc(var(--globe-height) / 3);
  border-radius: 3px;
  top: calc(0px - (var(--globe-height)/6));
  left: 1px;
}

/* Cable */
.lightrope li::after {
  content: "";
  position: absolute;
  top: calc(0px - var(--globe-height)/2);
  left: calc(var(--globe-width) - 3px);
  width: calc(var(--globe-spacing) + 12px);
  height: calc((var(--globe-height)/3) * 2);
  border-bottom: solid #222 2px;
  border-radius: 50%;
}

.lightrope li:last-child::after {
  content: none;
}

.lightrope li:first-child {
  margin-left: calc(var(--globe-spacing) * -1);
}

/* ANIMACIONES */
@keyframes flash-1 {

  0%,
  100% {
    background: rgba(0, 247, 165, 1);
    box-shadow: 0px calc(var(--globe-height)/6) calc(var(--globe-width)*2) var(--globe-spread) rgba(0, 247, 165, 1);
  }

  50% {
    background: rgba(0, 247, 165, var(--light-off-opacity));
    box-shadow: 0px calc(var(--globe-height)/6) calc(var(--globe-width)*2) var(--globe-spread) rgba(0, 247, 165, 0.2);
  }
}

@keyframes flash-2 {

  0%,
  100% {
    background: rgba(0, 255, 255, 1);
    box-shadow: 0px calc(var(--globe-height)/6) calc(var(--globe-width)*2) var(--globe-spread) rgba(0, 255, 255, 1);
  }

  50% {
    background: rgba(0, 255, 255, var(--light-off-opacity));
    box-shadow: 0px calc(var(--globe-height)/6) calc(var(--globe-width)*2) var(--globe-spread) rgba(0, 255, 255, 0.2);
  }
}

@keyframes flash-3 {

  0%,
  100% {
    background: rgba(247, 0, 148, 1);
    box-shadow: 0px calc(var(--globe-height)/6) calc(var(--globe-width)*2) var(--globe-spread) rgba(247, 0, 148, 1);
  }

  50% {
    background: rgba(247, 0, 148, var(--light-off-opacity));
    box-shadow: 0px calc(var(--globe-height)/6) calc(var(--globe-width)*2) var(--globe-spread) rgba(247, 0, 148, 0.2);
  }
}

.snowflake {
  position: fixed;
  /* Cambiado de absolute a fixed */
  top: -50px;
  color: #a0c4ff;
  /* Azul tenue para contraste */
  text-shadow: 0 0 3px #77aadd;
  /* Sombra sutil para resaltar */
  user-select: none;
  pointer-events: none;
  opacity: 0.9;
  font-family: Arial, sans-serif;
  animation-name: fall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@keyframes fall {
  0% {
    transform: translate(0, -50px) rotate(0deg);
  }

  100% {
    transform: translate(var(--x), 100vh) rotate(360deg);
  }
}

.flake {
  --x: 0px;
  font-size: 10px;
  animation-duration: 10s;
  left: 0%;
}

.flake:nth-child(1) {
  --x: 20px;
  font-size: 12px;
  animation-duration: 12s;
  left: 5%;
  opacity: 0.6;
}

.flake:nth-child(2) {
  --x: -30px;
  font-size: 14px;
  animation-duration: 15s;
  left: 10%;
  opacity: 0.8;
}

.flake:nth-child(3) {
  --x: 15px;
  font-size: 10px;
  animation-duration: 10s;
  left: 15%;
  opacity: 0.5;
}

.flake:nth-child(4) {
  --x: -25px;
  font-size: 16px;
  animation-duration: 18s;
  left: 20%;
  opacity: 0.9;
}

.flake:nth-child(5) {
  --x: 10px;
  font-size: 12px;
  animation-duration: 11s;
  left: 25%;
  opacity: 0.7;
}

.flake:nth-child(6) {
  --x: -20px;
  font-size: 14px;
  animation-duration: 14s;
  left: 30%;
  opacity: 0.6;
}

.flake:nth-child(7) {
  --x: 30px;
  font-size: 18px;
  animation-duration: 20s;
  left: 35%;
  opacity: 0.8;
}

.flake:nth-child(8) {
  --x: -15px;
  font-size: 10px;
  animation-duration: 12s;
  left: 40%;
  opacity: 0.5;
}

.flake:nth-child(9) {
  --x: 25px;
  font-size: 12px;
  animation-duration: 13s;
  left: 45%;
  opacity: 0.7;
}

.flake:nth-child(10) {
  --x: -30px;
  font-size: 14px;
  animation-duration: 17s;
  left: 50%;
  opacity: 0.6;
}

.flake:nth-child(11) {
  --x: 20px;
  font-size: 16px;
  animation-duration: 16s;
  left: 55%;
  opacity: 0.8;
}

.flake:nth-child(12) {
  --x: -10px;
  font-size: 12px;
  animation-duration: 12s;
  left: 60%;
  opacity: 0.7;
}

.flake:nth-child(13) {
  --x: 15px;
  font-size: 14px;
  animation-duration: 15s;
  left: 65%;
  opacity: 0.6;
}

.flake:nth-child(14) {
  --x: -25px;
  font-size: 18px;
  animation-duration: 18s;
  left: 70%;
  opacity: 0.9;
}

.flake:nth-child(15) {
  --x: 10px;
  font-size: 12px;
  animation-duration: 11s;
  left: 75%;
  opacity: 0.7;
}

.flake:nth-child(16) {
  --x: -20px;
  font-size: 14px;
  animation-duration: 14s;
  left: 80%;
  opacity: 0.6;
}

.flake:nth-child(17) {
  --x: 30px;
  font-size: 18px;
  animation-duration: 20s;
  left: 82%;
  opacity: 0.8;
}

.flake:nth-child(18) {
  --x: -15px;
  font-size: 10px;
  animation-duration: 12s;
  left: 88%;
  opacity: 0.5;
}

.flake:nth-child(19) {
  --x: 25px;
  font-size: 12px;
  animation-duration: 13s;
  left: 92%;
  opacity: 0.7;
}

.flake:nth-child(20) {
  --x: -30px;
  font-size: 14px;
  animation-duration: 17s;
  left: 97%;
  opacity: 0.6;
}

/*RD Google Map*/
.google-map {
  width: 100%;
  color: #000000;
  height: 200px;
}

.google-map img {
  max-width: none !important;
}

@media (min-width: 576px) {
  .google-map {
    height: 300px;
  }
}

@media (min-width: 1200px) {
  .google-map {
    height: 640px;
  }
}

.map_locations {
  display: none;
}

.valentine-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  /* NO bloquea la web */
  z-index: 9999;
}

.hearts-overlay span {
  position: absolute;
  bottom: -40px;
  font-size: 20px;
  color: rgba(255, 77, 109, 0.8);
  animation: heartsFloat 7s linear infinite;
  opacity: 0;
}

.hearts-overlay span:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
}

.hearts-overlay span:nth-child(2) {
  left: 25%;
  animation-delay: 2s;
  font-size: 26px;
}

.hearts-overlay span:nth-child(3) {
  left: 40%;
  animation-delay: 4s;
}

.hearts-overlay span:nth-child(4) {
  left: 60%;
  animation-delay: 1s;
  font-size: 30px;
}

.hearts-overlay span:nth-child(5) {
  left: 75%;
  animation-delay: 3s;
}

.hearts-overlay span:nth-child(6) {
  left: 90%;
  animation-delay: 5s;
  font-size: 22px;
}

@keyframes heartsFloat {
  0% {
    transform: translateY(0) scale(0.8);
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  100% {
    transform: translateY(-110vh) scale(1.4);
    opacity: 0;
  }
}

.valentine-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 80px 0;
}

.valentine-separator::before,
.valentine-separator::after {
  content: "";
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, transparent, #ff4d6d);
}

.valentine-separator::after {
  background: linear-gradient(to left, transparent, #ff4d6d);
}

.valentine-separator span {
  color: #ff4d6d;
  font-size: 22px;
  animation: pulseHeart 1.8s infinite;
}

.valentine-separator span:nth-child(2) {
  animation-delay: .3s;
}

.valentine-separator span:nth-child(3) {
  animation-delay: .6s;
}

@keyframes pulseHeart {
  0% {
    transform: scale(1);
    opacity: .8;
  }

  50% {
    transform: scale(1.3);
    opacity: 1;
  }

  100% {
    transform: scale(1);
    opacity: .8;
  }
}

.msi-box {
    background: #f5f5f5;
    padding: 12px;
    border-radius: 6px;
    width: fit-content;
    font-family: Arial, sans-serif;
}

.msi-main {
    font-size: 26px;
    font-weight: bold;
    color: #333;
}

.msi-amount {
    font-size: 26px;
}

.msi-badge {
    display: inline-block;
    background: #069ffc;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 13px;
    margin-top: 4px;
    font-weight: bold;
}

.msi-full {
    display: inline-block;
    background: #06fc81;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 13px;
    margin-top: 4px;
    font-weight: bold;
}

.msi-cash {
    font-size: 13px;
    color: #666;
    margin-top: 4px;
}

.msi-selector {
    margin-top: 8px;
    font-size: 14px;
}

.msi-selector select {
    padding: 4px;
    border-radius: 4px;
}

/* ===== Sección del carrusel ===== */
.cm-carousel-section {
  width: 100%;
  padding: 40px 20px;
  display: flex;
  justify-content: center;
}

/* ===== Carrusel ===== */
.cm-carousel {
  position: relative;
  width: 1600px;
  max-width: 100%;
  height: 500px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  background: #000;
  /* fondo para modo contain en móvil */
}

/* Slides */
.cm-carousel__slides {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
}

.cm-carousel__slide {
  min-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cm-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Desktop: banner */
  object-position: center;
}

/* Flechas */
.cm-carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 32px;
  color: white;
  background: rgba(0, 0, 0, 0.4);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  user-select: none;
  z-index: 2;
}

.cm-carousel__arrow:hover {
  background: rgba(0, 0, 0, 0.7);
}

.cm-carousel__arrow--left {
  left: 10px;
}

.cm-carousel__arrow--right {
  right: 10px;
}

/* Indicadores */
.cm-carousel__dots {
  position: absolute;
  bottom: 15px;
  width: 100%;
  text-align: center;
}

.cm-carousel__dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 5px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
}

.cm-carousel__dot.active {
  background: white;
}

.cm-carousel__slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ========================= */
/* 📱 RESPONSIVE */
/* ========================= */

/* Tablets */
@media (max-width: 1024px) {
  .cm-carousel {
    height: 380px;
  }
}

/* Móviles grandes */
@media (max-width: 768px) {
  .cm-carousel {
    height: 260px;
    border-radius: 8px;
  }

  /* 👇 Mostrar imagen completa sin recorte */
  .cm-carousel__slide img {
    object-fit: contain;
  }

  .cm-carousel__arrow {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }
}

/* Móviles pequeños */
@media (max-width: 480px) {
  .cm-carousel {
    height: 200px;
    border-radius: 6px;
  }

  .cm-carousel__arrow {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }

  .cm-carousel__dot {
    width: 8px;
    height: 8px;
  }
}

.ps-product__thumbnail {
    position: relative;
    overflow: hidden;
}

/* Primary normal */
.product-thumb-primary {
    display: block;
    width: 100%;
    transition: opacity 0.8s ease;
}

/* Secondary encima */
.product-thumb-secondary {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.product-thumb-secondary img {
    display: block;
    width: 100%;
    transition: transform 1.1s cubic-bezier(0.15, 0.75, 0.5, 1);
}

/* Hover */
.ps-product__thumbnail:hover .product-thumb-secondary {
    opacity: 1;
}

.ps-product__thumbnail:hover .product-thumb-primary {
    opacity: 0;
}

.ps-product__thumbnail:hover .product-thumb-secondary img {
    transform: scale(1.1);
}

.product-full-shipping{
background:#16a34a;
color:#fff;
font-size:12px;
padding:4px 8px;
border-radius:5px;
display:inline-block;
margin-top:6px;
font-weight:600;
}