/* ==========================================================================
   SARCASTE — main stylesheet
   Mobile-first. Black / white / off-white. No rounded SaaS UI.

   1.  Fonts
   2.  Tokens
   3.  Base & reset
   4.  Utilities, buttons, forms
   5.  Announcement bar
   6.  Header
   7.  Mobile menu
   8.  Hero
   9.  Collection & product cards
   10. Homepage sections
   11. Pages, posts, 404
   12. Footer
   13. Cursor
   14. Cart drawer
   15. WooCommerce: global (notices, prices, tables)
   16. Shop archive
   17. Single product
   18. Cart page
   19. Checkout
   20. Thank you / account
   21. Motion
   ========================================================================== */

/* 1. Fonts ------------------------------------------------------------------
   Self-hosted (no third-party requests → faster and GDPR friendly).
   Fraunces (soft serif, close to the Sarcasté wordmark) + Inter.
   Both SIL Open Font License, see assets/fonts/. */

@font-face {
	font-family: "Fraunces";
	src: url("../fonts/fraunces-variable-latin.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Fraunces";
	src: url("../fonts/fraunces-italic-variable-latin.woff2") format("woff2");
	font-weight: 100 900;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-variable-latin.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

/* 2. Tokens ----------------------------------------------------------------- */

:root {
	--black: #0a0a0a;
	--white: #ffffff;
	--off: #f3f1ec;
	--grey-1: #e7e4de;
	--grey-2: #c9c6bf;
	--grey-3: #6b6964;
	--grey-4: #2a2a2a;
	--line: rgba(10, 10, 10, 0.14);
	--line-strong: rgba(10, 10, 10, 0.4);

	--bg: var(--off);
	--fg: var(--black);

	--font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
	--font-display: "Fraunces", Georgia, "Times New Roman", serif;
	/* Small uppercase labels (kept as a separate token so it can be swapped). */
	--font-mono: "Inter", "Helvetica Neue", Arial, sans-serif;

	--gutter: clamp(16px, 3.2vw, 48px);
	--header-h: 60px;
	--admin-bar: var(--wp-admin--admin-bar--height, 0px);
	--sticky-top: calc(var(--admin-bar) + var(--header-h) + 24px);

	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
	--dur: 0.6s;

	interpolate-size: allow-keywords;
}

@media (min-width: 1024px) {
	:root {
		--header-h: 72px;
	}
}

/* 3. Base & reset ----------------------------------------------------------- */

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--admin-bar) + var(--header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--fg);
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
	text-rendering: optimizeLegibility;
}

body.is-locked {
	overflow: hidden;
}

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

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.5em;
	font-family: var(--font-display);
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: -0.01em;
}

p {
	margin: 0 0 1em;
}

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

button {
	cursor: pointer;
}

ul[role="list"],
ol[role="list"] {
	list-style: none;
	margin: 0;
	padding: 0;
}

hr {
	border: 0;
	border-top: 1px solid var(--line);
	margin: 2rem 0;
}

::selection {
	background: var(--black);
	color: var(--white);
}

:focus {
	outline: none;
}

:focus-visible {
	outline: 2px solid var(--black);
	outline-offset: 3px;
}

.site-main {
	display: block;
	min-height: 60vh;
}

.site-main:focus {
	outline: none;
}

/* 4. Utilities, buttons, forms --------------------------------------------- */

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 1000;
	padding: 12px 18px;
	background: var(--black);
	color: var(--white);
	font-family: var(--font-mono);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	transform: translateY(-200%);
}

.skip-link:focus {
	transform: none;
}

.sc-mono,
.sc-label,
.sc-eyebrow {
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.12em;
	line-height: 1.3;
	text-transform: uppercase;
}

.sc-label {
	display: inline-block;
	padding: 5px 8px 4px;
	background: var(--white);
	color: var(--black);
}

/* Buttons. WooCommerce buttons get the same treatment. */
.sc-btn,
.button,
button.button,
input.button,
.single_add_to_cart_button,
#place_order,
.checkout-button,
.wc-backward {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.75em;
	min-height: 56px;
	padding: 0 28px;
	border: 1px solid var(--black);
	border-radius: 0;
	background: var(--black);
	color: var(--white);
	font-family: var(--font-mono);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0.14em;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
	-webkit-appearance: none;
	appearance: none;
}

.sc-btn:hover,
.button:hover,
button.button:hover,
.single_add_to_cart_button:hover,
#place_order:hover,
.checkout-button:hover,
.wc-backward:hover {
	background: var(--white);
	color: var(--black);
}

.sc-btn--outline,
.button.sc-btn--outline {
	background: transparent;
	color: var(--black);
}

.sc-btn--outline:hover,
.button.sc-btn--outline:hover {
	background: var(--black);
	color: var(--white);
}

.sc-btn--block {
	display: flex;
	width: 100%;
}

.sc-btn[disabled],
.button[disabled],
.button.disabled,
.single_add_to_cart_button.disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.sc-btn .sc-arrow,
.sc-link-arrow .sc-arrow {
	transition: transform 0.35s var(--ease-out);
}

.sc-btn:hover .sc-arrow,
.sc-link-arrow:hover .sc-arrow {
	transform: translateX(4px);
}

.sc-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.75em;
	padding-bottom: 4px;
	border-bottom: 1px solid currentColor;
	font-family: var(--font-mono);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-decoration: none;
	text-transform: uppercase;
}

/* Form fields */
.sc-input,
.input-text,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="search"],
input[type="url"],
input[type="number"],
select,
textarea {
	display: block;
	width: 100%;
	min-height: 56px;
	padding: 14px 16px;
	border: 1px solid var(--line-strong);
	border-radius: 0;
	background: var(--white);
	color: var(--black);
	font-family: var(--font-body);
	font-size: 16px; /* 16px prevents zoom on iOS */
	line-height: 1.4;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	-webkit-appearance: none;
	appearance: none;
}

textarea {
	min-height: 120px;
	resize: vertical;
}

select {
	padding-right: 44px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230a0a0a' stroke-width='1.3'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 18px center;
}

.sc-input:hover,
.input-text:hover,
select:hover,
textarea:hover {
	border-color: var(--black);
}

.sc-input:focus,
.input-text:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
	border-color: var(--black);
	box-shadow: inset 0 0 0 1px var(--black);
	outline: none;
}

input[type="checkbox"],
input[type="radio"] {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--black);
	flex: none;
}

::placeholder {
	color: var(--grey-3);
	opacity: 1;
}

label,
.sc-field-label {
	display: block;
	margin: 0 0 8px;
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
}

label.checkbox,
label.woocommerce-form__label-for-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-family: var(--font-body);
	font-size: 14px;
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
}

abbr.required,
.required {
	color: inherit;
	text-decoration: none;
	border: 0;
}

.optional {
	color: var(--grey-3);
	text-transform: none;
	letter-spacing: 0;
}

.search-form {
	display: flex;
	gap: 8px;
	max-width: 560px;
}

.search-form .sc-btn {
	flex: none;
}

/* 5. Announcement bar ------------------------------------------------------- */

.announcement {
	position: relative;
	z-index: 51;
	background: var(--black);
	color: var(--white);
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.announcement__list {
	position: relative;
	display: grid;
	height: 36px;
	margin: 0;
	padding: 0 var(--gutter);
	list-style: none;
}

.announcement__item {
	grid-area: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
}

.announcement__item.is-active {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: opacity 0.5s ease 0.3s, transform 0.6s var(--ease-out) 0.3s, visibility 0s;
}

/* 6. Header ----------------------------------------------------------------- */

.site-header {
	position: sticky;
	top: var(--admin-bar);
	z-index: 50;
	height: var(--header-h);
	background: var(--bg);
	color: var(--black);
	border-bottom: 1px solid var(--line);
	transition: background-color 0.45s ease, color 0.45s ease, border-color 0.45s ease, transform 0.5s var(--ease-out);
}

/* Transparent on top of the hero, solid after scrolling. */
.has-transparent-header .site-header:not(.is-scrolled) {
	background: transparent;
	color: var(--white);
	border-bottom-color: transparent;
}

.invert-logo-on-hero.has-transparent-header .site-header:not(.is-scrolled) .site-logo--svg {
	color: inherit;
	line-height: 0;
}

.site-logo__svg {
	display: block;
	width: auto;
	height: 24px;
}

.site-logo__img {
	filter: invert(1);
}

.site-header.is-hidden {
	transform: translateY(calc(-100% - 2px));
}

.site-header__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	height: 100%;
	padding: 0 var(--gutter);
}

.site-header__nav {
	display: none;
}

