/* LEVELMAX pages other than the homepage (server/site-style.mjs): the homepage's
   type, colours, buttons and spacing applied to the imported theme sections
   and the refined product pages. Presentation only; fonts load from chrome.css.
   Theme sizes use a 10px rem (html font-size 62.5%). */
:root{
  --lm-site-ink:#0e1b26;--lm-site-mute:#5b6670;--lm-site-line:#dcd8d0;--lm-site-paper:#f4f3f0;--lm-site-gold:#c9962b;--lm-site-navy:#043b65;
  --font-heading-family:"Inter Tight",Inter,Arial,sans-serif;--font-heading-weight:500;--font-head-spacing:-.02em;
  --font-body-family:Inter,Arial,sans-serif;--font-body-weight-bold:600;--font-body-spacing:0;
  --page-width:132rem;
  --buttons-radius:0px;--inputs-radius:0px;--variant-radius:0px;--allvariant-radius:0px;--badge-corner-radius:0;
  --image-radius:6px;--content-radius:6px;--carousel-radius:6px;--popup-radius:6px;
  --button-text-style:none;--page-scroll-color:#c9962b;--card-border-color:#dcd8d0;--dprice-color:#0e1b26;
}
body:not(.lm-home-page){font-family:Inter,Arial,sans-serif;color:var(--lm-site-ink);letter-spacing:0;-webkit-font-smoothing:antialiased}

/* Page width and side margins match the homepage (1320px, 18–56px gutters). */
body:not(.lm-home-page) #MainContent .page-width{max-width:132rem;padding-left:clamp(18px,4vw,56px);padding-right:clamp(18px,4vw,56px)}

/* Headings: Inter Tight, medium weight, tight tracking, ink. */
body:not(.lm-home-page) #MainContent :is(h1,h2,h3,.h0,.h1,.h2,.h3,.title,.main-page-title,.article-template__title,.collection-hero__title,.section-head){
  font-family:"Inter Tight",Inter,Arial,sans-serif;font-weight:500;letter-spacing:-.02em;text-wrap:balance}
body:not(.lm-home-page) #MainContent :is(h4,h5,h6,.h4,.h5){font-family:Inter,Arial,sans-serif;font-weight:600;letter-spacing:0}
body:not(.lm-home-page) #MainContent :is(h1,.h0,.main-page-title,.article-template__title,.collection-hero__title){line-height:1.08}
body:not(.lm-home-page) #MainContent :is(h2,h3,.h1,.h2){line-height:1.15}
body:not(.lm-home-page) #MainContent .article-template__content{line-height:1.7}
body:not(.lm-home-page) #MainContent :is(.rte,.article-template__content) a:not(.button){color:inherit;text-decoration-color:var(--lm-site-gold);text-underline-offset:.2em}
body:not(.lm-home-page) #MainContent :is(.caption,.caption-with-letter-spacing,.subtitle,.product__text.caption-with-letter-spacing){letter-spacing:.14em;text-transform:uppercase;font-size:1.2rem;color:var(--lm-site-mute)}

/* Buttons: gold on ink text, square, medium weight; secondary is an ink outline. */
body:not(.lm-home-page) #MainContent :is(.button:not(.share-button__button):not(.slider-button),button[type="submit"]:not(.search__button):not(.field__button)){
  border-radius:0;font-family:Inter,Arial,sans-serif;font-weight:500;letter-spacing:0;text-transform:none;min-height:48px}
body:not(.lm-home-page) #MainContent :is(.button:not(.button--secondary):not(.button--tertiary):not(.share-button__button):not(.slider-button)){
  background-color:var(--lm-site-gold);color:var(--lm-site-ink)}
body:not(.lm-home-page) #MainContent .button:not(.button--secondary):not(.button--tertiary):hover{background-color:#d8a73a}
body:not(.lm-home-page) #MainContent .button::after,body:not(.lm-home-page) #MainContent .button::before{box-shadow:none!important;border-radius:0}
body:not(.lm-home-page) #MainContent .button--secondary{background:transparent;color:var(--lm-site-ink);box-shadow:inset 0 0 0 1px var(--lm-site-ink)}

