/* Cox Vehicles – brand: black / red / white, matching the homepage mock-up */
.cox-wrap, .cox-wrap * { box-sizing: border-box; }
.cox-wrap {
	--cox-red: #e3121b; --cox-red-dark: #b50d15; --cox-ink: #111214; --cox-mute: #5f6670;
	--cox-line: #e3e5e8; --cox-bg: #f5f6f7; --cox-ok: #1f9d55;
	max-width: 1200px; margin: 0 auto; padding: 0 16px; color: var(--cox-ink);
}

/* Buttons */
.cox-btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; padding: .7em 1.1em; border-radius: 6px; font-weight: 700; font-size: .9rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; line-height: 1.1; }
.cox-btn--red { background: var(--cox-red, #e3121b); color: #fff; border-color: var(--cox-red, #e3121b); }
.cox-btn--red:hover { background: #b50d15; border-color: #b50d15; color: #fff; }
.cox-btn--ghost { background: #fff; color: #111214; border-color: #cfd3d8; }
.cox-btn--ghost:hover { border-color: #111214; color: #111214; }

/* Filter bar */
.cox-filter { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; background: #fff; border: 1px solid var(--cox-line); border-radius: 8px; padding: 16px; margin: 0 0 20px; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.cox-filter label { display: flex; flex-direction: column; gap: 4px; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--cox-mute); flex: 1 1 140px; }
.cox-filter select { padding: .6em; border: 1px solid #cfd3d8; border-radius: 6px; font-size: .9rem; background: #fff; color: #111214; }
.cox-clear { font-size: .8rem; color: var(--cox-mute); }
.cox-count { color: var(--cox-mute); font-size: .9rem; }

/* Cards */
.cox-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; margin: 0 0 24px; }
.cox-card { background: #fff; border: 1px solid var(--cox-line); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; height: 100%; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.cox-card__img { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--cox-bg); }
.cox-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cox-card__noimg { display: flex; height: 100%; align-items: center; justify-content: center; color: var(--cox-mute); font-size: .85rem; }
.cox-card__body { padding: 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cox-card__title { margin: 0; font-size: 1.05rem; line-height: 1.25; }
.cox-card__title a { color: inherit; text-decoration: none; }
.cox-card__specs, .cox-card__odo { margin: 0; color: var(--cox-mute); font-size: .85rem; }
.cox-card__row { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 8px; }
.cox-price { font-size: 1.5rem; font-weight: 800; color: var(--cox-red); }
.cox-price small { font-size: .7rem; color: var(--cox-mute); font-weight: 600; }
.cox-rwc { font-size: .72rem; font-weight: 700; color: var(--cox-ok); border: 1px solid var(--cox-ok); border-radius: 4px; padding: 2px 6px; }
.cox-card__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.cox-card__btns .cox-btn { padding: .6em .4em; font-size: .8rem; }

/* Status badges */
.cox-badge { position: absolute; top: 10px; left: 10px; font-size: .68rem; font-weight: 800; letter-spacing: .06em; padding: 4px 8px; border-radius: 4px; color: #fff; }
.cox-badge--listed { background: #1f9d55; }
.cox-badge--offer { background: #1a5fd0; }
.cox-badge--sold { background: var(--cox-red, #e3121b); }

/* Recently sold */
.cox-sold { position: relative; }
.cox-sold__buyer { position: absolute; z-index: 2; right: 10px; top: 10px; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.cox-sold__buyer img { width: 100%; height: 100%; object-fit: cover; }
.cox-quote { margin: 4px 0 0; padding: 0; border: 0; font-size: .85rem; font-style: italic; color: var(--cox-mute); }

/* Single vehicle */
.cox-single { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; padding-top: 16px; padding-bottom: 40px; }
.single-cox_vehicle .entry-title, .single-cox_vehicle .page-title, .single-cox_vehicle .wp-block-post-title { display: none; }
.cox-main { position: relative; aspect-ratio: 4 / 3; background: var(--cox-bg); border-radius: 8px; overflow: hidden; }
.cox-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cox-main--empty { display: flex; align-items: center; justify-content: center; color: var(--cox-mute); }
.cox-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-top: 10px; }
.cox-thumb { padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; background: none; cursor: pointer; aspect-ratio: 4 / 3; }
.cox-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cox-thumb.is-active { border-color: var(--cox-red); }
.cox-single__title { margin: 0 0 6px; font-size: 1.9rem; line-height: 1.15; }
.cox-single__price { margin: 0 0 14px; font-size: 2.2rem; font-weight: 800; color: var(--cox-red); }
.cox-single__price small { font-size: .85rem; color: var(--cox-mute); font-weight: 600; }
.cox-single__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.cox-small { font-size: .82rem; color: var(--cox-mute); }
.cox-specs { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: .92rem; }
.cox-specs th, .cox-specs td { text-align: left; padding: 8px 4px; border-bottom: 1px solid var(--cox-line); }
.cox-specs th { color: var(--cox-mute); font-weight: 600; width: 40%; }
.cox-single__text { grid-column: 1 / -1; max-width: 820px; }
.cox-features { columns: 2; padding-left: 1.1em; }
.cox-disclosure { border-left: 4px solid var(--cox-red); background: #fff4f4; padding: 12px 16px; border-radius: 4px; margin-bottom: 20px; }
.cox-disclosure p { margin: 4px 0 0; }
.cox-note { padding: 10px 14px; border-radius: 6px; background: var(--cox-bg); }
.cox-note--ok { background: #e8f6ee; color: #14663a; }
.cox-note--err { background: #fdecec; color: #8a1016; }

/* Enquiry form */
.cox-enquiry form { display: grid; gap: 12px; max-width: 560px; }
.cox-enquiry label { display: flex; flex-direction: column; gap: 4px; font-size: .85rem; font-weight: 600; }
.cox-enquiry input, .cox-enquiry textarea { padding: .65em; border: 1px solid #cfd3d8; border-radius: 6px; font: inherit; }
.cox-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.cox-pages { text-align: center; margin: 12px 0 30px; }
.cox-pages .page-numbers { display: inline-block; padding: 6px 12px; margin: 0 2px; border: 1px solid var(--cox-line); border-radius: 4px; text-decoration: none; }
.cox-pages .current { background: var(--cox-red); border-color: var(--cox-red); color: #fff; }
.cox-empty { padding: 30px; text-align: center; background: var(--cox-bg); border-radius: 8px; }

@media (max-width: 820px) {
	.cox-single { grid-template-columns: 1fr; }
	.cox-features { columns: 1; }
	.cox-single__title { font-size: 1.5rem; }
}

/* ===== Homepage sections ===== */
.cox-ico { width: 1.1em; height: 1.1em; flex: none; }
.cox-center { text-align: center; }
.cox-btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); }
.cox-btn--outline:hover { background: #fff; color: #111214; }
.cox-hero { background: radial-gradient(120% 140% at 80% 20%, #3a3d42 0%, #15161a 55%, #0b0b0c 100%) center/cover no-repeat; color: #fff; padding: clamp(48px, 9vw, 110px) 16px; }
.cox-hero__inner { max-width: 1200px; margin: 0 auto; }
.cox-hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.08; max-width: 14em; margin: 0 0 .5em; font-weight: 800; }
.cox-hero h1 span { color: #e3121b; display: block; }
.cox-hero p { max-width: 34em; color: #e6e8ea; font-size: 1.05rem; }
.cox-hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0; }
.cox-hero__btns .cox-btn { padding: .9em 1.4em; }
.cox-hero p.cox-hero__trust { font-size: .85rem; color: #cfd3d8; margin: 0; }
.cox-hero__trust i { display: inline-block; width: 1px; height: .9em; background: #6b7078; margin: 0 .8em; vertical-align: middle; }
.cox-h2 { position: relative; margin: 40px 0 6px; font-size: 1.7rem; font-weight: 800; }
.cox-h2::before { content: ""; display: block; width: 36px; height: 3px; background: #e3121b; margin-bottom: 10px; }
.cox-h2-sub { color: #5f6670; margin: 0 0 18px; font-size: .9rem; }
.cox-why { background: #f5f6f7; padding: 48px 0; margin-top: 30px; }
.cox-why h2 { font-size: 1.7rem; margin: 0 0 28px; }
.cox-why__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0; }
.cox-why__item { text-align: center; padding: 8px 24px; border-left: 1px solid #dfe2e5; }
.cox-why__item:first-child { border-left: 0; }
.cox-why__item .cox-ico { width: 44px; height: 44px; color: #e3121b; }
.cox-why__item h3 { font-size: 1rem; margin: 10px 0 6px; }
.cox-why__item p { font-size: .88rem; color: #5f6670; margin: 0; }
.cox-about { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.cox-about__img { min-height: 260px; background: linear-gradient(135deg, #2a2c30, #0b0b0c) center/cover no-repeat; }
.cox-about__text { padding: clamp(28px, 5vw, 60px); background: #fff; }
.cox-about__text h2 { font-size: 1.6rem; margin: 0 0 .6em; }
.cox-about__text p { color: #5f6670; margin: 0 0 1.2em; }
.cox-contact { background: #0b0b0c; color: #fff; padding: 48px 0; }
.cox-contact__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; }
.cox-contact h2, .cox-contact h3 { color: #fff; }
.cox-contact h2 { font-size: 1.7rem; margin: 0 0 .4em; }
.cox-contact p { color: #cfd3d8; }
.cox-contact__list { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.cox-contact__list li { display: flex; gap: 10px; align-items: center; }
.cox-contact__list a { color: #fff; text-decoration: none; }
.cox-contact__list .cox-ico { color: #e3121b; }
.cox-contact__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.cox-contact__form { background: #15161a; border: 1px solid #2a2c30; border-radius: 8px; padding: 22px; }
.cox-contact__form h3 { margin: 0 0 12px; font-size: 1.1rem; }
.cox-contact__form label { color: #e6e8ea; }
.cox-contact__form input, .cox-contact__form textarea { background: #0b0b0c; color: #fff; border-color: #3a3d42; }
@media (max-width: 820px) {
	.cox-about, .cox-contact__grid { grid-template-columns: 1fr; }
	.cox-why__item { border-left: 0; border-top: 1px solid #dfe2e5; padding: 18px 8px; }
	.cox-why__item:first-child { border-top: 0; }
}
.cox-contact__list li { color: #fff; }

/* ===== Styling pass v1.2 ===== */
.cox-wrap { --cox-radius: 12px; --cox-shadow: 0 1px 2px rgba(16,18,22,.06), 0 8px 24px rgba(16,18,22,.07); }
.cox-btn { transition: background .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s; letter-spacing: .01em; }
.cox-btn--red { box-shadow: 0 6px 16px rgba(227,18,27,.28); }
.cox-btn--red:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(227,18,27,.34); }
.cox-btn:focus-visible, .cox-thumb:focus-visible, .cox-filter select:focus-visible, .cox-enquiry input:focus-visible, .cox-enquiry textarea:focus-visible { outline: 3px solid rgba(227,18,27,.35); outline-offset: 2px; }

/* Hero */
.cox-hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(56px, 10vw, 128px) 16px clamp(72px, 11vw, 150px);
	background: radial-gradient(90% 120% at 85% 10%, rgba(227,18,27,.22) 0%, rgba(227,18,27,0) 45%), radial-gradient(120% 140% at 75% 0%, #34373d 0%, #16171b 52%, #09090a 100%) center/cover no-repeat; }
.cox-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 2px, transparent 2px 22px); }
.cox-hero::after { content: ""; position: absolute; z-index: -1; right: -8%; bottom: -30%; width: 46%; height: 160%; background: linear-gradient(180deg, rgba(227,18,27,.0), rgba(227,18,27,.55)); transform: skewX(-24deg); opacity: .5; }
.cox-hero__car { position: absolute; z-index: -1; right: 4%; bottom: 8%; width: min(54vw, 640px); fill: rgba(255,255,255,.07); stroke: rgba(255,255,255,.16); stroke-width: 1.5; }
.cox-hero h1 { letter-spacing: -.02em; text-shadow: 0 2px 24px rgba(0,0,0,.4); }
.cox-hero p { line-height: 1.6; }
.cox-hero__btns .cox-btn { font-size: 1rem; }
@media (max-width: 700px) { .cox-hero__car { opacity: .6; width: 90vw; right: -10%; bottom: 0; } }

/* Search card floats over the hero */
.cox-home__search .cox-filter { border: 0; border-radius: var(--cox-radius, 12px); box-shadow: 0 18px 50px rgba(0,0,0,.22); padding: 18px 20px; }
.cox-filter { border-radius: 12px; }
.cox-filter label { font-size: .68rem; }
.cox-filter select { padding: .7em .6em; border-radius: 8px; }

/* Section headings */
.cox-h2 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.01em; margin-top: 56px; }
.cox-h2::before { width: 44px; height: 4px; border-radius: 2px; }
.cox-h2-sub { margin-bottom: 22px; }

/* Cards */
.cox-grid { gap: 24px; }
.cox-card { border: 0; border-radius: var(--cox-radius, 12px); box-shadow: var(--cox-shadow); transition: transform .22s, box-shadow .22s; }
.cox-card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(16,18,22,.06), 0 18px 40px rgba(16,18,22,.14); }
.cox-card__img { overflow: hidden; }
.cox-card__img img { transition: transform .5s; }
.cox-card:hover .cox-card__img img { transform: scale(1.05); }
.cox-card__img::after { content: ""; position: absolute; inset: auto 0 0 0; height: 38%; background: linear-gradient(180deg, transparent, rgba(0,0,0,.35)); pointer-events: none; }
.cox-badge { z-index: 2; border-radius: 6px; padding: 5px 10px; box-shadow: 0 4px 10px rgba(0,0,0,.25); }
.cox-card__body { padding: 16px 16px 18px; gap: 10px; }
.cox-card__title { font-size: 1.12rem; font-weight: 800; letter-spacing: -.01em; }
.cox-card__title a:hover { color: var(--cox-red); }
.cox-card__specs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; font-size: .8rem; color: #424850; }
.cox-card__specs li { display: flex; align-items: center; gap: 7px; min-width: 0; margin: 0; }
.cox-card__specs li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cox-card__specs .cox-ico { width: 15px; height: 15px; color: #8a9099; }
.cox-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); flex: none; }
.cox-card__specs .cox-km { grid-column: 1 / -1; font-weight: 700; color: #111214; }
.cox-card__row { border-top: 1px solid #eceef0; padding-top: 12px; margin-top: 4px; }
.cox-price { font-size: 1.65rem; letter-spacing: -.02em; }
.cox-rwc { border-radius: 6px; padding: 3px 8px; background: #eaf7ef; }
.cox-card__btns .cox-btn { border-radius: 8px; }

/* Why / about / contact */
.cox-why { padding: 64px 0; }
.cox-why__item .cox-ico { width: 56px; height: 56px; padding: 12px; background: #fff; border-radius: 50%; box-shadow: var(--cox-shadow); }
.cox-why__item h3 { font-size: 1.05rem; }
.cox-about__text h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.cox-contact { padding: 64px 0; background: linear-gradient(160deg, #15161a, #09090a); }
.cox-contact__form { border-radius: 14px; box-shadow: 0 20px 50px rgba(0,0,0,.4); }

/* Vehicle detail page */
.cox-single { gap: 36px; padding-top: 28px; }
.cox-main { border-radius: 14px; box-shadow: var(--cox-shadow); }
.cox-thumb { border-radius: 8px; opacity: .8; transition: opacity .15s, border-color .15s; }
.cox-thumb:hover, .cox-thumb.is-active { opacity: 1; }
.cox-single__side { background: #fff; border-radius: 14px; box-shadow: var(--cox-shadow); padding: 24px; align-self: start; position: sticky; top: 90px; }
.cox-single__title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -.02em; }
.cox-single__price { letter-spacing: -.02em; }
.cox-specs tr:last-child th, .cox-specs tr:last-child td { border-bottom: 0; }
.cox-single__text h2 { font-size: 1.35rem; margin-top: 1.6em; }
.cox-features { list-style: none; padding: 0; columns: 2; column-gap: 28px; }
.cox-features li { position: relative; padding: 0 0 8px 26px; break-inside: avoid; }
.cox-features li::before { content: ""; position: absolute; left: 0; top: .35em; width: 14px; height: 8px; border-left: 3px solid var(--cox-red); border-bottom: 3px solid var(--cox-red); transform: rotate(-45deg) scale(.8); }
.cox-disclosure { border-radius: 8px; }
@media (max-width: 820px) { .cox-single__side { position: static; } .cox-features { columns: 1; } }
.cox-home__section .cox-wrap, .cox-home__section .cox-grid { padding-left: 0; padding-right: 0; }
.cox-hero p.cox-hero__trust { max-width: 46em; }

/* ===== Photo viewer ===== */
.cox-main { cursor: zoom-in; }
.cox-zoom-btn { position: absolute; right: 12px; bottom: 12px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; background: rgba(17,18,20,.78); color: #fff; border: 0; border-radius: 999px; padding: 8px 14px; font-size: .8rem; font-weight: 700; cursor: pointer; backdrop-filter: blur(4px); }
.cox-zoom-btn:hover { background: #e3121b; }
.cox-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: #111214; font-size: 1.7rem; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.25); padding: 0 0 4px; }
.cox-arrow:hover { background: #fff; }
.cox-arrow--prev { left: 12px; } .cox-arrow--next { right: 12px; }
.cox-lb-lock { overflow: hidden; }
.cox-lb { position: fixed; inset: 0; z-index: 99999; background: #060608; display: none; flex-direction: column; color: #fff; touch-action: none; }
.cox-lb.is-open { display: flex; }
.cox-lb__bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; }
.cox-lb__count { font-size: .9rem; opacity: .8; }
.cox-lb__tools { display: flex; gap: 8px; }
.cox-lb button { font-family: inherit; }
.cox-lb__tools button, .cox-lb__nav { background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 50%; width: 44px; height: 44px; font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 0; }
.cox-lb__tools button:hover, .cox-lb__nav:hover { background: #e3121b; }
.cox-lb__tools button:focus-visible, .cox-lb__nav:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.cox-lb__stage { position: relative; flex: 1; overflow: hidden; display: flex; align-items: center; justify-content: center; cursor: zoom-in; touch-action: none; }
.cox-lb__stage.is-zoomed { cursor: grab; }
.cox-lb__stage.is-zoomed:active { cursor: grabbing; }
.cox-lb__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; user-select: none; -webkit-user-drag: none; transform-origin: center; opacity: 0; transition: opacity .2s; will-change: transform; }
.cox-lb__img.is-ready { opacity: 1; }
.cox-lb__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 52px; height: 52px; font-size: 2rem; padding-bottom: 4px; }
.cox-lb__nav--prev { left: 14px; } .cox-lb__nav--next { right: 14px; }
.cox-lb__hint { margin: 0; padding: 8px 14px 12px; text-align: center; font-size: .78rem; opacity: .6; }
@media (max-width: 640px) { .cox-lb__hint { display: none; } .cox-lb__nav { width: 42px; height: 42px; } }
@media (prefers-reduced-motion: reduce) { .cox-lb__img, .cox-btn, .cox-card, .cox-card__img img { transition: none; } }

/* ===== WooCommerce bridge additions ===== */
:root { --cox-red: #e3121b; --cox-ink: #111214; --cox-mute: #5f6670; --cox-line: #e3e5e8; --cox-bg: #f5f6f7; --cox-ok: #1f9d55; }
.cox-grid--4 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.cox-grid--5 { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.cox-card__specs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px; }
.cox-card__specs li { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--cox-mute); }
.cox-ico { width: 15px; height: 15px; flex: none; }
.cox-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; border: 1px solid #cfd3d8; }
.cox-card__sub { margin: 0; font-size: .8rem; color: var(--cox-mute); }
.cox-quote { display: flex; gap: 8px; align-items: flex-start; }
.cox-avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex: none; }
.cox-aud { font-size: .65em; color: var(--cox-mute); font-weight: 600; }
.cox-badges { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.cox-badges .cox-badge { position: static; }
.cox-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.cox-loop-badge, .woocommerce ul.products li.product .cox-badge { position: absolute; top: 10px; left: 10px; z-index: 3; }
.woocommerce ul.products li.product { position: relative; }
.cox-loop-meta { display: flex; gap: 10px; align-items: center; font-size: .8rem; color: var(--cox-mute); margin: 4px 0; }
.cox-loop-meta span { display: inline-flex; align-items: center; gap: 4px; }
.cox-filter__go { display: flex; flex-direction: column; gap: 6px; align-items: center; }
.cox-ranges { display: grid; gap: 10px; }
.cox-ranges fieldset { border: 0; padding: 0; margin: 0; }
.cox-ranges legend { font-weight: 700; font-size: .8rem; margin-bottom: 4px; }
.cox-ranges input[type=number] { width: 48%; padding: .5em; border: 1px solid #cfd3d8; border-radius: 6px; }
.cox-features { margin: 0 0 12px 1.1em; }
.cox-btn--red, .woocommerce a.cox-btn--red { color: #fff; }

/* ===== v2.1: Highway-style pages (Cox colours) ===== */
.cox-grid { display: grid; gap: 20px; }
.cox-grid--3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.cox-grid--4 { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.cox-center { text-align: center; margin: 28px 0 0; }
.cox-card--stock { background: #fff; border: 1px solid var(--cox-line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.cox-card--stock .cox-card__img { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--cox-bg); }
.cox-card--stock .cox-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cox-card__noimg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--cox-mute); font-size: .9rem; }
.cox-card--stock .cox-badge { position: absolute; top: 10px; left: 10px; }
.cox-card--stock .cox-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cox-card--stock .cox-card__title { margin: 0; font-size: 1.05rem; line-height: 1.3; }
.cox-card--stock .cox-card__title a { color: var(--cox-ink); text-decoration: none; }
.cox-card__price { font-size: 1.4rem; font-weight: 800; color: var(--cox-red); }
.cox-card__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .85rem; color: var(--cox-mute); }
.cox-card__facts li { display: inline-flex; align-items: center; gap: 5px; }
.cox-card--stock .cox-btn { margin-top: auto; }
.cox-btn--block { display: block; width: 100%; text-align: center; box-sizing: border-box; }
.cox-filter { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; align-items: end; background: #fff; border: 1px solid var(--cox-line); border-radius: 10px; padding: 16px; }
.cox-filter label { display: flex; flex-direction: column; gap: 4px; font-size: .75rem; font-weight: 700; text-transform: uppercase; color: var(--cox-mute); }
.cox-filter select { padding: .6em; border: 1px solid #cfd3d8; border-radius: 6px; font-size: .95rem; background: #fff; color: var(--cox-ink); text-transform: none; }
.cox-count { margin: 18px 0 12px; font-weight: 700; }
.cox-pages { margin-top: 26px; text-align: center; }
.cox-pages .page-numbers { display: inline-block; padding: 8px 13px; margin: 0 2px; border: 1px solid var(--cox-line); border-radius: 6px; text-decoration: none; color: var(--cox-ink); }
.cox-pages .current { background: var(--cox-red); border-color: var(--cox-red); color: #fff; }
.cox-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cox-contact strong { display: block; font-size: .75rem; text-transform: uppercase; color: var(--cox-mute); }
.cox-dealer { margin: 0; font-size: .85rem; }

.cox-vp { max-width: 1200px; margin: 0 auto; padding: 24px 16px 48px; }
.cox-crumb { font-size: .85rem; color: var(--cox-mute); margin-bottom: 12px; }
.cox-vp__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.cox-vp__head h1 { margin: 0; font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.2; }
.cox-vp__sku { margin: 4px 0 0; color: var(--cox-mute); font-size: .9rem; }
.cox-vp__price { display: flex; align-items: center; gap: 12px; }
.cox-vp__price strong { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--cox-red); }
.cox-vp__price .cox-badge { position: static; }
.cox-vp__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.cox-vp__panel { background: #fff; border: 1px solid var(--cox-line); border-radius: 10px; padding: 20px; position: sticky; top: 20px; }
.cox-vp__panel h2 { margin: 0 0 12px; font-size: 1.15rem; }
.cox-vp__note { font-size: .8rem; color: var(--cox-mute); margin: 12px 0 0; }
.cox-vp__sec { margin-top: 28px; }
.cox-vp__sec h2 { font-size: 1.2rem; border-bottom: 2px solid var(--cox-red); display: inline-block; padding-bottom: 4px; margin: 0 0 12px; }
.cox-gal__main { position: relative; aspect-ratio: 4 / 3; background: var(--cox-bg); border-radius: 10px; overflow: hidden; cursor: zoom-in; }
.cox-gal__main img { width: 100%; height: 100%; object-fit: contain; display: block; }
.cox-gal--none { aspect-ratio: 4 / 3; background: var(--cox-bg); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--cox-mute); }
.cox-gal__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-top: 10px; }
.cox-gal__thumb { padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; background: var(--cox-bg); cursor: pointer; aspect-ratio: 4 / 3; }
.cox-gal__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cox-gal__thumb.is-on { border-color: var(--cox-red); }
.cox-keyfacts { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; margin: 20px 0 0; padding: 0; }
.cox-keyfacts li { background: var(--cox-bg); border-radius: 8px; padding: 10px 12px; }
.cox-keyfacts span { display: block; font-size: .72rem; text-transform: uppercase; color: var(--cox-mute); }
.cox-features--grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px 18px; }
.cox-features--grid li::before { content: "\2713"; color: var(--cox-red); font-weight: 800; margin-right: 8px; }
.cox-specs { width: 100%; border-collapse: collapse; }
.cox-specs th, .cox-specs td { text-align: left; padding: 9px 4px; border-bottom: 1px solid var(--cox-line); font-size: .95rem; }
.cox-specs th { width: 40%; color: var(--cox-mute); font-weight: 600; }
.cox-enquiry form { display: grid; gap: 10px; }
.cox-enquiry label { display: flex; flex-direction: column; gap: 4px; font-size: .8rem; font-weight: 700; }
.cox-enquiry input[type=text], .cox-enquiry input[type=tel], .cox-enquiry input[type=email], .cox-enquiry textarea { padding: .6em; border: 1px solid #cfd3d8; border-radius: 6px; font: inherit; }
.cox-hp { position: absolute; left: -9999px; }

.cox-lb { position: fixed; inset: 0; z-index: 99999; background: rgba(0, 0, 0, .92); display: flex; align-items: center; justify-content: center; }
.cox-lb img { max-width: 92vw; max-height: 90vh; object-fit: contain; }
.cox-lb button { position: absolute; background: none; border: 0; color: #fff; font-size: 2.6rem; cursor: pointer; padding: 10px 16px; line-height: 1; }
.cox-lb__x { top: 8px; right: 12px; }
.cox-lb__p { left: 6px; top: 50%; transform: translateY(-50%); }
.cox-lb__n { right: 6px; top: 50%; transform: translateY(-50%); }

@media (max-width: 900px) {
	.cox-vp__grid { grid-template-columns: 1fr; }
	.cox-vp__panel { position: static; }
	.cox-vp__head { align-items: flex-start; }
}
@media (max-width: 520px) {
	.cox-grid--3, .cox-grid--4 { grid-template-columns: 1fr; }
	.cox-filter { grid-template-columns: 1fr 1fr; }
	.cox-filter__go { grid-column: 1 / -1; }
}

/* ===== v2.3: carsales-style accordion filter panel ===== */
.cox-panel { display: grid; gap: 10px; font-size: .95rem; }
.cox-acc { background: #fff; border: 1px solid #d9dce1; border-radius: 8px; }
.cox-acc > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 14px 16px; font-weight: 500; }
.cox-acc > summary::-webkit-details-marker { display: none; }
.cox-acc > summary .cox-ico { width: 22px; height: 22px; }
.cox-acc > summary span { flex: 1; }
.cox-acc > summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid #6b7280; border-bottom: 2px solid #6b7280; transform: rotate(-45deg); transition: transform .15s; }
.cox-acc[open] > summary::after { transform: rotate(45deg); }
.cox-acc__body { padding: 0 16px 16px; display: grid; gap: 10px; }
.cox-acc__row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cox-acc input, .cox-acc select { width: 100%; box-sizing: border-box; padding: .6em .7em; border: 1px solid #cfd3d8; border-radius: 6px; font: inherit; background: #fff; }
.cox-panel__go { display: grid; gap: 8px; text-align: center; }

/* v2.3.1: enquiry form look inside WoodMart */
.cox-enquiry input[type=text], .cox-enquiry input[type=tel], .cox-enquiry input[type=email] { width: 100%; box-sizing: border-box; }
.cox-enquiry textarea { width: 100%; box-sizing: border-box; border-radius: 6px !important; }
.cox-enquiry .cox-readonly { background: #f3f4f6; color: #111; font-weight: 600; }
.cox-enquiry button.cox-btn--red, .cox-enquiry button[type=submit] { background: var(--cox-red) !important; color: #fff !important; border: 0; border-radius: 6px; padding: 14px 18px; font-weight: 700; text-transform: uppercase; cursor: pointer; }
.cox-enquiry button[type=submit]:hover { filter: brightness(.92); }

/* v2.4: keyword box + card meta */
.cox-panel, .cox-acc, .cox-acc__body { min-width: 0; max-width: 100%; box-sizing: border-box; }
.cox-panel input[type=search], .cox-panel input[type=number], .cox-panel select { width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; min-width: 0; }
.cox-loop-meta { flex-wrap: wrap; }
.cox-loop-btn { margin-top: 8px; }
