.downloads__grid {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.download-product {
  width: 100%;
  max-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  background: var(--color-pure-white);
  padding: 15px 50px;
  border-radius: 12px;
  height: max-content;
  cursor: pointer;
}

.content-for-layout--german .download-product {
  padding: 32px 30px 26px;
}

.content-for-layout--german .download-product-button {
  max-width: 100%;
}

.download-product:not(:hover) .download-product__image img {
  transition: all 0.3s ease-in-out;
}

.download-product:hover .download-product__image img {
  scale: 1.1;
  transition: all 0.3s ease-in-out;
}

.download-product.not-active-product {
  opacity: 0.4;
  border: none;
  border-bottom: 2px solid var(--color-beige-100);
}

.download-product.active-product {
  opacity: 1;
  background: var(--color-white-500);
  border: 2px solid var(--color-beige-100);
}

.download-product__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  aspect-ratio: 1/1;
}

.download-product__title {
  font-family: var(--font-secondary);
  font-size: var(--body-p-lg);
  font-weight: 700;
  line-height: var(--lh-150);
  margin: 0;
}

.downloads .download__description.description {
  margin: 0;
  margin-top: 24px;
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
  font-family: var(--font-primary);
  font-size: var(--subheading-mobile-h1);
  font-weight: 600;
}

.download-product__info {
  display: flex;
  flex-direction: column;
}

.download-product__info .download-image {
  max-width: 50%;
  width: 100%;
  height: auto;
}

.download-product__info .download-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.download-info {
  display: flex;
  gap: 60px;
  margin-top: 48px;
}

.download-info .info {
  display: flex;
  flex-direction: column;
  padding: 0;
}

.download-product__info-title {
  margin: 0;
  font-family: var(--font-primary);
  font-size: var(--heading-h4);
  font-weight: 600;
  line-height: var(--lh-150);
  text-align: center;
}

.product-info__dimensions,
.product-info__weight-title,
.product-info__downloads,
.product-info__photos-downloads {
  margin: 0;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--color-white-400);
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: var(--heading-h6);
  line-height: var(--lh-150);
}

.product-info__exterior,
.product-info__interior,
.product-info__weight,
.download-btn-text {
  margin: 0;
  font-family: var(--font-secondary);
  font-weight: 400;
  font-size: var(--heading-mobile-h6);
  line-height: var(--lh-150);
}

.product-info__exterior span,
.product-info__interior span,
.product-info__weight span,
.download-btn-text span {
  font-weight: 700;
}

.product-info__weight-title {
  margin-top: 48px;
}

.product-info__exterior {
  margin-top: 18px;
  margin-bottom: 18px;
}

.product-info__weight {
  margin-top: 18px;
  margin-bottom: 48px;
}

.download-btn {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  text-decoration: none;
}

.downloads-info__grid {
  position: relative;
}

.download-product__info.download-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
}

.download-product__info.download-hidden * {
  height: 0;
}

.download-product__info.download-visible {
  position: relative;
  transform: translateX(0);
  margin-top: 50px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  height: auto;
}

.download-product__info.download-visible * {
  height: auto;
}

.download__title {
  font-size: var(--heading-h1);
}

.download-product-button {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: var(--body-p-xl);
  line-height: var(--lh-140);
  width: 100%;
  padding: 12px;
  color: var(--color-black-200);
  background: var(--color-yellow-200);
  border: 2px solid var(--color-yellow-100);
  text-align: center;
}

.product-info__photos-downloads {
  margin-top: 18px;
}

.download-all-button {
  display: flex;
  justify-content: center;
}

.download-all-button .download-btn {
  margin-top: 20px;
  border-radius: 6px;
  border: 1px solid var(--color-black-100);
  padding: 8px 20px;
  align-items: center;
  gap: 12px;
}

.download-all-button .download-btn .download-btn-text {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: var(--body-p-sm);
  line-height: var(--lh-150);
}

.product-info__exterior p:first-child {
  margin-top: 0;
}

@media (max-width: 989px) {
  .download-product-button {
    display: none;
  }

  .downloads__grid {
    flex-direction: column;
    align-items: center;
  }

  .download-product {
    flex-direction: row;
    gap: 0;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    padding: 10px 26px;
  }

  .download__titles .download__title {
    font-size: var(--heading-h4);
    max-width: 250px;
    margin-left: auto;
    margin-right: auto;
  }

  .download-info {
    flex-direction: column;
  }

  .download-product__info .download-image {
    max-width: 100%;
  }

  .product-info__dimensions,
  .product-info__weight-title,
  .product-info__downloads,
  .product-info__photos-downloads {
    font-size: var(--heading-mobile-h5);
  }

  .product-info__exterior,
  .product-info__interior,
  .product-info__weight,
  .download-btn-text {
    font-size: var(--body-p-xl);
  }

  .download-product__info-title {
    font-size: var(--subheading-mobile-h1);
  }

  .download-product__info.download-visible {
    margin-top: 32px;
  }

  .show-close-buttons {
    position: relative;
    display: flex;
  }

  .download-product .show-close-buttons .close-icon {
    position: absolute;
    top: 0;
    left: 0;
    visibility: hidden;
    opacity: 0;
    transform: rotate(180deg);
    transition: all 0.3s ease-in-out;
  }
  .download-product.active-product .show-close-buttons .arrow-icon {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    transform: translateX(100%);
    transition: all 0.3s ease-in-out;
  }

  .download-product .show-close-buttons .arrow-icon {
    position: relative;
    transform: translateX(0%);
    transition: all 0.3s ease-in-out;
  }

  .download-product.active-product .show-close-buttons .close-icon {
    visibility: visible;
    opacity: 1;
    position: relative;
    transition: all 0.3s ease-in-out;
    transform: rotate(0deg);
  }

  .download-product:hover .download-product__image img {
    scale: 1;
    transition: all 0.3s ease-in-out;
  }

  .download-product__image img {
    max-width: 60px;
  }

  .download-info .info {
    padding: 0;
  }

  .downloads .download__description.description {
    margin-top: 8px;
    font-size: var(--body-p-mobile-md);
  }

  .download-info {
    margin-top: 16px;
    gap: 20px;
  }

  .download-product__title {
    font-size: var(--body-xl);
  }
}
