/*
Theme Name: Elements
Theme URI: https://elements-kw.com
Author: Elements Design Studio
Description: Lean bespoke dark theme for elements-kw.com. Recreates the Shop Isle Pro look (black canvas, condensed letterspaced type, white-bordered buttons) with no Bootstrap, no carousel libraries and a single stylesheet.
Version: 1.0.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: elements
Tags: e-commerce, dark
*/

/* ---------- Fonts (self-hosted, variable 100-900) ---------- */
@font-face {
	font-family: "Roboto Condensed";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("assets/fonts/roboto-condensed-var.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
	--bg: #000;
	--surface: #0a0a0a;
	--surface-2: #272727;
	--text: #fff;
	--muted: #bdbdbd;
	--line: #fff;
	--accent-danger: #e91e50;
	--font: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
	--track: 0.2em;
	--track-wide: 0.35em;
	--container: 1170px;
	/* Controls: every button, input and select is exactly this tall */
	--control-h: 44px;
	--control-font: 14px;
	--btn-font: 12px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.7;
}
img { max-width: 100%; height: auto; }
a { color: var(--text); text-decoration: none; transition: color 0.2s, background-color 0.2s, opacity 0.2s; }
a:hover { color: var(--muted); }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font);
	font-weight: 400;
	line-height: 1.2;
	margin: 0 0 0.75em;
	color: var(--text);
}
p { margin: 0 0 1.2em; }
hr { border: 0; border-top: 1px solid rgba(255, 255, 255, 0.15); margin: 2em 0; }
table { border-collapse: collapse; width: 100%; }
::selection { background: #fff; color: #000; }
/* Inputs are white — the page's white selection would be invisible there */
input::selection,
textarea::selection,
select::selection { background: #000; color: #fff; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	position: absolute !important;
	width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
	clip: auto; clip-path: none;
	left: 8px; top: 8px; width: auto; height: auto;
	z-index: 100000; padding: 12px 20px;
	background: #fff; color: #000;
}

/* ---------- Buttons ---------- */
.btn,
button,
input[type="submit"],
input[type="button"],
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce button.button.alt.disabled,
.wc-block-components-button,
.reset_variations {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: var(--control-h);
	background: #000;
	color: #fff;
	border: 1px solid #fff;
	border-radius: 0;
	font-family: var(--font);
	font-size: var(--btn-font);
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: var(--track);
	line-height: 1;
	padding: 0 28px;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s;
}
.btn:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.reset_variations:hover {
	background: var(--surface-2);
	color: #fff;
}
.woocommerce a.button.disabled,
.woocommerce button.button:disabled,
.woocommerce button.button:disabled:hover,
.woocommerce a.button.disabled:hover {
	background: #555;
	border-color: #000;
	color: #aaa;
}

/* ---------- Forms ---------- */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="search"],
textarea,
select {
	appearance: none;
	-webkit-appearance: none;
	height: var(--control-h);
	background: #fff;
	color: #000;
	border: 1px solid #fff;
	border-radius: 0;
	font-family: var(--font);
	font-size: var(--control-font);
	padding: 0 14px;
	max-width: 100%;
}
select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	padding-right: 36px;
}
textarea { height: auto; min-height: calc(var(--control-h) * 2); padding: 10px 14px; }
label { color: var(--text); }
fieldset { border: 1px solid rgba(255, 255, 255, 0.3); }

/* ---------- Contact form ---------- */
.elements-contact { max-width: 480px; }
.elements-contact input[type="text"],
.elements-contact input[type="email"],
.elements-contact textarea { width: 100%; }
.elements-contact label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; }
.elements-contact-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.elements-contact-sent,
.elements-contact-error { padding: 14px 18px; border: 1px solid rgba(255, 255, 255, 0.35); max-width: 480px; margin-bottom: 20px; }
.elements-contact-error { border-color: var(--accent-danger); }

