/*
Theme Name: Rock Creek Tires SEO Pro
Version: 3.4.0
Description: NAPA-inspired tire affiliate theme with fitment, departments, brand directory and catalog repair.
Author: Rock Creek Tires
Text Domain: rock-creek-tires
*/
:root{--blue:#003b71;--blue2:#005daa;--red:#d71920;--yellow:#ffd200;--white:#fff;--black:#000;--line:#cbd5df;--max:1320px}*{box-sizing:border-box}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--black);background:var(--white);line-height:1.55}a{color:var(--blue2);text-decoration:none}a:hover{text-decoration:underline}img{max-width:100%;height:auto}.skip-link{position:absolute;left:-9999px}.site-header{background:var(--blue);color:var(--white)}.header-visual{max-width:var(--max);margin:auto;min-height:190px;padding:12px 24px;display:grid;grid-template-columns:minmax(260px,1fr) minmax(360px,1.5fr);align-items:center;gap:20px}.brand-title{font-size:clamp(34px,5vw,62px);font-weight:950;line-height:.95;color:var(--white);text-transform:uppercase}.brand-title span{display:block;color:var(--yellow)}.brand-tagline{color:var(--white);font-weight:700;margin-top:12px}.camaro img{display:block;max-height:240px;margin-left:auto;object-fit:contain}.main-nav{background:var(--yellow);border-bottom:7px solid var(--red)}.main-nav ul{max-width:var(--max);margin:auto;padding:0 18px;display:flex;flex-wrap:wrap;list-style:none}.main-nav li,.main-nav a{background:transparent}.main-nav a{display:block;padding:13px 14px;color:var(--black);font-weight:900}.site-shell{max-width:var(--max);margin:auto;padding:28px 20px}.hero{background:linear-gradient(120deg,var(--blue),var(--blue2));border-radius:20px;color:var(--white);padding:46px 38px;border-bottom:7px solid var(--yellow)}.hero h1{font-size:clamp(34px,5vw,62px);line-height:1.05;margin:0 0 14px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap}.btn,.department-link,.woocommerce a.button,.woocommerce button.button{display:inline-block;background:var(--red)!important;color:var(--white)!important;border:2px solid var(--black)!important;border-radius:7px!important;padding:12px 18px!important;font-weight:900!important}.btn-alt{background:var(--yellow)!important;color:var(--black)!important}.finder-wrap{margin:-20px 22px 30px;position:relative}.finder-wrap>div{background:var(--white);border-radius:14px;box-shadow:0 12px 28px #0003}.eyebrow{font-weight:950;letter-spacing:.15em;color:var(--red);margin:0}.department-section h2,.section-title{color:var(--blue)}.department-section h2{font-size:clamp(28px,4vw,46px);margin:3px 0}.department-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:22px}.department-card,.category-card,.brand-card{border:2px solid var(--blue);border-top:7px solid var(--yellow);border-bottom:6px solid var(--red);border-radius:14px;padding:20px;background:var(--white);box-shadow:0 6px 18px #0002}.department-icon{font-size:2rem;color:var(--red)}.department-card h3,.category-card h3,.brand-card h3{color:var(--blue);margin:5px 0}.department-count,.category-count,.brand-card span{font-weight:900}.section-title{font-size:2rem;border-left:7px solid var(--red);padding-left:13px;margin-top:42px}.category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.brand-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:20px 0 35px}.brand-card{text-align:center}.brand-card a{font-weight:900;color:var(--blue)}.section-heading-row{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-top:40px}.section-heading-row .section-title{margin:0}.content-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:30px}.sidebar{border:2px solid var(--blue);border-radius:13px;padding:18px;height:max-content}.sidebar h2{color:var(--blue);border-bottom:4px solid var(--yellow)}.side-cats,.side-cats ul{list-style:none;padding:0}.side-cats a{display:block;padding:9px;border-bottom:1px solid var(--line)}.breadcrumb{margin-bottom:18px}.archive-description{border:2px solid var(--blue);border-left:7px solid var(--yellow);padding:14px 18px;margin-bottom:20px}.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.woocommerce ul.products li.product{width:auto!important;margin:0!important;border:2px solid var(--blue);border-bottom:5px solid var(--red);border-radius:12px;padding:14px;background:var(--white)}.woocommerce ul.products li.product img{aspect-ratio:1/1;object-fit:contain}.price,.woocommerce-result-count{display:none!important}.single-product form.cart{display:block!important;margin:22px 0!important;padding:18px!important;border:2px solid var(--blue)!important;border-left:7px solid var(--yellow)!important;border-bottom:6px solid var(--red)!important;border-radius:12px!important}.site-footer{background:var(--blue);color:var(--white);border-top:7px solid var(--yellow);margin-top:40px}.footer-inner{max-width:var(--max);margin:auto;padding:35px 20px}.footer-links{display:flex;flex-wrap:wrap;gap:12px 20px}.footer-links a{color:var(--white);text-decoration:underline}.affiliate-note{background:var(--black);padding:14px;border-left:5px solid var(--yellow)}@media(max-width:1000px){.department-grid,.brand-grid{grid-template-columns:repeat(2,1fr)}.content-grid{grid-template-columns:1fr}}@media(max-width:760px){.header-visual{grid-template-columns:1fr;text-align:center}.camaro img{margin:auto}.main-nav ul{display:block}.department-grid,.category-grid,.brand-grid,.woocommerce ul.products{grid-template-columns:1fr}.finder-wrap{margin:-15px 0 25px}}
/* Clickable brand button boxes on Featured Brands and All Brands. */
.brand-button{display:flex;min-height:132px;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:18px;border:3px solid var(--blue);border-top:8px solid var(--yellow);border-bottom:7px solid var(--red);border-radius:14px;background:var(--white);color:var(--black)!important;text-align:center;box-shadow:0 6px 18px #0002;text-decoration:none!important;transition:transform .15s ease,box-shadow .15s ease,background .15s ease}
.brand-button:hover,.brand-button:focus{transform:translateY(-3px);box-shadow:0 10px 24px #0003;background:var(--yellow);outline:3px solid var(--black);outline-offset:2px}
.brand-button strong{font-size:1.3rem;line-height:1.15;color:var(--blue);text-transform:uppercase}
.brand-button span{font-size:.9rem;font-weight:800;color:var(--black)}
.brand-button em{margin-top:6px;padding:6px 10px;border-radius:5px;background:var(--red);color:var(--white);font-style:normal;font-weight:900}
.brand-directory-intro{margin:0 0 18px;padding:14px 18px;border-left:7px solid var(--yellow);background:#f4f8fc;color:var(--black)}
.brand-directory-grid{align-items:stretch}
/* Organized All Brands directory. */
.brand-directory-clean{max-width:1180px;margin:0 auto}.brand-directory-clean .brand-directory-intro{margin:0 0 20px;padding:22px;border:3px solid var(--blue);border-top:8px solid var(--yellow);border-bottom:7px solid var(--red);border-radius:14px;background:var(--white)}.brand-directory-clean .brand-directory-intro h2{margin:0;color:var(--blue)}.brand-directory-clean label{display:block;margin:14px 0 6px;font-weight:900;color:var(--black)}.brand-directory-clean input[type="search"]{width:100%;min-height:48px;padding:10px 13px;border:2px solid var(--blue);border-radius:7px;font-size:1rem}.brand-letter-nav{display:flex;flex-wrap:wrap;gap:7px;margin:20px 0 28px}.brand-letter-nav a{display:inline-flex;width:39px;height:39px;align-items:center;justify-content:center;border:2px solid var(--blue);border-bottom:4px solid var(--red);border-radius:6px;background:var(--yellow);color:var(--black);font-weight:950;text-decoration:none}.brand-letter-section{margin:0 0 32px;scroll-margin-top:20px}.brand-letter-section>h2{margin:0 0 12px;padding:6px 12px;background:var(--blue);border-bottom:5px solid var(--red);color:var(--white)}.brand-button-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important}.brand-directory-button{display:flex!important;min-height:122px!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:5px!important;padding:16px!important;border:3px solid var(--blue)!important;border-top:7px solid var(--yellow)!important;border-bottom:7px solid var(--red)!important;border-radius:12px!important;background:var(--white)!important;color:var(--black)!important;text-align:center!important;text-decoration:none!important;box-shadow:0 5px 14px #0002!important}.brand-directory-button:hover,.brand-directory-button:focus{background:var(--yellow)!important;transform:translateY(-2px);outline:3px solid var(--black);outline-offset:2px}.brand-directory-button strong{font-size:1.12rem;color:var(--blue);text-transform:uppercase}.brand-directory-button span{font-size:.88rem;font-weight:800}.brand-directory-button em{margin-top:5px;padding:5px 9px;border-radius:5px;background:var(--red);color:var(--white);font-style:normal;font-weight:900}.brand-directory-button[hidden],.brand-letter-section[hidden]{display:none!important}@media(max-width:1000px){.brand-button-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}@media(max-width:760px){.brand-button-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media(max-width:480px){.brand-button-grid{grid-template-columns:1fr!important}}
/* Force the All Tire Brands page into clean button boxes, even if editor styles conflict. */
.tire-brands-page .brand-directory-clean{display:block!important}.tire-brands-page .brand-button-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important}.tire-brands-page .brand-directory-button{display:flex!important;width:100%!important;min-width:0!important;min-height:122px!important;margin:0!important;white-space:normal!important}.tire-brands-page .brand-directory-button strong,.tire-brands-page .brand-directory-button span,.tire-brands-page .brand-directory-button em{display:block!important}.tire-brands-page>h1{color:var(--blue);border-left:7px solid var(--red);padding-left:13px}@media(max-width:1000px){.tire-brands-page .brand-button-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}@media(max-width:760px){.tire-brands-page .brand-button-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media(max-width:480px){.tire-brands-page .brand-button-grid{grid-template-columns:1fr!important}}
/* V3.2.7: full-width responsive layout with consistent 20px side gutters on every page. */
html,body{width:100%;max-width:100%;overflow-x:hidden}
.site-shell{width:100%!important;max-width:none!important;margin:0!important;padding-left:20px!important;padding-right:20px!important}
.header-visual,.main-nav>ul,.main-nav .menu,.footer-inner{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;padding-left:20px!important;padding-right:20px!important}
main,.content-grid,.woocommerce-page .site-main,.woocommerce .site-main,.brand-directory-clean,.tire-brands-page,.department-section,.featured-brands,.rct-sitemap{width:100%!important;max-width:none!important}
.content-grid{grid-template-columns:minmax(0,1fr) minmax(260px,300px);gap:24px}
.department-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.category-grid,.woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}
.brand-grid,.tire-brands-page .brand-button-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.department-card,.category-card,.brand-card,.brand-directory-button,.woocommerce ul.products li.product{min-width:0;overflow-wrap:anywhere}
@media(max-width:1180px){.department-grid,.brand-grid,.tire-brands-page .brand-button-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:980px){.content-grid{grid-template-columns:1fr}.sidebar{width:100%;position:static}.department-grid,.category-grid,.woocommerce ul.products,.brand-grid,.tire-brands-page .brand-button-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:700px){.site-shell,.header-visual,.main-nav>ul,.main-nav .menu,.footer-inner{padding-left:20px!important;padding-right:20px!important}.header-visual{grid-template-columns:1fr}.hero{padding:30px 20px}.finder-wrap{margin:-15px 0 25px}.department-grid,.category-grid,.woocommerce ul.products,.brand-grid,.tire-brands-page .brand-button-grid{grid-template-columns:1fr!important}.section-heading-row{align-items:stretch}.section-heading-row .btn{width:100%;text-align:center}}
@media(max-width:380px){.site-shell,.header-visual,.main-nav>ul,.main-nav .menu,.footer-inner{padding-left:20px!important;padding-right:20px!important}.brand-title{font-size:32px}.hero h1{font-size:31px}}
/* V3.2.8 responsive phone menu. */
.mobile-menu-toggle{display:none;width:100%;min-height:52px;align-items:center;justify-content:center;gap:10px;padding:10px 20px;border:0;border-bottom:5px solid var(--red);border-radius:0;background:var(--yellow);color:var(--black);font:900 18px/1 Arial,Helvetica,sans-serif;cursor:pointer}.mobile-menu-icon{font-size:26px;line-height:1}.primary-menu-panel{width:100%}
@media(max-width:760px){.main-nav{padding:0;border-bottom:0}.mobile-menu-toggle{display:flex}.primary-menu-panel{display:none;background:var(--yellow);border-bottom:7px solid var(--red)}.main-nav.menu-open .primary-menu-panel{display:block}.main-nav .menu{display:block!important;width:100%!important;margin:0!important;padding:0 20px 12px!important}.main-nav .menu li{display:block!important;width:100%!important;margin:0!important;border-bottom:1px solid rgba(0,0,0,.3)!important}.main-nav .menu li:last-child{border-bottom:0!important}.main-nav .menu a{display:block!important;width:100%!important;padding:14px 8px!important;color:var(--black)!important;background:transparent!important;font-size:17px!important;text-align:left!important}.main-nav .menu a:hover,.main-nav .menu a:focus{background:var(--red)!important;color:var(--white)!important;text-decoration:none!important}.main-nav.menu-open .mobile-menu-toggle{background:var(--red);color:var(--white);border-bottom-color:var(--black)}}
/* V3.2.9 header: car left, site title center, affiliate advertisement right. */
.header-visual{grid-template-columns:minmax(240px,32%) minmax(280px,36%) minmax(280px,32%)!important;gap:22px!important;min-height:175px!important}
.header-visual .camaro{display:flex;align-items:center;justify-content:flex-start;min-width:0}
.header-visual .camaro a{display:block;width:100%}
.header-visual .camaro img{display:block;width:100%;max-width:430px;max-height:190px;margin:0!important;object-fit:contain;object-position:left center}
.header-brand{display:block;min-width:0;text-align:center;text-decoration:none!important}
.header-brand .brand-title{font-size:clamp(32px,4vw,58px)}
.header-ad-slot{display:flex;min-width:0;min-height:90px;align-items:center;justify-content:flex-end;text-align:right;overflow:hidden}
.header-ad-slot .widget,.header-ad-slot .header-ad-widget{width:100%;margin:0}
.header-ad-slot img,.header-ad-slot iframe,.header-ad-slot embed,.header-ad-slot object{display:block;max-width:100%!important;height:auto!important;margin-left:auto}
.header-ad-slot a{display:inline-block;max-width:100%}
.header-ad-placeholder{display:inline-flex;min-height:90px;width:100%;align-items:center;justify-content:center;padding:12px;border:2px dashed rgba(255,255,255,.55);border-radius:8px;color:rgba(255,255,255,.8);font-weight:800}
.screen-reader-text{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:1050px){.header-visual{grid-template-columns:minmax(220px,30%) minmax(260px,38%) minmax(220px,32%)!important}.header-brand .brand-title{font-size:clamp(30px,4.5vw,48px)}}
@media(max-width:760px){.header-visual{grid-template-columns:1fr!important;gap:12px!important;text-align:center}.header-visual .camaro{justify-content:center;order:1}.header-visual .camaro img{max-width:420px;margin:0 auto!important;object-position:center}.header-brand{order:2}.header-ad-slot{order:3;justify-content:center;text-align:center;width:100%}.header-ad-slot img,.header-ad-slot iframe,.header-ad-slot embed,.header-ad-slot object{margin-left:auto;margin-right:auto}.header-ad-placeholder{min-height:70px}}
/* V3.3.0 header: car and title together on the left, advertisement on the right. */
.header-visual{display:grid!important;grid-template-columns:minmax(520px,62%) minmax(300px,38%)!important;align-items:center!important;gap:28px!important;min-height:170px!important}
.header-identity{display:grid;grid-template-columns:minmax(220px,42%) minmax(260px,58%);align-items:center;gap:22px;min-width:0}
.header-identity .camaro{display:flex;align-items:center;justify-content:flex-start;min-width:0}
.header-identity .camaro a{display:block;width:100%}
.header-identity .camaro img{display:block;width:100%;max-width:390px;max-height:170px;margin:0!important;object-fit:contain;object-position:left center}
.header-identity .header-brand{text-align:left!important;min-width:0;padding-left:4px}
.header-identity .brand-title{font-size:clamp(34px,4.2vw,60px)!important;line-height:.92!important;white-space:normal}
.header-identity .brand-tagline{max-width:360px}
.header-ad-slot{display:flex;align-items:center;justify-content:flex-end;min-width:0;width:100%;min-height:100px;text-align:right}
.header-ad-slot .widget,.header-ad-slot .header-ad-widget{width:100%;max-width:100%;margin:0}
.header-ad-slot img,.header-ad-slot iframe,.header-ad-slot embed,.header-ad-slot object{display:block;max-width:100%!important;height:auto!important;margin-left:auto!important}
.header-ad-placeholder{max-width:520px;margin-left:auto}
@media(max-width:1100px){.header-visual{grid-template-columns:minmax(470px,60%) minmax(280px,40%)!important;gap:20px!important}.header-identity{grid-template-columns:minmax(190px,40%) minmax(250px,60%);gap:16px}.header-identity .brand-title{font-size:clamp(31px,4vw,50px)!important}}
@media(max-width:820px){.header-visual{grid-template-columns:1fr!important;gap:16px!important}.header-identity{grid-template-columns:minmax(180px,38%) minmax(240px,62%);max-width:720px;margin:0 auto;width:100%}.header-ad-slot{justify-content:center;text-align:center}.header-ad-slot img,.header-ad-slot iframe,.header-ad-slot embed,.header-ad-slot object{margin-left:auto!important;margin-right:auto!important}.header-ad-placeholder{margin:0 auto}}
@media(max-width:560px){.header-identity{grid-template-columns:1fr;gap:6px;text-align:center}.header-identity .camaro{justify-content:center}.header-identity .camaro img{max-width:360px;margin:0 auto!important;object-position:center}.header-identity .header-brand{text-align:center!important;padding-left:0}.header-identity .brand-tagline{margin-left:auto;margin-right:auto}.header-ad-slot{min-height:70px}}

/* V3.4.0 combined header artwork and title. */
.header-visual{display:grid!important;grid-template-columns:minmax(520px,65%) minmax(300px,35%)!important;gap:28px!important;align-items:center!important;min-height:190px!important;padding-top:12px!important;padding-bottom:12px!important}
.header-combined-brand{display:flex;align-items:center;justify-content:flex-start;min-width:0;text-decoration:none!important}
.header-combined-brand img{display:block;width:100%;max-width:780px;max-height:245px;object-fit:contain;object-position:left center;margin:0!important}
.header-ad-slot{justify-content:flex-end!important}
@media(max-width:920px){.header-visual{grid-template-columns:1fr!important}.header-combined-brand{justify-content:center}.header-combined-brand img{max-width:760px;object-position:center}.header-ad-slot{justify-content:center!important;text-align:center!important}}
@media(max-width:560px){.header-combined-brand img{max-width:100%;max-height:210px}.header-visual{padding-left:12px!important;padding-right:12px!important}}
