/*
 * RynekUSA Rejestr — base layer shared by structure, content and WordPress classes.
 * Visual identity lives in main.css, which defines the custom properties used here.
 */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: var(--fs-base, 17px);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, svg, video, iframe { max-width: 100%; }
img, video { height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:where(h1, h2, h3, h4) { font-family: var(--font-display); font-weight: var(--h-weight, 600); line-height: 1.18; text-wrap: balance; overflow-wrap: break-word; }
p { text-wrap: pretty; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

/* ---------- Utilities ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap--text { max-width: var(--wrap-text); }
.wrap--wide { max-width: var(--wrap-wide, 1040px); }
.section-pad { padding-block: var(--section-y); }
.section-pad--sm { padding-block: calc(var(--section-y) * .55); }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed !important; top: 12px; left: 12px; z-index: 1000;
	width: auto; height: auto; clip: auto; margin: 0; padding: 12px 18px;
	background: var(--ink); color: var(--bg); border-radius: var(--radius-sm); white-space: normal;
}
.icon { flex: none; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	min-height: 48px; padding: .75em 1.4em;
	border: 1px solid transparent; border-radius: var(--radius-sm);
	font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1.1;
	text-decoration: none; white-space: nowrap;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn .icon { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn--primary { background: var(--brand); color: var(--brand-ink); }
.btn--primary:hover { background: var(--brand-hover); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: var(--accent-hover); }
.btn--ghost { border-color: currentColor; background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ---------- Top bar + header ---------- */
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar__contact { display: flex; gap: 22px; }
.topbar a { text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.site-header { position: sticky; top: 0; z-index: 50; }
.admin-bar .site-header { top: 32px; }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: max(var(--header-h), calc(var(--logo-h, 56px) + 18px)); }
.site-brand { margin-right: auto; display: flex; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; min-width: 0; }
/*
 * Logo. The selectors are deliberately strong and use !important: WooCommerce
 * (".woocommerce-page img { height: auto; max-width: 100% }") and page builders
 * resize every <img> on shop and product pages, which made the logo huge there.
 */
.site-header .brand img.brand__logo,
.site-footer .brand img.brand__logo {
	display: block; flex: none; margin: 0;
	width: auto !important; height: var(--logo-h, 56px) !important;
	max-width: var(--logo-max-w, 260px) !important; max-height: none !important;
	object-fit: contain; object-position: left center;
}
.site-footer .brand img.brand__logo { height: var(--logo-h-footer, calc(var(--logo-h, 56px) * 1.55)) !important; max-width: calc(var(--logo-max-w, 260px) * 1.25) !important; }
.brand-mark { display: grid; line-height: 1.05; min-width: 0; }
.brand-mark__word { white-space: nowrap; }
.brand-mark__sub { margin-top: 4px; font-family: var(--font-body); font-size: .68rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; opacity: .7; white-space: nowrap; }
@media (max-width: 640px) {
	.site-header .brand img.brand__logo { height: var(--logo-h-mobile, min(var(--logo-h, 56px), 44px)) !important; max-width: min(var(--logo-max-w, 260px), 56vw) !important; }
	.site-header__inner { min-height: max(var(--header-h), calc(var(--logo-h-mobile, 44px) + 16px)); }
	.site-header .brand-mark__sub { display: none; }
}
@media (max-width: 360px) { .site-header .brand-mark { display: none; } }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav .menu { display: flex; align-items: center; gap: 26px; }
.site-nav .menu a { text-decoration: none; font-weight: 500; }
.site-nav .menu-item-has-children { position: relative; }
.site-nav .sub-menu {
	position: absolute; top: calc(100% + 12px); left: -16px; min-width: 240px;
	padding: 10px; list-style: none; background: var(--surface); color: var(--ink);
	border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(-4px); transition: .18s ease;
}
.site-nav .sub-menu a { display: block; padding: 8px 10px; border-radius: 4px; }
.site-nav .sub-menu a:hover { background: var(--surface-2); }
.site-nav .menu-item-has-children:hover > .sub-menu,
.site-nav .menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav-toggle {
	display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px;
	border: 0; background: none; font-weight: 600;
}
.nav-toggle__bars { position: relative; width: 22px; height: 14px; }
.nav-toggle__bars::before, .nav-toggle__bars::after, .nav-toggle__bars span {
	content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: currentColor;
	transition: transform .2s ease, opacity .2s ease, top .2s ease;
}
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars span { top: 6px; }
.nav-toggle__bars::after { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 6px; transform: rotate(-45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span { opacity: 0; }

@media (max-width: 960px) {
	.nav-toggle { display: inline-flex; }
	.site-nav {
		position: absolute; top: 100%; left: 0; right: 0;
		height: calc(100dvh - var(--header-h)); overflow-y: auto;
		flex-direction: column; align-items: stretch; gap: 24px;
		padding: 24px var(--gutter) 120px; background: var(--bg); color: var(--ink);
		border-top: 1px solid var(--line);
		opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .2s ease;
	}
	.site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.site-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.site-nav .menu > li > a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.25rem; }
	.site-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 12px; background: none; }
	body.nav-open { overflow: hidden; }
	.topbar__text, .topbar__mail { display: none; }
	.topbar__inner { justify-content: center; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

/* ---------- Page heads & breadcrumbs ---------- */
.page-head { padding-block: clamp(40px, 6vw, 80px) clamp(24px, 3vw, 40px); }
.page-head__title { font-size: clamp(2.1rem, 4.6vw, 3.6rem); letter-spacing: -.02em; }
.page-head__lead { margin-top: 16px; max-width: 62ch; color: var(--muted); font-size: 1.15rem; }
.page-head__search { margin-top: 28px; max-width: 520px; }
.breadcrumbs { margin-bottom: 20px; font-size: .875rem; color: var(--muted); }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; color: var(--ink); }
.breadcrumbs__sep, .breadcrumbs .separator { margin-inline: 6px; opacity: .6; }

/* ---------- Cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: var(--grid-gap); }
.card { position: relative; display: flex; flex-direction: column; }
.card__media { display: block; overflow: hidden; aspect-ratio: 16 / 10; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.03); }
.card__body { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__meta { font-size: .85rem; color: var(--muted); }
.card__title { font-size: 1.3rem; line-height: 1.25; }
.card__title a { text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card__excerpt { color: var(--muted); font-size: .98rem; }
.card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.card__more .icon { width: 16px; height: 16px; }

/* ---------- Article ---------- */
.article__head { padding-block: clamp(40px, 6vw, 80px) 32px; }
.article__kicker { margin-bottom: 14px; }
.article__kicker a { text-decoration: none; }
.article__title { font-size: clamp(2rem, 4.4vw, 3.3rem); letter-spacing: -.02em; }
.article__lead { margin-top: 18px; font-size: 1.2rem; color: var(--muted); }
.article__meta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; color: var(--muted); }
.article__media { margin-block: 8px 40px; }
.article__media img { width: 100%; border-radius: var(--radius); }
.article__foot { padding-block: 32px 56px; display: grid; gap: 32px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list a { display: inline-block; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .85rem; text-decoration: none; }
.author-box { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); display: grid; gap: 8px; justify-items: start; }
.author-box__label { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.author-box__name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; }
.author-box__bio { color: var(--muted); margin-bottom: 8px; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-navigation a { display: grid; gap: 4px; padding: 18px 0; border-top: 1px solid var(--line); text-decoration: none; }
.post-navigation .nav-next { text-align: right; }
.nav-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.nav-title { font-weight: 600; line-height: 1.35; }

/* ---------- Entry content ---------- */
.entry-content { font-size: calc(var(--fs-base, 17px) + 1px); line-height: 1.75; }
.entry-content > * + * { margin-top: 1.15em; }
.entry-content > :where(h2, h3, h4) { margin-top: 2em; }
.entry-content h2 { font-size: clamp(1.55rem, 2.6vw, 2rem); letter-spacing: -.01em; }
.entry-content h3 { font-size: clamp(1.25rem, 2vw, 1.45rem); }
.entry-content h4 { font-size: 1.1rem; }
.entry-content a { color: var(--link); }
.entry-content a:hover { text-decoration-thickness: 2px; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li + li { margin-top: .4em; }
.entry-content li::marker { color: var(--accent-text); }
.entry-content blockquote, .entry-content .wp-block-quote {
	padding: 4px 0 4px 24px; border-left: 3px solid var(--accent); font-size: 1.2rem; font-style: italic;
}
.entry-content blockquote cite { display: block; margin-top: 10px; font-size: .9rem; font-style: normal; color: var(--muted); }
.entry-content figure img { border-radius: var(--radius-sm); }
.entry-content figcaption, .wp-caption-text, .wp-element-caption { margin-top: 10px; font-size: .88rem; color: var(--muted); text-align: center; }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin-block: 2.5em; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.entry-content th, .entry-content td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry-content th { font-weight: 600; background: var(--surface-2); }
.entry-content .wp-block-table { overflow-x: auto; }
.entry-content code, .entry-content kbd { font-family: var(--font-mono); font-size: .9em; padding: .1em .35em; background: var(--surface-2); border-radius: 4px; }
.entry-content pre { overflow-x: auto; padding: 18px; background: var(--surface-2); border-radius: var(--radius-sm); font-size: .9rem; }
.entry-content pre code { padding: 0; background: none; }
.entry-content .wp-block-button__link { display: inline-flex; padding: .8em 1.4em; background: var(--brand); color: var(--brand-ink); border-radius: var(--radius-sm); text-decoration: none; font-weight: 600; }
.entry-content .is-style-outline .wp-block-button__link { background: transparent; color: var(--ink); border: 1px solid currentColor; }
.entry-content .alignwide { width: min(var(--wrap-wide, 1040px), 100vw - 2 * var(--gutter)); max-width: none; margin-inline: calc(50% - min(var(--wrap-wide, 1040px) / 2, 50vw - var(--gutter))); }
.entry-content .alignfull { width: 100vw; max-width: none; margin-inline: calc(50% - 50vw); }
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { margin-inline: auto; text-align: center; }
.entry-content::after { content: ""; display: table; clear: both; }
.wp-caption { max-width: 100%; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.sticky, .bypostauthor, .gallery-caption { /* WordPress required classes */ }
.page-links { display: flex; gap: 10px; margin-top: 32px; font-weight: 600; }
/* Rank Math TOC / FAQ blocks */
.entry-content .wp-block-rank-math-toc-block, .entry-content .rank-math-block { padding: 22px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.entry-content .wp-block-rank-math-toc-block h2 { margin-top: 0; font-size: 1.1rem; }

/* ---------- GEO: summary, updated date, table of contents ---------- */
.post-summary { margin-bottom: 2em; padding: 20px 24px; border-left: 4px solid var(--accent); background: var(--surface); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.post-summary__label { font-family: var(--font-body); font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
.post-summary__text { margin-top: 6px; font-size: 1.05em; line-height: 1.6; }
.article__meta a { color: inherit; }
.article__updated { font-weight: 600; }
.toc { margin: 2em 0; padding: 4px 22px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); font-size: .95em; }
.toc__title { padding: 14px 0; font-family: var(--font-body); font-weight: 600; letter-spacing: .02em; }
.toc details[open] .toc__title { border-bottom: 1px solid var(--line); }
.toc__list, .toc__list ol { margin: 0; padding-left: 1.3em; }
.toc__list { padding-block: 12px 16px; }
.toc__list li + li { margin-top: .35em; }
.toc__list ol { margin-top: .35em; font-size: .94em; }
.entry-content .toc a { color: var(--ink); text-decoration: none; }
.entry-content .toc a:hover { color: var(--link); text-decoration: underline; }
.entry-content :where(h2, h3)[id] { scroll-margin-top: calc(var(--header-h) + 20px); }
:where(summary) .faq-q { font: inherit; letter-spacing: inherit; color: inherit; margin: 0; text-wrap: pretty; }
.entry-content--full { max-width: var(--wrap); }

/* ---------- No drop caps: text never starts with an enlarged initial ---------- */
.entry-content .has-drop-cap:not(:focus)::first-letter,
.entry-content p::first-letter,
.intro__text::first-letter {
	float: none !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;
	font-family: inherit !important; font-style: inherit !important; color: inherit !important;
	margin: 0 !important; padding: 0 !important; text-transform: none !important;
}

/* ---------- Pagination ---------- */
.pagination { margin-top: 56px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; font-weight: 600; }
.page-numbers.current { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.page-numbers.dots { border: 0; }

/* ---------- Forms ---------- */
input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"],
input[type="password"], input[type="number"], textarea, select {
	width: 100%; min-height: 48px; padding: 12px 14px;
	background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
	transition: border-color .15s ease, box-shadow .15s ease;
}
textarea { min-height: 140px; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--ring); }
label { font-weight: 500; }
.search-form { position: relative; display: flex; }
.search-form__field { padding-right: 52px; }
.search-form__submit { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 44px; height: 40px; display: grid; place-items: center; border: 0; background: none; color: var(--muted); }
.search-form__submit:hover { color: var(--ink); }

/* ---------- Comments ---------- */
.comments { padding-block: 24px 64px; }
.comments__title { font-size: 1.5rem; margin-bottom: 24px; }
.comment-list, .comment-list .children { list-style: none; padding: 0; }
.comment-list .children { padding-left: 24px; border-left: 2px solid var(--line); }
.comment-body { padding: 18px 0; border-bottom: 1px solid var(--line); }
.comment-meta { font-size: .88rem; color: var(--muted); }
.comment-author .fn { font-weight: 600; color: var(--ink); font-style: normal; }
.comment-content { margin-top: 8px; }
.comment-respond { margin-top: 32px; display: grid; gap: 14px; }
.comment-form { display: grid; gap: 14px; }
.comment-form p { display: grid; gap: 6px; }
.comment-form-cookies-consent { display: flex !important; gap: 10px; align-items: flex-start; }

/* ---------- Contact band ---------- */
.contact-band__inner { display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 40px; align-items: center; }
.contact-band__title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -.02em; margin-top: 10px; }
.contact-band__lead { margin-top: 12px; max-width: 46ch; }
.contact-band__list { display: grid; gap: 10px; }
.contact-band__list a { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.contact-band__list span { display: grid; line-height: 1.3; font-weight: 600; }
.contact-band__list small { font-weight: 500; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
@media (max-width: 1000px) {
	.contact-band__inner { grid-template-columns: 1fr; gap: 28px; }
	.contact-band__cta { justify-self: start; }
}

/* ---------- Footer ---------- */
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer__about { margin-top: 16px; max-width: 38ch; }
.site-footer__title { font-family: var(--font-body); font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer .menu { display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.contact-list { display: grid; gap: 10px; }
.contact-list__label { display: inline-block; min-width: 64px; opacity: .65; font-size: .9rem; }
.site-footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid currentColor; }
.social a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.social a:hover { text-decoration: none; }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Mobile quick-contact bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 720px) {
	.mobile-bar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
		display: grid; grid-template-columns: 1fr 1fr 1.4fr;
		padding-bottom: env(safe-area-inset-bottom);
	}
	.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; text-decoration: none; font-weight: 600; font-size: .95rem; }
	body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
}

/* ---------- Mobile comfort: tap targets & Polish long words ---------- */
@media (max-width: 720px) {
	.site-footer .menu a, .contact-list a, .breadcrumbs a { display: inline-block; padding-block: 8px; }
	.entry-content p, .entry-content li, .card__excerpt { -webkit-hyphens: auto; hyphens: auto; }
	.entry-content .wp-block-table, .entry-content table { display: block; overflow-x: auto; }
	.tag-list a { padding: 8px 14px; }
	/* Invisible hit-area extension (≥44px) without changing the visual design. */
	.card__more, .link-arrow, .cat-link, figcaption a, .route__text, .file__foot a, .topbar a, .author-box__name a, .article__meta a, .toc a { position: relative; }
	.card__more::before, .link-arrow::before, .cat-link::before, figcaption a::before, a.route__text::before, .file__foot a::before, .topbar a::before, .author-box__name a::before, .article__meta a::before, .toc a::before {
		content: ""; position: absolute; left: -6px; right: -6px; top: 50%; height: 44px; transform: translateY(-50%);
	}
}

/* ---------- Details / accordion ---------- */
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }

/* ---------- WooCommerce (light touch) ---------- */
.woocommerce ul.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: var(--grid-gap); margin: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--font-display); font-size: 1.2rem; }
.woocommerce .price { color: var(--ink) !important; font-weight: 600; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
	background: var(--brand) !important; color: var(--brand-ink) !important; border-radius: var(--radius-sm) !important; padding: .85em 1.3em !important; font-weight: 600 !important;
}
.woocommerce a.button.alt, .woocommerce button.button.alt { background: var(--accent) !important; color: var(--accent-ink) !important; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--brand) !important; background: var(--surface) !important; }

/* ---------- Reveal ---------- */
.has-reveal [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.has-reveal [data-reveal].is-visible { opacity: 1; transform: none; }

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

@media print {
	.topbar, .site-header, .mobile-bar, .contact-band, .site-footer, .comments, .related { display: none !important; }
	body { background: #fff; color: #000; }
}
