/*
 * Devlen Shop – a theme.json-on túli kinézet. Fekete-fehér, prémium bolti hangulat: talpas címek (Cormorant Garamond),
 * nagybetűs, ritkított feliratok és gombok, fehér kártyák halványszürke alapon.
 * Sarkok: gomb és mező 4px (--wp--custom--radius--control), kártya, panel 8px (--card), ikongomb kerek (--pill).
 * Színek csak a theme.json palettájából (--wp--preset--color--*); az akció-piros csak árnál és jelvényen.
 */

:root {
	--ds-shadow: 0 1px 2px rgb(21 21 21 / 0.04), 0 14px 34px -20px rgb(21 21 21 / 0.28);
	--ds-shadow-pop: 0 18px 48px -18px rgb(21 21 21 / 0.35);
	--ds-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	/* A tartalom bal széle a teljes szélességű sávokban (nyitókép): a széles tartalom (1240px) széle, vagy a margó. */
	--ds-gutter: max(var(--wp--style--root--padding-left, 1rem), calc((100vw - var(--wp--style--global--wide-size, 1240px)) / 2));
	--ds-label: 600 0.75rem/1.2 var(--wp--preset--font-family--body);
}

body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
:where(a) { text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--wp--preset--color--ink); outline-offset: 3px; }
img { height: auto; }
html.ds-lock { overflow: hidden; }
h1 em, h2 em, h3 em { font-style: italic; }

/* Kis nagybetűs felirat (felső sor, szekciócímke), alatta rövid vonallal. */
.eyebrow, .ds-slide__eyebrow {
	margin: 0;
	font: var(--ds-label);
	font-size: 0.72rem;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--wp--preset--color--ink);
}
.eyebrow::after, .ds-slide__eyebrow::after {
	content: "";
	display: block;
	width: 2.5rem;
	height: 1px;
	margin-top: 0.85rem;
	background: currentColor;
	opacity: 0.6;
}

.ds-icon { width: 1.5rem; height: 1.5rem; flex: none; }

.ds-visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* ---------- Gombok ---------- */

.wp-block-button__link, .wp-element-button, .button, button.single_add_to_cart_button {
	transition: background-color 0.2s var(--ds-ease), color 0.2s var(--ds-ease), border-color 0.2s var(--ds-ease), transform 0.15s var(--ds-ease);
}
.wp-block-button__link:active, .wp-element-button:active, .button:active { transform: translateY(1px); }
/* A gombok színe (fekete; rámutatásra fehér, fekete kerettel) a theme.json `elements.button`-jában van, a WooCommerce
   gombjai is azt kapják. Itt csak a kivételek: a kosárpanel körvonalas „Kosár” gombja is legyen ugyanilyen. */
.wc-block-mini-cart__footer-cart.is-style-outline {
	background: var(--wp--preset--color--accent) !important;
	color: #fff !important;
}
.wc-block-mini-cart__footer-cart.is-style-outline:hover {
	background: var(--wp--preset--color--surface) !important;
	color: var(--wp--preset--color--accent) !important;
}
.section__more .wp-element-button { display: inline-block; }

/* Kerek ikongomb (fejléc, lapozó, menü bezárása). */
.ds-iconbtn {
	position: relative;
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 0;
	border-radius: var(--wp--custom--radius--pill);
	background: transparent;
	color: var(--wp--preset--color--ink);
	cursor: pointer;
	text-decoration: none;
	transition: background-color 0.2s var(--ds-ease);
}
.ds-iconbtn:hover { background: var(--wp--preset--color--mint); }
.ds-iconbtn .ds-icon { width: 1.5rem; height: 1.5rem; }

/* Számláló az ikonon (kedvencek, kosár). */
.ds-count, .site-header__actions .wc-block-mini-cart__badge {
	position: absolute;
	top: 0.3rem;
	right: 0.15rem;
	display: grid;
	place-items: center;
	box-sizing: border-box;
	min-width: 1.1rem;
	height: 1.1rem;
	padding: 0 0.25rem;
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--ink) !important;
	color: #fff !important;
	font: 700 0.62rem/1 var(--wp--preset--font-family--body);
	transform: none;
}
.ds-count[hidden] { display: none; }

/* ---------- Fejléc ---------- */

.site-header {
	position: sticky;
	top: 0;
	/* A termékoldal képnagyító gombja (z-index: 99) fölött, különben átlátszik a lenyíló menün. */
	z-index: 100;
	background: var(--wp--preset--color--surface);
}
.announce {
	background: var(--wp--preset--color--ink);
	color: #fff;
	padding-block: 0.5rem;
}
.announce p { margin: 0; font-size: 0.75rem; letter-spacing: 0.04em; }
.announce strong { font-weight: 700; }
.site-header__main { border-bottom: 1px solid var(--wp--preset--color--line); }
.site-header__bar {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	column-gap: 2rem;
	min-height: 4.75rem;
}
/* A sor elemei között nincs a WordPress blokktávolsága (az első elem, a menü ikonja nélkül 20 px-szel lejjebb csúsztak). */
.site-header__bar > * { margin-block: 0; }
.ds-burger { display: none; }
/* Asztalon két sor: fent a logó, középen a nagy kereső, jobbra az ikonok; alattuk a teljes szélességű menü (sok
   főkategória is elfér). */
@media (min-width: 1181px) {
	.site-header__bar { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "brand search actions" "nav nav nav"; column-gap: 2.5rem; min-height: 0; padding-top: 2.25rem; }
	.site-header__bar > .brand { grid-area: brand; }
	.site-header__bar > .ds-search-panel { grid-area: search; display: block; width: 100%; max-width: 42rem; justify-self: center; padding: 0; border: 0; animation: none; }
	.site-header__bar .ds-search-toggle { display: none; }
	.site-header__bar .site-search { max-width: none; }
	.site-header__bar .site-search .wp-block-search__input { font-size: 0.95rem; }
	.site-header__bar > .site-header__actions { grid-area: actions; }
	.site-header__bar > .ds-nav { grid-area: nav; justify-self: stretch; margin-top: 0.75rem; border-top: 1px solid var(--wp--preset--color--line); }
	/* Ha nem fér el egy sorban, második sorba tör (nem lóg ki). */
	.site-header__bar .ds-nav__list { flex-wrap: wrap; justify-content: space-between; gap: 0 1rem; }
	.site-header__bar :is(.ds-nav__link, .ds-nav__toggle--label) { padding-block: 1.05rem; }
	.site-header__bar .ds-nav__link::after { bottom: 0.7rem; }
}

.brand {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	text-decoration: none;
	color: var(--wp--preset--color--ink);
	flex: none;
	line-height: 1;
}
.brand__name {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 500;
	font-size: 2.1rem;
	line-height: 0.9;
	letter-spacing: -0.01em;
}
.brand__kind {
	margin-top: 0.4rem;
	font: 600 0.58rem/1 var(--wp--preset--font-family--body);
	letter-spacing: 0.42em;
	text-transform: uppercase;
}
/* .brand előtaggal: a WooCommerce oldalain a `.woocommerce-page img { height: auto }` erősebb lenne. */
.brand .brand__logo { display: block; width: auto; height: 3.1rem; }
.brand .brand__logo--light { display: none; }
.site-footer .brand { color: #fff; }
.site-footer .brand .brand__logo { height: 2.9rem; }
/* A sötét láblécben a világos logó (ha a bolt adott ilyet). */
.site-footer .brand:has(.brand__logo--light) .brand__logo:not(.brand__logo--light) { display: none; }
.site-footer .brand .brand__logo--light { display: block; }

/* Főmenü: asztalon a fejléc közepén, az alkategóriák lenyílnak (rámutatásra, vagy a nyíllal). */
.ds-nav { justify-self: center; min-width: 0; }
.ds-nav__head, .ds-nav__item.ds-nav__item--drawer { display: none; }
.ds-nav__list { display: flex; align-items: center; gap: 1.75rem; margin: 0; padding: 0; list-style: none; }
.ds-nav__item { position: relative; display: flex; align-items: center; gap: 0.2rem; }
.ds-nav__link, .ds-nav__toggle--label {
	position: relative;
	padding: 1.75rem 0;
	color: var(--wp--preset--color--ink);
	font: var(--ds-label);
	letter-spacing: 0.13em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
}
.ds-nav__link::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 1.35rem;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s var(--ds-ease);
}
.ds-nav__link:hover::after, .ds-nav__link[aria-current]::after { transform: scaleX(1); }
.ds-nav__item--sale > .ds-nav__link { color: var(--wp--preset--color--sale); }
.ds-nav__toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.25rem 0.1rem;
	border: 0;
	background: none;
	color: var(--wp--preset--color--ink);
	cursor: pointer;
}
.ds-nav__toggle--label { padding-inline: 0; }
.ds-nav__caret { width: 0.85rem; height: 0.85rem; transition: transform 0.2s var(--ds-ease); }
.ds-nav__toggle[aria-expanded="true"] .ds-nav__caret { transform: rotate(180deg); }
.ds-nav__sub {
	position: absolute;
	top: calc(100% - 0.6rem);
	left: -1.1rem;
	z-index: 20;
	display: none;
	min-width: 15rem;
	padding: 0.5rem;
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--card);
	box-shadow: var(--ds-shadow-pop);
	animation: ds-pop 0.16s var(--ds-ease);
}
.ds-nav__sub ul { margin: 0; padding: 0; list-style: none; }
.ds-nav__item.is-wide .ds-nav__sub ul { display: grid; grid-template-columns: repeat(3, minmax(9rem, 1fr)); column-gap: 0.5rem; }
.ds-nav__sub a {
	display: block;
	padding: 0.6rem 0.75rem;
	border-radius: var(--wp--custom--radius--control);
	color: var(--wp--preset--color--ink);
	font-size: var(--wp--preset--font-size--small);
	text-decoration: none;
	white-space: nowrap;
}
.ds-nav__sub a:hover, .ds-nav__sub a[aria-current] { background: var(--wp--preset--color--mint); }
.ds-nav__sub-all { margin-top: 0.35rem; padding-top: 0.35rem; border-top: 1px solid var(--wp--preset--color--line); grid-column: 1 / -1; }
.ds-nav__sub-all a { font-weight: 700; }
.ds-nav__toggle[aria-expanded="true"] + .ds-nav__sub { display: block; }
@media (hover: hover) and (min-width: 1181px) {
	.ds-nav__item.has-sub:hover > .ds-nav__sub { display: block; }
}
@keyframes ds-pop { from { opacity: 0; transform: translateY(-4px); } }
/* Mega menü (a kategóriák): a fejléc teljes szélességében, a tartalom a széles sávban; oszlopok: alkategóriák, a harmadik
   szint, ársávok, márkák, a kategória képe. A menüpont és a panel közti rést egy láthatatlan sáv hidalja át (::before). */
