/* Floribeli — bara „Unde și când livrăm?” */
:root {
	--fb-pink: var(--wd-primary-color, #ee1873);
	--fb-ink: #2b1622;
	--fb-muted: #6b5a63;
	--fb-blush: #fdf0f5;
	--fb-line: #f2d7e3;
}

/* ---------- bara ---------- */
.fb-lb { position: relative; z-index: 3; background: var(--fb-blush); border-bottom: 1px solid var(--fb-line); }
/* Bara stă imediat sub header: anulăm padding-ul de sus al .main-page-wrapper și îl punem sub bară. */
.main-page-wrapper > .fb-lb:first-child { margin-top: -40px; margin-bottom: 40px; }
.fb-lb__in { max-width: var(--wd-container-w, 1222px); margin: 0 auto; padding: 0 15px; }
.fb-lb .fb-lb__btn {
	display: flex; align-items: center; gap: 10px; width: 100%;
	min-height: 44px; padding: 8px 0; margin: 0;
	background: none; border: 0; box-shadow: none; cursor: pointer;
	font: inherit; font-size: 14px; line-height: 1.35; color: var(--fb-ink); text-align: left; text-transform: none; letter-spacing: 0;
}
.fb-lb .fb-lb__btn:hover, .fb-lb .fb-lb__btn:focus { background: none; color: var(--fb-ink); box-shadow: none; }
.fb-lb .fb-lb__btn:focus-visible { outline: 2px solid var(--fb-pink); outline-offset: 2px; }
.fb-lb__ico { flex: 0 0 20px; width: 20px; height: 20px; fill: none; stroke: var(--fb-pink); stroke-width: 2; }
.fb-lb__txt { flex: 1 1 auto; min-width: 0; }
.fb-lb__txt b { font-weight: 700; }
.fb-lb__q { color: var(--fb-muted); }
.fb-lb__sep { color: var(--fb-muted); padding: 0 2px; }
.fb-lb__warn { color: var(--fb-pink); font-weight: 700; }
.fb-lb__chg {
	flex: 0 0 auto; padding: 5px 14px; border-radius: 20px;
	background: var(--fb-pink); color: #fff; font-weight: 700; font-size: 13px;
}
.fb-lb.is-set .fb-lb__chg { background: #fff; color: var(--fb-pink); border: 1px solid var(--fb-pink); }

/* Pe homepage, pe calculator, meniul de categorii (deschis) acoperă stânga barei. */
@media (min-width: 1025px) {
	body.home .fb-lb__in { padding-left: 315px; }
}
/* Copia din header-ul care reapare la scroll în sus: mai compactă, fără decalajul pentru meniu. */
.whb-clone .fb-lb--sticky { border-top: 1px solid var(--fb-line); border-bottom: 0; margin: 0; }
.whb-clone .fb-lb--sticky .fb-lb__in { padding-left: 15px; }
.whb-clone .fb-lb--sticky .fb-lb__btn { min-height: 38px; padding: 5px 0; }
@media (max-width: 600px) {
	.fb-lb .fb-lb__btn { font-size: 13px; gap: 8px; }
	.fb-lb__q { display: none; }
	.fb-lb__chg { padding: 4px 10px; font-size: 12px; }
}

/* ---------- fereastra ---------- */
.fb-ld {
	width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 32px);
	padding: 0; border: 0; border-radius: 20px; color: var(--fb-ink);
	box-shadow: 0 24px 64px rgba(43, 22, 34, .25);
}
.fb-ld::backdrop { background: rgba(43, 22, 34, .45); }
.fb-ld[open] { display: block; }
.fb-ld:not([open]) { display: none; }
.fb-ld__form { display: flex; flex-direction: column; gap: 18px; padding: 22px 22px 24px; margin: 0; }
.fb-ld__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fb-ld__title { margin: 0; font-family: var(--wd-title-font, Poppins, sans-serif); font-size: 20px; font-weight: 600; line-height: 1.25; color: var(--fb-ink); }
.fb-ld .fb-ld__x {
	width: 40px; height: 40px; min-height: 0; padding: 0; border-radius: 50%;
	background: var(--fb-blush); color: var(--fb-ink); border: 0; font-size: 24px; line-height: 40px; cursor: pointer;
}
.fb-ld__set { margin: 0; padding: 0; border: 0; min-width: 0; }
.fb-ld__set legend { padding: 0; margin-bottom: 10px; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .5px; color: var(--fb-muted); }
.fb-ld__zones { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fb-ld__opt {
	position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px;
	margin: 0; padding: 11px 14px; border: 1.5px solid var(--fb-line); border-radius: 12px;
	cursor: pointer; font-size: 15px; line-height: 1.3; background: #fff;
}
.fb-ld__opt input, .fb-ld__chip input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.fb-ld__name { font-weight: 600; }
.fb-ld__price { color: var(--fb-muted); white-space: nowrap; font-size: 14px; }
.fb-ld__opt:has(input:checked) { border-color: var(--fb-pink); background: var(--fb-blush); }
.fb-ld__opt:has(input:checked) .fb-ld__price { color: var(--fb-pink); font-weight: 700; }
.fb-ld__opt:has(input:focus-visible), .fb-ld__chip:has(input:focus-visible) { outline: 2px solid var(--fb-pink); outline-offset: 2px; }
.fb-ld__dates { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.fb-ld__chip { margin: 0; position: relative; cursor: pointer; }
.fb-ld__chip span {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
	min-height: 58px; padding: 8px 6px; border: 1.5px solid var(--fb-line); border-radius: 12px;
	font-weight: 700; font-size: 15px; line-height: 1.2; text-align: center; background: #fff;
}
.fb-ld__chip small { font-weight: 400; font-size: 12px; color: var(--fb-muted); }
.fb-ld__chip input:checked + span { border-color: var(--fb-pink); background: var(--fb-pink); color: #fff; }
.fb-ld__chip input:checked + span small { color: #fff; }
.fb-ld__date { margin-top: 10px; width: 100%; height: 46px; border-radius: 12px; }
.fb-ld__note { margin: 10px 0 0; font-size: 13px; color: var(--fb-muted); }
.fb-ld__err { margin: 0; padding: 10px 14px; border-radius: 10px; background: #fde8ec; color: #a3123f; font-weight: 700; font-size: 14px; }
.fb-ld .fb-ld__save {
	width: 100%; min-height: 50px; border: 0; border-radius: 30px;
	background: var(--fb-pink); color: #fff; font-weight: 700; font-size: 16px; text-transform: none; cursor: pointer;
}
.fb-ld .fb-ld__save:hover { filter: brightness(.95); background: var(--fb-pink); color: #fff; }
@media (max-width: 480px) {
	.fb-ld__zones { grid-template-columns: 1fr; }
	.fb-ld__dates { grid-template-columns: repeat(2, 1fr); }
	.fb-ld__form { padding: 18px 16px 20px; }
}

/* ---------- rândul de livrare pe produs ---------- */
.fb-pl {
	display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px;
	margin: 4px 0 18px; padding: 10px 14px; border-radius: 12px;
	background: var(--fb-blush); color: var(--fb-ink); font-size: 14px; line-height: 1.4;
}
.fb-pl:empty { display: none; }
.fb-pl .fb-pl__btn {
	min-height: 0; padding: 0; margin-left: auto; background: none; border: 0; box-shadow: none;
	color: var(--fb-pink); font-weight: 700; font-size: 14px; text-decoration: underline; text-transform: none; cursor: pointer;
}
.fb-pl .fb-pl__btn:hover { background: none; color: var(--fb-pink); }

/* ---------- checkout ---------- */
.woocommerce-checkout .fb-hidden { display: none !important; }
