/*
Theme Name: SLACK
Theme URI: https://www.instagram.com/madebyslack/
Author: SLACK
Description: Czarny, plakatowy motyw sklepu SLACK na WooCommerce. Strona główna z plakatem dropu, siatka produktów, rozmiary jako przyciski, ciemny koszyk i kasa. Teksty i linki zmienisz w Wygląd → Dostosuj → SLACK – teksty i linki.
Version: 1.0.1
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: slack
Tags: e-commerce, dark, one-column, custom-logo, custom-menu
WC requires at least: 8.0
*/

/* Layout: black poster hero, black shop floor; silver condensed type with grain, stitch-dashed lines in embroidery-thread bronze. */
:root {
	--thread: #B5A68E;
	--thread-soft: rgba(181, 166, 142, .5);
	--ink: #ECECE7;
	--bg: #050505;
	--tile: #000;
	--paper: #121211;
	--mid: #8E8E88;
	--line: #2B2B29;
	--err: #FF7A6B;
	--ok: #8FD19E;
	--display: "Anton", "Impact", "Haettenschweiler", "Arial Narrow Bold", "Avenir Next Condensed", "Roboto Condensed", sans-serif;
	--body: "Figtree", "Helvetica Neue", Arial, sans-serif;
	--mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
	--gutL: max(16px, env(safe-area-inset-left, 0px));
	--gutR: max(16px, env(safe-area-inset-right, 0px));
	--stitch: 1.5px dashed var(--thread-soft);
	--headerH: 58px;
	color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--body);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	overflow-wrap: break-word;
	font-synthesis: none;
}
img, video, svg { max-width: 100%; height: auto; }
a { color: inherit; }
a:hover { color: var(--thread); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.1; text-wrap: balance; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--thread); outline-offset: 2px; }
::selection { background: var(--thread); color: #000; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}
.screen-reader-text, .sr {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; word-wrap: normal !important;
}
.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #000;
	padding: 10px 16px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.wrap {
	max-width: 1280px; margin: 0 auto;
	padding-left: var(--gutL); padding-right: var(--gutR);
}
.mono { font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.muted { color: var(--mid); }
.hint { color: var(--mid); font-size: .9rem; }
section[id] { scroll-margin-top: calc(var(--headerH) + 8px); }

/* grainy silver headline */
.grit {
	background-image: 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='.75' 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 -2.4 1.25'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E"), linear-gradient(var(--ink), var(--ink));
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.h2, .page-title, .hero-foot h1, .product_title, .about .h2 {
	font-family: var(--display); font-weight: 400; text-transform: uppercase;
	letter-spacing: .005em; line-height: .98;
}
.h2 { font-size: clamp(2.1rem, 5vw, 3.8rem); margin: 0; }
.page-title { font-size: clamp(2.4rem, 6vw, 4.4rem); margin: 0 0 28px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--mid); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--thread); }
section.block { padding-block: clamp(56px, 8vw, 104px); }

/* ---------- buttons ---------- */
.btn, .button, button.button, a.button, input.button, input[type="submit"],
.wp-element-button, .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 12px 24px; border: 2px solid var(--ink); border-radius: 0;
	background: var(--ink); color: #000; font-family: var(--body); font-weight: 700; font-size: 1rem;
	line-height: 1.2; text-decoration: none; text-align: center; cursor: pointer;
	transition: transform .15s, box-shadow .15s, background .15s, color .15s;
	-webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.btn:hover, .button:hover, input[type="submit"]:hover, .wp-element-button:hover {
	color: #000; transform: translate(-3px, -3px); box-shadow: 5px 5px 0 var(--thread);
}
.button.disabled, .button:disabled, .button[disabled], button:disabled {
	opacity: .4; cursor: not-allowed; transform: none; box-shadow: none;
}
.button.alt, .single_add_to_cart_button, #place_order, .checkout-button { width: 100%; }
.button.wc-backward, .button.ghost, button[name="update_cart"], button[name="apply_coupon"],
.woocommerce-Button--previous, .woocommerce-Button--next {
	background: transparent; color: var(--ink);
}
.button.wc-backward:hover, button[name="update_cart"]:hover, button[name="apply_coupon"]:hover { color: var(--ink); }
.button.loading { opacity: .6; pointer-events: none; }
.added_to_cart { display: inline-block; margin-top: 8px; font-size: .88rem; font-weight: 600; }
@media (hover: none) {
	.btn:hover, .button:hover, input[type="submit"]:hover, .wp-element-button:hover { transform: none; box-shadow: none; }
	.btn:active, .button:active { transform: translate(1px, 1px); }
}

/* ---------- forms ---------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"],
input[type="search"], input[type="url"], input[type="date"], textarea, select, .input-text {
	width: 100%; min-width: 0; min-height: 48px; padding: 12px 14px;
	border: 1.5px solid #3a3a37; border-radius: 0; background: var(--paper); color: var(--ink);
	font: inherit; font-size: 1rem; line-height: 1.3;
}
textarea { min-height: 96px; resize: vertical; }
select {
	appearance: none; -webkit-appearance: none; padding-right: 40px;
	background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
	background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
	background-size: 6px 6px; background-repeat: no-repeat;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--ink); box-shadow: 4px 4px 0 var(--thread); }
input::placeholder, textarea::placeholder { color: #6d6d68; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--thread); width: 18px; height: 18px; margin: 0; vertical-align: -3px; }
label { font-size: .88rem; font-weight: 600; }
abbr.required, .required { color: var(--thread); text-decoration: none; border: 0; }
.optional { color: var(--mid); font-weight: 400; }
fieldset { border: 0; padding: 0; margin: 0 0 24px; }
legend { font-weight: 700; margin-bottom: 10px; }

/* ---------- header ---------- */
body::before {
	content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: #000;
}
.top {
	position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
	background: rgba(0, 0, 0, .92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--line);
}
.admin-bar .top { top: 32px; }
@media (max-width: 782px) { .admin-bar .top { top: 46px; } }
@media (max-width: 600px) { .admin-bar .top { top: 0; } }
.top .wrap { display: flex; align-items: center; gap: 24px; min-height: var(--headerH); }
.logo {
	display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink);
	font-family: var(--display); font-size: 1.7rem; line-height: 1; letter-spacing: .01em; text-transform: uppercase;
}
.logo:hover { color: var(--ink); }
.logo-img { width: 36px; height: 36px; border-radius: 50%; display: block; object-fit: cover; }
.logo sup { font-family: var(--body); font-size: .4em; vertical-align: 1.2em; margin-left: -4px; }
.nav { margin-left: auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; }
.nav-list a { display: block; padding: 8px 0; font-weight: 600; font-size: .92rem; text-decoration: none; border-bottom: 2px solid transparent; }
.nav-list a:hover, .nav-list .current-menu-item > a { color: var(--ink); border-color: var(--thread); }
.cartbtn {
	display: inline-flex; align-items: center; gap: 10px; flex: none;
	background: var(--ink); color: #000; border-radius: 999px; padding: 8px 16px;
	font-weight: 700; font-size: .9rem; text-decoration: none;
}
.cartbtn:hover { color: #000; }
.cartbtn .n {
	background: var(--thread); color: #000; border-radius: 999px; min-width: 22px; height: 22px;
	display: grid; place-items: center; font-size: .75rem; font-variant-numeric: tabular-nums; padding: 0 6px;
}
.menu-toggle {
	display: none; margin-left: auto; background: transparent; border: 1.5px dashed var(--thread-soft);
	color: var(--ink); padding: 8px 14px; font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; min-height: 40px;
}
@media (max-width: 720px) {
	.menu-toggle { display: inline-flex; align-items: center; order: 2; margin-left: 0; }
	.cartbtn { order: 1; margin-left: auto !important; }
	.top .wrap { gap: 10px; flex-wrap: wrap; }
	.nav { order: 3; width: 100%; margin: 0; display: none; padding-bottom: 14px; }
	.nav-open .nav { display: block; }
	.nav-list { flex-direction: column; gap: 0; }
	.nav-list a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
}
.cartbtn .bag { display: none; width: 18px; height: 18px; }
@media (max-width: 400px) {
	.cartbtn .lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.cartbtn .bag { display: block; }
	.cartbtn { padding: 7px 10px; gap: 6px; }
}
@media (max-width: 380px) {
	.logo { font-size: 1.35rem; gap: 8px; }
	.logo-img { width: 30px; height: 30px; }
	.cartbtn { padding: 7px 12px; gap: 8px; }
	.menu-toggle { padding: 8px 10px; }
}

/* ---------- ticker ---------- */
.ticker { background: #000; color: var(--ink); overflow: hidden; border-top: var(--stitch); border-bottom: var(--stitch); }
.ticker .track { display: flex; width: max-content; animation: slack-tick 38s linear infinite; }
.ticker span { font-family: var(--mono); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; padding: 11px 0; white-space: nowrap; }
.ticker b { color: var(--thread); padding: 0 18px; font-weight: 600; }
.ticker.light { background: var(--ink); color: #000; border: 0; }
.ticker.light b { color: #000; opacity: .45; }
.ticker.light .track { animation-direction: reverse; animation-duration: 44s; }
@keyframes slack-tick { to { transform: translateX(-50%); } }

/* ---------- hero ---------- */
.hero { background: #000; }
.hero .wrap { padding-block: 18px 40px; }
.hero-meta { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--mid); }
.poster { position: relative; max-width: 1180px; margin: 0 auto; }
.poster img { display: block; width: 100%; height: auto; }
.poster::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 50%, transparent 60%, #000 100%); pointer-events: none; }
.hero-foot { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; margin-top: 6px; }
.hero-foot h1 { font-size: clamp(2.4rem, 6vw, 4.8rem); margin: 0; }
.hero-foot p { max-width: 46ch; margin-top: 10px; color: var(--mid); font-weight: 500; }
@media (max-width: 900px) {
	.poster { margin-inline: calc(-1 * var(--gutL)) calc(-1 * var(--gutR)); }
	.hero-foot { grid-template-columns: 1fr; }
	.hero-foot .btn { width: 100%; }
}
@media (max-height: 500px) and (orientation: landscape) { .poster { max-width: min(1180px, 150svh); } }

/* ---------- shop head + filters ---------- */
.cat-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters a { border: 2px solid var(--ink); padding: 8px 16px; font-weight: 700; font-size: .88rem; border-radius: 999px; text-decoration: none; }
.filters a[aria-current="page"] { background: var(--ink); color: #000; }
.filters a span { font-family: var(--mono); font-size: .72rem; margin-left: 6px; opacity: .7; }

/* ---------- product grid (WooCommerce loop) ---------- */
ul.products {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px);
}
ul.products.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
ul.products::before, ul.products::after { content: none; }
ul.products li.product { margin: 0; width: auto; float: none; display: flex; flex-direction: column; gap: 10px; min-width: 0; position: relative; }
ul.products li.product > a:first-child {
	display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); position: relative;
}
ul.products li.product img {
	display: block; width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; background: var(--tile);
	transition: opacity .35s, transform .5s; margin: 0;
}
ul.products li.product img.slack-hover { position: absolute; left: 0; top: 0; opacity: 0; }
ul.products li.product:hover img.slack-hover, ul.products li.product a:focus-visible img.slack-hover { opacity: 1; }
ul.products li.product .woocommerce-loop-product__title, ul.products li.product h2, ul.products li.product h3 {
	font-family: var(--body); font-weight: 700; font-size: 1rem; line-height: 1.3; margin: 4px 0 0; padding: 0; text-transform: none;
}
ul.products li.product .price { font-family: var(--mono); font-weight: 600; font-size: .95rem; color: var(--ink); display: block; }
ul.products li.product .price del { color: var(--mid); margin-right: 6px; font-weight: 400; }
ul.products li.product .price ins { text-decoration: none; }
ul.products li.product .star-rating { margin: 0; }
ul.products li.product .button {
	margin-top: auto; background: transparent; color: var(--ink); border: 1.5px dashed var(--thread-soft);
	min-height: 42px; padding: 8px 14px; font-size: .88rem; width: 100%;
}
ul.products li.product .button:hover { border-style: solid; border-color: var(--ink); color: var(--ink); box-shadow: none; transform: none; }
ul.products li.product .button.added { border-style: solid; border-color: var(--thread); }
.onsale {
	position: absolute; left: 10px; top: 10px; z-index: 3; background: var(--thread); color: #000;
	font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; min-height: 0; min-width: 0; line-height: 1.4; border-radius: 0; margin: 0;
}
li.slack-soon {
	border: 2px dashed rgba(181, 166, 142, .6); padding: 20px; aspect-ratio: 4 / 5; justify-content: space-between;
}
li.slack-soon .mono { color: var(--mid); }
li.slack-soon .big { font-family: var(--display); font-size: clamp(3rem, 8vw, 6rem); line-height: .85; color: var(--thread); }
li.slack-soon p { font-weight: 600; max-width: 24ch; margin: 0; }
@media (max-width: 999px) { ul.products.columns-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 699px) {
	ul.products, ul.products.columns-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	ul.products li.product .woocommerce-loop-product__title { font-size: .95rem; }
	li.slack-soon { padding: 14px; }
	li.slack-soon p { font-size: .88rem; }
}
@media (hover: none) { ul.products li.product img.slack-hover { display: none; } }

/* shop toolbar */
.woocommerce-result-count { color: var(--mid); font-size: .88rem; margin: 0 0 16px; }
.woocommerce-ordering { margin: 0 0 24px; }
.woocommerce-ordering select { width: auto; min-width: 220px; }
@media (min-width: 700px) {
	.woocommerce-result-count { float: left; padding-top: 14px; }
	.woocommerce-ordering { float: right; }
	.woocommerce-ordering + ul.products, .woocommerce-result-count + .woocommerce-ordering + ul.products { clear: both; }
}
ul.products { clear: both; }
.woocommerce-pagination { margin-top: 40px; }
.woocommerce-pagination ul.page-numbers, .nav-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.page-numbers { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; border: 1.5px solid var(--line); text-decoration: none; font-family: var(--mono); }
.page-numbers.current { background: var(--ink); color: #000; border-color: var(--ink); }

/* ---------- shop pages wrapper ---------- */
.shop-wrap, .page-wrap { padding-block: 10px 90px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--mid); padding-block: 22px 18px; }
.crumbs a { color: var(--mid); text-decoration: underline; padding-block: 6px; }
.crumbs .sep { opacity: .6; }
.shop-wrap > .page-title { margin-top: 6px; }
.term-description, .page-description { color: var(--mid); max-width: 62ch; margin-bottom: 24px; }

/* ---------- single product ---------- */
.single-product div.product {
	display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px);
	align-items: start; position: relative;
}
.single-product div.product > .onsale { left: 10px; top: 10px; }
.woocommerce-product-gallery { position: relative; margin: 0; min-width: 0; }
.woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce-product-gallery__image { background: var(--tile); }
.woocommerce-product-gallery__image img { display: block; width: 100%; height: auto; }
.woocommerce-product-gallery figure { margin: 0; }
.woocommerce-product-gallery .flex-viewport { background: var(--tile); }
.woocommerce-product-gallery__trigger {
	position: absolute; top: 12px; right: 12px; z-index: 5; width: 40px; height: 40px; border-radius: 50%;
	background: rgba(0, 0, 0, .65); border: 1.5px dashed var(--thread-soft); display: grid; place-items: center;
	font-size: 0; text-indent: -9999px; overflow: hidden;
}
.woocommerce-product-gallery__trigger::before { content: "⤢"; font-size: 18px; text-indent: 0; color: var(--ink); }
.woocommerce-product-gallery__trigger img { display: none !important; }
.flex-control-thumbs { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.flex-control-thumbs li { margin: 0; cursor: pointer; }
.flex-control-thumbs img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; opacity: .55; border: 2px solid transparent; transition: opacity .2s; }
.flex-control-thumbs img.flex-active, .flex-control-thumbs img:hover { opacity: 1; border-color: var(--thread); }
.woocommerce-product-gallery--columns-4 .woocommerce-product-gallery__wrapper:not(.flex-viewport *) { display: grid; gap: 10px; }

.summary { display: grid; gap: 18px; min-width: 0; position: sticky; top: calc(var(--headerH) + 20px); }
.admin-bar .summary { top: calc(var(--headerH) + 52px); }
.summary > * { margin: 0; }
.product_title { font-size: clamp(2rem, 3.6vw, 3rem); margin: 0; }
.summary .price { font-family: var(--display); font-size: 1.9rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.summary .price del { color: var(--mid); font-size: .7em; margin-right: 8px; }
.summary .price ins { text-decoration: none; }
.woocommerce-product-details__short-description { color: var(--mid); }
.summary .stock { font-weight: 600; font-size: .9rem; }
.stock.in-stock { color: var(--ok); }
.stock.out-of-stock { color: var(--err); }
.stock.available-on-backorder { color: var(--thread); }

form.cart { display: grid; gap: 14px; }
table.variations { border: 0; margin: 0; width: 100%; border-collapse: collapse; }
table.variations tr { display: grid; gap: 10px; margin-bottom: 6px; }
table.variations th, table.variations td { display: block; padding: 0; text-align: left; border: 0; }
table.variations th label { font-size: 1rem; font-weight: 700; }
table.variations td.value { display: grid; gap: 10px; }
.reset_variations { font-size: .85rem; color: var(--mid); justify-self: start; padding-block: 4px; }
.slack-hidden-select { position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0 !important; opacity: 0; pointer-events: none; padding: 0 !important; border: 0 !important; }
.swatches { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
@media (max-width: 420px) { .swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.single_variation:empty, .reset_variations[style*="hidden"] { display: none; }
.swatches button {
	min-height: 48px; border: 2px solid var(--ink); background: transparent; color: var(--ink);
	font-family: var(--mono); font-weight: 600; font-size: .9rem; padding: 0 8px;
}
.swatches button:hover { background: var(--paper); }
.swatches button[aria-pressed="true"] { background: var(--ink); color: #000; }
.swatches button:disabled { opacity: .3; text-decoration: line-through; cursor: not-allowed; }
.swatches.shake { animation: slack-shake .4s; }
@keyframes slack-shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.single_variation_wrap { display: grid; gap: 12px; }
.woocommerce-variation-price .price { font-size: 1.4rem; }
.woocommerce-variation-availability p, .woocommerce-variation-description p { margin: 0; }
.woocommerce-variation-add-to-cart, form.cart:not(.variations_form) { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; }
.woocommerce-variation-add-to-cart .single_add_to_cart_button, form.cart:not(.variations_form) .single_add_to_cart_button { flex: 1 1 200px; width: auto; }

.quantity { display: inline-flex; align-items: stretch; border: 1.5px solid var(--ink); min-height: 48px; }
.quantity .qty {
	width: 56px; min-height: 0; border: 0; text-align: center; background: transparent; padding: 0 4px;
	font-family: var(--mono); font-variant-numeric: tabular-nums; -moz-appearance: textfield; box-shadow: none;
}
.quantity .qty::-webkit-outer-spin-button, .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.quantity .qty:focus { box-shadow: none; outline: 2px solid var(--thread); outline-offset: -2px; }
.qbtn { width: 44px; background: none; border: 0; font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.qbtn:hover { background: var(--paper); }
.quantity:has(input[type="hidden"]) { display: none; }

ul.perks { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1.5px solid var(--ink); display: grid; gap: 8px; font-size: .9rem; }
ul.perks li { display: flex; gap: 10px; }
ul.perks li::before { content: "→"; color: var(--thread); font-weight: 700; }
.product_meta { display: grid; gap: 4px; font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--mid); }
.product_meta a { color: var(--mid); }

.woocommerce-tabs { grid-column: 1 / -1; margin-top: 24px; }
.woocommerce-tabs ul.tabs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 22px; border-bottom: 1px solid var(--line); }
.woocommerce-tabs ul.tabs::before, .woocommerce-tabs ul.tabs li::before, .woocommerce-tabs ul.tabs li::after { content: none; }
.woocommerce-tabs ul.tabs li { margin: 0; padding: 0; border: 0; background: none; }
.woocommerce-tabs ul.tabs li a { display: block; padding: 12px 0; font-weight: 700; text-decoration: none; color: var(--mid); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.woocommerce-tabs ul.tabs li.active a { color: var(--ink); border-color: var(--thread); }
.woocommerce-Tabs-panel { padding-top: 22px; max-width: 72ch; }
.woocommerce-Tabs-panel > h2:first-child { font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mid); font-weight: 600; }
table.woocommerce-product-attributes, .shop_attributes { width: 100%; border-collapse: collapse; }
.woocommerce-product-attributes th, .woocommerce-product-attributes td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.woocommerce-product-attributes th { font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--mid); font-weight: 600; width: 34%; }
.woocommerce-product-attributes td p { margin: 0; }

section.related, section.upsells { grid-column: 1 / -1; margin-top: 40px; padding-top: 40px; border-top: var(--stitch); }
section.related > h2, section.upsells > h2, .cross-sells > h2 {
	font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 24px;
}

@media (max-width: 880px) {
	.single-product div.product { grid-template-columns: 1fr; }
	.summary { position: static; }
}
@media (min-width: 700px) and (max-width: 880px) {
	.single-product div.product { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
	.summary { position: sticky; }
}

/* reviews */
#reviews .commentlist { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 16px; }
#reviews .comment_container { display: grid; grid-template-columns: 48px 1fr; gap: 12px; }
#reviews .avatar { width: 48px; height: 48px; border-radius: 50%; }
#reviews .meta { color: var(--mid); font-size: .85rem; }
.comment-form { display: grid; gap: 12px; }
.comment-form p { margin: 0; display: grid; gap: 6px; }
.star-rating { position: relative; display: inline-block; width: 5.4em; height: 1.1em; line-height: 1.1; font-size: .95em; overflow: hidden; letter-spacing: .08em; }
.star-rating::before { content: "★★★★★"; color: var(--line); position: absolute; top: 0; left: 0; }
.star-rating span { position: absolute; top: 0; left: 0; overflow: hidden; padding-top: 1.5em; height: 1.1em; }
.star-rating span::before { content: "★★★★★"; color: var(--thread); position: absolute; top: 0; left: 0; }
p.stars { margin: 0; }
p.stars span { display: inline-flex; gap: 4px; }
p.stars a { display: inline-grid; place-items: center; min-width: 40px; min-height: 40px; border: 1.5px solid var(--line); text-decoration: none; font-size: 0; position: relative; }
p.stars a::before { content: "★"; font-size: 18px; color: var(--mid); }
p.stars a:hover::before, p.stars.selected a.active::before, p.stars a.active::before { color: var(--thread); }

/* ---------- notices ---------- */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice,
.wc-block-components-notice-banner {
	list-style: none; margin: 0 0 20px; padding: 14px 16px; border: 1.5px dashed var(--thread-soft);
	background: var(--paper); color: var(--ink); display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between;
}
.woocommerce-message { border-style: solid; border-color: var(--thread); }
.woocommerce-error, .wc-block-components-notice-banner.is-error { border-style: solid; border-color: var(--err); display: block; }
.woocommerce-error li { margin: 0; padding: 2px 0; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; min-height: 40px; padding: 8px 16px; font-size: .9rem; background: transparent; color: var(--ink); }
.woocommerce-message a:not(.button), .woocommerce-info a:not(.button) { color: var(--thread); }
.wc-block-components-notice-banner > svg { fill: currentColor; width: 20px; height: 20px; flex: none; }
.wc-block-components-notice-banner__content { flex: 1; }
.cart-empty.woocommerce-info { font-size: 1.1rem; padding: 28px 20px; justify-content: center; text-align: center; }
.return-to-shop { text-align: center; }
.woocommerce-store-notice, p.demo_store {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 99; margin: 0; padding: 12px var(--gutR) calc(12px + env(safe-area-inset-bottom, 0px)) var(--gutL);
	background: var(--ink); color: #000; text-align: center; font-weight: 600;
}
.woocommerce-store-notice__dismiss-link { margin-left: 12px; color: #000; }

/* ---------- tables (cart, checkout review, orders) ---------- */
table.shop_table { width: 100%; border-collapse: collapse; border: 0; margin: 0 0 24px; }
table.shop_table th, table.shop_table td { padding: 14px 10px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.shop_table thead th { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mid); font-weight: 600; }
table.shop_table td.product-subtotal, table.shop_table td.product-total, table.shop_table td.product-price,
table.shop_table tfoot td, .cart_totals td { font-family: var(--mono); font-variant-numeric: tabular-nums; }
table.shop_table .order-total th, table.shop_table .order-total td { font-size: 1.15rem; font-weight: 800; border-bottom: 0; border-top: 1.5px solid var(--ink); }
table.shop_table .order-total .includes_tax { display: block; font-size: .75rem; font-weight: 400; color: var(--mid); font-family: var(--body); }
.product-thumbnail { width: 96px; }
.product-thumbnail img { width: 80px; max-width: none; height: 100px; object-fit: cover; display: block; background: var(--tile); }
.product-remove { width: 52px; }
.product-name a { font-weight: 700; text-decoration: none; color: var(--ink); }
.product-name dl.variation, .wc-item-meta { margin: 4px 0 0; font-size: .82rem; color: var(--mid); display: flex; flex-wrap: wrap; gap: 0 6px; list-style: none; padding: 0; }
dl.variation dt, dl.variation dd, .wc-item-meta li, .wc-item-meta p { margin: 0; display: inline; }
a.remove {
	display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
	border: 1.5px solid var(--line); text-decoration: none; font-size: 1.3rem; line-height: 1; color: var(--mid);
}
a.remove:hover { color: var(--err); border-color: var(--err); }
td.actions { padding-top: 18px !important; border-bottom: 0 !important; }
td.actions::after { content: ""; display: table; clear: both; }
td.actions .coupon { display: inline-flex; gap: 8px; width: min(460px, 100%); vertical-align: middle; }
td.actions > .button { float: right; }
td.actions .coupon .input-text { flex: 1; }
td.actions .coupon label { display: none; }
@media (max-width: 520px) { td.actions .coupon { flex-wrap: wrap; } td.actions .coupon .input-text, td.actions .coupon .button { flex: 1 1 100%; width: 100%; } }

/* cart layout */
.woocommerce-cart .woocommerce { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px clamp(24px, 4vw, 48px); align-items: start; }
.woocommerce-cart .woocommerce > .woocommerce-notices-wrapper,
.woocommerce-cart .woocommerce > .cart-empty, .woocommerce-cart .woocommerce > .return-to-shop,
.woocommerce-cart .woocommerce > .wc-empty-cart-message { grid-column: 1 / -1; }
.woocommerce-cart .woocommerce:has(.cart-empty) { display: block; }
.cart-collaterals { display: grid; gap: 24px; min-width: 0; }
.cart-collaterals .cross-sells { order: 2; }
.cart_totals, #order_review, .woocommerce-order-details, .woocommerce-customer-details address, .woocommerce-MyAccount-content .woocommerce-Address {
	background: var(--paper); border: 1.5px dashed rgba(181, 166, 142, .55); padding: 22px;
}
.cart_totals { position: sticky; top: calc(var(--headerH) + 20px); }
.cart_totals h2, #order_review_heading, .woocommerce-billing-fields h3, .woocommerce-shipping-fields h3, .woocommerce-additional-fields h3,
.woocommerce-order-details__title, .woocommerce-column__title, .woocommerce-MyAccount-content h2, .woocommerce-MyAccount-content h3, .cart_totals > h2 {
	font-family: var(--body); font-weight: 800; font-size: 1.3rem; margin: 0 0 14px; text-transform: none;
}
.cart_totals table.shop_table th { width: 40%; font-weight: 600; }
.cart_totals table.shop_table th, .cart_totals table.shop_table td { padding: 10px 0; }
.wc-proceed-to-checkout { margin-top: 8px; }
.wc-proceed-to-checkout .checkout-button { min-height: 54px; font-size: 1.05rem; }
ul#shipping_method, .woocommerce-shipping-methods { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
ul#shipping_method li { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-family: var(--body); }
ul#shipping_method li label { font-weight: 500; font-size: .92rem; }
.woocommerce-shipping-destination { font-size: .82rem; color: var(--mid); margin: 8px 0 0; font-family: var(--body); }
.shipping-calculator-button { font-size: .85rem; color: var(--thread); font-family: var(--body); }
.shipping-calculator-form { display: grid; gap: 10px; margin-top: 10px; }
.shipping-calculator-form p { margin: 0; }

@media (max-width: 880px) {
	.woocommerce-cart .woocommerce { grid-template-columns: 1fr; }
	.cart_totals { position: static; }
}

/* responsive tables: rows become cards */
@media (max-width: 760px) {
	table.shop_table_responsive thead { display: none; }
	table.shop_table_responsive tbody tr { display: grid; }
	table.shop_table_responsive tr td { display: flex; justify-content: space-between; gap: 12px; text-align: right; padding: 8px 0; border-bottom: 0; }
	table.shop_table_responsive tr td::before { content: attr(data-title); font-weight: 600; text-align: left; font-family: var(--body); color: var(--mid); font-size: .88rem; }
	table.shop_table_responsive tr td.actions::before, table.shop_table_responsive tr td.product-remove::before,
	table.shop_table_responsive tr td.product-thumbnail::before { content: none; }
	table.cart tr.cart_item {
		position: relative; grid-template-columns: 84px 1fr; column-gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line);
	}
	table.cart tr.cart_item td { grid-column: 2; }
	table.cart tr.cart_item td.product-thumbnail { grid-column: 1; grid-row: 1 / span 4; display: block; padding: 0; }
	table.cart tr.cart_item td.product-thumbnail img { width: 84px; height: 105px; }
	table.cart tr.cart_item td.product-remove { position: absolute; right: 0; top: 12px; padding: 0; display: block; }
	table.cart tr.cart_item td.product-name { display: block; text-align: left; padding-right: 44px; }
	table.cart tr.cart_item td.product-name::before { content: none; }
	table.cart td.actions { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
	table.cart td.actions > .button { float: none; }
	table.cart td.actions .coupon { max-width: none; flex: 1 1 auto; }
	table.cart td.actions .button { width: 100%; }
	.cart_totals table.shop_table_responsive tr { display: flex; justify-content: space-between; }
	.cart_totals table.shop_table_responsive tr th { display: block; padding: 10px 0; width: auto; }
	.cart_totals table.shop_table_responsive tr td { padding: 10px 0; }
	.cart_totals table.shop_table_responsive tr td::before { content: none; }
	.cart_totals tr.shipping { flex-direction: column; }
	.cart_totals tr.shipping td { text-align: left; display: block; }
}

/* ---------- checkout ---------- */
form.checkout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); column-gap: clamp(24px, 4vw, 56px); align-items: start; }
form.checkout > .woocommerce-NoticeGroup, form.checkout > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
#customer_details { grid-column: 1; grid-row: 2 / span 2; min-width: 0; }
form.checkout > .woocommerce-NoticeGroup ~ #customer_details { grid-row: 2 / span 2; }
#order_review_heading { grid-column: 2; grid-row: 2; margin: 0; padding: 22px 22px 0; background: var(--paper); border: 1.5px dashed rgba(181, 166, 142, .55); border-bottom: 0; }
#order_review { grid-column: 2; grid-row: 3; border-top: 0; padding-top: 10px; min-width: 0; }
.col2-set { display: grid; gap: 28px; }
.col2-set::before, .col2-set::after { content: none; }
.col2-set .col-1, .col2-set .col-2 { width: auto; float: none; min-width: 0; }
.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-additional-fields__field-wrapper,
.woocommerce-address-fields__field-wrapper, .woocommerce-EditAccountForm, form.woocommerce-form-login, form.woocommerce-form-register, form.woocommerce-ResetPassword {
	display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px;
}
.form-row { margin: 0; display: grid; gap: 6px; grid-column: 1 / -1; min-width: 0; }
.form-row-first { grid-column: 1; }
.form-row-last { grid-column: 2; }
.form-row-wide { grid-column: 1 / -1; }
.form-row .woocommerce-input-wrapper { display: block; }
.form-row.woocommerce-invalid input.input-text, .form-row.woocommerce-invalid select { border-color: var(--err); }
.form-row.woocommerce-validated input.input-text { border-color: #3d5c44; }
.woocommerce-input-wrapper .description, .form-row .description { display: block; font-size: .8rem; color: var(--mid); margin-top: 4px; }
.checkout-inline-error-message { color: var(--err); font-size: .8rem; font-weight: 600; margin: 4px 0 0; }
#ship-to-different-address label, .woocommerce-form__label-for-checkbox { display: inline-flex; gap: 10px; align-items: flex-start; font-size: .95rem; font-weight: 600; cursor: pointer; }
#ship-to-different-address { font-size: 1rem; }
.shipping_address { margin-top: 14px; }
.woocommerce-checkout-review-order-table { margin-bottom: 18px; }
.woocommerce-checkout-review-order-table th, .woocommerce-checkout-review-order-table td { padding: 10px 0; }
.woocommerce-checkout-review-order-table td.product-name { font-size: .92rem; }
.woocommerce-checkout-review-order-table .product-quantity { font-family: var(--mono); color: var(--mid); font-weight: 600; }
.woocommerce-checkout-review-order-table td:last-child, .woocommerce-checkout-review-order-table th:last-child { text-align: right; }
.woocommerce-checkout-review-order-table tr.shipping td { text-align: left; }
.woocommerce-checkout-review-order-table td.product-total { white-space: nowrap; padding-left: 12px; }
@media (max-width: 520px) {
	.woocommerce-checkout-review-order-table tr.shipping { display: grid; }
	.woocommerce-checkout-review-order-table tr.shipping th { border-bottom: 0; padding-bottom: 4px; }
}
.place-order .woocommerce-form__label-for-checkbox { justify-self: start; display: inline; }
.place-order .woocommerce-form__label-for-checkbox input { margin-right: 8px; }
#payment { display: grid; gap: 16px; }
ul.payment_methods { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
ul.payment_methods > li { border: 1.5px solid var(--line); background: #0b0b0a; padding: 14px; margin: 0; }
ul.payment_methods > li:has(input:checked) { border-color: var(--ink); box-shadow: 4px 4px 0 var(--thread); }
ul.payment_methods > li > label { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .98rem; font-weight: 700; margin-left: 8px; cursor: pointer; }
ul.payment_methods > li > label img { max-height: 24px; width: auto; display: inline-block; background: #fff; padding: 2px 4px; }
.payment_box { margin-top: 10px; font-size: .88rem; color: var(--mid); }
.payment_box p { margin: 0 0 8px; }
.payment_box fieldset { margin: 8px 0 0; }
.place-order { display: grid; gap: 14px; }
.woocommerce-privacy-policy-text { font-size: .8rem; color: var(--mid); }
.woocommerce-privacy-policy-text a, .woocommerce-terms-and-conditions-link { color: var(--ink); }
.woocommerce-terms-and-conditions-wrapper { display: grid; gap: 10px; }
.woocommerce-terms-and-conditions { max-height: 240px; overflow: auto; border: 1px solid var(--line); padding: 12px; font-size: .85rem; }
#place_order { min-height: 56px; font-size: 1.05rem; }
.woocommerce-form-coupon-toggle .woocommerce-info { justify-content: flex-start; }
form.checkout_coupon { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 20px; padding: 16px; border: 1.5px dashed var(--thread-soft); }
form.checkout_coupon > p:first-child { flex: 1 1 100%; margin: 0; color: var(--mid); }
form.checkout_coupon .form-row-first { flex: 1 1 200px; }
form.checkout_coupon .form-row-last { flex: 0 0 auto; }
form.checkout_coupon .clear { display: none; }
.blockUI.blockOverlay { background: rgba(0, 0, 0, .55) !important; }
@media (max-width: 880px) {
	form.checkout { grid-template-columns: 1fr; }
	#customer_details { grid-row: auto; }
	#order_review_heading { grid-column: 1; grid-row: auto; margin-top: 28px; }
	#order_review { grid-column: 1; grid-row: auto; }
}
@media (max-width: 520px) {
	.form-row-first, .form-row-last { grid-column: 1 / -1; }
	#order_review_heading, #order_review, .cart_totals { padding-left: 16px; padding-right: 16px; }
}

/* select2 (country / state dropdowns) */
.select2-container .select2-selection--single { height: 48px; border: 1.5px solid #3a3a37; border-radius: 0; background: var(--paper); }
.select2-container .select2-selection--single .select2-selection__rendered { line-height: 45px; color: var(--ink); padding-left: 14px; }
.select2-container .select2-selection--single .select2-selection__arrow { height: 46px; }
.select2-dropdown { background: var(--paper); border-color: #3a3a37; color: var(--ink); border-radius: 0; }
.select2-search--dropdown .select2-search__field { background: #000; color: var(--ink); border: 1px solid #3a3a37; }
.select2-results__option--highlighted[aria-selected], .select2-results__option[aria-selected="true"] { background: var(--ink) !important; color: #000 !important; }

/* ---------- order received / account ---------- */
.woocommerce-order { display: grid; gap: 24px; }
.woocommerce-thankyou-order-received {
	font-family: var(--display); text-transform: uppercase; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1; border: 0; padding: 0; background: none; display: block;
}
ul.woocommerce-order-overview, ul.order_details { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
ul.woocommerce-order-overview li, ul.order_details li {
	border: 1.5px dashed rgba(181, 166, 142, .55); padding: 14px; font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--mid); margin: 0;
}
ul.woocommerce-order-overview li strong, ul.order_details li strong { display: block; margin-top: 6px; font-family: var(--body); font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--ink); overflow-wrap: anywhere; }
.woocommerce-customer-details .col2-set, .woocommerce-columns--addresses { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.woocommerce-customer-details address { font-style: normal; line-height: 1.6; }
.woocommerce-customer-details--phone, .woocommerce-customer-details--email { margin: 6px 0 0; }

.woocommerce-account .woocommerce { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; align-items: start; }
.woocommerce-account:not(.logged-in) .woocommerce { display: block; max-width: 520px; }
.woocommerce-account .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.woocommerce-MyAccount-navigation a { display: block; padding: 12px 14px; border: 1.5px solid var(--line); text-decoration: none; font-weight: 600; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--ink); color: #000; border-color: var(--ink); }
.woocommerce-MyAccount-content { min-width: 0; }
.woocommerce-MyAccount-content table { font-size: .92rem; }
.woocommerce-Addresses { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.woocommerce-form-login .form-row, .woocommerce-form-register .form-row { grid-column: 1 / -1; }
.woocommerce-form-login__rememberme { display: inline-flex; gap: 8px; align-items: center; }
.lost_password { font-size: .9rem; }
@media (max-width: 760px) { .woocommerce-account .woocommerce { grid-template-columns: 1fr; } }

/* ---------- pages, posts ---------- */
.page-article .entry, .post-card { max-width: 72ch; }
.woocommerce-cart .page-article .entry, .woocommerce-checkout .page-article .entry, .woocommerce-account .page-article .entry { max-width: none; }
.entry :where(h2) { font-size: 1.5rem; margin-top: 1.6em; }
.entry :where(h3) { font-size: 1.2rem; margin-top: 1.4em; }
.entry :where(ul, ol) { padding-left: 1.3em; }
.entry :where(li) { margin-bottom: .35em; }
.entry :where(a:not(.button):not(.remove)) { color: var(--thread); }
.entry :where(table:not(.shop_table):not(.variations)) { width: 100%; border-collapse: collapse; }
.entry :where(table:not(.shop_table):not(.variations)) :where(td, th) { border: 1px solid var(--line); padding: 8px 10px; }
.entry blockquote { margin: 1.2em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--thread); color: var(--mid); }
.post-list { display: grid; gap: 28px; }
.post-card h2 { font-size: 1.5rem; margin: 0 0 4px; }
.post-card h2 a { text-decoration: none; }
.notfound { min-height: 50vh; }
.alignwide { max-width: 1280px; }
.alignfull { width: 100%; }
.wp-block-image img { height: auto; }

/* ---------- about, FAQ, socials ---------- */
.about { background: #000; border-top: var(--stitch); border-bottom: var(--stitch); }
.about .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.about-text { display: grid; gap: 22px; }
.about .h2 { font-size: clamp(2.4rem, 7vw, 6rem); }
.about p { font-size: 1.1rem; font-weight: 500; max-width: 46ch; }
.about p.muted { color: var(--mid); }
.emblem { position: relative; width: min(380px, 100%); aspect-ratio: 1; justify-self: center; }
.emblem img { position: absolute; inset: 13%; width: 74%; height: 74%; border-radius: 50%; }
.emblem svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: slack-spin 26s linear infinite; }
.emblem text { font-family: var(--mono); font-size: 7.4px; letter-spacing: 2.6px; fill: var(--thread); font-weight: 600; }
@keyframes slack-spin { to { transform: rotate(360deg); } }
@media (max-width: 699px) { .about .wrap { grid-template-columns: 1fr; } }
.social { display: flex; flex-wrap: wrap; gap: 10px; }
.social a {
	display: grid; gap: 2px; padding: 12px 18px; border: 1.5px dashed rgba(181, 166, 142, .6); text-decoration: none;
	font-weight: 700; min-width: 180px; transition: border-color .2s, background .2s;
}
.social a .mono { color: var(--thread); font-size: .68rem; }
.social a:hover { border-style: solid; border-color: var(--ink); background: var(--paper); color: var(--ink); }
@media (max-width: 420px) { .social a { flex: 1 1 100%; } }
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(24px, 5vw, 72px); }
@media (max-width: 820px) { .faq { grid-template-columns: 1fr; } }
details { border-top: 1.5px solid var(--line); }
details:last-of-type { border-bottom: 1.5px solid var(--line); }
summary { list-style: none; padding: 16px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--mono); font-size: 1.2rem; transition: transform .2s; flex: none; }
details[open] summary::after { transform: rotate(45deg); }
details .in { padding: 0 0 18px; max-width: 62ch; color: var(--mid); }

/* ---------- footer ---------- */
.site-footer { background: #000; border-top: var(--stitch); padding-block: 56px calc(40px + env(safe-area-inset-bottom, 0px)); }
.fgrid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 32px; }
.site-footer .logo { font-size: 3.2rem; }
.site-footer .logo-img { width: 64px; height: 64px; }
.tagline { color: #A9A9A4; margin-top: 10px; max-width: 34ch; }
.company { color: var(--mid); font-size: .85rem; margin-top: 12px; }
.fh { margin: 0 0 12px; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #A9A9A4; font-weight: 600; }
.flinks { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.flinks a { display: inline-block; padding-block: 4px; text-decoration: none; }
.mailrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.mailrow .em { overflow-wrap: anywhere; user-select: all; }
.cpy {
	background: transparent; color: var(--ink); border: 1.5px dashed rgba(181, 166, 142, .6); font-family: var(--mono);
	font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; min-height: 34px;
}
.cpy:hover { border-color: var(--ink); }
.cpy.done { border-style: solid; border-color: var(--thread); color: var(--thread); }
.copyline { margin-top: 48px; padding-top: 18px; border-top: 1px solid #333; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: #A9A9A4; }
@media (max-width: 900px) {
	.fgrid { grid-template-columns: 1fr 1fr; }
	.fbrand, .fcontact { grid-column: 1 / -1; }
}
@media (max-width: 380px) { .site-footer .logo { font-size: 2.6rem; } .site-footer .logo-img { width: 52px; height: 52px; } }
@media (pointer: coarse) {
	.flinks a { padding-block: 8px; }
	.crumbs a { padding-block: 10px; }
}

/* ---------- toast ---------- */
.toast {
	position: fixed; left: var(--gutL); right: var(--gutR); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
	margin-inline: auto; width: fit-content; max-width: 520px; z-index: 90;
	background: var(--ink); color: #000; padding: 12px 18px; font-weight: 600; line-height: 1.35;
	transform: translateY(calc(100% + 40px)); visibility: hidden; transition: transform .3s, visibility 0s .3s;
}
.toast.on { transform: none; visibility: visible; transition: transform .3s, visibility 0s; }

/* ---------- WooCommerce blocks (if the Cart/Checkout blocks are kept) ---------- */
.wc-block-components-text-input input, .wc-block-components-combobox .wc-block-components-combobox-control input,
.wc-block-components-textarea, .wc-blocks-components-select__select {
	background: var(--paper) !important; color: var(--ink) !important; border-color: #3a3a37 !important; border-radius: 0 !important;
}
.wc-block-components-text-input label, .wc-block-components-combobox label, .wc-blocks-components-select__label { color: var(--mid) !important; }
.wc-block-components-button:not(.is-link) { background: var(--ink) !important; color: #000 !important; border-radius: 0 !important; min-height: 52px; font-weight: 700; }
.wc-block-components-radio-control__option, .wc-block-components-radio-control-accordion-option { border-color: var(--line) !important; }
.wc-block-components-sidebar-layout .wc-block-components-main, .wc-block-components-totals-wrapper { color: var(--ink); }
.wc-block-components-panel, .wc-block-components-totals-wrapper { border-color: var(--line) !important; }
.wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__content,
.wc-block-cart__sidebar { background: var(--paper); }
.wc-block-components-product-name { color: var(--ink) !important; font-weight: 700; }