@media (min-width: 1181px) {
	.site-header__main { position: relative; }
	.ds-nav__item:has(> .ds-mega) { position: static; }
	.ds-nav__sub.ds-mega {
		top: 100%;
		left: 0;
		right: 0;
		min-width: 0;
		/* A tartalom a fejléc széles sávjában (ugyanaz a margó, mint a logónál). */
		padding: 2rem max(var(--wp--style--root--padding-left, 1rem), calc((100% - var(--wp--style--global--wide-size, 1240px)) / 2)) 2.25rem;
		border: 0;
		border-top: 1px solid var(--wp--preset--color--line);
		border-radius: 0;
		box-shadow: 0 24px 40px -24px rgb(21 21 21 / 0.25);
	}
	.ds-mega::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 1.25rem; }
	/* Késleltetve nyílik és zárul: átlósan a panel felé húzva a közbülső menüpontok nem nyitják ki a sajátjukat, a
	   panel pedig egy pillanatig még nyitva marad (a rejtett panel nem kap egeret). */
	.ds-nav__sub.ds-mega { display: block; visibility: hidden; opacity: 0; animation: none; transition: opacity 0.15s var(--ds-ease), visibility 0s linear 0.15s; }
	.ds-nav__item:hover > .ds-mega, .ds-nav__toggle[aria-expanded="true"] + .ds-mega {
		z-index: 21;
		visibility: visible;
		opacity: 1;
		transition: opacity 0.15s var(--ds-ease) 0.12s, visibility 0s linear 0.12s;
	}
	/* Kevés oszlop (a Parfimo mintájára): ajánlott rendezések, alkategóriák, ársávok, márkák; jobbra a kép. Ha magasabb a
	   képernyőnél, görgethető. */
	.ds-nav__sub.ds-mega { max-height: calc(100vh - 12rem); overflow-y: auto; overscroll-behavior: contain; }
	.ds-mega__inner { display: flex; gap: clamp(1.75rem, 3vw, 3.5rem); align-items: flex-start; }
	.ds-mega__col { flex: 0 1 auto; min-width: 9rem; }
	.ds-mega__col--main { flex-basis: 15rem; }
	/* Az alkategóriákból az első 10, utána az „Összes” (a többi a kategóriaoldal csempéi közt; mobilon mind látszik). */
	.ds-mega__col--main li:nth-child(n + 11):not(.ds-nav__sub-all) { display: none; }
	.ds-mega .ds-mega__picks { gap: 0.5rem; align-items: flex-start; }
	.ds-mega .ds-mega__picks a {
		display: inline-block;
		padding: 0.5rem 0.9rem;
		border-radius: var(--wp--custom--radius--pill);
		background: var(--wp--preset--color--paper);
		font: var(--ds-label);
		letter-spacing: 0.08em;
		text-transform: uppercase;
	}
	.ds-mega .ds-mega__picks a:hover { background: var(--wp--preset--color--mint); text-decoration: none; }
	.ds-mega__title {
		margin: 0 0 0.75rem;
		color: var(--wp--preset--color--muted);
		font: var(--ds-label);
		letter-spacing: 0.14em;
		text-transform: uppercase;
	}
	.ds-mega .ds-mega__title a { padding: 0; color: inherit; background: none; font: inherit; letter-spacing: inherit; }
	.ds-mega .ds-mega__title a:hover { color: var(--wp--preset--color--ink); text-decoration: none; }
	.ds-mega ul { display: flex !important; flex-direction: column; gap: 0.1rem; }
	.ds-mega a { padding: 0.35rem 0; border-radius: 0; font-size: 0.95rem; white-space: normal; }
	.ds-mega a:hover, .ds-mega a[aria-current] { background: none; text-decoration: underline; text-underline-offset: 3px; }
	.ds-mega .ds-nav__sub-all { margin-top: 0.5rem; padding-top: 0; border: 0; }
	.ds-mega .ds-nav__sub-all a { font-size: var(--wp--preset--font-size--small); text-decoration: underline; text-underline-offset: 3px; }
	.ds-mega__col--brands img { display: block; width: auto; max-width: 8.5rem; height: 2.25rem; object-fit: contain; object-position: left center; }
	.ds-mega__card {
		position: relative;
		display: block;
		/* Keskenyebb asztali képernyőn összébb megy (nem lóg ki a panel jobb szélén). */
		flex: 0 1 22rem;
		min-width: 14rem;
		margin-left: auto;
		overflow: hidden;
		padding: 0 !important;
		border-radius: var(--wp--custom--radius--card) !important;
		aspect-ratio: 4 / 3;
		color: #fff;
	}
	.ds-mega__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ds-ease); }
	.ds-mega__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / 0.6), transparent 60%); }
	.ds-mega__card-text { position: absolute; left: 1.5rem; right: 1.5rem; bottom: 1.5rem; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; }
	.ds-mega__card-title { color: #fff; font-family: var(--wp--preset--font-family--display); font-size: 1.75rem; line-height: 1.1; }
	.ds-mega__card-button {
		padding: 0.7rem 1.1rem;
		border-radius: var(--wp--custom--radius--control);
		background: var(--wp--preset--color--surface);
		color: var(--wp--preset--color--ink);
		font: var(--ds-label);
		letter-spacing: 0.12em;
		text-transform: uppercase;
	}
	.ds-mega__card:hover { background: none !important; text-decoration: none !important; }
	.ds-mega__card:hover img { transform: scale(1.04); }
}
/* Keskeny képernyőn (oldalsó menü) a mega menüből csak az alkategóriák listája. */
@media (max-width: 1180px) {
	.ds-mega :is(.ds-mega__title, .ds-mega__col--extra, .ds-mega__card) { display: none; }
}

.site-header__actions { gap: 0.15rem; flex: none; justify-self: end; }
/* A kosár ikonja a többihez illő vékony táska (a WooCommerce saját ikonja helyett). */
.site-header__actions .wc-block-mini-cart__button {
	position: relative;
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border-radius: var(--wp--custom--radius--pill);
	color: var(--wp--preset--color--ink);
	transition: background-color 0.2s var(--ds-ease);
}
.site-header__actions .wc-block-mini-cart__button:hover { background: var(--wp--preset--color--mint); }
.site-header__actions .wc-block-mini-cart__quantity-badge { display: grid; place-items: center; position: static; }
.site-header__actions .wc-block-mini-cart__icon { display: none; }
.site-header__actions .wc-block-mini-cart__quantity-badge::before {
	content: "";
	width: 1.5rem;
	height: 1.5rem;
	background: currentColor;
	-webkit-mask: url("../img/icons/handbag.svg") center / contain no-repeat;
	mask: url("../img/icons/handbag.svg") center / contain no-repeat;
}

/* Kereső keskeny képernyőn: a nagyító alatt lenyíló sáv a fejléc teljes sorában (JavaScript nélkül a #ds-search horgony
   nyitja); asztalon a felső sor közepén (lásd a fejlécnél). */
.ds-search-panel { display: none; grid-column: 1 / -1; padding-block: 1.25rem 1.5rem; border-top: 1px solid var(--wp--preset--color--line); }
.ds-search-panel.is-open, .ds-search-panel:target { display: block; animation: ds-pop 0.18s var(--ds-ease); }
/* A kereső mező (asztalon a fejléc közepén, keskeny képernyőn a lenyíló sávban): lekerekített, világos, fekete gombbal. */
.site-search { max-width: 44rem; margin: 0 auto; }
.site-search .wp-block-search__inside-wrapper {
	padding: 0.3rem 0.3rem 0.3rem 1.25rem;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--paper);
	transition: border-color 0.2s var(--ds-ease), background-color 0.2s var(--ds-ease);
}
.site-search .wp-block-search__inside-wrapper:focus-within { border-color: var(--wp--preset--color--ink); background: var(--wp--preset--color--surface); }
.site-search .wp-block-search__input {
	min-width: 0;
	border: 0;
	background: transparent;
	padding: 0.55rem 0;
	font-size: 1rem;
	color: var(--wp--preset--color--ink);
}
.site-search .wp-block-search__input:focus { outline: none; }
.site-search .wp-block-search__input::-webkit-search-cancel-button { display: none; }
.site-search .wp-block-search__button {
	flex: none;
	margin: 0;
	padding: 0.6rem;
	border: 0;
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--accent);
	color: #fff;
}
.site-search .wp-block-search__button svg { fill: currentColor; width: 1.2rem; height: 1.2rem; }

/* ---------- Főoldal: nyitókép (lapozó, assets/js/hero.js) ---------- */

.site-main { padding-top: var(--wp--preset--spacing--40); }
/* A nyitókép közvetlenül a fejléc alatt (a blokkok közötti alap térköz nélkül). */
.wp-site-blocks > .site-main--front { margin-block-start: 0; }
.site-main > .ds-hero:first-child { margin-top: calc(-1 * var(--wp--preset--spacing--40)); }

.ds-hero {
	position: relative;
	background: linear-gradient(100deg, var(--wp--preset--color--surface) 0 38%, var(--wp--preset--color--paper));
	border-bottom: 1px solid var(--wp--preset--color--line);
	overflow: hidden;
}
.ds-hero__carousel { position: relative; }
.ds-hero__track { display: grid; touch-action: pan-y; }
.ds-slide {
	grid-area: 1 / 1;
	position: relative;
	display: grid;
	align-items: center;
	/* A széles (16:9) fotó egészében látsszon: a magasság a szélesség 9/16-a, de a képernyőn belül marad (a fejléc alatt). */
	min-height: clamp(30rem, min(56.25vw, calc(100svh - 7.5rem)), 64rem);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.9s var(--ds-ease), visibility 0s linear 0.9s;
}
.ds-slide.is-active { opacity: 1; visibility: visible; transition: opacity 0.9s var(--ds-ease), visibility 0s; z-index: 1; }

.ds-slide__media {
	position: absolute;
	inset: 0;
	overflow: hidden;
}
/* A fotó a dia teljes háttere; balról halványan fehérbe fut, hogy a rajta álló szöveg olvasható maradjon. */
.ds-slide__media:not(.ds-slide__media--product)::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgb(255 255 255 / 0.9) 0%, rgb(255 255 255 / 0.72) 28%, rgb(255 255 255 / 0) 60%);
	pointer-events: none;
}
.ds-slide__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 25%; /* ha vágni kell, inkább alul (a fotók teteje a fontosabb) */
	transform-origin: 50% 25%;
	transform: scale(1.06);
	transition: transform calc(var(--ds-hero-interval, 7000ms) + 1s) linear;
}
.ds-slide.is-active .ds-slide__img { transform: scale(1); }
/* Termékkép: egészben, a háttérhez simulva (a fehér háttér a szorzásos keveréssel eltűnik). */
.ds-slide__media--product {
	left: auto;
	width: 62%;
	--ds-pad-top: clamp(1.5rem, 3vw, 2.5rem);
	--ds-pad-bottom: 5.5rem; /* a lapozó sávja alatta */
	background: radial-gradient(closest-side, var(--wp--preset--color--surface), transparent);
	-webkit-mask-image: none;
	mask-image: none;
}
.ds-slide__media--product .ds-slide__img {
	position: absolute;
	top: var(--ds-pad-top);
	left: 3rem;
	width: calc(100% - 3rem - var(--ds-gutter));
	height: calc(100% - var(--ds-pad-top) - var(--ds-pad-bottom));
	object-fit: contain;
	mix-blend-mode: multiply;
}

.ds-slide__text {
	position: relative;
	z-index: 1;
	box-sizing: content-box;
	max-width: 33rem;
	padding: 3.5rem 0 6.5rem var(--ds-gutter);
}
.ds-slide__title {
	margin: 1.25rem 0 1.1rem;
	font-size: var(--wp--preset--font-size--xx-large);
	font-weight: 500;
	line-height: 1.02;
	letter-spacing: -0.015em;
	text-wrap: balance;
	padding-bottom: 0.05em; /* a dőlt kiemelés alsó szára ne vágódjon */
}
.ds-slide__lead { margin: 0; max-width: 30rem; color: var(--wp--preset--color--muted); font-size: 1.05rem; line-height: 1.65; }
.ds-slide__button { display: inline-flex; align-items: center; gap: 0.75rem; margin-top: 2rem; text-decoration: none; }
.ds-slide__button .ds-icon { width: 1.15rem; height: 1.15rem; transition: transform 0.2s var(--ds-ease); }
.ds-slide__button:hover .ds-icon { transform: translateX(3px); }

