body.single-product.pf2026-theme { background:var(--pf-cream); }
body.single-product.pf2026-theme .site-content { padding-block:clamp(1.5rem,3vw,3rem) clamp(3.5rem,6vw,6rem)!important; }
body.single-product.pf2026-theme .content-area { width:100%!important; }
body.single-product.pf2026-theme #right-sidebar,
body.single-product.pf2026-theme #left-sidebar { display:none!important; }
body.single-product.pf2026-theme .woocommerce-breadcrumb { width:var(--pf-shell); margin:0 auto var(--pf-space-3)!important; color:var(--pf-ink-soft); font-size:var(--pf-fs-xs); }
body.single-product.pf2026-theme .woocommerce-notices-wrapper { width:var(--pf-shell); margin-inline:auto; }

body.single-product.pf2026-theme div.product.pf-product-layout { display:block!important; width:var(--pf-shell); margin:0 auto!important; color:var(--pf-ink); clear:both; }
.pf-product-stage { display:grid; gap:var(--pf-space-5); align-items:start; }
.pf-product-stage__gallery, .pf-product-stage__summary { min-width:0; }
body.single-product.pf2026-theme .pf-product-stage__gallery .woocommerce-product-gallery { float:none!important; width:100%!important; margin:0!important; }
body.single-product.pf2026-theme .woocommerce-product-gallery__wrapper { overflow:hidden; background:var(--pf-cream-2); border:.0625rem solid var(--pf-line); }
body.single-product.pf2026-theme .woocommerce-product-gallery__image a { display:block; }
body.single-product.pf2026-theme .woocommerce-product-gallery__image img { display:block; width:100%!important; height:auto!important; }
body.single-product.pf2026-theme .woocommerce-product-gallery__trigger { top:var(--pf-space-2)!important; right:var(--pf-space-2)!important; width:clamp(2.45rem,2.3rem + .3vw,2.7rem)!important; height:clamp(2.45rem,2.3rem + .3vw,2.7rem)!important; border-radius:50%!important; background:var(--pf-paper)!important; box-shadow:var(--pf-shadow-sm)!important; }
body.single-product.pf2026-theme .flex-control-thumbs { display:grid!important; grid-template-columns:repeat(4,minmax(0,1fr)); gap:var(--pf-space-2)!important; margin:var(--pf-space-2) 0 0!important; padding:0!important; }
body.single-product.pf2026-theme .flex-control-thumbs li { float:none!important; width:auto!important; margin:0!important; }
body.single-product.pf2026-theme .flex-control-thumbs img { display:block; width:100%!important; aspect-ratio:1.25/1; object-fit:cover; border:.0625rem solid transparent; opacity:.7; transition:opacity var(--pf-transition-fast), border-color var(--pf-transition-fast), transform var(--pf-transition-fast); }
body.single-product.pf2026-theme .flex-control-thumbs img.flex-active,
body.single-product.pf2026-theme .flex-control-thumbs img:hover { opacity:1; border-color:var(--pf-peach-deep); transform:translateY(-.05rem); }

.pf-product-stage__summary { padding:clamp(1.4rem,2.6vw,2.4rem); background:var(--pf-paper); border:.0625rem solid var(--pf-line); box-shadow:var(--pf-shadow-sm); }
body.single-product.pf2026-theme .pf-product-stage__summary .product_title { margin:0 0 var(--pf-space-2)!important; padding:0!important; color:var(--pf-ink)!important; font-family:var(--pf-display)!important; font-size:clamp(2rem,1.7rem + 1.2vw,3.25rem)!important; line-height:1.02!important; font-weight:400!important; letter-spacing:-.03em!important; text-align:left!important; background:none!important; border:0!important; }
body.single-product.pf2026-theme .pf-product-stage__summary .product_title::before,
body.single-product.pf2026-theme .pf-product-stage__summary .product_title::after { display:none!important; content:none!important; }
body.single-product.pf2026-theme .pf-product-stage__summary > .price,
body.single-product.pf2026-theme .pf-product-stage__summary .woocommerce-variation-price .price { margin:0 0 var(--pf-space-2)!important; color:var(--pf-cocoa)!important; font-size:clamp(1.18rem,1.08rem + .3vw,1.4rem)!important; font-weight:800!important; }
body.single-product.pf2026-theme .pf-product-stage__summary .price * { color:inherit!important; }
body.single-product.pf2026-theme .woocommerce-product-details__short-description { margin:0 0 var(--pf-space-4)!important; color:var(--pf-ink-soft)!important; font-size:var(--pf-fs-body)!important; line-height:1.65!important; }

