/* header style  */

/* Base header z-index - ensures header is always above content even without sticky/animation */
.turbo-header-template,
#tahefobu-header {
    position: relative;
    z-index: 9999;
}

/* Sticky Header */
.ta-sticky-header {
    position: sticky;
    top: 0;
    z-index: 9999;
}


/* Transition class to smoothly show/hide header */
.turbo-header-template.ta-header-scroll-animation {
    position: sticky;
    top: 0;
    z-index: 9999;
    /* transition: transform 0.3s ease, opacity 0.3s ease; */
}

/* When scrolling down, hide header */
.ta-header-hide {
    transform: translateY(-100%);
    opacity: 0;
}

/* When scrolling up, show header */
.ta-header-show {
    transform: translateY(0);
    opacity: 1;
}


.ta-header-scroll-animation {
    transition: transform 0.3s ease;
}
.ta-header-hidden {
    transform: translateY(-100%);
    opacity: 0;
}


/* ===== Sticky + Animation hardening (desktop-safe) ===== */

/* 1) Use a CSS var for the top offset (handles WP admin bar automatically via JS) */
.ta-sticky-header,
.turbo-header-template.ta-header-scroll-animation {
  top: var(--ta-sticky-top, 0);
}

/* 2) Fixed fallback when themes break CSS sticky on desktop.
   Works with either the new #tahefobu-header id or your existing wrapper class. */
#tahefobu-header.ta-sticky-active,
.turbo-header-template.ta-sticky-active {
  position: fixed;
  top: var(--ta-sticky-top, 0);
  left: 0;
  right: 0;
  width: 100%;
  z-index: 99999; /* above theme headers */
}

/* 3) Spacer to prevent content jump when switching to fixed */
.ta-header-spacer {
  display: none;
  width: 100%;
}

/* 4) Scroll hide/show — support both your old class names and the new ones used by JS */
#tahefobu-header.ta-scroll-down,
.turbo-header-template.ta-scroll-down,
.ta-header-hidden,         /* your existing */
.ta-header-hide {          /* your existing */
  transform: translateY(-100%);
  opacity: 0;
}

#tahefobu-header.ta-scroll-up,
.turbo-header-template.ta-scroll-up,
.ta-header-show {          /* your existing */
  transform: translateY(0);
  opacity: 1;
}

/* 5) Make sure transitions are smooth on the animated wrapper */
#tahefobu-header,
.turbo-header-template.ta-header-scroll-animation {
  transition: transform .25s ease, opacity .25s ease;
  will-change: transform;
}/*!
 * Le Sorelline – Reserveren via WhatsApp  v1.0.0
 * Alle klassen beginnen met .lsr- zodat ze niet botsen met het WordPress-thema.
 * Kleuren en lettertypen aanpassen? Wijzig alleen de variabelen hieronder
 * (of gebruik Instellingen → Le Sorelline in WordPress).
 */
:root {
  --lsr-primary: #2f241f;      /* espresso: tekst, hoofdknop */
  --lsr-accent: #a85d3c;       /* terracotta: accenten, reserveerknop */
  --lsr-bg: #f6efe4;           /* crème achtergrond */
  --lsr-surface: #fffaf3;      /* kaarten / formulier */
  --lsr-gold: #c4a46b;         /* fijne lijnen */
  --lsr-line: rgba(47, 36, 31, .14);
  --lsr-muted: #6f625a;
  --lsr-wa: #1f8f4e;           /* WhatsApp-groen (iets donkerder voor contrast) */
  --lsr-wa-hover: #187a42;
  --lsr-error: #b3261e;
  --lsr-radius: 14px;
  --lsr-font-display: "Cormorant Garamond", "Cormorant", "Playfair Display", Georgia, "Times New Roman", serif;
  --lsr-font-body: inherit;
}

