body.woocommerce-shop .site-main,
body.post-type-archive-product .site-main,
body.tax-product_cat .site-main,
body.tax-product_tag .site-main,
body.single-product .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-checkout:not(.woocommerce-account) .site-main,
body.woocommerce-order-received .site-main {
  color: var(--color-text);
}

/* Einzelprodukt: gemeinsame Primärtasten-Geometrie (Warenkorb = Rezension senden; wie components/buttons.css) */
body.single-product {
  --fv-pdp-cta-radius: 18px;
}

/* —— Single Product: Formavis fv-product-shell (Astra-Container/Primary nur mit .fv-product-layout-active) —— */
body.single-product.fv-product-layout-active .site-content > .ast-container {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
}

body.single-product.fv-product-layout-active .ast-separate-container .site-content > .ast-container,
body.single-product.fv-product-layout-active .ast-plain-container .site-content > .ast-container {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
}

body.single-product.fv-product-layout-active #primary {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  flex: none !important;
  margin: 0 !important;
}

body.single-product.fv-product-layout-active .ast-separate-container .ast-container .ast-row #primary,
body.single-product.fv-product-layout-active .ast-container .ast-row #primary {
  flex: none !important;
  max-width: none !important;
  width: 100% !important;
}

body.single-product.fv-product-layout-active #secondary,
body.single-product.fv-product-layout-active aside#secondary,
body.single-product.fv-product-layout-active .widget-area.secondary {
  display: none !important;
}

/*
 * Astra packt die Produktseite in `article.ast-article-single` — `cards.css` legt darauf ein
 * Raster (–fv-grid-overlay). Mit vollem #primary wirkt das im Light-Modus wie ein Gitter über
 * die ganze Seite. Kartenoptik bleibt nur in `.fv-product-shell`.
 */
body.single-product.fv-product-layout-active.ast-separate-container .site-main article.ast-article-single:not(.ast-related-post),
body.single-product.fv-product-layout-active .site-main article.ast-article-single:not(.ast-related-post) {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.fv-product-page {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.fv-product-shell {
  width: min(100% - 32px, 1280px);
  margin-inline: auto;
  padding: clamp(1.2rem, 1rem + 0.9vw, 1.9rem);
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius-lg) + 0.2rem);
  background:
    linear-gradient(rgba(255, 255, 255, 0.034) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.034) 1px, transparent 1px),
    radial-gradient(circle at top right, color-mix(in srgb, var(--color-accent) 10%, transparent), transparent 38%),
    linear-gradient(180deg, color-mix(in srgb, var(--color-surface) 98%, transparent), color-mix(in srgb, var(--color-bg-elevated) 94%, transparent));
  background-size: 24px 24px, 24px 24px, auto, auto;
  box-shadow: var(--shadow-sm);
  box-sizing: border-box;
}

html[data-theme="light"] .fv-product-shell {
  background:
    linear-gradient(rgba(15, 23, 42, 0.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.038) 1px, transparent 1px),
    radial-gradient(circle at top right, rgba(217, 119, 31, 0.04), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 252, 0.98));
  background-size: 22px 22px, 22px 22px, auto, auto;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    var(--shadow-sm);
}

.fv-product-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.fv-product-media,
.fv-product-summary {
  min-width: 0;
  width: 100%;
}

body.single-product.fv-product-layout-active .fv-product-summary {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  float: none !important;
  clear: none !important;
  margin: 0 !important;
  box-sizing: border-box;
}

.fv-product-breadcrumb {
  min-width: 0;
  width: 100%;
  margin-bottom: 0.35rem;
}

.fv-product-breadcrumb .woocommerce-breadcrumb {
  margin: 0;
}

.fv-product-details,
.fv-product-related {
  width: 100%;
  min-width: 0;
  margin-top: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}

/* Galerie: Woo-Default (häufig 48% + float) und Flexslider-Viewport neutralisieren — nur im fv-Layout. */
body.single-product.fv-product-layout-active .fv-product-media .woocommerce-product-gallery,
body.single-product.fv-product-layout-active .fv-product-media div.images,
body.single-product.fv-product-layout-active
  .fv-product-media
  .woocommerce-product-gallery.woocommerce-product-gallery--with-images {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  float: none !important;
  clear: none !important;
  margin: 0 !important;
  box-sizing: border-box;
}

/*
 * Wichtig: Keine width/max-width !important auf .woocommerce-product-gallery__wrapper —
 * FlexSlider setzt die UL-Breite per JS (Anzahl Slides × Viewport), sonst nur 1. Bild sichtbar.
 */
