/**
 * Single product styles.
 *
 * @author xewex <https://xewex.ru>
 */

.single-product .woocommerce-notices-wrapper,
.single-product .woocommerce-breadcrumb {
  width: 100%;
  max-width: var(--xewex-layout-max-width);
  margin-right: auto;
  margin-left: auto;
}

.single-product .main-page-wrapper > .container > .row {
  margin-right: 0;
  margin-left: 0;
}

.single-product .woocommerce-breadcrumb {
  margin-bottom: 28px;
  color: var(--xewex-color-muted);
  font-size: 12px;
}

.single-product .woocommerce-breadcrumb a {
  color: var(--xewex-color-text);
  text-decoration: none;
}

.xewex-stone-product {
  width: 100%;
  min-width: 0;
  color: var(--xewex-color-text);
}

.xewex-stone-product a {
  color: inherit;
  text-underline-offset: 0.16em;
}

.xewex-stone-product__shell {
  width: 100%;
  max-width: var(--xewex-layout-max-width);
  margin: 0 auto;
}

.xewex-stone-product__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  align-items: start;
  gap: clamp(42px, 5vw, 90px);
  padding-bottom: clamp(72px, 8vw, 130px);
}

.xewex-stone-product__hero--without-gallery {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}

.xewex-stone-product__availability {
  margin: 0;
  color: var(--xewex-color-muted);
  font-size: 13px;
  white-space: nowrap;
}

.xewex-stone-product__price-row {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  margin-top: 26px;
}

.xewex-stone-product__price-row .xewex-stone-product__price {
  margin-top: 0;
}

.xewex-stone-product__price-row .xewex-stone-product__availability,
.xewex-stone-product__price-row .xewex-stone-product__stock {
  margin: 0;
}

.xewex-stone-product__availability.is-in-stock,
.xewex-stone-product__availability.is-in-stock .stock {
  color: #2E7D32;
}

.xewex-stone-product__availability.is-sold,
.xewex-stone-product__availability.is-sold .stock,
.xewex-stone-product__availability.is-sold .xewex-stone-product__stock {
  color: #C62828;
  font-size: 15.6px;
  text-transform: uppercase;
}

.xewex-stone-product__city::before {
  margin: 0 6px;
  color: var(--xewex-color-muted);
  content: "•";
}

.xewex-stone-product__stock,
.xewex-stone-product__city {
  color: inherit;
  font: inherit;
}

.xewex-stone-product__cart .stock {
  display: none;
}

.xewex-similar-stone-button {
  width: 100%;
  justify-content: center;
}

.xewex-similar-stone-dialog {
  width: min(calc(100% - 36px), 520px);
  max-width: 520px;
  padding: 0;
  color: var(--xewex-color-text);
  background: var(--xewex-color-background);
  border: 1px solid var(--xewex-color-line);
  border-radius: 22px;
  box-shadow: 0 24px 80px rgba(20, 24, 27, 0.2);
}

.xewex-similar-stone-dialog::backdrop {
  background: rgba(20, 24, 27, 0.48);
  backdrop-filter: blur(6px);
}

.xewex-similar-stone-dialog__content {
  padding: clamp(30px, 6vw, 48px);
}

