/* Urbanist (font variabil 400–700, licență SIL Open Font License) găzduit în temă – fără Google Fonts (16.11.2026). */
@font-face { font-family: "Urbanist"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/urbanist-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Urbanist"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/urbanist-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* =====================================================================
   SBRO – bază: tokeni (din setările Blocksy actuale, 11.11.2026), tipografie, butoane, formulare
   ===================================================================== */
:root {
	--sbro-accent: #c54714;
	--sbro-accent-dark: #a53a10;
	--sbro-text-2: #545c62; /* #687279 → #545c62: contrast 4,9:1 → 6,7:1 (12.11.2026) */
	--sbro-text: #131117;
	--sbro-border: #d9dadc;
	--sbro-bg-2: #e8e8e8;
	--sbro-bg-3: #fbfbfb;
	--sbro-bg: #ffffff;
	--sbro-field-border: #e0e5eb;
	--sbro-dark: #131117;
	--sbro-overlay: rgba(18, 21, 25, 0.98);
	--sbro-teal: #55cfc1;
	--sbro-font: "Urbanist", system-ui, -apple-system, "Segoe UI", sans-serif;
	--sbro-font-titluri: Georgia, "Times New Roman", serif;
	--sbro-container: 1290px;
	--sbro-gutter: 16px;
	--sbro-header-h: 88px; /* 120 → 88px (12.11.2026, cerut de Dan: meniu mai compact) */
	--sbro-shadow: 0 10px 20px rgba(41, 51, 61, 0.1);
}
@media (max-width: 999.98px) { :root { --sbro-header-h: 70px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--sbro-bg);
	color: var(--sbro-text-2);
	font: 400 16px/1.65 var(--sbro-font);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--sbro-accent); text-decoration: none; transition: color .15s; }
a:hover { color: var(--sbro-text); }
p { margin: 0 0 1em; }

h1, h2, h3, h4, h5, h6 { color: var(--sbro-text); margin: 0 0 .5em; line-height: 1.5; }
h1, h2 { font-family: var(--sbro-font-titluri); font-weight: 700; }
h1 { font-size: 40px; }
h2 { font-size: 35px; }
h3 { font-family: var(--sbro-font); font-weight: 700; font-size: 30px; }
h4 { font-family: var(--sbro-font); font-weight: 700; font-size: 25px; }
h5 { font-family: var(--sbro-font); font-weight: 700; font-size: 20px; }
h6 { font-family: var(--sbro-font); font-weight: 700; font-size: 16px; }
@media (max-width: 689.98px) {
	h1 { font-size: 30px; } h2 { font-size: 26px; } h3 { font-size: 22px; }
}

.sbro-container { width: 100%; max-width: calc(var(--sbro-container) + 2 * var(--sbro-gutter)); margin: 0 auto; padding: 0 var(--sbro-gutter); }

.screen-reader-text, .sbro-skip:not(:focus) {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.sbro-skip:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; background: #fff; padding: 8px 12px; }
[hidden] { display: none !important; }

/* Butoane: colțuri drepte, ca acum */
.sbro-btn, .button, button.button, input[type="submit"], .wp-element-button, .wc-block-components-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 45px; padding: 10px 24px; border: 0; border-radius: 0;
	background: var(--sbro-accent); color: #fff;
	font: 600 15px/1.2 var(--sbro-font); cursor: pointer; text-align: center;
	transition: background-color .15s, color .15s;
}
.sbro-btn:hover, .button:hover, button.button:hover, input[type="submit"]:hover, .wp-element-button:hover { background: var(--sbro-text); color: #fff; }
.sbro-btn--ghost { background: transparent; color: var(--sbro-text-2); border: 1px solid var(--sbro-border); }
.sbro-btn--ghost:hover { background: var(--sbro-bg-3); color: var(--sbro-text); }
.sbro-btn--dark { background: var(--sbro-text); }
.sbro-btn--dark:hover { background: var(--sbro-accent); }

/* Formulare */
input:not([type]), input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="search"], input[type="number"], input[type="url"], input[type="date"], select, textarea {
	width: 100%; min-height: 45px; padding: 8px 14px;
	border: 1px solid var(--sbro-field-border); border-radius: 3px; background: #fff;
	font: 400 16px/1.4 var(--sbro-font); color: var(--sbro-text);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--sbro-accent); }
:focus-visible { outline: 2px solid var(--sbro-accent); outline-offset: 2px; }

.sbro-badge {
	position: absolute; top: -8px; right: -10px; min-width: 16px; height: 16px; padding: 0 4px;
	border-radius: 8px; background: var(--sbro-accent); color: #fff;
	font: 600 10px/16px var(--sbro-font); text-align: center;
}
.sbro-main { padding-top: 40px; padding-bottom: 72px; }
@media (max-width: 689.98px) { .sbro-main { padding-top: 28px; padding-bottom: 48px; } }

