/*
Theme Name: Bad Take
Theme URI: https://badtake-staging.homelabber.duckdns.org/
Author: Bad Take
Author URI: https://badtake-staging.homelabber.duckdns.org/
Description: A polished, high-end WooCommerce theme for Bad Take — provocative urban wear. Clean editorial layout, square corners, heavyweight type, and the Haitian flag accents (blue #00209F, red #D21034) used for exactly one randomly coloured hero word per page load. Requires WooCommerce.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.1
Requires Plugins: woocommerce
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: badtake
Tags: woocommerce, e-commerce, editorial, minimal, custom-colors, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ============================================================
   BAD TAKE — ported from the storefront prototype
   Tokens, typography and layout match the prototype exactly.
   Fonts are system stacks on purpose: the prototype used
   Google Fonts (Archivo + EB Garamond); this theme ships no
   external font requests, so the pairing is reproduced with
   a system sans + a system serif for italic emphasis.
   ============================================================ */

:root {
	--bg: #F7F6F3;
	--bg2: #EDECE8;
	--surface: #FFFFFF;
	--ink: #111110;
	--muted: #6E6E6A;
	--line: #E2E0DB;
	--accent: #111110;
	--accent-inv: #F7F6F3;
	--pop-red: #D21034;
	--pop-blue: #00209F;
	--radius: 0px;
	--success: #1B4332;
	--success-ink: #8FE3B0;
	--overlay: rgba(0, 0, 0, .45);
	--content: 1280px;
	--font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-serif: Georgia, "Times New Roman", Times, serif;
	--marquee-w: min(1240px, calc(100vw - 40px));
}

@media (prefers-color-scheme: dark) {
	:root {
		--bg: #0F0F0E;
		--bg2: #171716;
		--surface: #1A1A19;
		--ink: #F2F1ED;
		--muted: #A3A19B;
		--line: #2A2A28;
		--accent: #F2F1ED;
		--accent-inv: #111110;
	}
}

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

html {
	color-scheme: light dark;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
	outline: 2px solid var(--pop-blue);
	outline-offset: 2px;
}

h1,
h2,
h3,
h4 {
	margin: 0;
	font-weight: 700;
}

h1 {
	font-size: clamp(44px, 6vw, 76px);
	line-height: .92;
	letter-spacing: -.04em;
}

h2 {
	font-size: clamp(32px, 4vw, 48px);
	line-height: .95;
	letter-spacing: -.03em;
}

h1 em,
h2 em,
h3 em {
	font-family: var(--font-serif);
	font-style: italic;
	font-weight: 500;
	letter-spacing: -.02em;
}

p {
	margin: 0;
}

/* ---------- Layout helpers ---------- */

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

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

.eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 16px;
	color: var(--muted);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
}

.eyebrow::before {
	content: "";
	display: block;
	width: 28px;
	height: 1px;
	background: var(--ink);
}

.section-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	flex-wrap: wrap;
	gap: 24px;
	margin-bottom: 28px;
}

.section-head .section-intro {
	max-width: 480px;
	margin-top: 14px;
	color: var(--muted);
	font-size: 15px;
	line-height: 1.6;
}

/* ---------- Buttons ---------- */

.btn,
button.btn,
a.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 22px;
	border: 1px solid var(--ink);
	border-radius: var(--radius);
	background: transparent;
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
}

.btn-dark {
	background: var(--ink);
	color: var(--bg);
}

.btn-dark:hover {
	opacity: .85;
}

.btn-light:hover {
	background: var(--bg2);
}

.icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 40px;
	min-width: 40px;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
}

.icon-btn:hover {
	background: var(--ink);
	color: var(--bg);
}

.icon-btn:hover .bt-bag-count {
	background: var(--bg);
	color: var(--ink);
}

.bt-bag-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--ink);
	color: var(--bg);
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
}

/* ---------- Topbar ---------- */

.bt-topbar {
	background: var(--ink);
	color: var(--bg);
	padding: 9px 16px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .14em;
	text-align: center;
	text-transform: uppercase;
}

.bt-topbar span {
	font-weight: 400;
	opacity: .6;
}

/* ---------- Header ---------- */

.bt-header {
	position: sticky;
	top: 0;
	z-index: 30;
	border-bottom: 1px solid var(--line);
	background: var(--bg);
	background: color-mix(in srgb, var(--bg) 92%, transparent);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

.bt-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	max-width: var(--content);
	height: 64px;
	margin: 0 auto;
	padding: 0 20px;
}