.xewex-similar-stone-dialog__eyebrow {
  margin: 0 0 10px;
  color: var(--xewex-color-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.xewex-similar-stone-dialog h2 {
  margin: 0 46px 14px 0;
  font-size: clamp(28px, 5vw, 38px);
  line-height: 1.1;
}

.xewex-similar-stone-dialog p {
  margin-top: 0;
}

.xewex-similar-stone-dialog__close {
  position: absolute;
  z-index: 1;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--xewex-color-ink);
  background: transparent;
  border: 1px solid var(--xewex-color-line);
  border-radius: 50%;
  cursor: pointer;
}

.xewex-similar-stone-dialog__close::before {
  position: absolute;
  inset: 10px;
  background: currentColor;
  content: "";
  -webkit-mask: url("../icons/hugeicons/cancel-01.svg") center / contain no-repeat;
  mask: url("../icons/hugeicons/cancel-01.svg") center / contain no-repeat;
}

.xewex-similar-stone-dialog__messengers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.xewex-similar-stone-dialog__messengers a {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  color: #fff;
  background: var(--xewex-color-ink);
  border: 1px solid var(--xewex-color-ink);
  border-radius: var(--xewex-radius-button);
  text-decoration: none;
}

.xewex-similar-stone-dialog__messengers a:hover,
.xewex-similar-stone-dialog__messengers a:focus-visible {
  color: var(--xewex-color-ink);
  background: transparent;
}

.xewex-similar-stone-dialog__icon {
  width: 22px;
  height: 22px;
}

.xewex-similar-stone-dialog .xewex-similar-stone-dialog__notice {
  margin: 18px 0 0;
  padding: 14px 16px;
  background: var(--xewex-color-surface);
  border-left: 3px solid var(--xewex-color-ink);
  border-radius: 0 var(--xewex-radius-button) var(--xewex-radius-button) 0;
  font-size: 14px;
  line-height: 1.55;
}

.xewex-similar-stone-dialog__manual {
  margin-top: 18px;
  padding: 18px;
  background: var(--xewex-color-surface);
  border-radius: var(--xewex-radius-panel);
}

.xewex-similar-stone-dialog__manual textarea {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 12px;
  resize: vertical;
  color: var(--xewex-color-text);
  background: var(--xewex-color-background);
  border: 1px solid var(--xewex-color-line);
  border-radius: var(--xewex-radius-button);
  font: inherit;
  font-size: 14px;
  line-height: 1.45;
}

.xewex-similar-stone-dialog__manual-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

@media (max-width: 520px) {
  .xewex-similar-stone-dialog__messengers {
    grid-template-columns: 1fr;
  }

  .xewex-similar-stone-dialog__manual-actions {
    grid-template-columns: 1fr;
  }
}

.xewex-stone-product__gallery,
.xewex-stone-product__summary {
  min-width: 0;
}

.xewex-stone-product__gallery,
.xewex-jewelry-product__gallery {
  position: relative;
}

.xewex-stone-product__gallery {
  align-self: start;
}

/* WC's div.product positioning does not cover our article.product template. */
.single-product .woocommerce-product-gallery {
  position: relative;
  /* Override initial inline opacity if JS fails; leave slide/zoom styles alone. */
  opacity: 1 !important;
}

.woocommerce .xewex-stone-product div.product div.images,
.woocommerce .xewex-stone-product .woocommerce-product-gallery {
  float: none;
  width: 100%;
  margin: 0;
}

.woocommerce .xewex-stone-product .woocommerce-product-gallery > .col-12 {
  padding-right: 0;
  padding-left: 0;
}

.xewex-stone-product .woocommerce-product-gallery .owl-carousel .product-image-wrap {
  padding-right: 0;
  padding-left: 0;
}

.xewex-stone-product .woocommerce-product-gallery__wrapper {
  margin: 0;
}



.xewex-stone-product .woocommerce-product-gallery__image > a {
  display: block;
  overflow: hidden;
  border-radius: var(--xewex-radius-panel);
}

.xewex-stone-product .woocommerce-product-gallery__image > a > img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  filter: brightness(0.97);
}

.xewex-stone-product .woocommerce-product-gallery__trigger {
  position: absolute;
  z-index: 3;
  top: 18px;
  right: 18px;
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--xewex-color-ink);
  background: var(--xewex-color-background);
  border: 1px solid var(--xewex-color-line);
  border-radius: 50%;
  font-size: 0;
  text-decoration: none;
}

.xewex-stone-product .woocommerce-product-gallery__trigger::before {
  display: block;
  width: 22px;
  height: 22px;
  background-color: currentColor;
  content: "";
  -webkit-mask: url("../icons/hugeicons/zoom-in-area.svg") center / contain no-repeat;
  mask: url("../icons/hugeicons/zoom-in-area.svg") center / contain no-repeat;
}

.xewex-stone-product .flex-direction-nav {
  position: absolute;
  z-index: 4;
  inset: 50% 12px auto;
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: none;
  transform: translateY(-50%);
}

.xewex-stone-product .flex-direction-nav li {
  margin: 0;
  list-style: none;
}

.xewex-stone-product .flex-direction-nav a {
  width: 44px;
  min-height: 44px;
  padding: 0;
  color: var(--xewex-color-ink);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: 0;
  pointer-events: auto;
}

.xewex-stone-product .flex-direction-nav a:hover,
.xewex-stone-product .flex-direction-nav a:focus-visible {
  color: var(--xewex-color-ink);
  background: transparent;
  border: 0;
  box-shadow: none;
}

