:root {
  --white: #fff;
  --company-red: #e93325;
  --black: #000;
  --light-red: #FFA583;
  --title-gradient: linear-gradient(to right,#e93325 0%,#c40000 100%);
}

*,
*::before,
*::after {
  color: #000;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Product List */

.product__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-content: center;
  align-self: center;
}

#top {
  margin-top: 2rem;
}

.product__list h1 {
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 1rem;
  font-size: 3.5rem;
  background-color: #e93325;
  background-image: linear-gradient(to top, #e93325 0%, #c40000 100%);
  background-size: 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-text-fill-color: transparent;
}

.product__section {
  display: flex;
  height: 60vh;
  flex-direction: row;
}

.product__description {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
  padding: 20px 40px;
  background: #e93325;
  white-space: normal;
  border-radius: 10px;
  max-width: 600px;
  min-width: 0;
  min-height: 50vh;
  flex: 1 1 0;
  box-sizing: border-box;
}

.product__description p{
  font-size: 1.5rem;
  line-height: 1.5;
  color: #fff;
  font-style: italic;
}

.product__description b{
  font-size: 1.5rem;
  line-height: 1.5;
  color: #fff;
  font-style: italic;
}

.product__description p::before {
  content: '\201c';
  top:10px;
  left:-40px;
}

.product__description p::after {
  content: '\201d';
  position: relative;
}

.product__description p::before,
.product__description p::after {
  color: #fff;
  font-size: 1.5rem;
}

/* Slider */

.product__slider-container {
  padding: 0.5rem;
  margin-left: 10px;
  margin-right: 10px;
}

.product__slider-wrapper {
  position: relative;
  width: 48rem;
  margin: 0 auto;
}

.product__slider-slider {
  display: flex;
  aspect-ratio: 16 / 9;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  box-shadow: 0 1.5rem 3rem -0.75rem hsla(0, 0%, 0%, 0.25);
  border-radius: 0.5rem;
}

.product__slider-slider img {
  flex: 1 0 100%;
  scroll-snap-align: start;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.product__slider-nav {
  display: flex;
  column-gap: 1rem;
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.product__slider-nav a {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: #fff;
  opacity: 0.75;
  transition: opacity ease 250ms;
}

.product__slider-nav a:hover {
  opacity: 1;
}

.product__slider-slider img {
  display: none;
}

.product__slider-slider img.active {
  display: block;
}

.product__slider-nav a.active {
  background-color: var(--company-red);
  opacity: 1;
}

.product__slider-prev,
.product__slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--company-red, #e93325);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.product__slider-prev:hover,
.product__slider-next:hover {
  opacity: 1;
}

.product__slider-prev {
  left: 0.5rem;
}

.product__slider-next {
  right: 0.5rem;
}

.product__slider-wrapper {
  position: relative;
}

/* Responsive adjustments for product section */
@media screen and (max-width: 1200px) {
  .product__section {
    flex-direction: column;
    height: auto;
    align-items: center;
    gap: 2rem;
    padding: 0 1rem;
  }

  .product__description {
    max-width: 100%;
    width: 100%;
    min-height: auto;
    padding: 2rem;
    order: 2;
  }

  .product__slider-container {
    margin: 0;
    width: 100%;
    order: 1;
  }

  .product__slider-wrapper {
    width: 100%;
    max-width: 800px;
  }

  .product__slider-slider {
    aspect-ratio: 16/9;
  }
}

/* Further adjustments for mobile */
@media screen and (max-width: 600px) {
  .product__list h1 {
    font-size: 2.5rem;
    text-align: center;
  }

  .product__description {
    padding: 1.5rem;
  }

  .product__description p,
  .product__description b {
    font-size: 1.2rem;
  }

  .product__slider-nav {
    bottom: 0.5rem;
  }

  .product__slider-prev,
  .product__slider-next {
    width: 2rem;
    height: 2rem;
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 400px) {
  .product__list h1 {
    font-size: 2rem;
  }

  .product__description {
    padding: 1rem;
  }
}