body {
    background: linear-gradient(135deg, #FFB6B9 0%, #FFDE7D 100%);
}
.navbar {
    background: linear-gradient(90deg, #FF61A6 0%, #FFB347 100%) !important;
}
.navbar-brand, .navbar-dark .navbar-nav .nav-link {
    color: #222 !important;
}
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.navbar-brand svg {
    height: 40px;
    width: 40px;
    margin-right: 0.5rem;
}
.category-card {
    background: #fff0f6;
    border: 1px solid #FFB6B9;
}
.category-card:hover {
    box-shadow: 0 4px 16px rgba(255,97,166,0.15);
}
.contact-section,
#quienesSection,
.reel-section {
  background: #e9f6fb;
  border-radius: 1rem;
  padding: 2rem 1rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.reel-section .container {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.reel-section .carousel {
  max-width: 370px;
  margin-left: auto;
  margin-right: auto;
}
.btn-primary {
    background: #FF61A6;
    border: none;
}
.btn-primary:hover {
    background: #FFB347;
}
.whatsapp-btn {
    background: #25d366;
    color: #fff;
}
.whatsapp-btn:hover {
    background: #128c7e;
    color: #fff;
}
.instagram-btn {
    background: #e1306c;
    color: #fff;
}
.instagram-btn:hover {
    background: #c13584;
    color: #fff;
}
footer {
    background: #FF61A6 !important;
    color: #fff !important;
}
#mainCarousel {
    max-width: 600px;
    margin: 0 auto 2rem auto;
}
#mainCarousel .carousel-inner {
    max-height: 350px;
    min-height: 350px;
}
#mainCarousel img {
    max-height: 350px;
    min-height: 350px;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 16/9;
    border-radius: 1rem;
}
#mainCarousel .carousel-item img {
  width: 100%;
  height: 340px;
  object-fit: contain;
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.08);
}
@media (max-width: 768px) {
  #mainCarousel .carousel-item img {
    height: 200px;
  }
}
.hero-section {
    color: #222;
    text-align: center;
}
.hero-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
}
.hero-section p {
    font-size: 1.2rem;
}
.hero-section .btn {
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
}
.reel-section h2 {
    color: #222;
    text-align: center;
}
.reel-carousel {
    scroll-behavior: smooth;
}
.reel-item {
    transition: transform 0.3s;
}
.reel-item:hover {
    transform: scale(1.05);
}
.category-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  object-position: center;
  border-radius: 0.75rem 0.75rem 0 0;
  background: #fff;
}
/* Mejorar menú colgante (dropdown) para look and feel consistente */
.navbar .dropdown-menu {
    background: linear-gradient(90deg, #FF61A6 0%, #FFB347 100%) !important;
    border: none;
    border-radius: 0 0 1rem 1rem;
    box-shadow: 0 8px 24px rgba(255,97,166,0.10);
    margin-top: 0.5rem;
}
.navbar .dropdown-item {
    color: #222 !important;
    font-weight: 500;
    border-radius: 0.5rem;
    margin: 0.2rem 0.5rem;
    transition: background 0.2s, color 0.2s;
}
.navbar .dropdown-item:hover, .navbar .dropdown-item:focus {
    background: #FFDE7D !important;
    color: #e1306c !important;
}
.navbar .dropdown-toggle::after {
    filter: brightness(0.7);
}
@media (max-width: 991.98px) {
  .navbar .d-lg-flex {
    display: none !important;
  }
  #formBuscadorNuevoMobile {
    display: block !important;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
  }
  .navbar .container {
    flex-direction: column;
    align-items: stretch;
  }
  #socialIconsMenu {
    display: none !important;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand img[width="40"] {
    width: 20px !important;
    height: 20px !important;
  }
  .navbar > div[style*="position:absolute"] img {
    width: 90px !important;
    height: 90px !important;
  }
  .navbar > div[style*="position:absolute"] {
    top: -10px !important;
  }
  #formBuscadorNuevoMobile {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-top: 1.7rem !important; /* Bajar el buscador */
    margin-bottom: 0.5rem;
    width: 100%;
    max-width: 95vw;
    gap: 0.5rem;
  }
  #formBuscadorNuevoMobile > div {
    flex: 1 1 0%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
  }
  #formBuscadorNuevoMobile input {
    font-size: 1rem;
    height: 2.3rem;
    max-width: 180px;
    min-width: 90px;
    margin: 0;
    display: block;
  }
  #formBuscadorNuevoMobile button {
    height: 2.3rem;
    font-size: 1rem;
    min-width: 60px;
    padding: 0 1rem;
  }
  /* Logo pequeño a la izquierda del input */
  #logo-buscador-mobile {
    display: block;
    width: 38px;
    height: 38px;
    margin-right: 0.5rem;
  }
}
.product-card-flip {
  perspective: 900px;
  min-height: 260px;
}
.flip-inner {
  position: relative;
  width: 100%;
  min-height: 240px;
  transition: transform 0.6s cubic-bezier(.4,2,.6,1);
  transform-style: preserve-3d;
  cursor: pointer;
  outline: none;
}
.flip-inner.flipped {
  transform: rotateY(180deg);
}
.flip-front, .flip-back {
  position: absolute;
  width: 100%;
  min-height: 240px;
  backface-visibility: hidden;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  padding: 1rem 0.5rem 0.5rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.flip-front {
  z-index: 2;
}
.flip-front img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 1rem;
  border: 5px solid #FFB6B9;
  box-shadow: 0 0 0 6px #fff, 0 2px 12px rgba(255,97,166,0.10);
  background: repeating-linear-gradient(135deg, #FFDE7D 0 10px, #fff 10px 20px);
  margin-bottom: 0.5rem;
  display: block;
}
.flip-back {
  transform: rotateY(180deg);
  background: #e9f6fb;
  color: #222;
  font-size: 0.98rem;
  z-index: 1;
}
.flip-back .marco-imagen {
  width: 110px;
  height: 110px;
  border-radius: 1rem;
  border: 5px solid #FFB6B9;
  box-shadow: 0 0 0 6px #fff, 0 2px 12px rgba(255,97,166,0.10);
  background: repeating-linear-gradient(135deg, #FFDE7D 0 10px, #fff 10px 20px);
  margin-bottom: 0.5rem;
  display: block;
}
.flip-back ul {
  padding-left: 0;
  margin-bottom: 0;
}
.flip-back li {
  margin-bottom: 0.3rem;
}
/* Ajuste para asegurar tamaño de imagen de producto en tarjetas flip */
.flip-front img,
.flip-back .marco-imagen {
  width: 70px !important;
  height: 70px !important;
  min-width: 70px !important;
  min-height: 70px !important;
  max-width: 70px !important;
  max-height: 70px !important;
}
@media (max-width: 575.98px) {
  .flip-front img,
  .flip-back .marco-imagen {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
  }
}
/* Eliminar reglas previas y dejar solo una regla fuerte y específica para el tamaño de imágenes de productos en resultados */
.product-card-flip .flip-front img,
.product-card-flip .flip-back .marco-imagen {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  max-width: 48px !important;
  max-height: 48px !important;
  object-fit: cover !important;
  display: block;
}
@media (max-width: 575.98px) {
  .product-card-flip .flip-front img,
  .product-card-flip .flip-back .marco-imagen {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
  }
}
/* Eliminar transiciones de desvanecimiento para imagen y características */
.img-producto {
  transition: none;
  opacity: 1;
  visibility: visible;
}
.img-producto.oculta {
  opacity: 1;
  visibility: visible;
}
.caracteristicas-flip {
  transition: none;
  opacity: 1;
  visibility: visible;
}
.caracteristicas-flip.visible {
  opacity: 1;
  visibility: visible;
}
/* Color personalizado para el nombre de categoría en resultados */
.categoria-nombre {
  color: #e1306c !important;
}
.instagram-btn, .whatsapp-btn {
  font-size: 0.82rem !important;
  padding: 0.32rem 0.7rem !important;
  border-radius: 2rem !important;
  min-width: 60px;
  max-width: 90vw;
  white-space: nowrap;
  margin-bottom: 0.5rem;
}
@media (max-width: 600px) {
  .navbar {
    position: relative !important;
    min-height: 110px !important;
  }
  .navbar-toggler {
    position: absolute;
    left: 0.2rem;
    top: 68px;
    z-index: 2100 !important;
    font-size: 2.1rem !important;
    width: 38px !important;
    height: 38px !important;
    padding: 0.2rem !important;
    color: #1976d2 !important; /* azul fuerte, mejor contraste */
    background: transparent !important;
    border: none !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
  .navbar-toggler .navbar-toggler-icon {
    display: none !important;
  }
  .navbar-toggler::before {
    content: '\2630'; /* Unicode para ☰ */
    font-size: 2.1rem;
    color: #1976d2 !important;
    display: block;
    line-height: 1;
  }
  .navbar-collapse {
    position: absolute !important;
    left: 0;
    top: 114px !important; /* Justo debajo del ícono hamburguesa bajado */
    width: 58vw !important;
    max-width: 180px !important;
    min-width: 120px !important;
    background: #e3f2fd !important;
    color: #222 !important;
    box-shadow: 2px 0 16px 0 rgba(0,0,0,0.12);
    z-index: 2000 !important;
    border-top-right-radius: 1.2rem;
    border-bottom-right-radius: 1.2rem;
    padding-top: 0.5rem !important;
    margin-top: 0 !important;
  }
  .navbar-nav .dropdown-menu {
    background: #e3f2fd !important;
    border-radius: 0.7rem;
    border: none;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,0.08);
    margin-top: 0.2rem;
    padding: 0.3rem 0.2rem !important;
    min-width: 120px !important;
    max-width: 180px !important;
    width: 100% !important;
    box-sizing: border-box;
  }
  .navbar-nav .dropdown-item {
    color: #1976d2 !important;
    background: #e3f2fd !important;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
    padding: 0.45rem 1rem !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    max-width: 100%;
    box-sizing: border-box;
  }
  .navbar-nav .dropdown-item:active,
  .navbar-nav .dropdown-item:focus,
  .navbar-nav .dropdown-item:hover {
    background: #bbdefb !important;
    color: #0d47a1 !important;
  }
  /* Ajuste para los íconos sociales junto al logo en móviles */
  .d-flex.w-100.align-items-center.justify-content-between.d-lg-none {
    margin-bottom: 0.5rem;
    margin-top: 0.2rem;
  }
  .d-flex.w-100.align-items-center.justify-content-between.d-lg-none img {
    width: 48px !important;
    height: 48px !important;
    margin-left: 0.2rem;
  }
  .d-flex.w-100.align-items-center.justify-content-between.d-lg-none a {
    font-size: 2rem !important;
    margin-right: 0.2rem;
  }
}

/* Mejorar color de flechas del modal (Bootstrap o personalizado) */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #1976d2; /* Azul fuerte para mejor visibilidad */
  border-radius: 50%;
  opacity: 0.95;
}

/* Opcional: cambiar el color del ícono SVG interno si usas Bootstrap 5+ */
.carousel-control-prev-icon::after,
.carousel-control-next-icon::after {
  color: #fff; /* Flecha blanca sobre fondo azul */
}

/* Mejora la visibilidad de los indicadores del carrusel de Instagram */
#reelInstagramCarousel .carousel-indicators [data-bs-target] {
  background-color: #e1306c !important;   /* Color visible (Instagram rosado) */
  width: 12px;
  height: 12px;
  border-radius: 50%;
  opacity: 1;
  border: 2px solid #fff;
  margin: 0 4px;
  transition: background 0.2s;
}
#reelInstagramCarousel .carousel-indicators .active {
  background-color: #FFB6B9 !important;   /* Color para el activo */
  border-color: #e1306c;
}
