/* NIRU v1.4 – Schnellkauf, klassischer Warenkorb/Kasse, Fotohero.
   Separat vom Editor, geladen nach dessen CSS. Keine Steuer- oder Zahlungsberechnung. */
.niru-product-card .niru-card-interactive { position:relative !important; z-index:51 !important; }
/* Nur die tatsächlichen Links/Buttons fangen den Klick ab, nicht die angehobene Spalte. */
.niru-product-card .niru-card-interactive { pointer-events:none; }
.niru-product-card .niru-card-interactive :is(a,button,input,select,textarea,label) { pointer-events:auto; }
.niru-quick-buy { width:100%; min-width:0; text-align:center; }
.niru-quick-buy .niru-quick-buy-button { display:inline-flex !important; align-items:center; justify-content:center; gap:8px; width:100%; min-height:44px; padding:9px 14px !important; box-sizing:border-box; border:1px solid #70877B !important; border-radius:3px !important; background:#70877B !important; color:white !important; font-size:14px !important; font-weight:500; line-height:1.3; white-space:normal; text-decoration:none; box-shadow:none !important; }
.niru-quick-buy .niru-quick-buy-button:hover { background:#313E47 !important; border-color:#313E47 !important; }
.niru-quick-buy .niru-quick-buy-button:focus-visible { outline:2px solid #313E47; outline-offset:3px; }
.niru-quick-buy-button.loading { opacity:.65; pointer-events:none !important; }
.niru-quick-buy .added_to_cart { display:block; font-size:13px; margin-top:5px; }
.niru-quick-buy-status:not(:empty) { display:block; font-size:12px; color:#526D60; margin-top:4px; }
/* Cart: preserve native layout, compact line rows; center subtotal under header. */
body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item > :is(td,th) { padding-block:12px !important; vertical-align:middle; }
body.woocommerce-cart .woocommerce-cart-form :is(.product-thumbnail img,img.niru-cart-packshot) { height:106px !important; width:65px !important; }
body.woocommerce-cart .woocommerce-cart-form .product-thumbnail :is(a,.ct-media-container),body.woocommerce-cart .woocommerce-cart-form .product-name .ct-media-container:has(.niru-cart-packshot) { width:65px !important; }
body.woocommerce-cart .woocommerce-cart-form :is(th,td).product-subtotal { text-align:center !important; }
body.woocommerce-cart .cart_totals { padding:24px !important; }
body.woocommerce-cart .cart_totals h2 { margin:0 0 14px !important; }
body.woocommerce-cart .cart_totals table.shop_table :is(th,td) { padding-block:10px !important; }
body.woocommerce-cart .cart_totals .wc-proceed-to-checkout { margin-top:16px !important; padding-top:0 !important; }
@media (min-width:1025px) {
 body.woocommerce-cart .cart-collaterals .cart_totals { margin-top:50px !important; }
}
/* Checkout: only classic checkout form, keep checkbox/radio semantics intact. */
body.woocommerce-checkout form.checkout { --niru-checkout-field:40px; --theme-form-field-height:var(--niru-checkout-field); }
body.woocommerce-checkout form.checkout #customer_details .form-row { margin:0 0 12px !important; padding-block:0 !important; }
body.woocommerce-checkout form.checkout #customer_details .form-row > label { display:block; margin:0 0 4px !important; font-size:14px; line-height:1.35; }
body.woocommerce-checkout form.checkout #customer_details :is(input[type=text],input[type=email],input[type=tel],input[type=password],input[type=number],select),body.woocommerce-checkout form.checkout #customer_details .select2-container .select2-selection--single { height:var(--niru-checkout-field) !important; min-height:var(--niru-checkout-field) !important; border-radius:4px; box-sizing:border-box; font-size:14px; }
body.woocommerce-checkout form.checkout #customer_details .select2-container .select2-selection--single :is(.select2-selection__rendered,.select2-selection__arrow) { line-height:38px !important; height:38px !important; }
body.woocommerce-checkout form.checkout #customer_details textarea { min-height:92px !important; font-size:14px; }
body.woocommerce-checkout form.checkout #customer_details :is(h3,.woocommerce-additional-fields h3) { margin:0 0 12px !important; }
body.woocommerce-checkout form.checkout #order_review { min-width:0; }
body.woocommerce-checkout form.checkout #order_review table.shop_table :is(th,td) { padding-block:11px !important; }
body.woocommerce-checkout form.checkout #order_review table.shop_table td.product-total { text-align:right; }
body.woocommerce-checkout form.checkout #order_review .niru-included-tax :is(th,td) { padding-block:5px !important; }
/* Payment must remain in normal flow; no sticky/fixed payment box over address fields. */
body.woocommerce-checkout form.checkout :is(#payment,.woocommerce-checkout-payment) { position:relative !important; inset:auto !important; transform:none !important; float:none !important; width:100% !important; max-width:100% !important; height:auto !important; margin:16px 0 0 !important; box-sizing:border-box; }
body.woocommerce-checkout form.checkout #payment .place-order { padding:12px 0 0 !important; margin:0 !important; }
body.woocommerce-checkout form.checkout .woocommerce-privacy-policy-text { font-size:13px; line-height:1.5; margin:12px 0; }
body.woocommerce-checkout form.checkout .woocommerce-invalid :is(input.input-text,.select2-selection) { border-color:#B74343 !important; }
/* Notice position, not colors. Spacer is calculated from actual header dimensions. */
.niru-header-spacer { display:block; width:100%; flex:0 0 auto; pointer-events:none; }
:is(body.woocommerce-cart,body.woocommerce-checkout) .woocommerce-notices-wrapper:empty { display:none !important; }
@media (max-width:767px) {
 body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item > :is(td,th) { padding-block:8px !important; }
 body.woocommerce-cart .woocommerce-cart-form :is(th,td).product-subtotal { text-align:right !important; }
 body.woocommerce-cart .woocommerce-cart-form :is(.product-thumbnail img,img.niru-cart-packshot) { width:55px !important; height:90px !important; }
 body.woocommerce-cart .cart_totals { margin-top:0 !important; padding:18px !important; }
 body.woocommerce-checkout form.checkout { --niru-checkout-field:44px; }
 body.woocommerce-checkout form.checkout #customer_details :is(input,select,textarea) { font-size:16px; }
 body.woocommerce-checkout form.checkout #customer_details .select2-container .select2-selection--single :is(.select2-selection__rendered,.select2-selection__arrow) { line-height:42px !important; height:42px !important; }
}
/* Photo hero: opt in via Elementor classes on background container and text container.
   Below 1280 the original whole image is shown beneath copy, not cropped behind it. */
body.home .niru-hero-banner { --niru-hero-image-ratio:.5625; box-sizing:border-box; }
body.home .niru-hero-banner .niru-hero-copy { min-width:0; box-sizing:border-box; }
@media (min-width:1280px) and (max-width:1599px) {
 body.home .niru-hero-banner { padding-top:max(110px,var(--header-height,100px)) !important; background-position:center center !important; background-size:100% auto !important; background-repeat:no-repeat !important; }
 body.home .niru-hero-banner .niru-hero-copy { --width:36% !important; width:36% !important; max-width:450px !important; margin-inline:0 auto !important; align-self:center; }
 body.home .niru-hero-banner .niru-hero-copy :is(h1,.elementor-widget-heading h1) { font-size:clamp(34px,3.1vw,48px) !important; line-height:1.15 !important; }
 body.home .niru-hero-banner .niru-hero-copy .elementor-widget-text-editor { font-size:15px !important; line-height:1.5; }
 body.home .niru-hero-banner .niru-hero-copy .elementor-button { font-size:13px !important; padding:12px 14px !important; white-space:normal; }
}
@media (max-width:1279px) {
 body.home .niru-hero-banner { --min-height:0px !important; min-height:0 !important; height:auto !important; background-color:#FBF8F5 !important; background-size:100% auto !important; background-position:center bottom !important; background-repeat:no-repeat !important; padding:clamp(30px,5vw,64px) clamp(18px,5vw,64px) calc(var(--niru-hero-image-ratio) * 100vw + 18px) !important; }
 body.home .niru-hero-banner > .e-con-inner { width:100% !important; min-height:0 !important; height:auto !important; }
 body.home .niru-hero-banner .niru-hero-copy { --width:100% !important; width:100% !important; max-width:660px !important; margin-inline:auto !important; padding:0 !important; min-height:0 !important; height:auto !important; text-align:left !important; }
 body.home .niru-hero-banner .niru-hero-copy h1 { font-size:clamp(30px,4vw,46px) !important; line-height:1.15 !important; }
 body.home .niru-hero-banner .niru-hero-copy .elementor-widget-text-editor { font-size:16px !important; line-height:1.6; }
 body.home .niru-hero-banner .niru-hero-copy .elementor-button { padding:12px 16px !important; font-size:14px !important; white-space:normal; }
}
@media (min-width:1025px) and (max-width:1279px) {
 body.home .niru-hero-banner { padding-top:max(112px,calc(var(--header-height,100px) + 16px)) !important; }
}

body.woocommerce-checkout form.checkout #payment .woocommerce-info { overflow-wrap:break-word; }
body.home .niru-hero-banner .niru-hero-copy .elementor-button-text { overflow-wrap:normal; }
