/* Navigation and layout refinements shared by the original AAMCO page designs. */
html {scroll-padding-top:88px}
.site-nav .nav-links a[aria-current="page"],.company-nav-links a[aria-current="page"],.mobile-menu a[aria-current="page"] {
  text-decoration:underline;
  text-decoration-thickness:2px;
  text-underline-offset:6px;
}
body .site-nav.nav-scrolled .nav-shell {background:rgba(7,19,33,.96)!important}
.products-page .site-nav.nav-scrolled .nav-shell,.career-page .site-nav.nav-scrolled .nav-shell {background:white!important}
.compact-nav {display:none}
.section-links {
  display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;
  padding:18px clamp(18px,5vw,84px);background:#f5f8fc;color:#142941;
  border-block:1px solid #dbe5f0;
}
.section-links strong {margin-inline-end:12px;font-size:.94rem}
.section-links a {
  display:inline-flex;align-items:center;justify-content:center;min-height:40px;
  padding:6px 18px;background:white;border:1px solid #cedceb;border-radius:99px;
  color:#1359a5;font-size:.88rem;font-weight:650;text-decoration:none;
}
.section-links a:hover,.section-links a:focus-visible {background:#e6f1ff;border-color:#2588f6}
.material-links {padding:16px clamp(14px,2vw,30px);margin-block:18px 24px;border:1px solid #dbe5f0;border-radius:14px}
.product-main .product-copy,.product-main .product-visual,.enquiry-layout>* {min-width:0}
.product-main :is(.product-content,.product-related,.product-faq) {scroll-margin-top:24px}
.product-main .product-lead {max-width:62ch}
body .mobile-menu {max-height:calc(100dvh - 86px);overflow-y:auto}
@media (min-width:768px) and (max-width:1060px) {
  body .site-nav .nav-shell>.nav-links,body .site-nav .nav-shell>.nav-actions {display:none!important}
  body .site-nav .nav-shell>.menu-toggle,body .site-nav .nav-shell>.nav-enquiry-cart-mobile {display:flex!important}
  body .site-nav .mobile-menu:not(.hidden) {display:block!important}
}
@media (max-width:1000px) {
  .has-compact-nav .compact-nav {display:block;position:relative;flex:none;margin-inline-start:auto}
  .has-compact-nav .compact-nav summary {
    list-style:none;display:flex;align-items:center;gap:8px;min-height:44px;padding:0 14px;
    border:1px solid currentColor;border-radius:24px;cursor:pointer;
    font:700 .85rem/1 Inter,Arial,sans-serif;
  }
  .compact-nav summary::-webkit-details-marker {display:none}
  .compact-nav summary::after {content:'';width:7px;height:7px;border-inline-end:2px solid;border-block-end:2px solid;transform:rotate(45deg);margin-top:-4px}
  .compact-nav[open] summary::after {transform:rotate(225deg);margin-top:4px}
  .compact-nav nav {
    position:absolute;z-index:55;inset-block-start:calc(100% + 8px);inset-inline-end:0;
    width:min(240px,84vw);max-height:70dvh;overflow:auto;padding:8px;border:1px solid #dbe5f0;
    background:white;color:#142941;border-radius:14px;box-shadow:0 14px 38px #07142628;
  }
  .compact-nav nav a {display:block;padding:12px 14px;font:650 .94rem/1.35 Inter,Arial,sans-serif;text-decoration:none;color:inherit}
  .compact-nav nav a:is(:hover,:focus-visible,[aria-current]) {border-radius:8px;background:#edf5ff;color:#095aae}
  .product-site-header.has-compact-nav {position:relative;z-index:20}
  .product-site-header.has-compact-nav .product-site-header__inner {display:flex;align-items:center;justify-content:space-between;min-height:64px;padding-block:10px}
  .product-site-header .compact-nav {color:white}
  .has-compact-nav .product-nav,.gallery-nav.has-compact-nav .gallery-nav-links {display:none}
  .gallery-nav.has-compact-nav {position:relative;z-index:20;display:flex;height:auto;min-height:68px;gap:12px;flex-wrap:nowrap;overflow:visible}
  .gallery-nav.has-compact-nav .aamco-static-nav-actions {display:none}
}
@media(max-width:640px) {
  .section-links {gap:6px;padding:14px 16px}
  .section-links strong {flex-basis:100%}
  .section-links a {padding-inline:13px}
  .material-links {margin-block:12px 18px}
  .product-main .product-visual {min-height:240px;padding:18px}
  .product-main .product-visual img {max-height:295px}
  .product-main .product-breadcrumbs {margin-bottom:16px}
  .product-main .product-hero {gap:22px}
  .product-main .product-actions>a {flex:1 1 145px;text-align:center}
  .enquiry-page .enquiry-layout {gap:16px;padding-block:24px 48px}
  .products-page #products .products-intro {margin-bottom:16px}
}

#services-grid [data-service-key] > div:first-child > img { translate: 0 4px; }

.site-language {
  display: inline-flex; flex: none; align-items: center; justify-content: center;
  min-width: 58px; min-height: 40px; padding: 0 10px; border: 1px solid currentColor;
  border-radius: 24px; background: #fff; color: #124d87; cursor: pointer;
  font: 700 .88rem/1.3 Tahoma, Arial, sans-serif; white-space: nowrap;
}
.site-language { gap: 6px; }
.site-language-icon::before {
  content: "\f0ac";
  font: 900 14px/1 "AAMCO Navigation Icons";
}
.site-language:hover, .site-language:focus-visible { background: #e8f2ff; }
html[dir=rtl] body { font-family: Tahoma, Arial, sans-serif; }
html[dir=rtl] body :is(h1,h2,h3,h4,p,button,label,a,small,span,summary,dt,dd):not([class^="fa-"]) {
  letter-spacing: normal !important;
}
html[dir=rtl] body :is(h1,h2,h3,h4) {
  font-family: Tahoma, Arial, sans-serif !important; line-height: 1.35 !important;
}
html[dir=rtl] .hero-copy h1 {font-size:clamp(38px,4.8vw,82px)!important}
html[dir=rtl] :is(.hero-copy,.product-copy,.product-card-body,.gallery-card,.enquiry-form-card,.company-hero-content) { text-align: start; }
html[dir=rtl] :is(.nav-brand,.gallery-brand,.company-brand) {margin-right:0;margin-inline-end:auto}
html[dir=rtl] .nav-links {gap:clamp(10px,1.4vw,23px)}
html[dir=rtl] :is(input[type=tel],input[type=email],a[href^="tel:"],a[href^="mailto:"]) {direction:ltr;unicode-bidi:isolate}
html[dir=rtl] .hero-shade {transform:scaleX(-1)}
html[dir=rtl] .site-language {direction:ltr}
html[dir=rtl] .product-showcase-rail, html[dir=rtl] #clients-marquee {direction:ltr}
html[dir=rtl] .product-search-shell input {padding-inline:40px 12px}
@media(min-width:1061px) and (max-width:1250px) {
  .site-nav .nav-shell {gap:15px!important}
  .site-nav .nav-links {gap:12px}
}
@media(max-width:700px) {
  .site-language {min-width:54px;min-height:38px;padding-inline:8px}
  .site-nav .nav-shell {gap:8px!important;padding-inline:14px!important}
  .site-nav .nav-shell .nav-logo {max-width:clamp(88px,28vw,135px)}
  .company-nav,.gallery-nav.has-compact-nav {gap:8px;padding-inline:12px}
  .company-nav .company-brand img {max-width:90px}
  .company-nav>.aamco-static-nav-actions {margin-inline:0;gap:4px}
  .company-nav .company-menu-toggle {margin-inline:0}
}

.cw-hours-grid [data-weekday="Saturday"] {
  background: #ecfdf3;
  border: 1px solid #86d5aa;
}
.cw-hours-grid [data-weekday="Saturday"] .cw-hour-abbr { color: #166534; }
