/* ==========================================================================
   BoDe 1969
   1. Tokens  2. Base  3. Layout  4. Components  5. Header/Footer
   6. Home  7. Shop  8. Product  9. Cart/Checkout/Account  10. Utilities
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
	/* Palette pulled from the goods: shirt black, mug parchment, badge gold */
	--ink: #1a1918;            /* black tee, matches the art plates */
	--ink-2: #252321;          /* heavy metal tee, raised dark surface */
	--ink-3: #34312d;          /* dark borders, pressed states */
	--paper: #e7dbc1;          /* mug parchment */
	--paper-2: #ddd0b3;        /* plate behind product shots */
	--paper-3: #cbbd9c;        /* paper borders */
	--gold: #c9973f;           /* badge gold, deepened for fills */
	--gold-hi: #dda847;        /* exact badge gold: text on ink, hover */
	--rust: #9a4523;           /* sunset rust, sparing */
	--teal: #2e5a57;           /* lake teal, sparing */

	--on-ink: #ece2cc;
	--on-ink-muted: #a89f8c;
	--on-paper: #221f1b;
	--on-paper-muted: #5c5347;

	--success: #3f6b3a;
	--error: #a13a22;

	/* Type */
	--font-display: "Rokkitt", "Rockwell", "Roboto Slab", Georgia, serif;
	--font-body: "Libre Franklin", "Franklin Gothic Book", "Helvetica Neue", Arial, sans-serif;
	--fs-sm: .9375rem;                                   /* 15px, smallest UI text */
	--fs-base: 1.0625rem;                                /* 17px */
	--fs-md: 1.25rem;
	--fs-lg: clamp(1.5rem, 1.25rem + .9vw, 1.875rem);
	--fs-xl: clamp(2.125rem, 1.6rem + 2vw, 3rem);
	--fs-2xl: clamp(2.625rem, 1.7rem + 3.6vw, 4.5rem);
	--fs-display: clamp(3.25rem, 1.9rem + 5.6vw, 7rem);

	/* Space */
	--gutter: clamp(1rem, .5rem + 2.4vw, 2.5rem);
	--section: clamp(4rem, 2.8rem + 5vw, 8rem);
	--maxw: 1360px;
	--radius: 2px;

	--ease: cubic-bezier(.2, .7, .2, 1);
	--header-h: 72px;

	/* Paper fibre and ink grain, kept faint */
	--grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
	margin: 0;
	background: var(--ink);
	color: var(--on-ink);
	font: 400 var(--fs-base)/1.6 var(--font-body);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -.005em; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1em; }
p, li { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.paper :focus-visible, .on-paper :focus-visible { outline-color: var(--rust); }
::selection { background: var(--gold); color: var(--ink); }

.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: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--gold); color: var(--ink); padding: .75rem 1rem; font-weight: 600; }
.skip-link:focus { top: 1rem; }

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

/* 3. Layout ---------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.paper {
	background: var(--paper) var(--grain);
	background-blend-mode: multiply;
	color: var(--on-paper);
}
.section-title { font-size: var(--fs-xl); font-weight: 700; margin: 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.75rem); }

/* 4. Components ------------------------------------------------------------ */
.btn,
.button,
button.button,
input.button,
#place_order {
	display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
	min-height: 52px; padding: .85rem 1.75rem;
	background: var(--gold); color: var(--ink);
	border: 2px solid var(--gold); border-radius: var(--radius);
	font: 600 1rem/1.2 var(--font-body); letter-spacing: .01em;
	text-decoration: none; cursor: pointer;
	transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .1s;
}
.btn:hover, .button:hover, #place_order:hover { background: var(--gold-hi); border-color: var(--gold-hi); }
.btn:active, .button:active, #place_order:active { transform: translateY(1px); }
.paper .btn, .on-paper .btn, .paper .button, .on-paper .button, .on-paper #place_order {
	background: var(--ink); border-color: var(--ink); color: var(--on-ink);
}
.paper .btn:hover, .on-paper .btn:hover, .paper .button:hover, .on-paper .button:hover, .on-paper #place_order:hover {
	background: var(--ink-3); border-color: var(--ink-3);
}
.btn--small { min-height: 44px; padding: .55rem 1.1rem; font-size: var(--fs-sm); }
.button:disabled, .button.disabled, .button[disabled] { opacity: .45; cursor: not-allowed; }

.link-quiet {
	display: inline-flex; align-items: center; gap: .4rem;
	font-weight: 600; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
	text-underline-offset: .3em;
	transition: text-decoration-color .2s;
}
.link-quiet:hover { text-decoration-color: currentColor; }

.icon-btn {
	position: relative; display: inline-grid; place-items: center;
	width: 44px; height: 44px; padding: 0;
	background: none; border: 0; border-radius: var(--radius); color: inherit;
	transition: color .2s, background-color .2s;
}
.icon-btn:hover { color: var(--gold-hi); }
.icon-btn--ring { border: 1px solid color-mix(in srgb, currentColor 35%, transparent); border-radius: 50%; }
.icon-btn--ring:hover { border-color: currentColor; }

