.hero {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url("../images/hero-banner.jpg") no-repeat center center/cover;
  margin-bottom: 60px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.hero__container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero__title {
  color: var(--color-white);
  margin-bottom: 25px;
}

.hero__button {
  max-width: 211px;
}

.new-collection {
  margin-bottom: 40px;
}

.new-collection__title {
  margin-bottom: 24px;
}

.js-new-collection-slider {
  overflow: hidden;
  padding-bottom: 20px;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.product-card__global-link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
}

.product-card__image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  background-color: #f8f8f8;
  overflow: hidden;
}

.product-card__badge {
  position: absolute;
  top: 15px;
  left: 15px;
  font-size: 10px;
  z-index: 3;
}

.product-card__badge--sale {
  color: #d9534f;
  font-weight: 500;
}

.product-card__favorite {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 3;
}

.product-card__favorite svg {
  width: 16px;
  height: 16px;
  display: block;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.icon-fav__outline {
  transition: opacity 0.3s ease;
  opacity: 1;
}

.icon-fav__solid {
  transition: opacity 0.3s ease;
  opacity: 0;
}

.product-card:hover .product-card__favorite,
.product-card__favorite.is-active {
  opacity: 1;
  transform: translateY(0);
}

.product-card__favorite:hover svg {
  transform: scale(1.15);
}

.product-card__favorite.is-active {
  color: var(--color-secondary-dark);
}

.product-card__favorite.is-active .icon-fav__outline {
  opacity: 0;
}

.product-card__favorite.is-active .icon-fav__solid {
  opacity: 1;
}

.product-card__favorite.is-active:hover svg {
  transform: scale(1.15);
}

.product-card__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease;
}

.product-card__img--secondary {
  opacity: 0;
}

.product-card:hover .product-card__img--secondary {
  opacity: 1;
}

.product-card__info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.product-card__details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-card__name {
  font-size: 14px;
  color: var(--color-primary);
}

.product-card__price-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.product-card__price-wrapper del,
.product-card__price-wrapper ins,
.product-card__price-wrapper .amount {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  background: transparent;
}

.product-card__price-wrapper .screen-reader-text {
  display: none !important;
}

.product-card__price {
  font-family: "Switzer", sans-serif;
  font-size: 12px;
}

.product-card__price-old {
  font-family: "Switzer", sans-serif;
  font-size: 10px;
  color: #8e8e8e;
  text-decoration: line-through;
}

.product-card__price-wrapper del {
  font-family: "Switzer", sans-serif;
  font-size: 10px;
  color: #8e8e8e;
}

.product-card__price-wrapper del .amount {
  text-decoration: line-through;
}

.product-card__price-wrapper ins {
  font-family: "Switzer", sans-serif;
  font-size: 12px;
}

.product-card__price-wrapper > .amount {
  font-family: "Switzer", sans-serif;
  font-size: 12px;
}

.product-card__add-wrap {
  position: relative;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.product-card__add {
  background: none;
  border: none;
  cursor: pointer;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
  z-index: 3;
}

.product-card__add-icon {
  position: relative;
  width: 14px;
  height: 14px;
}

.product-card__add-icon::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  width: 14px;
  height: 1.5px;
  background-color: var(--color-primary);
}

.product-card__add-icon::after {
  content: "";
  position: absolute;
  top: 0;
  left: 6px;
  width: 1.5px;
  height: 14px;
  background-color: var(--color-primary);
}

.categories {
  margin-bottom: 60px;
}

.categories__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.category-card {
  position: relative;
  width: 100%;
  height: 370px;
  overflow: hidden;
}

.category-card__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 1;
  transition: background-color 0.4s ease;
}

.category-card__title {
  font-family: "Switzer", sans-serif;
  position: absolute;
  bottom: 16px;
  left: 16px;
  color: var(--color-white);
  font-size: 20px;
  font-weight: 400;
  z-index: 2;
  margin: 0;
}

.category-card__link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
}

.category-card:hover .category-card__img {
  transform: scale(1.05);
}
.category-card:hover .category-card__overlay {
  background-color: rgba(0, 0, 0, 0.3);
}

.banner {
  position: relative;
  width: 100%;
  height: 505px;
  margin-bottom: 60px;
  overflow: hidden;
}

.banner__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.banner__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 1;
  transition: background-color 0.4s ease;
}

.banner__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}

.banner__title {
  font-family: "Switzer", sans-serif;
  color: var(--color-white);
  font-size: 16px;
  font-weight: 400;
  margin: 0;
  letter-spacing: 0.12em;
}

.banner__arrow {
  position: relative;
  display: block;
  width: 15px;
  height: 1px;
  background-color: var(--color-white);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.banner__arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 7px;
  height: 7px;
  border-top: 1px solid var(--color-white);
  border-right: 1px solid var(--color-white);
  transform: translateY(-50%) rotate(45deg);
}

.banner__link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
}

.banner:hover .banner__img {
  transform: scale(1.03);
}

.banner:hover .banner__arrow {
  transform: translateX(12px);
}

.about-brand {
  margin-bottom: 60px;
  overflow: visible;
}

.about-brand__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}

.about-brand__images {
  position: relative;
  width: 100%;
  min-height: 530px;
}

.about-brand__img {
  position: absolute;
  object-fit: cover;
}

.about-brand__img--back {
  width: 70%;
  height: 85%;
  top: -20px;
  right: 0;
  z-index: 1;
}

.about-brand__img--front {
  width: 60%;
  height: 90%;
  bottom: 0;
  left: 0;
  z-index: 2;
}

.about-brand__content {
  max-width: 520px;
}

.about-brand__title {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 25px;
}

.about-brand__desc {
  font-family: "Switzer", sans-serif;
  line-height: 1.5;
  font-weight: 400;
  margin-bottom: 40px;
}

.about-brand__button {
  max-width: 211px;
  margin: 0;
}

@media (max-width: 992px) {
  .about-brand__container {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .about-brand__images {
    min-height: 360px;
    max-width: 600px;
    margin: 0 auto;
  }

  .about-brand__title {
    font-size: 28px;
  }

  .about-brand__button {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 500px;
  }

  .hero__title {
    font-size: 24px;
  }

  .categories__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .banner {
    height: 500px;
  }
}

@media (max-width: 576px) {
  .about-brand__img--back {
    width: 75%;
    height: 80%;
  }
  .about-brand__img--front {
    width: 65%;
    height: 85%;
  }
}
