/* Vitrine — igual à referência: 5 no centro, sem setas no desktop */

.vitrine-produto {
  width: 100% !important;
  max-width: 1180px;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 2em 16px !important;
  box-sizing: border-box;
  background-color: #f7f5f3;
}

.vitrine-produto > div {
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  margin: 0 auto !important;
}

.fo-prod-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.fo-prod-viewport {
  width: 100%;
  overflow: hidden;
}

/* Desktop: 5 cards iguais, fila única, centralizada */
.fo-prod-grid {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: center;
  align-items: stretch;
  gap: 12px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.fo-prod-item {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  max-width: 220px;
  width: auto !important;
  height: auto;
}

.fo-prod-item .slider-item-full,
.fo-prod-item .slider-item {
  width: 100% !important;
  max-width: none !important;
  display: block !important;
  height: 100%;
  margin: 0 !important;
}

.fo-prod-item .ui.card,
.fo-prod-item .ui.card.card-produto-box,
.fo-prod-item .ui.card.card-produto-box.ui.card {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  height: 100%;
  box-sizing: border-box;
}

.fo-prod-btn {
  display: none !important;
}

/* Telas largas: cards um pouco maiores, ainda centralizados */
@media (min-width: 1100px) {
  .fo-prod-item {
    max-width: 210px;
  }

  .vitrine-produto {
    max-width: 1120px;
  }
}

@media (min-width: 1280px) {
  .vitrine-produto {
    max-width: 1180px;
  }

  .fo-prod-item {
    max-width: 220px;
  }
}

/* Tablet */
@media (max-width: 991px) and (min-width: 768px) {
  .fo-prod-item {
    max-width: 200px;
  }

  .fo-prod-item.is-desktop-extra {
    display: none !important;
  }
}

@media (min-width: 992px) {
  .fo-prod-item.is-desktop-extra {
    display: none !important;
  }
}

/* Mobile: 2 grandes + setas no meio */
@media (max-width: 767px) {
  .vitrine-produto {
    max-width: 100%;
    padding-left: 4px;
    padding-right: 4px;
  }

  .fo-prod-wrap {
    padding: 0 34px;
  }

  .fo-prod-grid {
    display: flex !important;
    justify-content: flex-start;
    gap: 10px;
    width: max-content !important;
    max-width: none !important;
    transition: transform 0.35s ease;
  }

  .fo-prod-item,
  .fo-prod-item.is-desktop-extra {
    display: block !important;
    flex: 0 0 auto !important;
    max-width: none;
  }

  .fo-prod-btn {
    display: grid !important;
    place-items: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    width: 36px;
    height: 52px;
    border: 0;
    border-radius: 2px;
    background: #25282b;
    color: #fff !important;
    font-size: 1.35rem;
    cursor: pointer;
    padding: 0;
  }

  .fo-prod-btn--prev { left: 0; }
  .fo-prod-btn--next { right: 0; }

  .fo-prod-btn:disabled {
    opacity: 0.35;
    cursor: default;
  }

  .fo-prod-btn[hidden] {
    display: none !important;
  }
}

.slider-vitrine-produtos.fo-prod-ready {
  display: none !important;
}

/* COMPRAR — flat red, no Semantic UI attached/hover grey */
a.fo-btn-comprar,
a.fo-btn-comprar:link,
a.fo-btn-comprar:visited {
  display: block;
  width: 100%;
  box-sizing: border-box;
  background-color: #ff2739 !important;
  color: #fff !important;
  text-align: center;
  text-decoration: none !important;
  font-size: 1.15em;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
  padding: 0.75em 1em;
  border: none !important;
  border-radius: 3px !important;
  box-shadow: none !important;
  margin: 0 !important;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

a.fo-btn-comprar:hover,
a.fo-btn-comprar:focus {
  background-color: #e01f30 !important;
  color: #fff !important;
  text-decoration: none !important;
}

a.fo-btn-comprar:active {
  background-color: #c01e2d !important;
}

.fo-prod-btn {
  -webkit-appearance: none;
  appearance: none;
  border: none;
  box-shadow: none;
  cursor: pointer;
}

