/* ==========================================================================
   AutossparesHub USA — main stylesheet (original design implementation)
   Layout: light gray canvas, dark nav bar, red accents, 4-column card grids.
   ========================================================================== */

:root {
	--ash-red: #d81e2c;
	--ash-red-dark: #b3131f;
	--ash-dark: #1e1e1e;
	--ash-dark-2: #2b2b2b;
	--ash-gray-bg: #efefef;
	--ash-panel: #f7f7f7;
	--ash-line: #d9d9d9;
	--ash-text: #222222;
	--ash-muted: #7a7a7a;
	--ash-white: #ffffff;
	--ash-green: #00b67a;
	--ash-radius: 4px;
	--ash-font: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--ash-condensed: "Roboto Condensed", "Roboto", sans-serif;
	--ash-cols: 4;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--ash-gray-bg);
	color: var(--ash-text);
	font-family: var(--ash-font);
	font-size: 15px;
	line-height: 1.55;
}

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

a { color: var(--ash-red); text-decoration: none; }
a:hover { color: var(--ash-red-dark); }

h1, h2, h3, h4 { font-family: var(--ash-font); line-height: 1.25; margin: 0 0 .6em; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	clip: rect(1px, 1px, 1px, 1px);
	overflow: hidden;
}

.ash-container {
	max-width: 1680px;
	margin: 0 auto;
	padding: 0 28px;
}

.ash-btn {
	display: inline-block;
	padding: 12px 30px;
	border: 0;
	border-radius: var(--ash-radius);
	font-family: var(--ash-condensed);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background .2s ease, color .2s ease;
}

.ash-btn--red { background: var(--ash-red); color: #fff; }
.ash-btn--red:hover { background: var(--ash-red-dark); color: #fff; }

.ash-btn--ghost {
	background: var(--ash-dark-2);
	color: #fff;
}
.ash-btn--ghost:hover { background: var(--ash-dark); color: #fff; }

/* ==========================================================================
   Top bar
   ========================================================================== */

.ash-topbar {
	background: var(--ash-dark);
	color: #cfcfcf;
	font-size: 13px;
}

.ash-topbar-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	min-height: 36px;
}

.ash-topbar-phone {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #fff;
	font-weight: 500;
}
.ash-topbar-phone:hover { color: var(--ash-red); }
.ash-topbar-phone svg { width: 16px; height: 16px; }

/* ==========================================================================
   Header main row
   ========================================================================== */

.ash-header-main {
	background: var(--ash-white);
	border-bottom: 1px solid var(--ash-line);
}

.ash-header-row {
	display: flex;
	align-items: center;
	gap: 40px;
	padding-top: 18px;
	padding-bottom: 18px;
}

/* Logo (editable via Customizer) */
.ash-logo a { display: inline-flex; flex-direction: column; line-height: 1; }
.ash-logo img { max-height: 84px; width: auto; }

.ash-logo--text .ash-logo-main {
	font-family: var(--ash-condensed);
	font-size: 34px;
	font-weight: 700;
	font-style: italic;
	letter-spacing: .01em;
	color: var(--ash-red);
}
.ash-logo--text .ash-logo-main::after {
	content: "";
	display: inline-block;
	width: 46%;
	height: 4px;
	margin-left: 8px;
	background: var(--ash-dark);
	vertical-align: middle;
}
.ash-logo--text .ash-logo-sub {
	font-size: 12px;
	letter-spacing: .55em;
	color: var(--ash-dark);
	margin-top: 6px;
}

/* Search */
.ash-header-search { flex: 1 1 auto; max-width: 780px; }

.ash-header-search form,
.ash-header-search .woocommerce-product-search {
	display: flex;
	width: 100%;
}

.ash-header-search input[type="search"],
.ash-header-search .search-field {
	flex: 1 1 auto;
	height: 52px;
	padding: 0 18px;
	border: 2px solid var(--ash-red);
	border-right: 0;
	border-radius: var(--ash-radius) 0 0 var(--ash-radius);
	font-size: 15px;
	outline: none;
	background: #fff;
	color: var(--ash-text);
}

.ash-header-search button,
.ash-header-search input[type="submit"] {
	flex: 0 0 64px;
	height: 52px;
	border: 0;
	border-radius: 0 var(--ash-radius) var(--ash-radius) 0;
	background: var(--ash-red);
	color: #fff;
	cursor: pointer;
	font-size: 0; /* hide "Search" text, show icon */
	position: relative;
}
.ash-header-search button:hover { background: var(--ash-red-dark); }

.ash-header-search button::after {
	content: "";
	position: absolute;
	inset: 0;
	background: no-repeat center / 22px 22px
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21'/%3E%3C/svg%3E");
}

/* Header tools */
.ash-header-tools {
	display: flex;
	align-items: center;
	gap: 26px;
	margin-left: auto;
}

.ash-tool {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--ash-text);
	position: relative;
}
.ash-tool:hover { color: var(--ash-red); }
.ash-tool svg { width: 30px; height: 30px; }

.ash-tool-lines { display: flex; flex-direction: column; font-size: 13px; line-height: 1.25; }
.ash-tool-label { font-size: 13px; }

.ash-tool-badge {
	position: absolute;
	top: -8px;
	right: -10px;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--ash-red);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 20px;
	text-align: center;
}
.ash-tool-badge:empty,
.ash-tool-badge[data-count="0"] { display: inline-block; }

