/* Stylclo single-product conversion system. Page scoped only. */
body.single-product.stc-pdp-enhanced {
  --stc-pdp-border: #e8d3c5;
  --stc-pdp-chocolate: #4b2d25;
  --stc-pdp-chocolate-dark: #382019;
  --stc-pdp-ivory: #fffaf3;
  --stc-pdp-peach-soft: #fdf0e7;
  --stc-pdp-muted: #796861;
  --stc-pdp-success: #426b51;
  --stc-pdp-card-radius: 18px;
}

body.single-product.stc-pdp-enhanced .summary.entry-summary,
body.single-product.stc-pdp-enhanced .woocommerce-product-gallery {
  font-family: var(--stc-font-body);
}

body.single-product.stc-pdp-enhanced .summary.entry-summary h1,
body.single-product.stc-pdp-enhanced .summary.entry-summary h2,
body.single-product.stc-pdp-enhanced .summary.entry-summary h3 {
  font-family: var(--stc-font-heading);
}

body.single-product.stc-pdp-enhanced .summary.entry-summary button,
body.single-product.stc-pdp-enhanced .summary.entry-summary input,
body.single-product.stc-pdp-enhanced .summary.entry-summary select,
body.single-product.stc-pdp-enhanced .summary.entry-summary .stc-pdp-badge,
body.single-product.stc-pdp-enhanced .summary.entry-summary .stc-pdp-discount,
body.single-product.stc-pdp-enhanced .summary.entry-summary .stc-pdp-order-info__heading,
body.single-product.stc-pdp-enhanced .summary.entry-summary .stc-pdp-snapshot__eyebrow {
  font-family: var(--stc-font-ui);
}

/* Match the approved purchase-card border and keep it shadow-free.
 * Include the existing PDP fold classes so this cleanly outranks
 * the old base-card shadow without relying on !important.
 */
body.single-product.stc-pdp-page.stc-pdp-enhanced
.stc-pdp-fold
.summary.entry-summary {
  border: 1px solid var(--stc-pdp-border);
  border-radius: var(--stc-pdp-card-radius);
  box-shadow: none;
  filter: none;
}

body.single-product.stc-pdp-page.stc-pdp-enhanced
.stc-pdp-fold
.summary.entry-summary::before,
body.single-product.stc-pdp-page.stc-pdp-enhanced
.stc-pdp-fold
.summary.entry-summary::after {
  box-shadow: none;
  filter: none;
}

/* Main gallery: the real border is an overlay above Woo/Blocksy image and zoom layers. */
body.single-product.stc-pdp-enhanced .woocommerce-product-gallery .stc-pdp-main-gallery {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 1 / 1 !important;
  border: 0 !important;
  border-radius: var(--stc-pdp-card-radius) !important;
  background: var(--stc-pdp-ivory);
  box-shadow: none !important;
  filter: none !important;
  overflow: hidden !important;
  isolation: isolate;
  box-sizing: border-box !important;
}

body.single-product.stc-pdp-enhanced .woocommerce-product-gallery .stc-pdp-main-gallery img {
  display: block;
  max-width: 100%;
  border: 0;
  box-shadow: none;
}

/* Blocksy main frame: preserve native slides and zoom while keeping
 * the visible product-image viewport responsive and perfectly square.
 */
body.single-product.stc-pdp-enhanced
.woocommerce-product-gallery
.stc-pdp-main-gallery
> .flexy-items {
  height: 100% !important;
  min-height: 0 !important;
}

body.single-product.stc-pdp-enhanced
.woocommerce-product-gallery
.stc-pdp-main-gallery
> .flexy-items
> .flexy-item {
  height: 100% !important;
  min-height: 0 !important;
}

body.single-product.stc-pdp-enhanced
.woocommerce-product-gallery
.stc-pdp-main-gallery
> .flexy-items
> .flexy-item
> .ct-media-container {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
}

body.single-product.stc-pdp-enhanced
.woocommerce-product-gallery
.stc-pdp-main-gallery
> .flexy-items
> .flexy-item
> .ct-media-container
> img:not(.zoomImg) {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-width: 100% !important;
  max-height: none !important;
  margin: 0 !important;
  object-fit: cover !important;
  object-position: center !important;
}

