/* CROWN AUTO PARTS — SHARED PUBLIC LAYOUT */
:root{--site-navy:#111c2e;--site-gold:#a86b00;--site-gold-hover:#8f5a00;--site-muted:#526b87;--site-bg:#f5f8fc;--site-white:#fff;--site-border:#d5dee8;--site-max:1240px}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:Arial,Helvetica,sans-serif!important;font-size:15px!important;line-height:1.6!important;color:var(--site-navy);background:var(--site-bg);-webkit-font-smoothing:antialiased}
.site-header{width:100%!important;height:72px!important;min-height:72px!important;background:#f8fafc!important;border-bottom:1px solid #d9e0e8!important;position:sticky!important;top:0;z-index:1000}
.header-inner{width:100%!important;max-width:var(--site-max)!important;height:72px!important;min-height:72px!important;margin:0 auto!important;padding:0 20px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:24px!important}
.brand{display:flex!important;align-items:center!important;gap:9px!important;color:var(--site-navy)!important;font-size:inherit!important;font-weight:400!important;letter-spacing:0!important;white-space:nowrap!important;margin:0!important}
.crown-logo{width:31px!important;height:30px!important;flex:0 0 31px!important;color:var(--site-gold)!important;display:block!important}.crown-logo svg{width:100%!important;height:100%!important;display:block!important}
.brand-name{display:flex!important;align-items:center!important;gap:3px!important;font-size:21px!important;line-height:1!important;font-weight:700!important;letter-spacing:-.45px!important}.brand-crown{color:var(--site-navy)!important;font-weight:700!important}.brand-auto{color:var(--site-gold)!important;font-weight:700!important}
.main-nav{margin-left:auto!important;display:flex!important;align-items:center!important;gap:36px!important}.main-nav a{color:#5b6675!important;font-size:14px!important;line-height:1.2!important;font-weight:600!important;padding:0!important}.main-nav a:hover,.main-nav a.active{color:var(--site-gold)!important}
/* Header CTA: large rounded gold Call Now button on desktop and mobile. */
.header-call,.call-btn{height:50px!important;min-height:50px!important;min-width:180px!important;margin-left:16px!important;padding:0 24px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;background:var(--site-gold)!important;color:#fff!important;border:0!important;border-radius:14px!important;font-size:16px!important;font-weight:700!important;line-height:1!important;text-decoration:none!important;box-shadow:none!important;white-space:nowrap!important}.header-call svg{width:20px!important;height:20px!important;flex:0 0 20px!important}
/* No cart icon/button in the site header. */
.cart-header-link{display:none!important}
.page-inner,.section-inner,.container,.footer-inner{max-width:var(--site-max)!important}
.page-inner{padding-left:20px!important;padding-right:20px!important}.container{padding-left:0;padding-right:0}
.footer,.site-footer{background:#f8fafc!important;border-top:1px solid #d9e0e8!important}.footer-inner{width:100%!important;min-height:90px!important;margin:0 auto!important;padding:0 20px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:20px!important}.footer-brand{display:flex!important;align-items:center!important;gap:8px!important;color:var(--site-navy)!important;font-size:16px!important;font-weight:700!important}.footer-crown{width:27px!important;height:27px!important;color:var(--site-gold)!important}.footer-crown svg{width:100%!important;height:100%!important;display:block!important}.footer-brand strong{color:var(--site-navy)!important;font-size:16px!important;font-weight:700!important}.footer-inner p{margin:0!important;color:var(--site-muted)!important;font-size:13px!important}.footer-links,.footer-inner>div:last-child{display:flex!important;gap:24px!important}.footer-links a,.footer-inner>div:last-child a{color:var(--site-muted)!important;font-size:13px!important}.footer-links a:hover,.footer-inner>div:last-child a:hover{color:var(--site-gold)!important}
.about-hero{padding:52px 0 54px!important}.about-hero h1{font-size:38px!important;line-height:1.15!important;letter-spacing:-.8px!important;font-weight:700!important}.about-hero p:last-child{font-size:16px!important;line-height:1.6!important}.section{padding:62px 0!important}.section-head{margin-bottom:30px!important}.section-head h2,.intro-content h2,.help-box h2{font-size:30px!important;line-height:1.2!important;font-weight:700!important}.section-head>p:last-child,.intro-content p:not(.eyebrow){font-size:15px!important;line-height:1.65!important}.intro-grid{gap:44px!important}.feature-grid,.service-grid,.category-grid{gap:18px!important}.brand-grid{gap:14px!important}
.contact-hero{padding:34px 0 54px!important}.contact-hero h1{font-size:38px!important;line-height:1.15!important;letter-spacing:-.7px!important;font-weight:700!important}.contact-hero>.container>p{font-size:16px!important;line-height:1.6!important}.enquiry-section{padding:66px 0 64px!important}.section-heading h2{font-size:30px!important;line-height:1.2!important;font-weight:700!important}.section-heading p{font-size:15px!important}.enquiry-form{padding:24px!important}
.products-section{padding:40px 0 62px!important}.page-heading h1{font-size:34px!important;line-height:1.2!important;font-weight:700!important;letter-spacing:-.6px!important}.page-heading p{font-size:15px!important}.products-grid{gap:18px!important}.product-content{padding:14px 15px 16px!important}.product-name{font-size:14px!important;font-weight:600!important}
.product-detail-section{padding:30px 0 58px!important}.product-detail{gap:45px!important}.product-info h1{font-size:34px!important;line-height:1.2!important;font-weight:700!important;letter-spacing:-.5px!important}.recommended-section{padding:48px 0 62px!important}.recommended-heading h2{font-size:28px!important;font-weight:700!important}
@media(max-width:700px){.site-header{height:auto!important;min-height:0!important}.header-inner{height:auto!important;min-height:0!important;padding:10px 14px 11px!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:"brand call" "nav nav"!important;gap:9px 12px!important}.brand{grid-area:brand!important;gap:7px!important;min-width:0!important}.crown-logo{width:27px!important;height:27px!important;flex-basis:27px!important}.brand-name{font-size:17px!important}.main-nav{grid-area:nav!important;display:flex!important;width:100%!important;margin:0!important;padding:8px 0 0!important;align-items:center!important;justify-content:center!important;gap:0!important;border-top:1px solid #d9e0e8!important}.main-nav a{flex:1 1 0!important;padding:3px 6px!important;text-align:center!important;font-size:13px!important;line-height:1.2!important}.main-nav a+a{border-left:1px solid #d9e0e8!important}.header-call,.call-btn{grid-area:call!important;height:46px!important;min-height:46px!important;min-width:145px!important;margin:0!important;padding:0 18px!important;font-size:14px!important;font-weight:700!important;border-radius:12px!important;gap:8px!important}.header-call svg{width:19px!important;height:19px!important;flex-basis:19px!important}.page-inner{padding-left:14px!important;padding-right:14px!important}.container{width:calc(100% - 28px)!important}.footer-inner{min-height:auto!important;padding:22px 14px!important;flex-direction:column!important;text-align:center!important;gap:10px!important}.footer-brand strong{font-size:14px!important}.footer-inner p{font-size:11px!important}.footer-links,.footer-inner>div:last-child{gap:18px!important}.footer-links a,.footer-inner>div:last-child a{font-size:12px!important}.about-hero{padding:44px 0 42px!important}.about-hero h1{font-size:31px!important}.about-hero p:last-child{font-size:15px!important}.section{padding:48px 0!important}.section-head h2,.intro-content h2,.help-box h2{font-size:27px!important}.contact-hero{padding:26px 0 46px!important}.contact-hero h1{font-size:31px!important}.contact-hero>.container>p{font-size:15px!important}.enquiry-section{padding:50px 0!important}.section-heading h2{font-size:27px!important}.products-section{padding:28px 0 50px!important}.page-heading h1{font-size:27px!important}.page-heading p{font-size:14px!important}.product-info h1{font-size:28px!important}.recommended-heading h2{font-size:25px!important}}

.site-footer{margin-top:0;background:#111c2e;color:#dce5ef;border-top:1px solid #25344a}.site-footer-main{background:linear-gradient(145deg,#111c2e 0%,#17253a 100%)}.site-footer-inner{width:100%;max-width:1240px;margin:0 auto;padding:48px 20px 42px;display:grid;grid-template-columns:minmax(0,1.35fr) .9fr .9fr minmax(0,1.35fr);gap:42px}.site-footer-brand{max-width:390px}.site-footer-logo{display:inline-flex;align-items:center;gap:10px;color:#fff;text-decoration:none}.site-footer-crown{width:34px;height:30px;color:#d49a31;flex:0 0 auto}.site-footer-crown svg{width:100%;height:100%;display:block}.site-footer-name{display:flex;gap:4px;align-items:center;font-size:19px;line-height:1;font-weight:800;letter-spacing:-.35px}.site-footer-name strong{color:#fff}.site-footer-name span{color:#d49a31}.site-footer-brand>p{margin:18px 0 17px;color:#aebdce;font-size:13px;line-height:1.75}.site-footer-call{display:inline-flex;align-items:center;gap:8px;color:#fff;font-size:14px;font-weight:700;text-decoration:none}.site-footer-call span{color:#d49a31}.site-footer-column{display:flex;flex-direction:column;align-items:flex-start;gap:9px}.site-footer-column h2{margin:2px 0 8px;color:#fff;font-size:14px;line-height:1.2;font-weight:800;letter-spacing:.02em}.site-footer-column a{color:#aebdce;font-size:13px;line-height:1.5;text-decoration:none;transition:color .2s ease,transform .2s ease}.site-footer-column a:hover{color:#d49a31;transform:translateX(2px)}.site-footer-contact p{margin:0 0 3px;color:#aebdce;font-size:13px;line-height:1.7}.site-footer-contact a{color:#d49a31;font-weight:700}.site-footer-bottom{background:#0d1727;border-top:1px solid rgba(255,255,255,.08)}.site-footer-bottom-inner{width:100%;max-width:1240px;margin:0 auto;padding:14px 20px;display:flex;align-items:center;justify-content:space-between;gap:15px;color:#8495a9;font-size:11px}@media(max-width:900px){.site-footer-inner{grid-template-columns:1.5fr 1fr 1fr;gap:30px}.site-footer-contact{grid-column:1/-1}.site-footer-brand{max-width:none}}@media(max-width:700px){.site-footer-inner{grid-template-columns:repeat(2,minmax(0,1fr));padding:36px 16px 32px;gap:28px 20px}.site-footer-brand{grid-column:1/-1}.site-footer-brand>p{font-size:12px}.site-footer-column h2{font-size:13px}.site-footer-column a,.site-footer-contact p{font-size:12px}.site-footer-bottom-inner{padding:13px 16px;flex-direction:column;text-align:center;gap:4px;font-size:10px}}

/* Mobile hamburger menu: compact side drawer instead of full-screen panel. */
@media(max-width:700px){
  .crown-mobile-menu-panel{inset:0 auto 0 0!important;width:50vw!important;min-width:280px!important;max-width:360px!important;height:100dvh!important;box-shadow:10px 0 30px rgba(17,28,46,.18)!important}
  .crown-mobile-menu-head{padding:18px 16px 16px!important}
  .crown-mobile-menu-brand{gap:7px!important}
  .crown-mobile-menu-brand svg{width:30px!important;height:27px!important}
  .crown-mobile-menu-brand-name{font-size:15px!important;letter-spacing:-.3px!important}
  .crown-mobile-menu-close{width:36px!important;height:36px!important;flex-basis:36px!important}
  .crown-mobile-menu-close svg{width:23px!important;height:23px!important}
  .crown-mobile-menu-links{padding:18px 16px 10px!important}
  .crown-mobile-menu-links a{padding:13px 0!important;font-size:16px!important;line-height:1.3!important}
  .crown-mobile-menu-links a:first-child{padding-top:4px!important}
  .crown-mobile-menu-actions{grid-template-columns:1fr!important;gap:8px!important;padding:14px 12px 16px!important}
  .crown-mobile-menu-action{height:46px!important;border-radius:7px!important;font-size:13px!important;gap:6px!important}
  .crown-mobile-menu-action svg{width:18px!important;height:18px!important;flex-basis:18px!important}
}

/* Homepage alignment fixes */
.homepage-tractor-banner-inner{max-width:1240px!important}
.what-we-sell-section .section-inner,.homepage-brands-section .section-inner{max-width:1240px!important}

/* Keep cart/tractor available elsewhere, but hide them from the hamburger navigation. */
.crown-mobile-menu-links a[href$="cart.html"],
.crown-mobile-menu-links a[href$="tractor-parts.html"]{display:none!important}