.tag { position: absolute; top: .75rem; left: .75rem; z-index: 2; padding: .2rem .55rem; font: 600 var(--fs-sm)/1.4 var(--font-body); }
.tag--sale { background: var(--rust); color: #f6ecd8; }

.prose { max-width: 68ch; }
.prose p:last-child { margin-bottom: 0; }
.prose--page { padding-bottom: var(--section); font-size: 1.125rem; line-height: 1.7; }
.prose--page h2 { font-size: var(--fs-lg); margin-top: 2em; }

/* Expandable chapters (story + product details) */
.chapter { border-top: 1px solid var(--rule, color-mix(in srgb, currentColor 22%, transparent)); }
.chapter:last-child { border-bottom: 1px solid var(--rule, color-mix(in srgb, currentColor 22%, transparent)); }
.chapter summary {
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	padding: 1.35rem 0; cursor: pointer; list-style: none;
}
.chapter summary::-webkit-details-marker { display: none; }
.chapter__title { font: 700 var(--fs-lg)/1.15 var(--font-display); transition: color .2s; }
.chapter summary:hover .chapter__title { color: var(--gold-hi); }
.chapter__icon { flex: none; transition: transform .3s var(--ease); }
.chapter[open] .chapter__icon { transform: rotate(45deg); }
.chapter__body { padding: 0 0 1.75rem; }
.chapter[open] .chapter__body { animation: chapter-in .35s var(--ease); }
@keyframes chapter-in { from { opacity: 0; transform: translateY(-4px); } }
.chapter--small .chapter__title { font: 600 1.0625rem/1.3 var(--font-body); }
.chapter--small summary { padding: 1.05rem 0; }
.chapter--small summary:hover .chapter__title { color: var(--rust); }

/* 5. Header / Footer ------------------------------------------------------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: var(--ink);
	border-bottom: 1px solid color-mix(in srgb, var(--gold) 22%, transparent);
	transition: box-shadow .25s;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header.is-scrolled { box-shadow: 0 1px 0 rgba(0,0,0,.4), 0 8px 24px -12px rgba(0,0,0,.6); }
.site-header__bar { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.site-header__menu-btn { display: none; margin-left: -10px; }

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--on-ink); flex: none; }
.brand .badge { width: 48px; height: 48px; }
.brand__word { font: 800 1.75rem/1 var(--font-display); letter-spacing: .01em; display: inline-flex; align-items: baseline; gap: .35rem; }
.brand__year { font: 600 .95rem/1 var(--font-display); color: var(--gold-hi); letter-spacing: .08em; }

.site-nav { flex: 1; }
.nav-list { display: flex; flex-wrap: wrap; gap: .25rem 1.4rem; margin: 0; padding: 0; list-style: none; }
.site-nav .nav-list { justify-content: center; }
.nav-list a {
	display: inline-block; padding: .5rem 0; font-weight: 500; font-size: .975rem; text-decoration: none;
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
	transition: background-size .25s var(--ease), color .2s;
}
.nav-list a:hover { color: var(--gold-hi); background-size: 100% 1px; }
.nav-list .current-menu-item > a, .nav-list a[aria-current] { color: var(--gold-hi); background-size: 100% 1px; }

.site-header__actions { display: flex; align-items: center; gap: .15rem; margin-right: -10px; }
.cart-count {
	position: absolute; top: 4px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px;
	display: grid; place-items: center; border-radius: 10px;
	background: var(--gold); color: var(--ink); font: 700 .75rem/1 var(--font-body);
}
.cart-count.is-empty { display: none; }
.cart-link.is-bumped .cart-count { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

.site-search { border-top: 1px solid var(--ink-3); background: var(--ink-2); }
.site-search__form { display: flex; align-items: center; gap: .75rem; padding-block: .85rem; }
.site-search__form > .icon { color: var(--on-ink-muted); flex: none; }
.site-search__form input[type=search] {
	flex: 1; min-width: 0; height: 48px; padding: 0 .25rem;
	background: none; border: 0; border-bottom: 1px solid var(--ink-3); color: var(--on-ink); font-size: 1.125rem;
}
.site-search__form input[type=search]:focus { outline: none; border-bottom-color: var(--gold); }

.drawer { position: fixed; inset: 0; z-index: 80; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(10,9,8,.6); opacity: 0; transition: opacity .25s; }
.drawer__panel {
	position: absolute; inset: 0 auto 0 0; width: min(88vw, 380px);
	display: flex; flex-direction: column; gap: 1.5rem; padding: 1rem 1.5rem 2rem;
	background: var(--ink-2) var(--grain); background-blend-mode: soft-light;
	transform: translateX(-100%); transition: transform .3s var(--ease); overflow-y: auto;
}
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; }
.drawer__head .badge { width: 56px; height: 56px; }
.drawer .nav-list { flex-direction: column; gap: 0; }
.drawer .nav-list a { display: block; padding: .8rem 0; font: 700 1.6rem/1.15 var(--font-display); border-bottom: 1px solid var(--ink-3); background: none; }
.drawer__foot { margin-top: auto; font: 600 1.25rem/1.2 var(--font-display); color: var(--gold-hi); }

.site-footer { background: var(--ink) var(--grain); background-blend-mode: soft-light; border-top: 1px solid var(--ink-3); padding-top: clamp(3rem, 2rem + 4vw, 5.5rem); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.site-footer__brand .badge { width: 120px; height: 120px; margin-bottom: 1.25rem; }
.site-footer__sign { font: 700 var(--fs-lg)/1.1 var(--font-display); color: var(--gold-hi); margin-bottom: .4rem; }
.site-footer__note { color: var(--on-ink-muted); }
.site-footer__title { font: 600 var(--fs-sm)/1.4 var(--font-body); color: var(--on-ink-muted); margin-bottom: 1rem; letter-spacing: .02em; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer__col a { text-decoration: none; }
.site-footer__col a:hover { color: var(--gold-hi); text-decoration: underline; }
.site-footer__base { margin-top: 3.5rem; padding-block: 1.5rem 2rem; border-top: 1px solid var(--ink-3); color: var(--on-ink-muted); font-size: var(--fs-sm); }
.site-footer__base p { margin: 0; }

/* 6. Home ------------------------------------------------------------------ */
/* Flat ink here so the artwork plates (same ink) print straight onto the page */
.hero {
	position: relative; overflow: hidden;
	background: var(--ink);
	padding-block: clamp(2.5rem, 1.5rem + 4vw, 5.5rem) clamp(3rem, 2rem + 4vw, 6rem);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: clamp(2rem, 1rem + 4vw, 5rem); }
.hero__copy .badge { width: clamp(96px, 70px + 4vw, 140px); height: auto; margin-bottom: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); }
.hero__title { font-size: var(--fs-2xl); font-weight: 800; line-height: 1.02; letter-spacing: -.01em; max-width: 14ch; margin-bottom: 1.5rem; }
.hero__lede { font-size: 1.1875rem; line-height: 1.6; color: var(--on-ink-muted); max-width: 40ch; margin-bottom: 2.25rem; }
.hero__actions { display: flex; align-items: center; gap: 1.25rem 2rem; flex-wrap: wrap; }
.hero__art { margin: 0; position: relative; }
.hero__art-link { display: block; }
.hero__art img { width: 100%; max-height: min(78vh, 760px); object-fit: contain; }
.hero__art figcaption { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: flex-end; margin-top: .75rem; font-size: var(--fs-sm); color: var(--on-ink-muted); }
.hero__art figcaption a { color: var(--on-ink); font-weight: 600; text-decoration: none; }
.hero__art figcaption a:hover { color: var(--gold-hi); text-decoration: underline; }

