/* ===== HaarVisie Afspraak Formulier v2.5 — Concept A+B "Editorial Foto" ===== */
/* Stijl: editorial magazine — Playfair Display koppen, crème achtergrond,
   witte kaarten, champagne accenten, hairlines. Single column, gecentreerd.
   Alle classes hv- geprefixt (Avada-veilig). Geen globale selectors. */

.haarvisie-afspraak-form-package {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
    background: #f7f5f0;
}

.fusion-fullwidth .haarvisie-afspraak-form-package,
.fusion-builder-row .haarvisie-afspraak-form-package,
.fusion-column-wrapper .haarvisie-afspraak-form-package,
.entry-content .haarvisie-afspraak-form-package {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.fusion-column-wrapper:has(.haarvisie-afspraak-form-package) {
    max-width: 100% !important;
    min-width: 0 !important;
}

#hv-afspraak-app {
    /* Concept A+B tokens */
    --hv-creme: #f7f5f0;
    --hv-ink: #2b2620;
    --hv-champagne: #c29a86;
    --hv-hair: rgba(43,38,32,0.16);
    --hv-ease: cubic-bezier(0.22,0.61,0.36,1);
    /* Legacy aliassen (o.a. gebruikt in inline styles van de JS) */
    --hv-bg: #f7f5f0;
    --hv-bg-light: #ece7dc;
    --hv-bg-card: #ffffff;
    --hv-border: rgba(43,38,32,0.16);
    --hv-gold: #c29a86;
    --hv-gold-light: #d4b3a2;
    --hv-gold-dark: #a98a7a;
    --hv-text: #2b2620;
    --hv-text-muted: rgba(43,38,32,0.55);
    --hv-error: #c0392b;
    --hv-success: #27ae60;
    --hv-font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; /* Jamal 5-8: geen sierletters (Playfair) meer in het formulier */
    --hv-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --hv-radius: 6px;
    --hv-radius-sm: 6px;

    max-width: 620px;
    margin: 0 auto;
    padding: 24px 20px 100px;
    position: relative;
    font-family: var(--hv-font-body);
    background: var(--hv-creme);
    color: var(--hv-ink);
    line-height: 1.5;
    min-height: 100vh;
    min-height: 100dvh;
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
}

#hv-afspraak-app *, #hv-afspraak-app *::before, #hv-afspraak-app *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ===== TAALKEUZE (NL / EN / ES) — kleine vlag-knoppen rechts boven het formulier ===== */
.hv-lang-switch { display: flex; gap: 8px; justify-content: flex-end; margin-bottom: 10px; }
.hv-lang-btn {
    padding: 3px; background: var(--hv-bg-card); border: 2px solid transparent;
    border-radius: 6px; cursor: pointer; line-height: 0;
    box-shadow: 0 1px 3px rgba(43,38,32,0.15); transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}
.hv-lang-btn svg { display: block; border-radius: 2.5px; }
.hv-lang-btn:hover { border-color: var(--hv-gold-light); }
.hv-lang-btn.actief { border-color: var(--hv-gold); box-shadow: 0 0 0 1px var(--hv-gold); }

/* Header-logo (echte Haarvisie-logo, geen tekst) */
.hv-logo-img { display: block; height: 46px; width: auto; margin: 0 auto 6px; }

/* ===== WELKOM-TERUG-GROET (strakke kaart, consistent met de rest) ===== */
.hv-welkom-terug {
    background: var(--hv-bg-card);
    border: 1px solid var(--hv-hair);
    border-radius: var(--hv-radius);
    padding: 22px 22px 20px;
    margin: 0 0 80px;
    text-align: left;
}
.hv-welkom-terug p {
    font-size: 1rem;
    color: var(--hv-text);
    line-height: 1.55;
}
.hv-welkom-terug strong {
    color: var(--hv-champagne);
    font-weight: 600;
}
.hv-welkom-anders {
    display: inline-block;
    background: none;
    border: none;
    padding: 0;
    margin-top: 8px;
    font-family: inherit;
    font-size: 0.78rem;
    color: var(--hv-text-muted);
    text-decoration: underline;
    cursor: pointer;
}
.hv-welkom-anders:hover { color: var(--hv-gold-dark); }

/* "Zelfde als de vorige keer?"-kaart */
.hv-welkom-vorige .hv-welkom-titel {
    font-family: var(--hv-font-heading);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--hv-ink);
    margin-bottom: 4px;
}
.hv-welkom-vorige .hv-welkom-titel strong { color: var(--hv-champagne); }
.hv-welkom-samenvatting {
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--hv-text-muted);
}
.hv-welkom-knoppen {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
    margin-top: 18px;
    flex-wrap: wrap;
}
.hv-welkom-knop {
    padding: 12px 20px;
    background: var(--hv-gold);
    color: #fff;
    border: none;
    border-radius: var(--hv-radius);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}