.xewex-stone-product .flex-direction-nav a::before {
  display: block;
  width: 20px;
  height: 20px;
  background-color: currentColor;
  content: "";
  -webkit-mask: url("../icons/hugeicons/arrow-right-02.svg") center / contain no-repeat;
  mask: url("../icons/hugeicons/arrow-right-02.svg") center / contain no-repeat;
}

.xewex-stone-product .flex-direction-nav .flex-prev::before {
  -webkit-mask-image: url("../icons/hugeicons/arrow-left-02.svg");
  mask-image: url("../icons/hugeicons/arrow-left-02.svg");
}

.xewex-stone-product .flex-direction-nav .flex-disabled {
  opacity: 0.35;
  pointer-events: none;
}

.xewex-jewelry-product__gallery {
  --xewex-jewelry-thumb-gap: 12px;
  --xewex-jewelry-thumb-size: clamp(68px, 5.25vw, 82px);
  min-width: 0;
}

.xewex-jewelry-product .woocommerce-product-gallery__image .zoomImg {
  pointer-events: none;
}

.xewex-jewelry-product .woocommerce-product-gallery:has(> .flex-control-thumbs) {
  display: grid;
  grid-template-columns: var(--xewex-jewelry-thumb-size) minmax(0, 1fr);
  align-items: start;
  column-gap: clamp(14px, 1.5vw, 24px);
}

.xewex-jewelry-product .woocommerce-product-gallery:has(> .flex-control-thumbs) > .flex-viewport,
.xewex-jewelry-product .woocommerce-product-gallery:has(> .flex-control-thumbs) > .woocommerce-product-gallery__wrapper {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.xewex-jewelry-product .flex-control-thumbs {
  display: flex;
  grid-column: 1;
  grid-row: 1;
  max-height: calc((var(--xewex-jewelry-thumb-size) * 4) + (var(--xewex-jewelry-thumb-gap) * 3));
  align-items: stretch;
  flex-direction: column;
  gap: var(--xewex-jewelry-thumb-gap);
  margin: 0;
  padding: 0 4px 0 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: var(--xewex-color-line) transparent;
  scrollbar-width: thin;
  list-style: none;
}

.xewex-jewelry-product .flex-control-thumbs::-webkit-scrollbar {
  width: 4px;
}

.xewex-jewelry-product .flex-control-thumbs::-webkit-scrollbar-thumb {
  background: var(--xewex-color-line);
  border-radius: 999px;
}

.xewex-jewelry-product .flex-control-thumbs li {
  position: relative;
  float: none;
  width: var(--xewex-jewelry-thumb-size);
  height: var(--xewex-jewelry-thumb-size);
  flex: 0 0 var(--xewex-jewelry-thumb-size);
  margin: 0;
  list-style: none;
}

.xewex-jewelry-product .flex-control-thumbs img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: calc(var(--xewex-radius-panel) * 0.5);
  object-fit: cover;
  opacity: 0.55;
  cursor: pointer;
}

.xewex-jewelry-product .flex-control-thumbs img.flex-active {
  outline: 1px solid var(--xewex-color-ink);
  outline-offset: -1px;
  opacity: 1;
}

.xewex-jewelry-product .woocommerce-product-gallery:has(> .flex-control-thumbs) ~ .xewex-video-button--single {
  left: calc(var(--xewex-jewelry-thumb-size) + clamp(14px, 1.5vw, 24px) + 18px);
}

.xewex-jewelry-product .xewex-stone-product__title {
  font-size: clamp(18px, 1.5vw, 25.2px);
}

.xewex-jewelry-product__benefits {
  margin-top: 30px;
  padding: 24px;
  background: var(--xewex-color-surface);
  border: 0;
  border-radius: var(--xewex-radius-panel);
}

.xewex-jewelry-product__benefits h2 {
  margin: 0 0 18px;
  color: var(--xewex-color-ink);
  font-size: 18px;
}

.xewex-jewelry-product__benefit {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.xewex-jewelry-product__benefit + .xewex-jewelry-product__benefit {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--xewex-color-line-on-surface);
}

.xewex-jewelry-product__benefit svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.xewex-jewelry-product__benefit p {
  margin: 0;
}

.xewex-jewelry-product__benefit strong,
.xewex-jewelry-product__benefit span {
  display: block;
}

.xewex-jewelry-product__benefit strong {
  color: var(--xewex-color-ink);
  font-size: 14px;
}

.xewex-jewelry-product__benefit span {
  margin-top: 3px;
  color: var(--xewex-color-muted);
  font-size: 12px;
}

