/* ==========================================================================
   APEX INDUSTRIES — sistem de design „atelier"
   ---------------------------------------------------------------------------
   1. Tokens        2. Temă          3. Motive tehnice   4. Butoane
   5. Bara de sus   6. Căutare       7. Hero             8. USP
   9. Capuri        10. Categorii    11. Piese + cifre   12. Pași
   13. B2B          14. Carduri      15. Magazin         16. Pagina produs
   17. Formulare    18. Conținut     19. Subsol          20. Mișcare
   ---------------------------------------------------------------------------
   Ideea: site-ul arată ca documentația unei scule, nu ca o vitrină. Cerneală
   și oțel pe zonele de impact, hârtie în rest, un singur accent — chihlimbarul
   de pe utilajele de atelier. Colțurile sunt drepte (2–4px): raza mare citește
   a aplicație, nu a piesă prelucrată. Datele tehnice — coduri, cote, numere de
   index — sunt scrise cu literă de mașină, care e și fontul de sistem, deci nu
   costă nimic la încărcare. Titlurile folosesc singurul font propriu, Archivo
   800, preîncărcat din biblioteca media (vezi apex-magazin.php).
   ========================================================================== */

:root {
	/* cerneală și oțel */
	--apex-ink:    #0a0d12;
	--apex-ink2:   #10151d;
	--apex-ink3:   #171e28;
	--apex-ink4:   #212a37;
	--apex-otel:   #6d7889;
	--apex-otel2:  #a4aebd;

	/* hârtie */
	--apex-paper:  #ffffff;
	--apex-canvas: #f1f3f7;
	--apex-canvas2:#e6eaf0;
	--apex-line:   #dfe4ec;
	--apex-txt:    #0f131a;
	--apex-mut:    #59616f;

	/* accente */
	--apex-amb:    #ffb020;
	--apex-amb-h:  #ffc247;
	--apex-amb-d:  #9a6200;   /* chihlimbar citibil pe alb */
	--apex-a:      #3d8bff;
	--apex-a-dk:   #1263d2;
	--apex-a-dk2:  #0e4fa8;
	--apex-a-lt:   #69acff;
	--apex-stoc:   #17915c;
	--apex-comanda:#9a6200;

	--apex-lat: 1290px;
	--apex-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
		"Helvetica Neue", Arial, sans-serif;
	--apex-disp: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI",
		Roboto, "Helvetica Neue", Arial, sans-serif;
	--apex-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
		"Liberation Mono", monospace;
}

@keyframes apexPuls {
	0%, 100% { box-shadow: 0 0 0 0 rgba(255, 176, 32, .5); }
	70%      { box-shadow: 0 0 0 8px rgba(255, 176, 32, 0); }
}
@keyframes apexPlutire {
	0%, 100% { transform: translate3d(0, 0, 0); }
	50%      { transform: translate3d(0, -12px, 0); }
}
@keyframes apexIntra {
	from { opacity: 0; transform: translate3d(0, 16px, 0); }
	to   { opacity: 1; transform: none; }
}

/* ----------------------------------------------------------- 2. TEMĂ --- */
/* Kadence își ține culorile în `--global-palette*`; le rescriem ca să nu
   existe două palete concurente pe aceeași pagină. */
:root {
	--global-palette1: #1263d2;
	--global-palette2: #0e4fa8;
	--global-palette3: #0f131a;
	--global-palette4: #59616f;
	--global-palette5: #77808f;
	--global-palette6: #dfe4ec;
	--global-palette7: #eaeef4;
	--global-palette8: #f1f3f7;
	--global-palette9: #ffffff;
	--global-palette9rgb: 255, 255, 255;
}

html { scroll-behavior: smooth; }
/* Antetul lipit acoperea începutul secțiunii la sărituri pe ancoră. */
html { scroll-padding-top: 120px; }

.apex {
	font-family: var(--apex-font);
	color: var(--apex-txt);
	-webkit-font-smoothing: antialiased;
}
.apex h1, .apex h2, .apex h3, .apex h4 {
	font-family: var(--apex-disp);
	font-weight: 800;
	letter-spacing: -.025em;
	line-height: 1.1;
	color: var(--apex-txt);
}
.apex a { color: var(--apex-a-dk); }
.apex a:hover { color: var(--apex-a-dk2); }
.apex ::selection { background: var(--apex-amb); color: var(--apex-ink); }

/* Antetul lipit de ecran e transparent în tema implicită, deci produsele se
   vedeau prin el la derulare. */
.apex .site-main-header-wrap.kadence-sticky-header,
.apex .site-main-header-wrap.kadence-sticky-header .site-header-row-container-inner {
	background: #fff;
}
.apex .site-main-header-wrap.kadence-sticky-header.item-is-fixed {
	box-shadow: 0 10px 30px -22px rgba(10, 13, 18, .5);
	border-bottom: 2px solid var(--apex-amb);
}
/* Antetul se strânge la derulare: mai mult catalog pe ecran. */
.apex .site-main-header-wrap .site-header-row-container-inner {
	transition: padding .25s ease;
}
.apex .site-main-header-wrap.item-is-fixed .site-branding img.custom-logo {
	max-height: 34px;
	transition: max-height .25s ease;
}

/* Meniul se rupea pe două rânduri: caseta de căutare lua prea multă lățime. */
.apex .header-html .apex-cauta { max-width: 400px; }
.apex .header-navigation .primary-menu-container > ul { flex-wrap: nowrap; }
.apex .header-navigation .primary-menu-container > ul > li > a { white-space: nowrap; }
@media (min-width: 1025px) and (max-width: 1300px) {
	.apex .header-html .apex-cauta { max-width: 280px; }
	.apex .header-navigation a { font-size: 15px; }
}

/* Titlul site-ului scris cu litere lângă siglă dublează sigla. */
.apex .site-branding .site-title-wrap { display: none; }
.apex .site-branding img.custom-logo { max-height: 44px; width: auto; transition: max-height .25s ease; }
.apex .site-main-header-inner-wrap { gap: 1.5rem; }
.apex .site-header-main-section-center { flex: 1; min-width: 0; }
.apex .header-navigation a {
	font-weight: 700;
	letter-spacing: -.01em;
	position: relative;
}
/* Linia de accent sub elementul de meniu: apare din centru, ca o cotă. */
.apex .header-navigation .primary-menu-container > ul > li > a::after {
	content: "";
	position: absolute;
	left: 50%;
	right: 50%;
	bottom: 6px;
	height: 2px;
	background: var(--apex-amb);
	transition: left .22s ease, right .22s ease;
}
.apex .header-navigation .primary-menu-container > ul > li > a:hover::after,
.apex .header-navigation .primary-menu-container > ul > li.current-menu-item > a::after {
	left: 8px;
	right: 8px;
}
.apex .header-cart-wrap .header-cart-total {
	background: var(--apex-amb);
	color: var(--apex-ink);
	font-weight: 800;
}
.apex .header-html { width: 100%; }
.apex .header-html .apex-cauta { max-width: 560px; margin: 0 auto; }
@media (max-width: 1024px) {
	.apex .header-html .apex-cauta { max-width: none; }
}

/* --------------------------------------------- 3. MOTIVE TEHNICE --- */
/* Colțurile de desen tehnic. Marchează panourile importante fără să adauge
   încă un chenar — două laturi, nu patru, ca la un cadru de decupaj. */