.nav-menu {
	display: flex;
	gap: 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav-menu a,
.site-header__cart {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
	padding: 8px 0;
	font-family: var(--font-mono);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-decoration: none;
	text-transform: uppercase;
}

/* Navigation underline */
.nav-menu a::after,
.site-header__cart::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 4px;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.45s var(--ease-out);
}

.nav-menu a:hover::after,
.nav-menu .current-menu-item > a::after,
.nav-menu .current_page_item > a::after,
.site-header__cart:hover::after {
	transform: scaleX(1);
	transform-origin: left;
}

.site-header__menu-toggle {
	justify-self: start;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 0;
	border: 0;
	background: none;
	font-family: var(--font-mono);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.site-header__menu-icon {
	display: grid;
	gap: 5px;
	width: 20px;
}

.site-header__menu-icon span {
	display: block;
	height: 1.5px;
	background: currentColor;
}

.site-header__menu-icon span:last-child {
	width: 65%;
}

.site-header__brand {
	justify-self: center;
}

.site-logo {
	display: block;
	text-decoration: none;
}

.site-logo--text {
	font-family: var(--font-display);
	font-size: 22px;
	font-weight: 400;
	letter-spacing: -0.01em;
	line-height: 1;
}

.site-logo__img {
	width: auto;
	height: 22px;
	max-width: 46vw;
	object-fit: contain;
	transition: filter 0.45s ease;
}

.site-header__actions {
	justify-self: end;
	display: flex;
	align-items: center;
	gap: 24px;
}

.site-header__cart {
	min-height: 44px;
}

.site-header__cart::after {
	bottom: 12px;
}

.site-header__cart-label {
	display: none;
}

.sc-cart-count {
	font-variant-numeric: tabular-nums;
}

.site-header__cart.is-bumped .sc-cart-count {
	animation: sc-bump 0.6s var(--ease-out);
}

@keyframes sc-bump {
	0% { opacity: 0.2; }
	100% { opacity: 1; }
}

.site-header__cart-icon {
	display: block;
	margin-top: -2px;
}

@media (min-width: 480px) {
	.site-header__cart-label {
		display: inline;
	}

	.site-header__cart-icon {
		display: none;
	}
}

@media (min-width: 1024px) {
	.site-header__nav {
		display: block;
	}

	.site-header__menu-toggle {
		display: none;
	}

	.site-logo--text {
		font-size: 26px;
	}

	.site-logo__svg {
		height: 30px;
	}

	.site-logo__img {
		height: 28px;
	}
}

/* 7. Mobile menu ------------------------------------------------------------ */

.mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 90;
	display: flex;
	flex-direction: column;
	padding: var(--admin-bar) var(--gutter) max(24px, env(safe-area-inset-bottom));
	background: var(--black);
	color: var(--white);
	clip-path: inset(0 0 100% 0);
	transition: clip-path 0.7s var(--ease-in-out);
	overflow-y: auto;
	overscroll-behavior: contain;
}

.mobile-menu[hidden] {
	display: none;
}

.mobile-menu.is-open {
	clip-path: inset(0 0 0 0);
}

.mobile-menu__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--header-h);
	flex: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.mobile-menu__brand,
.mobile-menu__close,
.mobile-menu__bottom {
	font-family: var(--font-mono);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.mobile-menu__close {
	min-height: 44px;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
}

.mobile-menu__nav {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 40px 0;
	counter-reset: menu;
}

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

.mobile-menu__list a {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 4px 0;
	font-family: var(--font-display);
	font-size: clamp(2.6rem, 12vw, 4.6rem);
	font-weight: 300;
	line-height: 1.1;
	letter-spacing: -0.01em;
	text-decoration: none;
}

.mobile-menu__list a::before {
	counter-increment: menu;
	content: counter(menu, decimal-leading-zero);
	padding-top: 0.6em;
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.12em;
}

.mobile-menu__list--secondary a {
	font-size: clamp(2rem, 10vw, 4rem);
	color: var(--grey-2);
}

.mobile-menu__list sup {
	font-family: var(--font-mono);
	font-size: 12px;
	font-weight: 500;
	vertical-align: top;
}

.mobile-menu .menu-item {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.6s ease, transform 0.8s var(--ease-out);
}

.mobile-menu.is-open .menu-item {
	opacity: 1;
	transform: none;
}

.mobile-menu.is-open .menu-item:nth-child(1) { transition-delay: 0.2s; }
.mobile-menu.is-open .menu-item:nth-child(2) { transition-delay: 0.26s; }
.mobile-menu.is-open .menu-item:nth-child(3) { transition-delay: 0.32s; }
.mobile-menu.is-open .menu-item:nth-child(4) { transition-delay: 0.38s; }
.mobile-menu.is-open .menu-item:nth-child(5) { transition-delay: 0.44s; }

.mobile-menu__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 16px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
	color: var(--grey-2);
}

.mobile-menu__social {
	display: flex;
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mobile-menu__social a {
	color: var(--white);
	text-decoration: none;
}

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

/* 8. Hero ------------------------------------------------------------------- */

.hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	height: 100vh;
	height: 100svh;
	min-height: 560px;
	max-height: 1200px;
	overflow: hidden;
	background: var(--black);
	color: var(--white);
	isolation: isolate;
}

.has-transparent-header .hero {
	margin-top: calc(-1 * var(--header-h));
}

/* The announcement bar sits above the hero: keep the hero inside the first screen. */
.has-announcement .hero {
	height: calc(100vh - 36px);
	height: calc(100svh - 36px);
}

.hero__media {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(ellipse 60% 70% at 50% 40%, #2a2a2a 0%, #050505 75%);
}

.hero__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 42%;
	filter: grayscale(1);
	animation: sc-hero-in 2.4s var(--ease-out) both;
}

@keyframes sc-hero-in {
	from { transform: scale(1.06); opacity: 0; }
	to { transform: scale(1); opacity: 1; }
}

/* Keeps the type readable on any photo, while the centre stays clear. */
.hero__scrim {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 22%),
		linear-gradient(0deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.25) 30%, rgba(0, 0, 0, 0) 50%);
}

.hero__content {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: 24px;
	width: 100%;
	padding: 0 var(--gutter) clamp(28px, 5vh, 56px);
}

.hero__eyebrow,
.hero__aside {
	margin: 0;
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.2em;
	line-height: 1.6;
	text-transform: uppercase;
}

.hero__eyebrow {
	margin-bottom: 18px;
	color: rgba(255, 255, 255, 0.75);
}

.hero__title {
	margin: 0 0 22px;
	font-family: var(--font-display);
	font-size: clamp(2.8rem, 6.2vw, 5.8rem);
	font-weight: 300;
	line-height: 1;
	letter-spacing: -0.02em;
	text-transform: none;
}

.hero__title em {
	font-style: italic;
	font-weight: 300;
}

.hero__tagline {
	max-width: 30ch;
	margin: 0 0 28px;
	font-size: 15px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.82);
}

.hero__cta {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	min-height: 50px;
	padding: 0 26px;
	border: 1px solid rgba(255, 255, 255, 0.85);
	color: var(--white);
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 0.35s ease, color 0.35s ease;
}

.hero__cta:hover {
	background: var(--white);
	color: var(--black);
}

.hero__cta .sc-arrow {
	transition: transform 0.35s var(--ease-out);
}

.hero__cta:hover .sc-arrow {
	transform: translateX(4px);
}

.hero__aside {
	display: grid;
	justify-items: end;
	gap: 14px;
	text-align: right;
	color: rgba(255, 255, 255, 0.75);
}

.hero__scroll {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	color: var(--white);
	text-decoration: none;
}

.hero__scroll-bar {
	position: relative;
	width: 1px;
	height: 48px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.25);
}

.hero__scroll-bar::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--white);
	transform: translateY(-100%);
	animation: sc-scroll 2.4s var(--ease-in-out) infinite;
}

@keyframes sc-scroll {
	0% { transform: translateY(-100%); }
	50% { transform: translateY(0); }
	100% { transform: translateY(100%); }
}

/* Staggered entrance */
.hero__eyebrow,
.hero__title,
.hero__tagline,
.hero__cta,
.hero__aside {
	animation: sc-fade-up 1.2s var(--ease-out) both;
}

.hero__eyebrow { animation-delay: 0.5s; }
.hero__title { animation-delay: 0.65s; }
.hero__tagline { animation-delay: 0.8s; }
.hero__cta { animation-delay: 0.95s; }
.hero__aside { animation-delay: 1.1s; }

@keyframes sc-fade-up {
	from { opacity: 0; transform: translateY(16px); }
	to { opacity: 1; transform: none; }
}

@media (max-width: 599px) {
	.hero__content {
		grid-template-columns: minmax(0, 1fr);
	}

	.hero__aside {
		display: none;
	}
}

/* 9. Collection & product cards -------------------------------------------- */