.xewex-product-accordion {
  margin-top: 22px;
  border-top: 1px solid var(--xewex-color-line);
}

.xewex-product-accordion details {
  border-bottom: 1px solid var(--xewex-color-line);
}

.xewex-product-accordion summary {
  position: relative;
  padding: 17px 30px 17px 0;
  color: var(--xewex-color-ink);
  font-weight: 400;
  font-size: 14px;
  list-style: none;
  cursor: pointer;
}

.xewex-product-accordion summary::-webkit-details-marker {
  display: none;
}

.xewex-product-accordion summary::after {
  position: absolute;
  top: 50%;
  right: 4px;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  content: "";
  -webkit-mask: url("../icons/hugeicons/add-01.svg") center / contain no-repeat;
  mask: url("../icons/hugeicons/add-01.svg") center / contain no-repeat;
  transform: translateY(-50%);
}

.xewex-product-accordion details[open] summary::after {
  -webkit-mask-image: url("../icons/hugeicons/minus-sign.svg");
  mask-image: url("../icons/hugeicons/minus-sign.svg");
}

.xewex-product-accordion details > p,
.xewex-product-accordion details > div {
  margin: 0;
}

.xewex-product-accordion .xewex-stone-product__characteristics,
.xewex-product-accordion .xewex-stone-product__excerpt {
  margin-top: 0;
}

.xewex-product-accordion__content {
  padding: 0 0 18px;
  color: var(--xewex-color-text);
  font-size: 13px;
  line-height: 1.65;
}

.xewex-product-accordion__content > :first-child {
  margin-top: 0;
}

.xewex-product-accordion__content > :last-child {
  margin-bottom: 0;
}

.xewex-product-accordion h3 {
  margin: 20px 0 8px;
  font-size: 18px;
}

.xewex-product-accordion h3:first-child {
  margin-top: 0;
}

.xewex-product-accordion table {
  width: 100%;
  margin: 0 0 16px;
  border-collapse: collapse;
}

.xewex-product-accordion th,
.xewex-product-accordion td {
  padding: 8px 0;
  border-bottom: 1px solid var(--xewex-color-line);
  font-size: 12px;
  text-align: left;
}

.xewex-product-accordion td {
  color: var(--xewex-color-ink);
  font-weight: 600;
  text-align: right;
}

.xewex-jewelry-product__order-button {
  margin-top: 12px;
}

.xewex-stone-product__summary {
  padding-top: clamp(6px, 2vw, 26px);
}