/* ---------- Header ---------- */
.site-header {
	background: var(--surface);
	position: relative;
	z-index: 50;
}
.header-inner {
	display: flex;
	align-items: center;
	gap: 28px;
	min-height: 70px;
}
.site-branding { margin-right: auto; }
.site-title,
.site-title:hover {
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: var(--track-wide);
}
.custom-logo { max-height: 46px; width: auto; }

.site-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 34px;
}
.site-nav a {
	display: block;
	color: #fff;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: var(--track);
	padding: 8px 0;
}
.site-nav a:hover,
.site-nav .current-menu-item > a { opacity: 0.6; }

.lang-switch {
	color: #fff;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: var(--track);
	padding: 8px 0;
}
.lang-switch:hover { opacity: 0.6; color: #fff; }

.header-cart {
	position: relative;
	display: inline-flex;
	align-items: center;
	color: #fff;
	padding: 6px;
}
.header-cart svg { width: 20px; height: 20px; fill: currentColor; }
.cart-count {
	position: absolute;
	right: -6px;
	bottom: -4px;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	border-radius: 50%;
	background: #fff;
	color: #000;
	font-size: 10px;
	line-height: 16px;
	text-align: center;
}

.nav-toggle {
	display: none;
	background: none;
	border: 0;
	padding: 8px;
	cursor: pointer;
}
.nav-toggle span {
	display: block;
	width: 22px;
	height: 2px;
	background: #fff;
	margin: 5px 0;
}

/* ---------- Page banner ---------- */
.page-banner {
	position: relative;
	background: var(--surface) center/cover no-repeat;
	min-height: 280px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}
.page-banner::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.35);
}
.page-banner .page-title {
	position: relative;
	margin: 0;
	font-size: 50px;
	font-weight: 300;
	text-transform: uppercase;
	letter-spacing: var(--track);
}