.apex-colturi {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 2;
}
.apex-colturi::before,
.apex-colturi::after {
	content: "";
	position: absolute;
	width: 16px;
	height: 16px;
	border: 2px solid var(--apex-amb);
	transition: width .25s ease, height .25s ease, opacity .25s ease;
}
.apex-colturi::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.apex-colturi::after  { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

/* Grila de plan, pe fundalurile închise. Se stinge spre margini, ca să nu
   concureze cu textul. */
.apex-plan {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image:
		linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(115% 85% at 30% 0%, #000 30%, transparent 78%);
	mask-image: radial-gradient(115% 85% at 30% 0%, #000 30%, transparent 78%);
}

/* Litera de mașină pentru date tehnice: coduri, cote, numere de index. */
.apex-mono, .apex-cod-mare, .apex-card-cod, .apex-cap__idx, .apex-cap__eyebrow,
.apex-topbar, .apex-finder__eticheta, .apex-serii__lista a, .apex-cifra b,
.apex-pas__n, .apex-b2b__eticheta, .apex-cota b, .apex-spec-rapid b,
.apex-legate__cod, .apex-fisa__cod, .apex-card-serie {
	font-family: var(--apex-mono);
	font-variant-numeric: tabular-nums;
}

/* Bandă de avertizare — o folosim ca linie de secțiune, nu ca decor. */
.apex-sectiune--ink::before,
.apex-site-footer::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: repeating-linear-gradient(
		-45deg, var(--apex-amb) 0 10px, var(--apex-ink) 10px 20px);
	opacity: .85;
	z-index: 3;
}

.apex-in {
	max-width: var(--apex-lat);
	margin: 0 auto;
	padding: 0 24px;
	position: relative;
	z-index: 2;
}
.apex-sectiune {
	position: relative;
	padding: 96px 0;
	overflow: hidden;
}
.apex-sectiune--canvas { background: var(--apex-canvas); }
.apex-sectiune--ink {
	background: var(--apex-ink);
	color: #fff;
}
.apex-sectiune--ink h1, .apex-sectiune--ink h2, .apex-sectiune--ink h3 { color: #fff; }
@media (max-width: 860px) { .apex-sectiune { padding: 64px 0; } }

/* ------------------------------------------------------- 4. BUTOANE --- */
.apex .apex-buton {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	border: 0;
	border-radius: 3px;
	padding: 14px 24px;
	font-family: var(--apex-font);
	font-weight: 800;
	font-size: 15px;
	line-height: 1.2;
	letter-spacing: -.01em;
	text-decoration: none;
	cursor: pointer;
	background: var(--apex-ink);
	color: #fff;
	box-shadow: 0 12px 24px -14px rgba(10, 13, 18, .8);
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.apex .apex-buton svg { width: 18px; height: 18px; transition: transform .25s ease; }
.apex .apex-buton::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 3px;
	background: var(--apex-amb);
	transition: width .28s ease;
}
.apex .apex-buton:hover {
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 18px 30px -14px rgba(10, 13, 18, .9);
}
.apex .apex-buton:hover::after { width: 100%; }
.apex .apex-buton:hover svg { transform: translateX(4px); }

/* Chihlimbarul e rezervat angajamentelor mari: cere ofertă, adaugă în coș. */
.apex .apex-buton--accent {
	background: var(--apex-amb);
	color: var(--apex-ink);
	box-shadow: 0 14px 28px -14px rgba(255, 176, 32, .9);
}
.apex .apex-buton--accent:hover {
	background: var(--apex-amb-h);
	color: var(--apex-ink);
	box-shadow: 0 20px 34px -14px rgba(255, 176, 32, 1);
}
.apex .apex-buton--accent::after { background: var(--apex-ink); }

.apex .apex-buton--mare { padding: 17px 32px; font-size: 16px; }
.apex .apex-buton--linie,
.apex .apex-buton--fantoma,
.apex .apex-buton--oferta {
	background: transparent;
	color: var(--apex-txt);
	box-shadow: inset 0 0 0 2px var(--apex-line);
}
.apex .apex-buton--linie:hover,
.apex .apex-buton--fantoma:hover,
.apex .apex-buton--oferta:hover {
	background: transparent;
	color: var(--apex-txt);
	box-shadow: inset 0 0 0 2px var(--apex-ink);
	transform: translateY(-2px);
}
.apex-sectiune--ink .apex-buton--linie {
	color: #fff;
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25);
}

.apex-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-family: var(--apex-mono);
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: .13em;
	text-transform: uppercase;
	color: var(--apex-amb);
	background: rgba(255, 176, 32, .1);
	border: 1px solid rgba(255, 176, 32, .3);
	padding: 7px 14px;
	border-radius: 2px;
}
.apex-eyebrow__dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--apex-amb);
	animation: apexPuls 2.8s ease-out infinite;
}

/* -------------------------------------------------- 5. BARA DE SUS --- */
.apex-topbar {
	background: var(--apex-ink);
	color: rgba(255, 255, 255, .55);
	font-size: 11.5px;
	letter-spacing: .06em;
	text-transform: uppercase;
	border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.apex-topbar__in {
	max-width: var(--apex-lat);
	margin: 0 auto;
	padding: 10px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.apex-topbar__mesaj { display: inline-flex; align-items: center; gap: 9px; }
.apex-topbar__dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--apex-stoc);
	box-shadow: 0 0 0 3px rgba(23, 145, 92, .22);
}
.apex-topbar__contact {
	display: inline-flex;
	align-items: center;
	gap: 18px;
	white-space: nowrap;
}
.apex-topbar__sep { color: rgba(255, 255, 255, .38); }
.apex-topbar a {
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	letter-spacing: .04em;
}
.apex-topbar a:hover { color: var(--apex-amb); }
.apex-topbar em { font-style: normal; color: rgba(255, 255, 255, .38); }
@media (max-width: 900px) {
	.apex-topbar__mesaj, .apex-topbar__sep { display: none; }
	.apex-topbar__in { justify-content: center; }
}
@media (max-width: 540px) { .apex-topbar em { display: none; } }

/* ------------------------------------------------------ 6. CĂUTARE --- */
.apex-cauta { position: relative; display: flex; gap: 8px; }
.apex-cauta input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 48px;
	border: 2px solid var(--apex-line);
	border-radius: 3px;
	padding: 0 14px;
	font: inherit;
	font-size: 15px;
	background: #fff;
	color: var(--apex-txt);
	transition: border-color .2s ease, box-shadow .2s ease;
}
.apex-cauta input[type="search"]::placeholder { color: #98a1b0; }
.apex-cauta input[type="search"]:focus {
	outline: none;
	border-color: var(--apex-amb);
	box-shadow: 0 0 0 4px rgba(255, 176, 32, .22);
}
.apex-cauta button {
	flex: 0 0 auto;
	height: 48px;
	padding: 0 22px;
	border: 0;
	border-radius: 3px;
	background: var(--apex-ink);
	color: #fff;
	font: inherit;
	font-weight: 800;
	font-size: 14.5px;
	cursor: pointer;
	transition: background .2s ease, color .2s ease;
}
.apex-cauta button:hover { background: var(--apex-amb); color: var(--apex-ink); }

.apex-sugestii {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	z-index: 60;
	background: #fff;
	border: 1px solid var(--apex-line);
	border-radius: 3px;
	box-shadow: 0 26px 50px -26px rgba(10, 13, 18, .55);
	overflow: hidden;
}
.apex .apex-sugestie {
	display: flex;
	align-items: baseline;
	gap: 12px;
	padding: 11px 14px;
	text-decoration: none;
	color: var(--apex-txt);
	font-size: 14px;
	border-bottom: 1px solid var(--apex-line);
}
.apex-sugestie:last-child { border-bottom: 0; }
.apex-sugestie:hover { background: var(--apex-canvas); color: var(--apex-txt); }
.apex-sugestie__cod {
	font-family: var(--apex-mono);
	font-weight: 600;
	font-size: 12.5px;
	flex: 0 0 auto;
	color: var(--apex-amb-d);
}
.apex-sugestie__nume {
	color: var(--apex-mut);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.apex-sugestie__pret { margin-left: auto; font-weight: 800; flex: 0 0 auto; }

/* --------------------------------------------------------- 7. HERO --- */
.apex-hero {
	position: relative;
	background: var(--apex-ink);
	color: #fff;
	padding: 76px 0 150px;
	overflow: hidden;
	isolation: isolate;
}
/* Fundalul: două lumini, hașura diagonală a unui desen tehnic și grila de
   plan — toate stinse spre margini, ca textul să rămână prima citire. */
.apex-hero__fundal {
	position: absolute;
	inset: 0;
	z-index: 0;
	background:
		radial-gradient(58% 70% at 78% 22%, rgba(255, 176, 32, .16), transparent 62%),
		radial-gradient(60% 80% at 12% 8%, rgba(18, 99, 210, .3), transparent 60%),
		var(--apex-ink);
}
.apex-hero__fundal::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
	background-size: 62px 62px;
	-webkit-mask-image: radial-gradient(120% 90% at 20% 10%, #000 20%, transparent 80%);
	mask-image: radial-gradient(120% 90% at 20% 10%, #000 20%, transparent 80%);
}
.apex-hero__fundal::after {
	content: "";
	position: absolute;
	inset: -40%;
	background: repeating-linear-gradient(
		-45deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 13px);
	-webkit-mask-image: radial-gradient(50% 50% at 76% 46%, #000 0%, transparent 72%);
	mask-image: radial-gradient(50% 50% at 76% 46%, #000 0%, transparent 72%);
}

.apex-hero__in {
	position: relative;
	z-index: 2;
	max-width: var(--apex-lat);
	margin: 0 auto;
	padding: 0 24px;
	display: grid;
	grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
	gap: 48px;
	align-items: center;
}
.apex-hero__copy { max-width: 640px; }
.apex .apex-hero__titlu {
	margin: 22px 0 18px;
	font-size: clamp(40px, 5.2vw, 66px);
	line-height: .98;
	letter-spacing: -.035em;
	color: #fff;
}
.apex .apex-hero__titlu em {
	font-style: normal;
	color: var(--apex-amb);
	position: relative;
}
.apex-hero__sub {
	margin: 0 0 30px;
	font-size: 17.5px;
	line-height: 1.62;
	color: var(--apex-otel2);
	max-width: 560px;
}

/* Panoul de căutare: piesa centrală. Sticlă peste cerneală, cu colțuri de
   desen tehnic — se citește ca un instrument, nu ca un câmp de formular. */
.apex-finder {
	position: relative;
	background: rgba(23, 30, 40, .72);
	-webkit-backdrop-filter: blur(20px) saturate(150%);
	backdrop-filter: blur(20px) saturate(150%);
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 4px;
	padding: 18px 20px 16px;
	box-shadow: 0 34px 70px -34px rgba(0, 0, 0, .9);
}
.apex-finder__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}
.apex-finder__titlu {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-family: var(--apex-mono);
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: .13em;
	text-transform: uppercase;
	color: #fff;
}
.apex-finder__titlu svg { width: 15px; height: 15px; color: var(--apex-amb); }
.apex-finder__help {
	font-size: 13px;
	font-weight: 700;
	color: var(--apex-amb);
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 176, 32, .45);
}
.apex-finder__help:hover { color: var(--apex-amb-h); }
.apex-finder .apex-cauta input[type="search"] {
	height: 52px;
	background: rgba(10, 13, 18, .72);
	border-color: rgba(255, 255, 255, .14);
	color: #fff;
	font-size: 16px;
}
.apex-finder .apex-cauta input[type="search"]::placeholder { color: rgba(255, 255, 255, .42); }
.apex-finder .apex-cauta input[type="search"]:focus {
	background: rgba(10, 13, 18, .92);
	border-color: var(--apex-amb);
	box-shadow: 0 0 0 4px rgba(255, 176, 32, .18);
}
.apex-finder .apex-cauta button {
	height: 52px;
	background: var(--apex-amb);
	color: var(--apex-ink);
	padding: 0 26px;
}
.apex-finder .apex-cauta button:hover { background: var(--apex-amb-h); }
.apex-finder__foot {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 14px;
}
.apex-finder__eticheta {
	font-size: 10.5px;
	letter-spacing: .13em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .4);
	margin-right: 2px;
}
.apex-finder__foot a {
	font-size: 13px;
	font-weight: 650;
	color: rgba(255, 255, 255, .82);
	text-decoration: none;
	padding: 6px 12px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 2px;
	transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.apex-finder__foot a:hover {
	color: var(--apex-ink);
	background: var(--apex-amb);
	border-color: var(--apex-amb);
}

.apex-hero__ajutor {
	margin: 18px 0 0;
	font-size: 14.5px;
	color: var(--apex-otel);
}
.apex-hero__ajutor a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.apex-hero__ajutor a:hover { color: var(--apex-amb); }

/* Vizualul: scula pe un banc de măsurare, cu cotele ei reale. */
.apex-hero__vis {
	position: relative;
	margin: 0;
	min-height: 500px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.apex-hero__banc {
	position: absolute;
	left: 50%;
	top: 48%;
	width: 540px;
	height: 540px;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	background:
		radial-gradient(circle at 50% 50%, rgba(255, 176, 32, .16), transparent 62%);
	box-shadow:
		inset 0 0 0 1px rgba(255, 255, 255, .09),
		0 0 0 1px rgba(255, 255, 255, .05);
}
.apex-hero__banc::before,
.apex-hero__banc::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	border: 1px dashed rgba(255, 255, 255, .12);
}
.apex-hero__banc::before { inset: 14%; }
.apex-hero__banc::after  { inset: 30%; border-style: solid; border-color: rgba(255, 255, 255, .07); }

.apex-hero__scula {
	position: relative;
	z-index: 2;
	width: min(100%, 500px);
	height: auto;
	filter: drop-shadow(0 44px 46px rgba(0, 0, 0, .62));
	animation: apexPlutire 8s ease-in-out infinite;
	will-change: transform;
}

/* Cotele — panouri mici legate de sculă printr-o linie subțire, ca într-o
   fișă de catalog. Valorile vin din atributele produsului. */
.apex-cote { list-style: none; margin: 0; padding: 0; }
.apex-cota {
	position: absolute;
	z-index: 3;
	display: flex;
	flex-direction: column;
	gap: 1px;
	padding: 9px 13px;
	background: rgba(16, 21, 29, .84);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, .12);
	border-left: 2px solid var(--apex-amb);
	border-radius: 2px;
	white-space: nowrap;
}
.apex-cota b {
	font-size: 17px;
	font-weight: 700;
	color: #fff;
	letter-spacing: -.01em;
	word-spacing: -.18em;
}
.apex-cota span {
	font-size: 10px;
	letter-spacing: .11em;
	text-transform: uppercase;
	color: var(--apex-otel);
}
.apex-cota::after {
	content: "";
	position: absolute;
	top: 50%;
	width: 42px;
	height: 1px;
	background: linear-gradient(90deg, rgba(255, 176, 32, .75), rgba(255, 176, 32, 0));
}
.apex-cota--1 { top: 41%; right: 0; }
.apex-cota--2 { top: 60%; right: 13%; }
.apex-cota--3 { top: 79%; right: 27%; }
.apex-cota::after {
	right: 100%;
	background: linear-gradient(270deg, rgba(255, 176, 32, .75), rgba(255, 176, 32, 0));
}

.apex-hero__legenda {
	position: absolute;
	bottom: 0;
	left: 0;
	font-family: var(--apex-mono);
	font-size: 11.5px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--apex-otel);
}
.apex-hero__legenda a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--apex-otel);
	text-decoration: none;
}
.apex-hero__legenda a:hover { color: var(--apex-amb); }
.apex-hero__legenda svg { width: 14px; height: 14px; }