.xewex-stone-product__eyebrow,
.xewex-stone-product__section-kicker {
  margin: 0 0 14px;
  color: var(--xewex-color-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.xewex-stone-product__title {
  max-width: 780px;
  margin: 0;
  color: var(--xewex-color-ink);
  font-size: clamp(25.2px, 3vw, 45.6px);
  font-weight: 400;
  line-height: 1.02;
}

.xewex-stone-product__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 22px;
  margin-top: 30px;
  padding: 18px 0;
  border-top: 1px solid var(--xewex-color-line);
  border-bottom: 1px solid var(--xewex-color-line);
}

.xewex-stone-product__meta p {
  display: grid;
  gap: 4px;
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
}

.xewex-stone-product__meta span {
  color: var(--xewex-color-muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.xewex-stone-product__meta strong {
  min-width: 0;
  font-weight: 500;
}

.xewex-stone-product__meta a {
  text-decoration: none;
}

.xewex-stone-product__price {
  margin-top: 26px;
  color: var(--xewex-color-ink);
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.2;
}

.xewex-stone-product__price del {
  margin-right: 10px;
  color: var(--xewex-color-muted);
  font-size: 0.65em;
}

.xewex-stone-product__price ins {
  text-decoration: none;
}

.xewex-stone-product__stock {
  margin-top: 10px;
  color: var(--xewex-color-muted);
  font-size: 13px;
}

.xewex-stone-product__stock p {
  margin: 0;
}

.xewex-stone-product__certificate-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0 0;
  color: var(--xewex-color-trust);
  font-size: 13px;
  font-weight: 700;
}

.xewex-stone-product__certificate-note::before {
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  background: currentColor;
  content: "";
  -webkit-mask: url("../icons/hugeicons/security-check.svg") center / contain no-repeat;
  mask: url("../icons/hugeicons/security-check.svg") center / contain no-repeat;
}

.xewex-stone-product__characteristics {
  margin-top: 30px;
}

.xewex-stone-product__characteristics h2 {
  margin: 0 0 12px;
  color: var(--xewex-color-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.xewex-stone-product__characteristics dl {
  margin: 0;
  border-top: 1px solid var(--xewex-color-line);
}

.xewex-stone-product__characteristics dl > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 18px;
  margin: 0;
  padding: 11px 0;
  border-bottom: 1px solid var(--xewex-color-line);
  font-size: 13px;
  line-height: 1.4;
}

.xewex-stone-product__characteristics dl > div:last-child {
  border-bottom: 0;
}

.xewex-stone-product__characteristics dt {
  min-width: 0;
  color: var(--xewex-color-muted);
  font-weight: 400;
}

.xewex-stone-product__characteristics dd {
  min-width: 0;
  margin: 0;
  color: var(--xewex-color-ink);
  font-weight: 700;
  overflow-wrap: anywhere;
  text-align: right;
}

.xewex-stone-product__excerpt {
  margin-top: 26px;
  padding: 20px 22px;
  color: var(--xewex-color-text);
  background: var(--xewex-color-surface);
  border-left: 3px solid var(--xewex-color-ink);
  font-size: 14px;
}

.xewex-stone-product__excerpt > :first-child {
  margin-top: 0;
}

.xewex-stone-product__excerpt > :last-child {
  margin-bottom: 0;
}

.xewex-stone-product__cart {
  margin-top: 30px;
}

.woocommerce .xewex-stone-product__cart form.cart {
  margin: 0;
}

.woocommerce .xewex-stone-product__cart form.cart:not(.variations_form) {
  display: flex;
  align-items: stretch;
}

.woocommerce .xewex-stone-product__cart .quantity {
  float: none;
  margin: 0;
}

.woocommerce .xewex-stone-product__cart .quantity .qty {
  width: 78px;
  min-height: 48px;
  padding: 8px;
  color: var(--xewex-color-ink);
  background: var(--xewex-color-background);
  border: 1px solid var(--xewex-color-line);
  border-radius: var(--xewex-radius-button);
  text-align: center;
}

.xewex-stone-product__cart .variations {
  width: 100%;
  margin: 0 0 18px;
  border-collapse: collapse;
}

.xewex-stone-product__cart .variations th,
.xewex-stone-product__cart .variations td {
  padding: 8px 0;
  text-align: left;
}

.xewex-stone-product__cart .variations th {
  width: 34%;
  padding-right: 16px;
  font-size: 12px;
}

.xewex-stone-product__cart .variations select {
  width: 100%;
  min-height: 48px;
  padding: 8px 38px 8px 12px;
  color: var(--xewex-color-ink);
  background: var(--xewex-color-background);
  border: 1px solid var(--xewex-color-line);
  border-radius: var(--xewex-radius-button);
}

.xewex-stone-product__cart .reset_variations {
  display: inline-block;
  margin-top: 6px;
  color: var(--xewex-color-muted);
  font-size: 11px;
}

.xewex-stone-product__cart .single_variation_wrap .woocommerce-variation-price {
  margin-bottom: 14px;
  color: var(--xewex-color-ink);
  font-size: 26px;
}

.xewex-stone-product__cart .woocommerce-variation-add-to-cart {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.xewex-stone-product__sections {
  display: grid;
  gap: 1px;
  background: var(--xewex-color-line-on-surface);
  border: 1px solid var(--xewex-color-line);
  border-radius: var(--xewex-radius-section);
  overflow: hidden;
}

.xewex-stone-product__section {
  min-width: 0;
  padding: clamp(48px, 6vw, 92px);
  background: var(--xewex-color-background);
}

.xewex-stone-product__section--paper {
  background: var(--xewex-color-surface);
  border: 0;
}

.xewex-stone-product__section-copy {
  max-width: 880px;
}

.xewex-stone-product__section h2 {
  margin: 0;
  color: var(--xewex-color-ink);
  font-size: clamp(32px, 4vw, 58px);
  font-weight: 400;
  line-height: 1.08;
}

.xewex-stone-product__section p,
.xewex-stone-product__section li {
  font-size: 15px;
}

.xewex-stone-product__section a {
  color: var(--xewex-color-ink);
}

.xewex-stone-product__section-copy > p:not(.xewex-stone-product__section-kicker),
.xewex-stone-product__section-content {
  margin-top: 24px;
}

.xewex-stone-product__description {
  margin-top: 28px;
}

.xewex-stone-product__description > :first-child,
.xewex-stone-product__section-content > :first-child {
  margin-top: 0;
}

.xewex-stone-product__description > :last-child,
.xewex-stone-product__section-content > :last-child {
  margin-bottom: 0;
}

.xewex-stone-product__section--split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  align-items: start;
  gap: clamp(42px, 7vw, 120px);
}

.xewex-stone-product__section--split .xewex-stone-product__section-content {
  margin-top: 2px;
}

.xewex-stone-product__feature-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.xewex-stone-product__feature-list li {
  position: relative;
  margin: 0;
  padding: 0 0 0 24px;
}

.xewex-stone-product__feature-list li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 12px;
  height: 1px;
  background: var(--xewex-color-ink);
  content: "";
}

.xewex-stone-product__notice {
  margin: 26px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--xewex-color-line);
  font-weight: 700;
}

.xewex-stone-product__section--packaging,
.xewex-stone-product__section--certificate,
.xewex-stone-product__section--contact,
.xewex-stone-product__section--faq {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: clamp(42px, 7vw, 120px);
}

.xewex-stone-product__section.xewex-stone-product__section--packaging {
  grid-template-areas: "copy video";
  align-items: stretch;
  gap: 0;
  padding: 0;
}

.xewex-stone-product__section--packaging .xewex-stone-product__section-copy {
  grid-area: copy;
  align-self: center;
  padding: clamp(48px, 6vw, 92px);
}

.xewex-stone-product__section--certificate,
.xewex-stone-product__section--contact {
  background: var(--xewex-color-surface);
}

.xewex-stone-product__box-purchase {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: 32px;
}

.xewex-stone-product__box-price {
  color: var(--xewex-color-ink);
  font-size: 18px;
  font-weight: 700;
}

.woocommerce .xewex-stone-product a.xewex-stone-product__box-button {
  margin: 0;
}

.xewex-stone-product__certificate-image {
  width: min(100%, 430px);
  margin: 0 auto;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: var(--xewex-radius-panel);
  box-shadow: none;
}

.xewex-stone-product__certificate-image img {
  display: block;
  width: 100%;
  height: auto;
}

.xewex-stone-product__content-video {
  overflow: hidden;
  background: var(--xewex-color-ink);
}

.xewex-stone-product__content-video video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 640px;
  object-fit: contain;
}