/* WooCommerce native variation table stays the data source. */
body.single-product.pf2026-theme form.cart,
body.single-product.pf2026-theme form.variations_form { margin-top:var(--pf-space-3)!important; }
body.single-product.pf2026-theme table.variations { width:100%!important; margin:0 0 var(--pf-space-3)!important; border-collapse:separate!important; border-spacing:0!important; }
body.single-product.pf2026-theme table.variations tr { display:grid; gap:.45rem; padding:var(--pf-space-2) 0; border-bottom:.0625rem solid var(--pf-line); }
body.single-product.pf2026-theme table.variations th,
body.single-product.pf2026-theme table.variations td { display:block; width:100%!important; padding:0!important; border:0!important; background:none!important; text-align:left!important; }
body.single-product.pf2026-theme table.variations label { margin:0!important; padding:0!important; color:var(--pf-ink)!important; font-size:var(--pf-fs-xs)!important; font-weight:800!important; }
body.single-product.pf2026-theme table.variations select { width:100%; }
body.single-product.pf2026-theme .reset_variations { display:inline-block; margin-top:.4rem; color:var(--pf-cocoa); font-size:var(--pf-fs-xs); }

/* Legacy swatches are retained functionally but visually normalized to the new system. */
body.single-product.pf2026-theme .pf-product-stage__summary .custom-attribute-swatches { display:flex; flex-wrap:wrap; gap:.45rem; margin:.35rem 0 0!important; }
body.single-product.pf2026-theme .pf-product-stage__summary .custom-attribute-swatches button { min-height:clamp(2.25rem,2.1rem + .25vw,2.45rem); margin:0!important; padding:.55em .8em!important; border:.0625rem solid rgba(135,84,60,.28)!important; border-radius:99rem!important; background:var(--pf-paper)!important; color:var(--pf-ink)!important; font-size:var(--pf-fs-xs)!important; font-weight:700!important; box-shadow:none!important; }
body.single-product.pf2026-theme .pf-product-stage__summary .custom-attribute-swatches button:hover,
body.single-product.pf2026-theme .pf-product-stage__summary .custom-attribute-swatches button.selected { border-color:var(--pf-cocoa)!important; background:var(--pf-peach-soft)!important; color:var(--pf-ink)!important; }

