/* obiectepromotionale.ro: what theme.json cannot express. Tokens: theme.json (--wp--preset--*). */

body {
	-webkit-font-smoothing: antialiased;
}

/* Focus: a 2 px cobalt outline, 3 px away, on every interactive element (yellow in the dark footer). */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--wp--preset--color--primary);
	outline-offset: 3px;
}

/* Touch targets of at least 44 px (WCAG 2.2, 2.5.8). */
:where(button, .wp-element-button, input[type="submit"], select) {
	min-height: 44px;
}

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

.op-num {
	font-family: var(--wp--preset--font-family--display);
	font-variant-numeric: tabular-nums;
}

/* The page's top-level parts (header, main, footer) touch: no block gap between them. */
.wp-site-blocks > * + * {
	margin-block-start: 0;
}

.op-ic {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
	flex: none;
}

details > summary {
	list-style: none;
	cursor: pointer;
}

details > summary::-webkit-details-marker {
	display: none;
}

/* ---------- Top bar ---------- */

.op-topbar {
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--on-primary);
	font-size: 14px;
}

.op-topbar p {
	max-width: 1280px;
	margin: 0 auto;
	padding: 9px 40px;
	text-align: center;
}

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

.op-header {
	position: relative;
	background: var(--wp--preset--color--base);
	border-bottom: 1px solid var(--wp--preset--color--surface);
}

.op-header__in {
	max-width: 1280px;
	margin: 0 auto;
	padding: 16px 40px;
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 40px;
}

.op-wordmark {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-size: 22px;
}

/* The logo: 32 × 347 px in the header, 27 px high on phones; never under 140 px wide (brand
   rules). Explicit sizes, more specific than WooCommerce's ".woocommerce-page img { height: auto;
   max-width: 100% }", which would show it at its natural 1301 px on the shop's pages. */
.op-logo {
	display: block;
}

.op-wordmark img.op-logo {
	width: 347px;
	height: 32px;
	max-width: none;
}

.op-wordmark {
	flex: none;
}

.op-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 28px;
	font-size: 16px;
	font-weight: 600;
}

.op-nav__link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	min-height: 44px;
	color: var(--wp--preset--color--primary);
	text-decoration: none;
}

.op-nav__link:hover {
	color: var(--wp--preset--color--primary-dark);
}

.op-mega[open] .op-nav__link .op-ic {
	transform: rotate(180deg);
}

.op-mega__panel {
	position: absolute;
	z-index: 50;
	left: 0;
	right: 0;
	top: 100%;
	background: var(--wp--preset--color--white);
	border-bottom: 1px solid var(--wp--preset--color--line);
	box-shadow: 0 12px 24px rgba(13, 27, 61, 0.08);
	font-weight: 400;
}

.op-mega__grid {
	max-width: 1280px;
	margin: 0 auto;
	padding: 28px 40px 8px;
	box-sizing: border-box;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px 40px;
}

.op-mega__grid ul {
	list-style: none;
	margin: 6px 0 0;
	padding: 0;
	font-size: 14px;
	line-height: 1.4;
}

.op-mega__grid ul a {
	display: inline-block;
	padding: 5px 0;
	color: var(--wp--preset--color--text-4);
	text-decoration: none;
}

.op-mega__grid ul a:hover {
	color: var(--wp--preset--color--primary);
	text-decoration: underline;
}

.op-mega__cat {
	font-weight: 700;
	color: var(--wp--preset--color--primary);
	text-decoration: none;
}

/* The Christmas collection in its season: first in the menu, with a discreet yellow mark. */
.op-mega__cat.is-season,
.op-burger .is-season {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.op-mega__cat.is-season::before,
.op-burger .is-season::before {
	content: "";
	flex: none;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--wp--preset--color--accent);
	box-shadow: 0 0 0 1px var(--wp--preset--color--accent-dark);
}

.op-mega__all {
	max-width: 1280px;
	margin: 0 auto;
	padding: 8px 40px 28px;
	box-sizing: border-box;
	font-weight: 600;
}

.op-header__tools {
	flex: 1 1 320px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 16px;
	min-width: 0;
}

.op-search {
	flex: 1 1 200px;
	max-width: 280px;
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 8px;
	height: 44px;
	border-bottom: 1.5px solid var(--wp--preset--color--text);
}

