/*
Theme Name: BK Racing
Theme URI: https://bkuracing.com
Description: Storefront child theme for the BK Racing automotive wheel catalogue. Enquiry-driven product catalogue with a bespoke homepage, spec tables and fitment tooling.
Author: BK Racing
Template: storefront
Version: 1.0.1
Text Domain: wheelforge
*/

/* ==================================================================
   Design tokens
   ================================================================== */
:root {
	--wf-accent: #c8102e;
	--wf-accent-dark: #9c0c24;
	--wf-ink: #14161a;
	--wf-ink-soft: #1c1f26;
	--wf-muted: #6b7280;
	--wf-surface: #ffffff;
	--wf-surface-alt: #f4f5f7;
	--wf-border: #e5e7eb;
	--wf-radius: 3px;
	--wf-container: 1440px;
	--wf-gutter: 24px;
}

/* ==================================================================
   Base
   ================================================================== */
body {
	color: var(--wf-ink);
	font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
}

a { color: var(--wf-accent); }
a:hover, a:focus { color: var(--wf-accent-dark); }

img { max-width: 100%; height: auto; }

.page-title, .entry-title, .site-header h1, h1, h2, h3, h4 {
	font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
	letter-spacing: -0.015em;
}

/* Storefront opens #content > .col-full in header.php, so our own sections
   live inside it. It must stay visible — only the parent theme's default
   page header and breadcrumb are hidden here. */
.home .storefront-breadcrumb,
.home .page-header {
	display: none;
}

/* The homepage sections are designed to run edge to edge, but Storefront
   caps .col-full at 66.5em and adds page padding. Override for the
   front page only. */
.home #content > .col-full {
	max-width: none;
	margin-left: 0;
	margin-right: 0;
	padding: 0;
}

/* ==================================================================
   Buttons
   ================================================================== */
.wf-btn {
	display: inline-block;
	padding: 0.9em 2.2em;
	font-size: 0.82em;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: var(--wf-radius);
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
	cursor: pointer;
}

.wf-btn--solid {
	background: var(--wf-accent);
	color: #fff;
	border: 1px solid var(--wf-accent);
}
.wf-btn--solid:hover,
.wf-btn--solid:focus {
	background: var(--wf-accent-dark);
	border-color: var(--wf-accent-dark);
	color: #fff;
}

.wf-btn--outline {
	background: transparent;
	color: var(--wf-ink);
	border: 1px solid var(--wf-ink);
}
.wf-btn--outline:hover,
.wf-btn--outline:focus {
	background: var(--wf-ink);
	color: #fff;
}

.wf-btn--sm {
	padding: 0.6em 1.4em;
	font-size: 0.75em;
}

.wf-gallery .wf-btn--outline {
	color: #fff;
	border-color: rgba(255,255,255,.6);
}
.wf-gallery .wf-btn--outline:hover {
	background: #fff;
	color: var(--wf-ink);
}

/* WooCommerce buttons */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	background: var(--wf-accent);
	color: #fff;
	border-radius: var(--wf-radius);
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	font-size: .82em;
	padding: .9em 1.8em;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
	background: var(--wf-accent-dark);
	color: #fff;
}

/* ==================================================================
   Header
   ================================================================== */
.site-header {
	background: #fff;
	border-bottom: 1px solid var(--wf-border);
}

.site-header .custom-logo-link img {
	max-height: 52px;
	width: auto;
}

/* Vehicle selector */
.wf-vehicle-select { display: inline-block; }

/* Top bar: vehicle selector left, search right */
.wf-header-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1em;
	width: 100%;
	margin-bottom: 1.6em;
}
.wf-header-bar .wf-vehicle-select__link {
	padding: 0;
	border-right: 0;
	margin-right: 0;
}

/* Storefront's own product search would duplicate ours. */
.site-header .site-search { display: none; }

.wf-vehicle-select__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: .78em;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--wf-ink);
	text-decoration: none;
	border-right: 1px solid var(--wf-border);
	padding-right: 18px;
	margin-right: 18px;
}
.wf-vehicle-select__link:hover { color: var(--wf-accent); }

/* Animated ≡ icon */
.wf-vehicle-select__icon {
	display: inline-flex;
	flex-direction: column;
	justify-content: space-between;
	width: 16px;
	height: 11px;
}
.wf-vehicle-select__icon span {
	display: block;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transition: transform .3s ease, opacity .3s ease, width .3s ease;
}
.wf-vehicle-select__icon span:nth-child(2) { width: 70%; }
.wf-vehicle-select__link:hover .wf-vehicle-select__icon span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.wf-vehicle-select__link:hover .wf-vehicle-select__icon span:nth-child(2) { opacity: 0; }
.wf-vehicle-select__link:hover .wf-vehicle-select__icon span:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }

