/*
Theme Name: CHSO Industrial B2B
Text Domain: chso-industrial-b2b
Description: CHSO electrical components B2B rebuild for chsoelectric.com.
Version: 1.0.5
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
WPVibe: yes
*/
html { scroll-behavior: smooth; }
/* Shared footer. Scoped to avoid altering the catalog and inquiry tool. */
#chso-site-footer {
  display:grid; grid-template-columns:1.25fr 1fr 1fr 1fr; gap:36px;
  padding:48px max(5%, calc((100vw - 1440px)/2)) 22px;
  background:#0c1e30; color:#d6e0ec; border-top:1px solid #53647a;
  font-size:14px; line-height:1.65; text-align:left;
}
#chso-site-footer *, #chso-site-footer *::before, #chso-site-footer *::after { box-sizing:border-box; }
#chso-site-footer nav { display:block!important; position:static!important; inset:auto; width:auto; height:auto; max-height:none; padding:0!important; margin:0; background:transparent!important; box-shadow:none; border:0; transform:none; white-space:normal; }
#chso-site-footer > * { min-width:0; margin:0; }
#chso-site-footer h2 { color:#fff; font-size:15px; line-height:1.4; font-weight:700; margin:0 0 16px; letter-spacing:0; text-transform:none; }
#chso-site-footer p { color:#d6e0ec; margin:0 0 14px; font-size:14px; line-height:1.65; }
#chso-site-footer a:not(.brand) { display:block; color:#d6e0ec; font-size:14px; line-height:1.6; text-decoration:none; margin:0 0 10px; padding:3px 0; white-space:normal!important; overflow-wrap:anywhere; }
#chso-site-footer a:not(.brand):hover { color:#fff; text-decoration:underline; text-underline-offset:4px; }
#chso-site-footer a:focus-visible { outline:3px solid #60d6f4; outline-offset:4px; border-radius:2px; }
#chso-site-footer .brand { width:164px!important; height:78px!important; max-width:100%; margin:0 0 20px; background-color:#fff!important; background-size:144px auto!important; background-position:center!important; background-repeat:no-repeat!important; border-radius:3px; }
#chso-site-footer .chso-footer-company { color:#fff; font-weight:600; }
#chso-site-footer .chso-footer-description { max-width:29ch; }
#chso-site-footer .chso-footer-contact > a > span { display:block; }
#chso-site-footer .chso-footer-contact .chso-footer-button { display:inline-flex; gap:20px; align-items:center; justify-content:center; padding:11px 18px; min-height:46px; margin:8px 0 14px; background:#194cf0; color:#fff; border:1px solid #6687ff; border-radius:3px; font-weight:600; text-decoration:none; }
#chso-site-footer .chso-footer-contact .chso-footer-button:hover { background:#123fc9; }
#chso-site-footer .chso-footer-contact .chso-footer-summary > span { display:inline; }
#chso-site-footer .chso-footer-all { margin-top:18px!important; color:#fff!important; }
#chso-site-footer .chso-footer-bottom { grid-column:1/-1; border-top:1px solid #394c60; padding-top:20px; font-size:12px; color:#b7c6d8; }
@media(max-width:1100px) {
 #chso-site-footer { grid-template-columns:1fr 1fr; column-gap:40px; row-gap:32px; }
 #chso-site-footer > .chso-footer-identity { grid-column:auto; }
}
@media(max-width:600px) {
 #chso-site-footer { grid-template-columns:1fr 1fr; gap:28px 22px; padding:32px 6% 22px; }
 #chso-site-footer > .chso-footer-identity, #chso-site-footer > .chso-footer-contact { grid-column:1/-1; }
 #chso-site-footer .brand { margin-bottom:16px; }
 #chso-site-footer .chso-footer-description { max-width:36ch; }
 #chso-site-footer a:not(.brand) { min-height:44px; margin-bottom:4px; padding:10px 0; }
 #chso-site-footer h2 { margin-bottom:10px; }
 #chso-site-footer .chso-footer-contact .chso-footer-button { margin:8px 0; }
 #chso-site-footer .chso-footer-bottom { line-height:1.6; }
}
@media(prefers-reduced-motion:reduce) { html {scroll-behavior:auto;} }


/* Compact mobile product breadcrumbs. */
@media (max-width: 700px){
  .tm-breadcrumb{
    position: static !important; display: flex !important; flex-direction: row !important; flex-wrap: wrap !important;
    align-items: center !important; justify-content: flex-start !important; gap: 6px !important;
    width: 100% !important; height: auto !important; min-height: 0 !important;
    margin: 0 0 18px !important; padding: 10px 0 !important;
    text-align: left !important; line-height: 1.4 !important;
    background: transparent !important; box-shadow: none !important; transform: none !important; z-index: auto !important;
  }
  .tm-breadcrumb > *{ display: inline !important; width: auto !important; height: auto !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; }
}
