.hero {
  position: relative;
  overflow: hidden;
  background: var(--crema);
}

.hero-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide {
  position: relative;
  display: flex;
  flex: 0 0 100%;
  align-items: flex-end;
  min-height: clamp(380px, 55vw, 600px);
}

.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(58, 42, 20, 0.55) 0%, rgba(58, 42, 20, 0.08) 55%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 680px;
  padding: 2rem var(--pad-x) 2.5rem;
}

.hero-tag {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.28rem 0.85rem;
  border-radius: 2rem;
  background: var(--dorado);
  color: var(--blanco);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-title {
  color: #fff;
  font-family: var(--ff-titulo);
  font-size: clamp(1.8rem, 6vw, 3rem);
  font-weight: 500;
  line-height: 1.15;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  text-wrap: balance;
}

.hero-sub {
  margin: 0.6rem 0 1.25rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-prev,
.hero-next {
  position: absolute;
  top: 50%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.88);
  color: var(--texto);
  box-shadow: var(--sombra);
  transform: translateY(-50%);
  transition: background 0.2s;
}

.hero-prev:hover,
.hero-next:hover {
  background: var(--blanco);
}

.hero-prev {
  left: 0.75rem;
}

.hero-next {
  right: 0.75rem;
}

.hero-dots {
  position: absolute;
  right: 1.25rem;
  bottom: 1rem;
  z-index: 10;
  display: flex;
  gap: 0.4rem;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transition: background 0.2s, transform 0.2s;
}

.hero-dot.active {
  background: #fff;
  transform: scale(1.25);
}

.categorias {
  padding: 4rem 0 3.5rem;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 0.75rem 1.1rem;
  border: 1.5px solid var(--borde);
  border-radius: var(--radio-lg);
  background: var(--blanco);
  box-shadow: var(--sombra);
  color: var(--texto);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.cat-card:hover {
  border-color: var(--dorado);
  box-shadow: var(--sombra-hover);
  transform: translateY(-4px);
}

.cat-img-wrap {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--crema);
}

.cat-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-name {
  color: var(--texto);
  font-family: var(--ff-titulo);
  font-size: 1.05rem;
  font-weight: 500;
}

.cat-count {
  color: var(--texto-suave);
  font-size: 0.78rem;
}

.productos-section {
  padding: 3.5rem 0;
}

.productos-section--white {
  background: var(--blanco);
}

.productos-section + .productos-section {
  padding-top: 0;
}

.prod-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.see-more-wrap {
  margin-top: 2rem;
  text-align: center;
}

.ofertas-section {
  padding: 3.5rem 0;
  background: var(--blanco);
}

.oferta-tag-usd {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
  padding: 0.3rem 0.85rem;
  border-radius: 2rem;
  background: var(--menta);
  color: #2A7A5A;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.offer-highlight {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  max-width: 760px;
  margin: 0 auto 1.35rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--borde);
  border-bottom: 1px solid var(--borde);
  text-align: center;
}

.offer-highlight span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(248, 200, 220, 0.42);
  color: var(--dorado-oscuro);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.offer-highlight p {
  margin: 0;
  color: var(--texto-suave);
  font-size: 0.92rem;
  line-height: 1.5;
}

.offer-highlight__rules {
  display: flex;
  flex-basis: 100%;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
}

.offer-highlight__rules span {
  min-height: 30px;
  padding: 0.28rem 0.68rem;
  background: rgba(205, 239, 227, 0.64);
  color: #2A7A5A;
  font-size: 0.74rem;
}

.whatsapp-block {
  padding: 4rem var(--pad-x);
  background: var(--crema);
  text-align: center;
}

.whatsapp-card {
  max-width: 640px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  border: 1.5px solid var(--borde);
  border-radius: var(--radio-lg);
  background: var(--blanco);
  box-shadow: var(--sombra);
}

.whatsapp-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: #E8F8EF;
}

.whatsapp-card .section-title {
  font-size: clamp(1.5rem, 5vw, 2rem);
}

.whatsapp-subtitle {
  max-width: 470px;
  margin-inline: auto;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.75rem 0;
  text-align: left;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.step-num {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--dorado);
  color: var(--blanco);
  font-size: 0.85rem;
  font-weight: 700;
}

.step-text strong {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.95rem;
}

.step-text span {
  color: var(--texto-suave);
  font-size: 0.88rem;
}

.whatsapp-btn-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1rem 2.25rem;
  border: none;
  border-radius: 3rem;
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  font-size: 1.05rem;
  font-weight: 700;
  transition: background 0.2s, box-shadow 0.2s;
}

.whatsapp-btn-main:hover {
  background: #1DAA56;
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.4);
}

@media (min-width: 480px) {
  .cat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cat-img-wrap {
    width: 96px;
    height: 96px;
  }
}

@media (min-width: 640px) {
  .prod-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .steps {
    flex-direction: row;
  }

  .step {
    flex: 1;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .step-text {
    text-align: center;
  }
}

@media (min-width: 900px) {
  .cat-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .prod-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 599px) {
  .hero-content {
    padding-bottom: 2rem;
  }

  .hero-cta .btn {
    width: auto;
  }

  .whatsapp-card {
    padding: 2rem 1.25rem;
  }

  .offer-highlight {
    align-items: center;
    gap: 0.55rem;
    padding-inline: 0.25rem;
  }
}

@media (max-width: 480px) {
  .hero-prev,
  .hero-next {
    width: 34px;
    height: 34px;
  }
}
