/* Contact, CMS, login/account, 404 v5 (Claude, 6 Nov). Scoped by body id. Visual only; forms and links untouched. Undo: remove the link in head.tpl. */
html body:is(#contact,#cms,#authentication,#registration,#my-account,#identity,#addresses,#address,#history,#order-detail,#pagenotfound,#password,#guest-tracking,#discount,#order-slip,#stores,#order-follow) { --lp-f: "Laporsa Manrope", "Segoe UI", Arial, sans-serif; background: #fff !important; font-family: var(--lp-f); }
html body:is(#contact,#cms,#authentication,#registration,#my-account,#identity,#addresses,#address,#history,#order-detail,#pagenotfound,#password,#guest-tracking,#discount,#order-slip,#stores,#order-follow) :is(#wrapper,#content-wrapper,#main,.page-content,.center-wrapper) { background: #fff !important; }
html body:is(#contact,#cms,#authentication,#registration,#my-account,#identity,#addresses,#address,#history,#order-detail,#pagenotfound,#password,#guest-tracking,#discount,#order-slip,#stores,#order-follow) :is(h1,.page-heading,.page-header h1) { font: 800 24px/1.2 var(--lp-f) !important; letter-spacing: -.02em; color: #18232c !important; text-align: left !important; margin: 4px 0 12px !important; }
@media (min-width: 992px) { html body:is(#contact,#cms,#authentication,#registration,#my-account,#identity,#addresses,#address,#history,#order-detail,#pagenotfound,#password,#guest-tracking,#discount,#order-slip,#stores,#order-follow) :is(h1,.page-heading) { font-size: 32px !important; } }

/* ---- contact: white page ---- */
html body#contact :is(section.lpd-dark,.lpd,.lpd--contact,.lpd-wrap) { background: #fff !important; color: #5b6670 !important; padding-top: 4px !important; padding-bottom: 8px !important; }
html body#contact .lpd-dark :is(p,li,span,small,label,div) { color: #5b6670 !important; font-family: var(--lp-f) !important; }
html body#contact .lpd-dark :is(h1,h2,h3,h4,strong) { color: #18232c !important; font-family: var(--lp-f) !important; }
html body#contact .lpd-dark h1 { font: 800 24px/1.2 var(--lp-f) !important; letter-spacing: -.02em; }
html body#contact .lpd-dark :is(.lpd-eyebrow,[class*=eyebrow],[class*=kicker]) { color: #b8431a !important; font: 800 12px/1.2 var(--lp-f) !important; letter-spacing: .08em; text-transform: uppercase; }
html body#contact .lpd-dark a[href^="tel:"] { background: #e95125 !important; color: #fff !important; -webkit-text-fill-color: #fff !important; }
html body#contact .lpd-dark a[href*="wa.me"], html body#contact .lpd-dark a[href*="whatsapp"] { background: #fff !important; color: #18232c !important; -webkit-text-fill-color: #18232c !important; border: 1.5px solid #18232c !important; }
html body#contact .lpd-dark :is(a[href^="tel:"],a[href*="wa.me"],a[href*="whatsapp"]) { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 10px !important; font: 800 15px/1.2 var(--lp-f) !important; text-decoration: none !important; box-shadow: none !important; }
html body#contact .lpd-dark :is(input,select,textarea,.form-control) { background: #fff !important; color: #18232c !important; border: 1px solid #cdd3d7 !important; border-radius: 10px !important; min-height: 46px; font: 400 15px/1.3 var(--lp-f) !important; }
html body#contact .lpd-dark :is(form,fieldset,[class*=card],[class*=panel],[class*=box]) { background: #fff !important; border: 1px solid #e6e8ea !important; border-radius: 10px !important; box-shadow: none !important; }
html body#contact .lpd-dark :is(button[type=submit],.btn-primary,input[type=submit]) { background: #e95125 !important; color: #fff !important; -webkit-text-fill-color: #fff !important; border: 0 !important; border-radius: 10px !important; min-height: 48px; font: 800 15px/1.2 var(--lp-f) !important; }

/* ---- CMS: plain title, intro, anchor chips ---- */
html body#cms :is(.lp-hero) { background: none !important; color: #18232c !important; padding: 0 !important; margin: 0 0 12px !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; min-height: 0 !important; }
html body#cms .lp-hero :is(.lp-eyebrow) { display: none !important; }
html body#cms .lp-hero h2 { margin: 0 0 6px !important; font: 800 20px/1.25 var(--lp-f) !important; color: #18232c !important; }
html body#cms .lp-hero p { margin: 0 !important; font: 400 15px/1.55 var(--lp-f) !important; color: #5b6670 !important; }
html body#cms .lp-jump { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 12px 0 20px !important; padding: 0 !important; }
html body#cms .lp-jump li { margin: 0 !important; }
html body#cms .lp-jump a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid #dfe3e6; border-radius: 999px; background: #fff; color: #18232c !important; font: 600 13.5px/1 var(--lp-f); text-decoration: none !important; }
html body#cms .lp-note { background: #f4f2ee !important; border: 0 !important; border-radius: 10px !important; color: #18232c !important; }
html body#cms .lp-card { background: #fff !important; border: 1px solid #e6e8ea !important; border-radius: 10px !important; box-shadow: none !important; }
html body#cms .lp-card h2, html body#cms .lp-content h2 { font: 800 20px/1.25 var(--lp-f) !important; color: #18232c !important; }
html body#cms .lp-content :is(h3,h4) { font: 800 16px/1.3 var(--lp-f) !important; color: #18232c !important; }
html body#cms .lp-content :is(p,li) { font: 400 15px/1.6 var(--lp-f) !important; color: #5b6670 !important; }
html body#cms .lp-content { margin-top: 8px; }
html body#cms .lp-content section, html body#cms .lp-card { margin-bottom: 24px; }

/* ---- login / account ---- */
html body:is(#authentication,#registration,#password) #wrapper :is(.login-form,.register-form,.page-content) { background: transparent !important; }
html body:is(#authentication,#registration,#identity,#address,#password,#guest-tracking) #wrapper :is(input[type=text],input[type=email],input[type=tel],input[type=password],select,textarea,.form-control) { min-height: 46px; border: 1px solid #cdd3d7 !important; border-radius: 10px !important; background: #fff !important; font: 400 15px/1.3 var(--lp-f) !important; box-shadow: none !important; }
html body:is(#authentication,#registration,#identity,#address,#password,#guest-tracking) #wrapper :is(label,.form-control-label) { font: 700 14px/1.3 var(--lp-f) !important; color: #18232c !important; }
html body:is(#authentication,#registration,#identity,#address,#password,#guest-tracking) #wrapper :is(.btn-primary,button[type=submit],input[type=submit]) { min-height: 48px; border-radius: 10px !important; background: #e95125 !important; color: #fff !important; -webkit-text-fill-color: #fff !important; border: 0 !important; font: 800 15px/1.2 var(--lp-f) !important; box-shadow: none !important; }
html body:is(#authentication,#registration) :is(.no-account a,.forgot-password a,a.btn-secondary) { color: #18232c !important; font-weight: 700; }
html body:is(#my-account,#history,#addresses,#order-detail,#identity,#address) :is(.card,.box,.address,.links a,table) { border-color: #e6e8ea !important; border-radius: 10px !important; box-shadow: none !important; background: #fff !important; }
html body#my-account .links a { background: #f4f2ee !important; border: 0 !important; color: #18232c !important; font: 800 15px/1.3 var(--lp-f) !important; min-height: 56px; display: flex; align-items: center; justify-content: center; }

/* ---- 404 ---- */
html body#pagenotfound :is(#wrapper,#content-wrapper,.page-content,.center-wrapper,main) { background: #fff !important; }
html body#pagenotfound #wrapper :is(.btn,a.btn,.page-not-found a) { min-height: 48px; border-radius: 10px !important; font: 800 15px/1.2 var(--lp-f) !important; box-shadow: none !important; }
html body#pagenotfound #wrapper :is(.btn-primary,a.btn-primary) { background: #e95125 !important; color: #fff !important; -webkit-text-fill-color: #fff !important; border: 0 !important; }
html body#pagenotfound #wrapper :is(.btn-secondary,a.btn-secondary,.btn-outline-primary) { background: #fff !important; color: #18232c !important; -webkit-text-fill-color: #18232c !important; border: 1.5px solid #18232c !important; }
/* Round 2: login and account */
html body:is(#authentication,#registration,#password) #wrapper :is(.card,.login-form,.register-form,.page-content > section,.page-content > div,.lm-auth-card,[class*=auth]) { border-radius: 10px !important; box-shadow: none !important; }
html body:is(#authentication,#registration,#password) #wrapper :is(form,.form-fields) { padding-left: 0 !important; padding-right: 0 !important; }
html body:is(#authentication,#registration,#password) #wrapper :is(.form-group,.form-footer) { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; width: 100% !important; }
html body:is(#authentication,#registration,#password) #wrapper :is(button[type=submit],.btn-primary,input[type=submit]) { width: 100% !important; display: flex !important; align-items: center; justify-content: center; }
html body:is(#authentication,#registration,#password) #wrapper :is(.input-group-btn .btn,button[data-action=show-password]) { background: #f4f2ee !important; color: #18232c !important; -webkit-text-fill-color: #18232c !important; border: 1px solid #cdd3d7 !important; border-radius: 0 10px 10px 0 !important; min-height: 46px; font: 700 13.5px/1 var(--lp-f) !important; }
html body:is(#authentication,#registration,#password) #wrapper :is(.forgot-password,.no-account) { text-align: left !important; margin-top: 12px; }
html body:is(#authentication,#registration,#password) #wrapper :is(.forgot-password a,.no-account a) { display: inline-flex; align-items: center; min-height: 44px; color: #18232c !important; font: 700 14px/1.2 var(--lp-f) !important; }
html body:is(#authentication,#registration,#password) .main-header form, html body:is(#authentication,#registration,#password) .main-header .btn { background: initial; }

html body:is(#authentication,#registration,#password) #wrapper .shadow-box { border: 1px solid #e6e8ea !important; border-radius: 10px !important; box-shadow: none !important; padding: 16px !important; background: #fff !important; }
html body:is(#authentication,#registration,#password) #wrapper .login-form { padding: 0 !important; }
html body:is(#authentication,#registration,#password) #wrapper a.btn-secondary { background: #fff !important; color: #18232c !important; -webkit-text-fill-color: #18232c !important; border: 1.5px solid #18232c !important; border-radius: 10px !important; min-height: 48px; display: inline-flex; align-items: center; font: 800 14.5px/1.2 var(--lp-f) !important; }
html body:is(#authentication,#registration,#password) #wrapper .form-group .col-md-3, html body:is(#authentication,#registration,#password) #wrapper .form-group .col-md-6 { flex: 0 0 100%; max-width: 100%; text-align: left; }
html body:is(#authentication,#registration,#password) #wrapper .page-content .shadow-box.p-4 { border: 1px solid #e6e8ea !important; border-radius: 10px !important; box-shadow: none !important; }
html body:is(#authentication,#registration,#password) #wrapper .page-content .shadow-box > *, html body:is(#authentication,#registration,#password) #wrapper .page-content .shadow-box .login-form, html body:is(#authentication,#registration,#password) #wrapper .page-content .shadow-box form { border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: transparent !important; padding-left: 0 !important; padding-right: 0 !important; }
html body:is(#authentication,#registration,#password) #wrapper .page-content { border: 0 !important; box-shadow: none !important; background: transparent !important; padding: 0 !important; border-radius: 0 !important; }
html body#contact .lpd-dark a:not([href^="tel:"]):not([href*="wa.me"]):not([href*="whatsapp"]):not(.btn) { color: #b8431a !important; -webkit-text-fill-color: #b8431a !important; text-decoration: underline !important; font-weight: 700; }
html body#contact .lpd-dark :is(dt,h3,h4,[class*=label],[class*=kicker]) { display: block; margin: 12px 0 6px !important; line-height: 1.3 !important; position: static !important; }
html body#contact .lpd-dark a[href^="tel:"], html body#contact .lpd-dark a[href*="wa.me"] { margin-bottom: 4px !important; }
html body#cms .lp-hero > * { margin-left: 0 !important; padding-left: 0 !important; max-width: none !important; }
html body#cms .lp-hero { padding: 0 !important; }

/* Round 3: Marble Arch photos (CMS 36 and home Come and see it) */
html body#cms .lp-ma-hero { margin: 0 0 16px !important; border-radius: 10px; overflow: hidden; background: #f4f2ee; }
html body#cms .lp-ma-hero img { display: block; width: 100%; height: auto; max-height: 460px; object-fit: cover; object-position: 50% 40%; }
html body#cms .lp-ma-gallery { margin: 32px 0 0; }
html body#cms .lp-ma-gallery h2 { margin: 0 0 12px !important; font: 800 20px/1.25 var(--lp-f) !important; color: #18232c !important; }
html body#cms .lp-ma-track { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin: 0 -12px; padding: 0 12px 4px; }
html body#cms .lp-ma-track::-webkit-scrollbar { display: none; }
html body#cms .lp-ma-track figure { flex: 0 0 72%; max-width: 340px; margin: 0; scroll-snap-align: start; border-radius: 10px; overflow: hidden; background: #f4f2ee; }
html body#cms .lp-ma-track img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
@media (min-width: 992px) { html body#cms .lp-ma-track { margin: 0; padding-left: 0; } html body#cms .lp-ma-track figure { flex-basis: 24%; max-width: none; } }
html body#index .lp-ma-home { display: block; margin-top: 16px; border-radius: 10px; overflow: hidden; text-decoration: none; background: #f4f2ee; max-width: 420px; }
html body#index .lp-ma-home img { display: block; width: 100%; height: 170px; object-fit: cover; object-position: 50% 40%; }
html body#index .lp-ma-home span { display: block; padding: 8px 12px 10px; font: 700 13.5px/1.3 "Laporsa Manrope", "Segoe UI", Arial, sans-serif; color: #18232c; }

/* Round 3: CMS pages that use the dark lpd hero (showrooms) get the same white treatment as contact */
html body#cms :is(section.lpd-dark,.lpd,.lpd--contact,.lpd-wrap) { background: #fff !important; color: #5b6670 !important; padding-top: 4px !important; padding-bottom: 8px !important; }
html body#cms .lpd-dark :is(p,li,span,small,label,div) { color: #5b6670 !important; font-family: var(--lp-f) !important; }
html body#cms .lpd-dark :is(h1,h2,h3,h4,strong) { color: #18232c !important; font-family: var(--lp-f) !important; }
html body#cms .lpd-dark h1 { font: 800 24px/1.2 var(--lp-f) !important; letter-spacing: -.02em; }
html body#cms .lpd-dark :is(.lpd-eyebrow,[class*=eyebrow],[class*=kicker]) { color: #b8431a !important; font: 800 12px/1.2 var(--lp-f) !important; letter-spacing: .08em; text-transform: uppercase; }
html body#cms .lpd-dark a[href^="tel:"] { background: #e95125 !important; color: #fff !important; -webkit-text-fill-color: #fff !important; }
html body#cms .lpd-dark a[href*="wa.me"], html body#cms .lpd-dark a[href*="whatsapp"] { background: #fff !important; color: #18232c !important; -webkit-text-fill-color: #18232c !important; border: 1.5px solid #18232c !important; }
html body#cms .lpd-dark :is(a[href^="tel:"],a[href*="wa.me"],a[href*="whatsapp"]) { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 10px !important; font: 800 15px/1.2 var(--lp-f) !important; text-decoration: none !important; box-shadow: none !important; }
html body#cms .lpd-dark :is(input,select,textarea,.form-control) { background: #fff !important; color: #18232c !important; border: 1px solid #cdd3d7 !important; border-radius: 10px !important; min-height: 46px; font: 400 15px/1.3 var(--lp-f) !important; }
html body#cms .lpd-dark :is(form,fieldset,[class*=card],[class*=panel],[class*=box]) { background: #fff !important; border: 1px solid #e6e8ea !important; border-radius: 10px !important; box-shadow: none !important; }
html body#cms .lpd-dark :is(button[type=submit],.btn-primary,input[type=submit]) { background: #e95125 !important; color: #fff !important; -webkit-text-fill-color: #fff !important; border: 0 !important; border-radius: 10px !important; min-height: 48px; font: 800 15px/1.2 var(--lp-f) !important; }
html body#cms .lpd-dark a:not([href^="tel:"]):not([href*="wa.me"]):not([href*="whatsapp"]):not(.btn) { color: #b8431a !important; -webkit-text-fill-color: #b8431a !important; text-decoration: underline !important; font-weight: 700; }
html body#cms .lpd-dark :is(dt,h3,h4,[class*=label],[class*=kicker]) { display: block; margin: 12px 0 6px !important; line-height: 1.3 !important; position: static !important; }
html body#cms .lpd-dark a[href^="tel:"], html body#cms .lpd-dark a[href*="wa.me"] { margin-bottom: 4px !important; }
html body#cms .lpd-dark :is(h1,h2) { font: 800 24px/1.2 var(--lp-f) !important; letter-spacing: -.02em; color: #18232c !important; }
html body#cms .page-cms-36 .lpd-dark figure, html body#cms .page-cms-36 .lpd-dark img[alt^="Inside our Marble"], html body#cms .page-cms-36 .lpd-dark [class*=photo] { display: none !important; }
html body#cms .lpd-dark a[class*=btn], html body#cms .lpd-dark a[href^="tel:"] { border-radius: 10px !important; }
/* Round 3: the hero Call/WhatsApp pair is created by lp-d10.js (not editable), the details list prints the same two numbers, so the pair is hidden here */
html body#contact .lpd-dark a.lp-btn[href^="tel:"], html body#contact .lpd-dark a.lp-btn[href*="wa.me"] { display: none !important; }
html body#contact .lpd-dark :is(a[href^="tel:"],a[href*="wa.me"]):not(.lp-btn) { display: flex !important; }
/* header: Sign in outline to full ink */
@media (min-width: 992px) { html body .main-header .account-link > a[href] { border-color: #18232c !important; } html body .main-header .account-link > a[href]:hover { background: #f4f2ee !important; } }
html body#contact .lpd-dark :is(div,li,dd):has(> a[href^="tel:"]:not(.lp-btn)) > :not(a), html body#contact .lpd-dark :is(div,li,dd):has(> a[href*="wa.me"]:not(.lp-btn)) > :not(a) { display: block !important; margin-bottom: 8px !important; position: static !important; }
html body#contact .lpd-dark a[href^="tel:"]:not(.lp-btn), html body#contact .lpd-dark a[href*="wa.me"]:not(.lp-btn) { margin-top: 0 !important; }
/* Round 3: alerts on account pages flat */
html body:is(#authentication,#registration,#password,#identity,#guest-tracking) #wrapper .alert { border-radius: 10px !important; box-shadow: none !important; font: 500 14px/1.5 var(--lp-f) !important; }
html body:is(#authentication,#registration,#password) #wrapper .alert-danger, html body:is(#authentication,#registration,#password) #wrapper .help-block ul li { border: 1px solid #e5b4b9 !important; background: #fbeff0 !important; color: #7a1f27 !important; padding: 12px 14px !important; }
html body:is(#authentication,#registration,#password) #wrapper .alert-danger * { color: #7a1f27 !important; background: transparent !important; -webkit-text-fill-color: #7a1f27 !important; border: 0 !important; }
html body:is(#authentication,#registration,#password) #wrapper .alert-info, html body:is(#authentication,#registration,#password) #wrapper .alert-success { background: #f4f2ee !important; border: 0 !important; color: #18232c !important; }
html body:is(#authentication,#registration,#password) #wrapper .alert-info *, html body:is(#authentication,#registration,#password) #wrapper .alert-success * { color: #18232c !important; font: 500 14px/1.5 var(--lp-f) !important; }
/* Round 3: empty search and empty-listing states */
html body:is(#search,#prices-drop,#best-sales,#new-products) .category-empty-product :is(h2,h3,h4,.h4), html body:is(#search,#prices-drop,#best-sales,#new-products) .page-not-found h4 { font: 800 20px/1.25 var(--lp-f) !important; color: #18232c !important; margin: 0 0 8px !important; text-align: left !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .category-empty-product p, html body:is(#search,#prices-drop,#best-sales,#new-products) .page-not-found p { font: 400 14.5px/1.55 var(--lp-f) !important; color: #5b6670 !important; text-align: left !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-noresults, html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-empty__routes { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-noresults a, html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-empty__routes a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px !important; border: 1.5px solid #18232c !important; border-radius: 10px !important; background: #fff !important; color: #18232c !important; -webkit-text-fill-color: #18232c !important; font: 700 14px/1 var(--lp-f) !important; text-decoration: none !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-noresults-help a { color: #b8431a !important; font-weight: 700; }
html body#cms .lp-ma-hero img { object-position: 50% 0% !important; max-height: 520px; }