body.single-product.stc-pdp-enhanced .woocommerce-product-gallery .stc-pdp-gallery-border-overlay {
  position: absolute;
  inset: 0;
  z-index: 80;
  display: block;
  border: 1px solid var(--stc-pdp-border);
  border-radius: inherit;
  background: transparent;
  box-shadow: none;
  outline: 0;
  pointer-events: none;
  box-sizing: border-box;
}

/* Existing title badges: compact rectangular boutique labels. */
body.single-product.stc-pdp-enhanced .summary.entry-summary .stc-pdp-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

body.single-product.stc-pdp-enhanced .summary.entry-summary .stc-pdp-badges .stc-pdp-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  margin: 0;
  padding: 5px 10px;
  border-radius: 6px;
  line-height: 1.15;
  white-space: nowrap;
  box-shadow: none;
  filter: none;
  box-sizing: border-box;
}

/* The approved first fold no longer repeats this trust line. */
body.single-product.stc-pdp-enhanced .summary.entry-summary .stc-pdp-trust-line {
  display: none;
}

/* JS wraps the native Woo price and existing discount element without replacing either. */
body.single-product.stc-pdp-enhanced .summary.entry-summary .stc-pdp-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  margin: 0 0 15px;
  box-sizing: border-box;
}

body.single-product.stc-pdp-enhanced .summary.entry-summary .stc-pdp-price-row > .price {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  width: auto;
  margin: 0;
  padding: 0;
}

body.single-product.stc-pdp-enhanced .summary.entry-summary .stc-pdp-price-row > .price ins,
body.single-product.stc-pdp-enhanced .summary.entry-summary .stc-pdp-price-row > .price del {
  display: inline;
  margin: 0;
}

body.single-product.stc-pdp-enhanced .summary.entry-summary .stc-pdp-price-row .stc-pdp-discount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 30px;
  margin: 0;
  padding: 6px 11px;
  border: 1px solid #d9a18f;
  border-radius: 7px;
  background: #fbe8df;
  color: #7a2e22;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: none !important;
  filter: none !important;
  text-shadow: none !important;
  box-sizing: border-box;
}

body.single-product.stc-pdp-enhanced .summary.entry-summary .stc-pdp-price-row .stc-pdp-discount *,
body.single-product.stc-pdp-enhanced .summary.entry-summary .stc-pdp-price-row .stc-pdp-discount::before,
body.single-product.stc-pdp-enhanced .summary.entry-summary .stc-pdp-price-row .stc-pdp-discount::after {
  color: inherit;
  box-shadow: none !important;
  filter: none !important;
  text-shadow: none !important;
}

/* Product Decision Snapshot replaces the repetitive old bullets only when configured. */
body.single-product.stc-pdp-enhanced.stc-pdp-has-snapshot .summary.entry-summary .stc-pdp-highlights {
  display: none;
}

body.single-product.stc-pdp-enhanced .summary.entry-summary .stc-pdp-snapshot {
  width: 100%;
  margin: 17px 0 18px;
  padding: 0;
  box-sizing: border-box;
}

body.single-product.stc-pdp-enhanced .summary.entry-summary .stc-pdp-snapshot__eyebrow {
  margin: 0 0 5px;
  color: var(--stc-pdp-muted);
  font-size: 11.5px;
  font-weight: 850;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.single-product.stc-pdp-enhanced .summary.entry-summary .stc-pdp-snapshot__heading {
  margin: 0 0 12px;
  color: var(--stc-pdp-chocolate);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

body.single-product.stc-pdp-enhanced .summary.entry-summary .stc-pdp-snapshot__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

body.single-product.stc-pdp-enhanced .summary.entry-summary .stc-pdp-snapshot__item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  min-width: 0;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--stc-pdp-border);
  border-radius: 11px;
  background: var(--stc-pdp-ivory);
  box-shadow: none;
  box-sizing: border-box;
}

body.single-product.stc-pdp-enhanced .summary.entry-summary .stc-pdp-snapshot__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--stc-pdp-border);
  border-radius: 50%;
  background: var(--stc-pdp-peach-soft);
  color: var(--stc-pdp-chocolate);
  box-sizing: border-box;
}

body.single-product.stc-pdp-enhanced .summary.entry-summary .stc-pdp-snapshot__icon svg {
  display: block;
  width: 18px;
  height: 18px;
}