.hv-welkom-knop:hover { background: var(--hv-gold-dark); }
.hv-welkom-knop-sec {
    padding: 12px 20px;
    background: transparent;
    color: var(--hv-gold-dark);
    border: 1px solid var(--hv-gold);
    border-radius: var(--hv-radius);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}
.hv-welkom-knop-sec:hover { background: rgba(194,154,134,0.12); }

/* ===== HEADER ===== */
.hv-form-header { text-align: center; padding: 28px 0 40px; }.hv-logo {
    font-family: var(--hv-font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--hv-ink);
}
.hv-subtitle {
    font-size: 0.65rem;
    color: var(--hv-champagne);
    margin-top: 6px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

/* ===== STEPPER (step-meta stijl: champagne label + hairline) ===== */
.hv-stepper { padding: 56px 0 64px; }
.hv-stepper-bar {
    height: 2px;
    background: var(--hv-hair);
    border-radius: 1px;
    overflow: hidden;
}
.hv-stepper-fill {
    height: 100%;
    width: 10%;
    background: var(--hv-champagne);
    border-radius: 1px;
    transition: width 0.4s var(--hv-ease);
}
.hv-stepper-text {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(43,38,32,0.8);
    margin-top: 16px;
    white-space: nowrap;
}
.hv-stepper-text::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--hv-hair);
}

/* ===== STAPPEN ===== */
.hv-step { animation: hvFadeIn 0.3s var(--hv-ease); }
.hv-step.hv-hidden, .hv-hidden { display: none !important; }

.hv-step h2 {
    font-family: var(--hv-font-heading);
    font-size: clamp(2rem, 6vw, 2.9rem);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.01em;
    color: var(--hv-ink);
    margin-top: 32px;
    margin-bottom: 16px;
    max-width: 16ch;
}
.hv-step h2 em {
    font-style: normal;
    color: var(--hv-champagne);
}

.hv-step-description {
    font-size: 1.02rem;
    font-weight: 500;
    color: rgba(43,38,32,0.85);
    margin-bottom: 24px;
    line-height: 1.55;
}

.hv-section-label {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--hv-hair);
}

/* Tussenkopjes binnen de lange schermen: Inter bold (sinds 5-8 geen sierletters meer) */
.hv-subkop {
    font-family: var(--hv-font-body);
    font-style: normal;
    font-weight: 700;
    font-size: 1.3rem;
    color: rgba(43,38,32,0.9);
}

@keyframes hvFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== KEUZE-GRIDS ===== */
.hv-options-grid { display: grid; gap: 12px; margin-top: 20px; }
.hv-cols-1 { grid-template-columns: 1fr; }
.hv-cols-2 { grid-template-columns: 1fr 1fr; }
.hv-cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.hv-cols-4 { grid-template-columns: 1fr 1fr 1fr 1fr; }

/* ===== BASIS OPTIE-KAART (witte kaart, hairline, champagne selectie) ===== */
.hv-option-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 18px 14px;
    background: var(--hv-bg-card);
    border: 1px solid var(--hv-hair);
    border-radius: var(--hv-radius);
    color: var(--hv-ink);
    font-family: var(--hv-font-body);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.25s var(--hv-ease), background 0.25s var(--hv-ease),
                box-shadow 0.3s var(--hv-ease), transform 0.3s var(--hv-ease);
    min-height: 56px;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}
.hv-option-btn:hover {
    border-color: var(--hv-champagne);
    background: #fdfaf5;
    transform: translateY(-2px);
}
.hv-option-btn:active { transform: scale(0.98); }
.hv-option-btn.selected {
    border-color: var(--hv-champagne);
    box-shadow: 0 0 0 1px var(--hv-champagne), 0 18px 36px -22px rgba(194,154,134,0.55);
    background: #fdfaf5;
}
.hv-option-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.hv-option-btn:disabled:hover {
    border-color: var(--hv-hair);
    background: var(--hv-bg-card);
    transform: none;
}

.hv-option-icon {
    font-size: 1rem;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(194,154,134,0.12);
    border-radius: var(--hv-radius);
    flex-shrink: 0;
    color: var(--hv-gold-dark);
}
.hv-option-icon svg { width: 17px; height: 17px; }
.hv-option-label { font-size: 0.88rem; text-align: center; line-height: 1.3; }