.collection-section {
	padding: clamp(40px, 7vh, 80px) var(--gutter) clamp(64px, 10vh, 120px);
}

.section-head {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: end;
	gap: 8px 24px;
	margin-bottom: clamp(24px, 4vh, 40px);
	padding-bottom: 14px;
	border-bottom: 1px solid var(--black);
}

.section-head__eyebrow,
.section-head__count {
	margin: 0;
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.section-head__eyebrow {
	grid-column: 1 / -1;
}

.section-head__title {
	margin: 0;
	font-size: clamp(1.8rem, 3vw, 2.8rem);
	font-weight: 400;
	line-height: 1.05;
}

.collection {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(40px, 6vw, 64px) var(--gutter);
	margin: 0;
	padding: 0;
	list-style: none;
}

.collection__item {
	min-width: 0;
	margin: 0;
	list-style: none;
}

/* Product card */
.product-card__link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.product-card__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: var(--ratio, 4 / 5);
	background: var(--grey-1);
}

.product-card__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.4s var(--ease-out), opacity 0.8s ease;
}

.product-card__img--hover {
	opacity: 0;
}

.product-card__label {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
}

.product-card__info {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: baseline;
	gap: 14px;
	padding-top: 16px;
	border-top: 0;
}

.product-card__index,
.product-card__price {
	font-family: var(--font-mono);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.08em;
}

.product-card__index {
	color: var(--grey-3);
}

.product-card__title {
	margin: 0;
	font-size: clamp(1.15rem, 1.5vw, 1.45rem);
	font-weight: 400;
	line-height: 1.15;
	transition: transform 0.6s var(--ease-out);
}

.product-card__price {
	white-space: nowrap;
	transition: transform 0.6s var(--ease-out);
}

.product-card__price del {
	color: var(--grey-3);
	margin-right: 6px;
}

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

.product-card.is-sold-out .product-card__img {
	filter: grayscale(1);
	opacity: 0.55;
}

@media (hover: hover) and (pointer: fine) {
	.product-card__link:hover .product-card__img--primary {
		transform: scale(1.04);
	}

	.has-hover-image .product-card__link:hover .product-card__img--hover {
		opacity: 1;
		transform: scale(1.04);
	}

	.product-card__link:hover .product-card__title {
		transform: translateX(6px);
	}

	.product-card__link:hover .product-card__price {
		transform: translateX(-4px);
	}
}

/* Layouts
   Product images are capped to the screen height, so a small collection
   (1–3 pieces) fits in one screen together with the section heading. */
.collection {
	--card-max-h: calc(100svh - var(--header-h) - 260px);
	--card-max-w: max(260px, calc(var(--card-max-h) * 0.8));
}

.collection--solo,
.collection--duo,
.collection--trio {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: clamp(32px, 5vw, 56px) clamp(16px, 3vw, 48px);
}

.collection--solo .collection__item,
.collection--duo .collection__item,
.collection--trio .collection__item {
	flex: 0 1 var(--card-max-w);
	min-width: 0;
}

@media (max-width: 767px) {
	.collection--solo .collection__item,
	.collection--duo .collection__item,
	.collection--trio .collection__item {
		flex-basis: 100%;
		max-width: var(--card-max-w);
	}
}

@media (min-width: 768px) {
	.collection--duo,
	.collection--trio {
		flex-wrap: nowrap;
	}

	.collection--trio .collection__item {
		flex-basis: min(var(--card-max-w), calc((100% - 2 * clamp(16px, 3vw, 48px)) / 3));
	}

	/* Bigger catalogue: regular editorial grid. */
	.collection--grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.collection--grid .product-card__media {
		--ratio: 3 / 4;
	}
}

@media (min-width: 1024px) {
	.collection--grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.collection--grid:not(.collection--compact) .product-card {
		max-width: var(--card-max-w);
		margin-inline: auto;
	}

	.collection--compact {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* Mobile: grids of many products go two-up and compact. */
@media (max-width: 767px) {
	.collection--grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 32px 12px;
	}

	.collection--grid .product-card__info {
		grid-template-columns: 1fr;
		gap: 4px;
	}

	.collection--grid .product-card__index {
		display: none;
	}

	.collection--grid .product-card__media {
		--ratio: 3 / 4;
	}
}

.collection-section__more {
	margin: clamp(48px, 6vw, 96px) 0 0;
	text-align: center;
}

/* 10. Homepage sections ----------------------------------------------------- */

.statement {
	display: grid;
	gap: 28px;
	justify-items: start;
	margin: 0 var(--gutter);
	padding: clamp(72px, 10vw, 160px) 0 clamp(96px, 12vw, 180px);
	border-top: 1px solid var(--black);
}

.statement__eyebrow {
	margin: 0;
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--grey-3);
}

.statement__text {
	max-width: 24ch;
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.8rem, 3.8vw, 3.4rem);
	font-weight: 300;
	line-height: 1.15;
	letter-spacing: -0.015em;
	text-wrap: balance;
}

@media (min-width: 1024px) {
	.statement {
		grid-template-columns: 1fr 2fr;
		align-items: start;
	}

	.statement__text,
	.statement .sc-link-arrow {
		grid-column: 2;
	}

	.statement__eyebrow {
		grid-row: 1 / span 2;
		padding-top: 1.2em;
	}
}

.front-content {
	padding: clamp(64px, 10vw, 140px) var(--gutter);
}

/* 11. Pages, posts, 404 ----------------------------------------------------- */

.page-wrap {
	padding: clamp(40px, 7vw, 104px) var(--gutter) clamp(72px, 10vw, 160px);
}

.page-header {
	margin-bottom: clamp(32px, 6vw, 88px);
	padding-bottom: 16px;
	border-bottom: 1px solid var(--black);
}

.page-header__eyebrow {
	margin: 0 0 16px;
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.page-header__title {
	margin: 0;
	font-size: clamp(2.4rem, 5.5vw, 4.8rem);
	font-weight: 300;
	line-height: 1.02;
	overflow-wrap: anywhere;
}

.page-header__title--post {
	font-size: clamp(2.2rem, 4.5vw, 4rem);
	max-width: 16ch;
}

.page-header--compact .page-header__title {
	font-size: clamp(2.2rem, 4vw, 3.6rem);
}

.page-header__count {
	top: -1.2em;
	margin-left: 0.15em;
	font-family: var(--font-mono);
	font-size: 0.18em;
	font-weight: 500;
	letter-spacing: 0.1em;
}

.page-hero-image {
	margin: 0 calc(-1 * var(--gutter)) clamp(40px, 6vw, 88px);
}

.page-hero-image img {
	width: 100%;
	max-height: 80vh;
	object-fit: cover;
}

.entry-content {
	max-width: 720px;
	font-size: 17px;
	line-height: 1.7;
}

.entry-content > * + * {
	margin-top: 1.2em;
}

.entry-content h2,
.entry-content h3 {
	margin-top: 2em;
}

.entry-content h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
.entry-content h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); }

.entry-content img {
	height: auto;
}

.entry-content blockquote {
	margin: 2em 0;
	padding-left: 24px;
	border-left: 2px solid var(--black);
	font-family: var(--font-display);
	font-size: 1.5em;
	font-weight: 300;
	font-style: italic;
	line-height: 1.3;
}

.entry-content .alignwide {
	max-width: none;
	margin-inline: calc(-1 * min(10vw, 200px));
}

.entry-content .alignfull {
	max-width: none;
	margin-inline: calc(-1 * var(--gutter));
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
}

.entry-content th,
.entry-content td {
	padding: 10px 8px;
	border-bottom: 1px solid var(--line);
	text-align: left;
}

.post-list {
	border-top: 1px solid var(--line);
}

.post-row__link {
	display: grid;
	gap: 8px;
	padding: 28px 0;
	border-bottom: 1px solid var(--line);
	text-decoration: none;
}

.post-row__meta {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--grey-3);
}

.post-row__title {
	margin: 0;
	font-size: clamp(1.5rem, 2.6vw, 2.4rem);
	transition: transform 0.5s var(--ease-out);
}

.post-row__link:hover .post-row__title {
	transform: translateX(8px);
}

.post-row__excerpt {
	max-width: 60ch;
	color: var(--grey-3);
}

@media (min-width: 1024px) {
	.post-row__link {
		grid-template-columns: 200px 1fr 1fr;
		align-items: baseline;
		gap: 32px;
	}
}

.navigation.pagination,
.post-nav {
	margin-top: 48px;
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 16px;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 8px;
	text-decoration: none;
}

.page-numbers.current {
	background: var(--black);
	color: var(--white);
}

.post-nav__label {
	display: block;
	color: var(--grey-3);
}

.empty-state {
	display: grid;
	gap: 24px;
	padding: 40px 0;
}

