/**
 * Sizz Beauty & Nails — basis voor alle dc-sizzbeautynails-* widgets.
 *
 * Huisstijl uit de salon zelf: diep smaragd (de wanden), messing (de lampen),
 * blush (de fluwelen stoelen) en crème als basis. De dc-tokens van de
 * reference worden hier voor dit project overschreven; dc-tokens.css zelf
 * blijft ongemoeid.
 */

:root {
    --dc-primary: #1f3b2d;
    --dc-primary-rgb: 31, 59, 45;
    --dc-primary-light: #2f5643;
    --dc-primary-dark: #14281d;
    --dc-secondary: #b8935a;
    --dc-secondary-rgb: 184, 147, 90;
    --dc-accent: #e9b8a7;
    --dc-accent-rgb: 233, 184, 167;
    --dc-title: #111111;
    --dc-title-rgb: 17, 17, 17;
    --dc-bg: #faf6f1;
    --dc-bg-rgb: 250, 246, 241;
    --dc-text: #2b2b2b;

    --sz-emerald: #1f3b2d;
    --sz-emerald-deep: #14281d;
    --sz-emerald-soft: #2f5643;
    --sz-brass: #b8935a;
    --sz-brass-light: #d9bb85;
    --sz-brass-ink: #7a5c2e;
    --sz-blush: #e9b8a7;
    --sz-blush-soft: #f6e3dc;
    --sz-cream: #faf6f1;
    --sz-ink: #111111;
    --sz-text: #3a3632;
    --sz-muted: #6b625a;
    --sz-line: rgba(31, 59, 45, .12);
    --sz-white: #ffffff;

    --sz-serif: 'Lora', Georgia, 'Times New Roman', serif;
    --sz-sans: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;

    --sz-radius: 18px;
    --sz-radius-lg: 28px;
    --sz-radius-pill: 999px;
    --sz-shadow: 0 18px 40px -22px rgba(20, 40, 29, .35);
    --sz-shadow-lg: 0 30px 70px -30px rgba(20, 40, 29, .45);

    --sz-ease: cubic-bezier(.22, .61, .36, 1);
    --sz-wrap: 1240px;
    --sz-gutter: clamp(18px, 4vw, 40px);
    --sz-section: clamp(64px, 9vw, 128px);
    --sz-dock-space: 0px;
}

html { scroll-behavior: smooth; }

body.sz-site {
    background: var(--sz-cream);
    color: var(--sz-text);
    font-family: var(--sz-sans);
    font-size: clamp(16px, .25vw + 15px, 17px);
    line-height: 1.65;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

body.sz-site.sz-lock { overflow: hidden; }

body.sz-site #magic-cursor { display: none; }

body.sz-site #app,
body.sz-site #dc-main { overflow-x: clip; }

.sz-wrap {
    width: 100%;
    max-width: calc(var(--sz-wrap) + 2 * var(--sz-gutter));
    margin: 0 auto;
    padding-left: var(--sz-gutter);
    padding-right: var(--sz-gutter);
    box-sizing: border-box;
}

.sz-section {
    position: relative;
    padding-top: var(--sz-section);
    padding-bottom: var(--sz-section);
    scroll-margin-top: 24px;
}

[class^="sz-"] *, [class^="sz-"] *::before, [class^="sz-"] *::after { box-sizing: border-box; }

.sz-sr {
    position: absolute !important;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.sz-icon { width: 1.15em; height: 1.15em; flex: 0 0 auto; }

/* ---------- Typografie ---------- */

.sz-h1, .sz-h2, .sz-h3 {
    font-family: var(--sz-serif);
    color: var(--sz-ink);
    font-weight: 500;
    letter-spacing: -.015em;
    margin: 0;
    text-wrap: balance;
}

.sz-h1 { font-size: clamp(2.35rem, 5.2vw + .4rem, 4.6rem); line-height: 1.04; }
.sz-h2 { font-size: clamp(1.9rem, 3vw + .6rem, 3.25rem); line-height: 1.1; }
.sz-h3 { font-size: clamp(1.25rem, .8vw + 1rem, 1.6rem); line-height: 1.2; }

.sz-h1 em, .sz-h2 em, .sz-h3 em {
    font-style: italic;
    color: var(--sz-brass-ink);
    font-weight: 500;
}

.sz-lead {
    font-size: clamp(1.02rem, .35vw + .95rem, 1.18rem);
    color: var(--sz-text);
    max-width: 58ch;
    margin: 0;
}

.sz-head {
    display: grid;
    gap: 16px;
    margin-bottom: clamp(32px, 4vw, 56px);
    max-width: 760px;
}

.sz-head--center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }

/* ---------- Eyebrow met eigen SVG ---------- */

.sz-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55em;
    margin: 0;
    font-family: var(--sz-sans);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--sz-brass-ink);
}

.sz-eyebrow__mark {
    width: 1.5em;
    max-width: 24px;
    height: 1em;
    color: var(--sz-brass);
    overflow: visible;
}

.sz-eyebrow__stroke,
.sz-eyebrow__spark {
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
}

.sz-js .sz-eyebrow__stroke,
.sz-js .sz-eyebrow__spark { stroke-dashoffset: 1; }

.sz-js .is-drawn .sz-eyebrow__stroke { stroke-dashoffset: 0; transition: stroke-dashoffset .7s var(--sz-ease); }
.sz-js .is-drawn .sz-eyebrow__spark { stroke-dashoffset: 0; transition: stroke-dashoffset .6s var(--sz-ease) .35s; }