.xewex-stone-product__packaging-video {
  grid-area: video;
  width: 100%;
  min-height: clamp(460px, 42vw, 640px);
}

.xewex-stone-product__packaging-video video {
  height: 100%;
  max-height: none;
  object-fit: cover;
}

.xewex-stone-product__section--contact {
  color: #fff;
  background: var(--xewex-color-ink);
}

.xewex-stone-product__section--contact h2,
.xewex-stone-product__section--contact .xewex-stone-product__section-kicker {
  color: inherit;
}

.xewex-stone-product__contact-phone {
  display: inline-block;
  margin-top: 14px;
  color: inherit;
  font-size: clamp(25px, 3vw, 38px);
  text-decoration: none;
}

.xewex-stone-product .xewex-page-messengers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.xewex-stone-product__section--contact a {
  color: inherit;
}

.xewex-stone-product .xewex-page-messenger {
  display: inline-flex;
  width: 68px;
  height: 68px;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 1px solid currentColor;
  border-radius: 50%;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.xewex-stone-product .xewex-page-messenger svg {
  display: block;
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
}

.xewex-stone-product .xewex-page-messenger:hover,
.xewex-stone-product .xewex-page-messenger:focus-visible {
  color: var(--xewex-color-ink);
  background: var(--xewex-color-background);
  transform: translateY(-2px);
}

.xewex-stone-product__section--faq {
  align-items: start;
}

.xewex-stone-product__faq-list {
  border-top: 1px solid var(--xewex-color-line);
}

.xewex-stone-product__faq-list details {
  border-bottom: 1px solid var(--xewex-color-line);
}

.xewex-stone-product__faq-list summary {
  position: relative;
  padding: 20px 42px 20px 0;
  color: var(--xewex-color-ink);
  cursor: pointer;
  font-size: 20px;
  line-height: 1.3;
  list-style: none;
}

.xewex-stone-product__faq-list summary::-webkit-details-marker {
  display: none;
}

.xewex-stone-product__faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 4px;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  content: "";
  -webkit-mask: url("../icons/hugeicons/add-01.svg") center / contain no-repeat;
  mask: url("../icons/hugeicons/add-01.svg") center / contain no-repeat;
  transform: translateY(-50%);
  transition: opacity 160ms ease;
}

