/* Shop in the 2026 look: the existing WooCommerce styles (WPCode snippet "TG — Unified WooCommerce Styles") are built on
   --tg-* variables; here they are pointed to the new navy/gold palette and the new type. */
body.tg26{--tg-gold:#09294F;--tg-gold-light:#C6A54F;--tg-gold-hover:#7E6120;--tg-ink:#09294F;--tg-ink-700:#3D5372;--tg-muted:#5A6B82;--tg-cream:#FBFAF7;--tg-border:rgba(9,41,79,.12);--tg-border-lt:rgba(9,41,79,.08);--tg-radius-card:18px}
body.tg26 .woocommerce h1,body.tg26 .woocommerce h2,body.tg26 .woocommerce h3,body.tg26 .product_title,body.tg26 .woocommerce-loop-product__title,body.tg26 .woocommerce-Tabs-panel h2{font-family:'Sora',system-ui,sans-serif!important;font-weight:400!important;letter-spacing:-.015em;text-transform:none!important;color:var(--tg-ink)}
body.tg26 .product_title{font-size:clamp(28px,3.2vw,44px)!important;line-height:1.1!important;overflow-wrap:break-word}
body.tg26 .woocommerce-loop-product__title{font-size:1rem!important;line-height:1.35!important;font-weight:500!important}
body.tg26 .tg26-woo{padding-bottom:var(--sp-section)}
body.tg26 .tg26-woo .woocommerce-breadcrumb{margin:24px 0}
body.tg26 .tg26-woo .price{color:var(--tg-ink)!important;font-weight:600}
body.tg26 .tg26-woo .button,body.tg26 .tg26-woo button.button,body.tg26 .tg26-woo .checkout-button{font-family:'Manrope',sans-serif!important;letter-spacing:.01em}
body.tg26 .tg26-woo ul.products li.product{background:var(--surface,#fff)}
body.tg26 .tg26-woo .woocommerce-ordering select{border-radius:999px;padding:10px 16px;border-color:var(--tg-border)}
body.tg26 .tg26-woo .woocommerce-products-header{display:none} /* the page head above already carries the title */
body.tg26.single-product .tg26-woo{padding-top:clamp(24px,4vw,48px)}
/* consent for services is only relevant when a service is in the cart (body class from WPCode snippet 2358) */
body.tg-ohne-leistung .wc-block-components-checkbox:has(#order-tg-digital_consent),body.tg-ohne-leistung .wc-block-components-checkout-step:has(#order-tg-digital_consent):not(:has(textarea,input[type=text])){display:none}

/* 23.10.2026: classic checkbox rows (pay-for-order page: AGB + Widerruf consent) - bootstrap.min.css from the LMS sets .checkbox input{position:absolute}, the box sat on top of the text */
.woocommerce form .woocommerce-form__label-for-checkbox.checkbox{display:flex;align-items:flex-start;gap:10px}.woocommerce form .woocommerce-form__label-for-checkbox.checkbox input[type=checkbox]{position:static;flex:0 0 auto;width:18px;height:18px;margin:3px 0 0}

/* 23.10.2026: pay-for-order table (booking deposit) stayed wider than the card on phones - fixed column widths, wrapping text */
@media (max-width:640px){
  #order_review .shop_table{table-layout:fixed;width:100%;margin-right:0}
  #order_review .shop_table th,#order_review .shop_table td{padding:10px 8px;overflow-wrap:anywhere;font-size:.92rem}
  #order_review .shop_table thead .product-name{width:52%}
  #order_review .shop_table thead .product-quantity{width:16%}
  #order_review .shop_table thead .product-total,#order_review .shop_table .product-subtotal{width:32%}
  #order_review .shop_table td.product-total,#order_review .shop_table tfoot td{text-align:right;white-space:nowrap}
  #order_review .shop_table tfoot td:last-child{white-space:normal}
}

/* 23.10.2026 (Alexander): classic WooCommerce buttons (cart, coupon, pay page, account) in the theme's button style -
   before, the old WPCode snippet "TG - Unified WooCommerce Styles" (03/2026, ID 2839) painted a navy->gold gradient */
html body .woocommerce a.button,html body .woocommerce button.button,html body .woocommerce input.button,html body .woocommerce #respond input#submit,
html body .woocommerce a.button.alt,html body .woocommerce button.button.alt,html body .woocommerce input.button.alt{
  background:var(--ink);background-image:none;color:var(--on-ink);border:1px solid var(--ink);border-radius:6px;box-shadow:none;
  min-height:48px;padding:14px 22px;font:600 .78rem/1.2 'Manrope',system-ui,sans-serif;letter-spacing:.12em;text-transform:uppercase;text-shadow:none}
html body .woocommerce a.button:hover,html body .woocommerce button.button:hover,html body .woocommerce input.button:hover{background:var(--ink);opacity:.9;color:var(--on-ink)}
html body .woocommerce button.button[name=update_cart],html body .woocommerce button.button[name=apply_coupon]{background:transparent;color:var(--ink);border-color:var(--ink)}
html body .woocommerce button.button:disabled,html body .woocommerce button.button[disabled]{background:transparent;color:var(--ink);border-color:var(--line);opacity:.5;cursor:default}
html body .woocommerce-cart .wc-proceed-to-checkout a.checkout-button{background:var(--ink);color:var(--on-ink);font-size:.82rem}
@media (max-width:640px){html body .woocommerce-cart table.cart td.actions .coupon{display:flex;gap:8px;flex-wrap:wrap}html body .woocommerce-cart table.cart td.actions .coupon .input-text{flex:1 1 140px;width:auto;min-height:48px}html body .woocommerce-cart table.cart td.actions .coupon .button{flex:1 1 140px}html body .woocommerce-cart table.cart td.actions>.button{width:100%;margin-top:8px}}
@media (max-width:640px){html body .woocommerce .coupon{display:flex;gap:8px;align-items:stretch}html body .woocommerce .coupon .input-text{float:none;flex:1 1 auto;width:auto;min-width:0;margin:0}html body .woocommerce .coupon .button{float:none;flex:0 0 auto;margin:0;padding:10px 14px}}

/* 25.10.2026 (Alexander): with a course/service in the cart the express buttons (Link, Apple/Google Pay) are hidden -
   they pay without the order form, so the required consent "Beginn der Leistung vor Ablauf der Widerrufsfrist"
   (WPCode 2358) could never be ticked and the customer only got an error. Goods-only carts keep them. */
body.tg-mit-leistung .wc-block-components-express-payment,
body.tg-mit-leistung .wc-block-components-express-payment-continue-rule{display:none!important}
