@keyframes arrow-bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translate(-50%, 0);
  }
  40% {
    transform: translate(-50%, -0.5rem);
  }
  60% {
    transform: translate(-50%, -0.25rem);
  }
}

.section--brand {
  background-color: #f7f7f7;
  padding-top: 2rem;
  min-height: 15rem;
  position: relative;
  z-index: 100;
}

.heading--slider-attention_seeker_text,
.heading--slider-brand {
  font-size: 1.375rem;
  letter-spacing: 0.094rem;
}

.heading--slider-brand {
  color: #4a4a4a;
}
.heading--slider-brand > span {
  background-color: #f7f7f7;
}

.heading--slider-attention_seeker_text {
  color: #2a2a2a;
  margin-top: 3.75rem;
}

.text--slider-content {
  margin-top: 1rem;
  font-size: 1.375rem;
  color: #4a4a4a;
}

.brand-products-slider {
  padding-top: 2rem !important;
  padding-bottom: 3rem !important;
  overflow-x: hidden;
}

.row--brand-product-texts {
  transition: opacity 0.25s ease;
  opacity: 0;
  position: absolute;
  top: calc(100% - 1.75rem);
  width: 100%;
}

.column--brand-product {
  align-items: center;
}

.brand-product {
  text-decoration: none;
  height: 20rem;
  width: 20rem;
  position: relative;
  outline: none;
  transition: none;
}
.brand-product:hover,
.brand-product--active {
  cursor: pointer;
}
.brand-product:hover .row--brand-product-texts,
.brand-product--active .row--brand-product-texts {
  opacity: 1;
}
.brand-product:hover .brand-product-image,
.brand-product--active .brand-product-image {
  transform: scale(1.1);
}
.brand-product:hover .brand-product-image-background,
.brand-product--active .brand-product-image-background {
  height: 19rem;
  width: 22rem;
}

.brand-product-image-container {
  position: absolute;
  width: 14rem;
  height: 14rem;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.brand-product-image {
  transition: all 0.35s ease;
  object-fit: contain;
  height: 100%;
  width: 100%;
}

.brand-product-image-background {
  transition: all 0.35s ease;
  object-fit: contain;
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  height: 0;
  width: 0;
}

.heading--brand-product {
  text-align: center;
  font-size: 1rem;
  color: #7c4e2c;
  letter-spacing: 0.069rem;
  max-width: 22rem;
  line-height: 1.8;
}
.heading--brand-product > span {
  border-bottom: 2px solid rgba(124, 78, 44, 0.3);
}

.brand-products__attention-seeker {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  background-image: url("oval_shape.svg");
  height: 2.9375rem;
  transform: translateY(1px);
  background-size: contain;
  background-position: bottom;
  pointer-events: none;
  background-repeat: no-repeat;
}
.brand-products__attention-seeker::after {
  content: '';
  display: block;
  width: 1.375rem;
  height: 2.25rem;
  position: absolute;
  top: 1.5rem;
  left: 50%;
  transform: translate(-50%, 0);
  background-image: url("down_arrow.svg");
  background-size: contain;
  background-repeat: no-repeat;
  animation: arrow-bounce 2s infinite;
}

@media only screen and (max-width: 720px) {
  .section--brand {
    min-height: 10rem;
    padding-top: 1rem;
  }

  .row--brand-product-texts {
    line-height: 1.85;
    top: calc(100% - 1rem);
  }

  .brand-products-slider {
    padding-top: 0.5rem;
    padding-bottom: 2.75rem;
  }

  .brand-product-image-container {
    height: 5.5rem;
    width: 5.5rem;
  }

  .brand-product {
    height: 9rem;
    width: 9rem;
  }
  .brand-product:hover .brand-product-image-background,
  .brand-product--active .brand-product-image-background {
    height: 8rem;
    width: 9.5rem;
  }

  .heading--slider-attention_seeker_text,
  .heading--slider-brand {
    font-size: 0.9rem;
  }

  .heading--slider-brand > span {
    padding: 0 1rem;
  }

  .heading--slider-attention_seeker_text {
    color: #2a2a2a;
    margin-top: 2rem;
  }

  .heading--brand-product {
    font-size: 0.65rem;
    max-width: 10rem;
  }

  .column--brand-product {
    width: 50%;
    max-width: 50%;
  }

  .text--slider-content {
    margin-top: 0.75rem;
    font-size: 0.9rem;
  }

  .brand-products__attention-seeker {
    height: 1.5rem;
  }
  .brand-products__attention-seeker::after {
    width: 0.6rem;
    height: 1rem;
    top: 1rem;
  }
}