/* ==========================================================================
   Dark nav bar
   ========================================================================== */

.ash-navbar {
	background: var(--ash-dark);
	position: relative;
	z-index: 60;
}

.ash-navbar-row {
	display: flex;
	align-items: stretch;
	gap: 10px;
	padding-top: 0;
	padding-bottom: 0;
}

.ash-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 30px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ash-menu li { position: relative; }

.ash-menu a {
	display: inline-flex;
	align-items: center;
	padding: 16px 4px;
	color: #fff;
	font-family: var(--ash-condensed);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
}
.ash-menu a:hover,
.ash-menu .current-menu-item > a { color: var(--ash-red); }

.ash-menu .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
	list-style: none;
	margin: 0;
	padding: 8px 0;
	z-index: 70;
}
.ash-menu li:hover > .sub-menu { display: block; }
.ash-menu .sub-menu a { color: var(--ash-text); padding: 9px 18px; text-transform: none; font-weight: 500; }
.ash-menu .sub-menu a:hover { color: var(--ash-red); }

/* ==========================================================================
   Category navigation (both variants share these base styles)
   ========================================================================== */

.ash-catnav { position: relative; }

.ash-catnav-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	padding: 13px 18px;
	background: #e4e4e4;
	border: 1px solid var(--ash-line);
	border-bottom: 0;
	font-family: var(--ash-condensed);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--ash-text);
	cursor: pointer;
}
.ash-catnav-burger svg { width: 20px; height: 20px; display: block; }

.ash-catnav-panel {
	background: #fff;
	border: 1px solid var(--ash-line);
}

.ash-cat-list {
	list-style: none;
	margin: 0;
	padding: 6px 0;
}