.not-found {
	display: grid;
	justify-items: start;
	gap: 20px;
	padding: clamp(56px, 10vw, 140px) var(--gutter);
}

.not-found__code {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(6rem, 22vw, 15rem);
	font-weight: 300;
	line-height: 0.9;
}

.not-found__title {
	margin: 0;
	font-size: clamp(1.6rem, 3vw, 2.6rem);
}

.comments {
	max-width: 720px;
	margin-top: 64px;
	padding-top: 32px;
	border-top: 1px solid var(--black);
}

.comments__list {
	padding-left: 0;
	list-style: none;
}

.comment-body {
	padding: 20px 0;
	border-bottom: 1px solid var(--line);
}

/* 12. Footer ---------------------------------------------------------------- */

.site-footer {
	position: relative;
	overflow: hidden;
	padding: clamp(64px, 9vw, 128px) var(--gutter) 24px;
	background: var(--black);
	color: var(--off);
}

.site-footer__grid {
	display: grid;
	gap: 48px;
}

.site-footer__wordmark {
	display: inline-block;
	color: var(--white);
	line-height: 0;
}

.site-footer__wordmark .site-logo__svg {
	height: clamp(34px, 4vw, 52px);
}

.site-footer__meta {
	margin: 12px 0 0;
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--grey-2);
}

.site-footer__menu {
	display: grid;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__menu a,
.site-footer__menu span {
	position: relative;
	display: inline-block;
	padding: 6px 0;
	font-family: var(--font-mono);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-decoration: none;
	text-transform: uppercase;
}

.site-footer__menu .is-placeholder span {
	color: var(--grey-3);
}

.site-footer__menu a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 4px;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.45s var(--ease-out);
}

.site-footer__menu a:hover::after {
	transform: scaleX(1);
	transform-origin: left;
}

.site-footer__legal {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 28px;
	margin-top: clamp(64px, 8vw, 120px);
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--grey-2);
}

.site-footer__legal a {
	color: inherit;
}

.site-footer :focus-visible {
	outline-color: var(--white);
}

@media (min-width: 768px) {
	.site-footer__grid {
		grid-template-columns: 2fr 1fr 1fr;
	}

	.site-footer__social {
		justify-self: end;
		text-align: right;
	}
}

/* 13. Cursor ---------------------------------------------------------------- */

.sc-cursor {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 200;
	display: none;
	pointer-events: none;
}

.sc-cursor span {
	display: block;
	padding: 10px 14px 9px;
	background: var(--white);
	color: var(--black);
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	transform: translate(-50%, -50%) scale(0.4);
	opacity: 0;
	transition: transform 0.35s var(--ease-out), opacity 0.25s ease;
}

.sc-cursor.is-active span {
	transform: translate(-50%, -50%) scale(1);
	opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
	.has-cursor .sc-cursor {
		display: block;
	}

	.has-cursor [data-cursor] {
		cursor: none;
	}
}

/* 14. Cart drawer ----------------------------------------------------------- */

.sc-drawer {
	position: fixed;
	inset: 0;
	z-index: 100;
}

.sc-drawer[hidden] {
	display: none;
}

.sc-drawer__overlay {
	position: absolute;
	inset: 0;
	background: rgba(10, 10, 10, 0.45);
	opacity: 0;
	transition: opacity 0.5s ease;
	cursor: pointer;
}

.sc-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	width: min(480px, 100%);
	background: var(--bg);
	transform: translateX(100%);
	transition: transform 0.6s var(--ease-out);
	outline: none;
}

.sc-drawer.is-open .sc-drawer__overlay {
	opacity: 1;
}

.sc-drawer.is-open .sc-drawer__panel {
	transform: none;
}

.sc-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex: none;
	min-height: var(--header-h);
	padding: calc(var(--admin-bar) * 0) 24px 0;
	border-bottom: 1px solid var(--black);
}

.sc-drawer__title {
	margin: 0;
	font-size: 26px;
	font-weight: 400;
	line-height: 1.1;
}

.sc-drawer__count {
	font-family: var(--font-mono);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.08em;
	vertical-align: super;
}

.sc-drawer__close,
.sc-drawer__continue {
	min-height: 44px;
	padding: 0;
	border: 0;
	background: none;
	font-family: var(--font-mono);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: underline;
	text-underline-offset: 0.3em;
}

.sc-drawer__notice:empty {
	display: none;
}

.sc-drawer__notice {
	margin: 16px 24px 0;
	padding: 12px 14px;
	background: var(--black);
	color: var(--white);
	font-size: 14px;
}

.sc-drawer-content {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-height: 0;
	transition: opacity 0.25s ease;
}

.sc-drawer.is-loading .sc-drawer-content {
	opacity: 0.45;
	pointer-events: none;
}

.sc-drawer__items {
	flex: 1;
	margin: 0;
	padding: 0 24px;
	list-style: none;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.sc-drawer__empty {
	display: grid;
	gap: 24px;
	align-content: center;
	flex: 1;
	padding: 24px;
}

.sc-drawer__empty-title {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.8rem, 6vw, 2.4rem);
	font-weight: 300;
	line-height: 1.15;
}

.sc-mini-item {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 16px;
	padding: 20px 0;
	border-bottom: 1px solid var(--line);
}

.sc-mini-item__thumb {
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--grey-1);
}

.sc-mini-item__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sc-mini-item__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.sc-mini-item__row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.sc-mini-item__row--actions {
	align-items: center;
	margin-top: auto;
}

.sc-mini-item__name {
	margin: 0;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.2;
}

.sc-mini-item__name a {
	text-decoration: none;
}

.sc-mini-item__price,
.sc-mini-item__qty-single {
	font-family: var(--font-mono);
	font-size: 13px;
	white-space: nowrap;
}

.sc-mini-item__remove {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--grey-3);
}

.sc-mini-item__remove:hover {
	color: var(--black);
}

/* Variation data (e.g. Size: M) */
dl.variation {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 12px;
	margin: 0;
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--grey-3);
}

dl.variation dt,
dl.variation dd {
	margin: 0;
	display: inline;
}

dl.variation dd {
	margin-right: 8px;
	color: var(--black);
}

dl.variation p {
	display: inline;
	margin: 0;
}

/* Quantity stepper (drawer) */
.sc-qty {
	display: inline-flex;
	align-items: stretch;
	border: 1px solid var(--line-strong);
}

.sc-qty__btn {
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	background: none;
	font-family: var(--font-mono);
	font-size: 16px;
	line-height: 1;
}

.sc-qty__btn:hover:not(:disabled) {
	background: var(--black);
	color: var(--white);
}

.sc-qty__btn:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

.sc-qty__value {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	font-family: var(--font-mono);
	font-size: 13px;
	font-variant-numeric: tabular-nums;
}

.sc-drawer__foot {
	display: grid;
	gap: 10px;
	flex: none;
	padding: 20px 24px max(20px, env(safe-area-inset-bottom));
	border-top: 1px solid var(--black);
	background: var(--bg);
}

