@font-face{font-family:"Barlow";font-style:normal;font-weight:400;font-display:swap;src:url("fonts/barlow-400.woff2") format("woff2");}
@font-face{font-family:"Barlow";font-style:normal;font-weight:500;font-display:swap;src:url("fonts/barlow-500.woff2") format("woff2");}
@font-face{font-family:"Barlow";font-style:normal;font-weight:600;font-display:swap;src:url("fonts/barlow-600.woff2") format("woff2");}
@font-face{font-family:"Barlow Condensed";font-style:normal;font-weight:600;font-display:swap;src:url("fonts/barlow-condensed-600.woff2") format("woff2");}
@font-face{font-family:"Barlow Condensed";font-style:normal;font-weight:700;font-display:swap;src:url("fonts/barlow-condensed-700.woff2") format("woff2");}
/* Axlewood Auto Parts - the demo store's own stylesheet (installed by infra/shop_layout.py; the @font-face rules
   for Barlow are added in front of this file at install time, with the font files beside it).
   Navy, steel and paper; the vehicle search's own red stays the only loud colour on a page. */

:root {
	--ax-navy: #17293b;
	--ax-steel: #5b6b7a;
	--ax-paper: #f1f4f6;
	--ax-line: #d8dee4;
	--ax-ink: #1c2733;
	--ax-signal: #f2b705;
}

body,
button,
input,
select,
textarea {
	font-family: "Barlow", "Segoe UI", Arial, sans-serif;
	color: var(--ax-ink);
}

body {
	font-size: 17px;
	line-height: 1.55;
}

h1,
h2,
h3,
.site-title,
.section-title,
.woocommerce-loop-category__title {
	font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
	font-weight: 600;
	letter-spacing: 0.005em;
	color: var(--ax-navy);
}

a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible {
	outline: 3px solid var(--ax-signal);
	outline-offset: 2px;
}

/* ---- the demo notice ---- */
.ax-demo {
	background: var(--ax-signal);
	color: #1b1b1b;
	font-size: 15px;
	line-height: 1.35;
	padding: 8px 16px;
	text-align: center;
}

.ax-demo a {
	color: #1b1b1b;
	font-weight: 600;
	text-decoration: underline;
	white-space: nowrap;
}

/* ---- header ---- */
.site-header {
	background: var(--ax-navy);
	border-bottom: 0;
	padding-top: 1.4em;
	margin-bottom: 0;
}

.site-header .site-branding {
	margin-bottom: 0.6em;
}

.site-header .site-title {
	font-size: 2.1em;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0;
}

.site-header .site-title a {
	color: #fff;
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
}