body.single-product.stc-pdp-enhanced .summary.entry-summary .stc-pdp-snapshot__content {
  min-width: 0;
}

body.single-product.stc-pdp-enhanced .summary.entry-summary .stc-pdp-snapshot__content h3 {
  margin: 0 0 3px;
  color: var(--stc-pdp-chocolate);
  font-family: var(--stc-font-ui);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.3;
}

body.single-product.stc-pdp-enhanced .summary.entry-summary .stc-pdp-snapshot__content p {
  margin: 0;
  color: var(--stc-pdp-muted);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.42;
}

/* Blocksy thumbnail rail: one horizontal row with native thumbnails retained. */
body.single-product.stc-pdp-enhanced .woocommerce-product-gallery .flexy-pills.stc-pdp-gallery-rail {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 0 !important;
  margin: 12px 0 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}

body.single-product.stc-pdp-enhanced .woocommerce-product-gallery .flexy-pills.stc-pdp-gallery-rail.stc-pdp-gallery-overflow {
  padding-inline: 54px !important;
}

body.single-product.stc-pdp-enhanced .woocommerce-product-gallery .flexy-pills.stc-pdp-gallery-rail > ol {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 3px !important;
  border: 0 !important;
  background: transparent !important;
  list-style: none !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 3px;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
  box-sizing: border-box !important;
}

body.single-product.stc-pdp-enhanced .woocommerce-product-gallery .flexy-pills.stc-pdp-gallery-rail > ol::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

body.single-product.stc-pdp-enhanced .woocommerce-product-gallery .flexy-pills.stc-pdp-gallery-rail > ol > li {
  position: relative !important;
  float: none !important;
  flex: 0 0 calc((100% - 40px) / 5) !important;
  width: calc((100% - 40px) / 5) !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  list-style: none !important;
  scroll-snap-align: start;
  box-sizing: border-box !important;
}

body.single-product.stc-pdp-enhanced .woocommerce-product-gallery .flexy-pills.stc-pdp-gallery-rail > ol > li .ct-media-container {
  position: relative;
  display: block !important;
  width: 100% !important;
  aspect-ratio: 1 / 1;
  border-radius: 11px !important;
  background: var(--stc-pdp-ivory) !important;
  overflow: hidden !important;
  cursor: pointer;
  box-sizing: border-box !important;
}

body.single-product.stc-pdp-enhanced .woocommerce-product-gallery .flexy-pills.stc-pdp-gallery-rail > ol > li img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #d8bdaa !important;
  border-radius: 11px !important;
  background: var(--stc-pdp-ivory) !important;
  object-fit: cover !important;
  object-position: center !important;
  opacity: 0.84;
  cursor: pointer;
  box-shadow: none !important;
  user-select: none;
  -webkit-user-drag: none;
  transform: translateY(0);
  transition: opacity 160ms ease, border-color 160ms ease, transform 160ms ease;
  box-sizing: border-box !important;
}

body.single-product.stc-pdp-enhanced .woocommerce-product-gallery .flexy-pills.stc-pdp-gallery-rail > ol > li:hover img {
  border-color: #b68d78 !important;
  opacity: 1;
  transform: translateY(-1px);
}

body.single-product.stc-pdp-enhanced .woocommerce-product-gallery .flexy-pills.stc-pdp-gallery-rail > ol > li.active img {
  border: 2px solid var(--stc-pdp-chocolate) !important;
  opacity: 1;
  box-shadow: 0 0 0 3px rgba(75, 45, 37, 0.12) !important;
  transform: none;
}

body.single-product.stc-pdp-enhanced .woocommerce-product-gallery .stc-pdp-gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 1.5px solid #b78e79;
  border-radius: 50%;
  background: var(--stc-pdp-ivory);
  color: var(--stc-pdp-chocolate);
  cursor: pointer;
  box-shadow: none;
  transform: translateY(-50%);
  appearance: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, opacity 160ms ease, transform 160ms ease;
  box-sizing: border-box;
}

body.single-product.stc-pdp-enhanced .woocommerce-product-gallery .stc-pdp-gallery-overflow > .stc-pdp-gallery-nav {
  display: inline-flex;
}

body.single-product.stc-pdp-enhanced .woocommerce-product-gallery .stc-pdp-gallery-prev {
  left: 2px;
}

