@font-face {
  font-family: 'Hecho A Mano';
  src: url('../fonts/HechoAMano-Regular.woff2') format('woff2'),
    url('../fonts/HechoAMano-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.primary-blue {
  color: #21409a;
}

.bg-primary {
  background-color: #21409a;
}

.secondary-blue {
  color: #005EB8;
}

.bg-light {
  background: #FAFAFA;
}

.text-dark {
  color: #1a1a1a;
}

.text-gris {
  color: rgba(0, 0, 0, 0.50);
}

.font-title {
  font-family: 'Hecho A Mano', cursive;
}

.font-body {
  font-family: 'Lato', sans-serif !important;
}

.text-primary {
  color: #1a4a9e !important;
}

.text-whitte {
  color: #FFF !important;
}

.font-sizeS {
  font-size: 1.1rem !important;
}

.font-sizeM {
  font-size: 1.4rem !important;
}

.font-sizeX {
  font-size: 2rem !important;
}

.lato-thin {
  font-family: "Lato", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.lato-light {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.lato-regular {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.lato-bold {
  font-family: "Lato", sans-serif !important;
  font-weight: 700;
  font-style: normal;
}

.lato-black {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.lato-thin-italic {
  font-family: "Lato", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.lato-light-italic {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.lato-regular-italic {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.lato-bold-italic {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.lato-black-italic {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-style: italic;
}


body {
  font-family: 'Lato', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fff;
}

.cenefa2 {
  width: 100%;
  display: block;
  height: 96px;
  margin-top: 15px;
  background-color: #1a4a9e;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

.sectionPedidos {
  padding: 150px 0 150px 0;
}

/*HEADERR - NAV*/
.wave-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.wave-header .nav-link {
  color: #1a4a9e !important;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: 'Hecho A Mano';
}

.wave-header .logo {
  height: 85px;
}

.wave-header .btn-order {
  background-color: #21409a;
  color: white;
  font-weight: 500;
  border-radius: 30px;
  padding: 0.4rem 1.2rem;
  font-size: 0.9rem;
}

.wave-img {
  position: absolute;
  top: 84px;
  left: 0;
  right: 0;
  width: 221px;
  height: 25px;
  z-index: 9;
  margin: 0 auto;
  filter: drop-shadow(0 6px 4px rgba(0, 0, 0, 0.1));
  /* solo hacia abajo */
}

/*END-HEADERR - NAV*/

/*CAROUSEL*/
.hero .container {
  padding-top: 150px;
}

.hero {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url('../img/fondo_slider.jpg') no-repeat center center;
  background-size: cover;
  height: 70dvh;
  display: flex;
  align-items: center;
  color: white;
  position: relative;
  z-index: 8;
}

.novedad {
  background: url('../img/novedad.png') no-repeat center center;
  width: 242px;
  height: 176px;
  position: absolute;
  left: 1050px;
  top: 100px;
}

.btn-cta {
  background-color: #1a4a9e;
  color: white;
  padding: 0.6rem 1.5rem;
  border-radius: 40px;
  font-weight: bold;
  font-size: 1.3rem;
  border: none;
  font-family: 'Hecho A Mano', sans-serif !important;
  text-transform: uppercase;
}

.btn-cta:hover {
  background-color: #1a4a9e;
  color: #fff;
}

.btn-cta:focus,
.btn-cta:active {
  box-shadow: 0 0 0 0.2rem rgba(33, 64, 154, 0.4);
}


.hero h1 {
  font-family: 'Hecho A Mano', sans-serif;
  text-transform: uppercase;
  font-size: 3rem;
  letter-spacing: 1px;
}

.hero p {
  font-size: 1.65rem;
  font-weight: 300;
  letter-spacing: 0.5px;
}

/*END.CAROUSEL*/

.cenefa {
  width: 100%;
  background: url('../img/cenefa.png') repeat center center;
  display: block;
  height: 90px;
  margin-top: 15px;
  background-color: white;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

.intro-title {
  font-family: 'Hecho A Mano', sans-serif !important;
  text-transform: uppercase;
  background-color: #fff;
  color: var(--text-dark);
  font-size: 2.5rem;
  color: #21409a;
}

.intro-text {
  font-size: 1.1rem;
  line-height: 1.6;
}

.gallery-section {
  background-color: #f0f0f0;
}

.gallery-section img {
  transition: transform 0.3s ease;
}

.gallery-section img:hover {
  transform: scale(1.03);
}



/* Sección valores */
.values-section {
  background-color: #1a4a9e !important;
  color: white !important;
  padding: 80px 0;
  width: 100%;
}

.values-section .value-icon {
  height: 80px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.values-section h3 {
  font-family: 'Hecho A Mano', sans-serif !important;
  font-size: 2rem;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.values-section p {
  font-size: 1rem;
  max-width: 280px;
  margin: 0 auto;
}

.kefi-block {
  background-color: #f7f7f7;
}

.kefi-img img {
  height: 100%;
  object-fit: cover;
}

.kefi-text {
  background-color: #f7f7f7;
  color: #1a1a1a;
}

.kefi-text h2 {
  font-family: 'Hecho A Mano', sans-serif !important;
  color: #21409a;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.kefi-text p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.kefi-cenefa img {
  display: block;
  max-width: 100%;
  height: auto;
}

.kefi-text .text-container {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}





.kefi-productos {
  background-color: #f0f0f0;
}

.kefi-title {
  font-family: 'Hecho A Mano', sans-serif !important;
  color: #21409a;
  font-size: 3rem;
}

.kefi-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.kefi-card:hover {
  transform: translateY(-5px);
}

.kefi-product-img {
  width: 180px;
  height: auto;
  object-fit: contain;
}


.kefi-productos h5 {
  font-family: 'Hecho A Mano', sans-serif !important;
  color: #21409a;
  font-size: 2rem;
}

.kefi-footer {
  background-color: #1a4a9e;
  font-family: 'Lato', sans-serif;
}

.kefi-footer .font-title {
  font-family: 'Hecho A Mano', cursive;
  letter-spacing: 2px;
}


/* ==== KEFI PASO 1: Tarjetas de producto mejoradas ==== */

.kefi-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease-in-out;
  padding: 1.5rem;
}

.kefi-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

/* Imagen con animación */
.kefi-product-img {
  width: 180px;
  transition: transform 0.3s ease-in-out;
}

.kefi-card:hover .kefi-product-img {
  transform: scale(1.05);
}

/* Botón */
.btn-cta {
  background-color: #1a4a9e;
  color: white;
  padding: 0.6rem 1.5rem;
  border-radius: 40px;
  font-weight: bold;
  font-size: 1.2rem;
  border: none;
  font-family: 'Hecho A Mano', sans-serif;
  text-transform: uppercase;
  transition: all 0.2s ease-in-out;
}

.btn-cta:hover {
  background-color: #005EB8;
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Bonus: icono */
.btn-cta::after {
  font-size: 1.2rem;
}

/* Responsive móvil */
@media (max-width: 576px) {
  .kefi-card {
    flex-direction: column !important;
    text-align: center;
    padding: 1rem;
  }

  .kefi-product-img {
    width: 140px;
    margin-bottom: 1rem;
  }

  .btn-cta {
    font-size: 1rem;
    padding: 0.5rem 1.2rem;
  }
}


/* === KEFI Modal Personalizado === */
.kefi-modal {
  padding: 2.5rem 2rem;
  /* Más aire interno */
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  background-color: #ffffff;
  border-radius: 1.5rem;
  font-family: 'Lato', sans-serif;
  padding: 60px 45px 40px 45px !important
}

/* Título del modal */
.kefi-modal .modal-title {
  font-family: 'Hecho A Mano', cursive;
  color: #1a4a9e !important;
  text-transform: uppercase;
  font-size: 2.2rem !important;
  margin-bottom: 1rem;
  padding-left: 10px;
  padding-right: 10px;
  margin-top: 0.5rem;
  line-height: 1.3;
  display: flex !important;
  align-items: flex-start !important;
  /* 🔄 Aquí el cambio clave */
  gap: 0.6rem !important;
}

/* Icono del título */
.kefi-modal .modal-title i {
  font-size: 2.4rem;
  color: #21409a;
  margin-top: 3px;
  /* Fino ajuste si lo ves ligeramente más bajo */
}

/* Botón principal */
.btn-kefi {
  background-color: #1a4a9e;
  color: white;
  font-weight: 600;
  border-radius: 40px;
  font-family: 'Lato', sans-serif;
  transition: all 0.3s ease-in-out;
}

.btn-kefi:hover {
  background-color: #005EB8;
  color: white;
}

/* Input con icono */
.input-group-text {
  border: 1px solid #ced4da;
  border-right: none;
  border-radius: 30px 0 0 30px;
  background-color: #fff;
}

.form-control {
  border: 1px solid #ced4da;
  border-left: none;
  border-radius: 0 30px 30px 0;
  font-size: 1rem;
  padding: 0.6rem 1rem;
  font-family: 'Lato', sans-serif;
}

/* Botones de login / registro */
.kefi-modal a.btn-outline-primary,
.kefi-modal a.btn-outline-secondary {
  font-family: 'Lato', sans-serif;
  font-weight: 600;
  padding: 0.4rem 1.2rem;
  font-size: 0.9rem;
  border-radius: 40px;
}

/* Outline buttons - colores */
.kefi-modal a.btn-outline-primary {
  border-color: #21409a;
  color: #21409a;
}

.kefi-modal a.btn-outline-primary:hover {
  background-color: #21409a;
  color: white;
}

.kefi-modal a.btn-outline-secondary {
  border-color: #6c757d;
  color: #6c757d;
}

.kefi-modal a.btn-outline-secondary:hover {
  background-color: #6c757d;
  color: white;
}

/* Estilo outline primary (Iniciar sesión) */
.kefi-modal a.btn-outline-primary {
  border-color: #21409a;
  color: #21409a;
}

.kefi-modal a.btn-outline-primary:hover {
  background-color: #21409a;
  color: white;
}

/* Estilo outline secondary (Crear cuenta) */
.kefi-modal a.btn-outline-secondary {
  border-color: #6c757d;
  color: #6c757d;
}

.kefi-modal a.btn-outline-secondary:hover {
  background-color: #6c757d;
  color: white;
}

/* Ajuste del botón de cerrar del modal */
.kefi-modal .btn-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  font-size: 1.2rem;
  filter: brightness(0) saturate(100%);
  opacity: 0.7;
  transition: all 0.2s ease-in-out;
  z-index: 10;
}

.kefi-modal .btn-close:hover {
  opacity: 1;
  transform: scale(1.1);
  filter: brightness(0) saturate(100%) contrast(150%);
}

@media (max-width: 576px) {
  .kefi-modal {
    padding: 2rem 1.5rem;
  }

  .kefi-modal .modal-title {
    font-size: 1.5rem;
    gap: 0.4rem;
  }
}


/* ===== KEFI Modal Estilo Glovo Refinado ===== */

.modal-scroll {
  padding: 3rem !important;
}

.modal-content {
  border-radius: 1.5rem;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Títulos de sección */
section h4 {
  font-family: 'Lato', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

section p {
  font-size: 0.85rem;
  color: #6c757d;
  margin-bottom: 1rem;
}

/* Bloques tipo card */
.bg-white {
  background-color: #fff !important;
}

.p-3 {
  padding: 1rem !important;
}

/* Estilo de opciones (checkbox en línea con precio) */
.form-check {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  transition: border 0.2s ease-in-out, background 0.2s ease-in-out;
}

.form-check:hover {
  border-color: #21409a;
  background-color: #f5f8ff;
}

.form-check-label {
  font-size: 0.95rem;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  width: 100%;
}

/* Checkboxes visuales */
.form-check-input {
  margin-left: 0.5rem;
  width: 1.1em;
  height: 1.1em;
  border-radius: 4px;
  cursor: pointer;
  vertical-align: middle;
  /* <-- NUEVO */
  margin-top: 0;
  /* <-- NUEVO */
}


/* Contadores redondos */
.btn.rounded-circle {
  width: 32px;
  height: 32px;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 0 !important;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn.rounded-circle:hover {
  background-color: #e6e6e6;
}

/* Panel derecho resumen */
#modalPaso3 .bg-light {
  background-color: #f9f9f9 !important;
}

#modalPaso3 h5 {
  font-family: 'Hecho A Mano', cursive;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

#modalPaso3 .text-muted {
  font-size: 0.85rem;
}

#modalPaso3 ul {
  padding-left: 1rem;
  margin-bottom: 0.5rem;
}

#modalPaso3 ul li {
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  line-height: 1.4;
}

.form-check-input:focus {
  box-shadow: none;
  border-color: #21409a;
}

/* Botón CTA */
.btn-cta {
  background-color: #1a4a9e;
  color: #fff;
  font-family: 'Lato', sans-serif !important;
  font-weight: bold;
  border-radius: 40px;
  padding: 0.55rem 1.5rem;
  /* antes: 0.65rem 1.5rem */
  font-size: 1rem;
  transition: background 0.3s ease-in-out;
  text-transform: none;
}

.btn-cta:hover {
  background-color: #21409a;
  color: #fff;
}






/* ==== AJUSTES PASO 3 KEFI ==== */

/* 1. Bot�nn a�adir al pedido" m�s pequeño y refinado */
#modalPaso3 .btn-cta {
  background-color: #1a4a9e;
  color: #fff;
  display: block;
  font-family: 'Lato', sans-serif !important;
  font-weight: bold;
  border-radius: 40px;
  padding: 10px 30px;
  font-size: 0.95rem;
  transition: background 0.3s ease-in-out;
  text-transform: none;
  width: 220px;
  margin: 1.5rem auto 0 auto;
}

#modalPaso3 .btn-cta:hover {
  background-color: #21409a;
  color: #fff;
}


/* 2. Checkbox en la misma l�nea y m�s grande */
.form-check {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
}

.form-check-label {
  font-size: 1rem;
  font-weight: 500;
  flex-grow: 1;
  margin: 0;
}

.precio-check {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  /* aumentamos separaci�n visual */
  white-space: nowrap;
}

.precio-check .precio {
  font-weight: 600;
  font-size: 0.95rem;
  color: #333;
}

.form-check-input {
  width: 1.3rem;
  height: 1.3rem;
  margin: 0;
  cursor: pointer;
  margin-left: 1em !important;
}


/* 3. Inputs de cantidad más delgados */
.btn.rounded-circle {
  width: 30px;
  height: 30px;
  font-size: 1rem;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50% !important;
  line-height: 1;
}

.btn.rounded-circle:hover {
  background-color: #e6e6e6;
}

/* 4. Precio del carro más grande y negrita */
.resumen-total {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
}

.opcion-bloc {
  transition: border 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.opcion-bloc:hover {
  border-color: #21409a;
  box-shadow: 0 0 0 3px rgba(33, 64, 154, 0.1);
}

.opcion-label {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  font-weight: 500;
}

.precio-check {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  white-space: nowrap;
}

.precio-check .precio {
  font-weight: 600;
  font-size: 0.95rem;
  color: #333;
}

/* Estilo del selector de cantidad estilo Glovo pero KEFI */
.btn-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 1.2rem;
  font-weight: bold;
  transition: background-color 0.2s ease-in-out;
}

.bg-kefi-blue-light {
  background-color: #e7efff;
  /* Azul clarito */
}

.text-kefi-blue {
  color: #21409a;
  /* Azul KEFI */
}

.btn-circle:hover {
  background-color: #ffffff;
  cursor: pointer;
}

.MLcesta {
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  position: absolute;
  right: 0;
  top: -20px
}

.precoCesta {
  font-family: 'Lato', sans-serif;
  font-size: 1.2rem;
}

/* Bot�n "Siguiente" estilo Kefi claro */
.btn-kefi-siguiente {
  background-color: #e7efff;
  /* Azul clarito */
  color: #21409a;
  /* Azul Kefi oscuro */
  border: none;
  padding: 0.6rem 1.8rem;
  font-family: 'Lato', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 30px;
  transition: background 0.3s ease;
}

.btn-kefi-siguiente:hover {
  background-color: #d6e3fb;
  /* un tono m�s intenso al pasar */
  color: #1a4a9e;
  cursor: pointer;
}

/* Offcanvas personalizado */
#cestaPedido {
  width: 450px;
  max-width: 100%;
  background-color: #ffffff;
  border-left: 1px solid #eee;
  padding: 1.5rem;
  box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
}

/* T�tulo y bot�n de cerrar */
#cestaPedido .offcanvas-header {
  border-bottom: 1px solid #eee;
  padding-bottom: 0.75rem;
}

#cestaPedido .offcanvas-title {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
}

#cestaPedido .btn-close {
  opacity: 0.7;
}

#cestaPedido .btn-close:hover {
  opacity: 1;
}

/* Producto */
.producto-cesta {
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
}

.producto-cesta:last-child {
  border-bottom: none;
}

.producto-cesta h6 {
  font-weight: 600;
  font-size: 1rem;
}

.producto-cesta p {
  font-size: 0.85rem;
  color: #555;
  margin: 0.25rem 0;
}

.producto-cesta .precio {
  font-weight: bold;
  font-size: 0.95rem;
  color: #000;
}

/* Total */
.cesta-total {
  margin-top: 1.5rem;
  padding-top: 1rem;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  justify-content: space-between;
}

/* Bot�n CTA */
#cestaPedido .btn-finalizar {
  background-color: #1a4a9e;
  color: #fff;
  font-weight: bold;
  width: 250px;
  padding: 0.9rem;
  margin-top: 1.5rem;
  border-radius: 40px;
  transition: background-color 0.3s ease-in-out;
  text-align: center;
  position: absolute;
  margin: 10px auto;
  left: 0;
  right: 0;
  bottom: 20px;
}

#cestaPedido .btn-finalizar:hover {
  background-color: #21409a;
}


.modal-content input {
  font-size: 1.1rem;
  padding: 0.75rem;
}

.modal-content button {
  font-weight: bold;
}


/* ===== Paso 5: Validaci�n de Tel�fono ===== */

#modalPaso5 .modal-content {
  border-radius: 1.5rem;
  max-width: 500px;
  margin: auto;
  padding: 2rem;
}

#modalPaso5 h3 {
  font-family: 'Lato', sans-serif;
}

