img svg .logo_new {
  width: 150px;
  height: 150px;
}

.video-card {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  /* formato vertical estilo Reels */
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  margin-bottom: 20px;
  background: #000;
}

.video-card video,
.video-card iframe,
.video-card blockquote {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.video-info {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: rgba(0, 0, 0, 0.5);
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 14px;
}

.video-card:hover {
  transform: scale(1.02);
  transition: transform 0.3s;
}

.container-quiz {
  display: flex;
  gap: 40px;
  max-width: 900px;
  width: 100%;
  flex-wrap: wrap;
}

.left {
  flex: 1;
  min-width: 250px;
}

.left h2 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
}

.left p {
  font-size: 14px;
  margin-bottom: 20px;
  color: #444;
}

.left button {
  padding: 10px 20px;
  background: #ffda00;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
}

.right {
  flex: 1;
  min-width: 280px;
  background: #e9f4fb;
  padding: 20px;
  border-radius: 12px;
}

.step {
  margin-bottom: 20px;
  display: none;
  /* Ocultamos por defecto */
}

.step.active {
  display: block;
  /* Solo se ve la activa */
}

.step label {
  font-weight: bold;
  display: block;
  margin-bottom: 8px;
}

.options button {
  display: block;
  width: 100%;
  text-align: left;
  background: white;
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 10px;
  cursor: pointer;
}

.options button:hover {
  background: #f0f0f0;
}

.result {
  display: none;
  margin-top: 20px;
  padding: 15px;
  background: white;
  border-radius: 12px;
  border: 1px solid #ccc;
}

@media (max-width: 700px) {
  .container-quiz {
    flex-direction: column;
  }
}

a.btn-result {
  display: inline-block;
  padding: 10px 20px;
  background: #ffda00;
  border-radius: 20px;
  color: black;
  font-weight: bold;
  text-decoration: none;
  margin-top: 10px;
  transition: background 0.3s;
}

a.btn-result:hover {
  background: #e6c800;
}

.footer-widget .common-social-icon a {
  background-color: (--bs-bg-color1);
  border-radius: 20px;
}

.footer-widget .common-social-icon a:hover {
  background-color: var(--bs-bg-color2);
}

.slide-bg {
  position: relative;
  height: 750px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide-bg .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  /* 👈 opacidad de la imagen */
}

.slide-text {
  position: relative;
  color: #fff;
  text-align: center;
  z-index: 2;
}

.slide-text h3 {
  font-size: 1.5rem;
  font-weight: bold;
}

.pb-50 {
  padding-bottom: 50px;
}

.producto-1 {
  background-color: #bf8dbf;
  border-radius: 12px;
}

.producto-2 {
  background-color: #765ca8;
  border-radius: 12px;
}

.producto-3 {
  background-color: #ea81a8;
  border-radius: 12px;
}

.producto-4 {
  background-color: #daab28;
  border-radius: 12px;
}

.producto-5 {
  background-color: #007167;
  border-radius: 12px;
}

.producto-6 {
  background-color: #007100;
  border-radius: 12px;
}

.producto-7 {
  background-color: #f57f45;
  border-radius: 12px;
}

.producto-8 {
  background-color: #8c857b;
  border-radius: 12px;
}

.producto-9 {
  background-color: #cc998d;
  border-radius: 12px;
}

.producto-10 {
  background-color: #5f6db3;
  border-radius: 12px;
}

.producto-11 {
  background-color: #cfdddc;
  border-radius: 12px;
}

.producto-12 {
  background-color: #386cdd;
  border-radius: 12px;
}

.producto-13 {
  background-color: #d0d1d0;
  border-radius: 12px;
}

.producto-14 {
  background-color: #5b70d8;
  border-radius: 12px;
}

.producto-15 {
  background-color: #B98F8C;
  border-radius: 12px;
}

.sub-menu .nutrishine a:hover {
  background-color: #daab28;
}

.sub-menu .salt-free a:hover {
  background-color: #007167;
}

.sub-menu .color-refresh a:hover {
  background-color: #ea81a8;
}

.sub-menu .brilliance a:hover {
  background-color: #8c857b;
}

.sub-menu .keratin a:hover {
  background-color: #f57f45;
}

.sub-menu .copper a:hover {
  background-color: #cc998d;
}

.sub-menu .curly a:hover {
  background-color: #bf8dbf;
}

