.produtos-section {
  display: block;
}

.produtos-mobile {
  display: block;
  padding: 0.5rem 0 1rem;
  overflow: hidden;
}

.produtos-header {
  padding: 0 1rem;
}

.produtos-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.produtos-title {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.produtos-vermais {
  font-size: 0.8rem;
  color: #FFB800;
  text-decoration: none;
  font-weight: 600;
}

.produtos-row {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.25rem 1rem;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 1rem;
}

.produtos-row::-webkit-scrollbar { display: none; }

.produto-card {
  display: flex;
  text-decoration: none;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  flex: 0 0 280px;
  scroll-snap-align: start;
}

.produto-left {
  position: relative;
  width: 120px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.produto-left .produto-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.produto-left .produto-img {
  position: relative;
  z-index: 1;
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 50%;
}

.produto-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 0.75rem 1rem 0.75rem 0.75rem;
  min-width: 0;
  overflow: hidden;
}

.produto-nome {
  font-size: 0.8rem;
  color: #333;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.produto-precos {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
  overflow: visible;
}

.produto-preco-atual {
  font-size: 0.8rem;
  color: #FFB800;
  font-weight: 700;
  white-space: nowrap;
}

.produto-desconto-badge {
  font-size: 0.6rem;
  color: #fff;
  background: #e74c3c;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 0;
  white-space: nowrap;
  display: inline-block;
  flex-shrink: 0;
}

.produto-delivery {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  white-space: nowrap;
}

.produto-delivery-icon {
  width: 14px;
  height: 14px;
  color: #FFB800;
  flex-shrink: 0;
}

.produto-delivery-distancia {
  font-size: 0.68rem;
  color: #555;
  font-weight: 600;
}

.produtos-pc {
  display: none;
}

@media screen and (min-width: 1024px) {
  .produtos-pc {
    display: block;
    padding: 0.5rem 0;
    overflow: visible;
  }

  .produtos-pc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
  }

  .produtos-pc-header .produtos-title {
    padding: 0;
  }

  .produtos-pc-nav {
    display: flex;
    gap: 8px;
  }

  .produtos-pc-nav button {
    width: 28px;
    height: 28px;
    border-radius: 2px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
  }

  .produtos-pc-nav button:hover:not(.ndis) {
    background: #FFB800;
    border-color: #FFB800;
    color: #fff;
  }

  .produtos-pc-nav button.ndis {
    opacity: 0.35 !important;
    cursor: not-allowed !important;
    background: #f5f5f5 !important;
    border-color: #e0e0e0 !important;
  }

  .produtos-pc-nav button svg {
    width: 16px;
    height: 16px;
  }

  .produtos-pc-grid {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 6px 4px;
  }

  .produtos-pc-grid::-webkit-scrollbar { display: none; }

  .produtos-pc .produto-card {
    flex: 0 0 calc(25% - 0.75rem);
    scroll-snap-align: start;
    width: calc(25% - 0.75rem);
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    border-radius: 4px;
    background: #fff;
  }

  .produtos-pc-grid::-webkit-scrollbar { display: none; }

  .produtos-pc .produto-card {
    flex: 0 0 calc(25% - 0.75rem);
    scroll-snap-align: start;
    width: calc(25% - 0.75rem);
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    border-radius: 4px;
  }
}