.ash-cat-item > a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 9px 18px;
	color: var(--ash-text);
	font-size: 14.5px;
	font-weight: 500;
	border-bottom: 1px solid #f0f0f0;
}
.ash-cat-item:last-child > a { border-bottom: 0; }
.ash-cat-item > a:hover { background: #f5f5f5; color: var(--ash-red); }

.ash-cat-arrow svg { width: 13px; height: 13px; color: #999; }

.ash-cat-item--empty { padding: 12px 18px; color: var(--ash-muted); font-size: 13px; }

/* Flyout with sub-categories */
.ash-flyout {
	display: none;
	position: absolute;
	left: 100%;
	top: 0;
	width: 340px;
	min-height: 100%;
	background: #fff;
	border: 1px solid var(--ash-line);
	box-shadow: 8px 8px 28px rgba(0, 0, 0, .16);
	z-index: 80;
}

.ash-cat-item.has-children:hover > .ash-flyout,
.ash-cat-item.has-children:focus-within > .ash-flyout { display: block; }

.ash-flyout-head {
	padding: 14px 20px;
	font-family: var(--ash-condensed);
	font-weight: 700;
	font-size: 15px;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--ash-red);
	border-bottom: 2px solid var(--ash-red);
}

.ash-flyout-list { list-style: none; margin: 0; padding: 8px 0; }

.ash-flyout-item > a {
	display: block;
	padding: 10px 20px;
	color: var(--ash-text);
	font-weight: 500;
	font-size: 14.5px;
}
.ash-flyout-item > a:hover { background: #f5f5f5; color: var(--ash-red); }

.ash-flyout-sub { list-style: none; margin: 0; padding: 0 0 6px 34px; }
.ash-flyout-sub a {
	display: block;
	padding: 4px 0;
	font-size: 13px;
	color: var(--ash-muted);
}
.ash-flyout-sub a:hover { color: var(--ash-red); }

/* --- Variant: sidebar (homepage, always expanded) --- */
.ash-catnav--sidebar { width: 100%; }
.ash-catnav--sidebar .ash-catnav-panel { display: block; }
.ash-catnav--sidebar.is-collapsed .ash-catnav-panel { display: none; }

/* --- Variant: bar (inner pages, collapsed until hamburger clicked) --- */
.ash-catnav--bar { flex: 0 0 280px; display: none; }
body.ash-is-inner .ash-catnav--bar { display: block; }

.ash-catnav--bar .ash-catnav-toggle {
	height: 100%;
	border: 0;
	padding: 0 22px;
}

.ash-catnav--bar .ash-catnav-panel {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	width: 300px;
	max-height: 70vh;
	overflow-y: auto;
	box-shadow: 0 14px 30px rgba(0, 0, 0, .22);
}
.ash-catnav--bar.is-open .ash-catnav-panel { display: block; }
.ash-catnav--bar .ash-flyout { width: 320px; }

/* ==========================================================================
   Homepage layout
   ========================================================================== */

.ash-home { padding-bottom: 0; }

.ash-home-top {
	display: grid;
	grid-template-columns: 300px 1fr;
	gap: 34px;
	margin-top: 18px;
	align-items: start;
}

.ash-home-cats { position: relative; z-index: 50; }

.ash-home-main { min-width: 0; }

.ash-home-tabs { margin-top: 40px; }

/* Hero slider */
.ash-hero {
	position: relative;
	background: var(--ash-white);
	border: 1px solid var(--ash-line);
	overflow: hidden;
	min-height: 380px;
}

.ash-hero-track {
	display: flex;
	transition: transform .55s ease;
}

.ash-hero-slide {
	flex: 0 0 100%;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 64px 70px;
	min-height: 380px;
}

.ash-hero-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: .16;
}

.ash-hero-inner { position: relative; max-width: 640px; }

.ash-hero-heading {
	font-family: var(--ash-condensed);
	font-size: clamp(30px, 4vw, 52px);
	font-weight: 700;
	color: var(--ash-dark);
	margin-bottom: 14px;
}

.ash-hero-text {
	font-size: clamp(16px, 1.6vw, 21px);
	font-weight: 500;
	color: var(--ash-dark);
	margin: 0 0 26px;
}

.ash-hero-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border: 0;
	background: transparent;
	color: #b5b5b5;
	font-size: 42px;
	line-height: 1;
	cursor: pointer;
	z-index: 5;
}
.ash-hero-arrow:hover { color: var(--ash-red); }
.ash-hero-prev { left: 12px; }
.ash-hero-next { right: 12px; }

.ash-hero-dots {
	position: absolute;
	bottom: 16px;
	left: 0;
	right: 0;
	display: flex;
	justify-content: center;
	gap: 8px;
	z-index: 5;
}

.ash-hero-dot {
	width: 10px;
	height: 10px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: #c6c6c6;
	cursor: pointer;
	transition: all .2s ease;
}
.ash-hero-dot.is-active { width: 22px; background: #f0b41b; }

/* ==========================================================================
   Featured / New tabs + product cards
   ========================================================================== */

.ash-tabs-head {
	display: flex;
	gap: 34px;
	margin-bottom: 26px;
}

.ash-tab {
	background: none;
	border: 0;
	border-bottom: 3px solid transparent;
	padding: 4px 2px;
	font-family: var(--ash-font);
	font-size: 28px;
	font-weight: 400;
	color: #9a9a9a;
	cursor: pointer;
}
.ash-tab.is-active {
	color: var(--ash-text);
	border-bottom-color: var(--ash-text);
}

.ash-tabs-grid,
.ash-id-grid {
	display: grid;
	grid-template-columns: repeat(var(--ash-cols), 1fr);
	gap: 22px;
	min-height: 120px;
}

.ash-tabs-grid.is-loading { opacity: .45; pointer-events: none; }

.ash-card {
	position: relative;
	background: var(--ash-white);
	border: 1px solid var(--ash-line);
	border-radius: var(--ash-radius);
	padding: 16px;
	text-align: center;
	display: flex;
	flex-direction: column;
	transition: box-shadow .2s ease;
}
.ash-card:hover { box-shadow: 0 10px 26px rgba(0, 0, 0, .10); }

.ash-card-media {
	background: #f4f4f4;
	border-radius: var(--ash-radius);
	overflow: hidden;
	margin-bottom: 16px;
}
.ash-card-media img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	transition: transform .3s ease;
}
.ash-card:hover .ash-card-media img { transform: scale(1.04); }

