/* =========================================================================
   Majster w Domu — stopka (footer) w kolorystyce nagłówka.
   Korzysta ze zmiennych --mwd-* zdefiniowanych w mwd-header.css.
   ========================================================================= */

.mwd-footer{background:var(--mwd-topbar);color:#c9c6bf;font-family:var(--mwd-font-ui);font-size:14.5px;line-height:1.6}
.mwd-footer *{box-sizing:border-box}
.mwd-footer a{color:#c9c6bf;text-decoration:none;transition:.15s}
.mwd-footer a:hover{color:var(--mwd-amber)}
.mwd-footer .mwd-wrap{max-width:1220px;margin:0 auto;padding:0 20px}

/* ---- Górna część ---- */
.mwd-footer .mwd-footer-top{display:grid;grid-template-columns:1.6fr 1fr 1fr 1.2fr;gap:40px;padding:64px 20px 44px}

.mwd-f-brand{max-width:340px}
.mwd-f-logo{display:inline-flex;align-items:center;gap:12px;color:#fff;margin-bottom:16px}
.mwd-f-logo-mark{width:44px;height:44px;flex:none;color:#fff}
.mwd-f-logo-mark svg{width:100%;height:100%;display:block}
.mwd-f-logo-text{font-family:var(--mwd-font-display);font-weight:800;font-size:19px;letter-spacing:-.01em;text-transform:uppercase;line-height:1.02;color:#fff}
.mwd-f-logo-text small{display:block;font-family:var(--mwd-font-ui);font-weight:600;font-size:9px;letter-spacing:.16em;text-transform:uppercase;color:var(--mwd-amber);margin-top:3px}
.mwd-f-about{color:#a4a199;font-size:13.5px;margin:0 0 20px}
.mwd-f-social{display:flex;gap:8px}
.mwd-f-social a{width:36px;height:36px;border-radius:9px;background:rgba(255,255,255,.06);display:inline-flex;align-items:center;justify-content:center;color:#c9c6bf}
.mwd-f-social a:hover{background:var(--mwd-amber);color:var(--mwd-amber-ink)}
.mwd-f-social svg{width:17px;height:17px;fill:currentColor}

.mwd-f-col h4{font-family:var(--mwd-font-display);font-weight:700;font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:#fff;margin:0 0 16px}
.mwd-f-col ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.mwd-f-col li{margin:0}
.mwd-f-col a{font-size:14px;color:#b6b3ab}
.mwd-f-col a:hover{color:var(--mwd-amber)}

.mwd-f-contact ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:13px}
.mwd-f-contact li{display:flex;align-items:flex-start;gap:11px;font-size:14px;color:#b6b3ab}
.mwd-f-contact a{color:#e7e4dd;font-weight:600}
.mwd-f-contact a:hover{color:var(--mwd-amber)}
.mwd-f-contact svg{width:17px;height:17px;stroke:var(--mwd-amber);flex:none;margin-top:2px}

/* ---- Dolny pasek ---- */
.mwd-footer-bottom{border-top:1px solid rgba(255,255,255,.09)}
.mwd-footer-bottom .mwd-wrap{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;padding-top:20px;padding-bottom:20px;min-height:64px}
.mwd-copy{font-size:13px;color:#8f8c85}
.mwd-copy b{color:#c9c6bf;font-weight:700}
.mwd-pay{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.mwd-pay span{font-size:11px;font-weight:800;letter-spacing:.03em;color:#d9d6cf;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.1);border-radius:6px;padding:5px 10px;text-transform:uppercase}

@media (max-width:900px){
  .mwd-footer .mwd-footer-top{grid-template-columns:1fr 1fr;gap:32px;padding:48px 20px 32px}
  .mwd-f-brand{grid-column:1 / -1;max-width:none}
}
@media (max-width:560px){
  .mwd-footer .mwd-footer-top{grid-template-columns:1fr;gap:28px}
  .mwd-footer-bottom .mwd-wrap{justify-content:center;text-align:center}
}

/* ===== Przyklejony nagłówek – cień po przewinięciu (JS dodaje klasę) ===== */
.mwd-header{transition:box-shadow .2s}
.mwd-header.is-scrolled{box-shadow:0 8px 24px -14px rgba(20,18,12,.35)}

/* =========================================================================
   PRODUKTY WOOCOMMERCE — wzór Majster, dopasowany do realnej struktury Astry.
   Summary-wrap robimy flexem; kategoria/tytuł/ocena na pełną szerokość,
   a cena (lewo) i przycisk (prawo) w jednym rzędzie.
   ========================================================================= */
.elementor-widget-woocommerce-products ul.products{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:18px!important;margin:0!important;padding:0!important;list-style:none!important}
.elementor-widget-woocommerce-products ul.products li.product{width:auto!important;margin:0!important;float:none!important;background:#fff!important;border:1px solid #e7e4df!important;border-radius:14px!important;overflow:hidden!important;position:relative!important;text-align:left!important}
.elementor-widget-woocommerce-products ul.products li.product:hover{border-color:#e3a015!important;box-shadow:0 10px 30px -14px rgba(20,18,12,.32)!important}

/* zdjęcie na jasnym polu */
.elementor-widget-woocommerce-products li.product img{width:100%!important;aspect-ratio:1/1;object-fit:contain;background:#f3f1ec!important;padding:18px!important;margin:0!important;display:block!important}

/* ukryj ikonę-nakładkę na zdjęciu – zostaje jeden, wyraźny przycisk */
.elementor-widget-woocommerce-products li.product .ast-on-card-button{display:none!important}

/* summary jako flex (cena + przycisk w rzędzie) */
.elementor-widget-woocommerce-products li.product .astra-shop-summary-wrap{display:flex!important;flex-wrap:wrap!important;align-items:center!important;padding:0 0 14px!important}

/* kategoria – szara etykieta nad nazwą */
.elementor-widget-woocommerce-products li.product .ast-woo-product-category{flex:0 0 100%!important;padding:14px 14px 0!important;margin:0!important;font-family:"Public Sans",sans-serif!important;font-size:11px!important;font-weight:700!important;letter-spacing:.06em!important;text-transform:uppercase!important;color:#6a6862!important;line-height:1.2!important}

/* tytuł */
.elementor-widget-woocommerce-products li.product .ast-loop-product__link{flex:0 0 100%!important;padding:4px 14px 0!important;color:#191919!important}
.elementor-widget-woocommerce-products li.product .woocommerce-loop-product__title{font-family:"Sora",sans-serif!important;font-weight:700!important;font-size:15px!important;line-height:1.3!important;padding:0!important;margin:0!important;color:#191919!important}
.elementor-widget-woocommerce-products li.product .woocommerce-loop-product__title a{color:#191919!important}

/* ocena – cienkie gwiazdki */
.elementor-widget-woocommerce-products li.product .review-rating{flex:0 0 100%!important}
.elementor-widget-woocommerce-products li.product .star-rating{margin:8px 14px 0!important;font-size:14px!important;font-weight:400!important;color:#d8d4cd!important;letter-spacing:2px!important}
.elementor-widget-woocommerce-products li.product .star-rating::before{font-weight:400!important}
.elementor-widget-woocommerce-products li.product .star-rating span::before{color:#e3a015!important;font-weight:400!important}

/* cena (lewo) */
.elementor-widget-woocommerce-products li.product .price{flex:0 1 auto!important;margin:0 auto 0 0!important;padding:12px 0 0 14px!important;font-family:"Sora",sans-serif!important;font-weight:800!important;font-size:18px!important;color:#191919!important}
.elementor-widget-woocommerce-products li.product .price del{color:#6a6862!important;font-weight:400!important;font-size:14px!important;margin-left:6px!important}
.elementor-widget-woocommerce-products li.product .price ins{text-decoration:none!important}

/* przycisk (prawo) */
.elementor-widget-woocommerce-products li.product .add_to_cart_button,
.elementor-widget-woocommerce-products li.product .button{flex:0 0 auto!important;margin:12px 14px 0 0!important;background:#191919!important;color:#fff!important;border-radius:10px!important;font-family:"Public Sans",sans-serif!important;font-weight:700!important;padding:11px 16px!important;white-space:nowrap!important}
.elementor-widget-woocommerce-products li.product .add_to_cart_button:hover,
.elementor-widget-woocommerce-products li.product .button:hover{background:#e3a015!important;color:#1a1a1a!important}
.elementor-widget-woocommerce-products li.product .added_to_cart{display:none!important}

/* plakietka promocji */
.elementor-widget-woocommerce-products li.product .onsale{position:absolute!important;top:10px!important;left:10px!important;right:auto!important;margin:0!important;background:#e3a015!important;color:#1a1a1a!important;border-radius:6px!important;font-weight:800!important;font-size:11px!important;padding:4px 8px!important;line-height:1!important;z-index:2!important}

@media (max-width:1024px){.elementor-widget-woocommerce-products ul.products{grid-template-columns:repeat(2,1fr)!important}}
@media (max-width:560px){.elementor-widget-woocommerce-products ul.products{grid-template-columns:1fr!important}}

/* =========================================================================
   STRONA PRODUKTU + ogólne WooCommerce — kolory marki zamiast niebieskiego
   ========================================================================= */
/* Przyciski Woo (Dodaj do koszyka, Wyślij opinię, itp.) */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce div.product form.cart .button,
.woocommerce .single_add_to_cart_button{background:#191919!important;color:#fff!important;border-radius:10px!important;font-family:"Public Sans",sans-serif!important;font-weight:700!important}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce div.product form.cart .button:hover,
.woocommerce .single_add_to_cart_button:hover{background:#e3a015!important;color:#1a1a1a!important}

/* Linki na stronie produktu: kategoria, marka, „opinia klienta”, breadcrumb */
.woocommerce div.product .woocommerce-product-rating a,
.woocommerce .woocommerce-review-link,
.woocommerce .product_meta a,
.woocommerce .posted_in a,
.woocommerce .tagged_as a,
.woocommerce-breadcrumb a,
.woocommerce .products .ast-woo-product-category{color:#b27d06!important}
.woocommerce div.product .woocommerce-product-rating a:hover,
.woocommerce .woocommerce-review-link:hover,
.woocommerce .product_meta a:hover,
.woocommerce-breadcrumb a:hover{color:#e3a015!important}

/* Gwiazdki ocen – amber */
.woocommerce .star-rating span::before,
.woocommerce p.stars a::before,
.woocommerce p.stars a:hover::before{color:#e3a015!important}

/* Cena na stronie produktu */
.woocommerce div.product p.price,
.woocommerce div.product span.price{color:#191919!important;font-family:"Sora",sans-serif!important;font-weight:800!important}

/* Pole ilości – focus w amber */
.woocommerce .quantity input.qty:focus{border-color:#e3a015!important;outline:none!important;box-shadow:0 0 0 3px #fbf0d6!important}

/* Zakładki (Opis / Informacje / Opinie) – aktywna w amber, bez niebieskiego */
.woocommerce-tabs ul.tabs li a{color:#6a6862!important}
.woocommerce-tabs ul.tabs li.active a,
.woocommerce-tabs ul.tabs li a:hover{color:#191919!important}
.woocommerce-tabs ul.tabs li.active{border-bottom-color:#fff!important}
.woocommerce-tabs ul.tabs li.active::after,
.woocommerce-tabs ul.tabs li a::after{background:#e3a015!important}

/* EAN pod meta produktu */
.product_ean{display:block;margin-top:8px;font-size:13px;color:#6a6862}
.product_ean strong{color:#191919}

/* Komunikaty Woo (dodano do koszyka itp.) – akcent amber zamiast niebieskiego */
.woocommerce-message,
.woocommerce-info{border-top-color:#e3a015!important}
.woocommerce-message a.button,
.woocommerce-info a.button{background:#191919!important;color:#fff!important}