/* ========== Fly Kids header — adventure / Lotte-like (не spa-шаблон) ========== */
:root {
    --fk-p: #5925ec;
    --fk-p2: #5b26ff;
    --fk-pink: #ff37b5;
    --fk-ink: #111;
    --fk-muted: #666;
    --fk-line: #e8e8ee;
    --fk-header-h: 72px;
    --fk-top-h: 36px;
}

.fk-header[v-cloak] { visibility: hidden; }

.fk-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
    background: #fff;
    color: var(--fk-ink);
    font-family: Montserrat, 'e-Ukraine', system-ui, sans-serif;
    border-bottom: 1px solid transparent;
    transition: box-shadow .2s ease, border-color .2s ease;
}

.fk-header.is-scrolled,
.home-page .fk-header.is-scrolled,
.section-page .fk-header {
    border-bottom-color: var(--fk-line);
    box-shadow: 0 4px 20px rgba(17, 17, 17, 0.06);
}

.fk-header__inner {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

/* TOP bar */
.fk-header__top {
    background: #111;
    color: #fff;
    font-size: 12px;
    height: var(--fk-top-h);
    display: flex;
    align-items: center;
}

.fk-header__top .fk-header__inner {
    display: flex;
    align-items: center;
    gap: 12px;
    width: min(1200px, calc(100% - 32px));
}

.fk-header__top-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 0;
    color: inherit;
    font: inherit;
    cursor: pointer;
    padding: 0;
}

.fk-header__top-item--static { cursor: default; opacity: .9; }
.fk-header__top-item strong { font-weight: 600; color: #cbb8ff; }
.fk-header__dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: #00e676; box-shadow: 0 0 0 3px rgba(0, 230, 118, .2);
}
.fk-header__top-sep {
    width: 1px; height: 12px; background: rgba(255,255,255,.25);
}
.fk-header__top-spacer { flex: 1; }

.fk-header__lang {
    display: inline-flex;
    background: rgba(255,255,255,.08);
    border-radius: 6px;
    padding: 2px;
    gap: 2px;
}
.fk-header__lang a {
    color: rgba(255,255,255,.65);
    text-decoration: none;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: .04em;
}
.fk-header__lang a.is-active {
    background: var(--fk-p);
    color: #fff;
}
.fk-header__top-phone {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    margin-left: 8px;
}

/* MAIN */
.fk-header__main {
    height: var(--fk-header-h);
    display: flex;
    align-items: center;
    background: #fff;
}
.fk-header__main-row {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 100%;
}

.fk-header__logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--fk-ink);
    flex-shrink: 0;
}
.fk-header__logo-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(145deg, var(--fk-p), var(--fk-pink));
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: -.02em;
    box-shadow: 0 6px 16px rgba(89, 37, 236, .35);
}
.fk-header__logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.fk-header__logo-text strong {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -.03em;
}
.fk-header__logo-text small {
    font-size: 10px;
    color: var(--fk-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
}

/* Desktop nav — як GNB у adventure-сайтів */
.fk-header__nav {
    display: none;
    align-items: center;
    gap: 4px;
    flex: 1;
    margin-left: 12px;
}
.fk-header__nav-link {
    text-decoration: none;
    color: var(--fk-ink);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 10px;
    border-radius: 8px;
    white-space: nowrap;
    transition: background .15s, color .15s;
}
.fk-header__nav-link:hover {
    background: #f2f0ff;
    color: var(--fk-p);
}

.fk-header__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.fk-header__icon-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--fk-line);
    background: #fff;
    border-radius: 10px;
    height: 40px;
    padding: 0 12px;
    color: var(--fk-ink);
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    font-size: 13px;
}
.fk-header__icon-btn:hover { border-color: #cfc8ff; background: #faf8ff; }
.fk-header__icon-label { display: none; }

/* CTA — solid purple rounded rect (Lotte-style), не spa-pill gold */
.fk-header__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 18px;
    border-radius: 10px;
    background: var(--fk-p);
    color: #fff !important;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    letter-spacing: -.01em;
    box-shadow: 0 4px 14px rgba(89, 37, 236, .35);
    transition: background .15s, transform .15s;
}
.fk-header__cta:hover {
    background: #4b1fd4;
    transform: translateY(-1px);
}

.fk-header__burger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    border: 1px solid var(--fk-line);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    padding: 0 10px;
}
.fk-header__burger span {
    display: block;
    height: 2px;
    background: var(--fk-ink);
    border-radius: 2px;
}

@media (min-width: 1024px) {
    .fk-header__nav { display: flex; }
    .fk-header__burger { display: none; }
    .fk-header__icon-label { display: inline; }
}

