/* Trusouri Botez Sibiu: ajustări pe tot site-ul. */

/* Iconițele SVG din Elementor V4 stăteau mai jos decât centrul (linia de text din jur). */
.e-svg-base { line-height: 0; }
.e-svg-base svg { display: block; }

/* ---------- Căutarea din header ---------- */
.tbs-search-box { cursor: text; }
.tbs-search-form { display: flex; align-items: center; gap: 8px; width: 100%; min-width: 0; margin: 0; padding: 0; }
.tbs-search-form button.tbs-search-btn,
.tbs-search-form button.tbs-search-btn:hover,
.tbs-search-form button.tbs-search-btn:focus {
	flex: none; display: flex; align-items: center; justify-content: center;
	width: auto; min-width: 0; min-height: 0; margin: 0; padding: 0;
	border: 0 !important; border-radius: 0; background: transparent !important; box-shadow: none !important;
	color: inherit; line-height: 0; cursor: pointer;
}
.tbs-search-form button.tbs-search-btn:focus-visible { outline: 2px solid #976D45; outline-offset: 3px; border-radius: 50%; }
.tbs-search-form input.tbs-search-input,
.tbs-search-form input.tbs-search-input:focus {
	flex: 1 1 auto; width: 100%; min-width: 0; height: 38px; margin: 0; padding: 0;
	border: 0 !important; border-radius: 0; background: transparent !important; box-shadow: none !important; outline: none;
	font-family: "Work Sans", system-ui, sans-serif; font-size: 13px; line-height: 38px; color: #34302D;
	-webkit-appearance: none; appearance: none;
}
.tbs-search-form input.tbs-search-input::placeholder { color: #6E655D; opacity: 1; }
.tbs-search-form input.tbs-search-input::-webkit-search-cancel-button { -webkit-appearance: none; }
.tbs-search-box:focus-within { border-color: #F5BDB5 !important; }

/* ---------- Mesaje WooCommerce (clasice) ---------- */
body .woocommerce-info,
body .woocommerce-message,
body .woocommerce-error {
	position: relative; margin: 0 0 24px; padding: 16px 20px 16px 60px !important;
	border: 0 !important; border-radius: 16px; background: #F6EEDF; box-shadow: none;
	font-family: "Work Sans", system-ui, sans-serif; font-size: 14px; line-height: 1.6; color: #34302D;
	list-style: none;
}
body .woocommerce-message { background: #EEF3EC; }
body .woocommerce-error { background: #FCEDEA; }
body .woocommerce-info::before,
body .woocommerce-message::before,
body .woocommerce-error::before {
	position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
	width: 28px; height: 28px; margin: 0; border-radius: 50%; background: #FFFFFF;
	font-family: "Work Sans", system-ui, sans-serif; font-size: 13px; font-weight: 700; line-height: 28px; text-align: center;
	color: #976D45; content: "i";
}
body .woocommerce-message::before { content: "✓"; color: #3F5A3A; }
body .woocommerce-error::before { content: "!"; color: #B0242B; top: 26px; transform: none; }
body .woocommerce-error li { margin: 0; padding: 0; }
body .woocommerce-error li + li { margin-top: 4px; }
body .woocommerce-info a:not(.button),
body .woocommerce-message a:not(.button),
body .woocommerce-error a:not(.button) { color: #976D45; font-weight: 600; }
body .woocommerce-info .button,
body .woocommerce-message .button,
body .woocommerce-error .button {
	float: right; margin: -6px 0 -6px 16px; padding: 9px 18px !important;
	border: 0 !important; border-radius: 999px !important; background: #FFFFFF !important; color: #34302D !important;
	font-family: "Work Sans", system-ui, sans-serif; font-size: 13px; font-weight: 600; line-height: 1.2;
}
body .woocommerce-info .button:hover,
body .woocommerce-message .button:hover { background: #F5BDB5 !important; }
.woocommerce-no-products-found > .woocommerce-info { display: none; }

/* ---------- Mesaje WooCommerce (coș și finalizare, blocuri) ---------- */
body .wc-block-components-notice-banner {
	gap: 14px; padding: 14px 18px; border: 0 !important; border-radius: 16px;
	background: #F6EEDF; color: #34302D; font-family: "Work Sans", system-ui, sans-serif; font-size: 14px;
}
body .wc-block-components-notice-banner.is-success { background: #EEF3EC; }
body .wc-block-components-notice-banner.is-error { background: #FCEDEA; }
body .wc-block-components-notice-banner > svg { flex: none; width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: #FFFFFF; fill: #976D45; }
body .wc-block-components-notice-banner.is-success > svg { fill: #3F5A3A; }
body .wc-block-components-notice-banner.is-error > svg { fill: #B0242B; }

/* ---------- Fără rezultate / categorie goală ---------- */
.tbs-empty {
	box-sizing: border-box; max-width: 720px; margin: 8px auto 64px; padding: 44px 32px;
	display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
	background: #FFFFFF; border: 1px solid #EDE5DA; border-radius: 24px;
	font-family: "Work Sans", system-ui, sans-serif; color: #34302D;
}
.tbs-empty * { box-sizing: border-box; }
.tbs-empty-icon { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: #FCEDEA; color: #976D45; line-height: 0; }
.tbs-empty .tbs-empty-title { margin: 4px 0 0; font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; font-size: 38px; line-height: 1.1; letter-spacing: -0.01em; color: #976D45; }
.tbs-empty-text { margin: 0; max-width: 520px; font-size: 15px; line-height: 1.6; color: #6E655D; }
.tbs-empty-form { display: flex; gap: 8px; width: 100%; max-width: 460px; margin: 8px 0 0; }
.tbs-empty-form input[type="search"] {
	flex: 1 1 auto; min-width: 0; min-height: 48px; margin: 0; padding: 0 18px;
	border: 1px solid #E8DFD3; border-radius: 999px; background: #FAF7F2; box-shadow: none;
	font-family: inherit; font-size: 15px; color: #34302D;
}
.tbs-empty-form input[type="search"]:focus { outline: none; border-color: #976D45; background: #FFFFFF; }
.tbs-empty-form button.tbs-empty-btn,
.tbs-empty-form button.tbs-empty-btn:focus {
	flex: none; min-height: 48px; margin: 0; padding: 0 24px; border: 0; border-radius: 999px;
	background: #F5BDB5; color: #34302D; box-shadow: none;
	font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1; cursor: pointer;
}
.tbs-empty-form button.tbs-empty-btn:hover { background: #E5A79E; color: #34302D; }
.tbs-empty-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 6px; }
.tbs-empty-links a { padding: 8px 16px; border-radius: 999px; background: #F6EEDF; color: #34302D; font-size: 13px; font-weight: 500; text-decoration: none; transition: background-color .15s; }
.tbs-empty-links a:hover { background: #F5BDB5; color: #34302D; }
.tbs-empty-help { margin: 6px 0 0; font-size: 13px; color: #6E655D; }
.tbs-empty-help a { color: #976D45; font-weight: 600; text-decoration: none; white-space: nowrap; }

@media (max-width: 767px) {
	.tbs-empty { padding: 32px 20px; margin-bottom: 40px; }
	.tbs-empty .tbs-empty-title { font-size: 30px; }
	.tbs-empty-form { flex-direction: column; }
	body .woocommerce-info .button,
	body .woocommerce-message .button { float: none; display: inline-block; margin: 8px 0 0; }
}

/* Pagina 404 */
.tbs-404 { padding: 56px 20px 8px; }
@media (max-width: 767px) { .tbs-404 { padding: 32px 16px 0; } }

/* Derulare lină la ancore (ex. „Vezi ce conține trusoul”). */
html { scroll-behavior: smooth; }
#ce-contine { scroll-margin-top: 40px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
