/* ==========================================================================
   Farmacia MunpoSAN – „Farmacie modernă” (mobile-first)
   Alb + roșu MunpoSAN (din logo) + gri grafit, carduri rotunjite,
   titluri Outfit, motiv „+” (crucea din logo).
   Breakpoint-uri: 400 · 480 · 640 · 768 · 1024 · 1200
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
	--mp-bg: #f3f4f6;
	--mp-paper: #ffffff;
	--mp-soft: #f7f8fa;
	--mp-border: #e4e7eb;
	--mp-border-strong: #cfd4da;
	--mp-text: #1f252c;
	--mp-muted: #5c6570;

	--mp-ink: #1c2128;           /* grafit */
	--mp-ink-700: #2c333c;
	--mp-red: #d10a14;           /* roșu din logo, sigur pe text alb */
	--mp-red-logo: #fe0001;
	--mp-red-700: #a9070f;
	--mp-red-50: #fdeeee;
	--mp-red-100: #fbdcdc;
	--mp-star: #f1a20b;
	--mp-ok: #14805a;
	--mp-ok-50: #e7f5ef;
	--mp-danger: #b42318;

	--mp-head: "MP Head", "Segoe UI", system-ui, sans-serif;
	--mp-sans: "MP Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--mp-container: 1240px;
	--mp-gutter: 16px;
	--mp-radius-sm: 8px;
	--mp-radius: 12px;
	--mp-radius-lg: 18px;
	--mp-radius-xl: 26px;
	--mp-shadow-sm: 0 1px 2px rgba(28, 33, 40, .06), 0 2px 8px rgba(28, 33, 40, .05);
	--mp-shadow: 0 12px 32px rgba(28, 33, 40, .10);
	--mp-header-h: 64px;
	--mp-logo-h: 48px;
	--mp-admin-bar: var(--wp-admin--admin-bar--height, 0px);

	/* motivul „+” */
	--mp-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M24 18v12M18 24h12' stroke='%23d10a14' stroke-opacity='.13' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
	--mp-plus-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E");
}
@media (min-width: 768px) { :root { --mp-gutter: 24px; } }
@media (min-width: 1200px) { :root { --mp-gutter: 32px; } }