/* Rij-layout voor 1-kolom grids (behandelingen, vestiging) */
.hv-cols-1 .hv-option-btn {
    flex-direction: row;
    justify-content: flex-start;
    gap: 14px;
    padding: 16px 20px;
    min-height: 58px;
}
.hv-cols-1 .hv-option-label { text-align: left; }

/* Tarief bijtekst (blok onder de titel — plakt niet aan de titel) */
.hv-option-tarief {
    display: block;
    font-size: 0.72rem;
    color: var(--hv-gold-dark);
    font-weight: 400;
    margin-top: 4px;
}

/* ===== STAP 1 — FOTO-KEUZEKAARTEN (concept A+B) ===== */
.hv-choice-card {
    position: relative;
    display: block;
    isolation: isolate;
    overflow: hidden;
    border: none;
    outline: 1px solid var(--hv-hair);
    border-radius: var(--hv-radius);
    padding: 0;
    min-height: 230px;
    width: 100%;
    text-align: left;
    transition: outline-color 0.25s var(--hv-ease), box-shadow 0.3s var(--hv-ease), transform 0.3s var(--hv-ease);
}
.hv-choice-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.5s var(--hv-ease);
}
.hv-choice-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(43,38,32,0.05) 30%, rgba(43,38,32,0.78) 100%);
    pointer-events: none;
}
.hv-choice-tekst {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 22px;
    z-index: 2;
    color: var(--hv-creme);
    display: block;
}
.hv-choice-num {
    font-family: var(--hv-font-heading);
    font-style: italic;
    font-size: 0.85rem;
    color: var(--hv-champagne);
    display: block;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}
.hv-choice-tekst .hv-option-label {
    font-family: var(--hv-font-heading);
    font-weight: 500;
    font-size: clamp(1.3rem, 4.5vw, 1.7rem);
    line-height: 1.15;
    display: block;
    text-align: left;
    color: var(--hv-creme);
}
.hv-choice-sub {
    display: block;
    font-size: 0.78rem;
    color: rgba(247,245,240,0.78);
    margin-top: 7px;
    line-height: 1.45;
}
.hv-choice-pijl {
    position: absolute;
    top: 22px;
    right: 24px;
    z-index: 2;
    width: 38px;
    height: 1px;
    background: rgba(247,245,240,0.85);
    transition: width 0.3s var(--hv-ease);
}
.hv-choice-pijl::after {
    content: "";
    position: absolute;
    right: 0;
    top: -3.5px;
    width: 8px;
    height: 8px;
    border-top: 1px solid rgba(247,245,240,0.85);
    border-right: 1px solid rgba(247,245,240,0.85);
    transform: rotate(45deg);
}
.hv-choice-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 44px -22px rgba(43,38,32,0.5);
    border: none;
    background: transparent;
}
.hv-choice-card:hover .hv-choice-img { transform: scale(1.04); }
.hv-choice-card:hover .hv-choice-pijl { width: 56px; }
.hv-choice-card.selected {
    outline: 2px solid var(--hv-champagne);
    box-shadow: 0 22px 48px -22px rgba(194,154,134,0.55);
    background: transparent;
}
.hv-choice-check {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--hv-champagne);
    color: var(--hv-creme);
    display: grid;
    place-items: center;
    font-size: 13px;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.25s var(--hv-ease);
}
.hv-choice-card.selected .hv-choice-check,
.hv-choice-tekstcard.selected .hv-choice-check { opacity: 1; transform: scale(1); }
.hv-choice-card.selected .hv-choice-pijl,
.hv-choice-tekstcard.selected .hv-choice-pijl { display: none; }

/* ===== STAP 1 — GESLACHT ===== */
/* Vrouw/Man: zelfde foto-kaart als klanttype, iets lager in het 2-koloms raster */
#geslacht-grid .hv-choice-card { min-height: 190px; }

/* Meisje/Jongen: typografische kaart — Playfair-titel, hairline, dunne pijl, geen icoon */
.hv-choice-tekstcard {
    position: relative;
    align-items: center;
    justify-content: center;
    padding: 24px 20px;
    min-height: 110px;
    text-align: center;
}
.hv-choice-tekstcard .hv-option-label {
    font-family: var(--hv-font-heading);
    font-weight: 500;
    font-size: 1.25rem;
    line-height: 1.2;
    text-align: center;
    color: var(--hv-ink);
}
.hv-choice-tekstcard .hv-choice-pijl { background: var(--hv-ink); }
.hv-choice-tekstcard .hv-choice-pijl::after {
    border-top-color: var(--hv-ink);
    border-right-color: var(--hv-ink);
}