/* Artwork wall */
.wall { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem) var(--section); background: var(--ink); border-top: 1px solid var(--ink-3); }
.wall__head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; }
.wall__controls { display: flex; gap: .5rem; }
.wall .when-paused { display: none; }
.wall.is-paused .when-paused { display: grid; }
.wall.is-paused .when-playing { display: none; }
.wall__track {
	display: grid; grid-auto-flow: column; grid-auto-columns: clamp(240px, 22vw, 340px); column-gap: clamp(1rem, .5rem + 1.5vw, 2rem);
	margin: 0; padding: 0 var(--gutter) .5rem; list-style: none;
	overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
	scrollbar-width: none; overscroll-behavior-x: contain;
}
@media (min-width: 1440px) { .wall__track { padding-inline: calc((100vw - var(--maxw)) / 2 + var(--gutter)); scroll-padding-inline: calc((100vw - var(--maxw)) / 2 + var(--gutter)); } }
.wall__track::-webkit-scrollbar { display: none; }
.wall__item { scroll-snap-align: start; }
.wall__item a { display: block; text-decoration: none; }
.wall__item img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--ink); transition: transform .5s var(--ease); }
.wall__item a:hover img { transform: scale(1.03); }
.wall__name { display: block; margin-top: 1rem; font: 700 1.3rem/1.2 var(--font-display); }
.wall__item a:hover .wall__name { color: var(--gold-hi); }
.wall__col { display: block; margin-top: .2rem; color: var(--on-ink-muted); font-size: var(--fs-sm); }

/* Collection index */
.index { padding-block: var(--section); }
.index__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.index .section-title { margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.index ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--paper-3); }
.index li { border-bottom: 1px solid var(--paper-3); }
.index__link {
	display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name meta" "desc desc"; align-items: baseline; column-gap: 1.5rem;
	padding: clamp(1rem, .7rem + 1vw, 1.5rem) 0; text-decoration: none;
}
.index__thumb { display: none; grid-area: thumb; }
.index__name { grid-area: name; font: 800 clamp(2rem, 1.3rem + 2.8vw, 3.75rem)/1 var(--font-display); letter-spacing: -.01em; transition: color .2s, transform .35s var(--ease); }
.index__meta { grid-area: meta; display: inline-flex; align-items: center; gap: .75rem; color: var(--on-paper-muted); font-size: var(--fs-sm); white-space: nowrap; }
.index__meta .icon { transition: transform .3s var(--ease); }
.index__desc { grid-area: desc; max-width: 52ch; margin-top: .5rem; color: var(--on-paper-muted); }
.index__link:hover .index__name, .index__link:focus-visible .index__name { color: var(--rust); transform: translateX(.35rem); }
.index__link:hover .index__meta .icon, .index__link:focus-visible .index__meta .icon { transform: translateX(.3rem); color: var(--rust); }
.index__stage { position: sticky; top: calc(var(--header-h) + 2rem); aspect-ratio: 1; background: var(--ink); outline: 1px solid var(--paper-3); outline-offset: 10px; margin: 10px; }
.index__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .45s var(--ease); }
.index__stage img.is-active { opacity: 1; }

/* Story */
.story { padding-block: var(--section); background: var(--ink-2) var(--grain); background-blend-mode: soft-light; --rule: var(--ink-3); }
.story__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 1rem + 5vw, 6rem); align-items: start; }
.story__aside { position: sticky; top: calc(var(--header-h) + 2rem); }
.story__aside .section-title { margin-bottom: 1.5rem; }
.story__quote { margin: 0 0 2rem; padding: 0; }
.story__quote p { font: 600 var(--fs-lg)/1.25 var(--font-display); color: var(--gold-hi); max-width: 22ch; }
.story .chapter__body { color: var(--on-ink); font-size: 1.0625rem; max-width: 62ch; }
.story .chapter__body p { color: color-mix(in srgb, var(--on-ink) 88%, var(--ink)); }

