/* ==========================================================
   Electroweld theme styles
   Colours, type and spacing taken from the original site.
   ========================================================== */

:root {
	--ew-red: #DF1D16;
	--ew-red-dark: #B9150F;
	--ew-price: #DC2626;
	--ew-ink: #23272F;
	--ew-black: #09090B;
	--ew-panel: #111111;
	--ew-grey: #F3F4F6;
	--ew-border: #E5E7EB;
	--ew-muted: #6B7280;
	--ew-tint: #FDE9E8;
	--ew-white: #FFFFFF;
	--ew-green: #10B981;
	--ew-head: "Oswald", "Arial Narrow", system-ui, sans-serif;
	--ew-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
	--ew-mono: "JetBrains Mono", ui-monospace, monospace;
	--ew-wide: 1400px;
	--ew-shadow-sm: 0 1px 2px rgba(0,0,0,.05);
	--ew-shadow-md: 0 4px 12px rgba(0,0,0,.12);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--ew-white);
	color: var(--ew-ink);
	font-family: var(--ew-body);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; border-radius: 0 !important; }
a { color: var(--ew-red); text-decoration: none; }
a:hover, a:focus { color: var(--ew-red-dark); }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--ew-head);
	text-transform: uppercase;
	color: var(--ew-ink);
	line-height: 1.25;
	margin: 0 0 .6em;
}
h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 600; letter-spacing: .02em; }
h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 600; letter-spacing: .02em; }
h3 { font-size: 20px; font-weight: 500; letter-spacing: .02em; }
input, select, textarea, button { font-family: var(--ew-body); font-size: 15px; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=search], select, textarea {
	border: 1px solid var(--ew-border);
	background: #fff;
	color: var(--ew-ink);
	padding: 10px 12px;
	min-height: 42px;
	width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--ew-red); outline-offset: -1px; border-color: var(--ew-red); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 1000; background: #fff; padding: 10px 14px; }

.ew-container, .site-main, .page-header, .page-content, .site-main > .page-content {
	width: 100%;
	max-width: var(--ew-wide);
	margin-left: auto;
	margin-right: auto;
	padding-left: 32px;
	padding-right: 32px;
}
.site-main { padding-top: 32px; padding-bottom: 64px; }
.site-main .page-content { padding-left: 0; padding-right: 0; }
@media (max-width: 767px) {
	.ew-container, .site-main, .page-header, .page-content { padding-left: 16px; padding-right: 16px; }
}

