/* FunBoy: selector de dată propriu + elemente de formular (bifă GDPR, indiciu, linkul spre preț).
   Culorile vin din tokenii paginii (--rose-gold etc.); valorile după `,` sunt doar plasă de siguranță. */

/* ── Selectorul de dată ─────────────────────────────────────────────── */
.fbdp__native {
  position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important;
  padding: 0 !important; border: 0 !important; opacity: 0 !important; overflow: hidden !important;
  clip: rect(0 0 0 0) !important; pointer-events: none !important;
}
.fbdp__btn {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; box-sizing: border-box; text-align: left; cursor: pointer;
  -webkit-appearance: none; appearance: none; font: inherit; line-height: 1.4;
  transition: border-color .2s ease;
}
.fbdp__btn:focus-visible, .fbdp__btn[aria-expanded="true"] { outline: none; border-color: var(--rose-gold, #C48B71) !important; }
.fbdp__val { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fbdp__btn.is-empty .fbdp__val { opacity: .55; }
.fbdp__ico { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--rose-gold, #C48B71); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.fbdp-backdrop { position: fixed; inset: 0; z-index: 9999; background: rgba(0, 0, 0, .5); }
.fbdp-backdrop[hidden] { display: none; }
.fbdp {
  --bg: #161513; --fg: #FAFAFA; --dim: rgba(250, 250, 250, .62); --line: rgba(255, 255, 255, .12);
  --hover: rgba(196, 139, 113, .2); --acc: var(--rose-gold, #C48B71); --on-acc: #1A1A1A;
  position: absolute; z-index: 10000; width: 320px; max-width: calc(100vw - 16px); box-sizing: border-box;
  padding: 14px; border-radius: 14px; background: var(--bg); color: var(--fg); border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .45); font-family: inherit; text-align: left;
}
.fbdp[data-theme="light"] { --bg: #fff; --fg: #1A1A1A; --dim: rgba(26, 26, 26, .6); --line: rgba(26, 26, 26, .14); --hover: rgba(196, 139, 113, .18); box-shadow: 0 18px 50px rgba(0, 0, 0, .2); }
.fbdp[hidden] { display: none; }
.fbdp__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.fbdp__title { font-size: 16px; font-weight: 700; text-transform: capitalize; }
.fbdp__nav {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 0; background: none;
  color: inherit; cursor: pointer; transition: background .15s ease;
}
.fbdp__nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fbdp__nav:hover:not(:disabled) { background: var(--hover); }
.fbdp__nav:disabled { opacity: .3; cursor: default; }
.fbdp__dow, .fbdp__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.fbdp__dow span { text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .5px; color: var(--dim); padding: 6px 0; }
.fbdp__d {
  height: 40px; border-radius: 10px; border: 1px solid transparent; background: none; color: inherit;
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .12s ease;
}
.fbdp__d:hover:not(:disabled) { background: var(--hover); }
.fbdp__d.is-today { border-color: var(--acc); }
.fbdp__d.is-sel, .fbdp__d.is-sel:hover { background: var(--acc); color: var(--on-acc); border-color: var(--acc); }
.fbdp__d:disabled { opacity: .28; cursor: default; }
.fbdp__d:focus-visible, .fbdp__nav:focus-visible, .fbdp__act:focus-visible { outline: 2px solid var(--acc); outline-offset: 1px; }
.fbdp__foot { display: flex; justify-content: space-between; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.fbdp__act { background: none; border: 0; padding: 8px 6px; min-height: 36px; font: inherit; font-size: 14px; font-weight: 700; color: var(--acc); cursor: pointer; border-radius: 8px; }
.fbdp__act:hover { text-decoration: underline; }
@media (prefers-reduced-motion: no-preference) {
  .fbdp:not([hidden]) { animation: fbdp-in .16s ease-out; }
  @keyframes fbdp-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
}
/* telefon: foaie jos, pe toată lățimea, cu zone de atins de 44px */
.fbdp--sheet {
  position: fixed; left: 0; right: 0; bottom: 0; top: auto; width: auto; max-width: none;
  border-radius: 18px 18px 0 0; padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
}
.fbdp--sheet .fbdp__d { height: 44px; }
@media (prefers-reduced-motion: no-preference) {
  .fbdp--sheet:not([hidden]) { animation: fbdp-sheet .2s ease-out; }
  @keyframes fbdp-sheet { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
}

/* ── Elemente de formular ───────────────────────────────────────────── */
.form__req { color: var(--rose-gold, #C48B71); margin-left: 2px; }
.form__opt { text-transform: none; letter-spacing: 0; font-weight: 400; opacity: .8; margin-left: 4px; }
.form__hint { grid-column: 1 / -1; margin: -4px 0 0; font-size: 13px; color: var(--white-dim, rgba(250, 250, 250, .62)); }
.form__hint.is-error { color: #FF7A72; }
.form__consent { position: relative; display: flex; align-items: flex-start; gap: 12px; margin-top: 16px; cursor: pointer; font-size: 14px; line-height: 1.5; color: var(--white-dim, rgba(250, 250, 250, .72)); }
.form__consent input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; }
.form__consent-box {
  flex: none; width: 22px; height: 22px; box-sizing: border-box; border-radius: 6px; margin-top: 1px; display: grid; place-items: center;
  border: 1px solid var(--white-fade, rgba(255, 255, 255, .25)); background: var(--charcoal-deep, #0F0F0F); transition: background .15s ease, border-color .15s ease;
}
.form__consent-box svg { width: 14px; height: 14px; fill: none; stroke: var(--on-acc, #1A1A1A); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.form__consent input:checked + .form__consent-box { background: var(--rose-gold, #C48B71); border-color: var(--rose-gold, #C48B71); }
.form__consent input:checked + .form__consent-box svg { opacity: 1; }
.form__consent input:focus-visible + .form__consent-box { outline: 2px solid var(--rose-gold, #C48B71); outline-offset: 2px; }
.form__consent.is-error .form__consent-box { border-color: #E53935; }
.form__consent a { color: var(--rose-gold-bright, #D9A88E); text-decoration: underline; text-underline-offset: 3px; }
.form__consent-wrap { position: relative; }

.contact__price-link {
  display: inline-flex; align-items: center; gap: 8px; margin: 14px 0 6px; font-size: 16px; font-weight: 600;
  color: var(--rose-gold-bright, #D9A88E); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px;
}
.contact__price-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s ease; }
.contact__price-link:hover svg { transform: translateX(3px); }

/* aceeași bifă pe pagina de ofertă (temă deschisă) */
.send-consent { display: flex; align-items: flex-start; gap: 12px; max-width: 520px; margin: 0 auto 18px; text-align: left; cursor: pointer; font-size: 13px; line-height: 1.5; color: var(--ink-dim, rgba(26, 26, 26, .7)); position: relative; }
.send-consent input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; }
.send-consent .form__consent-box { background: #fff; border-color: var(--ink-fade, rgba(26, 26, 26, .2)); }
.send-consent input:checked + .form__consent-box { background: var(--rose-gold, #C48B71); border-color: var(--rose-gold, #C48B71); }
.send-consent input:checked + .form__consent-box svg { opacity: 1; }
.send-consent input:focus-visible + .form__consent-box { outline: 2px solid var(--rose-gold, #C48B71); outline-offset: 2px; }
.send-consent.is-error .form__consent-box { border-color: #E53935; }
.send-consent a { color: var(--rose-gold, #C48B71); text-decoration: underline; text-underline-offset: 3px; }
