/* Organize Home. Tokens first, then base, layout, components, shop. */

@font-face {
	font-family: "Bricolage Grotesque";
	src: url("../fonts/bricolage-latin.woff2") format("woff2");
	font-weight: 400 800;
	font-stretch: 75% 100%;
	font-display: swap;
}
@font-face {
	font-family: "DM Sans";
	src: url("../fonts/dmsans-latin.woff2") format("woff2");
	font-weight: 400 700;
	font-display: swap;
}

:root {
	--paper: #f8f8f5;
	--plaster: #e8ebe5;
	--plaster-deep: #d6dcd4;
	--ink: #1a2a26;
	--ink-soft: #4a5853;
	--line: #cdd3cb;
	--brass: #a8782a;
	--brass-text: #85601b;
	--dusk: #3f5e78;
	--danger: #9c3b2f;
	--ok: #2e5a45;

	--font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
	--font-body: "DM Sans", "Segoe UI", system-ui, sans-serif;

	--wrap: 1240px;
	--gutter: clamp(1rem, 4vw, 2.5rem);
	--radius: 3px;
	--header-h: 68px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--brass-text); }

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: -0.025em;
	margin: 0 0 0.6em;
	text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; }
p { margin: 0 0 1em; text-wrap: pretty; }

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

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px; margin: -1px; padding: 0; 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(--ink); color: var(--paper); padding: 0.75rem 1rem; border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; color: var(--paper); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 780px; }

/* ---------- buttons ---------- */
.btn,
.button,
button.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.wp-block-button__link,
.wc-block-components-button:not(.is-link) {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
	min-height: 48px; padding: 0.7rem 1.5rem;
	background: var(--ink); color: var(--paper);
	border: 1.5px solid var(--ink); border-radius: var(--radius);
	font: 600 1rem/1.2 var(--font-body);
	text-decoration: none; cursor: pointer;
	transition: background-color 0.18s, color 0.18s, border-color 0.18s;
}
.btn:hover, .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover,
.wc-block-components-button:not(.is-link):hover {
	background: var(--brass-text); border-color: var(--brass-text); color: #fff;
}
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn--quiet { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--quiet:hover { background: var(--plaster); border-color: var(--ink); color: var(--ink); }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: transparent; color: var(--paper); border-color: var(--paper); }

.text-link { font-weight: 600; text-decoration: underline; }

.icon-btn {
	position: relative; display: inline-grid; place-items: center;
	width: 44px; height: 44px; padding: 0; background: none; border: 0; border-radius: 50%;
	color: var(--ink); cursor: pointer;
}
.icon-btn:hover { background: var(--plaster); color: var(--ink); }