.bt-logo {
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -.04em;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}

.bt-logo em {
	font-family: var(--font-serif);
	font-style: italic;
	font-weight: 500;
	text-transform: none;
}

.bt-nav ul {
	display: flex;
	gap: 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bt-nav a {
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .08em;
	text-decoration: none;
	text-transform: uppercase;
}

.bt-nav a:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.bt-header-actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

/* ---------- Hero ---------- */

.bt-hero {
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	gap: 0;
	max-width: var(--content);
	margin: 0 auto;
	border-bottom: 1px solid var(--line);
}

.bt-hero-copy {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 40px;
	padding: 48px 40px 48px 0;
}

.bt-hero-lead {
	max-width: 520px;
	margin-top: 22px;
	color: var(--muted);
	font-size: 17px;
	line-height: 1.6;
}

.bt-hero-ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.bt-hero-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	padding-top: 18px;
	border-top: 1px solid var(--line);
	font-size: 12px;
}

.bt-hero-meta strong {
	display: block;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.bt-hero-meta span {
	color: var(--muted);
}

/* One random word per load gets the flag colour (JS adds .pop-red / .pop-blue). */
.bt-hero h1 .rw.pop-red {
	color: var(--pop-red);
}

.bt-hero h1 .rw.pop-blue {
	color: var(--pop-blue);
}

.bt-hero-figure {
	position: relative;
	min-height: 520px;
	overflow: hidden;
	background: var(--bg2);
}

.bt-hero-figure img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
}

.bt-hero-caption {
	position: absolute;
	left: 16px;
	bottom: 16px;
	padding: 10px 14px;
	background: var(--bg);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.bt-hero-caption span {
	color: var(--muted);
	font-weight: 400;
}

/* ---------- Marquee ---------- */

.bt-marquee {
	max-width: var(--content);
	margin: 0 auto;
	padding: 0 20px;
	border-bottom: 1px solid var(--line);
}

.bt-marquee-clip {
	overflow: hidden;
	white-space: nowrap;
	padding: 13px 0;
}

.bt-marquee-track {
	display: flex;
	width: max-content;
	animation: bt-marquee-scroll 32s linear infinite;
	will-change: transform;
}

.bt-marquee:hover .bt-marquee-track {
	animation-play-state: paused;
}

.bt-marquee-group {
	display: flex;
	align-items: center;
	justify-content: space-around;
	flex-shrink: 0;
	min-width: var(--marquee-w);
}

.bt-marquee-group span {
	flex-shrink: 0;
	padding: 0 10px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
}

@keyframes bt-marquee-scroll {
	to {
		transform: translateX(-50%);
	}
}

/* ---------- Shop section ---------- */

.bt-filter-group {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 24px;
}

.bt-filter-btn {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 16px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: transparent;
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
}

.bt-filter-btn:hover,
.bt-filter-btn.is-active {
	background: var(--ink);
	color: var(--bg);
	border-color: var(--ink);
}

.bt-shop-note {
	margin-top: 16px;
	color: var(--muted);
	font-size: 13px;
}

/* ---------- Product grid / cards ---------- */

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

.woocommerce ul.products::before,
.woocommerce ul.products::after {
	display: none;
}

.woocommerce ul.products li.product,
ul.products li.product {
	display: flex;
	flex-direction: column;
	width: auto;
	margin: 0;
	float: none;
	border: 1px solid var(--line);
	background: var(--surface);
}

.bt-card-visual {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 4 / 5;
	padding: 28px;
	overflow: hidden;
	background: var(--ink);
	color: var(--bg);
	text-align: center;
	text-decoration: none;
}

.bt-card-visual img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bt-card-visual--text {
	position: relative;
	font-family: var(--font-serif);
	font-size: 26px;
	font-weight: 500;
	line-height: 1.05;
}

.bt-card-visual--text small {
	display: block;
	margin-top: 14px;
	font-family: var(--font-sans);
	font-size: 10px;
	font-weight: 400;
	letter-spacing: .16em;
	text-transform: uppercase;
	opacity: .6;
}

.bt-card-tag {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	padding: 6px 8px;
	border: 1px solid var(--line);
	background: var(--bg);
	color: var(--ink);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.bt-card-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 10px;
	padding: 16px;
}

.bt-card-body h3,
.woocommerce ul.products li.product h3,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	padding: 0;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
}