/* Featured products */
.new-designs { padding-block: var(--section); }

/* Closing */
.closing {
	padding-block: var(--section); text-align: center;
	background: var(--ink) var(--grain); background-blend-mode: soft-light;
	border-top: 1px solid var(--ink-3);
}
.closing__line { font: 800 var(--fs-display)/.95 var(--font-display); letter-spacing: -.015em; margin: 0 0 1.25rem; color: var(--on-ink); }
.closing__sub { color: var(--on-ink-muted); font-size: 1.1875rem; margin: 0 auto 2.25rem; max-width: 44ch; }

/* 7. Shop ------------------------------------------------------------------ */
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: var(--fs-sm); color: var(--on-ink-muted); margin-bottom: 1.25rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: var(--gold-hi); }
.crumbs__sep { opacity: .6; }
.on-paper .crumbs, .paper .crumbs { color: var(--on-paper-muted); }
.on-paper .crumbs a:hover, .paper .crumbs a:hover { color: var(--rust); }

.shop-head { padding-block: clamp(2rem, 1.5rem + 2vw, 3.5rem) clamp(1.5rem, 1rem + 1vw, 2.25rem); }
.shop-head__title { font-size: var(--fs-2xl); margin: 0; }

.collection-hero { background: var(--ink); padding-block: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.collection-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.collection-hero__title { font-size: var(--fs-display); font-weight: 800; line-height: .95; margin-bottom: 1.25rem; }
.collection-hero__desc { font-size: 1.1875rem; max-width: 46ch; color: color-mix(in srgb, var(--on-ink) 85%, var(--ink)); }
.collection-hero__count { color: var(--on-ink-muted); font-size: var(--fs-sm); margin: 1.25rem 0 0; }
.collection-hero__art img { width: 100%; aspect-ratio: 1; object-fit: contain; }

.shop-bar { position: sticky; top: var(--header-h); z-index: 20; background: var(--paper); color: var(--on-paper); border-bottom: 1px solid var(--paper-3); }
.admin-bar .shop-bar { top: calc(var(--header-h) + 32px); }
.shop-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: .75rem 2rem; min-height: 64px; flex-wrap: wrap; padding-block: .5rem; }
.filter-row { display: flex; gap: .25rem 1.5rem; overflow-x: auto; scrollbar-width: none; }
.filter-row::-webkit-scrollbar { display: none; }
.filter-row a, .type-toggle a {
	flex: none; padding: .55rem 0; text-decoration: none; font-weight: 500; white-space: nowrap;
	border-bottom: 2px solid transparent; transition: border-color .2s, color .2s;
}
.filter-row a:hover, .type-toggle a:hover { border-bottom-color: var(--paper-3); }
.filter-row a[aria-current], .type-toggle a[aria-current] { border-bottom-color: var(--rust); color: var(--on-paper); font-weight: 600; }
.shop-bar__tools { display: flex; align-items: center; gap: 1.5rem; }
.type-toggle { display: flex; gap: 1.1rem; padding-right: 1.5rem; border-right: 1px solid var(--paper-3); }
.woocommerce-ordering { margin: 0; }
.woocommerce-ordering select, .on-paper select, .on-paper .input-text, .on-paper textarea, .on-paper input[type=text], .on-paper input[type=email], .on-paper input[type=tel], .on-paper input[type=password], .on-paper input[type=number], .on-paper input[type=search] {
	height: 48px; padding: 0 .9rem; background: #f3ead6; color: var(--on-paper);
	border: 1px solid var(--paper-3); border-radius: var(--radius);
	transition: border-color .2s, box-shadow .2s;
}
.woocommerce-ordering select { padding-right: 2.5rem; appearance: none; background: #f3ead6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23221f1b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .8rem center; }
.on-paper textarea { height: auto; min-height: 120px; padding: .75rem .9rem; }
.woocommerce-ordering select:focus, .on-paper select:focus, .on-paper .input-text:focus, .on-paper textarea:focus, .on-paper input:focus { outline: none; border-color: var(--on-paper); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 45%, transparent); }

.shop-grid { background: var(--paper) var(--grain); background-blend-mode: multiply; color: var(--on-paper); padding-block: 1.75rem var(--section); }
.woocommerce-result-count { color: var(--on-paper-muted); font-size: var(--fs-sm); margin-bottom: 1.5rem; }