/* ---------- top bar and header ---------- */
.topbar { background: var(--ink); color: #e9ece7; font-size: 0.875rem; }
.topbar p { margin: 0; padding: 0.55rem var(--gutter); text-align: center; line-height: 1.4; }
.topbar a { color: #fff; font-weight: 600; margin-left: 0.4rem; }
.topbar a:hover { color: #f0cf8f; }

.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgb(248 248 245 / 0.94);
	backdrop-filter: saturate(1.3) blur(10px);
	border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

.site-header__row {
	display: grid; grid-template-columns: auto 1fr auto; align-items: center;
	gap: 1rem; min-height: var(--header-h);
}
.site-header__brand { grid-column: 2; justify-self: center; }
.site-header__tools { display: flex; align-items: center; gap: 0.1rem; }
.nav-toggle { margin-left: -0.6rem; }

.wordmark {
	display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none;
	font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.03em; color: var(--ink);
}
.wordmark { white-space: nowrap; }
.wordmark:hover { color: var(--ink); }
@media (max-width: 520px) {
	.wordmark { font-size: 1.15rem; gap: 0.35rem; }
	.tool-account { display: none; }
}
.wordmark__mark { color: var(--brass); display: inline-grid; }
.wordmark--footer { color: var(--paper); margin-bottom: 1rem; }
.custom-logo-link img { max-height: 44px; width: auto; }

.cart-count {
	position: absolute; top: 3px; right: 1px;
	min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
	background: var(--brass-text); color: #fff; font: 700 0.7rem/18px var(--font-body); text-align: center;
}
.cart-count[hidden] { display: none; }

.site-search { border-top: 1px solid var(--line); background: var(--paper); }
.site-search[hidden] { display: none; }
.site-search form { display: flex; gap: 0.6rem; padding-block: 0.9rem; }
.site-search input[type="search"] { flex: 1; }

/* mobile nav panel */
.primary-nav {
	position: fixed; inset: 0 auto 0 0; z-index: 70; width: min(86vw, 360px);
	background: var(--paper); padding: 1rem 1.5rem 2rem;
	transform: translateX(-102%); visibility: hidden;
	transition: transform 0.28s ease, visibility 0s 0.28s;
	overflow-y: auto;
}
.nav-open .primary-nav { transform: none; visibility: visible; transition: transform 0.28s ease; }
.nav-close { margin: 0 0 1rem -0.6rem; }
.primary-nav .menu { list-style: none; margin: 0; padding: 0; }
.primary-nav .menu a {
	display: block; padding: 0.85rem 0; border-bottom: 1px solid var(--line);
	font-family: var(--font-display); font-size: 1.4rem; font-weight: 500; letter-spacing: -0.02em; text-decoration: none;
}
.nav-scrim { position: fixed; inset: 0; z-index: 60; background: rgb(14 22 20 / 0.5); }
.nav-scrim[hidden] { display: none; }

@media (min-width: 960px) {
	.site-header__row { grid-template-columns: auto 1fr auto; }
	.site-header__brand { grid-column: 1; justify-self: start; }
	.nav-toggle, .nav-close, .nav-scrim { display: none !important; }
	.primary-nav {
		position: static; inset: auto; width: auto; padding: 0; background: none;
		transform: none; visibility: visible; overflow: visible; justify-self: center;
		grid-column: 2; grid-row: 1;
	}
	.primary-nav .menu { display: flex; gap: clamp(1rem, 2.2vw, 2.1rem); }
	.primary-nav .menu a {
		padding: 0.4rem 0; border: 0; font-family: var(--font-body); font-size: 0.975rem; font-weight: 500; letter-spacing: 0;
		background: linear-gradient(var(--brass), var(--brass)) 0 100% / 0 1.5px no-repeat;
		transition: background-size 0.2s;
	}
	.primary-nav .menu a:hover, .primary-nav .menu .current-menu-item > a { background-size: 100% 1.5px; color: var(--ink); }
	.site-header__tools { grid-column: 3; }
}

/* ---------- hero ---------- */
.hero { padding-block: clamp(1.5rem, 4vw, 3.5rem) clamp(2.5rem, 6vw, 5rem); }
.hero__grid { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.hero__lede { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--ink-soft); max-width: 34rem; margin-bottom: 1.75rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero__media { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--plaster); }
.hero__media img { width: 100%; height: auto; aspect-ratio: 1800 / 1300; object-fit: cover; }

.hero__dusk {
	position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.7s ease;
	background:
		radial-gradient(circle at 74% 50%, rgb(255 214 140 / 0.38) 0, rgb(255 190 100 / 0.1) 14%, transparent 30%),
		radial-gradient(circle at 74% 52%, transparent 0, transparent 9%, rgb(12 20 18 / 0.78) 52%);
}
.is-lit .hero__dusk { opacity: 1; }

.lamp-switch {
	position: absolute; left: 0.9rem; bottom: 0.9rem;
	display: inline-flex; align-items: center; gap: 0.6rem;
	min-height: 44px; padding: 0.45rem 1rem 0.45rem 0.75rem;
	background: rgb(248 248 245 / 0.94); color: var(--ink);
	border: 1px solid rgb(26 42 38 / 0.2); border-radius: 999px;
	font: 600 0.9rem/1 var(--font-body); cursor: pointer;
}
.lamp-switch:hover { background: #fff; }
.lamp-switch__dot {
	width: 22px; height: 22px; border-radius: 50%;
	background: var(--plaster-deep); box-shadow: inset 0 0 0 2px var(--ink-soft);
	transition: background-color 0.3s, box-shadow 0.3s;
}
.lamp-switch[aria-pressed="true"] .lamp-switch__dot { background: #f3b94d; box-shadow: 0 0 0 4px rgb(243 185 77 / 0.35), inset 0 0 0 2px #a8782a; }

@media (min-width: 900px) {
	.hero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}

/* ---------- sections ---------- */
.section { padding-block: clamp(2.75rem, 7vw, 5.5rem); }
.section--plaster { background: var(--plaster); }
.section__head { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.section__head h2 { margin: 0; }
.section__head--split { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.75rem 1.5rem; }

.cat-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem 1rem; grid-template-columns: repeat(2, 1fr); }
.cat-grid a { display: block; text-decoration: none; }
.cat-grid__img { display: block; overflow: hidden; border-radius: var(--radius); background: var(--plaster); aspect-ratio: 4 / 5; }
.cat-grid__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.cat-grid a:hover .cat-grid__img img { transform: scale(1.04); }
.cat-grid__name { display: block; margin-top: 0.75rem; font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; letter-spacing: -0.015em; }
.cat-grid__count { display: block; color: var(--ink-soft); font-size: 0.9rem; }
@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) {
	.cat-grid { grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }
	.cat-grid li:nth-child(even) { margin-top: 2.25rem; }
}

.split__grid { display: grid; gap: clamp(1.5rem, 5vw, 4.5rem); align-items: center; }
.split__media img { border-radius: var(--radius); width: 100%; max-height: 640px; object-fit: cover; }
.split__copy { max-width: 32rem; }
.split__copy p { color: var(--ink-soft); font-size: 1.1rem; }
@media (min-width: 860px) { .split__grid { grid-template-columns: 1fr 1fr; } }

.room-grid { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.room-grid a {
	display: inline-flex; align-items: center; min-height: 52px; padding: 0.6rem 1.6rem;
	border: 1.5px solid var(--ink); border-radius: 999px; text-decoration: none;
	font-family: var(--font-display); font-size: 1.2rem; font-weight: 500;
	transition: background-color 0.18s, color 0.18s;
}
.room-grid a:hover { background: var(--ink); color: var(--paper); }

.assure { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem; }
.assure li { max-width: 26rem; }
.assure .icon { color: var(--brass-text); margin-bottom: 0.9rem; }
.assure h3 { margin-bottom: 0.4rem; }
.assure p { color: var(--ink-soft); margin: 0; }
@media (min-width: 760px) { .assure { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }

.faq__grid { display: grid; gap: 1.5rem 4rem; }
.faq__grid h2 { margin: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
	list-style: none; cursor: pointer; padding: 1.15rem 2.5rem 1.15rem 0; position: relative;
	font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: ""; position: absolute; right: 0.4rem; top: 50%; width: 10px; height: 10px; margin-top: -8px;
	border: solid var(--ink); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { color: var(--ink-soft); padding-right: 2rem; }
@media (min-width: 900px) { .faq__grid { grid-template-columns: 4fr 7fr; } }

.band { background: var(--ink); color: var(--paper); padding-block: clamp(2.5rem, 6vw, 4rem); }
.band__row { display: grid; gap: 1.5rem; align-items: center; }
.band h2 { color: var(--paper); margin-bottom: 0.3em; }
.band p { margin: 0; color: #c9d1cc; max-width: 36rem; }
@media (min-width: 800px) { .band__row { grid-template-columns: 1fr auto; } }

/* ---------- footer ---------- */
.site-footer { background: #121d1a; color: #c4ccc7; padding-top: clamp(2.5rem, 5vw, 4rem); font-size: 0.975rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #f0cf8f; }
.site-footer h2 { font-family: var(--font-body); font-size: 0.95rem; font-weight: 700; letter-spacing: 0; color: var(--paper); margin-bottom: 0.9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.45rem; }
.site-footer__grid { display: grid; gap: 2rem 1.5rem; grid-template-columns: 1fr 1fr; }
.site-footer__about { grid-column: 1 / -1; max-width: 26rem; }
.social { display: flex; gap: 0.5rem; }
.social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid #3a4a45; border-radius: 50%; }
.site-footer__base { border-top: 1px solid #26332f; margin-top: 2.5rem; padding-block: 1.25rem; font-size: 0.875rem; color: #98a39d; }
.site-footer__base p { margin: 0; }
@media (min-width: 900px) {
	.site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.4fr; }
	.site-footer__about { grid-column: auto; }
}

.wa-float {
	position: fixed; right: 1rem; bottom: 1rem; z-index: 40;
	display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
	background: #1f7a4f; color: #fff; box-shadow: 0 6px 20px rgb(0 0 0 / 0.25);
}
.wa-float:hover { background: #17613f; color: #fff; }

/* ---------- generic pages ---------- */
.site-main { min-height: 50vh; }
.page-head { padding-block: clamp(2rem, 5vw, 3.5rem) 1.5rem; }
.page-head h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin: 0; }
.meta { color: var(--ink-soft); font-size: 0.9rem; }
.prose { padding-bottom: 4rem; }
.prose h2 { font-size: 1.7rem; margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: 0.4em; }
.prose img { border-radius: var(--radius); }
.post-hero { margin-bottom: 2rem; }
.post-hero img { width: 100%; border-radius: var(--radius); }
.post-list { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
.post-card h2 { font-size: 1.5rem; margin-bottom: 0.3em; }
.post-card h2 a { text-decoration: none; }
.post-card__img img { width: 100%; border-radius: var(--radius); margin-bottom: 1rem; }
.pagination, .woocommerce-pagination { margin: 2rem 0 4rem; }
.page-numbers { display: inline-flex; list-style: none; gap: 0.4rem; padding: 0; margin: 0; flex-wrap: wrap; }
.nav-links { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.page-numbers li { margin: 0; }
a.page-numbers, span.page-numbers {
	display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 0.7rem;
	border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none;
}
span.page-numbers.current { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- forms ---------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="number"],
input[type="password"], input[type="url"], textarea, select {
	width: 100%; min-height: 48px; padding: 0.65rem 0.9rem;
	background: #fff; color: var(--ink); border: 1.5px solid var(--line); border-radius: var(--radius);
	font: inherit; font-size: 1rem;
}
textarea { min-height: 8rem; }
input:focus, textarea:focus, select:focus { border-color: var(--ink); outline: 2px solid var(--dusk); outline-offset: 1px; }
label { font-weight: 600; font-size: 0.95rem; display: block; margin-bottom: 0.3rem; }
.field { margin: 0 0 1.1rem; }
.field--hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.contact-form { max-width: 34rem; }
.notice { padding: 0.9rem 1.1rem; border-radius: var(--radius); border: 1px solid; margin-bottom: 1.5rem; }
.notice--ok { background: #e4f0e9; border-color: #a9cbb8; color: var(--ok); }
.notice--error { background: #f6e5e2; border-color: #dba9a1; color: var(--danger); }

/* ---------- shop ---------- */
.woocommerce-breadcrumb { padding-block: 1.1rem 0; font-size: 0.875rem; color: var(--ink-soft); }
.woocommerce-breadcrumb a { text-decoration: none; }
.crumb-sep { margin: 0 0.45rem; color: var(--line); }

.woocommerce-products-header { padding-block: 1.25rem 0.5rem; }
.woocommerce-products-header__title, .woocommerce-products-header h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin-bottom: 0.3em; }
.term-description { max-width: 40rem; color: var(--ink-soft); }
.woocommerce-result-count { margin: 0 0 1rem; color: var(--ink-soft); font-size: 0.9rem; float: left; }
.woocommerce-ordering { float: right; margin: 0 0 1rem; }
.woocommerce-ordering select { min-height: 44px; width: auto; padding-right: 2rem; }

.cat-pills { margin: 1rem 0 1.25rem; }
.cat-pills ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cat-pills a {
	display: inline-flex; align-items: center; min-height: 40px; padding: 0.3rem 1.1rem;
	border: 1.5px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 500; font-size: 0.95rem;
}
.cat-pills a:hover { border-color: var(--ink); color: var(--ink); }
.cat-pills a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

ul.products {
	clear: both; list-style: none; margin: 0 0 3rem; padding: 0;
	display: grid; gap: 2rem 1rem; grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 760px) { ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 1.5rem; } }
@media (min-width: 1040px) { ul.products, ul.products.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

ul.products li.product { position: relative; display: flex; flex-direction: column; margin: 0; }
ul.products li.product a.woocommerce-LoopProduct-link { display: block; text-decoration: none; color: inherit; }
ul.products li.product img {
	width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
	background: var(--plaster); border-radius: var(--radius); margin: 0 0 0.85rem;
	transition: transform 0.45s ease;
}
ul.products li.product a.woocommerce-LoopProduct-link { overflow: hidden; flex: 1 0 auto; }
ul.products li.product:hover img { transform: scale(1.025); }
.woocommerce-loop-product__title {
	font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; margin: 0 0 0.25rem; padding: 0;
}
.price { display: block; font-weight: 600; font-size: 1rem; color: var(--ink); }
.price del { color: var(--ink-soft); font-weight: 400; margin-right: 0.4rem; }
.price ins { text-decoration: none; color: var(--brass-text); }
ul.products li.product .button { margin-top: 0.8rem; min-height: 44px; padding: 0.5rem 1rem; font-size: 0.925rem; background: transparent; color: var(--ink); align-self: flex-start; }
ul.products li.product .button:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
ul.products li.product .added_to_cart { margin-top: 0.5rem; font-size: 0.9rem; font-weight: 600; }
.onsale {
	position: absolute; top: 0.6rem; left: 0.6rem; z-index: 2;
	background: var(--brass-text); color: #fff; padding: 0.2rem 0.65rem; border-radius: 2px;
	font: 700 0.78rem/1.5 var(--font-body);
}

.star-rating { position: relative; display: inline-block; width: 5.6em; height: 1.1em; overflow: hidden; line-height: 1.1; font-size: 0.95rem; letter-spacing: 0.1em; }
.star-rating::before { content: "★★★★★"; position: absolute; left: 0; top: 0; color: var(--line); }
.star-rating span { position: absolute; left: 0; top: 0; overflow: hidden; height: 1.1em; padding-top: 1.5em; }
.star-rating span::before { content: "★★★★★"; position: absolute; left: 0; top: 0; color: var(--brass); }

/* product page */
.single-product div.product { display: grid; gap: 2rem clamp(1.5rem, 4vw, 4rem); grid-template-columns: minmax(0, 1fr); padding-block: 1rem 3rem; }
.single-product div.product .onsale { top: 1rem; left: 1rem; }
.woocommerce-product-gallery { position: relative; margin: 0; }
.woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce-product-gallery__image img { width: 100%; border-radius: var(--radius); background: var(--plaster); }
.woocommerce-product-gallery__trigger {
	position: absolute; top: 0.8rem; right: 0.8rem; z-index: 3; width: 40px; height: 40px;
	display: grid; place-items: center; background: rgb(248 248 245 / 0.92); border-radius: 50%; text-decoration: none;
}
.woocommerce-product-gallery__trigger { font-size: 0; color: var(--ink); }
.woocommerce-product-gallery__trigger::before { content: "+"; font-size: 1.5rem; line-height: 1; }
.woocommerce-product-gallery__trigger img { display: none; }
.flex-control-thumbs { list-style: none; margin: 0.75rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.5rem; }
.flex-control-thumbs img { border-radius: 2px; opacity: 0.6; cursor: pointer; }
.flex-control-thumbs img.flex-active, .flex-control-thumbs img:hover { opacity: 1; }
.flex-viewport { overflow: hidden; border-radius: var(--radius); }

.summary .product_title { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 0.3em; }
.summary .price { font-size: 1.5rem; margin: 0 0 1.1rem; }
.summary .woocommerce-product-details__short-description { color: var(--ink-soft); }
.summary form.cart { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0; align-items: stretch; }
.summary form.cart .single_add_to_cart_button { flex: 1 1 11rem; min-height: 52px; }
.quantity input.qty { width: 5rem; text-align: center; min-height: 52px; }
.variations { margin-bottom: 1rem; }
.variations td, .variations th { padding: 0.3rem 0.5rem 0.3rem 0; text-align: left; display: block; }
.pdp-assure { list-style: none; margin: 1.5rem 0 1rem; padding: 1.1rem 0; border-block: 1px solid var(--line); display: grid; gap: 0.65rem; }
.pdp-assure li { display: flex; align-items: center; gap: 0.7rem; font-size: 0.975rem; }
.pdp-assure .icon { color: var(--brass-text); flex: none; }
.pdp-whatsapp { width: 100%; margin-bottom: 1.5rem; }
.product_meta { font-size: 0.9rem; color: var(--ink-soft); display: grid; gap: 0.2rem; }
.product_meta a { color: var(--ink); }
.in-stock { color: var(--ok); font-weight: 600; }
.out-of-stock { color: var(--danger); font-weight: 600; }

.woocommerce-tabs { grid-column: 1 / -1; margin-top: 1rem; }
.woocommerce-tabs ul.tabs { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; gap: 1.5rem; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.woocommerce-tabs ul.tabs a { display: block; padding: 0.7rem 0; text-decoration: none; font-weight: 600; color: var(--ink-soft); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.woocommerce-tabs ul.tabs li.active a { color: var(--ink); border-color: var(--ink); }
.woocommerce-tabs .panel { max-width: 46rem; }
.woocommerce-tabs .panel > h2:first-child { display: none; }
table.shop_attributes { border-collapse: collapse; width: 100%; max-width: 32rem; }
table.shop_attributes th, table.shop_attributes td { text-align: left; padding: 0.6rem 0; border-bottom: 1px solid var(--line); font-weight: 400; }
table.shop_attributes th { font-weight: 600; width: 40%; }
table.shop_attributes p { margin: 0; }

.related.products, .upsells.products { grid-column: 1 / -1; margin-top: 2rem; }
.related.products > h2, .upsells.products > h2 { font-size: 1.8rem; margin-bottom: 1.25rem; }

@media (min-width: 860px) {
	.single-product div.product { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: start; }
	.single-product div.product .summary { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}

/* notices (WooCommerce) */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	list-style: none; margin: 1.25rem 0; padding: 0.95rem 1.2rem; border-radius: var(--radius);
	background: var(--plaster); border-left: 4px solid var(--ink);
	display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; align-items: center; justify-content: space-between;
}
.woocommerce-message { border-color: var(--ok); }
.woocommerce-error { border-color: var(--danger); background: #f6e5e2; }
.woocommerce-message .button { order: 2; min-height: 40px; padding: 0.4rem 1rem; }

/* classic cart, checkout and account tables */
table.shop_table { width: 100%; border-collapse: collapse; margin-bottom: 2rem; }
table.shop_table th, table.shop_table td { text-align: left; padding: 0.9rem 0.5rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.shop_table img { width: 72px; border-radius: 2px; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0 0 2rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.woocommerce-MyAccount-navigation a { text-decoration: none; font-weight: 600; }
.woocommerce-MyAccount-navigation .is-active a { border-bottom: 2px solid var(--brass); }
.woocommerce form .form-row { margin: 0 0 1rem; }
.woocommerce form .form-row label { margin-bottom: 0.3rem; }

/* WooCommerce block cart / checkout */
.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout { padding-block: 1.5rem 4rem; }
.wc-block-components-product-name { font-family: var(--font-display); font-weight: 600; }
.wc-block-components-button:not(.is-link) { width: auto; }

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

@media print {
	.topbar, .site-header, .site-footer, .wa-float, .nav-scrim { display: none !important; }
}

/* checkout: searchable state/country select (select2) matches the other fields */
.select2-container--default .select2-selection--single { height: 48px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 46px; padding-inline: 0.9rem; color: var(--ink); }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 46px; }
