/*
 * Wholesale Injectors Modern: site styles.
 * Ported from the approved mockup (redesign/mockup/styles.css) and extended
 * for WordPress markup (menus, pages, posts, forms).
 */

@font-face {
	font-family: "Inter";
	src: url(../fonts/inter-var-latin.woff2) format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--red: #bf1e2d; --red-dk: #9c1724; --blue: #0f75bc; --blue-dk: #0b5a91;
	--ink: #0f1720; --ink-2: #2a3440; --muted: #5d6670; --line: #e3e7ec;
	--bg: #f5f7fa; --card: #fff; --steel: #5d5e5e;
	--radius: 14px; --shadow: 0 10px 30px rgba(15, 23, 32, .08);
	--max: 1200px;
	--font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
	--header-top: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
body { margin: 0; font-family: var(--font); color: var(--ink); background: #fff; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; }
img { display: block; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dk); }
:focus-visible { outline: 3px solid rgba(15, 117, 188, .55); outline-offset: 2px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); font-weight: 800; }
.icon { width: 1em; height: 1em; flex: none; }

/* Accessibility helpers */
.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px;
	overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0; left: 12px; top: 12px; z-index: 1000;
	background: #fff; color: var(--ink); padding: 12px 18px; border-radius: 8px; box-shadow: var(--shadow); font-weight: 700;
}