/* Product grid + card */
ul.products {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(2rem, 1.5rem + 2vw, 3.25rem) clamp(.9rem, .5rem + 1.2vw, 1.75rem);
	margin: 0; padding: 0; list-style: none;
}
.card { position: relative; display: flex; flex-direction: column; }
.card__media { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--paper-2); }
.card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: opacity .45s var(--ease), transform .6s var(--ease); }
.card__img--alt { opacity: 0; object-fit: cover; padding: 0; }
@media (hover: hover) {
	.card:hover .card__img--alt { opacity: 1; }
	.card:hover .card__img:not(.card__img--alt) { transform: scale(1.03); }
}
.card__body { padding-top: 1rem; display: flex; flex-direction: column; flex: 1; }
.card__title { font: 700 1.3rem/1.15 var(--font-display); margin: 0 0 .2rem; }
.card__title a { text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__title a:focus-visible { outline: none; }
.card:has(.card__title a:focus-visible) .card__media { outline: 2px solid var(--rust); outline-offset: 3px; }
.card:hover .card__title a { text-decoration: underline; text-underline-offset: .18em; }
.card__col { color: var(--on-paper-muted); font-size: var(--fs-sm); margin: 0 0 .6rem; }
.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.card__price { font-weight: 600; }
.card__price del { color: var(--on-paper-muted); font-weight: 400; margin-right: .3rem; }
.card__price ins { text-decoration: none; color: var(--rust); }
.card__chips { display: inline-flex; gap: 5px; }
.chip { width: 14px; height: 14px; border-radius: 50%; background: var(--chip); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 0 0 1px rgba(0,0,0,.25); }

.woocommerce-pagination { margin-top: 3.5rem; }
.woocommerce-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.woocommerce-pagination a, .woocommerce-pagination span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 .5rem; border: 1px solid var(--paper-3); text-decoration: none; font-weight: 500; }
.woocommerce-pagination a:hover { border-color: var(--on-paper); }
.woocommerce-pagination .current { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }

.empty-state { text-align: center; padding: 4rem 0; max-width: 40ch; margin-inline: auto; }
.empty-state__title { font: 700 var(--fs-xl)/1.1 var(--font-display); }

/* 8. Product page ---------------------------------------------------------- */
.on-paper { display: flow-root; background: var(--paper) var(--grain); background-blend-mode: multiply; color: var(--on-paper); --rule: var(--paper-3); }
.product-crumbs { padding-top: 1.5rem; }
.product-crumbs .crumbs { color: var(--on-paper-muted); margin: 0; }
.product-page { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 1rem + 4vw, 5rem); padding-block: 1.5rem var(--section); align-items: start; }

.gallery { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 1rem; position: sticky; top: calc(var(--header-h) + 1.5rem); }
.gallery__stage { grid-column: 2; grid-row: 1; position: relative; aspect-ratio: 1; background: var(--paper-2); overflow: hidden; }
.gallery__slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s .35s; }
.gallery__slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.gallery__slide img { width: 100%; height: 100%; object-fit: contain; }
.gallery__nav { position: absolute; top: 50%; translate: 0 -50%; z-index: 2; background: color-mix(in srgb, var(--paper) 82%, transparent); color: var(--on-paper); opacity: 0; transition: opacity .2s; }
.gallery__stage:hover .gallery__nav, .gallery__nav:focus-visible { opacity: 1; }
.gallery__nav--prev { left: .75rem; }
.gallery__nav--next { right: .75rem; }
.gallery__thumbs { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: .6rem; margin: 0; padding: 0; list-style: none; max-height: 100%; overflow-y: auto; scrollbar-width: thin; }
.gallery__thumbs[hidden], .gallery__thumbs li[hidden] { display: none; }
.gallery__thumbs button { display: block; width: 100%; padding: 0; aspect-ratio: 1; background: var(--paper-2); border: 1px solid transparent; transition: border-color .2s; }
.gallery__thumbs button:hover { border-color: var(--paper-3); }
.gallery__thumbs button[aria-current] { border-color: var(--on-paper); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; }

.product-page__summary { padding-top: .5rem; }
.product-collection { display: inline-block; margin-bottom: .75rem; color: var(--on-paper-muted); font-weight: 500; text-decoration: none; }
.product-collection:hover { color: var(--rust); text-decoration: underline; }
.product_title { font-size: var(--fs-2xl); font-weight: 800; line-height: 1; margin-bottom: 1rem; }
.summary > .price { font: 600 1.375rem/1.3 var(--font-body); margin-bottom: 1.25rem; }
.summary > .price del { color: var(--on-paper-muted); font-weight: 400; }
.summary > .price ins { text-decoration: none; color: var(--rust); }
.woocommerce-product-details__short-description { color: var(--on-paper-muted); font-size: 1.0625rem; margin-bottom: 1.75rem; max-width: 52ch; }