/* Klanttype foto-kaarten: altijd onder elkaar, volle breedte */
#klanttype-grid.hv-options-grid { grid-template-columns: 1fr; gap: 24px; }

/* ===== MULTI-SELECT CHECK (cirkel rechtsboven, champagne bij selectie) ===== */
.hv-option-btn.hv-multi-select { position: relative; }
.hv-option-btn.hv-multi-select::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    width: 22px;
    height: 22px;
    border: 1px solid var(--hv-hair);
    border-radius: 50%;
    background: #ffffff;
    transition: all 0.25s var(--hv-ease);
}
.hv-option-btn.hv-multi-select.selected::after {
    background: var(--hv-champagne);
    border-color: var(--hv-champagne);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='%23f7f5f0' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.5 11.5L3 8l1-1 2.5 2.5L12 4l1 1-6.5 6.5z'/%3E%3C/svg%3E");
    background-size: 13px;
    background-position: center;
    background-repeat: no-repeat;
}

/* ===== STAP 3 — SALON-KAARTEN ===== */
.hv-option-salon { flex-direction: row; justify-content: flex-start; gap: 14px; padding: 16px 20px; }
.hv-option-salon .hv-option-content { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.hv-option-salon .hv-option-label {
    font-family: var(--hv-font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    text-align: left;
}
.hv-option-sub { font-size: 0.78rem; color: var(--hv-text-muted); }

/* ===== STAP 3 — HAARLENGTE FOTO-KAARTEN ===== */
#haarlengte-list .hv-choice-card { min-height: 200px; }

/* ===== STAP 4 — STYLIST PORTRETKAARTEN 3:4 (concept A+B) ===== */
#stylisten-list.hv-options-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px 14px;
}
.hv-stylist-opt {
    position: relative;
    display: block;
    isolation: isolate;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    padding: 0;
    border: none;
    outline: 1px solid var(--hv-hair);
    background: #e9e4da;
    min-height: 0;
    transition: outline-color 0.25s var(--hv-ease), box-shadow 0.3s var(--hv-ease), transform 0.3s var(--hv-ease);
}
.hv-stylist-opt:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px -20px rgba(43,38,32,0.5);
    border: none;
    background: #e9e4da;
}
.hv-stylist-opt.selected {
    outline: 2px solid var(--hv-champagne);
    box-shadow: 0 22px 48px -20px rgba(194,154,134,0.55);
    background: #e9e4da;
}
.hv-stylist-card {
    position: absolute;
    inset: 0;
    display: block;
}
.hv-stylist-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(43,38,32,0) 42%, rgba(43,38,32,0.78) 100%);
    pointer-events: none;
}
.hv-stylist-foto {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--hv-ease);
}
.hv-stylist-opt:hover .hv-stylist-foto { transform: scale(1.04); }
.hv-stylist-naam {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 12px;
    z-index: 2;
    color: var(--hv-creme);
    font-family: var(--hv-font-heading);
    font-style: italic;
    font-weight: 500;
    font-size: 1.15rem;
    line-height: 1.15;
    text-align: left;
    display: block;
}
.hv-stylist-naam small {
    display: block;
    font-family: var(--hv-font-body);
    font-style: normal;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(247,245,240,0.75);
    margin-top: 5px;
}
/* Check op portretkaart: boven de foto */
.hv-stylist-opt.hv-multi-select::after {
    top: 12px;
    right: 12px;
    width: 26px;
    height: 26px;
    border-color: rgba(247,245,240,0.6);
    background: rgba(43,38,32,0.25);
}

/* Disabled stylist (bijv. Maria/Asuman buiten Wateringen): grijs + label */
.hv-stylist-opt.hv-stylist-disabled,
.hv-stylist-opt.hv-stylist-disabled:hover {
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    outline-color: var(--hv-hair);
    opacity: 1;
}
.hv-stylist-disabled .hv-stylist-foto {
    filter: grayscale(85%);
    opacity: 0.55;
}
.hv-stylist-disabled .hv-stylist-naam { opacity: 0.75; }
.hv-stylist-note {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--hv-creme);
    background: rgba(43,38,32,0.72);
    padding: 5px 9px;
    border-radius: 3px;
    line-height: 1.3;
    max-width: calc(100% - 52px);
    text-align: left;
}