.op-search input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 40px;
	border: 0;
	background: transparent;
	font: inherit;
	font-size: 15px;
	color: var(--wp--preset--color--text);
	outline: none;
}

.op-search:focus-within {
	outline: 2px solid var(--wp--preset--color--primary);
	outline-offset: 3px;
}

.op-search {
	position: relative;
}

.op-suggest {
	position: absolute;
	z-index: 60;
	top: calc(100% + 6px);
	left: 0;
	width: max(100%, 360px);
	max-width: calc(100vw - 32px);
	max-height: min(70vh, 560px);
	overflow-y: auto;
	padding: 6px;
	box-sizing: border-box;
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 10px;
	box-shadow: 0 12px 28px rgba(13, 27, 61, 0.12);
}

.op-suggest[hidden] {
	display: none;
}

.op-suggest__group {
	margin: 8px 8px 4px;
	font-size: 12px;
	font-weight: 600;
	color: var(--wp--preset--color--text-2);
}

.op-suggest__item {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 6px 8px;
	border-radius: 6px;
	cursor: pointer;
}

.op-suggest__item[aria-selected="true"],
.op-suggest__item:hover {
	background: var(--wp--preset--color--primary-soft);
}

.op-suggest__item img {
	flex: none;
	width: 44px;
	height: 44px;
	object-fit: contain;
	background: var(--wp--preset--color--white);
	border-radius: 6px;
}

.op-suggest__text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.op-suggest__name {
	font-size: 15px;
	font-weight: 600;
	color: var(--wp--preset--color--text);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.op-suggest__meta {
	font-size: 13px;
	color: var(--wp--preset--color--text-2);
}

.op-suggest__all {
	display: flex;
	align-items: center;
	min-height: 44px;
	padding: 0 8px;
	font-weight: 600;
}

.op-phone {
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
}

.op-cart {
	position: relative;
	width: 44px;
	height: 44px;
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--wp--preset--color--primary);
}

.op-cart__count {
	position: absolute;
	top: 4px;
	right: 2px;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border-radius: 9px;
	box-sizing: border-box;
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--white);
	font-size: 11px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	animation: op-salt 300ms ease;
}

.op-cart__count[hidden] {
	display: none;
}

@keyframes op-salt {
	0% { transform: scale(0.4); }
	60% { transform: scale(1.25); }
	100% { transform: scale(1); }
}

.op-burger {
	display: none;
}

.op-burger > summary {
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--wp--preset--color--primary);
}

.op-burger__panel {
	position: absolute;
	z-index: 50;
	left: 0;
	right: 0;
	top: 100%;
	/* Up to the bottom of the visible screen: theme.js sets --op-panel-top (where the panel starts)
	   when the menu opens; 100dvh is the height left by the browser's bars (100vh where unknown);
	   the bottom padding keeps the last row (the phone) clear of the iPhone's home bar. */
	max-height: calc(100vh - var(--op-panel-top, 190px));
	max-height: calc(100dvh - var(--op-panel-top, 190px));
	overflow-y: auto;
	overscroll-behavior: contain;
	box-sizing: border-box;
	padding: 8px 16px calc(24px + env(safe-area-inset-bottom, 0px));
	background: var(--wp--preset--color--white);
	border-bottom: 1px solid var(--wp--preset--color--line);
	box-shadow: 0 12px 24px rgba(13, 27, 61, 0.08);
}

.op-burger__title {
	margin: 8px 0 0;
	font-size: 13px;
	font-weight: 600;
	color: var(--wp--preset--color--text-2);
}

.op-burger__panel ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.op-burger__panel a {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	border-bottom: 1px solid var(--wp--preset--color--surface);
	font-weight: 600;
	text-decoration: none;
}

.op-burger__pages {
	margin-top: 12px !important;
}