body.single-product.fv-product-layout-active .fv-product-media .woocommerce-product-gallery__wrapper {
  margin: 0 !important;
}

body.single-product.fv-product-layout-active .fv-product-media .woocommerce-product-gallery__image a,
body.single-product.fv-product-layout-active .fv-product-media .woocommerce-product-gallery__image img {
  max-width: 100%;
  height: auto;
  box-sizing: border-box;
  vertical-align: bottom;
}

/* Sichtfenster: volle Spalte; interne Slides-Positionierung bleibt dem Script überlassen. */
body.single-product.fv-product-layout-active .fv-product-media .flex-viewport {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

body.single-product.fv-product-layout-active .fv-product-media .flex-control-thumbs {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

.fv-product-summary .variations,
.fv-product-summary .variations .value,
.fv-product-summary .variations .value select {
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.fv-product-summary .variations .value {
  display: block;
}

@media (max-width: 1023px) {
  .fv-product-layout {
    grid-template-columns: 1fr;
  }
}

body.woocommerce-shop .woocommerce,
body.post-type-archive-product .woocommerce,
body.tax-product_cat .woocommerce,
body.tax-product_tag .woocommerce,
body.woocommerce-cart .woocommerce,
body.woocommerce-checkout:not(.woocommerce-account) .woocommerce,
body.woocommerce-order-received .woocommerce {
  display: grid;
  gap: clamp(1.25rem, 1vw, 1.75rem);
}

body.woocommerce-shop .woocommerce-result-count,
body.post-type-archive-product .woocommerce-result-count,
body.tax-product_cat .woocommerce-result-count,
body.tax-product_tag .woocommerce-result-count,
body.single-product .product_meta,
body.single-product .woocommerce-tabs .panel,
body.woocommerce-cart .woocommerce,
body.woocommerce-checkout:not(.woocommerce-account) .woocommerce {
  color: var(--color-text-muted);
}

body.woocommerce-shop .woocommerce-ordering select,
body.post-type-archive-product .woocommerce-ordering select,
body.tax-product_cat .woocommerce-ordering select,
body.tax-product_tag .woocommerce-ordering select {
  min-width: min(100%, 16rem);
}

body.woocommerce-shop .woocommerce-products-header,
body.post-type-archive-product .woocommerce-products-header,
body.tax-product_cat .woocommerce-products-header,
body.tax-product_tag .woocommerce-products-header,
body.woocommerce-order-received .woocommerce-order {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--color-surface) 98%, transparent), color-mix(in srgb, var(--color-bg-elevated) 78%, transparent));
  box-shadow: var(--shadow-sm);
}

body.woocommerce-shop .woocommerce-products-header,
body.post-type-archive-product .woocommerce-products-header,
body.tax-product_cat .woocommerce-products-header,
body.tax-product_tag .woocommerce-products-header,
body.woocommerce-order-received .woocommerce-order {
  padding: clamp(1.25rem, 1rem + 1vw, 2rem);
}

body.single-product .woocommerce-tabs,
body.woocommerce-cart .cart_totals,
body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-checkout:not(.woocommerce-account) .col2-set,
body.woocommerce-checkout:not(.woocommerce-account) #order_review_heading,
body.woocommerce-checkout:not(.woocommerce-account) #order_review {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--color-surface) 96%, transparent);
  box-shadow: var(--shadow-sm);
}

body.single-product .woocommerce-tabs,
body.woocommerce-cart .cart_totals,
body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-checkout:not(.woocommerce-account) .col2-set,
body.woocommerce-checkout:not(.woocommerce-account) #order_review_heading,
body.woocommerce-checkout:not(.woocommerce-account) #order_review {
  padding: clamp(1rem, 1rem + 0.8vw, 2rem);
}

/* fv-layout: Tabs, Related, Upsell unterhalb .fv-product-layout, kein altes 2‑Spalten-Grid an #product. */
body.fv-product-layout-active .fv-product-details .woocommerce-tabs,
body.fv-product-layout-active .fv-product-related section.related,
body.fv-product-layout-active .fv-product-related section.up-sells.upsells {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

/* Ähnliche Produkte: eine Zeile, horizontal scrollbar. */
body.single-product section.related > h2 {
  width: 100%;
  max-width: 100%;
  margin: 0 0 1rem;
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.4rem);
}