/* Geen voorkeur — typografische kaart in hetzelfde raster */
.hv-stylist-nopref .hv-stylist-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    padding: 16px;
    background: var(--hv-bg-card);
}
.hv-stylist-nopref .hv-stylist-card::after { content: none; }
.hv-stylist-nopref .hv-stylist-icoon {
    color: var(--hv-gold-dark);
    display: flex;
}
.hv-stylist-nopref .hv-stylist-naam {
    position: static;
    color: var(--hv-ink);
    text-align: center;
}
.hv-stylist-nopref .hv-stylist-naam small { color: var(--hv-text-muted); }
.hv-stylist-nopref.selected .hv-stylist-card { background: var(--hv-ink); }
.hv-stylist-nopref.selected .hv-stylist-naam { color: var(--hv-creme); }
.hv-stylist-nopref.selected .hv-stylist-naam small { color: rgba(247,245,240,0.6); }
.hv-stylist-nopref.selected .hv-stylist-icoon { color: var(--hv-champagne); }

/* ===== STAP 5 — DATUM & TIJDBLOK ===== */
.hv-datum-groep {
    background: var(--hv-bg-card);
    border: 1px solid var(--hv-hair);
    border-radius: var(--hv-radius);
    padding: 20px;
    margin-bottom: 14px;
}
.hv-datum-chips { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin: 8px 0 12px; }
.hv-datum-chip { gap: 2px; min-height: 52px; }
.hv-datum-chip-sub { display: block; font-size: 0.68rem; font-weight: 400; color: var(--hv-text-muted); }
.hv-datum-chip.selected .hv-datum-chip-sub { color: var(--hv-gold-dark); }
.hv-datum-chip:disabled { opacity: 0.45; cursor: not-allowed; background: var(--hv-bg-light); }

.hv-option-small { padding: 14px 10px; min-height: 52px; font-size: 0.82rem; }
.hv-tijdblok-grid { margin-top: 8px; margin-bottom: 0; }

.hv-gesloten-info {
    background: rgba(194,154,134,0.08);
    border: 1px solid rgba(194,154,134,0.35);
    border-radius: var(--hv-radius);
    padding: 10px 16px;
    font-size: 0.78rem;
    color: var(--hv-gold-dark);
    margin-bottom: 14px;
    text-align: center;
}

#hv-afspraak-app input[type="date"] {
    color-scheme: light;
    -webkit-appearance: none;
    appearance: none;
    position: relative;
    padding-right: 44px;
    cursor: pointer;
}
#hv-afspraak-app input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    font-size: 20px;
    padding: 4px;
    opacity: 0.7;
}

.hv-btn-add-datum {
    display: block;
    width: 100%;
    padding: 14px;
    margin-top: 8px;
    background: transparent;
    border: 1px dashed var(--hv-hair);
    border-radius: var(--hv-radius);
    color: var(--hv-text-muted);
    font-family: var(--hv-font-body);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.25s var(--hv-ease);
    min-height: 48px;
}
.hv-btn-add-datum:hover { border-color: var(--hv-champagne); color: var(--hv-gold-dark); }

/* ===== FORM INPUTS ===== */
.hv-form-group { margin-bottom: 16px; }
.hv-input-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--hv-text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}
.hv-form-input {
    width: 100%;
    padding: 15px 18px;
    background: var(--hv-bg-card);
    border: 1px solid var(--hv-hair);
    border-radius: var(--hv-radius);
    color: var(--hv-ink);
    font-family: var(--hv-font-body);
    font-size: 1rem;
    transition: border-color 0.25s var(--hv-ease), background 0.25s var(--hv-ease);
    appearance: none;
    -webkit-appearance: none;
    min-height: 48px;
}
.hv-form-input:focus { outline: none; border-color: var(--hv-champagne); background: #fdfaf5; }
.hv-form-input::placeholder { color: var(--hv-text-muted); opacity: 0.7; }
.hv-form-input.invalid { border-color: var(--hv-error); }
.hv-field-error { display: block; color: var(--hv-error); font-size: 0.8rem; margin-top: 4px; }

/* Foutmarkering voor keuzegrids en upload-areas (validatie per veld, uit versie B) */
.hv-veld-fout { outline: 2px solid var(--hv-error); outline-offset: 3px; border-radius: var(--hv-radius); }
.hv-upload-area.hv-veld-fout { outline: none; border-color: var(--hv-error); }
.hv-veld-foutmelding { color: var(--hv-error); font-size: 0.8rem; margin: 6px 0 0; }

.hv-form-textarea { resize: vertical; min-height: 100px; }
.hv-char-count { display: block; font-size: 0.72rem; color: var(--hv-text-muted); margin-top: 4px; text-align: right; }

.hv-save-contact {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 2px 0 18px;
    padding: 12px 14px;
    background: rgba(194,154,134,0.06);
    border: 1px solid rgba(194,154,134,0.25);
    border-radius: var(--hv-radius);
    color: var(--hv-text-muted);
    font-size: 0.82rem;
    line-height: 1.45;
    cursor: pointer;
}
.hv-save-contact input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    accent-color: var(--hv-champagne);
}

