@charset "UTF-8";

.yamm-route-product .yamm-main,
.single-product .yamm-main {
  width: 100%;
  max-width: none;
  padding-inline: 0;
}

.yamm-product {
  width: 100%;
  background: #fff;
}

.yamm-product__hero {
  display: grid;
  grid-template-columns: minmax(0, 50%) minmax(0, 50%);
  align-items: start;
}

.yamm-product__media {
  min-width: 0;
  background: #f3f1ec;
}

.yamm-product-gallery__stack {
  display: grid;
}

.yamm-product-gallery__indicator {
  display: none;
}

.yamm-product-gallery__frame {
  min-height: 100svh;
  margin: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f3f1ec;
}

.yamm-product-gallery__frame img {
  width: 100%;
  height: 100%;
  min-height: 100svh;
  object-fit: cover;
  object-position: center;
}

.yamm-product-gallery__frame--video {
  line-height: 0;
  background: #000;
}

.yamm-product-gallery__video {
  width: 100%;
  height: 100%;
  min-height: 100svh;
  display: block;
  object-fit: contain;
  background: #000;
}

.yamm-product__information {
  position: sticky;
  top: 0;
  min-height: 100svh;
  padding: calc(var(--yamm-header-height) + clamp(34px, 4.5vw, 68px)) clamp(46px, 7vw, 118px) clamp(54px, 6vw, 86px);
  display: flex;
  align-items: flex-start;
  background: #fff;
}

.yamm-product-summary {
  width: min(100%, 364px);
  margin-inline: auto;
  font-family: var(--yamm-font-ui);
  font-weight: 400;
}

.yamm-product-summary__topline {
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-family: var(--yamm-font-body);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: .115em;
  text-transform: uppercase;
}

.yamm-product-summary__reviews {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #111;
  text-decoration: none;
  font-size: 10px;
  letter-spacing: 0;
  text-transform: none;
}

.yamm-product-summary__reviews .star-rating {
  float: none;
  margin: 0;
  font-size: 11px;
}

.yamm-product-summary__category {
  margin: 0 0 9px;
  color: rgba(0, 0, 0, .47);
  font-family: var(--yamm-font-body);
  font-size: 11px;
  font-weight: 300;
  text-transform: uppercase;
}

.yamm-product-summary__title {
  margin: 0;
  font-family: var(--yamm-font-ui);
  font-size: clamp(21px, 1.55vw, 26px);
  font-weight: 400;
  line-height: 1.07;
  letter-spacing: .002em;
}

.yamm-product-summary__price {
  margin-top: 9px;
  font-family: var(--yamm-font-ui);
  font-size: 16px;
  line-height: 1.2;
}

.yamm-product-summary__price del {
  opacity: .45;
}

.yamm-product-summary__stock {
  margin-top: 8px;
  font-family: var(--yamm-font-ui);
  font-size: 13px;
}

.yamm-product-summary__stock .stock {
  margin: 0;
}

.yamm-product-summary__stock .in-stock::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  display: inline-block;
  background: #18a35d;
}

/* Product operations rhythm. Dynamic ordering remains owned by the availability component. */
.yamm-product .yamm-product-summary__availability {
  margin-top: 3px !important;
}

.yamm-product .yamm-product-summary__delivery {
  font-size: 15px;
}

.yamm-product .yamm-product-summary__stock[data-yamm-stock-state="out"] {
  margin-top: 12px;
}

.yamm-product .yamm-product-summary__stock[data-yamm-stock-state="out"] .yamm-product-summary__availability {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  font-size: 14px;
}

.yamm-product .yamm-product-summary__stock[data-yamm-stock-state="out"] + .yamm-product-summary__delivery {
  margin-top: 3px;
}

.yamm-product-summary__purchase {
  margin-top: 29px;
}

.yamm-product-summary__purchase form.cart,
.yamm-product-summary__purchase .variations {
  margin: 0;
}

.yamm-product-summary__purchase .variations {
  width: 100%;
  border: 0;
  border-collapse: collapse;
}

.yamm-product-summary__purchase .variations tr + tr {
  margin-top: 17px;
}

.yamm-product-summary__purchase .variations th,
.yamm-product-summary__purchase .variations td {
  display: block;
  padding: 0;
  text-align: left;
}

.yamm-product-summary__purchase .variations th {
  margin-bottom: 11px;
  font-family: var(--yamm-font-ui);
  font-size: 13px;
  font-weight: 400;
}

.yamm-product-summary__purchase .variations select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(0, 0, 0, .22);
  background: #fff;
}

.yamm-product-summary__purchase .yamm-variation-row--enhanced select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.yamm-variation-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.yamm-variation-option {
  min-width: 82px;
  min-height: 48px;
  padding: 10px 17px;
  border: 1px solid rgba(0, 0, 0, .16);
  border-radius: 4px;
  background: #fff;
  color: #111;
  cursor: pointer;
  font-family: var(--yamm-font-ui);
  font-size: 13px;
  font-weight: 400;
}