/* ---------- Buttons ---------- */
.ew-btn,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .wp-element-button, .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: var(--ew-red);
	color: #fff;
	border: 2px solid var(--ew-red);
	font-family: var(--ew-head);
	font-weight: 600;
	font-size: 15px;
	letter-spacing: .03em;
	text-transform: uppercase;
	line-height: 1.2;
	padding: 12px 22px;
	cursor: pointer;
	transition: background .15s, border-color .15s, color .15s;
}
.ew-btn:hover, .ew-btn:focus,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover {
	background: var(--ew-red-dark);
	border-color: var(--ew-red-dark);
	color: #fff;
}
.ew-btn--sm { font-size: 12px; padding: 6px 12px; border-width: 1px; }
.ew-btn--ghost { background: transparent; color: var(--ew-red); }
.ew-btn--ghost:hover { background: var(--ew-red); color: #fff; }
.ew-btn--dark { background: var(--ew-ink); border-color: var(--ew-ink); }
.ew-btn--arrow::after {
	content: "";
	width: 34px; height: 100%;
	margin: -12px -22px -12px 14px;
	padding: 12px 0;
	background: var(--ew-black) 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'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 18px no-repeat;
	clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
	align-self: stretch;
}

/* ---------- Header: top strip ---------- */
.ew-top { background: #fff; border-bottom: 1px solid var(--ew-border); }
.ew-top__inner {
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 0 32px;
}
.ew-top__msg {
	font-family: var(--ew-head);
	font-weight: 600;
	font-size: 13px;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--ew-ink);
}

/* ---------- Header: red band ---------- */
.ew-band {
	position: relative;
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 100px;
	background: var(--ew-red);
	padding: 0 32px 0 322px;
}
.ew-band__logo {
	position: absolute;
	left: 0; top: 0; bottom: 0;
	width: 290px;
	background: var(--ew-panel);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
	padding-right: 24px;
}
.ew-band__logo .custom-logo { max-height: 56px; width: auto; }
.ew-band__phone { font-size: 11px; padding: 4px 10px; }
.ew-band__phone .ew-ico { width: 13px; height: 13px; }
.ew-wordmark { display: flex; flex-direction: column; color: #fff; line-height: 1; }
.ew-wordmark:hover { color: #fff; }
.ew-wordmark__name { font-family: var(--ew-head); font-weight: 700; font-size: 28px; letter-spacing: .08em; }
.ew-wordmark__sub { font-family: var(--ew-head); font-weight: 500; font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; margin-top: 6px; color: rgba(255,255,255,.85); }

.ew-search { flex: 1; display: flex; max-width: 900px; }
.ew-search input[type=search] { height: 44px; border: 0; padding-right: 12px; font-size: 15px; }
.ew-search button {
	width: 52px; height: 44px; border: 0;
	background: #fff; color: var(--ew-ink); cursor: pointer;
	display: grid; place-items: center;
	border-left: 1px solid var(--ew-border);
}
.ew-search button:hover { color: var(--ew-red); }

.ew-band__actions { display: flex; align-items: center; gap: 22px; }
.ew-band__link {
	display: flex; align-items: center; gap: 8px;
	color: #fff;
	font-family: var(--ew-head); font-weight: 600; font-size: 16px;
	letter-spacing: .03em; text-transform: uppercase;
	position: relative;
}
.ew-band__link:hover { color: #fff; opacity: .85; }
.ew-band__link .ew-ico { width: 26px; height: 26px; }
.ew-cart-count {
	position: absolute; left: 16px; top: -8px;
	min-width: 18px; height: 18px; padding: 0 4px;
	background: #fff; color: var(--ew-red);
	font: 700 11px/18px var(--ew-body);
	text-align: center;
}
.ew-cart-count[data-count="0"] { display: none; }
.ew-band__menu { display: none; background: none; border: 0; color: #fff; padding: 6px; cursor: pointer; }
.ew-band__menu .ew-ico { width: 28px; height: 28px; }

/* ---------- Header: category bar + mega menu ---------- */
.ew-cats { background: var(--ew-red); border-top: 1px solid rgba(255,255,255,.15); position: relative; z-index: 50; }
.ew-cats__inner { position: relative; padding: 0 32px; }
.ew-cats__close { display: none; }
.ew-cats__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.ew-cats__item--more { margin-left: auto; }
.ew-cats__item--more > .ew-cats__link::after { content: "\25BE"; margin-left: 6px; font-size: 11px; }
.ew-cats__item { position: static; }
.ew-cats__link {
	display: block;
	padding: 10px 11px;
	color: #fff;
	font-family: var(--ew-head); font-weight: 600; font-size: 14.5px;
	letter-spacing: .02em; text-transform: uppercase;
	position: relative;
}
.ew-cats__item + .ew-cats__item > .ew-cats__link::before {
	content: ""; position: absolute; left: 0; top: 12px; bottom: 12px;
	width: 1px; background: rgba(255,255,255,.35);
}
.ew-cats__link:hover, .ew-cats__item:hover > .ew-cats__link, .ew-cats__item.is-current > .ew-cats__link {
	color: #fff; background: rgba(0,0,0,.18);
}
.ew-mega {
	display: none;
	position: absolute; left: 0; right: 0; top: 100%;
	background: #fff;
	border-top: 3px solid var(--ew-red);
	box-shadow: 0 18px 40px rgba(0,0,0,.18);
}
.ew-cats__item.has-mega:hover > .ew-mega,
.ew-cats__item.has-mega:focus-within > .ew-mega { display: block; }
.ew-mega__inner { max-width: var(--ew-wide); margin: 0 auto; padding: 24px 32px 28px; }
.ew-mega__cols {
	list-style: none; margin: 0 0 20px; padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
	gap: 0;
	border-left: 1px solid var(--ew-border);
}
.ew-mega__col { border-right: 1px solid var(--ew-border); padding: 0 0 12px; }
.ew-mega__head {
	display: block;
	background: var(--ew-black); color: #fff;
	font-family: var(--ew-head); font-weight: 600; font-size: 13px;
	letter-spacing: .04em; text-transform: uppercase;
	padding: 9px 12px; margin-bottom: 8px;
}
.ew-mega__head:hover { background: var(--ew-red); color: #fff; }
.ew-mega__links { list-style: none; margin: 0; padding: 0 12px; }
.ew-mega__links a { display: block; padding: 3px 0; color: var(--ew-ink); font-size: 14px; }
.ew-mega__links a:hover { color: var(--ew-red); }
.ew-mega__all { font-size: 13px; }

/* ---------- Header: tablet and mobile ---------- */
@media (max-width: 1100px) {
	.ew-band { padding-left: 262px; }
	.ew-band__logo { width: 240px; }
	.ew-band__link span:not(.ew-cart-count) { display: none; }
}
@media (max-width: 900px) {
	.ew-top__msg { display: none; }
	.ew-top__inner { padding: 0 16px; }
	.ew-band { flex-wrap: wrap; padding: 12px 16px; min-height: 0; gap: 12px; }
	.ew-band__logo { position: static; width: auto; clip-path: none; background: transparent; padding: 0; flex-direction: row; gap: 12px; margin-right: auto; }
	.ew-wordmark__name { font-size: 22px; }
	.ew-band__phone { display: none; }
	.ew-search { order: 3; flex-basis: 100%; max-width: none; }
	.ew-band__menu { display: block; }
	.ew-cats {
		position: fixed; inset: 0 25% 0 0; min-width: 280px;
		background: #fff; overflow-y: auto;
		transform: translateX(-105%); transition: transform .25s;
		box-shadow: 0 0 40px rgba(0,0,0,.35); z-index: 1000;
	}
	body.ew-menu-open .ew-cats { transform: none; }
	body.ew-menu-open::after { content: ""; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 999; }
	.ew-cats__inner { padding: 56px 0 24px; }
	.ew-cats__close { display: block; position: absolute; right: 10px; top: 10px; background: none; border: 0; padding: 6px; cursor: pointer; color: var(--ew-ink); }
	.ew-cats__list { display: block; }
	.ew-cats__link { color: var(--ew-ink); border-bottom: 1px solid var(--ew-border); padding: 13px 18px; font-size: 16px; }
	.ew-cats__item + .ew-cats__item > .ew-cats__link::before { display: none; }
	.ew-cats__link:hover, .ew-cats__item:hover > .ew-cats__link { background: var(--ew-grey); color: var(--ew-red); }
	.ew-cats__item.has-mega > .ew-cats__link { padding-right: 48px; }
	.ew-cats__item.has-mega > .ew-cats__link::after {
		content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
		font-size: 20px; color: var(--ew-red);
	}
	.ew-cats__item.has-mega.is-open > .ew-cats__link::after { content: "–"; }
	.ew-cats__item.has-mega:hover > .ew-mega { display: none; }
	.ew-cats__item.has-mega.is-open > .ew-mega { display: block; position: static; box-shadow: none; border-top: 0; }
	.ew-mega__inner { padding: 8px 18px 16px; }
	.ew-mega__cols { grid-template-columns: 1fr; border-left: 0; }
	.ew-mega__col { border-right: 0; }
}

/* ---------- Page titles and breadcrumbs ---------- */
.woocommerce-breadcrumb, .ew-breadcrumb {
	font-size: 13px; color: var(--ew-muted);
	margin: 0 0 14px !important;
}
.woocommerce-breadcrumb a { color: var(--ew-muted); }
.woocommerce-breadcrumb a:hover { color: var(--ew-red); }
.woocommerce-products-header__title, .page-title, .entry-title, .product_title {
	font-family: var(--ew-head); font-weight: 600;
	text-transform: uppercase; letter-spacing: .02em;
}
.ew-shop { padding-top: 28px; padding-bottom: 64px; }

/* ---------- Shop layout ---------- */
.ew-shop__layout { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start; }
.ew-shop__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
.ew-shop__bar .woocommerce-result-count { margin: 0; font-size: 14px; color: var(--ew-muted); float: none; }
.ew-shop__bar .woocommerce-ordering { margin: 0; float: none; }
.ew-shop__bar .woocommerce-ordering select { width: auto; min-width: 210px; }
@media (max-width: 900px) {
	.ew-shop__layout { grid-template-columns: 1fr; }
	.ew-shop__side { order: 2; }
}

.ew-filters__head {
	font-size: 14px; letter-spacing: .06em; margin: 0 0 12px;
	padding-bottom: 10px; border-bottom: 2px solid var(--ew-ink);
}
.ew-filter { border-bottom: 1px solid var(--ew-border); padding: 14px 0; }
.ew-filter__title { font-size: 13px; font-weight: 600; letter-spacing: .05em; margin: 0 0 10px; }
.ew-filter__list { list-style: none; margin: 0; padding: 0; }
.ew-filter__list a { display: flex; justify-content: space-between; color: var(--ew-ink); font-size: 14px; padding: 3px 0; }
.ew-filter__list a span { color: var(--ew-muted); }
.ew-filter__list a:hover { color: var(--ew-red); }
.ew-filter__link { font-size: 14px; }
.ew-price { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ew-price label { display: flex; align-items: center; flex: 1 1 70px; border: 1px solid var(--ew-border); }
.ew-price label span { padding: 0 6px; color: var(--ew-muted); }
.ew-price input[type=number] { border: 0; min-height: 36px; padding: 6px; }
.ew-price em { color: var(--ew-muted); font-style: normal; }
.ew-price .ew-btn { flex-basis: 100%; padding: 8px; font-size: 13px; }

/* ---------- Product grid ---------- */
.woocommerce ul.products, .woocommerce-page ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin: 0 0 32px !important;
	padding: 0;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product {
	width: auto !important; float: none !important; margin: 0 !important;
	display: flex; flex-direction: column;
	background: #fff;
	border: 1px solid var(--ew-border);
	box-shadow: var(--ew-shadow-sm);
	transition: box-shadow .2s;
	padding: 0 0 16px !important;
	position: relative;
}
.woocommerce ul.products li.product:hover { box-shadow: var(--ew-shadow-md); }
.woocommerce ul.products li.product a img {
	margin: 0 0 14px !important;
	aspect-ratio: 1 / 1; object-fit: contain;
	background: var(--ew-grey);
	padding: 12px;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--ew-body); text-transform: none; letter-spacing: 0;
	font-size: 14.5px !important; font-weight: 600; line-height: 1.35;
	color: var(--ew-ink);
	padding: 0 14px !important; margin: 0 0 6px;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.woocommerce ul.products li.product .ew-sku {
	display: block; padding: 0 14px; margin-bottom: 10px;
	font-family: var(--ew-mono); font-size: 11px; color: var(--ew-muted);
}
.woocommerce ul.products li.product .price {
	padding: 0 14px; margin: auto 0 12px !important;
	color: var(--ew-price) !important;
	font-family: var(--ew-head); font-size: 20px !important; font-weight: 600;
}
.woocommerce ul.products li.product .price del { color: var(--ew-muted); font-size: 14px; opacity: 1; margin-right: 6px; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }
.woocommerce .woocommerce-price-suffix { font-family: var(--ew-body); font-size: 11px; font-weight: 500; color: var(--ew-muted); text-transform: uppercase; margin-left: 4px; }
.woocommerce ul.products li.product .button {
	margin: 0 14px !important;
	width: calc(100% - 28px);
	font-size: 13px; padding: 10px 12px;
}
.woocommerce ul.products li.product .added_to_cart { display: block; text-align: center; font-size: 13px; padding: 6px 14px 0; }
.woocommerce span.onsale, .woocommerce ul.products li.product .onsale {
	min-height: 0; min-width: 0; line-height: 1;
	top: 10px !important; left: 10px !important; right: auto !important; margin: 0 !important;
	padding: 5px 8px;
	background: var(--ew-red); color: #fff;
	font-family: var(--ew-head); font-weight: 600; font-size: 12px; letter-spacing: .05em; text-transform: uppercase;
}
@media (max-width: 1100px) { .woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px)  { .woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }

/* Pagination */
.woocommerce nav.woocommerce-pagination ul { border: 0; display: flex; gap: 6px; justify-content: center; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span {
	min-width: 38px; padding: 9px 10px; border: 1px solid var(--ew-border); color: var(--ew-ink); font-weight: 600;
}
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--ew-red); border-color: var(--ew-red); color: #fff; }

/* ---------- Single product ---------- */
.woocommerce div.product { margin-top: 8px; }
.woocommerce div.product .product_title { font-size: clamp(24px, 3vw, 34px); margin-bottom: 12px; }
.woocommerce div.product div.images { margin-bottom: 32px; }
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper { background: var(--ew-grey); border: 1px solid var(--ew-border); }
.woocommerce div.product div.images .flex-control-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 8px; }
.woocommerce div.product div.images .flex-control-thumbs li { width: auto !important; margin: 0 !important; border: 1px solid var(--ew-border); background: var(--ew-grey); }
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active { outline: 2px solid var(--ew-red); }
.woocommerce div.product p.price, .woocommerce div.product span.price {
	color: var(--ew-price) !important;
	font-family: var(--ew-head); font-weight: 600; font-size: 36px !important;
	margin: 14px 0 18px;
}
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--ew-muted); }
.woocommerce div.product .stock { display: inline-block; padding: 4px 10px; font-size: 13px; font-weight: 600; background: #ECFDF5; color: #047857 !important; }
.woocommerce div.product .stock.out-of-stock { background: var(--ew-tint); color: var(--ew-red) !important; }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; margin: 18px 0 22px; }
.woocommerce div.product form.cart div.quantity { margin: 0 !important; }
.woocommerce .quantity .qty { width: 72px; min-height: 52px; text-align: center; font-weight: 600; }
.woocommerce div.product form.cart .button { flex: 1; min-height: 52px; font-size: 17px; }
.woocommerce div.product form.cart .variations { margin-bottom: 8px; }
.woocommerce div.product form.cart .variations td, .woocommerce div.product form.cart .variations th { padding: 4px 0; }
.product_meta { font-size: 13px; color: var(--ew-muted); border-top: 1px solid var(--ew-border); padding-top: 14px; }
.product_meta > span { display: block; margin-bottom: 4px; }
.product_meta .sku { font-family: var(--ew-mono); }

/* Tabs */
.woocommerce div.product .woocommerce-tabs { clear: both; padding-top: 24px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 22px; border-bottom: 2px solid var(--ew-ink); display: flex; flex-wrap: wrap; gap: 4px; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: var(--ew-grey); border: 0; margin: 0; padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { font-family: var(--ew-head); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; color: var(--ew-ink); padding: 11px 20px; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--ew-ink); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: #fff; }
.woocommerce div.product .woocommerce-tabs .panel h2:first-child { font-size: 22px; }
.woocommerce table.shop_attributes { border: 1px solid var(--ew-border); }
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { padding: 10px 14px; border-bottom: 1px solid var(--ew-border); font-style: normal; }
.woocommerce table.shop_attributes th { background: var(--ew-tint); width: 220px; font-weight: 600; }
.related.products > h2, .upsells.products > h2 { font-size: 22px; padding-bottom: 10px; border-bottom: 2px solid var(--ew-red); margin-bottom: 18px; }

/* ---------- Notices, cart, checkout, account ---------- */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-store-notice {
	border-top-color: var(--ew-red) !important;
	background: var(--ew-grey);
}
.woocommerce-message::before, .woocommerce-info::before { color: var(--ew-red) !important; }
.woocommerce table.shop_table { border: 1px solid var(--ew-border); border-collapse: collapse; }
.woocommerce table.shop_table th { font-family: var(--ew-head); text-transform: uppercase; letter-spacing: .03em; font-weight: 600; background: var(--ew-grey); }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { border-top: 1px solid var(--ew-border); padding: 12px 14px; }
.woocommerce-cart .cart-collaterals .cart_totals h2, .woocommerce-checkout h3 { font-size: 20px; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; border: 1px solid var(--ew-border); }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; padding: 11px 14px; color: var(--ew-ink); border-bottom: 1px solid var(--ew-border); font-weight: 600; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background: var(--ew-ink); color: #fff; }

/* ---------- Footer ---------- */
.ew-footer { background: var(--ew-black); color: #fff; margin-top: 0; }
.ew-footer__main { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding-top: 64px; padding-bottom: 64px; }
.ew-footer__label { font-family: var(--ew-head); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ew-red); margin: 0 0 22px; }
.ew-contact { list-style: none; margin: 0; padding: 0 0 22px; border-bottom: 1px solid rgba(255,255,255,.1); }
.ew-contact li, .ew-hours { display: flex; gap: 14px; margin-bottom: 20px; font-size: 15px; line-height: 1.6; }
.ew-contact strong, .ew-hours strong { display: block; font-family: var(--ew-head); font-weight: 600; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 2px; }
.ew-contact a { color: #fff; }
.ew-contact a:hover { color: var(--ew-red); }
.ew-contact .ew-btn { margin-top: 8px; color: #fff; }
.ew-contact__sub { color: var(--ew-red) !important; font-size: 13px; }
.ew-contact__ico { flex: 0 0 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(223,29,22,.45); background: rgba(223,29,22,.1); color: var(--ew-red); }
.ew-contact__ico .ew-ico { width: 18px; height: 18px; }
.ew-hours { margin-top: 22px; }
.ew-hours table { border-collapse: collapse; margin: 4px 0 0; }
.ew-hours th, .ew-hours td { border: 0; padding: 3px 24px 3px 0; text-align: left; font-weight: 400; font-size: 14px; background: transparent; }
.ew-hours th { color: rgba(255,255,255,.55); width: 46px; }
.ew-hours table tr > td, .ew-hours table tr > th { background: transparent !important; }
.ew-hours tr.is-closed td { font-style: italic; color: rgba(255,255,255,.4); }
.ew-footer__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(.2); }
.ew-footer__base { background: var(--ew-ink); border-top: 1px solid rgba(255,255,255,.1); }
.ew-footer__base-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 26px; padding-bottom: 26px; }
.ew-footer__brand strong { display: block; font-family: var(--ew-head); font-size: 20px; letter-spacing: .06em; }
.ew-footer__brand span { font-size: 13px; color: rgba(255,255,255,.55); }
.ew-footer__links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 24px; }
.ew-footer__links a { color: #fff; font-family: var(--ew-head); font-weight: 500; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; }
.ew-footer__links a:hover { color: var(--ew-red); }
.ew-footer__copy { margin: 0; font-size: 13px; color: rgba(255,255,255,.55); }
@media (max-width: 900px) {
	.ew-footer__main { grid-template-columns: 1fr; gap: 28px; padding-top: 44px; padding-bottom: 44px; }
	.ew-footer__map iframe { min-height: 260px; }
}

/* ---------- Coming-soon store notice from WooCommerce ---------- */
.woocommerce-coming-soon-banner { font-family: var(--ew-body); }

/* ---------- Homepage ---------- */
.ew-btn--outline { background: transparent; border-color: #fff; color: #fff; }
.ew-btn--outline:hover, .ew-btn--outline:focus { background: #fff; border-color: #fff; color: var(--ew-ink); }
.ew-btn .ew-ico { width: 16px; height: 16px; }

.ew-hero { position: relative; background: var(--ew-black); overflow: hidden; }
.ew-hero__track { display: grid; }
.ew-hero__slide {
	grid-area: 1 / 1;
	min-height: 520px;
	display: flex; align-items: center; justify-content: center;
	padding: 48px 72px;
	background:
		radial-gradient(circle at 20% 30%, rgba(223,29,22,.22), transparent 45%),
		repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 2px, transparent 2px 14px),
		linear-gradient(160deg, #2a2e36, #0b0b0d 70%);
	background-size: cover; background-position: center;
	opacity: 0; visibility: hidden;
	transition: opacity .6s, visibility .6s;
}
.ew-hero__slide.is-active { opacity: 1; visibility: visible; }
.ew-hero__box {
	max-width: 640px; width: 100%;
	background: rgba(9,9,11,.72);
	padding: 44px 48px 52px;
	text-align: center; color: #fff;
}
.ew-hero__kicker { font-family: var(--ew-head); font-weight: 600; font-size: 20px; letter-spacing: .22em; text-transform: uppercase; margin: 0 0 8px; color: #fff; }
.ew-hero__title { color: #fff; font-size: clamp(30px, 4.2vw, 48px); font-weight: 700; letter-spacing: .03em; margin: 0 0 14px; }
.ew-hero__text { color: rgba(255,255,255,.85); margin: 0 0 26px; }
.ew-hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.ew-hero__nav {
	position: absolute; top: 50%; transform: translateY(-50%);
	width: 44px; height: 44px; display: grid; place-items: center;
	background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.35); color: #fff; cursor: pointer;
}
.ew-hero__nav:hover { background: var(--ew-red); border-color: var(--ew-red); }
.ew-hero__nav--prev { left: 24px; } .ew-hero__nav--prev .ew-ico { transform: rotate(90deg); }
.ew-hero__nav--next { right: 24px; } .ew-hero__nav--next .ew-ico { transform: rotate(-90deg); }
.ew-hero__dots { position: absolute; left: 0; right: 0; bottom: 22px; display: flex; gap: 8px; justify-content: center; }
.ew-hero__dots button { width: 10px; height: 10px; padding: 0; border: 0; background: rgba(255,255,255,.5); cursor: pointer; }
.ew-hero__dots button.is-active { background: var(--ew-red); width: 26px; }

.ew-section { padding-top: 64px; padding-bottom: 64px; }
.ew-section--dots { background-color: #fff; background-image: radial-gradient(rgba(0,0,0,.09) 1px, transparent 1px); background-size: 18px 18px; }
.ew-section__title { font-size: clamp(24px, 3vw, 30px); padding-bottom: 14px; border-bottom: 2px solid var(--ew-red); margin-bottom: 28px; }
.ew-section__foot { display: flex; justify-content: center; margin-top: 28px; }

.ew-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.ew-tile a { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; background: #fff; border: 1px solid var(--ew-border); transition: box-shadow .2s, border-color .2s; }
.ew-tile a:hover { box-shadow: var(--ew-shadow-md); border-color: var(--ew-red); }
.ew-tile img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; padding: 14px; background: #fff; transition: transform .35s; }
.ew-tile a:hover img { transform: scale(1.05); }
.ew-tile__name {
	display: block; margin-top: auto; padding: 10px 14px;
	background: var(--ew-ink); border-left: 4px solid var(--ew-red);
	color: #fff; font-family: var(--ew-head); font-weight: 600; font-size: 15px; letter-spacing: .03em; text-transform: uppercase;
}
.ew-tile a:hover .ew-tile__name { background: var(--ew-red); }
.ew-tile--plain a { min-height: 180px; background: linear-gradient(150deg, #2a2e36, var(--ew-black)); }

.ew-row + .ew-row { border-top: 2px solid var(--ew-ink); margin-top: 40px; padding-top: 32px; }
.ew-row__title { font-size: 17px; letter-spacing: .04em; margin-bottom: 18px; }
.ew-row .woocommerce { margin: 0; }

.woocommerce ul.products li.product .ew-card__actions { display: flex; gap: 8px; margin: 0 14px; }
.woocommerce ul.products li.product .ew-card__actions .button,
.woocommerce ul.products li.product .ew-card__actions .ew-card__view {
	flex: 1 1 0; width: auto; margin: 0 !important; padding: 9px 6px; font-size: 12px;
}
.ew-card__view { background: #fff; }

.ew-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ew-post { border: 1px solid var(--ew-border); background: #fff; display: flex; flex-direction: column; }
.ew-post__img { display: block; aspect-ratio: 16 / 9; background: var(--ew-grey); overflow: hidden; }
.ew-post__img img { width: 100%; height: 100%; object-fit: cover; }
.ew-post__body { padding: 18px 20px 22px; }
.ew-post__date { font-size: 12px; color: var(--ew-muted); margin: 0 0 6px; }
.ew-post__title { font-size: 17px; margin-bottom: 8px; }
.ew-post__title a { color: var(--ew-ink); }
.ew-post__title a:hover { color: var(--ew-red); }
.ew-post__excerpt { font-size: 14px; color: var(--ew-muted); margin: 0 0 10px; }
.ew-post__more { font-size: 14px; font-weight: 600; }

.ew-cta { background: var(--ew-grey); text-align: center; padding: 56px 0; }
.ew-cta h2 { font-size: clamp(24px, 3vw, 30px); }
.ew-cta p { max-width: 560px; margin: 0 auto 22px; color: var(--ew-muted); }

.ew-news {
	background-color: var(--ew-ink); color: #fff; text-align: center; padding: 64px 0;
	background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 18px 18px;
}
.ew-news h2 { color: #fff; font-size: clamp(26px, 3.4vw, 36px); max-width: 520px; margin-left: auto; margin-right: auto; }
.ew-news p { color: rgba(255,255,255,.75); margin: 0 0 22px; }
.ew-news .ew-news__msg { color: #fff; font-weight: 600; }
.ew-news__form { display: flex; max-width: 520px; margin: 0 auto; }
.ew-news__form input[type=email] { border: 0; min-height: 46px; }
.ew-news__form .ew-btn { white-space: nowrap; }

@media (max-width: 1100px) {
	.ew-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.ew-hero__slide { min-height: 420px; padding: 32px 16px 56px; }
	.ew-hero__box { padding: 28px 20px 32px; }
	.ew-hero__nav { display: none; }
	.ew-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ew-posts { grid-template-columns: 1fr; }
	.ew-section { padding-top: 44px; padding-bottom: 44px; }
}
@media (max-width: 600px) {
	.ew-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.ew-tile__name { font-size: 13px; padding: 8px 10px; }
	.ew-news__form { flex-direction: column; gap: 8px; }
	.woocommerce ul.products li.product .ew-card__actions { flex-direction: column; }
}