@media (max-width: 1080px) {
	.op-mega__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 899px) {
	.op-topbar p {
		padding: 9px 16px;
	}

	.op-header__in {
		padding: 12px 16px;
		gap: 10px 12px;
	}

	.op-wordmark {
		order: 1;
		flex: 0 1 auto;
		min-width: 0;
	}

	.op-wordmark img.op-logo {
		width: min(293px, calc(100vw - 92px));
		height: auto;
		aspect-ratio: 1301 / 120;
	}

	.op-nav,
	.op-phone {
		display: none;
	}

	.op-burger {
		display: block;
		order: 2;
		margin-left: auto;
	}

	.op-header__tools {
		order: 3;
		flex: 1 1 100%;
	}

	.op-search {
		max-width: none;
	}

	/* Smart header (theme.js): sticks without the top bar, hides on the way down. */
	.op-smart {
		position: sticky;
		top: calc(-1 * var(--op-topbar-h, 0px));
		z-index: 50;
		transition: transform 200ms ease;
	}

	.op-smart.is-hidden {
		transform: translateY(-100%);
	}
}

@media (max-width: 899px) and (prefers-reduced-motion: reduce) {
	.op-smart {
		transition: none;
	}
}

/* ---------- Side cart (theme.js, 03.11.2026) ---------- */

html.op-noscroll {
	overflow: hidden;
}

.op-drawer {
	position: fixed;
	inset: 0 0 0 auto;
	box-sizing: border-box;
	width: min(420px, 100vw);
	max-width: 100vw;
	height: 100vh;
	height: 100dvh;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--text);
	box-shadow: -12px 0 32px rgba(13, 27, 61, 0.18);
}

.op-drawer::backdrop {
	background: rgba(13, 27, 61, 0.45);
}

.op-drawer[open] {
	animation: op-drawer-in 200ms ease-out;
}

@keyframes op-drawer-in {
	from { transform: translateX(100%); }
	to { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	.op-drawer[open] {
		animation: none;
	}
}

@media (max-width: 599px) {
	.op-drawer {
		width: 100vw;
		box-shadow: none;
	}
}

.op-drawer__panel {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.op-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 12px 12px 20px;
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.op-drawer__title {
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-size: 20px;
	color: var(--wp--preset--color--ink);
}

.op-drawer__close {
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 8px;
	background: none;
	font-size: 30px;
	line-height: 1;
	color: var(--wp--preset--color--text);
	cursor: pointer;
}

.op-drawer__close:hover {
	background: var(--wp--preset--color--base);
}

.op-drawer__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-height: 0;
}

.op-drawer__empty {
	margin: 0;
	padding: 20px;
}

.op-drawer__lines {
	flex: 1;
	margin: 0;
	padding: 0 20px;
	list-style: none;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.op-drawer__line {
	display: flex;
	gap: 12px;
	padding: 14px 0;
	border-bottom: 1px solid var(--wp--preset--color--surface);
}

.op-drawer__img {
	flex: none;
	align-self: flex-start;
	width: 64px;
	height: 64px;
	max-height: 64px;
	object-fit: contain;
	border-radius: 6px;
	background: var(--wp--preset--color--base);
}

.op-drawer__info {
	min-width: 0;
}

.op-drawer__name {
	font-weight: 600;
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}

.op-drawer__name:hover {
	text-decoration: underline;
}

.op-drawer__meta {
	margin: 2px 0 0;
	font-size: 13px;
	color: var(--wp--preset--color--text-2);
}

.op-drawer__price {
	margin: 6px 0 0;
	font-size: 14px;
	font-weight: 600;
}

.op-drawer__problem {
	margin: 4px 0 0;
	font-size: 13px;
	color: var(--wp--preset--color--error);
}

.op-drawer__foot {
	display: grid;
	gap: 10px;
	padding: 16px 20px calc(16px + env(safe-area-inset-bottom, 0px));
	border-top: 1px solid var(--wp--preset--color--line);
	background: var(--wp--preset--color--white);
}

.op-drawer__total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin: 0;
}

.op-drawer__total strong {
	font-family: var(--wp--preset--font-family--display);
	font-size: 20px;
	color: var(--wp--preset--color--ink);
}

.op-drawer__note {
	margin: 0;
	padding: 8px 10px;
	border-radius: 6px;
	background: var(--wp--preset--color--warning-soft);
	color: var(--wp--preset--color--warning-text);
	font-size: 14px;
}

.op-drawer__go {
	min-height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--ink);
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	font-size: 16px;
	text-decoration: none;
}

.op-drawer__go:hover {
	background: var(--wp--preset--color--accent-dark);
	color: var(--wp--preset--color--ink);
}