.yamm-variation-option:hover,
.yamm-variation-option:focus-visible,
.yamm-variation-option.is-active {
  border-color: #111;
}

.yamm-variation-option.is-active {
  box-shadow: inset 0 0 0 1px #111;
}

.yamm-variation-option:disabled {
  cursor: not-allowed;
  opacity: .3;
}

.yamm-product-summary__purchase .reset_variations,
.yamm-product-summary__purchase .single_variation,
.yamm-product-summary__purchase .woocommerce-variation-price,
.yamm-product-summary__purchase .quantity {
  display: none !important;
}

.yamm-product-summary__description {
  margin-top: 34px;
}

.yamm-product-summary__description-copy {
  position: relative;
}

.yamm-product-summary__description-body {
  color: #222;
  font-family: var(--yamm-font-ui);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.55;
  text-align: justify;
}

.yamm-product-summary__description-body > :first-child {
  margin-top: 0;
}

.yamm-product-summary__description-body > :last-child {
  margin-bottom: 0;
}

.yamm-product-summary__description:not(.is-expanded) .yamm-product-summary__description-body {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7;
}

.yamm-product-summary__description:not(.is-expanded) .yamm-product-summary__description-copy::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
}

.yamm-product-summary__description-toggle {
  width: 100%;
  min-height: 48px;
  margin-top: 14px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, .12);
  background: transparent;
  color: #111;
  cursor: pointer;
  font-family: var(--yamm-font-ui);
  font-size: 13px;
  font-weight: 400;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.yamm-product-summary__description-toggle:focus-visible {
  outline: 1px solid #111;
  outline-offset: 4px;
}

.yamm-product-summary__details {
  margin-top: 0;
}

.yamm-product-summary__details details {
  border-bottom: 1px solid rgba(0, 0, 0, .11);
}

.yamm-product-summary__details summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
  font-family: var(--yamm-font-ui);
  font-size: 13px;
  font-weight: 400;
}

.yamm-product-summary__details summary::-webkit-details-marker {
  display: none;
}

.yamm-product-summary__details summary::after {
  content: "+";
  font-family: var(--yamm-font-body);
  font-size: 21px;
  font-weight: 300;
}

.yamm-product-summary__details details[open] summary::after {
  content: "−";
}

.yamm-product-summary__details details > div {
  padding: 0 0 22px;
  font-family: var(--yamm-font-body);
  font-size: 11px;
  font-weight: 300;
  line-height: 1.55;
}

.yamm-product-summary__details table {
  width: 100%;
  border-collapse: collapse;
}

.yamm-product__secondary {
  width: 100%;
  padding: 72px clamp(48px, 8vw, 176px) clamp(90px, 10vw, 150px);
  background: #fff;
}

.yamm-product__secondary > * {
  width: min(100%, 1240px);
  margin-inline: auto;
}

@media (max-width: 1100px) {
  .yamm-product__information {
    padding-inline: clamp(34px, 5vw, 62px);
  }
}

@media (max-width: 980px) {
  .yamm-product__hero {
    grid-template-columns: 1fr;
  }

  .yamm-product-gallery__stack {
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .yamm-product-gallery__stack::-webkit-scrollbar {
    display: none;
  }

  .yamm-product-gallery__indicator {
    width: 100%;
    height: 1px;
    display: block;
    overflow: hidden;
    background: rgba(0,0,0,.14);
  }

  .yamm-product-gallery__indicator > span {
    width: calc(100% / var(--yamm-gallery-count, 1));
    height: 1px;
    display: block;
    background: #000;
    transform: translateX(calc(var(--yamm-gallery-index, 0) * 100%));
    transition:
      transform .34s cubic-bezier(.22,1,.36,1),
      width .24s ease;
    will-change: transform;
  }

  .yamm-product-gallery__frame {
    min-height: 0;
    aspect-ratio: 1 / 1;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .yamm-product-gallery__frame img,
  .yamm-product-gallery__video {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  .yamm-product__information {
    position: static;
    min-height: 0;
    padding: 44px 26px 62px;
  }

  .yamm-product-summary {
    width: 100%;
    max-width: 560px;
  }

  .yamm-product-summary__description {
    margin-top: 32px;
  }

  .yamm-product-summary__description-body {
    font-size: 13px;
    line-height: 1.65;
    text-align: center;
  }

  .yamm-product-summary__description-toggle {
    font-size: 15px;
  }

  .yamm-product-summary__details {
    margin-top: 27px;
  }

  .yamm-product-summary__details summary {
    min-height: 56px;
    font-size: 15px;
  }

  .yamm-product-summary__details details > div {
    font-size: 12px;
    line-height: 1.6;
  }

  .yamm-product__secondary {
    padding: 70px 0 104px;
  }
}