/* Forms: square fields with a quiet border and a gold focus ring. */
body:not(.lm-home-page) #MainContent :is(.field__input,.select__select,.customer .field input,textarea.text-area,input[type="text"],input[type="email"],input[type="tel"],input[type="search"],textarea,select){border-radius:0}
body:not(.lm-home-page) #MainContent .field:after,body:not(.lm-home-page) #MainContent .select:after{border-radius:0;box-shadow:0 0 0 1px var(--lm-site-line)}
body:not(.lm-home-page) #MainContent :is(.field__input,textarea,select,input[type="text"],input[type="email"],input[type="tel"],input[type="search"]):focus-visible{outline:2px solid var(--lm-site-gold);outline-offset:1px;box-shadow:none}

/* Cards, accordions and tables: thin warm lines, no heavy shadows. */
body:not(.lm-home-page) #MainContent :is(.card,.article-card,.card--card){border-radius:6px}
body:not(.lm-home-page) #MainContent .card__heading{font-family:Inter,Arial,sans-serif;font-weight:500;letter-spacing:0;line-height:1.35}
body:not(.lm-home-page) #MainContent :is(.accordion,.collapsible-content .accordion){border-color:var(--lm-site-line)}
body:not(.lm-home-page) #MainContent .accordion__title{font-family:Inter,Arial,sans-serif;font-weight:500;letter-spacing:0}
body:not(.lm-home-page) #MainContent table{border-color:var(--lm-site-line)}
body:not(.lm-home-page) #MainContent :is(th,td){border-color:var(--lm-site-line)}
body:not(.lm-home-page) .levelmax-breadcrumb{color:var(--lm-site-mute);letter-spacing:0}
body:not(.lm-home-page) .levelmax-breadcrumb a{color:var(--lm-site-ink);text-decoration-color:var(--lm-site-line)}

/* Refined product pages share the homepage palette and display face. */
#levelmax-refined{--lm-gold:#c9962b;--lm-ink:#0e1b26;--lm-line:#dcd8d0;--lm-soft:#f4f3f0;--lm-muted:#5b6670;--lm-radius:6px}
#levelmax-refined :is(h1,h2,.product-name,.product__title h1){font-family:"Inter Tight",Inter,Arial,sans-serif;font-weight:500;letter-spacing:-.02em}
#levelmax-refined :is(.action,.action.primary,.action.secondary){border-radius:0}
.levelmax-projects{--lp-gold:#c9962b;--lp-ink:#0e1b26;--lp-line:#dcd8d0;--lp-soft:#f4f3f0;--lp-radius:6px}
.levelmax-projects :is(h2,h3){font-family:"Inter Tight",Inter,Arial,sans-serif;font-weight:500;letter-spacing:-.02em}

/* Distributor page stylesheet palette (navy and yellow from its own file). */
body .levelmax-distributor-page{--lm-yellow:#c9962b;--lm-navy:#043b65;--lm-navy-dark:#032c4c}

/* Contrast on the product enquiry button and the navy materials estimator. */
#levelmax-refined .action.primary{color:#0e1b26}
body:not(.lm-home-page) #MainContent .lm-estimator>div:first-child :is(p,h2){color:#fff}

/* Reviewed blog tables keep readable columns and scroll inside the article on phones. */
body #MainContent .article-template__content .blog-table-scroll{max-width:100%;overflow-x:auto;margin:1.4em 0}
body #MainContent .article-template__content .blog-table-scroll table{min-width:620px;width:100%;table-layout:fixed;margin:0}
body #MainContent .article-template__content .blog-table-scroll :is(th,td){word-break:normal;overflow-wrap:normal;text-align:left;vertical-align:top}
