/* =========================================================================
   Basis — main stylesheet

   Geometry is taken from the live site's computed styles, so values are
   exact rather than inferred. The root is 81.25% (13px), which is what the
   reference uses; every rem below therefore resolves against 13px.

   Type is Work Sans for headings, Roboto for everything else.
   ====================================================================== */

html {
	font-size: 81.25%;   /* 13px root */
}

:root {
	/* Palette */
	--nav-bg: rgba(0, 0, 0, 0.4);   /* translucent, not solid grey — see README */
	--nav-fg: #ffffff;
	--ink: #000000;
	--paper: #ffffff;
	--line: #e4e4e4;
	--muted: #6b6b6b;

	--panel-bg: #000000;
	--panel-fg: #ffffff;
	--scrim: rgba(0, 0, 0, 0.82);
	--dropdown-bg: rgba(0, 0, 0, 0.4);

	/* Type */
	--font-heading: "Work Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--font-body: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--font-nav: var(--font-body);
	--nav-weight: 400;       /* matches the reference exactly */

	--fs-base: 1rem;         /* 13px  */
	--lh-base: 1.3;          /* 16.9px */

	/* Metrics */
	--gutter: 0.75rem;       /* 9.75px mobile  */
	--grid-gap: 1.5rem;
	--bar-h: 30px;           /* announcement bar (marquee) — unchanged */
	--nav-bar-h: 47px;       /* nav bar, desktop. 30px = exact-live. */
	--menu-pad: 0.5rem;      /* 6.5px each side of a nav item */
	--utility-gap: 1rem;     /* mobile */
	--logo-w: 95px;
	--panel-pad: 0.5rem;      /* 6.5px: reference drawer text begins at x=34 */

	--speed: 200ms;
	--ease: cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 1024px) {
	:root {
		--gutter: 1.25rem;       /* 16.25px */
		--grid-gap: 3rem;        /* 39px    */
		--utility-gap: 1.25rem;  /* 16.25px — Search/Log in/Cart sit close */
	}
}

/* ---------- Reset ---------- */

*, *::before, *::after { box-sizing: border-box; }

body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }

ul[class], ol[class] { list-style: none; padding: 0; }

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

input, button, textarea, select { font: inherit; color: inherit; }

button { background: none; border: 0; padding: 0; cursor: pointer; }

/* ---------- Base ---------- */

html,
body {
	width: 100%;
	max-width: none;
	margin: 0;
	overflow-x: clip;
}

body {
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: var(--fs-base);
	line-height: var(--lh-base);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	font-weight: 700;
	line-height: 1.15;
}

a { color: inherit; text-decoration: none; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

.wrapper {
	width: 100%;
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.screen-reader-text {
	position: absolute;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: var(--gutter);
	top: -100%;
	z-index: 100;
	padding: 6px 12px;
	background: var(--ink);
	color: var(--paper);
}

.skip-link:focus { top: 6px; }

/* =========================================================================
   Announcement bar

   Single track, padded left by 100% of the bar so the text starts off the
   right edge, then translated by 100% of its own width. That is the
   reference's technique — a duplicated-halves loop looks similar but drifts
   out of phase at different viewport widths.
   ====================================================================== */

.announce {
	height: var(--bar-h);
	background: transparent;
	color: var(--ink);
	overflow: hidden;
	display: flex;
	align-items: center;
}

.announce__track {
	display: inline-block;
	padding-left: 100%;
	white-space: nowrap;
	font-size: 0.75rem;              /* 9.75px */
	line-height: 1.3;
	animation: marquee var(--announce-duration, 20s) linear infinite;
}

.announce__item { white-space: pre; }

@keyframes marquee {
	0%   { transform: translateX(0); }
	100% { transform: translateX(-100%); }
}

.announce--static .announce__track {
	animation: none;
	padding-left: 0;
}

@media (prefers-reduced-motion: reduce) {
	.announce__track { animation: none; padding-left: 0; }
}

/* =========================================================================
   Header

   A 12-column grid. The four zones span 2 / 5 / 3 / 2 columns, and the
   utility zone is pinned to the last column. This is the reference's own
   structure — flex approximations drift as the viewport changes.
   ====================================================================== */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--nav-bg);
	color: var(--nav-fg);
	font-family: var(--font-nav);
	font-weight: var(--nav-weight);
	font-size: var(--fs-base);
	line-height: var(--lh-base);
	text-transform: uppercase;
}

/* WordPress pins its admin bar to the viewport when logged in, so a header
   stuck to top:0 lands underneath it and disappears. Offset by the admin bar's
   height at each of its own breakpoints. Below 600px core switches the bar to
   position:absolute, so it scrolls away and no offset is needed. */
.admin-bar .site-header { top: 32px; }

@media screen and (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}

@media screen and (max-width: 600px) {
	.admin-bar .site-header { top: 0; }
}

.site-header__inner {
	display: grid;
	grid-template-columns: auto 1fr;
	grid-auto-flow: column;          /* never spill onto a second row */
	align-items: center;
	gap: var(--grid-gap);
	padding-block: 0.5rem;       /* 13px total — gives live's 47px when the
	                                secondary nav wraps to two lines */
	min-height: var(--bar-h);
}