.bt-card-body h3 a {
	text-decoration: none;
}

.bt-card-desc {
	color: var(--muted);
	font-size: 13px;
	line-height: 1.5;
}

.bt-card-meta {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.bt-card-meta .price,
.woocommerce ul.products li.product .price {
	margin: 0;
	color: var(--ink);
	font-size: 15px;
	font-weight: 700;
}

.bt-card-meta .bt-card-fabric {
	color: var(--muted);
	font-size: 12px;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .added_to_cart {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 44px;
	margin: 0;
	padding: 0 16px;
	border: 1px solid var(--ink);
	border-radius: var(--radius);
	background: var(--ink);
	color: var(--bg);
	font-family: var(--font-sans);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	text-align: center;
}

.woocommerce ul.products li.product .button:hover {
	opacity: .88;
}

.woocommerce ul.products li.product .button.added {
	background: var(--success);
	border-color: var(--success);
	color: #fff;
}

.woocommerce ul.products li.product .star-rating {
	display: none;
}

.bt-empty-shop {
	padding: 48px 20px;
	border: 1px solid var(--line);
	background: var(--surface);
	text-align: center;
}

.bt-empty-shop h3 {
	margin-bottom: 8px;
	font-size: 20px;
}

.bt-empty-shop p {
	color: var(--muted);
	font-size: 14px;
}

/* ---------- Philosophy ---------- */

.bt-philosophy {
	padding-top: 0;
}

.bt-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	border: 1px solid var(--line);
	background: var(--surface);
}

.bt-split-media img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 420px;
	object-fit: cover;
}

.bt-split-copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 18px;
	padding: 40px;
}

.bt-split-copy h3 {
	font-size: 36px;
	line-height: 1;
	letter-spacing: -.03em;
}

.bt-split-copy > p {
	color: var(--muted);
	line-height: 1.7;
}

.bt-principles {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.bt-principle {
	padding-top: 12px;
	border-top: 1px solid var(--line);
}

.bt-principle strong {
	display: block;
	margin-bottom: 4px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.bt-principle p {
	color: var(--muted);
	font-size: 13px;
	line-height: 1.5;
}

.bt-philosophy-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-top: 16px;
}

.bt-philosophy-row img {
	display: block;
	width: 100%;
	height: 320px;
	object-fit: cover;
	border: 1px solid var(--line);
}

.bt-house-rule {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 10px;
	min-height: 320px;
	padding: 28px;
	background: var(--ink);
	color: var(--bg);
}

.bt-house-rule blockquote {
	margin: 0;
	font-family: var(--font-serif);
	font-size: 32px;
	font-weight: 500;
	line-height: 1.05;
}

.bt-house-rule blockquote em {
	font-style: italic;
}

.bt-house-rule figcaption {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	opacity: .65;
}

/* ---------- Collections ---------- */

.bt-collections {
	padding-top: 0;
}

.bt-collection-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.bt-collection-card {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-height: 220px;
	padding: 24px;
	border: 1px solid var(--line);
	background: var(--surface);
}

.bt-collection-badge {
	width: fit-content;
	padding: 5px 7px;
	border: 1px solid var(--line);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.bt-collection-badge--live {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--bg);
}

.bt-collection-number {
	font-family: var(--font-serif);
	font-size: 42px;
	font-style: italic;
	font-weight: 500;
	line-height: 1;
}

.bt-collection-card h3 {
	font-size: 20px;
	letter-spacing: -.02em;
}

.bt-collection-card p {
	flex: 1;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.6;
}

.bt-collection-card a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* ---------- Manifesto ---------- */

.bt-manifesto {
	padding: 72px 20px;
	background: var(--ink);
	color: var(--bg);
}

.bt-manifesto-inner {
	max-width: 900px;
	margin: 0 auto;
	text-align: center;
}

.bt-manifesto .eyebrow {
	justify-content: center;
	color: var(--bg);
	opacity: .7;
}

.bt-manifesto .eyebrow::before {
	display: none;
}

.bt-manifesto blockquote {
	margin: 16px 0 0;
	font-family: var(--font-serif);
	font-size: clamp(30px, 5vw, 52px);
	font-weight: 500;
	line-height: 1.05;
}

.bt-manifesto blockquote em {
	font-style: italic;
}

.bt-manifesto p {
	max-width: 560px;
	margin: 20px auto 0;
	color: var(--bg);
	font-size: 15px;
	line-height: 1.7;
	opacity: .65;
}

/* ---------- Process ---------- */

.bt-process-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.bt-process-step {
	padding: 24px;
	border: 1px solid var(--line);
	background: var(--bg);
}

.bt-process-step > span {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--muted);
}