.sc-drawer__subtotal {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	font-family: var(--font-mono);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.sc-drawer__note {
	margin: 0 0 6px;
	font-size: 13px;
	color: var(--grey-3);
}

.sc-drawer__continue {
	justify-self: center;
}

/* 15. WooCommerce: global --------------------------------------------------- */

.woocommerce-notices-wrapper:empty {
	display: none;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-notice,
.wc-block-components-notice-banner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	margin: 0 0 24px;
	padding: 16px 20px;
	border: 1px solid var(--black);
	background: var(--white);
	color: var(--black);
	font-size: 15px;
	list-style: none;
}

.woocommerce-error {
	display: block;
	background: var(--black);
	color: var(--white);
}

.woocommerce-error li + li {
	margin-top: 6px;
}

.woocommerce-error a {
	color: var(--white);
}

.woocommerce-message .button,
.woocommerce-info .button {
	order: 2;
	min-height: 44px;
	padding: 0 18px;
}

.woocommerce-message .button:hover,
.woocommerce-info .button:hover {
	border-color: var(--black);
}

.sc-notices .woocommerce-notices-wrapper {
	padding: 24px var(--gutter) 0;
}

.price,
.amount {
	font-variant-numeric: tabular-nums;
}

.price del,
.price del .amount {
	color: var(--grey-3);
}

.price ins {
	text-decoration: none;
}

.stock {
	margin: 0 0 16px;
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.stock.in-stock::before {
	content: "";
	display: inline-block;
	width: 7px;
	height: 7px;
	margin-right: 10px;
	background: var(--black);
	vertical-align: 1px;
}

.stock.out-of-stock {
	text-decoration: line-through;
	color: var(--grey-3);
}

.shop_table {
	width: 100%;
	border-collapse: collapse;
}

.shop_table th,
.shop_table td {
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.shop_table td:last-child,
.shop_table tfoot td {
	text-align: right;
}

.woocommerce-pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px;
	margin: 64px 0 0;
	padding: 0;
	list-style: none;
	font-family: var(--font-mono);
	font-size: 12px;
}

.woocommerce-store-notice,
p.demo_store {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 95;
	margin: 0;
	padding: 14px var(--gutter);
	background: var(--black);
	color: var(--white);
	font-family: var(--font-mono);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.woocommerce-store-notice a {
	margin-left: 12px;
	color: var(--white);
}

.blockUI.blockOverlay {
	background: rgba(243, 241, 236, 0.7) !important;
	opacity: 1 !important;
}

/* 16. Shop archive ---------------------------------------------------------- */

.page-wrap--shop {
	padding-top: clamp(32px, 5vw, 72px);
}

.shop-header {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: end;
	gap: 16px 24px;
	margin-bottom: clamp(24px, 4vh, 48px);
	padding-bottom: 16px;
	border-bottom: 1px solid var(--black);
}

.shop-header__eyebrow,
.shop-header__count {
	margin: 0;
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.shop-header__eyebrow {
	grid-column: 1 / -1;
}

.shop-header__title {
	margin: 0;
	font-size: clamp(2.6rem, 6vw, 5.4rem);
	font-weight: 300;
	line-height: 1;
}

.shop-header__description {
	grid-column: 1 / -1;
	max-width: 60ch;
}

.shop-header__description:empty {
	display: none;
}

.shop-header__description p:last-child {
	margin: 0;
}

.shop-toolbar {
	display: flex;
	justify-content: flex-end;
	margin: -24px 0 32px;
}

.woocommerce-ordering select {
	min-height: 44px;
	width: auto;
	padding-block: 8px;
	border-color: var(--line);
	background-color: transparent;
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.woocommerce-info.woocommerce-no-products-found,
.woocommerce-no-products-found .woocommerce-info {
	font-size: 16px;
}

/* 17. Single product -------------------------------------------------------- */

.sc-product__main {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
}

/* Gallery — mobile: swipeable, scroll-snap */
.sc-gallery {
	position: relative;
	min-width: 0;
	background: var(--grey-1);
}

.sc-gallery__track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}

.sc-gallery__track::-webkit-scrollbar {
	display: none;
}

.sc-gallery__item {
	position: relative;
	flex: 0 0 100%;
	margin: 0;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	scroll-snap-align: start;
	scroll-snap-stop: always; /* one swipe = one image */
	background: var(--grey-1);
}

.sc-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform-origin: var(--zx, 50%) var(--zy, 50%);
	transition: transform 0.9s var(--ease-out);
}

.sc-gallery__counter {
	position: absolute;
	right: var(--gutter);
	bottom: 16px;
	padding: 6px 9px 5px;
	background: var(--white);
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.12em;
	pointer-events: none;
}

/* Swipe indicators (mobile) */
.sc-gallery__dots {
	position: absolute;
	left: var(--gutter);
	bottom: 16px;
	display: flex;
	gap: 6px;
	height: 28px;
	padding: 0 10px;
	background: var(--white);
}

.sc-gallery__dot {
	position: relative;
	width: 22px;
	height: 28px;
	padding: 0;
	border: 0;
	background: none;
}

.sc-gallery__dot::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	height: 2px;
	background: rgba(10, 10, 10, 0.25);
	transition: background-color 0.3s ease;
}

.sc-gallery__dot[aria-current="true"]::before {
	background: var(--black);
}

/* Summary */
.sc-product__summary {
	min-width: 0;
	padding: 28px var(--gutter) 48px;
}

.sc-eyebrow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px;
	color: var(--grey-3);
}

.sc-eyebrow a {
	text-decoration: none;
}

.sc-eyebrow a:hover {
	color: var(--black);
	text-decoration: underline;
}

.sc-eyebrow__label {
	margin-left: auto;
	padding: 5px 8px 4px;
	background: var(--black);
	color: var(--white);
}

.product_title {
	margin: 0 0 14px;
	font-size: clamp(2rem, 3vw, 2.9rem);
	font-weight: 400;
	line-height: 1.05;
}

.sc-product__summary > .sc-product__sticky > .price,
.sc-product__summary .woocommerce-variation-price .price {
	margin: 0 0 24px;
	font-family: var(--font-mono);
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 0.04em;
}

.woocommerce-product-details__short-description {
	max-width: 52ch;
	margin-bottom: 28px;
	font-size: 15px;
	line-height: 1.65;
}

.woocommerce-product-details__short-description p:last-child {
	margin-bottom: 0;
}

.woocommerce-product-rating {
	margin-bottom: 12px;
	font-family: var(--font-mono);
	font-size: 12px;
}

/* Add-to-cart form */
form.cart {
	margin: 0 0 32px;
	padding-top: 24px;
	border-top: 1px solid var(--line);
}

.variations_form {
	position: relative;
}

table.variations,
table.variations tbody,
table.variations tr,
table.variations th,
table.variations td {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	text-align: left;
}

table.variations {
	margin-bottom: 8px;
	border-collapse: collapse;
}

table.variations tr {
	margin-bottom: 20px;
}

table.variations th.label label {
	margin-bottom: 12px;
}

table.variations td.value {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.sc-variation {
	width: 100%;
}

.reset_variations {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--grey-3);
}

/* Size buttons */
.sc-swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.sc-swatches[hidden] {
	display: none;
}

.sc-swatch {
	position: relative;
	min-width: 60px;
	min-height: 52px;
	padding: 0 16px;
	border: 1px solid var(--line-strong);
	background: var(--white);
	font-family: var(--font-mono);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.sc-swatch:hover {
	border-color: var(--black);
}

.sc-swatch[aria-pressed="true"] {
	border-color: var(--black);
	background: var(--black);
	color: var(--white);
}

/* Sold out / unavailable size: struck through, still focusable for feedback. */
.sc-swatch.is-unavailable {
	color: var(--grey-3);
	background:
		linear-gradient(to top right, transparent calc(50% - 0.5px), var(--grey-2) calc(50% - 0.5px), var(--grey-2) calc(50% + 0.5px), transparent calc(50% + 0.5px)),
		var(--off);
}

.sc-swatch.is-unavailable[aria-pressed="true"] {
	color: var(--white);
	background:
		linear-gradient(to top right, transparent calc(50% - 0.5px), var(--grey-3) calc(50% - 0.5px), var(--grey-3) calc(50% + 0.5px), transparent calc(50% + 0.5px)),
		var(--black);
}

/* With JS the buttons replace the select (which stays for WooCommerce). */
.sc-variation.has-swatches select {
	position: absolute;
	width: 1px;
	height: 1px;
	min-height: 0;
	padding: 0;
	opacity: 0;
	pointer-events: none;
}

.sc-variation.is-attention .sc-swatches {
	animation: sc-shake 0.45s ease;
}

@keyframes sc-shake {
	0%, 100% { transform: none; }
	25% { transform: translateX(-6px); }
	75% { transform: translateX(6px); }
}

/* Size guide */
.sc-size-guide-btn {
	position: absolute;
	top: 24px;
	right: 0;
	padding: 0;
	border: 0;
	background: none;
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: underline;
	text-underline-offset: 0.3em;
}

.sc-size-guide-btn[hidden] {
	display: none;
}

.sc-size-guide {
	width: min(680px, calc(100% - 32px));
	max-height: calc(100% - 48px);
	padding: 0 24px 28px;
	border: 1px solid var(--black);
	border-radius: 0;
	background: var(--bg);
	color: var(--black);
}

.sc-size-guide::backdrop {
	background: rgba(10, 10, 10, 0.5);
}

.sc-size-guide[open] {
	animation: sc-fade-up 0.45s var(--ease-out);
}

.sc-size-guide__head {
	position: sticky;
	top: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 0 -24px 16px;
	padding: 16px 24px;
	border-bottom: 1px solid var(--black);
	background: var(--bg);
}

.sc-size-guide__head h2 {
	margin: 0;
	font-size: 26px;
	font-weight: 400;
}

.sc-size-guide__close {
	min-height: 44px;
	padding: 0;
	border: 0;
	background: none;
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: underline;
	text-underline-offset: 0.3em;
}

.sc-size-guide__product {
	margin: 0 0 16px;
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--grey-3);
}

.sc-size-guide__fit {
	margin-top: 20px;
	font-size: 14px;
}

.sc-size-chart__scroll {
	overflow-x: auto;
}

.sc-size-chart {
	width: 100%;
	border-collapse: collapse;
	font-family: var(--font-mono);
	font-size: 13px;
	font-variant-numeric: tabular-nums;
}

.sc-size-chart th,
.sc-size-chart td {
	padding: 12px 8px;
	border-bottom: 1px solid var(--line);
	text-align: center;
	white-space: nowrap;
}

.sc-size-chart thead th {
	border-bottom-color: var(--black);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--grey-3);
}