#modalPaso5 p {
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
}

#modalPaso5 .form-control,
#modalPaso5 .form-select {
  border-radius: 999px;
  font-size: 0.95rem;
  width: 250px;
}

#modalPaso5 .form-label {
  margin-bottom: .5rem;
  color: #000;
  font-weight: 700;
  text-align: left;
}

#modalPaso5 .btn-blue {
  background-color: #21409a;
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  transition: background 0.3s ease;
}

#modalPaso5 .btn-blue:hover {
  background-color: #1a4a9e;
}

#modalPaso5 .btn.border {
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 999px;
  border: 1px solid #ddd;
  transition: background 0.2s ease;
}

#modalPaso5 .btn.border:hover {
  background-color: #f1f1f1;
}

#modalPaso5 img {
  width: 20px;
}

/* Estilo personalizado para sombra y espaciado m�s limpio */
.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.bg-white {
  background-color: #fff;
}

.ratio iframe {
  border-radius: 8px;
}

.bi {
  vertical-align: -0.125em;
}

.btn-outline-primary {
  border-radius: 999px;
  font-size: 0.85rem;
  padding: 6px 12px;
  font-weight: 600;
  color: var(--bs-primary);
  border-color: var(--bs-primary);
  transition: 0.3s;
}

.btn-outline-primary:hover {
  background-color: var(--bs-primary);
  color: white;
}

