/* Odświeżenie motywu MARM: własne zmienne, spokojny nagłówek i wyraźna oferta serwisowa. */
:root { --marm-ink:#17304c; --marm-blue:#153b70; --marm-teal:#197286; --marm-muted:#536477; --marm-line:#dfe6ee; --marm-bg:#f3f6f9; }
body { font-family:"Open Sans",Arial,sans-serif; color:var(--marm-ink); background:#fff; }
#wrapper { background:var(--marm-bg); padding-top:24px; }
#header { color:var(--marm-ink); box-shadow:none; }
#header .header-nav { background:var(--marm-ink); border:0; min-height:36px; }
#header .header-nav a,#header .header-nav .contact-link,#header .header-nav .currency-selector { color:#fff; }
#header .header-nav .dropdown-menu a,#header .header-nav .dropdown-menu span { color:var(--marm-ink); }
#header .header-top { padding:18px 0; background:#fff; }
#header #_desktop_logo { margin:0; }
#header #_desktop_logo a { height:80px; line-height:80px; }
#header #_desktop_logo img { width:255px; max-width:100%; height:auto; }
#header .top-navigation-menu { background:#fff; border-top:1px solid var(--marm-line); border-bottom:1px solid var(--marm-line); }
#header .top-navigation-menu-inner { background:#fff; }
#header #_desktop_top_menu { background:#fff; }
#header #top-menu > li > a { color:var(--marm-ink); background:transparent; text-transform:none; font-weight:600; font-size:15px; padding:18px 20px; }
#header #top-menu > li:hover > a,#header #top-menu > li.current > a { background:#edf3f9; color:var(--marm-blue); }
#header .top-menu .sub-menu { border:1px solid var(--marm-line); border-radius:0 0 10px 10px; box-shadow:0 12px 25px #17304c14; }
#header .search-widget form input[type="text"] { border:1px solid #cdd8e3; border-radius:8px; background:#f8fafc; min-height:46px; color:var(--marm-ink); }
#header .header-top .blockcart { background:#f3f6f9; border-radius:8px; }
#header .header-top .blockcart a,#header .header-top .cart-products-count { color:var(--marm-blue); }
#header .header-top #_desktop_cart .header { color:var(--marm-blue); }
.btn.btn-primary { background:var(--marm-blue); border:1px solid var(--marm-blue); border-radius:8px; padding:12px 21px; line-height:1.4; text-transform:none; font-weight:600; box-shadow:none; white-space:normal; }
.btn.btn-primary:hover,.btn.btn-primary:focus-visible { background:#0d2b55; border-color:#0d2b55; color:#fff; }
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible { outline:3px solid #1684ad; outline-offset:3px; }
.breadcrumb { font-size:13px; margin-bottom:22px; }
#main > .page-header h1,#main > h1 { color:var(--marm-ink); font-size:28px; line-height:1.35; text-transform:none; margin-bottom:24px; }
#content.page-content,#main .page-cms { border:1px solid var(--marm-line); border-radius:14px; padding:28px; box-shadow:none; }
.marm-home-intro { clear:both; padding-top:32px; padding-bottom:32px; }
#marm-service { display:grid; grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr); gap:48px; align-items:center; padding:12px 0 20px; }
#marm-service h1 { color:var(--marm-ink); font-size:38px; font-weight:600; line-height:1.2; letter-spacing:-1px; text-transform:none; margin:0 0 22px; max-width:680px; }
#marm-service p { color:var(--marm-muted); font-size:15px; line-height:1.75; max-width:65ch; margin:0 0 18px; }
#marm-service .marm-home-lead { color:var(--marm-ink); font-size:18px; line-height:1.65; }
.marm-home-actions { display:flex; align-items:center; flex-wrap:wrap; gap:14px; margin:24px 0; }
#marm-service .marm-home-actions .marm-offer-pill { margin-bottom:0; font-size:15px; padding:12px 23px; }
#marm-service .marm-home-contact { display:flex; gap:22px; flex-wrap:wrap; margin-bottom:0; }
#marm-service .marm-home-contact a { color:var(--marm-blue); text-decoration:underline; text-underline-offset:4px; }
#marm-service .marm-home-contact-note { font-size:13px; margin:0 0 14px; }
.marm-brand-sidebar a[href^="mailto:"] { display:block; padding:12px 8px; margin-bottom:10px; background:var(--marm-blue); border-radius:8px; font-size:16px; font-weight:600; color:#fff; text-decoration:none; }
#marm-about .marm-about-contact-details a[href^="mailto:"] { background:var(--marm-blue); color:#fff; padding:14px 18px; border-radius:8px; }
#marm-about .marm-about-contact-details a[href^="mailto:"] span { color:#fff; }
#header #contact-link .marm-header-email { font-weight:600; text-decoration:underline; text-underline-offset:3px; }
.marm-home-brands { padding-left:30px; border-left:1px solid var(--marm-line); }
#marm-service .marm-home-brands h2 { font-size:17px; font-weight:600; line-height:1.4; text-transform:none; margin:0 0 18px; }
.marm-home-brand-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.marm-home-brand-grid a { display:flex; align-items:center; justify-content:center; min-height:84px; padding:12px; border:1px solid var(--marm-line); border-radius:10px; background:#fff; }
.marm-home-brand-grid a:hover { border-color:var(--marm-teal); }
.marm-home-brand-grid img { width:140px; max-width:100%; height:60px; object-fit:contain; }
.marm-home-brand-grid .marm-home-brand-wide { grid-column:1/-1; gap:12px; color:var(--marm-muted); font-size:13px; }
#marm-service .marm-home-brand-wide span { color:var(--marm-muted); }
#marm-used-scanner.card { margin:0 0 38px; padding:24px 30px; background:#f1f6fa; border:1px solid var(--marm-line); border-radius:14px; box-shadow:none; }
#marm-used-scanner .row { display:flex; align-items:center; }
#marm-used-scanner .row > div:first-child { width:30%; }
#marm-used-scanner .row > div:last-child { width:70%; }
#marm-used-scanner .row > div:first-child > a { display:block; text-align:center; }
#marm-used-scanner h2 { font-size:25px; line-height:1.3; text-transform:none; color:var(--marm-ink); margin:0 0 16px; }
#marm-used-scanner p { font-size:15px; line-height:1.65; color:var(--marm-muted); max-width:72ch; }
#marm-used-scanner strong { color:var(--marm-ink); font-size:21px; }
/* Część pokazana przed katalogiem, z pełnym zdjęciem i bieżącą ceną sklepu. */
.marm-part-container { clear:both; }
#marm-featured-part { display:grid; grid-template-columns:minmax(220px,1fr) minmax(0,2fr); align-items:center; gap:32px; margin:0 0 38px; padding:28px 32px; border:1px solid var(--marm-line); border-left:5px solid var(--marm-teal); border-radius:14px; background:#fff; }
#marm-featured-part .marm-part-image { display:flex; justify-content:center; align-items:center; background:#fff; border-radius:10px; }
#marm-featured-part img { width:250px; max-width:100%; height:250px; object-fit:contain; }
#marm-featured-part h2 { color:var(--marm-ink); font-size:27px; line-height:1.3; text-transform:none; margin:0 0 16px; }
#marm-featured-part p { color:var(--marm-muted); font-size:15px; line-height:1.7; max-width:65ch; }
#marm-featured-part .marm-part-label { color:var(--marm-teal); font-weight:600; margin:0 0 8px; }
#marm-featured-part .marm-part-price { color:var(--marm-blue); font-size:25px; font-weight:600; margin:16px 0; }
#marm-featured-part .marm-part-price span { font-size:14px; font-weight:400; }
.marm-part-actions { display:flex; align-items:center; flex-wrap:wrap; gap:16px; }
#marm-featured-part .marm-part-actions a:not(.btn) { color:var(--marm-blue); text-decoration:underline; text-underline-offset:3px; }
#index .product-section-title { text-align:left; padding-top:8px; }
#index .product-section-title h1,#index .products-section-title { text-transform:none!important; color:var(--marm-ink); font-size:25px; font-weight:600; line-height:1.4; letter-spacing:0; border-bottom:0; text-align:left; padding-bottom:0; }
#index .featured-products { padding-top:22px; padding-bottom:26px; }
#index .product-miniature,#products .product-miniature { border:1px solid var(--marm-line); border-radius:12px; background:#fff; overflow:hidden; box-shadow:none; }
#index .product-miniature .product-title a,#products .product-miniature .product-title a { color:var(--marm-ink); text-transform:none; line-height:1.5; }
#index .product-miniature .price,#products .product-miniature .price { color:var(--marm-blue); font-weight:600; }
#product #main h1 { text-transform:none; font-size:28px; line-height:1.35; color:var(--marm-ink); }
#product .product-prices .product-price,#product .product-prices .current-price { color:var(--marm-blue); }
#product .product-prices .product-unit-price { color:var(--marm-muted); }
#product .product-prices .discount,#index .product-flags li.product-flag.new,#main .product-flags li.product-flag.new,#products .products-grid .products .product-item .product-flags > li.new { background:var(--marm-teal); color:#fff; }
#index .product-flags li.product-flag.on-sale,#index .product-flags li.product-flag.pack,#main .product-flags li.product-flag.on-sale,#main .product-flags li.product-flag.pack,#products .products-grid .products .product-item .product-flags > li.on-sale,#products .products-grid .products .product-item .product-flags > li.pack { background:var(--marm-muted); color:#fff; }
#index .product-flags li.product-flag.discount,#index .product-flags li.product-flag.discount-amount,#index .product-flags li.product-flag.discount-percentage,#main .product-flags li.product-flag.discount,#main .product-flags li.product-flag.discount-amount,#main .product-flags li.product-flag.discount-percentage { background:var(--marm-blue); color:#fff; }
/* Wszystkie warstwy stopki mają tę samą paletę, również mobilne rozwijane listy. */
#footer { --marm-footer-bg:#17304c; --marm-footer-text:#e6eef6; background:var(--marm-footer-bg); color:var(--marm-footer-text); border-top:1px solid #31506f; padding-top:0; }
#footer .footer-container,#footer .footer-bottom,#footer .footer-container .links ul > li { background:var(--marm-footer-bg); color:var(--marm-footer-text); }
#footer .footer-container .h3,#footer .footer-container .h4,#footer .footer-container h3 a,#footer .footer-container .links .title > span { text-transform:none; color:#fff; }
#footer .footer-container a,#footer .footer-container p,#footer .footer-container li,#footer .footer-bottom .copyright,#footer .footer-bottom .copyright > a { color:var(--marm-footer-text); }
#footer .footer-container li a { font-size:14px; line-height:1.6; }
#footer .footer-container a:hover,#footer .footer-container .links ul li a:hover,#footer .footer-container a:focus-visible,#footer .footer-bottom a:hover { color:#fff; text-decoration:underline; text-underline-offset:3px; }
#footer .footer-container .links .title { border-color:#526b82; }
#footer .footer-container .navbar-toggler,#footer .footer-container .collapse-icons { color:#fff; }
#footer .footer-bottom { border-top:1px solid #526b82; }
#footer .footer-bottom .footer-bottom-inner { border-color:#526b82; }
#footer a:focus-visible,#footer button:focus-visible,#footer [tabindex]:focus-visible { outline-color:#75d2e3; }
@media (max-width:991px) { #marm-service { gap:24px; grid-template-columns:minmax(0,1.4fr) minmax(250px,1fr); } #marm-service h1 { font-size:32px; } .marm-home-brands { padding-left:20px; } }
@media (max-width:767px) {
  #header .header-top { padding:14px 0; } #header .header-top .logo { max-width:200px; }
  #header #_mobile_logo img { max-width:190px; height:auto; }
  #header .header-nav { min-height:0; } #header .header-nav .top-logo { padding:8px 0; }
  #header #mobile_top_menu_wrapper { background:#fff; border-bottom:1px solid var(--marm-line); }
  #header #mobile_top_menu_wrapper .top-menu a { color:var(--marm-ink); text-transform:none; }
  .marm-home-intro { padding-top:24px; padding-bottom:24px; }
  #marm-service { grid-template-columns:1fr; gap:28px; padding-bottom:0; }
  #marm-service h1 { font-size:30px; letter-spacing:-.5px; } #marm-service .marm-home-lead { font-size:17px; }
  .marm-home-brands { padding:22px 0 0; border-left:0; border-top:1px solid var(--marm-line); }
  .marm-home-brand-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
  .marm-home-brand-grid a { padding:9px; min-height:72px; }
  .marm-home-brand-grid img { height:48px; }
  .marm-home-brand-grid .marm-home-brand-wide { grid-column:span 2; }
  #marm-used-scanner.card { padding:20px; margin-bottom:24px; } #marm-used-scanner .row { flex-direction:column; }
  #marm-used-scanner .row > div:first-child,#marm-used-scanner .row > div:last-child { width:100%; }
  #marm-used-scanner h2 { font-size:22px; } #marm-used-scanner img { max-height:200px; object-fit:contain; }
  #marm-featured-part { grid-template-columns:1fr; gap:20px; padding:20px; margin-bottom:24px; }
  #marm-featured-part h2 { font-size:23px; } #marm-featured-part img { height:210px; }
  #product #main h1 { font-size:24px; }
  #content.page-content,#main .page-cms { padding:20px; } #main > .page-header h1,#main > h1 { font-size:25px; }
  #footer { padding-top:0; }
}
@media (prefers-reduced-motion:reduce) { .marm-home-brand-grid a,.btn,.marm-offer-pill { transition:none; } }
/* Opisy katalogowe: dane części, zachowane specyfikacje i kontakt w osobnych sekcjach. */
.marm-product-description { max-width:980px; color:var(--marm-ink,#17304c); font-size:15px; line-height:1.7; }
.marm-product-description h2 { font-size:23px; line-height:1.35; margin:0 0 22px; overflow-wrap:anywhere; }
.marm-product-description h3 { font-size:19px; margin:26px 0 12px; }
.marm-product-facts { display:grid; grid-template-columns:minmax(150px,1fr) 2fr; margin:0 0 24px; border:1px solid #dce6ed; border-radius:12px; overflow:hidden; }
.marm-product-facts dt,.marm-product-facts dd { margin:0; padding:11px 16px; border-bottom:1px solid #e3eaf0; }
.marm-product-facts dt { background:#f1f6f9; font-weight:600; } .marm-product-facts dd { background:#fff; overflow-wrap:anywhere; }
.marm-product-facts dt:last-of-type,.marm-product-facts dd:last-of-type { border-bottom:0; }
.marm-product-original { overflow-wrap:anywhere; } .marm-product-original table { max-width:100%; } .marm-product-original img { max-width:100%; height:auto; }
.marm-product-description p,.marm-product-description li,.marm-product-description dd,.marm-product-original { color:#334b61; } .marm-product-detail + .marm-product-detail { margin-top:12px; }
.marm-product-help { margin-top:25px; padding:20px 24px; background:#edf6f7; border-left:4px solid #197286; border-radius:0 12px 12px 0; }
.marm-product-help h3 { margin-top:0; } .marm-product-help p { margin-bottom:9px; }
.marm-product-help a { font-size:20px; font-weight:700; color:#153b70; }
@media (max-width:575px) { .marm-product-description h2 { font-size:20px; } .marm-product-facts { grid-template-columns:1fr; } .marm-product-facts dt { padding-bottom:5px; border-bottom:0; } .marm-product-facts dd { padding-top:5px; } .marm-product-help { padding:16px; } }
