.fluid-spacing.container {
	width: 100%;
	max-width: none !important;
	padding-inline: clamp(1rem, 13.5vw, 13rem) !important;
	box-sizing: border-box;
}


.blocco-superiore {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 34rem);
  align-items: start;
  gap: clamp(2rem, 4vw, 5rem);
}

.blocco-superiore__galleria,
.blocco-destro {
  min-width: 0;
}

.blocco-destro {
  position: sticky;
  top: 5rem;
}

.product__gallery {
  position: relative;
  width: 100%;
}

.product__gallery-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px;
  column-gap: clamp(.75rem, 1.25vw, 1.5rem);
  align-items: start;
}

.product__gallery-list {
  display: flex;
  flex-direction: column;
  gap: clamp(.75rem, 1vw, 1.25rem);
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product__gallery-item,
.product__gallery-figure {
  margin: 0;
  padding: 0;
}

.product__gallery-link {
  display: block;
  cursor: none;
}

.product__gallery-image {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

.product__gallery-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -2px;
}

.product__gallery-progress {
  position: sticky;
  top: var(--header-height, 5rem);
  width: 1px;
  height: var(--gallery-progress-height, 20rem);
  align-self: start;
  background: rgb(0 0 0 / 12%);
  pointer-events: none;
}

.product__gallery-progress span {
  display: block;
  width: 100%;
  height: 0;
  background: currentColor;
  transition: height .08s linear;
}

.product__gallery-cursor {
  position: fixed;
  z-index: 10001;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgb(255 255 255 / 94%);
  color: #111;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.7);
  transition: opacity .2s ease, transform .2s ease;
  box-shadow: 0 .3rem 1rem rgb(0 0 0 / 12%);
}

.product__gallery.has-cursor .product__gallery-cursor {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.product__gallery-close {
  position: fixed;
  z-index: 10002;
  top: 1.25rem;
  right: 1.25rem;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 94%);
  color: #111;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(.9);
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}

.product__gallery.is-fullscreen {
  position: fixed;
  z-index: 10000;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  padding: 0;
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--colore-sfondo, #fff);
}

.product__gallery.is-fullscreen .product__gallery-layout {
  grid-template-columns: minmax(0, 1fr) 1px;
  width: min(100%, 1400px);
  margin-inline: auto;
}

.product__gallery.is-fullscreen .product__gallery-progress {
  position: sticky;
  top: 0;
  height: 100dvh;
}

.product__gallery.is-fullscreen .product__gallery-close {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
}

html.gallery-is-fullscreen,
body.gallery-is-fullscreen {
  overflow: hidden;
}

.product-gallery-link:hover {
    
}

@media (max-width: 1199.98px) {
  .blocco-superiore {
    grid-template-columns: minmax(0, 1fr) minmax(19rem, 28rem);
    gap: 2rem;
  }
}

@media (max-width: 991.98px) {
  .blocco-superiore {
    display: block;
  }

  .blocco-destro__sticky {
    position: static;
  }

  .product__gallery-progress,
  .product__gallery-cursor,
  .product__gallery-close {
    display: none;
  }

  .product__gallery-link {
    cursor: pointer;
  }
}


.add-to-cart-button {
    width: 100%;
}