@media (min-width: 1024px) {
	.site-header__inner {
		grid-template-columns: repeat(12, 1fr);
		grid-auto-flow: row;
		min-height: var(--nav-bar-h);
	}

	.brand      { grid-column: span 2; }
	.nav--primary   { grid-column: span 5; }
	.nav--secondary { grid-column: span 3; }
	.utility    { grid-column: span 2 / -1; }
}

/* Brand ---------------------------------------------------------------- */

.brand { grid-row: 1; }

.brand__mark {
	font-family: var(--font-heading);
	font-size: 1.7rem;
	font-weight: 700;
	line-height: var(--lh-base);
	white-space: nowrap;
}

.brand img,
.custom-logo {
	max-width: var(--logo-w);
	width: auto;
	height: auto;
}

/* Nav zones ------------------------------------------------------------- */

.nav__list {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: center;
	margin-inline: calc(var(--menu-pad) * -1);
	padding: 0;
	list-style: none;
}

.nav__list > li {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	padding-inline: var(--menu-pad);
}

.nav__item-row {
	display: inline-flex;
	align-items: center;
	flex-wrap: nowrap;
	max-width: 100%;
	white-space: nowrap;
}

.nav__link { white-space: nowrap; }

/* The bar uppercases, but a parent item's own label does not — this is what
   keeps "Shop Categories" and "Collections" mixed-case beside "HOME". */
.nav__list > li.menu-item-has-children > .nav__item-row > .nav__link { text-transform: none; }

.nav__link:hover,
.nav__list .current-menu-item > .nav__item-row > .nav__link { text-decoration: underline; }

.nav__toggle {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	align-self: center;
	margin-left: 0.25rem;        /* ml-1 */
	color: inherit;
	font: inherit;
	line-height: 1;
	text-transform: inherit;
}

/* 1rem square icon box, matching the reference's w-4 h-4. */
.nav__toggle-icon {
	display: block;
	flex: none;
	width: 1rem;
	height: 1rem;
}

.nav__icon {
	display: block;
	width: 100%;
	height: 100%;
}

.nav__icon--minus { display: none; }

.nav__list > li.is-open > .nav__item-row > .nav__toggle .nav__icon--plus { display: none; }

.nav__list > li.is-open > .nav__item-row > .nav__toggle .nav__icon--minus { display: block; }

@media (max-width: 1023px) {
	.nav--primary,
	.nav--secondary { display: none; }
}

/* Utility --------------------------------------------------------------- */

.utility {
	grid-row: 1;
	display: flex;
	align-items: baseline;
	justify-content: flex-end;
	gap: var(--utility-gap);
}

/* Buttons don't inherit text-transform — the UA stylesheet declares it on
   button/input, and a declaration always beats an inherited value. */
.utility__item {
	color: inherit;
	font: inherit;
	text-transform: uppercase;
	white-space: nowrap;
}

.utility__item:hover { text-decoration: underline; }

.menu-toggle { color: inherit; font: inherit; text-transform: uppercase; }

@media (max-width: 1023px) {

	/* Only Menu and Cart survive on mobile; Search and Log in move into the
	   drawer, as on the reference. */
	.utility .utility__item:not(.cart-link):not(.menu-toggle) { display: none; }
}

@media (min-width: 1024px) {
	.menu-toggle { display: none; }
}

/* =========================================================================
   Dropdown

   Sits below its parent item, offset by one line-height. Semi-transparent
   black over whatever is behind it, with a hairline white border.
   ====================================================================== */

.nav__list > li { position: relative; }

.nav .sub-menu {
	position: absolute;
	top: calc(var(--fs-base) * var(--lh-base));   /* 16.9px */
	left: 0;
	z-index: 50;
	display: none;
	width: 12rem;                                  /* 156px */
	min-width: 100%;
	margin: 0.5rem calc(var(--menu-pad) / -2) 0;
	padding: 0;
	list-style: none;
	background: var(--dropdown-bg);
	border: 1px solid var(--nav-fg);
}

.nav__list > li.is-open > .sub-menu { display: block; }

.nav .sub-menu li { padding: 0; }

.nav .sub-menu a {
	display: block;
	padding: 0.25rem;                              /* 3.25px */
	font-family: var(--font-nav);
	font-weight: var(--nav-weight);
	font-size: var(--fs-base);
	line-height: var(--lh-base);
	color: var(--nav-fg);
	text-transform: uppercase;
	white-space: nowrap;
}

.nav .sub-menu a:hover,
.nav .sub-menu a:focus { text-decoration: underline; }

.nav__list > li.is-open > .nav__item-row > .nav__link,
.nav__list > li.is-open > .nav__item-row > .nav__toggle { text-decoration: none; }

/* =========================================================================
   Right drawer

   One component, three panels: menu, search and cart. The reference opens all
   three from the same slot, which is why they share a width, colour and
   transition — building them separately guarantees they drift apart.
   ====================================================================== */

.drawer {
	position: fixed;
	inset: 0;
	z-index: 120;
	display: flex;
	visibility: hidden;
	pointer-events: none;
}

.drawer.is-open { visibility: visible; pointer-events: auto; }

.drawer__scrim {
	position: absolute;
	inset: 0;
	background: var(--scrim);
	opacity: 0;
	transition: opacity var(--speed) var(--ease);
}

