/* ==========================================================================
   Mono Store — main stylesheet
   1. Tokens & reset      6. Footer             11. Notices
   2. Utilities           7. Content            12. Cart / checkout / account
   3. Announcement        8. Shop & filters     13. Elementor
   4. Header & nav        9. Product cards
   5. Drawers            10. Single product
   ========================================================================== */

/* 1. Tokens & reset ------------------------------------------------------ */
:root {
	--black: #000;
	--white: #fff;
	--ink: #0a0a0a;
	--muted: #6b6b6b;
	--line: #e4e4e4;
	--soft: #f4f4f4;
	--sale: #d10000;
	--font: "Helvetica Neue", Helvetica, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	--gutter: 16px;
	--max: 1440px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--radius: 0;

	/* Header — overridden from the Customizer (inc/header.php). */
	--header-h-m: 60px;
	--header-h-d: 68px;
	--header-h: var(--header-h-m);
	--header-bg: var(--white);
	--header-fg: var(--ink);
	--logo-h: 38px;
	--logo-h-m: 38px;
	--logo-size: 22px;
	--logo-size-m: 22px;
	--menu-size: 12px;
	--menu-weight: 700;
	--menu-ls: .1em;
	--menu-transform: uppercase;
	--menu-pad: 14px;
	--icon-size: 20px;
	--icon-stroke: 1.6;
	--icon-gap: 0px;
	--ann-bg: var(--black);
	--ann-fg: var(--white);
}
@media (min-width: 768px) { :root { --gutter: 24px; } }
@media (min-width: 1000px) { :root { --header-h: var(--header-h-d); } }
@media (min-width: 1200px) { :root { --gutter: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
	margin: 0;
	font: 400 15px/1.55 var(--font);
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
body.drawer-open { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--black); outline-offset: 2px; }
::selection { background: var(--black); color: var(--white); }
table { border-collapse: collapse; width: 100%; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }

input[type="text"], input[type="email"], input[type="password"], input[type="search"],
input[type="tel"], input[type="number"], input[type="url"], select, textarea {
	width: 100%;
	min-height: 46px;
	padding: 10px 14px;
	border: 1px solid #cfcfcf;
	border-radius: var(--radius);
	background: var(--white);
	font-size: 16px; /* prevents iOS zoom */
	appearance: none;
	-webkit-appearance: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--black); outline: none; }
select {
	padding-right: 36px;
	background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
}
label { font-size: 13px; }