/* Az új dia szövege kicsit lentről úszik be (csak ha a szkript fut: nélküle minden azonnal látszik). */
.ds-hero__carousel.is-ready .ds-slide__text > * {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 0.6s var(--ds-ease), transform 0.7s var(--ds-ease);
}
.ds-hero__carousel.is-ready .ds-slide.is-active .ds-slide__text > * { opacity: 1; transform: none; }
.ds-hero__carousel.is-ready .ds-slide.is-active .ds-slide__text > :nth-child(2) { transition-delay: 0.08s; }
.ds-hero__carousel.is-ready .ds-slide.is-active .ds-slide__text > :nth-child(3) { transition-delay: 0.16s; }
.ds-hero__carousel.is-ready .ds-slide.is-active .ds-slide__text > :nth-child(4) { transition-delay: 0.24s; }

.ds-hero__bar {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 2rem;
	padding: 0 var(--ds-gutter) 1.75rem;
	pointer-events: none;
}
.ds-hero__bar > * { pointer-events: auto; }
.ds-hero__perks { display: flex; flex-wrap: wrap; gap: 0.6rem 1.75rem; margin: 0; padding: 0; list-style: none; }
.ds-hero__perks li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; color: var(--wp--preset--color--muted); }
.ds-hero__perks .ds-icon { width: 1.15rem; height: 1.15rem; color: var(--wp--preset--color--ink); }
.ds-hero__controls { display: flex; align-items: center; gap: 0.25rem; margin-left: auto; }
.ds-hero__controls .ds-iconbtn { width: 2.5rem; height: 2.5rem; background: rgb(255 255 255 / 0.7); }
.ds-hero__controls .ds-iconbtn:hover { background: var(--wp--preset--color--surface); }
.ds-hero__controls .ds-icon { width: 1.15rem; height: 1.15rem; }
.ds-hero__icon-play, .ds-hero__carousel.is-paused .ds-hero__icon-pause { display: none; }
.ds-hero__carousel.is-paused .ds-hero__icon-play { display: block; }
.ds-hero__dots { display: flex; gap: 0.35rem; margin-inline: 0.35rem; }
/* Pöttyök helyett vékony vonalak; az aktív kitelik, ahogy telik az idő a következő diáig. */
.ds-hero__dot {
	position: relative;
	width: 2.25rem;
	height: 1.75rem;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}
.ds-hero__dot::before, .ds-hero__dot::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	height: 2px;
	margin-top: -1px;
	background: var(--wp--preset--color--line);
}
.ds-hero__dot::after { background: var(--wp--preset--color--ink); transform: scaleX(0); transform-origin: left; }
.ds-hero__dot[aria-current]::after { transform: scaleX(1); }
.ds-hero__carousel.is-running .ds-hero__dot[aria-current]::after { animation: ds-progress var(--ds-hero-interval, 7000ms) linear; }
@keyframes ds-progress { from { transform: scaleX(0); } }
.ds-hero__dot:hover::before { background: var(--wp--preset--color--muted); }

/* ---------- Főoldal: szekciók ---------- */

.section__head { margin-bottom: 2.25rem; text-align: center; }
.section__head h2 { margin: 0; }
.section__head h2::after {
	content: "";
	display: block;
	width: 3rem;
	height: 1px;
	margin: 1rem auto 0;
	background: var(--wp--preset--color--ink);
}
.section__note { margin: 1rem 0 0; color: var(--wp--preset--color--muted); font-size: var(--wp--preset--font-size--small); }
.section__more { margin: 2.5rem 0 0; text-align: center; }
.section--sale { scroll-margin-top: 8rem; }

.cat-tiles {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
	gap: 1.25rem;
}
.cat-tile {
	display: block;
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--card);
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--ink);
	text-decoration: none;
	transition: box-shadow 0.25s var(--ds-ease), transform 0.25s var(--ds-ease);
}
.cat-tile img { display: block; width: 100%; aspect-ratio: 4 / 3.6; object-fit: cover; transition: transform 0.5s var(--ds-ease); }
.cat-tile__blank { display: block; aspect-ratio: 4 / 3.6; background: var(--wp--preset--color--mint); }
.cat-tile__name {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	padding: 0.9rem 1.1rem 1rem;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 500;
	font-size: 1.35rem;
	line-height: 1.15;
}
/* Hosszú név (pl. „Ajándékcsomagok”): elválasztva tör (a lap nyelve magyar). */
.cat-tile__name > :first-child, .cat-tile__name { hyphens: auto; overflow-wrap: break-word; }
.cat-tile__name .ds-icon { flex: none; width: 1.1rem; height: 1.1rem; transition: transform 0.2s var(--ds-ease); }
.cat-tile:hover { box-shadow: var(--ds-shadow); transform: translateY(-2px); }
.cat-tile:hover img { transform: scale(1.04); }
.cat-tile:hover .ds-icon { transform: translateX(3px); }

/* Márkák oldal: fent a népszerű márkák logós csempéi (logó nélkül a neve talpas betűvel), alatta kereső, betűsor és
   a márkák betűnként. */
.brands-popular, .brands-az { margin-top: var(--wp--preset--spacing--50); }
.brands-popular__title, .brands-az__title { margin: 0 0 1.25rem; font-size: var(--wp--preset--font-size--large); }
.brand-tiles {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
	gap: 1rem;
}
.brand-tile {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--card);
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--ink);
	text-decoration: none;
	transition: box-shadow 0.25s var(--ds-ease), transform 0.25s var(--ds-ease);
}
.brand-tile__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 3 / 2;
	padding: 1.25rem;
}
.brand-tile__logo img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform 0.5s var(--ds-ease); }
.brand-tile__logo--text span {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 500;
	font-size: 1.5rem;
	line-height: 1.1;
	text-align: center;
	overflow-wrap: anywhere;
}
.brand-tile__name {
	padding: 0.7rem 1rem 0.8rem;
	border-top: 1px solid var(--wp--preset--color--line);
	font: var(--ds-label);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-align: center;
}
.brand-tile:hover { box-shadow: var(--ds-shadow); transform: translateY(-2px); }
.brand-tile:hover img { transform: scale(1.04); }

.brands-az__tools {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.5rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid var(--wp--preset--color--line);
}
.brands-search { position: relative; flex: 0 1 18rem; }
.brands-search .ds-icon { position: absolute; left: 0.85rem; top: 50%; width: 1.15rem; height: 1.15rem; transform: translateY(-50%); color: var(--wp--preset--color--muted); pointer-events: none; }
.brands-search:has(.brands-search__input[hidden]) { display: none; }
.brands-search__input {
	width: 100%;
	min-height: 2.75rem;
	padding: 0.5rem 0.85rem 0.5rem 2.5rem;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--control);
	background: var(--wp--preset--color--surface);
	font: inherit;
	color: var(--wp--preset--color--ink);
}
.brands-search__input:focus { outline: none; border-color: var(--wp--preset--color--ink); box-shadow: inset 0 0 0 1px var(--wp--preset--color--ink); }
.brands-letters { display: flex; flex: 1 1 100%; gap: 0.25rem; }
.brands-letters a, .brands-letters span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 1 1 0;
	min-width: 0;
	height: 2.25rem;
	padding: 0 0.35rem;
	white-space: nowrap;
	border-radius: var(--wp--custom--radius--control);
	font-weight: 600;
	font-size: var(--wp--preset--font-size--small);
}
.brands-letters a { color: var(--wp--preset--color--ink); text-decoration: none; transition: background-color 0.2s var(--ds-ease), color 0.2s var(--ds-ease); }
.brands-letters a:hover { background: var(--wp--preset--color--accent); color: #fff; }
.brands-letters span { color: var(--wp--preset--color--line); }
.brands-group {
	display: grid;
	grid-template-columns: 4rem minmax(0, 1fr);
	gap: 1rem;
	padding-block: 1.5rem;
	border-bottom: 1px solid var(--wp--preset--color--line);
	scroll-margin-top: 8rem;
}
.brands-group__letter { margin: 0; font-size: 2.25rem; line-height: 1; }
.brands-group__list { list-style: none; margin: 0; padding: 0; columns: 4 12rem; column-gap: 1.5rem; }
.brands-group__list li { break-inside: avoid; padding: 0.3rem 0; }
.brands-group__list a { color: var(--wp--preset--color--ink); text-decoration: none; }
.brands-group__list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.brands-group__count { color: var(--wp--preset--color--muted); font-size: var(--wp--preset--font-size--x-small); }
.brands-az__none, .brands-empty { margin-top: 1.5rem; color: var(--wp--preset--color--muted); }

.store {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: var(--wp--preset--spacing--50);
	align-items: center;
	padding: var(--wp--preset--spacing--50);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--card);
	background: var(--wp--preset--color--surface);
}
.store__intro h2 { margin: 1rem 0 0.85rem; }
.store__intro p:last-child { color: var(--wp--preset--color--muted); margin: 0; }
.store__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; margin: 0; }
.store__facts dt {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font: var(--ds-label);
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.store__facts dt .ds-icon { width: 1.25rem; height: 1.25rem; }
.store__facts dd { margin: 0.45rem 0 0 calc(1.25rem + 0.6rem); color: var(--wp--preset--color--muted); }
.store__facts a { color: var(--wp--preset--color--ink); }

/* Átvétel, kiszállítás, fizetés (perks minta: más oldalakon használható). */
.perks {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
	gap: 1px;
	background: var(--wp--preset--color--line);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--card);
	overflow: hidden;
	scroll-margin-top: 8rem;
}
.perk { background: var(--wp--preset--color--surface); padding: 1.5rem 1.4rem; margin: 0 !important; }
.perk__title { font-size: 1.3rem; margin: 0.9rem 0 0.3rem; }
.perk__text { margin: 0; color: var(--wp--preset--color--muted); }

/* ---------- Termékkártya (főoldal, kategória, kereső, kapcsolódók, kedvencek) ---------- */
/* A WooCommerce blokkjainak saját osztályaira épül, így a kapcsolódó termékek (a WooCommerce mintája) is ilyenek. */

