/**
 * 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__gallery,
.xewex-stone-product__summary {
  min-width: 0;
}

.xewex-stone-product__gallery {
  align-self: start;
}

.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 {
  background: var(--xewex-color-surface);
}

.xewex-stone-product .woocommerce-product-gallery__image a {
  display: flex;
  min-height: clamp(420px, 55vw, 760px);
  align-items: center;
  justify-content: center;
}

.xewex-stone-product .woocommerce-product-gallery__image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 760px;
  margin: 0;
  object-fit: contain;
}

.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: 12px;
  height: 12px;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
}

.xewex-stone-product .woocommerce-product-gallery__trigger::after {
  position: absolute;
  width: 7px;
  height: 1px;
  margin: 13px 0 0 13px;
  background: currentColor;
  content: "";
  transform: rotate(45deg);
}

.xewex-stone-product .flex-control-thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.xewex-stone-product .flex-control-thumbs li {
  float: none;
  width: auto;
  margin: 0;
  cursor: pointer;
  list-style: none;
  background: var(--xewex-color-surface);
  border: 1px solid transparent;
}

.xewex-stone-product .flex-control-thumbs img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.xewex-stone-product .flex-control-thumbs img.flex-active {
  outline: 1px solid var(--xewex-color-ink);
  outline-offset: -1px;
}

.xewex-stone-product__gallery-video {
  max-width: 100%;
  overflow: hidden;
  margin-top: 16px;
}

.xewex-stone-product__gallery-video > * {
  max-width: 100%;
}

.xewex-stone-product__gallery-video iframe,
.xewex-stone-product__gallery-video video {
  display: block;
  width: 100%;
  max-width: 100%;
}

.xewex-jewelry-product__hero {
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
  gap: clamp(32px, 4vw, 64px);
}

.xewex-jewelry-product__hero.xewex-stone-product__hero--without-gallery {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}

.xewex-jewelry-product__gallery {
  min-width: 0;
}

.xewex-jewelry-product__gallery-track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.xewex-jewelry-product__gallery-item {
  overflow: hidden;
  margin: 0;
  aspect-ratio: 1;
  background: var(--xewex-color-surface);
}

.xewex-jewelry-product__gallery-item a {
  display: block;
  width: 100%;
  height: 100%;
}

.xewex-jewelry-product__gallery-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.xewex-jewelry-product .xewex-stone-product__title {
  font-size: clamp(30px, 2.5vw, 42px);
}

.xewex-jewelry-product__benefits {
  margin-top: 30px;
  padding: 24px;
  background: var(--xewex-color-surface);
  border: 1px solid var(--xewex-color-line);
}

.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);
}

.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-jewelry-product__summary-details {
  margin-top: 22px;
  border-top: 1px solid var(--xewex-color-line);
}

.xewex-jewelry-product__summary-details details {
  border-bottom: 1px solid var(--xewex-color-line);
}

.xewex-jewelry-product__summary-details summary {
  position: relative;
  padding: 17px 30px 17px 0;
  color: var(--xewex-color-ink);
  font-weight: 600;
  font-size: 14px;
  list-style: none;
  cursor: pointer;
}

.xewex-jewelry-product__summary-details summary::-webkit-details-marker {
  display: none;
}

.xewex-jewelry-product__summary-details summary::before,
.xewex-jewelry-product__summary-details summary::after {
  position: absolute;
  top: 50%;
  right: 4px;
  width: 12px;
  height: 1px;
  background: currentColor;
  content: "";
}

.xewex-jewelry-product__summary-details summary::after {
  transform: rotate(90deg);
}

.xewex-jewelry-product__summary-details details[open] summary::after {
  transform: rotate(0);
}

.xewex-jewelry-product__summary-details details > p,
.xewex-jewelry-product__summary-details details > div {
  margin: 0;
}

.xewex-jewelry-product__summary-details .xewex-stone-product__characteristics,
.xewex-jewelry-product__summary-details .xewex-stone-product__excerpt {
  margin-top: 0;
}

.xewex-jewelry-product__summary-details h3 {
  margin: 20px 0 8px;
  font-size: 18px;
}

.xewex-jewelry-product__summary-details h3:first-child {
  margin-top: 0;
}

.xewex-jewelry-product__summary-details table {
  width: 100%;
  margin: 0 0 16px;
  border-collapse: collapse;
}

.xewex-jewelry-product__summary-details th,
.xewex-jewelry-product__summary-details td {
  padding: 8px 0;
  border-bottom: 1px solid var(--xewex-color-line);
  font-size: 12px;
  text-align: left;
}

.xewex-jewelry-product__summary-details 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(42px, 5vw, 76px);
  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-ink);
  font-size: 13px;
  font-weight: 700;
}

.xewex-stone-product__certificate-note::before {
  display: block;
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  background: var(--xewex-color-ink);
  border-radius: 50%;
  content: "";
}

.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 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;
  gap: 10px;
}

.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: 0;
  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: 0;
}

.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);
  border: 1px solid var(--xewex-color-line);
}

.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);
}

.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--video,
.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--certificate,
.xewex-stone-product__section--contact {
  background: var(--xewex-color-surface);
}

.xewex-stone-product__box-product {
  display: grid;
  grid-template-columns: minmax(120px, 0.8fr) minmax(180px, 1.2fr);
  overflow: hidden;
  background: var(--xewex-color-background);
  border: 1px solid var(--xewex-color-line);
}

.xewex-stone-product__box-product--no-image {
  grid-template-columns: 1fr;
}

.xewex-stone-product__box-media {
  display: flex;
  min-height: 220px;
  align-items: center;
  justify-content: center;
  background: var(--xewex-color-surface);
}

.xewex-stone-product__box-media img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
}

.xewex-stone-product__box-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 28px;
}

.xewex-stone-product__box-body h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
}

.xewex-stone-product__box-body h3 a {
  color: inherit;
  text-decoration: none;
}

.xewex-stone-product__box-price {
  margin-top: 12px;
  color: var(--xewex-color-ink);
  font-size: 18px;
  font-weight: 700;
}

.woocommerce .xewex-stone-product a.xewex-stone-product__box-button {
  margin-top: 20px;
}

.xewex-stone-product__certificate-image {
  width: min(100%, 430px);
  margin: 0 auto;
  padding: 16px;
  background: var(--xewex-color-background);
  border: 1px solid var(--xewex-color-line);
  box-shadow: 0 20px 50px rgba(20, 24, 27, 0.08);
}

.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__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: currentColor;
  stroke: none;
}

.xewex-stone-product .xewex-page-messenger--max svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.xewex-stone-product .xewex-page-messenger--whatsapp svg path:first-child {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.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::before,
.xewex-stone-product__faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 4px;
  width: 16px;
  height: 1px;
  background: currentColor;
  content: "";
  transition: transform 160ms ease;
}

.xewex-stone-product__faq-list summary::after {
  transform: rotate(90deg);
}

.xewex-stone-product__faq-list details[open] summary::after {
  transform: rotate(0);
}

.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-background);
  border: 1px solid var(--xewex-color-line);
}

.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;
  object-fit: cover;
}

.xewex-stone-product__related ul.products > li.product > div {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 18px;
}

.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--video,
  .xewex-stone-product__section--contact,
  .xewex-stone-product__section--faq {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .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-stone-product__hero {
    gap: 32px;
    padding-bottom: 60px;
  }

  .xewex-jewelry-product__gallery-track {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }

  .xewex-jewelry-product__gallery-track::-webkit-scrollbar {
    display: none;
  }

  .xewex-jewelry-product__gallery-item {
    flex: 0 0 88%;
    scroll-snap-align: start;
  }

  .xewex-jewelry-product__gallery-item:only-child {
    flex-basis: 100%;
  }

  .xewex-stone-product .woocommerce-product-gallery__image a {
    min-height: 330px;
  }

  .xewex-stone-product .flex-control-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
  }

  .xewex-stone-product__title {
    font-size: clamp(32px, 9vw, 44px);
  }

  .xewex-jewelry-product .xewex-stone-product__title {
    font-size: clamp(32px, 9vw, 44px);
  }

  .xewex-stone-product__meta {
    grid-template-columns: 1fr;
  }

  .xewex-stone-product__section {
    padding: 42px 24px;
  }

  .xewex-stone-product__box-product {
    grid-template-columns: 1fr;
  }

  .xewex-stone-product__box-media {
    min-height: 260px;
  }

  .xewex-stone-product__faq-list summary {
    font-size: 18px;
  }

  .xewex-stone-product__related {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .xewex-stone-product .woocommerce-product-gallery__image a {
    min-height: 280px;
  }

  .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 {
    gap: 10px;
    font-size: 12px;
  }

  .xewex-stone-product__section {
    padding: 36px 18px;
  }

  .xewex-stone-product__box-body {
    padding: 24px 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::before,
  .xewex-stone-product__faq-list summary::after {
    transition: none;
  }
}
