/* FARMACIA T.G. — parede de produtos (banner/fotos originais no app.css) */

.nx-depts {
  background: #141414;
  border-bottom: 3px solid #fdb813;
  padding: 0 0 0.85rem;
}

.nx-depts__inner {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr) 2.4rem;
  align-items: stretch;
}

.nx-depts__track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.nx-depts__track::-webkit-scrollbar {
  display: none;
}

.nx-depts a.cat-slider__slide {
  flex: 0 0 50%;
  min-width: 0;
  max-width: 50%;
  scroll-snap-align: start;
  padding: 1.05rem 0.7rem 1.15rem;
  color: #fff;
  font-family: "Archivo Black", "Archivo", sans-serif;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border-right: 1px solid rgba(253, 184, 19, 0.28);
  text-align: center;
  transition: background 0.2s, color 0.2s;
}

.nx-depts a small {
  display: block;
  font-family: "Archivo", sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  color: #fdb813;
  margin-bottom: 0.2rem;
}

.nx-depts a span {
  display: block;
  line-height: 1.15;
  color: #e8c547;
}

.nx-depts a:hover,
.nx-depts a:hover span {
  background: #fdb813;
  color: #141414;
}

.nx-depts a:hover small {
  color: #141414;
}

.nx-depts__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fdb813;
  background: transparent;
  border: 0;
  min-height: 100%;
}

.nx-depts__btn:disabled {
  opacity: 0.28;
}

.nx-depts__dots {
  margin-top: 0.55rem;
}

.nx-depts__dots .cat-slider__dot {
  background: rgba(253, 184, 19, 0.28);
}

.nx-depts__dots .cat-slider__dot.is-active {
  background: #fdb813;
}

@media (min-width: 640px) {
  .nx-depts a.cat-slider__slide {
    flex-basis: calc(100% / 3);
    max-width: calc(100% / 3);
    font-size: 0.92rem;
    padding: 1.05rem 1.2rem;
  }
}

@media (min-width: 1024px) {
  .nx-depts {
    padding-bottom: 0;
  }

  .nx-depts__inner {
    grid-template-columns: 1fr;
  }

  .nx-depts__btn,
  .nx-depts__dots {
    display: none;
  }

  .nx-depts a.cat-slider__slide {
    flex: 1 1 0;
    max-width: none;
  }
}

.nx-wall {
  padding: 3.75rem 0 4.25rem;
  background: #fff;
}

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

@media (min-width: 900px) {
  .nx-wall__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.1rem;
  }
}

.nx-split {
  padding: 4.25rem 0 4.75rem;
  background: linear-gradient(180deg, #fff 0%, #f7f7f8 100%);
}

.nx-split__grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .nx-split__grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3rem;
    align-items: start;
  }
}

.nx-split__steps {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}

.nx-split__steps li {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  gap: 0.85rem;
  padding: 1rem 0;
  border-top: 2px solid #fdb813;
}

.nx-split__steps span {
  font-family: "Archivo Black", "Archivo", sans-serif;
  color: #fdb813;
  font-size: 1.15rem;
}

.nx-split__steps h3 {
  font-family: "Archivo Black", "Archivo", sans-serif;
  text-transform: uppercase;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.nx-split__steps p {
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.5;
}

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

@media (min-width: 640px) {
  .nx-split__products {
    gap: 1rem;
  }
}