.vr {
  border-left: 1px solid #ccc;
  height: 1.2rem;
  align-self: center;
}

/* Opcional para separar m�s la imagen del contenido */
.me-4 {
  margin-right: 1.5rem !important;
}

/* Tama�o consistente del �cono de eliminar */
.btn-outline-danger i {
  font-size: 1rem;
}

.input-kefi {
  border-radius: 50px;
  padding-left: 1.2rem;
  padding-right: 1.2rem;
  height: 42px;
  border: 1px solid #ced4da;
}

.textarea-kefi {
  border-radius: 20px;
  padding: 0.75rem 1rem;
  border: 1px solid #ced4da;
  min-height: 100px;
  resize: none;
}

.input-kefi:focus,
.textarea-kefi:focus {
  border-color: #21409a;
  box-shadow: 0 0 0 0.2rem rgba(33, 64, 154, 0.15);
  outline: none;
}


.numbered-list-kefi {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.numbered-list-kefi li {
  position: relative;
  padding-left: 65px;
  margin-bottom: 25px;
  line-height: 1.6;
}

.numbered-list-kefi .number-circle {
  position: absolute;
  left: 0;
  top: 0;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: #1a4a9e;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(26, 74, 158, 0.2);
}



/* Reset y base */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Lato', sans-serif;
  color: #333;
  line-height: 1.4;
}

