/* Import */
/* Variables */
/* == Mixins == */
[x-cloak] {
  display: none !important;
}

html:has(dialog[open]) {
  overflow: hidden;
}

.radio-flex {
  border-bottom: 1px solid hsla(0, 0%, 84.7%, 0.5);
  padding-bottom: 1rem;
}
.radio-flex .c-inline-field {
  display: flex;
  align-items: center;
  gap: 8rem;
}
.radio-flex .c-inline-field > label {
  flex-basis: max-content;
}

.p-1 {
  padding: 1rem;
}
.p-2 {
  padding: 2rem;
}
.p-3 {
  padding: 3rem;
}
.p-4 {
  padding: 4rem;
}
.p-5 {
  padding: 5rem;
}
.p-6 {
  padding: 6rem;
}

.mt-0 {
  margin-top: 0rem;
}
.mb-0 {
  margin-bottom: 0rem;
}
.mt-1 {
  margin-top: 1rem;
}
.mb-1 {
  margin-bottom: 1rem;
}
.mt-2 {
  margin-top: 2rem;
}
.mb-2 {
  margin-bottom: 2rem;
}
.mt-3 {
  margin-top: 3rem;
}
.mb-3 {
  margin-bottom: 3rem;
}
.mt-4 {
  margin-top: 4rem;
}
.mb-4 {
  margin-bottom: 4rem;
}
.mt-5 {
  margin-top: 5rem;
}
.mb-5 {
  margin-bottom: 5rem;
}
.mt-6 {
  margin-top: 6rem;
}
.mb-6 {
  margin-bottom: 6rem;
}

.c-contact__form {
  position: relative;
}

.c-contact__close {
  z-index: 10;
}

.gallery {
  --gallery-zoom: on;
  --thumbnail-width: 9rem;
  position: relative;
  display: grid;
  align-content: start;
  align-items: center;
  gap: 1.5rem 2.5rem;
  grid-auto-flow: dense;
  grid-template-columns: 1fr auto;
}
@media (max-width: 64rem) {
  .gallery {
    --gallery-zoom: off;
  }
}
@media (max-width: 50rem) {
  .gallery {
    grid-template-columns: 1fr;
  }
}
.gallery__track {
  grid-column: 1/-1;
}
@media (min-width: 64rem) {
  .gallery__track > div {
    transition: none !important;
  }
}
.gallery__track figure {
  aspect-ratio: 5/3;
  cursor: zoom-in;
  margin: 0;
}
@media (max-width: 64rem) {
  .gallery__track figure {
    cursor: auto;
  }
}
.gallery__track img {
  -o-object-fit: cover;
     object-fit: cover;
  pointer-events: none;
  height: 100%;
  width: 100%;
}
.gallery__thumbnails {
  position: relative;
  display: flex;
  box-shadow: 0 0 4px -1px rgba(118, 118, 118, 0.5);
  list-style: none;
  margin-block: 0;
  margin-inline: 1.6rem 0;
  overflow-x: auto;
  padding: 0;
  scrollbar-width: none;
  max-width: calc(100% - 1.6rem);
  width: -moz-fit-content;
  width: fit-content;
}
.gallery__thumbnails li {
  flex: 0 0 var(--thumbnail-width);
}
.gallery__thumbnails button {
  position: relative;
  display: block;
  aspect-ratio: 5/3;
  background: none;
  border: 0;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  width: 100%;
}
.gallery__thumbnails button::before {
  content: "";
  position: absolute;
  inset: auto 0 0.5rem;
  background: transparent;
  border-radius: 50%;
  margin-inline: auto;
  height: 0.8rem;
  width: 0.8rem;
  transition: background-color 0.133s ease-out;
  z-index: 1;
}
.gallery__thumbnails button[aria-current]::before {
  background: #00320a;
  transition: background-color 0.133s ease-in 0.133s;
}
.gallery__thumbnails img {
  -o-object-fit: cover;
     object-fit: cover;
  height: 100%;
  width: 100%;
}
.gallery__caption {
  grid-column: 1;
  margin: 0 0 0 1.6rem;
}
.gallery__zoom {
  position: fixed;
  inset: var(--zoom-top) 0 0;
  background: #fff;
  border: 0;
  cursor: zoom-out;
  margin: 0;
  overflow: auto;
  padding: 0;
  max-height: none;
  height: auto;
  max-width: none;
  width: 100%;
  transform-origin: top left;
  z-index: 3;
}
.gallery__zoom button {
  position: fixed;
  top: calc(var(--zoom-top) + 2rem);
  right: 2rem;
  z-index: 1;
}
.gallery__zoom img {
  display: block;
  height: auto;
  width: 100%;
}
.gallery:has(.gallery__zoom[open]) .gallery__thumbnails {
  position: fixed;
  bottom: 2rem;
  left: 1.6rem;
  margin: 0;
  max-width: 50%;
  animation: rise 0.5s ease-in-out;
  z-index: 4;
}
.gallery:has(.gallery__zoom[open]) .gallery__caption {
  position: fixed;
  bottom: calc(var(--thumbnail-width) * 3 / 5 + 3rem);
  left: 1.6rem;
  background: #fff;
  margin: 0;
  padding: 0.4rem 0.8rem;
  max-width: 50%;
  animation: rise 0.5s ease-in-out;
  z-index: 4;
}