/* ===== FOTO UPLOAD ===== */
.hv-upload-section { margin-bottom: 20px; }
.hv-upload-area {
    position: relative;
    background: var(--hv-bg-card);
    border: 1px dashed rgba(194,154,134,0.45);
    border-radius: var(--hv-radius);
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s var(--hv-ease);
    overflow: hidden;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hv-upload-area:hover, .hv-upload-area:active { border-color: var(--hv-champagne); background: #fdfaf5; }
.hv-upload-area.has-file { border-style: solid; border-color: var(--hv-champagne); padding: 8px; }
.hv-upload-placeholder { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--hv-text-muted); font-size: 0.85rem; }
.hv-upload-icon { color: var(--hv-gold-dark); display: flex; align-items: center; justify-content: center; }
.hv-upload-preview { max-width: 100%; max-height: 200px; border-radius: var(--hv-radius); object-fit: cover; }
.hv-file-input { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }

/* Shake animatie — upload validatie feedback */
@keyframes hvShake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-8px); }
    40% { transform: translateX(8px); }
    60% { transform: translateX(-6px); }
    80% { transform: translateX(6px); }
}
.hv-upload-area.hv-shake { animation: hvShake 0.4s ease; border-color: var(--hv-error) !important; border-style: solid !important; }

/* ===== KNOPPEN ===== */
.hv-btn-next, .hv-btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 20px 16px;
    min-height: 60px;
    margin-top: 28px;
    background: var(--hv-champagne);
    color: #ffffff;
    border: none;
    border-radius: var(--hv-radius);
    font-family: var(--hv-font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s var(--hv-ease);
    -webkit-tap-highlight-color: transparent;
}
.hv-btn-next:hover, .hv-btn-submit:hover { background: var(--hv-gold-dark); transform: translateY(-1px); }
.hv-btn-next:active, .hv-btn-submit:active { transform: scale(0.98); }
.hv-btn-next:disabled, .hv-btn-submit:disabled { opacity: 0.5; cursor: not-allowed; }

.hv-btn-back-step {
    display: block;
    width: 100%;
    padding: 16px;
    min-height: 52px;
    margin-top: 12px;
    background: transparent;
    border: 1px solid rgba(194,154,134,0.4);
    border-radius: var(--hv-radius);
    color: var(--hv-text-muted);
    font-family: var(--hv-font-body);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s var(--hv-ease);
    -webkit-tap-highlight-color: transparent;
}
.hv-btn-back-step:hover { border-color: var(--hv-champagne); color: var(--hv-ink); }
.hv-btn-back-step:active { transform: scale(0.98); }

.hv-btn-back-inline {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    margin-bottom: 14px;
    background: var(--hv-bg-card);
    border: 1px solid var(--hv-hair);
    border-radius: 50px;
    color: var(--hv-text-muted);
    font-family: var(--hv-font-body);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.25s var(--hv-ease);
    min-height: 44px;
}
.hv-btn-back-inline:hover { border-color: var(--hv-champagne); color: var(--hv-ink); }

/* Scroll hint */
.hv-scroll-hint {
    text-align: center;
    color: var(--hv-gold-dark);
    font-size: 0.82rem;
    margin-bottom: 12px;
    animation: hvBounce 2s ease-in-out infinite;
}
@keyframes hvBounce { 0%, 100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(6px); opacity: 0.6; } }

/* Submit section */
.hv-submit-section {
    position: sticky;
    bottom: 0;
    padding: 16px 0 8px;
    background: linear-gradient(transparent 0%, var(--hv-creme) 30%);
    z-index: 10;
}
.hv-whatsapp-consent { font-size: 0.8rem; color: var(--hv-text-muted); line-height: 1.55; margin-bottom: 4px; }
.hv-btn-submit-pulse { animation: hvPulse 2.5s ease-in-out infinite; box-shadow: 0 4px 15px rgba(194,154,134,0.35); }
.hv-btn-submit-pulse:disabled { animation: none; }
@keyframes hvPulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(194,154,134,0.35); }
    50% { box-shadow: 0 4px 25px rgba(194,154,134,0.6); }
}