/* Compact search */
.wf-header-search__form {
	display: flex;
	align-items: center;
	border: 1px solid var(--wf-border);
	border-radius: var(--wf-radius);
	padding: 0 8px 0 0;
	background: #fff;
}
.wf-header-search__input {
	border: 0;
	background: transparent;
	font-size: .8em;
	padding: 7px 10px;
	width: 190px;
	outline: none;
}
.wf-header-search__submit {
	background: none;
	border: 0;
	cursor: pointer;
	color: var(--wf-ink);
	padding: 4px;
	display: inline-flex;
}
.wf-header-search__submit:hover { color: var(--wf-accent); }

/* Navigation */
.main-navigation ul.menu > li > a,
.main-navigation .menu > li > a {
	font-size: .8em;
	font-weight: 700;
	letter-spacing: .07em;
	text-transform: uppercase;
	color: var(--wf-ink);
}
.main-navigation ul.menu > li > a:hover,
.main-navigation ul.menu > li.current-menu-item > a { color: var(--wf-accent); }
.main-navigation ul.menu > li.current-menu-item > a { border-bottom: 2px solid var(--wf-accent); }

/* ==================================================================
   Section shell
   ================================================================== */
.wf-section { padding: 4.5em 0; }
.wf-section--alt { background: var(--wf-surface-alt); }

.wf-section__title {
	font-size: 2em;
	font-weight: 800;
	text-align: center;
	margin-bottom: .4em;
}
.wf-section__lead {
	text-align: center;
	color: var(--wf-muted);
	max-width: 44em;
	margin: 0 auto 2.6em;
}

/* ==================================================================
   1. Banner slider
   ================================================================== */
.wf-banner {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: var(--wf-ink);
}

.wf-banner__track { position: relative; }

.wf-banner__slide {
	position: relative;
	display: none;
	min-height: 78vh;
	overflow: hidden;
}
.wf-banner__slide.is-active { display: block; }

.wf-banner__media,
.wf-banner__placeholder {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.wf-banner__placeholder {
	background:
		radial-gradient(ellipse at 30% 60%, #2a2f3a 0%, transparent 60%),
		linear-gradient(135deg, #1c1f26 0%, #0d0f13 100%);
}

.wf-banner__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(10,12,16,.82) 0%, rgba(10,12,16,.35) 55%, rgba(10,12,16,.15) 100%);
}

.wf-banner__content {
	position: relative;
	z-index: 2;
	max-width: var(--wf-container);
	margin: 0 auto;
	padding: 0 var(--wf-gutter);
	min-height: 78vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
}

.wf-banner__heading {
	color: #fff;
	font-size: 3.2em;
	font-weight: 800;
	line-height: 1.08;
	max-width: 14em;
	margin: 0 0 .35em;
	text-shadow: 0 2px 24px rgba(0,0,0,.4);
}

.wf-banner__text {
	color: rgba(255,255,255,.82);
	font-size: 1.05em;
	line-height: 1.6;
	max-width: 34em;
	margin: 0 0 1.8em;
}

.wf-banner__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	width: 46px;
	height: 46px;
	padding: 0;
	border-radius: 50%;
	border: 1px solid rgba(255,255,255,.35);
	background: rgba(10,12,16,.35);
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background-color .2s ease;
}
.wf-banner__nav:hover { background: var(--wf-accent); border-color: var(--wf-accent); }
.wf-banner__nav--prev { left: 24px; }
.wf-banner__nav--next { right: 24px; }