.ash-card-title {
	font-size: 15.5px;
	font-weight: 500;
	line-height: 1.45;
	margin: 0 0 10px;
}
.ash-card-title a { color: var(--ash-text); }
.ash-card-title a:hover { color: var(--ash-red); }

.ash-card-price {
	font-size: 19px;
	font-weight: 700;
	color: var(--ash-text);
}
.ash-card-price del { color: var(--ash-muted); font-weight: 400; font-size: 15px; margin-right: 6px; }

.ash-card-sku {
	margin-top: 8px;
	font-size: 13.5px;
	color: var(--ash-muted);
}

.ash-wish-toggle {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--ash-line);
	border-radius: 999px;
	background: #fff;
	color: #bbb;
	cursor: pointer;
	transition: all .2s ease;
	z-index: 3;
}
.ash-wish-toggle svg { width: 17px; height: 17px; }
.ash-wish-toggle:hover { color: var(--ash-red); border-color: var(--ash-red); }
.ash-wish-toggle.is-active { color: #fff; background: var(--ash-red); border-color: var(--ash-red); }

.ash-wish-single {
	position: static;
	width: auto;
	height: 44px;
	padding: 0 18px;
	gap: 8px;
	margin-left: 10px;
	border-radius: var(--ash-radius);
	font-size: 14px;
	font-weight: 600;
}

.ash-tabs-more { text-align: center; margin: 30px 0 10px; }

/* ==========================================================================
   Reviews strip
   ========================================================================== */

.ash-reviews {
	background: var(--ash-white);
	border-top: 1px solid var(--ash-line);
	margin-top: 60px;
	padding: 54px 0 40px;
}

.ash-reviews-row {
	display: grid;
	grid-template-columns: 300px 1fr;
	gap: 50px;
	align-items: center;
}

.ash-reviews-label {
	font-size: 30px;
	font-weight: 400;
	color: var(--ash-text);
	margin-bottom: 8px;
}

.ash-stars { display: inline-flex; gap: 4px; }
.ash-star {
	width: 30px;
	height: 30px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #dcdcdc;
	color: #fff;
	border-radius: 3px;
}
.ash-star svg { width: 17px; height: 17px; }
.ash-star.is-on { background: var(--ash-green); }

.ash-reviews-based { margin-top: 8px; font-size: 14.5px; color: var(--ash-text); }

.ash-reviews-carousel {
	position: relative;
	overflow: hidden;
	padding: 0 34px;
}

.ash-reviews-track {
	display: flex;
	gap: 34px;
	transition: transform .45s ease;
}

.ash-review-card {
	flex: 0 0 calc(50% - 17px);
	background: var(--ash-panel);
	border: 1px solid var(--ash-line);
	border-radius: var(--ash-radius);
	padding: 22px 24px;
}

.ash-review-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 8px;
}
.ash-review-top .ash-star { width: 22px; height: 22px; }
.ash-review-top .ash-star svg { width: 12px; height: 12px; }

.ash-review-verified {
	font-size: 12.5px;
	color: var(--ash-muted);
	text-decoration: underline;
}

.ash-review-name { font-size: 13.5px; color: var(--ash-text); margin-bottom: 6px; }
.ash-review-title { font-size: 16px; font-weight: 700; margin: 0 0 6px; }
.ash-review-text { font-size: 14px; color: var(--ash-text); margin: 0; }

.ash-rev-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	border-radius: 999px;
	border: 1px solid var(--ash-line);
	background: #fff;
	color: #999;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	z-index: 5;
}
.ash-rev-arrow:hover { color: var(--ash-red); border-color: var(--ash-red); }
.ash-rev-prev { left: -4px; }
.ash-rev-next { right: -4px; }