.wc-block-product-template.wc-block-product-template, .ds-wishlist__grid { gap: 1.25rem !important; }
.wc-block-product-template .wc-block-product, .ds-wishlist__item {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	/* A gomb a kártya alján (a rövidebb nevű kártyákon is egy vonalban): a név utáni sor nyúlik. */
	grid-template-rows: auto auto 1fr auto auto;
	grid-template-areas: "image" "title" "brand" "price" "button";
	row-gap: 0.3rem;
	padding: 0 0 1rem;
	overflow: hidden;
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--card);
	text-align: left;
	transition: box-shadow 0.25s var(--ds-ease), transform 0.25s var(--ds-ease), opacity 0.2s var(--ds-ease);
}
.wc-block-product-template .wc-block-product:hover, .ds-wishlist__item:hover { box-shadow: var(--ds-shadow); transform: translateY(-2px); }
.wc-block-product .wc-block-components-product-image {
	grid-area: image;
	position: relative;
	margin: 0 0 0.85rem !important;
	background: var(--wp--preset--color--mint);
	border-radius: 0;
	overflow: hidden;
}
.wc-block-product .wc-block-components-product-image img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	transition: transform 0.5s var(--ds-ease);
}
.wc-block-product:hover .wc-block-components-product-image img { transform: scale(1.03); }
.wc-block-product .wp-block-post-title, .wc-block-product .product-card__title {
	grid-area: title;
	margin: 0 !important;
	padding-inline: 1.1rem;
	font-family: var(--wp--preset--font-family--body);
	font-size: 1rem !important;
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: 0;
	text-align: left !important;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.wc-block-product .wp-block-post-title a, .wc-block-product .product-card__title a { color: var(--wp--preset--color--ink); text-decoration: none; }
/* Az egész kártya a termékre visz (a szív és a kosár gomb fölötte van). */
.wc-block-product .wp-block-post-title a::after, .wc-block-product .product-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.wc-block-product .product-card__brand {
	grid-area: brand;
	margin: 0;
	padding-inline: 1.1rem;
	font: 500 0.7rem/1.4 var(--wp--preset--font-family--body);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}
.wc-block-product .product-card__brand a { color: inherit; text-decoration: none; }
.wc-block-product .wc-block-components-product-price, .wc-block-product .wp-block-woocommerce-product-price {
	grid-area: price;
	margin: 0.4rem 0 0 !important;
	padding-inline: 1.1rem;
	font-size: 1.05rem !important;
	font-weight: 700;
	text-align: left !important;
	color: var(--wp--preset--color--ink);
}
.wc-block-product .wp-block-woocommerce-product-price .wc-block-components-product-price { padding: 0; margin: 0 !important; }
.wc-block-product .wp-block-woocommerce-product-button, .wc-block-product .wc-block-components-product-button {
	grid-area: button;
	position: relative;
	z-index: 2;
	display: block !important;
	margin: 0.6rem 0 0 !important;
	padding-inline: 1.1rem;
}
.wc-block-product .wc-block-components-product-button .wc-block-components-product-button { padding: 0; margin: 0 !important; }
/* „Kosárba teszem”: a kártya szélességében. A méretezés és az aláhúzás itt van, nem a gomb blokk CSS-éből: a Kedvencek
   oldalon (szkript rajzolja a kártyákat) az nem töltődik be. */
.wc-block-product .wc-block-components-product-button__button {
	box-sizing: border-box;
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	min-height: 2.75rem;
	margin: 0 !important;
	padding: 0.6rem 0.75rem !important;
	border: 1px solid var(--wp--preset--color--accent) !important;
	border-radius: var(--wp--custom--radius--control) !important;
	background: var(--wp--preset--color--accent) !important;
	color: #fff !important;
	font: var(--ds-label) !important;
	letter-spacing: 0.12em !important;
	text-transform: uppercase;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.2s var(--ds-ease), color 0.2s var(--ds-ease);
}
.wc-block-product .wc-block-components-product-button__button:hover {
	background: var(--wp--preset--color--surface) !important;
	color: var(--wp--preset--color--accent) !important;
}
/* Kattintás után nincs keret (a WooCommerce :focus-keretje); billentyűzettel (Tab) marad a fókuszjelzés. */
.wc-block-product .wc-block-components-product-button__button:focus:not(:focus-visible) { outline: none !important; box-shadow: none !important; }
.wc-block-product .wc-block-components-product-button__button.loading,
.wc-block-product .wc-block-components-product-button__button.is-loading { opacity: 0.5; pointer-events: none; }
.wc-block-product .added_to_cart { display: none !important; }

/* Szív a kártya képén (és a termékoldalon, felirattal). */
.ds-heart {
	position: absolute;
	top: 0.65rem;
	right: 0.65rem;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 2.4rem;
	height: 2.4rem;
	padding: 0;
	border: 0;
	border-radius: var(--wp--custom--radius--pill);
	background: rgb(255 255 255 / 0.85);
	color: var(--wp--preset--color--ink);
	cursor: pointer;
	transition: background-color 0.2s var(--ds-ease);
}
.ds-heart:hover { background: var(--wp--preset--color--surface); }
.ds-heart .ds-icon { grid-area: 1 / 1; width: 1.3rem; height: 1.3rem; }
.ds-heart__on, .ds-heart[aria-pressed="true"] .ds-heart__off { display: none; }
.ds-heart[aria-pressed="true"] .ds-heart__on { display: block; }
.ds-heart.is-pop .ds-icon { animation: ds-heart-pop 0.35s var(--ds-ease); }
@keyframes ds-heart-pop { 40% { transform: scale(1.3); } }

/* Ár és akció */
.wc-block-components-product-price del, .wp-block-woocommerce-product-price del, .price del {
	color: var(--wp--preset--color--muted);
	font-weight: 500;
	font-size: 0.85em;
	margin-right: 0.35rem;
}
.wc-block-components-product-price ins, .wp-block-woocommerce-product-price ins, .price ins {
	text-decoration: none;
	color: var(--wp--preset--color--sale);
}
/* Az „Akció” jelvény: a kártyákon (blokk) és a termékoldal képén (a galéria .onsale-ja) ugyanaz. */
.wc-block-components-product-sale-badge, .woocommerce span.onsale {
	position: absolute;
	top: 0 !important;
	left: 0 !important;
	z-index: 2;
	min-width: 0 !important;
	min-height: 0 !important;
	border: 0 !important;
	border-radius: 2px !important;
	background: var(--wp--preset--color--sale) !important;
	color: #fff !important;
	font: 700 0.65rem/1 var(--wp--preset--font-family--body) !important;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	padding: 0.4rem 0.55rem !important;
	margin: 0.75rem !important;
}

/* ---------- Változatcímkék (assets/js/variation-chips.js) ---------- */

/* A címkékkel a változattábla egymás alá rendeződik: felirat (a választottal), alatta a címkék. */
.woocommerce div.product .product-hero__buy table.variations:has(.ds-chips),
.product-hero__buy table.variations:has(.ds-chips) tbody,
.product-hero__buy table.variations:has(.ds-chips) tr { display: block; }
.woocommerce div.product .product-hero__buy table.variations:has(.ds-chips) th,
.woocommerce div.product .product-hero__buy table.variations:has(.ds-chips) td {
	display: block;
	width: auto;
	padding: 0 !important;
}
.woocommerce div.product .product-hero__buy table.variations:has(.ds-chips) th { margin-bottom: 0.6rem; }
.woocommerce div.product .product-hero__buy table.variations:has(.ds-chips) td { margin-bottom: 1.25rem; }
.product-hero__buy table.variations:has(.ds-chips) th label {
	font: var(--ds-label);
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.ds-chips__current { font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--wp--preset--color--muted); font-size: var(--wp--preset--font-size--small); }
.ds-chips__current:not(:empty)::before { content: ": "; }

.ds-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.ds-chip__input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.ds-chip {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	padding: 0.45rem 1.1rem;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--control);
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--ink);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
	line-height: 1.2;
	cursor: pointer;
	user-select: none;
	transition: border-color 0.15s var(--ds-ease), background-color 0.15s var(--ds-ease), color 0.15s var(--ds-ease);
}
.ds-chip:hover { border-color: var(--wp--preset--color--ink); }
.ds-chip__input:checked + .ds-chip {
	border-color: var(--wp--preset--color--ink);
	background: var(--wp--preset--color--ink);
	color: #fff;
}
.ds-chip__input:focus-visible + .ds-chip { outline: 2px solid var(--wp--preset--color--ink); outline-offset: 2px; }
.ds-chip.is-unavailable {
	color: var(--wp--preset--color--muted);
	background: transparent;
	border-style: dashed;
	text-decoration: line-through;
	text-decoration-color: rgb(107 107 104 / 0.6);
	opacity: 0.75;
}
.ds-chip__input:checked + .ds-chip.is-unavailable { background: var(--wp--preset--color--muted); border-style: solid; color: #fff; }
.woocommerce div.product .product-hero__buy .reset_variations { display: inline-block; margin: -0.5rem 0 1rem; padding: 0; }

/* ---------- Rendezés (assets/js/sort-select.js) ---------- */

.ds-select { position: relative; display: inline-flex; align-items: center; gap: 0.6rem; }
.ds-select__caption { font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted); }
.ds-select__button {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	min-height: 2.75rem;
	padding: 0.45rem 0.85rem 0.45rem 1.05rem;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--control);
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--ink);
	font: inherit;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	cursor: pointer;
	transition: border-color 0.15s var(--ds-ease);
}
.ds-select__button:hover, .ds-select__button[aria-expanded="true"] { border-color: var(--wp--preset--color--ink); }
.ds-select__chevron { width: 1rem; height: 1rem; fill: var(--wp--preset--color--muted); transition: transform 0.2s var(--ds-ease); }
.ds-select__button[aria-expanded="true"] .ds-select__chevron { transform: rotate(180deg); }
.ds-select__list {
	position: absolute;
	top: calc(100% + 0.4rem);
	right: 0;
	z-index: 30;
	min-width: 15rem;
	margin: 0;
	padding: 0.4rem;
	list-style: none;
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--card);
	box-shadow: var(--ds-shadow-pop);
	outline: none;
	animation: ds-pop 0.14s var(--ds-ease);
}
.ds-select__option {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.6rem 0.75rem;
	border-radius: var(--wp--custom--radius--control);
	font-size: var(--wp--preset--font-size--small);
	cursor: pointer;
}
.ds-select__option.is-active { background: var(--wp--preset--color--mint); }
.ds-select__option[aria-selected="true"] { font-weight: 700; }
.ds-select__option[aria-selected="true"]::after {
	content: "";
	width: 1rem;
	height: 1rem;
	background: var(--wp--preset--color--ink);
	-webkit-mask: url("../img/icons/check.svg") center / contain no-repeat;
	mask: url("../img/icons/check.svg") center / contain no-repeat;
}
.woocommerce-ordering { margin: 0; }
/* A lista sosem szélesebb a képernyőnél; hogy jobbra vagy balra zárjon, azt a szkript dönti el nyitáskor
   (a gomb helye a sorban a találatszám hosszától függ). */
.ds-select__list { max-width: calc(100vw - 2rem); }
.ds-select__list.is-left { left: 0; right: auto; }

/* ---------- Üzenetek (kosárba tétel, hibák) ---------- */

.wc-block-components-notice-banner {
	align-items: center !important;
	gap: 0.85rem !important;
	margin: 1rem 0 0 !important;
	padding: 0.85rem 0.9rem 0.85rem 1rem !important;
	border: 1px solid var(--wp--preset--color--line) !important;
	border-radius: var(--wp--custom--radius--card) !important;
	background: var(--wp--preset--color--surface) !important;
	color: var(--wp--preset--color--ink) !important;
	box-shadow: var(--ds-shadow);
	font-size: var(--wp--preset--font-size--small) !important;
}
/* A WooCommerce fókuszba teszi (a felolvasónak), a keret ettől nem kell. */
.wc-block-components-notice-banner:focus { outline: none !important; }
.wc-block-components-notice-banner > svg {
	flex: none;
	width: 2rem !important;
	height: 2rem !important;
	padding: 0.3rem;
	border-radius: 50%;
	background: var(--wp--preset--color--ink) !important;
	fill: #fff !important;
}
.wc-block-components-notice-banner.is-error > svg { background: var(--wp--preset--color--sale) !important; }
.wc-block-components-notice-banner.is-info > svg { background: var(--wp--preset--color--muted) !important; }
.wc-block-components-notice-banner__content {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.6rem 1rem;
	flex: 1 1 auto;
	font-weight: 600;
	color: var(--wp--preset--color--ink) !important;
}
/* A WooCommerce `.wc-block-components-notice-banner > … .wc-forward` szabálya (!important) átlátszóvá tenné: az `a` erősebb. */
.wc-block-components-notice-banner > .wc-block-components-notice-banner__content a.wc-forward,
.wc-block-components-notice-banner > .wc-block-components-notice-banner__content a.button {
	order: 2;
	float: none !important;
	margin: 0 !important;
	padding: 0.7rem 1.15rem !important;
	border: 1px solid var(--wp--preset--color--accent) !important;
	border-radius: var(--wp--custom--radius--control) !important;
	background: var(--wp--preset--color--accent) !important;
	color: #fff !important;
	font: var(--ds-label) !important;
	letter-spacing: 0.12em !important;
	text-transform: uppercase;
	text-decoration: none !important;
	opacity: 1 !important;
	white-space: nowrap;
}
.wc-block-components-notice-banner > .wc-block-components-notice-banner__content a.wc-forward:hover {
	background: var(--wp--preset--color--surface) !important;
	color: var(--wp--preset--color--accent) !important;
}
@media (max-width: 781px) {
	.wc-block-components-notice-banner { align-items: flex-start !important; }
	.wc-block-components-notice-banner > .wc-block-components-notice-banner__content a.wc-forward { width: 100%; text-align: center; }
}

