/*
Theme Name: Dr. Leigh Child
Theme URI: https://drleigh.qodeinteractive.com
Description: A child theme of Dr. Leigh — szata graficzna Infinity Kosmetyki
Author: Mikado Themes
Author URI: https://qodeinteractive.com
Version: 2.0
Text Domain: drleigh
Template: drleigh
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

/* ==========================================================================
   Poniżej: reguły dawniej trzymane w Wygląd → Dostosuj → Dodatkowe CSS.
   Scalone tutaj, żeby cała szata graficzna żyła w jednym pliku motywu.
   Po wgraniu tego style.css WYCZYŚĆ pole "Dodatkowe CSS" w Dostosuj,
   żeby nie utrzymywać dwóch kopii tych samych reguł.
   ========================================================================== */
/* Wyróżnienie całego bloku z checkboxem i polityką */
div.woocommerce-terms-and-conditions-wrapper {
    background-color: #f8f9fa !important;
    border: 2px solid #d3ced2 !important;
    padding: 20px !important;
    border-radius: 6px !important;
    margin: 25px 0 !important;
}

/* Powiększenie i pogrubienie tekstu obok checkboxa */
div.woocommerce-terms-and-conditions-wrapper label.woocommerce-form__label-for-checkbox {
    display: flex !important;
    align-items: center !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    color: #111 !important;
    line-height: 1.4 !important;
    margin: 0 !important;
}

/* Dostosowanie linków w tekście zgody, aby były bardziej widoczne */
div.woocommerce-terms-and-conditions-wrapper span.woocommerce-terms-and-conditions-checkbox-text a {
    color: #000 !important;
    text-decoration: underline !important;
    font-weight: 800 !important;
}

/* Wymuszenie czerwonego, ostrzegawczego wyglądu dla błędów w koszyku */
div.woocommerce-NoticeGroup-checkout ul.woocommerce-error {
    background-color: #fff0f0 !important;
    border: 1px solid #d9534f !important;
    border-left: 6px solid #d9534f !important;
    border-radius: 4px !important;
    padding: 18px 20px !important;
    margin-bottom: 25px !important;
    list-style-type: none !important;
}

div.woocommerce-NoticeGroup-checkout ul.woocommerce-error li {
    color: #d9534f !important;
    font-weight: bold !important;
    font-size: 16px !important;
    margin-bottom: 10px !important;
    padding: 0 !important;
}

div.woocommerce-NoticeGroup-checkout ul.woocommerce-error li:last-child {
    margin-bottom: 0 !important;
}

div.woocommerce-NoticeGroup-checkout ul.woocommerce-error li a {
    color: #c9302c !important;
    text-decoration: underline !important;
}

/* RESZTA CSS */

#qodef-page-footer .widget:not(.widget_drleigh_core_title_widget) {
  margin: 0 0 20px;
  color: #d1d1d1;
}

.wc-block-cart__submit-container {
	background-color: #1D1D1B;
	color: #fff;
}

.wc-block-cart__submit-container a {
	color: #fff;
	font-weight: bold;
	font-size: 18px
}

.qodef-contact-form-column-style .qodef-contact-form-grid-style.full-100 .wpcf7-form-control-wrap {
  width: 100%;
}

.no-margin {
	margin-bottom: 0px !important;
}

.woocommerce-error li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}

.single-post .qodef-e-info {
	display: none !important;
}

.qodef-woo-shortcode .qodef-woo-product-mark {
  width: 104px;
	padding: 20px 3px 8px;
}

/* Nadpisanie natywnego przycisku "Dodaj do koszyka" WooCommerce (button.add_to_cart_button)
   na kafelkach produktów — motyw stylizuje klasę .button z wyższą specyficznością,
   więc override musi mieć co najmniej tyle samo klas w selektorze. */
body .custom-product-landing .recommended-products-section ul.products li.product .qodef-e-media,
body .custom-product-landing .related-products-section ul.products li.product .qodef-e-media,
.custom-archive-landing ul.products li.product .qodef-e-media {
    position: relative !important;
}
body .custom-product-landing .recommended-products-section ul.products li.product .qodef-e-media-inner,
body .custom-product-landing .related-products-section ul.products li.product .qodef-e-media-inner,
.custom-archive-landing ul.products li.product .qodef-e-media-inner {
    position: absolute !important; inset: 0 !important; left: 0 !important; top: 0 !important;
    width: 100% !important; height: 100% !important; margin: 0 !important; padding: 0 !important;
    transform: none !important; translate: none !important; animation: none !important;
    transition: none !important; opacity: 1 !important; visibility: visible !important;
}
body .custom-product-landing .recommended-products-section ul.products li.product a.button.add_to_cart_button,
body .custom-product-landing .related-products-section ul.products li.product a.button.add_to_cart_button,
.custom-archive-landing ul.products li.product a.button.add_to_cart_button {
    position: absolute !important; inset: 0 !important; left: 0 !important; top: 0 !important;
    width: 100% !important; height: 100% !important; max-width: none !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    opacity: 0 !important; transition: opacity .2s ease !important; text-decoration: none !important;
    padding: 0 !important; margin: 0 !important; background: none !important;
    border: none !important; border-radius: 0 !important; line-height: normal !important;
    text-align: center !important; min-width: 0 !important; box-shadow: none !important; font-size: 0 !important;
}
body .custom-product-landing .recommended-products-section ul.products li.product:hover a.button.add_to_cart_button,
body .custom-product-landing .related-products-section ul.products li.product:hover a.button.add_to_cart_button,
.custom-archive-landing ul.products li.product:hover a.button.add_to_cart_button {
    opacity: 1 !important;
}
body .custom-product-landing .recommended-products-section ul.products li.product a.button.add_to_cart_button::before,
body .custom-product-landing .related-products-section ul.products li.product a.button.add_to_cart_button::before,
.custom-archive-landing ul.products li.product a.button.add_to_cart_button::before {
    content: "Dodaj do koszyka" !important; display: inline-block !important;    background: #FAF8F4 !important; border: 1px solid #DED5C9 !important;
    padding: 12px 22px !important; font-size: 11px !important; letter-spacing: 0.08em !important;
    text-transform: uppercase !important; color: #1D1D1B !important; white-space: nowrap !important;
    line-height: 1 !important; font-family: 'Montserrat', sans-serif !important; font-weight: 400 !important;
    border-radius: 0 !important;
}
body .custom-product-landing .recommended-products-section ul.products li.product a.button.add_to_cart_button:hover::before,
body .custom-product-landing .related-products-section ul.products li.product a.button.add_to_cart_button:hover::before,
.custom-archive-landing ul.products li.product a.button.add_to_cart_button:hover::before {
    background: #B88A44 !important; border-color: #B88A44 !important; color: #FFFFFF !important;
}

/* GLOBALNE czcionki — Montserrat (tekst) + Cormorant Garamond (nagłówki serif).
   Nadpisuje wszystkie stare kroje motywu, także na stronach spoza naszych szablonów. */
body,
body input, body select, body textarea, body button,
p, span, div, li, td, th, label, a,
.qodef-woo-product-title a, .woocommerce-loop-product__title,
.price, .woocommerce-Price-amount, .qodef-e-info, .qodef-e-info a,
.button, a.button, button, .qodef-m-text, .widget, .widget a,
h4, h5, h6, .qodef-h4, .qodef-h5, .qodef-h6 {
    font-family: 'Montserrat', sans-serif !important;
}
body {
    font-family: 'Montserrat', sans-serif !important;
    color: #1D1D1B !important;
}
h1, h2, h3, .qodef-h1, .qodef-h2, .qodef-h3,
.wp-block-heading, .woocommerce-Reviews-title, .archive-title, .section-title {
    font-family: 'Cormorant Garamond', serif !important;
}
/* Ikony i pola z własnymi fontami ikonowymi zostawiamy w spokoju */
[class*="qodef-icon-"], [class*="fa-"], .yith-wcwl-icon-svg, i {
    font-family: inherit;
}

/* Pasek promocyjny w headerze na telefonie (motyw generuje go automatycznie) —
   ujednolicenie z górnym paskiem desktopowym #qodef-top-area */
#mobile-promo-bar {
    background: #F3EDE4 !important;
    border-bottom: 1px solid #DED5C9 !important;
    color: #1D1D1B !important;
    font-family: 'Montserrat', sans-serif !important;
}

/* GLOBALNE linki — nadpisuje granatowy #1c235b motywu na paletę Infinity */
a, p a {
    color: #B88A44 !important;
    text-decoration: none !important;
    transition: color .3s ease-out;
    cursor: pointer;
}
a:hover, p a:hover {
    color: #1D1D1B !important;
}
a[style*="background:#1D1D1B"]:hover, a[style*="background: #1D1D1B"]:hover,
.button:hover a, a.button[style*="#1D1D1B"]:hover {
    color: #FAF8F4 !important;
}
a.button.wc-forward,
.woocommerce a.button.wc-forward,
.woocommerce-MyAccount-content a.button.wc-forward {
    background: #1D1D1B !important;
    border: 1px solid #1D1D1B !important;
    color: #FAF8F4 !important;
}
a.button.wc-forward:hover,
.woocommerce a.button.wc-forward:hover,
.woocommerce-MyAccount-content a.button.wc-forward:hover {
    background: #B88A44 !important;
    border-color: #B88A44 !important;
    color: #FFFFFF !important;
}
a[style*="background:#1D1D1B"], a[style*="background: #1D1D1B"] {
    color: #FAF8F4 !important;
}
a[style*="background:#B88A44"], a[style*="background: #B88A44"] {
    color: #FFFFFF !important;
}
a[style*="border:1px solid #B88A44"], a[style*="border: 1px solid #B88A44"] {
    color: #B88A44 !important;
}

/* GLOBALNE nagłówki — motyw daje im granatowy/niebieski kolor; ujednolicamy na paletę Infinity */
h1, h2, h3, h4, h5, h6,
.qodef-h1, .qodef-h2, .qodef-h3, .qodef-h4, .qodef-h5, .qodef-h6,
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
.wp-block-heading,
.woocommerce-Reviews-title,
.woocommerce-loop-product__title,
.qodef-woo-product-title,
.qodef-woo-product-title a {
    color: #1D1D1B !important;
}
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover,
.qodef-woo-product-title a:hover {
    color: #B88A44 !important;
}

/* Ukrycie komunikatu "Kup, aby dostać X pkt!" (wtyczka programu lojalnościowego) na kafelkach produktów */
.qodef-e-media-inner .wlr-product-message,
.wlr-product-message {
    display: none !important;
}

/* Ukrycie ikon oka (szybki podgląd) i serduszek (ulubione) na hover kafelków produktów w całym sklepie */
.qodef-e-actions,
a.yith-wcqv-button,
.yith-wcwl-add-to-wishlist,
.qodef-e-product-image .yith-wcwl-add-to-wishlist {
    display: none !important;
}

