/*
Theme Name: American Parts of Monroe
Theme URI: https://americanpartsmonroe.com
Author: American Parts of Monroe
Description: Custom responsive WooCommerce storefront for American Parts of Monroe. WIX SKU search, category navigation and store details.
Version: 1.3.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: american-parts
*/
:root{--navy:#101c2d;--navy2:#1b304a;--red:#d52e31;--cream:#f5f6f8;--muted:#687487;--line:#e1e5eb;--white:#fff;--max:1200px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font:16px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--navy);background:#fff}a{color:inherit;text-decoration:none}a:hover{color:var(--red)}img{max-width:100%;height:auto}button,input{font:inherit}button{cursor:pointer}.wrap{width:min(calc(100% - 40px),var(--max));margin:auto}.utility{background:#0b1422;color:#e8edf5;font-size:12px}.utility .wrap{display:flex;justify-content:space-between;gap:20px;padding:8px 0}.utility a{color:#fff}.masthead{background:#fff;border-bottom:1px solid var(--line)}.masthead-inner{min-height:94px;display:flex;align-items:center;gap:35px}.brand{display:flex;align-items:center;gap:12px;min-width:225px}.brand img{width:77px;height:77px;object-fit:contain}.brand-title{font-weight:900;font-size:18px;line-height:1.12;letter-spacing:-.4px}.brand-title span{display:block;color:var(--red);font-size:11px;letter-spacing:2px;margin-top:5px}.site-search{display:flex;flex:1;min-width:0;max-width:660px;height:48px;border:2px solid #d9dee6;border-radius:7px;overflow:hidden;background:#fff}.site-search:focus-within{border-color:#8190a6}.site-search input{border:0;outline:0;padding:0 16px;min-width:0;flex:1;font-size:14px}.site-search button,.btn{background:var(--red);color:white;border:0;padding:0 23px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:8px}.site-search button:hover,.btn:hover{background:#ae2428;color:#fff}.cart-link{font-weight:800;white-space:nowrap}.nav{background:var(--navy);color:#fff}.nav .wrap{display:flex;align-items:center;justify-content:space-between;min-height:48px;gap:20px}.nav-links{display:flex;align-items:center;gap:28px;flex-wrap:wrap}.nav-links a{font-size:13px;font-weight:800;letter-spacing:.3px;color:#fff}.nav-links a:hover{color:#ff8c8c}.nav-call{font-size:12px;color:#cdd7e5}.hero{background:linear-gradient(120deg,#111e30 0%,#182d47 62%,#253e5b 100%);color:white;overflow:hidden}.hero-grid{min-height:480px;display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:35px;padding:65px 0}.eyebrow{text-transform:uppercase;color:#ff7d7d;font-size:12px;font-weight:900;letter-spacing:2.2px}.hero h1{font-size:clamp(38px,4.6vw,65px);line-height:1.04;letter-spacing:-2.5px;margin:18px 0 20px;max-width:680px}.hero h1 em{font-style:normal;color:#f36a6b}.hero p{font-size:17px;color:#d8e1ed;max-width:570px;margin:0 0 27px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap}.btn{min-height:48px;border-radius:5px;padding:0 25px;font-size:13px;text-transform:uppercase;letter-spacing:.6px}.btn.outline{background:transparent;border:1px solid #8291a6}.btn.outline:hover{background:#fff;color:var(--navy)}.hero-art{position:relative;min-height:360px;display:grid;place-items:center}.hero-orbit{position:absolute;width:390px;height:390px;border:1px solid #4b6079;border-radius:50%;opacity:.55}.hero-orbit:before{content:'';position:absolute;inset:34px;border:1px dashed #63768c;border-radius:50%}.filter-main{position:relative;width:190px;height:260px;background:linear-gradient(90deg,#f6f7f8,#bfc5ce 35%,#fff 57%,#b4bbc6);border-radius:18px 18px 30px 30px;box-shadow:25px 30px 60px #06101caa;transform:rotate(-13deg);border-top:23px solid #c9cdd4;border-bottom:15px solid #a9b2bd}.filter-main:before{content:'';position:absolute;top:65px;left:0;right:0;height:92px;background:var(--red)}.filter-main:after{content:'WIX';position:absolute;top:70px;left:0;right:0;text-align:center;color:white;font-size:57px;letter-spacing:-5px;font-weight:1000}.filter-small{position:absolute;right:15px;bottom:12px;width:115px;height:170px;background:linear-gradient(90deg,#dedfe2,#fff,#adb5bf);border-top:20px solid #c5cbd3;border-bottom:12px solid #a9b0ba;border-radius:13px 13px 20px 20px;transform:rotate(14deg);box-shadow:12px 20px 25px #07132088}.filter-small:after{content:'FILTER';position:absolute;top:45px;left:0;right:0;text-align:center;background:#152944;color:white;font-size:17px;font-weight:900;padding:8px 0}.hero-chip{position:absolute;right:0;top:24px;border:1px solid #7389a1;background:#263d58;padding:12px 18px;border-radius:6px;font-size:12px;font-weight:800}.benefits{background:#f3f5f7;border-bottom:1px solid var(--line)}.benefits-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding:23px 0}.benefit{display:flex;align-items:center;gap:14px}.benefit-mark{width:44px;height:44px;border:1px solid #ccd5e0;border-radius:50%;display:grid;place-items:center;font-size:23px;color:var(--red);flex:none}.benefit b{display:block;font-size:13px}.benefit span{display:block;font-size:12px;color:var(--muted)}.section{padding:70px 0}.section.alt{background:#f7f8fa}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:28px}.section-kicker{color:var(--red);font-size:12px;text-transform:uppercase;letter-spacing:1.8px;font-weight:900}.section h2,.section-heading h2{font-size:clamp(28px,3vw,38px);line-height:1.18;letter-spacing:-1px;margin:8px 0 0}.section-heading>a{font-weight:800;font-size:13px;color:var(--red)}.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.category-card{border:1px solid var(--line);border-radius:8px;background:#fff;padding:28px 23px;min-height:200px;display:flex;flex-direction:column;justify-content:space-between;transition:.2s}.category-card:hover{border-color:var(--red);transform:translateY(-3px);box-shadow:0 12px 25px #101c2d0b}.category-icon{width:62px;height:62px;border-radius:50%;display:grid;place-items:center;background:#eef1f5;color:var(--navy);font-size:29px}.category-card h3{font-size:18px;margin:15px 0 4px}.category-card p{font-size:12px;color:var(--muted);margin:0}.category-card .arrow{color:var(--red);font-weight:900;margin-top:14px}.feature-banner{background:var(--navy);border-radius:10px;padding:43px 48px;display:flex;align-items:center;justify-content:space-between;gap:30px;color:white}.feature-banner h2{margin:8px 0;font-size:32px}.feature-banner p{margin:0;color:#cdd8e6;max-width:620px}.products-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.product-card,.products li.product{border:1px solid var(--line);border-radius:8px;padding:16px;background:white;list-style:none}.product-card img,.products li.product img{width:100%;aspect-ratio:1;object-fit:contain;background:#f5f6f8}.product-card h3{font-size:15px}.product-card .price{font-weight:900;color:var(--red)}.product-card .button,.products li.product .button{display:inline-block;background:var(--navy);color:white;padding:10px 15px;border-radius:4px;font-size:12px;font-weight:800}.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:center}.about-panel{background:#e9edf2;padding:45px;border-radius:10px;border-left:6px solid var(--red)}.about-panel strong{font-size:24px}.about-panel p{color:#4e5c6e}.about-copy p{color:#596677;line-height:1.8}.footer{background:#101c2d;color:#e7edf5;padding:60px 0 25px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1.2fr;gap:60px}.footer h3{color:white;font-size:14px}.footer p,.footer a{font-size:13px;color:#bfcbd9}.footer a{display:block;margin:10px 0}.footer-bottom{border-top:1px solid #3c4a5c;margin-top:35px;padding-top:20px;color:#a8b6c7;font-size:12px}.page-content{padding:55px 0 85px;min-height:45vh}.page-content h1{font-size:38px}.woocommerce .button,.woocommerce button.button,.woocommerce a.button,.woocommerce #respond input#submit{background:var(--navy);color:#fff;border-radius:4px}.woocommerce .button:hover,.woocommerce button.button:hover{background:var(--red);color:#fff}.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none}.woocommerce ul.products li.product{width:auto!important;margin:0!important;float:none!important}.woocommerce .woocommerce-breadcrumb{margin-bottom:24px}.notice{background:#fff7df;border-left:4px solid #dca421;padding:12px 16px;font-size:13px}.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden}.screen-reader-text:focus{clip:auto;width:auto;height:auto}.menu-toggle{display:none}.search-results-list article{padding:20px 0;border-bottom:1px solid var(--line)}@media(max-width:950px){.masthead-inner{gap:14px}.brand{min-width:160px}.brand img{width:60px;height:60px}.brand-title{font-size:14px}.hero-grid{grid-template-columns:1fr .65fr}.hero-art{transform:scale(.8)}.category-grid,.products-grid,.woocommerce ul.products{grid-template-columns:repeat(2,1fr)}.footer-grid{gap:25px}}@media(max-width:650px){.wrap{width:min(calc(100% - 28px),var(--max))}.utility .wrap{justify-content:center}.utility .wrap span:last-child{display:none}.masthead-inner{padding:12px 0;flex-wrap:wrap;gap:10px}.brand{flex:1}.site-search{order:3;flex-basis:100%;max-width:none}.cart-link{font-size:13px}.nav .wrap{display:block;padding:10px 0}.menu-toggle{display:block;background:none;color:white;border:0;font-weight:800;padding:3px}.nav-links{display:none;padding:14px 0;flex-direction:column;align-items:start;gap:15px}.nav-links.open{display:flex}.nav-call{display:none}.hero-grid{display:block;min-height:0;padding:50px 0}.hero h1{font-size:42px;letter-spacing:-1.5px}.hero-art{display:none}.benefits-grid{grid-template-columns:1fr;gap:14px}.section{padding:48px 0}.category-grid,.products-grid,.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.category-card{padding:18px 14px;min-height:180px}.category-card h3{font-size:15px}.feature-banner{display:block;padding:30px 24px}.feature-banner .btn{margin-top:20px}.about-grid,.footer-grid{grid-template-columns:1fr;gap:22px}.about-panel{padding:25px}.section-heading{align-items:start}.section-heading>a{white-space:nowrap}.footer{padding:40px 0 25px}}

/* Version 1.1: product-photo homepage, improved header, responsive category tiles */
.brand{min-width:230px;flex:none}.brand img{width:225px;height:78px;object-fit:contain;object-position:left center}.masthead-inner{gap:24px}.site-search{max-width:720px}.hero-v2{background:linear-gradient(110deg,#0c192b 0%,#132741 65%,#1a304a 100%)}.hero-v2 .hero-grid{grid-template-columns:1.04fr .96fr;gap:0;min-height:440px;padding:42px 0}.hero-v2 .hero-copy{position:relative;z-index:2;padding-right:20px}.hero-v2 h1{font-size:clamp(35px,4.15vw,60px);letter-spacing:-1.9px}.hero-v2 .hero-photo{align-self:stretch;min-height:370px;background-image:linear-gradient(90deg,#132741 0%,rgba(19,39,65,.08) 17%,transparent 40%),url('assets/hero-parts.webp');background-size:cover;background-position:center center;border-radius:5px}.hero-v2 p{max-width:620px}.category-grid-v2{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.category-photo-card{min-height:0;padding:0;overflow:hidden;display:block}.category-photo-card img{width:100%;height:155px;object-fit:cover;display:block;background:#e8ebef}.category-photo-title{display:flex;justify-content:space-between;gap:8px;padding:12px 14px 0;align-items:center;line-height:1.2}.category-photo-title strong{font-size:15px}.category-photo-title span{color:var(--red);font-size:22px}.category-photo-card small{display:block;padding:4px 14px 12px;color:#647184;font-size:11px}.category-disclaimer{color:#647184;font-size:13px;margin-top:18px}.hero-v2 .hero-photo{box-shadow:inset 25px 0 25px #13274166}
@media(max-width:950px){.brand{min-width:165px}.brand img{width:165px;height:62px}.hero-v2 .hero-grid{grid-template-columns:1fr .8fr}.hero-v2 h1{font-size:42px}.category-grid-v2{grid-template-columns:repeat(4,minmax(0,1fr))}.category-photo-card img{height:115px}}
@media(max-width:650px){.brand{min-width:0}.brand img{width:180px;height:62px}.hero-v2 .hero-grid{padding:38px 0 0;display:flex;flex-direction:column}.hero-v2 .hero-copy{padding:0}.hero-v2 h1{font-size:38px}.hero-v2 .hero-photo{width:100%;min-height:210px;margin-top:24px;background-position:center}.category-grid-v2{grid-template-columns:repeat(2,minmax(0,1fr))}.category-photo-card img{height:125px}.category-photo-title strong{font-size:14px}}

/* v1.2 store contact visibility */
.utility-right{display:flex;align-items:center;gap:24px}.utility-phone{font-weight:800;white-space:nowrap}.footer .footer-phone a{display:inline;color:#fff;font-weight:800;text-decoration:underline;text-underline-offset:3px}.contact-phone{font-weight:700}.contact-phone a{color:var(--red);text-decoration:underline}@media(max-width:650px){.utility .wrap{justify-content:center}.utility .utility-right{display:flex;gap:0}.utility .utility-right>span{display:none}.utility .utility-phone{display:inline;color:#fff}}
/* v1.3 contact page details */
.apm-contact-details{margin:32px 0;padding:28px;border:1px solid #e2e7ee;border-radius:12px;background:#f7f9fc}.apm-contact-details h2{margin:0 0 20px;color:#10243c}.apm-contact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.apm-contact-grid h3{margin:0 0 8px;color:#10243c}.apm-contact-grid p{margin:0 0 9px}.apm-contact-grid a{font-weight:700;color:#cf2834;text-decoration:underline}.apm-contact-note{margin:20px 0 0;font-size:.95rem;color:#43536b}@media(max-width:700px){.apm-contact-grid{grid-template-columns:1fr}.apm-contact-details{padding:20px}}