body.single-product section.related ul.products {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  align-content: flex-start;
  gap: clamp(0.81rem, 0.99vw, 1.08rem);
  margin: 0;
  padding: 0.35rem 0.1rem 0.85rem;
  list-style: none;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
  scroll-snap-type: x mandatory;
  box-sizing: border-box;
}

body.single-product section.related ul.products li.product {
  flex: 0 0 clamp(9.77rem, 37.8vw, 12.6rem);
  max-width: min(12.6rem, 57vw);
  width: auto;
  align-self: stretch;
  min-height: 0;
  scroll-snap-align: start;
}

body.single-product section.related ul.products::after {
  content: "";
  flex: 0 0 0.5rem;
  scroll-snap-align: end;
}

body.single-product.fv-product-layout-active .fv-product-summary {
  margin-bottom: 0;
  min-width: 0;
  width: 100%;
  max-width: none;
  float: none;
  box-sizing: border-box;
}

/* Kauf-Panel: eigenständige Karte (nicht an .summary/.entry-summary gekoppelt). */
body.single-product.fv-product-layout-active .fv-product-summary-inner {
  display: grid;
  gap: 1.1rem;
  align-content: start;
  width: 100%;
  max-width: none;
  min-width: 0;
  box-sizing: border-box;
  padding: clamp(1rem, 1rem + 0.8vw, 2rem);
  border: 1px solid color-mix(in srgb, var(--color-border) 72%, transparent);
  border-radius: var(--radius-lg);
  box-shadow: none;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--color-surface) 90%, transparent), color-mix(in srgb, var(--color-bg-elevated) 72%, transparent));
}

body.single-product.fv-product-layout-active .fv-product-summary-inner > * {
  margin-top: 0;
  margin-bottom: 0;
}

body.single-product.fv-product-layout-active .fv-product-summary-inner .product_title {
  margin-bottom: 0.15rem;
}

body.single-product.fv-product-layout-active .fv-product-summary-inner .price {
  font-size: clamp(1.3rem, 1.18rem + 0.5vw, 1.8rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

body.single-product.fv-product-layout-active .fv-product-summary-inner .woocommerce-product-details__short-description {
  color: var(--color-text-muted);
}

body.single-product.fv-product-layout-active .fv-product-summary-inner .stock,
body.single-product.fv-product-layout-active .fv-product-summary-inner .woocommerce-product-rating {
  color: var(--color-text-muted);
}

body.single-product.fv-product-layout-active .fv-product-summary-inner form.cart,
body.single-product.fv-product-layout-active .fv-product-summary-inner .single_variation_wrap {
  padding-top: 0.75rem;
}

body.single-product.fv-product-layout-active
  .fv-product-media
  .woocommerce-product-gallery__image
  a {
  display: block;
}

body.single-product .woocommerce-tabs ul.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0;
  margin: 0 0 1.25rem;
}

body.single-product .woocommerce-tabs ul.tabs::before,
body.single-product .woocommerce-tabs ul.tabs::after {
  display: none;
}

body.single-product .woocommerce-tabs ul.tabs li {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

body.single-product .woocommerce-tabs ul.tabs li a {
  display: inline-flex;
  align-items: center;
  min-height: 2.8rem;
  padding: 0.65rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--fv-pdp-cta-radius);
  background: color-mix(in srgb, var(--color-surface-soft) 96%, transparent);
  color: var(--color-text);
  font-weight: 700;
  transition:
    border-color var(--transition-fast),
    background-color var(--transition-fast),
    color var(--transition-fast);
}

body.single-product .woocommerce-tabs ul.tabs li.active a,
body.single-product .woocommerce-tabs ul.tabs li a:hover {
  border-color: var(--color-border-strong);
  background: color-mix(in srgb, var(--color-accent) 8%, var(--color-surface));
  color: var(--color-text);
}

body.single-product .woocommerce-tabs .panel {
  padding: 0.4rem 0;
}

body.single-product form.cart {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
  padding-top: 0.4rem;
  border-top: 1px solid color-mix(in srgb, var(--color-border) 70%, transparent);
}

body.single-product .quantity {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.12rem 0.2rem 0.12rem 0.12rem;
  border: 1px solid color-mix(in srgb, var(--color-border) 80%, transparent);
  border-radius: calc(var(--fv-pdp-cta-radius) * 0.6);
  background: color-mix(in srgb, var(--color-surface) 90%, transparent);
}

body.single-product .quantity .qty {
  border-radius: calc(var(--fv-pdp-cta-radius) * 0.45);
}

body.single-product .quantity .minus,
body.single-product .quantity .plus {
  min-width: 2.4rem;
  min-height: 2.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border) !important;
  border-radius: calc(var(--fv-pdp-cta-radius) * 0.5) !important;
  background: color-mix(in srgb, var(--color-surface-soft) 92%, transparent) !important;
  color: var(--color-text) !important;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition:
    border-color var(--transition-fast),
    background-color var(--transition-fast);
}