.sz-on-dark .sz-eyebrow,
.sz-eyebrow.sz-on-dark { color: var(--sz-brass-light); }
.sz-on-dark .sz-eyebrow__mark,
.sz-eyebrow.sz-on-dark .sz-eyebrow__mark { color: var(--sz-brass-light); }

/* Lange Nederlandse samenstellingen (Gezichtsbehandelingen) netjes afbreken. */
.sz-h1, .sz-h2, .sz-h3, .sz-treat__name, .sz-option__label, .sz-product__name, .sz-product__gift-title {
    -webkit-hyphens: auto;
    hyphens: auto;
    overflow-wrap: break-word;
}

/* ---------- Knoppen ---------- */

.sz-btn {
    --sz-btn-bg: var(--sz-emerald);
    --sz-btn-fg: var(--sz-cream);
    --sz-btn-bd: var(--sz-emerald);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6em;
    min-height: 48px;
    padding: .8em 1.45em;
    border-radius: var(--sz-radius-pill);
    border: 1.5px solid var(--sz-btn-bd);
    background: var(--sz-btn-bg);
    color: var(--sz-btn-fg);
    font-family: var(--sz-sans);
    font-size: .98rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    letter-spacing: .01em;
    cursor: pointer;
    transition: transform .2s ease-out, box-shadow .2s ease-out, background-color .2s ease-out, color .2s ease-out;
}

.sz-btn:focus-visible,
.sz-site a:focus-visible,
.sz-site button:focus-visible,
.sz-site input:focus-visible,
.sz-site textarea:focus-visible,
.sz-site select:focus-visible {
    outline: 2.5px solid var(--sz-brass);
    outline-offset: 3px;
}

.sz-btn--brass { --sz-btn-bg: var(--sz-brass-light); --sz-btn-fg: var(--sz-ink); --sz-btn-bd: var(--sz-brass-light); }
.sz-btn--ghost { --sz-btn-bg: transparent; --sz-btn-fg: var(--sz-emerald); --sz-btn-bd: rgba(31, 59, 45, .35); }
.sz-btn--light { --sz-btn-bg: var(--sz-cream); --sz-btn-fg: var(--sz-emerald); --sz-btn-bd: var(--sz-cream); }
.sz-btn--outline-light { --sz-btn-bg: transparent; --sz-btn-fg: var(--sz-cream); --sz-btn-bd: rgba(250, 246, 241, .5); }

.sz-btn__icon { width: 1.15em; height: 1.15em; }
.sz-btn__arrow { display: inline-flex; transition: transform .2s ease-out; }

@media (hover: hover) and (pointer: fine) {
    .sz-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(31, 59, 45, .55); }
    .sz-btn--ghost:hover { background: var(--sz-emerald); color: var(--sz-cream); }
    .sz-btn--outline-light:hover { background: var(--sz-cream); color: var(--sz-emerald); }
    .sz-btn:hover .sz-btn__arrow { transform: translateX(6px); }
}

.sz-btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.sz-link {
    display: inline-flex;
    align-items: center;
    gap: .45em;
    color: var(--sz-emerald);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(184, 147, 90, .6);
    padding-bottom: 2px;
}

.sz-link .sz-icon { transition: transform .2s ease-out; }
@media (hover: hover) { .sz-link:hover .sz-icon { transform: translateX(6px); } }

/* ---------- Reveal (IntersectionObserver, eenmalig) ---------- */

.sz-js [data-dc-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s var(--sz-ease), transform .7s var(--sz-ease);
    transition-delay: calc(var(--sz-i, 0) * 70ms);
}

.sz-js [data-dc-reveal].is-animated { opacity: 1; transform: none; }

/* ---------- Logo (gedeeld door header, footer, dock) ---------- */

.sz-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--sz-ink);
    min-height: 44px;
}

.sz-logo__badge {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--sz-emerald);
    box-shadow: inset 0 0 0 1.5px rgba(217, 187, 133, .55);
    flex: 0 0 auto;
    overflow: hidden;
}

.sz-site .sz-logo__img { width: 48px; height: 48px; object-fit: contain; display: block; }
.sz-logo__fallback { font-family: var(--sz-serif); color: var(--sz-brass-light); font-size: 1.6rem; }

.sz-logo__text { display: grid; line-height: 1; }
.sz-logo__name { font-family: var(--sz-serif); font-size: 1.55rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sz-emerald); }
.sz-logo__sub { font-family: var(--sz-serif); font-style: italic; font-size: .95rem; color: var(--sz-brass-ink); margin-top: 4px; }

/* ---------- Kaart (contact en footer) ---------- */

.sz-map {
    position: relative;
    overflow: hidden;
    border-radius: var(--sz-radius);
    background: #efe6da;
    isolation: isolate;
}

.sz-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Toast (shop) ---------- */

.sz-toast {
    position: fixed;
    left: 50%;
    bottom: calc(24px + var(--sz-dock-space) + env(safe-area-inset-bottom, 0px));
    z-index: 95;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: min(92vw, 440px);
    padding: 12px 14px 12px 18px;
    border-radius: var(--sz-radius);
    background: var(--sz-emerald);
    color: var(--sz-cream);
    box-shadow: var(--sz-shadow-lg);
    opacity: 0;
    transform: translate(-50%, 16px);
    pointer-events: none;
    transition: opacity .25s ease-out, transform .25s ease-out;
}

.sz-toast.is-visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.sz-toast a { color: var(--sz-brass-light); font-weight: 600; white-space: nowrap; }
.sz-toast p { margin: 0; font-size: .95rem; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .sz-js [data-dc-reveal] { opacity: 1; transform: none; }
    .sz-js .sz-eyebrow__stroke, .sz-js .sz-eyebrow__spark { stroke-dashoffset: 0; }
}