/* ---------- Gyorskosár (assets/js/quick-add.js) ---------- */

.ds-quick {
	width: min(880px, calc(100vw - 2rem));
	max-height: calc(100dvh - 2rem);
	margin: auto;
	padding: 0;
	border: 0;
	border-radius: var(--wp--custom--radius--card);
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--ink);
	box-shadow: 0 30px 80px -20px rgb(21 21 21 / 0.45);
	overflow: auto;
}
.ds-quick::backdrop { background: rgb(21 21 21 / 0.45); backdrop-filter: blur(2px); }
.ds-quick[open] { animation: ds-quick-in 0.22s var(--ds-ease); }
@keyframes ds-quick-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } }
.ds-quick__close-form { position: absolute; top: 0.75rem; right: 0.75rem; z-index: 2; margin: 0; }
.ds-quick__close {
	display: grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--wp--preset--color--surface);
	box-shadow: var(--ds-shadow);
	cursor: pointer;
}
.ds-quick__close svg { width: 1.1rem; height: 1.1rem; fill: var(--wp--preset--color--ink); }
.ds-quick__close:hover { background: var(--wp--preset--color--mint); }
.ds-quick__body { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.ds-quick__media { position: relative; overflow: hidden; background: var(--wp--preset--color--mint); }
/* A kép elmosott, nagyított változata a háttérben: ha a kép kisebb a sávnál, a széle így beleolvad. */
.ds-quick__media::before { content: ""; position: absolute; inset: -2rem; background: var(--ds-img) center / cover; filter: blur(28px) saturate(1.05); }
.ds-quick__media img { position: relative; display: block; width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; }
.ds-quick__info { padding: 2.25rem 2rem 1.75rem; display: flex; flex-direction: column; }
.ds-quick__brand {
	margin: 0;
	font: var(--ds-label);
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}
.ds-quick__title { margin: 0.5rem 2rem 0.6rem 0; font-size: 2rem; }
.ds-quick__price { margin: 0 0 1.5rem; font-size: 1.35rem; font-weight: 700; }
.ds-quick__price del { color: var(--wp--preset--color--muted); font-weight: 500; font-size: 0.8em; margin-right: 0.35rem; }
.ds-quick__price ins { text-decoration: none; color: var(--wp--preset--color--sale); }
.ds-quick__field { margin-bottom: 1.1rem; }
.ds-quick__label { margin: 0 0 0.6rem; font: var(--ds-label); letter-spacing: 0.14em; text-transform: uppercase; }
.ds-quick__stock { min-height: 1.4em; margin: 0 0 1rem; font-size: var(--wp--preset--font-size--small); font-weight: 600; color: var(--wp--preset--color--muted); }
.ds-quick__stock.is-in-stock { color: #2F6B3A; }
.ds-quick__stock.is-out { color: var(--wp--preset--color--sale); }
.ds-quick__stock.is-in-stock::before, .ds-quick__stock.is-out::before {
	content: "";
	display: inline-block;
	width: 0.5rem;
	height: 0.5rem;
	margin-right: 0.45rem;
	border-radius: 50%;
	background: currentColor;
	vertical-align: 0.05em;
}
.ds-quick__buy { display: flex; gap: 0.75rem; margin-top: auto; }
.ds-quick__add {
	flex: 1 1 auto;
	min-height: 3rem;
	border-radius: var(--wp--custom--radius--control);
	font: var(--ds-label);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	cursor: pointer;
}
.ds-quick__add:disabled { opacity: 0.4; cursor: not-allowed; }
.ds-quick__add:disabled:hover { background: var(--wp--preset--color--accent); color: #fff; }
.ds-quick__add.is-loading { opacity: 0.7; cursor: progress; }
.ds-quick__error { margin: 0.75rem 0 0; color: var(--wp--preset--color--sale); font-size: var(--wp--preset--font-size--small); font-weight: 600; }
.ds-quick__more { margin-top: 1rem; color: var(--wp--preset--color--ink); font-size: var(--wp--preset--font-size--small); font-weight: 600; }

/* Mennyiség az ablakban: ugyanaz a keret, mint a termékoldalon. */
.ds-qty {
	display: inline-flex;
	align-items: center;
	min-height: 3rem;
	padding: 0 0.2rem;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--control);
	background: var(--wp--preset--color--surface);
}
.ds-qty:focus-within { border-color: var(--wp--preset--color--ink); }
.ds-qty__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.4rem;
	height: 2.4rem;
	padding: 0;
	border: 0;
	border-radius: var(--wp--custom--radius--control);
	background: transparent;
	color: var(--wp--preset--color--ink);
	cursor: pointer;
}
.ds-qty__btn::before,
.product-hero__buy .wc-block-components-quantity-selector__button::before {
	content: "";
	width: 1rem;
	height: 1rem;
	background: currentColor;
	-webkit-mask: var(--ds-qty-icon) center / contain no-repeat;
	mask: var(--ds-qty-icon) center / contain no-repeat;
}
.ds-qty__btn--minus, .product-hero__buy .wc-block-components-quantity-selector__button--minus {
	--ds-qty-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M222,128a6,6,0,0,1-6,6H40a6,6,0,0,1,0-12H216A6,6,0,0,1,222,128Z'/%3E%3C/svg%3E");
}
.ds-qty__btn--plus, .product-hero__buy .wc-block-components-quantity-selector__button--plus {
	--ds-qty-icon: url("../img/icons/plus.svg");
}
.ds-qty__btn:hover { background: var(--wp--preset--color--mint); }
.ds-qty__btn:disabled { color: var(--wp--preset--color--line); background: transparent; cursor: default; }
.ds-qty__btn:focus-visible { outline: 2px solid var(--wp--preset--color--ink); outline-offset: 1px; }
.ds-qty__input {
	width: 2.75rem;
	padding: 0;
	border: 0;
	background: transparent;
	text-align: center;
	font: inherit;
	font-weight: 700;
	color: var(--wp--preset--color--ink);
	-moz-appearance: textfield;
	appearance: textfield;
}
.ds-qty__input:focus { outline: none; }
.ds-qty__input::-webkit-inner-spin-button, .ds-qty__input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

/* Visszajelzés a képernyő alján. */
.ds-toast {
	position: fixed;
	left: 50%;
	bottom: 1.25rem;
	z-index: 100;
	display: flex;
	align-items: center;
	gap: 0.85rem;
	width: max-content;
	max-width: calc(100vw - 2rem);
	padding: 0.7rem 0.75rem 0.7rem 0.85rem;
	border-radius: var(--wp--custom--radius--card);
	background: var(--wp--preset--color--ink);
	color: #fff;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	box-shadow: 0 18px 40px -16px rgb(21 21 21 / 0.55);
	transform: translate(-50%, calc(100% + 2rem));
	opacity: 0;
	transition: transform 0.3s var(--ds-ease), opacity 0.3s var(--ds-ease);
}
.ds-toast.is-visible { transform: translate(-50%, 0); opacity: 1; }
.ds-toast__icon {
	flex: none;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 50%;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%23151515' d='M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z'/%3E%3C/svg%3E") center / 0.9rem no-repeat;
}
.ds-toast__link {
	flex: none;
	padding: 0.55rem 0.9rem;
	border-radius: var(--wp--custom--radius--control);
	background: #fff;
	color: var(--wp--preset--color--ink);
	font: var(--ds-label);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
}
.ds-toast__link:hover { background: var(--wp--preset--color--mint); }

/* ---------- Kategóriaoldal: alkategóriák és szűrők (WooCommerce szűrőblokkok) ---------- */

.subcat-tiles li { display: flex; min-width: 0; }
.subcat-tile__name { min-width: 0; hyphens: auto; overflow-wrap: break-word; }
.subcat-tiles .subcat-tile { flex: 1; }
.subcat-tiles {
	list-style: none;
	margin: 1.5rem 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
	gap: 0.75rem;
}
.subcat-tile {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	box-sizing: border-box;
	height: 100%;
	padding: 0.55rem 1rem 0.55rem 0.55rem;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--control);
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--ink);
	font-weight: 600;
	text-decoration: none;
	transition: border-color 0.2s var(--ds-ease);
}
.subcat-tile:hover { border-color: var(--wp--preset--color--ink); }
.subcat-tile__image { flex: none; width: 3.25rem; height: 3.25rem; overflow: hidden; border-radius: var(--wp--custom--radius--control); background: var(--wp--preset--color--mint); }
.subcat-tile__image img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Asztalon balra a szűrők, jobbra a találatok; keskeny képernyőn a szűrők egy gombbal nyíló panelben (a blokk
   782 px alatt maga vált át, a töréspont a témáéval egyezik). */