body.single-product .quantity .minus:hover,
body.single-product .quantity .minus:focus-visible,
body.single-product .quantity .plus:hover,
body.single-product .quantity .plus:focus-visible {
  border-color: var(--color-border-strong) !important;
  background: color-mix(in srgb, var(--color-accent) 8%, var(--color-surface-soft)) !important;
}

body.single-product .single_variation_wrap,
body.single-product .woocommerce-variation-add-to-cart {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

/* Primary-CTA: gleiche Fläche für Warenkorb-Button, External-Link und Rezension absenden (gegen Astra/ Woo, scharfe Ecken) */
/* Astra „Sticky Add to cart“: eigener Wrapper; nicht unter .fv-product-summary-inner */
body.single-product.fv-product-layout-active .fv-product-summary-inner form.cart .single_add_to_cart_button,
body.single-product.fv-product-layout-active .fv-product-summary-inner form.cart button.button.alt[name="add-to-cart"],
body.single-product .woocommerce-variation-add-to-cart .single_add_to_cart_button,
body.single-product.fv-product-layout-active .fv-product-summary-inner a.button.alt.product_type_external,
body.single-product.fv-product-layout-active .fv-product-summary-inner a.button.product_type_external,
body.single-product.fv-product-layout-active.product-type-external .fv-product-summary-inner a.button.alt,
body.single-product .ast-sticky-add-to-cart form.cart .single_add_to_cart_button,
body.single-product .ast-sticky-add-to-cart form.cart button.button.alt[name="add-to-cart"],
body.single-product .ast-sticky-add-to-cart .single_add_to_cart_button,
body.single-product .ast-sticky-add-to-cart a.button.alt.single_link_to_cart_button,
body.single-product .woocommerce #review_form .comment-form input[type="submit"],
body.single-product .woocommerce .woocommerce-Reviews .comment-form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.12rem;
  padding: 0.84rem 1.22rem;
  border: 1px solid color-mix(in srgb, var(--color-accent-strong) 58%, transparent) !important;
  border-radius: var(--fv-pdp-cta-radius) !important;
  background:
    linear-gradient(180deg, color-mix(in srgb, white 8%, var(--color-accent)), color-mix(in srgb, var(--color-accent-strong) 90%, black)) !important;
  box-shadow:
    inset 0 1px 0 var(--fv-highlight-inset),
    0 16px 30px color-mix(in srgb, var(--color-accent) 20%, transparent);
  color: var(--fv-text-on-accent) !important;
  font-size: 1em;
  font-weight: 750;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    filter var(--transition-fast),
    color var(--transition-fast);
}

body.single-product.fv-product-layout-active .fv-product-summary-inner form.cart .single_add_to_cart_button,
body.single-product.fv-product-layout-active .fv-product-summary-inner form.cart button.button.alt[name="add-to-cart"],
body.single-product .woocommerce-variation-add-to-cart .single_add_to_cart_button,
body.single-product.fv-product-layout-active .fv-product-summary-inner a.button.alt.product_type_external,
body.single-product.fv-product-layout-active .fv-product-summary-inner a.button.product_type_external,
body.single-product.fv-product-layout-active.product-type-external .fv-product-summary-inner a.button.alt {
  flex: 1 1 14rem;
}

/* Sticky-Leiste: Button nicht auf volle 14rem-Basis ziehen */
body.single-product .ast-sticky-add-to-cart form.cart .single_add_to_cart_button,
body.single-product .ast-sticky-add-to-cart form.cart button.button.alt[name="add-to-cart"],
body.single-product .ast-sticky-add-to-cart a.button.alt.single_link_to_cart_button {
  flex: 0 1 auto;
}