/* Banda de titlu a paginilor (ca bara gri din Blocksy) */
.sbro-page-hero { background: var(--sbro-bg-2); padding: 40px 0 46px; text-align: center; }
.sbro-page-hero h1 { margin: 0; font-size: 44px; line-height: 1.2; }
.sbro-page-hero .sbro-breadcrumbs, .sbro-shop-hero .sbro-breadcrumbs { margin: 0 0 10px; font-size: 14px; }
@media (max-width: 689.98px) { .sbro-page-hero { padding: 28px 0 32px; } .sbro-page-hero h1 { font-size: 30px; } }
.sbro-page-content > *:first-child { margin-top: 0; }

/* Câmpurile anti-spam (capcană pentru roboți) nu se văd */
.sbro-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }

/* =====================================================================
   Scara de spațiere între secțiuni (12.11.2026) – aceeași peste tot:
   prima pagină, produs (taburi → rânduri de produse), categorie (grilă → descriere).
   Pe site-ul actual distanțele variau între 30 și 190px.
   ===================================================================== */
:root { --sbro-section-gap: 52px; } /* 64 → 52px (12.11.2026, cerut de Dan: goluri prea mari) */
@media (max-width: 999.98px) { :root { --sbro-section-gap: 44px; } }
@media (max-width: 689.98px) { :root { --sbro-section-gap: 36px; } }

/* Titlurile paginilor pe telefon (12.11.2026): mărimea se adaptează la ecran, ca titlurile scurte și medii
   („Coșul de cumpărături”, „Comenzi pentru biserici”) să încapă pe un rând; cele foarte lungi se împart echilibrat. */
@media (max-width: 689.98px) {
	.sbro-page-hero h1, .sbro-shop-hero h1 { font-size: clamp(22px, 7.2vw, 30px) !important; text-wrap: balance; }
}

/* =====================================================================
   Culori de text unificate (12.11.2026): griurile deschise moștenite din Blocksy (#687279, #6f7579, #4f585e,
   meniul la 70% negru) arătau neuniform lângă titlurile negre → un singur gri închis, aproape negru.
   ===================================================================== */