.ash-reviews-note { margin-top: 22px; font-size: 13.5px; color: var(--ash-text); }

/* ==========================================================================
   Newsletter bar
   ========================================================================== */

.ash-newsletter {
	background: var(--ash-dark);
	padding: 34px 0;
	margin-top: 60px;
}

.ash-newsletter-row {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 18px 34px;
	position: relative;
}

.ash-newsletter-heading {
	color: #fff;
	font-size: 26px;
	font-weight: 700;
	margin: 0;
}

.ash-newsletter-form {
	display: flex;
	width: min(560px, 100%);
}

.ash-newsletter-form input {
	flex: 1 1 auto;
	height: 52px;
	padding: 0 18px;
	border: 0;
	border-radius: var(--ash-radius) 0 0 var(--ash-radius);
	font-size: 15px;
	outline: none;
}

.ash-newsletter-form .ash-btn { border-radius: 0 var(--ash-radius) var(--ash-radius) 0; }

.ash-newsletter-msg {
	flex-basis: 100%;
	text-align: center;
	color: #9fd9a8;
	font-size: 14px;
	min-height: 0;
}
.ash-newsletter-msg.is-error { color: #ff9d9d; }

/* ==========================================================================
   Footer
   ========================================================================== */

.ash-footer {
	background: var(--ash-gray-bg);
	border-top: 1px solid var(--ash-line);
	padding-top: 54px;
	margin-top: 0;
}

.ash-footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
	gap: 40px;
	padding-bottom: 44px;
}

.ash-logo--footer img { max-height: 64px; }
.ash-logo--footer .ash-logo-main { font-size: 26px; }
.ash-logo--footer .ash-logo-sub { font-size: 10px; }

.ash-footer-about { color: var(--ash-muted); font-size: 14px; max-width: 320px; }

.ash-footer-title {
	font-size: 17px;
	font-weight: 700;
	margin-bottom: 18px;
}

.ash-footer-menu { list-style: none; margin: 0; padding: 0; }
.ash-footer-menu li { margin-bottom: 10px; }
.ash-footer-menu li::before {
	content: "•";
	color: var(--ash-red);
	margin-right: 8px;
}
.ash-footer-menu a { color: var(--ash-text); font-size: 14.5px; }
.ash-footer-menu a:hover { color: var(--ash-red); }

.ash-footer-contact { list-style: none; margin: 0; padding: 0; }
.ash-footer-contact li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 12px;
	font-size: 14.5px;
}
.ash-footer-contact svg { width: 17px; height: 17px; flex: 0 0 17px; margin-top: 3px; color: var(--ash-red); }
.ash-footer-contact a { color: var(--ash-text); }

.ash-footer-bar {
	border-top: 1px solid var(--ash-line);
	padding: 18px 0;
	font-size: 13.5px;
	color: var(--ash-muted);
	text-align: center;
}

