.psys-active .psys-product-page {
  --product-line: #d8d4cb;
  --product-muted: #55534e;
  --product-paper: #f6f4ef;
  --product-ink: #171715;
  --product-focus: #674333;
  width: 100%;
  max-width: 1440px;
  padding: 0 clamp(24px, 5vw, 76px) clamp(32px, 6vw, 86px);
  color: var(--product-ink);
}

.psys-product-page a:focus-visible,
.psys-product-page button:focus-visible,
.psys-product-page summary:focus-visible {
  outline: 2px solid var(--product-focus);
  outline-offset: 3px;
}

.psys-product__path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  min-height: 56px;
  color: var(--product-muted);
  font-size: 13px;
}
.psys-product__path a { color: inherit; text-underline-offset: 3px; }
.psys-product__path a + a { position: relative; }
.psys-product__path a + a::before {
  position: absolute;
  top: 35%;
  left: -10px;
  width: 5px;
  height: 5px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
  content: "";
}

.psys-active .psys-product__top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(28px, 5vw, 76px);
}

.psys-gallery { align-self: start; min-width: 0; }
.psys-gallery__track {
  position: relative;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--product-muted) var(--product-paper);
  background: var(--product-paper);
}
.psys-gallery__slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 0;
  margin: 0;
  scroll-snap-align: start;
}
.psys-gallery__image,
.psys-gallery__placeholder {
  display: block;
  height: clamp(430px, 51vw, 690px);
}
.psys-gallery__image { cursor: zoom-in; }
.psys-active .psys-gallery :is(.psys-gallery__image, .psys-gallery__placeholder) img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  margin: 0;
}
.psys-gallery__slide figcaption {
  position: absolute;
  bottom: 12px;
  left: 12px;
  max-width: calc(100% - 24px);
  padding: 5px 10px;
  color: #fff;
  background: #171715;
  font-size: 13px;
  line-height: 1.4;
  pointer-events: none;
}
.psys-gallery__index {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0 0;
}
.psys-gallery__thumbs { display: flex; gap: 8px; max-width: 100%; padding: 4px; overflow: auto; }
.psys-gallery__thumbs a {
  display: block;
  flex: 0 0 61px;
  width: 61px;
  height: 64px;
  background: var(--product-paper);
  border: 1px solid transparent;
  padding: 2px;
}
.psys-gallery__thumbs a:hover { border-color: var(--product-muted); }
.psys-gallery__thumbs a[aria-current="true"] { border-color: var(--product-ink); }
.psys-active .psys-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; margin: 0; }
.psys-gallery__count { flex: none; color: var(--product-muted); font-size: 13px; font-variant-numeric: tabular-nums; }

.psys-gallery__dialog {
  width: min(960px, calc(100% - 20px));
  max-width: none;
  max-height: calc(100vh - 20px);
  padding: 8px;
  border: 0;
  background: var(--product-paper);
  color: var(--product-ink);
}
.psys-gallery__dialog::backdrop { background: rgb(17 17 15 / 88%); }
.psys-gallery__dialog img { display: block; max-height: 84vh; width: 100%; object-fit: contain; }
.psys-gallery__dialog p { margin: 10px; text-align: center; font-size: 14px; }
.psys-active .psys-gallery__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #fff;
  background: var(--product-ink);
}
.psys-gallery__close svg { width: 20px; height: 20px; }