.drawer.is-open .drawer__scrim { opacity: 1; }

.drawer__panel {
	position: relative;
	width: 92%;                  /* reference: 322px panel at 350px viewport */
	height: 100%;
	height: 100dvh;
	margin-left: auto;
	display: flex;
	flex-direction: column;
	background: var(--panel-bg);
	color: var(--panel-fg);
	transform: translateX(100%);
	transition: transform var(--speed) var(--ease);
	overflow: hidden;
	overscroll-behavior: contain;
}

.drawer.is-open .drawer__panel { transform: translateX(0); }

/* The cap is desktop-only; mobile remains the reference's 92% viewport width. */
@media (min-width: 1024px) {
	.drawer__panel { max-width: 24rem; }   /* 312px at a 13px root */
}

.drawer__head {
	flex: 0 0 2.5rem;
	display: flex;
	align-items: center;
	padding: 0 var(--panel-pad);
}

.drawer__close {
	flex: none;
	display: grid;
	place-items: center;
	width: 1.2rem;
	height: 1.2rem;
	margin-left: auto;
	margin-right: -0.25rem;
	color: inherit;
	transform: translateY(-1px);
}

.drawer__close svg {
	width: 100%;
	height: 100%;
	stroke: currentColor;
	stroke-width: 2;
	fill: none;
}

.drawer__body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	min-height: 0;
	padding: 0 var(--panel-pad) 1.5rem;
	overflow-y: auto;
}

/* The three panels swap inside one slot. */
.drawer__view { display: none; }
.drawer__view.is-active { display: block; width: 100%; }

.drawer__view[data-basis-view="menu"].is-active {
	flex: 1 1 auto;
	min-height: 0;
}

/* --- menu panel --- */

.drawer__nav {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 0;
	font-family: var(--font-nav);
	font-weight: var(--nav-weight);
}

.drawer__menu-top { padding-top: 0.65rem; }

.drawer__list { list-style: none; margin: 0; padding: 0; }

.drawer__list > li {
	display: block;
	margin: 0 0 5px;
	font-size: 16px;
	line-height: 21px;
	text-transform: uppercase;
}

.drawer__list > li > .nav__item-row {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	width: 100%;
	height: 21px;
}

.drawer__list > li > .nav__item-row > a {
	flex: 1 1 auto;
	display: block;
	min-width: 0;
	padding-block: 0;
	line-height: 21px;
}

.drawer__list > li > .nav__item-row > .nav__toggle {
	flex: 0 0 16px;
	display: grid;
	place-items: center;
	align-self: center;
	width: 16px;
	height: 21px;
	margin: 0 -4px 0 0;
}

.drawer__list .nav__toggle-icon {
	width: 14px;
	height: 14px;
}

.drawer__list .sub-menu {
	position: static;
	display: none;
	width: auto;
	min-width: 0;
	margin: 0;
	padding: 3px 0 0 15px;
	background: none;
	border: 0;
}

.drawer__list > li.is-open > .sub-menu { display: block; }

.drawer__list .current-menu-item > .nav__item-row > .nav__link,
.drawer__home-link { text-decoration: underline; text-underline-offset: 1px; }

.drawer__list > li.is-open > .nav__item-row > .nav__toggle .nav__icon--plus { display: none; }

.drawer__list > li.is-open > .nav__item-row > .nav__toggle .nav__icon--minus { display: block; }

.drawer__list .sub-menu a {
	display: block;
	padding-block: 0;
	font-size: 16px;
	line-height: 21px;
}

.drawer__list--dynamic > li:first-child { margin-bottom: 6px !important; }

.drawer__list--dynamic > li.menu-item-has-children.is-open { margin-bottom: 1px !important; }

.drawer__menu-cart .cart-link {
	display: block;
	font-size: 16px;
	line-height: 21px;
	text-transform: none;
}

.drawer__menu-lower {
	display: flex;
	flex-direction: column;
	margin-top: auto;
}

.drawer__socials {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 1.75rem;
}

.drawer__socials a {
	display: grid;
	place-items: center;
	width: 12px;
	height: 12px;
}

.drawer__socials svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
}

.drawer__socials .drawer__social-dot {
	fill: currentColor;
	stroke: none;
}

.drawer__secondary {
	list-style: none;
	margin: 0 0 0.5rem;
	padding: 0;
	font-size: 16px;
	line-height: 21px;
	text-transform: uppercase;
}

.drawer__secondary a { display: block; height: 21px; padding-block: 0; line-height: 21px; }

.drawer__menu-search {
	display: flex;
	align-items: center;
	width: 100%;
	height: 61px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.drawer__menu-field {
	flex: 1 1 auto;
	min-width: 0;
	height: 100%;
	padding: 0;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--panel-fg);
	font-family: var(--font-body);
	font-size: 1rem;
}

.drawer__menu-field::placeholder {
	color: rgba(255, 255, 255, 0.35);
	opacity: 1;
}

.drawer__menu-search-submit {
	flex: none;
	display: grid;
	place-items: center;
	width: 19px;
	height: 24px;
	margin-right: -4px;
	color: inherit;
}

.drawer__menu-search-submit svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
}