@media (max-width: 1100px) {
	.apex-hero__in { grid-template-columns: 1fr; gap: 34px; }
	.apex-hero__copy { max-width: none; }
	.apex-hero__vis { min-height: 340px; order: -1; }
	.apex-hero__banc { width: 340px; height: 340px; }
	.apex-hero__scula { width: min(78%, 380px); }
	.apex-cote, .apex-hero__legenda { display: none; }
}
@media (max-width: 640px) {
	.apex-hero { padding: 48px 0 120px; }
	.apex-hero__vis { min-height: 240px; }
	.apex-hero__banc { width: 240px; height: 240px; }
	.apex-finder { padding: 15px 15px 14px; }
	.apex-finder .apex-cauta { flex-direction: column; }
	.apex-finder .apex-cauta button { width: 100%; }
}

/* ---------------------------------------------------------- 8. USP --- */
.apex-usps-wrap {
	max-width: var(--apex-lat);
	margin: -64px auto 0;
	padding: 0 24px;
	position: relative;
	z-index: 5;
}
.apex-usps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	background: #fff;
	border: 1px solid var(--apex-line);
	border-top: 3px solid var(--apex-amb);
	border-radius: 3px;
	box-shadow: 0 34px 60px -38px rgba(10, 13, 18, .55);
	overflow: hidden;
}
.apex-usp {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 22px 24px;
	border-right: 1px solid var(--apex-line);
}
.apex-usp:last-child { border-right: 0; }
.apex-usp__ic {
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	display: grid;
	place-items: center;
	background: var(--apex-ink);
	color: var(--apex-amb);
	border-radius: 2px;
}
.apex-usp__ic svg { width: 21px; height: 21px; }
.apex-usp__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.apex-usp__txt strong { font-size: 15px; font-weight: 800; letter-spacing: -.015em; }
.apex-usp__txt span { font-size: 13px; color: var(--apex-mut); }
@media (max-width: 1000px) {
	.apex-usps { grid-template-columns: repeat(2, 1fr); }
	.apex-usp:nth-child(2n) { border-right: 0; }
	.apex-usp:nth-child(-n+2) { border-bottom: 1px solid var(--apex-line); }
}
@media (max-width: 560px) {
	.apex-usps-wrap { margin-top: -52px; }
	.apex-usp { padding: 16px; gap: 11px; }
	.apex-usp__ic { width: 36px; height: 36px; }
	.apex-usp__txt strong { font-size: 13.5px; }
	.apex-usp__txt span { font-size: 12px; }
}

/* ------------------------------------------------------ 9. CAPURI --- */
.apex-cap { margin-bottom: 44px; max-width: 760px; }
.apex-cap__linie {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 16px;
}
.apex-cap__idx {
	font-size: 12px;
	font-weight: 600;
	color: var(--apex-amb-d);
	letter-spacing: .06em;
}
.apex-cap__rule {
	width: 46px;
	height: 2px;
	background: var(--apex-amb);
	flex: 0 0 auto;
}
.apex-cap__eyebrow {
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--apex-mut);
}
.apex .apex-cap__titlu {
	margin: 0;
	font-size: clamp(29px, 3.6vw, 44px);
	letter-spacing: -.032em;
	line-height: 1.04;
}
.apex .apex-cap__titlu em { font-style: normal; color: var(--apex-amb-d); }
.apex-cap__sub {
	margin: 15px 0 0;
	font-size: 16.5px;
	line-height: 1.6;
	color: var(--apex-mut);
}
.apex-cap--ink .apex-cap__idx { color: var(--apex-amb); }
.apex-cap--ink .apex-cap__eyebrow { color: var(--apex-otel); }
.apex-cap--ink .apex-cap__sub { color: var(--apex-otel2); }
.apex .apex-cap--ink .apex-cap__titlu em { color: var(--apex-amb); }

/* --------------------------------------------------- 10. CATEGORII --- */
.apex-cats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}
/* Spațiul de sus e rezervat fotografiei: dacă titlul e lung, textul urcă și
   ar trece peste ea. Rezervarea îl oprește. */
