/* =========================================================
   SERGIO
   File: products.css
   Version: 1.2
   Purpose: Product page
   Mobile first
========================================================= */


/* =========================================================
   PAGE FOUNDATION
========================================================= */

.product-page-body {
  background: #ffffff;
  color: #1c1c1c;
}

.product-page {
  width: 100%;
  overflow: hidden;
}


/* =========================================================
   BREADCRUMBS
========================================================= */

.product-breadcrumbs {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(28, 28, 28, 0.1);
}

.product-breadcrumbs__list {
  display: flex;
  align-items: center;
  gap: 0.45rem;

  margin: 0;
  padding: 0;

  list-style: none;

  font-size: 0.62rem;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.product-breadcrumbs__list::-webkit-scrollbar {
  display: none;
}

.product-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.product-breadcrumbs a:hover {
  opacity: 0.55;
}


/* =========================================================
   PRODUCT LAYOUT
========================================================= */

.product {
  display: flex;
  flex-direction: column;

  width: 100%;
}


/* =========================================================
   PRODUCT GALLERY
========================================================= */

.product-gallery {
  width: 100%;
}

.product-gallery__main {
  position: relative;

  width: 100%;
  aspect-ratio: 1 / 1.12;

  background: #f5f5f3;
  overflow: hidden;
}

.product-gallery__mockup-note {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.85);
  margin: 0;
  padding: 0.65rem 1rem;
  color: #666;
  font-size: 0.75rem;
  text-align: center;
}

.product-gallery__figure {
  width: 100%;
  height: 100%;
  margin: 0;
}

.product-gallery__image {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 350ms ease;
  transform-origin: center;
}

.product-gallery__image--mockup {
  object-fit: contain;
}

.product-gallery__main.is-zoomed .product-gallery__image {
  transform: scale(1.8);
}

.product-gallery__counter {
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  z-index: 2;

  margin: 0;

  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-gallery__zoom {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 2;

  display: grid;
  place-items: center;

  width: 2.75rem;
  height: 2.75rem;
  padding: 0;

  color: #1c1c1c;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(28, 28, 28, 0.12);
  border-radius: 50%;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  cursor: pointer;
}

.product-gallery__zoom svg {
  width: 1rem;
  height: 1rem;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
}

.product-gallery__zoom:hover {
  background: #ffffff;
}

.product-gallery__zoom:focus-visible,
.product-gallery__thumbnail:focus-visible {
  outline: 1px solid #1c1c1c;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .product-gallery__image {
    transition: none;
  }
}