/* Kategoria produktu na kafelku — mniejsza i w kolorze tekstu, nie niebieska/większa niż tytuł */
.qodef-e-product-categories,
.qodef-e-product-categories a {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 11px !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    color: #6E6962 !important;
    font-weight: 400 !important;
    text-decoration: none !important;
}
.qodef-category-separator { color: #DED5C9 !important; }

.qodef-e-info,
.qodef-e-info > * {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 11px !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    color: #6E6962 !important;
    font-weight: 400 !important;
    text-decoration: none !important;
}
.qodef-info-separator-single { background-color: transparent !important; }

/* GLOBALNE ujednolicenie przycisku "Dodaj do koszyka" na WSZYSTKICH listach produktów
   (sklep, kategorie, bestsellery, wyniki wyszukiwania, shortcode'y) — motyw daje mu
   granatowe tło, więc nadpisujemy na styl Infinity. */
.qodef-woo-product-list ul.products li.product .qodef-e-media,
ul.products li.product .qodef-e-media {
    position: relative !important;
}
.qodef-woo-product-list ul.products li.product .qodef-e-media-inner,
ul.products li.product .qodef-e-media-inner {
    position: absolute !important; inset: 0 !important; left: 0 !important; top: 0 !important;
    width: 100% !important; height: 100% !important; margin: 0 !important; padding: 0 !important;
    transform: none !important; translate: none !important; animation: none !important;
    transition: none !important; opacity: 1 !important; visibility: visible !important;
}
.qodef-woo-product-list ul.products li.product a.button.add_to_cart_button,
ul.products li.product a.button.add_to_cart_button {
    position: absolute !important; inset: 0 !important; left: 0 !important; top: 0 !important;
    width: 100% !important; height: 100% !important; max-width: none !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    opacity: 0 !important; transition: opacity .2s ease !important; text-decoration: none !important;
    padding: 0 !important; margin: 0 !important; background: none !important;
    border: none !important; border-radius: 0 !important; line-height: normal !important;
    text-align: center !important; min-width: 0 !important; box-shadow: none !important; font-size: 0 !important;
}
.qodef-woo-product-list ul.products li.product:hover a.button.add_to_cart_button,
ul.products li.product:hover a.button.add_to_cart_button,
.qodef-woo-product-list ul.products li.product .qodef-e-inner:hover a.button.add_to_cart_button,
ul.products li.product .qodef-e-inner:hover a.button.add_to_cart_button,
.qodef-woo-product-list ul.products li.product .qodef-e-media:hover a.button.add_to_cart_button,
ul.products li.product .qodef-e-media:hover a.button.add_to_cart_button {
    opacity: 1 !important;
}
/* Jeden, wspólny hover: motyw animuje osobno li.product i .qodef-e-inner, co powodowało
   skakanie przy przejeżdżaniu kursorem między nimi — blokujemy oba własne efekty. */
ul.products li.product .qodef-e-inner,
ul.products li.product:hover .qodef-e-inner,
ul.products li.product .qodef-e-media,
ul.products li.product:hover .qodef-e-media,
ul.products li.product .qodef-e-media-image,
ul.products li.product:hover .qodef-e-media-image {
    transform: none !important; translate: none !important; scale: none !important;
    transition: none !important; animation: none !important; top: auto !important; margin-top: 0 !important;
}
.qodef-woo-product-list ul.products li.product a.button.add_to_cart_button span,
ul.products li.product a.button.add_to_cart_button span,
.qodef-woo-product-list ul.products li.product a.button.add_to_cart_button .qodef-m-text,
ul.products li.product a.button.add_to_cart_button .qodef-m-text {
    display: none !important;
}
.qodef-woo-product-list ul.products li.product a.button.add_to_cart_button::before,
ul.products li.product a.button.add_to_cart_button::before {
    content: "Dodaj do koszyka" !important; display: inline-block !important;
    position: absolute !important; left: 50% !important; top: 50% !important;
    transform: translate(-50%, -50%) !important; transition: background .2s ease, color .2s ease, border-color .2s ease !important;
    background: #FAF8F4 !important; border: 1px solid #DED5C9 !important;
    padding: 12px 22px !important; font-size: 11px !important; letter-spacing: 0.08em !important;
    text-transform: uppercase !important; color: #1D1D1B !important; white-space: nowrap !important;
    line-height: 1 !important; font-family: 'Montserrat', sans-serif !important; font-weight: 400 !important;
    border-radius: 0 !important; margin: 0 !important;
}
.qodef-woo-product-list ul.products li.product a.button.add_to_cart_button:hover::before,
ul.products li.product a.button.add_to_cart_button:hover::before {
    transform: translate(-50%, -50%) !important;
    background: #B88A44 !important; border-color: #B88A44 !important; color: #FFFFFF !important;
}
/* Sam link nie może mieć własnych efektów hover motywu (przesuwanie/skalowanie) */
ul.products li.product a.button.add_to_cart_button,
ul.products li.product a.button.add_to_cart_button:hover,
ul.products li.product a.button.add_to_cart_button:focus {
    transform: none !important; translate: none !important; scale: none !important;
    animation: none !important; top: 0 !important; left: 0 !important; margin: 0 !important;
}

/* Wyłączenie "podskakiwania" zdjęcia produktu na hover (motyw skaluje/przesuwa obrazek,
   przez co przycisk nakładkowy rozjeżdżał się względem zdjęcia) */
ul.products li.product .qodef-e-media-image,
ul.products li.product .qodef-e-media-image img,
ul.products li.product .qodef-e-inner:hover .qodef-e-media-image,
ul.products li.product:hover .qodef-e-media-image,
ul.products li.product:hover .qodef-e-media-image img {
    transform: none !important;
    scale: none !important;
    transition: none !important;
}

/* --- Poprawa wyglądu Name Your Price (WP Wham) w motywie Qode --- */

form.cart {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

form.cart label[for^="alg_open_price"] {
    flex-basis: 100%;
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 16px;
}

input.alg_open_price {
    width: auto !important;
    min-width: 120px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-right: 5px;
    height: 45px;
}

span.popfwc-currency-symbol {
    margin-right: 20px;
    font-weight: bold;
}

.qodef-quantity-buttons {
    margin-right: 10px;
}

.pdf-coupon-fields {
    flex-basis: 100%;
    width: 100%;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.pdf-coupon-fields input,
.pdf-coupon-fields textarea {
    width: 100%;
    margin-bottom: 10px;
}

#product-16541 .woocommerce-tabs {
    margin-top: -80px !important;
    padding-top: 0 !important;
}

/* --- FIX OMNIBUS DLA DISCOUNT RULES --- */

p.iworks-omnibus {
    display: none !important;
}

.summary.entry-summary:has(del) p.iworks-omnibus {
    display: block !important;
}

p.stock.in-stock {
    display: none !important;
}

body .custom-product-landing .mobile-breadcrumb {
    display: none !important;
}

/* ==========================================================================
   GŁÓWNY WRAPPER NASZEJ KARTY PRODUKTU
   ========================================================================== */
body.home #qodef-page-inner,
body.front-page #qodef-page-inner {
    padding-bottom: 0 !important;
}

body.single-product #qodef-page-inner {
    margin-top: 0 !important;
    padding: 100px 0 0 !important;
}

body .custom-product-landing {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    margin-top: -100px !important;
    padding-top:50px;

    --color-navy-dark: #1D1D1B;
    --color-navy-light: #B88A44;
    --color-blue-soft: #F7F2EB;
    --color-off-white: #FAF8F4;
    --text-dark: #1D1D1B;
    --text-light: #6E6962;
    --border-light: #DED5C9;

    font-family: 'Montserrat', sans-serif !important;
    background-color: var(--color-off-white) !important;
    padding-bottom: 80px !important;
    overflow-x: hidden !important;
}

body .custom-product-landing .container { max-width: 1200px !important; margin: 0 auto !important; padding: 0 20px !important; }

body .custom-product-landing h1,
body .custom-product-landing h2,
body .custom-product-landing h3,
body .custom-product-landing .accordion-title,
body .custom-product-landing .icon-title,
body .custom-product-landing .related.products h2 {
    font-family: 'Cormorant Garamond', serif !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    font-weight: 500 !important;
    color: var(--color-navy-dark) !important;
}

/* GRID & GALERIA */
body .custom-product-landing .product-hero { display: grid !important; grid-template-columns: 1fr !important; gap: 50px !important; padding: 0 0 50px !important; }
@media (min-width: 768px) { body .custom-product-landing .product-hero { grid-template-columns: 1fr 1fr !important; gap: 70px !important;} }
body .custom-product-landing .product-gallery { position: sticky !important; top: 30px !important; align-self: start !important; }
body .custom-product-landing .main-image { width: 100% !important; background-color: var(--color-blue-soft) !important; padding: 50px !important; display: flex !important; align-items: center !important; justify-content: center !important; border-radius: 0 !important; }
body .custom-product-landing .main-image img { max-width: 100% !important; mix-blend-mode: multiply !important; border: none !important; padding: 0 !important;}
body .custom-product-landing .gallery-thumbs { display: flex !important; gap: 15px !important; margin-top: 15px !important; flex-wrap: wrap !important; }
body .custom-product-landing .thumb { width: 80px !important; height: 80px !important; border: 1px solid var(--border-light) !important; border-radius: 0 !important; cursor: pointer !important; background-color: var(--color-blue-soft) !important; display: flex !important; align-items: center !important; justify-content: center !important; padding: 10px !important; }
body .custom-product-landing .thumb.active { border-color: var(--color-navy-light) !important; box-shadow: 0 0 0 1px var(--color-navy-light) !important; }
body .custom-product-landing .thumb img { max-width: 100% !important; mix-blend-mode: multiply !important; }