.drawer__account {
	display: block;
	padding-top: 0.75rem;
	font-size: 16px;
	line-height: 21px;
	text-transform: none;
}

/* --- search panel --- */

.drawer__form {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	height: 26px;
	padding-inline: 2px;
	border: 1px solid var(--panel-fg);
}

.drawer__form-icon {
	flex: none;
	width: 21px;
	height: 21px;
	stroke: currentColor;
	fill: none;
	stroke-width: 2;
}

.drawer__field {
	flex: 1 1 auto;
	min-width: 0;
	height: 100%;
	border: 0;
	background: transparent;
	color: var(--panel-fg);
	font-family: var(--font-body);
	font-size: var(--fs-base);
	line-height: 1;
}

.drawer__field::placeholder { color: var(--panel-fg); opacity: 1; }

.drawer__field:focus { outline: none; }

.drawer__form:focus-within { outline: 2px solid var(--panel-fg); outline-offset: 2px; }

.drawer__results { margin-top: 1.5rem; }

.drawer__results:empty { display: none; }

.drawer__results-list { list-style: none; margin: 0; padding: 0; }

.drawer__result { border-bottom: 1px solid rgba(255, 255, 255, 0.2); }

.drawer__result a {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding-block: 0.6rem;
}

.drawer__result-media { flex: none; width: 44px; }

.drawer__result-media img { width: 44px; height: 44px; object-fit: cover; }

.drawer__result-text { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }

.drawer__result-title { text-transform: uppercase; }

.drawer__result-price { color: rgba(255, 255, 255, 0.7); }

.drawer__result-price del { margin-right: 0.4em; }

.drawer__result-price ins { text-decoration: none; }

.drawer__result-all { display: inline-block; margin-top: 1rem; text-decoration: underline; }

.drawer__result-empty { margin-top: 1rem; }

/* --- cart panel --- */

.drawer__cart ul.cart_list { list-style: none; margin: 0; padding: 0; }

.drawer__cart ul.cart_list li {
	padding-block: 0.75rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.25);
	overflow: hidden;
}

.drawer__cart ul.cart_list img { float: right; width: 48px; margin-left: 0.75rem; }

.drawer__cart .woocommerce-mini-cart__total { padding-block: 0.75rem; }

.drawer__cart .woocommerce-mini-cart__buttons {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.drawer__cart .button {
	border-color: var(--panel-fg);
	background: var(--panel-fg);
	color: var(--panel-bg);
	text-align: center;
}

.drawer__cart .button:hover { background: transparent; color: var(--panel-fg); }

@media (prefers-reduced-motion: reduce) {
	.drawer__scrim,
	.drawer__panel { transition: none; }
}

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

.site-footer {
	background: var(--paper);
	color: var(--ink);
	font-size: var(--fs-base);
	line-height: var(--lh-base);
	padding-block: 7.5rem;        /* 97.5px */
}



.site-footer__cols {
	display: grid;
	grid-template-columns: 1fr;
	row-gap: 1.5rem;
}

.footer-col__title {
	font-family: var(--font-heading);
	font-size: var(--fs-base);
	font-weight: 700;
	line-height: var(--lh-base);
	margin-bottom: 0.5rem;        /* 6.5px */
}

.footer-col__list { list-style: none; margin: 0; padding: 0; }

.footer-col__list a { display: block; }

.footer-col__list a:hover { text-decoration: underline; }

.site-footer__legal { margin-top: 1.5rem; line-height: var(--lh-base); }

.site-footer__mark { margin-top: 2rem; }

.site-footer__mark img { width: 150px; height: 150px; }

@media (min-width: 1024px) {
	.site-footer__cols {
		grid-template-columns: repeat(12, 1fr);
		column-gap: var(--grid-gap);
	}

	.footer-col { grid-column: span 4; }

	.site-footer__legal { margin-top: 4rem; }
	.site-footer__mark { margin-top: 3rem; }
}

/* =========================================================================
   Content
   ====================================================================== */

main { min-height: 40vh; }

.entry { padding-block: 3rem; border-bottom: 1px solid var(--line); }

.entry--single, .entry--page { border-bottom: 0; }

.entry__title { font-size: 1.777rem; line-height: 1.2; margin-bottom: 0.5rem; }

.entry--single .entry__title { font-size: 2.369rem; }

.entry__date { display: block; color: var(--muted); margin-bottom: 1rem; }

.entry__content > * + * { margin-top: 1.25rem; }

.notice { padding-block: 4rem; max-width: 46ch; }

.notice__title { font-size: 1.777rem; margin-bottom: 0.75rem; }

.notice > * + * { margin-top: 1.25rem; }

.button {
	display: inline-block;
	padding: 0.75rem 1.5rem;
	border: 1px solid var(--ink);
	background: var(--ink);
	color: var(--paper);
	text-transform: uppercase;
	transition: background var(--speed) ease, color var(--speed) ease;
}

.button:hover { background: var(--paper); color: var(--ink); }

.search-form { display: flex; gap: 0.5rem; max-width: 26rem; }

.search-form__field {
	flex: 1;
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--line);
	background: var(--paper);
}

.search-form__field:focus { border-color: var(--ink); outline: none; }

.pagination { padding-block: 3rem; }