.wf-banner__dots {
	position: absolute;
	left: 0; right: 0;
	bottom: 26px;
	z-index: 3;
	display: flex;
	justify-content: center;
	gap: 10px;
}
.wf-banner__dot {
	width: 10px; height: 10px;
	border-radius: 50%;
	border: 1px solid rgba(255,255,255,.7);
	background: transparent;
	cursor: pointer;
	padding: 0;
	transition: background-color .2s ease, width .2s ease;
}
.wf-banner__dot.is-active { background: #fff; width: 26px; border-radius: 6px; }

/* ==================================================================
   2. Marquee strip
   ================================================================== */
.wf-marquee {
	background: var(--wf-accent);
	color: #fff;
	overflow: hidden;
	padding: 14px 0;
}
.wf-marquee__viewport { width: 100%; overflow: hidden; }
.wf-marquee__track {
	display: flex;
	align-items: center;
	width: max-content;
	animation: wf-marquee 38s linear infinite;
}
.wf-marquee:hover .wf-marquee__track { animation-play-state: paused; }
.wf-marquee__item {
	display: inline-flex;
	align-items: center;
	gap: 32px;
	padding-right: 32px;
	font-size: 1.05em;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	white-space: nowrap;
}
.wf-marquee__star { font-size: .7em; opacity: .7; }

@keyframes wf-marquee {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

/* ==================================================================
   3. Category cards
   ================================================================== */
.wf-cats { padding: 4em 0; }

.wf-cats__slider { position: relative; }
.wf-cats__track {
	display: flex;
	gap: 26px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	padding-bottom: 6px;
}
.wf-cats__track::-webkit-scrollbar { display: none; }

.wf-cats__slide {
	flex: 0 0 calc((100% - 52px) / 3);
	scroll-snap-align: start;
}

.wf-cat-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--wf-surface);
	border: 1px solid var(--wf-border);
	border-radius: var(--wf-radius);
	overflow: hidden;
	text-decoration: none;
	color: var(--wf-ink);
	transition: box-shadow .25s ease, transform .25s ease;
}
.wf-cat-card:hover {
	box-shadow: 0 14px 34px rgba(20,22,26,.12);
	transform: translateY(-4px);
	color: var(--wf-ink);
}