.psys-active .psys-product__summary { position: static; padding: 0; }
.psys-product__headline { position: relative; }
.psys-active .psys-product__headline h1 {
  margin: 0;
  color: var(--product-ink);
  font-size: clamp(28px, 3.08vw, 44px);
  font-weight: 850;
  line-height: 1.01;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.psys-product__headline .psys-save { inset: 0 0 auto auto; }
.psys-product__color { margin: 12px 0 0; color: var(--product-muted); font-size: 16px; }
.psys-product__rating { margin: 12px 0 0; }
.psys-product__buy { margin: 23px 0 27px; }
.psys-active .psys-product__price { margin: 0 0 12px; padding: 0; border: 0; }
.psys-active .psys-product__price :is(p.price, .amount) {
  margin: 0;
  color: var(--product-ink);
  font: 680 clamp(22px, 2.3vw, 29px)/1.1 var(--psys-font);
}
.psys-active .psys-product__summary .psys-size-guide {
  margin: 16px 0 3px;
  padding: 5px 0;
  color: var(--product-muted);
  font-size: 14px;
  text-underline-offset: 3px;
}
.psys-active .psys-product__summary form.cart { margin: 9px 0 0; }
.psys-active .psys-product__summary .variations { margin-bottom: 19px; }
.psys-active .psys-product__summary .variations label { font-size: 14px; font-weight: 650; }
.psys-active .psys-product__summary :is(button.single_add_to_cart_button, .quantity input) {
  min-height: 52px;
}
.psys-active.woocommerce-js .psys-product__summary .cart button.single_add_to_cart_button {
  color: #fff;
  background-color: var(--product-ink);
  font-size: 14px;
}
.psys-active.woocommerce-js .psys-product__summary .cart button.single_add_to_cart_button:not(.disabled):hover { background-color: #363630; }
.psys-active.woocommerce-js .psys-product__summary .cart button.single_add_to_cart_button.disabled {
  opacity: 1;
  background-color: #dddad1;
  color: #494640;
}
.psys-product__summary .psys-variant-buttons { gap: 8px; }
.psys-product__summary .psys-variant-buttons button { min-width: 49px; min-height: 44px; }

.psys-product__details details { padding: 0; border-color: var(--product-line); }
.psys-product__details details:last-child { border-bottom: 1px solid var(--product-line); }
.psys-product__details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 54px;
  color: var(--product-ink);
  font-size: 16px;
  font-weight: 650;
  text-transform: none;
  list-style: none;
}
.psys-product__details summary::-webkit-details-marker { display: none; }
.psys-product__details summary::after {
  width: 9px;
  height: 9px;
  margin-right: 3px;
  border-right: 1px solid;
  border-bottom: 1px solid;
  transform: rotate(45deg) translate(-2px, -2px);
  content: "";
}
.psys-product__details details[open] summary::after { transform: rotate(225deg); }
.psys-product__details .woocommerce-product-details__short-description { margin: 0 0 18px; }
.psys-product__details :is(p, ul) { color: var(--product-muted); font-size: 15px; line-height: 1.6; }
.psys-product__details p:first-child { margin-top: 0; }
.psys-product__details .psys-product__more { display: inline-block; margin: 0 0 17px; font-size: 14px; text-underline-offset: 3px; }
.psys-product__policy { list-style: none; margin: 0 0 20px; padding: 0; }
.psys-product__policy li + li { margin-top: 6px; }
.psys-product__below { padding-top: clamp(36px, 6vw, 82px); scroll-margin-top: 96px; }
.psys-active .psys-product__below .woocommerce-tabs { border-top: 1px solid var(--product-line); padding-top: 13px; }
.psys-active .psys-product__below .woocommerce-tabs .panel { max-width: 75ch; margin-bottom: 48px; }
.psys-active .psys-product__below .woocommerce-tabs .panel :is(p, li) { font-size: 16px; line-height: 1.65; }
.psys-active .psys-product__below .woocommerce-tabs .panel h2 { margin-top: 27px; text-transform: none; }

.psys-active .psys-related {
  clear: both;
  margin-block: clamp(38px, 5.5vw, 76px) 0;
  padding-top: clamp(22px, 3.6vw, 44px);
  border-top: 1px solid var(--product-line);
}
.psys-active .psys-related > h2 { margin: 0 0 clamp(15px, 2.1vw, 30px); }
.psys-related__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2.2vw, 28px);
}
.psys-related .psys-card { display: flex; flex-direction: column; }
.psys-related .psys-card__media { background: var(--product-paper); }
.psys-related .psys-card__media img { object-fit: contain; transform: none; }
.psys-related .psys-card__badge {
  top: 8px;
  left: 8px;
  max-width: calc(100% - 60px);
  background: var(--product-ink);
  color: #fff;
  font-size: 12px;
  line-height: 1.3;
}
.psys-related .psys-card__info {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 13px 0 0;
}
.psys-related .psys-card__info h3 {
  min-height: 2.7em;
  margin: 0 0 6px;
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.35;
  font-weight: 720;
  overflow-wrap: anywhere;
}
.psys-related .psys-card__info p { margin: 0 0 11px; font-size: 15px; }
.psys-related .psys-card__info a.psys-card__action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  min-height: 42px;
  margin-top: auto;
  padding: 8px 10px;
  border: 1px solid var(--product-line);
  color: var(--product-ink);
  font-size: 13px;
  font-weight: 630;
  text-decoration: none;
}
.psys-related .psys-card__info a.psys-card__action:hover {
  color: #fff;
  background: var(--product-ink);
  border-color: var(--product-ink);
}

@media (min-width: 768px) and (max-width: 1050px) {
  .psys-related__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .psys-active .psys-product-page { padding: 0 16px 44px; }
  .psys-product__path { min-height: 48px; }
  .psys-active .psys-product__top { grid-template-columns: minmax(0, 1fr); gap: 25px; }
  .psys-gallery__image, .psys-gallery__placeholder { height: auto; aspect-ratio: 4 / 4.45; }
  .psys-gallery__index { padding-top: 7px; }
  .psys-gallery__thumbs a { flex-basis: 49px; width: 49px; height: 52px; }
  .psys-active .psys-product__headline h1 { font-size: clamp(25px, 6.8vw, 38px); }
  .psys-active .psys-product__below { padding-inline: 0; }
  .psys-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .psys-related .psys-card__info { padding-top: 9px; }
}