.archive-layout {
	display: grid;
	grid-template-columns: 15rem minmax(0, 1fr);
	gap: 2.5rem;
	align-items: start;
	margin-top: 2rem;
}
.archive-layout > * { margin-block: 0 !important; }
.archive-results .archive-toolbar { margin-top: 0; }
.archive-filters .wc-block-product-filters__overlay-content { display: flex; flex-direction: column; gap: 0; }
.archive-filters .wc-block-product-filters__overlay-content > * { margin: 0 !important; }
.archive-filters :is(.wp-block-woocommerce-product-filter-taxonomy, .wp-block-woocommerce-product-filter-price,
	.wp-block-woocommerce-product-filter-status) {
	padding-block: 1.25rem;
	border-bottom: 1px solid var(--wp--preset--color--line);
}
.archive-filters .wc-block-product-filters__overlay-content > :first-child { padding-top: 0; }
.archive-filters__title {
	margin: 0 0 0.75rem !important;
	font-family: var(--wp--preset--font-family--body);
	font-size: 1rem !important;
	font-weight: 700;
	letter-spacing: 0;
}
.archive-filters fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.archive-filters .wc-block-product-filter-checkbox-list__items { display: flex; flex-direction: column; gap: 0.1rem; }
.archive-filters .wc-block-product-filter-checkbox-list__label { display: flex; align-items: center; gap: 0.65rem; padding: 0.3rem 0; cursor: pointer; }
.archive-filters .wc-block-product-filter-checkbox-list__text-wrapper { display: flex; flex: 1; gap: 0.5rem; justify-content: space-between; }
/* Az alkategóriák beljebb (a mélységet csak az elem adatai hordozzák, osztály nincs rá). */
.archive-filters .wc-block-product-filter-checkbox-list__item[data-wp-context*='"depth":1'] { padding-left: 1.5rem; }
.archive-filters .wc-block-product-filter-checkbox-list__item[data-wp-context*='"depth":2'] { padding-left: 3rem; }
.archive-filters .wc-block-product-filter-checkbox-list__count { color: var(--wp--preset--color--muted); font-size: var(--wp--preset--font-size--small); }
/* Jelölőnégyzet: halvány keret, bejelölve fekete, fehér pipával (a WooCommerce saját pipája). */
.archive-filters .wc-block-product-filter-checkbox-list__input-wrapper { position: relative; display: inline-flex; flex: none; }
.archive-filters .wc-block-product-filter-checkbox-list__input-wrapper::before { display: none; }
/* A WooCommerce saját (átlátszó) kerete és háttere erősebb szabály, ezért !important. */
.archive-filters .wc-block-product-filter-checkbox-list__input {
	appearance: none;
	width: 1.2rem;
	height: 1.2rem;
	margin: 0;
	border: 1px solid var(--wp--preset--color--muted) !important;
	border-radius: 3px;
	background: var(--wp--preset--color--surface) !important;
	cursor: pointer;
}
.archive-filters .wc-block-product-filter-checkbox-list__input:checked { border-color: var(--wp--preset--color--accent) !important; background: var(--wp--preset--color--accent) !important; }
.archive-filters .wc-block-product-filter-checkbox-list__input:focus-visible { outline: 2px solid var(--wp--preset--color--accent); outline-offset: 2px; }
.archive-filters .wc-block-product-filter-checkbox-list__input-wrapper svg { position: absolute; inset: 0; margin: auto; width: 0.9rem; height: 0.9rem; color: #fff; fill: currentColor; pointer-events: none; }
.archive-filters .wc-block-product-filter-checkbox-list__input:not(:checked) + svg { display: none; }
/* Ár: a csúszka alatt két mező egymás mellett. */
/* A WooCommerce elnevezett rácsterületekkel helyezi el a mezőket (left-input, right-input). */
.archive-filters .wc-block-product-filter-price-slider__content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-areas: "range range" "left-input right-input";
	gap: 1rem 0.5rem;
}
.archive-filters .wc-block-product-filter-price-slider__range { grid-area: range; }
.archive-filters .wc-block-product-filter-price-slider__content .text input {
	box-sizing: border-box;
	width: 100%;
	min-height: 2.5rem;
	padding: 0.4rem 0.6rem;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--control);
	background: var(--wp--preset--color--surface);
	font: inherit;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--ink);
}
.archive-filters .wc-block-product-filter-price-slider__content .text input:focus { outline: none; border-color: var(--wp--preset--color--ink); }
/* Aktív szűrők a termékek fölött (a Parfimo mintájára): kerek címkék, mellettük a törlés szöveges linkként. */
.archive-active-filters, .archive-results > .wp-block-woocommerce-product-collection { margin-block: 0 !important; }
.archive-active-filters .wp-block-buttons { margin: 0; }
.archive-active-filters .wp-block-woocommerce-product-filter-active:not([hidden]) {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1rem;
	margin-bottom: 1.25rem;
}
.archive-active-filters .wc-block-product-filter-removable-chips__items { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; list-style: none; }
.archive-active-filters .wc-block-product-filter-removable-chips__item {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.35rem 0.45rem 0.35rem 0.8rem;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 999px;
	background: var(--wp--preset--color--surface);
	font-size: var(--wp--preset--font-size--small);
}
.archive-active-filters .wc-block-product-filter-removable-chips__remove { display: inline-flex; padding: 0.1rem; border: 0; background: none; color: inherit; cursor: pointer; }
.archive-active-filters .wc-block-product-filter-removable-chips__remove svg { width: 1rem; height: 1rem; fill: currentColor; }
.archive-active-filters .wc-block-product-filter-clear-button .wp-block-button__link,
.archive-active-filters .wc-block-product-filter-clear-button .wp-block-button__link:hover {
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	color: var(--wp--preset--color--ink) !important;
	font: 600 var(--wp--preset--font-size--small) / 1.4 var(--wp--preset--font-family--body) !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	text-decoration: underline !important;
	text-underline-offset: 3px;
	cursor: pointer;
}
.archive-active-filters .wc-block-product-filter-clear-button .wp-block-button__link:hover { text-decoration-thickness: 2px !important; }

/* ---------- Kategória-, kereső- és kedvencek oldal ---------- */

.archive-head { padding-block: 0.5rem; }
.archive-head .wp-block-query-title, .archive-head .wp-block-post-title { margin: 0.75rem 0 0.35rem; font-size: var(--wp--preset--font-size--x-large); }
.archive-head .wp-block-term-description, .archive-head__lead { color: var(--wp--preset--color--muted); max-width: 60ch; margin-top: 0.5rem; }
.archive-toolbar { margin-block: 1.25rem 1.5rem; gap: 1rem; color: var(--wp--preset--color--muted); font-size: var(--wp--preset--font-size--small); }
.archive-toolbar p { margin: 0; }
.woocommerce-breadcrumb, .wc-block-breadcrumbs {
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: 0.04em;
	color: var(--wp--preset--color--muted);
}
.woocommerce-breadcrumb a, .wc-block-breadcrumbs a { color: var(--wp--preset--color--muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover, .wc-block-breadcrumbs a:hover { color: var(--wp--preset--color--ink); text-decoration: underline; }
.wp-block-query-pagination { margin-top: 2.5rem; gap: 0.5rem; font-weight: 600; }
.wp-block-query-pagination a { color: var(--wp--preset--color--ink); }
.wp-block-query-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 2.5rem; height: 2.5rem; padding: 0 0.6rem; border-radius: var(--wp--custom--radius--control); text-decoration: none; }
.wp-block-query-pagination .page-numbers.current { background: var(--wp--preset--color--ink); color: #fff; }

.ds-wishlist { margin-top: 1.5rem; }
.ds-wishlist__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.ds-wishlist__item.is-leaving { opacity: 0; transform: scale(0.97); }
.ds-wishlist__loading, .ds-wishlist__error { color: var(--wp--preset--color--muted); }
.ds-wishlist__empty {
	padding: var(--wp--preset--spacing--50) var(--wp--preset--spacing--40);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--card);
	background: var(--wp--preset--color--surface);
	text-align: center;
}
.ds-wishlist__empty-title { margin: 0 0 0.5rem; font-family: var(--wp--preset--font-family--display); font-size: 1.75rem; }
.ds-wishlist__empty p:not(.ds-wishlist__empty-title) { margin: 0 auto 1.75rem; max-width: 40ch; color: var(--wp--preset--color--muted); }
.ds-wishlist__empty .wp-element-button { display: inline-block; text-decoration: none; }

/* ---------- Termékoldal ---------- */

.product-hero { margin-top: 1rem; }
.product-hero__media .woocommerce-product-gallery {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--card);
	overflow: hidden;
	padding: 0;
	margin: 0;
}
.product-hero__media .woocommerce-product-gallery__image img { display: block; width: 100%; }
/* Rámutatásra nagyítás nincs (functions.php): a képre kattintva nyílik nagyban. */
.product-hero__media .woocommerce-product-gallery__image a { cursor: zoom-in; }
.product-hero__summary { position: sticky; top: 7rem; align-self: flex-start; }
.product-hero__brand { margin: 0; }
.product-hero__brand a {
	font: var(--ds-label);
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
	text-decoration: none;
}
.product-hero__title { font-size: var(--wp--preset--font-size--x-large) !important; margin: 0.6rem 0 0.9rem !important; }
.product-hero__price { font-size: 1.5rem !important; }
.product-hero__excerpt { color: var(--wp--preset--color--muted); }

.product-hero__buy { margin-top: 1.75rem; }
.product-hero__buy form.cart { margin: 0; }
.product-hero__buy table.variations { border: 0; margin: 0 0 1rem; width: 100%; border-collapse: separate; border-spacing: 0 0.6rem; }
.product-hero__buy table.variations th, .product-hero__buy table.variations td { border: 0; padding: 0; vertical-align: middle; text-align: left; }
.product-hero__buy table.variations th label { font-weight: 700; font-size: var(--wp--preset--font-size--small); }
.woocommerce div.product form.cart.variations_form .product-hero__buy table.variations th,
.woocommerce div.product .product-hero__buy table.variations th {
	width: 7.5rem;
	vertical-align: top !important;
	padding: 0.8rem 1rem 0.75rem 0 !important;
	line-height: 1.3 !important;
}
.woocommerce div.product .product-hero__buy table.variations td { vertical-align: top !important; padding: 0 0 0.75rem !important; }
.product-hero__buy table.variations td.value { line-height: 1; }
/* A WooCommerce `.woocommerce table.variations tr td select` szabálya (height: 3em) erősebb lenne. */
.woocommerce div.product .product-hero__buy table.variations td select {
	width: 100%;
	max-width: 22rem;
	appearance: none;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--control);
	background: var(--wp--preset--color--surface) url("../img/icons/caret-down.svg") no-repeat right 0.75rem center / 1rem;
	font: inherit;
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.3;
	height: auto;
	min-height: 2.9rem;
	padding: 0.7rem 2.25rem 0.7rem 0.9rem;
	color: var(--wp--preset--color--ink);
	cursor: pointer;
}
.woocommerce div.product .product-hero__buy table.variations td select:focus { border-color: var(--wp--preset--color--ink); outline: none; }
.product-hero__buy .reset_variations { font-size: var(--wp--preset--font-size--x-small); margin-left: 0.75rem; color: var(--wp--preset--color--muted); }
.product-hero__buy .woocommerce-variation-price .price { font-size: 1.35rem; font-weight: 700; }
.product-hero__buy .stock {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin: 0.25rem 0 1rem;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	color: #2F6B3A;
}
.product-hero__buy .stock::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: currentColor; }
.product-hero__buy .stock.out-of-stock { color: var(--wp--preset--color--sale); }
.product-hero__buy .woocommerce-variation-add-to-cart, .product-hero__buy form.cart:not(.variations_form) {
	display: flex;
	gap: 0.75rem;
	align-items: stretch;
	flex-wrap: wrap;
}
/* Mennyiség: − szám + egy keretben (az add-to-cart-form „stepper” módja). A WooCommerce 8,5 px jobb margója nem
   kell (a közt a flex gap adja): vele mobilon a gomb egy pixellel nem fért ki, és új sorba tört. */
