/* ===== Okno wyszukiwarki (Premium Addons modal w nagłówku) ===== */
.search-header-modal .premium-modal-box-modal-dialog{width:min(720px,92vw)!important;bottom:auto!important;height:auto!important;max-height:none!important;overflow:visible!important;padding:48px 32px 32px!important;background:#fff!important;border:0!important;border-radius:0!important;box-shadow:0 24px 64px rgba(24,23,23,.18)!important}
.search-header-modal .premium-modal-box-modal-header{position:absolute!important;top:0;right:0;left:auto;height:auto!important;border:0!important;padding:0!important;background:transparent!important}
.search-header-modal .premium-modal-box-modal-header button.premium-modal-box-modal-close{padding:16px 18px!important;font-size:22px!important;line-height:1!important;opacity:.7}
.search-header-modal .premium-modal-box-modal-header button.premium-modal-box-modal-close:hover{opacity:1}
.search-header-modal .premium-modal-box-modal .premium-modal-box-modal-dialog .premium-modal-box-modal-body{width:100%!important;height:auto!important;padding:0!important;margin:0!important;border:0!important;overflow:visible!important}
.search-header-modal .premium-modal-box-modal-body>.elementor{position:relative!important;top:auto!important;left:auto!important;right:auto!important}
.search-header-modal .premium-modal-box-modal-body>.elementor,.search-header-modal .premium-modal-box-modal-body .elementor-section,.search-header-modal .premium-modal-box-modal-body .elementor-container,.search-header-modal .premium-modal-box-modal-body .elementor-widget-wrap,.search-header-modal .premium-modal-box-modal-body .elementor-widget-container{width:100%!important;max-width:100%!important;padding:0!important}
.search-header-modal .m-neuron-search-form__container{display:flex!important;width:100%!important;border:1px solid #d9d4cf}
.search-header-modal .m-neuron-search-form__input{flex:1 1 auto;min-width:0;height:56px!important;background:#fff!important;font-size:16px!important;padding:0 18px!important}
.search-header-modal .m-neuron-search-form__submit{flex:0 0 56px;height:56px!important;padding:0!important;display:flex;align-items:center;justify-content:center}

/* ===== Koszyk ===== */
.woocommerce-cart table.cart td.actions .button,:is(.woocommerce-cart,.woocommerce-checkout) .flexible-shipping-free-shipping-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;height:48px!important;line-height:1!important;padding:0 24px!important;box-sizing:border-box!important;vertical-align:middle}
.woocommerce-cart table.cart td.actions .coupon input#coupon_code{width:240px!important;height:48px!important;padding:0 16px!important;margin:0!important;text-align:left!important;font-size:14px!important;background:#fff!important;border:1px solid #d9d4cf!important;border-radius:0!important;box-sizing:border-box!important}
.woocommerce-cart table.cart td.actions .coupon input#coupon_code:focus{border-color:#181717!important;outline:0}
:is(.woocommerce-cart,.woocommerce-checkout) .woocommerce-info:has(.fs-free-shipping-notice-and-button-wrapper){background:#f6f2ee!important;border:0!important;padding:16px 24px!important;margin:0 0 40px!important;color:#181717}
:is(.woocommerce-cart,.woocommerce-checkout) .woocommerce-info:has(.fs-free-shipping-notice-and-button-wrapper)::before{display:none!important}
:is(.woocommerce-cart,.woocommerce-checkout) .fs-free-shipping-notice-and-button-wrapper{display:flex!important;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
:is(.woocommerce-cart,.woocommerce-checkout) .fs-free-shipping-notice-continue-shopping-button-wrapper{margin-left:auto;flex:0 0 auto;width:auto!important}
:is(.woocommerce-cart,.woocommerce-checkout) .fs-free-shipping-notice-text{font-size:15px}
:is(.woocommerce-cart,.woocommerce-checkout) .flexible-shipping-free-shipping-button,
.woocommerce-cart td.actions>.button[name=update_cart]{background:transparent!important;color:#181717!important;border:1px solid #181717!important;height:48px;line-height:46px!important;padding:0 24px!important;font-size:14px!important;margin:0!important;transition:background .2s,color .2s}
:is(.woocommerce-cart,.woocommerce-checkout) .flexible-shipping-free-shipping-button:hover,
.woocommerce-cart td.actions>.button[name=update_cart]:hover{background:#181717!important;color:#fff!important}
.woocommerce-cart td.actions{padding:24px 0!important}
.woocommerce-cart td.actions .coupon{display:inline-flex!important;align-items:stretch;gap:12px;float:left!important;margin:0!important}
.woocommerce-cart td.actions .coupon label{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.woocommerce-cart td.actions .coupon .input-text{width:220px!important;height:48px!important;padding:0 16px!important;margin:0!important;text-align:left!important;font-size:14px!important;background:#fff!important;border:1px solid #d9d4cf!important;box-sizing:border-box}
.woocommerce-cart td.actions .coupon .button{height:48px;line-height:48px!important;padding:0 24px!important;font-size:14px!important;margin:0!important}
.woocommerce-cart td.actions>.button[name=update_cart]{float:right!important}
.woocommerce-cart td.actions>.button[name=update_cart]:disabled{opacity:.45;cursor:default}
@media (max-width:767px){
 :is(.woocommerce-cart,.woocommerce-checkout) .fs-free-shipping-notice-and-button-wrapper{flex-direction:column;align-items:stretch;text-align:center}
 .woocommerce-cart td.actions .coupon{display:flex!important;width:100%;float:none!important;margin-bottom:12px!important}
 .woocommerce-cart table.cart td.actions .coupon input#coupon_code{flex:1 1 auto;width:auto!important;min-width:0}
 .woocommerce-cart table.cart td.actions .coupon .button{flex:0 0 auto}
 .woocommerce-cart td.actions>.button[name=update_cart]{width:100%;float:none!important}
}

/* ===== Omnibus (WC Price History): informacja o najniższej cenie z 30 dni ===== */
.wc-price-history.prior-price{display:block!important;margin-top:6px!important;font-size:12px!important;line-height:1.45!important;font-weight:400!important;letter-spacing:0!important;text-transform:none!important;color:#7a7470!important}
.wc-price-history.prior-price .amount,.wc-price-history.prior-price bdi{font-size:inherit!important;font-weight:500!important;color:inherit!important;text-decoration:none!important}

/* ===== Checkout: przełączniki „Masz kupon?” / logowanie i formularz kuponu (jak w koszyku) ===== */
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info,.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info{background:transparent!important;border:0!important;padding:0!important;margin:0 0 14px!important;font-size:15px;color:#181717}
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info::before,.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info::before{display:none!important}
.woocommerce-checkout .woocommerce-form-coupon-toggle a,.woocommerce-checkout .woocommerce-form-login-toggle a{text-decoration:underline;text-underline-offset:3px}
.woocommerce-checkout form.checkout_coupon{border:0!important;padding:0!important;margin:0 0 36px!important;max-width:560px}
.woocommerce-checkout form.checkout_coupon br{display:none}
.woocommerce-checkout form.checkout_coupon:not([style*="none"]){display:flex!important;gap:12px;align-items:stretch}
.woocommerce-checkout form.checkout_coupon .form-row{float:none!important;width:auto!important;max-width:none!important;display:block!important;margin:0!important;padding:0!important}
.woocommerce-checkout form.checkout_coupon .clear{display:none}
.woocommerce-checkout form.checkout_coupon input#coupon_code{width:260px!important;height:48px!important;padding:0 16px!important;margin:0!important;font-size:14px!important;background:#fff!important;border:1px solid #d9d4cf!important;border-radius:0!important;box-sizing:border-box!important}
:is(.woocommerce-cart,.woocommerce-checkout) input#coupon_code::placeholder{color:#8a847f!important;opacity:1}
.woocommerce-checkout form.checkout_coupon input#coupon_code:focus{border-color:#181717!important;outline:0}
.woocommerce-checkout form.checkout_coupon .button{display:inline-flex!important;align-items:center!important;justify-content:center!important;height:48px!important;line-height:1!important;padding:0 24px!important;font-size:14px!important;margin:0!important;box-sizing:border-box!important}
@media (max-width:767px){
 .woocommerce-checkout form.checkout_coupon:not([style*="none"]){flex-direction:column}
 .woocommerce-checkout form.checkout_coupon input#coupon_code,.woocommerce-checkout form.checkout_coupon .button{width:100%!important}
 :is(.woocommerce-cart,.woocommerce-checkout) .fs-free-shipping-notice-continue-shopping-button-wrapper{margin-left:0;width:100%!important}
 :is(.woocommerce-cart,.woocommerce-checkout) .flexible-shipping-free-shipping-button{width:100%!important}
}

/* ===== Filtr ceny (HUSKY / WooCommerce) ===== */
.widget_price_filter .price_slider_wrapper{padding-top:6px}
.widget_price_filter .price_slider{margin:0 9px 22px!important}
:is(.woof,body) .widget_price_filter .price_slider_amount{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px;text-align:left!important}
:is(.woof,body) .widget_price_filter .price_slider_amount .price_label{order:-1;float:none!important;font-size:14px;line-height:1.4;color:#181717}
:is(.woof,body) .widget_price_filter .price_slider_amount .button{float:none!important;width:100%!important;max-width:none!important;height:44px!important;line-height:1!important;margin:0!important;padding:0 20px!important;font-size:14px!important;display:inline-flex!important;align-items:center;justify-content:center}
.widget_price_filter .price_slider_amount .clear{display:none}
.woof_price_search_container{margin-bottom:36px!important}

/* ===== Formularz kontaktowy (CF7) ===== */
.wpcf7-form p{display:block!important;width:100%!important;margin:0 0 14px!important}
.wpcf7-form .wpcf7-form-control-wrap,.wpcf7-form .wpcf7-span{display:block!important;width:100%!important}
.wpcf7-form input.wpcf7-form-control:not(.wpcf7-submit),.wpcf7-form textarea.wpcf7-form-control{display:block;width:100%!important;max-width:none!important;box-sizing:border-box;background:#fff!important;border:1px solid #d9d4cf!important;border-radius:0;padding:14px 16px!important;font-family:inherit!important;font-size:14px;color:#181717}
.wpcf7-form input.wpcf7-form-control:not(.wpcf7-submit){height:52px}
.wpcf7-form textarea.wpcf7-form-control{height:160px;resize:vertical}
.wpcf7-form .wpcf7-form-control:focus{border-color:#181717!important;outline:0}
.wpcf7-form ::placeholder{color:#8a847f;opacity:1;font-family:inherit}
.wpcf7-form p.kontakt-zgoda{margin:4px 0 24px!important;font-size:12px;line-height:1.6;color:#7a7470}
.wpcf7-form .wpcf7-submit{min-width:200px;height:52px}

/* ===== Powiadom o dostępności (produkt niedostępny) ===== */
.cwginstock-subscribe-form .cwgstock_email{background:#fff!important;border:1px solid #d9d4cf!important;text-align:left!important;padding:0 16px!important;height:52px;font-family:inherit!important;box-sizing:border-box}
.cwginstock-subscribe-form .cwg_iagree_checkbox{margin:12px 0 16px;font-size:13px;line-height:1.5}
.cwginstock-subscribe-form .cwgstock_button{width:100%;height:52px;background:#e07143!important;color:#fff!important;font-family:Poppins,sans-serif!important;font-size:15px!important;font-weight:500!important;border:0!important;cursor:pointer;transition:opacity .2s}
.cwginstock-subscribe-form .cwgstock_button:hover{opacity:.88}

/* ===== Moje konto: widoczne pola formularzy ===== */
.woocommerce-account .woocommerce-form .input-text{background:#fff!important;border:1px solid #d9d4cf!important;box-sizing:border-box}
.woocommerce-account .woocommerce-form .input-text:focus{border-color:#181717!important;outline:0}
.woocommerce-account .woocommerce-form-row label.woocommerce-form__label-for-checkbox,.woocommerce-account .woocommerce-privacy-policy-text{line-height:1.5}

/* ===== Ulubione: pusta lista ===== */
.wishlist_table.oc-wishlist-empty thead{display:none}
.oc-wishlist-empty-cta{text-align:center;padding:24px 0 8px}
.oc-wishlist-empty-cta p{margin:0 0 20px;font-size:15px}
.oc-wishlist-empty-cta .button{border:0!important;display:inline-flex!important;align-items:center;justify-content:center;height:52px;padding:0 36px!important;background:#e07143!important;color:#fff!important;font-family:Poppins,sans-serif;font-size:15px;font-weight:500}

/* ===== Strona 404: czytelny tekst na zdjęciu (mobile) ===== */
.error404 .elementor-location-single :is(.elementor-heading-title,.elementor-widget-text-editor,.elementor-widget-heading p){text-shadow:0 0 14px #fff,0 0 6px #fff,0 0 2px #fff;line-height:1.5}
.wishlist-empty+.oc-wishlist-empty-cta{padding-top:0}
p.wishlist-empty{margin-bottom:20px!important;padding-bottom:0!important}

/* ===== Filtr HUSKY: lista kategorii i cech (drzewo z równymi odstępami) =====
   Flex z zawijaniem: rozwijana podlista zajmuje własny wiersz i nie zmienia szerokości nazw w trakcie animacji. */
.woof_container h4{margin:0 0 16px!important}
.woof_container{margin-bottom:32px!important}
.woof_list_checkbox,.woof_list_checkbox .woof_childs_list{list-style:none!important;margin:0!important;padding:0!important}
.woof_list_checkbox li{display:flex!important;flex-wrap:wrap;align-items:flex-start;margin:0 0 12px!important;padding:0!important;line-height:1.35}
.woof_list_checkbox li:last-child{margin-bottom:0!important}
.woof_list_checkbox li [class*="icheckbox_"]{flex:0 0 20px;width:20px!important;height:20px!important;margin:0 12px 0 0!important;float:none!important;background:#fff!important;border:1px solid #cfc9c4;box-sizing:border-box;cursor:pointer;transition:border-color .15s,background .15s}
.woof_list_checkbox li [class*="icheckbox_"].hover{border-color:#181717}
.woof_list_checkbox li [class*="icheckbox_"].checked{background:#181717!important;border-color:#181717}
.woof_list_checkbox li [class*="icheckbox_"].checked::after{content:"";position:absolute;left:6px;top:2px;width:5px;height:10px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.woof_list_checkbox li [class*="icheckbox_"].disabled{opacity:.4}
.woof_list_checkbox li label.woof_checkbox_label{flex:0 1 auto;min-width:0;max-width:calc(100% - 34px);margin:0!important;padding:1px 0 0!important;font-size:15px!important;line-height:1.35!important;height:auto!important;display:block!important;cursor:pointer}
.woof_list_checkbox li label .woof_checkbox_count{position:static!important;top:auto!important;margin-left:4px!important;font-size:12px!important;line-height:1!important;color:#8a847f;vertical-align:1px;white-space:nowrap}
.woof_list_checkbox li>.woof_childs_list_opener{flex:0 0 20px;margin:0 0 0 10px!important;width:20px!important;height:20px!important;display:inline-flex!important;align-items:center;justify-content:center}
.woof_list_checkbox li>.woof_childs_list{flex:0 0 100%;box-sizing:border-box;margin-top:12px!important;padding-left:32px!important}
@media (max-width:767px){
 .woof_list_checkbox li{margin-bottom:14px!important}
 .woof_list_checkbox li [class*="icheckbox_"]{margin-right:14px!important}
 .woof_list_checkbox li>.woof_childs_list{margin-top:14px!important;padding-left:24px!important}
 .woof_list_checkbox li label.woof_checkbox_label{font-size:16px!important}
}
.woof_list_checkbox li.woof_childs_list_li>label.woof_checkbox_label{max-width:calc(100% - 64px)}

/* ===== Ilość przy produktach z 1 sztuką na stanie =====
   WooCommerce ukrywa wtedy pole (input type=hidden), a motyw i tak dokleja „-” i „+”. Pokazujemy stałe „1” bez strzałek. */
form.cart .quantity:has(input.qty[type=hidden]){display:flex!important;align-items:center;justify-content:center;height:55px;background:#fafafa;margin-bottom:12px;box-sizing:border-box}
form.cart .quantity:has(input.qty[type=hidden])::before{content:"1";font-size:15px;color:#181717}
form.cart .quantity:has(input.qty[type=hidden]) .quantity-nav{display:none!important}
@media (max-width:1024px){form.cart .quantity:has(input.qty[type=hidden]){height:52px}}

/* ===== Elementor 4: kolumny z marginesem bocznym nie mogą wystawać poza ekran =====
   .elementor-widget-wrap ma width:100%, a marginesy kolumny (np. 19,5 px na mobile) dokładały się do tego,
   przez co galeria produktu wystawała o ~20 px i na telefonie strona przesuwała się w bok. */
.elementor-column>.elementor-widget-wrap{width:auto!important;flex:1 1 auto;min-width:0}
@media (max-width:1024px){html,body{overflow-x:clip}}

/* Filtr ceny: kontener suwaka jest w motywie flexem - na części telefonów etykieta i przycisk stawały obok suwaka */
.widget_price_filter .price_slider_wrapper{display:block!important}

/* ===== Wpisy (Inspiracje): nagłówki w treści z czytelną interlinią i odstępem od akapitu ===== */
.single-post .elementor-location-single .elementor-widget-heading :is(h2,h3,h4).elementor-heading-title{line-height:1.3!important}
.single-post .elementor-location-single .elementor-widget-heading:has(+ .elementor-widget-text-editor){margin-bottom:12px!important}

/* ===== Akordeon (np. Nasza historia): strzałka w dół przy zwiniętej sekcji, w górę przy rozwiniętej ===== */
.elementor-toggle .elementor-toggle-icon :is(.n-icon-arrow-top,.n-icon-arrow-bottom){display:inline-block;transform:rotate(180deg)}

/* ===== Moje konto (mobile): zgoda na regulamin bez przesadnej interlinii ===== */
@media (max-width:767px){.woocommerce-account .woocommerce-form label.woocommerce-form__label-for-checkbox{line-height:1.45!important;display:flex;gap:8px;align-items:flex-start}}
.page .elementor-toggle .elementor-tab-title::after{left:0!important;right:0!important;width:auto!important;margin-left:0!important;margin-right:0!important;transform:none!important}

/* ===== Karta produktu (mobile/tablet): blok zakupu widoczny od razu, bez animacji wejścia ===== */
@media (max-width:1024px){body.single-product .elementor-invisible{visibility:visible!important}body.single-product .elementor-element.animated{animation:none!important}}

/* ===== Szybki podgląd produktu: pełne tło (motyw miał białe 90% krycia, przez które prześwitywała lista produktów) ===== */
.m-neuron__quick-view--wrapper{background:#f4f4f4!important}
.m-neuron__quick-view--product-thumbnail{background:#fff}