@keyframes rise {
  0% {
    opacity: 0;
    transform: translateY(7rem);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.inquiry {
  --inquiry-speed: .233s;
  position: fixed;
  inset: 19rem 0 0;
  border: 0;
  margin: 0 auto;
  opacity: 0;
  overflow: hidden;
  max-height: none;
  height: auto;
  max-width: 117rem;
  width: 90%;
  transform: translateY(10rem);
  transition: opacity var(--inquiry-speed), transform var(--inquiry-speed) ease-in-out, overlay var(--inquiry-speed) allow-discrete, display var(--inquiry-speed) allow-discrete;
}
@media (max-width: 50rem) {
  .inquiry {
    inset: 0;
    overflow: auto;
    height: 100%;
    max-width: none;
    width: 100%;
  }
}
.inquiry::backdrop {
  background: none;
}
.inquiry [aria-invalid=true] {
  border-color: #f00;
}
.inquiry [aria-invalid=true] + .o-checkbox::before {
  border-color: #f00;
}
.inquiry__thanks {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1 0 auto;
  text-align: center;
  height: 100%;
}
@media (max-width: 50rem) {
  .inquiry__thanks {
    height: auto;
  }
}
.inquiry__thanks button {
  margin-top: 1.5rem;
}
.inquiry:not([open]) {
  display: none;
}
.inquiry[open] {
  opacity: 1;
  transform: none;
}
@starting-style {
  .inquiry[open] {
    opacity: 0;
    transform: translateY(10rem);
  }
}

.product {
  display: grid;
  grid-template-columns: 2fr 1fr;
}
@media (max-width: 64rem) {
  .product {
    display: block;
  }
}
.product__pricing {
  font-family: "erasmus,Times New Roman,Times,Georgia,serif";
  padding: 2rem 1.6rem 0 1.6rem;
}
.product__pricing > p {
  font-size: 3rem;
  font-style: italic;
}
.product__pricing > span {
  display: block;
  font-size: 1.6rem;
  padding-top: 1rem;
}
.product__materials {
  padding-block: 3rem;
  padding-inline: max(1.6rem, env(safe-area-inset-right));
}
.product__materials .material__group > button {
  cursor: pointer;
}
.product__materials .material__group > button:before {
  content: "+";
  display: inline-block;
  margin-right: 1.2rem;
  width: 1rem;
}
.product__materials .material__group > button.--is-opened:before {
  content: "-";
}
.product__materials .material__group > div {
  display: grid;
  grid-template-columns: 1fr 2fr;
  margin-top: 3rem;
}
.product__materials .material__swatches {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0.25rem;
}
.product__materials .material__swatches li {
  position: relative;
}
.product__materials .material__swatches li:hover .material__tooltip, .product__materials .material__swatches li:focus-within .material__tooltip {
  opacity: 1;
}
.product__materials .material__swatches li button {
  aspect-ratio: 1/1;
  border: 3px solid transparent;
  cursor: pointer;
  overflow: hidden;
}
.product__materials .material__swatches li button.selected {
  border: 3px solid #00320a;
}
.product__materials .material__swatches li button img {
  -o-object-fit: cover;
     object-fit: cover;
  height: 100%;
  width: 100%;
}
.product__materials .material__tooltip {
  background: #00320a;
  bottom: calc(100% + 0.6rem);
  color: #fff;
  font-size: 1.6rem;
  left: 50%;
  opacity: 0;
  padding: 0.5rem 0.8rem;
  pointer-events: none;
  position: absolute;
  transform: translateX(-50%);
  transition: opacity 0.15s ease;
  white-space: nowrap;
  z-index: 2;
}
.product__materials .material__tooltip:after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  border: 0.5rem solid transparent;
  border-top-color: #00320a;
  transform: translateX(-50%);
}
.product__materials .material__group + .material__group {
  border-top: 1px solid rgba(0, 0, 0, 0.1882352941);
  margin-top: 1.5rem;
  padding-top: 1.5rem;
}
.product__badge {
  position: absolute;
  top: 2rem;
  right: 7rem;
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 2;
}
@media (max-width: 64rem) {
  .product__badge {
    display: none;
  }
}
.product__badge li {
  border-radius: 50%;
  overflow: hidden;
  height: 9rem;
  width: 9rem;
}
.product__info {
  display: flex;
  flex-direction: column;
}
@media (max-width: 64rem) {
  .product__info {
    display: block;
  }
}
.product__description {
  padding-top: 2rem;
}
@media (max-width: 64rem) {
  .product__description {
    padding-top: 1.2rem;
  }
}
.product__options {
  padding-block: 2rem 7rem;
}
@media (max-width: 64rem) {
  .product__options {
    border-bottom: 1px solid;
    padding-bottom: 5rem;
  }
}
.product__sizes {
  margin-top: 0.8rem;
}
.product__cta {
  margin-block: auto 0;
  padding-top: 2.5rem;
}
@media (max-width: 64rem) {
  .product__cta {
    margin-block: 2.5rem;
    padding-top: 0;
  }
}
.product__cta p {
  margin-bottom: 1rem;
}
.product:has(.gallery__zoom[open]) .product__cta {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  margin: 0;
  padding-top: 0;
  animation: rise 0.5s ease-in-out;
  width: -moz-fit-content;
  width: fit-content;
  z-index: 4;
}