@media (max-width: 599px) {
	.sc-size-chart th,
	.sc-size-chart td {
		padding: 10px 4px;
		font-size: 12px;
	}

	.sc-size-chart thead th {
		font-size: 10px;
		letter-spacing: 0.04em;
		white-space: normal;
	}

	.sc-size-guide {
		padding-inline: 16px;
	}

	.sc-size-guide__head {
		margin-inline: -16px;
		padding-inline: 16px;
	}
}

.sc-size-chart tbody th {
	text-align: left;
	font-weight: 500;
}

.sc-size-chart thead th:first-child {
	text-align: left;
}

.sc-size-chart tbody tr:hover {
	background: var(--white);
}

.sc-size-chart__note {
	margin: 12px 0 0;
	font-size: 12px;
	color: var(--grey-3);
}

/* Variation price / availability */
.single_variation_wrap .woocommerce-variation {
	margin-bottom: 4px;
}

.woocommerce-variation-description {
	font-size: 14px;
}

/* Quantity + button row */
.woocommerce-variation-add-to-cart,
form.cart:not(.variations_form):not(.grouped_form) {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.single_add_to_cart_button {
	flex: 1 1 160px;
	min-height: 60px;
}

.single_add_to_cart_button.is-loading {
	opacity: 0.6;
	pointer-events: none;
}

.quantity {
	display: inline-flex;
	align-items: stretch;
	border: 1px solid var(--line-strong);
	background: var(--white);
}

.quantity .qty {
	width: 48px;
	min-height: 0;
	padding: 0;
	border: 0;
	background: transparent;
	font-family: var(--font-mono);
	font-size: 14px;
	text-align: center;
	-moz-appearance: textfield;
}

.quantity .qty:focus {
	box-shadow: none;
}

.quantity:focus-within {
	border-color: var(--black);
}

.quantity .qty::-webkit-outer-spin-button,
.quantity .qty::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.quantity input[type="hidden"] + .qty {
	display: none;
}

.quantity:has(> input.qty[type="hidden"]) {
	display: none;
}

.sc-step {
	width: 48px;
	min-height: 58px;
	padding: 0;
	border: 0;
	background: none;
	font-family: var(--font-mono);
	font-size: 18px;
	line-height: 1;
}

.sc-step:hover {
	background: var(--black);
	color: var(--white);
}

/* Inline add-to-cart feedback */
.sc-atc-message {
	flex-basis: 100%;
	margin: 4px 0 0;
	padding: 12px 14px;
	background: var(--black);
	color: var(--white);
	font-size: 14px;
}

.sc-atc-message:empty {
	display: none;
}

/* Accordions */
.sc-accordions {
	margin-top: 8px;
	border-bottom: 1px solid var(--line);
}

.sc-accordion {
	border-top: 1px solid var(--line);
}

.sc-accordion__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 60px;
	padding: 4px 0;
	font-family: var(--font-mono);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	cursor: pointer;
	list-style: none;
}

.sc-accordion__summary::-webkit-details-marker {
	display: none;
}

.sc-accordion__icon {
	position: relative;
	width: 12px;
	height: 12px;
	flex: none;
}

.sc-accordion__icon::before,
.sc-accordion__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: 1.5px;
	margin-top: -0.75px;
	background: currentColor;
	transition: transform 0.4s var(--ease-out);
}

.sc-accordion__icon::after {
	transform: rotate(90deg);
}

.sc-accordion[open] .sc-accordion__icon::after {
	transform: rotate(0deg);
}

.sc-accordion::details-content {
	height: 0;
	overflow: clip;
	transition: height 0.45s var(--ease-out), content-visibility 0.45s allow-discrete;
}

.sc-accordion[open]::details-content {
	height: auto;
}

.sc-accordion__panel {
	padding: 0 0 28px;
	font-size: 15px;
	line-height: 1.65;
}

.sc-accordion__panel > :last-child {
	margin-bottom: 0;
}

.woocommerce-product-attributes {
	width: 100%;
	margin-top: 16px;
	border-collapse: collapse;
	font-size: 14px;
}

.woocommerce-product-attributes th,
.woocommerce-product-attributes td {
	padding: 10px 0;
	border-top: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.woocommerce-product-attributes th {
	width: 40%;
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.woocommerce-product-attributes p {
	margin: 0;
}

/* Reviews inside the accordion */
#reviews .commentlist {
	padding: 0;
	list-style: none;
}

#reviews .comment_container {
	padding: 16px 0;
	border-bottom: 1px solid var(--line);
}

#reviews .avatar {
	display: none;
}

.star-rating {
	font-family: var(--font-mono);
	font-size: 12px;
}

.product_meta {
	display: grid;
	gap: 4px;
	margin-top: 24px;
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--grey-3);
}

.product_meta a {
	color: inherit;
}

/* Related / up-sells (full width under the product) */
.sc-product > .related,
.sc-product > .upsells,
.cross-sells {
	padding: clamp(64px, 9vw, 140px) var(--gutter) 0;
}

.sc-product > .related > h2,
.sc-product > .upsells > h2,
.cross-sells > h2 {
	margin: 0 0 clamp(28px, 4vw, 56px);
	padding-bottom: 16px;
	border-bottom: 1px solid var(--black);
	font-size: clamp(1.8rem, 3.4vw, 2.8rem);
	font-weight: 400;
	line-height: 1.05;
}

.sc-product {
	padding-bottom: clamp(72px, 10vw, 160px);
}

/* Mobile sticky add-to-cart */
.sc-sticky-atc {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 40;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px var(--gutter) max(10px, env(safe-area-inset-bottom));
	border-top: 1px solid var(--black);
	background: var(--bg);
	transform: translateY(100%);
	transition: transform 0.5s var(--ease-out);
}

.sc-sticky-atc[hidden] {
	display: none;
}

.sc-sticky-atc.is-visible {
	transform: none;
}

.sc-sticky-atc__info {
	display: grid;
	min-width: 0;
}

.sc-sticky-atc__name {
	overflow: hidden;
	font-family: var(--font-display);
	font-size: 17px;
	font-weight: 400;
	line-height: 1.2;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.sc-sticky-atc__price {
	font-family: var(--font-mono);
	font-size: 12px;
}

.sc-sticky-atc .sc-btn {
	flex: none;
	min-height: 50px;
	padding: 0 20px;
}

/* Desktop product layout */
@media (min-width: 1024px) {
	.sc-product__main {
		grid-template-columns: minmax(0, 7fr) minmax(380px, 5fr);
	}

	.sc-gallery__track {
		display: grid;
		gap: 4px;
		overflow: visible;
		scroll-snap-type: none;
	}

	.sc-gallery__item {
		aspect-ratio: 4 / 5;
	}

	.sc-gallery__counter,
	.sc-gallery__dots {
		display: none;
	}

	.sc-product__summary {
		padding: 0;
	}

	.sc-product__sticky {
		position: sticky;
		top: var(--sticky-top);
		padding: 40px clamp(32px, 4vw, 72px) 48px;
	}

	.sc-sticky-atc {
		display: none !important;
	}

	@media (hover: hover) and (pointer: fine) {
		.sc-gallery__item[data-zoom] {
			cursor: zoom-in;
		}

		.sc-gallery__item[data-zoom]:hover img {
			transform: scale(1.12);
		}
	}
}

@media (min-width: 1440px) {
	.sc-gallery[data-count="3"] .sc-gallery__track,
	.sc-gallery[data-count="4"] .sc-gallery__track,
	.sc-gallery[data-count="5"] .sc-gallery__track,
	.sc-gallery[data-count="6"] .sc-gallery__track,
	.sc-gallery[data-count="7"] .sc-gallery__track,
	.sc-gallery[data-count="8"] .sc-gallery__track,
	.sc-gallery[data-count="9"] .sc-gallery__track {
		grid-template-columns: 1fr 1fr;
	}

	.sc-gallery:not([data-count="1"]):not([data-count="2"]) .sc-gallery__item:first-child {
		grid-column: 1 / -1;
	}
}

/* 18. Cart page ------------------------------------------------------------- */

.sc-cart {
	display: grid;
	gap: 48px;
	align-items: start;
}

.sc-cart__form {
	min-width: 0;
}

.sc-cart__list {
	border-top: 1px solid var(--black);
}

.sc-cart-item {
	display: grid;
	grid-template-columns: 110px minmax(0, 1fr);
	gap: 16px;
	padding: 20px 0;
	border-bottom: 1px solid var(--line);
}

.sc-cart-item__thumb {
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--grey-1);
}