/* Contenedor principal */
.shop-container {
  padding-top: 60px;
  min-height: 100vh;
}

/* SIDEBAR IZQUIERDO */
.sidebar {
  background-color: #fff;
  padding: 0;
  position: sticky;
  top: 120px;
  height: calc(100vh - 120px);
  overflow: visible;
}

.search-container {
  padding: 30px;
}

.search-box {
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 12px 40px 12px 16px;
  border: 1px solid #ddd;
  border-radius: 25px;
  font-size: 14px;
  outline: none;
  font-family: 'Lato', sans-serif;
}

.search-box input:focus {
  border-color: #004098;
}

.search-box i {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 14px;
}

/* MEN� DESKTOP */
.category-menu {
  list-style: none;
  padding: 0 30px;
  margin: 0;
}

.category-item {
  position: relative;
}

.category-item:not(:last-child)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 20px;
  height: 1px;
  background-color: #f0f0f0;
}

.category-link {
  display: flex;
  align-items: center;
  padding: 20px 0;
  text-decoration: none;
  color: #969696;
  font-size: 16px;
  font-weight: 400;
  transition: color 0.2s ease;
  font-family: 'Ubuntu', sans-serif;
}

.category-link:hover,
.category-link.active {
  color: #004098 !important;
  text-decoration: none;
  font-weight: 700;
}