body.single-product.fv-product-layout-active .fv-product-summary-inner form.cart .single_add_to_cart_button:hover,
body.single-product.fv-product-layout-active .fv-product-summary-inner form.cart .single_add_to_cart_button:focus-visible,
body.single-product.fv-product-layout-active .fv-product-summary-inner form.cart button.button.alt[name="add-to-cart"]:hover,
body.single-product.fv-product-layout-active .fv-product-summary-inner form.cart button.button.alt[name="add-to-cart"]:focus-visible,
body.single-product .woocommerce-variation-add-to-cart .single_add_to_cart_button:hover,
body.single-product .woocommerce-variation-add-to-cart .single_add_to_cart_button:focus-visible,
body.single-product.fv-product-layout-active .fv-product-summary-inner a.button.alt.product_type_external:hover,
body.single-product.fv-product-layout-active .fv-product-summary-inner a.button.alt.product_type_external:focus-visible,
body.single-product.fv-product-layout-active .fv-product-summary-inner a.button.product_type_external:hover,
body.single-product.fv-product-layout-active .fv-product-summary-inner a.button.product_type_external:focus-visible,
body.single-product.fv-product-layout-active.product-type-external .fv-product-summary-inner a.button.alt:hover,
body.single-product.fv-product-layout-active.product-type-external .fv-product-summary-inner a.button.alt:focus-visible,
body.single-product .ast-sticky-add-to-cart .single_add_to_cart_button:hover,
body.single-product .ast-sticky-add-to-cart .single_add_to_cart_button:focus-visible,
body.single-product .ast-sticky-add-to-cart form.cart .button.alt:hover,
body.single-product .ast-sticky-add-to-cart form.cart .button.alt:focus-visible,
body.single-product .ast-sticky-add-to-cart a.single_link_to_cart_button:hover,
body.single-product .ast-sticky-add-to-cart a.single_link_to_cart_button:focus-visible,
body.single-product .woocommerce #review_form .comment-form input[type="submit"]:hover,
body.single-product .woocommerce #review_form .comment-form input[type="submit"]:focus-visible,
body.single-product .woocommerce .woocommerce-Reviews .comment-form input[type="submit"]:hover,
body.single-product .woocommerce .woocommerce-Reviews .comment-form input[type="submit"]:focus-visible {
  border-color: color-mix(in srgb, var(--color-accent) 68%, transparent) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 20px 38px color-mix(in srgb, var(--color-accent) 24%, transparent);
  color: var(--fv-text-on-accent) !important;
  filter: saturate(1.05) brightness(1.02);
}

body.single-product.fv-product-layout-active .fv-product-summary-inner form.cart .single_add_to_cart_button:focus-visible,
body.single-product.fv-product-layout-active .fv-product-summary-inner form.cart button.button.alt[name="add-to-cart"]:focus-visible,
body.single-product .woocommerce-variation-add-to-cart .single_add_to_cart_button:focus-visible,
body.single-product.fv-product-layout-active .fv-product-summary-inner a.button.alt.product_type_external:focus-visible,
body.single-product.fv-product-layout-active .fv-product-summary-inner a.button.product_type_external:focus-visible,
body.single-product.fv-product-layout-active.product-type-external .fv-product-summary-inner a.button.alt:focus-visible,
body.single-product .ast-sticky-add-to-cart .single_add_to_cart_button:focus-visible,
body.single-product .ast-sticky-add-to-cart form.cart .button.alt:focus-visible,
body.single-product .ast-sticky-add-to-cart a.single_link_to_cart_button:focus-visible,
body.single-product .woocommerce #review_form .comment-form input[type="submit"]:focus-visible,
body.single-product .woocommerce .woocommerce-Reviews .comment-form input[type="submit"]:focus-visible {
  outline: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 20px 38px color-mix(in srgb, var(--color-accent) 24%, transparent),
    var(--focus-ring);
}

body.single-product.fv-product-layout-active .fv-product-summary-inner form.cart .single_add_to_cart_button:disabled,
body.single-product .woocommerce-variation-add-to-cart .single_add_to_cart_button:disabled,
body.single-product.fv-product-layout-active .fv-product-summary-inner a.button.product_type_external[aria-disabled="true"],
body.single-product.fv-product-layout-active.product-type-external .fv-product-summary-inner a.button.alt[aria-disabled="true"],
body.single-product .ast-sticky-add-to-cart .single_add_to_cart_button:disabled,
body.single-product .woocommerce #review_form .comment-form input[type="submit"]:disabled,
body.single-product .woocommerce .woocommerce-Reviews .comment-form input[type="submit"]:disabled {
  cursor: not-allowed;
  opacity: 0.6;
  filter: none;
  box-shadow: inset 0 1px 0 var(--fv-highlight-inset);
}