.sub-menu .blonde a:hover {
  background-color: #765ca8;
}

.sub-menu .balance a:hover {
  background-color: #5f6db3;
}

.sub-menu .oxidantes a:hover {
  background-color: #cfdddc;
}

.sub-menu .polvo-decolorante a:hover {
  background-color: #386cdd;
}

.sub-menu .frizz-control a:hover {
  background-color: #d0d1d0;
}

.sub-menu .thermal-defense a:hover {
  background-color: #5b70d8;
}

.sub-menu .herbal a:hover {
  background-color: #007100;
}

.sub-menu .leave-in a:hover {
  background-color: #B98F8C;
}

.banner-section-three .item {
  position: relative;
}

.slider-caption {
  position: absolute;
  top: 50%;
  /* centrado vertical */
  left: 50%;
  /* centrado horizontal */
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  /* texto blanco */
  background: rgba(0, 0, 0, 0.4);
  /* fondo oscuro semi-transparente */
  padding: 20px 30px;
  border-radius: 10px;
}

.slider-caption h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.slider-caption p {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.slider-caption .btn-slide {
  display: inline-block;
  padding: 10px 20px;
  background: #e63946;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.slider-caption .btn-slide:hover {
  background: #d62828;
}

/* Altura y ajuste del hero */
.banner-section-three .item {
  position: relative;
  height: clamp(420px, 70vh, 760px);
  overflow: hidden;
}

/* Background blur de la misma imagen */
.banner-section-three .item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(36, 36, 36, 0.4);
  /* Capa blanca semi-transparente */
  z-index: 0;
}

.banner-section-three .item img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  z-index: 2;
  /* Cambiar a 2 para estar sobre ambos ::before y ::after */
}

/* Aplicar la imagen de fondo dinámicamente */
.banner-section-three .item:nth-child(1)::before {
  background-image: url('assets/img/images/1.webp');
}

.banner-section-three .item:nth-child(2)::before {
  background-image: url('assets/img/images/2.webp');
}

.banner-section-three .item:nth-child(3)::before {
  background-image: url('assets/img/images/3.webp');
}

/* Contenedor encima del slide */
.hero-slide {
  position: relative;
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  /* centramos vertical y dejamos el texto a la izquierda dentro del container */
  padding-inline: 1rem;
}

/* Bloque de texto del hero */
.hero-text {
  max-width: 560px;
  color: #111;
  /* como en el diseño (texto oscuro) */
  text-transform: none;
  /* títulos normales excepto eyebrow */
}

/* “KLASSE” grande */
.hero-eyebrow {
  display: block;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: clamp(25px, 6vw, 50px);
  line-height: 1;
  font-family: var(--bs-font-secondary);
}

.product-title {
  display: block;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: clamp(25px, 6vw, 50px);
  line-height: 1;
  font-family: var(--bs-font-secondary);
  margin-left: 10px;
}

.hero-eyebrow2 {
  display: block;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 35px;
  line-height: 1;
}

.text-quiz {
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 35px;
  line-height: 1;
  font-family: var(--bs-font-secondary);
}

@media (max-width: 767px) {
  #diagnostico .col-md-6 {
    margin-bottom: 2rem;
  }
}

.btn-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .btn-grid {
    grid-template-columns: repeat(4, auto);
    justify-content: center;
  }
}

/* subtítulo */
.hero-title {
  margin: 12px 10px 22px 10px;
  font-size: clamp(12px, 2.4vw, 25px);
  line-height: 1.25;
}

/* Botón amarillo redondeado */
.btn-hero {
  display: inline-block;
  padding: 12px 22px;
  background: #ffd84d;
  /* amarillo */
  color: #111;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-hero:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.btn-comprar {
  display: inline-block;
  padding: 30px 30px 30px 30px;
  background: #ffd84d;
  /* amarillo */
  color: #111;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-comprar:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

/* Dots y flechas sobre el hero */
.banner-section-three .owl-dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 16px;
}

.banner-section-three .owl-nav {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
}

.banner-section-three .owl-nav button {
  background: rgba(255, 255, 255, 0.8) !important;
  border-radius: 50%;
  width: 42px;
  height: 42px;
}

/* Mejor legibilidad en mobile: un leve fondo al texto */
@media (max-width: 768px) {
  .hero-text {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(2px);
    padding: 14px 16px;
    border-radius: 12px;
  }
}