/* INFO, CENY, RATING */
body .custom-product-landing .product-breadcrumb,
body .custom-product-landing .product-breadcrumb .woocommerce-breadcrumb { font-size: 11px !important; text-transform: uppercase !important; color: var(--text-light) !important; margin-bottom: 15px !important; font-family: 'Montserrat', sans-serif !important;}
body .custom-product-landing .product-breadcrumb a { text-decoration: none !important; color: inherit !important; }
body .custom-product-landing .product-title { font-size: 36px !important; line-height: 1.2 !important; margin-bottom: 15px !important; margin-top: 0 !important; }
body .custom-product-landing .product-rating { display: flex !important; align-items: center !important; gap: 10px !important; margin-bottom: 25px !important; cursor: pointer !important; }
body .custom-product-landing .product-rating .rating-text { font-size: 13px !important; color: var(--text-light) !important; text-decoration: underline !important; font-family: 'Montserrat', sans-serif !important;}
body .custom-product-landing .product-price { font-size: 28px !important; font-weight: 500 !important; color: var(--color-navy-dark) !important; margin-bottom: 30px !important; display: flex !important; gap: 15px !important; align-items: center !important; font-family: 'Montserrat', sans-serif !important; flex-wrap: wrap;}
body .custom-product-landing .product-price del { font-size: 18px !important; color: #999 !important; font-weight: normal !important;}
body .custom-product-landing .product-price ins { text-decoration: none !important;}
body .custom-product-landing .product-price .iworks-omnibus { flex-basis: 100% !important; font-size: 12px !important; color: #999 !important; margin-top: -10px !important; }

/* DLACZEGO WARTO (BENEFITY) */
body .custom-product-landing .short-benefits { border: 1px solid var(--border-light) !important; background-color: #ffffff !important; padding: 30px !important; margin-bottom: 40px !important; position: relative !important; border-radius: 0 !important; }
body .custom-product-landing .short-benefits::before { content: "Dlaczego warto?" !important; position: absolute !important; top: -12px !important; left: 20px !important; background: #ffffff !important; padding: 0 10px !important; font-family: 'Cormorant Garamond', serif !important; font-style: italic !important; color: var(--color-navy-light) !important; font-size: 16px !important; }
body .custom-product-landing .short-benefits ul { list-style: none !important; padding: 0 !important; margin: 0 !important; }
body .custom-product-landing .short-benefits li {
    display: grid !important;
    grid-template-columns: 140px 1fr !important;
    gap: 15px !important;
    margin-bottom: 15px !important;
    line-height: 1.6 !important;
    color: var(--text-dark) !important;
    font-family: 'Montserrat', sans-serif !important;
    align-items: start !important;
}
@media (max-width: 480px) {
    body .custom-product-landing .short-benefits li { grid-template-columns: 1fr !important; }
}
body .custom-product-landing .short-benefits li strong {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--color-navy-dark) !important;
    position: relative !important;
    padding-left: 20px !important;
}
body .custom-product-landing .short-benefits li strong::before {
    content: "✦" !important;
    color: var(--color-navy-light) !important;
    font-size: 16px !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
}

/* PRZYCISKI KOSZYKA I ILOŚCI */
body .custom-product-landing .custom-add-to-cart form.cart { display: flex !important; flex-wrap: wrap !important; gap: 15px !important; align-items: stretch !important; margin-bottom: 20px !important; flex-direction: row !important;}

body .custom-product-landing .custom-add-to-cart form.cart .quantity {
    height: 55px !important;
    width: 120px !important;
    border: 1px solid var(--border-light) !important;
    background: #ffffff !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin: 0 !important;
    padding: 0 !important;
}

body .custom-product-landing .custom-add-to-cart form.cart .quantity span {
    width: 40px !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    color: var(--color-navy-dark) !important;
    font-size: 20px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}
body .custom-product-landing .custom-add-to-cart form.cart .quantity span:hover {
    background-color: var(--color-blue-soft) !important;
    color: var(--color-navy-light) !important;
}

body .custom-product-landing .custom-add-to-cart form.cart .quantity input.qty {
    height: 100% !important;
    border: none !important;
    background: transparent !important;
    color: var(--color-navy-dark) !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    width: 40px !important;
    text-align: center !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

body .custom-product-landing .custom-add-to-cart form.cart button.single_add_to_cart_button {
    height: 55px !important;
    border-radius: 0 !important;
    font-family: 'Montserrat', sans-serif !important;
    text-transform: uppercase !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    letter-spacing: 0.12em !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 !important;
    padding: 0 40px !important;
    margin: 0 !important;
    background-color: var(--color-navy-dark) !important;
    color: #FAF8F4 !important;
    border: none !important;
}
body .custom-product-landing .custom-add-to-cart form.cart button.single_add_to_cart_button:hover { background-color: var(--color-navy-light) !important; }
body .custom-product-landing .custom-add-to-cart .qodef-buy-now-button { display: none !important; }

/* PRZYCISK ULUBIONE (YITH WISHLIST) */
body .custom-product-landing .custom-wishlist-btn { margin-bottom: 25px !important; }
body .custom-product-landing .custom-wishlist-btn .yith-wcwl-add-to-wishlist { margin: 0 !important; }
body .custom-product-landing .custom-wishlist-btn .yith-wcwl-add-button a {
    background: none !important;
    color: var(--text-light) !important;
    border: none !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: color 0.2s !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding: 5px 0 !important;
}
body .custom-product-landing .custom-wishlist-btn .yith-wcwl-add-button a:hover { color: var(--color-navy-dark) !important; }

body .custom-product-landing .custom-wishlist-btn .yith-wcwl-add-button a i { display: none !important; }
body .custom-product-landing .custom-wishlist-btn .yith-wcwl-add-button a::before {
    content: "" !important;
    display: inline-block !important;
    width: 16px !important;
    height: 16px !important;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%236E6962' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'%3E%3C/path%3E%3C/svg%3E") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    transition: all 0.2s !important;
}
body .custom-product-landing .custom-wishlist-btn .yith-wcwl-add-button a:hover::before {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23B88A44' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'%3E%3C/path%3E%3C/svg%3E") !important;
}

/* META I PASEK IKON */
body .custom-product-landing .product-meta { font-size: 13px !important; color: var(--text-light) !important; border-top: 1px solid var(--border-light) !important; padding-top: 20px !important; display: flex !important; flex-direction: column !important; gap: 10px !important; font-family: 'Montserrat', sans-serif !important;}
body .custom-product-landing .product-meta strong { color: var(--color-navy-dark) !important; text-transform: uppercase !important; letter-spacing: 1px !important; font-size: 11px !important; font-weight: 600 !important;}
body .custom-product-landing .product-meta a { color: inherit !important; text-decoration: none !important; border-bottom: 1px solid transparent !important; }
body .custom-product-landing .icon-bar { background-color: var(--color-blue-soft) !important; padding: 40px 0 !important; margin: 60px 0 !important; border-top: 1px solid var(--border-light) !important; border-bottom: 1px solid var(--border-light) !important; }

/* AKORDEONY I TABELA ATRYBUTÓW */
body .custom-product-landing .product-details { padding: 40px 0 !important; max-width: 800px !important; margin: 0 auto 60px !important; font-family: 'Montserrat', sans-serif !important;}
body .custom-product-landing .section-title { font-size: 32px !important; text-align: center !important; margin-bottom: 50px !important; color: var(--color-navy-dark) !important;}
body .custom-product-landing .accordion { border-bottom: 1px solid var(--border-light) !important; margin-bottom: 0 !important;}
body .custom-product-landing .accordion-header { display: flex !important; justify-content: space-between !important; align-items: center !important; padding: 25px 0 !important; cursor: pointer !important; background: transparent !important; border: none !important; width: 100% !important; text-align: left !important; }
body .custom-product-landing .accordion-title { font-size: 20px !important; margin:0 !important;}
body .custom-product-landing .accordion-icon { transition: transform 0.3s !important; color: var(--color-navy-dark) !important; }
body .custom-product-landing .accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out, padding 0.4s ease-out; font-size: 14px !important; font-weight: 400 !important; color: var(--text-light) !important; line-height: 1.8 !important; }
body .custom-product-landing .accordion.open .accordion-content { max-height: 2000px; padding-bottom: 30px !important; }
body .custom-product-landing .accordion.open .accordion-icon { transform: rotate(180deg) !important; }

body .custom-product-landing table.woocommerce-product-attributes { width: 100% !important; border-collapse: collapse !important; font-size: 14px !important; margin-bottom:0 !important; background: transparent !important; border: none !important;}
body .custom-product-landing table.woocommerce-product-attributes th,
body .custom-product-landing table.woocommerce-product-attributes td,
body .custom-product-landing table.woocommerce-product-attributes tr {
    padding: 15px 20px !important; text-align: left !important; border-bottom: 1px solid var(--border-light) !important; border-top: none !important; border-left: none !important; border-right: none !important; font-style: normal !important;
}
body .custom-product-landing table.woocommerce-product-attributes tr:last-child th,
body .custom-product-landing table.woocommerce-product-attributes tr:last-child td,
body .custom-product-landing table.woocommerce-product-attributes tr:last-child { border-bottom: none !important; }
body .custom-product-landing table.woocommerce-product-attributes tr:nth-child(odd) { background-color: rgba(247, 242, 235, 0.5) !important; }
body .custom-product-landing table.woocommerce-product-attributes th { width: 35% !important; font-weight: 600 !important; color: var(--color-navy-dark) !important; }
body .custom-product-landing table.woocommerce-product-attributes td p { margin:0 !important; color: var(--text-light) !important; font-family: 'Montserrat', sans-serif !important;}

/* OPINIE WOOCOMMERCE */
body .custom-product-landing #reviews { max-width: 800px !important; margin: 0 auto 60px !important; padding: 0 20px !important; }
body .custom-product-landing #reviews .woocommerce-Reviews-title { font-family: 'Cormorant Garamond', serif !important; font-size: 32px !important; border-bottom: 2px solid var(--border-light) !important; padding-bottom: 15px !important; margin-bottom: 40px !important; color: var(--color-navy-dark) !important; text-transform: none !important; }
body .custom-product-landing #reviews ol.commentlist { list-style: none !important; padding: 0 !important; margin: 0 !important; }
body .custom-product-landing #reviews ol.commentlist li.review { padding: 30px 0 !important; border-bottom: 1px solid var(--border-light) !important; margin: 0 !important; border-top: none !important; border-left: none !important; border-right: none !important; background: transparent !important; }
body .custom-product-landing #reviews ol.commentlist li.review:last-child { border-bottom: none !important; }
body .custom-product-landing #reviews ol.commentlist li.review img.avatar { display: none !important; }
body .custom-product-landing #reviews ol.commentlist li.review .comment-text { border: none !important; padding: 0 !important; margin: 0 !important; }
body .custom-product-landing #reviews ol.commentlist li.review .comment-text p.meta { display: flex !important; justify-content: space-between !important; align-items: center !important; margin-bottom: 15px !important; font-size: 16px !important; }
body .custom-product-landing #reviews ol.commentlist li.review .comment-text p.meta strong { font-weight: 600 !important; color: var(--color-navy-dark) !important; font-family: 'Montserrat', sans-serif !important; }
body .custom-product-landing #reviews ol.commentlist li.review .comment-text p.meta time { font-size: 13px !important; color: #999 !important; font-weight: 400 !important; }
body .custom-product-landing #reviews ol.commentlist li.review .comment-text .star-rating { color: var(--color-navy-light) !important; font-size: 14px !important; margin-bottom: 10px !important; }
body .custom-product-landing #reviews ol.commentlist li.review .comment-text .description p { color: var(--text-light) !important; font-size: 14px !important; line-height: 1.7 !important; font-family: 'Montserrat', sans-serif !important; }

/* POWIĄZANE PRODUKTY */
body .custom-product-landing .related-products-section { background-color: #ffffff !important; border-top: 1px solid var(--border-light) !important; padding: 60px 0 !important; width: 100vw !important; position: relative !important; left: 50% !important; right: 50% !important; margin-left: -50vw !important; margin-right: -50vw !important; }
body .custom-product-landing .related.products { max-width: 1200px !important; margin: 0 auto !important; padding: 0 20px !important;}
body .custom-product-landing .related.products > h2 { font-family: 'Cormorant Garamond', serif !important; font-size: 32px !important; text-align: center !important; margin-bottom: 40px !important; color: var(--color-navy-dark) !important; text-transform: none !important; }
body .custom-product-landing .related.products .qodef-woo-product-list ul.products { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important; gap: 30px !important; }
body .custom-product-landing .related.products .qodef-woo-product-list ul.products li.product { width: 100% !important; margin: 0 !important; text-align: center !important; border: none !important; }
body .custom-product-landing .related.products .qodef-woo-product-list ul.products li.product .qodef-e-media { background-color: var(--color-blue-soft) !important; padding: 30px !important; border-radius: 0 !important; margin-bottom: 20px !important; min-height: 250px !important; display: flex !important; justify-content: center !important; align-items: center !important; }
body .custom-product-landing .related.products .qodef-woo-product-list ul.products li.product .qodef-e-media img { mix-blend-mode: multiply !important; max-height: 180px !important; width: auto !important; object-fit: contain !important; }
body .custom-product-landing .related.products .qodef-woo-product-list ul.products li.product .qodef-woo-product-title a { font-family: 'Montserrat', sans-serif !important; font-size: 14px !important; font-weight: 500 !important; color: var(--color-navy-dark) !important; text-transform: none !important; line-height: 1.4 !important; }
body .custom-product-landing .related.products .qodef-woo-product-list ul.products li.product .price { font-family: 'Montserrat', sans-serif !important; color: var(--color-navy-dark) !important; font-weight: 600 !important; font-size: 16px !important; }

/* STICKY BAR */
body .custom-product-landing .sticky-bar { position: fixed !important; bottom: -120px !important; left: 0 !important; width: 100vw !important; background-color: #ffffff !important; box-shadow: 0 -10px 30px rgba(29, 29, 27, 0.08) !important; padding: 15px 0 !important; z-index: 9999 !important; transition: bottom 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important; border-top: 1px solid var(--border-light) !important; }
body .custom-product-landing .sticky-bar.visible { bottom: 0 !important; }
body .custom-product-landing .sticky-bar .container { display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 20px !important; margin: 0 auto !important;}
body .custom-product-landing .sticky-bar .sticky-product { display: flex !important; align-items: center !important; gap: 20px !important; flex-grow: 1 !important; }
body .custom-product-landing .sticky-bar .sticky-thumb { width: 60px !important; height: 60px !important; background-color: var(--color-blue-soft) !important; flex-shrink: 0 !important; display: flex !important; align-items: center !important; justify-content: center !important; padding: 5px !important; border: 1px solid var(--border-light) !important; border-radius: 0 !important; }
body .custom-product-landing .sticky-bar .sticky-thumb img { max-width: 100% !important; height: auto !important; mix-blend-mode: multiply !important; }
body .custom-product-landing .sticky-bar .sticky-info { font-family: 'Cormorant Garamond', serif !important; font-size: 16px !important; font-weight: 500 !important; color: var(--color-navy-dark) !important; }
body .custom-product-landing .sticky-bar .sticky-price { font-family: 'Montserrat', sans-serif !important; color: var(--text-light) !important; font-size: 14px !important; font-weight: 400 !important; margin-top: 4px !important; display: flex !important; gap: 10px !important; }
body .custom-product-landing .sticky-bar .sticky-price del { font-size: 12px !important; color: #999 !important; }
body .custom-product-landing .sticky-bar .sticky-add-btn { background-color: var(--color-navy-dark) !important; color: #FAF8F4 !important; text-transform: uppercase !important; letter-spacing: 0.12em !important; padding: 15px 40px !important; font-size: 12px !important; font-weight: 500 !important; cursor: pointer !important; border: none !important; border-radius: 0 !important; transition: background 0.3s !important; font-family: 'Montserrat', sans-serif !important;}
body .custom-product-landing .sticky-bar .sticky-add-btn:hover { background-color: var(--color-navy-light) !important; }

@media (max-width: 767px) {
    body .custom-product-landing .sticky-bar .sticky-info { display: none !important; }
    body .custom-product-landing .sticky-bar .sticky-add-btn { flex-grow: 1 !important; text-align: center !important;}
}

/* POPRAWKI WIDOKU MOBILNEGO */
@media (max-width: 768px) {
    body .custom-product-landing .desktop-breadcrumb {
        display: none !important;
    }
    body .custom-product-landing .mobile-breadcrumb {
        display: block !important;
        padding: 10px 20px 0 !important;
        margin-bottom: -10px !important;
    }

    body .custom-product-landing .product-info,
    body .custom-product-landing .product-details,
    body .custom-product-landing #reviews,
    body .custom-product-landing .related.products {
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box !important;
    }

    body .custom-product-landing .short-benefits {
        padding: 25px 15px !important;
    }
    body .custom-product-landing .short-benefits li {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 5px !important;
    }
    body .custom-product-landing .short-benefits li strong {
        margin-bottom: 2px !important;
    }

    body .custom-product-landing .icon-bar .container {
        flex-direction: column !important;
        gap: 40px !important;
        align-items: center !important;
        justify-content: center !important;
    }
    body .custom-product-landing .icon-item {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    body .custom-product-landing .icon-item svg {
        margin: 0 auto !important;
    }

    body .custom-product-landing .accordion-header {
        justify-content: center !important;
        gap: 15px !important;
        text-align: center !important;
    }
    body .custom-product-landing .accordion-title {
        flex-grow: 0 !important;
    }

    body .custom-product-landing .related.products .qodef-woo-product-list ul.products li.product .qodef-e-media {
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 280px !important;
        width: 100% !important;
    }

    body .custom-product-landing .custom-add-to-cart form.cart {
        flex-direction: column !important;
        gap: 15px !important;
    }
    body .custom-product-landing .custom-add-to-cart form.cart .quantity {
        width: 100% !important;
    }
    body .custom-product-landing .custom-add-to-cart form.cart button.single_add_to_cart_button {
        width: 100% !important;
        flex: none !important;
        height: 55px !important;
        min-height: 55px !important;
    }
}

body.error404 .qodef-404-title {
    font-family: 'Cormorant Garamond', serif !important;
    font-weight: 400 !important;
    font-size: 120px !important;
    color: #B88A44 !important;
    line-height: 1 !important;
}
body.error404 .qodef-404-subtitle {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    text-transform: none !important;
    color: #1D1D1B !important;
    margin: 16px 0 !important;
}
body.error404 .qodef-404-text {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14.5px !important;
    line-height: 1.7 !important;
    color: #6E6962 !important;
    font-weight: 300 !important;
    max-width: 480px !important;
    margin: 0 auto 32px !important;
}
body.error404,
body.error404 #qodef-page-wrapper,
body.error404 #qodef-page-outer,
body.error404 #qodef-page-inner,
body.error404 #qodef-page-content {
    background: #FAF8F4 !important;
}
body.error404 #qodef-404-page {
    text-align: center !important;
    padding: 100px 24px !important;
    background: #FAF8F4 !important;
}
body.error404 .qodef-404-button a {
    background: #1D1D1B !important;
    color: #FAF8F4 !important;
    border: none !important;
    padding: 15px 30px !important;
    font-size: 12.5px !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 500 !important;
    border-radius: 0 !important;
}
body.error404 .qodef-404-button a:hover {
    background: #B88A44 !important;
}


body.archive.woocommerce #qodef-page-inner,
body.archive.woocommerce .qodef-content,
body.archive.woocommerce .qodef-page-content-wrapper {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
}

.custom-archive-landing {
    --color-navy-dark: #1D1D1B;
    --color-navy-light: #B88A44;
    --color-blue-soft: #F7F2EB;
    --text-light: #6E6962;
    --border-light: #DED5C9;

    font-family: 'Montserrat', sans-serif !important;
    background-color: #FAF8F4 !important;
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    padding-top: 20px !important;
    padding-bottom: 80px !important;
    overflow-x: hidden !important;
}

.custom-archive-landing .container { max-width: 1200px !important; margin: 0 auto !important; padding: 0 20px !important; width: 100% !important; }

.custom-archive-landing .archive-hero { text-align: center !important; margin-bottom: 50px !important; }
.custom-archive-landing .archive-breadcrumb { font-size: 11px !important; text-transform: uppercase !important; color: var(--text-light) !important; margin-bottom: 15px !important; display: block !important; }
.custom-archive-landing .archive-breadcrumb a { color: inherit !important; text-decoration: none !important; }
.custom-archive-landing .archive-title { font-family: 'Cormorant Garamond', serif !important; font-size: 38px !important; color: var(--color-navy-dark) !important; margin: 0 !important; text-transform: uppercase !important; font-weight: 400 !important;}

.custom-archive-landing .archive-flex-layout {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 40px !important;
    align-items: flex-start !important;
}

.custom-archive-landing .archive-sidebar {
    width: 250px !important;
    flex-shrink: 0 !important;
    position: sticky !important;
    top: 30px !important;
}
.custom-archive-landing .sidebar-title {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 16px !important;
    color: var(--color-navy-dark) !important;
    margin-bottom: 20px !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
}
.custom-archive-landing ul.custom-sidebar-menu { list-style: none !important; padding: 0 !important; margin: 0 !important; display: block !important;}
.custom-archive-landing ul.custom-sidebar-menu li { padding: 10px 0 !important; border-bottom: 1px solid var(--border-light) !important; display: block !important; text-align: left !important;}
.custom-archive-landing ul.custom-sidebar-menu li:last-child { border-bottom: none !important; }
.custom-archive-landing ul.custom-sidebar-menu li a { font-size: 14px !important; color: var(--text-light) !important; text-decoration: none !important; display: block !important; transition: 0.2s !important;}
.custom-archive-landing ul.custom-sidebar-menu li a:hover { color: var(--color-navy-dark) !important; font-weight: 600 !important; padding-left: 5px !important; }

.custom-archive-landing .archive-products {
    flex-grow: 1 !important;
    width: 100% !important;
}
.custom-archive-landing .archive-toolbar { display: flex !important; justify-content: space-between !important; align-items: center !important; padding-bottom: 20px !important; border-bottom: 1px solid var(--border-light) !important; margin-bottom: 30px !important; color: var(--text-light) !important; font-size: 13px !important; }

.custom-archive-landing ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
    gap: 30px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}
.custom-archive-landing ul.products li.product { width: 100% !important; text-align: center !important; border: none !important; margin: 0 !important; }

.custom-archive-landing .qodef-e-media {
    background-color: var(--color-blue-soft) !important;
    padding: 30px !important;
    border-radius: 0 !important;
    margin-bottom: 15px !important;
    min-height: 250px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.custom-archive-landing .qodef-e-media img {
    mix-blend-mode: multiply !important;
    background: transparent !important;
    max-height: 180px !important;
    width: auto !important;
    object-fit: contain !important;
    margin: 0 auto !important;
}

.custom-archive-landing ul.products li.product .woocommerce-loop-product__title,
.custom-archive-landing ul.products li.product .qodef-woo-product-title a {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: var(--color-navy-dark) !important;
    line-height: 1.4 !important;
    display: block !important;
    margin: 0 0 8px 0 !important;
}
.custom-archive-landing ul.products li.product .price { color: var(--color-navy-dark) !important; font-weight: 600 !important; font-size: 16px !important; display: block !important; }

.custom-archive-landing .icon-bar { background-color: var(--color-blue-soft) !important; padding: 40px 0 !important; margin: 60px 0 !important; border-top: 1px solid var(--border-light) !important; border-bottom: 1px solid var(--border-light) !important; }
.custom-archive-landing .icon-title { font-family:'Cormorant Garamond', serif !important; font-size:19px !important; font-weight:500 !important; color:var(--color-navy-dark) !important; margin-top:12px !important; }
.custom-archive-landing .icon-desc { font-size:13px !important; color:var(--text-light) !important; max-width:220px !important; margin:0 auto !important; font-weight: 300 !important; }

@media (max-width: 991px) {
    .custom-archive-landing .archive-flex-layout { flex-wrap: wrap !important; }
    .custom-archive-landing .archive-sidebar { width: 100% !important; position: static !important; border-bottom: 1px solid var(--border-light) !important; padding-bottom: 20px !important; margin-bottom: 10px !important;}
}
@media (max-width: 768px) {
    .custom-archive-landing .icon-bar .container { flex-direction: column !important; align-items: center !important; gap: 40px !important;}
    .custom-archive-landing .archive-title { font-size: 30px !important; }
}

/* PAGINACJA */
.custom-archive-landing .archive-pagination {
    margin-top: 50px !important;
    margin-bottom: 20px !important;
    text-align: center !important;
}
.custom-archive-landing .woocommerce-pagination ul {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    border: none !important;
}
.custom-archive-landing .woocommerce-pagination ul li {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}
.custom-archive-landing .woocommerce-pagination ul li .page-numbers {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 42px !important;
    height: 42px !important;
    padding: 0 15px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: var(--text-light) !important;
    background-color: transparent !important;
    border: 1px solid var(--border-light) !important;
    border-radius: 0 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}
.custom-archive-landing .woocommerce-pagination ul li span.current {
    background-color: var(--color-navy-dark) !important;
    color: #FAF8F4 !important;
    border-color: var(--color-navy-dark) !important;
    font-weight: 600 !important;
}
.custom-archive-landing .woocommerce-pagination ul li a.page-numbers:hover {
    background-color: var(--color-blue-soft) !important;
    color: var(--color-navy-dark) !important;
    border-color: var(--color-navy-light) !important;
}
.custom-archive-landing .woocommerce-pagination ul li a.next,
.custom-archive-landing .woocommerce-pagination ul li a.prev {
    font-weight: 600 !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

/* WIDOK BESTSELLERÓW (SHORTCODE) */
.sekcja-bestseller {
    --color-navy-dark: #1D1D1B;
    --color-navy-light: #B88A44;
    --color-blue-soft: #F7F2EB;
    --text-light: #6E6962;
    --border-light: #DED5C9;
    font-family: 'Montserrat', sans-serif !important;
}

.sekcja-bestseller .qodef-woo-results {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-bottom: 20px !important;
    border-bottom: 1px solid var(--border-light) !important;
    margin-bottom: 30px !important;
    color: var(--text-light) !important;
    font-size: 13px !important;
}
.sekcja-bestseller .qodef-woo-results select.orderby {
    padding: 8px 12px !important;
    border: 1px solid var(--border-light) !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: var(--color-navy-dark) !important;
    font-family: 'Montserrat', sans-serif !important;
    cursor: pointer !important;
}

.sekcja-bestseller ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
    gap: 30px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}
.sekcja-bestseller ul.products li.product {
    width: 100% !important;
    text-align: center !important;
    border: none !important;
    margin: 0 !important;
}

.sekcja-bestseller .qodef-e-media {
    background-color: var(--color-blue-soft) !important;
    padding: 30px !important;
    border-radius: 0 !important;
    margin-bottom: 15px !important;
    min-height: 250px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: transform 0.3s ease !important;
}
.sekcja-bestseller ul.products li.product:hover .qodef-e-media {
    transform: translateY(-5px) !important;
}
.sekcja-bestseller .qodef-e-media img {
    mix-blend-mode: multiply !important;
    background: transparent !important;
    max-height: 180px !important;
    width: auto !important;
    object-fit: contain !important;
    margin: 0 auto !important;
}

.sekcja-bestseller .woocommerce-loop-product__title,
.sekcja-bestseller .qodef-woo-product-title a {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: var(--color-navy-dark) !important;
    line-height: 1.4 !important;
    display: block !important;
    margin: 0 0 8px 0 !important;
    text-transform: none !important;
}
.sekcja-bestseller .price {
    color: var(--color-navy-dark) !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    display: block !important;
}
.sekcja-bestseller .price del {
    color: #999 !important;
    font-size: 14px !important;
    font-weight: normal !important;
    margin-right: 5px !important;
}

.sekcja-bestseller .woocommerce-pagination {
    margin-top: 50px !important;
    margin-bottom: 20px !important;
    text-align: center !important;
}
.sekcja-bestseller .woocommerce-pagination ul {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    border: none !important;
}
.sekcja-bestseller .woocommerce-pagination ul li {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}
.sekcja-bestseller .woocommerce-pagination ul li .page-numbers {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 42px !important;
    height: 42px !important;
    padding: 0 15px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: var(--text-light) !important;
    background-color: transparent !important;
    border: 1px solid var(--border-light) !important;
    border-radius: 0 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}
.sekcja-bestseller .woocommerce-pagination ul li span.current {
    background-color: var(--color-navy-dark) !important;
    color: #FAF8F4 !important;
    border-color: var(--color-navy-dark) !important;
    font-weight: 600 !important;
}
.sekcja-bestseller .woocommerce-pagination ul li a.page-numbers:hover {
    background-color: var(--color-blue-soft) !important;
    color: var(--color-navy-dark) !important;
    border-color: var(--color-navy-light) !important;
}
.sekcja-bestseller .woocommerce-pagination ul li a.next,
.sekcja-bestseller .woocommerce-pagination ul li a.prev {
    font-weight: 600 !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

@media (max-width: 768px) {
    .sekcja-bestseller .qodef-woo-results {
        flex-direction: column !important;
        gap: 15px !important;
    }
}

h2.wp-block-heading.has-text-align-center {
    font-family: 'Cormorant Garamond', serif !important;
    color: #1D1D1B !important;
    font-size: 38px !important;
    margin-bottom: 40px !important;
}

/* WIDOK Z SHORTCODE (Bestsellery, Promocje, Nowości i wszystkie inne) */
div.woocommerce[class*="columns-"] {
    --color-navy-dark: #1D1D1B;
    --color-navy-light: #B88A44;
    --color-blue-soft: #F7F2EB;
    --text-light: #6E6962;
    --border-light: #DED5C9;
    font-family: 'Montserrat', sans-serif !important;
    width: 100% !important;
}

div.woocommerce[class*="columns-"] .qodef-woo-results {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-bottom: 20px !important;
    border-bottom: 1px solid var(--border-light) !important;
    margin-bottom: 30px !important;
    color: var(--text-light) !important;
    font-size: 13px !important;
}
div.woocommerce[class*="columns-"] select.orderby {
    padding: 8px 12px !important;
    border: 1px solid var(--border-light) !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: var(--color-navy-dark) !important;
    font-family: 'Montserrat', sans-serif !important;
    cursor: pointer !important;
}

div.woocommerce[class*="columns-"] ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
    gap: 30px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}
div.woocommerce[class*="columns-"] ul.products li.product {
    width: 100% !important;
    text-align: center !important;
    border: none !important;
    margin: 0 !important;
}

div.woocommerce[class*="columns-"] .qodef-e-media {
    background-color: var(--color-blue-soft) !important;
    padding: 30px !important;
    border-radius: 0 !important;
    margin-bottom: 15px !important;
    min-height: 250px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: transform 0.3s ease !important;
}
div.woocommerce[class*="columns-"] ul.products li.product:hover .qodef-e-media {
    transform: translateY(-5px) !important;
}

div.woocommerce[class*="columns-"] .qodef-e-media img {
    mix-blend-mode: multiply !important;
    background: transparent !important;
    max-height: 180px !important;
    width: auto !important;
    object-fit: contain !important;
    margin: 0 auto !important;
}

div.woocommerce[class*="columns-"] .woocommerce-loop-product__title,
div.woocommerce[class*="columns-"] .qodef-woo-product-title a {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: var(--color-navy-dark) !important;
    line-height: 1.4 !important;
    display: block !important;
    margin: 0 0 8px 0 !important;
    text-transform: none !important;
}
div.woocommerce[class*="columns-"] .price {
    color: var(--color-navy-dark) !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    display: block !important;
}
div.woocommerce[class*="columns-"] .price del {
    color: #999 !important;
    font-size: 14px !important;
    font-weight: normal !important;
    margin-right: 5px !important;
}

div.woocommerce[class*="columns-"] .woocommerce-pagination {
    margin-top: 50px !important;
    margin-bottom: 20px !important;
    text-align: center !important;
}
div.woocommerce[class*="columns-"] .woocommerce-pagination ul {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    border: none !important;
}
div.woocommerce[class*="columns-"] .woocommerce-pagination ul li {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

div.woocommerce[class*="columns-"] .woocommerce-pagination ul li .page-numbers {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 42px !important;
    height: 42px !important;
    padding: 0 15px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: var(--text-light) !important;
    background-color: transparent !important;
    border: 1px solid var(--border-light) !important;
    border-radius: 0 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}
div.woocommerce[class*="columns-"] .woocommerce-pagination ul li span.current {
    background-color: var(--color-navy-dark) !important;
    color: #FAF8F4 !important;
    border-color: var(--color-navy-dark) !important;
    font-weight: 600 !important;
}
div.woocommerce[class*="columns-"] .woocommerce-pagination ul li a.page-numbers:hover {
    background-color: var(--color-blue-soft) !important;
    color: var(--color-navy-dark) !important;
    border-color: var(--color-navy-light) !important;
}

/* Paginacja bez <ul> (np. strona wyników wyszukiwania) — same span/a bezpośrednio w nav */
nav.woocommerce-pagination {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 50px 0 20px !important;
    text-align: center !important;
}
nav.woocommerce-pagination > .page-numbers {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 38px !important;
    height: 38px !important;
    padding: 0 8px !important;
    border: 1px solid #DED5C9 !important;
    border-radius: 0 !important;
    background: #FFFFFF !important;
    color: #1D1D1B !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 13px !important;
    line-height: 1 !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}
nav.woocommerce-pagination > span.page-numbers.current {
    background: #B88A44 !important;
    border-color: #B88A44 !important;
    color: #FFFFFF !important;
}
nav.woocommerce-pagination > a.page-numbers:hover {
    border-color: #B88A44 !important;
    color: #B88A44 !important;
}
nav.woocommerce-pagination > a.next.page-numbers,
nav.woocommerce-pagination > a.prev.page-numbers {
    padding: 0 !important;
}
nav.woocommerce-pagination > a.next.page-numbers svg,
nav.woocommerce-pagination > a.prev.page-numbers svg {
    width: 10px !important;
    height: auto !important;
    fill: none !important;
    stroke: currentColor !important;
}
nav.woocommerce-pagination > a.next.page-numbers svg path,
nav.woocommerce-pagination > a.prev.page-numbers svg path {
    stroke: currentColor !important;
    fill: none !important;
}

div.woocommerce[class*="columns-"] .woocommerce-pagination ul li a.next svg,
div.woocommerce[class*="columns-"] .woocommerce-pagination ul li a.prev svg {
    width: 12px !important;
    height: auto !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

@media (max-width: 768px) {
    div.woocommerce[class*="columns-"] .qodef-woo-results {
        flex-direction: column !important;
        gap: 15px !important;
    }
}

/* REKOMENDOWANE PRODUKTY */
body .custom-product-landing .recommended-products-section {
    background-color: #ffffff !important;
    border-top: 1px solid var(--border-light) !important;
    padding: 60px 0 !important;
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}

body .custom-product-landing .recommended-products-section .container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

body .custom-product-landing .rec-section-title {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 32px !important;
    text-align: center !important;
    margin-bottom: 40px !important;
    color: var(--color-navy-dark) !important;
    text-transform: none !important;
    font-weight: 500 !important;
}

body .custom-product-landing .rec-slider-wrapper {
    position: relative !important;
    display: block !important;
}

body .custom-product-landing .rec-track-viewport {
    overflow: hidden !important;
    width: 100% !important;
}

body .custom-product-landing .recommended-products-section ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important;
    gap: 30px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

body .custom-product-landing .has-arrows .rec-track-viewport ul.products {
    display: flex !important;
    flex-wrap: nowrap !important;
    grid-template-columns: none !important;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    will-change: transform !important;
}

body .custom-product-landing .has-arrows .rec-track-viewport ul.products li.product {
    flex: 0 0 calc(25% - 23px) !important;
    width: calc(25% - 23px) !important;
}

body .custom-product-landing .recommended-products-section ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    text-align: center !important;
    border: none !important;
}

body .custom-product-landing .recommended-products-section ul.products li.product .qodef-e-media {
    background-color: var(--color-blue-soft) !important;
    padding: 30px !important;
    border-radius: 0 !important;
    margin-bottom: 20px !important;
    min-height: 250px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    transition: transform 0.3s ease !important;
}

body .custom-product-landing .recommended-products-section ul.products li.product:hover .qodef-e-media {
    transform: translateY(-5px) !important;
}

body .custom-product-landing .recommended-products-section ul.products li.product .qodef-e-media img {
    mix-blend-mode: multiply !important;
    max-height: 180px !important;
    width: auto !important;
    object-fit: contain !important;
    margin: 0 auto !important;
}

body .custom-product-landing .recommended-products-section ul.products li.product .qodef-woo-product-category {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 11px !important;
    color: var(--text-light) !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

body .custom-product-landing .recommended-products-section ul.products li.product .qodef-woo-product-title a,
body .custom-product-landing .recommended-products-section ul.products li.product .woocommerce-loop-product__title {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: var(--color-navy-dark) !important;
    text-transform: none !important;
    line-height: 1.4 !important;
}

body .custom-product-landing .recommended-products-section ul.products li.product .price {
    font-family: 'Montserrat', sans-serif !important;
    color: var(--color-navy-dark) !important;
    font-weight: 600 !important;
    font-size: 16px !important;
}

body .custom-product-landing .recommended-products-section ul.products li.product .price del {
    color: #999 !important;
    font-size: 13px !important;
    font-weight: normal !important;
    margin-right: 5px !important;
}

body .custom-product-landing .rec-arrow {
    position: absolute !important;
    top: 40% !important;
    transform: translateY(-50%) !important;
    width: 44px !important;
    height: 44px !important;
    background: #ffffff !important;
    border: 1px solid var(--border-light) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    color: var(--color-navy-dark) !important;
    transition: all 0.2s ease !important;
    z-index: 2 !important;
    padding: 0 !important;
}

body .custom-product-landing .rec-prev { left: -55px !important; }
body .custom-product-landing .rec-next { right: -55px !important; }

body .custom-product-landing .rec-arrow:hover {
    background-color: var(--color-navy-dark) !important;
    border-color: var(--color-navy-dark) !important;
    color: #ffffff !important;
}

body .custom-product-landing .rec-arrow svg {
    width: 18px !important;
    height: 18px !important;
}

body .custom-product-landing .rec-arrow:disabled {
    opacity: 0.3 !important;
    cursor: default !important;
    pointer-events: none !important;
}

@media (max-width: 991px) {
    body .custom-product-landing .has-arrows .rec-track-viewport ul.products li.product {
        flex: 0 0 calc(50% - 15px) !important;
        width: calc(50% - 15px) !important;
    }
}

@media (max-width: 768px) {
    body .custom-product-landing .rec-prev { left: -15px !important; }
    body .custom-product-landing .rec-next { right: -15px !important; }
}

@media (max-width: 480px) {
    body .custom-product-landing .has-arrows .rec-track-viewport ul.products li.product {
        flex: 0 0 100% !important;
        width: 100% !important;
    }
}

/* UKRYTA CENA DLA NIEZALOGOWANYCH */
a.ki-zaloguj-cena {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #6E6962 !important;
    text-decoration: none !important;
    border-bottom: 1px solid #DED5C9 !important;
    padding-bottom: 2px !important;
    transition: color 0.2s, border-color 0.2s !important;
    display: inline-block !important;
}

a.ki-zaloguj-cena:hover {
    color: #1D1D1B !important;
    border-bottom-color: #1D1D1B !important;
}

a.ki-zaloguj-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 55px !important;
    padding: 0 40px !important;
    background-color: #1D1D1B !important;
    color: #FAF8F4 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.12em !important;
    border-radius: 0 !important;
    text-decoration: none !important;
    border: none !important;
    transition: background-color 0.3s !important;
    margin-bottom: 20px !important;
    width: 100% !important;
}

a.ki-zaloguj-btn:hover {
    background-color: #B88A44 !important;
    color: #FAF8F4 !important;
}

ul.products a.ki-zaloguj-btn,
.sekcja-bestseller a.ki-zaloguj-btn,
div.woocommerce[class*="columns-"] a.ki-zaloguj-btn {
    height: 42px !important;
    padding: 0 20px !important;
    font-size: 11px !important;
    width: auto !important;
    margin-bottom: 0 !important;
}

@media (max-width: 768px) {
    a.ki-zaloguj-btn {
        width: 100% !important;
        flex: none !important;
    }
}

/* Menu boczne (Zarządzane przez JavaScript) */
.custom-sidebar-menu ul.children {
    display: none;
    padding-left: 10px !important;
    margin-left: 0 !important;
    margin-top: 5px;
    margin-bottom: 5px;
    list-style-type: none;
}

.custom-sidebar-menu .current-cat > ul.children,
.custom-sidebar-menu .current-cat-parent > ul.children,
.custom-sidebar-menu .current-cat-ancestor > ul.children {
    display: block;
}

.custom-sidebar-menu .current-cat > a {
    font-weight: 700;
    color: #1D1D1B !important;
}

.custom-sidebar-menu a {
    text-decoration: none;
    color: #6E6962;
    padding: 6px 0;
    font-size: 14px;
    transition: color 0.3s ease;
    text-transform: uppercase;
}

.custom-sidebar-menu a:hover {
    color: #1D1D1B;
}

.custom-sidebar-menu .current-cat > a {
    font-weight: 700;
    color: #1D1D1B !important;
    text-decoration: underline;
}

.custom-sidebar-menu a {
    text-decoration: none;
    color: #6E6962;
    display: block;
    padding: 4px 0;
    font-size: 14px;
    transition: color 0.3s ease;
    text-transform: uppercase;
}

@media (min-width: 992px) {
    .custom-sidebar-menu .cat-item:hover > ul.children {
        display: block !important;
    }
}

.custom-archive-landing .archive-title {
    text-transform: uppercase!important;
}

/* ==========================================================================
   Spark — klasyczny koszyk w wyglądzie bloku (v2)
   ========================================================================== */

body.woocommerce-cart {
	--spark-line:  #DED5C9;
	--spark-ink:   #1D1D1B;
	--spark-muted: #6E6962;
	--spark-navy:  #1D1D1B;
	--spark-btn:   #1D1D1B;
	--spark-badge: #F7F2EB;
}

body.woocommerce-cart .spark-cart-layout {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) 400px;
	gap: 48px;
	align-items: start;
	max-width: 1320px;
	margin-inline: auto;
	float: none !important;
}

body.woocommerce-cart .spark-cart-layout > .woocommerce-cart-form,
body.woocommerce-cart .spark-cart-layout > .cart-collaterals {
	float: none !important;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.woocommerce-cart .spark-cart-layout > .cart-collaterals {
	position: sticky;
	top: 110px;
}

body.woocommerce-cart table.spark-cart-table {
	width: 100%;
	border: 1px solid var(--spark-line) !important;
	border-collapse: collapse !important;
	margin: 0 !important;
	background: none !important;
}

body.woocommerce-cart table.spark-cart-table thead th {
	font-size: 12px !important;
	font-weight: 500 !important;
	letter-spacing: .05em !important;
	text-transform: uppercase !important;
	color: var(--spark-ink) !important;
	padding: 15px 18px !important;
	border: 0 !important;
	border-bottom: 1px solid var(--spark-line) !important;
	text-align: left !important;
	background: none !important;
	line-height: 1.2 !important;
}

body.woocommerce-cart table.spark-cart-table thead th.spark-col-total {
	text-align: right !important;
}

body.woocommerce-cart table.spark-cart-table td {
	padding: 20px 18px !important;
	border: 0 !important;
	vertical-align: top !important;
	background: none !important;
}

body.woocommerce-cart table.spark-cart-table td.spark-col-total {
	text-align: right !important;
	white-space: nowrap;
	font-size: 14px !important;
	color: var(--spark-ink) !important;
}

body.woocommerce-cart .spark-item { display: flex; gap: 16px; }
body.woocommerce-cart .spark-item__media { flex: 0 0 52px; }
body.woocommerce-cart .spark-item__media img { width: 52px !important; height: auto !important; display: block; }
body.woocommerce-cart .spark-item__body { flex: 1 1 auto; min-width: 0; }

body.woocommerce-cart .spark-item__name a {
	color: var(--spark-navy) !important;
	text-decoration: none !important;
	font-size: 13px !important;
	font-weight: 400 !important;
	line-height: 1.45 !important;
	letter-spacing: .01em;
}

body.woocommerce-cart .spark-item__price {
	margin-top: 6px !important;
	font-size: 13px !important;
	color: var(--spark-ink) !important;
}

body.woocommerce-cart .spark-item__price del { color: var(--spark-muted) !important; margin-right: 6px; opacity: 1; }
body.woocommerce-cart .spark-item__price ins { text-decoration: none !important; background: none !important; }

body.woocommerce-cart .spark-item__excerpt {
	margin-top: 7px !important;
	font-size: 12px !important;
	line-height: 1.5 !important;
	color: var(--spark-navy) !important;
	opacity: .85;
}

body.woocommerce-cart .spark-item__controls { display: flex !important; align-items: center !important; gap: 14px !important; margin-top: 14px !important; }
body.woocommerce-cart .spark-qty__btn { display: none !important; }

body.woocommerce-cart .spark-qty {
	display: inline-flex !important;
	align-items: center !important;
	border: 0 !important;
}

body.woocommerce-cart .spark-qty .quantity {
	display: inline-flex !important;
	align-items: center !important;
	margin: 0 !important;
	border: 1px solid var(--spark-line) !important;
	height: 40px;
	max-width: none !important;
	width: auto !important;
}

body.woocommerce-cart .spark-qty .quantity button,
body.woocommerce-cart .spark-qty .quantity .plus,
body.woocommerce-cart .spark-qty .quantity .minus,
body.woocommerce-cart .spark-qty .quantity a {
	width: 34px !important;
	height: 38px !important;
	min-width: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: none !important;
	color: var(--spark-ink) !important;
	font-size: 15px !important;
	line-height: 1 !important;
	padding: 0 !important;
	margin: 0 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-shadow: none !important;
}

body.woocommerce-cart .spark-qty input.qty {
	width: 40px !important;
	min-width: 0 !important;
	height: 38px !important;
	border: 0 !important;
	background: none !important;
	text-align: center !important;
	font-size: 13px !important;
	padding: 0 !important;
	margin: 0 !important;
	box-shadow: none !important;
	-moz-appearance: textfield;
}

body.woocommerce-cart .spark-qty input.qty::-webkit-outer-spin-button,
body.woocommerce-cart .spark-qty input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

body.woocommerce-cart a.spark-item__remove {
	color: var(--spark-muted) !important;
	background: none !important;
	width: auto !important;
	height: auto !important;
	border-radius: 0 !important;
	font-size: 0 !important;
	display: inline-flex !important;
	line-height: 1 !important;
}

body.woocommerce-cart a.spark-item__remove:hover { color: #B88A44 !important; background: none !important; }

body.woocommerce-cart .spark-col-total small,
body.woocommerce-cart .spark-col-total .wdr-cart-item-saved,
body.woocommerce-cart .spark-col-total .awdr-saved-info {
	display: inline-block !important;
	margin-top: 7px !important;
	padding: 4px 8px !important;
	background: var(--spark-badge) !important;
	color: var(--spark-ink) !important;
	font-size: 11px !important;
	line-height: 1.3 !important;
	white-space: nowrap;
}

body.woocommerce-cart .spark-actions-row td.actions { padding: 0 !important; border: 0 !important; }
body.woocommerce-cart .spark-update-cart { display: none !important; }

body.woocommerce-cart .cart_totals.spark-totals { width: 100% !important; float: none !important; }

body.woocommerce-cart .spark-totals h2.spark-totals__title {
	font-size: 13px !important;
	font-weight: 400 !important;
	letter-spacing: .05em !important;
	text-transform: uppercase !important;
	color: var(--spark-ink) !important;
	margin: 0 0 6px !important;
	padding: 0 !important;
	line-height: 1.3 !important;
}

body.woocommerce-cart .spark-totals table.spark-totals__table {
	width: 100% !important;
	border: 0 !important;
	border-collapse: collapse !important;
	margin: 0 !important;
	background: none !important;
	table-layout: fixed;
}

body.woocommerce-cart .spark-totals table.spark-totals__table th,
body.woocommerce-cart .spark-totals table.spark-totals__table td {
	padding: 16px 0 !important;
	border: 0 !important;
	border-top: 1px solid var(--spark-line) !important;
	background: none !important;
	font-weight: 400 !important;
	font-size: 14px !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	line-height: 1.4 !important;
	vertical-align: top !important;
	color: var(--spark-navy) !important;
	width: auto !important;
}

body.woocommerce-cart .spark-totals table.spark-totals__table th { text-align: left !important; width: 42% !important; }
body.woocommerce-cart .spark-totals table.spark-totals__table td { text-align: right !important; color: var(--spark-ink) !important; }

body.woocommerce-cart .spark-totals table.spark-totals__table tr.order-total th,
body.woocommerce-cart .spark-totals table.spark-totals__table tr.order-total td {
	font-size: 20px !important;
	padding-top: 20px !important;
	color: var(--spark-ink) !important;
}

body.woocommerce-cart .spark-totals table.spark-totals__table tr.order-total th { width: 55% !important; }

body.woocommerce-cart .spark-totals table.spark-totals__table tr.order-total small,
body.woocommerce-cart .spark-totals table.spark-totals__table .includes_tax {
	display: block !important;
	font-size: 12px !important;
	color: var(--spark-muted) !important;
	margin-top: 5px !important;
	font-weight: 400 !important;
}

body.woocommerce-cart .spark-coupon { border-top: 1px solid var(--spark-line); }

body.woocommerce-cart button.spark-coupon__toggle {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	width: 100% !important;
	padding: 16px 0 !important;
	margin: 0 !important;
	background: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	color: var(--spark-navy) !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	cursor: pointer;
	box-shadow: none !important;
}

body.woocommerce-cart .spark-chevron { transition: transform .2s ease; flex: 0 0 auto; }
body.woocommerce-cart .spark-coupon__toggle[aria-expanded="true"] .spark-chevron { transform: rotate(180deg); }

body.woocommerce-cart .spark-coupon__form { display: flex !important; gap: 8px; padding-bottom: 16px; margin: 0 !important; }

body.woocommerce-cart input.spark-coupon__input {
	flex: 1 1 auto;
	min-width: 0;
	height: 42px !important;
	border: 1px solid var(--spark-line) !important;
	border-radius: 0 !important;
	padding: 0 12px !important;
	margin: 0 !important;
	font-size: 13px !important;
	background: #fff !important;
}

body.woocommerce-cart button.spark-coupon__submit {
	flex: 0 0 auto;
	height: 42px !important;
	background: var(--spark-btn) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 0 !important;
	padding: 0 18px !important;
	margin: 0 !important;
	font-size: 13px !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
}

body.woocommerce-cart .spark-shipping__summary { display: flex !important; align-items: baseline; justify-content: flex-end; gap: 10px; }
body.woocommerce-cart .spark-shipping__chosen { font-size: 12px !important; color: var(--spark-muted) !important; }

body.woocommerce-cart button.spark-shipping__toggle,
body.woocommerce-cart button.spark-shipping__calc-toggle {
	background: none !important;
	border: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	font-size: 12px !important;
	color: var(--spark-navy) !important;
	text-decoration: underline !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	cursor: pointer;
	width: auto !important;
	height: auto !important;
	box-shadow: none !important;
}

body.woocommerce-cart ul.spark-shipping__list { list-style: none !important; margin: 12px 0 0 !important; padding: 0 !important; text-align: left !important; }
body.woocommerce-cart ul.spark-shipping__list li { display: flex !important; align-items: center; gap: 9px; padding: 7px 0 !important; margin: 0 !important; font-size: 13px !important; list-style: none !important; }
body.woocommerce-cart ul.spark-shipping__list li::before { content: none !important; }
body.woocommerce-cart ul.spark-shipping__list li img { max-height: 20px; width: auto; }
body.woocommerce-cart ul.spark-shipping__list label { margin: 0 !important; font-size: 13px !important; color: var(--spark-navy) !important; font-weight: 400 !important; }

body.woocommerce-cart .spark-shipping__destination { margin: 10px 0 0 !important; font-size: 12px !important; color: var(--spark-muted) !important; text-align: left !important; line-height: 1.5 !important; }
body.woocommerce-cart .spark-shipping__calculator { margin-top: 12px; text-align: left; }

body.woocommerce-cart .spark-totals .wc-proceed-to-checkout { padding: 22px 0 0 !important; margin: 0 !important; }

body.woocommerce-cart .spark-totals .wc-proceed-to-checkout a.checkout-button {
	display: block !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 19px 20px !important;
	background: var(--spark-btn) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 0 !important;
	font-size: 16px !important;
	font-weight: 500 !important;
	text-align: center !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
}

body.woocommerce-cart .spark-totals .wc-proceed-to-checkout a.checkout-button:hover { background: #B88A44 !important; }

body.woocommerce-cart .spark-cart-layout.is-updating { opacity: .55; pointer-events: none; transition: opacity .15s ease; }

@media (max-width: 991px) {
	body.woocommerce-cart .spark-cart-layout { grid-template-columns: 1fr; gap: 28px; }
	body.woocommerce-cart .spark-cart-layout > .cart-collaterals { position: static; }
}

@media (max-width: 575px) {
	body.woocommerce-cart table.spark-cart-table td { padding: 16px 12px !important; }
	body.woocommerce-cart .spark-item { gap: 12px; }
	body.woocommerce-cart .spark-item__media { flex-basis: 46px; }
	body.woocommerce-cart .spark-item__media img { width: 46px !important; }
	body.woocommerce-cart .spark-item__excerpt { display: none; }
}

body.woocommerce-cart .spark-shipping__cost { font-size: 14px !important; color: var(--spark-ink) !important; line-height: 1.4; }
body.woocommerce-cart .spark-shipping__summary { margin-top: 4px !important; }

body.woocommerce-cart .spark-cart-layout > .cart-collaterals,
body.woocommerce-cart .spark-cart-layout > .cart-collaterals > *:first-child,
body.woocommerce-cart .cart_totals.spark-totals > *:first-child {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

body.woocommerce-cart .spark-cart-layout > .woocommerce-cart-form {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

/* ==========================================================================
   KOSZYK BOCZNY (side area cart) — reguły headera przeniesione do
   assets/infinity-header.css; poniżej został tylko panel koszyka.
   ========================================================================== */

.qodef-widget-side-area-cart-content {
    background: #FAF8F4 !important;
    border-left: 1px solid #DED5C9 !important;
}
.qodef-e-side-area-cart-title {
    font-family: 'Cormorant Garamond', serif !important;
    color: #1D1D1B !important;
}
.qodef-m-posts-not-found { color: #6E6962 !important; font-family: 'Montserrat', sans-serif !important; }

#qodef-woo-page .qodef-quantity-buttons .qodef-quantity-input,
#qodef-woo-page .qodef-quantity-buttons .qodef-quantity-minus,
#qodef-woo-page .qodef-quantity-buttons .qodef-quantity-plus,
#yith-quick-view-modal .qodef-quantity-buttons .qodef-quantity-input,
#yith-quick-view-modal .qodef-quantity-buttons .qodef-quantity-minus,
#yith-quick-view-modal .qodef-quantity-buttons .qodef-quantity-plus {
    height: 40px !important;
    line-height: 38px !important;
}

.spark-coupon__submit,
#qodef-woo-page .spark-coupon__submit.button,
.spark-coupon__submit.button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: normal !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 11px !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    background: #FAF8F4 !important;
    border: 1px solid #DED5C9 !important;
    color: #1D1D1B !important;
    border-radius: 0 !important;
    padding: 12px 22px !important;
}
.spark-coupon__submit:hover,
#qodef-woo-page .spark-coupon__submit.button:hover,
.spark-coupon__submit.button:hover {
    background: #B88A44 !important;
    border-color: #B88A44 !important;
    color: #FFFFFF !important;
}
p .spark-coupon__submit.button,
#qodef-woo-page p .spark-coupon__submit.button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: normal !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 11px !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    background: #FAF8F4 !important;
    border: 1px solid #DED5C9 !important;
    color: #1D1D1B !important;
    border-radius: 0 !important;
    padding: 12px 22px !important;
}
p .spark-coupon__submit.button:hover,
#qodef-woo-page p .spark-coupon__submit.button:hover {
    background: #B88A44 !important;
    border-color: #B88A44 !important;
    color: #FFFFFF !important;
}
p button.button[name="calc_shipping"],
#qodef-woo-page p button.button[name="calc_shipping"] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: normal !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 11px !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    background: #FAF8F4 !important;
    border: 1px solid #DED5C9 !important;
    color: #1D1D1B !important;
    border-radius: 0 !important;
    padding: 12px 22px !important;
}
p button.button[name="calc_shipping"]:hover,
#qodef-woo-page p button.button[name="calc_shipping"]:hover {
    background: #B88A44 !important;
    border-color: #B88A44 !important;
    color: #FFFFFF !important;
}
#qodef-woo-page button.button#place_order,
#qodef-woo-page button.button.alt#place_order,
button.button.alt#place_order {
    font-family: 'Montserrat', sans-serif !important;
    background: #1D1D1B !important;
    color: #FAF8F4 !important;
    padding: 15px 30px !important;
    font-size: 12.5px !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    border: 1px solid transparent !important;
}
#qodef-woo-page button.button#place_order:hover,
button.button.alt#place_order:hover {
    background: #B88A44 !important;
    color: #FFFFFF !important;
}
#qodef-woo-page p.form-row-last button.button[name="apply_coupon"],
p.form-row-last button.button[name="apply_coupon"] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 11px !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    background: #FAF8F4 !important;
    border: 1px solid #DED5C9 !important;
    color: #1D1D1B !important;
    border-radius: 0 !important;
    padding: 12px 22px !important;
}
#qodef-woo-page p.form-row-last button.button[name="apply_coupon"]:hover,
p.form-row-last button.button[name="apply_coupon"]:hover {
    background: #B88A44 !important;
    border-color: #B88A44 !important;
    color: #FFFFFF !important;
}
.woocommerce-account button.woocommerce-form-register__submit,
.woocommerce-account button.woocommerce-form-login__submit {
    font-family: 'Montserrat', sans-serif !important;
    background: #1D1D1B !important;
    color: #FAF8F4 !important;
    padding: 15px 30px !important;
    font-size: 12.5px !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    border: 1px solid transparent !important;
}
.woocommerce-account button.woocommerce-form-register__submit:hover,
.woocommerce-account button.woocommerce-form-login__submit:hover {
    background: #B88A44 !important;
    color: #FFFFFF !important;
}

/* Przycisk "Do koszyka" / "Zobacz koszyk" w side area cart — nadpisuje granat #1c235b motywu */
.widget_drleigh_core_woo_side_area_cart .qodef-widget-side-area-cart-inner .qodef-m-action-link:first-child {
    color: #fff !important;
    background-color: #B88A44 !important;
    border: 1px solid transparent !important;
    max-width: 50% !important;
}
.widget_drleigh_core_woo_side_area_cart .qodef-widget-side-area-cart-inner .qodef-m-action-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}


/* ==========================================================================
   POPRAWKI — tło galerii na całą szerokość, cena/omnibus, stan magazynu,
   przycisk koszyka na całą szerokość, stepper ilości
   ========================================================================== */

body .custom-product-landing .main-image {
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Tekst "Najniższa cena w ciągu ostatnich 30 dni" (Omnibus) */
body .custom-product-landing .product-price,
body .custom-product-landing .summary.entry-summary .price {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
}
body .custom-product-landing p.iworks-omnibus,
body .custom-product-landing .summary.entry-summary p.iworks-omnibus {
    display: block !important;
    flex-basis: 100% !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    color: #6E6962 !important;
    text-transform: none !important;
    margin: 2px 0 0 !important;
    order: 3 !important;
}

/* Ukrycie informacji o stanie magazynowym */
body .custom-product-landing p.stock,
body .custom-product-landing .stock {
    display: none !important;
}

/* Formularz dodawania do koszyka: ilość + przycisk na całą szerokość, bez rozjazdu */
body .custom-product-landing .custom-add-to-cart form.cart {
    display: flex !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    gap: 12px !important;
}
body .custom-product-landing .custom-add-to-cart form.cart .quantity {
    flex: 0 0 110px !important;
    width: 110px !important;
    box-sizing: border-box !important;
}
body .custom-product-landing .custom-add-to-cart form.cart button.single_add_to_cart_button {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}
body .custom-product-landing .custom-add-to-cart form.cart .qodef-buy-now-button {
    display: none !important;
}

@media (max-width: 768px) {
    body .custom-product-landing .custom-add-to-cart form.cart {
        flex-wrap: wrap !important;
    }
    body .custom-product-landing .custom-add-to-cart form.cart .quantity {
        flex: 1 1 100% !important;
        width: 100% !important;
    }
    body .custom-product-landing .custom-add-to-cart form.cart button.single_add_to_cart_button {
        flex: 1 1 100% !important;
    }
}


/* ==========================================================================
   Reguły motywu (poprzednia zawartość style.css)
   ========================================================================== */


/* ==========================================================================
   WIDOK ARCHIWUM (KATEGORIE / TAGI)
   ========================================================================== */

.custom-archive-landing {
    --color-navy-dark: #1D1D1B;
    --color-navy-light: #B88A44;
    --color-blue-soft: #F7F2EB;
    --color-off-white: #FAF8F4;
    --text-dark: #1D1D1B;
    --text-light: #6E6962;
    --border-light: #DED5C9;

    font-family: 'Montserrat', sans-serif !important;
    background-color: var(--color-off-white) !important;
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    padding-top: 50px !important;
    padding-bottom: 80px !important;
    overflow-x: hidden !important;
}

body.archive #qodef-page-inner { margin-top: 0 !important; }
.custom-archive-landing .container { max-width: 1280px !important; margin: 0 auto !important; padding: 0 40px !important; }

/* 1. Nagłówek i Tytuł */
.custom-archive-landing .archive-hero { text-align: center !important; margin-bottom: 50px !important; }
.custom-archive-landing .archive-breadcrumb { font-size: 11.5px !important; text-transform: uppercase !important; letter-spacing: 0.06em !important; color: var(--text-light) !important; margin-bottom: 15px !important; display: block !important; }
.custom-archive-landing .archive-breadcrumb a { color: inherit !important; text-decoration: none !important; }
.custom-archive-landing .archive-title { font-family: 'Cormorant Garamond', serif !important; font-size: 40px !important; color: var(--color-navy-dark) !important; margin: 0 !important; text-transform: none !important; font-weight: 400 !important; }

/* 2. Bezpieczny układ dwukolumnowy (Flexbox) */
.custom-archive-landing .archive-flex-layout {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 40px !important;
    align-items: flex-start !important;
}

/* LEWA KOLUMNA: własne menu */
.custom-archive-landing .archive-sidebar {
    width: 250px !important;
    flex-shrink: 0 !important;
    position: sticky !important;
    top: 30px !important;
}
.custom-archive-landing .sidebar-title {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 21px !important;
    color: var(--color-navy-dark) !important;
    text-transform: none !important;
    margin-bottom: 20px !important;
    font-weight: 500 !important;
}
.custom-archive-landing .custom-sidebar-menu { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.custom-archive-landing .custom-sidebar-menu li { padding: 10px 0 !important; border-bottom: 1px solid var(--border-light) !important; }
.custom-archive-landing .custom-sidebar-menu li:last-child { border-bottom: none !important; }
.custom-archive-landing .custom-sidebar-menu li a { font-size: 13.5px !important; color: var(--text-light) !important; text-decoration: none !important; transition: color 0.2s !important; display: block !important; font-weight: 300 !important; }
.custom-archive-landing .custom-sidebar-menu li a:hover,
.custom-archive-landing .custom-sidebar-menu li.current-menu-item > a { color: var(--color-navy-light) !important; font-weight: 500 !important; }

/* PRAWA KOLUMNA: produkty */
.custom-archive-landing .archive-products {
    flex-grow: 1 !important;
    width: calc(100% - 290px) !important;
}

.custom-archive-landing .archive-toolbar { display: flex !important; justify-content: space-between !important; align-items: center !important; padding-bottom: 20px !important; border-bottom: 1px solid var(--border-light) !important; margin-bottom: 30px !important; color: var(--text-light) !important; font-size: 13px !important; }
.custom-archive-landing .archive-toolbar select.orderby { padding: 10px 14px !important; border: 1px solid var(--border-light) !important; border-radius: 0 !important; background: #fff !important; color: var(--color-navy-dark) !important; font-family: 'Montserrat', sans-serif !important; cursor: pointer !important; }

/* Siatka i kafelki produktów */
.custom-archive-landing ul.products { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important; gap: 24px !important; padding: 0 !important; margin: 0 !important; list-style: none !important; }
.custom-archive-landing ul.products li.product { width: 100% !important; text-align: center !important; border: 1px solid var(--border-light) !important; background: #fff !important; margin: 0 !important; padding: 18px 16px 22px !important; transition: border-color 0.2s !important; }
.custom-archive-landing ul.products li.product:hover { border-color: var(--color-navy-light) !important; }

.custom-archive-landing ul.products li.product .qodef-e-media {
    background-color: var(--color-blue-soft) !important;
    padding: 24px !important;
    border-radius: 0 !important;
    margin-bottom: 16px !important;
    min-height: 200px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: transform 0.3s ease !important;
}
.custom-archive-landing ul.products li.product:hover .qodef-e-media { transform: translateY(-4px) !important; }

.custom-archive-landing ul.products li.product img {
    mix-blend-mode: multiply !important;
    background: transparent !important;
    max-height: 170px !important;
    width: auto !important;
    object-fit: contain !important;
    margin: 0 auto !important;
}

.custom-archive-landing ul.products li.product .woocommerce-loop-product__title,
.custom-archive-landing ul.products li.product .qodef-woo-product-title a {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 400 !important;
    color: var(--color-navy-dark) !important;
    text-transform: none !important;
    line-height: 1.45 !important;
    display: block !important;
    margin-top: 0 !important;
    margin-bottom: 8px !important;
    text-decoration: none !important;
}
.custom-archive-landing ul.products li.product .price { font-family: 'Montserrat', sans-serif !important; color: var(--color-navy-dark) !important; font-weight: 600 !important; font-size: 15px !important; display: block !important; }
.custom-archive-landing ul.products li.product .price del { color: #999 !important; font-size: 13px !important; font-weight: normal !important; margin-right: 5px !important; }
.custom-archive-landing ul.products li.product .button { display: none !important; }

/* Opis SEO na dole */
.custom-archive-landing .archive-seo-description { max-width: 800px !important; margin: 0 auto !important; padding: 60px 20px 20px !important; color: var(--text-light) !important; font-size: 14px !important; line-height: 1.8 !important; text-align: center !important; font-weight: 300 !important; }
.custom-archive-landing .archive-seo-description h2,
.custom-archive-landing .archive-seo-description h3 { font-family: 'Cormorant Garamond', serif !important; color: var(--color-navy-dark) !important; margin: 30px 0 15px !important; font-weight: 500 !important; }

/* Pasek korzyści (archiwum) */
.custom-archive-landing .icon-bar { background-color: var(--color-blue-soft) !important; padding: 40px 0 !important; margin: 60px 0 !important; border-top: 1px solid var(--border-light) !important; border-bottom: 1px solid var(--border-light) !important; }
.custom-archive-landing .icon-title { font-family: 'Cormorant Garamond', serif !important; font-size: 19px !important; font-weight: 500 !important; color: var(--color-navy-dark) !important; margin-top: 12px !important; }
.custom-archive-landing .icon-desc { font-size: 13px !important; color: var(--text-light) !important; max-width: 220px !important; margin: 0 auto !important; font-weight: 300 !important; }

/* Responsywność */
@media (max-width: 991px) {
    .custom-archive-landing .archive-flex-layout { flex-direction: column !important; }
    .custom-archive-landing .archive-sidebar { width: 100% !important; position: static !important; border-bottom: 1px solid var(--border-light) !important; padding-bottom: 20px !important; margin-bottom: 10px !important; }
    .custom-archive-landing .archive-products { width: 100% !important; }
}
@media (max-width: 768px) {
    .custom-archive-landing .icon-bar .container { flex-direction: column !important; align-items: center !important; gap: 40px !important; }
    .custom-archive-landing .archive-title { font-size: 30px !important; }
}

/* Rozwijane menu kategorii na mobile */
.custom-archive-landing .sidebar-toggle-icon { display: none !important; width: 24px !important; height: 24px !important; color: var(--color-navy-dark) !important; transition: transform 0.3s ease !important; }
.custom-archive-landing .mobile-sidebar-toggle { margin-bottom: 20px !important; }
.custom-archive-landing .mobile-sidebar-toggle .sidebar-title { margin-bottom: 0 !important; }

@media (max-width: 991px) {
    .custom-archive-landing .mobile-sidebar-toggle {
        display: flex !important; justify-content: space-between !important; align-items: center !important; cursor: pointer !important;
        background-color: #fff !important; padding: 15px 20px !important; border: 1px solid var(--border-light) !important; border-radius: 0 !important;
        margin-bottom: 0 !important; box-shadow: none !important;
    }
    .custom-archive-landing .sidebar-toggle-icon { display: block !important; }
    .custom-archive-landing .sidebar-content-wrapper { display: none !important; padding: 15px 20px !important; background-color: #fff !important; border: 1px solid var(--border-light) !important; border-top: none !important; border-radius: 0 !important; }
    .custom-archive-landing .archive-sidebar.is-open .sidebar-content-wrapper { display: block !important; }
    .custom-archive-landing .archive-sidebar.is-open .sidebar-toggle-icon { transform: rotate(180deg) !important; }
}

/* ==========================================================================
   STRONA PRODUKTU (single-product.php)
   ========================================================================== */

.custom-product-landing {
    font-family: 'Montserrat', sans-serif !important;
    background-color: #FAF8F4 !important;
}
.custom-product-landing .container { max-width: 1280px !important; margin: 0 auto !important; padding: 0 40px !important; }

.custom-product-landing .mobile-breadcrumb { display: none !important; }
.custom-product-landing .product-breadcrumb { font-size: 11.5px !important; text-transform: uppercase !important; letter-spacing: 0.06em !important; color: #6E6962 !important; margin-bottom: 16px !important; }
.custom-product-landing .product-breadcrumb a { color: inherit !important; text-decoration: none !important; }
.custom-product-landing .product-breadcrumb a:hover { color: #B88A44 !important; }

.custom-product-landing .product-hero { display: grid !important; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) !important; gap: 56px !important; align-items: start !important; }

.custom-product-landing .product-gallery .main-image { background: #F7F2EB !important; padding: 30px !important; margin-bottom: 16px !important; display: flex !important; align-items: center !important; justify-content: center !important; min-height: 420px !important; }
.custom-product-landing .product-gallery .main-image img { max-height: 420px !important; width: auto !important; object-fit: contain !important; mix-blend-mode: multiply !important; }
.custom-product-landing .gallery-thumbs { display: flex !important; gap: 12px !important; flex-wrap: wrap !important; }
.custom-product-landing .gallery-thumbs .thumb { width: 88px !important; height: 88px !important; border: 1px solid #DED5C9 !important; background: #F7F2EB !important; cursor: pointer !important; display: flex !important; align-items: center !important; justify-content: center !important; transition: border-color 0.2s !important; }
.custom-product-landing .gallery-thumbs .thumb.active,
.custom-product-landing .gallery-thumbs .thumb:hover { border-color: #B88A44 !important; }
.custom-product-landing .gallery-thumbs .thumb img { max-width: 90% !important; max-height: 90% !important; object-fit: contain !important; mix-blend-mode: multiply !important; }

.custom-product-landing .product-info .desktop-breadcrumb { display: block !important; }
.custom-product-landing .product-title { font-family: 'Cormorant Garamond', serif !important; font-weight: 600 !important; font-size: 38px !important; line-height: 1.15 !important; color: #1D1D1B !important; margin: 0 0 16px !important; }

.custom-product-landing .product-rating { display: flex !important; align-items: center !important; gap: 10px !important; margin-bottom: 20px !important; cursor: pointer !important; }
.custom-product-landing .product-rating .star-rating,
.custom-product-landing .product-rating .stars { color: #D6B77A !important; font-size: 15px !important; }
.custom-product-landing .rating-text { font-size: 12.5px !important; color: #6E6962 !important; text-decoration: underline !important; }

.custom-product-landing .product-price { font-family: 'Montserrat', sans-serif !important; font-size: 30px !important; font-weight: 500 !important; color: #1D1D1B !important; margin-bottom: 22px !important; }
.custom-product-landing .product-price del { color: #999 !important; font-weight: 400 !important; font-size: 18px !important; margin-right: 8px !important; }
.custom-product-landing .product-price ins { text-decoration: none !important; color: #B88A44 !important; }

.custom-product-landing .custom-add-to-cart { margin-bottom: 18px !important; }
.custom-product-landing .custom-add-to-cart .quantity { border: 1px solid #DED5C9 !important; display: inline-flex !important; margin-right: 14px !important; }
.custom-product-landing .custom-add-to-cart .quantity input.qty { border: none !important; width: 50px !important; height: 50px !important; text-align: center !important; font-family: 'Montserrat', sans-serif !important; }
.custom-product-landing .custom-add-to-cart .single_add_to_cart_button {
    background: #1D1D1B !important; color: #FAF8F4 !important; border: none !important;
    padding: 16px 32px !important; font-family: 'Montserrat', sans-serif !important; font-size: 12px !important; letter-spacing: 0.12em !important;
    text-transform: uppercase !important; cursor: pointer !important; transition: background 0.2s !important;
}
.custom-product-landing .custom-add-to-cart .single_add_to_cart_button:hover { background: #B88A44 !important; }

.custom-product-landing .custom-wishlist-btn a { display: inline-flex !important; align-items: center !important; gap: 8px !important; font-size: 12.5px !important; color: #6E6962 !important; margin-bottom: 22px !important; }
.custom-product-landing .custom-wishlist-btn a:hover { color: #B88A44 !important; }

.custom-product-landing .product-meta { border-top: 1px solid #DED5C9 !important; padding-top: 18px !important; display: flex !important; flex-direction: column !important; gap: 8px !important; }
.custom-product-landing .product-meta .meta-item { font-size: 12.5px !important; color: #6E6962 !important; }
.custom-product-landing .product-meta .meta-item strong { color: #1D1D1B !important; font-weight: 500 !important; }
.custom-product-landing .product-meta a { color: #6E6962 !important; }
.custom-product-landing .product-meta a:hover { color: #B88A44 !important; }

/* Pasek korzyści (produkt) */
.custom-product-landing .icon-bar { background-color: #F3EDE4 !important; padding: 40px 0 !important; margin: 60px 0 !important; border-top: 1px solid #DED5C9 !important; border-bottom: 1px solid #DED5C9 !important; }

/* Szczegóły produktu — akordeon */
.custom-product-landing .product-details { max-width: 900px !important; padding-top: 64px !important; }
.custom-product-landing .section-title { font-family: 'Cormorant Garamond', serif !important; font-weight: 400 !important; font-size: 34px !important; text-align: center !important; margin: 0 0 36px !important; color: #1D1D1B !important; }
.custom-product-landing .accordion { border-bottom: 1px solid #DED5C9 !important; }
.custom-product-landing .accordion-header { width: 100% !important; background: none !important; border: none !important; padding: 20px 4px !important; display: flex !important; align-items: center !important; justify-content: space-between !important; cursor: pointer !important; text-align: left !important; }
.custom-product-landing .accordion-title { font-family: 'Montserrat', sans-serif !important; font-size: 13px !important; letter-spacing: 0.08em !important; text-transform: uppercase !important; font-weight: 500 !important; color: #1D1D1B !important; }
.custom-product-landing .accordion-icon { color: #B88A44 !important; transition: transform 0.2s ease !important; }
.custom-product-landing .accordion.open .accordion-icon { transform: rotate(180deg) !important; }
.custom-product-landing .accordion-content { max-height: 0 !important; overflow: hidden !important; transition: max-height 0.3s ease !important; font-size: 14px !important; line-height: 1.75 !important; color: #6E6962 !important; font-weight: 300 !important; }
.custom-product-landing .accordion.open .accordion-content { max-height: 1000px !important; padding-bottom: 22px !important; }

/* Opinie */
.custom-product-landing .reviews-section { max-width: 900px !important; padding-top: 64px !important; }
.custom-product-landing #reviews .comment-reply-title,
.custom-product-landing #reviews h2 { font-family: 'Cormorant Garamond', serif !important; font-weight: 400 !important; font-size: 34px !important; text-align: center !important; color: #1D1D1B !important; margin-bottom: 36px !important; }
.custom-product-landing .commentlist { list-style: none !important; padding: 0 !important; margin: 0 !important; display: flex !important; flex-direction: column !important; gap: 22px !important; }
.custom-product-landing .commentlist .comment_container { border: 1px solid #DED5C9 !important; padding: 24px 26px !important; background: #F7F2EB !important; }
.custom-product-landing .comment-form input,
.custom-product-landing .comment-form textarea { border: 1px solid #DED5C9 !important; font-family: 'Montserrat', sans-serif !important; padding: 12px 14px !important; }
.custom-product-landing .comment-form #submit { background: #1D1D1B !important; color: #FAF8F4 !important; border: none !important; padding: 14px 28px !important; text-transform: uppercase !important; letter-spacing: 0.1em !important; font-size: 12px !important; cursor: pointer !important; }
.custom-product-landing .comment-form #submit:hover { background: #B88A44 !important; }

/* Rekomendowane produkty (na stronie produktu) */
body .custom-product-landing .recommended-products-section {
    background-color: #FAF8F4 !important;
    border-top: 1px solid #DED5C9 !important;
    padding: 60px 0 !important;
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}

body .custom-product-landing .rec-section-title {
    font-family: 'Cormorant Garamond', serif !important;
    font-weight: 400 !important;
    font-size: 32px !important;
    text-align: center !important;
    margin-bottom: 40px !important;
    color: #1D1D1B !important;
    text-transform: none !important;
}

body .custom-product-landing .rec-slider-wrapper { position: relative !important; display: flex !important; align-items: center !important; gap: 0 !important; }
body .custom-product-landing .rec-track-viewport { overflow: hidden !important; width: 100% !important; }
body .custom-product-landing ul.products { display: flex !important; gap: 20px !important; padding: 0 !important; margin: 0 !important; list-style: none !important; transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important; will-change: transform !important; }
body .custom-product-landing ul.products li.product {
    flex: 0 0 calc(25% - 15px) !important;
    text-align: center !important;
    border: 1px solid #DED5C9 !important;
    background: #fff !important;
    padding: 18px 16px 22px !important;
    transition: border-color 0.2s !important;
}
body .custom-product-landing ul.products li.product:hover { border-color: #B88A44 !important; }
body .custom-product-landing ul.products li.product .qodef-e-media { background-color: #F7F2EB !important; padding: 24px !important; margin-bottom: 16px !important; min-height: 190px !important; display: flex !important; align-items: center !important; justify-content: center !important; transition: transform 0.3s ease !important; }
body .custom-product-landing ul.products li.product:hover .qodef-e-media { transform: translateY(-4px) !important; }
body .custom-product-landing ul.products li.product .qodef-e-media img { mix-blend-mode: multiply !important; max-height: 150px !important; width: auto !important; object-fit: contain !important; margin: 0 auto !important; }
body .custom-product-landing ul.products li.product .woocommerce-loop-product__title { font-family: 'Montserrat', sans-serif !important; font-size: 13.5px !important; font-weight: 400 !important; color: #1D1D1B !important; line-height: 1.45 !important; margin-bottom: 8px !important; }
body .custom-product-landing ul.products li.product .price { font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; font-size: 15px !important; color: #1D1D1B !important; }
body .custom-product-landing ul.products li.product .price del { font-size: 13px !important; font-weight: normal !important; color: #999 !important; margin-right: 5px !important; }

body .custom-product-landing .rec-arrow {
    flex-shrink: 0 !important; width: 44px !important; height: 44px !important; background: #B88A44 !important; border: none !important; border-radius: 50% !important;
    display: flex !important; align-items: center !important; justify-content: center !important; cursor: pointer !important; color: #fff !important; transition: all 0.2s ease !important; z-index: 2 !important; padding: 0 !important;
}
body .custom-product-landing .rec-arrow:hover { background-color: #1D1D1B !important; }
body .custom-product-landing .rec-arrow svg { width: 18px !important; height: 18px !important; }
body .custom-product-landing .rec-arrow:disabled { opacity: 0.3 !important; cursor: default !important; pointer-events: none !important; }
body .custom-product-landing .rec-prev { margin-right: 15px !important; }
body .custom-product-landing .rec-next { margin-left: 15px !important; }

.custom-product-landing .related-products-section { background-color: #FAF8F4 !important; border-top: 1px solid #DED5C9 !important; padding: 60px 0 !important; }
.custom-product-landing .related-products-section h2 { font-family: 'Cormorant Garamond', serif !important; font-weight: 400 !important; font-size: 32px !important; text-align: center !important; margin-bottom: 40px !important; color: #1D1D1B !important; text-transform: none !important; }

/* Sticky bar */
.custom-product-landing .sticky-bar {
    position: fixed !important; left: 0 !important; right: 0 !important; bottom: -100px !important; background: #FAF8F4 !important;
    border-top: 1px solid #DED5C9 !important; box-shadow: 0 -6px 20px rgba(29,29,27,0.06) !important; z-index: 50 !important;
    padding: 14px 0 !important; transition: bottom 0.3s ease !important;
}
.custom-product-landing .sticky-bar.visible { bottom: 0 !important; }
.custom-product-landing .sticky-bar .container { display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 24px !important; }
.custom-product-landing .sticky-product { display: flex !important; align-items: center !important; gap: 14px !important; }
.custom-product-landing .sticky-thumb { width: 48px !important; height: 48px !important; background: #F7F2EB !important; display: flex !important; align-items: center !important; justify-content: center !important; flex: 0 0 auto !important; }
.custom-product-landing .sticky-thumb img { max-width: 100% !important; max-height: 100% !important; object-fit: contain !important; mix-blend-mode: multiply !important; }
.custom-product-landing .sticky-info { font-size: 13px !important; }
.custom-product-landing .sticky-price { color: #B88A44 !important; font-weight: 600 !important; }
.custom-product-landing .sticky-add-btn {
    background: #1D1D1B !important; color: #FAF8F4 !important; border: none !important; padding: 13px 28px !important;
    font-family: 'Montserrat', sans-serif !important; font-size: 11.5px !important; letter-spacing: 0.12em !important; text-transform: uppercase !important; cursor: pointer !important;
}
.custom-product-landing .sticky-add-btn:hover { background: #B88A44 !important; }

@media (max-width: 991px) {
    .custom-product-landing .product-hero { grid-template-columns: 1fr !important; gap: 32px !important; }
    .custom-product-landing .desktop-breadcrumb { display: none !important; }
    .custom-product-landing .mobile-breadcrumb { display: block !important; margin-bottom: 20px !important; }
    body .custom-product-landing ul.products li.product { flex: 0 0 calc(50% - 10px) !important; }
}
@media (max-width: 480px) {
    body .custom-product-landing ul.products li.product { flex: 0 0 100% !important; }
    body .custom-product-landing .rec-arrow { width: 36px !important; height: 36px !important; }
    .custom-product-landing .product-title { font-size: 30px !important; }
}

/* ==========================================================================
   2.0.2 — poprawki po teście na roboczej (16.10)
   ========================================================================== */

/* Karta produktu: cena nachodziła na „Najniższa cena w ciągu ostatnich 30 dni” —
   motyw dawał cenie za małą wysokość linii, a Omnibus miał ujemny margines. */
body .custom-product-landing .product-price,
body .custom-product-landing .product-price .price,
body .custom-product-landing .product-price .woocommerce-Price-amount,
body .custom-product-landing .product-price bdi,
body .custom-product-landing .product-price ins,
body .custom-product-landing .product-price del {
    line-height: 1.25 !important;
}
body .custom-product-landing .product-price .iworks-omnibus,
body .custom-product-landing p.iworks-omnibus {
    line-height: 1.5 !important;
    margin: 6px 0 0 !important;
}

/* Pusty koszyk: „Wróć do sklepu” był w granacie starego motywu */
.woocommerce .return-to-shop a.button,
.woocommerce .return-to-shop .button.wc-backward,
a.button.wc-backward {
    background: #1D1D1B !important;
    border: 1px solid #1D1D1B !important;
    color: #FAF8F4 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 12px !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    border-radius: 0 !important;
    padding: 14px 30px !important;
}
.woocommerce .return-to-shop a.button:hover,
a.button.wc-backward:hover {
    background: #B88A44 !important;
    border-color: #B88A44 !important;
    color: #FFFFFF !important;
}

/* Pasek tytułu strony (regulamin, polityki, kontakt…): błękit starego motywu → beż Infinity */
#qodef-page-title,
.qodef-page-title,
#qodef-page-title .qodef-m-content,
.qodef-page-title .qodef-m-content {
    background-color: #F3EDE4 !important;
    background-image: none !important;
}
#qodef-page-title .qodef-breadcrumbs,
#qodef-page-title .qodef-breadcrumbs span,
.qodef-page-title .qodef-breadcrumbs,
.qodef-page-title .qodef-breadcrumbs span {
    font-family: 'Montserrat', sans-serif !important;
    color: #1D1D1B !important;
}
#qodef-page-title .qodef-breadcrumbs a,
.qodef-page-title .qodef-breadcrumbs a {
    color: #B88A44 !important;
}

/* Listy produktów na telefonie: 2 kolumny, kompaktowe karty (zamiast 1 ogromnej karty na ekran) */
@media (max-width: 767px) {
    .custom-archive-landing ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
    .custom-archive-landing ul.products li.product {
        padding: 10px 10px 14px !important;
        display: flex !important;
        flex-direction: column !important;
    }
    .custom-archive-landing ul.products li.product .qodef-e-media {
        min-height: 0 !important;
        aspect-ratio: 1 / 1 !important;
        padding: 10px !important;
        margin-bottom: 10px !important;
        background-color: #F7F2EB !important;
    }
    .custom-archive-landing ul.products li.product .qodef-e-media:hover,
    .custom-archive-landing ul.products li.product:hover .qodef-e-media { transform: none !important; }
    .custom-archive-landing ul.products li.product img {
        max-height: 100% !important;
        max-width: 100% !important;
    }
    .custom-archive-landing ul.products li.product .qodef-e-product-categories,
    .custom-archive-landing ul.products li.product .qodef-e-product-categories a {
        font-size: 10px !important;
        letter-spacing: .06em !important;
        line-height: 1.3 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 1 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        margin-bottom: 4px !important;
    }
    .custom-archive-landing ul.products li.product .woocommerce-loop-product__title,
    .custom-archive-landing ul.products li.product .qodef-woo-product-title a {
        font-size: 12.5px !important;
        line-height: 1.35 !important;
        margin-bottom: 6px !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        min-height: 3.9em !important;
    }
    .custom-archive-landing ul.products li.product .price {
        font-size: 14.5px !important;
        margin-top: auto !important;
        color: #1D1D1B !important;
    }
    .custom-archive-landing ul.products li.product .price del { font-size: 12px !important; }
    /* nagłówek listy: liczba wyników i sortowanie w jednej linii */
    .custom-archive-landing .woocommerce-result-count { font-size: 12px !important; }
}