.pagination .nav-links { display: flex; gap: 1rem; align-items: center; }

.pagination .current { font-weight: 700; text-decoration: underline; }

/* =========================================================================
   Shop
   ====================================================================== */

.shop { padding-inline: var(--gutter); padding-block: 3rem; }

.shop__toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--line);
	margin-bottom: 2rem;
}

.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 2.25rem 0.5rem;
	margin: 0; padding: 0; list-style: none;
}

.woocommerce ul.products li.product { width: 100%; float: none; margin: 0; clear: none; }

.product-card { position: relative; display: flex; flex-direction: column; }

.product-card__media {
	position: relative;
	overflow: hidden;
	background: #f0f0f0;
	aspect-ratio: 1 / 1;
	margin-bottom: 0;
}

.product-card__media img {
	width: 100%; height: 100%;
	object-fit: contain;
	object-position: center;
	transition: opacity 260ms ease, transform 400ms ease;
}

.basis-card-images {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
}

.basis-card-image--secondary {
	position: absolute;
	inset: 0;
	opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
	.product-card:hover .has-hover-image .basis-card-image--primary,
	.home-product:hover .has-hover-image .basis-card-image--primary {
		opacity: 0;
		transform: none;
	}

	.product-card:hover .has-hover-image .basis-card-image--secondary,
	.home-product:hover .has-hover-image .basis-card-image--secondary {
		opacity: 1;
		transform: scale(1.025);
	}

	.product-card:hover .product-card__media:not(.has-hover-image) img {
		transform: scale(1.025);
	}
}

.product-card__body {
	min-height: 4rem;
	padding: 0.65rem 0.25rem 1rem;
}

.product-card__title {
	font-family: var(--font-heading);
	font-size: var(--fs-base);
	font-weight: 500;
	line-height: 1.2;
	text-transform: uppercase;
	margin-bottom: 0;
}

.product-card__price {
	margin-top: 0.15rem;
	font-family: var(--font-body);
	font-size: var(--fs-base);
	font-weight: 400;
	line-height: 1.2;
}

.product-card__price del { color: var(--ink); margin-left: 0.45em; }

.product-card__price ins { text-decoration: none; }

.product-card__sold-out { color: #5f5f5f; }

@media (max-width: 767px) {
	.shop {
		padding-inline: 0.45rem;
		padding-top: 1rem;
	}

	.woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1px;
	}

	.product-card__body {
		min-height: 4rem;
		padding: 0.55rem 0.35rem 0.85rem;
	}

	.product-card__title,
	.product-card__price {
		font-size: 0.82rem;
	}
}

.badge {
	position: absolute;
	top: 0.5rem; left: 0.5rem;
	z-index: 2;
	padding: 0.25rem 0.5rem;
	background: var(--ink);
	color: var(--paper);
	font-size: 0.75rem;
	text-transform: uppercase;
}

.woocommerce span.onsale { all: unset; }

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

.home-page {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	min-height: 0;
	overflow: hidden;
}

.home-hero {
	position: relative;
	height: min(56.8vw, 1090px);
	min-height: 520px;
	background: #f7f7f7;
}

.home-hero__link,
.home-hero picture,
.home-hero__image {
	display: block;
	width: 100%;
	height: 100%;
}

.home-hero__image {
	object-fit: cover;
	object-position: center;
}

.home-collections {
	padding: 1.75rem var(--gutter) 0;
	background: var(--paper);
}

.home-tabs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
	margin-bottom: 2rem;
}

.home-tab {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	column-gap: 0.75rem;
	min-height: 2.7rem;
	padding: 0.5rem 0.75rem;
	background: #f1f1f1;
	color: var(--ink);
	font-family: var(--font-heading);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1;
	text-align: left;
}

.home-tab.is-active {
	background: var(--ink);
	color: var(--paper);
}

.home-tab__number {
	color: #a1a1a1;
	font-weight: 400;
}

.home-tab__label {
	justify-self: end;
}

.home-tab__count {
	justify-self: end;
}

.home-panel[hidden] {
	display: none;
}

.home-product-grid {
	display: grid;
	margin: 0;
	padding: 0;
}

.home-product-grid--tabs {
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 1.5rem) / 4);
	gap: 0.5rem;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	scroll-snap-type: inline proximity;
	scrollbar-width: none;
}

.home-product-grid--tabs::-webkit-scrollbar {
	display: none;
}

.home-product-grid--tabs .home-product {
	scroll-snap-align: start;
}

.home-product-slider__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 6.5rem;
	padding: 1rem 0 2rem;
}

.home-product-slider__status {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1;
}

.home-product-slider__controls {
	display: flex;
	align-items: center;
	gap: 0.9rem;
}

.home-product-slider__button {
	display: grid;
	width: 44px;
	height: 36px;
	padding: 0;
	place-items: center;
	background: transparent;
	color: var(--ink);
}

.home-product-slider__button svg {
	display: block;
	width: 44px;
	height: 16px;
	overflow: visible;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.25;
	stroke-linecap: square;
	stroke-linejoin: miter;
}

.home-product-slider__button:focus-visible {
	outline: 1px solid currentColor;
	outline-offset: 3px;
}

.home-product-grid--featured {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.5rem;
}