/* ---------- Front page hero ---------- */
.hero {
	position: relative;
	min-height: 100vh;
	background: var(--bg) center/cover no-repeat;
	background-attachment: fixed; /* parallax: the image holds still while the page scrolls */
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

/* Front page: the header floats transparent over the hero, gaining its
   surface only once the visitor scrolls (class set by nav.js).
   Sticky (not fixed) so anything above it in the flow — e.g. a static
   announcement bar — scrolls away naturally before the header docks;
   the negative margin cancels its flow space so it overlays the hero. */
.front-page .site-header {
	position: sticky;
	top: 0;
	margin-bottom: -70px; /* = .header-inner min-height */
	background: transparent;
	transition: background-color 0.3s;
}
.front-page .site-header.is-scrolled { background: var(--surface); }
.front-page .site-header:has(.site-nav.is-open) { background: var(--surface); }
.hero .hero-title {
	font-size: 64px;
	font-weight: 300;
	text-transform: uppercase;
	letter-spacing: var(--track-wide);
	margin: 0;
}

/* ---------- Sections / modules ---------- */
.site-main { padding: 60px 0 80px; }
.front-page .site-main { padding: 0 0 80px; }
.module { padding: 70px 0; }
.module-title {
	font-size: 50px;
	font-weight: 300;
	text-transform: uppercase;
	letter-spacing: var(--track);
	text-align: center;
	margin-bottom: 0.4em;
}
.module-subtitle {
	text-align: center;
	font-family: Georgia, "Times New Roman", serif;
	font-style: italic;
	color: var(--muted);
	margin: -0.5em 0 2.5em;
}

.module-cta {
	text-align: center;
	margin: 0;
}

/* ---------- Content / entries ---------- */
.entry-content a:not(.button):not(.btn) { border-bottom: 1px solid rgba(255, 255, 255, 0.4); }
.entry-content a:not(.button):not(.btn):hover { border-color: var(--muted); }
.entry-title a { color: var(--text); }
.entry-meta { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; }
article.hentry { margin-bottom: 60px; }
.post-thumbnail img { display: block; margin-bottom: 24px; }
.page-numbers { color: #fff; padding: 4px 10px; }
.page-numbers.current { background: #fff; color: #000; }
.page-numbers:not(.current):hover { color: var(--muted); }

/* Comments (kept minimal) */
.comment-list { list-style: none; padding: 0; }
.comment-list .comment { border-top: 1px solid rgba(255, 255, 255, 0.15); padding: 20px 0; }

/* ---------- Footer ---------- */
.site-footer {
	background: var(--surface);
	margin-top: 60px;
}
.footer-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 56px;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: var(--track);
}
.footer-social { display: flex; gap: 16px; }
.footer-social svg { width: 16px; height: 16px; fill: #fff; }
.footer-social a:hover svg { fill: var(--muted); }

/* =========================================================
   WooCommerce skin
   ========================================================= */

/* Breadcrumb */
.woocommerce-breadcrumb,
.woocommerce .woocommerce-breadcrumb {
	color: var(--muted);
	font-size: 13px;
	margin-bottom: 2em;
}
.woocommerce .woocommerce-breadcrumb a { color: #fff; }
.woocommerce .woocommerce-breadcrumb a:hover { color: var(--muted); }

/* Shop toolbar: breadcrumb left and sort dropdown right share one row */
.woocommerce .woocommerce-result-count { display: none; }
.post-type-archive-product .woocommerce-breadcrumb {
	float: left;
	margin-bottom: 2em;
}
.woocommerce .woocommerce-ordering { float: right; margin-bottom: 2em; }
.woocommerce ul.products { clear: both; }
.woocommerce .woocommerce-ordering select {
	font-size: 12px;
	letter-spacing: 0.1em;
	padding: 0 12px;
}

/* Product grid */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product { text-align: center; }
.woocommerce ul.products li.product a img { margin-bottom: 16px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2 {
	font-size: 13px;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: var(--track);
	color: #fff;
	padding: 0;
}
.woocommerce ul.products li.product .price {
	color: #fff;
	font-size: 13px;
	letter-spacing: 0.1em;
}
.woocommerce ul.products li.product .price del { color: var(--muted); opacity: 1; }
.woocommerce ul.products li.product .price ins { font-weight: 400; text-decoration: none; }
.woocommerce ul.products li.product .button { margin-top: 12px; }

/* Badges */
.woocommerce span.onsale {
	background: var(--surface);
	color: #fff;
	border-radius: 0;
	font-size: 11px;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	line-height: 1;
	min-width: 0;
	min-height: 0;
	padding: 8px 12px;
	top: 12px;
	right: 12px;
	left: auto;
	margin: 0;
}
.elements-badge-outofstock {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 9;
	background: var(--accent-danger);
	color: #fff;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	padding: 8px 12px;
}
.woocommerce ul.products li.product { position: relative; }

/* Star ratings */
.woocommerce .star-rating span::before { color: #fff; }
.woocommerce .star-rating::before { color: rgba(255, 255, 255, 0.3); }

/* Single product */
.woocommerce div.product { color: var(--text); }
.woocommerce div.product .product_title {
	font-size: 34px;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #fff;
}
.woocommerce div.product p.price,
.woocommerce div.product span.price { color: #fff; font-size: 22px; }
.woocommerce div.product p.price del { color: var(--muted); opacity: 1; }
.woocommerce div.product p.price ins { text-decoration: none; }
.woocommerce div.product .product_meta { color: var(--muted); font-size: 13px; }
.woocommerce div.product .product_meta > span { display: block; }
.woocommerce div.product .product_meta a { color: #fff; }
/* Quantity + add to cart sit on one row, same height, consistent gap */
.woocommerce div.product form.cart .elements-atc-row,
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart {
	display: flex;
	align-items: stretch;
	gap: 8px;
}
/* Personalisation (embossing / engraving) */
.elements-pers {
	margin: 4px 0 20px;
}
/* In the simple-product form (a flex row), take a full line above qty/button */
.elements-pers-title {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #fff;
	margin-bottom: 10px;
}
.elements-pers-row { margin-bottom: 12px; }
.elements-pers-option {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	font-size: 14px;
}
.elements-pers-option input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	width: 16px;
	height: 16px;
	margin: 0;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.5);
	cursor: pointer;
	display: inline-grid;
	place-content: center;
}
.elements-pers-option input[type="checkbox"]::before {
	/* white checkmark: an L-shape rotated 45deg */
	content: "";
	width: 4px;
	height: 9px;
	margin-top: -2px;
	border-right: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: rotate(45deg) scale(0);
	transition: transform 0.15s;
}
.elements-pers-option input[type="checkbox"]:checked { border-color: #fff; }
.elements-pers-option input[type="checkbox"]:checked::before { transform: rotate(45deg) scale(1); }
.elements-pers-price { color: var(--muted); }
.elements-pers-price .woocommerce-Price-amount { color: var(--muted); }
.elements-pers-fields {
	display: none;
	gap: 8px;
	flex-wrap: wrap;
	margin-top: 8px;
	max-width: 360px;
}
.elements-pers-row:has(input[type="checkbox"]:checked) .elements-pers-fields { display: flex; }
.elements-pers-fields .elements-pers-color { flex: 0 0 auto; }
.elements-pers-fields .elements-pers-text { flex: 1 1 140px; }
.elements-pers-total {
	display: none;
	margin: 2px 0 16px;
	font-size: 14px;
	color: #fff;
}
.elements-pers-total.is-visible { display: block; }
.elements-pers-total-label {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: var(--track);
	color: var(--muted);
}
.elements-pers-total del { color: var(--muted); margin-right: 6px; }
.elements-pers-total-new { font-weight: 700; }

.elements-pers-fields .elements-gift-card-text {
	flex: 1 1 100%;
	min-height: 80px;
	height: auto;
}
/* Gift card editing inside a cart row. width:0 + min-width:100% keeps the
   block out of the table's intrinsic width calculation, so revealing the
   textarea never reflows the column widths. */
.woocommerce-cart .elements-gift-card {
	margin: 10px 0 0;
	width: 0;
	min-width: 100%;
}
.woocommerce-cart .elements-gift-card .elements-pers-fields { max-width: 320px; }
.woocommerce-cart .elements-gift-card .elements-pers-option { font-size: 13px; }
.elements-pers-hint {
	flex: 1 1 100%;
	font-size: 11px;
	font-style: italic;
	color: var(--muted);
}
.elements-pers-file {
	color: var(--muted);
	font-size: 13px;
}
.elements-pers-file::file-selector-button {
	height: 36px;
	padding: 0 16px;
	margin-right: 10px;
	background: #000;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.5);
	font-family: var(--font);
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: var(--track);
	cursor: pointer;
}

/* Ghost pair: outlined qty with − / + steppers (product page AND cart —
   the JS stamps .elements-stepper wherever it takes over a quantity box). */
.woocommerce div.quantity.elements-stepper {
	float: none;
	margin: 0;
	display: inline-flex;
	align-items: stretch;
	min-height: var(--control-h);
	border: 1px solid rgba(255, 255, 255, 0.5);
}
.woocommerce div.product form.cart div.quantity.hidden { display: none; }
.woocommerce .elements-stepper .qty {
	width: 36px;
	height: auto;
	padding: 0;
	text-align: center;
	background: transparent;
	color: #fff;
	border: none;
	appearance: textfield;
	-moz-appearance: textfield;
}
.woocommerce .elements-stepper .qty::-webkit-inner-spin-button,
.woocommerce .elements-stepper .qty::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
.woocommerce .elements-stepper .elements-qty-step,
.woocommerce .elements-stepper .elements-qty-step:hover {
	width: 34px;
	height: auto;
	padding: 0;
	background: transparent;
	border: none;
	color: var(--muted);
	font-size: 14px;
	letter-spacing: 0;
}
.woocommerce .elements-stepper .elements-qty-step:hover { color: #fff; }
.woocommerce div.product form.cart .button,
.woocommerce div.product form.cart .button:hover {
	background: #000;
	border: 1px solid rgba(255, 255, 255, 0.5);
	color: #fff;
	transition: border-color 0.2s;
}
.woocommerce div.product form.cart .button:hover { border-color: #fff; }
.woocommerce div.product form.cart .button.disabled,
.woocommerce div.product form.cart .button.disabled:hover,
.woocommerce div.product form.cart .button:disabled {
	background: #000;
	opacity: 0.35;
	border-color: rgba(255, 255, 255, 0.5);
	color: #fff;
	cursor: default;
}
/* Loading state: quiet pulse, still clearly the same button */
.woocommerce div.product form.cart .button.elements-adding,
.woocommerce div.product form.cart .button.elements-adding:hover {
	background: #000;
	opacity: 0.6;
	animation: elements-pulse 1.2s ease-in-out infinite;
}
@keyframes elements-pulse {
	50% { opacity: 0.35; }
}
/* Woo's own appended view-cart link is replaced by the toast */
.woocommerce div.product form.cart .added_to_cart { display: none; }

/* Fine print under a disabled add-to-cart (out-of-stock pick).
   Hangs below the button row without taking layout space — the button stays
   on the gallery gridline and the note is positioned relative to it. */
.woocommerce div.product form.cart .single_variation_wrap { position: relative; }
.woocommerce div.product form.cart .elements-cart-note {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	margin: 0;
	font-size: 12px;
	font-style: italic;
	text-align: right;
	color: var(--muted);
	visibility: hidden;
}
.woocommerce div.product form.cart .elements-cart-note.is-visible { visibility: visible; }

/* ---------- Toasts ---------- */
.elements-toasts {
	position: fixed;
	top: 20px;
	right: 20px;
	z-index: 99999;
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 340px;
	max-width: calc(100vw - 40px);
}
@media (max-width: 768px) {
	.elements-toasts {
		top: 16px;
		right: 50%;
		transform: translateX(50%);
	}
}
.elements-toast {
	background: var(--surface);
	border: 1px solid rgba(255, 255, 255, 0.35);
	padding: 14px 18px;
	cursor: pointer;
	animation: elements-toast-in 0.25s ease-out;
	transition: opacity 0.4s, transform 0.4s;
}
.elements-toast.is-error { border-color: var(--accent-danger); }
.elements-toast.is-leaving { opacity: 0; transform: translateY(-6px); }
@keyframes elements-toast-in {
	from { opacity: 0; transform: translateY(-8px); }
	to { opacity: 1; transform: translateY(0); }
}
.elements-toast-title {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: var(--track);
	color: #fff;
}
.elements-toast-body {
	margin-top: 6px;
	font-size: 13px;
	color: var(--muted);
}
.elements-toast-links {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-top: 10px;
}
.elements-toast-link {
	display: inline-block;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: var(--track);
	color: #fff;
	border-bottom: 1px solid rgba(255, 255, 255, 0.4);
	padding-bottom: 2px;
}
.elements-toast-link:hover { border-color: #fff; color: #fff; }
/* Button fills the rest of the row so its right edge lines up with the column */
.woocommerce div.product form.cart:not(.variations_form) .button,
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart .button {
	float: none;
	flex: 1;
}
/* Variations: label stacked above the select, flush left with title/price */
.woocommerce div.product form.cart table.variations,
.woocommerce div.product form.cart table.variations tbody,
.woocommerce div.product form.cart table.variations tr,
.woocommerce div.product form.cart table.variations th,
.woocommerce div.product form.cart table.variations td {
	display: block;
	width: 100%;
	padding: 0;
	margin: 0;
	border: none;
	text-align: left;
}
.woocommerce div.product form.cart table.variations tr { margin-bottom: 16px; }
.woocommerce div.product form.cart .variations label {
	display: block;
	margin-bottom: 6px;
	color: #fff;
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: 0.1em;
}
.woocommerce div.product form.cart .variations select {
	width: 100%;
	max-width: 360px;
	background-color: #fff;
	color: #000;
}

/* Variation swatches — selects drive Woo's logic invisibly; swatches are the UI */
.variations_form .variations select { display: none !important; }
.elements-swatch-current {
	margin-left: 6px;
	color: var(--muted);
	letter-spacing: 0.1em;
	transition: color 0.15s;
}
.elements-swatch-current.is-preview {
	color: #6f6f6f;
	font-style: italic;
}
.elements-swatches {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	padding: 4px 0;
}
.elements-swatch,
.elements-swatch:hover {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 36px;
	padding: 0 16px;
	background: #000;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.35);
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: var(--track);
	line-height: 1;
	cursor: pointer;
	transition: border-color 0.2s, background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.elements-swatches--text .elements-swatch:hover { border-color: #fff; }
.elements-swatches--text .elements-swatch.is-selected {
	background: #fff;
	color: #000;
	border-color: #fff;
}
.elements-swatches--color .elements-swatch,
.elements-swatches--color .elements-swatch:hover {
	width: 32px;
	height: 32px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background-size: cover;
	background-position: center;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
}
.elements-swatches--color .elements-swatch:hover { box-shadow: 0 0 0 1px #fff; }
.elements-swatches--color .elements-swatch.is-selected {
	/* floating white ring, 2px of black air between it and the color */
	box-shadow: 0 0 0 2px #000, 0 0 0 4px #fff;
}
.elements-swatch--initial { color: #fff; font-size: 12px; }
.elements-swatch.is-disabled {
	opacity: 0.25;
	cursor: default;
}
.elements-swatch:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}
.woocommerce div.product form.cart .reset_variations { display: none !important; }
.woocommerce-product-details__short-description,
.woocommerce-Tabs-panel--description { color: var(--muted); }
.woocommerce-variation-availability { display: none; }
.woocommerce div.product .stock.in-stock { display: none; }
.woocommerce div.product .stock.out-of-stock { color: var(--accent-danger); text-transform: uppercase; letter-spacing: 0.1em; font-size: 13px; }

/* Desktop layout: summary matches gallery height, cart form sits at the bottom */
@media (min-width: 769px) {
	.single-product div.product {
		display: grid;
		grid-template-columns: 1fr 1fr;
		column-gap: 4%;
	}
	.single-product div.product div.images,
	.single-product div.product div.summary {
		float: none;
		width: 100%;
		margin-bottom: 0;
	}
	.single-product div.product .woocommerce-tabs,
	.single-product div.product .related,
	.single-product div.product .up-sells {
		grid-column: 1 / -1;
	}
	.single-product div.product div.summary {
		display: flex;
		flex-direction: column;
	}
	.single-product div.product div.summary form.cart { margin-top: auto; margin-bottom: 0; }
	.single-product div.product .woocommerce-tabs { margin-top: 3em; }
	/* Simple products: same column layout as the variations form — add-ons
	   flow at the top, the qty/button row pins to the gallery baseline */
	.single-product div.product div.summary form.cart:not(.variations_form) {
		margin-top: 0;
		flex: 1 0 auto;
		display: flex;
		flex-direction: column;
	}
	.single-product div.product div.summary form.cart:not(.variations_form) .elements-atc-row {
		margin-top: auto;
	}
	.single-product div.product div.summary form.cart.variations_form {
		margin-top: 0;
		flex: 1 0 auto;
		display: flex;
		flex-direction: column;
	}
	.single-product div.product form.cart .single_variation_wrap { margin-top: auto; }
}

/* Sale badge on product pages sits on the gallery, not over the title */
.single-product div.product span.onsale { right: auto; left: 12px; z-index: 10; }

/* Gallery */
.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
	border-radius: 0;
	z-index: 30; /* Woo default is 99, which floats above the open mobile menu (header is 50) */
}
.woocommerce div.product div.images .flex-control-thumbs { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.woocommerce div.product div.images .flex-control-thumbs li { float: none; width: calc((100% - 4 * 8px) / 5); }
.woocommerce div.product div.images .flex-control-thumbs li img { opacity: 0.6; }
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active,
.woocommerce div.product div.images .flex-control-thumbs li img:hover { opacity: 1; }

/* Tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs {
	padding: 0;
	margin: 0 0 1.5em;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before {
	border-bottom: 1px solid #fff;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
	background: #000;
	border: 1px solid #fff;
	border-radius: 0;
	margin: 0 4px 0 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	color: #fff;
	font-size: 12px;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: var(--track);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: #fff; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: #000; }
.woocommerce div.product .woocommerce-tabs .panel h2 {
	font-size: 16px;
	text-transform: uppercase;
	letter-spacing: var(--track);
	color: var(--muted);
}
.woocommerce table.woocommerce-product-attributes { border: 1px solid rgba(255, 255, 255, 0.3); }
.woocommerce table.woocommerce-product-attributes th,
.woocommerce table.woocommerce-product-attributes td {
	border: 1px solid rgba(255, 255, 255, 0.3);
	color: var(--text);
	background: transparent;
	font-style: normal;
	padding: 10px 14px;
}

/* Related / upsells */
.woocommerce .related > h2,
.woocommerce .upsells > h2,
.woocommerce .cross-sells > h2 {
	font-size: 28px;
	font-weight: 300;
	text-transform: uppercase;
	letter-spacing: var(--track);
	text-align: center;
	margin: 2em 0 1.5em;
	color: #fff;
}

/* Notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	background: #fff;
	color: #000;
	border-top: 3px solid #000;
	border-radius: 0;
}
.woocommerce-message::before,
.woocommerce-info::before { color: #000; }
.woocommerce-error::before { color: var(--accent-danger); }
.woocommerce-message a, .woocommerce-info a, .woocommerce-error a { color: #000; text-decoration: underline; }
.woocommerce-message .button, .woocommerce-info .button, .woocommerce-error .button {
	background: none;
	border: none;
	color: #000;
	text-decoration: none;
}

/* Cart */
.woocommerce table.shop_table {
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 0;
	color: var(--text);
}
.woocommerce table.shop_table th,
.woocommerce table.shop_table td { border-color: rgba(255, 255, 255, 0.2); color: var(--text); }
.woocommerce table.shop_table thead tr { background: #fff; }
.woocommerce table.shop_table thead th { color: #000; text-transform: uppercase; font-size: 12px; letter-spacing: 0.1em; }
.woocommerce table.shop_table td.product-name a,
.woocommerce table.shop_table td span.amount { color: #fff; }
.woocommerce a.remove { color: #fff !important; }
.woocommerce a.remove:hover { background: #fff; color: #000 !important; }
.woocommerce td.product-quantity .qty { width: 64px; text-align: center; }
.woocommerce .cart_totals h2, .woocommerce .cross-sells h2 { color: #fff; }
.woocommerce .cart-collaterals .cart_totals table th { color: var(--text); }
.woocommerce-shipping-totals { color: var(--text); }
.shipping-calculator-button { color: #fff; border: 1px solid #fff; padding: 3px 8px; font-size: 12px; }
.woocommerce table.shop_table .order-total th,
.woocommerce table.shop_table .order-total td,
.woocommerce table.shop_table .order-total td strong span { background: #fff; color: #000; }
.woocommerce #coupon_code { width: 140px; }

/* Checkout */
.woocommerce form .form-row label { color: var(--text); }
.woocommerce form .form-row .required { color: var(--accent-danger); }
.woocommerce form.checkout h3,
.woocommerce-additional-fields h3,
#order_review_heading {
	text-transform: uppercase;
	letter-spacing: var(--track);
	font-size: 18px;
	color: #fff;
}
.woocommerce-checkout #payment {
	background: var(--surface);
	border-radius: 0;
	color: var(--text);
}
.woocommerce-checkout #payment div.payment_box {
	background: var(--surface-2);
	color: var(--text);
}
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--surface-2); }
.woocommerce-checkout #payment ul.payment_methods { border-bottom-color: rgba(255, 255, 255, 0.2); }
.woocommerce-checkout #payment ul.payment_methods label { color: #fff; }
.payment_method_upayments label span img { filter: brightness(0) invert(1); }
/* WooCommerce 11 restyles checkout fields via --wc-form-* and
   .woocommerce form .form-row selectors that outrank the theme's generic
   input rules — reassert the design system (sharp edges, control height). */
:root {
	--wc-form-border-radius: 0;
	--wc-form-border-width: 1px;
	--wc-form-border-color: #fff;
	--wc-form-color-background: #fff;
	--wc-form-color-text: #000;
}
.woocommerce form .form-row .input-text,
.woocommerce form .form-row select {
	appearance: none;
	-webkit-appearance: none;
	height: var(--control-h);
	background-color: #fff;
	color: #000;
	border: 1px solid #fff;
	border-radius: 0;
	font-family: var(--font);
	font-size: var(--control-font);
	letter-spacing: normal;
	line-height: normal;
	padding: 0 14px;
	box-shadow: none;
}
.woocommerce form .form-row textarea.input-text {
	height: auto;
	min-height: calc(var(--control-h) * 2);
	padding: 10px 14px;
	line-height: 1.5;
}
.woocommerce .select2-container .select2-selection,
.woocommerce .select2-container .select2-selection--single {
	height: var(--control-h);
	background-color: #fff;
	border: 1px solid #fff;
	border-radius: 0;
}
.woocommerce .select2-container .select2-selection--single .select2-selection__rendered {
	padding: 0 2em 0 14px;
	line-height: calc(var(--control-h) - 2px);
	color: #000;
	font-family: var(--font);
	font-size: var(--control-font);
}
.woocommerce .select2-container .select2-selection--single .select2-selection__arrow { height: 100%; top: 0; }
.woocommerce .select2-container .select2-dropdown { border-radius: 0; }
.woocommerce .select2-search--dropdown .select2-search__field { border-radius: 0; font-family: var(--font); }

.select2-container--default .select2-selection--single {
	height: var(--control-h);
	background: #fff;
	border-radius: 0;
	border: 1px solid #fff;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: calc(var(--control-h) - 2px);
	color: #000;
	font-size: var(--control-font);
	padding-left: 14px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow { height: var(--control-h); }
.select2-dropdown { border-radius: 0; }

/* Account */
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; }
.woocommerce-MyAccount-navigation a {
	display: block;
	padding: 10px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: 0.1em;
}
.woocommerce-MyAccount-navigation li.is-active a { color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.module-title, .page-banner .page-title { font-size: 34px; }
	.hero .hero-title { font-size: 40px; }
}
@media (max-width: 768px) {
	.nav-toggle { display: block; order: 3; }
	.site-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--surface);
		padding: 10px 20px 20px;
	}
	.site-nav.is-open { display: block; }
	.site-nav ul { flex-direction: column; gap: 0; }
	.site-nav a { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
	.page-banner { min-height: 200px; }
	.woocommerce .woocommerce-ordering { float: none; }
	.post-type-archive-product .woocommerce-breadcrumb { float: none; }
	/* iOS ignores fixed background-attachment with cover — fall back cleanly */
	.hero { background-attachment: scroll; }
}