:root { --sbro-text-2: #3f464b; }
.entry-content, .sbro-footer, .sbro-footer a { color: var(--sbro-text-2); }
.sbro-footer__bottom p { color: #555c61; }
.sbro-menu > li > a, .sbro-menu > li > .sbro-submenu-toggle, .sbro-header__icon { color: rgba(19, 17, 23, .88); }

/* Margini laterale mai mici pe telefon (16px → 12px), ca pe magazinele mari; calculatorul și tableta rămân la fel. */
@media (max-width: 689.98px) {
	:root { --sbro-gutter: 12px; }
}

/* Bulinele cu număr (favorite, coș): mai aproape de iconiță (12.11.2026; înainte top -8px, right -10px) */
.sbro-header__icon .sbro-badge { top: 0; right: -4px; box-sizing: border-box; width: 18px; min-width: 18px; height: 18px; padding: 0; border-radius: 50%; border: 2px solid #fff; font: 700 10px/14px var(--sbro-font); text-align: center; }
.sbro-header__icon .sbro-badge.is-wide { width: auto; padding: 0 4px; border-radius: 9px; } /* 10+ */

/* Notificare scurtă (favorite adăugat / eliminat) */
.sbro-toast {
	position: fixed; left: 50%; bottom: 28px; z-index: 300; display: flex; align-items: center; gap: 10px;
	max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 10px; background: #1f7a4d; color: #fff;
	box-shadow: 0 10px 30px rgba(18, 21, 25, .22); font: 600 15px/1.35 var(--sbro-font);
	opacity: 0; transform: translate(-50%, 12px); transition: opacity .2s, transform .2s; pointer-events: none;
}
.sbro-toast.is-visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.sbro-toast--off { background: #3a3a40; }
.sbro-toast svg { flex: 0 0 auto; }
.sbro-toast a { color: #fff; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; margin-left: 6px; }
@media (max-width: 689.98px) { .sbro-toast { bottom: 16px; font-size: 14px; } }

/* =====================================================================
   Telefon – lizibilitate și antet (12.11.2026, cerut de Dan)
   ===================================================================== */
/* Fără zoom la dublu-tap (ciupitul cu două degete rămâne; lightbox-ul pozei are propriul zoom). */
html { touch-action: manipulation; }
@media (max-width: 689.98px) {
	/* iOS mărește pagina când un câmp are text sub 16px – le ducem la 16px. */
	input:not([type]), input[type="text"], input[type="email"], input[type="search"], input[type="tel"], input[type="number"], input[type="password"], input[type="date"], select, textarea { font-size: 16px !important; }
	#sbro-search .sbro-search-form input[type="search"] { font-size: 20px !important; } /* 20.11.2026: cu id, altfel regula de 16px de mai jos (sub 1000px) era mai specifică */

	/* Antet: logo și iconițe mai mari (logo 38→46px înălțime, iconițe 18→22px, zonă de atingere 30→40px). */
	.sbro-logo img { height: 46px !important; max-height: 46px !important; width: auto !important; max-width: 54vw; object-fit: contain; } /* 38→46px înălțime (~183px lățime) */
	.sbro-header__icons { gap: 2px !important; }
	.sbro-header__icon { width: 40px; height: 40px; padding: 0 !important; }
	.sbro-header__icon svg { width: 22px !important; height: 22px !important; }
	.sbro-header__icon .sbro-badge { top: 3px; right: 1px; }

	/* Texte puțin mai mari (minimum ~15px pentru text de citit, 13.5px pentru note). */
	body { font-size: 16px; }
	.sbro-section-subtitle, .sbro-ws-header p, .sbro-partners .sbro-section-subtitle { font-size: 15.5px !important; line-height: 1.5 !important; }
	.woocommerce-loop-product__title, ul.products li.product .woocommerce-loop-product__title, .sbro-ws-product-title { font-size: 15.5px !important; line-height: 1.35 !important; }
	ul.products li.product .price, .sbro-ws-product-price { font-size: 16.5px !important; }
	.sbro-breadcrumbs, .woocommerce-breadcrumb { font-size: 14px !important; }
	.sbro-footer p, .sbro-footer li, .sbro-footer__shops p { font-size: 15.5px !important; }
	.sbro-post-card__excerpt, .sbro-post-card__meta { font-size: 15px !important; }

	/* Iconițele de categorii: mai puțin gol sus și jos. */
	.sbro-category-icons-section, .sbro-home__html--categorii > section { padding-top: 18px !important; padding-bottom: 8px !important; }
	.sbro-home__html--categorii { margin-top: 0 !important; }

	/* Colaboratorii: fără golul mare dintre text, logo-uri și Blog. */
	.sbro-partners { gap: 12px !important; }
	.sbro-partners .sbro-logo-slider-section { padding: 6px 0 !important; }
	.sbro-partners .sbro-section-subtitle { margin-bottom: 14px !important; }

	/* Subsol: textul la stânga; cele două liste de linkuri pe două coloane, una lângă alta. */
	.sbro-footer__top { grid-template-columns: 1fr 1fr !important; gap: 32px 20px !important; text-align: left !important; padding-top: 40px !important; padding-bottom: 32px !important; }
	.sbro-footer__about, .sbro-footer__shops { grid-column: 1 / -1; }
	.sbro-footer__anpc { justify-content: flex-start !important; }
	.sbro-footer h5, .sbro-footer .sbro-footer__titlu { margin-bottom: 10px; font-size: 16.5px; }
	.sbro-footer li { margin-bottom: 0; }
	.sbro-footer li a { display: inline-block; padding: 3px 0; line-height: 1.35; } /* listele mai strânse (12.11.2026) */
	.sbro-footer__shops { display: grid; grid-template-columns: 1fr; gap: 14px; }
	.sbro-footer__shops p { margin: 0; }
	.sbro-footer__bottom p { padding: 15px 0 90px; font-size: 14px !important; }
}

/* Contrast mai bun pentru cei cu vedere slabă (12.11.2026) – textele gri deschis închise la culoare */
.sbro-topbar__text a, .sbro-topbar { color: rgba(255, 255, 255, .78) !important; }
.sbro-footer, .sbro-footer a { color: #3f474d; }
.sbro-footer__bottom p { color: #545c62 !important; }
ul.products li.product .price del, .sbro-ws-product-price del { opacity: 1 !important; color: #6a7177 !important; }
::placeholder { color: #767c82; opacity: 1; }
.sbro-oos__label { color: #63636a !important; }
.sbro-an__note, .sbro-search-results em, .sbro-search-term em { color: #63636a !important; }

/* Banda de titlu a paginilor (categorii, produse, pagini): gri mai deschis, peste tot (12.11.2026; înainte #e8e8e8) */
.sbro-page-hero, .sbro-shop-hero { background: #f3f3f3 !important; }

/* Antet pe telefoane foarte înguste (13.11.2026): logo cât încape lângă iconițe. */
@media (max-width: 399.98px) {
	.sbro-logo { flex: 1 1 0 !important; min-width: 0 !important; margin-right: 6px !important; }
	.sbro-logo img { height: auto !important; max-height: 46px !important; max-width: 100% !important; }
	.sbro-header__icons, .sbro-header__trigger { flex: 0 0 auto !important; }
}

/* Siguranță: un cuvânt foarte lung într-un titlu nu mai iese din ecran (se rupe doar dacă nu încape). 13.11.2026. */
h1, h2 { overflow-wrap: break-word; }

/* Fără „zoom” nedorit pe telefon (16.11.2026, cerut de Dan):
   1) iPhone mărește ecranul când scrii într-un câmp cu text sub 16px → pe telefon/tabletă toate câmpurile au minim 16px;
   2) două atingeri rapide (ex. pe „+” la cantitate) erau luate drept dublu-tap pentru zoom → touch-action: manipulation.
   Mărirea cu două degete rămâne posibilă (accesibilitate). */
a, button, input, select, textarea, label, summary, [role="button"] { touch-action: manipulation; }
@media (max-width: 999.98px) {
	input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), select, textarea { font-size: 16px !important; }
}
/* 20.11.2026: numerele de telefon nu se rup pe două rânduri */
a[href^="tel:"] { white-space: nowrap; }