/* ---------- 2. Bază (peste Astra) ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--mp-header-h) + var(--mp-admin-bar) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body.mp-site {
	margin: 0;
	font-family: var(--mp-sans);
	font-size: 17px;
	line-height: 1.65;
	color: var(--mp-text);
	background: var(--mp-bg);
	-webkit-font-smoothing: antialiased;
	overflow-wrap: break-word;
}
.mp-site #page, .mp-site .site-content, .mp-site #content { background: transparent; }
.mp-site button, .mp-site input, .mp-site select, .mp-site textarea { font-family: inherit; }

body.mp-site :where(h1, h2, h3, h4) {
	font-family: var(--mp-head);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -.015em;
	color: var(--mp-ink);
	margin: 0 0 .5em;
	text-wrap: balance;
}
body.mp-site :where(h1) { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.25rem); font-weight: 800; }
body.mp-site :where(h2) { font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.1rem); }
body.mp-site :where(h3) { font-size: clamp(1.1rem, 1.02rem + .45vw, 1.3rem); font-weight: 600; }
:where(.mp-site) p { margin: 0 0 1em; }
:where(.mp-site) a { color: var(--mp-red); text-underline-offset: 3px; }
:where(.mp-site) a:hover { color: var(--mp-red-700); }
.mp-site img { max-width: 100%; height: auto; }
.mp-site :focus-visible { outline: 3px solid var(--mp-red); outline-offset: 2px; border-radius: 4px; }
.mp-site .screen-reader-text:focus { background: var(--mp-paper); color: var(--mp-text); }

.mp-container,
.mp-site .ast-container,
.mp-site .site-content > .ast-container {
	box-sizing: border-box;
	width: 100%;
	max-width: calc(var(--mp-container) + 2 * var(--mp-gutter));
	margin-inline: auto;
	padding-inline: var(--mp-gutter);
}
.mp-site .site-content > .ast-container { display: block; }
.mp-site #primary { width: 100%; margin: 20px 0 64px; padding: 0; float: none; border: 0; }
@media (min-width: 1024px) { .mp-site #primary { margin: 28px 0 96px; } }
.mp-site #secondary { display: none; }
.mp-site .ast-article-single, .mp-site .ast-article-post, .mp-site article.page {
	background: transparent; padding: 0; margin: 0; border: 0; box-shadow: none;
}
.mp-site .entry-header { margin-bottom: 20px; }
.mp-site .entry-title { margin: 0; }

/* ---------- 3. Butoane ---------- */
.mp-btn,
.mp-site .wp-block-button__link,
.mp-site .button,
.mp-site button.button,
.mp-site input[type="submit"] {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 50px; padding: 12px 24px; box-sizing: border-box;
	font: 700 16px/1.2 var(--mp-sans); letter-spacing: 0; text-transform: none;
	color: #fff; background: var(--mp-red); border: 2px solid var(--mp-red); border-radius: var(--mp-radius);
	text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
	-webkit-tap-highlight-color: transparent;
}
.mp-btn:hover,
.mp-site .wp-block-button__link:hover,
.mp-site .button:hover,
.mp-site input[type="submit"]:hover { background: var(--mp-red-700); border-color: var(--mp-red-700); color: #fff; box-shadow: 0 6px 16px rgba(209, 10, 20, .22); }
.mp-btn--outline { background: #fff; color: var(--mp-ink); border-color: var(--mp-border-strong); }
.mp-btn--outline:hover { background: #fff; color: var(--mp-red); border-color: var(--mp-red); box-shadow: none; }
.mp-btn--accent { background: var(--mp-red); border-color: var(--mp-red); }
.mp-site .wp-block-buttons { gap: 12px; }

.mp-link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; text-decoration: none; }
.mp-link-arrow svg { transition: transform .15s; }
.mp-link-arrow:hover svg { transform: translateX(3px); }

/* ---------- 4. Bara de sus + header ---------- */
.mp-topbar { background: var(--mp-ink); color: #e6e9ed; font-size: 13.5px; line-height: 1.3; }
.mp-topbar__inner { display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 34px; padding-block: 6px; }
.mp-topbar__text { display: flex; align-items: center; gap: 8px; margin: 0; text-align: center; }
.mp-topbar__text svg { flex: 0 0 auto; color: #ff6b6b; }
.mp-topbar__phone { display: none; align-items: center; gap: 6px; color: #fff; font-weight: 700; text-decoration: none; }
.mp-topbar__phone:hover { color: #fff; text-decoration: underline; }
@media (max-width: 599px) { .mp-topbar__text span { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; } }
@media (min-width: 900px) {
	.mp-topbar__inner { justify-content: space-between; }
	.mp-topbar__phone { display: inline-flex; }
}

.mp-header { position: sticky; top: var(--mp-admin-bar); z-index: 200; background: var(--mp-paper); transition: box-shadow .2s; }
.mp-header.is-scrolled { box-shadow: 0 6px 20px rgba(28, 33, 40, .08); }
@media (max-width: 600px) { .admin-bar .mp-header { top: 0; } }
.mp-header__bar { position: relative; }
.mp-header__inner { display: flex; align-items: center; gap: 10px; min-height: 64px; padding-block: 8px; }

/* Logo: simbol + „Farmacia / MunpoSAN” */
.mp-logo { display: inline-flex; align-items: center; gap: 10px; flex: 0 1 auto; min-width: 0; margin-right: auto; color: var(--mp-ink); text-decoration: none; }
.mp-logo:hover { color: var(--mp-ink); }
.mp-logo__img { display: block; width: auto; height: 40px; max-width: 180px; object-fit: contain; }
.mp-logo__mark { width: 40px; }
.mp-logo__text { display: flex; flex-direction: column; min-width: 0; line-height: 1; }
.mp-logo__kicker { font-family: var(--mp-sans); font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--mp-muted); margin-bottom: 3px; }
.mp-logo__name { font-family: var(--mp-head); font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--mp-ink); white-space: nowrap; }
.mp-logo__name b { font-weight: 800; color: var(--mp-red); }
@media (min-width: 1024px) {
	.mp-logo__img { height: var(--mp-logo-h); max-width: 240px; }
	.mp-logo__mark { width: var(--mp-logo-h); }
	.mp-logo__name { font-size: 26px; }
	.mp-logo__kicker { font-size: 12px; }
}

.mp-header__actions { display: flex; align-items: center; gap: 4px; margin-right: -6px; }
.mp-icon-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-width: 44px; height: 44px; padding: 0 10px; box-sizing: border-box;
	color: var(--mp-ink); background: transparent; border: 0; border-radius: var(--mp-radius); cursor: pointer;
	text-decoration: none; -webkit-tap-highlight-color: transparent; font-weight: 700; font-size: 15px;
}
.mp-icon-btn:hover { background: var(--mp-bg); color: var(--mp-ink); }
.mp-menu-toggle { background: var(--mp-red-50); color: var(--mp-red); }
.mp-menu-toggle:hover { background: var(--mp-red-100); color: var(--mp-red); }
.mp-support__label { display: none; }

/* Căutare */
.mp-search {
	display: none; position: relative; align-items: center;
	height: 50px; background: var(--mp-bg);
	border: 2px solid transparent; border-radius: var(--mp-radius); transition: border-color .15s, background .15s;
}
.mp-search:focus-within { border-color: var(--mp-red); background: #fff; }
.mp-search input[type="search"] {
	flex: 1; min-width: 0; height: 100%; padding: 0 6px 0 18px; margin: 0;
	font-size: 16px; color: var(--mp-text); background: transparent; border: 0; border-radius: var(--mp-radius); outline: none; box-shadow: none;
	-webkit-appearance: none; appearance: none;
}
.mp-search input::placeholder { color: #87909b; }
.mp-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.mp-search button {
	display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin: 0 2px 0 0; min-height: 0;
	padding: 0; color: #fff; background: var(--mp-red); border: 0; border-radius: 10px; cursor: pointer;
}
.mp-search button:hover { background: var(--mp-red-700); }
@media (max-width: 1023px) {
	.mp-header.is-search-open .mp-search {
		display: flex; position: absolute; left: var(--mp-gutter); right: var(--mp-gutter); top: calc(100% + 6px); z-index: 5;
		background: #fff; border-color: var(--mp-red); box-shadow: var(--mp-shadow);
	}
}

/* Meniu categorii – „pastile” cu iconiță, pe un rând care se derulează */
.mp-nav { display: none; border-top: 1px solid var(--mp-border); border-bottom: 1px solid var(--mp-border); background: #fff; }
.mp-nav__list {
	display: flex; flex-wrap: nowrap; gap: 6px; margin: 0 auto; padding-block: 9px; list-style: none;
	overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--mp-border-strong) transparent;
}
.mp-nav__list li { flex: 0 0 auto; margin: 0; }
.mp-nav__list a {
	display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px 7px 9px;
	font-size: 14.5px; font-weight: 600; line-height: 1.3;
	color: var(--mp-ink); background: var(--mp-soft); border: 1px solid var(--mp-border); border-radius: 999px;
	text-decoration: none; white-space: nowrap; transition: color .15s, background .15s, border-color .15s;
}
.mp-nav__icon { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--mp-red); }
.mp-nav__list a:hover { background: var(--mp-red-50); border-color: var(--mp-red-100); color: var(--mp-red-700); }
.mp-nav__list a.is-current { background: var(--mp-red); border-color: var(--mp-red); color: #fff; }
.mp-nav__list a.is-current .mp-nav__icon { background: rgba(255, 255, 255, .18); color: #fff; }

@media (min-width: 1024px) {
	.mp-header__inner { gap: 28px; min-height: 82px; }
	.mp-logo { margin-right: 0; flex: 0 0 auto; }
	.mp-search { display: flex; flex: 1 1 auto; max-width: 600px; margin: 0 auto; }
	.mp-search-toggle, .mp-menu-toggle { display: none; }
	.mp-header__actions { margin-right: 0; }
	.mp-support { padding: 0 16px; background: var(--mp-red-50); color: var(--mp-red); }
	.mp-support:hover { background: var(--mp-red-100); color: var(--mp-red-700); }
	.mp-support__label { display: inline; }
	.mp-nav { display: block; }
	.mp-nav__list { flex-wrap: wrap; justify-content: center; overflow: visible; }
}

/* Drawer (mobil) */
.mp-drawer { position: fixed; inset: 0; z-index: 1000; }
.mp-drawer[hidden] { display: none; }
.mp-drawer__backdrop { position: absolute; inset: 0; background: rgba(28, 33, 40, .55); opacity: 0; transition: opacity .25s; }
.mp-drawer__panel {
	position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 380px);
	display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
	background: #fff; box-shadow: -10px 0 40px rgba(0, 0, 0, .2); border-radius: var(--mp-radius-lg) 0 0 var(--mp-radius-lg);
	transform: translateX(100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1);
	padding-bottom: env(safe-area-inset-bottom, 0px);
}
.mp-drawer.is-open .mp-drawer__backdrop { opacity: 1; }
.mp-drawer.is-open .mp-drawer__panel { transform: none; }
.mp-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 10px 12px 20px; position: sticky; top: 0; z-index: 1; background: #fff; border-bottom: 1px solid var(--mp-border); }
.mp-drawer__title { font-family: var(--mp-head); font-size: 21px; font-weight: 800; }
.mp-drawer__list { list-style: none; margin: 0; padding: 10px 12px; display: grid; gap: 4px; }
.mp-drawer__list a {
	display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 10px;
	color: var(--mp-text); text-decoration: none; border-radius: var(--mp-radius); font-size: 16.5px; font-weight: 600;
}
.mp-drawer__list a:hover, .mp-drawer__list a.is-current { background: var(--mp-red-50); color: var(--mp-red-700); }
.mp-drawer__icon { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 40px; height: 40px; border-radius: var(--mp-radius-sm); background: var(--mp-red-50); color: var(--mp-red); }
.mp-drawer__list a > span:nth-child(2) { flex: 1; }
.mp-drawer__chev { color: var(--mp-border-strong); }
html.mp-lock, html.mp-lock body { overflow: hidden; }

.mp-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mp-contact a { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; color: inherit; text-decoration: none; font-weight: 600; }
.mp-contact a:hover { text-decoration: underline; }
.mp-contact__phones { display: flex; align-items: center; gap: 10px; min-height: 40px; font-weight: 700; }
.mp-contact__phones > span { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; }
.mp-contact__phones a { text-decoration: none; color: inherit; }
.mp-contact__phones a:hover { text-decoration: underline; }
.mp-contact__sep { opacity: .5; font-weight: 400; }
.mp-contact svg { flex: 0 0 auto; }
body.mp-site ul.mp-contact.mp-drawer__contact { margin: auto 16px 16px !important; padding: 12px 16px !important; background: var(--mp-bg); border-radius: var(--mp-radius); }

/* ---------- 5. Elemente comune ---------- */
.mp-eyebrow, .mp-site p.mp-eyebrow {
	display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 6px 14px 6px 6px;
	font-size: 14px; font-weight: 700; letter-spacing: .01em; color: var(--mp-red-700); background: var(--mp-red-50); border-radius: 999px;
}
.mp-eyebrow::before { content: ""; flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; background: var(--mp-red) var(--mp-plus-white) center / 14px no-repeat; }
.mp-lead, .mp-site p.mp-lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.2rem); line-height: 1.65; color: var(--mp-muted); max-width: 34em; }
.mp-section { margin-top: clamp(48px, 6vw, 88px); }
.mp-section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 20px; margin-bottom: 22px; }
.mp-section__head .mp-section-title { margin: 0; }
/* Titlu de secțiune cu „+” roșu */
.mp-site .mp-section-title {
	display: flex; align-items: center; gap: 12px;
	font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.1rem); margin: clamp(44px, 6vw, 80px) 0 22px;
}
.mp-site .mp-section-title::before {
	content: ""; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px;
	background: var(--mp-red) var(--mp-plus-white) center / 20px no-repeat;
}
.mp-section .mp-section-title { margin-top: 0; }

.mp-badge {
	display: inline-block; padding: 4px 10px; font-size: 12px; font-weight: 700; line-height: 1.25;
	color: #fff; background: var(--mp-red); border-radius: 999px;
}

/* Stele */
.mp-stars { position: relative; display: inline-flex; line-height: 0; vertical-align: middle; color: var(--mp-star); }
.mp-stars svg { fill: currentColor; stroke: none; flex: 0 0 auto; }
.mp-stars__bg { display: inline-flex; gap: 1px; color: #dde1e6; }
.mp-stars__fg { position: absolute; inset: 0 auto 0 0; display: inline-flex; gap: 1px; width: var(--mp-stars, 0%); overflow: hidden; white-space: nowrap; }
.mp-rating { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--mp-muted); }

/* Avantaje – trei carduri albe */
.mp-trust { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.mp-trust__item { display: flex; align-items: center; gap: 14px; margin: 0; padding: 14px 16px; background: #fff; border-radius: var(--mp-radius); box-shadow: var(--mp-shadow-sm); }
.mp-trust__item > svg { flex: 0 0 auto; box-sizing: content-box; padding: 11px; border-radius: var(--mp-radius); color: var(--mp-red); background: var(--mp-red-50); }
.mp-trust__item strong { display: block; font-family: var(--mp-head); font-size: 16.5px; font-weight: 700; line-height: 1.25; color: var(--mp-ink); }
.mp-trust__item span { display: block; font-size: 14.5px; line-height: 1.4; color: var(--mp-muted); }
@media (min-width: 768px) {
	.mp-trust { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
	.mp-trust__item { padding: 18px 20px; }
}

/* ---------- 6. Grile & carduri ---------- */
.mp-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.mp-grid > li { margin: 0; min-width: 0; display: flex; }
.mp-grid > li > * { flex: 1; }

/* Categorii */
.mp-grid--cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mp-cat {
	position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; height: 100%; box-sizing: border-box;
	padding: 16px 14px 14px; background: #fff; border: 1.5px solid transparent; border-radius: var(--mp-radius-lg); box-shadow: var(--mp-shadow-sm);
	transition: box-shadow .2s, border-color .2s, transform .2s;
}
.mp-cat:hover { border-color: var(--mp-red-100); box-shadow: var(--mp-shadow); }
@media (hover: hover) { .mp-cat:hover { transform: translateY(-2px); } }
.mp-cat__icon { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-bottom: 10px; border-radius: var(--mp-radius); color: var(--mp-red); background: var(--mp-red-50); transition: background .2s, color .2s; }
.mp-cat:hover .mp-cat__icon { background: var(--mp-red); color: #fff; }
.mp-site .mp-cat__title { margin: 0; font-size: 15.5px; line-height: 1.25; font-weight: 700; }
.mp-site .mp-cat__link { color: var(--mp-ink); text-decoration: none; }
.mp-cat__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.mp-cat__link:focus-visible { outline: none; }
.mp-cat__link:focus-visible::after { outline: 3px solid var(--mp-red); outline-offset: 2px; }
.mp-site .mp-cat__text { display: none; margin: 4px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--mp-muted); }
.mp-site .mp-cat__count { margin: auto 0 0; padding-top: 10px; font-size: 13px; font-weight: 600; color: var(--mp-muted); }
@media (min-width: 640px) {
	.mp-grid--cats { gap: 16px; }
	.mp-cat { padding: 22px 22px 18px; }
	.mp-site .mp-cat__title { font-size: 18px; }
	.mp-site .mp-cat__text { display: block; }
}
@media (min-width: 900px) { .mp-grid--cats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .mp-grid--cats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Produse */
.mp-grid--products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 768px) { .mp-grid--products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .mp-grid--products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }

.mp-card {
	position: relative; display: flex; flex-direction: column; height: 100%; box-sizing: border-box; padding: 8px;
	background: #fff; border: 1.5px solid transparent; border-radius: var(--mp-radius-lg); box-shadow: var(--mp-shadow-sm);
	transition: box-shadow .2s, border-color .2s;
}
.mp-card:hover { box-shadow: var(--mp-shadow); border-color: var(--mp-red-100); }
.mp-card__media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--mp-soft); border-radius: var(--mp-radius); }
.mp-card__media img, .mp-site .mp-card__img {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8%; box-sizing: border-box;
	transition: transform .35s;
}
.mp-card:hover .mp-card__img { transform: scale(1.05); }
.mp-card__media .mp-badge { position: absolute; z-index: 1; top: 8px; left: 8px; }
.mp-card__body { display: flex; flex-direction: column; gap: 4px; flex: 1; padding: 12px 6px 4px; }
.mp-site .mp-card__cat { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mp-red); }
.mp-site .mp-card__title { margin: 0; font-size: 15.5px; line-height: 1.3; font-weight: 700; }
.mp-site .mp-card__link { color: var(--mp-ink); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mp-card__link::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: var(--mp-radius-lg); }
.mp-site .mp-card__link:hover { color: var(--mp-red); }
.mp-card__link:focus-visible { outline: none; }
.mp-card__link:focus-visible::after { outline: 3px solid var(--mp-red); outline-offset: 2px; }
.mp-site .mp-card__sub {
	margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--mp-muted);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mp-card .mp-rating { font-size: 12.5px; }
.mp-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; }
.mp-card__price { font-family: var(--mp-head); font-size: 19px; font-weight: 800; color: var(--mp-ink); line-height: 1.15; }
.mp-card__price del { font-size: 13px; font-weight: 400; color: var(--mp-muted); margin-right: 4px; }
.mp-card__price ins { text-decoration: none; color: var(--mp-red); }
.mp-card__cta {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex: 0 0 auto; min-height: 40px; min-width: 40px; box-sizing: border-box;
	padding: 0 12px; white-space: nowrap; border-radius: 10px; font-size: 14px; font-weight: 700; gap: 0;
	color: var(--mp-red); background: var(--mp-red-50); transition: background .15s, color .15s;
}
.mp-card:hover .mp-card__cta { background: var(--mp-red); color: #fff; }
.mp-card__cta svg { margin-left: 5px; }
@media (max-width: 479px) { .mp-card__cta-long { display: none; } .mp-card__cta { padding: 0 10px; } }
@media (min-width: 480px) {
	.mp-card { padding: 10px; }
	.mp-site .mp-card__title { font-size: 17px; }
	.mp-site .mp-card__sub { font-size: 14px; }
	.mp-card__price { font-size: 21px; }
}

/* Carusel orizontal pe mobil */
@media (max-width: 767px) {
	.mp-grid--scroll {
		display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
		margin-inline: calc(-1 * var(--mp-gutter)); padding: 6px var(--mp-gutter) 16px; scroll-padding-inline: var(--mp-gutter);
		scrollbar-width: none;
	}
	.mp-grid--scroll::-webkit-scrollbar { display: none; }
	.mp-grid--scroll > li { flex: 0 0 62%; scroll-snap-align: start; }
}

/* ---------- 7. Home: hero card alb cu panou roșu și motiv „+” ---------- */
.mp-site .mp-hero {
	position: relative; overflow: hidden; margin: 12px 0 0; padding: 26px 18px;
	background: #fff; border-radius: var(--mp-radius-xl); box-shadow: var(--mp-shadow-sm);
}
.mp-site .mp-hero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: var(--mp-plus) 0 0 / 48px 48px;
	-webkit-mask-image: linear-gradient(115deg, transparent 35%, #000 85%); mask-image: linear-gradient(115deg, transparent 35%, #000 85%);
}
.mp-site .mp-hero__cols { position: relative; z-index: 1; gap: 28px; margin: 0; }
.mp-site .mp-hero__title { margin: 0 0 16px; }
.mp-site .mp-hero .wp-block-buttons { margin-top: 24px; }

.mp-hero-grid {
	list-style: none; margin: 0; padding: 0; display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, auto); gap: 10px;
}
.mp-hero-grid li { margin: 0; }
.mp-hero-grid li:first-child { grid-column: span 2; grid-row: span 2; }
.mp-hero-grid li:nth-child(n+4) { display: none; }
.mp-hero-grid a {
	display: block; height: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: var(--mp-soft);
	border-radius: var(--mp-radius); transition: transform .2s, box-shadow .2s;
}
.mp-hero-grid li:first-child a { aspect-ratio: auto; min-height: 100%; background: var(--mp-red-50); }
.mp-hero-grid a:hover { transform: translateY(-2px); box-shadow: var(--mp-shadow); }
.mp-hero-grid img { width: 100%; height: 100%; object-fit: contain; padding: 10%; box-sizing: border-box; display: block; }
@media (max-width: 781px) {
	.mp-site .mp-hero__text .wp-block-buttons { flex-direction: column; align-items: stretch; }
	.mp-site .mp-hero__text .wp-block-button, .mp-site .mp-hero__text .wp-block-button__link { width: 100%; }
}
@media (min-width: 782px) {
	.mp-site .mp-hero { padding: 44px 40px; }
	.mp-site .mp-hero__cols { gap: 40px; }
	.mp-hero-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
	.mp-hero-grid li:nth-child(n+4) { display: block; }
}
@media (min-width: 1024px) {
	.mp-site .mp-hero { margin-top: 20px; padding: 60px 56px; }
	.mp-site .mp-hero__cols { gap: 56px; }
}