.woocommerce div.product .product-hero__buy .quantity.wc-block-components-quantity-selector { margin: 0 !important; }
.product-hero__buy .quantity.wc-block-components-quantity-selector {
	display: inline-flex;
	align-items: center !important;
	min-height: 3rem;
	margin: 0;
	padding: 0 0.2rem;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--control);
	background: var(--wp--preset--color--surface);
}
.product-hero__buy .quantity.wc-block-components-quantity-selector:focus-within { border-color: var(--wp--preset--color--ink); }
/* Flex, nem grid: a (0 méretű) karakter így nem kap külön sort az ikon alatt. A − és + karakter helyett ikon. */
.product-hero__buy .wc-block-components-quantity-selector__button {
	display: flex;
	align-items: center;
	justify-content: center;
	align-self: center !important;
	width: 2.4rem;
	height: 2.4rem;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: var(--wp--custom--radius--control);
	background: transparent;
	color: var(--wp--preset--color--ink);
	font-size: 0 !important;
	cursor: pointer;
	opacity: 1;
	transition: background-color 0.2s var(--ds-ease);
}
.product-hero__buy .wc-block-components-quantity-selector__button:hover { background: var(--wp--preset--color--mint); }
.product-hero__buy .wc-block-components-quantity-selector__button:focus { box-shadow: none !important; outline: none; }
.product-hero__buy .wc-block-components-quantity-selector__button:focus-visible { outline: 2px solid var(--wp--preset--color--ink); outline-offset: 1px; }
.product-hero__buy .wc-block-components-quantity-selector__button:disabled { color: var(--wp--preset--color--line); cursor: default; background: transparent; }
.product-hero__buy .quantity input.qty {
	width: 2.75rem;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	text-align: center;
	font: inherit;
	font-weight: 700;
	color: var(--wp--preset--color--ink);
	-moz-appearance: textfield;
	appearance: textfield;
	box-shadow: none;
}
.product-hero__buy .quantity input.qty:focus { outline: none; }
.product-hero__buy .quantity input.qty::-webkit-inner-spin-button,
.product-hero__buy .quantity input.qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.product-hero__buy .single_add_to_cart_button {
	flex: 1 1 12rem;
	max-width: 18rem;
	min-height: 3rem;
	border-radius: var(--wp--custom--radius--control);
	font: var(--ds-label);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	cursor: pointer;
}
.product-hero__buy .single_add_to_cart_button.disabled { opacity: 0.4; cursor: not-allowed; }
/* A letiltott gomb rámutatásra sem vált (a theme.json :hover-je fehérré tenné). */
.product-hero__buy .single_add_to_cart_button.disabled:hover { background: var(--wp--preset--color--accent); color: #fff; }
/* A szív a gomb sorában (a szkript teszi oda): keretes ikongomb, a felirata a felolvasónak. */
.ds-heart--label {
	position: static;
	flex: none;
	width: 3rem;
	height: auto;
	min-height: 3rem;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--control);
	background: var(--wp--preset--color--surface);
}
.ds-heart--label:hover { border-color: var(--wp--preset--color--ink); background: var(--wp--preset--color--surface); }
.ds-heart--label .ds-icon { width: 1.35rem; height: 1.35rem; }
.ds-heart--label span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.product-hero__buy > .ds-heart--label { margin-top: 0.75rem; } /* amíg a szkript át nem teszi */

.pickup-note {
	list-style: none;
	margin: 1.75rem 0 0;
	padding: 1.1rem 1.2rem;
	display: grid;
	gap: 0.8rem;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--card);
	background: var(--wp--preset--color--surface);
	font-size: var(--wp--preset--font-size--small);
}
.pickup-note li { display: flex; gap: 0.75rem; align-items: center; }
.pickup-note .ds-icon { width: 1.35rem; height: 1.35rem; }
.product-hero__meta { margin-top: 1.25rem; gap: 0.5rem 1.25rem; font-size: var(--wp--preset--font-size--x-small); color: var(--wp--preset--color--muted); }
.product-hero__meta > * { margin: 0 !important; }
.product-hero__meta a { color: var(--wp--preset--color--muted); }

.product-details { margin-top: var(--wp--preset--spacing--50) !important; }
.product-details .wc-tabs, .product-details ul.tabs {
	display: flex;
	gap: 1.75rem;
	padding: 0 !important;
	margin: 0 0 1.25rem !important;
	border-bottom: 1px solid var(--wp--preset--color--line);
	list-style: none;
}
.product-details .wc-tabs li { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; }
.woocommerce div.product .product-details .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .product-details .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .product-details .woocommerce-tabs ul.tabs li::after { display: none; }
.product-details .wc-tabs li a {
	display: block;
	padding: 0.85rem 0;
	margin-bottom: -1px;
	font: var(--ds-label);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
	text-decoration: none;
	border-bottom: 1px solid transparent;
}
.product-details .wc-tabs li.active a { color: var(--wp--preset--color--ink); border-color: var(--wp--preset--color--ink); }
.product-details .woocommerce-Tabs-panel > h2 { display: none; }
.product-details table.shop_attributes { border: 0; width: 100%; max-width: 40rem; border-collapse: collapse; }
.product-details table.shop_attributes th, .product-details table.shop_attributes td {
	border: 0;
	border-bottom: 1px solid var(--wp--preset--color--line);
	padding: 0.65rem 0;
	text-align: left;
	font-style: normal;
	background: none !important;
}
.product-details table.shop_attributes tr { background: none !important; }
.product-details table.shop_attributes th { width: 10rem; font-weight: 700; font-size: var(--wp--preset--font-size--small); }
.product-details table.shop_attributes td p { margin: 0; }

.wp-block-woocommerce-related-products h2 { font-size: var(--wp--preset--font-size--x-large); margin-bottom: 2rem; text-align: center; }

/* ---------- Kosár és pénztár (WooCommerce blokkok) ---------- */

.site-header--checkout { position: static; border-bottom: 1px solid var(--wp--preset--color--line); }
.checkout-back { margin: 0; font-weight: 600; }
.checkout-back a { color: var(--wp--preset--color--ink); text-decoration: none; }
.wc-block-components-text-input input,
.wc-block-components-combobox .wc-block-components-combobox-control input,
.wc-block-components-country-input select, .wc-block-components-state-input select,
.wc-blocks-components-select .wc-blocks-components-select__select,
.wc-block-components-textarea, .wc-block-components-totals-coupon input {
	border-radius: var(--wp--custom--radius--control) !important;
	border-color: var(--wp--preset--color--line) !important;
	background-color: var(--wp--preset--color--surface) !important;
}
/* Fókuszban egyetlen (vastagabb) fekete keret: a WooCommerce és a téma általános fókuszkerete nélkül (kettő-három keret lett). */
.wc-block-components-text-input input:focus, .wc-blocks-components-select__select:focus,
.wc-block-components-combobox .wc-block-components-combobox-control input:focus,
.wc-block-components-textarea:focus, .wc-block-components-totals-coupon input:focus,
.wc-block-components-country-input select:focus, .wc-block-components-state-input select:focus {
	border-color: var(--wp--preset--color--ink) !important;
	box-shadow: inset 0 0 0 1px var(--wp--preset--color--ink) !important;
	outline: none !important;
}
.wc-block-components-radio-control--highlight-checked,
.wc-block-checkout__shipping-option .wc-block-components-radio-control,
.wc-block-components-radio-control-accordion-option {
	border-radius: var(--wp--custom--radius--control) !important;
}
/* Választógombos dobozok (szállítás, fizetés): a csoport kerete halvány vonal, csak a kiválasztott opció kap fekete
   keretet (a csoport fekete kerete és az opcióé együtt dupla volt). A WooCommerce a csoport keretét egy ::after rétegre
   rajzolja, ami a kiválasztott opció fölött van, és oldalt eltakarta a fekete keretet: helyette a csoport saját,
   az opciók alatt lévő kerete. */
.wc-block-components-radio-control--highlight-checked::after { display: none !important; }
.wc-block-components-radio-control--highlight-checked { box-shadow: inset 0 0 0 1px var(--wp--preset--color--line); }
.wc-block-components-radio-control--highlight-checked > :first-child { border-top-left-radius: inherit; border-top-right-radius: inherit; }
.wc-block-components-radio-control--highlight-checked > :last-child { border-bottom-left-radius: inherit; border-bottom-right-radius: inherit; }
/* Kattintásra nincs fókuszkeret a kör körül (dupla kör lett); billentyűzettel (Tab) marad. */
.wc-block-components-radio-control__input:focus:not(:focus-visible) { outline: none !important; }
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted {
	box-shadow: inset 0 0 0 1px var(--wp--preset--color--ink) !important;
}
.wc-block-components-radio-control__input:checked { border-color: var(--wp--preset--color--ink) !important; }
.wc-block-components-radio-control__input:checked::before { background: var(--wp--preset--color--ink) !important; }
.wc-block-checkout__sidebar .wc-block-components-order-summary, .wp-block-woocommerce-checkout-order-summary-block {
	border-radius: var(--wp--custom--radius--card) !important;
	border-color: var(--wp--preset--color--line) !important;
	background: var(--wp--preset--color--surface);
}
.wc-block-components-checkout-place-order-button, .wc-block-cart__submit-button {
	border-radius: var(--wp--custom--radius--control) !important;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
/* A megjegyzés mezője jelölő nélkül, felirattal (assets/js/checkout-note.js nyitja ki). */
.wc-block-checkout__add-note.is-open > .wc-block-components-checkbox { display: none; }
.wc-block-checkout__add-note.is-open { display: flex; flex-direction: column; gap: 0.6rem; }
.wc-block-checkout__add-note.is-open > * { margin: 0 !important; }
.ds-note-label { display: block; font-weight: 700; font-size: 1.05rem; }
.wc-block-components-product-metadata, .wc-block-components-product-details { color: var(--wp--preset--color--muted); }
/* A „… Ft megtakarítás” címke a keskeny helyeken (kosárpanel, mobil kosár) a végösszeg alatt sorba törhet: egy sorban
   kitolta az oszlopot, mobilon az egész oldalt (a kosárpanelben levágódott). */
.wc-block-mini-cart__drawer .wc-block-cart-item__total .wc-block-components-sale-badge {
	max-width: 6.5rem;
	white-space: normal !important;
	line-height: 1.25;
	text-align: right;
}
@media (max-width: 781px) {
	.wc-block-cart-item__total .wc-block-components-sale-badge { max-width: 6.5rem; white-space: normal !important; line-height: 1.25; text-align: right; }
}
.wc-block-cart-item__image img, .wc-block-components-order-summary-item__image img { border-radius: var(--wp--custom--radius--control); background: var(--wp--preset--color--mint); }
.wc-block-mini-cart__footer-actions .wc-block-components-button { border-radius: var(--wp--custom--radius--control) !important; }
/* A pénztár lépéseinek és a kosár összesítőjének kis címei: a talpas betű ekkora méretben gyenge, ezek a kenyérszöveg betűjével. */
.wc-block-components-product-name { font-family: var(--wp--preset--font-family--body) !important; font-size: 1rem !important; }
.wc-block-components-checkout-step__title, .wc-block-components-title.wc-block-components-title,
.wc-block-mini-cart__title, .wc-block-components-order-summary .wc-block-components-panel__button {
	font-family: var(--wp--preset--font-family--body) !important;
	font-weight: 700 !important;
	font-size: 1.05rem !important;
	letter-spacing: 0 !important;
}

/* ---------- Oldal ---------- */

.site-main--page .page-title { margin-top: var(--wp--preset--spacing--40); }

/* ---------- Lábléc ---------- */

.site-footer { color: rgb(255 255 255 / 0.78); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__lead { margin-top: 1.25rem; max-width: 34ch; }
.site-footer__title {
	font: var(--ds-label) !important;
	letter-spacing: 0.22em !important;
	text-transform: uppercase;
	color: rgb(255 255 255 / 0.55) !important;
	margin: 0 0 1.1rem;
}
.site-footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; font-size: var(--wp--preset--font-size--small); }
.site-footer__rule { border-color: rgb(255 255 255 / 0.16) !important; opacity: 1; }
.site-footer__legal { color: rgb(255 255 255 / 0.55); margin: 0; }

/* ---------- Mozgás ---------- */

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
	.ds-slide__img { transform: none !important; }
}

/* ---------- Tablet: a főmenü oldalt kinyíló menü lesz ---------- */

@media (max-width: 1320px) {
	.ds-nav__list { gap: 1.25rem; }
	.ds-nav__link, .ds-nav__toggle--label { letter-spacing: 0.1em; font-size: 0.7rem; }
}

