/*
 * Integra Motors - smart SHOP page.
 * Every rule is scoped under `.is` (root: #integra-shop) so Kadence / WooCommerce / legacy `im-*` styles are never touched.
 * Product cards are NOT restyled (theme + im-* decorations own them) except: fit badge, fitting-card highlight, loading skeleton.
 * Fonts (Barlow / Barlow Condensed) come from the 'integra-hero-fonts' stylesheet; system fallbacks apply until loaded.
 * Fluid 320px -> 1920px. Motion is transform/opacity only and is disabled for prefers-reduced-motion.
 */

.is {
	--is-navy: #0b162d;
	--is-navy-2: #13213f;
	--is-red: #e10600;
	--is-red-dark: #b80500;
	--is-ink: #0b162d;
	--is-mute: #4a5a74;
	--is-line: #d9e0ec;
	--is-line-2: #eaeef5;
	--is-soft: #f0f3f9;
	--is-bg: #f4f6fb;
	--is-green: #0d8040;
	--is-green-bg: #e7f8ef;
	--is-green-ink: #0b6b35;
	--is-amber-bg: #fff2d6;
	--is-amber-ink: #7a4b00;
	--is-chip-bg: #fdeceb;
	--is-chip-ink: #9a0400;
	--is-pad: max(clamp(16px, 5vw, 72px), calc((100% - 1360px) / 2));
	--is-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
	--is-focus: 0 0 0 3px #fff, 0 0 0 5px #0b162d;
	position: relative;
	display: block;
	/* full-bleed even inside a boxed Kadence content column */
	width: 100vw;
	max-width: 100vw;
	margin: 0 0 0 calc(50% - 50vw);
	padding: 0;
	background: var(--is-bg);
	color: var(--is-ink);
	font-family: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	font-size: 16px;
	line-height: 1.5;
	text-align: left;
	-webkit-font-smoothing: antialiased;
}
/* the 100vw bleed includes the scrollbar width on classic scrollbars: never allow a horizontal scrollbar because of it */
html:has(#integra-shop) {
	overflow-x: clip;
}
/* page scroll lock while the mobile sheet is open */
html.is-scroll-lock {
	overflow: hidden;
}

/* ---------- local reset ---------- */
.is :where(h1, h2, p, a, button, label, select, input, span, b, div, form, legend, fieldset, nav) {
	font-family: inherit;
	text-transform: none;
	letter-spacing: normal;
	font-style: normal;
	text-shadow: none;
}
.is *,
.is *::before,
.is *::after {
	box-sizing: border-box;
}
.is [hidden] {
	display: none !important;
}
.is h1,
.is h2,
.is p,
.is b {
	margin: 0;
	padding: 0;
}
.is a {
	color: inherit;
	text-decoration: none;
	box-shadow: none;
}
.is button,
.is select,
.is input {
	font-family: inherit;
	font-size: 16px;
	line-height: 1.2;
	margin: 0;
}
.is button {
	cursor: pointer;
}
.is-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* ---------- focus (visible on every interactive thing) ---------- */
.is a:focus-visible,
.is button:focus-visible,
.is select:focus-visible,
.is input:focus-visible,
.is summary:focus-visible,
.is [tabindex]:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 0;
	box-shadow: 0 0 0 6px var(--is-red);
	border-radius: inherit;
}
.is-body a:focus-visible,
.is-body button:focus-visible,
.is-body select:focus-visible,
.is-body input:focus-visible,
.is-body summary:focus-visible,
.is-pills a:focus-visible {
	outline: 2px solid var(--is-navy);
	outline-offset: 2px;
	box-shadow: none;
}
.is-main:focus,
.is-main:focus-visible {
	outline: none;
	box-shadow: none;
}

/* ====================================================================== HEAD */
.is-head {
	background: var(--is-navy);
	color: #fff;
	padding: clamp(22px, 3vw, 36px) var(--is-pad) clamp(20px, 2.4vw, 32px);
	display: flex;
	flex-direction: column;
	gap: clamp(14px, 1.6vw, 22px);
}
.is-crumb {
	font-size: 14px;
	color: #b9c6dc;
}
.is-crumb a {
	color: #b9c6dc;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.is-crumb a:hover {
	color: #fff;
}
.is-crumb a:focus-visible {
	outline: 2px solid #fff;
}
.is-head-row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 14px 24px;
}
.is-title {
	font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
	font-weight: 800;
	font-size: clamp(34px, 2.2rem + 1.4vw, 52px);
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0.005em;
	color: #fff;
	margin: 6px 0 0;
}
.is-title b {
	color: var(--is-red);
	color: #ff5a52;
}

