/* General Styles */
.slider__container__wrapper {
  position: relative;
  overflow: hidden;
  padding-bottom: 60px;
}

.slider__container {
  padding-top: 20px;
  display: flex;
  gap: 20px;
  cursor: grab;
  overflow-x: hidden;
  user-select: none;
  -webkit-user-select: none;
}

.slider__container__bottom {
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.slider__blue__line__wrapper {
  width: 90%;
  display: flex;
  justify-content: flex-start;
  background-color: #d1d5d6;
  cursor: pointer;
}

.slider__blue__line {
  height: 2px;
  background-color: var(--primary);
  transition: transform 0.3s, width 0.3s;
  cursor: pointer;
}

.slider__navigation {
  right: 0;
  display: flex;
  gap: 10px;
}

.slider__nav__btn {
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 400;
  cursor: pointer;
  font-size: 24px;
  transition: color 0.3s, transform 0.3s;
}

.slider__nav__btn:hover {
  color: var(--primary);
  transform: scale(1.1);
}

.slider__nav__btn:disabled {
  color: #c0c0c0;
  cursor: not-allowed;
}

/* Section-Specific Styles */
.slider__offers__section,
.slider__products__section,
.slider__awards-section {
  width: 100%;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
}

.offers,
.products,
.awards {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  margin: 60px 10px;
}

.slider__item {
  flex: 0 0 calc(33.33333% - 50px); /* Prevent flex-basis from resizing the items */
}

.slider__item {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: var(--primary-background);
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.award__slider__item {
  background-color: var(--light);
}

.slider__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.04);
}

.slider__item__top {
  position: relative;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
}

.slider__item__top__img {
  border-radius: 8px 8px 0 0;
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.offer__slider__item__top__img {
  width: 100%;
}

.awards__slider__item__top__img {
  border-radius: 8px 8px 0 0;
  max-height: 100px;
  object-fit: cover;
  padding: 20px;
}

.slider__item__top__secondary__img__container {
  position: absolute;
  width: 100px;
  z-index: 2;
  height: 50px;
  top: 15%;
  right: 0%;
  border-radius: 8px 0px 0px 8px;
  background-color: var(--light);
  display: flex;
  justify-content: center;
  align-items: center;
}

.slider__item__top__secondary__img {
  max-width: 60px;
  max-height: 50px;
  -webkit-user-drag: none;
}

.slider__item__bottom {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
  padding: 20px;
}

.slider__item__bottom__description {
  font-size: 14px;
  color: var(--primary-foreground);
}

.slider__item__bottom__description > strong {
  font-weight: 500;
  font-size: 14px;
}

.slider__item__bottom__title {
  font-size: 18px;
  font-weight: 700;
  padding-right: 20px;
  color: var(--dark);
}

@media screen and (max-width: 1024px) {
  .slider__item {
    flex: 0 0 calc(50% - 40px); /* Prevent flex-basis from resizing the items */
  }
  .slider__blue__line__wrapper {
    width: 100%;
  }
  .slider__navigation {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .slider__item {
    flex: 0 0 calc(75% - 40px); /* Prevent flex-basis from resizing the items */
  }
  .slider__blue__line__wrapper {
    width: 100%;
  }
}