/* Back to top */
.ash-backtop {
	position: fixed;
	right: 26px;
	bottom: 90px;
	width: 52px;
	height: 52px;
	border: 0;
	border-radius: 6px;
	background: #ececec;
	color: var(--ash-dark);
	cursor: pointer;
	opacity: 0;
	pointer-events: none;
	transition: opacity .25s ease;
	z-index: 90;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .14);
}
.ash-backtop svg { width: 22px; height: 22px; }
.ash-backtop.is-visible { opacity: 1; pointer-events: auto; }
.ash-backtop:hover { background: var(--ash-red); color: #fff; }

/* ==========================================================================
   Inner pages: breadcrumbs, page head
   ========================================================================== */

.ash-main { padding: 22px 0 60px; }

.ash-breadcrumbs {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--ash-muted);
	margin: 0 0 18px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.ash-breadcrumbs a { color: var(--ash-muted); }
.ash-breadcrumbs a:hover { color: var(--ash-red); }
.ash-breadcrumbs .ash-current { color: var(--ash-text); }

.ash-page-head { margin-bottom: 26px; }
.ash-page-title { font-size: 32px; font-weight: 500; margin: 0; }

.ash-entry-content { font-size: 15.5px; }
.ash-entry-content img { border-radius: var(--ash-radius); }

.ash-main-grid {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 44px;
	align-items: start;
}

.ash-sidebar .widget {
	background: #fff;
	border: 1px solid var(--ash-line);
	border-radius: var(--ash-radius);
	padding: 20px;
	margin-bottom: 22px;
}
.ash-sidebar .widget-title { font-size: 16px; margin-bottom: 14px; }
.ash-sidebar ul { margin: 0; padding-left: 18px; }

/* Blog cards */
.ash-post-card {
	background: #fff;
	border: 1px solid var(--ash-line);
	border-radius: var(--ash-radius);
	overflow: hidden;
	margin-bottom: 26px;
	display: grid;
	grid-template-columns: 260px 1fr;
}
.ash-post-thumb img { height: 100%; object-fit: cover; }
.ash-post-body { padding: 22px 26px; }
.ash-post-title { font-size: 21px; }
.ash-post-title a { color: var(--ash-text); }
.ash-post-title a:hover { color: var(--ash-red); }
.ash-meta { display: flex; gap: 16px; color: var(--ash-muted); font-size: 13px; margin-bottom: 12px; }
.ash-post-excerpt { color: #444; margin-bottom: 16px; }

.ash-404 { text-align: center; padding: 60px 0; }
.ash-404 form { max-width: 420px; margin: 20px auto; display: flex; }
.ash-404 input[type="search"] { flex: 1; height: 46px; padding: 0 14px; border: 1px solid var(--ash-line); }
.ash-404 button, .ash-404 input[type="submit"] {
	height: 46px; border: 0; background: var(--ash-red); color: #fff; padding: 0 18px; cursor: pointer;
}

/* ==========================================================================
   WooCommerce: shop / category archive (sub-category layout)
   ========================================================================== */

.ash-wc-main { padding: 22px 0 60px; }

.ash-wc-main .woocommerce-products-header__title,
.ash-wc-main .woocommerce-products-header .page-title {
	font-size: 32px;
	font-weight: 500;
	margin: 0 0 14px;
}

.ash-wc-main .term-description,
.ash-wc-main .woocommerce-products-header .term-description {
	font-size: 15.5px;
	max-width: 980px;
	margin-bottom: 22px;
}

/* Toolbar */
.ash-archive-tools { margin-bottom: 24px; }

.ash-tool-filter input {
	width: 100%;
	height: 52px;
	padding: 0 18px;
	border: 1px solid var(--ash-line);
	border-radius: var(--ash-radius);
	font-size: 15px;
	background: #fff;
	outline: none;
}
.ash-tool-filter input:focus { border-color: var(--ash-red); }

.ash-tool-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 14px;
}

.ash-tool-sort .woocommerce-ordering { margin: 0; }
.ash-tool-sort select,
.ash-tool-perpage select {
	height: 46px;
	padding: 0 14px;
	border: 1px solid var(--ash-line);
	border-radius: var(--ash-radius);
	background: #fff;
	font-size: 14.5px;
	color: var(--ash-text);
}

.ash-tool-cols {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14.5px;
}

.ash-col-btn {
	width: 46px;
	height: 46px;
	border: 1px solid var(--ash-line);
	border-radius: var(--ash-radius);
	background: #fff;
	font-size: 15px;
	cursor: pointer;
}
.ash-col-btn.is-active { border: 2px solid var(--ash-dark); font-weight: 700; }
.ash-col-btn:hover { border-color: var(--ash-red); color: var(--ash-red); }

.ash-tool-perpage { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }

/* Product loop */
.ash-wc-main ul.products {
	display: grid;
	grid-template-columns: repeat(var(--ash-cols), 1fr);
	gap: 22px;
	margin: 0;
	padding: 0;
}
.ash-wc-main ul.products::before,
.ash-wc-main ul.products::after { display: none; }

.ash-wc-main ul.products li.product {
	position: relative;
	float: none;
	width: auto;
	margin: 0;
	padding: 16px;
	background: #fff;
	border: 1px solid var(--ash-line);
	border-radius: var(--ash-radius);
	text-align: center;
	transition: box-shadow .2s ease;
}
.ash-wc-main ul.products li.product:hover { box-shadow: 0 10px 26px rgba(0, 0, 0, .10); }

.ash-wc-main ul.products li.product a img {
	margin: 0 0 16px;
	border-radius: var(--ash-radius);
	background: #f4f4f4;
}

.ash-wc-main ul.products li.product .woocommerce-loop-product__title {
	font-size: 15.5px;
	font-weight: 500;
	padding: 0;
	color: var(--ash-text);
}

.ash-wc-main ul.products li.product .price {
	font-size: 19px;
	font-weight: 700;
	color: var(--ash-text);
	margin-bottom: 4px;
}
.ash-wc-main ul.products li.product .price del { color: var(--ash-muted); font-weight: 400; font-size: 15px; }

.ash-loop-sku { font-size: 13.5px; color: var(--ash-muted); margin-bottom: 12px; }

.ash-wc-main ul.products li.product .button,
.ash-wc-main ul.products li.product .add_to_cart_button,
.ash-wc-main ul.products li.product .added_to_cart {
	display: inline-block;
	margin-top: 6px;
	padding: 11px 22px;
	background: var(--ash-red);
	color: #fff;
	border-radius: var(--ash-radius);
	font-family: var(--ash-condensed);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
}
.ash-wc-main ul.products li.product .button:hover { background: var(--ash-red-dark); color: #fff; }

.ash-wish-loop { top: 10px; right: 10px; }

.ash-wc-main ul.products li.product .onsale {
	position: absolute;
	top: 10px;
	left: 10px;
	background: var(--ash-red);
	color: #fff;
	border-radius: 3px;
	padding: 4px 10px;
	font-size: 12px;
	font-weight: 700;
	min-height: 0;
	line-height: 1.4;
	z-index: 2;
}

/* WooCommerce notices / messages */
.ash-wc-main .woocommerce-message,
.ash-wc-main .woocommerce-info,
.ash-wc-main .woocommerce-error {
	border-top-color: var(--ash-red);
}

/* Single product */
.ash-wc-main div.product {
	background: #fff;
	border: 1px solid var(--ash-line);
	border-radius: var(--ash-radius);
	padding: 30px;
}
.ash-wc-main div.product .summary .price { font-size: 26px; font-weight: 700; color: var(--ash-text); }
.ash-wc-main div.product .product_title { font-size: 28px; font-weight: 500; }
.ash-wc-main div.product form.cart .button.single_add_to_cart_button {
	background: var(--ash-red);
	border-radius: var(--ash-radius);
	padding: 14px 34px;
	font-family: var(--ash-condensed);
	font-size: 15px;
	letter-spacing: .05em;
}
.ash-wc-main div.product form.cart .button.single_add_to_cart_button:hover { background: var(--ash-red-dark); }

.ash-wc-main div.product .woocommerce-tabs ul.tabs li a { color: var(--ash-text); }
.ash-wc-main div.product .woocommerce-tabs ul.tabs li.active a { color: var(--ash-red); }

.ash-wc-main .related.products > h2,
.ash-wc-main .upsells.products > h2 { font-size: 22px; }

/* Cart / checkout / account polish */
.ash-wc-main .woocommerce-cart-form,
.ash-wc-main .woocommerce-checkout,
.ash-wc-main .woocommerce-MyAccount-content,
.ash-wc-main .woocommerce-MyAccount-navigation {
	background: #fff;
	border: 1px solid var(--ash-line);
	border-radius: var(--ash-radius);
	padding: 24px;
}
.ash-wc-main #respond input#submit,
.ash-wc-main a.button,
.ash-wc-main button.button,
.ash-wc-main input.button,
.ash-wc-main button.button.alt {
	background: var(--ash-red);
	color: #fff;
	border-radius: var(--ash-radius);
}
.ash-wc-main #respond input#submit:hover,
.ash-wc-main a.button:hover,
.ash-wc-main button.button:hover,
.ash-wc-main input.button:hover { background: var(--ash-red-dark); color: #fff; }

.ash-wc-main .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; }
.ash-wc-main .woocommerce-MyAccount-navigation li { border-bottom: 1px solid #f0f0f0; }
.ash-wc-main .woocommerce-MyAccount-navigation a { display: block; padding: 10px 4px; color: var(--ash-text); }
.ash-wc-main .woocommerce-MyAccount-navigation li.is-active a,
.ash-wc-main .woocommerce-MyAccount-navigation a:hover { color: var(--ash-red); }

/* Wishlist / recently viewed pages */
.ash-id-grid { margin-top: 20px; }
.ash-id-empty { grid-column: 1 / -1; color: var(--ash-muted); }

/* ==========================================================================
   Builder template / blocks
   ========================================================================== */

.ash-builder-content > * { margin-left: auto; margin-right: auto; }
.ash-builder-content > .alignwide { max-width: 1400px; }
.ash-builder-content > .alignfull { max-width: none; }

.ash-block { margin: 0 auto 26px; }

/* Comments */
.ash-comments { margin-top: 40px; }
.ash-comment-list { list-style: none; padding: 0; }
.ash-comment-list .comment-body {
	background: #fff;
	border: 1px solid var(--ash-line);
	border-radius: var(--ash-radius);
	padding: 16px 20px;
	margin-bottom: 14px;
}
.ash-comments .comment-form input:not([type="submit"]),
.ash-comments .comment-form textarea {
	width: 100%;
	border: 1px solid var(--ash-line);
	border-radius: var(--ash-radius);
	padding: 10px 14px;
}
.ash-comments .comment-form .submit {
	background: var(--ash-red);
	border: 0;
	color: #fff;
	padding: 12px 26px;
	border-radius: var(--ash-radius);
	cursor: pointer;
}

/* Mobile drawer */
.ash-mobile-toggle {
	display: none;
	margin-left: auto;
	background: none;
	border: 0;
	color: #fff;
	cursor: pointer;
	padding: 12px 6px;
}
.ash-mobile-toggle svg { width: 26px; height: 26px; }

.ash-mobile-drawer {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: none;
}
.ash-mobile-drawer.is-open { display: block; }
.ash-mobile-drawer::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .45);
}
.ash-mobile-drawer-inner {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: min(340px, 88vw);
	background: #fff;
	overflow-y: auto;
	padding: 18px;
}
.ash-mobile-close {
	background: none;
	border: 0;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
	margin-bottom: 12px;
}
.ash-mobile-drawer .ash-catnav--sidebar { margin-bottom: 20px; }
.ash-mobile-drawer .ash-catnav--sidebar .ash-catnav-panel { display: block; }
.ash-mobile-drawer .ash-flyout {
	position: static;
	width: auto;
	min-height: 0;
	box-shadow: none;
	display: none;
}
.ash-mobile-drawer .ash-cat-item.has-children.is-open > .ash-flyout { display: block; }
.ash-menu--mobile { flex-direction: column; gap: 0; }
.ash-menu--mobile a { color: var(--ash-text); padding: 12px 4px; display: block; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1200px) {
	:root { --ash-cols: 3; }
	.ash-reviews-row { grid-template-columns: 240px 1fr; gap: 30px; }
	.ash-home-top { grid-template-columns: 260px 1fr; }
}

@media (max-width: 992px) {
	:root { --ash-cols: 2; }

	.ash-header-row { flex-wrap: wrap; gap: 16px; }
	.ash-header-search { order: 3; flex-basis: 100%; max-width: none; }
	.ash-logo img { max-height: 56px; }

	.ash-navbar-row .ash-primary-menu { display: none; }
	.ash-mobile-toggle { display: inline-flex; }
	.ash-catnav--bar { flex-basis: 220px; }

	.ash-home-top { grid-template-columns: 1fr; }
	.ash-home-cats { display: none; } /* categories live in the mobile drawer */
	body.ash-is-home .ash-catnav--bar { display: block; flex: 0 0 100%; }
	body.ash-is-home .ash-catnav--bar .ash-catnav-panel { width: 100%; max-width: 420px; }

	.ash-reviews-row { grid-template-columns: 1fr; }
	.ash-review-card { flex-basis: 100%; }
	.ash-rev-prev { left: 4px; }
	.ash-rev-next { right: 4px; }

	.ash-footer-grid { grid-template-columns: 1fr 1fr; }
	.ash-main-grid { grid-template-columns: 1fr; }
	.ash-post-card { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	:root { --ash-cols: 1; }

	.ash-container { padding: 0 16px; }
	.ash-header-tools { gap: 16px; }
	.ash-tool svg { width: 24px; height: 24px; }
	.ash-tool-lines, .ash-tool-label { display: none; }
	.ash-hero-slide { padding: 44px 26px; }
	.ash-tab { font-size: 22px; }
	.ash-tool-row { flex-direction: column; align-items: stretch; }
	.ash-newsletter-heading { font-size: 21px; }
	.ash-footer-grid { grid-template-columns: 1fr; }
	.ash-wc-main div.product { padding: 18px; }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
	.ash-hero-track,
	.ash-reviews-track { transition: none; }
}
