.hero {
  padding-top: 27px;
  padding-bottom: 60px;
}

.hero__logo {
  display: flex;
  align-items: center;
  margin-bottom: 4.75rem;
}

.hero__logo-image {
  max-width: 6.8125rem;
  height: auto;
  margin-right: 0.9375rem;
  transition: transform 0.3s, scale 0.3s;
}

.one-line-text {
  white-space: nowrap;
}

.hero__logo-image:hover {
  transform: scale(1.05);
  cursor: pointer;
}

.hero__logo-text {
  font-size: 1.125rem;
  color: var(--color-muted);
}

.hero__title {
  font-family: var(--font-secondary);
  font-size: 2.5rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 2.5rem;
}

.hero__products {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero__cards {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.product-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding-block: 25px;
  padding-inline: 30px;
  text-align: center;
  max-width: 350px;
  width: 350px;
  position: relative;
  border: 3px solid transparent;
  transition: transform 0.3s, border-color 0.3s;
  box-shadow: var(--shadow);
}

.product-card.highlight {
  position: relative;
  overflow: visible;
}

.product-card.highlight::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  width: 0;
  height: 0;
  border-top: 102px solid #fe2e34;
  border-right: 102px solid transparent;
  border-top-left-radius: 10px;
}

.product-card.highlight::after {
  content: "AM\A beliebtesten";
  position: absolute;
  top: 14px;
  left: -38px;
  width: 140px;

  text-align: center;
  font-family: "Sofia Sans Condensed", sans-serif;
  color: rgba(255, 255, 255, 1);
  font-size: 17px;
  font-weight: 700;
  line-height: 17px;
  text-transform: uppercase;
  transform: rotate(-45deg);
  white-space: pre;
  z-index: 2;
  pointer-events: none;
}

.product-card:hover {
  transform: scale(1.05);
}

.product-card.selected {
  border: #c6ef43 solid 3px;
}

.card-title {
  color: rgba(14, 12, 9, 1);
  font-family: var(--font-secondary);
  font-size: 28px;
  font-weight: 800;
  line-height: 24px;
  text-transform: uppercase;
  margin-top: 22px;
}

.prev-price {
  margin-top: 9px;
  font-size: 15px;
  line-height: 21px;
  text-decoration: line-through;
  color: #5b5854;
}

.price {
  margin-top: 4px;
  font-weight: 700;
  font-size: 24px;
  line-height: 21px;
  color: #0e0c09;
}

.per-bottle-text {
  font-weight: 400;
  font-size: 15px;
  line-height: 21px;
  text-align: center;
}

.shipping {
  margin-top: 6px;
  font-size: 15px;
  line-height: 21px;
  color: #5b5854;
}

.total {
  margin-top: 1px;
  font-weight: 700;
  font-size: 14px;
  line-height: 21px;
}

.product-image-wrapper {
  position: relative;
}

.product-image {
  width: 230px;
  height: 230px;
  object-fit: cover;
  position: relative;
  top: -84px;
  margin-bottom: -84px;
}

.product-card__info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.discount {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fe2e34;
  height: 28px;
  min-width: 120px;
  border-radius: 16px;
  color: #fff;
  padding: 5px 10px;
  text-transform: uppercase;
}

.benefits {
  display: grid;
  gap: 9px;
  margin-top: 17px;
  margin-bottom: 25px;
  grid-template-columns: auto auto;
  justify-content: space-between;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.benefit-scale {
  width: 26px;
  height: auto;
}

.benefit-text-card {
  font-size: 15px;
  font-weight: 400;
  text-align: left;
  line-height: 21px;
  max-width: 100px;
}

.select-btn {
  font-family: "Gantari", sans-serif;
  font-size: 18px;
  color: rgba(14, 12, 9, 1);
  font-weight: 500;

  background-color: #0000000d;
  border: solid #aba8a1 1px;
  padding: 10px 20px;
  cursor: pointer;
  min-width: 117px;
  min-height: 45px;
  transition: background-color 0.3s;
}

.select-btn:hover {
  background-color: #d4f567;
  border: none;
}

.select-btn:active {
  background-color: #a8cb2d;
  border: none;
}

.product-card.selected .select-btn {
  background-color: #c6ef43;
  border: none;
}

.additional-discount {
  font-weight: 600;
  font-size: 17px;
  line-height: 100%;
  text-transform: uppercase;
  color: #FE2E34;
}

@media (max-width: 1080px) {
  .hidden-on-sm {
    display: none !important;
  }
}

@media (min-width: 1080px) {
  .hidden-on-xl {
    display: none !important;
  }
}

@media (max-width: 1080px) {
  .products {
    flex-direction: column;
    align-items: center;
  }

  .hero__cards {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    margin: 0;
  }

  .product-card {
    padding-top: 1.75rem;
    padding-bottom: 1.25rem;
    padding-inline: 1.25rem;
    width: 100%;
    max-width: 100%;
  }

  .product-card:hover {
    transform: none;
  }

  .product-image-info {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .product-image-wrapper {
    flex: 0 0 auto;
    margin-right: 2rem;
  }

  .product-image {
    width: 174px;
    height: 174px;
    top: 0;
    margin-bottom: 0;
  }

  .product-card__info {
    flex: auto;
    max-width: fit-content;
    align-items: flex-start;
    text-align: left;
  }

  .benefits {
    justify-content: space-evenly;
  }

  .select-btn {
    min-width: 100%;
  }

  .product-card[data-bottles="5"] {
    order: -1;
  }

  .product-card[data-bottles="1"] {
    order: 1;
  }

  .product-card[data-bottles="3"] {
    order: 0;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 9px;
    padding-bottom: 26px;
  }

  .hero__logo {
    margin-bottom: 3.375rem;
  }

  .hero__title {
    margin-bottom: 3px;
    font-size: 2.125rem;
    line-height: 1.875rem;
  }

  .hero__cards {
    gap: 20px;
  }
}