@media (max-width: 1180px) {
	.site-header__bar { grid-template-columns: auto 1fr auto; column-gap: 0.5rem; min-height: 4rem; }
	/* Rögzített helyek egy sorban; a kereső a fejléc alá lebeg (nem a sorok közé: a fejléc mérete nem változik, az oldal
	   nem ugrik le). */
	.site-header__bar > .ds-burger { grid-area: 1 / 1; }
	.site-header__bar > .brand { grid-area: 1 / 2; }
	.site-header__bar > .site-header__actions { grid-area: 1 / 3; }
	.site-header__main { position: relative; }
	.site-header__bar > .ds-search-panel {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		padding: 0.75rem var(--wp--style--root--padding-left, 1rem) 1rem;
		border-top: 1px solid var(--wp--preset--color--line);
		background: var(--wp--preset--color--surface);
		box-shadow: 0 18px 30px -18px rgb(21 21 21 / 0.3);
	}
	.ds-burger { display: grid; margin-left: -0.6rem; }
	.brand { justify-self: start; }

	.ds-nav {
		position: fixed;
		inset: 0 auto 0 0;
		z-index: 110;
		width: min(23rem, 88vw);
		padding: 0 1.25rem 2rem;
		overflow-y: auto;
		overscroll-behavior: contain;
		background: var(--wp--preset--color--surface);
		box-shadow: var(--ds-shadow-pop);
		transform: translateX(-102%);
		visibility: hidden;
		transition: transform 0.3s var(--ds-ease), visibility 0s linear 0.3s;
	}
	.ds-nav.is-open { transform: none; visibility: visible; transition: transform 0.3s var(--ds-ease), visibility 0s; }
	.ds-nav-backdrop { position: fixed; inset: 0; z-index: 105; background: rgb(21 21 21 / 0.4); animation: ds-fade 0.2s var(--ds-ease); }
	.ds-nav-backdrop[hidden] { display: none; }
	@keyframes ds-fade { from { opacity: 0; } }
	.ds-nav__head {
		position: sticky;
		top: 0;
		z-index: 1;
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin: 0 -1.25rem;
		padding: 0.75rem 0.75rem 0.75rem 1.25rem;
		background: var(--wp--preset--color--surface);
		border-bottom: 1px solid var(--wp--preset--color--line);
	}
	.ds-nav__title { font-family: var(--wp--preset--font-family--display); font-size: 1.6rem; }
	.ds-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.ds-nav__item, .ds-nav__item.ds-nav__item--drawer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--wp--preset--color--line); }
	.ds-nav__link, .ds-nav__toggle--label { flex: 1 1 auto; padding: 1.1rem 0; font-size: 0.78rem; letter-spacing: 0.14em; }
	.ds-nav__link::after { display: none; }
	.ds-nav__toggle { width: 2.75rem; height: 2.75rem; justify-content: center; margin-right: -0.6rem; }
	.ds-nav__toggle--label { width: auto; height: auto; justify-content: space-between; margin: 0; padding-right: 0.25rem; }
	.ds-nav__caret { width: 1rem; height: 1rem; }
	.ds-nav__sub { position: static; flex-basis: 100%; min-width: 0; padding: 0 0 0.75rem; border: 0; border-radius: 0; box-shadow: none; animation: none; }
	.ds-nav__item.is-wide .ds-nav__sub ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ds-nav__sub a { padding: 0.65rem 0.75rem; white-space: normal; }
	.ds-nav__item--account { margin-top: 1rem; border-bottom: 0; }
	.ds-nav__item--account .ds-nav__link { display: flex; align-items: center; gap: 0.6rem; }
	.ds-nav__item--account .ds-icon { width: 1.3rem; height: 1.3rem; }

	.store { grid-template-columns: 1fr; }
	.ds-wishlist__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Mobil ---------- */

@media (max-width: 781px) {
	.site-header__actions { gap: 0; margin-right: -0.5rem; }
	.ds-iconbtn, .site-header__actions .wc-block-mini-cart__button { width: 2.5rem; height: 2.5rem; }
	.ds-iconbtn .ds-icon, .site-header__actions .wc-block-mini-cart__quantity-badge::before { width: 1.4rem; height: 1.4rem; }
	.brand__name { font-size: 1.75rem; }
	.site-header .brand .brand__logo { height: 2.5rem; }
	.brand__kind { font-size: 0.52rem; letter-spacing: 0.38em; margin-top: 0.3rem; }
	.announce p { font-size: 0.7rem; }

	.ds-hero { background: var(--wp--preset--color--surface); }
	.ds-slide { display: flex; flex-direction: column; align-items: stretch; min-height: 0; }
	/* Mobilon a fotó felül, a teljes szélességben, egészében (16:9); a termékkép négyzetesebb keretben. */
	.ds-slide__media, .ds-slide__media--product { position: relative; inset: auto; width: 100%; aspect-ratio: 16 / 9; }
	.ds-slide__media:not(.ds-slide__media--product)::after { background: linear-gradient(to bottom, rgb(255 255 255 / 0) 70%, var(--wp--preset--color--surface)); }
	.ds-slide__media--product { aspect-ratio: 5 / 4; height: auto; --ds-pad-top: 1.25rem; --ds-pad-bottom: 0.5rem; background: radial-gradient(closest-side, var(--wp--preset--color--paper), transparent); -webkit-mask-image: none; mask-image: none; }
	.ds-slide__media--product .ds-slide__img { left: var(--ds-gutter); width: calc(100% - 2 * var(--ds-gutter)); }
	.ds-slide__text { max-width: none; padding: 0.75rem var(--ds-gutter) 1.5rem; }
	.ds-slide__title { margin-block: 1rem 0.85rem; font-size: clamp(2.25rem, 10vw, 2.9rem); }
	.ds-slide__lead { font-size: 1rem; }
	.ds-slide__button { margin-top: 1.5rem; }
	.ds-hero__bar { position: static; flex-direction: column-reverse; align-items: stretch; gap: 1.25rem; padding: 0 var(--ds-gutter) 1.5rem; }
	.ds-hero__controls { margin: 0; justify-content: space-between; }
	.ds-hero__dots { flex: 1 1 auto; justify-content: center; }
	.ds-hero__perks { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem 1rem; padding-top: 1.25rem; border-top: 1px solid var(--wp--preset--color--line); }
	.ds-hero__perks li { align-items: flex-start; font-size: 0.75rem; line-height: 1.35; }

	.section__head { margin-bottom: 1.5rem; }
	.cat-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
	.cat-tiles li:last-child:nth-child(odd) { grid-column: span 2; }
	.cat-tiles li:last-child:nth-child(odd) img, .cat-tiles li:last-child:nth-child(odd) .cat-tile__blank { aspect-ratio: 16 / 7; }
	.cat-tile__name { font-size: 1.15rem; padding: 0.75rem 0.85rem 0.85rem; }
	.brand-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
	.brand-tile__logo { padding: 1rem; }
	.brand-tile__logo--text span { font-size: 1.25rem; }
	.brands-search { flex-basis: 100%; }
	.archive-layout { grid-template-columns: minmax(0, 1fr); gap: 1rem; margin-top: 1.25rem; }
	.subcat-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
	.subcat-tile { gap: 0.6rem; padding-right: 0.6rem; font-size: var(--wp--preset--font-size--small); }
	.subcat-tile__image { width: 2.75rem; height: 2.75rem; }
	/* A szűrőpanel nyitógombja (a blokké) és a panel. */
	.archive-filters .wc-block-product-filters__open-overlay {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 0.6rem;
		width: 100%;
		min-height: 2.9rem;
		border: 1px solid var(--wp--preset--color--accent);
		border-radius: var(--wp--custom--radius--control);
		background: var(--wp--preset--color--accent);
		color: #fff;
		font: var(--ds-label);
		letter-spacing: 0.12em;
		text-transform: uppercase;
		cursor: pointer;
	}
	.archive-filters .wc-block-product-filters__open-overlay svg { width: 1.2rem; height: 1.2rem; fill: currentColor; }
	.archive-filters .wc-block-product-filters__overlay-dialog { background: var(--wp--preset--color--surface); }
	.archive-filters .wc-block-product-filters__overlay-content { padding: 0 1.25rem 1.25rem; }
	/* Egy sorban, oldalra görgetve (négy sorba tördelve sok helyet vitt el). */
	.brands-letters { overflow-x: auto; margin-inline: -1rem; padding-inline: 1rem; scrollbar-width: none; }
	.brands-letters a, .brands-letters span { flex: none; min-width: 2.25rem; }
	.brands-group { grid-template-columns: 2.5rem minmax(0, 1fr); padding-block: 1.1rem; }
	.brands-group__letter { font-size: 1.75rem; }
	.brands-group__list { columns: 2; column-gap: 1rem; }
	.store { padding: var(--wp--preset--spacing--40); }
	.store__facts { grid-template-columns: 1fr; }
	.perks { grid-template-columns: 1fr; }
	.perk { display: grid; grid-template-columns: 1.5rem 1fr; column-gap: 1rem; padding: 1.1rem 1.15rem; }
	.perk .ds-icon { grid-row: span 2; }
	.perk__title { margin: 0 0 0.2rem; }

	.wc-block-product-template.wc-block-product-template, .ds-wishlist__grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 0.75rem !important; }
	.wc-block-product .wp-block-post-title, .wc-block-product .product-card__title { padding-inline: 0.75rem; font-size: 0.92rem !important; }
	.wc-block-product .product-card__brand { padding-inline: 0.75rem; font-size: 0.64rem; }
	.wc-block-product .wc-block-components-product-price, .wc-block-product .wp-block-woocommerce-product-price { padding-inline: 0.75rem; font-size: 0.95rem !important; }
	.wc-block-product .wp-block-woocommerce-product-button, .wc-block-product .wc-block-components-product-button { padding-inline: 0.75rem; }
	.wc-block-product .wc-block-components-product-button__button { min-height: 2.6rem; padding-inline: 0.4rem !important; letter-spacing: 0.06em !important; font-size: 0.7rem !important; }
	.wc-block-product .ds-heart { top: 0.45rem; right: 0.45rem; width: 2.15rem; height: 2.15rem; }
	.wc-block-product-template .wc-block-product, .ds-wishlist__item { padding-bottom: 0.75rem; }

	.product-hero__summary { position: static; }
	/* A kosár gomb a darabszám és a szív között a sor maradékát tölti ki; a szív itt csak ikon. */
	.product-hero__buy .woocommerce-variation-add-to-cart, .product-hero__buy form.cart:not(.variations_form) { flex-wrap: nowrap; gap: 0.5rem; }
	.product-hero__buy .single_add_to_cart_button { flex: 1 1 auto; min-width: 0; max-width: none; letter-spacing: 0.08em; padding-inline: 0.5rem; }
	.product-hero__buy .wc-block-components-quantity-selector__button { width: 2.2rem; }
	.product-hero__buy .quantity input.qty { width: 2.25rem; }
	.product-hero__buy table.variations th { width: 6rem; }

	.ds-quick { width: 100vw; max-width: 100vw; max-height: 92dvh; margin: auto 0 0; border-radius: var(--wp--custom--radius--card) var(--wp--custom--radius--card) 0 0; }
	.ds-quick[open] { animation-name: ds-quick-up; }
	@keyframes ds-quick-up { from { transform: translateY(40%); opacity: 0.4; } }
	.ds-quick__body { grid-template-columns: 1fr; }
	/* Mobilon alacsonyabb sáv, a kép kicsinyítve, nem vágva (a termékképek négyzetesek). */
	.ds-quick__media { display: flex; justify-content: center; height: min(34dvh, 15rem); }
	.ds-quick__media img { width: auto; height: 100%; aspect-ratio: 1; object-fit: contain; }
	.ds-quick__info { padding: 1.25rem 1.1rem 1.25rem; }
	.ds-quick__title { font-size: 1.6rem; }
	.ds-toast { flex-wrap: wrap; bottom: 0.75rem; }
	.ds-toast__text { flex: 1 1 12rem; }
}

@media (max-width: 400px) {
	.ds-account { display: none; }
}
