/* ================================
   SEMENTES OFF
================================ */
.sementes-off {
  width: 100%;
  padding: 48px 20px 40px;
  background: transparent;
  margin-top: 40px;
}

.sementes-off__container {
  width: min(1220px, 94vw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sementes-off__header {
  text-align: center;
}

.sementes-off__title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: var(--color-text);
  margin: 0 0 10px;
  text-transform: uppercase;
}

.sementes-off__subtitle {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--color-text-mid);
  margin: 0;
}

/* ================================
   CAROUSEL (escopado)
================================ */
.off-carousel {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
  width: 100%;
  position: relative;
}

.off-carousel__viewport {
  flex: 1;
  overflow: hidden;
  width: 100%;
  position: relative;
  box-sizing: border-box;
  padding: 0 56px;
}

.off-carousel__track {
  display: flex;
  align-items: stretch;
  transition: transform 0.35s ease;
  gap: 20px;
  will-change: transform;
}

.off-carousel__arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: #f57c3a;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
  z-index: 2;
  pointer-events: auto;
}

.off-carousel__arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.off-carousel__arrow:hover:not(:disabled) {
  transform: translateY(-2px);
}

.off-carousel__arrows-wrap {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  pointer-events: none;
}

.off-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 0;
  width: 100%;
  flex: 0 0 calc((100% - 60px) / 4);
  max-width: calc((100% - 60px) / 4);
}

.off-card__thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.06);
}

.off-card__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.off-card__badge {
  display: grid;
  place-items: center;
  position: absolute;
  top: 10px;
  right: 10px;
  width: 52px;
  height: 52px;
  background: transparent;
  border-radius: 50%;
  line-height: 1;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.off-card__badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.off-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.off-card__title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  margin: 0;
  color: var(--color-text);
  min-height: 38px;
}

.off-card__from {
  font-size: 12px;
  color: #666;
  margin: 0;
}

.off-card__prices {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 26px;
}

.off-card__price-old {
  font-size: 15px;
  font-weight: 800;
  color: #f15a24;
  text-decoration: line-through;
}

.off-card__price-new {
  font-size: 18px;
  font-weight: 800;
  color: #000;
}

.off-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  padding: 10px 20px;
  border: 2px solid #000;
  border-radius: 999px;
  background: #fff;
  color: #000;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.off-card__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.08);
}

.off-card__cats {
  font-size: 12px;
  color: #7a7a7a;
  line-height: 1.4;
  min-height: 32px;
}

/* ================================
   RESPONSIVO
================================ */
@media (max-width: 1024px) {
  .sementes-off {
    padding: 40px 16px 32px;
  }

  .off-carousel {
    gap: 12px;
  }

  .off-carousel__arrow {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .off-card {
    flex: 0 0 calc((100% - 20px) / 2);
    max-width: calc((100% - 20px) / 2);
  }
}

@media (max-width: 767px) {
  .off-carousel {
    flex-direction: column;
    width: 90%;
    margin: 24px auto 0;
    gap: 16px;
    overflow: hidden;
    position: relative;
  }

  .off-carousel__viewport {
    width: 100%;
    order: 1;
    padding: 0;
  }

  .off-carousel__arrow {
    position: static;
    width: 44px;
    height: 44px;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    transform: none;
    order: 2;
  }

  .off-carousel__arrows-wrap {
    position: static;
    transform: none;
    display: flex;
    justify-content: center;
    gap: 12px;
    order: 2;
    width: 100%;
    margin-top: 4px;
    pointer-events: auto;
  }

  .off-carousel__arrow--prev {
    left: auto;
  }

  .off-carousel__arrow--next {
    right: auto;
  }

  .off-card {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .sementes-off__container {
    width: 95%;
    max-width: 95%;
  }
}

@media (max-width: 640px) {
  .sementes-off__title {
    font-size: 26px;
  }

  .sementes-off__subtitle {
    font-size: 15px;
  }
}