.op-drawer__back {
	min-height: 48px;
	border: 1.5px solid var(--wp--preset--color--line-strong);
	border-radius: 10px;
	background: var(--wp--preset--color--white);
	font: inherit;
	font-weight: 600;
	color: var(--wp--preset--color--ink);
	cursor: pointer;
}

.op-drawer__back:hover {
	background: var(--wp--preset--color--base);
}

/* "Șterge" with its inline confirmation. */
.op-drawer__del {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	margin-top: 6px;
	font-size: 13px;
}

.op-drawer__remove,
.op-drawer__no {
	min-height: 32px;
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	color: var(--wp--preset--color--text-2);
	text-decoration: underline;
	cursor: pointer;
}

.op-drawer__remove:hover {
	color: var(--wp--preset--color--error);
}

.op-drawer__q {
	color: var(--wp--preset--color--ink);
	font-weight: 600;
}

.op-drawer__yes {
	min-height: 32px;
	padding: 0 12px;
	border: 0;
	border-radius: 6px;
	background: var(--wp--preset--color--error);
	color: var(--wp--preset--color--white);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.op-drawer__del[aria-busy="true"] {
	opacity: 0.6;
}

.op-drawer__cart {
	justify-self: center;
	font-size: 14px;
}

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

.op-footer {
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--primary-line);
	font-size: 15px;
}

.op-footer a {
	color: var(--wp--preset--color--primary-line);
}

.op-footer :focus-visible {
	outline-color: var(--wp--preset--color--accent);
}

.op-footer a:hover {
	color: var(--wp--preset--color--white);
}

.op-footer__in {
	max-width: 1280px;
	margin: 0 auto;
	padding: 56px 40px 24px;
	box-sizing: border-box;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
	gap: 32px;
}

.op-footer p {
	margin: 0 0 8px;
}

.op-footer__name img.op-logo {
	width: 100%;
	max-width: 282px;
	height: auto;
}

.op-footer__name {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 800;
	font-size: 20px;
	color: var(--wp--preset--color--white);
}

.op-footer__title {
	font-weight: 600;
	color: var(--wp--preset--color--white);
}

.op-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

/* Dense link lists: about 33 px tall targets (WCAG 2.2 AA asks for 24 px); buttons and the main menu have 44 px. */
.op-footer li a {
	display: inline-block;
	padding: 5px 0;
}

.op-footer__note {
	max-width: 1280px;
	margin: 0 auto !important;
	padding: 16px 40px 28px;
	box-sizing: border-box;
	font-size: 13px;
	color: var(--wp--preset--color--primary-line);
}

@media (max-width: 899px) {
	.op-footer__in {
		padding: 40px 16px 16px;
	}

	.op-footer__note {
		padding: 16px 16px 28px;
	}
}

/* ---------- Listings: categories, shop, search ---------- */

.op-archive {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 40px 96px;
	box-sizing: border-box;
}

.op-archive__head {
	margin-top: 20px;
}

.op-archive__head h1 {
	margin: 0;
	font-size: 36px;
	line-height: 1.12;
}

.op-archive__count {
	margin: 6px 0 0;
	color: var(--wp--preset--color--text-2);
	font-size: 15px;
}

.op-archive__intro {
	margin: 14px 0 0;
	max-width: 820px;
	font-size: 17px;
	line-height: 1.5;
}

.op-tags {
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.op-tags a {
	min-height: 40px;
	padding: 0 14px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border: 1.5px solid var(--wp--preset--color--line-strong);
	border-radius: 6px;
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--text);
	text-decoration: none;
	font-size: 15px;
	font-weight: 600;
}

.op-tags a:hover {
	border-color: var(--wp--preset--color--primary);
}

.op-tags a[aria-current] {
	background: var(--wp--preset--color--primary);
	border-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--white);
}

.op-tags span {
	font-weight: 400;
	font-size: 13px;
	opacity: 0.75;
}