/* ---------- 8. Breadcrumb ---------- */
.mp-breadcrumb, .mp-site .woocommerce-breadcrumb {
	margin: 0 0 16px; font-size: 14px; line-height: 1.5; color: var(--mp-muted);
	white-space: nowrap; overflow-x: auto; scrollbar-width: none;
}
.mp-breadcrumb::-webkit-scrollbar { display: none; }
.mp-breadcrumb a { color: var(--mp-muted); text-decoration: none; }
.mp-breadcrumb a:hover { color: var(--mp-red); }
.mp-breadcrumb__sep, .mp-breadcrumb .separator { margin: 0 8px; color: var(--mp-border-strong); }
.mp-breadcrumb .last { color: var(--mp-ink); font-weight: 600; }

/* ---------- 9. Pagina de produs ---------- */
.mp-product { margin: 0; }
.mp-site.single-product div.product { position: static; }
.mp-pd-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }

.mp-pd-gallery { position: relative; min-width: 0; padding: 12px; background: #fff; border-radius: var(--mp-radius-lg); box-shadow: var(--mp-shadow-sm); }
.mp-site div.product .mp-pd-gallery .woocommerce-product-gallery,
.mp-site div.product .mp-pd-gallery .images { width: 100% !important; float: none !important; margin: 0 !important; opacity: 1 !important; }
.mp-site .mp-pd-gallery .woocommerce-product-gallery__wrapper { margin: 0; }
.mp-site .mp-pd-gallery .woocommerce-product-gallery__image,
.mp-site .mp-pd-gallery .woocommerce-product-gallery__image a { display: block; }
.mp-site .mp-pd-gallery .woocommerce-product-gallery__image img { width: 100%; aspect-ratio: 1 / 1; height: auto; max-height: 470px; object-fit: contain; background: var(--mp-soft); border-radius: var(--mp-radius); }
.mp-site .mp-pd-gallery .flex-control-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.mp-site .mp-pd-gallery .flex-control-thumbs li { width: auto !important; float: none !important; margin: 0 !important; }
.mp-site .mp-pd-gallery .flex-control-thumbs img { aspect-ratio: 1; object-fit: contain; border: 2px solid transparent; border-radius: var(--mp-radius-sm); opacity: .7; cursor: pointer; background: var(--mp-soft); }
.mp-site .mp-pd-gallery .flex-control-thumbs img.flex-active, .mp-site .mp-pd-gallery .flex-control-thumbs img:hover { opacity: 1; border-color: var(--mp-red); }
.mp-site .mp-pd-gallery .woocommerce-product-gallery__trigger {
	position: absolute; top: 20px; right: 20px; z-index: 5; width: 40px; height: 40px; border-radius: 50%;
	background: #fff; box-shadow: var(--mp-shadow-sm); display: flex; align-items: center; justify-content: center;
}
.mp-site .mp-pd-gallery .onsale { display: none; }

.mp-pd-summary { min-width: 0; }
.mp-site div.product .mp-pd-summary { float: none !important; width: auto !important; margin: 0 !important; clear: none; }
.mp-site .mp-pd-summary .product_title { margin: 0 0 10px; font-size: clamp(1.75rem, 1.25rem + 2vw, 2.5rem); line-height: 1.12; font-weight: 800; }
.mp-site .mp-pd-subtitle { margin: 0 0 12px; font-size: 17.5px; line-height: 1.5; color: var(--mp-muted); }
.mp-pd-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 18px; }
.mp-pd-meta__rating { text-decoration: none; }
.mp-stock { display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px; font-size: 13.5px; font-weight: 700; border-radius: 999px; }
.mp-stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.mp-stock.is-in { color: var(--mp-ok); background: var(--mp-ok-50); }
.mp-stock.is-out { color: var(--mp-danger); background: var(--mp-red-50); }
.mp-site div.product .mp-pd-summary .price {
	display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0 0 20px;
	font-family: var(--mp-head); font-size: 36px; font-weight: 800; line-height: 1.05; color: var(--mp-red);
}
.mp-site div.product .mp-pd-summary .price del { font-size: 20px; font-weight: 400; color: var(--mp-muted); opacity: 1; }
.mp-site div.product .mp-pd-summary .price ins { text-decoration: none; color: var(--mp-red); }
.mp-site .woocommerce-product-details__short-description { font-size: 17px; color: var(--mp-text); }
.mp-site .woocommerce-product-details__short-description p { margin: 0 0 12px; }
.mp-site .woocommerce-product-details__short-description ul,
.mp-site .mp-highlights,
.mp-prose ul.is-style-mp-checks { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.mp-site .woocommerce-product-details__short-description li,
.mp-site .mp-highlights li,
.mp-prose ul.is-style-mp-checks li { position: relative; margin: 0; padding-left: 34px; line-height: 1.5; }
.mp-site .woocommerce-product-details__short-description li::before,
.mp-site .mp-highlights li::before,
.mp-prose ul.is-style-mp-checks li::before {
	content: ""; position: absolute; left: 0; top: .08em; width: 23px; height: 23px; border-radius: 50%;
	background: var(--mp-red-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d10a14' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.mp-site .mp-highlights { font-size: 17px; padding: 16px 18px; background: #fff; border-radius: var(--mp-radius); box-shadow: var(--mp-shadow-sm); }
.mp-site .mp-pd-summary form.cart { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 0; }
.mp-site .mp-pd-summary form.cart .quantity input { height: 50px; width: 72px; border-radius: var(--mp-radius); border: 1.5px solid var(--mp-border-strong); text-align: center; }
.mp-site .mp-pd-summary .single_add_to_cart_button { flex: 1 1 200px; }

.mp-pd-order { min-width: 0; }
@media (min-width: 640px) {
	.mp-pd-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
	.mp-pd-order { grid-column: 1 / -1; }
	.mp-pd-order .afm-inline { max-width: 620px; margin-inline: auto; }
}
@media (min-width: 1100px) {
	.mp-pd-top { gap: 36px; }
	.mp-pd-top.has-order { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(320px, 360px); }
	.mp-pd-top.has-order .mp-pd-order { grid-column: auto; position: sticky; top: calc(var(--mp-header-h) + var(--mp-admin-bar) + 16px); }
	.mp-pd-top.has-order .mp-pd-order .afm-inline { max-width: none; }
}

.mp-product > .mp-trust { margin-top: 36px; }

/* Descriere + cuprins numerotat */
.mp-pd-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: clamp(32px, 5vw, 64px); }
.mp-pd-aside:empty { display: none; }
.mp-toc { background: #fff; border-radius: var(--mp-radius-lg); box-shadow: var(--mp-shadow-sm); padding: 0; }
.mp-toc__title {
	display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 16px 18px; cursor: pointer; list-style: none;
	font-family: var(--mp-head); font-size: 17px; font-weight: 700; color: var(--mp-ink);
}
.mp-toc__title::-webkit-details-marker { display: none; }
.mp-toc__chev { color: var(--mp-red); transition: transform .2s; }
.mp-toc[open] .mp-toc__chev { transform: rotate(180deg); }
.mp-toc__list { list-style: none; margin: 0; padding: 0 10px 12px; counter-reset: mptoc; }
.mp-toc__list li { margin: 0; counter-increment: mptoc; }
.mp-toc__list a {
	display: flex; gap: 12px; align-items: center; padding: 8px; font-size: 15.5px; line-height: 1.35;
	color: var(--mp-text); text-decoration: none; border-radius: var(--mp-radius-sm); transition: color .15s, background .15s;
}
.mp-toc__list a::before {
	content: counter(mptoc); flex: 0 0 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center;
	font-size: 13px; font-weight: 700; color: var(--mp-red); background: var(--mp-red-50); border-radius: 50%;
}
.mp-toc__list a:hover { color: var(--mp-red); background: var(--mp-soft); }
.mp-toc__list a.is-active { color: var(--mp-ink); font-weight: 700; background: var(--mp-red-50); }
.mp-toc__list a.is-active::before { background: var(--mp-red); color: #fff; }

@media (min-width: 1024px) {
	.mp-pd-body.has-toc { grid-template-columns: minmax(230px, 280px) minmax(0, 760px); justify-content: start; gap: 48px; }
	.mp-pd-aside .mp-toc { position: sticky; top: calc(var(--mp-header-h) + var(--mp-admin-bar) + 20px); max-height: calc(100vh - var(--mp-header-h) - 60px); overflow-y: auto; }
	.mp-pd-aside .mp-toc__title { cursor: default; pointer-events: none; }
	.mp-toc__chev { display: none; }
	.mp-pd-body:not(.has-toc) .mp-pd-content { max-width: 800px; }
}

/* Text lung – pe card alb */
.mp-pd-content { background: #fff; border-radius: var(--mp-radius-lg); box-shadow: var(--mp-shadow-sm); padding: 22px 18px; min-width: 0; }
@media (min-width: 768px) { .mp-pd-content { padding: 36px 40px; } }
.mp-prose { font-size: 17.5px; line-height: 1.75; }
.mp-prose > *:first-child { margin-top: 0; }
.mp-site .mp-prose h2 { margin: 1.9em 0 .6em; font-size: clamp(1.4rem, 1.15rem + 1.1vw, 1.85rem); }
.mp-site .mp-prose h2:first-child, .mp-site .mp-prose > :first-child { margin-top: 0; }
.mp-site .mp-prose h3 { margin: 1.6em 0 .5em; }
.mp-prose p, .mp-prose ul, .mp-prose ol { margin: 0 0 1.1em; }
.mp-prose ul:not([class*="is-style"]), .mp-prose ol { padding-left: 1.3em; }
.mp-prose li { margin-bottom: .4em; }
.mp-prose li::marker { color: var(--mp-red); }
.mp-prose strong { font-weight: 700; color: var(--mp-ink); }
.mp-prose img { border-radius: var(--mp-radius); }
.mp-prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; display: block; overflow-x: auto; }
.mp-prose th, .mp-prose td { padding: 10px 12px; border-bottom: 1px solid var(--mp-border); text-align: left; }
.mp-prose th { background: var(--mp-soft); font-weight: 700; }
.mp-prose blockquote { margin: 1.5em 0; padding: 16px 22px; border-left: 4px solid var(--mp-red); background: var(--mp-soft); border-radius: 0 var(--mp-radius) var(--mp-radius) 0; color: var(--mp-ink); }
.mp-site .mp-prose .is-style-mp-small, .mp-site p.is-style-mp-small { font-size: 14px; line-height: 1.6; color: var(--mp-muted); }

.mp-prose ul.is-style-mp-cards { list-style: none; padding: 0; display: grid; gap: 10px; }
@media (min-width: 640px) { .mp-prose ul.is-style-mp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mp-prose ul.is-style-mp-cards li {
	margin: 0; padding: 14px 16px; font-size: 15.5px; line-height: 1.55; color: var(--mp-muted);
	background: var(--mp-soft); border-radius: var(--mp-radius);
}
.mp-prose ul.is-style-mp-cards li strong { display: block; margin-bottom: 2px; font-family: var(--mp-head); font-size: 16px; }

.mp-site .is-style-mp-box { padding: 22px 24px; background: var(--mp-red-50); border-radius: var(--mp-radius-lg); }

/* Întrebări frecvente – cu „+” / „−” */
.mp-prose details:not(.mp-toc), .mp-site .rank-math-faq-item {
	margin: 0 0 10px; background: var(--mp-soft); border: 1px solid var(--mp-border); border-radius: var(--mp-radius); overflow: hidden;
}
.mp-prose details:not(.mp-toc) > summary, .mp-site .rank-math-question {
	position: relative; display: block; list-style: none; cursor: pointer; margin: 0 !important;
	padding: 16px 56px 16px 18px; font-family: var(--mp-sans) !important; font-size: 17px !important; font-weight: 700; line-height: 1.4; color: var(--mp-ink);
}
.mp-prose details > summary::-webkit-details-marker { display: none; }
.mp-prose details:not(.mp-toc) > summary::after {
	content: ""; position: absolute; right: 14px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
	background: var(--mp-red) var(--mp-plus-white) center / 16px no-repeat; transition: transform .2s;
}
.mp-prose details[open]:not(.mp-toc) { background: #fff; border-color: var(--mp-red-100); }
.mp-prose details[open]:not(.mp-toc) > summary::after {
	transform: rotate(180deg);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E");
}
.mp-prose details:not(.mp-toc) > *:not(summary) { margin: 0; padding: 0 18px 16px; font-size: 16.5px; color: var(--mp-muted); }
.mp-prose details.mp-faq > p { margin: 0; padding: 0 18px 16px; }
.mp-prose details.mp-faq > p + p { padding-top: 0; margin-top: -6px; }
.mp-site .rank-math-answer { padding: 0 18px 16px; font-size: 16.5px; color: var(--mp-muted); }
.mp-site .rank-math-answer p:last-child { margin-bottom: 0; }
.mp-faq-section { margin-top: 2em; }
.mp-site .mp-prose .mp-faq-section h2 { margin-top: 0; }

.mp-prose .afm-banner { margin: 2em 0; }
.mp-prose .afm-disclaimer { margin-top: 2.5em; }

/* ---------- 10. Păreri ---------- */
.mp-reviews__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 22px; }
.mp-reviews__head .mp-section-title { margin: 0; }
.mp-reviews__summary { display: flex; align-items: center; gap: 10px; padding: 8px 16px; color: var(--mp-muted); font-size: 15px; background: #fff; border-radius: 999px; box-shadow: var(--mp-shadow-sm); }
.mp-reviews__avg { font-family: var(--mp-head); font-size: 30px; font-weight: 800; line-height: 1; color: var(--mp-ink); }
.mp-reviews__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.mp-reviews__grid > li { margin: 0; }
.mp-reviews__grid .children { display: none; }
.mp-review { height: 100%; box-sizing: border-box; padding: 18px 20px; background: #fff; border-radius: var(--mp-radius-lg); box-shadow: var(--mp-shadow-sm); }
.mp-review__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.mp-review__author { font-weight: 700; color: var(--mp-ink); }
.mp-review__rating { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--mp-muted); }
.mp-review__text p { margin: 0 0 .6em; font-size: 16.5px; line-height: 1.6; }
.mp-review__text p:last-child { margin: 0; }
.mp-review__foot { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; font-size: 13px; color: var(--mp-muted); }
.mp-review__verified { display: inline-flex; align-items: center; gap: 4px; color: var(--mp-ok); font-weight: 700; }
.mp-review__pending { font-size: 14px; color: var(--mp-red); }
.mp-reviews__empty { color: var(--mp-muted); }
@media (min-width: 768px) { .mp-reviews__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }

.mp-review-form { margin-top: 22px; }
.mp-review-form > summary { list-style: none; width: auto; }
.mp-review-form > summary::-webkit-details-marker { display: none; }
.mp-review-form > summary.mp-btn--outline { background: #fff; color: var(--mp-ink); border-color: var(--mp-border-strong); }
.mp-review-form > summary.mp-btn--outline:hover { color: var(--mp-red); border-color: var(--mp-red); }
.mp-review-form[open] > summary { margin-bottom: 16px; }
.mp-review-form #review_form { max-width: 640px; padding: 22px; background: #fff; border-radius: var(--mp-radius-lg); box-shadow: var(--mp-shadow-sm); }
.mp-site .comment-form { display: grid; gap: 14px; margin: 0; }
.mp-site .comment-form p { margin: 0; }
.mp-site .comment-form label { display: block; margin-bottom: 6px; font-weight: 700; font-size: 15px; }
.mp-site .comment-form input[type="text"], .mp-site .comment-form input[type="email"], .mp-site .comment-form textarea, .mp-site .comment-form select {
	width: 100%; box-sizing: border-box; padding: 12px 14px; font-size: 16px; color: var(--mp-text);
	background: var(--mp-soft); border: 1.5px solid var(--mp-border); border-radius: var(--mp-radius);
}
.mp-site .comment-form textarea { min-height: 120px; resize: vertical; }
.mp-site .comment-form input:focus, .mp-site .comment-form textarea:focus, .mp-site .comment-form select:focus { outline: none; background: #fff; border-color: var(--mp-red); box-shadow: 0 0 0 3px var(--mp-red-50); }
.mp-site .comment-form .stars { margin: 4px 0 0; }
.mp-site .comment-form .stars a { color: var(--mp-star); font-size: 24px; }
.mp-review-form__note, .mp-site .comment-form-cookies-consent { font-size: 14px; color: var(--mp-muted); }
.mp-site .comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.mp-site .comment-form-cookies-consent label { font-weight: 400; margin: 0; }

/* ---------- 11. Arhive ---------- */
.mp-site .woocommerce-products-header {
	position: relative; overflow: hidden; margin: 0 0 22px; padding: 24px 22px; background: #fff; border-radius: var(--mp-radius-xl); box-shadow: var(--mp-shadow-sm);
}
.mp-site .woocommerce-products-header::before {
	content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--mp-plus) 0 0 / 48px 48px;
	-webkit-mask-image: linear-gradient(100deg, transparent 50%, #000 95%); mask-image: linear-gradient(100deg, transparent 50%, #000 95%);
}
@media (min-width: 768px) { .mp-site .woocommerce-products-header { padding: 34px 40px; } }
.mp-site .woocommerce-products-header__title { position: relative; display: flex; align-items: center; gap: 14px; margin: 0 0 8px; }
.mp-archive-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 52px; height: 52px; border-radius: var(--mp-radius); background: var(--mp-red); color: #fff; }
.mp-site .term-description, .mp-site .page-description { position: relative; max-width: 68ch; font-size: 17px; color: var(--mp-muted); }
.mp-site .term-description p:last-child { margin: 0; }
.mp-shop-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 0 0 18px; }
.mp-site .woocommerce-result-count { margin: 0; font-size: 15px; color: var(--mp-muted); float: none; }
.mp-site .woocommerce-ordering { margin: 0; float: none; }
.mp-site .woocommerce-ordering select {
	min-height: 44px; padding: 8px 40px 8px 14px; font-size: 15px; color: var(--mp-text);
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d10a14' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center / 18px no-repeat;
	border: 1.5px solid var(--mp-border); border-radius: var(--mp-radius); -webkit-appearance: none; appearance: none;
}
.mp-site .woocommerce-pagination, .mp-pagination { margin-top: 36px; text-align: center; }
.mp-site .woocommerce-pagination ul, .mp-pagination ul { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; border: 0 !important; }
.mp-site .woocommerce-pagination li, .mp-pagination li { border: 0 !important; margin: 0; float: none; }
.mp-site .woocommerce-pagination .page-numbers, .mp-pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; box-sizing: border-box;
	font-weight: 700; color: var(--mp-ink); background: #fff; border-radius: var(--mp-radius); text-decoration: none; box-shadow: var(--mp-shadow-sm);
}
.mp-site .woocommerce-pagination .page-numbers.current, .mp-pagination .page-numbers.current { background: var(--mp-red); color: #fff; }
.mp-site .woocommerce-pagination a.page-numbers:hover { color: var(--mp-red); }
.mp-site .woocommerce-info, .mp-site .woocommerce-message, .mp-site .woocommerce-error {
	padding: 14px 18px; margin: 0 0 20px; background: #fff; border: 0; border-left: 4px solid var(--mp-red); border-radius: var(--mp-radius); list-style: none; box-shadow: var(--mp-shadow-sm);
}
.mp-site .woocommerce-message { border-left-color: var(--mp-ok); }
.mp-site .woocommerce-info::before, .mp-site .woocommerce-message::before, .mp-site .woocommerce-error::before { display: none; }

/* ---------- 12. Footer grafit cu linie roșie ---------- */
.mp-footer { position: relative; margin-top: 0; color: #c9ced5; background: var(--mp-ink); border-top: 4px solid var(--mp-red); }
.mp-footer a { color: #eef0f3; }
.mp-footer a:hover { color: #fff; }
.mp-footer__grid { position: relative; display: grid; gap: 32px; padding-block: 44px 32px; }
.mp-footer .mp-logo { margin-bottom: 16px; }
.mp-footer .mp-logo__name { color: #fff; }
.mp-footer .mp-logo__name b { color: #ff3b3b; }
.mp-footer .mp-logo__kicker { color: #9aa3ad; }
.mp-footer .mp-logo__mark { padding: 4px; background: #fff; border-radius: var(--mp-radius); width: 40px; height: 40px; }
.mp-footer .mp-logo.is-custom .mp-logo__img { padding: 8px 12px; background: #fff; border-radius: var(--mp-radius); box-sizing: content-box; height: 40px; }
.mp-footer__brand p { max-width: 40ch; font-size: 15.5px; line-height: 1.65; color: #aeb5be; }
.mp-site .mp-footer__title { margin: 0 0 14px; font-family: var(--mp-head); font-size: 16px; font-weight: 700; color: #fff; }
.mp-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mp-footer__col a { display: inline-block; padding: 6px 0; font-size: 15.5px; text-decoration: none; color: #c9ced5; }
.mp-footer__col a:hover { color: #fff; text-decoration: underline; }
.mp-footer__contact { margin-top: 12px; }
.mp-footer__contact svg { color: #ff5a5a; }
.mp-footer__bottom { position: relative; border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 20px calc(20px + env(safe-area-inset-bottom, 0px)); font-size: 13.5px; color: #98a1ab; }
.mp-site .mp-footer__note { margin: 0 0 10px; max-width: 90ch; line-height: 1.55; }
.mp-footer__legal { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; }
.mp-footer__legal-menu { display: flex; flex-wrap: wrap; gap: 4px 16px; list-style: none; margin: 0; padding: 0; }
.mp-footer__legal-menu a { color: #98a1ab; }
@media (min-width: 640px) { .mp-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mp-footer__brand { grid-column: 1 / -1; } }
@media (min-width: 1024px) {
	.mp-footer__grid { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-block: 56px 40px; }
	.mp-footer__brand { grid-column: auto; }
}

/* ---------- 13. Pluginul Affiliate Manager – integrare vizuală ---------- */
body.mp-site {
	--afm-font: var(--mp-sans);
	--afm-heading-font: var(--mp-head);
	--afm-text: var(--mp-text);
	--afm-muted: var(--mp-muted);
	--afm-border: var(--mp-border);
	--afm-surface: #fff;
	--afm-soft: var(--mp-soft);
	--afm-field-bg: var(--mp-soft);
	--afm-success: var(--mp-ok);
	--afm-radius: var(--mp-radius-lg);
	--afm-field-radius: var(--mp-radius);
	--afm-btn-radius: var(--mp-radius);
	--afm-sticky-top: calc(var(--mp-header-h) + var(--mp-admin-bar) + 12px);
	--afm-z: 900;
}
body.mp-brand-afm {
	--afm-accent: var(--mp-red);
	--afm-grad-start: var(--mp-red);
	--afm-grad-end: var(--mp-red-700);
	--afm-sticky-start: var(--mp-red);
	--afm-sticky-end: var(--mp-red);
	--afm-banner-bg: var(--mp-red-50);
	--afm-banner-btn: var(--mp-ink);
	--afm-disc-border: var(--mp-ink);
	--afm-disc-bg: var(--mp-soft);
	--afm-disc-text: var(--mp-muted);
	--afm-atc-start: var(--mp-red);
	--afm-atc-end: var(--mp-red);
	--afm-atc-text: #fff;
	--afm-atc-radius: 12px;
}
/* „Comandă rapidă”: card alb cu chenar roșu și „+” */
.mp-site .afm-inline {
	position: relative; padding: 20px; border: 2px solid var(--mp-red); border-radius: var(--mp-radius-lg);
	background: #fff; box-shadow: 0 14px 34px rgba(209, 10, 20, .10);
}
.mp-site .afm-inline__title { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; font-size: 22px; font-weight: 800; color: var(--mp-ink); }
.mp-site .afm-inline__title::before { content: ""; flex: 0 0 auto; width: 30px; height: 30px; border-radius: 9px; background: var(--mp-red) var(--mp-plus-white) center / 18px no-repeat; }
.mp-site .afm-inline__sub { margin: 0 0 16px; font-size: 15px; }
.mp-site .afm-phone__prefix { background: var(--mp-bg); color: var(--mp-ink); }
.mp-site .afm-note svg { color: var(--mp-red); }
.mp-site .afm-banner { border: 0; border-radius: var(--mp-radius-lg); }
.mp-site .afm-banner__text { font-size: 17px; color: var(--mp-ink); }
.mp-site .afm-modal__title, .mp-site .afm-success__title { color: var(--mp-ink); }
.mp-site .afm-sticky { border: 0; box-shadow: 0 10px 34px rgba(28, 33, 40, .18); background: #fff; }
.mp-site .afm-sticky__price { color: var(--mp-red); }
@media (max-width: 768px) {
	.mp-site .afm-sticky { border-radius: var(--mp-radius-lg) var(--mp-radius-lg) 0 0; }
	body.afm-has-sticky { padding-bottom: 0; }
	body.afm-has-sticky .mp-footer__bottom { padding-bottom: calc(20px + 74px + env(safe-area-inset-bottom, 0px)); }
}

body.mp-site .afm-btn, body.mp-site .afm-sticky__btn {
	min-height: 50px; padding: 12px 20px; border: 0; border-radius: var(--mp-radius);
	font: 700 16px/1.2 var(--mp-sans); letter-spacing: 0; text-transform: none; color: #fff;
}
body.mp-site .afm-sticky__btn { min-height: 46px; padding: 10px 18px; font-size: 15px; }
body.mp-site .afm-btn--accent, body.mp-site .afm-btn--accent:hover, body.mp-site .afm-btn--accent:focus, body.mp-site .afm-btn--accent:active { background-color: var(--afm-accent); background-image: none; color: #fff; }
body.mp-site .afm-btn--accent:hover { background-color: var(--mp-red-700); }
body.mp-site .afm-btn--gradient, body.mp-site .afm-btn--gradient:hover, body.mp-site .afm-btn--gradient:focus, body.mp-site .afm-btn--gradient:active { background-color: var(--afm-grad-start); background-image: linear-gradient(90deg, var(--afm-grad-start), var(--afm-grad-end)); color: #fff; }
body.mp-site .afm-btn--banner, body.mp-site .afm-btn--banner:hover, body.mp-site .afm-btn--banner:focus, body.mp-site .afm-btn--banner:active { background-color: var(--afm-banner-btn); background-image: none; color: #fff; }
body.mp-site .afm-btn--banner:hover { background-color: var(--mp-ink-700); }
body.mp-site .afm-btn--ghost, body.mp-site .afm-btn--ghost:hover, body.mp-site .afm-btn--ghost:focus { background-color: var(--mp-bg); background-image: none; color: var(--mp-text); min-height: 44px; font-size: 14px; }
body.mp-site .afm-sticky__btn, body.mp-site .afm-sticky__btn:hover, body.mp-site .afm-sticky__btn:focus, body.mp-site .afm-sticky__btn:active { background-color: var(--afm-sticky-start); background-image: linear-gradient(90deg, var(--afm-sticky-start), var(--afm-sticky-end)); color: #fff; }
body.mp-site .afm-modal__close, body.mp-site .afm-modal__close:hover, body.mp-site .afm-modal__close:focus { min-height: 0; padding: 0; border: 0; border-radius: 50%; color: #fff; background-color: rgba(255, 255, 255, .2); background-image: none; }
body.mp-site .afm-modal__close--light, body.mp-site .afm-modal__close--light:hover, body.mp-site .afm-modal__close--light:focus { color: var(--mp-muted); background-color: var(--mp-bg); }
body.mp-site .afm-btn:focus-visible, body.mp-site .afm-sticky__btn:focus-visible { outline: 3px solid var(--mp-ink); outline-offset: 2px; }

body.mp-site .afm-form input[type="text"], body.mp-site .afm-form input[type="tel"] {
	min-height: 50px; padding: 12px 14px; font-size: 16px; color: var(--mp-text);
	background: var(--mp-soft); border: 1.5px solid var(--mp-border); border-radius: var(--mp-radius);
}
body.mp-site .afm-form input[type="text"]:focus, body.mp-site .afm-form input[type="tel"]:focus { background: #fff; border-color: var(--mp-red); box-shadow: 0 0 0 3px var(--mp-red-50); }
body.mp-site .afm-phone__prefix { border-color: var(--mp-border); }
body.mp-site .afm-phone__prefix + input { border-top-left-radius: 0 !important; border-bottom-left-radius: 0 !important; }
body.mp-site .afm-disclaimer { border-left-width: 4px; border-radius: var(--mp-radius); }
body.mp-site .afm-disclaimer__title { font-family: var(--mp-head); color: var(--mp-ink); }

body.mp-site #respond input#submit,
body.mp-site #respond .submit,
body.mp-site .comment-form input[type="submit"] {
	display: inline-flex; align-items: center; justify-content: center; width: auto; min-height: 50px; padding: 12px 26px;
	font: 700 16px/1.2 var(--mp-sans); letter-spacing: 0; text-transform: none;
	color: #fff; background: var(--mp-red); border: 2px solid var(--mp-red); border-radius: var(--mp-radius); cursor: pointer;
}
body.mp-site #respond input#submit:hover, body.mp-site #respond input#submit:focus,
body.mp-site .comment-form input[type="submit"]:hover, body.mp-site .comment-form input[type="submit"]:focus {
	color: #fff; background: var(--mp-red-700); border-color: var(--mp-red-700);
}

/* ---------- 14. Pagini simple – pe card alb ---------- */
.mp-site.page:not(.mp-home):not(.woocommerce-page) .ast-article-single,
.mp-site.page:not(.mp-home):not(.woocommerce-page) article.page { max-width: 860px; box-sizing: border-box; padding: 24px 18px; background: #fff; border-radius: var(--mp-radius-lg); box-shadow: var(--mp-shadow-sm); }
@media (min-width: 768px) { .mp-site.page:not(.mp-home):not(.woocommerce-page) .ast-article-single, .mp-site.page:not(.mp-home):not(.woocommerce-page) article.page { padding: 40px 48px; } }
.mp-site.page:not(.mp-home):not(.woocommerce-page) .entry-content { font-size: 17.5px; line-height: 1.75; }
.mp-site.page .entry-content > .alignwide { max-width: none; }
.mp-site .entry-content .wp-block-columns { gap: 24px; }

/* ---------- 15. Diverse ---------- */
.mp-site .ast-scroll-top-icon { display: none !important; }
@media (prefers-reduced-motion: reduce) {
	.mp-card, .mp-cat, .mp-hero-grid a, .mp-drawer__panel, .mp-drawer__backdrop, .mp-card__img { transition: none !important; }
}
@media print {
	.mp-topbar, .mp-header, .mp-footer, .mp-drawer, .afm-sticky, .mp-pd-order, .mp-toc { display: none !important; }
}

/* ---------- 16. Rezistență la regulile Astra (liste, linkuri, butoane) ---------- */
body.mp-site ul.mp-grid, body.mp-site ul.mp-hero-grid, body.mp-site ul.mp-trust, body.mp-site ul.mp-reviews__grid,
body.mp-site ol.mp-reviews__grid, body.mp-site ol.mp-toc__list, body.mp-site ul.mp-contact, body.mp-site ul.mp-drawer__list,
body.mp-site ul.mp-nav__list, body.mp-site .mp-footer__col ul, body.mp-site ul.mp-footer__legal-menu,
body.mp-site .entry-content ul.mp-grid, body.mp-site .entry-content ul.mp-hero-grid, body.mp-site .entry-content ul.mp-trust {
	margin-left: 0 !important; margin-right: 0 !important; padding-left: 0 !important; padding-right: 0 !important; list-style: none !important;
}
body.mp-site ul.mp-grid, body.mp-site ul.mp-hero-grid { margin-bottom: 0 !important; }
body.mp-site ol.mp-toc__list { padding: 0 10px 12px !important; }
body.mp-site ul.mp-drawer__list { padding: 10px 12px !important; }
body.mp-site ul.mp-nav__list { margin-left: auto !important; margin-right: auto !important; padding-left: var(--mp-gutter) !important; padding-right: var(--mp-gutter) !important; }
body.mp-site .mp-grid > li, body.mp-site .mp-hero-grid > li, body.mp-site .mp-trust > li { margin-left: 0 !important; }

body.mp-site .mp-card__link, body.mp-site .entry-content .mp-card__link,
body.mp-site .mp-cat__link, body.mp-site .entry-content .mp-cat__link,
body.mp-site .mp-hero-grid a, body.mp-site .entry-content .mp-hero-grid a,
body.mp-site .mp-nav__list a, body.mp-site .wp-block-button__link { text-decoration: none !important; }

body.mp-site .wp-block-button.is-style-outline > .wp-block-button__link,
body.mp-site .wp-block-button.is-style-outline > .wp-block-button__link:not(.has-text-color),
body.mp-site .wp-block-button .wp-block-button__link.is-style-outline:not(.has-text-color) {
	color: var(--mp-ink); background-color: #fff; border: 2px solid var(--mp-border-strong);
}
body.mp-site .wp-block-buttons .wp-block-button.is-style-outline > .wp-block-button__link:hover,
body.mp-site .wp-block-buttons .wp-block-button.is-style-outline > .wp-block-button__link:focus {
	color: var(--mp-red); background-color: #fff; border-color: var(--mp-red); box-shadow: none;
}
body.mp-site .wp-block-button:not(.is-style-outline) > .wp-block-button__link:not(.has-background) { background-color: var(--mp-red); border-color: var(--mp-red); color: #fff; }
body.mp-site .wp-block-button:not(.is-style-outline) > .wp-block-button__link:not(.has-background):hover,
body.mp-site .wp-block-button:not(.is-style-outline) > .wp-block-button__link:not(.has-background):focus { background-color: var(--mp-red-700); border-color: var(--mp-red-700); color: #fff; }