/* Middle card inverted, matching the reference */
.wf-cats__slide:nth-child(even) .wf-cat-card {
	background: var(--wf-ink);
	border-color: var(--wf-ink);
	color: #fff;
}
.wf-cats__slide:nth-child(even) .wf-cat-card:hover { color: #fff; }

.wf-cat-card__media {
	position: relative;
	aspect-ratio: 1 / 1;
	background: var(--wf-surface-alt);
	overflow: hidden;
}
.wf-cat-card__media img {
	width: 100%; height: 100%;
	object-fit: contain;
	transition: transform .4s ease;
}
.wf-cat-card:hover .wf-cat-card__media img { transform: scale(1.05); }

.wf-cat-card__placeholder {
	display: block;
	width: 100%; height: 100%;
	background:
		radial-gradient(circle at 50% 50%, #e9ebef 0%, #dfe2e7 42%, transparent 43%),
		radial-gradient(circle at 50% 50%, transparent 0%, #eceef1 43%, #dfe2e7 60%, transparent 61%),
		var(--wf-surface-alt);
}

.wf-cat-card__body { padding: 22px 24px 26px; text-align: center; }
.wf-cat-card__title {
	font-size: 1.35em;
	font-weight: 800;
	margin: 0 0 .5em;
}
.wf-cat-card__text {
	color: var(--wf-muted);
	font-size: .9em;
	line-height: 1.6;
	margin: 0 0 1.3em;
	min-height: 3.2em;
}
.wf-cats__slide:nth-child(even) .wf-cat-card__text { color: rgba(255,255,255,.72); }

.wf-cat-card__cta {
	display: inline-block;
	padding: .55em 1.3em;
	border: 1px solid currentColor;
	border-radius: 999px;
	font-size: .72em;
	font-weight: 700;
	letter-spacing: .07em;
	text-transform: uppercase;
	transition: background-color .2s ease, color .2s ease;
}
.wf-cat-card:hover .wf-cat-card__cta { background: var(--wf-accent); border-color: var(--wf-accent); color: #fff; }

/* ==================================================================
   4. Gallery
   ================================================================== */
.wf-gallery {
	background: var(--wf-ink);
	color: #fff;
	padding: 4.5em 0;
}
.wf-gallery__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 1.8em;
	flex-wrap: wrap;
}
.wf-gallery__title {
	color: #fff;
	font-size: 1.9em;
	font-weight: 800;
	margin: 0;
}

.wf-gallery__slider { position: relative; }
.wf-gallery__track {
	display: flex;
	gap: 18px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
}
.wf-gallery__track::-webkit-scrollbar { display: none; }

.wf-gallery__item {
	flex: 0 0 calc((100% - 72px) / 5);
	scroll-snap-align: start;
	text-decoration: none;
	color: #fff;
}
.wf-gallery__media {
	aspect-ratio: 4 / 3;
	background: #23262e;
	overflow: hidden;
	border-radius: var(--wf-radius);
}
.wf-gallery__media img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}
.wf-gallery__item:hover .wf-gallery__media img { transform: scale(1.06); }
.wf-gallery__placeholder {
	display: block; width: 100%; height: 100%;
	background: linear-gradient(135deg, #2a2f3a 0%, #1a1d24 100%);
}
.wf-gallery__caption {
	font-size: .78em;
	line-height: 1.5;
	color: rgba(255,255,255,.68);
	margin: 10px 0 0;
}

/* ==================================================================
   5. Blog
   ================================================================== */
.wf-blog__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 28px;
}
.wf-blog__card {
	background: var(--wf-surface);
	border: 1px solid var(--wf-border);
	border-radius: var(--wf-radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: box-shadow .25s ease, transform .25s ease;
}
.wf-blog__card:hover { box-shadow: 0 14px 34px rgba(20,22,26,.1); transform: translateY(-4px); }
.wf-blog__media { display: block; aspect-ratio: 16 / 9; background: var(--wf-surface-alt); overflow: hidden; }
.wf-blog__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.wf-blog__card:hover .wf-blog__media img { transform: scale(1.05); }
.wf-blog__placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(135deg,#eceef1,#dfe2e7); }
.wf-blog__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.wf-blog__title { font-size: 1.12em; font-weight: 700; margin: 0 0 .5em; line-height: 1.35; }
.wf-blog__title a { color: var(--wf-ink); text-decoration: none; }
.wf-blog__title a:hover { color: var(--wf-accent); }
.wf-blog__excerpt { color: var(--wf-muted); font-size: .9em; line-height: 1.6; margin: 0 0 1em; flex: 1; }
.wf-blog__more { font-size: .78em; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.wf-blog__foot { text-align: center; margin-top: 2.4em; }

/* ==================================================================
   Carousel arrows (shared)
   ================================================================== */
.wf-carousel__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 4;
	width: 40px; height: 40px;
	padding: 0;
	border-radius: 50%;
	border: 1px solid var(--wf-border);
	background: rgba(255,255,255,.95);
	color: var(--wf-ink);
	color: var(--wf-ink);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background-color .2s ease, color .2s ease;
	box-shadow: 0 3px 12px rgba(0,0,0,.12);
}
.wf-carousel__nav:hover { background: var(--wf-accent); color: #fff; border-color: var(--wf-accent); }
.wf-carousel__nav--prev { left: -8px; }
.wf-carousel__nav--next { right: -8px; }

.wf-gallery .wf-carousel__nav {
	background: rgba(20,22,26,.8);
	border-color: rgba(255,255,255,.3);
	color: #fff;
}
.wf-gallery .wf-carousel__nav:hover { background: var(--wf-accent); border-color: var(--wf-accent); }

/* ==================================================================
   Product page (spec table etc.)
   ================================================================== */
.woocommerce div.product { border-top: 1px solid var(--wf-border); padding-top: 1.6em; }
.woocommerce div.product div.images img { border-radius: var(--wf-radius); }
.woocommerce div.product .product_title { font-size: 1.9em; font-weight: 800; line-height: 1.25; margin-bottom: .3em; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--wf-accent); font-size: 1.4em; font-weight: 700; }

.wf-spec-table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: .92em; }
.wf-spec-table th, .wf-spec-table td { padding: .7em .9em; border: 1px solid var(--wf-border); text-align: left; }
.wf-spec-table th { background: var(--wf-surface-alt); font-weight: 600; width: 38%; }
.wf-spec-table tr:nth-child(even) td { background: rgba(244,245,247,.5); }
.wf-spec-heading { font-size: 1.1em; font-weight: 800; margin: 1.4em 0 .2em; text-transform: uppercase; letter-spacing: .05em; }

.wf-fitment-note {
	background: var(--wf-surface-alt);
	border-left: 3px solid var(--wf-accent);
	padding: .9em 1.1em;
	margin: 1.2em 0;
	font-size: .9em;
	color: var(--wf-muted);
}

.wf-loop-spec { font-size: .8em; color: var(--wf-muted); padding: 0 .8em .6em; margin: 0; }

.woocommerce ul.products li.product,
.wc-block-grid__product {
	background: var(--wf-surface);
	border: 1px solid var(--wf-border);
	border-radius: var(--wf-radius);
	overflow: hidden;
	transition: box-shadow .25s ease, transform .25s ease;
}
.woocommerce ul.products li.product:hover,
.wc-block-grid__product:hover { box-shadow: 0 12px 30px rgba(20,22,26,.1); transform: translateY(-3px); }
.woocommerce ul.products li.product img,
.wc-block-grid__product img {
	display: block; width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	background: var(--wf-surface-alt);
	margin-bottom: .9em;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.wc-block-grid__product .wc-block-grid__product-title { font-size: .95em; font-weight: 600; line-height: 1.4; padding: 0 .8em; }

/* ==================================================================
   Fitment finder
   ================================================================== */
.wf-filter-panel { background: var(--wf-surface); border: 1px solid var(--wf-border); border-radius: var(--wf-radius); padding: 1.1em; }
.wf-fitment-finder { margin-bottom: 1.8em; }
.wf-filter-panel h3 { font-size: .95em; font-weight: 800; margin: 0 0 .7em; text-transform: uppercase; letter-spacing: .05em; }
.wf-fitment-form { display: flex; flex-wrap: wrap; gap: .8em; align-items: flex-end; }
.wf-fitment-form label { display: block; font-size: .78em; text-transform: uppercase; letter-spacing: .05em; color: var(--wf-muted); }
.wf-fitment-form select { display: block; margin-top: .3em; padding: .55em .8em; border: 1px solid var(--wf-border); border-radius: var(--wf-radius); min-width: 200px; background: #fff; }
.wf-fitment-form .button { background: var(--wf-accent); color: #fff; border-radius: var(--wf-radius); padding: .62em 1.4em; font-weight: 700; text-transform: uppercase; font-size: .8em; letter-spacing: .04em; }

/* ==================================================================
   Blog archive and post cards
   ================================================================== */
/* Storefront sizes .content-area against .right-sidebar .content-area,
   which has a higher specificity than a single class. Use the id to win. */
#primary.wf-front-page,
#primary.wf-archive {
	width: 100%;
	float: none;
	margin: 0;
}

.wf-archive { padding-top: 2.2em; }

.wf-page-header { margin: 0 0 2.2em; }
.wf-page-header .page-title { font-size: 2.2em; font-weight: 800; margin: 0 0 .35em; }
.wf-page-lead { color: var(--wf-muted); margin: 0; }

.wf-post-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
}
.wf-post-card {
	display: flex;
	flex-direction: column;
	background: var(--wf-surface);
	border: 1px solid var(--wf-border);
	border-radius: var(--wf-radius);
	overflow: hidden;
}
.wf-post-card__media img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	background: var(--wf-surface-alt);
}
.wf-post-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 1.1em 1.2em 1.4em;
}
.wf-post-card .entry-title { font-size: 1.05em; font-weight: 700; line-height: 1.35; margin: 0 0 .5em; }
.wf-post-card .entry-title a { color: var(--wf-ink); }
.wf-post-card .entry-title a:hover { color: var(--wf-accent); }
.wf-post-card .entry-summary { color: var(--wf-muted); font-size: .9em; margin-bottom: 1em; }
.wf-post-card__more {
	margin-top: auto;
	font-size: .78em;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.wf-no-content { color: var(--wf-muted); }

.navigation.pagination { margin-top: 2.4em; }
.navigation.pagination .nav-links { display: flex; gap: .5em; flex-wrap: wrap; }
.navigation.pagination .page-numbers {
	display: inline-block;
	padding: .5em .9em;
	border: 1px solid var(--wf-border);
	border-radius: var(--wf-radius);
	font-size: .85em;
}
.navigation.pagination .page-numbers.current { background: var(--wf-accent); border-color: var(--wf-accent); color: #fff; }

/* ==================================================================
   Footer
   ================================================================== */
.site-footer { background: var(--wf-ink); color: rgba(255,255,255,.68); }
.site-footer a { color: rgba(255,255,255,.82); }
.site-footer a:hover { color: #fff; }
.site-footer .widget-title { color: #fff; font-size: .95em; text-transform: uppercase; letter-spacing: .06em; }

/* ==================================================================
   Responsive
   ================================================================== */
@media (max-width: 1024px) {
	.wf-cats__slide { flex-basis: calc((100% - 26px) / 2); }
	.wf-gallery__item { flex-basis: calc((100% - 54px) / 3); }
	.wf-post-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
	:root { --wf-gutter: 16px; }
	.wf-banner__slide { min-height: 62vh; }
	.wf-banner__content { min-height: 62vh; }
	.wf-banner__heading { font-size: 1.9em; }
	.wf-banner__text { font-size: .95em; }
	.wf-banner__nav { width: 38px; height: 38px; }
	.wf-banner__nav--prev { left: 10px; }
	.wf-banner__nav--next { right: 10px; }
	.wf-section { padding: 2.8em 0; }
	.wf-section__title { font-size: 1.5em; }
	.wf-cats__slide { flex-basis: 100%; }
	.wf-gallery__item { flex-basis: calc((100% - 18px) / 2); }
	.wf-carousel__nav--prev { left: 4px; }
	.wf-carousel__nav--next { right: 4px; }
	.wf-vehicle-select__link { padding-right: 10px; margin-right: 10px; }
	.wf-vehicle-select__label { font-size: .7em; }
	.wf-header-search__input { width: 100px; }
	.wf-post-list { grid-template-columns: 1fr; }
}