.apex-cat {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 236px;
	padding: 142px 20px 20px;
	background: #fff;
	border: 1px solid var(--apex-line);
	border-radius: 3px;
	text-decoration: none;
	color: var(--apex-txt);
	overflow: hidden;
	transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.apex-cat .apex-colturi::before,
.apex-cat .apex-colturi::after { width: 12px; height: 12px; opacity: 0; }
.apex-cat:hover {
	color: var(--apex-txt);
	border-color: var(--apex-ink);
	box-shadow: 0 26px 44px -30px rgba(10, 13, 18, .6);
}
.apex-cat:hover .apex-colturi::before,
.apex-cat:hover .apex-colturi::after { opacity: 1; width: 18px; height: 18px; }

/* Celula de imagine e albă: pozele de la producător au fundal alb propriu,
   care s-ar vedea ca un dreptunghi peste orice altă nuanță. */
.apex-cat__poza {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 118px;
	height: 118px;
	display: grid;
	place-items: center;
	pointer-events: none;
}
.apex-cat__poza img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	mix-blend-mode: multiply;
	transition: transform .35s cubic-bezier(.2, .7, .3, 1);
}
.apex-cat:hover .apex-cat__poza img { transform: scale(1.07) rotate(-2deg); }
.apex-cat__poza svg { width: 46px; height: 46px; color: var(--apex-canvas2); }
.apex-cat__jos { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 5px; }
.apex-cat__nr {
	font-family: var(--apex-mono);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--apex-amb-d);
}
.apex-cat__nume {
	color: var(--apex-txt);
	font-family: var(--apex-disp);
	font-weight: 800;
	font-size: 21px;
	letter-spacing: -.028em;
	line-height: 1.12;
}
.apex-cat__copii {
	font-size: 12.5px;
	color: var(--apex-mut);
	line-height: 1.45;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.apex .apex-cat__link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: 8px;
	font-size: 13px;
	font-weight: 800;
	color: var(--apex-txt);
}
.apex-cat__link svg { width: 16px; height: 16px; transition: transform .25s ease; }
.apex-cat:hover .apex-cat__link { color: var(--apex-amb-d); }
.apex-cat:hover .apex-cat__link svg { transform: translateX(4px); }

/* Cardul mare rupe ritmul grilei: catalogul are un cap de listă evident. */
.apex-cat--mare {
	grid-column: span 2;
	grid-row: span 2;
	min-height: 482px;
	padding: 58% 28px 28px;
	background: var(--apex-ink);
	border-color: var(--apex-ink);
	color: #fff;
}
.apex-cat--mare::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(70% 60% at 70% 24%, rgba(255, 176, 32, .2), transparent 62%),
		repeating-linear-gradient(-45deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 12px);
}
.apex-cat--mare:hover { color: #fff; border-color: var(--apex-amb); }
/* Pe cardul mare fotografia stă pe hârtie, ca într-un catalog: fundalul alb
   al pozelor de producător nu se poate topi peste cerneală. */
.apex-cat--mare .apex-cat__poza {
	top: 0;
	right: 0;
	left: 0;
	width: auto;
	height: 55%;
	transform: none;
	background: #fff;
	padding: 26px;
	border-bottom: 3px solid var(--apex-amb);
}
.apex-cat--mare .apex-cat__poza img { mix-blend-mode: multiply; }
.apex-cat--mare .apex-cat__nume { font-size: 34px; color: #fff; }
.apex-cat--mare .apex-cat__copii { color: var(--apex-otel2); font-size: 14px; }
.apex-cat--mare .apex-cat__link { color: #fff; }
.apex-cat--mare .apex-cat__nr { color: var(--apex-amb); }

.apex-tot { margin: 34px 0 0; text-align: center; }

@media (max-width: 1000px) {
	.apex-cats { grid-template-columns: repeat(2, 1fr); }
	.apex-cat--mare { grid-column: span 2; grid-row: auto; min-height: 360px; padding-top: 52%; }
	.apex-cat--mare .apex-cat__poza { height: 50%; }
}
@media (max-width: 600px) {
	/* Pe o coloană, `span 2` al cardului mare crea o a doua coloană implicită
	   și rupea toate celelalte carduri în două bucăți. */
	.apex-cats { grid-template-columns: 1fr; gap: 12px; }
	.apex-cat--mare { grid-column: auto; }
	.apex-cat { min-height: 200px; padding-top: 116px; }
	.apex-cat__poza { width: 96px; height: 96px; }
	.apex-cat--mare { min-height: 320px; padding-top: 62%; }
}

/* ------------------------------------------- 11. PIESE + CIFRE --- */
.apex-piese__in {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
	gap: 56px;
	align-items: center;
}
.apex-piese__p {
	margin: 0 0 24px;
	font-size: 16.5px;
	line-height: 1.68;
	color: var(--apex-otel2);
	max-width: 560px;
}
.apex-piese__lista { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 11px; }
.apex-piese__lista li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 15.5px;
	color: #fff;
}
.apex-piese__lista svg {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin-top: 2px;
	color: var(--apex-amb);
}
.apex-piese__panou {
	position: relative;
	background: rgba(23, 30, 40, .6);
	border: 1px solid rgba(255, 255, 255, .09);
	border-radius: 4px;
	padding: 30px;
}
.apex-cifre {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1px;
	background: rgba(255, 255, 255, .09);
	border: 1px solid rgba(255, 255, 255, .09);
	border-radius: 3px;
	overflow: hidden;
}
.apex-cifra {
	background: var(--apex-ink2);
	padding: 20px 18px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.apex-cifra b {
	font-size: 33px;
	font-weight: 700;
	letter-spacing: -.03em;
	color: var(--apex-amb);
	line-height: 1;
}
.apex-cifra span {
	font-size: 12px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--apex-otel);
}
.apex-serii { margin-top: 24px; }
.apex-serii__eticheta {
	display: block;
	margin-bottom: 11px;
	font-family: var(--apex-mono);
	font-size: 10.5px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--apex-otel);
}
.apex-serii__lista { display: flex; flex-wrap: wrap; gap: 7px; }
.apex-serii__lista a {
	font-size: 12.5px;
	font-weight: 600;
	color: rgba(255, 255, 255, .8);
	text-decoration: none;
	padding: 6px 11px;
	border: 1px solid rgba(255, 255, 255, .13);
	border-radius: 2px;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.apex-serii__lista a:hover {
	background: var(--apex-amb);
	border-color: var(--apex-amb);
	color: var(--apex-ink);
}
@media (max-width: 980px) {
	.apex-piese__in { grid-template-columns: 1fr; gap: 36px; }
	.apex-piese__panou { padding: 22px; }
}
@media (max-width: 520px) {
	.apex-cifre { grid-template-columns: 1fr; }
	.apex-cifra b { font-size: 28px; }
}

/* -------------------------------------------------------- 12. PAȘI --- */
.apex-pasi {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	counter-reset: pas;
}
.apex-pas {
	position: relative;
	background: #fff;
	border: 1px solid var(--apex-line);
	border-radius: 3px;
	padding: 26px 24px 24px;
}
/* Linia punctată dintre pași: fișa de lucru se citește în ordine. */
.apex-pas::after {
	content: "";
	position: absolute;
	top: 42px;
	left: 100%;
	width: 20px;
	height: 2px;
	background: repeating-linear-gradient(90deg, var(--apex-line) 0 4px, transparent 4px 8px);
}
.apex-pas:last-child::after { display: none; }
/* Bloc, nu inline: ca `inline-flex` insigna stătea pe linia de bază a unui rând
   de text și adăuga un gol de 20px sub ea. */
.apex-pas__n {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	margin: 0 0 18px;
	font-size: 14px;
	font-weight: 700;
	color: var(--apex-ink);
	background: var(--apex-amb);
	border-radius: 2px;
}
.apex .apex-pas h3 { margin: 0 0 9px; font-size: 19px; letter-spacing: -.026em; }
.apex-pas p { margin: 0; font-size: 15px; line-height: 1.62; color: var(--apex-mut); }
.apex-pas p b { color: var(--apex-txt); font-weight: 800; }
@media (max-width: 900px) {
	.apex-pasi { grid-template-columns: 1fr; }
	.apex-pas::after { display: none; }
}

/* --------------------------------------------------------- 13. B2B --- */
.apex-b2b__in {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
	gap: 56px;
	align-items: center;
}
.apex-b2b__p {
	margin: 0 0 22px;
	font-size: 16.5px;
	line-height: 1.68;
	color: var(--apex-otel2);
	max-width: 540px;
}
.apex-b2b__lista { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 11px; }
.apex-b2b__lista li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; color: #fff; }
.apex-b2b__lista svg { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; color: var(--apex-amb); }
.apex-b2b__card {
	position: relative;
	background: var(--apex-ink2);
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 4px;
	padding: 30px;
}
.apex-b2b__eticheta {
	display: block;
	font-size: 10.5px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--apex-otel);
	margin-bottom: 10px;
}
.apex-b2b__tel { margin: 0 0 22px; }
.apex-b2b__tel a {
	font-family: var(--apex-disp);
	font-size: clamp(28px, 3.4vw, 38px);
	font-weight: 800;
	letter-spacing: -.03em;
	color: var(--apex-amb);
	text-decoration: none;
}
.apex-b2b__tel a:hover { color: var(--apex-amb-h); }
.apex-b2b__date { margin: 0; display: grid; grid-template-columns: 84px 1fr; gap: 9px 14px; }
.apex-b2b__date dt {
	font-size: 11px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--apex-otel);
	padding-top: 2px;
}
.apex-b2b__date dd { margin: 0; font-size: 14.5px; color: rgba(255, 255, 255, .88); line-height: 1.5; }
.apex-b2b__date dd a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.apex-b2b__date dd a:hover { color: var(--apex-amb); }
@media (max-width: 980px) {
	.apex-b2b__in { grid-template-columns: 1fr; gap: 34px; }
	.apex-b2b__card { padding: 22px; }
}