/* My car chip */
.is-mycar {
	flex: 0 1 auto;
	min-width: 0;
}
.is-mycar-btn {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	min-height: 56px;
	max-width: 100%;
	padding: 8px 96px 8px 52px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 14px;
	background: var(--is-navy-2);
	color: #b9c6dc;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	text-align: left;
	line-height: 1.25;
	transition: border-color 0.15s, background-color 0.15s;
}
.is-mycar-btn:hover {
	border-color: rgba(255, 255, 255, 0.4);
}
.is-mycar-btn::before {
	content: '';
	position: absolute;
	left: 16px;
	top: 50%;
	width: 24px;
	height: 24px;
	margin-top: -12px;
	background: #ff5a52;
	-webkit-mask: var(--is-car) center / contain no-repeat;
	mask: var(--is-car) center / contain no-repeat;
	--is-car: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 17h14M6 17l1.5-5h9L18 17M7.5 12l1.5-4h6l1.5 4'/%3E%3Ccircle cx='8' cy='17' r='2'/%3E%3Ccircle cx='16' cy='17' r='2'/%3E%3C/svg%3E");
}
.is-mycar-btn b {
	display: block;
	color: #fff;
	font-size: 17px;
	font-weight: 700;
	text-transform: none;
	letter-spacing: 0;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.is-mycar-btn::after {
	content: 'Change';
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	height: 40px;
	padding: 0 14px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 9px;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
}
.is-mycar-btn[data-make='']::after,
.is-mycar-btn:not([data-make])::after {
	content: 'Add';
	background: var(--is-red);
	border-color: var(--is-red);
}
.is-mycar-btn:not([data-make]),
.is-mycar-btn[data-make=''] {
	font-size: 16px;
	font-weight: 700;
	text-transform: none;
	letter-spacing: 0;
	color: #fff;
	padding-right: 84px;
}

/* saved-car suggestion (JS) */
.is-mycar-suggest {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	padding: 10px 12px 10px 16px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-left: 4px solid var(--is-red);
	border-radius: 12px;
	background: var(--is-navy-2);
	color: #fff;
}
.is-mycar-suggest-t {
	flex: 1 1 220px;
	font-size: 16px;
	color: #dfe6f3;
}
.is-mycar-suggest-t b {
	color: #fff;
}
.is-mycar-yes,
.is-mycar-no {
	min-height: 44px;
	padding: 0 18px;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 700;
}
.is-mycar-yes {
	border: 0;
	background: var(--is-red);
	color: #fff;
}
.is-mycar-yes:hover {
	background: var(--is-red-dark);
}
.is-mycar-no {
	border: 1px solid rgba(255, 255, 255, 0.28);
	background: transparent;
	color: #fff;
}
.is-mycar-suggest button:focus-visible {
	outline: 3px solid #fff;
	box-shadow: none;
	outline-offset: 2px;
}

/* search */
.is-search {
	position: relative;
	display: flex;
	align-items: stretch;
	gap: 10px;
}
.is-search-field {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	align-items: center;
	height: 60px;
	margin: 0;
	padding: 0 18px 0 52px;
	background: #fff;
	border-radius: 14px;
	color: var(--is-ink);
	transition: box-shadow 0.15s;
}
.is-search-field::before {
	content: '';
	position: absolute;
	left: 18px;
	top: 50%;
	width: 22px;
	height: 22px;
	margin-top: -11px;
	background: #5a6b85;
	-webkit-mask: var(--is-mag) center / contain no-repeat;
	mask: var(--is-mag) center / contain no-repeat;
	--is-mag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.3-4.3'/%3E%3C/svg%3E");
}
.is-search-field:focus-within {
	box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.45);
}
.is-search-field input[type='search'] {
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	border-radius: 0;
	outline: 0;
	box-shadow: none;
	background: transparent;
	color: var(--is-ink);
	font-size: 19px;
	font-weight: 500;
	-webkit-appearance: none;
	appearance: none;
}
.is-search-field input[type='search']:focus,
.is-search-field input[type='search']:focus-visible {
	outline: 0;
	box-shadow: none;
	border: 0;
}
.is-search-field input::placeholder {
	color: #5a6b85;
	opacity: 1;
}
.is-search-field input[type='search']::-webkit-search-cancel-button {
	-webkit-appearance: none;
	appearance: none;
}
.is-search > button[type='submit'] {
	flex: 0 0 auto;
	min-width: 44px;
	height: auto;
	padding: 0 24px;
	border: 0;
	border-radius: 14px;
	background: var(--is-red);
	color: #fff;
	font-size: 17px;
	font-weight: 700;
	transition: background-color 0.15s;
}
.is-search > button[type='submit']:hover {
	background: var(--is-red-dark);
}
.is-search > button[type='submit']:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 2px;
	box-shadow: none;
}
.is-corrected {
	font-size: 15px;
	color: #c9d4e8;
	margin: -4px 0 0;
}
.is-corrected b {
	color: #fff;
}
.is-corrected a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
	display: inline-block;
	padding: 6px 0;
}
.is-corrected a:focus-visible {
	outline: 2px solid #fff;
	box-shadow: none;
}