.bt-process-step h4 {
	margin: 10px 0 8px;
	font-size: 18px;
}

.bt-process-step p {
	color: var(--muted);
	font-size: 14px;
	line-height: 1.6;
}

/* ---------- Newsletter ---------- */

.bt-newsletter {
	padding-top: 0;
	padding-bottom: 72px;
}

.bt-newsletter-box {
	display: grid;
	grid-template-columns: 1.2fr .8fr;
	align-items: center;
	gap: 28px;
	padding: 36px;
	border: 1px solid var(--line);
	background: var(--surface);
}

.bt-newsletter-box h3 {
	font-size: 28px;
	letter-spacing: -.02em;
	line-height: 1;
}

.bt-newsletter-box p {
	margin-top: 10px;
	color: var(--muted);
	line-height: 1.6;
}

.bt-newsletter-form {
	display: flex;
	gap: 8px;
}

.bt-newsletter-form input[type="email"] {
	flex: 1;
	min-height: 48px;
	padding: 0 14px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: 15px;
}

.bt-newsletter-form input[type="email"]::placeholder {
	color: var(--muted);
}

.bt-newsletter-form button {
	min-height: 48px;
	padding: 0 18px;
	border: 1px solid var(--ink);
	border-radius: var(--radius);
	background: var(--ink);
	color: var(--bg);
	font-family: var(--font-sans);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	white-space: nowrap;
	cursor: pointer;
}

.bt-newsletter-status {
	margin-top: 10px;
	font-size: 13px;
	color: var(--success);
}

@media (prefers-color-scheme: dark) {
	.bt-newsletter-status {
		color: var(--success-ink);
	}
}

/* ---------- Footer ---------- */

.bt-footer {
	border-top: 1px solid var(--line);
	padding: 32px 20px;
}

.bt-footer-inner {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px;
	max-width: var(--content);
	margin: 0 auto;
	color: var(--muted);
	font-size: 13px;
}

.bt-footer-inner strong {
	display: block;
	color: var(--ink);
	font-size: 16px;
	letter-spacing: -.02em;
}

.bt-footer-inner p {
	margin-top: 4px;
}

/* ---------- Cart drawer / overlay / toast ---------- */

.bt-overlay {
	position: fixed;
	inset: 0;
	z-index: 40;
	background: var(--overlay);
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s ease;
}

.bt-overlay.is-open {
	opacity: 1;
	pointer-events: auto;
}

.bt-drawer {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 50;
	display: flex;
	flex-direction: column;
	width: min(420px, 92vw);
	height: 100dvh;
	background: var(--bg);
	transform: translateX(102%);
	visibility: hidden;
	pointer-events: none;
	transition: transform .25s ease, visibility .25s ease;
}

.bt-drawer.is-open {
	transform: translateX(0);
	visibility: visible;
	pointer-events: auto;
}

.bt-drawer-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 20px;
	border-bottom: 1px solid var(--line);
}

.bt-drawer-head h2 {
	font-size: 18px;
	letter-spacing: -.02em;
}

.bt-drawer-body {
	flex: 1;
	overflow-y: auto;
	padding: 16px 20px;
}

.bt-drawer-foot {
	padding: 18px 20px;
	border-top: 1px solid var(--line);
}

.bt-drawer-foot .bt-subtotal {
	display: flex;
	justify-content: space-between;
	margin-bottom: 12px;
	font-weight: 700;
}

.bt-drawer-foot .button,
.bt-drawer-foot .btn {
	width: 100%;
}

.bt-drawer-note {
	margin-top: 10px;
	color: var(--muted);
	font-size: 12px;
	line-height: 1.5;
}

/* Mini-cart inside the drawer. */
.bt-drawer .widget_shopping_cart_content .woocommerce-mini-cart {
	margin: 0;
	padding: 0;
	list-style: none;
}