.site-header .site-title a::before {
	content: "";
	width: 1.5em;
	height: 0.7em;
	flex: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 28'%3E%3Cpath d='M18 14h24' stroke='%23fff' stroke-width='5' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='14' r='9' fill='none' stroke='%23fff' stroke-width='5'/%3E%3Ccircle cx='48' cy='14' r='9' fill='none' stroke='%23fff' stroke-width='5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.site-header .site-description {
	color: #b9c6d2;
	font-size: 0.95em;
	margin-top: 0.35em;
}

.site-header .main-navigation ul.menu > li > a,
.site-header .main-navigation ul.nav-menu > li > a {
	color: #fff;
	font-weight: 500;
	padding: 1em 0.9em;
}

.site-header .main-navigation ul.menu > li.current-menu-item > a,
.site-header .main-navigation ul.menu > li > a:hover {
	color: #fff;
	box-shadow: inset 0 -3px 0 var(--ax-signal);
}

.site-header .site-header-cart .cart-contents,
.site-header .site-header-cart .cart-contents:hover {
	color: #fff;
}

.site-header .site-search .widget_product_search form input[type="search"] {
	background: #fff;
	border-radius: 3px;
	box-shadow: none;
	color: var(--ax-ink);
}

.storefront-breadcrumb {
	margin-bottom: 1.6em;
	padding: 0.9em 0;
	font-size: 0.9em;
	color: var(--ax-steel);
}

@media (max-width: 767px) {
	.site-header .menu-toggle {
		color: #fff;
		border-color: #fff;
	}

	.site-header .main-navigation ul.menu > li > a {
		padding: 0.8em 0;
	}
}

/* ---- home: the vehicle search is the page's opening ---- */
.home.page-template-template-homepage .site-main > .type-page,
.home .hentry {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: 0;
}

.ax-hero {
	background: var(--ax-navy);
	box-shadow: 0 0 0 100vmax var(--ax-navy);
	clip-path: inset(0 -100vmax);
	color: #fff;
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 3em;
	align-items: center;
	padding: 2.2em 0 3.4em;
	margin-bottom: 3.2em;
}

.ax-hero h1 {
	color: #fff;
	font-size: clamp(2.6rem, 5.2vw, 4.4rem);
	font-weight: 700;
	line-height: 0.98;
	margin: 0 0 0.35em;
}

.ax-hero p {
	color: #c6d1db;
	font-size: 1.15em;
	max-width: 30em;
	margin: 0 0 1em;
}

.ax-hero ul {
	list-style: none;
	margin: 0;
	padding: 0;
	color: #c6d1db;
}

.ax-hero li {
	border-top: 1px solid #2f4760;
	padding: 0.55em 0;
}

.ax-hero li strong {
	color: #fff;
	font-weight: 600;
}

.ax-hero-search {
	color: var(--ax-ink);
}

@media (max-width: 900px) {
	.ax-hero {
		grid-template-columns: minmax(0, 1fr);
		gap: 1.6em;
		padding: 1.4em 0 2.2em;
	}
}

.storefront-product-section {
	border-bottom: 0;
	margin-bottom: 2.6em;
	padding-bottom: 0;
}

.storefront-product-section .section-title {
	font-size: 2em;
	text-align: left;
	margin-bottom: 0.8em;
	padding-bottom: 0.3em;
	border-bottom: 2px solid var(--ax-navy);
}

/* ---- department tiles and product cards ---- */
ul.products li.product {
	text-align: left;
}

ul.products li.product img {
	border-radius: 4px;
	margin-bottom: 0.7em;
}

ul.products li.product .woocommerce-loop-product__title,
ul.products li.product h2 {
	font-family: "Barlow", "Segoe UI", Arial, sans-serif;
	font-size: 1em;
	font-weight: 500;
	line-height: 1.3;
	color: var(--ax-ink);
	margin-bottom: 0.3em;
}

ul.products li.product .woocommerce-loop-category__title {
	font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
	font-size: 1.35em;
	font-weight: 600;
	color: var(--ax-navy);
}

ul.products li.product .woocommerce-loop-category__title .count {
	background: none;
	color: var(--ax-steel);
	font-family: "Barlow", "Segoe UI", Arial, sans-serif;
	font-size: 0.7em;
	font-weight: 400;
}

ul.products li.product .price {
	color: var(--ax-navy);
	font-size: 1.1em;
	font-weight: 600;
	margin-bottom: 0.6em;
}

ul.products li.product .price del {
	color: var(--ax-steel);
	font-weight: 400;
}

ul.products li.product .onsale,
.single-product div.product .onsale {
	background: var(--ax-signal);
	border: 0;
	border-radius: 3px;
	color: #1b1b1b;
	font-weight: 600;
}

ul.products li.product .button,
.single-product div.product form.cart .button,
.woocommerce-cart .button,
.widget_shopping_cart .button {
	background: var(--ax-navy);
	border-radius: 3px;
	color: #fff;
	font-weight: 600;
}

ul.products li.product .button:hover,
.single-product div.product form.cart .button:hover {
	background: #0f1d2b;
	color: #fff;
}

/* ---- shop: department links ---- */
.ax-depts {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 8px;
	margin: 0 0 1.4em;
	width: 100%;
}

.ax-depts a {
	border: 1px solid var(--ax-line);
	border-radius: 3px;
	color: var(--ax-navy);
	font-size: 0.92em;
	font-weight: 500;
	padding: 0.3em 0.8em;
	text-decoration: none;
}

.ax-depts a:hover {
	border-color: var(--ax-navy);
}

.ax-depts a[aria-current="page"] {
	background: var(--ax-navy);
	border-color: var(--ax-navy);
	color: #fff;
}

.woocommerce-products-header__title.page-title {
	font-size: 2.6em;
	text-align: left;
}

/* ---- product page ---- */
.single-product div.product .product_title {
	font-size: 2.3em;
	line-height: 1.08;
}

.single-product div.product p.price {
	color: var(--ax-navy);
	font-size: 1.6em;
	font-weight: 600;
}

.ax-fitcheck {
	clear: both;
	margin: 1.4em 0;
}

.ax-universal {
	background: var(--ax-paper);
	border-left: 4px solid var(--ax-steel);
	color: var(--ax-ink);
	margin: 1.2em 0;
	padding: 0.7em 1em;
}

.ax-closed {
	background: var(--ax-paper);
	border-left: 4px solid var(--ax-signal);
	margin: 0;
	padding: 0.8em 1em;
}

/* ---- footer ---- */
.site-footer {
	background: var(--ax-paper);
	color: var(--ax-ink);
	padding-top: 2.4em;
}

.ax-foot {
	max-width: 46em;
	padding-bottom: 2.4em;
}

.ax-foot p {
	margin: 0 0 0.6em;
}

.ax-foot a {
	color: var(--ax-navy);
	font-weight: 600;
	text-decoration: underline;
}

/* ---- corrections after the first look in a browser (2026-11-14) ---- */
.home.page-template-template-homepage .site-main,
.home.page-template-template-homepage .site-main > .type-page {
	padding-top: 0;
	margin-top: 0;
}

.home.page-template-template-homepage .entry-content,
.home.page-template-template-homepage .entry-content .ax-hero {
	max-width: none;
	margin-left: 0;
	margin-right: 0;
	text-align: left;
}

.home.page-template-template-homepage .entry-content .ax-hero {
	margin-bottom: 3.2em;
}

.site-header .main-navigation ul.menu > li > a,
.site-header .main-navigation ul.nav-menu > li > a {
	padding-left: 0.75em;
	padding-right: 0.75em;
}

/* the vehicle bar gets its own row under the sorting line instead of squeezing beside it */
.storefront-sorting .fdh-vbar {
	clear: both;
	float: none;
	width: 100%;
	margin: 0.9em 0;
}

.woocommerce-products-header {
	padding-bottom: 1.2em;
}

/* on a phone the search comes straight after the headline; the three lines of detail are for wide screens */
@media (max-width: 900px) {
	.ax-hero ul {
		display: none;
	}
}

/* one product, one page: no previous/next tabs at the edges, no second add-to-cart bar */
.storefront-product-pagination,
.storefront-sticky-add-to-cart {
	display: none !important;
}