.variations_form .variations, .variations_form .variations tbody, .variations_form .variations tr, .variations_form .variations th, .variations_form .variations td { display: block; }
.variations_form .variations { width: 100%; margin-bottom: .5rem; border-collapse: collapse; }
.variations_form .variations tr { margin-bottom: 1.5rem; }
.variations_form .variations th { text-align: left; padding: 0 0 .65rem; font-weight: 600; }
.variations_form .variations th label { display: flex; gap: .4rem; }
.chosen-value { font-weight: 400; color: var(--on-paper-muted); }
.chosen-value:not(:empty)::before { content: ""; }
.variations_form .variations td { padding: 0; }
.swatch-select { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.reset_variations { display: inline-block; margin-top: .75rem; font-size: var(--fs-sm); color: var(--on-paper-muted); }
.reset_variations[style*="hidden"] { display: none !important; }

.swatches { display: flex; flex-wrap: wrap; gap: .6rem; }
.swatch { position: relative; display: inline-grid; place-items: center; padding: 0; background: none; border: 1px solid var(--paper-3); border-radius: var(--radius); color: var(--on-paper); transition: border-color .15s, background-color .15s, color .15s; }
.swatches--color .swatch { width: 44px; height: 44px; border-radius: 50%; border-color: transparent; }
.swatch__chip { width: 34px; height: 34px; border-radius: 50%; background: var(--chip); box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.swatches--color .swatch:hover { border-color: var(--paper-3); }
.swatches--color .swatch[aria-checked="true"] { border: 2px solid var(--on-paper); }
.swatches--size .swatch { flex: 1 1 0; min-width: 0; max-width: 76px; height: 48px; padding: 0 .4rem; font-weight: 600; }
.swatches--size .swatch:hover { border-color: var(--on-paper); }
.swatches--size .swatch[aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.swatch.is-unavailable { opacity: .4; text-decoration: line-through; }

.single_variation_wrap .woocommerce-variation { margin-bottom: 1rem; }
.woocommerce-variation-price .price { font-weight: 600; font-size: 1.125rem; }
.woocommerce-variation-availability .stock, .summary .stock { font-size: var(--fs-sm); color: var(--success); margin: .25rem 0 0; }
.summary .out-of-stock { color: var(--error); }

form.cart:not(.variations_form), .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: .75rem; align-items: stretch; margin-bottom: 1.75rem; }
.quantity { display: inline-flex; align-items: stretch; height: 56px; border: 1px solid var(--paper-3); border-radius: var(--radius); background: #f3ead6; }
.quantity input.qty { width: 3rem; height: auto; padding: 0; text-align: center; border: 0; background: none; box-shadow: none; font-weight: 600; -moz-appearance: textfield; }
.quantity .qty::-webkit-inner-spin-button, .quantity .qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.quantity .qty:focus { outline: none; }
.quantity:focus-within { border-color: var(--on-paper); }
.qty-btn { width: 44px; display: grid; place-items: center; background: none; border: 0; color: var(--on-paper); }
.qty-btn:hover { color: var(--rust); }
.single_add_to_cart_button { flex: 1; min-height: 56px; font-size: 1.0625rem; }
.single_add_to_cart_button.disabled { opacity: .5; }
.single_add_to_cart_button.loading { opacity: .7; pointer-events: none; }
.added_to_cart { align-self: center; font-weight: 600; }

.product-details { margin-top: .5rem; }
.product-details .chapter__body { color: var(--on-paper-muted); }

.product-after { padding-block: clamp(3rem, 2rem + 3vw, 5rem) var(--section); border-top: 1px solid var(--paper-3); }
.related > h2 { font-size: var(--fs-xl); margin-bottom: 2rem; }

/* WooCommerce notices */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem;
	margin: 0 0 1.75rem; padding: 1rem 1.25rem; list-style: none;
	background: #f3ead6; color: var(--on-paper); border-left: 4px solid var(--teal);
}
.woocommerce-error { border-left-color: var(--error); flex-direction: column; align-items: flex-start; }
.woocommerce-error li { margin: 0; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; min-height: 44px; padding: .5rem 1rem; font-size: var(--fs-sm); background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.single-product .woocommerce-notices-wrapper { max-width: var(--maxw); margin: 1.5rem auto 0; padding-inline: var(--gutter); }

/* 9. Cart / Checkout / Account --------------------------------------------- */
.page-head { padding-block: clamp(2rem, 1.5rem + 2vw, 3.5rem) clamp(1.25rem, 1rem + 1vw, 2rem); }
.page-head__title { font-size: var(--fs-2xl); margin: 0; }
.store-page__body { padding-bottom: var(--section); }
.store-page__body { --rule: var(--paper-3); }

.shop_table { width: 100%; border-collapse: collapse; margin-bottom: 2rem; }
.shop_table th { text-align: left; font-weight: 600; font-size: var(--fs-sm); color: var(--on-paper-muted); padding: .75rem .75rem .75rem 0; border-bottom: 1px solid var(--paper-3); }
.shop_table td { padding: 1.1rem .75rem 1.1rem 0; border-bottom: 1px solid var(--paper-3); vertical-align: middle; }
.shop_table td.product-thumbnail { width: 108px; }
.shop_table td.product-thumbnail img { width: 92px; height: 92px; object-fit: contain; background: var(--paper-2); }
.shop_table td.product-name a { font: 700 1.25rem/1.2 var(--font-display); text-decoration: none; }
.shop_table td.product-name a:hover { text-decoration: underline; }
.shop_table .variation { display: grid; grid-template-columns: auto 1fr; gap: .1rem .4rem; margin: .4rem 0 0; font-size: var(--fs-sm); color: var(--on-paper-muted); }
.shop_table .variation dt, .shop_table .variation dd, .shop_table .variation p { margin: 0; }
.shop_table .product-remove { width: 44px; }
.shop_table a.remove { display: grid; place-items: center; width: 36px; height: 36px; font-size: 1.5rem; line-height: 1; text-decoration: none; color: var(--on-paper-muted); border-radius: 50%; }
.shop_table a.remove:hover { background: var(--paper-2); color: var(--error); }
.shop_table td.actions { padding-top: 1.5rem; }
.shop_table .coupon { display: inline-flex; gap: .5rem; flex-wrap: wrap; }
.shop_table .coupon label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.shop_table td.actions > .button { float: right; }
.cart-collaterals { display: flex; justify-content: flex-end; }
.cart_totals { width: min(100%, 460px); padding: 1.75rem; background: #efe5cf; border: 1px solid var(--paper-3); }
.cart_totals h2, #order_review_heading, .woocommerce-billing-fields h3, .woocommerce-shipping-fields h3, .woocommerce-additional-fields h3 { font-size: var(--fs-lg); margin-bottom: 1rem; }
.cart_totals .shop_table th { color: var(--on-paper); width: 40%; }
.cart_totals .order-total th, .cart_totals .order-total td, .woocommerce-checkout-review-order-table .order-total th, .woocommerce-checkout-review-order-table .order-total td { font-size: 1.1875rem; font-weight: 700; border-bottom: 0; }
.wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 56px; }
#shipping_method { list-style: none; margin: 0; padding: 0; }
.woocommerce-shipping-destination, .shipping-calculator-button { font-size: var(--fs-sm); color: var(--on-paper-muted); }
.cart-empty { font: 700 var(--fs-xl)/1.15 var(--font-display); border: 0 !important; background: none !important; padding: 0 !important; }
.return-to-shop { margin-top: 1rem; }

/* Forms */
.form-row { margin: 0 0 1.1rem; }
.form-row label { display: block; margin-bottom: .4rem; font-weight: 500; font-size: var(--fs-sm); }
.form-row .required { color: var(--error); text-decoration: none; border: 0; }
.form-row .optional { color: var(--on-paper-muted); font-weight: 400; }
.form-row .input-text, .form-row select, .form-row textarea { width: 100%; }
.form-row.woocommerce-invalid .input-text, .form-row.woocommerce-invalid select { border-color: var(--error); }
.form-row-first, .form-row-last { width: calc(50% - .6rem); display: inline-block; vertical-align: top; }
.form-row-first { margin-right: 1rem; }
.woocommerce-input-wrapper { display: block; }
.woocommerce-form__label-for-checkbox { display: inline-flex !important; align-items: center; gap: .6rem; font-weight: 400 !important; }
input[type=checkbox], input[type=radio] { width: 20px; height: 20px; accent-color: var(--ink); }
.select2-container .select2-selection--single { height: 48px !important; border: 1px solid var(--paper-3) !important; border-radius: var(--radius) !important; background: #f3ead6 !important; }
.select2-container .select2-selection--single .select2-selection__rendered { line-height: 46px !important; padding-left: .9rem !important; color: var(--on-paper) !important; }
.select2-container .select2-selection--single .select2-selection__arrow { height: 46px !important; }
.select2-dropdown { border-color: var(--paper-3) !important; background: #f3ead6 !important; color: var(--on-paper); }
.select2-results__option--highlighted { background: var(--ink) !important; color: var(--on-ink) !important; }

form.checkout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto 1fr; column-gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
form.checkout #customer_details { grid-column: 1; grid-row: 1 / span 2; }
form.checkout #order_review_heading { grid-column: 2; grid-row: 1; margin: 0; padding: 1.75rem 1.75rem 0; background: #efe5cf; border: 1px solid var(--paper-3); border-bottom: 0; }
form.checkout #order_review { grid-column: 2; grid-row: 2; padding: 1rem 1.75rem 1.75rem; background: #efe5cf; border: 1px solid var(--paper-3); border-top: 0; position: sticky; top: calc(var(--header-h) + 1rem); }
.col2-set .col-1, .col2-set .col-2 { margin-bottom: 2rem; }
#ship-to-different-address { font: 600 1.0625rem/1.4 var(--font-body); margin: .5rem 0 1.25rem; }
#ship-to-different-address label { display: inline-flex; align-items: center; gap: .6rem; cursor: pointer; }
.woocommerce-checkout-review-order-table td.product-name { font-weight: 500; }
.woocommerce-checkout-review-order-table .product-quantity { color: var(--on-paper-muted); font-weight: 400; }
.wc_payment_methods { list-style: none; margin: 1rem 0; padding: 0; border-top: 1px solid var(--paper-3); }
.wc_payment_method { padding: 1rem 0; border-bottom: 1px solid var(--paper-3); }
.wc_payment_method > label { font-weight: 600; margin-left: .4rem; }
.payment_box { margin-top: .75rem; padding: .9rem 1rem; background: var(--paper-2); font-size: var(--fs-sm); }
.payment_box p { margin: 0; }
#place_order { width: 100%; min-height: 56px; margin-top: 1rem; font-size: 1.0625rem; }
.woocommerce-terms-and-conditions-wrapper { font-size: var(--fs-sm); color: var(--on-paper-muted); }
.woocommerce-form-coupon-toggle .woocommerce-info, .woocommerce-form-login-toggle .woocommerce-info { border-left-color: var(--gold); }
form.checkout_coupon, form.woocommerce-form-login { margin-bottom: 2rem; padding: 1.25rem; border: 1px solid var(--paper-3); }

/* Order received */
.woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; padding: 0; margin: 0 0 2rem; list-style: none; }
.woocommerce-order-overview li { font-size: var(--fs-sm); color: var(--on-paper-muted); }
.woocommerce-order-overview strong { display: block; font-size: 1.0625rem; color: var(--on-paper); }
.woocommerce-thankyou-order-received { font: 700 var(--fs-xl)/1.15 var(--font-display); }

/* Account */
.woocommerce-account .store-page__body > .woocommerce { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--paper-3); }
.woocommerce-MyAccount-navigation li { border-bottom: 1px solid var(--paper-3); }
.woocommerce-MyAccount-navigation a { display: block; padding: .85rem 0; text-decoration: none; font-weight: 500; }
.woocommerce-MyAccount-navigation a:hover { color: var(--rust); }
.woocommerce-MyAccount-navigation .is-active a { font-weight: 700; box-shadow: inset 3px 0 0 var(--rust); padding-left: .9rem; }
.woocommerce-account:not(.logged-in) .store-page__body > .woocommerce { display: block; }
.u-columns.col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); }
.woocommerce-form-login, .woocommerce-form-register { max-width: 460px; }
.woocommerce-Addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.woocommerce-Address-title { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.woocommerce-Address-title h2 { font-size: var(--fs-lg); }
address { font-style: normal; line-height: 1.7; }
.woocommerce-orders-table .button { min-height: 40px; padding: .4rem .9rem; font-size: var(--fs-sm); }
.woocommerce-password-strength { font-size: var(--fs-sm); margin-top: .4rem; }

/* 404 */
.lost { text-align: center; padding-block: var(--section); max-width: 52ch; }
.lost .badge { width: 140px; height: 140px; margin: 0 auto 2rem; }
.lost__title { font-size: var(--fs-display); font-weight: 800; }
.lost p { color: var(--on-ink-muted); margin-bottom: 2rem; }

/* 10. Responsive ---------------------------------------------------------- */
@media (max-width: 1180px) {
	.site-nav { display: none; }
	.site-header__menu-btn { display: inline-grid; }
	.site-header__bar { gap: .75rem; }
	.brand { margin-right: auto; }
	ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
	:root { --header-h: 64px; }
	.hero__grid { grid-template-columns: 1fr; }
	.hero__art { order: -1; max-width: 560px; margin-inline: auto; }
	.hero__art img { max-height: 52vh; }
	.hero__art figcaption { justify-content: center; }
	.hero__copy .badge { display: none; }
	.hero__title { max-width: 18ch; }

	.index__grid { grid-template-columns: 1fr; }
	.index__stage { display: none; }
	.index__link { grid-template-columns: 76px 1fr; grid-template-areas: "thumb name" "thumb meta" "thumb desc"; column-gap: 1.1rem; row-gap: .2rem; align-items: start; }
	.index__name { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.5rem); }
	.index__meta { justify-self: start; }
	.index__thumb { display: block; width: 76px; height: 76px; background: var(--ink); align-self: start; }
	.index__thumb img { width: 100%; height: 100%; object-fit: contain; }
	.index__desc { margin-top: .25rem; font-size: var(--fs-sm); }

	.story__grid { grid-template-columns: 1fr; }
	.story__aside { position: static; }

	.collection-hero__grid { grid-template-columns: 1fr; }
	.collection-hero__art { order: -1; max-width: 320px; }

	.shop-bar__inner { flex-direction: column; flex-wrap: nowrap; align-items: stretch; padding-block: .25rem .75rem; }
	.shop-bar__inner > * { min-width: 0; }
	.shop-bar__tools { justify-content: space-between; }

	.product-page { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; padding-top: 1rem; }
	.product_title { font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3rem); }
	.gallery { grid-template-columns: 1fr; top: calc(var(--header-h) + 1rem); }
	.gallery__stage { grid-column: 1; }
	.gallery__thumbs { grid-column: 1; grid-row: 2; flex-direction: row; overflow-x: auto; max-height: none; scrollbar-width: none; }
	.gallery__thumbs::-webkit-scrollbar { display: none; }
	.gallery__thumbs li { flex: 0 0 72px; }
	.gallery__nav { opacity: 1; }

	form.checkout { grid-template-columns: 1fr; }
	form.checkout #customer_details, form.checkout #order_review_heading, form.checkout #order_review { grid-column: 1; grid-row: auto; position: static; }

	.woocommerce-account .store-page__body > .woocommerce { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
	ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.card__title { font-size: 1.125rem; }
	.card__chips { display: none; }
	.product-page { grid-template-columns: 1fr; }
	.gallery { position: static; }
	.type-toggle { border-right: 0; padding-right: 0; }
	.shop-bar__tools { flex-wrap: wrap; gap: .5rem 1rem; }
	.woocommerce-ordering { flex: 1 1 100%; }
	.woocommerce-ordering select { width: 100%; }
	.shop-bar { position: static; }

	/* Cart table becomes stacked rows */
	.woocommerce-cart-form .shop_table thead { display: none; }
	.woocommerce-cart-form .shop_table tr.cart_item { display: grid; grid-template-columns: 92px 1fr auto; grid-template-areas: "thumb name remove" "thumb price price" "thumb qty subtotal"; gap: .25rem 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--paper-3); }
	.woocommerce-cart-form .shop_table tr.cart_item td { border: 0; padding: 0; }
	.woocommerce-cart-form td.product-remove { grid-area: remove; }
	.woocommerce-cart-form td.product-thumbnail { grid-area: thumb; width: auto; display: block !important; }
	.woocommerce-cart-form td.product-name { grid-area: name; }
	.woocommerce-cart-form td.product-price { grid-area: price; color: var(--on-paper-muted); font-size: var(--fs-sm); }
	.woocommerce-cart-form td.product-quantity { grid-area: qty; }
	.woocommerce-cart-form td.product-subtotal { grid-area: subtotal; align-self: center; font-weight: 600; }
	.woocommerce-cart-form td.product-price::before, .woocommerce-cart-form td.product-subtotal::before, .woocommerce-cart-form td.product-quantity::before { display: none; }
	.woocommerce-cart-form .quantity { height: 44px; }
	.woocommerce-cart-form tr:not(.cart_item), .woocommerce-cart-form tr:not(.cart_item) td { display: block; }
	.shop_table td.actions > .button { float: none; width: 100%; margin-top: .75rem; }
	.shop_table .coupon { display: flex; }
	.shop_table .coupon .input-text { flex: 1; }

	.form-row-first, .form-row-last { width: 100%; margin-right: 0; }
	.u-columns.col2-set, .woocommerce-Addresses { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr; }
	.closing__line { font-size: clamp(2.75rem, 12vw, 4rem); }
	.wall__track { grid-auto-columns: 70vw; }
}