.category-link.active .category-arrow {
  transform: rotate(0deg);
}

.category-icon {
  width: 32px;
  height: 32px;
  margin-right: 15px;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-text {
  flex: 1;
  line-height: 1.3;
}

.category-arrow {
  font-size: 14px;
  transition: transform 0.2s ease;
}

/* SELECT M�VIL */
.mobile-category-select {
  display: none;
  padding: 0 20px 30px 20px;
  position: relative;
  z-index: 10000;
  overflow: visible;
}

.custom-select {
  position: relative;
  width: 100%;
  z-index: 10000;
  overflow: visible;
}

.select-button {
  width: 100%;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Ubuntu', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #004098;
}

.select-button:hover,
.select-button.active {
  border-color: #004098;
}

.select-current {
  display: flex;
  align-items: center;
  gap: 12px;
}

.select-current i {
  font-size: 20px;
  color: #004098;
}

.select-dropdown-icon {
  font-size: 14px;
  color: #666;
  transition: transform 0.3s ease;
}

.select-button.active .select-dropdown-icon {
  transform: rotate(180deg);
}

.select-dropdown {
  position: fixed;
  top: auto;
  left: 20px;
  right: 20px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  z-index: 10001;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  max-height: 400px;
  overflow-y: auto;
}

.select-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.select-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-family: 'Ubuntu', sans-serif;
  font-size: 14px;
  color: #969696;
  border-bottom: 1px solid #f5f5f5;
}

.select-option:last-child {
  border-bottom: none;
}

.select-option:hover,
.select-option.active {
  background-color: #f8f9ff;
  color: #004098;
  font-weight: 700;
}

.select-option i {
  font-size: 18px;
  width: 20px;
  text-align: center;
}

.select-option.active i {
  color: #004098;
}

/* CONTENIDO PRINCIPAL */
.main-content {
  padding: 25px 30px;
}

.top-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  gap: 20px;
}

.value-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.value-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background-color: #fff;
  border-radius: 16px;
  font-size: 12px;
  color: #666;
  border: 1px solid #e9ecef;
  font-weight: 500;
}

.value-badge i {
  font-size: 14px;
}

.value-badge.natural i {
  color: #28a745;
}

.value-badge.safe i {
  color: #007bff;
}

.value-badge.human i {
  color: #fd7e14;
}

.address-section {
  position: relative;
  min-width: 280px;
}

.address-input {
  width: 100%;
  padding: 12px 40px 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 13px;
  outline: none;
  font-family: 'Lato', sans-serif;
}

.address-input:focus {
  border-color: #21409a;
}

.address-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #21409a;
  font-size: 16px;
}

/* SECCIONES DE CATEGOR�AS */
.category-section {
  margin-bottom: 45px;
}

.category-header {
  margin-bottom: 25px;
}