body.single-product.stc-pdp-enhanced .woocommerce-product-gallery .stc-pdp-gallery-next {
  right: 2px;
}

body.single-product.stc-pdp-enhanced .woocommerce-product-gallery .stc-pdp-gallery-nav svg {
  display: block;
  width: 19px;
  height: 19px;
  pointer-events: none;
}

body.single-product.stc-pdp-enhanced .woocommerce-product-gallery .stc-pdp-gallery-nav:hover:not(:disabled) {
  border-color: var(--stc-pdp-chocolate);
  background: var(--stc-pdp-chocolate);
  color: var(--stc-pdp-ivory);
  transform: translateY(-50%) scale(1.03);
}

body.single-product.stc-pdp-enhanced .woocommerce-product-gallery .stc-pdp-gallery-nav:disabled {
  border-color: #dfcabc;
  background: #fbf6ed;
  color: #9f8172;
  opacity: 0.35;
  cursor: default;
}

body.single-product.stc-pdp-enhanced .stc-pdp-visually-hidden {
  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;
}

/* Native Woo/Blocksy purchase form remains functional. */
body.single-product.stc-pdp-enhanced .summary.entry-summary form.cart,
body.single-product.stc-pdp-enhanced .summary.entry-summary form.cart .ct-cart-actions {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  align-items: stretch !important;
  gap: 10px !important;
  width: 100% !important;
  margin: 0 !important;
}

body.single-product.stc-pdp-enhanced .summary.entry-summary form.cart .quantity {
  position: relative !important;
  justify-self: start !important;
  width: 142px !important;
  min-width: 142px !important;
  max-width: 142px !important;
  min-height: 48px !important;
  margin: 24px 0 0 !important;
  border: 1px solid var(--stc-pdp-border) !important;
  border-radius: 10px !important;
  background: #fff !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}

body.single-product.stc-pdp-enhanced .summary.entry-summary form.cart .quantity::before {
  position: absolute;
  top: -22px;
  left: 0;
  display: block;
  color: var(--stc-pdp-chocolate);
  font-family: var(--stc-font-ui);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  content: "Quantity";
  pointer-events: none;
  white-space: nowrap;
}

body.single-product.stc-pdp-enhanced .summary.entry-summary form.cart .quantity input.qty {
  width: 100% !important;
  min-width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 0 44px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: var(--stc-pdp-chocolate) !important;
  font-family: var(--stc-font-ui);
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 48px !important;
  text-align: center !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

body.single-product.stc-pdp-enhanced .summary.entry-summary form.cart .quantity .ct-decrease,
body.single-product.stc-pdp-enhanced .summary.entry-summary form.cart .quantity .ct-increase,
body.single-product.stc-pdp-enhanced .summary.entry-summary form.cart .quantity button,
body.single-product.stc-pdp-enhanced .summary.entry-summary form.cart .quantity input[type="button"] {
  width: 44px !important;
  min-width: 44px !important;
  height: 48px !important;
  min-height: 48px !important;
  border-radius: 0 !important;
  color: var(--stc-pdp-chocolate) !important;
  font-family: var(--stc-font-ui);
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 48px !important;
  cursor: pointer !important;
  box-shadow: none !important;
}

body.single-product.stc-pdp-enhanced .summary.entry-summary form.cart .quantity .ct-decrease {
  border-right: 1px solid var(--stc-pdp-border) !important;
}

body.single-product.stc-pdp-enhanced .summary.entry-summary form.cart .quantity .ct-increase {
  border-left: 1px solid var(--stc-pdp-border) !important;
}

body.single-product.stc-pdp-enhanced .summary.entry-summary form.cart .single_add_to_cart_button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  grid-column: 1 / -1 !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: none !important;
  min-height: 54px !important;
  margin: 0 !important;
  padding: 13px 20px !important;
  border: 1px solid var(--stc-pdp-chocolate) !important;
  border-radius: 11px !important;
  background: var(--stc-pdp-chocolate) !important;
  color: var(--stc-pdp-ivory) !important;
  font-family: var(--stc-font-ui);
  font-size: 15px !important;
  font-weight: 850 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  box-shadow: none !important;
}

body.single-product.stc-pdp-enhanced .summary.entry-summary form.cart .single_add_to_cart_button:hover {
  border-color: var(--stc-pdp-chocolate-dark) !important;
  background: var(--stc-pdp-chocolate-dark) !important;
  color: var(--stc-pdp-ivory) !important;
}

body.single-product.stc-pdp-enhanced .summary.entry-summary .stc-pdp-secondary-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

body.single-product.stc-pdp-enhanced .summary.entry-summary .stc-pdp-secondary-actions .stc-pdp-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin: 0;
  padding: 11px 14px;
  border: 1px solid var(--stc-pdp-chocolate);
  border-radius: 11px;
  background: transparent;
  color: var(--stc-pdp-chocolate);
  font-family: var(--stc-font-ui);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  box-shadow: none;
  box-sizing: border-box;
}