body.single-product.pf2026-theme .single_variation_wrap { margin-top:var(--pf-space-3); }
body.single-product.pf2026-theme .woocommerce-variation-description { color:var(--pf-ink-soft); font-size:var(--pf-fs-sm); }
body.single-product.pf2026-theme form.cart .quantity { margin:0 var(--pf-space-2) 0 0!important; }
body.single-product.pf2026-theme form.cart .quantity .qty { min-height:clamp(2.8rem,2.65rem + .3vw,3rem)!important; border:.0625rem solid var(--pf-line-strong)!important; background:var(--pf-paper)!important; color:var(--pf-ink)!important; }
body.single-product.pf2026-theme form.cart .single_add_to_cart_button { min-height:clamp(2.8rem,2.65rem + .3vw,3rem)!important; padding-inline:clamp(1rem,.85rem + .45vw,1.4rem)!important; border:.0625rem solid var(--pf-cocoa)!important; border-radius:var(--pf-radius-xs)!important; background:var(--pf-cocoa)!important; color:#fff!important; font-size:var(--pf-fs-sm)!important; font-weight:800!important; box-shadow:none!important; }
body.single-product.pf2026-theme form.cart .single_add_to_cart_button:hover:not(:disabled) { background:var(--pf-cocoa-deep)!important; border-color:var(--pf-cocoa-deep)!important; }
body.single-product.pf2026-theme .product_meta { margin-top:var(--pf-space-4)!important; padding-top:var(--pf-space-3)!important; border-top:.0625rem solid var(--pf-line)!important; color:var(--pf-ink-soft)!important; font-size:var(--pf-fs-xs)!important; line-height:1.6!important; }
body.single-product.pf2026-theme .product_meta > span { display:block; }

/* YayExtra/legacy custom fields inherit the brand instead of the old peach page skin. */
body.single-product.pf2026-theme .pf-product-stage__summary input,
body.single-product.pf2026-theme .pf-product-stage__summary textarea,
body.single-product.pf2026-theme .pf-product-stage__summary select { color:var(--pf-ink); }
body.single-product.pf2026-theme .pf-product-stage__summary .gravur-hilfe-link,
body.single-product.pf2026-theme .pf-product-stage__summary .messanleitung-link,
body.single-product.pf2026-theme .pf-product-stage__summary .farbwahl-link,
body.single-product.pf2026-theme .pf-product-stage__summary .leine-hilfe-link { color:var(--pf-cocoa)!important; font-size:var(--pf-fs-xs)!important; }

/* Internal PF configurator: theme-level visual integration only. Business logic stays in the plugin. */
body.single-product.pf2026-theme .pfc-configurator { margin-top:var(--pf-space-3)!important; border:.0625rem solid var(--pf-line)!important; border-radius:var(--pf-radius-sm)!important; background:var(--pf-paper)!important; box-shadow:none!important; }
body.single-product.pf2026-theme .pfc-configurator__head { padding:var(--pf-space-4)!important; background:var(--pf-cream-2)!important; }
body.single-product.pf2026-theme .pfc-configurator__head h3 { font-family:var(--pf-display)!important; font-size:var(--pf-fs-h3)!important; font-weight:400!important; color:var(--pf-ink)!important; }
body.single-product.pf2026-theme .pfc-kicker { color:var(--pf-peach-deep)!important; font-size:var(--pf-fs-xs)!important; }
body.single-product.pf2026-theme .pfc-step { padding:var(--pf-space-4)!important; }
body.single-product.pf2026-theme .pfc-step__number,
body.single-product.pf2026-theme .pfc-native-stage__number { background:var(--pf-peach)!important; color:var(--pf-black)!important; }
body.single-product.pf2026-theme .pfc-variation-pill { border-color:rgba(135,84,60,.28)!important; background:var(--pf-paper)!important; color:var(--pf-ink)!important; }
body.single-product.pf2026-theme .pfc-variation-pill.is-selected { border-color:var(--pf-cocoa)!important; background:var(--pf-cocoa)!important; color:#fff!important; }
body.single-product.pf2026-theme .pfc-color-slot { border-color:var(--pf-line)!important; background:var(--pf-paper)!important; }
body.single-product.pf2026-theme .pfc-choice-toggle__control { background:var(--pf-peach)!important; }

/* Below-the-fold product content */
.pf-product-after { margin-top:var(--pf-space-6); }
body.single-product.pf2026-theme .woocommerce-tabs { margin:0!important; padding:0!important; border:0!important; background:transparent!important; box-shadow:none!important; }
body.single-product.pf2026-theme .woocommerce-tabs ul.tabs { display:flex!important; flex-wrap:wrap!important; gap:.45rem!important; margin:0 0 var(--pf-space-4)!important; padding:0!important; border:0!important; }
body.single-product.pf2026-theme .woocommerce-tabs ul.tabs::before,
body.single-product.pf2026-theme .woocommerce-tabs ul.tabs li::before,
body.single-product.pf2026-theme .woocommerce-tabs ul.tabs li::after { display:none!important; content:none!important; }
body.single-product.pf2026-theme .woocommerce-tabs ul.tabs li { margin:0!important; padding:0!important; border:.0625rem solid var(--pf-line)!important; border-radius:0!important; background:var(--pf-paper)!important; }
body.single-product.pf2026-theme .woocommerce-tabs ul.tabs li.active { border-color:var(--pf-cocoa)!important; background:var(--pf-cocoa)!important; }
body.single-product.pf2026-theme .woocommerce-tabs ul.tabs li a { padding:.72em 1em!important; color:var(--pf-ink)!important; font-size:var(--pf-fs-xs)!important; font-weight:750!important; }
body.single-product.pf2026-theme .woocommerce-tabs ul.tabs li.active a { color:#fff!important; }
body.single-product.pf2026-theme .woocommerce-tabs .panel { margin:0!important; padding:clamp(1.4rem,2.8vw,2.6rem)!important; border:.0625rem solid var(--pf-line)!important; background:var(--pf-paper)!important; color:var(--pf-ink-soft)!important; line-height:1.72!important; }
body.single-product.pf2026-theme .woocommerce-tabs .panel h2,
body.single-product.pf2026-theme .woocommerce-tabs .panel h3 { color:var(--pf-ink)!important; font-family:var(--pf-display)!important; font-weight:400!important; }
body.single-product.pf2026-theme .woocommerce-tabs .panel h2 { font-size:var(--pf-fs-h2)!important; }
body.single-product.pf2026-theme .woocommerce-tabs .panel h3 { font-size:var(--pf-fs-h3)!important; }
body.single-product.pf2026-theme .related.products,
body.single-product.pf2026-theme .upsells.products { margin-top:var(--pf-space-6)!important; }
body.single-product.pf2026-theme .related.products > h2,
body.single-product.pf2026-theme .upsells.products > h2 { margin:0 0 var(--pf-space-4)!important; color:var(--pf-ink)!important; font-family:var(--pf-display)!important; font-size:var(--pf-fs-h2)!important; font-weight:400!important; }
body.single-product.pf2026-theme .related.products ul.products,
body.single-product.pf2026-theme .upsells.products ul.products { display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr)); gap:var(--pf-space-3)!important; }
body.single-product.pf2026-theme .related.products ul.products li.product,
body.single-product.pf2026-theme .upsells.products ul.products li.product { width:auto!important; margin:0!important; padding:0 0 var(--pf-space-3)!important; background:var(--pf-paper); border:.0625rem solid var(--pf-line); }

@media (min-width:48rem) {
  body.single-product.pf2026-theme .related.products ul.products,
  body.single-product.pf2026-theme .upsells.products ul.products { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (min-width:64rem) {
  .pf-product-stage { grid-template-columns:minmax(0,1.04fr) minmax(24rem,.96fr); gap:clamp(2rem,4vw,4rem); }
  .pf-product-stage__gallery { align-self:start; }
  body.single-product.pf2026-theme .related.products ul.products,
  body.single-product.pf2026-theme .upsells.products ul.products { grid-template-columns:repeat(4,minmax(0,1fr)); }
}
@media (max-width:47.99rem) {
  body.single-product.pf2026-theme form.cart .quantity { float:none!important; width:5rem!important; }
  body.single-product.pf2026-theme form.cart .single_add_to_cart_button { width:100%!important; margin-top:var(--pf-space-2)!important; }
  body.single-product.pf2026-theme .woocommerce-tabs ul.tabs { flex-wrap:nowrap!important; overflow-x:auto!important; padding-bottom:.2rem!important; }
  body.single-product.pf2026-theme .woocommerce-tabs ul.tabs li { flex:0 0 auto; }
}


/* 1.0.4 – standalone Woo single-product route. */
body.single-product.pf2026-theme .pf-product-route{
  width:100%;
  padding-block:clamp(1.5rem,3vw,3rem) clamp(3.5rem,6vw,6rem);
}
body.single-product.pf2026-theme .pf-product-route > .woocommerce-notices-wrapper:empty{
  display:none!important;
}


/* 1.0.8 – native Woo dual purchase action fallback. */
body.single-product.pf2026-theme form.cart .pf-direct-checkout-button{
  clear:both; width:100%!important; min-height:clamp(2.8rem,2.65rem + .3vw,3rem)!important; margin-top:var(--pf-space-2)!important;
  padding-inline:clamp(1rem,.85rem + .45vw,1.4rem)!important; border:.0625rem solid var(--pf-black)!important; border-radius:0!important;
  background:var(--pf-white)!important; color:var(--pf-black)!important; font-size:var(--pf-fs-sm)!important; font-weight:800!important; box-shadow:none!important;
}
body.single-product.pf2026-theme form.cart .pf-direct-checkout-button:hover:not(:disabled),body.single-product.pf2026-theme form.cart .pf-direct-checkout-button:focus-visible{background:var(--pf-black)!important;color:var(--pf-white)!important;}
body.single-product.pf2026-theme form.cart .pf-direct-checkout-button:disabled{opacity:.35!important;cursor:not-allowed!important;}