/* ---------- Algemene knoppen ---------- */
.lsr-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: .85em 1.6em; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2; letter-spacing: .01em;
  text-decoration: none !important; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background-color .2s ease, transform .15s ease, box-shadow .2s ease, color .2s ease;
}
.lsr-btn:active { transform: scale(.98); }
.lsr-btn:focus-visible, .lsr-link:focus-visible, .lsr-linkbtn:focus-visible, .lsr-close:focus-visible {
  outline: 3px solid var(--lsr-gold); outline-offset: 3px;
}
.lsr-btn--primary, .lsr-btn--reserve { background: var(--lsr-accent); color: #fff !important; box-shadow: 0 6px 18px -8px rgba(168, 93, 60, .7); }
.lsr-btn--primary:hover, .lsr-btn--reserve:hover { background: #924f31; }
.lsr-btn--dark { background: var(--lsr-primary); color: var(--lsr-bg) !important; }
.lsr-btn--outline { background: transparent; color: var(--lsr-primary) !important; border-color: var(--lsr-primary); }
.lsr-btn--outline:hover { background: var(--lsr-primary); color: var(--lsr-bg) !important; }
.lsr-btn--wa { background: var(--lsr-wa); color: #fff !important; width: 100%; font-size: 1.05rem; box-shadow: 0 8px 22px -10px rgba(31, 143, 78, .8); }
.lsr-btn--wa:hover { background: var(--lsr-wa-hover); }
.lsr-btn--wa.is-disabled { background: #9aa39d; box-shadow: none; cursor: not-allowed; }
.lsr-btn--ghost { background: transparent; color: var(--lsr-wa) !important; border-color: var(--lsr-wa); width: 100%; }
.lsr-ico { width: 1.35em; height: 1.35em; flex: none; }
.lsr-btn-wrap { margin: 1em 0; }
.lsr-btn-wrap--center { text-align: center; }
.lsr-btn-sub { display: block; margin-top: .5em; font-size: .875rem; color: var(--lsr-muted); }

/* ---------- Flow (formulier) ---------- */
.lsr-flow { color: var(--lsr-primary); font-family: var(--lsr-font-body); font-size: 16px; line-height: 1.5; text-align: left; color-scheme: light; }
.lsr-flow [hidden] { display: none !important; }
.lsr-flow *, .lsr-flow *::before, .lsr-flow *::after { box-sizing: border-box; }
.lsr-eyebrow { margin: 0 0 .35em; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--lsr-accent); font-weight: 600; }
.lsr-title { margin: 0 0 .4em; font-family: var(--lsr-font-display); font-weight: 500; font-size: 1.85rem; line-height: 1.15; color: var(--lsr-primary); outline: none; }
.lsr-intro { margin: 0 0 1.25em; color: var(--lsr-muted); }
.lsr-form { margin: 0; display: grid; gap: 1rem; }
.lsr-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.lsr-field { min-width: 0; }
.lsr-field label { display: block; margin: 0 0 .35em; font-weight: 600; font-size: .9rem; color: var(--lsr-primary); }
.lsr-opt { font-weight: 400; color: var(--lsr-muted); }
.lsr-field input, .lsr-field select, .lsr-field textarea {
  display: block; width: 100%; min-height: 50px; margin: 0; padding: .7em .85em;
  font: inherit; font-size: 16px; /* 16px voorkomt inzoomen op iPhone */
  color: var(--lsr-primary); background: #fff; border: 1px solid var(--lsr-line); border-radius: 10px;
  box-shadow: none; appearance: none; -webkit-appearance: none; transition: border-color .15s, box-shadow .15s;
}
.lsr-field select {
  padding-right: 2.2em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%232f241f' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .7em center; background-size: 1.1em;
}
.lsr-field input[type="date"] { min-height: 50px; line-height: 1.2; }
.lsr-field input::-webkit-date-and-time-value { text-align: left; }
.lsr-field textarea { min-height: 88px; resize: vertical; }
.lsr-field input:focus, .lsr-field select:focus, .lsr-field textarea:focus {
  outline: none; border-color: var(--lsr-accent); box-shadow: 0 0 0 3px rgba(168, 93, 60, .18);
}
.lsr-field.is-invalid input, .lsr-field.is-invalid select, .lsr-field.is-invalid textarea { border-color: var(--lsr-error); }
.lsr-hint { margin: .35em 0 0; font-size: .8rem; color: var(--lsr-muted); }
.lsr-error { margin: .3em 0 0; font-size: .85rem; color: var(--lsr-error); min-height: 0; }
.lsr-error:empty { display: none; }
.lsr-small { margin: .25em 0 0; font-size: .875rem; color: var(--lsr-muted); text-align: center; }
.lsr-form .lsr-btn { width: 100%; margin-top: .25rem; }

.lsr-summary { margin: 0 0 1rem; padding: .25rem 1rem; background: #fff; border: 1px solid var(--lsr-line); border-radius: 12px; }
.lsr-summary div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--lsr-line); }
.lsr-summary div:last-child { border-bottom: 0; }
.lsr-summary dt { margin: 0; color: var(--lsr-muted); font-size: .9rem; }
.lsr-summary dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.lsr-notice { margin: 0 0 1rem; padding: .85rem 1rem; border-radius: 12px; background: #fbf1df; border: 1px solid #ecd9b3; font-size: .92rem; }
.lsr-config-warning { margin: 0 0 1rem; padding: .75rem 1rem; border-radius: 12px; background: #fdecea; color: var(--lsr-error); font-size: .9rem; }
.lsr-preview { margin: 1rem 0 0; font-size: .9rem; }
.lsr-preview summary { cursor: pointer; color: var(--lsr-muted); }
.lsr-message { margin: .6rem 0 0; padding: .9rem 1rem; white-space: pre-wrap; word-break: break-word; font: inherit; font-size: .9rem; background: #e8f5ec; border-radius: 12px 12px 12px 4px; color: #1d2b22; }
.lsr-link { display: block; margin: 1rem auto 0; padding: .4em .6em; background: none; border: 0; font: inherit; font-size: .95rem; color: var(--lsr-muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.lsr-link--inline { display: inline; margin: 0; padding: 0; font-size: inherit; color: var(--lsr-accent); }
.lsr-done-mark { width: 64px; height: 64px; margin: .25rem 0 1rem; border-radius: 50%; display: grid; place-items: center; background: #e8f5ec; color: var(--lsr-wa); }
.lsr-done-mark .lsr-ico { width: 32px; height: 32px; }
[data-step="done"] .lsr-btn { margin-bottom: .5rem; }

/* Inline formulier op een pagina */
.lsr-inline-card { max-width: 520px; margin: 1.5rem auto; padding: 1.75rem 1.5rem; background: var(--lsr-surface); border: 1px solid var(--lsr-line); border-radius: 20px; }

/* ---------- Venster ---------- */
html.lsr-lock, html.lsr-lock body { overflow: hidden; }
.lsr-dialog {
  width: min(520px, 100vw); max-width: 100vw; max-height: 100dvh; margin: auto; padding: 0;
  border: 0; border-radius: 22px; background: var(--lsr-surface); color: var(--lsr-primary);
  box-shadow: 0 30px 80px -20px rgba(30, 20, 15, .45); overflow: auto; overscroll-behavior: contain;
}
.lsr-dialog:not([open]) { display: none; }
.lsr-dialog[open] { animation: lsr-pop .28s cubic-bezier(.2, .8, .2, 1); }
.lsr-dialog::backdrop { background: rgba(28, 20, 16, .55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.lsr-dialog__inner { position: relative; padding: 2rem 1.5rem 1.75rem; }
.lsr-close {
  position: absolute; top: .75rem; right: .75rem; width: 44px; height: 44px; padding: 10px;
  border: 0; border-radius: 50%; background: transparent; color: var(--lsr-primary); cursor: pointer;
}
.lsr-close:hover { background: rgba(47, 36, 31, .07); }
.lsr-close svg { width: 100%; height: 100%; display: block; }
/* Oudere browsers zonder <dialog> */
.lsr-dialog[open]:not(:modal) { position: fixed; inset: 0; z-index: 99999; }

@media (max-width: 560px) {
  /* Op de telefoon schuift het formulier als 'sheet' van onderen in beeld */
  .lsr-dialog { width: 100vw; margin: auto 0 0; border-radius: 22px 22px 0 0; max-height: 94dvh; }
  .lsr-dialog[open] { animation: lsr-sheet .32s cubic-bezier(.2, .8, .2, 1); }
  .lsr-dialog__inner { padding: 1.75rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom)); }
  .lsr-title { font-size: 1.65rem; padding-right: 2.5rem; }
}
@media (max-width: 360px) { .lsr-row { grid-template-columns: 1fr; } }
@keyframes lsr-pop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes lsr-sheet { from { transform: translateY(100%); } to { transform: none; } }

/* ---------- Zwevende reserveerknop ---------- */
.lsr-float {
  position: fixed; z-index: 9990; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom));
  min-height: 52px; box-shadow: 0 10px 28px -10px rgba(30, 20, 15, .55);
}
@media (max-width: 560px) { .lsr-float { left: 16px; right: 16px; } }

/* ---------- Linkpagina (Linktree) ---------- */
body.lsr-linkpage-body { margin: 0 !important; padding: 0 !important; background: var(--lsr-bg) !important;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
.lsr-linkpage {
  position: relative; min-height: 100vh; min-height: 100dvh; margin: 0; padding: 0 16px;
  display: flex; justify-content: center; color: var(--lsr-primary);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(196, 164, 107, .22), transparent 60%),
    radial-gradient(90% 50% at 50% 100%, rgba(168, 93, 60, .10), transparent 70%),
    var(--lsr-bg);
}
.lsr-linkpage *, .lsr-linkpage *::before, .lsr-linkpage *::after { box-sizing: border-box; }
.lsr-linkpage__inner { width: 100%; max-width: 440px; padding: 56px 0 40px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.lsr-logo {
  width: 108px; height: 108px; border-radius: 50%; display: grid; place-items: center; overflow: hidden;
  background: var(--lsr-surface); border: 1px solid var(--lsr-gold);
  box-shadow: 0 0 0 6px var(--lsr-bg), 0 0 0 7px rgba(196, 164, 107, .45), 0 18px 40px -18px rgba(47, 36, 31, .45);
}
.lsr-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lsr-monogram { font-family: var(--lsr-font-display); font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--lsr-primary); letter-spacing: -.02em; }
.lsr-name { margin: 26px 0 4px; font-family: var(--lsr-font-display); font-weight: 500; font-size: 2.6rem; line-height: 1.05; letter-spacing: .01em; color: var(--lsr-primary); }
.lsr-tagline { margin: 0; font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: var(--lsr-muted); }
.lsr-ornament { display: flex; align-items: center; gap: 10px; margin: 22px 0 28px; color: var(--lsr-gold); }
.lsr-ornament::before, .lsr-ornament::after { content: ""; width: 48px; height: 1px; background: currentColor; opacity: .7; }
.lsr-ornament span { width: 6px; height: 6px; transform: rotate(45deg); border: 1px solid currentColor; }
.lsr-links { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; gap: 12px; }
.lsr-links li { margin: 0; padding: 0; opacity: 0; transform: translateY(8px); animation: lsr-in .5s cubic-bezier(.2, .8, .2, 1) forwards; }
.lsr-links li:nth-child(2) { animation-delay: .06s; } .lsr-links li:nth-child(3) { animation-delay: .12s; } .lsr-links li:nth-child(4) { animation-delay: .18s; }
@keyframes lsr-in { to { opacity: 1; transform: none; } }
.lsr-linkbtn {
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 68px; padding: 12px 16px 12px 14px;
  text-align: left; text-decoration: none !important; color: var(--lsr-primary) !important;
  background: rgba(255, 250, 243, .85); border: 1px solid var(--lsr-line); border-radius: var(--lsr-radius);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 6px 16px -12px rgba(47, 36, 31, .4);
  font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}
.lsr-linkbtn:hover { transform: translateY(-1px); border-color: rgba(196, 164, 107, .8); box-shadow: 0 10px 24px -14px rgba(47, 36, 31, .5); }
.lsr-linkbtn:active { transform: scale(.985); }
.lsr-linkbtn__icon { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(196, 164, 107, .16); color: var(--lsr-accent); }
.lsr-linkbtn__icon svg { width: 22px; height: 22px; }
.lsr-linkbtn__text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.lsr-linkbtn__label { font-family: var(--lsr-font-display); font-size: 1.35rem; font-weight: 600; line-height: 1.15; }
.lsr-linkbtn__sub { font-size: .82rem; color: var(--lsr-muted); line-height: 1.3; }
.lsr-linkbtn__chev { flex: none; width: 18px; height: 18px; opacity: .45; }
.lsr-linkbtn--primary { background: var(--lsr-primary); border-color: var(--lsr-primary); color: var(--lsr-bg) !important; box-shadow: 0 14px 30px -16px rgba(47, 36, 31, .8); }
.lsr-linkbtn--primary:hover { background: #3c2f28; border-color: var(--lsr-gold); }
.lsr-linkbtn--primary .lsr-linkbtn__icon { background: var(--lsr-accent); color: #fff; }
.lsr-linkbtn--primary .lsr-linkbtn__sub { color: rgba(246, 239, 228, .72); }
.lsr-linkbtn.is-missing { opacity: .5; border-style: dashed; }
.lsr-linkpage__foot { margin-top: 36px; font-size: .8rem; color: var(--lsr-muted); letter-spacing: .04em; }
.lsr-linkpage__foot p { margin: 0 0 4px; }
.lsr-linkpage__foot a { color: inherit; }
.lsr-admin-note { margin: 18px 0 0; padding: 10px 14px; font-size: .8rem; background: #fff3cd; border-radius: 10px; color: #6b5200; }

@media (prefers-reduced-motion: reduce) {
  .lsr-links li { animation: none; opacity: 1; transform: none; }
  .lsr-dialog[open] { animation: none; }
  .lsr-btn, .lsr-linkbtn { transition: none; }
}