.bt-drawer .widget_shopping_cart_content .woocommerce-mini-cart-item {
	display: flex;
	gap: 12px;
	margin-bottom: 14px;
	padding: 14px;
	border: 1px solid var(--line);
	background: var(--surface);
}

.bt-drawer .widget_shopping_cart_content .woocommerce-mini-cart-item img {
	width: 56px;
	height: auto;
	flex-shrink: 0;
}

.bt-drawer .widget_shopping_cart_content .woocommerce-mini-cart-item a:not(.remove) {
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.bt-drawer .widget_shopping_cart_content .woocommerce-mini-cart-item .quantity {
	display: block;
	margin-top: 4px;
	color: var(--muted);
	font-size: 13px;
}

.bt-drawer .widget_shopping_cart_content .woocommerce-mini-cart__total {
	display: flex;
	justify-content: space-between;
	padding: 14px 0;
	border-top: 1px solid var(--line);
	font-weight: 700;
}

.bt-drawer .widget_shopping_cart_content .woocommerce-mini-cart__buttons {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
}

.bt-drawer .widget_shopping_cart_content .woocommerce-mini-cart__empty-message {
	color: var(--muted);
	font-size: 14px;
}

.bt-toast {
	position: fixed;
	left: 50%;
	bottom: 20px;
	z-index: 60;
	transform: translate(-50%, 20px);
	padding: 12px 18px;
	background: var(--ink);
	color: var(--bg);
	font-size: 13px;
	font-weight: 600;
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s ease, transform .2s ease;
}

.bt-toast.is-show {
	opacity: 1;
	transform: translate(-50%, 0);
}

/* ---------- Generic content (index / page / single) ---------- */

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

.bt-content-narrow {
	max-width: 800px;
	margin: 0 auto;
	padding: 72px 20px;
}

.bt-page-head {
	margin-bottom: 32px;
}

.bt-page-head h1 {
	font-size: clamp(32px, 4vw, 48px);
	line-height: .95;
	letter-spacing: -.03em;
}

.bt-entry-meta {
	margin-top: 12px;
	color: var(--muted);
	font-size: 13px;
}

.bt-entry-content {
	line-height: 1.7;
}

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

.bt-entry-content a {
	text-underline-offset: 3px;
}

.bt-entry-content img {
	border: 1px solid var(--line);
}

.bt-post-list {
	display: grid;
	gap: 16px;
}

.bt-post-card {
	padding: 24px;
	border: 1px solid var(--line);
	background: var(--surface);
}

.bt-post-card h2 {
	font-size: 24px;
	line-height: 1.1;
}

.bt-post-card h2 a {
	text-decoration: none;
}

.bt-post-card .bt-entry-meta {
	margin-top: 8px;
}

.bt-post-card p {
	margin-top: 12px;
	color: var(--muted);
	line-height: 1.6;
}

.bt-pagination {
	display: flex;
	gap: 8px;
	margin-top: 32px;
}

.bt-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	min-height: 40px;
	padding: 0 12px;
	border: 1px solid var(--line);
	color: var(--ink);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}

.bt-pagination .page-numbers.current,
.bt-pagination .page-numbers:hover {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--bg);
}

.bt-widget-area {
	margin-top: 48px;
	padding-top: 32px;
	border-top: 1px solid var(--line);
}

.bt-widget-area .widget {
	margin-bottom: 32px;
}