/* --------------------------------------------- 14. CARDURI PRODUS --- */
/* Cardul NU se ridică la hover: butonul de la baza lui s-ar muta sub cursor
   exact când omul întinde mouse-ul spre el. Hover = contur + umbră + zoom pe
   fotografie; nimic nu se deplasează. */
.apex ul.products {
	display: grid !important;
	gap: 18px;
	margin: 0 !important;
	padding: 0;
	list-style: none;
}
/* Tema își numără coloanele cu clasele ei (`grid-lg-col-4`), nu cu
   `columns-N` al WooCommerce, și le impune cu `!important` — deci grila
   proprie trebuie scrisă pe ambele familii de clase. */
.apex ul.products,
.apex ul.products.grid-cols,
.apex ul.products.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
.apex ul.products.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.apex ul.products.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
/* În catalog, coloana de filtre lasă mai puțin loc: trei carduri respiră mai
   bine decât patru înghesuite. */
.apex-magazin__grila ul.products,
.apex-magazin__grila ul.products.grid-cols {
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
.apex ul.products li.product {
	position: relative;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--apex-line);
	border-radius: 3px;
	overflow: hidden;
	transition: border-color .22s ease, box-shadow .22s ease;
}
.apex ul.products li.product:hover {
	border-color: var(--apex-ink);
	box-shadow: 0 24px 40px -28px rgba(10, 13, 18, .6);
}
/* Kadence ridică blocul de text cu 32px la hover ca să scoată butonul la
   iveală; noi îl arătăm oricum, deci mișcarea e doar deranj. */
.apex ul.products li.product .product-details,
.apex ul.products li.product:hover .product-details {
	transform: none !important;
	padding: 0 !important;
	background: none !important;
}
.apex ul.products li.product .product-action-wrap { position: static !important; opacity: 1 !important; }

.apex ul.products li.product > a.woocommerce-LoopProduct-link {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
}
/* Celula de imagine e ALBĂ, nu gri: pozele de la producător au fundal alb
   propriu, care s-ar vedea ca un dreptunghi peste orice altă nuanță. */
.apex ul.products li.product img,
.apex ul.products li.product .product-image {
	background: #fff;
	margin: 0 !important;
	border-radius: 0 !important;
}
.apex ul.products li.product > a.woocommerce-loop-image-link {
	position: relative;
	aspect-ratio: 1 / 1;
	display: grid;
	place-items: center;
	padding: 18px;
	border-bottom: 1px solid var(--apex-line);
	overflow: hidden;
	background: #fff;
}
.apex ul.products li.product > a.woocommerce-loop-image-link > img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	mix-blend-mode: multiply;
	transition: transform .4s cubic-bezier(.2, .7, .3, 1);
}
.apex ul.products li.product:hover > a.woocommerce-loop-image-link > img { transform: scale(1.06); }

/* Blocul de text e coloană: marca urcă deasupra titlului prin ordine, iar
   butonul rămâne lipit de baza cardului, oricât de lung e titlul. */
.apex ul.products li.product .product-details {
	display: flex;
	flex-direction: column;
	flex: 1;
}
.apex ul.products li.product .product-details .apex-card-marca { order: -1; }
.apex ul.products li.product .product-action-wrap { margin-top: 0 !important; }

/* Etichetele de stare stau peste fotografie. */
.apex-card-badges {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 5px;
}
.apex-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .02em;
	padding: 5px 9px;
	border-radius: 2px;
	background: rgba(255, 255, 255, .92);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	border: 1px solid var(--apex-line);
	color: var(--apex-txt);
}
.apex-badge i {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
	flex: 0 0 auto;
}
.apex-badge--stoc { color: var(--apex-stoc); border-color: rgba(23, 145, 92, .35); }
.apex-badge--comanda { color: var(--apex-comanda); border-color: rgba(154, 98, 0, .3); }
.apex-badge--fara { color: var(--apex-mut); }
.apex-badge--piesa {
	color: #fff;
	background: var(--apex-ink);
	border-color: var(--apex-ink);
}

/* Marca, deasupra titlului. */
.apex-card-marca {
	display: block;
	padding: 14px 16px 0;
	font-family: var(--apex-mono);
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--apex-mut);
}
.apex ul.products li.product h2.woocommerce-loop-product__title,
.apex ul.products li.product h2.apex-card-titlu {
	margin: 4px 0 0;
	padding: 0 16px;
	font-family: var(--apex-disp);
	font-size: 17px;
	font-weight: 800;
	letter-spacing: -.028em;
	line-height: 1.2;
	color: var(--apex-txt);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: calc(2 * 1.2em);
}
.apex ul.products li.product h2.woocommerce-loop-product__title a {
	color: inherit;
	text-decoration: none;
}
.apex-card-serie {
	display: block;
	padding: 4px 16px 0;
	font-size: 11px;
	color: var(--apex-mut);
	letter-spacing: .02em;
}
/* Datele de comandă: codul și specificația-cheie, fiecare pe rândul ei. Pe un
   rând comun s-ar rupe altfel pe fiecare lățime de card și listarea ar arăta
   zdrențuită. */
.apex-card-date {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 5px;
	padding: 10px 16px 0;
}
.apex-card-cod {
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: .04em;
	color: var(--apex-txt);
	background: var(--apex-canvas);
	border: 1px solid var(--apex-line);
	border-radius: 2px;
	padding: 4px 8px;
}
.apex-card-spec {
	font-size: 11.5px;
	font-weight: 700;
	color: var(--apex-txt);
	border: 1px solid var(--apex-line);
	border-left: 2px solid var(--apex-amb);
	border-radius: 2px;
	padding: 4px 8px;
}
.apex-card-spec i {
	font-style: normal;
	font-weight: 500;
	color: var(--apex-mut);
	margin-right: 5px;
}
/* Prețul se lipește de baza cardului: de la el în jos totul se aliniază între
   carduri, oricât de diferite sunt titlurile de deasupra. */
.apex ul.products li.product .price {
	display: block;
	margin: 0 !important;
	margin-top: auto !important;
	padding: 12px 16px 0;
	font-family: var(--apex-disp);
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -.03em;
	color: var(--apex-txt);
}
.apex ul.products li.product .price del { font-size: 15px; color: var(--apex-mut); font-weight: 600; }
.apex-card-tva {
	display: block;
	padding: 2px 16px 0;
	font-size: 11.5px;
	color: var(--apex-mut);
}
.apex ul.products li.product .product-action-wrap .button,
.apex ul.products li.product .apex-buton,
.apex ul.products li.product .button {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 14px 16px 16px !important;
	width: calc(100% - 32px);
	padding: 12px 16px !important;
	border: 0;
	border-radius: 3px;
	background: var(--apex-ink) !important;
	color: #fff !important;
	font-family: var(--apex-font);
	font-size: 13.5px;
	font-weight: 800;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: .06em;
	text-decoration: none;
	transition: background .2s ease, color .2s ease;
}
.apex ul.products li.product .product-action-wrap .button:hover,
.apex ul.products li.product .apex-buton:hover,
.apex ul.products li.product .button:hover {
	background: var(--apex-amb) !important;
	color: var(--apex-ink) !important;
}
.apex ul.products li.product .apex-buton--oferta {
	background: transparent !important;
	color: var(--apex-txt) !important;
	box-shadow: inset 0 0 0 2px var(--apex-line);
}
.apex ul.products li.product .added_to_cart { display: none; }

/* Semnul pentru produsele fără fotografie. */
.apex-fara-poza {
	display: grid;
	place-items: center;
	gap: 8px;
	width: 100%;
	aspect-ratio: 1 / 1;
	color: var(--apex-canvas2);
	background: #fff;
}
.apex-fara-poza svg { width: 54px; height: 54px; }
.apex-fara-poza em {
	font-style: normal;
	font-family: var(--apex-mono);
	font-size: 11px;
	letter-spacing: .1em;
	color: var(--apex-mut);
}