/* ===== OVERZICHT (STAP 8) ===== */
.hv-summary-card {
    background: var(--hv-bg-card);
    border: 1px solid var(--hv-hair);
    border-radius: var(--hv-radius);
    padding: 22px;
    margin-top: 16px;
}
.hv-summary-section { margin-bottom: 8px; }
.hv-summary-section-title {
    font-family: var(--hv-font-body);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(43,38,32,0.85);
    margin-bottom: 8px;
    padding-top: 14px;
}
.hv-summary-section-title:first-child { padding-top: 0; }
.hv-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--hv-hair);
    font-size: 0.88rem;
}
.hv-summary-row:last-child { border-bottom: none; }
.hv-summary-label { color: rgba(43,38,32,0.78); font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; padding-top: 2px; }
.hv-summary-value { font-family: var(--hv-font-body); color: var(--hv-ink); font-weight: 600; text-align: right; max-width: 65%; word-break: break-word; }
.hv-summary-photos { display: flex; gap: 8px; margin-top: 8px; }
.hv-summary-photos img { width: 60px; height: 60px; object-fit: cover; border-radius: var(--hv-radius); border: 1px solid var(--hv-hair); }

.hv-summary-section-editable { cursor: pointer; border-radius: var(--hv-radius); transition: background 0.25s var(--hv-ease); }
.hv-summary-section-editable:hover, .hv-summary-section-editable:active { background: rgba(194,154,134,0.08); }
.hv-summary-section-editable .hv-summary-section-title::after {
    content: ' ✎';
    font-size: 0.7rem;
    color: var(--hv-text-muted);
    opacity: 0;
    transition: opacity 0.25s var(--hv-ease);
}
.hv-summary-section-editable:hover .hv-summary-section-title::after { opacity: 1; }

/* ===== SUCCES-SCHERM (Concept A+B) ===== */
.hv-success-screen { text-align: center; padding: 24px 0 24px; }

/* Checkmark: champagne cirkel, groter, zachte scale-in entrance */
/* ID-selector nodig: de #hv-afspraak-app * reset wint anders van de klasse-marges */
#hv-afspraak-app .hv-success-check-wrap { margin-left: auto; margin-right: auto; margin-bottom: 24px; }
.hv-success-check-wrap {
    width: 80px;
    height: 80px;
    animation: hvSuccessPop 0.3s var(--hv-ease) both;
}
.hv-success-checkmark { width: 80px; height: 80px; }
@keyframes hvSuccessPop {
    from { transform: scale(0.6); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.hv-checkmark-circle {
    stroke: var(--hv-champagne);
    stroke-width: 2;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-miterlimit: 10;
    animation: hv-stroke 0.6s cubic-bezier(0.65,0,0.45,1) 0.1s forwards;
}
.hv-checkmark-check {
    stroke: var(--hv-champagne);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: hv-stroke 0.3s cubic-bezier(0.65,0,0.45,1) 0.6s forwards;
}
@keyframes hv-stroke { 100% { stroke-dashoffset: 0; } }

/* Naam-regel: Inter, met accent op de naam (was Playfair-italic) */
.hv-success-title {
    font-family: var(--hv-font-heading);
    font-size: clamp(2rem, 6vw, 2.75rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--hv-ink);
}
.hv-success-title em {
    font-style: italic;
    color: var(--hv-champagne);
}
.hv-success-screen p { font-size: 0.92rem; color: var(--hv-text-muted); line-height: 1.6; }
.hv-success-subtitle { font-size: 1.0rem; font-weight: 500; color: rgba(43,38,32,0.82); max-width: 34ch; margin-left: auto; margin-right: auto; }

/* Samenvattingskaart: wit kaartje, hairline-rijtjes, caps label links, Inter waarde rechts */
.hv-success-summary {
    background: var(--hv-bg-card);
    border: 1px solid var(--hv-hair);
    border-radius: var(--hv-radius);
    padding: 8px 22px;
    margin: 24px 0 4px;
    text-align: left;
}
.hv-success-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 13px 0;
    border-bottom: 1px solid var(--hv-hair);
    gap: 16px;
}
.hv-success-summary-row:last-child { border-bottom: none; }
.hv-success-summary-row span:first-child {
    color: rgba(43,38,32,0.78);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    flex-shrink: 0;
}
.hv-success-summary-row span:last-child {
    font-family: var(--hv-font-body);
    font-weight: 600;
    font-size: 1.0rem;
    color: var(--hv-ink);
    text-align: right;
}
.hv-success-next { font-size: 0.95rem; color: rgba(43,38,32,0.8); margin-top: 20px; line-height: 1.6; }
.hv-success-next strong { color: var(--hv-ink); font-weight: 600; }

/* Socials: lijnicoon-knoppen in inkt, champagne bij hover */
.hv-success-socials { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--hv-hair); }
.hv-success-socials-label {
    font-size: 0.66rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--hv-text-muted);
    margin-bottom: 14px !important;
}
.hv-success-socials-icons { display: flex; justify-content: center; gap: 12px; }
.hv-success-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    text-decoration: none;
    color: var(--hv-ink);
    border: 1px solid var(--hv-hair);
    background: transparent;
    transition: border-color 0.25s var(--hv-ease), color 0.25s var(--hv-ease), transform 0.25s var(--hv-ease);
}
.hv-success-social-btn svg { display: block; flex-shrink: 0; }
.hv-success-social-btn:hover {
    border-color: var(--hv-champagne);
    color: var(--hv-champagne);
    transform: translateY(-2px);
}