body.single-product.stc-pdp-enhanced .summary.entry-summary .stc-pdp-secondary-actions .stc-pdp-buy-now {
  background: var(--stc-pdp-peach-soft);
}

/* Technical metadata is removed through a Woo hook; these are compatibility fallbacks. */
body.single-product.stc-pdp-enhanced .summary.entry-summary .product_meta,
body.single-product.stc-pdp-enhanced .summary.entry-summary .stc-pdp-confidence-card,
body.single-product.stc-pdp-enhanced .summary.entry-summary #stc-client-pdp-policy-v1 {
  display: none !important;
}

/* Delivery and order information after the real purchase actions. */
body.single-product.stc-pdp-enhanced .summary.entry-summary .stc-pdp-order-info {
  display: block;
  width: 100%;
  margin: 17px 0 0;
  padding: 17px;
  border: 1px solid var(--stc-pdp-border);
  border-radius: 13px;
  background: var(--stc-pdp-peach-soft);
  box-shadow: none;
  box-sizing: border-box;
}

body.single-product.stc-pdp-enhanced .summary.entry-summary .stc-pdp-order-info__heading {
  margin: 0 0 13px;
  color: var(--stc-pdp-chocolate);
  font-size: 13.5px;
  font-weight: 850;
  line-height: 1.3;
}

body.single-product.stc-pdp-enhanced .summary.entry-summary .stc-pdp-order-info__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 15px;
}

body.single-product.stc-pdp-enhanced .summary.entry-summary .stc-pdp-order-info__item {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  min-width: 0;
}

body.single-product.stc-pdp-enhanced .summary.entry-summary .stc-pdp-order-info__check {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #edf5eb;
  color: var(--stc-pdp-success);
  font-family: var(--stc-font-ui);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

body.single-product.stc-pdp-enhanced .summary.entry-summary .stc-pdp-order-info__item > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

body.single-product.stc-pdp-enhanced .summary.entry-summary .stc-pdp-order-info__item strong {
  color: var(--stc-pdp-chocolate);
  font-family: var(--stc-font-ui);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
}

body.single-product.stc-pdp-enhanced .summary.entry-summary .stc-pdp-order-info__item span:not(.stc-pdp-order-info__check) {
  color: var(--stc-pdp-muted);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.42;
}

/* Native Woo review form boutique styling. */
body.single-product.stc-pdp-enhanced .stc-pdp-native-reviews #respond {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.single-product.stc-pdp-enhanced .stc-pdp-native-reviews #reply-title {
  display: block;
  margin: 0 0 14px;
  color: var(--stc-pdp-chocolate);
  font-family: var(--stc-font-heading);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

body.single-product.stc-pdp-enhanced .stc-pdp-native-reviews .comment-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px 16px;
  margin: 0;
}

body.single-product.stc-pdp-enhanced .stc-pdp-native-reviews .comment-form-rating,
body.single-product.stc-pdp-enhanced .stc-pdp-native-reviews .comment-form-comment,
body.single-product.stc-pdp-enhanced .stc-pdp-native-reviews .comment-form-cookies-consent,
body.single-product.stc-pdp-enhanced .stc-pdp-native-reviews .comment-notes,
body.single-product.stc-pdp-enhanced .stc-pdp-native-reviews .form-submit {
  grid-column: 1 / -1;
}