@media (max-width: 1100px) {
	.apex ul.products,
	.apex ul.products.grid-cols,
	.apex ul.products.columns-4,
	.apex-magazin__grila ul.products,
	.apex-magazin__grila ul.products.grid-cols {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}
/* Două coloane pe telefon, nu una: cardurile pe toată lățimea transformă
   catalogul într-un derulaj fără sfârșit. */
@media (max-width: 820px) {
	.apex ul.products,
	.apex ul.products.grid-cols,
	.apex ul.products.columns-4,
	.apex ul.products.columns-3,
	.apex-magazin__grila ul.products,
	.apex-magazin__grila ul.products.grid-cols {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}
@media (max-width: 560px) {
	.apex ul.products { gap: 10px; }
	.apex ul.products li.product .product-image { padding: 10px; }
	.apex ul.products li.product h2.apex-card-titlu {
		font-size: 14.5px;
		padding: 0 11px;
		-webkit-line-clamp: 3;
		min-height: calc(3 * 1.2em);
	}
	.apex-card-marca { padding: 11px 11px 0; }
	.apex-card-date, .apex-card-serie { padding-left: 11px; padding-right: 11px; }
	.apex ul.products li.product .price { font-size: 18px; padding: 12px 11px 0; }
	.apex-card-tva { padding: 2px 11px 0; }
	.apex ul.products li.product .apex-buton,
	.apex ul.products li.product .button {
		margin: 12px 11px 12px !important;
		margin-top: auto !important;
		width: calc(100% - 22px);
		font-size: 12.5px;
	}
}

/* ---------------------------------------------------- 15. MAGAZIN --- */
.apex-antet-catalog {
	padding: 34px 0 26px;
	border-bottom: 1px solid var(--apex-line);
	margin-bottom: 28px;
}
.apex-antet-catalog .woocommerce-breadcrumb,
.apex .woocommerce-breadcrumb {
	font-size: 12.5px;
	color: var(--apex-mut);
	margin: 0 0 14px !important;
	padding: 0;
}
.apex .woocommerce-breadcrumb a { color: var(--apex-mut); text-decoration: none; }
.apex .woocommerce-breadcrumb a:hover { color: var(--apex-txt); }
.apex .apex-antet-catalog h1 {
	margin: 0;
	font-size: clamp(28px, 3.4vw, 40px);
	letter-spacing: -.032em;
}
.apex-antet-catalog > p {
	margin: 12px 0 0;
	max-width: 720px;
	font-size: 16px;
	line-height: 1.6;
	color: var(--apex-mut);
}
.apex-subcategorii {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 18px 0 0;
	padding: 0;
}
.apex-subcategorii a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13.5px;
	font-weight: 700;
	color: var(--apex-txt);
	text-decoration: none;
	padding: 8px 13px;
	border: 1px solid var(--apex-line);
	border-radius: 2px;
	background: #fff;
	transition: border-color .2s ease, background .2s ease;
}
.apex-subcategorii a span {
	font-family: var(--apex-mono);
	font-size: 11px;
	color: var(--apex-mut);
}
.apex-subcategorii a:hover { border-color: var(--apex-ink); background: var(--apex-canvas); }

.apex-magazin {
	display: grid;
	grid-template-columns: 268px minmax(0, 1fr);
	gap: 32px;
	align-items: start;
	padding-bottom: 64px;
}
.apex-magazin__filtre { position: sticky; top: 116px; }

/* bara de deasupra grilei */
.apex .woocommerce-notices-wrapper:empty { display: none; }
.apex .woocommerce-result-count {
	margin: 0 !important;
	font-size: 13.5px;
	color: var(--apex-mut);
}
.apex .woocommerce-ordering { margin: 0 !important; }
.apex .woocommerce-ordering select {
	height: 42px;
	border: 1px solid var(--apex-line);
	border-radius: 2px;
	padding: 0 34px 0 12px;
	font: inherit;
	font-size: 14px;
	font-weight: 650;
	background-color: #fff;
	color: var(--apex-txt);
	cursor: pointer;
}
.apex .woocommerce-ordering select:focus {
	outline: none;
	border-color: var(--apex-amb);
	box-shadow: 0 0 0 3px rgba(255, 176, 32, .2);
}
.apex-bara-filtre {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 18px;
}
.apex-pastile { display: flex; flex-wrap: wrap; gap: 7px; }
.apex .apex-pastila {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 12.5px;
	font-weight: 700;
	padding: 6px 11px;
	border-radius: 2px;
	background: var(--apex-ink);
	color: #fff;
	text-decoration: none;
}
.apex .apex-pastila:hover { background: var(--apex-amb); color: var(--apex-ink); }
.apex .apex-sterge-filtre {
	font-size: 12.5px;
	font-weight: 700;
	color: var(--apex-mut);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.apex-deschide-filtre {
	display: none;
	align-items: center;
	gap: 9px;
	font-size: 14px;
	font-weight: 800;
	padding: 11px 16px;
	border: 2px solid var(--apex-ink);
	border-radius: 2px;
	background: #fff;
	color: var(--apex-txt);
	cursor: pointer;
}

/* panoul de filtre */
.apex-filtre {
	background: #fff;
	border: 1px solid var(--apex-line);
	border-top: 3px solid var(--apex-ink);
	border-radius: 3px;
	padding: 4px 18px 18px;
	max-height: calc(100vh - 140px);
	overflow-y: auto;
}
.apex-filtre__cap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 0 10px;
}
.apex .apex-filtre__cap h2 {
	margin: 0;
	font-size: 12px;
	letter-spacing: .16em;
	text-transform: uppercase;
	font-family: var(--apex-mono);
	font-weight: 600;
	color: var(--apex-mut);
}
.apex-filtre__inchide {
	display: none;
	border: 0;
	background: none;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	color: var(--apex-mut);
}
.apex-filtru { padding: 16px 0; border-top: 1px solid var(--apex-line); }
.apex .apex-filtru h3 {
	margin: 0 0 11px;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: -.015em;
}
.apex-filtru ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.apex-lista-lunga li:nth-child(n+9) { display: none; }
.apex-filtru.este-desfacut .apex-lista-lunga li { display: block; }
.apex .apex-optiune {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 7px 8px;
	margin: 0 -8px;
	border-radius: 2px;
	font-size: 14px;
	color: var(--apex-txt);
	text-decoration: none;
	transition: background .15s ease;
}
.apex .apex-optiune:hover { background: var(--apex-canvas); color: var(--apex-txt); }
.apex-optiune em {
	margin-left: auto;
	font-style: normal;
	font-family: var(--apex-mono);
	font-size: 11px;
	color: var(--apex-mut);
}
.apex-bifa {
	flex: 0 0 auto;
	width: 17px;
	height: 17px;
	border: 2px solid var(--apex-line);
	border-radius: 2px;
	position: relative;
	transition: border-color .15s ease, background .15s ease;
}
.apex-optiune:hover .apex-bifa { border-color: var(--apex-otel); }
.apex-optiune.este-activ .apex-bifa { background: var(--apex-amb); border-color: var(--apex-amb); }
.apex-optiune.este-activ .apex-bifa::after {
	content: "";
	position: absolute;
	left: 4px;
	top: 0;
	width: 4px;
	height: 9px;
	border: solid var(--apex-ink);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
.apex-optiune.este-activ { font-weight: 800; }
.apex-optiune--cat { font-weight: 650; }
.apex-optiune--cat.este-activ { color: var(--apex-amb-d); }
.apex-mai-mult {
	margin-top: 8px;
	border: 0;
	background: none;
	padding: 0;
	font: inherit;
	font-size: 12.5px;
	font-weight: 800;
	color: var(--apex-a-dk);
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.apex .apex-filtre__reset {
	display: block;
	margin-top: 16px;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--apex-mut);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.apex-gol {
	grid-column: 1 / -1;
	text-align: center;
	padding: 60px 20px;
	background: #fff;
	border: 1px solid var(--apex-line);
	border-radius: 3px;
}
.apex .apex-gol h2 { margin: 0 0 10px; font-size: 24px; }
.apex-gol p { margin: 0 auto 18px; max-width: 520px; color: var(--apex-mut); line-height: 1.6; }

@media (max-width: 980px) {
	.apex-magazin { grid-template-columns: 1fr; }
	.apex-magazin__filtre {
		position: fixed;
		inset: 0 auto 0 0;
		width: min(340px, 88vw);
		z-index: 200;
		transform: translateX(-102%);
		transition: transform .28s ease;
	}
	.apex-filtre-deschise .apex-magazin__filtre { transform: none; }
	.apex-filtre-deschise::after {
		content: "";
		position: fixed;
		inset: 0;
		background: rgba(10, 13, 18, .55);
		z-index: 190;
	}
	.apex-filtre {
		height: 100%;
		max-height: none;
		border-radius: 0;
		border-top: 0;
		padding: 4px 18px 40px;
	}
	.apex-filtre__inchide { display: block; }
	.apex-deschide-filtre { display: inline-flex; }
}

/* ---------------------------------------------- 16. PAGINA PRODUS --- */
.apex.single-product .site-container { padding-top: 26px; }
/* Tema scoate cardul de conținut în afara coloanei cu margini negative pe
   telefon; pe pagina de produs asta împingea butonul de comandă în afara
   ecranului. */
.apex div.product {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
	gap: 48px;
	align-items: start;
	margin-left: 0 !important;
	margin-right: 0 !important;
	max-width: 100%;
}
.apex div.product > * { min-width: 0; max-width: 100%; }
.apex div.product .woocommerce-product-gallery {
	position: sticky;
	top: 116px;
	width: auto !important;
	float: none !important;
	margin: 0 !important;
	background: #fff;
	border: 1px solid var(--apex-line);
	border-radius: 3px;
	padding: 24px;
}
.apex div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.apex div.product .woocommerce-product-gallery__image img {
	mix-blend-mode: multiply;
	background: #fff;
}
.apex div.product .flex-control-thumbs {
	display: flex;
	gap: 8px;
	margin: 16px 0 0 !important;
	padding: 0;
	list-style: none;
}
.apex div.product .flex-control-thumbs li { width: 64px !important; margin: 0 !important; }
.apex div.product .flex-control-thumbs img {
	border: 1px solid var(--apex-line);
	border-radius: 2px;
	padding: 4px;
	background: #fff;
	mix-blend-mode: multiply;
	transition: border-color .2s ease;
}
.apex div.product .flex-control-thumbs img.flex-active,
.apex div.product .flex-control-thumbs img:hover { border-color: var(--apex-ink); }

.apex div.product .summary.entry-summary { width: auto !important; float: none !important; margin: 0 !important; }
.apex-produs-antet {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 12px;
}
.apex-marca {
	font-family: var(--apex-mono);
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--apex-ink);
	background: var(--apex-canvas);
	border: 1px solid var(--apex-line);
	border-radius: 2px;
	padding: 6px 10px;
}
.apex-cod-mare {
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: .06em;
	color: var(--apex-txt);
	border-left: 2px solid var(--apex-amb);
	padding-left: 10px;
}
.apex-serie-produs {
	margin: -10px 0 16px !important;
	font-family: var(--apex-mono);
	font-size: 12px;
	letter-spacing: .06em;
	color: var(--apex-mut);
}
.apex.single-product div.product .product_title {
	margin: 0 0 12px !important;
	font-size: clamp(27px, 3.2vw, 38px);
	letter-spacing: -.032em;
	line-height: 1.06;
}

/* Plăcuța de specificații: cifrele după care se alege scula, în față. */
.apex-spec-rapid {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
	gap: 1px;
	margin: 0 0 22px;
	padding: 0;
	background: var(--apex-line);
	border: 1px solid var(--apex-line);
	border-radius: 3px;
	overflow: hidden;
}
.apex-spec-rapid li {
	background: #fff;
	padding: 12px 14px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	gap: 3px;
}
.apex-spec-rapid span { min-height: 2.6em; }
.apex-spec-rapid b {
	font-size: 17px;
	font-weight: 700;
	letter-spacing: -.02em;
	word-spacing: -.18em;
	color: var(--apex-txt);
}
.apex-spec-rapid span {
	font-size: 10.5px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--apex-mut);
	line-height: 1.3;
}

/* Doar prețul din panoul de cumpărare: produsele similare stau tot în
   `div.product`, iar fără „> .summary" primeau și ele 34px. */
.apex.single-product div.product > .summary > p.price,
.apex.single-product div.product > .summary > span.price {
	font-family: var(--apex-disp);
	font-size: 34px !important;
	font-weight: 800;
	letter-spacing: -.035em;
	color: var(--apex-txt) !important;
	margin: 0 0 4px !important;
}
.apex-pret-fara-tva { margin: 0 0 18px !important; font-size: 13.5px; color: var(--apex-mut); }

.apex-disp {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 14.5px;
	font-weight: 700;
	padding: 11px 15px;
	border-radius: 2px;
	margin-bottom: 20px;
	border-left: 3px solid currentColor;
}
.apex-disp--stoc { color: var(--apex-stoc); background: rgba(23, 145, 92, .09); }
.apex-disp--comanda { color: var(--apex-comanda); background: rgba(255, 176, 32, .12); }
.apex-disp--fara { color: var(--apex-mut); background: var(--apex-canvas); }

.apex div.product form.cart { margin: 0 0 18px !important; display: flex; gap: 10px; align-items: stretch; }
.apex div.product form.cart .quantity input.qty {
	height: 52px;
	width: 76px;
	border: 2px solid var(--apex-line);
	border-radius: 3px;
	text-align: center;
	font: inherit;
	font-weight: 700;
	font-size: 16px;
}
.apex div.product form.cart button.single_add_to_cart_button {
	flex: 1;
	height: 52px;
	border: 0;
	border-radius: 3px;
	background: var(--apex-amb);
	color: var(--apex-ink);
	font-family: var(--apex-font);
	font-weight: 800;
	font-size: 15.5px;
	letter-spacing: .04em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
	box-shadow: 0 14px 28px -14px rgba(255, 176, 32, .9);
}
.apex div.product form.cart button.single_add_to_cart_button:hover {
	background: var(--apex-amb-h);
	transform: translateY(-2px);
	box-shadow: 0 20px 34px -14px rgba(255, 176, 32, 1);
}
.apex .apex-legatura-oferta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14.5px;
	font-weight: 800;
	color: var(--apex-txt);
	text-decoration: none;
	border-bottom: 2px solid var(--apex-amb);
	padding-bottom: 2px;
}
.apex-legatura-oferta:hover { color: var(--apex-amb-d); }
.apex div.product .product_meta { display: none; }

