.ab-home-sliders-container {
  width: 100%;
  max-width: 1320px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 20px;
  padding-left: 20px;
  box-sizing: border-box;
}

.ab-home-slider-section {
  width: 100%;
  margin: 30px 0;
  padding: 0;
  box-sizing: border-box;
}

.ab-home-slider-title {
  width: 100%;
  margin-bottom: 24px;
}

.ab-home-slider-title h2 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
  padding: 0;
  color: var(--bs-body-color, #212529);
}

.ab-home-slider-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.ab-home-slider {
  display: flex;
  gap: 24px;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  padding: 0 52px 18px 52px;
  box-sizing: border-box;
}

.ab-home-slider::-webkit-scrollbar {
  height: 6px;
}

.ab-home-slider::-webkit-scrollbar-thumb {
  background: #adb5bd;
  border-radius: 8px;
}

.ab-product-card {
  flex: 0 0 240px;
  max-width: 240px;
  background: var(--bs-body-bg, #fff);
  border: 1px solid var(--bs-border-color, #dee2e6);
  padding: 16px;
  text-align: center;
  box-sizing: border-box;
}

.ab-category-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.ab-category-link:hover {
  text-decoration: none;
}

.ab-product-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.ab-product-link:hover {
  text-decoration: none;
}

.ab-product-image-box {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bs-body-bg, #fff);
  margin-bottom: 14px;
  overflow: hidden;
}

.ab-product-image-box img {
  display: block;
  max-width: 100%;
  max-height: 220px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.ab-product-no-image {
  background: var(--bs-tertiary-bg, #f8f9fa);
  color: var(--bs-secondary-color, #6c757d);
  font-size: 13px;
}

.ab-product-name {
  font-size: 15px;
  line-height: 1.35;
  min-height: 42px;
  margin: 10px 0;
  color: var(--bs-body-color, #212529);
  font-weight: 500;
}

.ab-product-price {
  font-size: 16px;
  font-weight: 600;
  color: var(--bs-body-color, #212529);
  margin-top: 8px;
}

.ab-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 68px;
  border: 0;
  background: rgba(33, 37, 41, 0.88);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  border-radius: 4px;
}

.ab-slider-prev {
  left: 0;
}

.ab-slider-next {
  right: 0;
}

.ab-slider-btn:hover {
  background: rgba(33, 37, 41, 1);
}

.ab-empty-block {
  padding: 20px;
  background: var(--bs-tertiary-bg, #f8f9fa);
  color: var(--bs-secondary-color, #6c757d);
  border: 1px solid var(--bs-border-color, #dee2e6);
}

/* Ajuste para telas grandes */
@media (min-width: 1400px) {
  .ab-home-sliders-container {
    max-width: 1320px;
  }
}

/* Ajuste para notebooks e desktops médios */
@media (max-width: 1399.98px) {
  .ab-home-sliders-container {
    max-width: 1140px;
  }
}

/* Tablets */
@media (max-width: 991.98px) {
  .ab-home-sliders-container {
    max-width: 960px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .ab-product-card {
    flex: 0 0 210px;
    max-width: 210px;
  }

  .ab-product-image-box {
    height: 190px;
  }

  .ab-product-image-box img {
    max-height: 190px;
  }
}

/* Celulares */
@media (max-width: 767.98px) {
  .ab-home-sliders-container {
    max-width: 100%;
    padding-right: 12px;
    padding-left: 12px;
  }

  .ab-home-slider-section {
    margin: 36px 0;
  }

  .ab-home-slider-title h2 {
    font-size: 22px;
  }

  .ab-home-slider {
    gap: 14px;
    padding: 0 0 16px 0;
  }

  .ab-product-card {
    flex: 0 0 165px;
    max-width: 165px;
    padding: 10px;
  }

  .ab-product-image-box {
    height: 145px;
  }

  .ab-product-image-box img {
    max-height: 145px;
  }

  .ab-slider-btn {
    display: none;
  }
}