.home-product {
	min-width: 0;
	font-size: var(--fs-base);
	line-height: 1.2;
}

.home-product__media {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #f2f2f2;
}

.home-product__image {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	transition: opacity 260ms ease, transform 400ms ease;
}

@media (hover: hover) and (pointer: fine) {
	.home-product:hover .home-product__media:not(.has-hover-image) .home-product__image {
		transform: scale(1.025);
	}
}

@media (prefers-reduced-motion: reduce) {
	.product-card__media img,
	.home-product__image {
		transition: none;
	}
}

.home-product__body {
	display: block;
	min-height: 4rem;
	padding: 0.65rem 0.25rem 1rem;
}

.home-product__title {
	font-family: var(--font-heading);
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.2;
	text-transform: uppercase;
}

.home-product__price {
	margin-top: 0.15rem;
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.2;
	white-space: normal;
}

.home-product__price del {
	color: var(--ink);
	font-weight: 400;
	margin-left: 0.45em;
}

.home-product__price ins {
	text-decoration: none;
}

.home-product__sold-out {
	color: #5f5f5f;
}

.home-collections__empty {
	padding: 4rem 1rem;
	border: 1px solid var(--line);
	text-align: center;
}

.home-banners {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	height: min(56.8vw, 1090px);
	margin-top: 0;
	overflow: hidden;
	background: #f1f1f1;
}

.home-banner,
.home-banner picture,
.home-banner__image {
	display: block;
	width: 100%;
	height: 100%;
}

.home-banner {
	overflow: hidden;
}

.home-banner__image {
	object-fit: cover;
	object-position: center;
}

.home-featured {
	padding: 2.25rem var(--gutter) 0;
}

.home-featured .home-product__body {
	padding-inline: 0.25rem;
}