.apex-increderi {
	list-style: none;
	margin: 24px 0 0;
	padding: 18px 20px;
	background: var(--apex-canvas);
	border: 1px solid var(--apex-line);
	border-radius: 3px;
	display: grid;
	gap: 10px;
}
.apex-increderi li { display: flex; align-items: center; gap: 11px; font-size: 14.5px; color: var(--apex-txt); }
.apex-increderi svg { width: 18px; height: 18px; color: var(--apex-amb-d); flex: 0 0 auto; }

/* filele */
.apex div.product .woocommerce-tabs { grid-column: 1 / -1; margin-top: 56px; }
.apex div.product .woocommerce-tabs .panel { margin-bottom: 0 !important; padding-bottom: 0 !important; }
.apex .woocommerce-tabs ul.tabs {
	display: flex;
	gap: 0;
	margin: 0 0 24px !important;
	padding: 0 !important;
	border-bottom: 1px solid var(--apex-line);
	list-style: none;
}
.apex .woocommerce-tabs ul.tabs::before,
.apex .woocommerce-tabs ul.tabs li::before,
.apex .woocommerce-tabs ul.tabs li::after { display: none !important; }
.apex .woocommerce-tabs ul.tabs li {
	margin: 0 !important;
	padding: 0 !important;
	background: none !important;
	border: 0 !important;
	border-radius: 0 !important;
}
.apex .woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 13px 20px;
	font-family: var(--apex-font);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .02em;
	color: var(--apex-mut);
	text-decoration: none;
	border-bottom: 3px solid transparent;
	margin-bottom: -1px;
	transition: color .2s ease, border-color .2s ease;
}
.apex .woocommerce-tabs ul.tabs li.active a,
.apex .woocommerce-tabs ul.tabs li a:hover { color: var(--apex-txt); border-color: var(--apex-amb); }
.apex .woocommerce-tabs .panel > h2:first-child { display: none; }

.apex-fisa {
	margin: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	background: var(--apex-line);
	border: 1px solid var(--apex-line);
	border-radius: 3px;
	overflow: hidden;
	max-width: 900px;
}
.apex-fisa__rand {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	background: #fff;
	padding: 12px 16px;
}
.apex-fisa dt { font-size: 14px; color: var(--apex-mut); margin: 0; }
.apex-fisa dd { margin: 0; font-size: 14.5px; font-weight: 700; color: var(--apex-txt); text-align: right; }
.apex-fisa__cod { font-size: 13px !important; letter-spacing: .04em; }
.apex-fisa__nota { margin: 14px 0 0; font-size: 13px; color: var(--apex-mut); max-width: 640px; line-height: 1.6; }
.apex-lista-livrare { margin: 0; padding-left: 20px; display: grid; gap: 9px; max-width: 720px; }
.apex-lista-livrare li { font-size: 15px; line-height: 1.6; color: var(--apex-mut); }
.apex-lista-livrare strong { color: var(--apex-txt); }

.apex-legate { grid-column: 1 / -1; margin-top: 48px; }
.apex .apex-legate h2 { font-size: 22px; margin: 0 0 16px; }
.apex-legate__lista {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 8px;
}
.apex-legate__lista a {
	display: flex;
	align-items: baseline;
	gap: 10px;
	padding: 11px 14px;
	background: #fff;
	border: 1px solid var(--apex-line);
	border-radius: 2px;
	text-decoration: none;
	color: var(--apex-txt);
	font-size: 14px;
	transition: border-color .2s ease;
}
.apex-legate__lista a:hover { border-color: var(--apex-ink); }
.apex-legate__cod { font-size: 12px; font-weight: 600; color: var(--apex-amb-d); flex: 0 0 auto; }
.apex-legate__nume { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--apex-mut); }
.apex-legate__pret { margin-left: auto; font-weight: 800; flex: 0 0 auto; }

.apex .related.products, .apex .up-sells { grid-column: 1 / -1; margin-top: 56px; }
.apex .related.products > h2, .apex .up-sells > h2 { font-size: 24px; margin: 0 0 20px; }

@media (max-width: 980px) {
	.apex div.product { grid-template-columns: 1fr; gap: 28px; }
	.apex div.product form.cart { flex-wrap: wrap; }
	.apex div.product form.cart button.single_add_to_cart_button { min-width: 0; flex: 1 1 180px; }
	.apex div.product .woocommerce-product-gallery { position: static; padding: 16px; }
	.apex div.product .woocommerce-tabs { margin-top: 36px; }
	.apex-fisa { grid-template-columns: 1fr; }
	.apex .woocommerce-tabs ul.tabs { overflow-x: auto; }
	.apex .woocommerce-tabs ul.tabs li a { white-space: nowrap; }
}