.xewex-stone-product__faq-list details[open] summary::after {
  -webkit-mask-image: url("../icons/hugeicons/minus-sign.svg");
  mask-image: url("../icons/hugeicons/minus-sign.svg");
}

.xewex-stone-product__faq-list details p {
  margin: 0 0 22px;
  color: var(--xewex-color-muted);
}

.xewex-stone-product__faq-list details ul {
  display: grid;
  gap: 8px;
  margin: 0 0 22px;
  padding-left: 19px;
  color: var(--xewex-color-muted);
}

.xewex-stone-product__faq-list details li {
  margin: 0;
  font-size: 14px;
}

.xewex-stone-product__related {
  padding: clamp(72px, 8vw, 130px) 0 80px;
}

.xewex-stone-product__related .related > h2,
.xewex-stone-product__related .related-products > .title {
  margin: 0;
  color: var(--xewex-color-ink);
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 400;
  line-height: 1.1;
}

.xewex-stone-product__related .products {
  margin-top: 32px;
}

.xewex-stone-product__related .wd-carousel-container {
  margin: 32px 0 0;
}

.xewex-stone-product__related ul.products > li.product {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  padding-bottom: 18px;
  background: var(--xewex-color-surface);
  border: 0;
  border-radius: var(--xewex-radius-panel);
}

.xewex-stone-product__related ul.products > li.product > a:first-child:not(.button) {
  display: block;
  color: inherit;
  text-decoration: none;
}

.xewex-stone-product__related ul.products > li.product img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0;
  filter: brightness(0.97);
  object-fit: cover;
}

.xewex-stone-product__related ul.products > li.product > div {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.xewex-stone-product__related ul.products > li.product h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
}

.xewex-stone-product__related ul.products > li.product > a:first-child > h2 {
  margin: 16px 18px 0;
}

.xewex-stone-product__related ul.products > li.product h2 a {
  text-decoration: none;
}

.xewex-stone-product__related ul.products > li.product .price,
.xewex-stone-product__related ul.products > li.product [class$="__price"] {
  display: block;
  margin: 10px 18px 0;
  color: var(--xewex-color-ink);
  font-weight: 700;
}

.xewex-stone-product__related ul.products > li.product > div [class$="__price"] {
  margin-right: 0;
  margin-left: 0;
}

.xewex-stone-product__related ul.products > li.product dl {
  display: grid;
  gap: 7px;
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--xewex-color-line);
}

.xewex-stone-product__related ul.products > li.product dl > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  font-size: 11px;
}

.xewex-stone-product__related ul.products > li.product dl dt {
  color: var(--xewex-color-muted);
}

.xewex-stone-product__related ul.products > li.product dl dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}

.xewex-stone-product__related ul.products > li.product > .button {
  align-self: flex-start;
  margin: 16px 18px 0;
}