.op-filters {
	margin-top: 24px;
	border-top: 1px solid var(--wp--preset--color--line);
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.op-filters > summary {
	min-height: 48px;
	display: flex;
	align-items: center;
	font-weight: 700;
	color: var(--wp--preset--color--primary);
}

.op-filters > summary::after {
	content: "+";
	margin-left: 10px;
	color: var(--wp--preset--color--primary);
	font-weight: 400;
	font-size: 22px;
}

.op-filters[open] > summary::after {
	content: "–";
}

.op-filters__form {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 16px 28px;
	padding: 4px 0 20px;
}

.op-filters__form p,
.op-filters__form fieldset {
	margin: 0;
	padding: 0;
	border: 0;
}

.op-filters__form legend,
.op-filters__field label {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 700;
	padding: 0;
}

.op-filters__price {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.op-filters__price legend {
	width: 100%;
}

.op-filters input[type="number"],
.op-filters select {
	height: 44px;
	box-sizing: border-box;
	border: 1.5px solid var(--wp--preset--color--line-strong);
	border-radius: 6px;
	background: var(--wp--preset--color--white);
	padding: 0 10px;
	font: inherit;
	font-size: 15px;
	color: var(--wp--preset--color--text);
}

.op-filters input[type="number"] {
	width: 100px;
}

.op-filters select {
	min-width: 180px;
}

.op-filters__check {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
}

.op-filters__check input {
	width: 20px;
	height: 20px;
	accent-color: var(--wp--preset--color--primary);
}

.op-filters__actions {
	display: flex;
	align-items: center;
	gap: 16px;
}

.op-filters__actions .op-btn {
	border: 0;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
}

.op-grid {
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
	gap: 16px;
}

.op-grid > li {
	display: flex;
}

.op-pcard {
	flex: 1;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 10px;
	padding: 16px;
	background: var(--wp--preset--color--white);
	text-decoration: none;
	display: flex;
	flex-direction: column;
	gap: 8px;
	color: var(--wp--preset--color--text);
}

.op-pcard:hover .op-pcard__name {
	color: var(--wp--preset--color--primary);
	text-decoration: underline;
}

.op-pcard__img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	background: var(--wp--preset--color--white);
	margin-bottom: 4px;
}

.op-pcard__name {
	font-weight: 600;
	line-height: 1.3;
	color: var(--wp--preset--color--text);
}

.op-pcard__price {
	font-family: var(--wp--preset--font-family--display);
	font-size: 18px;
	font-weight: 800;
	color: var(--wp--preset--color--ink);
}

.op-pcard__tech {
	font-size: 13px;
	color: var(--wp--preset--color--text-3);
}

.op-pcard__dots {
	display: flex;
	align-items: center;
	gap: 5px;
	margin-top: auto;
	padding-top: 4px;
}

.op-dot {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px rgba(13, 27, 61, 0.25);
}

.op-pcard__more {
	font-size: 13px;
	color: var(--wp--preset--color--text-2);
}

.op-pages ul {
	margin: 32px 0 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
}

.op-pages .page-numbers {
	min-width: 44px;
	min-height: 44px;
	padding: 0 12px;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1.5px solid var(--wp--preset--color--line-strong);
	border-radius: 6px;
	background: var(--wp--preset--color--white);
	text-decoration: none;
	font-weight: 600;
}

.op-pages .page-numbers.current {
	background: var(--wp--preset--color--primary);
	border-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--white);
}

.op-pages .page-numbers.dots {
	border: 0;
	background: none;
}

.op-empty {
	margin-top: 40px;
	font-size: 17px;
}

@media (max-width: 899px) {
	.op-archive {
		padding: 0 16px 72px;
	}

	.op-archive .op-crumbs ol {
		display: flex;
	}

	.op-archive__head h1 {
		font-size: 28px;
	}

	.op-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.op-pcard {
		padding: 10px;
	}

	.op-pcard__price {
		font-size: 16px;
	}

	.op-filters__form > * {
		flex: 1 1 100%;
	}

	.op-filters select {
		width: 100%;
	}
}

/* ---------- Shared: breadcrumb, button ---------- */

.op-crumbs {
	padding: 18px 0 0;
	font-size: 14px;
	color: var(--wp--preset--color--text-2);
}

.op-crumbs ol {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 4px 10px;
}

.op-crumbs a {
	color: var(--wp--preset--color--text-3);
}

.op-crumbs [aria-current] {
	color: var(--wp--preset--color--text);
}

.op-crumbs__back {
	display: none;
}

.op-btn {
	align-self: flex-start;
	min-height: 46px;
	padding: 0 18px;
	display: inline-flex;
	align-items: center;
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--white);
	text-decoration: none;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	border-radius: 10px;
}

