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

/* 🍯 Fondo general */
body {
  font-family: Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background-image: url('../img/cd2393-honey.jpg');
  background-repeat: repeat;
  background-size: auto;
  background-attachment: fixed;
  color: #333;
  line-height: 1.6;
  margin: 0;
}

/* 🎨 Colores */
:root {
  --carymer-amarillo: #FFAF49;
  --carymer-verde: #36C69E;
  --carymer-oscuro: #C4651D;
  --carymer-texto: #323232;
}

/* 📦 Secciones tipo Elementor */
.seccion-fondo {
    width: 100%;
    margin: 0;
    padding: 30px 0;
}

/* 🟢 Intro secciones */
.seccion-intro {
  font-size: 1rem;
  color: #44caa5;
  font-weight: 500;
  /*letter-spacing: 1px;*/
  margin-bottom: 30px;
}

h2 {
  color: black;
  font-size: 2.3em;
  font-weight: 600;
}

.preintro{
  font-size: 1.3em;
  font-weight: 500;
  margin-bottom: 30px;
}


/* 🔝 Header */
header {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.navbar-brand img {
  max-height: 120px;
}

.navbar-nav .nav-link {
  font-weight: 600; /* Aumentamos el peso de la fuente */
  padding: 0.75rem 1.5rem; /* Más padding horizontal */
  transition: color 0.3s;
}

/* Centrado horizontal en escritorio */
@media (min-width: 992px) {
  .navbar-nav {
    margin: 0 auto;
  }
}

/* Centrado vertical en móviles */
@media (max-width: 991.98px) {
  .navbar-nav .nav-link {
    text-align: center;
    width: 100%;
    padding-top: 1rem; /* Más espacio vertical en móvil */
    padding-bottom: 1rem; /* Más espacio vertical en móvil */
  }

  #menuPrincipal .btn-success {
    display: block;
    margin: 1rem auto 0;
  }
}

/* 💬 WhatsApp */
.btn-success {
  background-color: #25d366;
  border-color: #25d366;
}
.btn-success:hover {
  background-color: #1ebc58;
  border-color: #1ebc58;
}

/* 🎯 Hero Slider */
#hero {
  margin: 0;
  padding: 0;
}

.carousel-inner {
  height: 70vh;
  position: relative;
  overflow: hidden;
}

.carousel-item > img {
  height: 70vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: 0 auto;
  z-index: 2;
  position: relative;
}

/* Fondo difuminado con la misma imagen */
.carousel-item::before {
  content: "";
  background-image: inherit;
  background-size: cover;
  background-position: center;
  filter: blur(10px) brightness(0.4);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 70vh;
  z-index: 1;
}

/* Ocultar caption del primer slide */
.carousel-item.active .carousel-caption {
    display: none;
}


/* 🧃 Productos */

#productos .card {
  border: none;
  transition: transform 0.3s ease;
}

#productos .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

#productos .card-img-top {
  height: 250px;
  object-fit: contain;
  background-color: #fff;
  padding: 1rem;
}

#productos .card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

#productos .card-text {
  font-size: 0.95rem;
  color: #555;
}

#productos .btn {
  margin-top: 1rem;
}


/* 🎨 Título del producto */
.card-title {
  color: var(--carymer-verde);
  font-weight: 600;
  margin-top: 1rem;
}

.categoria-etiqueta {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--carymer-verde);
    color: white;
    padding: 2px 8px;
    font-size: 0.75rem;
    border-radius: 4px;
    z-index: 3;
    text-transform: uppercase;
}

.producto-img-bg {
    background: linear-gradient(to bottom, #fff 0%, #aaa 100%);
    padding: 1rem;
    text-align: center;
}

.producto-img {
  height: 360px;
  object-fit: contain;
}

/* Botones personalizados */
.btn-ver-detalles {
  border: none;
  color: var(--carymer-amarillo);
  background: transparent;
  font-weight: 500;
  transition: color 0.3s ease;
}

.btn-ver-detalles:hover {
  color: #e69c3f;
}

.btn-ver-todos {
  background-color: var(--carymer-amarillo);
  color: #fff;
  border: none;
  padding: 0.75rem 2rem;
  font-weight: bold;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.btn-ver-todos:hover {
  background-color: var(--carymer-amarillo);
}

/* 📱 Reajuste de columnas para pantallas medianas */
@media (max-width: 990px) and (min-width: 380px) {
  #productos .col-md-6:nth-child(3) {
    order: 3;
    margin-top: 1rem;
  }
}


/* 🌿 Sección de beneficios */

#beneficios {
  padding: 4rem 0;
}