.sc-cart-item__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sc-cart-item__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.sc-cart-item__top {
	display: flex;
	justify-content: space-between;
	gap: 16px;
}

.sc-cart-item__name > a {
	display: block;
	margin-bottom: 6px;
	font-family: var(--font-display);
	font-size: clamp(1.2rem, 1.8vw, 1.5rem);
	font-weight: 400;
	line-height: 1.2;
	text-decoration: none;
}

.sc-cart-item__subtotal,
.sc-cart-item__unit {
	font-family: var(--font-mono);
	font-size: 13px;
	white-space: nowrap;
}

.sc-cart-item__unit {
	color: var(--grey-3);
}

.sc-cart-item__actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: auto;
}

.sc-cart-item .quantity .sc-step {
	min-height: 44px;
	width: 44px;
}

.sc-cart-item .quantity .qty {
	width: 40px;
}

.product-remove .remove {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--grey-3);
}

.product-remove .remove:hover {
	color: var(--black);
}

.backorder_notification {
	margin: 6px 0 0;
	font-family: var(--font-mono);
	font-size: 11px;
	text-transform: uppercase;
}

.sc-cart__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	padding: 24px 0;
}

.sc-coupon {
	flex: 1 1 320px;
	max-width: 480px;
}

.sc-coupon__row {
	display: flex;
}

.sc-coupon__row .sc-input {
	border-right: 0;
}

.sc-coupon__row .button {
	flex: none;
}

.coupon-error-notice {
	margin: 8px 0 0;
	font-size: 13px;
}

.js .sc-cart__update {
	position: absolute;
	width: 1px;
	height: 1px;
	min-height: 0;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

/* Summary */
.sc-cart__summary,
.sc-checkout__summary-inner {
	padding: 28px 24px;
	border: 1px solid var(--black);
	background: var(--white);
}

.sc-summary-title {
	margin: 0 0 16px;
	font-size: 24px;
	font-weight: 400;
	line-height: 1.1;
}

.cart_totals > h2 {
	display: none;
}

.cart_totals .shop_table th {
	padding-right: 16px;
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.cart_totals .shop_table td,
.sc-review tfoot td {
	font-family: var(--font-mono);
	font-size: 13px;
}

.order-total th,
.order-total td {
	border-bottom: 0 !important;
	padding-top: 20px !important;
}

.order-total td,
.order-total .amount {
	font-size: 18px;
	font-weight: 500;
}

.order-total small,
.includes_tax {
	display: block;
	font-size: 11px;
	color: var(--grey-3);
}

.wc-proceed-to-checkout {
	margin-top: 16px;
}

.wc-proceed-to-checkout .checkout-button {
	display: flex;
	width: 100%;
	min-height: 64px;
}

/* Shipping methods (cart + checkout) */
#shipping_method {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: left;
}

#shipping_method li {
	display: flex;
	align-items: center;
	gap: 10px;
}

#shipping_method label {
	margin: 0;
	font-family: var(--font-body);
	font-size: 14px;
	letter-spacing: 0;
	text-transform: none;
}

.woocommerce-shipping-destination,
.woocommerce-shipping-contents {
	margin: 8px 0 0;
	font-family: var(--font-body);
	font-size: 12px;
	color: var(--grey-3);
	text-align: left;
}

.shipping-calculator-button {
	font-size: 12px;
}

.shipping-calculator-form {
	margin-top: 12px;
	text-align: left;
}

.shipping-calculator-form p {
	margin-bottom: 8px;
}

/* Empty cart */
.wc-empty-cart-message .cart-empty {
	display: block;
	margin: 0 0 32px;
	padding: 0;
	border: 0;
	background: none;
	font-family: var(--font-display);
	font-size: clamp(2rem, 5vw, 3.6rem);
	font-weight: 300;
	line-height: 1.1;
}

@media (min-width: 768px) {
	.sc-cart-item {
		grid-template-columns: 180px minmax(0, 1fr);
		gap: 28px;
		padding: 28px 0;
	}
}

@media (min-width: 1024px) {
	.sc-cart {
		grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
		gap: clamp(48px, 5vw, 96px);
	}

	.sc-cart__summary {
		position: sticky;
		top: var(--sticky-top);
	}
}

/* 19. Checkout -------------------------------------------------------------- */

.woocommerce-form-coupon-toggle .woocommerce-info,
.woocommerce-form-login-toggle .woocommerce-info {
	border-color: var(--line-strong);
	background: transparent;
	font-size: 14px;
}

.checkout_coupon,
.woocommerce-form-login {
	margin: 0 0 32px;
	padding: 20px;
	border: 1px solid var(--line-strong);
}

.checkout_coupon {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.checkout_coupon .form-row {
	margin: 0;
}

.checkout_coupon .form-row-first {
	flex: 1 1 240px;
}

.checkout_coupon .clear {
	display: none;
}

.sc-checkout {
	display: grid;
	gap: 40px;
	align-items: start;
}

.sc-checkout__main {
	min-width: 0;
	counter-reset: checkout;
}

.sc-checkout__section {
	padding: 28px 0 8px;
	border-top: 1px solid var(--black);
}

.sc-checkout__section + .sc-checkout__section {
	margin-top: 24px;
}

.sc-checkout__title {
	display: flex;
	align-items: baseline;
	gap: 14px;
	margin: 0 0 20px;
	font-size: clamp(1.4rem, 2.2vw, 1.8rem);
	font-weight: 400;
	line-height: 1.1;
}

.sc-checkout__title::before {
	counter-increment: checkout;
	content: counter(checkout, decimal-leading-zero);
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.12em;
	transform: translateY(-0.9em);
}

.sc-checkout__hint {
	margin: -12px 0 20px;
	font-size: 13px;
	color: var(--grey-3);
}

/* Field grid */
.sc-contact-fields,
.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper,
.woocommerce-additional-fields__field-wrapper,
.woocommerce-address-fields__field-wrapper,
.create-account {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0 12px;
}

.form-row {
	grid-column: 1 / -1;
	margin: 0 0 16px;
	padding: 0;
}

.form-row .woocommerce-input-wrapper {
	display: block;
}

.form-row.woocommerce-invalid .input-text,
.form-row.woocommerce-invalid select,
.form-row.woocommerce-invalid .select2-selection {
	border-color: var(--black);
	box-shadow: inset 0 0 0 1px var(--black);
	background-image: none;
}

.form-row.woocommerce-invalid label {
	text-decoration: underline;
}

.checkout-inline-error-message,
.form-row .woocommerce-error {
	margin: 6px 0 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--black);
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.form-row .description {
	margin-top: 6px;
	font-size: 12px;
	color: var(--grey-3);
}

@media (min-width: 600px) {
	.sc-contact-fields,
	.woocommerce-billing-fields__field-wrapper,
	.woocommerce-shipping-fields__field-wrapper,
	.woocommerce-address-fields__field-wrapper {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.form-row-first {
		grid-column: 1;
	}

	.form-row-last {
		grid-column: 2;
	}
}

/* Select2 / selectWoo (country & state) */
.select2-container {
	width: 100% !important;
}

.select2-container .select2-selection--single {
	height: 56px;
	border: 1px solid var(--line-strong);
	border-radius: 0;
	background: var(--white);
}

.select2-container .select2-selection--single .select2-selection__rendered {
	padding-left: 16px;
	padding-right: 44px;
	line-height: 54px;
	color: var(--black);
}

.select2-container .select2-selection--single .select2-selection__arrow {
	top: 0;
	right: 12px;
	height: 54px;
}

.select2-container--open .select2-selection--single,
.select2-container--focus .select2-selection--single {
	border-color: var(--black);
	box-shadow: inset 0 0 0 1px var(--black);
}

.select2-dropdown {
	border: 1px solid var(--black);
	border-radius: 0;
	background: var(--white);
}

.select2-search--dropdown .select2-search__field {
	min-height: 44px;
	padding: 8px 12px;
	border: 1px solid var(--line-strong) !important;
	border-radius: 0;
}

.select2-results__option {
	padding: 10px 16px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] {
	background: var(--black);
	color: var(--white);
}

/* Ship to a different address */
#ship-to-different-address {
	margin: 8px 0 16px;
	font-size: inherit;
	text-transform: none;
}

#ship-to-different-address label {
	padding: 18px 16px;
	border: 1px solid var(--line-strong);
	background: var(--white);
	font-size: 15px;
}

.shipping_address {
	padding-top: 8px;
}

.woocommerce-additional-fields h3,
.woocommerce-shipping-fields h3:not(#ship-to-different-address),
.woocommerce-account-fields h3 {
	font-size: 22px;
}

.woocommerce-additional-fields {
	margin-top: 16px;
}

.woocommerce-account-fields {
	margin: 0 0 16px;
}

/* Payment */
.sc-checkout__payment {
	margin-top: 24px;
}

#payment .payment_methods {
	display: grid;
	gap: 0;
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
	border: 1px solid var(--line-strong);
	background: var(--white);
}