.op-btn:hover {
	background: var(--wp--preset--color--primary-dark);
	color: var(--wp--preset--color--white);
}

/* Information pages (stage 4a): the account manager's photo on Contact, tables. */
.op-page-photo-wrap {
	margin: 8px 0 12px;
}

.op-page-photo {
	display: block;
	width: 320px;
	max-width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 8px;
}

.wp-block-post-content .wp-block-table table {
	border-collapse: collapse;
	width: 100%;
}

.wp-block-post-content .wp-block-table th,
.wp-block-post-content .wp-block-table td {
	padding: 8px 10px;
	border: 1px solid var(--wp--preset--color--line);
	text-align: left;
	vertical-align: top;
}

/* Contact: the account manager's card (photo beside the name, role and contacts; above on phones). */
.op-contact-card {
	display: flex;
	gap: 28px;
	align-items: flex-start;
	max-width: 760px;
	margin: 8px 0 32px;
	padding: 24px;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 10px;
	background: var(--wp--preset--color--white);
}

.op-contact-card .op-page-photo-wrap {
	flex: none;
	margin: 0;
}

.op-contact-card .op-page-photo {
	width: 180px;
}

.op-contact-card__body > * {
	margin-top: 0;
}

.op-contact-card__body > * + * {
	margin-top: 12px;
}

.op-contact-card__body ul {
	padding-left: 20px;
}

@media (max-width: 600px) {
	.op-contact-card {
		flex-direction: column;
		gap: 16px;
		padding: 16px;
	}
}

/* Cookie banner v2 (04.11.2026): a modal <dialog> in the middle of the screen (600 px; on phones a
   panel that comes up from the bottom), the page behind dimmed and blurred, not usable until a
   choice; "Refuz" and "Accept toate" of the same size; the settings layer in the same window; a
   short confirmation at the bottom left. In the top layer: no layout shift. */
.op-consent {
	box-sizing: border-box;
	width: min(600px, calc(100vw - 32px));
	max-height: calc(100dvh - 32px);
	margin: auto;
	padding: 0;
	border: 0;
	border-radius: 16px;
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--text);
	box-shadow: 0 24px 60px rgba(13, 27, 61, 0.28);
	font-size: 0.9375rem;
	line-height: 1.5;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.op-consent::backdrop {
	background: rgba(13, 27, 61, 0.55);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
}

.op-consent__in {
	padding: 24px 28px 26px;
}

.op-consent__layer[hidden] {
	display: none;
}

.op-consent__head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 14px;
}

.op-consent__logo {
	flex: none;
	width: 32px;
	height: 32px;
}

.op-consent__title {
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.375rem;
	line-height: 1.2;
	color: var(--wp--preset--color--ink);
}

.op-consent__title:focus {
	outline: none;
}

.op-consent__text {
	margin: 0 0 10px;
}

.op-consent__small {
	margin: 0 0 20px;
	font-size: 0.8125rem;
	color: var(--wp--preset--color--text-2);
}

.op-consent a {
	color: var(--wp--preset--color--primary);
}

.op-consent__btns {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.op-consent__btn {
	box-sizing: border-box;
	min-width: 170px;
	min-height: 48px;
	padding: 0 18px;
	border: 2px solid var(--wp--preset--color--primary);
	border-radius: 10px;
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--primary);
	font: inherit;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	cursor: pointer;
}

.op-consent__btn--fill {
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--white);
}

.op-consent__btn:hover {
	border-color: var(--wp--preset--color--primary-dark);
	color: var(--wp--preset--color--primary-dark);
}

.op-consent__btn--fill:hover {
	background: var(--wp--preset--color--primary-dark);
	color: var(--wp--preset--color--white);
}