.bt-widget-area .widget-title {
	margin-bottom: 12px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.bt-widget-area ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.bt-widget-area li {
	padding: 6px 0;
	border-bottom: 1px solid var(--line);
	font-size: 14px;
}

.bt-widget-area li a {
	text-decoration: none;
}

.bt-comments {
	margin-top: 48px;
	padding-top: 32px;
	border-top: 1px solid var(--line);
}

.bt-comments h2 {
	font-size: 22px;
}

.bt-comments ol {
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.bt-comments li {
	padding: 16px 0;
	border-bottom: 1px solid var(--line);
}

.bt-comments .comment-author {
	font-weight: 700;
}

.bt-comments .comment-meta {
	color: var(--muted);
	font-size: 12px;
}

.bt-comments .comment-content {
	margin-top: 8px;
	line-height: 1.6;
}

/* ---------- WooCommerce: single product / shop chrome ---------- */

.woocommerce .woocommerce-breadcrumb {
	margin: 0 0 24px;
	color: var(--muted);
	font-size: 12px;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.woocommerce .woocommerce-breadcrumb a {
	text-decoration: none;
}

.woocommerce div.product div.images img {
	border: 1px solid var(--line);
}

.woocommerce div.product .product_title {
	font-size: clamp(28px, 4vw, 40px);
	line-height: 1;
	letter-spacing: -.03em;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--ink);
	font-size: 20px;
	font-weight: 700;
}

.woocommerce div.product .woocommerce-product-details__short-description {
	color: var(--muted);
	line-height: 1.6;
}

.woocommerce div.product form.cart .button,
.woocommerce .button.alt,
.woocommerce button.button.alt {
	min-height: 48px;
	padding: 0 22px;
	border: 1px solid var(--ink);
	border-radius: var(--radius);
	background: var(--ink);
	color: var(--bg);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.woocommerce div.product form.cart .button:hover,
.woocommerce .button.alt:hover {
	opacity: .85;
}

.woocommerce div.product form.cart div.quantity {
	margin-right: 8px;
}

.woocommerce .quantity .qty {
	min-height: 48px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	color: var(--ink);
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
	padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
	background: var(--ink);
	color: var(--bg);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	color: inherit;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.woocommerce div.product .woocommerce-tabs .panel {
	line-height: 1.7;
}

.woocommerce .related.products > h2,
.woocommerce .upsells.products > h2,
.woocommerce .cross-sells > h2 {
	margin: 48px 0 24px;
	font-size: clamp(24px, 3vw, 32px);
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
	margin-bottom: 24px;
	color: var(--muted);
	font-size: 13px;
}

.woocommerce .woocommerce-ordering select {
	min-height: 40px;
	padding: 0 10px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: 13px;
}

.woocommerce nav.woocommerce-pagination ul {
	border: 0;
}

.woocommerce nav.woocommerce-pagination ul li {
	border: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	min-height: 40px;
	padding: 0 12px;
	border: 1px solid var(--line);
	color: var(--ink);
	font-size: 13px;
	font-weight: 600;
}

.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--bg);
}

/* WooCommerce notices, cart, checkout, account. */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border: 1px solid var(--line);
	border-top: 3px solid var(--ink);
	border-radius: var(--radius);
	background: var(--surface);
	color: var(--ink);
}

.woocommerce-message::before,
.woocommerce-info::before {
	color: var(--ink);
}

.woocommerce-error {
	border-top-color: var(--pop-red);
}

.woocommerce table.shop_table {
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
	border-top: 1px solid var(--line);
}

.woocommerce input.input-text,
.woocommerce select,
.woocommerce textarea {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	color: var(--ink);
	font-family: var(--font-sans);
}

.woocommerce .button,
.woocommerce button.button {
	border: 1px solid var(--ink);
	border-radius: var(--radius);
	background: var(--ink);
	color: var(--bg);
	font-family: var(--font-sans);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.woocommerce .button:hover {
	opacity: .88;
}

.woocommerce form .form-row label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
	padding: 10px 0;
	border-bottom: 1px solid var(--line);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a {
	text-decoration: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
	.bt-nav {
		display: none;
	}

	.bt-hero {
		grid-template-columns: 1fr;
	}

	.bt-hero-copy {
		padding: 28px 0;
	}

	.bt-hero-figure {
		min-height: 420px;
	}

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

	.bt-split {
		grid-template-columns: 1fr;
	}

	.bt-collection-grid,
	.bt-process-grid {
		grid-template-columns: 1fr;
	}

	.bt-newsletter-box {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 700px) {
	.bt-philosophy-row {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 560px) {
	:root {
		--marquee-w: calc(100vw - 32px);
	}

	.bt-container,
	.bt-header-inner,
	.bt-marquee,
	.bt-footer {
		padding-left: 16px;
		padding-right: 16px;
	}

	.section,
	.bt-content,
	.bt-content-narrow {
		padding: 48px 16px;
	}

	h1 {
		font-size: 48px;
	}

	.woocommerce ul.products,
	ul.products {
		grid-template-columns: 1fr;
	}

	.bt-newsletter-form {
		flex-direction: column;
	}

	.bt-newsletter-form button {
		width: 100%;
	}
}

/* ---------- Motion ---------- */

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

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.bt-marquee-track {
		animation: none;
	}

	.bt-drawer,
	.bt-overlay,
	.bt-toast {
		transition: none;
	}
}