/* La fila se comporta como flex para poder usar márgenes en las columnas */
.feature-row {
  display: flex;
  flex-wrap: wrap;
  margin: -12px;
  /* compensa los márgenes de los hijos para que el ancho total no “salte” */
}

/* Cada columna tendrá margen propio (separación entre boxes) */
.feature-row>[class*="col-"] {
  margin: 12px;
  /* ← el ESPACIADO real entre las cajas */
}

/* 4 columnas en desktop */
@media (min-width: 992px) {
  .feature-row>[class*="col-"] {
    width: calc(25% - 24px);
    /* 24px = 2 * 12px de márgenes */
  }
}

/* 2 columnas en tablet */
@media (min-width: 576px) and (max-width: 991.98px) {
  .feature-row>[class*="col-"] {
    width: calc(50% - 24px);
  }
}

/* 1 columna en mobile */
@media (max-width: 575.98px) {
  .feature-row>[class*="col-"] {
    width: calc(100% - 24px);
  }
}

/* Opcional: estilo consistente en el botón */
.feature-item a {
  margin-top: auto;
  /* empuja el botón al fondo */
  align-self: center;
  /* centrado horizontal (puede ser flex-start o flex-end) */
}

.b-0 {
  bottom: 0;
}

.feature-text {
  height: 200px;
}

.feature-title {
  min-height: 60px;
  /* ajustá según tus fuentes */
  display: flex;
  align-items: center;
  /* centra verticalmente el texto dentro del bloque */
  justify-content: center;
  text-align: center;
}

.feature-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  color: #fff;
}

.card-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* overlay para oscurecer un poco */
.feature-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.feature-text {
  position: relative;
  z-index: 2;
}


.feature-item .feature-title {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.feature-item p {
  margin: 0 0 0.5rem 0;
  font-size: 0.9rem;
}

/* Modal de producto */
.product-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  overflow-y: auto;
  animation: fadeIn 0.3s ease;
}

.product-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: #F1EDEC;
  border-radius: 0;
  width: 90%;
  max-width: 1200px;
  margin: 20px;
  position: relative;
  animation: slideUp 0.4s ease;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
  max-height: 90vh;
  overflow: hidden;
}

.modal-close {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 30px;
  font-weight: 300;
  color: #333;
  cursor: pointer;
  z-index: 10;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.modal-close:hover {
  transform: rotate(90deg);
  background: #333;
  color: white;
}

.modal-body {
  display: grid;
  grid-template-columns: 60% 40%;
  overflow-y: auto;
  max-height: 90vh;
}

.modal-left {
  display: flex;
  background: #fafafa;
  padding: 0;
  position: relative;
  align-items: center;
  justify-content: center;
}

.modal-thumbnails {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 91px;
  background: white;
  padding: 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-right: 1px solid #e0e0e0;
  overflow-y: auto;
  z-index: 2;
}

.thumbnail-item {
  width: 55px;
  height: 80px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  opacity: 0.6;
  background: #fafafa;
  padding: 5px;
  flex-shrink: 0;
}

.thumbnail-item:hover {
  opacity: 1;
  border-color: #ddd;
}

.thumbnail-item.active {
  opacity: 1;
  border-color: #333;
}

.thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal-main-image-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 40px 40px 100px;
}

.modal-main-image {
  max-width: 100%;
  max-height: 500px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.modal-right {
  padding: 50px 40px;
  background: white;
  overflow-y: auto;
}

.modal-product-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #999;
  margin-bottom: 10px;
  font-weight: 500;
  font-family: var(--bs-font-sec);
}

.modal-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #000;
  text-transform: uppercase;
  margin-bottom: 15px;
  line-height: 1.2;
  font-family: var(--bs-font-secondary);
}

.modal-ph {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 25px;
  color: #666;
  font-family: var(--bs-font-secondary);
}

.modal-subtitle {
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #999;
  letter-spacing: 1px;
  font-family: var(--bs-font-secondary);
}

.modal-hair-type {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.3;
  font-family: var(--bs-font-secondary);
}

.modal-description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #666;
  margin-bottom: 30px;
  font-family: var(--bs-body-font-primary);
}

.modal-divider {
  height: 1px;
  background: #e0e0e0;
  margin: 30px 0;
}

.modal-variants-title {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 15px;
  letter-spacing: 1px;
  font-family: var(--bs-font-secondary);
}