.op-consent__link {
	min-height: 44px;
	margin-left: auto;
	padding: 0 4px;
	border: 0;
	background: none;
	font: inherit;
	font-weight: 600;
	color: var(--wp--preset--color--primary);
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.op-consent__back {
	flex: none;
	min-height: 44px;
	padding: 0 10px 0 0;
	border: 0;
	background: none;
	font: inherit;
	font-weight: 600;
	color: var(--wp--preset--color--primary);
	cursor: pointer;
}

/* The settings layer: one row per category. */
.op-consent__cats {
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
}

.op-consent__cat {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	justify-content: space-between;
	padding: 14px 0;
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.op-consent__cat:first-child {
	padding-top: 0;
}

.op-consent__cat h3 {
	margin: 0 0 4px;
	font-size: 1rem;
	color: var(--wp--preset--color--ink);
}

.op-consent__cat p {
	margin: 0;
	font-size: 0.875rem;
	color: var(--wp--preset--color--text-2);
}

.op-consent__always {
	flex: none;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--wp--preset--color--success-soft);
	color: var(--wp--preset--color--success);
	font-size: 0.8125rem;
	font-weight: 700;
	white-space: nowrap;
}

/* A switch: <button aria-pressed>, 52 × 32 px, 44 px with its padding. */
.op-switch {
	flex: none;
	position: relative;
	width: 60px;
	height: 44px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}

.op-switch::before {
	content: "";
	position: absolute;
	top: 6px;
	left: 4px;
	width: 52px;
	height: 32px;
	border-radius: 999px;
	background: var(--wp--preset--color--line-strong);
	transition: background 150ms ease;
}

.op-switch::after {
	content: "";
	position: absolute;
	top: 10px;
	left: 8px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--wp--preset--color--white);
	box-shadow: 0 1px 3px rgba(13, 27, 61, 0.3);
	transition: transform 150ms ease;
}

.op-switch[aria-pressed="true"]::before {
	background: var(--wp--preset--color--primary);
}

.op-switch[aria-pressed="true"]::after {
	transform: translateX(20px);
}

.op-consent__btn:focus-visible,
.op-consent__link:focus-visible,
.op-consent__back:focus-visible,
.op-consent a:focus-visible,
.op-switch:focus-visible,
.op-consent-toast button:focus-visible {
	outline: 3px solid var(--wp--preset--color--accent);
	outline-offset: 2px;
}

/* After a choice: 6 seconds at the bottom left. */
.op-consent-toast {
	position: fixed;
	left: 16px;
	bottom: 16px;
	z-index: 1000;
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: calc(100vw - 32px);
	box-sizing: border-box;
	padding: 10px 12px 10px 16px;
	border-radius: 10px;
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--white);
	box-shadow: 0 8px 24px rgba(13, 27, 61, 0.25);
	font-size: 0.875rem;
}

.op-consent-toast[hidden] {
	display: none;
}

.op-consent-toast p {
	margin: 0;
}

.op-consent-toast button {
	flex: none;
	min-height: 44px;
	padding: 0 12px;
	border: 1px solid rgba(255, 255, 255, 0.6);
	border-radius: 8px;
	background: none;
	color: var(--wp--preset--color--white);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
	.op-switch::before,
	.op-switch::after {
		transition: none;
	}
}

@media (max-width: 600px) {
	/* A panel from the bottom, the whole width, rounded at the top. */
	.op-consent {
		width: 100vw;
		max-width: 100vw;
		max-height: 92dvh;
		margin: auto 0 0;
		border-radius: 16px 16px 0 0;
		animation: op-consent-up 220ms ease-out;
	}

	.op-consent__in {
		padding: 20px 16px calc(18px + env(safe-area-inset-bottom, 0px));
	}

	.op-consent__title {
		font-size: 1.1875rem;
	}

	.op-consent__btns {
		gap: 10px;
	}

	.op-consent__btn {
		flex: 1 1 calc(50% - 5px);
		min-width: 0;
	}

	/* Settings: "Accept toate" on its own row, below "Refuz toate" + "Salvează". */
	.op-consent__btn--wide {
		flex-basis: 100%;
		order: -1;
	}

	.op-consent__link {
		margin: 0 auto;
	}

	.op-consent-toast {
		left: 8px;
		right: 8px;
		bottom: calc(76px + env(safe-area-inset-bottom, 0px)); /* Above the product page's bottom bar. */
	}
}

@keyframes op-consent-up {
	from { transform: translateY(100%); }
	to { transform: none; }
}

@media (max-width: 600px) and (prefers-reduced-motion: reduce) {
	.op-consent {
		animation: none;
	}
}

.wp-block-post-content .wp-block-table {
	overflow-x: auto;
}

.wp-block-post-content .wp-block-table table {
	min-width: 560px;
}