.beneficio-card {
  padding: 1rem 2rem;
}

.icono-beneficio {
  font-size: 2.5rem;
  color: var(--carymer-verde);
  margin-bottom: 1rem;
}

#beneficios h5 {
  font-weight: 600;
  color: var(--carymer-verde);
  margin-bottom: 0.75rem;
}

#beneficios p {
  font-size: 0.95rem;
  color: #444;
}

/* 🐝 Sección Miel de Abejas */
.text-carymer {
  color: var(--carymer-verde);
  font-weight: 700;
}

.miel-img {
  max-height: 400px;
  object-fit: contain;
}

/* 🐝 Fondo con imagen y oscurecimiento */
.seccion-miel {
  position: relative;
  background-image: url('../img/slider11.jpg');
  background-size: cover;
  background-position: center;
  z-index: 1;
  overflow: hidden;
  color: #fff;
}

/* Capa oscura encima del fondo */
.seccion-miel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* Oscurecimiento al 50% */
  z-index: 2;
}

/* Elevar el contenido por encima del fondo */
.seccion-miel .container {
  position: relative;
  z-index: 3;
}

/* Color de título más claro sobre fondo oscuro */
.text-carymer-light {
  color: #ffaf49;
}

/* 📰 Blog cards */
#blog .card {
  border: none;
  transition: transform 0.3s ease;
  position: relative;
}

#blog .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

#blog .card-title {
  color: #44caa5;
  font-weight: 600;
  margin-top: 1rem;
}

#blog .card-img-top {
  height: 250px;
  object-fit: cover;
}

#blog .card-text {
  font-size: 0.95rem;
  color: #555;
}

.btn-blog {
  border: none;
  color: #ffaf49;
  background: transparent;
  font-weight: 600;
  margin-top: 1rem;
}

.btn-blog:hover {
  color: #e69c3f;
}

/* 📅 Franja de fecha al final */
.fecha-post {
  font-size: 0.85rem;
  background-color: #f2f2f2;
  color: #666;
  padding: 0.5rem;
  text-align: center;
}

/* 🏢 Slider institucional */

#institucional {
  height: 420px;
  position: relative;
  overflow: hidden;
}

/* 🏢 Slide institucional fondo */
.institucional-slide {
  height: 420px;
  background-size: cover;
  background-position: center;
  position: relative;
  animation: zoomIn 20s ease-in-out infinite;
}

.institucional-slide h2{
  color: white;
}

/* Capa oscura */
.institucional-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0,0,0,0.5);
  z-index: 1;
}

/* Contenedor de texto centrado */
.institucional-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  color: #fff;
  padding: 2rem;
  animation-delay: 0.3s;
  animation-fill-mode: both;
}

/* Animaciones */
.animate-up {
  animation: fadeUp 1s ease forwards;
}
.animate-left {
  animation: fadeLeft 1s ease forwards;
}

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

