.product {
  color: var(--color-dark-gray);
}
.product__buttons {
  display: flex;
  justify-content: space-between;
}
.product__buttons .admin-buttons a:nth-child(1) {
  margin-right: 0.75rem;
}
.product__title {
  font-size: 2rem;
  margin-top: 2rem;
  font-family: "Anglecia Pro", serif;
  text-align: center;
}

.product-details {
  margin-top: 1rem;
  display: flow-root;
}
.product-details__visual {
  width: 50%;
  float: left;
  margin-right: 2.5rem;
}
.product-details__info {
  display: flex;
  flex-direction: column;
}
.product-details__info:has(.description.expanded) {
  display: block;
}
.product-details__info .description {
  line-height: 1.5;
}
.product-details__tags {
  list-style: none;
  display: flex;
  flex-flow: row wrap;
  --ms-flex-wrap: row wrap;
  gap: 1rem;
  justify-content: start;
  margin-block: 1rem;
}
.product-details__tags li {
  padding-block: 0.5rem;
}
.product-details__price {
  text-align: center;
}
.product-details__price span {
  font-family: "Anglecia Pro", serif;
  font-size: 2rem;
  font-weight: 600;
}

.gallery__main-image {
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: 1.25rem;
}
.gallery__main-image picture, .gallery__main-image img {
  aspect-ratio: 1;
  object-fit: cover;
  height: 100%;
}
.gallery__additional-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.gallery__additional-images {
  display: flex;
  gap: 2.5rem;
  transform: transform 0.3s ease;
}
.gallery__additional-images li {
  flex: 0 0 calc((100% - 7.5rem) / 4);
  list-style: none;
  cursor: pointer;
}
.gallery__additional-images picture, .gallery__additional-images img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}

@media (max-width: 1024px) {
  .gallery__additional-images {
    gap: 1.5rem;
  }
  .gallery__additional-images li {
    flex: 0 0 calc((100% - 4.5rem) / 4);
  }
}
.offers {
  text-transform: uppercase;
  font-style: italic;
  font-weight: bold;
}
.offers__status {
  margin-bottom: 1rem;
}
.offers__status--unavailable {
  color: var(--color-red);
}

.gallery__prev,
.gallery__next {
  display: flex;
  z-index: 10;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  cursor: pointer;
  padding: 0.68rem;
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
  border-radius: 1rem;
  width: 3rem;
}

.gallery__prev {
  left: 0;
}

.gallery__next {
  right: 0;
}

.bottom-group {
  margin-top: auto;
  display: none;
}

@media (max-width: 480px) {
  .product__buttons {
    flex-direction: column;
    gap: 1.5rem;
  }
}
@media (max-width: 768px) {
  .product-details {
    display: flex;
    flex-direction: column;
  }
  .product-details__visual {
    width: 100%;
    margin-right: 0;
  }
  .gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  .gallery__main-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
  }
  .gallery__main-image picture, .gallery__main-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 3/2;
    object-fit: cover;
  }
}

/*# sourceMappingURL=view.css.map */