body.single-product.stc-pdp-enhanced .stc-pdp-native-reviews input[type="text"],
body.single-product.stc-pdp-enhanced .stc-pdp-native-reviews input[type="email"],
body.single-product.stc-pdp-enhanced .stc-pdp-native-reviews textarea,
body.single-product.stc-pdp-enhanced .stc-pdp-native-reviews select {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--stc-pdp-border);
  border-radius: 10px;
  background: var(--stc-pdp-ivory);
  color: var(--stc-pdp-chocolate);
  font-family: var(--stc-font-body);
  font-size: 14px;
  line-height: 1.45;
  box-shadow: none;
  box-sizing: border-box;
}

body.single-product.stc-pdp-enhanced .stc-pdp-native-reviews textarea {
  min-height: 150px;
  resize: vertical;
}

body.single-product.stc-pdp-enhanced .stc-pdp-native-reviews .form-submit input[type="submit"],
body.single-product.stc-pdp-enhanced .stc-pdp-native-reviews #submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 160px;
  min-height: 48px;
  margin: 2px 0 0;
  padding: 11px 22px;
  border: 1px solid var(--stc-pdp-chocolate) !important;
  border-radius: 10px !important;
  background: var(--stc-pdp-chocolate) !important;
  color: var(--stc-pdp-ivory) !important;
  font-family: var(--stc-font-ui);
  font-size: 14px !important;
  font-weight: 850 !important;
  line-height: 1.2 !important;
  box-shadow: none !important;
  cursor: pointer;
}

@media (max-width: 999px) {
  body.single-product.stc-pdp-enhanced .woocommerce-product-gallery .flexy-pills.stc-pdp-gallery-rail > ol > li {
    flex-basis: calc((100% - 30px) / 4) !important;
    width: calc((100% - 30px) / 4) !important;
  }
}

@media (max-width: 767px) {
  body.single-product.stc-pdp-enhanced {
    --stc-pdp-card-radius: 16px;
  }

  body.single-product.stc-pdp-enhanced .woocommerce-product-gallery .flexy-pills.stc-pdp-gallery-rail.stc-pdp-gallery-overflow {
    padding-inline: 50px !important;
  }

  body.single-product.stc-pdp-enhanced .woocommerce-product-gallery .flexy-pills.stc-pdp-gallery-rail > ol {
    gap: 8px !important;
  }

  body.single-product.stc-pdp-enhanced .woocommerce-product-gallery .flexy-pills.stc-pdp-gallery-rail > ol > li {
    flex-basis: calc((100% - 16px) / 3) !important;
    width: calc((100% - 16px) / 3) !important;
  }

  body.single-product.stc-pdp-enhanced .summary.entry-summary .stc-pdp-price-row {
    gap: 8px;
    margin-bottom: 13px;
  }

  body.single-product.stc-pdp-enhanced .summary.entry-summary .stc-pdp-price-row .stc-pdp-discount {
    min-height: 28px;
    padding: 5px 9px;
    font-size: 12.5px;
  }

  body.single-product.stc-pdp-enhanced .summary.entry-summary .stc-pdp-snapshot__grid,
  body.single-product.stc-pdp-enhanced .summary.entry-summary .stc-pdp-order-info__grid,
  body.single-product.stc-pdp-enhanced .stc-pdp-native-reviews .comment-form {
    grid-template-columns: minmax(0, 1fr);
  }

  body.single-product.stc-pdp-enhanced .summary.entry-summary .stc-pdp-snapshot__item {
    padding: 13px;
  }

  body.single-product.stc-pdp-enhanced .summary.entry-summary .stc-pdp-snapshot__content p,
  body.single-product.stc-pdp-enhanced .summary.entry-summary .stc-pdp-order-info__item span:not(.stc-pdp-order-info__check) {
    font-size: 13.5px;
  }

  body.single-product.stc-pdp-enhanced .summary.entry-summary .stc-pdp-secondary-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  body.single-product.stc-pdp-enhanced .stc-pdp-native-reviews .form-submit input[type="submit"],
  body.single-product.stc-pdp-enhanced .stc-pdp-native-reviews #submit {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.single-product.stc-pdp-enhanced .woocommerce-product-gallery .flexy-pills.stc-pdp-gallery-rail > ol {
    scroll-behavior: auto !important;
  }

  body.single-product.stc-pdp-enhanced .woocommerce-product-gallery .flexy-pills.stc-pdp-gallery-rail > ol > li img,
  body.single-product.stc-pdp-enhanced .woocommerce-product-gallery .stc-pdp-gallery-nav {
    transition: none !important;
  }
}