.product-gallery__thumbnails {
  display: flex;
  gap: 0.5rem;

  padding: 0.75rem 1.5rem 0;

  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.product-gallery__thumbnails::-webkit-scrollbar {
  display: none;
}

.product-gallery__thumbnail {
  flex: 0 0 4.5rem;

  width: 4.5rem;
  aspect-ratio: 1 / 1.15;
  padding: 0;

  background: #f5f5f3;
  border: 1px solid transparent;

  overflow: hidden;
  cursor: pointer;
  scroll-snap-align: start;
}

.product-gallery__thumbnail img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

.product-gallery__thumbnail.is-active {
  border-color: #1c1c1c;
}


/* =========================================================
   PRODUCT INFORMATION
========================================================= */

.product-info {
  padding: 2.5rem 1.5rem 4rem;
}

.product-info__header {
  margin-bottom: 2.75rem;
}

.product-info__collection {
  margin: 0 0 1rem;

  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-info__title {
  margin: 0;

  font-size: clamp(2rem, 9vw, 3rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.product-info__material {
  margin: 0.8rem 0 0;

  font-size: 0.72rem;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-info__introduction {
  max-width: 32rem;
  margin-bottom: 3rem;
}

.product-info__introduction p {
  margin: 0;

  font-size: 0.93rem;
  line-height: 1.65;
}

.product-info__introduction p + p {
  margin-top: 1.15rem;
}

.product-info__introduction .product-info__invocation {
  max-width: 27rem;

  font-size: 1.02rem;
  line-height: 1.5;
}

.product-info__introduction .product-info__inscription {
  max-width: 27rem;
  margin-top: 2rem;

  font-size: 1.02rem;
  line-height: 1.5;
}

.product-info__purchase {
  margin-bottom: 2.5rem;
  padding-top: 1.5rem;

  border-top: 1px solid rgba(28, 28, 28, 0.13);
}

.product-info__price {
  margin: 0;

  font-size: 1rem;
  line-height: 1.2;
}

.product-info__tax-note {
  max-width: 24rem;
  margin: 0.55rem 0 0;

  color: rgba(28, 28, 28, 0.58);

  font-size: 0.68rem;
  line-height: 1.5;
}


/* =========================================================
   PRODUCT ACCORDIONS
========================================================= */

.product-accordions {
  border-top: 1px solid rgba(28, 28, 28, 0.13);
}

.product-accordion {
  border-bottom: 1px solid rgba(28, 28, 28, 0.13);
}

.product-accordion__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;

  min-height: 3.75rem;

  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  list-style: none;
  cursor: pointer;
}

.product-accordion__summary::-webkit-details-marker {
  display: none;
}

.product-accordion__icon {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1;

  transition: transform 250ms ease;
}

.product-accordion[open] .product-accordion__icon {
  transform: rotate(45deg);
}

.product-accordion__content {
  max-width: 32rem;
  padding: 0 0 1.75rem;
}

.product-accordion__content p {
  margin: 0;

  font-size: 0.82rem;
  line-height: 1.6;
}

.product-accordion__content p + p {
  margin-top: 0.85rem;
}

.product-accordion__link {
  display: inline-flex;

  margin-top: 1.25rem;

  color: inherit;

  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
  text-transform: uppercase;
}

.product-accordion__link:hover {
  opacity: 0.55;
}


/* =========================================================
   PRODUCT SPECIFICATIONS
========================================================= */

.product-specifications {
  margin: 1.5rem 0 0;
}

.product-specifications > div {
  display: grid;
  grid-template-columns: minmax(5.5rem, 0.7fr) 1.3fr;
  gap: 1rem;

  padding: 0.65rem 0;

  border-top: 1px solid rgba(28, 28, 28, 0.09);
}

.product-specifications dt,
.product-specifications dd {
  margin: 0;

  font-size: 0.72rem;
  line-height: 1.45;
}

.product-specifications dt {
  color: rgba(28, 28, 28, 0.58);
}

.product-specifications dd {
  text-align: right;
}


/* =========================================================
   PRODUCT FORM
========================================================= */

.product-form {
  width: 100%;
  margin-top: 0;
}

.product-size {
  width: 100%;
  margin: 0;
  padding: 0;

  border: 0;
}

.product-size__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;

  width: 100%;
  margin-bottom: 1rem;
}

.product-size__legend {
  float: none;

  margin: 0;

  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-size__guide {
  flex: 0 0 auto;

  color: inherit;

  font-size: 0.68rem;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-decoration: underline;
  text-underline-offset: 0.22rem;
  text-transform: uppercase;
}

.product-size__guide:hover {
  opacity: 0.55;
}

/* =========================================================
   ONE SIZE
========================================================= */

.product-size--single .product-size__option {
    cursor: default;
}

.product-size--single .product-size__marker {
    background: var(--color-text);
}

.product-size--single .product-size__option:hover {
    background: inherit;
}

/* =========================================================
   MOBILE SIZE SELECT
========================================================= */

.product-size__select-wrapper {
  position: relative;

  width: 100%;

  background: #ffffff;
}

.product-size__select-wrapper::after {
  content: "";

  position: absolute;
  top: 50%;
  right: 1.4rem;

  width: 0.55rem;
  height: 0.55rem;

  border-right: 1px solid #1c1c1c;
  border-bottom: 1px solid #1c1c1c;

  transform: translateY(-70%) rotate(45deg);

  pointer-events: none;
}

.product-size__select {
  display: block;

  width: 100%;
  min-height: 4.5rem;
  padding: 0 3.75rem 0 1.25rem;

  color: #1c1c1c;
  background-color: #ffffff;
  border: 1px solid rgba(28, 28, 28, 0.35);
  border-radius: 0;

  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;

  appearance: none;
  -webkit-appearance: none;

  cursor: pointer;
}

.product-size__select:hover {
  border-color: rgba(28, 28, 28, 0.65);
}

.product-size__select:focus {
  border-color: #1c1c1c;
  outline: none;
}

.product-size__select:focus-visible {
  outline: 1px solid #1c1c1c;
  outline-offset: 0.25rem;
}


/*
 * Explicit option styling improves readability in browsers
 * that allow native select-menu options to inherit CSS.
 */

.product-size__select option {
  min-height: 3rem;
  padding: 0.85rem 1rem;

  color: #1c1c1c;
  background: #ffffff;

  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}


/*
 * Keep the desktop radio-button grid hidden on mobile
 * and tablet layouts.
 */

.product-size__options {
  display: none;
}

/* =========================================================
   ADD TO BAG
========================================================= */

.product-form__add {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;

  width: 100%;
  min-height: 3.75rem;
  margin-top: 1rem;
  padding: 0 1.5rem;

  color: #ffffff;
  background: #1c1c1c;
  border: 1px solid #1c1c1c;
  border-radius: 0;

  font: inherit;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;

  cursor: pointer;

  transition:
    color 200ms ease,
    background-color 200ms ease,
    border-color 200ms ease;
}

.product-form__add:hover:not(:disabled) {
  color: #1c1c1c;
  background: #ffffff;
}

.product-form__add:disabled {
  color: rgba(28, 28, 28, 0.42);
  background: #eeeeeb;
  border-color: #eeeeeb;

  cursor: not-allowed;
}

.product-form__message {
  min-height: 1.2rem;
  margin: 0.65rem 0 0;

  font-size: 0.68rem;
  line-height: 1.45;
}

.product-form__wishlist {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;

  width: 100%;
  min-height: 3rem;
  margin-top: 0.35rem;
  padding: 0;

  color: #1c1c1c;
  background: transparent;
  border: 0;

  font: inherit;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;

  cursor: pointer;
}

.product-form__wishlist svg {
  width: 1rem;
  height: 1rem;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
}

.product-form__wishlist[aria-pressed="true"] svg {
  fill: currentColor;
}

.product-form__wishlist:hover {
  opacity: 0.55;
}


/* =========================================================
   CUSTOM REQUEST
========================================================= */

.product-custom-request {
  margin-top: 1.25rem;

  border-top: 1px solid rgba(28, 28, 28, 0.13);
  border-bottom: 1px solid rgba(28, 28, 28, 0.13);
}

.product-custom-request + .product-accordions {
  border-top: 0;
}

.product-custom-request__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;

  min-height: 3.75rem;

  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  list-style: none;
  cursor: pointer;
}

.product-custom-request__summary::-webkit-details-marker {
  display: none;
}

.product-custom-request__summary::after {
  content: "+";

  font-size: 1rem;
  font-weight: 300;
  line-height: 1;

  transition: transform 250ms ease;
}

.product-custom-request[open] .product-custom-request__summary::after {
  transform: rotate(45deg);
}

.product-custom-request__content {
  max-width: 32rem;
  padding: 0 0 2rem;
}

.product-custom-request__title,
.product-custom-request__confirmation h2 {
  margin: 0;

  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.product-custom-request__introduction,
.product-custom-request__confirmation p {
  margin: 0.75rem 0 0;

  font-size: 0.82rem;
  line-height: 1.6;
}

.product-custom-request__form {
  display: grid;
  gap: 1.25rem;

  margin-top: 1.75rem;
}

.product-custom-request__field {
  display: grid;
  gap: 0.5rem;
}

.product-custom-request__field label {
  font-size: 0.65rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-custom-request__field label span {
  color: rgba(28, 28, 28, 0.52);
}

.product-custom-request__field input,
.product-custom-request__field textarea {
  width: 100%;
  padding: 0.85rem 0;

  color: #1c1c1c;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(28, 28, 28, 0.22);
  border-radius: 0;

  font: inherit;
  font-size: 0.85rem;
  line-height: 1.5;
}

.product-custom-request__field textarea {
  min-height: 6.5rem;
  resize: vertical;
}

.product-custom-request__field input:focus,
.product-custom-request__field textarea:focus {
  border-bottom-color: #1c1c1c;
  outline: none;
}

.product-custom-request__field input:focus-visible,
.product-custom-request__field textarea:focus-visible {
  outline: 1px solid #1c1c1c;
  outline-offset: 0.25rem;
}

.product-custom-request__submit {
  width: 100%;
  min-height: 3.75rem;
  margin-top: 0.5rem;
}

.product-custom-request__message {
  min-height: 1.2rem;
  margin: -0.5rem 0 0;

  font-size: 0.68rem;
  line-height: 1.45;
}

.product-custom-request__confirmation {
  padding-top: 0.5rem;
}


/* =========================================================
   RELATED PRODUCTS
========================================================= */

.related-products {
  padding: 4rem 0;

  background: #fafaf8;
}

.related-products__header {
  position: relative;

  padding: 0 1.5rem 1.75rem;
}

.related-products__title {
  margin: 0;

  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
}

.related-products__controls {
  display: none;
}

.related-products__collection-link {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;

  margin-top: 1.25rem;

  color: inherit;

  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
  text-transform: uppercase;
}

.related-products__rail {
  display: flex;
  gap: 0.75rem;

  padding-inline: 1.5rem;
  scroll-padding-inline: 1.5rem;

  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.related-products__rail::-webkit-scrollbar {
  display: none;
}

.related-product-card {
  flex: 0 0 74vw;

  max-width: 20rem;

  scroll-snap-align: start;
}

.related-product-card__link {
  color: inherit;
  text-decoration: none;
}

.related-product-card__image {
  aspect-ratio: 4 / 5;
  margin: 0;

  background: #f0f0ed;
  overflow: hidden;
}

.related-product-card__image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 500ms ease;
}

.related-product-card__link:hover img {
  transform: scale(1.015);
}

.related-product-card__content {
  padding-top: 0.85rem;
}

.related-product-card__title,
.related-product-card__price {
  margin: 0;

  font-size: 0.76rem;
  line-height: 1.4;
}

.related-product-card__title {
  font-weight: 400;
}

.related-product-card__price {
  margin-top: 0.25rem;

  color: rgba(28, 28, 28, 0.58);
}


/* =========================================================
   PRODUCT SERVICES
========================================================= */

.product-services {
  display: grid;
  grid-template-columns: 1fr;

  padding: 0 1.5rem;

  background: #ffffff;
}

/* =========================================================
   PRIVATE COMMISSION PROMPT
   ========================================================= */

.product-commission-prompt {
  display: grid;
  gap: 1.5rem;
  padding: 2.5rem 1rem;
  border-top: 1px solid rgba(17, 17, 17, .12);
  background: #ffffff;
}

.product-commission-prompt__eyebrow {
  margin: 0;
  color: rgba(17, 17, 17, .48);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.product-commission-prompt__text {
  max-width: 30rem;
  margin: .8rem 0 0;
  font-size: 1rem;
  line-height: 1.5;
}

.product-commission-prompt__link {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  width: min(100%, 24rem);
  padding-bottom: .65rem;
  border-bottom: 1px solid rgba(17, 17, 17, .28);
  color: inherit;
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
}

@media (min-width: 48rem) {
  .product-commission-prompt {
    grid-template-columns: 1fr auto;
    align-items: end;
    padding: 3rem;
  }
}

@media (min-width: 64rem) {
  .product-commission-prompt { padding: 3.5rem 4rem; }
}

.product-service {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;

  padding: 2rem 0;

  border-bottom: 1px solid rgba(28, 28, 28, 0.11);
}

.product-service:last-child {
  border-bottom: 0;
}

.product-service__icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 1.75rem;
  height: 1.75rem;

  color: rgba(17, 17, 17, 0.88);

  flex: 0 0 auto;
}

.product-service__icon svg {
  width: 100%;
  height: 100%;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-service__title {
  margin: 0;

  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-service__content p {
  margin: 0.5rem 0 0;

  color: rgba(28, 28, 28, 0.65);

  font-size: 0.74rem;
  line-height: 1.5;
}


/* =========================================================
   TABLET
========================================================= */

@media (min-width: 48rem) {

  .product-breadcrumbs {
    padding-inline: 3.5rem;
  }

  .product-gallery__main {
    aspect-ratio: 4 / 5;
  }

  .product-gallery__thumbnails {
    padding-inline: 3.5rem;
  }

  .product-info {
    padding-inline: 3.5rem;
  }

  .related-products__header {
    padding-inline: 3.5rem;
  }

  .related-products__rail {
    padding-inline: 3.5rem;
    scroll-padding-inline: 3.5rem;
  }

  .related-product-card {
    flex-basis: 40vw;
  }

  .product-services {
    padding-inline: 3.5rem;
  }

}


/* =========================================================
   DESKTOP
========================================================= */

@media (min-width: 64rem) {

  .product-breadcrumbs {
    padding: 1rem 4rem;
  }

  .product {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(24rem, 0.85fr);
    align-items: start;
  }


  /* Gallery */

  .product-gallery {
    display: grid;
    grid-template-columns: 5rem minmax(0, 1fr);
    gap: 1rem;

    padding: 2rem 0 4rem 4rem;
  }

  .product-gallery__main {
    grid-column: 2;
    grid-row: 1;

    min-height: calc(100vh - 8rem);
    aspect-ratio: auto;
  }

  .product-gallery__thumbnails {
    grid-column: 1;
    grid-row: 1;

    display: flex;
    flex-direction: column;
    gap: 0.65rem;

    padding: 0;

    overflow: visible;
  }

  .product-gallery__thumbnail {
    flex: none;

    width: 100%;
    aspect-ratio: 1 / 1.15;
  }

  .product-gallery__counter {
    top: 1.5rem;
    left: 1.5rem;
  }

  .product-gallery__zoom {
    right: 1.5rem;
    bottom: 1.5rem;
  }


  /* Product information */

  .product-info {
    position: static;

    max-height: none;

    overflow: visible;

    align-self: start;
  }

  .product-info__title {
    font-size: clamp(2.8rem, 4vw, 4.25rem);
  }

  .product-info__header {
    margin-bottom: 3rem;
  }

  .product-info__introduction {
    margin-bottom: 3.5rem;
  }

  .product-info__purchase {
    margin-bottom: 2.75rem;
  }


  /* Desktop size controls */

  .product-size__select-wrapper {
    display: none;
  }

  .product-size__options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    border-top: 1px solid rgba(28, 28, 28, 0.13);
    border-left: 1px solid rgba(28, 28, 28, 0.13);
  }

  .product-size__option {
    position: relative;

    display: flex;
    align-items: center;
    gap: 0.75rem;

    min-height: 4rem;
    padding: 0.9rem 1rem;

    border-right: 1px solid rgba(28, 28, 28, 0.13);
    border-bottom: 1px solid rgba(28, 28, 28, 0.13);

    cursor: pointer;
  }

  .product-size__option input {
    position: absolute;

    opacity: 0;
    pointer-events: none;
  }

  .product-size__marker {
    flex: 0 0 auto;

    width: 0.7rem;
    height: 0.7rem;

    border: 1px solid rgba(28, 28, 28, 0.5);
    border-radius: 50%;
  }

  .product-size__option input:checked + .product-size__marker {
    background: #1c1c1c;
    box-shadow: inset 0 0 0 2px #ffffff;
  }

  .product-size__option:has(input:checked) {
    background: #f5f5f3;
  }

  .product-size__option-copy {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;

    font-size: 0.72rem;
  }

  .product-size__option-copy small {
    color: rgba(28, 28, 28, 0.52);

    font-size: 0.62rem;
  }


  /* Related products */

  .related-products {
    padding: 6rem 0;
  }

  .related-products__header {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: end;
    gap: 2rem;

    padding: 0 4rem 2rem;
  }

  .related-products__title {
    font-size: 2.4rem;
  }

  .related-products__controls {
    display: flex;
    gap: 0.5rem;
  }

  .related-products__control {
    display: grid;
    place-items: center;

    width: 2.5rem;
    height: 2.5rem;
    padding: 0;

    color: #1c1c1c;
    background: transparent;
    border: 1px solid rgba(28, 28, 28, 0.18);

    font: inherit;

    cursor: pointer;
  }

  .related-products__control:hover {
    background: #ffffff;
  }

  .related-products__collection-link {
    margin: 0;
  }

  .related-products__rail {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;

    padding-inline: 4rem;

    overflow: visible;
  }

  .related-product-card {
    max-width: none;
  }


  /* Services */

  .product-services {
    grid-template-columns: repeat(3, 1fr);

    padding: 0 4rem;
  }

  .product-service {
    grid-template-columns: 2.5rem 1fr;

    min-height: 10rem;
    padding: 2.5rem 2rem;

    border-right: 1px solid rgba(28, 28, 28, 0.11);
    border-bottom: 0;
  }

  .product-service:first-child {
    padding-left: 0;
  }

  .product-service:last-child {
    padding-right: 0;

    border-right: 0;
  }

}


/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (min-width: 90rem) {

  .product {
    grid-template-columns: minmax(0, 1.6fr) minmax(30rem, 0.75fr);
  }

  .product-gallery {
    padding-left: 5rem;
  }

  .product-info {
    padding-right: 5rem;
  }

  .related-products__header,
  .related-products__rail,
  .product-services {
    padding-inline: 5rem;
  }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  .product-gallery__zoom,
  .product-accordion__icon,
  .product-custom-request__summary::after,
  .product-form__add,
  .related-product-card__image img {
    transition: none;
  }

}

.product-custom-request__privacy { margin: 0; color: rgba(28,28,28,.62); font-size: .72rem; line-height: 1.55; }
.product-custom-request__privacy a { color: inherit; }