@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Zoom sutil */
@keyframes zoomIn {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* 🍁 Sección CTA final */
.seccion-cta {
  height: 280px;
  background-color: #C4651D;
  padding: 1rem;
}

.seccion-cta h2 {
  color: white;
  font-weight: bold;
  margin-bottom: 0.75rem;
}

.seccion-cta p {
  font-size: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.btn-whatsapp-cta {
  background-color: #25d366;
  border: none;
  color: #fff;
  font-weight: bold;
  padding: 0.6rem 1.5rem;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.btn-whatsapp-cta:hover {
  background-color: #1ebc58;
}



/* SECCIÓN DE PRODUCTOS */

.btn-categoria {
  background-color: #ffaf49;
  color: #fff;
  border: none;
  padding: 0.6rem 1.4rem;
  border-radius: 4px;
  font-weight: bold;
}

.btn-categoria.active,
.btn-categoria:hover {
  background-color: #e69c3f;
}

/* Tarjetas de producto */
.card-producto {
  border: none;
  transition: transform 0.3s ease;
  background: #fff;
}

.card-producto:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.card-producto .card-img-top {
  height: 500px;
  object-fit: contain;
}

.card-producto .card-title {
  color: #44caa5;
  font-weight: 600;
}

/* 🎨 Fondo degradado detrás de la imagen */
.producto-img-bg {
  background: #fff;
  padding: 0;
}

.producto-img {
  width: 100%;
  height: auto;
  object-fit: contain; /* Para asegurar que la imagen se vea completa */
}

/* 🏷️ Etiqueta de categoría */
.categoria-etiqueta {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: var(--carymer-amarillo);
  color: #fff;
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  border-bottom-right-radius: 6px;
  font-weight: bold;
}

/*@media (min-width: 780px) and (max-width: 1000px) {
  #contenedorProductos > .col-md-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}*/

#menu-categorias {
  background-color: #1a1a1a;
}

/* 📱 Popup móvil */
.popup-categorias {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(34, 34, 34, 0.95);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.popup-content {
  text-align: center;
  padding: 2rem;
}

.btn-close-popup {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  position: absolute;
  top: 20px;
  right: 30px;
}

/*Plantilla de productos*/

.producto-img-detalle {
  max-height: 400px;
  object-fit: contain;
}

.list-check {
  list-style: none;
  padding-left: 0;
}

.list-check li::before {
  content: "✔ ";
  color: #44caa5;
  margin-right: 6px;
}


/* Imágenes del Blog */

.imagen-contenido {
  width: 100%;
  max-width: 720px;
  margin: 2rem auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.text-carymer {
  color: #e69c3f;
}

.card-blog img {
  object-fit: cover;
  height: 180px;
}

.card-blog {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.card-blog:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.card-blog img {
  height: 220px;
  object-fit: cover;
  width: 100%;
}

.card-blog .card-body {
  padding: 1.2rem;
}

.card-blog small {
  font-size: 0.8rem;
  color: #999;
}

.card-blog h5 {
  font-size: 1.1rem;
  color: #333;
}

.card-blog p {
  font-size: 0.95rem;
  color: #666;
}

/* Contenedor principal del artículo */
.contenido-articulo {
  max-width: 750px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #343434;
}

.contenido-articulo p {
  font-family: 'Merriweather', serif;
  margin-bottom: 1.6rem;
}

.contenido-articulo p::first-letter {
  font-size: 130%;
  font-weight: bold;
  color: #e69c3f;
}


/* Títulos */
#articuloTitulo {
  font-size: 2rem;
  font-weight: bold;
  color: #2e2e2e;
}

/* Imagen destacada */
#articuloImagen {
  border-radius: 12px;
  max-height: 400px;
  object-fit: cover;
  width: 100%;
  margin: 1.5rem 0;
}

/* Imágenes del contenido */
.imagen-contenido {
  width: 100%;
  max-width: 720px;
  display: block;
  margin: 2rem auto;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.07);
}

/* Breadcrumb */
.breadcrumb {
  font-size: 0.875rem;
  background: none;
  padding: 0;
  margin-bottom: 1.5rem;
}


/* Estilos distribuidores */
#mensajeConteo {
  font-size: 1.2rem;
  color: #555;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

#mensajeConteo.activo {
  opacity: 1;
  transform: translateY(0);
}

.ratio-2x1 {
  position: relative;
  width: 100%;
  padding-top: 50%; /* 2:1 → height es el 50% del width */
}

.ratio-2x1 iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 991.98px) {
  .ratio-2x1 {
    padding-top: 75%; /* 4:3 → alto es 75% del ancho */
  }
}





/* 📍 Footer */
.footer-site {
  background-color: #2b2b2b;
  padding: 60px 0;
  font-size: 0.95rem;
}

.footer-site a {
  color: #fff;
  text-decoration: none;
}

.footer-site a:hover {
  text-decoration: underline;
}

.footer-titulo {
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  color: #ffaf49;
}

/* 🧭 Enlaces */
.footer-link {
  display: block;
  margin-bottom: 0.5rem;
}

/* 📺 Íconos sin texto */
.footer-icon-btn {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.footer-icon-btn:hover {
  color: #ffaf49;
}

/* Centrar iconos del footer en móvil */
@media (max-width: 767.98px) {
  .footer-site .col-md-6 .d-flex {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
}