@media (max-width: 767px) {
	.home-hero {
		height: 432px;
		min-height: 0;
	}

	.home-collections {
		padding: 1rem 0.45rem 0;
		border-top: 1px solid var(--ink);
	}

	.home-tabs {
		grid-template-columns: 1fr;
		gap: 0.45rem;
		margin-bottom: 0.45rem;
	}

	.home-tab {
		min-height: 3rem;
		padding: 0.5rem 0.9rem;
		font-size: var(--fs-base);
	}

	.home-tab__label {
		justify-self: start;
	}

	.home-product-grid--tabs {
		grid-auto-columns: 87%;
		gap: 0.45rem;
	}

	.home-product-slider__footer {
		min-height: 4.7rem;
		padding: 0.75rem 0 1.15rem;
	}

	.home-product-slider__controls {
		gap: 0.9rem;
	}

	.home-product-grid--featured {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1px;
		background: var(--paper);
	}

	.home-product__body {
		min-height: 4rem;
		padding: 0.55rem 0.35rem 0.85rem;
	}

	.home-product__title,
	.home-product__price {
		font-size: 0.82rem;
	}

	.home-banners {
		display: flex;
		height: 400px;
		overflow-x: auto;
		overflow-y: hidden;
		overscroll-behavior-inline: contain;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.home-banners::-webkit-scrollbar {
		display: none;
	}

	.home-banner {
		flex: 0 0 100%;
		min-width: 100%;
		scroll-snap-align: start;
		scroll-snap-stop: always;
	}

	.home-featured {
		padding: 0.45rem 0.45rem 0;
	}

	.home-featured .home-product__body {
		min-height: 4rem;
		padding: 0.55rem 0.35rem 0.85rem;
	}
}

/* =========================================================================
   Single product
   ====================================================================== */

.basis-product-page,
.basis-product {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	min-height: 0;
}

.basis-product__main {
	display: grid;
	grid-template-columns: 58% 42%;
	align-items: start;
	width: 100%;
}

.basis-product-gallery {
	min-width: 0;
	background: var(--paper);
}

.basis-product-gallery__track {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	background: var(--paper);
}

.basis-product-gallery__slide {
	position: relative;
	width: 100%;
	margin: 0;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background: #f1f1f1;
}

.basis-product-gallery__image {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}

.basis-product-gallery__nav {
	display: none;
}

.basis-product-summary {
	min-width: 0;
	/* The reference starts the purchase block well below the top edge of the
	   gallery and leaves a deliberately wider quiet margin at the right. */
	padding: clamp(7rem, 10.2vw, 15rem) clamp(3rem, 8.8vw, 13rem) 0 1.5rem;
}

.basis-product-summary__inner {
	position: sticky;
	top: calc(var(--bar-h) + var(--nav-bar-h) + clamp(2rem, 4vw, 7rem));
	width: 100%;
	max-width: 48rem;
}

.basis-product-summary__title {
	font-family: var(--font-heading);
	font-size: 2.15rem;
	font-weight: 700;
	line-height: 1.05;
	text-transform: uppercase;
	letter-spacing: -0.025em;
}

.basis-product-summary__price {
	display: flex;
	align-items: baseline;
	gap: 0.5rem;
	margin-top: 0.55rem;
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.2;
}

.basis-product-summary__price ins {
	order: 1;
	text-decoration: none;
}

.basis-product-summary__price del {
	order: 2;
	color: #777;
}

.basis-product-form {
	display: block;
	margin: 1.2rem 0 0;
}

.basis-product-form__quantity {
	display: grid;
	grid-template-columns: 2.15rem minmax(2.7rem, 1fr) 2.15rem;
	align-items: stretch;
	width: 8.25rem;
	height: 2.25rem;
	border: 1px solid var(--ink);
	border-radius: 2px;
	overflow: hidden;
}

.basis-product-form__quantity button,
.basis-product-form__quantity input {
	display: grid;
	min-width: 0;
	height: 100%;
	margin: 0;
	padding: 0;
	place-items: center;
	border: 0;
	border-radius: 0;
	background: var(--paper);
	color: var(--ink);
	font: inherit;
	text-align: center;
}

.basis-product-form__quantity input {
	width: 100%;
	-moz-appearance: textfield;
}

.basis-product-form__quantity input::-webkit-outer-spin-button,
.basis-product-form__quantity input::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.basis-product-form__size-chart {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin-top: 1.25rem;
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1;
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.basis-product-form__size-chart svg {
	width: 1rem;
	height: 1rem;
	fill: none;
	stroke: currentColor;
	stroke-width: 1;
	stroke-linecap: square;
	stroke-linejoin: miter;
}

.basis-product-form__variations {
	margin-top: 1.1rem;
}

.basis-product-form__variation + .basis-product-form__variation {
	margin-top: 0.75rem;
}

.basis-product-form__variation-label,
.basis-product-form__native-select,
.basis-product-form__variation-result .single_variation,
.basis-product-form .reset_variations {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.basis-product-form__options {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.55rem;
}

.basis-product-form__option {
	display: grid;
	min-width: 2.1rem;
	height: 2.1rem;
	padding: 0 0.55rem;
	place-items: center;
	border: 1px solid #777;
	border-radius: 3px;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 0.9rem;
	font-weight: 400;
	line-height: 1;
}

.basis-product-form__option.is-selected {
	border-color: var(--ink);
	background: var(--ink);
	color: var(--paper);
}

.basis-product-form__option:disabled {
	border-color: #c9c9c9;
	color: #a2a2a2;
	text-decoration: line-through;
	cursor: not-allowed;
}

.basis-product-form__variation-result {
	margin: 1.1rem 0 0;
}

.basis-product-form__actions {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.75rem;
}

.basis-product-form__submit,
.woocommerce .basis-product-form__submit.button,
.woocommerce .basis-product-form__submit.button.alt {
	display: grid;
	width: 100%;
	min-height: 2.45rem;
	margin: 0;
	padding: 0.55rem 1rem;
	place-items: center;
	border: 1px solid var(--ink);
	border-radius: 2px;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 0.9rem;
	font-weight: 400;
	line-height: 1;
	text-transform: none;
	box-shadow: none;
}

.basis-product-form__submit--buy,
.woocommerce .basis-product-form__submit--buy.button,
.woocommerce .basis-product-form__submit--buy.button.alt {
	background: var(--ink);
	color: var(--paper);
	text-transform: uppercase;
}

.basis-product-form__submit:hover,
.woocommerce .basis-product-form__submit.button:hover,
.woocommerce .basis-product-form__submit.button.alt:hover {
	border-color: var(--ink);
	background: var(--ink);
	color: var(--paper);
}

.basis-product-form__submit--buy:hover,
.woocommerce .basis-product-form__submit--buy.button:hover,
.woocommerce .basis-product-form__submit--buy.button.alt:hover {
	background: #242424;
}

.basis-product-form__submit:disabled,
.basis-product-form__submit.disabled,
.woocommerce .basis-product-form__submit.button.disabled,
.woocommerce .basis-product-form__submit.button:disabled {
	border-color: #b8b8b8;
	background: #a7a7a7;
	color: var(--paper);
	opacity: 1;
	cursor: not-allowed;
}

.basis-product-summary__copy {
	margin-top: 1.45rem;
	font-family: var(--font-body);
	font-size: 0.92rem;
	font-weight: 400;
	line-height: 1.25;
}

.basis-product-summary__copy p + p,
.basis-product-summary__copy ul + p,
.basis-product-summary__copy p + ul,
.basis-product-summary__copy ol + p,
.basis-product-summary__copy p + ol {
	margin-top: 0.8rem;
}

.basis-product-summary__copy ul,
.basis-product-summary__copy ol {
	margin: 0.75rem 0 0;
	padding-left: 1rem;
}

.basis-product-summary__stock {
	margin-top: 1rem;
	font-family: var(--font-heading);
	font-weight: 700;
}

.basis-product-summary__description {
	margin-top: 1rem;
}

.basis-product-summary__shipping {
	margin-top: 2rem;
	border-top: 1px solid var(--ink);
	border-bottom: 1px solid var(--ink);
}

.basis-product-summary__shipping summary,
.basis-product-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	list-style: none;
	cursor: pointer;
}

.basis-product-summary__shipping summary {
	min-height: 2.65rem;
	padding: 0.55rem 0;
}

.basis-product-summary__shipping summary::-webkit-details-marker,
.basis-product-faq__item summary::-webkit-details-marker {
	display: none;
}

.basis-product-summary__shipping[open] summary span:last-child,
.basis-product-faq__item[open] summary span:last-child {
	transform: rotate(45deg);
}

.basis-product-summary__shipping > div {
	padding: 0 0 0.8rem;
}

.basis-product-faq {
	width: 100%;
	padding-top: 1.5rem;
	background: var(--paper);
}

.basis-product-faq__title {
	margin-bottom: 1.4rem;
	font-family: var(--font-heading);
	font-size: 1rem;
	font-weight: 500;
	line-height: 1;
	text-align: center;
}

.basis-product-faq__items {
	border-top: 1px solid var(--line);
}

.basis-product-faq__item {
	border-bottom: 1px solid var(--line);
}

.basis-product-faq__item summary {
	min-height: 3.2rem;
	padding: 0.6rem 0.5rem;
	font-family: var(--font-body);
	font-size: 0.92rem;
	font-weight: 400;
}

.basis-product-faq__answer {
	max-width: 70ch;
	padding: 0 0.5rem 1rem;
}

.basis-related {
	width: 100%;
	padding: 0.5rem;
	margin-top: 4.2rem;
}

.basis-related__title {
	margin: 0 0 1rem;
	font-family: var(--font-heading);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
}

.basis-related ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px;
	margin: 0;
	padding: 0;
}

/* WooCommerce's clearfix pseudo-elements become real grid items when a
   products list is changed to CSS Grid. They created the blank first card in
   the previous build and forced the fourth product onto a second row. */
.basis-related ul.products::before,
.basis-related ul.products::after {
	display: none !important;
	content: none !important;
}

.basis-related ul.products li.product {
	min-width: 0;
	width: 100% !important;
	margin: 0 !important;
	float: none !important;
}

.basis-related .product-card__media {
	aspect-ratio: 2 / 3;
}

.basis-related .product-card__body {
	padding-inline: 0.1rem;
}

@media (max-width: 1023px) {
	.basis-product__main {
		display: block;
	}

	.basis-product-gallery__track {
		display: flex;
		gap: 0;
		overflow-x: auto;
		overflow-y: hidden;
		overscroll-behavior-inline: contain;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.basis-product-gallery__track::-webkit-scrollbar {
		display: none;
	}

	.basis-product-gallery__slide {
		flex: 0 0 100%;
		min-width: 100%;
		aspect-ratio: 3 / 4;
		scroll-snap-align: start;
		scroll-snap-stop: always;
	}

	.basis-product-gallery__nav {
		display: flex;
		align-items: center;
		justify-content: space-between;
		height: 3.75rem;
		padding: 0.7rem 0.6rem;
		background: var(--paper);
	}

	.basis-product-gallery__count {
		font-size: 0.92rem;
		line-height: 1;
	}

	.basis-product-gallery__arrows {
		display: flex;
		align-items: center;
		gap: 0.7rem;
	}

	.basis-product-gallery__arrow {
		display: grid;
		width: 2.7rem;
		height: 2.2rem;
		place-items: center;
	}

	.basis-product-gallery__arrow svg {
		width: 2.7rem;
		height: 1rem;
		fill: none;
		stroke: currentColor;
		stroke-width: 1;
		stroke-linecap: square;
		stroke-linejoin: miter;
	}

	.basis-product-summary {
		padding: 0.25rem 0.65rem 0;
	}

	.basis-product-summary__inner {
		position: static;
		max-width: none;
	}

	.basis-product-summary__title {
		font-size: 1rem;
		line-height: 1.1;
		letter-spacing: 0;
	}

	.basis-product-summary__price {
		margin-top: 0.35rem;
		font-size: 0.92rem;
	}

	.basis-product-form {
		margin-top: 1.1rem;
	}

	.basis-product-form__quantity {
		width: 8.2rem;
		height: 2.2rem;
	}

	.basis-product-form__size-chart {
		margin-top: 1.2rem;
		font-size: 0.92rem;
	}

	.basis-product-form__variations {
		margin-top: 1.15rem;
	}

	.basis-product-form__options {
		gap: 0.5rem;
	}

	.basis-product-form__option {
		min-width: 2.1rem;
		height: 2.1rem;
		font-size: 0.9rem;
	}

	.basis-product-form__variation-result {
		margin-top: 1rem;
	}

	.basis-product-form__actions {
		gap: 0.85rem;
	}

	.basis-product-form__submit,
	.woocommerce .basis-product-form__submit.button,
	.woocommerce .basis-product-form__submit.button.alt {
		min-height: 2.4rem;
		font-size: 0.9rem;
	}

	.basis-product-summary__copy {
		margin-top: 1.55rem;
		font-size: 0.92rem;
		line-height: 1.2;
	}

	.basis-product-summary__shipping {
		display: none;
	}

	.basis-product-faq {
		padding-top: 0;
		margin-top: 5.25rem;
	}

	.basis-product-faq__title {
		margin-bottom: 1.4rem;
		font-size: 1.1rem;
	}

	.basis-product-faq__item summary {
		min-height: 3.1rem;
		padding: 0.6rem;
		font-size: 0.86rem;
	}

	.basis-related {
		padding: 0.6rem;
		margin-top: 3.8rem;
	}

	.basis-related__title {
		margin-bottom: 1.15rem;
		font-size: 0.92rem;
	}

	.basis-related ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1px;
	}
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
