/* Header (desktop) and footer v5 (Claude, 6 Nov). Visual only; every link, form and hook kept. Undo: remove the link in head.tpl. */
html body { --lp-f: "Laporsa Manrope", "Segoe UI", Arial, sans-serif; }
/* ---- footer: light soft panel ---- */
html body #footer, html body footer#footer { background: #f4f2ee !important; color: #5b6670 !important; font-family: var(--lp-f); }
html body #footer :is(.footer-top,.footer-main,.footer-bottom,.lp-v4-copyright) { background: transparent !important; border-color: #e3dfd7 !important; }
html body #footer :is(h2,h3,h4,.h4,.toggle-linklist-title) { color: #18232c !important; font: 800 14px/1.3 var(--lp-f) !important; letter-spacing: .06em; text-transform: uppercase; }
html body #footer :is(p,li,span,small,label,div) { color: #5b6670; font-family: var(--lp-f); }
html body #footer a:not(.btn):not(.lm-prefooter-quote) { color: #18232c !important; font: 600 14.5px/1.4 var(--lp-f) !important; text-decoration: none; }
html body #footer .linklist a, html body #footer .footer-menu a { display: flex; align-items: center; min-height: 44px; }
html body #footer .toggle-linklist-title { display: flex; align-items: center; justify-content: space-between; min-height: 48px; margin: 0 !important; padding: 0 !important; border-bottom: 1px solid #e3dfd7; }
html body #footer .block-newsletter :is(input,.form-control) { min-height: 46px; border: 1px solid #cdd3d7 !important; border-radius: 10px 0 0 10px !important; background: #fff !important; color: #18232c !important; font: 400 15px/1 var(--lp-f) !important; }
html body #footer .block-newsletter :is(input,.form-control)::placeholder { color: #7b858d !important; opacity: 1; }
html body #footer .block-newsletter .btn, html body #footer .input-btn .btn { min-height: 46px; border-radius: 0 10px 10px 0 !important; background: #e95125 !important; color: #fff !important; -webkit-text-fill-color: #fff !important; border: 0 !important; font: 800 14px/1 var(--lp-f) !important; }
html body #footer .social-links a { border-radius: 10px !important; box-shadow: none !important; }
/* payment logos: wrap, never clipped */
html body #footer :is(.payment-logos,.footer-payment,.payments,[class*=payment]) { display: flex !important; flex-wrap: wrap; gap: 8px; align-items: center; overflow: visible !important; }
html body #footer :is(.footer-bottom,.lp-v4-copyright,.hook-display-footer) img { max-width: 100% !important; height: auto !important; width: auto !important; background: none !important; padding: 0 !important; border-radius: 0 !important; }
html body #footer .lp-v4-copyright, html body #footer .lp-v4-copyright * { color: #5b6670 !important; font: 400 13px/1.4 var(--lp-f) !important; }
/* the quote strip above the footer stays; just calmer */
html body .lm-prefooter { background: #18232c !important; }
html body .lm-prefooter .lm-prefooter-quote { border-radius: 10px !important; min-height: 44px; }

/* ---- header desktop alignment ---- */
@media (min-width: 992px) {
  html body .main-header .header-wrapper { align-items: center !important; }
  html body .main-header a[href*="authentication"], html body .main-header a[href*="my-account"] { display: inline-flex !important; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px !important; border: 1.5px solid #18232c !important; border-radius: 10px !important; background: #fff !important; box-shadow: none !important; color: #18232c !important; font: 700 14px/1 var(--lp-f) !important; text-decoration: none !important; outline: 0 !important; }
  html body .main-header a[href*="/order"]:not([href*="history"]), html body .main-header a[href*="controller=order"] { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; color: #18232c !important; font: 700 14px/1 var(--lp-f) !important; text-decoration: none !important; }
  html body .main-header a[href*="/order"]:not([href*="history"]):hover { text-decoration: underline !important; }
}
html body #footer a.btn:not(.btn-primary), html body #footer .linklist a, html body #footer .conditons a, html body #footer .footer-menu a { color: #18232c !important; -webkit-text-fill-color: #18232c !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
html body #footer .footer-main :is(h1,h2,h3,h4,h5,h6,a,span,p,li,div,summary,strong,small,label):not(.btn-primary):not(.btn-primary *) { color: #18232c !important; -webkit-text-fill-color: #18232c !important; }
html body #footer .footer-main :is(p,small,.newsletter-message,.conditons) { color: #5b6670 !important; -webkit-text-fill-color: #5b6670 !important; }
html body #footer .block-newsletter .btn, html body #footer .block-newsletter .btn * { color: #fff !important; -webkit-text-fill-color: #fff !important; }
html body #footer .footer-left img[src*="logo" i], html body #footer .footer-about-us img { max-width: 150px !important; height: auto !important; }
@media (min-width: 992px) {
  html body .main-header .account-link { border: 0 !important; padding: 0 !important; background: none !important; border-radius: 0 !important; box-shadow: none !important; outline: 0 !important; min-height: 0 !important; }
  html body .main-header .account-link > a { display: inline-flex !important; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px !important; border: 1.5px solid #18232c !important; border-radius: 10px !important; background: #fff !important; box-shadow: none !important; color: #18232c !important; -webkit-text-fill-color: #18232c !important; font: 700 14px/1 var(--lp-f) !important; text-decoration: none !important; outline: 0 !important; }
}
@media (min-width: 992px) { html body .main-header .account-link > a[href] { border: 1.5px solid #18232c !important; padding: 0 16px !important; min-height: 44px !important; border-radius: 10px !important; } }

/* v8 (6 Nov 2026): the module footer bar link "Supply & fit with free quotes" stays hidden on every page (module untouched). Undo: delete this rule. */
.lpc-bar a[href*="topic=tiling"], .lpc-bar a[href*="topic=bathroom-fitting"], .lpc-bar .lpb-tiling { display: none !important; }
.lpc-bar .lpc-sep:has(+ a[href*="topic="]) { display: none !important; }
@media (min-width: 992px) { html body .main-header .account-link > a[href], html body .main-header .account-link > a[href]:visited { border: 1.5px solid #18232c !important; border-color: #18232c !important; } }
@media (min-width: 992px) {
  html body header .main-header .account-link { display: inline-flex !important; border: 1.5px solid #18232c !important; border-radius: 10px !important; padding: 0 !important; background: #fff !important; outline: 0 !important; min-height: 44px; align-items: stretch; }
  html body header .main-header .account-link > a { display: inline-flex !important; align-items: center; gap: 6px; border: 0 !important; border-radius: 10px !important; padding: 0 16px !important; min-height: 41px !important; background: transparent !important; outline: 0 !important; color: #18232c !important; font: 700 14px/1 var(--lp-f) !important; text-decoration: none !important; }
}
@media (min-width: 600px) and (max-width: 991.98px) { html body .main-header .header-logo { margin-left: 12px !important; margin-right: auto !important; } }