/* Afsluiter: dunne hairline + rustige regel (was Playfair italic) */
.hv-success-closing {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--hv-hair);
    font-family: var(--hv-font-heading);
    font-style: italic;
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--hv-ink) !important;
}

/* Spinner */
.hv-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: hvSpin 0.6s linear infinite;
}
@keyframes hvSpin { to { transform: rotate(360deg); } }

/* Honeypot */
.hv-honeypot { position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; width: 0; pointer-events: none; }

/* Toast */
.hv-toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 22px;
    background: var(--hv-error);
    color: white;
    border-radius: var(--hv-radius);
    font-size: 0.82rem;
    z-index: 200;
    animation: hvToastIn 0.3s var(--hv-ease);
    box-shadow: 0 4px 12px rgba(43,38,32,0.25);
    white-space: nowrap;
}
@keyframes hvToastIn {
    from { opacity: 0; transform: translateX(-50%) translateY(12px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ===== HERHALING CHECK (premium.js) ===== */
.hv-herhaling-card {
    background: rgba(194,154,134,0.06);
    border: 1px solid rgba(194,154,134,0.35);
    border-radius: var(--hv-radius);
    padding: 20px 20px 16px;
    margin-top: 20px;
    margin-bottom: 8px;
    transition: border-color 0.25s var(--hv-ease), box-shadow 0.25s var(--hv-ease);
}
.hv-herhaling-vraag {
    font-family: var(--hv-font-heading);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--hv-ink);
    margin-bottom: 16px;
    line-height: 1.4;
}
.hv-herhaling-nudge {
    border-color: var(--hv-champagne);
    box-shadow: 0 0 0 3px rgba(194,154,134,0.25);
    animation: hvShake 0.45s ease;
}
#hv-herhaling-anders-text { width: 100%; min-height: 80px; resize: vertical; }
.hv-herhaling-upload {
    position: relative;
    display: block;
    cursor: pointer;
    border: 1px dashed rgba(194,154,134,0.45);
    border-radius: var(--hv-radius);
    background: var(--hv-bg-card);
    overflow: hidden;
    transition: border-color 0.25s var(--hv-ease), background 0.25s var(--hv-ease);
}
.hv-herhaling-upload:hover { border-color: var(--hv-champagne); background: #fdfaf5; }
.hv-herhaling-upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px;
    color: var(--hv-text-muted);
    font-size: 0.8rem;
}
.hv-herhaling-upload-placeholder svg { color: var(--hv-gold-dark); }

/* ===== RESPONSIVE ===== */
@media (min-width: 640px) {
    #hv-afspraak-app { padding: 48px 40px 120px; }
}

/* Mobiel (≤ 599px) — mobiel-first aanpassingen */
@media (max-width: 599px) {
    .hv-cols-4 { grid-template-columns: 1fr 1fr; }
    #stylisten-list.hv-options-grid { grid-template-columns: repeat(2, 1fr); gap: 14px 12px; }
    .hv-form-input { font-size: 16px; } /* voorkomt iOS auto-zoom */
    .hv-form-textarea { min-height: 80px; }
    .hv-toast { white-space: normal; max-width: 90vw; text-align: center; }
}

@media (max-width: 380px) {
    #hv-afspraak-app { padding: 16px 14px 100px; }
    .hv-cols-3 { grid-template-columns: 1fr 1fr; }
    .hv-datum-chips { gap: 6px; }
    .hv-choice-card { min-height: 200px; }
    .hv-stylist-naam { font-size: 1rem; }
}

/* Safe area voor iPhones met notch */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    #hv-afspraak-app { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
}