.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin: 0 0 .7rem; }
p.eyebrow { display: block; }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 640px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .9rem 1.5rem; border-radius: 10px; font-weight: 700; font-size: 1rem; line-height: 1.55; border: 2px solid transparent; transition: .2s; white-space: nowrap; cursor: pointer; font-family: inherit; text-decoration: none; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover, .btn-red:focus-visible { background: var(--red-dk); color: #fff; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover, .btn-blue:focus-visible { background: var(--blue-dk); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn svg, .btn .icon { width: 18px; height: 18px; }

/* Top bar */
.topbar { background: var(--ink); color: #cfd6de; font-size: .85rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 38px; gap: 16px; }
.topbar p { margin: 0; }
.topbar a { color: #fff; font-weight: 600; }
.topbar .tb-right { display: flex; gap: 22px; }
.topbar .tb-left { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Header */
.admin-bar { --header-top: 32px; }
@media (max-width: 782px) { .admin-bar { --header-top: 46px; } }
@media (max-width: 600px) { .admin-bar { --header-top: 0px; } }
.header { position: sticky; top: var(--header-top); z-index: 50; background: rgba(255, 255, 255, .97); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; position: relative; }
.logo { flex: none; display: block; }
.logo img { height: 50px; width: auto; }

.nav .menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav .menu > li { position: relative; display: flex; align-items: center; border-radius: 8px; }
.nav .nav-link { display: flex; align-items: center; gap: 6px; padding: 10px 14px; color: var(--ink); font-weight: 600; font-size: .96rem; border-radius: 8px; background: none; border: 0; font-family: inherit; line-height: 1.55; cursor: pointer; }
.nav .menu > li > .nav-link:hover, .nav .menu > li:hover > .nav-link, .nav .menu > li.is-open > .nav-link { color: var(--blue); }
.nav .menu > li:hover, .nav .menu > li.is-open { background: var(--bg); }
.nav .menu > li.current-menu-item > .nav-link, .nav .menu > li.current-menu-ancestor > .nav-link, .nav .menu > li.current-menu-parent > .nav-link { color: var(--blue); }
.nav .caret { width: 10px; height: 10px; opacity: .6; transition: transform .15s; }
.nav .sub-toggle[aria-expanded="true"] .caret { transform: rotate(180deg); }
.nav .sub-toggle-icon { display: grid; place-items: center; background: none; border: 0; color: var(--ink); padding: 10px 12px 10px 0; margin-left: -8px; cursor: pointer; border-radius: 8px; }
.nav .menu > li:hover > .sub-toggle-icon { color: var(--blue); }

.nav .dropdown { list-style: none; margin: 0; position: absolute; top: 100%; left: 0; min-width: 260px; width: max-content; max-width: 320px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; z-index: 5; }
.nav .dropdown li { position: relative; display: flex; align-items: center; flex-wrap: wrap; border-radius: 8px; }
.nav .dropdown .nav-link { display: block; flex: 1; padding: 9px 12px; border-radius: 8px; color: var(--ink-2); font-size: .93rem; font-weight: 500; text-align: left; }
.nav .dropdown li:hover > .nav-link, .nav .dropdown li.is-open > .nav-link { background: var(--bg); color: var(--blue); }
.nav .dropdown .current-menu-item > .nav-link { color: var(--blue); font-weight: 600; }
.nav .dropdown .sub-toggle-icon { margin: 0; padding: 9px 10px; }
.nav .dropdown .sub-toggle-icon .caret { transform: rotate(-90deg); }
.nav .dropdown .nav-parent .caret { transform: rotate(-90deg); margin-left: auto; }
.nav .dropdown .dropdown { top: -9px; left: calc(100% + 6px); }
.nav .dropdown .dropdown::before { content: ""; position: absolute; top: 0; bottom: 0; left: -8px; width: 8px; }

@media (min-width: 961px) {
	.nav .menu li:hover > .dropdown,
	.nav .menu li.is-open > .dropdown { opacity: 1; visibility: visible; transform: none; }
	.nav .menu > li:last-child > .dropdown,
	.nav .menu > li:nth-last-child(2) > .dropdown { left: auto; right: 0; }
}

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
a.wi-cart { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); color: var(--ink); }
a.wi-cart:hover { border-color: var(--blue); color: var(--blue); }
a.wi-cart svg { width: 22px; height: 22px; }
a.wi-cart .cart-count { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--red); color: #fff; font-size: .72rem; font-weight: 800; line-height: 20px; text-align: center; box-shadow: 0 0 0 2px #fff; }
a.wi-cart:not(.has-items) .cart-count { display: none; }
.header .btn { padding: .7rem 1.1rem; font-size: .93rem; }
.menu-btn { display: none; }

/* Hero */
.front-page section { padding: 88px 0; }
.hero { position: relative; color: #fff; overflow: hidden; background: #0c1118; }
.hero::before { content: ""; position: absolute; inset: 0; background: url(../images/photos/hero-pickup-desert.jpg) center 62% / cover no-repeat; background-image: -webkit-image-set(url(../images/photos/hero-pickup-desert.webp) 1x); background-image: image-set(url(../images/photos/hero-pickup-desert.webp) type("image/webp"), url(../images/photos/hero-pickup-desert.jpg) type("image/jpeg")); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 12, 18, .94) 0%, rgba(8, 12, 18, .82) 40%, rgba(8, 12, 18, .35) 75%, rgba(8, 12, 18, .15) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-top: 104px; padding-bottom: 124px; }
.hero .eyebrow { color: #ff8f98; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 4rem); font-weight: 900; max-width: 720px; margin-bottom: .35em; }
.hero h1 .r { color: #ff5a67; }
.hero h1 .b { color: #5cb4ff; }
.hero p.hero-lead { font-size: 1.15rem; color: #d7dde4; max-width: 560px; margin: 0 0 2rem; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { list-style: none; padding: 26px 0 0; display: flex; flex-wrap: wrap; gap: 28px; margin: 44px 0 0; border-top: 1px solid rgba(255, 255, 255, .15); max-width: 640px; }
.hero-facts li { font-size: .9rem; color: #b9c2cc; }
.hero-facts strong { display: block; color: #fff; font-size: 1.25rem; }

/* Engine picker */
.picker { margin-top: -64px; position: relative; z-index: 2; }
.picker-card { background: #fff; border-radius: 18px; box-shadow: 0 20px 50px rgba(15, 23, 32, .14); padding: 28px; display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 22px; align-items: stretch; }
.picker-intro h2 { font-size: 1.45rem; margin-bottom: .35rem; }
.picker-intro p { margin: 0 0 .9rem; color: var(--muted); font-size: .95rem; }
.picker-intro p.eyebrow { color: var(--red); font-size: .78rem; margin-bottom: .7rem; }
.picker-intro a { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.picker-intro a .icon, .engine .go .icon { width: 16px; height: 16px; }
.engine { display: flex; flex-direction: column; border: 2px solid var(--line); border-radius: 14px; padding: 20px 22px; color: var(--ink); transition: .2s; position: relative; }
.engine:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.engine.lb7:hover { border-color: var(--red); }
.engine.lly:hover { border-color: var(--blue); }
.engine .tag { font-size: 2rem; font-weight: 900; letter-spacing: -.02em; line-height: 1; }
.engine.lb7 .tag { color: var(--red); }
.engine.lly .tag { color: var(--blue); }
.engine .yrs { font-weight: 700; margin: .35rem 0 .2rem; }
.engine .vin { font-size: .88rem; color: var(--muted); }
.engine .vin b { display: inline-grid; place-items: center; min-width: 24px; height: 24px; border-radius: 6px; background: var(--ink); color: #fff; font-size: .85rem; margin: 0 2px; }
.engine .go { margin-top: auto; padding-top: 14px; font-weight: 700; font-size: .93rem; display: flex; align-items: center; gap: 6px; }
.engine.lb7 .go { color: var(--red); }
.engine.lly .go { color: var(--blue); }

/* Sections */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; }
.sec-head p { margin: 0; }
.sec-head p.eyebrow { margin-bottom: .7rem; }

/* Product cards (home) */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .2s; position: relative; }
.card:hover, .card:focus-within { box-shadow: var(--shadow); transform: translateY(-3px); }
.card .img { aspect-ratio: 4 / 3; background: #f1f3f6; display: grid; place-items: center; overflow: hidden; position: relative; }
.card .img img { width: 100%; height: 100%; object-fit: cover; }
.card .img.contain img { object-fit: contain; padding: 18px; background: #fff; }
.card .img.ph { background: linear-gradient(135deg, #0d1a2b 0%, #123a63 55%, #0f75bc 100%); color: #fff; text-align: center; }
.card .img.ph .ph-in { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.card .img.ph .big { font-size: 2.6rem; font-weight: 900; letter-spacing: .02em; }
.card .img.ph small { font-size: .72rem; opacity: .7; letter-spacing: .08em; text-transform: uppercase; }
.badge { position: absolute; top: 12px; left: 12px; z-index: 1; background: var(--ink); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 9px; border-radius: 6px; }
.badge.red { background: var(--red); }
.badge.blue { background: var(--blue); }
.card .body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.card h3, .card .card-title { font-size: 1.02rem; font-weight: 700; margin-bottom: .4rem; letter-spacing: -.02em; line-height: 1.15; }
.card .card-link { color: var(--ink); }
.card .card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card .card-link:focus-visible { outline: none; }
.card:has(.card-link:focus-visible) { outline: 3px solid rgba(15, 117, 188, .55); outline-offset: 2px; }
.card .desc { font-size: .87rem; color: var(--muted); margin: 0 0 .8rem; }
.card .opts { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: .9rem; }
.card .opts span { font-size: .72rem; font-weight: 700; padding: 4px 8px; border-radius: 999px; background: var(--bg); color: var(--ink-2); border: 1px solid var(--line); }
.card .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { white-space: nowrap; font-size: 1.3rem; font-weight: 800; color: var(--ink); }
.price small { font-size: .8rem; font-weight: 600; color: var(--muted); }
/* WooCommerce price HTML inside the home cards: range max + struck regular price shown small/muted like the mockup */
.card .price .amount + span[aria-hidden="true"], .card .price span[aria-hidden="true"] + .amount { font-size: .8rem; font-weight: 600; color: var(--muted); }
.card .price del { font-size: .8rem; font-weight: 600; color: var(--muted); margin-right: 4px; }
.card .price del .amount { font-size: inherit; }
.card .price ins { text-decoration: none; }
.card .card-btn { white-space: nowrap; font-weight: 700; font-size: .9rem; padding: .55rem .9rem; border-radius: 8px; background: var(--ink); color: #fff; position: relative; z-index: 0; }
.card:hover .card-btn { background: var(--blue); }
.note { font-size: .76rem; color: var(--red-dk); font-weight: 600; margin: -.3rem 0 .8rem; }
.stock-note { font-size: .78rem; color: var(--red-dk); font-weight: 600; margin: .6rem 0 0; }
.subhead { display: flex; align-items: center; gap: 14px; margin: 48px 0 20px; }
.subhead h3 { margin: 0; font-size: 1.2rem; }
.subhead::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.grid.small { grid-template-columns: repeat(3, 1fr); }
.card.row { flex-direction: row; }
.card.row .img { aspect-ratio: auto; width: 130px; flex: none; background: #fff; border-right: 1px solid var(--line); }
.card.row .price { font-size: 1.15rem; }
.card.row .body { padding: 16px; }

/* Why strip */
.front-page .why { background: var(--ink); color: #fff; padding: 0; }
.why .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.why .w { padding: 38px 28px; border-right: 1px solid rgba(255, 255, 255, .08); }
.why .w:last-child { border-right: 0; }
.why .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; }
.why .ic svg { width: 24px; height: 24px; }
.why .w:nth-child(odd) .ic { background: rgba(191, 30, 45, .18); color: #ff6b77; }
.why .w:nth-child(even) .ic { background: rgba(15, 117, 188, .2); color: #5cb4ff; }
.why h3 { font-size: 1.08rem; margin-bottom: .3rem; }
.why p { margin: 0; color: #aab4bf; font-size: .9rem; }

/* DIY split */
.diy { background: var(--bg); }
.diy .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.diy .photo { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 5; position: relative; }
.diy .photo picture, .diy .photo img { width: 100%; height: 100%; object-fit: cover; }
.diy .photo .chip { position: absolute; left: 18px; bottom: 18px; background: rgba(255, 255, 255, .95); border-radius: 12px; padding: 12px 16px; font-size: .88rem; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.diy .photo .chip b { color: var(--red); font-size: 1.3rem; }
.diy p { color: var(--ink-2); }
.diy p.eyebrow { color: var(--red); }
.checks { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.checks li svg { flex: none; width: 22px; height: 22px; color: var(--blue); margin-top: 1px; }
.diy .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.parts-links { font-size: .92rem; color: var(--muted); margin: 18px 0 0; }
.diy p.parts-links { color: var(--muted); }
.parts-links a { font-weight: 700; }

/* Reviews */
.reviews .grid { grid-template-columns: repeat(3, 1fr); }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.review .q { width: 34px; height: 34px; color: var(--red); opacity: .9; margin-bottom: 10px; }
.review blockquote { margin: 0 0 18px; font-size: .98rem; color: var(--ink-2); }
.review blockquote p { margin: 0; }
.review .who { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.review .av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--blue); flex: none; font-size: 1rem; }
.review:nth-child(even) .av { background: var(--red); }
.review .who b { display: block; font-size: .92rem; }
.review .who-text > span { font-size: .8rem; color: var(--muted); }
.review.short { justify-content: space-between; background: linear-gradient(135deg, #fff 0%, #fdf3f4 100%); }
.review.short blockquote { font-size: 1.9rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; line-height: 1.2; margin: auto 0; }
.review.feature { grid-column: span 2; background: linear-gradient(135deg, #fff 0%, #f3f8fd 100%); }
.review.feature blockquote { font-size: 1.2rem; font-weight: 500; color: var(--ink); }
.review-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin: 1.5em 0; }

/* CTA */
.front-page .cta { position: relative; color: #fff; overflow: hidden; padding: 0; background: #0c1118; }
.cta::before { content: ""; position: absolute; inset: 0; background: url(../images/photos/engine-cylinder-head.jpg) center / cover; background-image: image-set(url(../images/photos/engine-cylinder-head.webp) type("image/webp"), url(../images/photos/engine-cylinder-head.jpg) type("image/jpeg")); }
.cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(156, 23, 36, .95) 0%, rgba(20, 24, 34, .9) 55%, rgba(11, 90, 145, .92) 100%); }
.cta .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.cta h2 { color: #fff; }
.cta p { color: #e2e7ec; margin: 0; max-width: 520px; }
.cta p.eyebrow { color: #ffd2d6; margin-bottom: .7rem; }
.contact-cards { display: grid; gap: 14px; }
.cc { display: flex; align-items: center; gap: 16px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); border-radius: 14px; padding: 18px 20px; color: #fff; transition: .2s; }
.cc:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.cc .ic { width: 48px; height: 48px; border-radius: 12px; background: #fff; display: grid; place-items: center; flex: none; }
.cc .ic svg { width: 22px; height: 22px; }
.cc:first-child .ic { color: var(--red); }
.cc:last-child .ic { color: var(--blue); }
.cc small { display: block; font-size: .78rem; opacity: .8; text-transform: uppercase; letter-spacing: .1em; }
.cc b { font-size: 1.25rem; word-break: break-word; }
.contact-cards--light { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin: 1.5em 0; }
.contact-cards--light .cc { background: var(--bg); border-color: var(--line); color: var(--ink); }
.contact-cards--light .cc:hover { border-color: var(--blue); color: var(--ink); }

/* Footer */
.footer { background: #0b1016; color: #aab4bf; padding: 70px 0 0; font-size: .92rem; }
.footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; gap: 36px; }
.footer .brand-box { background: #fff; border-radius: 12px; padding: 12px 16px; display: inline-block; margin-bottom: 16px; }
.footer .brand-box img { height: 44px; width: auto; }
.footer p { margin: 0 0 1em; }
.footer .footer-title { color: #fff; font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin: 6px 0 14px; line-height: 1.33; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer a { color: #cfd6de; }
.footer a:hover { color: #fff; }
.footer .bottom { margin-top: 56px; border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .8rem; color: #7d8894; }
.footer .bottom a { color: #9aa5b1; }

/* ---------- Inner pages ---------- */
.page-head { background: var(--bg); border-bottom: 1px solid var(--line); padding: 34px 0 30px; }
.page-head--slim { padding: 14px 0; }
.page-head .page-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; margin: 0; }
.page-head .archive-description { color: var(--muted); max-width: 720px; margin-top: .6rem; }
.page-head .entry-meta { color: var(--muted); margin: .5rem 0 0; font-size: .9rem; }
.page-head .search-form { margin-top: 18px; max-width: 520px; }
.breadcrumbs { font-size: .85rem; color: var(--muted); margin: 0 0 10px; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: #aeb6bf; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--blue); }
.page-head--slim .breadcrumbs { margin: 0; }
.page-body { padding-top: 44px; padding-bottom: 80px; }
.page-thumb { margin: 0 0 28px; border-radius: var(--radius); overflow: hidden; max-width: 860px; }
.page-thumb img { width: 100%; }

.entry-content { max-width: 860px; font-size: 1.02rem; color: var(--ink-2); overflow-wrap: break-word; }
.entry-content.is-wide { max-width: none; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin: 1.6em 0 .5em; color: var(--ink); }
.entry-content h3 { font-size: 1.25rem; margin: 1.5em 0 .5em; color: var(--ink); }
.entry-content h4, .entry-content h5, .entry-content h6 { font-size: 1.05rem; margin: 1.4em 0 .4em; color: var(--ink); }
.entry-content p, .entry-content ul, .entry-content ol { margin: 0 0 1.1em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .35em; }
.entry-content a:not(.btn):not(.button):not(.cc) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.entry-content img { border-radius: 10px; }
.entry-content blockquote, .sc-quote { margin: 1.5em 0; padding: 18px 22px; border-left: 4px solid var(--red); background: var(--bg); border-radius: 0 10px 10px 0; color: var(--ink); }
.entry-content table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: .95rem; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.entry-content th { background: var(--bg); }
.entry-content iframe, .entry-content embed, .entry-content object, .entry-content video { max-width: 100%; }
.entry-content iframe[src*="youtube"], .entry-content iframe[data-src*="youtube"], .entry-content iframe[src*="vimeo"], .video-embed iframe { width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; display: block; margin: 0 0 1.5em; }
.entry-content .wp-caption { max-width: 100% !important; margin: 0 0 1.2em; }
.entry-content .wp-caption-text, .entry-content figcaption { font-size: .85rem; color: var(--muted); margin-top: .4em; }
.alignleft { float: left; margin: .3em 1.6em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.6em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.entry-content::after { content: ""; display: table; clear: both; }
.empty-page { color: var(--muted); }
hr, .legacy-divider { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }

/* Legacy GoodLayers page-builder items */
.legacy-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px 36px; align-items: start; margin-top: 4px; }
.legacy-grid > .legacy-item { grid-column: span 12; min-width: 0; }
.legacy-grid > .span-3 { grid-column: span 3; }
.legacy-grid > .span-4 { grid-column: span 4; }
.legacy-grid > .span-6 { grid-column: span 6; }
.legacy-grid > .span-8 { grid-column: span 8; }
.legacy-grid > .span-9 { grid-column: span 9; }
.legacy-item > *:first-child { margin-top: 0; }
.legacy-item p, .legacy-item ul { max-width: 860px; }
.legacy-toggles { display: grid; gap: 10px; margin: 0 0 1.5em; }
.toggle { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.toggle summary { cursor: pointer; padding: 14px 18px; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.toggle summary::-webkit-details-marker { display: none; }
.toggle summary::after { content: "+"; font-weight: 800; color: var(--blue); }
.toggle[open] summary::after { content: "–"; }
.toggle .toggle-body { padding: 0 18px 14px; }
.notice-box { border: 1px solid var(--line); border-left: 4px solid var(--blue); background: #f3f8fd; border-radius: 10px; padding: 16px 20px; margin: 0 0 1.5em; }
.notice-box.notice-red { border-left-color: var(--red); background: #fdf3f4; }
.notice-title { font-weight: 800; color: var(--ink); margin: 0 0 .3em; }
.stunning { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: var(--bg); border-radius: var(--radius); padding: 26px 28px; margin: 0 0 1.5em; }
.stunning h2 { margin-top: 0; }
.service-img { border-radius: 12px; margin-bottom: 14px; }
.sc-col { margin: 0 0 1em; }
.sc-dropcap { float: left; font-size: 2.6em; line-height: .9; font-weight: 900; color: var(--red); margin: .05em .12em 0 0; }
.legacy-item .review-list, .entry-content .review-list { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

/* Forms (WP + Contact Form 7) */
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="date"], textarea, select {
	font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid #cfd6de; border-radius: 10px; padding: .72rem .9rem; width: 100%; max-width: 100%; transition: border-color .15s, box-shadow .15s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(15, 117, 188, .18); }
textarea { min-height: 150px; }
label { font-weight: 600; font-size: .93rem; }
.wpcf7 form p { margin: 0 0 1em; }
.wpcf7 label { display: block; }
.wpcf7 label input, .wpcf7 label textarea { margin-top: 6px; }
input[type="submit"], button[type="submit"]:not(.menu-btn):not(.sub-toggle) {
	font: inherit; font-weight: 700; background: var(--red); color: #fff; border: 0; border-radius: 10px; padding: .85rem 1.5rem; cursor: pointer; transition: background .2s;
}
input[type="submit"]:hover, button[type="submit"]:hover { background: var(--red-dk); }
.wpcf7-not-valid-tip { color: var(--red-dk); font-size: .85rem; margin-top: 4px; }
.wpcf7 form .wpcf7-response-output { border-radius: 10px; margin: 1em 0 0; padding: 12px 16px; }
.search-form { display: flex; gap: 10px; }
.search-form .search-field { flex: 1; }
.search-form .btn { padding: .72rem 1.1rem; }

/* Post lists */
.post-list { display: grid; gap: 22px; max-width: 860px; }
.post-card { display: grid; grid-template-columns: 240px 1fr; gap: 22px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.post-card:not(:has(.post-card-img)) { grid-template-columns: 1fr; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; }
.post-card-body { padding: 22px 24px 22px 0; }
.post-card:not(:has(.post-card-img)) .post-card-body { padding: 22px 24px; }
.post-card-title { font-size: 1.3rem; margin: 0 0 .3em; }
.post-card-title a { color: var(--ink); }
.post-card-title a:hover { color: var(--blue); }
.post-card .entry-meta { color: var(--muted); font-size: .85rem; margin: 0 0 .6em; }
.post-card-excerpt p { margin: 0 0 .8em; color: var(--ink-2); }
.more-link { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.more-link .icon { width: 16px; height: 16px; }
.pagination, .posts-navigation, .post-navigation { margin-top: 36px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); font-weight: 600; }
.page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
a.page-numbers:hover { border-color: var(--blue); color: var(--blue); }
.post-navigation .nav-links { justify-content: space-between; }
.post-navigation a { display: block; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); font-weight: 600; }
.nav-sub { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; }
.sidebar .widget { margin-bottom: 28px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); }
.sidebar .widget-title { font-size: 1rem; }
.notfound-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.comments-area { margin-top: 48px; max-width: 860px; }
.comment-list { padding-left: 0; list-style: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.grid { grid-template-columns: repeat(2, 1fr); }
	.grid.small { grid-template-columns: 1fr 1fr; }
	.footer .cols { grid-template-columns: 1fr 1fr 1fr; }
	.footer .cols > div:first-child { grid-column: 1 / -1; }
	.nav .nav-link { padding: 10px 10px; }
	.header .wrap { gap: 14px; }
}
@media (max-width: 960px) {
	.menu-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; padding: 0; }
	.menu-btn svg { width: 22px; height: 22px; }
	.menu-btn .icon-close, .menu-btn[aria-expanded="true"] .icon-open { display: none; }
	.menu-btn[aria-expanded="true"] .icon-close { display: block; }
	.nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 10px 16px 18px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: calc(100vh - 120px); overflow-y: auto; }
	.js .nav { display: none; }
	.js .nav.is-open { display: block; }
	.no-js .nav { position: static; box-shadow: none; }
	.nav .menu { flex-direction: column; align-items: stretch; gap: 2px; }
	.nav .menu > li { flex-wrap: wrap; }
	.nav .menu > li:hover { background: none; }
	.nav .menu > li > .nav-link { flex: 1; padding: 12px 10px; }
	.nav .nav-parent { justify-content: space-between; width: 100%; }
	.nav .sub-toggle-icon { margin: 0; padding: 12px 14px; }
	.nav .dropdown, .nav .dropdown .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 14px; min-width: 0; width: auto; max-width: none; flex-basis: 100%; display: none; }
	.nav .dropdown .dropdown::before { display: none; }
	.nav li.is-open > .dropdown, .no-js .nav .dropdown { display: block; }
	.nav .dropdown .nav-link { padding: 10px 12px; }
	.nav .dropdown .sub-toggle-icon .caret, .nav .dropdown .nav-parent .caret { transform: none; }
	.nav .dropdown .sub-toggle[aria-expanded="true"] .caret { transform: rotate(180deg); }
	.header .btn-contact { display: none; }
	.picker-card { grid-template-columns: 1fr 1fr; }
	.picker-intro { grid-column: 1 / -1; }
	.why .wrap { grid-template-columns: 1fr 1fr; }
	.why .w:nth-child(2) { border-right: 0; }
	.why .w { border-bottom: 1px solid rgba(255, 255, 255, .08); }
	.diy .wrap { grid-template-columns: 1fr; gap: 40px; }
	.diy .photo { aspect-ratio: 16 / 10; }
	.reviews .grid { grid-template-columns: 1fr 1fr; }
	.cta .wrap { grid-template-columns: 1fr; }
	.legacy-grid { grid-template-columns: minmax(0, 1fr); }
	.legacy-grid > .legacy-item { grid-column: 1 / -1 !important; }
	.with-sidebar { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.wrap { padding: 0 18px; }
	.front-page section { padding: 64px 0; }
	.topbar .tb-right a.em { display: none; }
	.topbar .wrap { justify-content: center; }
	.topbar .tb-left { display: none; }
	.header .wrap { height: 66px; }
	.logo img { height: 40px; }
	.hero::before { background-position: 68% center; background-image: url(../images/photos/hero-pickup-desert-900.jpg); background-image: image-set(url(../images/photos/hero-pickup-desert-900.webp) type("image/webp"), url(../images/photos/hero-pickup-desert-900.jpg) type("image/jpeg")); }
	.hero::after { background: linear-gradient(180deg, rgba(8, 12, 18, .72) 0%, rgba(8, 12, 18, .88) 60%, rgba(8, 12, 18, .96) 100%); }
	.hero .wrap { padding-top: 64px; padding-bottom: 104px; }
	.hero p.hero-lead { font-size: 1.02rem; }
	.hero .ctas .btn { flex: 1; justify-content: center; }
	.hero-facts { gap: 18px 26px; margin-top: 34px; }
	.cta::before { background-image: url(../images/photos/engine-cylinder-head-800.jpg); background-image: image-set(url(../images/photos/engine-cylinder-head-800.webp) type("image/webp"), url(../images/photos/engine-cylinder-head-800.jpg) type("image/jpeg")); }
	.picker-card { grid-template-columns: 1fr; padding: 22px; gap: 14px; }
	.sec-head { flex-direction: column; align-items: flex-start; }
	.grid, .grid.small { grid-template-columns: 1fr; }
	.card.row .img { width: 110px; }
	.why .wrap { grid-template-columns: 1fr 1fr; padding: 0; }
	.why .w { padding: 24px 16px; }
	.why .w:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, .08); }
	.why .w:nth-child(n+3) { border-bottom: 0; }
	.why .ic { width: 40px; height: 40px; margin-bottom: 10px; }
	.why h3 { font-size: .98rem; }
	.why p { font-size: .84rem; }
	.card .img { aspect-ratio: 16 / 10; }
	.review.short blockquote { font-size: 1.5rem; margin: 6px 0 18px; }
	.reviews .grid { grid-template-columns: 1fr; }
	.review.feature { grid-column: auto; }
	.review.feature blockquote { font-size: 1.05rem; }
	.cc { padding: 14px 16px; gap: 14px; }
	.cc .ic { width: 42px; height: 42px; }
	.cc b { font-size: 1rem; letter-spacing: -.01em; }
	.footer .cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px 20px; }
	.footer .cols > div:last-child { grid-column: 1 / -1; }
	.footer .bottom { flex-direction: column; }
	.page-head { padding: 24px 0 22px; }
	.page-body { padding-top: 30px; padding-bottom: 60px; }
	.post-card { grid-template-columns: 1fr; }
	.post-card-body { padding: 0 18px 20px; }
	.alignleft, .alignright { float: none; margin: 0 0 1em; }
}