.category-title {
  font-family: 'Hecho A Mano', cursive;
  color: #21409a;
  font-size: 30px;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.category-subtitle {
  color: #666;
  font-size: 14px;
  margin: 0;
  font-weight: 400;
}

/* GRIDS DE PRODUCTOS */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-grid.toppings-grid {
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.product-card {
  background: white;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  border: 1px solid #f0f0f0;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.product-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #ff6b35;
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 600;
}

.product-badge.available {
  background-color: #28a745;
}

.product-image {
  width: 100%;
  max-width: 140px;
  height: auto;
  margin-bottom: 12px;
  object-fit: contain;
}

.product-title {
  /*font-family: 'Hecho A Mano', cursive;*/
  color: #21409a;
  font-size: 16px;
  margin-bottom: 6px;
  text-transform: uppercase;
  line-height: 1.3;
}

.product-description {
  color: #666;
  font-size: 12px;
  margin-bottom: 8px;
  line-height: 1.3;
}

.product-price {
  font-weight: 700;
  color: #333;
  font-size: 16px;
  margin-bottom: 12px;
}

.btn-order {
  background-color: #102871;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  font-family: 'Lato', sans-serif;
  transition: background-color 0.2s ease;
  cursor: pointer;
}

.btn-order:hover {
  background-color: #21409a;
}

/* TOPPINGS ESPEC�FICOS */
.toppings-grid .product-card {
  padding: 15px;
}

.toppings-grid .product-image {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  object-fit: cover;
  margin-bottom: 8px;
}

.toppings-grid .product-title {
  font-size: 11px;
  font-family: 'Lato', sans-serif;
  font-weight: 600;
  color: #333;
  text-transform: none;
  margin-bottom: 4px;
}

.toppings-grid .product-price {
  font-size: 12px;
  margin-bottom: 8px;
}

.toppings-grid .btn-order {
  padding: 5px 10px;
  font-size: 10px;
}

/* MAPA */
.map-section {
  margin-top: 40px;
}

.map-title {
  font-family: 'Hecho A Mano', cursive;
  color: #21409a;
  font-size: 24px;
  margin-bottom: 20px;
  text-transform: uppercase;
  text-align: center;
}

.map-container iframe {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 8px;
}

/* SCROLL TO TOP */
.scroll-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #21409a;
  color: white;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 1000;
  display: none;
}

.scroll-top:hover {
  background-color: #102871;
  transform: translateY(-2px);
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .toppings-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 767px) {
  .shop-container {
    padding-top: 100px;
  }

  .sidebar {
    position: static;
    height: auto;
    margin-bottom: 20px;
  }

  /* Ocultar elementos desktop en m�vil */
  .search-container,
  .category-menu {
    display: none !important;
  }

  /* Mostrar select en m�vil */
  .mobile-category-select {
    display: block !important;
  }

  .main-content {
    padding: 20px 15px;
  }

  .top-section {
    flex-direction: column;
    align-items: stretch;
  }

  .address-section {
    min-width: auto;
  }

  .value-badges {
    justify-content: center;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .toppings-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .category-title {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .toppings-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Secci�n de productos KEFI */
.kefi-productos {
  background-color: #f0f0f0;
  padding: 80px 0;
}

.kefi-title {
  font-family: 'Hecho A Mano', sans-serif !important;
  color: #21409a;
  font-size: 3rem;
  text-transform: uppercase;
  margin-bottom: 60px;
}

/* Contenedor de las 3 columnas */
.productos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 50px;
}

/* Tarjeta de producto */
.producto-card {
  background: #fff;
  border-radius: 0;
  /* Sin border-radius */
  padding: 0;
  /* Sin padding en la card */
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease-in-out;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.producto-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* Imagen del producto */
.producto-img-container {
  width: 100%;
  height: 350px;
  /* M�s vertical, antes 250px */
  margin: 0;
  /* Sin margen */
  padding: 0;
  /* Sin padding */
  overflow: hidden;
  position: relative;
}

.producto-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.producto-card:hover .producto-img {
  transform: scale(1.05);
}

/* Contenido de texto */
.producto-content {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* T�tulo del producto */
.producto-titulo {
  font-family: 'Hecho A Mano', sans-serif !important;
  color: #1a4a9e;
  font-size: 1.8rem;
  margin-bottom: 20px;
  line-height: 1.2;
  min-height: 2.4em;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Descripci�n del producto */
.producto-descripcion {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
  text-align: left;
  flex-grow: 1;
}

.producto-descripcion strong {
  color: #333;
  font-weight: 600;
}

/* Responsive para tablets */
@media (max-width: 991px) {
  .productos-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .producto-card {
    max-width: 600px;
    margin: 0 auto;
  }

  .kefi-title {
    font-size: 2.5rem;
  }

  .producto-img-container {
    height: 400px;
    /* Mantiene proporci�n vertical en tablet */
  }
}

/* Responsive para m�viles */
@media (max-width: 768px) {
  .kefi-productos {
    padding: 60px 20px;
  }

  .kefi-title {
    font-size: 2rem;
    margin-bottom: 40px;
  }

  .producto-titulo {
    font-size: 1.5rem;
  }

  .producto-descripcion {
    font-size: 0.95rem;
  }

  .producto-img-container {
    height: 300px;
    /* Ajuste para m�viles */
  }

  .producto-content {
    padding: 20px;
  }
}

/* Secci�n de Toppings */
.kefi-toppings-section {
  background-color: #fff;
  padding: 80px 0;
}

.toppings-title {
  font-family: 'Hecho A Mano', sans-serif !important;
  color: #21409a;
  font-size: 3rem;
  text-transform: uppercase;
  margin-bottom: 20px;
  text-align: center;
}

.toppings-intro {
  max-width: 800px;
  margin: 0 auto 60px;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #666;
  padding: 0 20px;
}

.toppings-intro strong {
  color: #333;
  font-weight: 600;
}

/* Tabs de categor�as */
.kefi-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
  flex-wrap: wrap;
  padding: 0 20px;
}

.kefi-tab {
  font-family: 'Hecho A Mano', cursive;
  font-size: 1.3rem;
  background: none;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  color: #1a4a9e;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.kefi-tab:hover {
  color: #21409a;
  transform: translateY(-2px);
}

.kefi-tab.active {
  border-color: #1a4a9e;
  color: #1a4a9e;
  font-weight: 700;
}

/* Grid de toppings - 4 columnas */
.kefi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

/* Topping individual */
.kefi-topping {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.kefi-topping:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.kefi-topping[data-category] {
  display: none;
}

.kefi-topping.show {
  display: flex;
}

/* C�rculo con etiqueta */
.kefi-circle-label {
  width: 70%;
  aspect-ratio: 1;
  background: #fff;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.kefi-circle-label img {
  width: 50%;
  height: 50%;
  object-fit: contain;
  z-index: 2;
}

.kefi-circle-label svg {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.kefi-circle-label text {
  font-family: 'Lato', sans-serif;
  font-size: 11px;
  fill: #1a4a9e;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Responsive para tablets */
@media (max-width: 1200px) {
  .kefi-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
  }
}

@media (max-width: 991px) {
  .kefi-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .toppings-title {
    font-size: 2.5rem;
  }

  .kefi-tab {
    font-size: 1.1rem;
    padding: 8px 15px;
  }
}

/* Responsive para m�viles */
@media (max-width: 576px) {
  .kefi-toppings-section {
    padding: 60px 0;
  }

  .kefi-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0 15px;
  }

  .toppings-title {
    font-size: 2rem;
  }

  .toppings-intro {
    font-size: 1rem;
    margin-bottom: 40px;
  }

  .kefi-tabs {
    gap: 10px;
    margin-bottom: 30px;
  }

  .kefi-tab {
    font-size: 1rem;
    padding: 6px 12px;
  }

  .kefi-circle-label text {
    font-size: 9px;
  }
}


/* Secci�n valores */
.values-section {
  background-color: #1a4a9e !important;
  color: white !important;
  padding: 80px 0;
  width: 100%;
}

.values-section .value-icon {
  height: 80px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.values-section h3 {
  font-family: 'Hecho A Mano', sans-serif !important;
  font-size: 2rem;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.values-section p {
  font-size: 1rem;
  max-width: 280px;
  margin: 0 auto;
}

/* Bot�n Ver m�s */
.btn-ver-mas {
  background-color: transparent;
  color: white;
  border: 2px solid white;
  padding: 8px 20px;
  border-radius: 25px;
  font-family: 'Hecho A Mano', sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  margin-top: 15px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-ver-mas:hover {
  background-color: white;
  color: #1a4a9e;
  transform: translateY(-2px);
}

/* Modal personalizado KEFI */
.kefi-modal-valores .modal-content {
  background-color: #1a4a9e;
  color: white;
  border: none;
  border-radius: 20px;
}

.kefi-modal-valores .modal-header {
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  padding: 30px;
}

.kefi-modal-valores .modal-title {
  font-family: 'Hecho A Mano', sans-serif;
  font-size: 2.5rem;
  text-transform: uppercase;
  color: white;
  width: 100%;
  text-align: center;
}

.kefi-modal-valores .btn-close {
  filter: brightness(0) invert(1);
  opacity: 0.8;
  font-size: 1.2rem;
}

.kefi-modal-valores .btn-close:hover {
  opacity: 1;
}

.kefi-modal-valores .modal-body {
  padding: 40px;
  font-size: 1.15rem;
  line-height: 1.8;
}

.kefi-modal-valores .modal-body p {
  margin-bottom: 20px;
}

.kefi-modal-valores .modal-body strong {
  color: #ffffff;
  font-weight: 700;
}

.kefi-modal-valores .value-icon-modal {
  width: 100px;
  height: 100px;
  margin: 0 auto 30px;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
  .kefi-modal-valores .modal-title {
    font-size: 1.8rem;
  }

  .kefi-modal-valores .modal-body {
    padding: 25px;
    font-size: 1rem;
  }

  .values-section h3 {
    font-size: 1.5rem;
  }
}




/* GALLERY SECTION */

/* Masonry */

.gallery-container {
  width: 100%;
  margin: 70px auto;
  padding: 20px;
  background: #F4F2ED;
  border-radius: 12px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
}

.masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 290px;
  grid-auto-flow: dense;
  gap: 10px;
  width: 100%;
  padding: 20px;
}

.masonry .grid-item {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.masonry img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

.grid-item.large {
  grid-column: span 2;
  grid-row: span 1;
}

.grid-item.medium:nth-child(3) {
  grid-column: span 1;
  grid-row: span 2;
}

.grid-item.medium:nth-child(4) {
  grid-column: span 2;
  grid-row: span 1;
}

.grid-item.medium:nth-child(5) {
  grid-column: span 1;
  grid-row: span 1;
}


.grid-item.small {
  grid-column: span 1;
  grid-row: span 1;
}

/* Ajuste del modal */
.modal-dialog {
  max-width: 60vw;
}

.modal-content {
  background-color: transparent;
  border: none;
}

/* Bot�n de cierre blanco */
.custom-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: white;
  border-radius: 50%;
  opacity: 1;
  padding: 10px;
  z-index: 10;
}

/* Ajuste de las im�genes */
.modal-img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 10px;
}

.carousel-control-prev,
.carousel-control-next {
  width: 10%;
}






/* Responsive Gallery */

@media (max-width: 991px) {
  #carouselMobile {
    display: block;
    width: 100%;
    margin: 60px auto;
  }



  .mobile-img {
    width: 100%;
    height: 60vh;
    object-fit: cover;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 10%;
  }
}



/* Estilos para el contenido colapsable */
.producto-descripcion-container {
  position: relative;
  margin-bottom: 20px;
}

.producto-descripcion {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
  text-align: left;
  transition: all 0.3s ease;
}

.descripcion-extra {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  display: block;
}

.producto-descripcion-container.expanded .descripcion-extra {
  opacity: 1;
  max-height: 500px;
}

.expand-btn {
  background: none;
  border: none;
  color: #1a4a9e;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 8px;
  margin-top: 10px;
  transition: transform 0.3s ease;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.expand-btn:hover {
  background-color: rgba(26, 74, 158, 0.1);
  transform: scale(1.1);
}

.expand-btn.expanded {
  transform: rotate(180deg);
}

.expand-btn.expanded:hover {
  transform: rotate(180deg) scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
  .expand-btn {
    font-size: 1rem;
    width: 32px;
    height: 32px;
  }
}

/* Fix para overflow horizontal en m�vil */
html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

/* Ocultar el elemento novedad en m�vil o reposicionarlo */
@media (max-width: 768px) {
  .novedad {
    display: none;
    /* O ajusta la posici�n */
    /* Alternativa si quieres mantenerlo visible:
        left: auto;
        right: 10px;
        width: 120px;
        height: 88px;
        */
  }

  /* Ajustar wave-img para m�vil */
  .wave-img {
    width: 150px;
    max-width: 100%;
  }
}

/* Asegurar que ning�n contenedor se desborde */
.container,
.container-fluid,
section {
  overflow-x: hidden;

}

/* Fix adicional para elementos con position absolute */
.hero {
  overflow: hidden;
  position: relative;
}





/* Ajustes del texto del hero/slider para m�vil */
@media (max-width: 768px) {
  .hero {
    height: 60dvh;
    /* Reducir altura si es necesario */
  }

  .hero .container {
    padding-top: 120px;
    /* Reducir padding superior */
  }

  .hero h1 {
    font-size: 2rem;
    /* Texto m�s peque�o en m�vil */
    margin-bottom: 10px;
    /* Menos espacio entre t�tulo y subt�tulo */
    line-height: 1.2;
  }

  .hero p {
    font-size: 1.2rem;
    /* Subt�tulo m�s peque�o */
    margin-bottom: 20px;
  }

  /* Posicionar el contenido m�s arriba para evitar que pise la foto */
  .hero .container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Alinear arriba */
    padding-top: 100px;
    /* Ajustar seg�n necesites */
  }
}

/* Para m�viles muy peque�os */
@media (max-width: 480px) {
  .hero {
    height: 55dvh;
  }

  .hero .container {
    padding-top: 90px;
  }

  .hero h1 {
    font-size: 2.2rem;
    margin-bottom: 8px;
  }

  .hero p {
    font-size: 1.4rem;
  }
}

/* Ajuste adicional si el texto sigue pisando la foto */
@media (max-width: 768px) {
  .hero .text-start {
    max-width: 90%;
    position: relative;
    top: -80px;
    /* Sube el bloque de texto 20px */
  }
}

/* Cambiar imagen de fondo del hero/slider en m�vil */
@media (max-width: 768px) {
  .hero {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
      url('../img/fondo_slider_movil.jpg') no-repeat bottom center;
    background-size: cover;
  }
}

/* INPUTs box with label inside */
.form-group-default {
  background-color: #fff;
  position: relative;
  border: 1px solid #ddd;
  border-radius: 2px;
  padding-top: 7px;
  padding-left: 12px;
  padding-right: 12px;
  padding-bottom: 4px;
  overflow: hidden;
  width: 100%;
  -webkit-transition: background-color 0.2s ease;
  transition: background-color 0.2s ease;
}

.form-group-default.focused {
  background-color: #f0f0f0;
}

.form-group-default .form-control {
  border: 0;
  padding: 0;
  margin-top: -4px;
  background: 0 0;
  border-radius: 0;
  resize: vertical;
}

.form-group-default .form-control:not(textarea) {
  height: 35px;
  min-height: 25px;
}

.form-group-default select.form-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  height: inherit !important;
}

.form-group-default .form-control:focus {
  outline: 0 !important;
  box-shadow: none;
}

.form-group-default .control-label {
  margin: 0;
  display: block;
  line-height: 20px;
  margin-bottom: 2px;
  opacity: 1;
  -webkit-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
}

.form-group .control-label {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: dimgrey;
  /*text-transform: uppercase;*/
  font-weight: 500;
}