@media (max-width: 900px) {
    .fk-header__top-phone,
    .fk-header__top-sep,
    .fk-header__top-item--static { display: none; }
}

/* Overlay + drawer */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 17, 17, .45);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
    z-index: 100000;
}
.overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.navigation-bar.fk-drawer,
.fk-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(380px, 100%);
    height: 100vh;
    background: #fff;
    z-index: 100001;
    transform: translateX(100%);
    transition: transform .25s ease;
    padding: 16px 18px 32px;
    overflow-y: auto;
    box-shadow: -8px 0 32px rgba(0,0,0,.12);
}
.fk-drawer.open { transform: translateX(0); }

.fk-drawer__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}
.fk-drawer__close {
    margin-left: auto;
    border: 0;
    background: #f4f4f8;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
}
.fk-drawer__links .nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--fk-line);
    text-decoration: none;
    color: var(--fk-ink);
    font-weight: 600;
}
.fk-drawer__row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border: 0;
    border-bottom: 1px solid var(--fk-line);
    background: none;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}
.fk-drawer__cta,
.buy-button.fk-drawer__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    height: 48px;
    border-radius: 12px;
    background: var(--fk-p);
    color: #fff !important;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(89, 37, 236, .35);
}
.fk-drawer__meta {
    margin-top: 20px;
    font-size: 13px;
    color: var(--fk-muted);
    line-height: 1.6;
}
.fk-drawer .fk-header__lang {
    background: #f2f0ff;
}
.fk-drawer .fk-header__lang a { color: var(--fk-muted); }
.fk-drawer .fk-header__lang a.is-active {
    background: var(--fk-p);
    color: #fff;
}

/* ===== Popups (спрощено, у новій гамі) ===== */
.location-small-popup,
.location-choice-street-popup,
.location-contacts-popup,
.location-choice-city-popup,
.log-in-popup {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(.96);
    width: min(400px, calc(100% - 24px));
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    z-index: 100002;
    box-shadow: 0 16px 48px rgba(17,17,17,.2);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s, transform .2s;
}
.location-small-popup.open,
.location-choice-street-popup.open,
.location-contacts-popup.open,
.location-choice-city-popup.open,
.log-in-popup.open {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}
.location-small-popup .close,
.location-choice-street-popup .close,
.location-contacts-popup .close,
.location-choice-city-popup .close,
.log-in-popup .close {
    position: absolute;
    top: 12px;
    right: 12px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.location-small-popup .title,
.location-choice-street-popup .title,
.location-contacts-popup .title,
.location-choice-city-popup .title,
.log-in-popup .title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--fk-ink);
}
.location-choice-city-popup .subtitle,
.log-in-popup .subtitle {
    color: var(--fk-muted);
    font-size: 13px;
    margin-bottom: 16px;
}
.city-container, .street-container { display: grid; gap: 8px; }
.city-item, .street-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 12px;
    border: 1px solid var(--fk-line);
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    color: var(--fk-ink);
    font-weight: 600;
}
.city-item:hover, .street-item:hover {
    border-color: var(--fk-p);
    background: #f7f4ff;
}
.log-in-popup .select-action {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    background: #f4f4f8;
    border-radius: 10px;
    padding: 4px;
}
.log-in-popup .select-action span {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 13px;
    color: var(--fk-muted);
}
.log-in-popup .select-action span.active {
    background: #fff;
    color: var(--fk-p);
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.log-in-popup .input-wrapper {
    position: relative;
    margin-bottom: 12px;
}
.log-in-popup .input-wrapper input,
.location-contacts-popup .phone-input {
    width: 100%;
    border: 1px solid var(--fk-line);
    border-radius: 10px;
    padding: 14px 12px;
    font: inherit;
    background: #fff;
}
.log-in-popup .input-wrapper .label {
    font-size: 11px;
    color: var(--fk-muted);
    margin-top: 4px;
}
.log-in-popup .send-button,
.location-contacts-popup .send-button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    border-radius: 12px;
    background: var(--fk-p);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    margin-top: 8px;
}
.log-in-popup .send-note {
    text-align: center;
    margin-top: 12px;
    font-size: 13px;
    color: var(--fk-p);
    cursor: pointer;
    font-weight: 600;
}
.log-in-popup .check-string {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 12px;
    color: var(--fk-muted);
    margin: 10px 0;
}
.log-in-popup .check-string .icon { cursor: pointer; flex-shrink: 0; }
.address-city { font-weight: 800; font-size: 18px; }
.address-street { color: var(--fk-muted); margin-bottom: 12px; }
.divider { height: 1px; background: var(--fk-line); margin: 14px 0; }
.info-string, .contact {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
    font-size: 14px;
}
.divider-string {
    font-size: 12px;
    color: var(--fk-muted);
    margin-bottom: 10px;
}