#payment .payment_methods > li {
	position: relative;
	padding: 0;
	border-top: 1px solid var(--line);
}

#payment .payment_methods > li:first-child {
	border-top: 0;
}

#payment .payment_methods > li > input[type="radio"] {
	position: absolute;
	top: 21px;
	left: 18px;
}

#payment .payment_methods > li > label {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	min-height: 60px;
	margin: 0;
	padding: 16px 18px 16px 50px;
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
}

#payment .payment_methods > li > label img {
	display: inline-block;
	max-height: 24px;
	width: auto;
	margin-left: auto;
}

#payment .payment_methods > li:has(> input:checked) {
	box-shadow: inset 3px 0 0 var(--black);
}

#payment .payment_box {
	margin: 0;
	padding: 0 18px 18px 50px;
	font-size: 14px;
	color: var(--grey-4);
}

#payment .payment_box p:last-child {
	margin-bottom: 0;
}

#payment .payment_box fieldset {
	margin: 12px 0 0;
	padding: 0;
	border: 0;
}

#payment .woocommerce-notice,
#payment .woocommerce-info {
	margin: 18px;
}

.woocommerce-terms-and-conditions-wrapper {
	margin-bottom: 20px;
	font-size: 13px;
	color: var(--grey-4);
}

.woocommerce-terms-and-conditions-wrapper .form-row {
	margin-top: 12px;
}

.woocommerce-terms-and-conditions {
	max-height: 240px;
	overflow: auto;
	margin-bottom: 16px;
	padding: 16px;
	border: 1px solid var(--line);
}

.place-order {
	margin: 0;
}

#place_order {
	width: 100%;
	min-height: 64px;
	font-size: 13px;
}

/* Order summary */
.sc-review {
	margin: 0;
}

.sc-review td {
	vertical-align: middle;
}

.sc-review tbody td {
	padding: 14px 0;
}

.sc-review__item {
	display: flex;
	align-items: center;
	gap: 14px;
}

.sc-review__thumb {
	position: relative;
	flex: none;
	width: 64px;
	aspect-ratio: 4 / 5;
	background: var(--grey-1);
}

.sc-review__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sc-review__qty {
	position: absolute;
	top: -8px;
	right: -8px;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	padding: 0 5px;
	background: var(--black);
	color: var(--white);
	font-family: var(--font-mono);
	font-size: 11px;
}

.sc-review__info {
	display: grid;
	gap: 4px;
}

.sc-review__name {
	font-family: var(--font-display);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.25;
}

.sc-review .product-quantity {
	display: none;
}

.sc-review .product-total {
	font-family: var(--font-mono);
	font-size: 13px;
	white-space: nowrap;
}

.sc-review tfoot th {
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.woocommerce-remove-coupon {
	margin-left: 6px;
	font-size: 11px;
}

@media (min-width: 1024px) {
	.sc-checkout {
		grid-template-columns: minmax(0, 1fr) minmax(380px, 460px);
		gap: clamp(48px, 5vw, 96px);
	}

	.sc-checkout__summary {
		position: sticky;
		top: var(--sticky-top);
	}
}

/* Mobile: summary first, compact. */
@media (max-width: 1023px) {
	.sc-checkout__summary {
		order: -1;
	}
}

/* 20. Thank you / account --------------------------------------------------- */

.sc-thankyou__header {
	margin-bottom: clamp(32px, 5vw, 64px);
	padding-bottom: 20px;
	border-bottom: 1px solid var(--black);
}

.sc-thankyou__eyebrow {
	margin: 0 0 16px;
	font-family: var(--font-mono);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.sc-thankyou__eyebrow::before {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-right: 12px;
	background: var(--black);
	vertical-align: 1px;
}

.sc-thankyou__title {
	margin: 0;
	font-size: clamp(3rem, 9vw, 7rem);
	font-weight: 300;
	line-height: 1;
	animation: sc-fade-up 1s var(--ease-out) both;
}

.sc-thankyou__message .woocommerce-notice {
	display: block;
	margin: 24px 0 0;
	padding: 0;
	border: 0;
	background: none;
	font-size: 16px;
}

.sc-thankyou__overview {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0;
	margin: 0 0 clamp(40px, 6vw, 80px);
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--line);
	border-left: 1px solid var(--line);
}

.sc-thankyou__overview li {
	display: grid;
	gap: 8px;
	padding: 20px;
	border-right: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.sc-thankyou__overview span {
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--grey-3);
}

.sc-thankyou__overview strong {
	font-family: var(--font-mono);
	font-size: 15px;
	font-weight: 500;
	overflow-wrap: anywhere;
}

@media (min-width: 1024px) {
	.sc-thankyou__overview {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}

.sc-thankyou__details {
	display: grid;
	gap: 48px;
}

.woocommerce-order-details__title,
.woocommerce-column__title,
.woocommerce-customer-details h2,
.wc-bacs-bank-details-heading {
	margin: 0 0 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--black);
	font-size: clamp(1.4rem, 2.4vw, 1.9rem);
	font-weight: 400;
}

.woocommerce-table--order-details thead th {
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--grey-3);
}

.woocommerce-table--order-details .product-name a {
	font-weight: 600;
	text-decoration: none;
}

.woocommerce-table--order-details .wc-item-meta {
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
	font-family: var(--font-mono);
	font-size: 12px;
	text-transform: uppercase;
	color: var(--grey-3);
}

.woocommerce-table--order-details .wc-item-meta p {
	display: inline;
}

.woocommerce-table--order-details tfoot th {
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.woocommerce-columns--addresses {
	display: grid;
	gap: 32px;
}

@media (min-width: 768px) {
	.woocommerce-columns--addresses {
		grid-template-columns: 1fr 1fr;
	}
}

.woocommerce-customer-details address {
	padding: 20px;
	border: 1px solid var(--line);
	background: var(--white);
	font-style: normal;
	line-height: 1.7;
}

.woocommerce-customer-details address p {
	margin: 8px 0 0;
}

.sc-thankyou__continue {
	margin: clamp(40px, 6vw, 80px) 0 0;
}

.sc-thankyou__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	border: 0;
	background: none;
	padding: 0;
}

/* My account */
.woocommerce-account.logged-in .page-wrap--shop .woocommerce {
	display: grid;
	gap: 40px;
}

.woocommerce-MyAccount-navigation ul {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.woocommerce-MyAccount-navigation a {
	display: inline-block;
	padding: 8px 0;
	font-family: var(--font-mono);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-decoration: none;
	text-transform: uppercase;
	color: var(--grey-3);
}

.woocommerce-MyAccount-navigation .is-active a,
.woocommerce-MyAccount-navigation a:hover {
	color: var(--black);
	text-decoration: underline;
}

@media (min-width: 1024px) {
	.woocommerce-account.logged-in .page-wrap--shop .woocommerce {
		grid-template-columns: 240px minmax(0, 1fr);
	}

	.woocommerce-MyAccount-navigation ul {
		display: grid;
	}
}

.woocommerce-form-login,
.woocommerce-form-register,
.woocommerce-ResetPassword {
	max-width: 520px;
}

.u-columns.col2-set {
	display: grid;
	gap: 48px;
}

@media (min-width: 1024px) {
	.u-columns.col2-set {
		grid-template-columns: 1fr 1fr;
	}
}

/* 21. Motion ---------------------------------------------------------------- */

/* Reveal on scroll — only when JS runs, so nothing stays hidden without it. */
.js [data-reveal] {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 1s ease, transform 1.1s var(--ease-out);
	transition-delay: var(--reveal-delay, 0s);
}

.js [data-reveal].is-in {
	opacity: 1;
	transform: none;
}

.js .collection__item[data-reveal] .product-card__media {
	clip-path: inset(0 0 12% 0);
	transition: clip-path 1.3s var(--ease-out);
	transition-delay: var(--reveal-delay, 0s);
}

.js .collection__item[data-reveal].is-in .product-card__media {
	clip-path: inset(0 0 0 0);
}

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

	.js [data-reveal],
	.js .collection__item[data-reveal] .product-card__media {
		opacity: 1;
		transform: none;
		clip-path: none;
	}

	.has-cursor .sc-cursor {
		display: none;
	}

	.has-cursor [data-cursor] {
		cursor: pointer;
	}
}

/* Print: keep it simple */
@media print {
	.site-header,
	.announcement,
	.sc-drawer,
	.sc-cursor,
	.mobile-menu,
	.sc-sticky-atc {
		display: none !important;
	}
}