.modal-variants-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.variant-list-item {
  font-size: 0.9rem;
  color: #666;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  font-family: var(--bs-body-font-primary);
}

.variant-list-item:last-child {
  border-bottom: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1200px) {
  .modal-body {
    grid-template-columns: 55% 45%;
  }

  .modal-main-image {
    max-height: 450px;
  }
}

@media (max-width: 992px) {
  .modal-body {
    grid-template-columns: 1fr;
  }

  .modal-left {
    max-height: 400px;
    min-height: 400px;
  }

  .modal-thumbnails {
    width: 70px;
  }

  .thumbnail-item {
    width: 50px;
    height: 70px;
  }

  .modal-main-image-container {
    padding: 30px 30px 30px 90px;
  }

  .modal-main-image {
    max-height: 350px;
  }

  .modal-right {
    padding: 40px 30px;
  }

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

@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    margin: 10px;
    max-height: 95vh;
  }

  .modal-close {
    right: 10px;
    top: 10px;
    width: 35px;
    height: 35px;
    font-size: 24px;
  }

  .modal-left {
    max-height: 300px;
    min-height: 300px;
  }

  .modal-thumbnails {
    width: 60px;
    padding: 15px 5px;
    gap: 8px;
  }

  .thumbnail-item {
    width: 45px;
    height: 60px;
  }

  .modal-main-image-container {
    padding: 20px 20px 20px 70px;
  }

  .modal-main-image {
    max-height: 250px;
  }

  .modal-right {
    padding: 30px 20px;
  }

  .modal-title {
    font-size: 1.6rem;
  }

  .modal-hair-type {
    font-size: 1rem;
  }

  .modal-description {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .modal-thumbnails {
    width: 50px;
    padding: 10px 3px;
  }

  .thumbnail-item {
    width: 40px;
    height: 55px;
  }

  .modal-main-image-container {
    padding: 15px 15px 15px 60px;
  }

  .modal-main-image {
    max-height: 200px;
  }

  .modal-right {
    padding: 25px 15px;
  }

  .modal-title {
    font-size: 1.4rem;
  }
}

.hover-foot a {
  color: #000;
  transition: color 0.3s;
}

.hover-foot a:hover {
  color: #aaa;
}

.pt-100 {
  padding-top: 100px;
}

.pb-50 {
  padding-bottom: 50px;
}

.mb-40 {
  margin-bottom: 40px;
}

.donde-comprar-section {
  padding: 80px 0;
}

.donde-comprar-header {
  text-align: center;
  margin-bottom: 50px;
}

.donde-comprar-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #999;
  margin-bottom: 10px;
  font-weight: 500;
}

.donde-comprar-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #000;
  text-transform: uppercase;
  margin-bottom: 15px;
  line-height: 1.2;
}