/* ------------------------------------------------- 17. FORMULARE --- */
.apex-formular {
	background: #fff;
	border: 1px solid var(--apex-line);
	border-top: 3px solid var(--apex-amb);
	border-radius: 3px;
	padding: 28px;
	max-width: 760px;
}
.apex .apex-formular .apex-buton,
.apex .apex-formular button[type="submit"] {
	background: var(--apex-amb);
	color: var(--apex-ink);
	box-shadow: 0 14px 28px -14px rgba(255, 176, 32, .9);
}
.apex .apex-formular .apex-buton:hover,
.apex .apex-formular button[type="submit"]:hover {
	background: var(--apex-amb-h);
	color: var(--apex-ink);
}
.apex .apex-formular .apex-buton::after { background: var(--apex-ink); }
.apex-formular__rand { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.apex-camp { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.apex-camp label { font-size: 13px; font-weight: 800; letter-spacing: -.01em; }
.apex-camp input, .apex-camp textarea, .apex-camp select {
	border: 2px solid var(--apex-line);
	border-radius: 3px;
	padding: 12px 13px;
	font: inherit;
	font-size: 15px;
	background: #fff;
	color: var(--apex-txt);
	transition: border-color .18s ease, box-shadow .18s ease;
}
.apex-camp input:focus, .apex-camp textarea:focus, .apex-camp select:focus {
	outline: none;
	border-color: var(--apex-amb);
	box-shadow: 0 0 0 4px rgba(255, 176, 32, .2);
}
.apex-camp--acord { flex-direction: row; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--apex-mut); }
.apex-camp--ascuns { position: absolute; left: -9999px; }
.apex-mesaj {
	padding: 14px 16px;
	border-radius: 3px;
	border-left: 3px solid var(--apex-comanda);
	background: rgba(255, 176, 32, .12);
	font-size: 14.5px;
	margin-bottom: 18px;
}
.apex-mesaj--bun { border-left-color: var(--apex-stoc); background: rgba(23, 145, 92, .1); }
@media (max-width: 640px) {
	.apex-formular { padding: 20px; }
	.apex-formular__rand { grid-template-columns: 1fr; }
}

/* Coșul gol: blocul implicit arăta o figurină tristă și „Noutăți în magazin".
   Într-un magazin de repere, drumul înainte e căutarea, nu o vitrină. */
.apex-cos-gol {
	position: relative;
	max-width: 640px;
	margin: 0 auto;
	padding: 40px 36px;
	text-align: center;
	background: #fff;
	border: 1px solid var(--apex-line);
	border-top: 3px solid var(--apex-amb);
	border-radius: 3px;
}
.apex-cos-gol__eticheta {
	display: block;
	font-family: var(--apex-mono);
	font-size: 11px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--apex-mut);
	margin-bottom: 12px;
}
.apex .apex-cos-gol h2 { margin: 0 0 12px; font-size: 26px; }
.apex-cos-gol p { margin: 0 auto 22px; max-width: 460px; color: var(--apex-mut); line-height: 1.65; }
.apex-cos-gol__butoane {
	display: flex;
	gap: 10px;
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 0 !important;
}
.apex .entry-content .apex-buton { margin-bottom: 10px; }

/* Coșul și finalizarea comenzii — aceleași forme ca restul site-ului. */
.apex .woocommerce table.shop_table {
	border: 1px solid var(--apex-line);
	border-radius: 3px;
	border-collapse: separate;
}
.apex .woocommerce table.shop_table th { font-weight: 800; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.apex .woocommerce .cart_totals h2, .apex .woocommerce-checkout h3 { font-size: 20px; }
.apex .woocommerce #payment #place_order,
.apex .woocommerce .checkout-button,
.apex .wc-block-cart__submit-button {
	background: var(--apex-amb) !important;
	color: var(--apex-ink) !important;
	border-radius: 3px !important;
	font-weight: 800 !important;
	text-transform: uppercase;
	letter-spacing: .04em;
}
.apex .woocommerce form .form-row input.input-text,
.apex .woocommerce form .form-row textarea,
.apex .woocommerce form .form-row select {
	border: 2px solid var(--apex-line);
	border-radius: 3px;
	padding: 11px 12px;
}

/* --------------------------------------- 18. PAGINI DE CONȚINUT --- */
/* Aspectul „lățime plină" e ales pentru prima pagină și catalog; paginile de
   text au nevoie de o coloană citibilă. */
.apex:not(.home) .entry-content > *:not(.alignfull):not(.alignwide):not(section) {
	max-width: 760px;
}
.apex .entry-content h2 { margin-top: 2em; font-size: 27px; }
.apex .entry-content h3 { margin-top: 1.6em; font-size: 20px; }
.apex .entry-content p, .apex .entry-content li { line-height: 1.72; }
/* Prima pagină își spune singură cine e, prin hero. */
.apex.home .content-container .entry-header { display: none; }
.apex.home .content-area { margin-top: 0 !important; margin-bottom: 0 !important; }
.apex.home .entry-content-wrap { padding: 0 !important; }
.apex.home .entry.single-entry { box-shadow: none !important; background: none !important; }
/* Lățimea plină e pentru conținutul primei pagini, NU pentru rândurile de
   antet și subsol — altfel sigla ajunge lipită de marginea ecranului. */
.apex.home .content-container.site-container { max-width: none; padding: 0; }
/* Aspectul temei e „lățime plină" pe tot site-ul, ca prima pagină să poată
   folosi toată lățimea. Toate celelalte pagini își iau înapoi coloana,
   marginile laterale și aerul de sus și de jos. */
.apex:not(.home) .content-container.site-container {
	max-width: var(--apex-lat);
	padding-left: 24px;
	padding-right: 24px;
}
.apex:not(.home) .content-area {
	margin-top: 3rem !important;
	margin-bottom: 4.5rem !important;
}
@media (max-width: 767px) {
	.apex:not(.home) .content-container.site-container { padding-left: 18px; padding-right: 18px; }
	.apex div.product { padding-left: 16px !important; padding-right: 16px !important; }
	.apex:not(.home) .content-area { margin-top: 2rem !important; margin-bottom: 3rem !important; }
}

/* ------------------------------------------------------ 19. SUBSOL --- */
.apex .site-footer {
	position: relative;
	background: var(--apex-ink);
	color: var(--apex-otel2);
}
.apex .site-footer::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: repeating-linear-gradient(-45deg, var(--apex-amb) 0 10px, var(--apex-ink) 10px 20px);
	opacity: .85;
	z-index: 3;
}
.apex .site-footer .site-middle-footer-wrap { padding: 56px 0 44px; }
.apex .site-footer a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.apex .site-footer a:hover { color: var(--apex-amb); }
.apex-subsol__sigla { max-width: 168px; height: auto; margin-bottom: 16px; }
.apex-subsol__despre { font-size: 14px; line-height: 1.65; color: var(--apex-otel); max-width: 320px; }
.apex .apex-subsol__titlu {
	font-family: var(--apex-mono);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--apex-amb);
	margin: 0 0 16px;
}
.apex-subsol__lista, .apex-subsol__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.apex-subsol__lista a, .apex-subsol__contact a, .apex-subsol__contact li {
	font-size: 14.5px;
	line-height: 1.5;
}
.apex-subsol__contact li { color: var(--apex-otel); }
.apex-subsol__lista a {
	display: inline-block;
	position: relative;
	transition: transform .2s ease;
}
.apex-subsol__lista a:hover { transform: translateX(3px); }
.apex .apex-subsol__tel {
	font-family: var(--apex-disp);
	font-size: 21px;
	font-weight: 800;
	letter-spacing: -.025em;
	color: #fff !important;
}
.apex .apex-subsol__tel:hover { color: var(--apex-amb) !important; }
.apex-subsol__anpc { margin: 16px 0 0; font-size: 12.5px; color: var(--apex-otel); }
.apex .site-bottom-footer-wrap {
	border-top: 1px solid rgba(255, 255, 255, .08);
	padding: 20px 0;
	font-size: 12.5px;
	color: var(--apex-otel);
}
.apex-firma { display: block; }

/* ----------------------------------------------------- 20. MIȘCARE --- */
/* Intrarea la derulare: 16px și puțină opacitate, decalate. Mai mult decât
   atât devine spectacol și încetinește citirea catalogului. */
/* Ascunderea inițială se face doar dacă JavaScript a pornit — altfel pagina
   ar rămâne goală pentru cine îl are oprit. */
.apex-anim [data-apex-reveal] {
	opacity: 0;
	transform: translate3d(0, 16px, 0);
}
.apex-anim [data-apex-reveal].este-vizibil {
	animation: apexIntra .55s cubic-bezier(.2, .7, .3, 1) both;
	animation-delay: calc(var(--i, 0) * 70ms);
}

/* Cotele din hero intră după sculă, una câte una. */
.apex-anim .apex-cota { opacity: 0; transform: translate3d(0, 8px, 0); }
.apex-anim .apex-cota.este-vizibil {
	animation: apexIntra .5s cubic-bezier(.2, .7, .3, 1) both;
}
.apex-anim .apex-cota--1.este-vizibil { animation-delay: .35s; }
.apex-anim .apex-cota--2.este-vizibil { animation-delay: .5s; }
.apex-anim .apex-cota--3.este-vizibil { animation-delay: .65s; }

/* Adâncimea din hero: bancul se mișcă puțin după cursor, scula rămâne pe loc. */
.apex-hero__banc { transition: transform .5s cubic-bezier(.2, .7, .3, 1); }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.apex *, .apex *::before, .apex *::after {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
	}
	.apex-anim [data-apex-reveal],
	.apex-anim .apex-cota { opacity: 1 !important; transform: none !important; animation: none !important; }
	.apex-hero__scula { animation: none !important; }
}