@media (max-width: 1100px) {
  .xewex-stone-product__hero {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .xewex-stone-product__summary {
    width: 100%;
    max-width: 760px;
    padding-top: 0;
  }

  .xewex-stone-product__section--split,
  .xewex-stone-product__section--packaging,
  .xewex-stone-product__section--certificate,
  .xewex-stone-product__section--contact,
  .xewex-stone-product__section--faq {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .xewex-stone-product__section.xewex-stone-product__section--packaging {
    grid-template-areas:
      "video"
      "copy";
  }

  .xewex-stone-product__packaging-video {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .xewex-stone-product__section-content,
  .xewex-stone-product__faq-list {
    max-width: 840px;
  }

  .xewex-stone-product__certificate-image {
    width: min(100%, 520px);
    margin: 0;
  }

  .xewex-stone-product .xewex-page-messengers {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .single-product .woocommerce-breadcrumb {
    margin-bottom: 20px;
    font-size: 11px;
  }

  .xewex-jewelry-product .woocommerce-product-gallery:has(> .flex-control-thumbs) {
    display: block;
  }

  .xewex-jewelry-product .flex-control-thumbs {
    width: min(100%, 136px);
    max-height: none;
    align-items: center;
    flex-direction: row;
    gap: 8px;
    margin: 10px auto 0;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .xewex-jewelry-product .flex-control-thumbs::-webkit-scrollbar {
    display: none;
  }

  .xewex-jewelry-product .flex-control-thumbs li {
    width: 28px;
    height: 18px;
    flex: 0 0 28px;
    scroll-snap-align: start;
  }

  .xewex-jewelry-product .flex-control-thumbs li::before {
    position: absolute;
    top: 8px;
    right: 0;
    left: 0;
    height: 1px;
    background: var(--xewex-color-line);
    content: "";
  }

  .xewex-jewelry-product .flex-control-thumbs li:has(img.flex-active)::before {
    height: 2px;
    background: var(--xewex-color-ink);
  }

  .xewex-jewelry-product .flex-control-thumbs img,
  .xewex-jewelry-product .flex-control-thumbs img.flex-active {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    outline: 0;
    opacity: 0;
  }

  .xewex-jewelry-product .woocommerce-product-gallery:has(> .flex-control-thumbs) ~ .xewex-video-button--single {
    left: 18px;
  }

  .xewex-stone-product__hero {
    gap: 32px;
    padding-bottom: 60px;
  }

  .xewex-stone-product__title {
    font-size: clamp(19.2px, 5.4vw, 26.4px);
  }

  .xewex-jewelry-product .xewex-stone-product__title {
    font-size: clamp(19.2px, 5.4vw, 26.4px);
  }

  .xewex-stone-product__meta {
    grid-template-columns: 1fr;
  }

  .xewex-stone-product__section {
    padding: 42px 24px;
  }

  .xewex-stone-product__section--packaging .xewex-stone-product__section-copy {
    padding: 42px 24px;
  }

  .xewex-stone-product__faq-list summary {
    font-size: 18px;
  }

  .xewex-stone-product__related {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .woocommerce .xewex-stone-product__cart form.cart:not(.variations_form),
  .xewex-stone-product__cart .woocommerce-variation-add-to-cart {
    align-items: stretch;
    flex-direction: column;
  }

  .woocommerce .xewex-stone-product__cart .quantity .qty {
    width: 100%;
  }

  .woocommerce .xewex-stone-product button.button {
    width: 100%;
  }

  .xewex-stone-product__characteristics dl > div {
    grid-template-columns: minmax(100px, 0.85fr) minmax(0, 1.55fr);
    align-items: start;
    gap: 12px;
    font-size: 12px;
  }

  .xewex-stone-product__characteristics dt,
  .xewex-stone-product__characteristics dd {
    overflow-wrap: normal;
    word-break: normal;
  }

  .xewex-stone-product__section {
    padding: 36px 18px;
  }

  .xewex-stone-product__section--packaging .xewex-stone-product__section-copy {
    padding: 36px 18px;
  }

  .xewex-stone-product .xewex-page-messenger {
    width: 58px;
    height: 58px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .xewex-stone-product .xewex-page-messenger,
  .xewex-stone-product__faq-list summary::after {
    transition: none;
  }
}

/* Replace WooCommerce PhotoSwipe's legacy sprite with local Hugeicons Free. */
.pswp .pswp__button,
.pswp .pswp__button:hover,
.pswp .pswp__button--arrow--left::before,
.pswp .pswp__button--arrow--right::before {
  background-image: none !important;
}

.pswp .pswp__button::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  background-color: #fff;
  content: "";
  -webkit-mask: center / contain no-repeat;
  mask: center / contain no-repeat;
  transform: translate(-50%, -50%);
}

.pswp .pswp__button--zoom::before {
  -webkit-mask-image: url("../icons/hugeicons/zoom-in-area.svg");
  mask-image: url("../icons/hugeicons/zoom-in-area.svg");
}

.pswp .pswp__button--fs::before {
  -webkit-mask-image: url("../icons/hugeicons/full-screen.svg");
  mask-image: url("../icons/hugeicons/full-screen.svg");
}

.pswp .pswp__button--share::before {
  -webkit-mask-image: url("../icons/hugeicons/share-01.svg");
  mask-image: url("../icons/hugeicons/share-01.svg");
}

.pswp .pswp__button--close::before {
  -webkit-mask-image: url("../icons/hugeicons/cancel-01.svg");
  mask-image: url("../icons/hugeicons/cancel-01.svg");
}

.pswp .pswp__button--arrow--left::before {
  -webkit-mask-image: url("../icons/hugeicons/arrow-left-02.svg");
  mask-image: url("../icons/hugeicons/arrow-left-02.svg");
}

.pswp .pswp__button--arrow--right::before {
  -webkit-mask-image: url("../icons/hugeicons/arrow-right-02.svg");
  mask-image: url("../icons/hugeicons/arrow-right-02.svg");
}