.donde-comprar-subtitle {
  font-size: 1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.donde-comprar-content {
  background: white;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.map-container {
  position: relative;
  width: 100%;
  height: 500px;
  background: #e0e0e0;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  transition: opacity 0.3s ease;
}

.map-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #999;
  font-size: 1rem;
  z-index: 1;
  pointer-events: none;
}

.locations-grid {
  padding: 50px 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.location-item {
  padding: 25px;
  background: #fafafa;
  border-left: 3px solid #333;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.location-item.active {
  background: #f0f0f0;
  border-left-color: #000;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.location-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  transition: all 0.3s ease;
  pointer-events: none;
}

.location-item:hover {
  background: #f5f5f5;
  border-left-color: #666;
  transform: translateX(5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.location-item:hover::after {
  background: rgba(0, 0, 0, 0.02);
}

.location-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.location-address {
  font-size: 0.9rem;
  color: #000;
  margin-bottom: 8px;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.location-address svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.location-phone {
  font-size: 0.9rem;
  color: #000;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.location-hours {
  font-size: 0.85rem;
  color: #000;
  display: flex;
  align-items: center;
  gap: 8px;
}

.location-link {
  display: inline-block;
  margin-top: 15px;
  padding: 8px 20px;
  background: #333;
  color: white;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.location-link:hover {
  background: #000;
  transform: translateY(-2px);
}

.location-link:active {
  transform: translateY(0);
}

.divider-line {
  height: 1px;
  background: #e0e0e0;
  margin: 0 40px;
}

/* Responsive */
@media (max-width: 768px) {
  .donde-comprar-section {
    padding: 60px 0;
  }

  .donde-comprar-title {
    font-size: 2rem;
  }

  .map-container {
    height: 350px;
  }

  .locations-grid {
    padding: 30px 20px;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .location-item {
    padding: 20px;
  }

  .divider-line {
    margin: 0 20px;
  }
}

@media (max-width: 480px) {
  .donde-comprar-title {
    font-size: 1.6rem;
  }

  .map-container {
    height: 300px;
  }

  .locations-grid {
    padding: 20px 15px;
  }

  .location-item {
    padding: 15px;
  }
}

/* Forzar altura igual en todos los items del carrusel */
#lineas-carousel.owl-carousel {
  display: flex !important;
}

#lineas-carousel .owl-stage {
  display: flex !important;
}

#lineas-carousel .owl-item {
  display: flex !important;
  height: auto !important;
}

/* Cada feature-item debe ocupar toda la altura disponible */
#lineas-carousel .feature-item {
  display: flex !important;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

/* Feature-text usa flexbox para distribuir el contenido */
#lineas-carousel .feature-text {
  display: flex !important;
  flex-direction: column;
  height: 100%;
  flex: 1;
  padding: 30px 20px;
}

/* Contenedor del título y descripción */
#lineas-carousel .feature-text>div:first-child:not(.text-center),
#lineas-carousel .feature-title {
  flex-shrink: 0;
}

#lineas-carousel .feature-text>p {
  flex-shrink: 0;
  margin-bottom: 0;
}

/* El botón siempre va al fondo */
#lineas-carousel .feature-text>.text-center:last-of-type,
#lineas-carousel .feature-text>div:last-child.text-center {
  margin-top: auto !important;
  padding-top: 2rem !important;
}

/* Asegurar que el wrapper del div también funcione */
#lineas-carousel .feature-text>div:first-child:not(.text-center)~.text-center {
  margin-top: auto !important;
}

/* Estilos del formulario de contacto */
.contact-form .form-label {
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #333;
}

.contact-form .form-control {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
  outline: 0;
}

.contact-form textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

.color-p {
  color: #000;
  font-family: var(--bs-font-secondary);
}

/* Botón de enviar */
.btn-enviar {
  background-color: #007bff;
  border: 2px solid #007bff;
  color: white;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-enviar:hover {
  background-color: transparent;
  color: #007bff;
  transform: translateX(5px);
}

/* Información de contacto */
.contact-info-wrapper {
  padding: 2rem;
  background-color: #f8f9fa;
  border-radius: 8px;
  height: 100%;
}

.contact-info h5,
.social-links h5 {
  font-weight: 600;
  color: #333;
}

.contact-info ul li {
  padding: 0.5rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.contact-info ul li span {
  font-size: 1.2rem;
}

.contact-info ul li a {
  color: #555;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info ul li a:hover {
  color: #007bff;
}

/* Redes sociales */
.common-social-icon a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.common-social-icon a:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.common-social-icon a img {
  width: 24px;
  height: 24px;
}

/* Responsive */
@media (max-width: 991px) {
  .contact-info-wrapper {
    margin-top: 2rem;
  }
}

/* Sección Historia */

.historia-content {
  padding: 2rem;
}

.historia-content .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  position: relative;
  display: inline-block;
  font-family: var(--bs-body-font-primary);
}

.historia-content .section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #000, #555);
}

.historia-text p {
  text-align: justify;
  font-size: 1rem;
  line-height: 1.8;
  color: #000;
}

.historia-text p {
  margin-bottom: 1rem;
}

/*Cards de Misión y Visión
.mision-card,
.vision-card {
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: white;
}

.mision-card:hover,
.vision-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Iconos 
.card-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto;
}

.mision-card .card-icon {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.vision-card .card-icon {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
}

/* Títulos de las cards 
.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Texto de las cards 
.card-text {
  text-align: center;
  font-size: 1rem;
  line-height: 1.7;
  color: #666;
}*/

/* Responsive */
@media (max-width: 991px) {
  .historia-text {
    text-align: left;
  }

  .historia-content .section-title {
    font-size: 2rem;
  }

  .mision-card,
  .vision-card {
    padding: 2rem;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 576px) {
  .historia-content .section-title {
    font-size: 1.75rem;
  }

  .mision-card,
  .vision-card {
    padding: 1.5rem;
  }
}