/* 2. Utilities ----------------------------------------------------------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 780px; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed !important; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto;
	clip: auto; clip-path: none; padding: 10px 16px; background: var(--black); color: var(--white);
}
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .6em; }
.page-title { font-size: clamp(24px, 3.4vw, 40px); text-transform: uppercase; letter-spacing: -.02em; }

.btn, .button, button.button, a.button, input[type="submit"], .wp-element-button,
.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 12px 28px;
	border: 1px solid var(--black); border-radius: var(--radius);
	background: var(--black); color: var(--white);
	font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; line-height: 1.2;
	text-decoration: none; cursor: pointer;
	transition: background .2s, color .2s;
}
.btn:hover, .button:hover, button.button:hover, a.button:hover, input[type="submit"]:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover {
	background: var(--white); color: var(--black); text-decoration: none;
}
.btn--ghost, .button.alt-ghost { background: var(--white); color: var(--black); }
.btn--ghost:hover { background: var(--black); color: var(--white); }
.button:disabled, .button.disabled, button.button:disabled[disabled] { opacity: .35; cursor: not-allowed; }
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt { background: var(--black); color: var(--white); }
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: #222; color: var(--white); }

.icon-btn {
	display: inline-flex; align-items: center; justify-content: center; position: relative;
	width: 44px; height: 44px; padding: 0; border: 0; background: none; color: inherit;
}
.icon-btn:hover { text-decoration: none; opacity: .65; }

/* 3. Announcement -------------------------------------------------------- */
.announcement { background: var(--ann-bg); color: var(--ann-fg); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.announcement__track { display: grid; place-items: center; min-height: 36px; padding: 0 var(--gutter); text-align: center; }
.announcement__item { grid-area: 1 / 1; margin: 0; opacity: 0; transition: opacity .5s; }
.announcement__item:first-child, .announcement__item.is-active { opacity: 1; }
.announcement.js-rotating .announcement__item:first-child:not(.is-active) { opacity: 0; }
@media (min-width: 1000px) {
	.announcement__track { display: flex; justify-content: space-evenly; gap: 32px; }
	.announcement__item, .announcement.js-rotating .announcement__item { opacity: 1 !important; }
}

/* 4. Header & nav --------------------------------------------------------
   One markup for every layout. Modifier classes on .site-header (set in
   Customize → Mono: Header) place the parts with grid areas:
   left (menu toggle + search) · logo · nav · right (icons + bag).
   ------------------------------------------------------------------------ */
.site-header { position: relative; z-index: 50; background: var(--header-bg); color: var(--header-fg); }
.site-header--divider { border-bottom: 1px solid var(--line); }
.has-sticky-header .site-header { position: sticky; top: 0; }
.admin-bar.has-sticky-header .site-header { top: 46px; }
@media (min-width: 783px) { .admin-bar.has-sticky-header .site-header { top: 32px; } }
@media (max-width: 600px) { .admin-bar.has-sticky-header .site-header { top: 0; } }
.site-header--width-full .container { max-width: none; }

.site-header__bar {
	display: grid; grid-template-columns: 1fr auto 1fr; grid-template-areas: "left logo right";
	grid-template-rows: var(--header-h); align-items: center;
}
.site-header__left { grid-area: left; display: flex; align-items: center; gap: var(--icon-gap); margin-left: -10px; }
.site-header__logo { grid-area: logo; min-width: 0; text-align: center; }
.site-header__right { grid-area: right; display: flex; align-items: center; justify-content: flex-end; gap: var(--icon-gap); margin-right: -10px; }
.site-title { font-size: var(--logo-size); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; line-height: 1; }
.site-title:hover { text-decoration: none; }
.custom-logo { max-height: 38px; width: auto; margin-inline: auto; }
.site-header .custom-logo { height: var(--logo-h-m); max-height: none; object-fit: contain; }
.site-header .site-title { font-size: var(--logo-size-m); }

/* Icons */
.site-header .icon-btn { width: calc(var(--icon-size) + 24px); height: calc(var(--icon-size) + 24px); }
.site-header .icon { width: var(--icon-size); height: var(--icon-size); stroke-width: var(--icon-stroke); }
.site-header .menu-toggle .icon { width: calc(var(--icon-size) + 2px); height: calc(var(--icon-size) + 2px); }
.site-header .search-toggle { display: none; }
.site-header--search-left .search-toggle--left,
.site-header--search-right .search-toggle--right { display: inline-flex; }
.site-header:not(.site-header--account) .account-link { display: none; }

/* Bag: icon + bubble (default) · icon + number · "Bag (2)" text */
.bag-count {
	position: absolute; top: 6px; right: 3px; min-width: 17px; height: 17px; padding: 0 4px;
	border-radius: 9px; background: var(--badge-bg, var(--header-fg)); color: var(--badge-fg, var(--header-bg));
	font-size: 10px; font-weight: 700; line-height: 17px; text-align: center;
}
.bag-count[hidden] { display: none; }
.bag-label { display: none; }
.site-header--bag-count .bag-link, .site-header--bag-text .bag-link { width: auto; gap: 4px; padding-inline: 10px; }
.site-header--bag-count .bag-count, .site-header--bag-text .bag-count {
	position: static; min-width: 0; height: auto; padding: 0; background: none; color: inherit; line-height: 1;
}
.site-header--bag-count .bag-count { font-size: 12px; }
.site-header--bag-text .bag-link { font-size: var(--menu-size); font-weight: var(--menu-weight); letter-spacing: var(--menu-ls); text-transform: var(--menu-transform); }
.site-header--bag-text .bag-link .icon { display: none; }
.site-header--bag-text .bag-label { display: inline; }
.site-header--bag-text .bag-count { font-size: inherit; font-weight: inherit; }
.site-header--bag-text .bag-count::before { content: "("; }
.site-header--bag-text .bag-count::after { content: ")"; }

/* Mobile: menu toggle · logo · icons, logo centred or left */
.primary-nav { grid-area: nav; display: none; }
@media (max-width: 999px) {
	.site-header--mlogo-left .site-header__bar { grid-template-columns: auto 1fr auto; }
	.site-header--mlogo-left .site-header__logo { text-align: left; }
	.site-header--mlogo-left .custom-logo { margin-inline: 0; }
}

@media (min-width: 1000px) {
	.menu-toggle { display: none; }
	.site-header .custom-logo { height: var(--logo-h); }
	.site-header .site-title { font-size: var(--logo-size); }
	.primary-nav { display: block; }
	.primary-nav .menu { display: flex; flex-wrap: wrap; gap: 0 4px; margin: 0; padding: 0; list-style: none; }
	.primary-nav .menu > li { position: relative; }
	.primary-nav .menu > li > a {
		display: flex; align-items: center; padding: 13px var(--menu-pad);
		font-size: var(--menu-size); font-weight: var(--menu-weight);
		letter-spacing: var(--menu-ls); text-transform: var(--menu-transform);
	}
	.primary-nav .sub-menu {
		position: absolute; top: 100%; left: 0; min-width: 220px; margin: 0; padding: 12px 0;
		list-style: none; background: var(--header-bg); border: 1px solid var(--line);
		opacity: 0; visibility: hidden; transform: translateY(4px); transition: .18s var(--ease);
	}
	.primary-nav .menu > li:nth-last-child(-n+2) > .sub-menu { left: auto; right: 0; }
	.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
	.primary-nav .sub-menu a { display: block; padding: 7px 20px; font-size: 14px; }

	/* Hover styles */
	.site-header--hover-underline .primary-nav .menu > li > a:hover,
	.site-header--hover-underline .primary-nav .current-menu-item > a { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
	.site-header--hover-fade .primary-nav .menu > li > a { transition: opacity .2s; }
	.site-header--hover-fade .primary-nav .menu > li > a:hover { opacity: .55; text-decoration: none; }
	.site-header--hover-none .primary-nav a:hover { text-decoration: none; }

	/* Left slot (menu toggle / search) is only used by the centred layout;
	   elsewhere a "left" search icon moves in with the other icons. */
	.site-header:not(.site-header--layout-centered) .site-header__left { display: none; }
	.site-header--search-left:not(.site-header--layout-centered) .search-toggle--right { display: inline-flex; }

	/* Logo on the left */
	.site-header--layout-logo-left .site-header__logo,
	.site-header--layout-logo-left-nav-right .site-header__logo,
	.site-header--layout-stacked-left .site-header__logo { text-align: left; }
	.site-header--layout-logo-left .custom-logo,
	.site-header--layout-logo-left-nav-right .custom-logo,
	.site-header--layout-stacked-left .custom-logo { margin-inline: 0; }

	/* Menu on its own row: centred · logo left, menu below */
	.site-header--layout-centered .site-header__bar { grid-template-areas: "left logo right" "nav nav nav"; grid-template-rows: var(--header-h) auto; }
	.site-header--layout-stacked-left .site-header__bar { grid-template-columns: 1fr auto; grid-template-areas: "logo right" "nav nav"; grid-template-rows: var(--header-h) auto; }
	.site-header--layout-centered .primary-nav .menu { justify-content: center; }
	.site-header--layout-stacked-left .primary-nav .menu { margin-left: calc(var(--menu-pad) * -1); }
	/* Full-bleed divider above the menu row, without causing sideways scroll. */
	.site-header--divider.site-header--layout-centered .primary-nav,
	.site-header--divider.site-header--layout-stacked-left .primary-nav { position: relative; }
	.site-header--divider.site-header--layout-centered .primary-nav::before,
	.site-header--divider.site-header--layout-stacked-left .primary-nav::before {
		content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
		background: var(--line); box-shadow: 0 0 0 100vmax var(--line); clip-path: inset(0 -100vmax);
	}

	/* Menu in line with the logo: Logo | Menu | Icons · Logo | Menu Icons · Menu | Logo | Icons */
	.site-header--layout-logo-left .site-header__bar { grid-template-areas: "logo nav right"; }
	.site-header--layout-logo-left-nav-right .site-header__bar { grid-template-columns: auto 1fr auto; grid-template-areas: "logo nav right"; }
	.site-header--layout-menu-left .site-header__bar { grid-template-areas: "nav logo right"; }
	.site-header--layout-logo-left .primary-nav .menu { justify-content: center; }
	.site-header--layout-logo-left-nav-right .primary-nav .menu { justify-content: flex-end; }
	.site-header--layout-menu-left .primary-nav .menu { margin-left: calc(var(--menu-pad) * -1); }
	.site-header--layout-logo-left .primary-nav .menu > li > a,
	.site-header--layout-logo-left-nav-right .primary-nav .menu > li > a,
	.site-header--layout-menu-left .primary-nav .menu > li > a { min-height: var(--header-h); padding-block: 0; }
}

.search-panel { border-top: 1px solid var(--line); background: var(--header-bg); padding-block: 14px; }
.search-panel[hidden] { display: none; }
.search-form { display: flex; align-items: center; gap: 10px; }
.search-form input[type="search"] { border: 0; border-bottom: 1px solid currentColor; padding-left: 0; font-size: 18px; background: transparent; }
.search-form .btn { min-height: 44px; padding-inline: 20px; }

/* 5. Drawers ------------------------------------------------------------- */
.drawer {
	position: fixed; top: 0; bottom: 0; left: 0; z-index: 200;
	width: min(88vw, 400px); background: var(--white);
	display: flex; flex-direction: column;
	transform: translateX(-100%); visibility: hidden;
	transition: transform .3s var(--ease), visibility 0s linear .3s;
}
.drawer.is-open { transform: none; visibility: visible; transition: transform .3s var(--ease); }
.drawer-head {
	display: flex; align-items: center; justify-content: space-between;
	min-height: var(--header-h); padding: 0 6px 0 var(--gutter); border-bottom: 1px solid var(--line);
}
.drawer-head h2 { margin: 0; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
.drawer-overlay { position: fixed; inset: 0; z-index: 150; background: rgba(0, 0, 0, .45); animation: fade .25s; }
.drawer-overlay[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }

.mobile-nav { flex: 1; overflow-y: auto; }
.mobile-nav .menu { list-style: none; margin: 0; padding: 8px 0; }
.mobile-nav .menu a { display: block; padding: 14px var(--gutter); font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.mobile-nav .sub-menu { list-style: none; padding: 0 0 8px 12px; margin: 0; }
.mobile-nav .sub-menu a { padding-block: 8px; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--muted); }
.mobile-nav__footer { padding: 16px var(--gutter); border-top: 1px solid var(--line); }
.mobile-nav__footer a { display: flex; gap: 10px; align-items: center; font-size: 14px; }

/* 6. Footer -------------------------------------------------------------- */
.site-footer { margin-top: 80px; background: var(--black); color: var(--white); font-size: 14px; }
.site-footer a { color: #cfcfcf; }
.site-footer a:hover { color: var(--white); }
.footer-newsletter { border-bottom: 1px solid #222; padding-block: 48px; text-align: center; }
.footer-newsletter__title { font-size: 22px; text-transform: uppercase; }
.footer-newsletter input[type="email"] { background: transparent; color: var(--white); border-color: #555; }
.footer-newsletter .btn, .footer-newsletter button, .footer-newsletter input[type="submit"] { background: var(--white); color: var(--black); border-color: var(--white); }
.footer-grid { display: grid; gap: 8px; padding-block: 48px 24px; }
.footer-brand { margin-bottom: 24px; }
.footer-brand .site-title { color: var(--white); }
.footer-brand .custom-logo { margin: 0; filter: invert(1); }
.footer-brand p { margin-top: 16px; color: #a8a8a8; max-width: 36ch; }
.footer-col { border-bottom: 1px solid #222; }
.footer-col summary {
	display: flex; justify-content: space-between; align-items: center; padding: 16px 0;
	font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; list-style: none;
}
.footer-col summary::-webkit-details-marker { display: none; }
.footer-col[open] summary .icon { transform: rotate(180deg); }
.footer-col ul { list-style: none; margin: 0 0 16px; padding: 0; }
.footer-col li { padding: 5px 0; }
.social-links { display: flex; gap: 6px; margin-top: 20px; margin-left: -8px; }
.social-links a { display: inline-flex; padding: 8px; color: var(--white); }
.footer-bottom { padding-block: 24px 32px; color: #8a8a8a; font-size: 12px; }
.footer-bottom p { margin: 0; }
@media (min-width: 768px) {
	.footer-grid { grid-template-columns: 2fr repeat(3, 1fr); gap: 40px; padding-top: 64px; }
	.footer-col { border: 0; }
	.footer-col summary { pointer-events: none; padding-top: 0; }
	.footer-col summary .icon { display: none; }
}

/* 7. Content ------------------------------------------------------------- */
.site-main { min-height: 50vh; padding-top: 24px; }
.site-main--full, .is-builder-page .site-main { padding-top: 0; }
.entry-header { margin: 24px 0 32px; }
.entry-thumb { margin: 0 0 32px; }
.entry-content { font-size: 16px; line-height: 1.7; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { font-size: 24px; margin-top: 1.8em; }
.entry-content h3 { font-size: 19px; margin-top: 1.6em; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { margin-block: 1.5em; }
.entry-content blockquote { margin: 1.5em 0; padding-left: 20px; border-left: 2px solid var(--black); font-size: 19px; }
.entry--wc .entry-content { font-size: 15px; line-height: 1.55; }
.archive-header { margin: 24px 0 32px; }
.post-grid { display: grid; gap: 40px 24px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.post-card a:hover { text-decoration: none; }
.post-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); margin-bottom: 14px; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.03); }
.post-card__title { font-size: 18px; }
.error-404 { padding-block: 80px; text-align: center; }
.navigation.pagination, .woocommerce-pagination { margin-top: 56px; }

/* 8. Shop & filters ------------------------------------------------------ */
.breadcrumb { font-size: 12px; color: var(--muted); margin: 4px 0 16px; }
.breadcrumb .sep { margin: 0 8px; }
.shop-header { margin-bottom: 20px; }
.shop-header .page-title { margin-bottom: 8px; }
.term-description, .page-description { max-width: 70ch; color: var(--muted); font-size: 14px; }

.shop-layout { display: block; }
@media (min-width: 1000px) {
	.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
	.shop-filters { position: sticky; top: calc(var(--header-h) + 60px); max-height: calc(100vh - var(--header-h) - 80px); overflow-y: auto; scrollbar-width: thin; padding-right: 4px; }
	.shop-filters .drawer-head, .shop-filters .filters__actions .btn[type="submit"] { display: none; }
	.filter-toggle { display: none !important; }
}
@media (max-width: 999.98px) {
	.shop-filters {
		position: fixed; top: 0; bottom: 0; right: 0; z-index: 200;
		width: min(92vw, 420px); background: var(--white);
		display: flex; flex-direction: column;
		transform: translateX(100%); visibility: hidden;
		transition: transform .3s var(--ease), visibility 0s linear .3s;
	}
	.shop-filters.is-open { transform: none; visibility: visible; transition: transform .3s var(--ease); }
	.shop-filters .filters { flex: 1; overflow-y: auto; padding: 0 var(--gutter); display: flex; flex-direction: column; }
	.filters__actions { position: sticky; bottom: 0; margin-top: auto; padding: 14px 0 calc(14px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line); }
}

.filter-group { border-bottom: 1px solid var(--line); }
.filter-group__title {
	display: flex; align-items: center; gap: 8px; padding: 16px 0; cursor: pointer; list-style: none;
	font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.filter-group__title::-webkit-details-marker { display: none; }
.filter-group__title .icon { margin-left: auto; transition: transform .2s; }
.filter-group[open] > .filter-group__title .icon { transform: rotate(180deg); }
.filter-group__count { display: inline-grid; place-items: center; min-width: 18px; height: 18px; border-radius: 9px; background: var(--black); color: var(--white); font-size: 10px; letter-spacing: 0; }

.filter-options { padding-bottom: 16px; }
.filter-options--list, .filter-options--colour { display: flex; flex-direction: column; gap: 2px; }
.filter-option { position: relative; display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14px; cursor: pointer; }
.filter-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.filter-option__box { flex: none; width: 16px; height: 16px; border: 1px solid #9a9a9a; background: var(--white); }
.filter-option input:checked ~ .filter-option__box { background: var(--black) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; border-color: var(--black); }
.filter-option input:focus-visible ~ .filter-option__box,
.filter-option input:focus-visible ~ .filter-option__swatch,
.filter-option input:focus-visible ~ .filter-option__label { outline: 2px solid var(--black); outline-offset: 2px; }
.filter-option__count { margin-left: auto; color: var(--muted); font-size: 12px; }
.filter-option:hover .filter-option__label { text-decoration: underline; text-underline-offset: 3px; }

.filter-option__swatch { flex: none; width: 20px; height: 20px; background: var(--swatch); box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); }
.filter-option input:checked ~ .filter-option__swatch { box-shadow: 0 0 0 2px var(--white), 0 0 0 3px var(--black); }
.filter-option input:checked ~ .filter-option__label { font-weight: 700; }

.filter-options--grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 6px; }
.filter-options--grid .filter-option { justify-content: center; padding: 0; }
.filter-options--grid .filter-option__label {
	display: grid; place-items: center; width: 100%; min-height: 40px; padding: 0 6px;
	border: 1px solid #cfcfcf; font-size: 12px; font-weight: 600; text-transform: uppercase;
}
.filter-options--grid .filter-option:hover .filter-option__label { border-color: var(--black); text-decoration: none; }
.filter-options--grid .filter-option input:checked ~ .filter-option__label { background: var(--black); color: var(--white); border-color: var(--black); }

.filter-price { display: flex; align-items: flex-end; gap: 8px; padding-bottom: 16px; }
.filter-price label { flex: 1; display: flex; flex-direction: column; gap: 4px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.filter-price input { min-height: 40px; padding: 6px 10px; }
.filter-price__sep { padding-bottom: 10px; }
.filters__actions { display: flex; gap: 10px; padding-top: 20px; }
.filters__actions .btn { flex: 1; padding-inline: 12px; }
.shop-sidebar-widgets { padding-top: 16px; }

.shop-toolbar {
	display: flex; align-items: center; gap: 12px; margin-bottom: 16px; padding-bottom: 12px;
	border-bottom: 1px solid var(--line);
}
.filter-toggle {
	display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px;
	border: 1px solid var(--black); background: var(--white);
	font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.filter-toggle__count { display: inline-grid; place-items: center; min-width: 18px; height: 18px; border-radius: 9px; background: var(--black); color: var(--white); font-size: 10px; }
.result-count { margin: 0; font-size: 13px; color: var(--muted); }
.sort { position: relative; margin-left: auto; display: flex; align-items: center; }
.sort select {
	min-height: 40px; width: auto; padding: 0 30px 0 0; border: 0; background: none;
	font-size: 13px; font-weight: 600; text-align: right; cursor: pointer;
}
.sort .icon { position: absolute; right: 4px; pointer-events: none; }
@media (max-width: 599.98px) { .result-count { display: none; } }

.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip {
	display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 12px;
	border: 1px solid var(--line); background: var(--soft); font-size: 12px; font-weight: 600;
}
.chip:hover { border-color: var(--black); text-decoration: none; }
.chip--clear { background: none; border-color: transparent; text-decoration: underline; text-underline-offset: 3px; }
.no-results { padding: 64px 0; text-align: center; }

/* 9. Product cards ------------------------------------------------------- */
ul.products { list-style: none; margin: 0; padding: 0; display: grid; gap: 32px 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 16px; } }
@media (min-width: 1200px) {
	ul.products.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	ul.products.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	ul.products.columns-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.shop-results ul.products.columns-4, .shop-results ul.products.columns-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1440px) {
	.shop-results ul.products.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.shop-results ul.products.columns-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
ul.products::before, ul.products::after { display: none !important; } /* kill Woo clearfix */
ul.products li.product { position: relative; margin: 0; padding: 0; width: auto; float: none; text-align: left; }
ul.products li.product a.woocommerce-LoopProduct-link { display: block; }
ul.products li.product a:hover { text-decoration: none; }

.card-media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--soft); margin-bottom: 10px; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-media__alt { opacity: 0; transition: opacity .35s var(--ease); }
@media (hover: hover) {
	.product:hover .card-media.has-alt .card-media__alt, .card-media.has-alt:hover .card-media__alt { opacity: 1; }
}
.card-badges { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; gap: 4px; z-index: 2; }
.badge { display: inline-block; padding: 4px 8px; background: var(--white); color: var(--black); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 1.3; }
.badge--sale { background: var(--sale); color: var(--white); }
.badge--soldout { background: var(--black); color: var(--white); }
li.product.outofstock .card-media img { opacity: .55; }

.card-title { margin: 0 0 4px; font-size: 13px; font-weight: 600; line-height: 1.35; letter-spacing: 0; text-transform: uppercase; }
ul.products .price, .product .summary .price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; margin: 0; font-size: 13px; color: var(--ink); }
ul.products .price del, .summary .price del { color: var(--muted); font-weight: 400; order: 2; }
ul.products .price ins, .summary .price ins { text-decoration: none; color: var(--sale); font-weight: 700; }
.price .woocommerce-price-suffix { font-size: .85em; color: var(--muted); }
.card-colours { display: flex; align-items: center; gap: 1px; margin: 4px 0 0 -4px; }
.card-colours .dot { position: relative; flex: none; width: 18px; height: 18px; min-height: 0; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; }
.card-colours .dot::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--swatch); box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); }
.card-colours .dot:hover, .card-colours .dot.is-active { box-shadow: inset 0 0 0 1px var(--black); }
.card-colours .more { font-size: 11px; color: var(--muted); }
ul.products .button, ul.products .added_to_cart { display: none; } /* Elementor widgets: keep cards clean */

.woocommerce-pagination ul { display: flex; justify-content: center; gap: 4px; list-style: none; margin: 0; padding: 0; border: 0; }
.woocommerce-pagination li { border: 0; float: none; }
.woocommerce-pagination .page-numbers a, .woocommerce-pagination .page-numbers span,
.navigation.pagination .page-numbers { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 8px; border: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.woocommerce-pagination .page-numbers .current, .navigation.pagination .current { background: var(--black); color: var(--white); border-color: var(--black); }
.woocommerce-pagination a:hover { border-color: var(--black); text-decoration: none; }
.navigation.pagination .nav-links { display: flex; justify-content: center; gap: 4px; }

/* 10. Single product ----------------------------------------------------- */
.single-product div.product { display: grid; gap: 24px; position: relative; }
@media (min-width: 1000px) {
	.single-product div.product { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 56px; align-items: start; }
	.single-product div.product > .summary { position: sticky; top: calc(var(--header-h) + 64px); }
	.single-product div.product > :not(.product-gallery):not(.summary) { grid-column: 1 / -1; }
}

.product-gallery { position: relative; margin: 0 calc(var(--gutter) * -1); }
.product-gallery { --gallery-h: calc(100svh - var(--header-h) - 48px); }
.product-gallery__track {
	display: flex; gap: 4px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
	-webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
.product-gallery__track::-webkit-scrollbar { display: none; }
.product-gallery__item[hidden], .product-gallery__dots[hidden], .product-gallery__dots span[hidden] { display: none; }
/* Mobile slides: the next image peeks in, and a slide is never taller than ~65% of the screen. */
.product-gallery__item { flex: 0 0 min(85%, 65svh * .75); margin: 0; scroll-snap-align: start; aspect-ratio: 3 / 4; background: var(--soft); }
.product-gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery__zoom { position: relative; display: block; height: 100%; overflow: hidden; cursor: zoom-in; }
.product-gallery[data-zoom="0"] .product-gallery__zoom { cursor: default; }
.product-gallery__zoom.is-zoomed { cursor: crosshair; touch-action: none; }
.zoom-pane { position: absolute; inset: 0; background: var(--soft) no-repeat 50% 50%; opacity: 0; transition: opacity .2s; pointer-events: none; }
.product-gallery__zoom.is-zoomed .zoom-pane.is-ready { opacity: 1; }
.product-gallery__dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.product-gallery__dots span { width: 6px; height: 6px; border-radius: 50%; background: rgba(0,0,0,.25); transition: background .2s, transform .2s; }
.product-gallery[data-count="1"] .product-gallery__track { justify-content: center; }
.product-gallery__dots span.is-active { background: var(--black); transform: scale(1.3); }
.product-gallery .card-badges { top: 12px; left: calc(var(--gutter) + 0px); }
@media (min-width: 1000px) {
	/* Side by side, sized so a full row of images fits in the window. */
	.product-gallery { margin: 0 auto; max-width: calc(var(--gallery-h) * 1.5 + 8px); }
	.product-gallery[data-count="1"] { max-width: calc(var(--gallery-h) * .75); }
	.product-gallery__track { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; overflow: visible; }
	.product-gallery[data-count="1"] .product-gallery__track { grid-template-columns: 1fr; }
	.product-gallery__dots { display: none; }
	.product-gallery .card-badges { left: 12px; }
}

.summary .product_title { font-size: clamp(20px, 2.2vw, 26px); text-transform: uppercase; letter-spacing: -.01em; margin-bottom: 8px; }
.summary .price { font-size: 18px !important; margin-bottom: 20px !important; }
.summary .woocommerce-product-details__short-description { color: #333; font-size: 14px; margin-bottom: 20px; }
.summary .woocommerce-product-rating { display: flex; gap: 8px; align-items: center; font-size: 12px; margin-bottom: 10px; }
.star-rating { position: relative; display: inline-block; width: 5.4em; height: 1em; font-size: 13px; line-height: 1; overflow: hidden; letter-spacing: .1em; }
.star-rating::before { content: "★★★★★"; color: #d0d0d0; position: absolute; inset: 0; }
.star-rating span { position: absolute; inset: 0 auto 0 0; overflow: hidden; padding-top: 1.5em; }
.star-rating span::before { content: "★★★★★"; position: absolute; top: 0; left: 0; color: var(--black); }

form.cart { margin-bottom: 20px; }
form.cart:not(.variations_form), .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 10px; }
form.cart .single_add_to_cart_button { flex: 1 1 200px; min-height: 54px; font-size: 13px; }
form.cart .single_add_to_cart_button.disabled { opacity: .35; }
.quantity { display: flex; }
.quantity .qty { width: 72px; min-height: 54px; text-align: center; -moz-appearance: textfield; }
.quantity .qty::-webkit-inner-spin-button, .quantity .qty::-webkit-outer-spin-button { opacity: 1; }

table.variations { margin-bottom: 8px; }
table.variations tr { display: block; margin-bottom: 18px; }
table.variations th, table.variations td { display: block; padding: 0; text-align: left; border: 0; }
table.variations th.label { margin-bottom: 8px; }
table.variations th.label label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.reset_variations { display: inline-block; margin-top: 8px; font-size: 12px; text-decoration: underline; color: var(--muted); }
.single_variation_wrap .woocommerce-variation { margin-bottom: 12px; font-size: 13px; }
.woocommerce-variation-price .price { margin-bottom: 4px !important; }
.stock { font-size: 13px; font-weight: 600; }
.stock.out-of-stock { color: var(--sale); }

.swatch-wrap { position: relative; }
.swatch-wrap.has-js select { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; min-height: 0; padding: 0; border: 0; }
.swatch-wrap:not(.has-js) .swatches { display: none; }
.swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.swatch {
	min-width: 52px; min-height: 44px; padding: 0 12px; border: 1px solid #cfcfcf; background: var(--white);
	font-size: 13px; font-weight: 600; text-transform: uppercase; transition: border-color .15s;
}
.swatch:hover { border-color: var(--black); }
.swatch[aria-checked="true"] { background: var(--black); color: var(--white); border-color: var(--black); }
.swatch:disabled, .swatch.is-unavailable { color: #b5b5b5; background: linear-gradient(to top right, transparent calc(50% - .5px), #cfcfcf calc(50% - .5px), #cfcfcf calc(50% + .5px), transparent calc(50% + .5px)); cursor: not-allowed; }
.swatches--colour .swatch { min-width: 0; width: 40px; height: 40px; min-height: 0; padding: 0; border-radius: 50%; display: grid; place-items: center; }
.swatches--colour .swatch__dot { width: 30px; height: 30px; border-radius: 50%; background: var(--swatch); box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); }
.swatches--colour .swatch[aria-checked="true"] { background: var(--white); border: 2px solid var(--black); }
.swatches--colour .swatch.is-unavailable { opacity: .35; background: var(--white); }
.size-guide-link { display: inline-block; margin-top: 10px; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }

.delivery-note { display: flex; gap: 10px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); font-size: 13px; color: #333; margin: 0; }
.product_meta { font-size: 12px; color: var(--muted); padding: 12px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.product_meta a { text-decoration: underline; }

.product-accordions { border-top: 1px solid var(--line); }
.accordion { border-bottom: 1px solid var(--line); }
.accordion summary {
	display: flex; align-items: center; justify-content: space-between; padding: 18px 0; cursor: pointer; list-style: none;
	font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .icon { transition: transform .2s; }
.accordion[open] summary .icon { transform: rotate(180deg); }
.accordion__body { padding-bottom: 20px; font-size: 14px; line-height: 1.65; }
.accordion__body table.woocommerce-product-attributes th, .accordion__body table.woocommerce-product-attributes td { padding: 8px 0; border-bottom: 1px solid var(--line); text-align: left; font-size: 13px; }
.accordion__body table.woocommerce-product-attributes th { width: 40%; font-weight: 600; }
.accordion__body table.woocommerce-product-attributes p { margin: 0; }
#reviews .commentlist { list-style: none; padding: 0; }
#reviews .comment_container { padding: 12px 0; border-bottom: 1px solid var(--line); }
#reviews .avatar { display: none; }
#reviews .comment-form-rating .stars a { color: var(--black); font-size: 18px; margin-right: 4px; }

.related, .upsells { margin-top: 72px; }
.related > h2, .upsells > h2, .cross-sells > h2 { font-size: 18px; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 24px; }

/* 11. Notices ------------------------------------------------------------ */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews, p.no-comments {
	display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 24px; padding: 14px 18px;
	list-style: none; border: 1px solid var(--black); background: var(--white); font-size: 14px;
}
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none; }
.woocommerce-error { border-color: var(--sale); color: var(--sale); flex-direction: column; align-items: flex-start; }
.woocommerce-error li { margin: 0; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; margin-left: auto; min-height: 38px; padding: 8px 16px; }

/* 12. Cart / checkout / account (layers on top of WooCommerce's CSS) ----- */
.woocommerce table.shop_table { border-radius: 0; border-color: var(--line); }
.woocommerce table.shop_table th { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.woocommerce table.shop_table td { border-color: var(--line); }
.woocommerce .cart-collaterals .cart_totals, .woocommerce-checkout-review-order { background: var(--soft); padding: 24px; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { font-size: 13px; padding: 18px; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { border-radius: 0; }
.woocommerce form .form-row label { font-weight: 600; }
.woocommerce-checkout #payment { background: var(--white) !important; border: 1px solid var(--line); border-radius: 0 !important; }
.woocommerce-checkout #payment div.payment_box { background: var(--soft) !important; }
.woocommerce-checkout #payment div.payment_box::before { display: none; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { text-decoration: underline; text-underline-offset: 4px; }
.select2-container--default .select2-selection--single { border-radius: 0 !important; min-height: 46px; border-color: #cfcfcf !important; }
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 44px !important; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 44px !important; }

/* Block cart/checkout (if used) — monochrome */
.wc-block-components-button:not(.is-link) { background: var(--black) !important; color: var(--white) !important; border-radius: 0 !important; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.wc-block-components-text-input input, .wc-blocks-components-select__select, .wc-block-components-form .wc-block-components-text-input input { border-radius: 0 !important; }

/* 13. Elementor ---------------------------------------------------------- */
.is-builder-page .site-main { padding-top: 0; }
.elementor-page .site-footer { margin-top: 0; }
.elementor-widget-woocommerce-products ul.products, .elementor-widget-wc-archive-products ul.products { gap: 32px 12px; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