/* live suggestions */
.is-suggest {
	position: absolute;
	z-index: 60;
	left: 0;
	right: 0;
	top: calc(100% + 8px);
	max-height: min(70vh, 540px);
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 6px;
	background: #fff;
	color: var(--is-ink);
	border-radius: 14px;
	box-shadow: 0 18px 50px rgba(7, 16, 31, 0.35), 0 0 0 1px rgba(11, 22, 45, 0.08);
}
.is-sug-head,
.is-sug-note {
	padding: 8px 12px 4px;
	font-size: 13px;
	color: var(--is-mute);
}
.is-sug-head {
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 12px;
}
.is-sug-note b {
	color: var(--is-ink);
}
.is-sug-note--hint {
	background: var(--is-amber-bg);
	color: var(--is-amber-ink);
	border-radius: 8px;
	margin: 2px 4px;
	padding: 8px 10px;
}
.is-sug-note--hint b {
	color: var(--is-amber-ink);
}
.is-sug-empty {
	padding: 14px 12px;
	font-size: 15px;
	color: var(--is-mute);
}
.is-sug-empty b {
	color: var(--is-ink);
}
.is-sug {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 64px;
	padding: 8px 10px;
	border-radius: 10px;
	color: var(--is-ink);
	scroll-margin: 6px;
}
.is-sug.is-active {
	background: var(--is-soft);
	box-shadow: inset 3px 0 0 var(--is-red);
}
.is-sug-thumb {
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	border-radius: 8px;
	background: var(--is-soft);
	overflow: hidden;
}
.is-sug-thumb img {
	display: block;
	width: 48px;
	height: 48px;
	object-fit: cover;
	max-width: none;
}
.is-sug-main {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 3px;
}
.is-sug-name {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.25;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.is-sug-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 6px;
}
.is-sug-price {
	flex: 0 0 auto;
	font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
	font-weight: 700;
	font-size: 19px;
	white-space: nowrap;
}
.is-sug--all {
	position: sticky;
	bottom: -6px;
	background: #fff;
	justify-content: center;
	min-height: 48px;
	margin-top: 4px;
	border-top: 1px solid var(--is-line-2);
	border-radius: 0 0 10px 10px;
	color: var(--is-red-dark);
	font-weight: 700;
	font-size: 16px;
	text-align: center;
}
.is-sug--all.is-active {
	box-shadow: inset 0 0 0 2px var(--is-red);
	border-radius: 10px;
}
.is-sug-skel {
	padding: 6px;
}
.is-sug-skel-row {
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 8px 6px;
}
.is-sug-skel-th,
.is-sug-skel-l1,
.is-sug-skel-l2 {
	display: block;
	background: linear-gradient(100deg, #eef2f8 30%, #f9fbfe 50%, #eef2f8 70%) 0 0 / 200% 100%;
	border-radius: 8px;
	animation: is-shimmer 1.2s linear infinite;
}
.is-sug-skel-th {
	width: 48px;
	height: 48px;
	flex: 0 0 48px;
}
.is-sug-skel-col {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.is-sug-skel-l1 {
	height: 12px;
	width: 80%;
}
.is-sug-skel-l2 {
	height: 10px;
	width: 40%;
}

/* ====================================================================== PILLS */
.is-pills {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding: 14px var(--is-pad);
	background: #fff;
	border-bottom: 1px solid var(--is-line-2);
}
.is-pill {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 18px;
	border: 1px solid #d3dbe8;
	border-radius: 999px;
	background: #fff;
	color: var(--is-ink);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.1;
	white-space: nowrap;
	transition: border-color 0.15s, background-color 0.15s, color 0.15s;
}
.is-pill:hover {
	border-color: var(--is-navy);
}
.is-pill-n {
	color: #52627c;
	font-weight: 500;
	font-size: 15px;
}
.is-pill.is-active {
	background: var(--is-navy);
	border-color: var(--is-navy);
	color: #fff;
}
.is-pill.is-active .is-pill-n {
	color: #c5d1e6;
}

/* ====================================================================== BODY */
.is-body {
	display: flex;
	align-items: flex-start;
	gap: clamp(20px, 2.2vw, 28px);
	padding: clamp(18px, 2.4vw, 28px) var(--is-pad) clamp(32px, 4vw, 56px);
}

/* ---------- filters ---------- */
.is-filters {
	flex: 0 0 290px;
	width: 290px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0;
	padding: 0;
	min-width: 0;
}
.is-filters-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 0 4px;
}
.is-filters-head h2 {
	font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
	font-weight: 800;
	font-size: 24px;
	line-height: 1.1;
	text-transform: uppercase;
	color: var(--is-ink);
}
.is-filters-head .is-clear-all {
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-size: 15px;
	font-weight: 700;
	color: var(--is-red-dark);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.is-filters-close {
	display: none;
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 1px solid #d9e0ec;
	border-radius: 10px;
	background: #fff;
	color: var(--is-ink);
	font-size: 30px;
	font-weight: 400;
	line-height: 1;
}
.is-f {
	display: flex;
	flex-direction: column;
	gap: 6px 10px;
	min-width: 0;
	margin: 0;
	padding: 20px;
	background: #fff;
	border: 1px solid var(--is-line-2);
	border-radius: 16px;
}
.is-f legend {
	float: left;
	width: 100%;
	margin: 0 0 8px;
	padding: 0;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #4f5f79;
}
.is-f legend + * {
	clear: both;
}
.is-f label {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	margin: 0;
	font-size: 16px;
	font-weight: 500;
	color: var(--is-ink);
	cursor: pointer;
}
.is-f label:has(select),
.is-f label:has(input[type='text']),
.is-f label:has(input[type='number']),
.is-f label:has(input[type='tel']) {
	flex-direction: column;
	align-items: stretch;
	gap: 6px;
	min-height: 0;
	font-size: 13px;
	font-weight: 600;
	color: var(--is-mute);
	cursor: default;
}
.is-f input[type='checkbox'] {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	margin: 0;
	accent-color: var(--is-red);
	cursor: pointer;
}
.is-f label .is-n {
	margin-left: auto;
	color: #52627c;
	font-size: 15px;
	font-weight: 500;
}
.is-f label:has(input:disabled) {
	opacity: 0.55;
	cursor: not-allowed;
}
.is-f select,
.is-f input[type='text'],
.is-f input[type='number'],
.is-f input[type='tel'] {
	width: 100%;
	min-width: 0;
	height: 44px;
	padding: 0 12px;
	border: 1px solid #c3cddd;
	border-radius: 10px;
	background-color: #fff;
	color: var(--is-ink);
	font-size: 16px;
	font-weight: 500;
	box-shadow: none;
}
.is-f select {
	-webkit-appearance: none;
	appearance: none;
	padding-right: 34px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230b162d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
}
.is-f select:disabled,
.is-f input:disabled {
	background-color: var(--is-soft);
	color: #6b7a92;
	cursor: not-allowed;
}

/* vehicle: make full width, model + year side by side */
.is-f[data-f='vehicle'] {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-content: start;
	gap: 12px 10px;
}
.is-f[data-f='vehicle'] > legend {
	grid-column: 1 / -1;
	margin-bottom: 0;
}
.is-f[data-f='vehicle'] > select[name='make'],
.is-f[data-f='vehicle'] > label:has(select[name='make']),
.is-f[data-f='vehicle'] > .is-switch {
	grid-column: 1 / -1;
}
.is-f[data-f='vehicle'] > label {
	min-width: 0;
}

/* toggle switch (the checkbox itself is restyled so it stays a real, focusable control) */
.is-switch {
	justify-content: space-between;
	font-weight: 600 !important;
	font-size: 16px !important;
	color: var(--is-ink) !important;
	cursor: pointer !important;
}
.is-switch input[type='checkbox'] {
	-webkit-appearance: none;
	appearance: none;
	order: 2;
	width: 46px;
	height: 26px;
	border-radius: 999px;
	background-color: #b4bfd2;
	background-image: radial-gradient(circle, #fff 0 10px, transparent 10.5px);
	background-size: 26px 26px;
	background-repeat: no-repeat;
	background-position: 0 0;
	transition: background-color 0.18s, background-position 0.18s var(--is-ease);
}
.is-switch input[type='checkbox']:checked {
	background-color: var(--is-red);
	background-position: 20px 0;
}
.is-switch input[type='checkbox']:focus-visible {
	outline: 2px solid var(--is-navy);
	outline-offset: 3px;
	box-shadow: none;
}

/* price */
.is-presets {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 4px;
}
.is-presets button {
	min-height: 44px;
	padding: 0 14px;
	border: 1px solid #c3cddd;
	border-radius: 999px;
	background: #fff;
	color: var(--is-ink);
	font-size: 15px;
	font-weight: 600;
	transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.is-presets button:hover {
	border-color: var(--is-navy);
}
.is-presets button.is-active,
.is-presets button[aria-pressed='true'] {
	background: var(--is-navy);
	border-color: var(--is-navy);
	color: #fff;
}
.is-range {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	margin: 0;
}
.is-range input {
	flex: 1 1 0;
	min-width: 0;
	-moz-appearance: textfield;
	appearance: textfield;
}
.is-range input::-webkit-outer-spin-button,
.is-range input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
.is-range > span {
	flex: 0 0 auto;
	color: var(--is-mute);
	font-weight: 600;
}

/* header subtitle, symptom hint, sub-categories */
.is-sub {
	margin: -4px 0 0;
	font-size: clamp(16px, 1.2vw, 19px);
	color: #c9d4e8;
}
.is-symptom {
	margin: -4px 0 0;
	padding: 10px 14px;
	border-radius: 10px;
	border-left: 4px solid #f5a623;
	background: var(--is-amber-bg);
	color: var(--is-amber-ink);
	font-size: 15px;
}
.is-symptom b {
	color: var(--is-amber-ink);
}
.is-f label.is-sub-cat {
	padding-left: 28px;
	min-height: 40px;
	font-size: 15px;
}

/* foot (apply) */
.is-filters-foot {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.is-clear {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	border: 1px solid #c3cddd;
	border-radius: 12px;
	background: #fff;
	font-size: 16px;
	font-weight: 700;
	color: var(--is-ink);
}
.is-clear:hover {
	border-color: var(--is-navy);
}
.is-apply {
	min-height: 52px;
	padding: 0 20px;
	border: 0;
	border-radius: 12px;
	background: var(--is-red);
	color: #fff;
	font-size: 17px;
	font-weight: 700;
	transition: background-color 0.15s, opacity 0.15s;
}
.is-apply:hover {
	background: var(--is-red-dark);
}
.is-apply.is-counting {
	opacity: 0.75;
}
/* with JS on desktop, filters apply live - the button is only the no-JS fallback */
.is.is-js .is-filters-foot .is-apply {
	display: none;
}
.is.is-js .is-filters-foot:not(:has(.is-clear)) {
	display: none;
}
.is-filters-open {
	display: none;
}

/* ---------- results ---------- */
.is-main {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 18px;
	scroll-margin-top: 90px;
}
.is-main .woocommerce-result-count {
	display: none !important;
}
.is-chips {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}
.is-chips:empty {
	display: none;
}
.is-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 0 8px 0 14px;
	border-radius: 999px;
	background: var(--is-chip-bg);
	color: var(--is-chip-ink);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.1;
	transition: background-color 0.15s;
}
.is-chip:hover {
	background: #fbd9d6;
}
.is-chip-x,
.is-x {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	font-size: 18px;
	line-height: 1;
}
.is-chip-clear {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	margin-left: 6px;
	padding: 0 4px;
	font-size: 15px;
	font-weight: 700;
	color: var(--is-red-dark);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.is-summary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 16px;
}
.is-summary > p {
	flex: 1 1 280px;
	margin: 0;
	font-size: 17px;
	color: var(--is-mute);
}
.is-summary > p b {
	color: var(--is-ink);
	font-weight: 700;
}
.is-summary .woocommerce-ordering {
	float: none;
	margin: 0;
	flex: 0 0 auto;
}
.is-summary .woocommerce-ordering select {
	min-height: 44px;
	height: 44px;
	margin: 0;
	padding: 0 12px;
	border: 1px solid #c3cddd;
	border-radius: 10px;
	background-color: #fff;
	color: var(--is-ink);
	font-size: 16px;
	font-weight: 500;
	max-width: 100%;
}

/* product grid: columns owned here so the narrower (sidebar) column never inherits the theme's float widths */
.is-main ul.products {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(clamp(150px, 15vw, 250px), 1fr));
	gap: clamp(12px, 1.4vw, 18px);
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}
.is-main ul.products::before,
.is-main ul.products::after {
	display: none;
}
.is-main ul.products li.product {
	float: none;
	width: auto;
	max-width: none;
	margin: 0;
	min-width: 0;
}

/* fit badge (cards + suggestions) */
.is-fit {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 5px;
	max-width: 100%;
	margin: 6px 0 4px;
	padding: 4px 10px;
	border-radius: 999px;
	font-family: 'Barlow', system-ui, sans-serif;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0.01em;
	text-transform: none;
	white-space: normal;
	background: var(--is-soft);
	color: #4a5a74;
}
.is-sug-meta .is-fit {
	margin: 0;
}
.is-fit--fits {
	background: var(--is-green-bg);
	color: var(--is-green-ink);
}
.is-fit--fits::before {
	content: '';
	flex: 0 0 11px;
	width: 11px;
	height: 11px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12l5 5L20 6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12l5 5L20 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.is-fit--check-year,
.is-fit--check {
	background: var(--is-amber-bg);
	color: var(--is-amber-ink);
}
.is-fit--mismatch {
	background: var(--is-soft);
	color: #4a5a74;
}
/* highlight border on cards that fit the selected vehicle */
.is-main ul.products li.product:has(.is-fit--fits) {
	border-radius: 14px;
	box-shadow: 0 0 0 2px #12a150;
}

/* source it (no results / nothing fits) */
.is-source {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 20px;
	padding: 20px 22px;
	background: #fff;
	border: 1px solid var(--is-line-2);
	border-left: 4px solid var(--is-green);
	border-radius: 16px;
}
.is-source > * {
	margin: 0;
}
.is-source h2,
.is-source h3,
.is-source strong,
.is-source > b {
	flex: 1 1 100%;
	font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
	font-size: 26px;
	font-weight: 800;
	text-transform: uppercase;
	line-height: 1.1;
}
.is-source p {
	flex: 1 1 260px;
	color: var(--is-mute);
	font-size: 16px;
}
.is-source a[href*='wa.me'],
.is-source a[href*='whatsapp'],
.is-source .is-source-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 22px;
	border-radius: 12px;
	background: var(--is-green);
	color: #fff;
	font-size: 17px;
	font-weight: 700;
}
.is-source a[href*='wa.me']:hover,
.is-source a[href*='whatsapp']:hover {
	background: #0a6a35;
}
.is-source a:focus-visible {
	outline: 3px solid var(--is-navy);
	outline-offset: 2px;
	box-shadow: none;
}

/* pagination (Woo) - minimal: 44px targets only */
.is-main .woocommerce-pagination {
	margin-top: 8px;
}
.is-main .woocommerce-pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	border: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}
.is-main .woocommerce-pagination ul li {
	border: 0;
	float: none;
	overflow: visible;
	margin: 0;
}
.is-main .woocommerce-pagination a.page-numbers,
.is-main .woocommerce-pagination span.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 12px;
	border: 1px solid #d3dbe8;
	border-radius: 10px;
	background: #fff;
	color: var(--is-ink);
	font-weight: 600;
}
.is-main .woocommerce-pagination span.page-numbers.current,
.is-main .woocommerce-pagination a.page-numbers.current {
	background: var(--is-navy);
	border-color: var(--is-navy);
	color: #fff;
}

/* ---------- loading skeleton ---------- */
.is-main[aria-busy='true'] {
	cursor: progress;
}
.is-main[aria-busy='true'] .is-chips,
.is-main[aria-busy='true'] .is-summary > p {
	opacity: 0.55;
}
.is-main[aria-busy='true'] ul.products li.product {
	position: relative;
	pointer-events: none;
	overflow: hidden;
	border-radius: 14px;
}
.is-main[aria-busy='true'] ul.products li.product > * {
	visibility: hidden;
}
.is-main[aria-busy='true'] ul.products li.product::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 14px;
	background:
		linear-gradient(#e6ecf5, #e6ecf5) 14px 14px / calc(100% - 28px) 52% no-repeat,
		linear-gradient(#e6ecf5, #e6ecf5) 14px calc(52% + 28px) / 72% 12px no-repeat,
		linear-gradient(#e6ecf5, #e6ecf5) 14px calc(52% + 50px) / 40% 12px no-repeat,
		#fff;
	animation: is-pulse 1.1s ease-in-out infinite;
}
@keyframes is-pulse {
	0%,
	100% {
		opacity: 1;
	}
	50% {
		opacity: 0.55;
	}
}
@keyframes is-shimmer {
	to {
		background-position: -200% 0;
	}
}

/* hide the legacy shop header/sidebar if it ever renders alongside */
.is ~ .im-shopx-body,
.is .im-shopx-body,
.is .im-filter-trigger {
	display: none !important;
}

/* ====================================================================== TABLET / SMALL DESKTOP */
@media (max-width: 1199px) {
	.is-filters {
		flex-basis: 260px;
		width: 260px;
	}
}

/* ====================================================================== MOBILE (< 961px) */
@media (max-width: 960px) {
	.is-body {
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
	}
	.is-filters,
	.is-main {
		width: 100%;
		flex: 0 0 auto;
	}
	.is-main {
		flex: 1 1 auto;
	}
	.is-search-field {
		height: 52px;
		padding-left: 46px;
	}
	.is-search-field::before {
		left: 15px;
		width: 20px;
		height: 20px;
		margin-top: -10px;
	}
	.is-search-field input[type='search'] {
		font-size: 17px;
	}
	.is-search > button[type='submit'] {
		padding: 0 18px;
		font-size: 16px;
	}
	.is-mycar {
		flex: 1 1 100%;
	}
	.is-mycar-btn {
		width: 100%;
	}
	.is-head-row {
		align-items: stretch;
	}

	/* pills: single horizontally scrollable row */
	.is-pills {
		flex-wrap: nowrap;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		scroll-snap-type: x proximity;
		scrollbar-width: none;
		padding: 12px 16px;
		gap: 8px;
		background: transparent;
		border-bottom: 0;
	}
	.is-pills::-webkit-scrollbar {
		display: none;
	}
	.is-pill {
		scroll-snap-align: start;
		min-height: 44px;
		padding: 0 14px;
		font-size: 15px;
	}

	/* without JS the filters simply stack inline; with JS they become a bottom sheet */
	.is.is-js .is-filters {
		position: fixed;
		z-index: 100001;
		left: 0;
		right: 0;
		bottom: 0;
		width: 100%;
		max-height: min(92vh, 760px);
		max-height: min(92dvh, 760px);
		display: flex;
		flex-direction: column;
		gap: 18px;
		overflow-y: auto;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
		padding: 0;
		background: #fff;
		border-radius: 22px 22px 0 0;
		box-shadow: 0 -12px 40px rgba(7, 16, 31, 0.25);
		transform: translateY(105%);
		visibility: hidden;
		transition: transform 0.28s var(--is-ease), visibility 0s linear 0.28s;
	}
	.is.is-js.is-sheet-open .is-filters {
		transform: none;
		visibility: visible;
		transition: transform 0.28s var(--is-ease), visibility 0s;
	}
	.is.is-js .is-filters-head {
		position: sticky;
		top: 0;
		z-index: 2;
		padding: 22px 16px 8px;
		background: #fff;
	}
	.is.is-js .is-filters-head::before {
		content: '';
		position: absolute;
		top: 9px;
		left: 50%;
		width: 44px;
		height: 5px;
		margin-left: -22px;
		border-radius: 3px;
		background: #d9e0ec;
	}
	.is.is-js .is-filters-head h2 {
		font-size: 28px;
	}
	.is.is-js .is-filters-head .is-clear-all {
		margin-left: 0;
		order: 3;
	}
	.is.is-js .is-filters-head h2 {
		margin-right: auto;
	}
	.is.is-js .is-filters-close {
		display: inline-flex;
		order: 4;
	}
	.is.is-js .is-f {
		padding: 0 16px;
		border: 0;
		border-radius: 0;
		background: transparent;
	}
	.is.is-js .is-f[data-f='vehicle'] {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 10px 8px;
	}
	.is.is-js .is-f[data-f='vehicle'] > select[name='make'],
	.is.is-js .is-f[data-f='vehicle'] > label:has(select[name='make']) {
		grid-column: auto;
	}
	.is.is-js .is-f[data-f='vehicle'] > .is-switch {
		grid-column: 1 / -1;
	}
	.is.is-js .is-f select {
		height: 46px;
		padding-left: 10px;
	}
	.is.is-js .is-filters-foot {
		position: sticky;
		bottom: 0;
		z-index: 2;
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
		gap: 10px;
		margin-top: auto;
		padding: 14px 16px calc(18px + env(safe-area-inset-bottom));
		background: #fff;
		border-top: 1px solid var(--is-line-2);
	}
	.is.is-js .is-filters-foot .is-apply {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-height: 52px;
	}
	.is.is-js .is-filters-foot .is-clear {
		min-height: 52px;
	}
	.is.is-js .is-filters-foot .is-clear:only-child,
	.is.is-js .is-filters-foot .is-apply:only-child {
		grid-column: 1 / -1;
	}

	.is-backdrop {
		position: fixed;
		inset: 0;
		z-index: 100000;
		background: rgba(11, 22, 45, 0.55);
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.25s, visibility 0s linear 0.25s;
	}
	.is.is-sheet-open .is-backdrop {
		opacity: 1;
		visibility: visible;
		transition: opacity 0.25s, visibility 0s;
	}

	/* sticky "Filters (n)" button */
	.is.is-js .is-filters-open {
		position: sticky;
		bottom: calc(14px + env(safe-area-inset-bottom));
		z-index: 40;
		order: 99;
		align-self: center;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		min-height: 52px;
		padding: 0 26px;
		border: 0;
		border-radius: 999px;
		background: var(--is-red);
		color: #fff;
		font-size: 17px;
		font-weight: 700;
		box-shadow: 0 8px 24px rgba(7, 16, 31, 0.35);
	}
	.is.is-js .is-filters-open:active {
		transform: scale(0.97);
	}
	.is.is-sheet-open .is-filters-open {
		visibility: hidden;
	}
	.is-summary > p {
		font-size: 15px;
		flex-basis: 100%;
	}
	.is-summary .woocommerce-ordering {
		width: 100%;
	}
	.is-summary .woocommerce-ordering select {
		width: 100%;
	}
	.is-suggest {
		max-height: min(62vh, 480px);
	}
}
@media (max-width: 960px) and (min-width: 520px) {
	.is.is-js .is-filters {
		left: 50%;
		right: auto;
		width: min(560px, 100%);
		margin-left: calc(min(560px, 100%) / -2);
	}
}

@media (max-width: 480px) {
	.is-title {
		font-size: 34px;
	}
	.is-mycar-btn b {
		font-size: 16px;
	}
	.is-sug-thumb {
		flex-basis: 44px;
		width: 44px;
		height: 44px;
	}
	.is-sug-thumb img {
		width: 44px;
		height: 44px;
	}
	.is-sug-price {
		font-size: 17px;
	}
	.is-search > button[type='submit'] {
		padding: 0 14px;
	}
}

/* ---------- very wide ---------- */
@media (min-width: 1600px) {
	.is-body {
		gap: 32px;
	}
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	.is *,
	.is *::before,
	.is *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		transition-delay: 0s !important;
		scroll-behavior: auto !important;
	}
}