body.single-product .product_meta > span {
  display: block;
  padding-top: 0.45rem;
  color: var(--color-text-muted);
}

body.single-product .product_meta {
  display: grid;
  gap: 0.15rem;
  padding-top: 0.55rem;
  border-top: 1px solid color-mix(in srgb, var(--color-border) 68%, transparent);
}

body.woocommerce-cart .woocommerce .coupon,
body.woocommerce-checkout:not(.woocommerce-account) .woocommerce form .form-row {
  margin-bottom: 0.9rem;
}

body.woocommerce-checkout:not(.woocommerce-account) .woocommerce form .form-row label {
  color: var(--color-text);
  font-weight: 600;
}

body.woocommerce-order-received .woocommerce-order {
  display: grid;
  gap: 1rem;
}

body.woocommerce-order-received .woocommerce-thankyou-order-received {
  margin: 0;
  color: var(--color-text);
  font-size: clamp(1.2rem, 1.1rem + 0.3vw, 1.45rem);
  font-weight: 700;
}

body.woocommerce-order-received ul.woocommerce-order-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.8rem;
  margin: 0;
  padding: 0;
}

body.woocommerce-order-received ul.woocommerce-order-overview li {
  margin: 0;
  padding: 0.9rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--color-surface-soft) 94%, transparent);
  color: var(--color-text-muted);
}

body.woocommerce-order-received ul.woocommerce-order-overview li strong {
  display: block;
  margin-top: 0.3rem;
  color: var(--color-text);
}

body.woocommerce-order-received .woocommerce-order-details,
body.woocommerce-order-received .woocommerce-customer-details {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--color-surface) 96%, transparent);
  box-shadow: var(--shadow-sm);
  padding: clamp(1rem, 1rem + 0.8vw, 1.75rem);
}

body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .cart_totals,
body.woocommerce-checkout:not(.woocommerce-account) .col2-set,
body.woocommerce-checkout:not(.woocommerce-account) #order_review_heading,
body.woocommerce-checkout:not(.woocommerce-account) #order_review {
  overflow: hidden;
}

@media (max-width: 921px) {
  body.single-product.fv-product-layout-active .fv-product-media,
  body.single-product.fv-product-layout-active .fv-product-summary {
    width: 100%;
  }
}

@media (max-width: 768px) {
  body.single-product.fv-product-layout-active .fv-product-summary-inner form.cart .single_add_to_cart_button,
  body.single-product.fv-product-layout-active .fv-product-summary-inner form.cart button.button.alt[name="add-to-cart"],
  body.single-product .woocommerce-variation-add-to-cart .single_add_to_cart_button,
  body.single-product.fv-product-layout-active .fv-product-summary-inner a.button.alt.product_type_external,
  body.single-product.fv-product-layout-active .fv-product-summary-inner a.button.product_type_external,
  body.single-product.fv-product-layout-active.product-type-external .fv-product-summary-inner a.button.alt,
  body.single-product .ast-sticky-add-to-cart form.cart .single_add_to_cart_button,
  body.single-product .ast-sticky-add-to-cart form.cart button.button.alt[name="add-to-cart"],
  body.single-product .ast-sticky-add-to-cart .single_add_to_cart_button,
  body.single-product .ast-sticky-add-to-cart a.button.alt.single_link_to_cart_button,
  body.single-product .woocommerce #review_form .comment-form input[type="submit"],
  body.single-product .woocommerce .woocommerce-Reviews .comment-form input[type="submit"] {
    width: 100%;
  }

  body.single-product.fv-product-layout-active .fv-product-summary-inner,
  body.single-product .woocommerce-tabs,
  body.woocommerce-cart .cart_totals,
  body.woocommerce-cart .woocommerce-cart-form,
  body.woocommerce-checkout:not(.woocommerce-account) .col2-set,
  body.woocommerce-checkout:not(.woocommerce-account) #order_review_heading,
  body.woocommerce-checkout:not(.woocommerce-account) #order_review,
  body.woocommerce-order-received .woocommerce-order,
  body.woocommerce-order-received .woocommerce-order-details,
  body.woocommerce-order-received .woocommerce-customer-details {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  body.single-product form.cart,
  body.single-product .single_variation_wrap,
  body.single-product .woocommerce-variation-add-to-cart {
    display: grid;
    grid-template-columns: 1fr;
  }

  body.woocommerce-order-received ul.woocommerce-order-overview {
    grid-template-columns: 1fr;
  }
}
