/* =====================================================================
   SPA LUXURY MOBILE – warstwa aplikacyjna (PWA, Klub Ambasadora,
   terminal płatności, kalendarz zabiegów, portale serwisanta i Właściciela).

   Kontynuacja języka wizualnego strony: głęboka czerń, złoto #dfba6b,
   Cinzel w nagłówkach, Montserrat w treści. Nic tutaj nie nadpisuje
   istniejących sekcji – dodajemy wyłącznie nowe komponenty.
   ===================================================================== */

:root {
    --gold-soft: rgba(223, 186, 107, 0.16);
    --gold-line: rgba(223, 186, 107, 0.28);
    --panel: #101010;
    --panel-2: #161616;
    --ink: #050505;
    --ruby: #b3362f;
    --emerald: #4f9d6b;
    --amber: #d59b3a;
    --radius: 3px;
    --shadow-luxe: 0 24px 60px rgba(0, 0, 0, 0.65);
    --nav-h: 0px;
}

body.is-app-mode {
    padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px));
}

/* Wspólne elementy -------------------------------------------------- */
.luxe-title {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.luxe-card {
    background: linear-gradient(180deg, var(--panel-2) 0%, var(--ink) 100%);
    border: 1px solid var(--gold-line);
    border-radius: var(--radius);
    padding: 26px;
    position: relative;
}

.luxe-card::after {
    content: '';
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(223, 186, 107, 0.06);
    pointer-events: none;
}

.luxe-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-family: 'Cinzel', serif;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    font-size: 0.82rem;
    padding: 13px 24px;
    border: 1px solid var(--gold);
    background: linear-gradient(135deg, #e8cf92 0%, var(--gold) 45%, var(--gold-dark) 100%);
    color: #0a0a0a;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
    border-radius: 2px;
}

.luxe-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(223, 186, 107, 0.22); }
.luxe-btn:active { transform: translateY(0); filter: brightness(0.95); }
.luxe-btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; }

.luxe-btn--ghost {
    background: transparent;
    color: var(--gold);
    border-color: var(--gold-line);
}
.luxe-btn--ghost:hover { border-color: var(--gold); background: rgba(223, 186, 107, 0.06); }

.luxe-btn--danger {
    background: linear-gradient(135deg, #d4564c 0%, var(--ruby) 100%);
    border-color: #e0776c;
    color: #fff;
}

.luxe-field { margin-bottom: 16px; text-align: left; }
.luxe-field label,
.luxe-label {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 7px;
}

.luxe-input {
    width: 100%;
    background: #0a0a0a;
    border: 1px solid rgba(223, 186, 107, 0.2);
    color: #fff;
    padding: 13px 14px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.92rem;
    border-radius: 2px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.luxe-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(223, 186, 107, 0.12);
}

.luxe-note { font-size: 0.78rem; color: var(--text-muted); line-height: 1.6; }
.luxe-error { color: #e98d84; font-size: 0.8rem; margin-top: 8px; min-height: 1em; }

/* 1. Baner instalacji PWA ------------------------------------------- */
.pwa-banner {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    z-index: 9200;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: linear-gradient(135deg, rgba(20, 17, 11, 0.98) 0%, rgba(6, 6, 6, 0.98) 100%);
    border: 1px solid var(--gold);
    box-shadow: var(--shadow-luxe), 0 0 30px rgba(223, 186, 107, 0.14);
    transform: translateY(160%);
    transition: transform 0.55s cubic-bezier(0.19, 1, 0.22, 1);
}

.pwa-banner.is-open { transform: translateY(0); }
.pwa-banner__crest { font-size: 1.7rem; filter: drop-shadow(0 0 8px rgba(223, 186, 107, 0.5)); }
.pwa-banner__text strong {
    display: block;
    font-family: 'Cinzel', serif;
    color: var(--gold);
    font-size: 0.8rem;
    letter-spacing: 1.2px;
    line-height: 1.5;
}
.pwa-banner__text span { font-size: 0.72rem; color: var(--text-muted); }
.pwa-banner__actions { display: flex; flex-direction: column; gap: 7px; }
.pwa-banner__actions .luxe-btn { padding: 9px 15px; font-size: 0.68rem; }
.pwa-banner__dismiss {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.66rem;
    letter-spacing: 1px;
    cursor: pointer;
    text-transform: uppercase;
}

/* 2. Dolne dotykowe menu nawigacyjne -------------------------------- */
.app-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9000;
    display: none;
    /* Szesc zakladek: Strefa, Terminy, Zgloszenie, Klub, Status i Jacuzzi. */
    grid-template-columns: repeat(6, 1fr);
    background: rgba(8, 8, 8, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--gold-line);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.6);
}

.app-nav.is-on { display: grid; }

.app-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 11px 4px 9px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.6rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.25s ease;
}

.app-nav a svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.app-nav a.is-current { color: var(--gold); }
.app-nav a.is-current::before {
    content: '';
    position: absolute;
    top: 0;
    left: 22%;
    right: 22%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.app-nav__dot {
    position: absolute;
    top: 8px;
    right: 26%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 9px var(--gold);
    display: none;
}
.app-nav a.has-alert .app-nav__dot { display: block; }

/* 3. Widget obecności Właściciela (Live Presence Pulse) -------------- */
.presence-pulse {
    display: none;
    align-items: center;
    gap: 11px;
    padding: 11px 19px;
    border: 1px solid var(--gold);
    border-radius: 100px;
    background: linear-gradient(120deg, rgba(223, 186, 107, 0.1), rgba(0, 0, 0, 0.85));
    font-family: 'Cinzel', serif;
    font-size: 0.76rem;
    letter-spacing: 1.3px;
    color: var(--gold);
    animation: presenceGlow 2.6s ease-in-out infinite;
}

.presence-pulse.is-live { display: inline-flex; }

.presence-pulse__orb {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #6fd68e;
    box-shadow: 0 0 0 0 rgba(111, 214, 142, 0.7);
    animation: orbPulse 1.9s ease-out infinite;
}

.presence-pulse--hero { margin: 0 auto 8px; }
.presence-pulse--chat {
    position: fixed;
    right: 22px;
    bottom: 96px;
    z-index: 9100;
    font-size: 0.68rem;
    padding: 9px 15px;
    max-width: 72vw;
}

@keyframes presenceGlow {
    0%, 100% { box-shadow: 0 0 14px rgba(223, 186, 107, 0.16); }
    50% { box-shadow: 0 0 26px rgba(223, 186, 107, 0.42); }
}

@keyframes orbPulse {
    0% { box-shadow: 0 0 0 0 rgba(111, 214, 142, 0.6); }
    70% { box-shadow: 0 0 0 12px rgba(111, 214, 142, 0); }
    100% { box-shadow: 0 0 0 0 rgba(111, 214, 142, 0); }
}

/* 4. Klub Ambasadora ------------------------------------------------ */
.club {
    position: relative;
    padding: 70px 20px;
    background:
        radial-gradient(circle at 15% 0%, rgba(223, 186, 107, 0.07), transparent 55%),
        linear-gradient(180deg, #080808 0%, #0d0d0d 100%);
    border-top: 1px solid rgba(223, 186, 107, 0.12);
    border-bottom: 1px solid rgba(223, 186, 107, 0.12);
}

.club__inner { max-width: 1120px; margin: 0 auto; }

.club__lead {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 40px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.club__layout {
    display: grid;
    grid-template-columns: minmax(300px, 0.95fr) minmax(320px, 1.05fr);
    gap: 28px;
    align-items: start;
}

.club__tabs { display: flex; gap: 8px; margin-bottom: 20px; }
.club__tab {
    flex: 1;
    background: transparent;
    border: 1px solid rgba(223, 186, 107, 0.2);
    color: var(--text-muted);
    font-family: 'Cinzel', serif;
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    padding: 11px 6px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.25s ease;
}
.club__tab[aria-selected="true"] {
    color: #0a0a0a;
    background: linear-gradient(135deg, #e8cf92, var(--gold-dark));
    border-color: var(--gold);
}

.club__hint {
    margin-top: 18px;
    padding: 13px 15px;
    border-left: 2px solid var(--gold);
    background: rgba(223, 186, 107, 0.05);
    font-size: 0.76rem;
    color: #c8bda4;
    line-height: 1.7;
}

/* Karta diamentowa klienta */
.vault {
    background:
        radial-gradient(circle at 85% 10%, rgba(223, 186, 107, 0.18), transparent 60%),
        linear-gradient(145deg, #1b1712 0%, #070707 70%);
    border: 1px solid var(--gold);
    padding: 30px 28px;
    box-shadow: var(--shadow-luxe);
    overflow: hidden;
    position: relative;
}

.vault::before {
    content: '';
    position: absolute;
    top: -60%;
    left: -30%;
    width: 60%;
    height: 220%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.07), transparent);
    transform: rotate(18deg);
    animation: vaultSheen 6.5s ease-in-out infinite;
}

@keyframes vaultSheen {
    0%, 100% { transform: translateX(-10%) rotate(18deg); opacity: 0; }
    45% { opacity: 1; }
    100% { transform: translateX(260%) rotate(18deg); }
}

.vault__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    position: relative;
}

.vault__owner { font-family: 'Cinzel', serif; color: #fff; font-size: 1.15rem; letter-spacing: 1px; }
.vault__device { font-size: 0.75rem; color: var(--gold-dark); letter-spacing: 1.5px; text-transform: uppercase; }
.vault__rank {
    font-size: 0.62rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 5px 11px;
    white-space: nowrap;
}

.vault__count {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 26px 0 6px;
    position: relative;
}
.vault__count b {
    font-family: 'Cinzel', serif;
    font-size: 3.4rem;
    line-height: 1;
    color: var(--gold);
    text-shadow: 0 0 26px rgba(223, 186, 107, 0.35);
}
.vault__count span { font-size: 0.78rem; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); }

.vault__worth {
    font-size: 0.92rem;
    color: #fff;
    position: relative;
    margin-bottom: 22px;
}
.vault__worth strong { color: var(--gold); }

.vault__meter {
    height: 7px;
    background: rgba(255, 255, 255, 0.07);
    position: relative;
    overflow: hidden;
    margin-bottom: 9px;
}
.vault__meter i {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    background: linear-gradient(90deg, var(--gold-dark), #f3dca6);
    transition: width 0.9s cubic-bezier(0.19, 1, 0.22, 1);
}

.vault__rows { list-style: none; margin: 24px 0 0; padding: 20px 0 0; border-top: 1px solid rgba(223, 186, 107, 0.15); position: relative; }
.vault__rows li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.82rem;
    color: #bfbfbf;
    padding: 8px 0;
}
.vault__rows li b { color: var(--gold); font-weight: 600; white-space: nowrap; }
.vault__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; position: relative; }

/* Złote komunikaty diamentowe pod kaflami usług */
.diamond-badge {
    display: none;
    margin-top: 16px;
    padding: 12px 14px;
    border: 1px solid var(--gold-line);
    border-left: 3px solid var(--gold);
    background: linear-gradient(90deg, rgba(223, 186, 107, 0.12), rgba(223, 186, 107, 0.02));
    font-size: 0.8rem;
    line-height: 1.55;
    color: #f0e3c6;
    animation: badgeReveal 0.6s ease both;
}

.diamond-badge.is-on { display: block; }
.diamond-badge b { color: var(--gold); }
.diamond-badge--free {
    border-left-color: #6fd68e;
    background: linear-gradient(90deg, rgba(111, 214, 142, 0.14), rgba(111, 214, 142, 0.02));
}
.diamond-badge small { display: block; margin-top: 5px; color: var(--text-muted); font-size: 0.72rem; }

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

/* Skaner baterii AI */
.battery-scan { margin-top: 30px; }
.battery-scan__row { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.battery-scan__row .luxe-field { flex: 1 1 180px; margin-bottom: 0; }

.battery-gauge {
    margin-top: 22px;
    border: 1px solid rgba(223, 186, 107, 0.2);
    background: #080808;
    padding: 18px;
    display: none;
}
.battery-gauge.is-on { display: block; animation: badgeReveal 0.5s ease both; }
.battery-gauge__track { height: 26px; border: 1px solid var(--gold-line); position: relative; background: #040404; }
.battery-gauge__track i {
    position: absolute;
    inset: 3px auto 3px 3px;
    width: 0;
    transition: width 1.1s cubic-bezier(0.19, 1, 0.22, 1);
    background: linear-gradient(90deg, #b3362f, var(--amber) 55%, #6fd68e);
}
.battery-gauge__track span {
    position: absolute;
    right: 9px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    color: #fff;
    text-shadow: 0 0 6px #000;
}
.battery-gauge__verdict { margin-top: 15px; font-size: 0.86rem; line-height: 1.7; color: #ddd; }
.battery-gauge__verdict strong { color: var(--gold); font-family: 'Cinzel', serif; letter-spacing: 1px; }

/* 5. Terminal płatności premium ------------------------------------- */
.pay {
    margin: 28px 0;
    border: 1px solid var(--gold-line);
    background: linear-gradient(180deg, rgba(20, 18, 13, 0.7), rgba(6, 6, 6, 0.9));
    padding: 24px 20px;
}

.pay__head { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 6px; }
.pay__head h3 { font-family: 'Cinzel', serif; color: var(--gold); font-size: 1rem; letter-spacing: 1.6px; text-transform: uppercase; }
.pay__ssl { font-size: 0.66rem; letter-spacing: 1.4px; color: var(--emerald); text-transform: uppercase; }

.pay__summary {
    display: grid;
    gap: 6px;
    margin: 16px 0 20px;
    padding: 14px 16px;
    background: #070707;
    border: 1px dashed rgba(223, 186, 107, 0.3);
    font-size: 0.83rem;
}
.pay__summary div { display: flex; justify-content: space-between; gap: 10px; color: #bbb; }
.pay__summary .is-total { color: #fff; font-family: 'Cinzel', serif; letter-spacing: 1px; padding-top: 8px; border-top: 1px solid rgba(223, 186, 107, 0.15); }
.pay__summary .is-total b { color: var(--gold); font-size: 1.05rem; }
.pay__summary .is-discount b { color: #6fd68e; }

.pay__tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }

.pay-tile { position: relative; cursor: pointer; display: block; }
.pay-tile input { position: absolute; opacity: 0; pointer-events: none; }
.pay-tile__inner {
    height: 100%;
    border: 1px solid rgba(223, 186, 107, 0.22);
    background: #0b0b0b;
    padding: 17px 15px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.pay-tile:hover .pay-tile__inner { transform: translateY(-3px); border-color: var(--gold-line); }
.pay-tile input:checked + .pay-tile__inner {
    border-color: var(--gold);
    box-shadow: 0 0 0 1px var(--gold), 0 14px 30px rgba(0, 0, 0, 0.5);
    background: linear-gradient(160deg, rgba(223, 186, 107, 0.1), #070707);
}
.pay-tile input:focus-visible + .pay-tile__inner { outline: 2px solid var(--gold); outline-offset: 3px; }

.pay-tile__logo {
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    letter-spacing: 2px;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 8px;
}
.pay-tile__logo .blik-mark {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: linear-gradient(135deg, #e8cf92, var(--gold-dark));
    color: #0a0a0a;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.pay-tile__name { font-size: 0.86rem; color: #fff; }
.pay-tile__meta { font-size: 0.71rem; color: var(--text-muted); line-height: 1.5; }

.pay__stage { display: none; margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(223, 186, 107, 0.15); }
.pay__stage.is-on { display: block; animation: badgeReveal 0.45s ease both; }

/* Kanał BLIK: czarne pole na 6 cyfr + animowana linia czasu */
.blik-pad { text-align: center; }
.blik-pad__code {
    display: flex;
    justify-content: center;
    gap: 9px;
    margin: 6px 0 16px;
}
.blik-pad__code input {
    width: 46px;
    height: 58px;
    text-align: center;
    background: #000;
    border: 1px solid rgba(223, 186, 107, 0.3);
    color: var(--gold);
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    caret-color: var(--gold);
}
.blik-pad__code input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 16px rgba(223, 186, 107, 0.25); }
.blik-pad__code input.is-filled { background: linear-gradient(180deg, #171308, #000); }

.blik-timer { max-width: 380px; margin: 0 auto; }
.blik-timer__bar { height: 4px; background: rgba(255, 255, 255, 0.08); position: relative; overflow: hidden; }
.blik-timer__bar i {
    position: absolute;
    inset: 0 0 0 0;
    background: linear-gradient(90deg, var(--gold-dark), #f3dca6);
    transform-origin: left center;
    transform: scaleX(1);
    transition: transform 1s linear;
}
.blik-timer__label { margin-top: 8px; font-size: 0.72rem; letter-spacing: 1.5px; color: var(--text-muted); text-transform: uppercase; }
.blik-timer.is-expired .blik-timer__bar i { background: var(--ruby); }

/* Karta płatnicza: matowy panel */
.card-panel {
    background: linear-gradient(150deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 22px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.card-panel__brand {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
}
.card-panel__chip {
    width: 42px;
    height: 30px;
    border-radius: 5px;
    background: linear-gradient(135deg, #d9c48c, #8c7434);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3);
}
.card-panel__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.card-panel__num input { letter-spacing: 3px; font-family: 'Cinzel', serif; }
.card-panel__vendor { font-family: 'Cinzel', serif; color: var(--gold); letter-spacing: 1px; }

.pay__status {
    margin-top: 18px;
    display: none;
    padding: 14px 16px;
    border-left: 3px solid var(--emerald);
    background: rgba(79, 157, 107, 0.09);
    font-size: 0.84rem;
    color: #d8f0e0;
    line-height: 1.6;
}
.pay__status.is-on { display: block; animation: badgeReveal 0.45s ease both; }
.pay__status.is-pending { border-left-color: var(--amber); background: rgba(213, 155, 58, 0.09); color: #f3e3c4; }
.pay__status.is-error { border-left-color: var(--ruby); background: rgba(179, 54, 47, 0.1); color: #f1cfcb; }
.pay__status b { font-family: 'Cinzel', serif; letter-spacing: 1px; }
.pay__status.is-golden {
    border-left-color: var(--gold);
    background: linear-gradient(120deg, rgba(223, 186, 107, 0.18), rgba(223, 186, 107, 0.05));
    color: #f6e6c2;
}
.pay__status.is-golden b { color: var(--gold); }
.pay__status-sub { display: inline-block; margin-top: 6px; font-size: 0.72rem; color: var(--text-muted); }

/* Zloty ekran sukcesu terminala - warstwa nad modalem podziekowania ---- */
.pay-success {
    position: fixed;
    left: 50%;
    top: 12vh;
    transform: translate(-50%, -18px);
    z-index: 100000;
    max-width: min(560px, calc(100vw - 32px));
    padding: 26px 30px;
    text-align: center;
    border: 1px solid var(--gold);
    background: linear-gradient(145deg, rgba(20, 16, 8, 0.97), rgba(5, 5, 5, 0.97));
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(223, 186, 107, 0.16) inset,
        0 0 42px rgba(223, 186, 107, 0.22);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}
.pay-success.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; cursor: pointer; }
.pay-success__text {
    margin: 0;
    font-family: 'Cinzel', serif;
    font-size: clamp(1rem, 3.4vw, 1.3rem);
    line-height: 1.6;
    letter-spacing: 0.6px;
    background: linear-gradient(100deg, #f0dca8, var(--gold) 45%, #e8cf92);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.pay-success__sub {
    display: block;
    margin-top: 12px;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
}
@media (max-width: 520px) {
    .pay-success { top: 8vh; padding: 20px 18px; }
}

/* 6. Kalendarz wolnych terminów ------------------------------------- */
.booking { padding: 64px 20px; }
.booking__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 26px;
    max-width: 1180px;
    margin: 0 auto;
}

.slot-card {
    border: 1px solid var(--gold-line);
    background: linear-gradient(180deg, var(--panel-2), var(--ink));
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.4s ease;
}
.slot-card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px rgba(0, 0, 0, 0.6); }

/* „Zdjęcie poglądowe” rysowane w CSS – zero zewnętrznych plików graficznych */
.slot-card__plate {
    position: relative;
    height: 178px;
    overflow: hidden;
    border-bottom: 1px solid var(--gold-line);
    background: radial-gradient(circle at 30% 20%, #262626, #050505 70%);
}
.slot-card__plate svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.slot-card__plate::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.025) 0 2px, transparent 2px 5px),
        radial-gradient(circle at 78% 82%, rgba(223, 186, 107, 0.16), transparent 60%);
    pointer-events: none;
}
.slot-card__tag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    font-size: 0.6rem;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid var(--gold-line);
    color: var(--gold);
}
.slot-card__body { padding: 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.slot-card__body h3 { font-family: 'Cinzel', serif; color: var(--gold); font-size: 1.02rem; letter-spacing: 1px; }
.slot-card__spec { list-style: none; font-size: 0.79rem; color: #b9b9b9; display: grid; gap: 6px; }
.slot-card__spec li { display: flex; gap: 8px; }
.slot-card__spec li::before { content: '◆'; color: var(--gold-dark); font-size: 0.6rem; line-height: 1.7; }
.slot-card__meta { display: flex; gap: 14px; font-size: 0.71rem; letter-spacing: 1px; color: var(--text-muted); text-transform: uppercase; }

.slot-card__status {
    margin-top: auto;
    border: 1px solid transparent;
    padding: 12px 14px;
    font-family: 'Cinzel', serif;
    font-size: 0.78rem;
    letter-spacing: 1.1px;
    display: flex;
    align-items: center;
    gap: 9px;
}
.slot-card__status[data-status="free"] { border-color: rgba(111, 214, 142, 0.4); color: #8fe0a8; background: rgba(79, 157, 107, 0.09); }
.slot-card__status[data-status="soon"] { border-color: rgba(213, 155, 58, 0.45); color: #f0cd8a; background: rgba(213, 155, 58, 0.09); }
.slot-card__status[data-status="busy"] { border-color: rgba(179, 54, 47, 0.45); color: #ec9d96; background: rgba(179, 54, 47, 0.09); }
.slot-card__note { font-size: 0.72rem; color: var(--text-muted); }
.slot-card__hours { display: flex; flex-wrap: wrap; gap: 8px; }
.slot-card__hour {
    font-size: 0.68rem;
    letter-spacing: 1px;
    border: 1px solid var(--gold-line);
    color: var(--gold);
    padding: 5px 9px;
    background: rgba(223, 186, 107, 0.04);
}

/* 7. Portal Serwisanta / Kuriera ------------------------------------ */
.courier { padding: 64px 20px; background: linear-gradient(180deg, #070707, #0c0c0c); }
.courier__inner { max-width: 940px; margin: 0 auto; }

.faceid {
    position: relative;
    width: 190px;
    height: 190px;
    margin: 0 auto 26px;
    border-radius: 50%;
    border: 1px solid var(--gold-line);
    display: grid;
    place-items: center;
    overflow: hidden;
    background: radial-gradient(circle, #131313, #050505);
}
.faceid video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; transform: scaleX(-1); }
.faceid__glyph { font-size: 3rem; position: relative; z-index: 2; filter: drop-shadow(0 0 10px rgba(223, 186, 107, 0.4)); }
.faceid__radar {
    position: absolute;
    inset: 0;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.4s ease;
    background:
        repeating-linear-gradient(0deg, rgba(223, 186, 107, 0.16) 0 1px, transparent 1px 9px),
        conic-gradient(from 0deg, rgba(223, 186, 107, 0.4), transparent 42%);
}
.faceid.is-scanning .faceid__radar { opacity: 1; animation: radarSpin 1.4s linear infinite; }
.faceid.is-scanning::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    z-index: 4;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    box-shadow: 0 0 18px var(--gold);
    animation: radarSweep 1.8s ease-in-out infinite;
}
.faceid.is-verified { border-color: #6fd68e; box-shadow: 0 0 28px rgba(111, 214, 142, 0.25); }
.faceid.is-denied { border-color: var(--ruby); box-shadow: 0 0 28px rgba(179, 54, 47, 0.3); }

@keyframes radarSpin { to { transform: rotate(360deg); } }
@keyframes radarSweep {
    0% { top: 4%; opacity: 0.2; }
    50% { top: 94%; opacity: 1; }
    100% { top: 4%; opacity: 0.2; }
}

.switch { display: inline-flex; align-items: center; gap: 11px; cursor: pointer; font-size: 0.76rem; color: var(--text-muted); letter-spacing: 1px; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch__track {
    width: 46px;
    height: 24px;
    border-radius: 100px;
    background: #1c1c1c;
    border: 1px solid var(--gold-line);
    position: relative;
    transition: background 0.3s ease;
    flex: none;
}
.switch__track::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e8cf92, var(--gold-dark));
    transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}
.switch input:checked + .switch__track { background: rgba(223, 186, 107, 0.22); }
.switch input:checked + .switch__track::after { transform: translateX(22px); }

/* Tryb nocny serwisanta – ochrona wzroku (ciepły, przygaszony filtr) */
body.night-shift { filter: sepia(0.22) brightness(0.82) contrast(0.94); }
body.night-shift .app-nav, body.night-shift .chat-dock { filter: none; }

.protocol { display: none; margin-top: 30px; }
.protocol.is-on { display: block; animation: badgeReveal 0.5s ease both; }
.protocol__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.protocol__row {
    border: 1px solid rgba(223, 186, 107, 0.16);
    padding: 13px 15px;
    background: #090909;
}
.protocol__row span { display: block; font-size: 0.64rem; letter-spacing: 1.6px; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 5px; }
.protocol__row strong { font-size: 0.9rem; color: #fff; font-weight: 500; }

.sign-pad { margin-top: 24px; }
.sign-pad__canvas {
    width: 100%;
    height: 210px;
    background: #fdfaf1;
    border: 1px solid var(--gold);
    border-radius: 2px;
    touch-action: none;
    cursor: crosshair;
    display: block;
    box-shadow: inset 0 0 26px rgba(0, 0, 0, 0.12);
}
.sign-pad__hint { display: flex; justify-content: space-between; gap: 12px; font-size: 0.7rem; color: var(--text-muted); margin-top: 8px; letter-spacing: 1px; }
.sign-pad__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.sign-pad__saved { display: none; margin-top: 18px; border: 1px solid var(--gold-line); padding: 14px; background: #080808; }
.sign-pad__saved.is-on { display: block; }
.sign-pad__saved img { width: 100%; max-width: 320px; background: #fdfaf1; border: 1px solid var(--gold-line); }

/* 8. Ukryty przycisk Właściciela + Master Seed ---------------------- */
.owner-key {
    position: absolute;
    right: 14px;
    bottom: 12px;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(223, 186, 107, 0.18);
    background: transparent;
    color: rgba(223, 186, 107, 0.34);
    font-size: 0.7rem;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.4s ease;
}
.owner-key:hover { color: var(--gold); border-color: var(--gold); box-shadow: 0 0 18px rgba(223, 186, 107, 0.3); transform: rotate(45deg); }

.luxe-overlay {
    position: fixed;
    inset: 0;
    z-index: 9800;
    display: none;
    place-items: center;
    padding: 22px;
    background: rgba(0, 0, 0, 0.93);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow-y: auto;
}
.luxe-overlay.is-open { display: grid; }
.luxe-overlay__box {
    width: 100%;
    max-width: 420px;
    background: linear-gradient(180deg, #131313, #050505);
    border: 1px solid var(--gold);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-luxe);
}
.luxe-overlay__box h3 { font-family: 'Cinzel', serif; color: var(--gold); letter-spacing: 2px; font-size: 1.05rem; margin-bottom: 8px; text-transform: uppercase; }
.luxe-overlay__box p { font-size: 0.83rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 22px; }

.seed-input {
    width: 190px;
    margin: 0 auto 8px;
    text-align: center;
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    letter-spacing: 12px;
    text-indent: 12px;
    background: #000;
    border: 1px solid var(--gold-line);
    color: var(--gold);
    padding: 14px 0;
    display: block;
}
.seed-input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 20px rgba(223, 186, 107, 0.2); }

/* 9. Panel Właściciela ---------------------------------------------- */
.owner-panel {
    position: fixed;
    inset: 0;
    z-index: 9600;
    display: none;
    background:
        radial-gradient(circle at 80% -10%, rgba(223, 186, 107, 0.09), transparent 55%),
        #060606;
    overflow-y: auto;
    padding: 0 0 60px;
}
.owner-panel.is-open { display: block; }

.owner-panel__bar {
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 15px 20px;
    background: rgba(6, 6, 6, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gold-line);
}
.owner-panel__bar h2 { font-family: 'Cinzel', serif; color: var(--gold); font-size: 0.92rem; letter-spacing: 2px; text-transform: uppercase; }
.owner-panel__bar .luxe-btn { padding: 9px 16px; font-size: 0.66rem; }

.owner-panel__tabs { display: flex; gap: 6px; overflow-x: auto; padding: 14px 20px 0; }
.owner-panel__tab {
    white-space: nowrap;
    background: transparent;
    border: 1px solid rgba(223, 186, 107, 0.2);
    color: var(--text-muted);
    font-family: 'Cinzel', serif;
    font-size: 0.68rem;
    letter-spacing: 1.4px;
    padding: 10px 15px;
    cursor: pointer;
    text-transform: uppercase;
}
.owner-panel__tab[aria-selected="true"] { color: #0a0a0a; background: linear-gradient(135deg, #e8cf92, var(--gold-dark)); border-color: var(--gold); }

.owner-panel__view { display: none; padding: 22px 20px 0; max-width: 1240px; margin: 0 auto; }
.owner-panel__view.is-on { display: block; }
.owner-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }

/* Pulpit finansowy */
.kpi { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 22px; }
.kpi__cell {
    border: 1px solid var(--gold-line);
    background: linear-gradient(160deg, rgba(223, 186, 107, 0.07), #070707);
    padding: 18px;
}
.kpi__cell span { display: block; font-size: 0.63rem; letter-spacing: 1.8px; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 8px; }
.kpi__cell b { font-family: 'Cinzel', serif; font-size: 1.6rem; color: #fff; }
.kpi__cell i { display: block; font-size: 0.7rem; color: var(--text-muted); font-style: normal; margin-top: 5px; }

.chart-bars { display: flex; align-items: flex-end; gap: 10px; height: 190px; padding: 10px 4px 0; border-bottom: 1px solid rgba(223, 186, 107, 0.2); }
.chart-bars__col { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 7px; height: 100%; }
.chart-bars__col i {
    width: 100%;
    max-width: 38px;
    background: linear-gradient(180deg, #f3dca6, var(--gold-dark));
    border-radius: 2px 2px 0 0;
    height: 0;
    transition: height 1s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 0 18px rgba(223, 186, 107, 0.2);
}
.chart-bars__col small { font-size: 0.6rem; letter-spacing: 1px; color: var(--text-muted); text-transform: uppercase; }
.chart-bars__col b { font-size: 0.66rem; color: var(--gold); font-family: 'Cinzel', serif; }

.chart-donut { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.chart-donut__ring {
    width: 158px;
    height: 158px;
    border-radius: 50%;
    position: relative;
    background: conic-gradient(var(--gold) 0deg, var(--gold) 0deg, #1d1d1d 0deg);
    transition: background 0.9s ease;
    flex: none;
}
.chart-donut__ring::after {
    content: '';
    position: absolute;
    inset: 22px;
    border-radius: 50%;
    background: #070707;
    border: 1px solid rgba(223, 186, 107, 0.15);
}
.chart-donut__center {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    z-index: 2;
    text-align: center;
}
.chart-donut__center b { font-family: 'Cinzel', serif; color: var(--gold); font-size: 1.15rem; }
.chart-donut__center span { display: block; font-size: 0.58rem; letter-spacing: 1.5px; color: var(--text-muted); text-transform: uppercase; }
.chart-legend { list-style: none; display: grid; gap: 9px; font-size: 0.78rem; color: #c3c3c3; }
.chart-legend li { display: flex; align-items: center; gap: 9px; }
.chart-legend i { width: 11px; height: 11px; border-radius: 2px; flex: none; }

/* Monitor live */
.live-list { display: grid; gap: 12px; }
.live-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
    border: 1px solid rgba(223, 186, 107, 0.16);
    background: #090909;
    padding: 14px 16px;
}
.live-row[data-role="owner"] { border-color: var(--gold); background: linear-gradient(120deg, rgba(223, 186, 107, 0.09), #090909); }
.live-row__who { font-family: 'Cinzel', serif; color: #fff; font-size: 0.92rem; letter-spacing: 0.6px; }
.live-row__meta { font-size: 0.72rem; color: var(--text-muted); margin-top: 4px; line-height: 1.6; }
.live-row__meta b { color: var(--gold-dark); }
.live-row .luxe-btn { padding: 9px 13px; font-size: 0.62rem; }
.live-row.is-taken { border-color: var(--ruby); }

/* Lista Zamowien (ksiega zabiegow) ---------------------------------- */
.order-list { display: grid; gap: 12px; margin-top: 18px; }
.order-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    align-items: center;
    border: 1px solid rgba(223, 186, 107, 0.16);
    border-left: 3px solid var(--amber);
    background: #090909;
    padding: 15px 17px;
}
.order-row[data-status="done"] { border-left-color: var(--emerald); background: linear-gradient(120deg, rgba(79, 157, 107, 0.08), #090909); }
.order-row__who { font-family: 'Cinzel', serif; color: #fff; font-size: 0.94rem; letter-spacing: 0.6px; }
.order-row__meta { font-size: 0.72rem; color: var(--text-muted); margin-top: 5px; line-height: 1.7; }
.order-row__meta b { color: var(--gold-dark); }
.order-row__side { display: grid; gap: 9px; justify-items: stretch; text-align: center; }
.order-row__status {
    font-size: 0.7rem;
    letter-spacing: 1px;
    padding: 6px 12px;
    border: 1px solid var(--gold-line);
    background: rgba(223, 186, 107, 0.06);
    color: #f1e3c4;
    white-space: nowrap;
}
.order-row[data-status="done"] .order-row__status { border-color: rgba(79, 157, 107, 0.5); color: #cfeeda; }
.order-row .luxe-btn { padding: 10px 14px; font-size: 0.62rem; }
@media (max-width: 640px) {
    .order-row { grid-template-columns: 1fr; }
    .order-row__side { justify-items: start; text-align: left; }
}

.live-log {
    margin-top: 20px;
    border: 1px solid rgba(223, 186, 107, 0.16);
    background: #050505;
    max-height: 290px;
    overflow-y: auto;
    font-family: 'Montserrat', monospace;
}
.live-log__row { display: flex; gap: 11px; padding: 9px 14px; font-size: 0.74rem; border-bottom: 1px solid rgba(255, 255, 255, 0.04); }
.live-log__row time { color: var(--gold-dark); flex: none; font-variant-numeric: tabular-nums; }
.live-log__row span { color: #bcbcbc; }
.live-log__row[data-type="vip"] span { color: #f0cd8a; }
.live-log__row[data-type="order"] span { color: #8fe0a8; }
.live-log__row[data-type="ritual"] span { color: #22d3ee; }

/* Edytor terminów */
.slot-editor { display: grid; gap: 14px; }
.slot-editor__row { border: 1px solid rgba(223, 186, 107, 0.18); background: #090909; padding: 16px; }
.slot-editor__row h4 { font-family: 'Cinzel', serif; color: var(--gold); font-size: 0.85rem; letter-spacing: 1px; margin-bottom: 12px; }
.slot-editor__fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 11px; }
.status-toggle { display: flex; gap: 6px; }
.status-toggle label { flex: 1; position: relative; cursor: pointer; }
.status-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.status-toggle span {
    display: block;
    text-align: center;
    font-size: 0.62rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 9px 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    transition: all 0.25s ease;
}
.status-toggle input:checked + span { border-color: var(--gold); color: #0a0a0a; background: linear-gradient(135deg, #e8cf92, var(--gold-dark)); }

/* 10. Czat AI ------------------------------------------------------- */
.chat-dock { position: fixed; right: 18px; bottom: 22px; z-index: 9150; }
body.is-app-mode .chat-dock { bottom: calc(var(--nav-h) + 16px + env(safe-area-inset-bottom, 0px)); }
body.is-app-mode .presence-pulse--chat { bottom: calc(var(--nav-h) + 86px + env(safe-area-inset-bottom, 0px)); }

.chat-bubble {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    border: 1px solid var(--gold);
    background: linear-gradient(140deg, #1b1610, #050505);
    color: var(--gold);
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.6), 0 0 22px rgba(223, 186, 107, 0.2);
    display: grid;
    place-items: center;
    transition: transform 0.3s ease;
    position: relative;
}
.chat-bubble:hover { transform: scale(1.06); }
.chat-bubble__badge {
    position: absolute;
    top: -3px;
    right: -3px;
    min-width: 20px;
    height: 20px;
    border-radius: 100px;
    background: var(--ruby);
    color: #fff;
    font-size: 0.66rem;
    display: none;
    place-items: center;
    padding: 0 5px;
    font-family: 'Montserrat', sans-serif;
}
.chat-bubble.has-unread .chat-bubble__badge { display: grid; }

.chat-window {
    position: fixed;
    right: 18px;
    bottom: 96px;
    z-index: 9160;
    width: min(380px, calc(100vw - 32px));
    max-height: min(620px, 78vh);
    display: none;
    flex-direction: column;
    background: linear-gradient(180deg, #111 0%, #050505 100%);
    border: 1px solid var(--gold);
    box-shadow: var(--shadow-luxe);
    overflow: hidden;
}
.chat-window.is-open { display: flex; animation: badgeReveal 0.35s ease both; }
body.is-app-mode .chat-window { bottom: calc(var(--nav-h) + 90px + env(safe-area-inset-bottom, 0px)); }

.chat-window__head {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 15px 16px;
    border-bottom: 1px solid var(--gold-line);
    background: rgba(223, 186, 107, 0.05);
}
.chat-window__head b { font-family: 'Cinzel', serif; color: var(--gold); font-size: 0.82rem; letter-spacing: 1.4px; display: block; }
.chat-window__head span { font-size: 0.66rem; color: var(--text-muted); letter-spacing: 1px; }
.chat-window__close { margin-left: auto; background: none; border: none; color: var(--text-muted); font-size: 1.2rem; cursor: pointer; line-height: 1; }

.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.chat-msg { max-width: 86%; padding: 11px 14px; font-size: 0.84rem; line-height: 1.6; border: 1px solid transparent; }
.chat-msg--bot { align-self: flex-start; background: #121212; border-color: rgba(223, 186, 107, 0.18); color: #ddd; }
.chat-msg--user { align-self: flex-end; background: linear-gradient(135deg, rgba(223, 186, 107, 0.16), rgba(223, 186, 107, 0.04)); border-color: var(--gold-line); color: #fff; }
.chat-msg--owner {
    align-self: flex-start;
    max-width: 96%;
    background: linear-gradient(135deg, rgba(179, 54, 47, 0.22), rgba(223, 186, 107, 0.1));
    border-color: var(--ruby);
    color: #fff;
    box-shadow: 0 0 22px rgba(179, 54, 47, 0.2);
}
.chat-msg--owner b { display: block; font-family: 'Cinzel', serif; color: var(--gold); font-size: 0.74rem; letter-spacing: 1.2px; margin-bottom: 6px; }
.chat-msg--report { align-self: stretch; max-width: 100%; background: #0a0a0a; border-color: var(--gold); }
.chat-msg--report h4 { font-family: 'Cinzel', serif; color: var(--gold); font-size: 0.8rem; letter-spacing: 1.2px; margin-bottom: 9px; text-transform: uppercase; }
.chat-msg--report ul { list-style: none; display: grid; gap: 5px; font-size: 0.78rem; color: #c9c9c9; }
.chat-msg--report ul b { color: #fff; font-weight: 600; }

.chat-typing { display: flex; gap: 5px; align-self: flex-start; padding: 12px 15px; border: 1px solid rgba(223, 186, 107, 0.15); background: #121212; }
.chat-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-dark); animation: typingBounce 1.2s ease-in-out infinite; }
.chat-typing i:nth-child(2) { animation-delay: 0.16s; }
.chat-typing i:nth-child(3) { animation-delay: 0.32s; }
@keyframes typingBounce { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-5px); opacity: 1; } }

.chat-quick { display: flex; gap: 7px; padding: 0 16px 12px; flex-wrap: wrap; }
.chat-quick button {
    font-size: 0.68rem;
    padding: 7px 11px;
    background: transparent;
    border: 1px solid rgba(223, 186, 107, 0.25);
    color: var(--gold);
    cursor: pointer;
    letter-spacing: 0.4px;
}
.chat-quick button:hover { background: rgba(223, 186, 107, 0.08); }

.chat-form { display: flex; gap: 9px; padding: 13px 16px; border-top: 1px solid var(--gold-line); background: #080808; }
.chat-form input { flex: 1; background: #000; border: 1px solid rgba(223, 186, 107, 0.2); color: #fff; padding: 11px 12px; font-size: 0.85rem; }
.chat-form input:focus { outline: none; border-color: var(--gold); }
.chat-form button { flex: none; width: 44px; border: 1px solid var(--gold); background: linear-gradient(135deg, #e8cf92, var(--gold-dark)); color: #0a0a0a; cursor: pointer; font-size: 1rem; }

/* 11. Status rytuału + toasty --------------------------------------- */
.ritual-status { padding: 56px 20px; }
.ritual-timeline { max-width: 760px; margin: 0 auto; display: grid; gap: 0; }
.ritual-step {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 16px;
    padding-bottom: 24px;
    position: relative;
}
.ritual-step::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 30px;
    bottom: 0;
    width: 1px;
    background: rgba(223, 186, 107, 0.2);
}
.ritual-step:last-child { padding-bottom: 0; }
.ritual-step:last-child::before { display: none; }
.ritual-step__dot {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--gold-line);
    display: grid;
    place-items: center;
    background: #080808;
    font-size: 0.9rem;
    z-index: 2;
}
.ritual-step.is-done .ritual-step__dot { border-color: var(--gold); background: linear-gradient(135deg, #e8cf92, var(--gold-dark)); color: #0a0a0a; }
.ritual-step h4 { font-family: 'Cinzel', serif; color: var(--gold); font-size: 0.88rem; letter-spacing: 1px; margin-bottom: 5px; }
.ritual-step p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.65; }

.toast-dock {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9900;
    display: grid;
    gap: 9px;
    width: min(440px, calc(100vw - 24px));
    pointer-events: none;
}
.toast {
    border: 1px solid var(--gold);
    background: rgba(8, 8, 8, 0.97);
    padding: 13px 16px;
    font-size: 0.82rem;
    color: #eee;
    box-shadow: var(--shadow-luxe);
    animation: toastIn 0.4s cubic-bezier(0.19, 1, 0.22, 1) both;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.toast.is-out { animation: toastOut 0.35s ease forwards; }
.toast--alert { border-color: var(--ruby); }
.toast--ok { border-color: var(--emerald); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-14px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-12px); } }

/* 12. Responsywność ------------------------------------------------- */
@media (max-width: 860px) {
    .club__layout { grid-template-columns: 1fr; }
    .luxe-card { padding: 22px 18px; }
    .vault { padding: 26px 20px; }
    .vault__count b { font-size: 2.8rem; }
    .pwa-banner { grid-template-columns: auto 1fr; gap: 11px; }
    .pwa-banner__actions { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
    .owner-panel__view { padding: 18px 14px 0; }
    .chart-donut { justify-content: center; }
}

@media (max-width: 520px) {
    .blik-pad__code input { width: 40px; height: 50px; font-size: 1.25rem; }
    .card-panel__row { grid-template-columns: 1fr; }
    .club { padding: 52px 14px; }
    .booking, .courier, .ritual-status { padding: 48px 14px; }
}

@media (prefers-reduced-motion: reduce) {
    .vault::before,
    .presence-pulse,
    .presence-pulse__orb,
    .faceid.is-scanning .faceid__radar,
    .faceid.is-scanning::after { animation: none; }
    .pwa-banner, .chart-bars__col i, .vault__meter i { transition: none; }
}

/* Tryb aplikacji (standalone) – ukrywamy elementy typowo przeglądarkowe */
@media all and (display-mode: standalone) {
    .pwa-banner { display: none !important; }
}

/* =====================================================================
   CYFROWE JACUZZI – unikalny modul wizualny w miejsce klasycznego koszyka
   ===================================================================== */

/* 1. Zakladka „Jacuzzi” w dolnym pasku ------------------------------- */
.app-nav a.has-cargo { color: var(--gold); }

.app-nav a.is-splash svg {
    animation: jacuzzi-splash 0.9s cubic-bezier(0.2, 0.9, 0.3, 1.4);
}

@keyframes jacuzzi-splash {
    0% { transform: scale(1); }
    25% { transform: scale(1.34) translateY(2px); }
    55% { transform: scale(0.9) translateY(-2px); }
    100% { transform: scale(1); }
}

.app-nav a.is-splash::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    width: 34px;
    height: 34px;
    margin-left: -17px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    animation: jacuzzi-ring 0.9s ease-out forwards;
    pointer-events: none;
}

@keyframes jacuzzi-ring {
    0% { transform: scale(0.2); opacity: 0.9; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* 2. Lot miniatury smartfona do wanny -------------------------------- */
.jacuzzi-flight {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9600;
    pointer-events: none;
    /* Poziom leci liniowo, pion spada z przyspieszeniem – razem daja luk. */
    transition: transform 1.1s linear;
    will-change: transform;
}

.jacuzzi-flight__phone {
    position: absolute;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    color: var(--gold);
    background: radial-gradient(circle at 30% 25%, rgba(223, 186, 107, 0.4), rgba(6, 6, 6, 0.95));
    border: 1px solid var(--gold);
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6), 0 0 22px rgba(223, 186, 107, 0.45);
    transform: translate(-50%, -50%);
    transition: transform 1.1s cubic-bezier(0.45, 0, 0.75, 0.6), opacity 1.1s ease-in;
    will-change: transform, opacity;
}

.jacuzzi-flight__phone svg { width: 24px; height: 24px; }

/* 3. Panel wanny ----------------------------------------------------- */
.jacuzzi {
    position: fixed;
    inset: 0;
    z-index: 9400;
    display: none;
    align-items: flex-end;
    justify-content: center;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.jacuzzi.is-open { display: flex; }
body.is-jacuzzi-open { overflow: hidden; }

.jacuzzi__sheet {
    position: relative;
    width: min(560px, 100%);
    max-height: 92vh;
    overflow-y: auto;
    padding: 26px 22px calc(28px + var(--nav-h));
    background: linear-gradient(180deg, var(--panel-2), var(--ink));
    border: 1px solid var(--gold-line);
    border-bottom: none;
    border-radius: 14px 14px 0 0;
    box-shadow: var(--shadow-luxe);
    animation: jacuzzi-rise 0.42s cubic-bezier(0.2, 0.8, 0.25, 1);
}

@keyframes jacuzzi-rise {
    from { transform: translateY(34px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.jacuzzi__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold-line);
    border-radius: 50%;
    font-size: 0.9rem;
    cursor: pointer;
}

.jacuzzi__title {
    margin: 0 0 4px;
    font-family: 'Cinzel', serif;
    color: var(--gold);
    letter-spacing: 3px;
    font-size: 1.15rem;
    text-transform: uppercase;
}

.jacuzzi__lead {
    margin: 0 0 18px;
    font-size: 0.86rem;
    line-height: 1.6;
    color: var(--text-muted, #9b9b9b);
    min-height: 2.6em;
}

/* 4. Wanna: woda, dysze, babelki, zanurzony smartfon ----------------- */
.jacuzzi__tub {
    position: relative;
    height: 230px;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 12px 12px 26px 26px;
    border: 1px solid var(--gold-line);
    background: radial-gradient(circle at 50% 0%, rgba(223, 186, 107, 0.1), rgba(4, 4, 4, 0.96));
}

.jacuzzi__svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.jacuzzi__svg .jacuzzi-rim { stroke: var(--gold); fill: none; stroke-width: 1.2; opacity: 0.75; }
.jacuzzi__svg .jacuzzi-jet { fill: var(--gold); opacity: 0.35; }

/* Woda spokojna i sterylna: zero ruchu, gdy wanna jest pusta. */
.jacuzzi__water {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 58%;
    background: linear-gradient(180deg, rgba(120, 180, 190, 0.26), rgba(12, 32, 38, 0.92));
    transition: height 1.1s cubic-bezier(0.25, 0.9, 0.3, 1);
}

.jacuzzi__water::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(223, 186, 107, 0.7), transparent);
}

.jacuzzi__wave {
    position: absolute;
    left: -50%;
    top: -9px;
    width: 200%;
    height: 18px;
    border-radius: 45%;
    background: rgba(223, 186, 107, 0.12);
    opacity: 0;
}

.jacuzzi.has-cargo .jacuzzi__water,
.jacuzzi.is-rippling .jacuzzi__water { height: 63%; }

.jacuzzi.is-rippling .jacuzzi__wave {
    opacity: 1;
    animation: jacuzzi-wave 1.4s ease-out;
}

@keyframes jacuzzi-wave {
    0% { transform: translateX(0) scaleY(0.4); opacity: 0.8; }
    100% { transform: translateX(6%) scaleY(1.4); opacity: 0; }
}

.jacuzzi__bubbles {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 88%;
    z-index: 2;
    pointer-events: none;
}

.jacuzzi__bubbles i {
    position: absolute;
    bottom: -18px;
    border-radius: 50%;
    background: radial-gradient(circle at 32% 28%, #fff6dd, rgba(223, 186, 107, 0.85) 42%, rgba(223, 186, 107, 0.12) 72%);
    box-shadow: 0 0 12px rgba(223, 186, 107, 0.7);
    opacity: 0;
}

/* Autoryzacja platnosci: woda podnosi sie i wrze zlotymi babelkami. */
.jacuzzi.is-renewing .jacuzzi__water { height: 88%; }

.jacuzzi.is-renewing .jacuzzi__wave {
    opacity: 1;
    animation: jacuzzi-boil 0.9s ease-in-out infinite alternate;
}

.jacuzzi.is-renewing .jacuzzi__wave:nth-child(2) { animation-delay: 0.32s; }

@keyframes jacuzzi-boil {
    from { transform: translateX(-3%) scaleY(0.7); }
    to { transform: translateX(3%) scaleY(1.5); }
}

.jacuzzi.is-renewing .jacuzzi__bubbles i {
    animation-name: jacuzzi-bubble;
    animation-timing-function: ease-in;
    animation-iteration-count: infinite;
}

@keyframes jacuzzi-bubble {
    0% { transform: translateY(0) scale(0.55); opacity: 0; }
    14% { opacity: 0.95; }
    70% { opacity: 0.9; }
    100% { transform: translateY(-205px) scale(1.25); opacity: 0; }
}

.jacuzzi.is-renewing .jacuzzi__svg .jacuzzi-jet {
    animation: jacuzzi-jet 0.7s ease-in-out infinite alternate;
}

@keyframes jacuzzi-jet {
    from { opacity: 0.2; }
    to { opacity: 1; }
}

/* Zanurzony smartfon w trakcie odnowy biologicznej. */
.jacuzzi__phone {
    position: absolute;
    left: 50%;
    top: 34%;
    z-index: 2;
    width: 64px;
    height: 104px;
    margin-left: -32px;
    display: grid;
    place-items: center;
    color: var(--gold);
    background: linear-gradient(160deg, rgba(30, 30, 30, 0.95), rgba(8, 8, 8, 0.95));
    border: 1px solid var(--gold-line);
    border-radius: 10px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.7);
    transition: transform 1.2s cubic-bezier(0.25, 0.9, 0.3, 1), opacity 0.8s ease;
    opacity: 0.35;
}

.jacuzzi__phone svg { width: 30px; height: 30px; stroke: currentColor; fill: none; stroke-width: 1.3; }

.jacuzzi.has-cargo .jacuzzi__phone { opacity: 0.85; }

.jacuzzi.is-renewing .jacuzzi__phone {
    opacity: 1;
    border-color: var(--gold);
    box-shadow: 0 0 34px rgba(223, 186, 107, 0.55);
    animation: jacuzzi-soak 2.1s ease-in-out infinite alternate;
}

@keyframes jacuzzi-soak {
    from { transform: translateY(6px) rotate(-4deg); }
    to { transform: translateY(22px) rotate(5deg); }
}

/* 5. Lista rytualow w wannie ----------------------------------------- */
.jacuzzi__list {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    display: grid;
    gap: 8px;
}

.jacuzzi__list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 13px;
    font-size: 0.82rem;
    color: #ddd;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--gold-soft);
    border-radius: var(--radius);
}

.jacuzzi__list li b { color: var(--gold); font-weight: 600; white-space: nowrap; }
.jacuzzi__list .jacuzzi__empty { justify-content: center; color: var(--text-muted, #9b9b9b); font-style: italic; }

.jacuzzi__cta {
    display: block;
    padding: 14px;
    text-align: center;
    font-family: 'Cinzel', serif;
    letter-spacing: 2px;
    font-size: 0.82rem;
    text-transform: uppercase;
    color: var(--ink);
    background: linear-gradient(135deg, var(--gold), #f0d79a);
    border-radius: var(--radius);
    text-decoration: none;
}

/* =====================================================================
   SILNIK POJEMNOSCI – zywy licznik wolnych miejsc na kafelkach
   ===================================================================== */
.capacity-note {
    margin: 14px 0 12px;
    padding: 9px 12px;
    font-size: 0.78rem;
    line-height: 1.5;
    letter-spacing: 0.4px;
    color: var(--gold);
    background: rgba(223, 186, 107, 0.07);
    border: 1px solid var(--gold-soft);
    border-left: 2px solid var(--gold);
    border-radius: var(--radius);
}

.capacity-note.is-soon {
    color: var(--amber);
    background: rgba(213, 155, 58, 0.09);
    border-left-color: var(--amber);
}

.capacity-note.is-full {
    color: #e0b9b5;
    background: rgba(179, 54, 47, 0.1);
    border-left-color: var(--ruby);
}

@media (max-width: 520px) {
    .jacuzzi__sheet { padding: 22px 15px calc(24px + var(--nav-h)); }
    .jacuzzi__tub { height: 200px; }
    .app-nav a { font-size: 0.52rem; letter-spacing: 0.4px; padding: 10px 2px 8px; }
    .app-nav a svg { width: 19px; height: 19px; }
}

@media (prefers-reduced-motion: reduce) {
    .jacuzzi__sheet,
    .jacuzzi__wave,
    .jacuzzi__bubbles i,
    .jacuzzi.is-renewing .jacuzzi__phone,
    .jacuzzi.is-renewing .jacuzzi__svg .jacuzzi-jet,
    .app-nav a.is-splash svg,
    .app-nav a.is-splash::after { animation: none; }
    .jacuzzi__water, .jacuzzi__phone, .jacuzzi-flight, .jacuzzi-flight__phone { transition: none; }
}

/* Znacznik kolejki w wannie – zapala sie, gdy Jacuzzi trzyma rytual. */
.app-nav__dot.is-on { display: block; }

/* =====================================================================
   SILNIK POJEMNOSCI – widok Wlasciciela: pasek doby i kalendarz zabiegu
   ===================================================================== */
.order-capacity {
    margin: 0 0 16px;
    padding: 11px 14px;
    font-size: 0.76rem;
    letter-spacing: 0.5px;
    color: #f1e3c4;
    background: rgba(223, 186, 107, 0.07);
    border: 1px solid var(--gold-soft);
    border-left: 2px solid var(--gold);
    border-radius: var(--radius);
}

.order-capacity b { color: var(--gold); }

.order-capacity.is-full {
    color: #e0b9b5;
    background: rgba(179, 54, 47, 0.1);
    border-left-color: var(--ruby);
}

.order-capacity.is-full b { color: #f0c8c4; }

.order-row__day {
    font-size: 0.68rem;
    letter-spacing: 0.6px;
    color: #cfeeda;
    padding: 5px 10px;
    border: 1px dashed rgba(79, 157, 107, 0.5);
    white-space: nowrap;
}

/* Modal kalendarza -------------------------------------------------- */
.order-cal {
    position: fixed;
    inset: 0;
    z-index: 9800;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(0, 0, 0, 0.9);
    opacity: 0;
    transition: opacity 0.18s ease;
}

.order-cal.is-on { opacity: 1; }

.order-cal__sheet {
    position: relative;
    width: min(520px, 100%);
    max-height: 88vh;
    overflow-y: auto;
    padding: 26px 22px 24px;
    background: linear-gradient(180deg, var(--panel-2), var(--ink));
    border: 1px solid var(--gold-line);
    border-radius: 10px;
    box-shadow: var(--shadow-luxe);
}

.order-cal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold-line);
    border-radius: 50%;
    cursor: pointer;
}

.order-cal__sheet h4 {
    margin: 0 0 8px;
    font-family: 'Cinzel', serif;
    color: var(--gold);
    letter-spacing: 2px;
    font-size: 0.98rem;
    text-transform: uppercase;
}

.order-cal__lead {
    margin: 0 0 18px;
    font-size: 0.78rem;
    line-height: 1.6;
    color: var(--text-muted, #9b9b9b);
}

.order-cal__lead b { color: var(--gold); }

.order-cal__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
    gap: 9px;
}

.order-cal__day {
    display: grid;
    gap: 2px;
    padding: 11px 6px;
    text-align: center;
    cursor: pointer;
    color: #f1e3c4;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--gold-soft);
    border-radius: var(--radius);
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.order-cal__day:hover:not(:disabled) {
    border-color: var(--gold);
    background: rgba(223, 186, 107, 0.1);
    transform: translateY(-2px);
}

.order-cal__when { font-size: 0.64rem; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); }
.order-cal__day b { font-family: 'Cinzel', serif; font-size: 1.32rem; color: #fff; line-height: 1.1; }
.order-cal__day small { font-size: 0.58rem; letter-spacing: 0.5px; color: var(--text-muted, #9b9b9b); }

/* Doba bez wolnego miejsca laboratoryjnego – wygaszona i nieklikalna. */
.order-cal__day.is-full {
    cursor: not-allowed;
    opacity: 0.42;
    border-color: rgba(179, 54, 47, 0.45);
    background: rgba(179, 54, 47, 0.08);
}

.order-cal__day:disabled { cursor: not-allowed; }

@media (prefers-reduced-motion: reduce) {
    .order-cal, .order-cal__day { transition: none; }
}

/* =====================================================================
   KONFIGURATOR RYTUALU + SKUMULOWANA WYCENA PAKIETU

   Zloto zostaje jezykiem marki, a neonowy blyszczacy blekit (cyan)
   pracuje wylacznie jako kolor PIENIEDZY: wycena pakietu w Jacuzzi,
   licznik nad ikona wanny i cena koncowa w konfiguratorze. Klient
   jednym spojrzeniem oddziela opis rytualu od kwoty.
   ===================================================================== */
:root {
    --neon: #22d3ee;
    --neon-deep: #0891b2;
    --neon-line: rgba(34, 211, 238, 0.32);
}

/* Neonowa typografia kwot – odpowiednik .text-neon-cyan z makiety. */
.is-neon {
    color: var(--neon);
    text-shadow: 0 0 5px #06b6d4, 0 0 15px var(--neon-deep), 0 0 30px var(--neon-deep);
}

/* 1. Licznik rytualow na ikonie Jacuzzi ------------------------------ */
.app-nav__count {
    position: absolute;
    top: 5px;
    right: 18%;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 9px;
    display: none;
    place-items: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    line-height: 17px;
    text-align: center;
    color: #04262c;
    background: var(--neon);
    box-shadow: 0 0 12px rgba(34, 211, 238, 0.75);
}

.app-nav__count.is-on { display: block; }

/* 2. Neonowy licznik pakietu nad wanna (blyska przy wpadnieciu) ------ */
.neon-total {
    position: fixed;
    left: 50%;
    bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px) + 22px);
    z-index: 9400;
    transform: translate(-50%, 14px);
    display: grid;
    justify-items: center;
    gap: 2px;
    padding: 12px 22px;
    pointer-events: none;
    opacity: 0;
    text-align: center;
    background: rgba(4, 12, 14, 0.92);
    border: 1px solid var(--neon-line);
    border-radius: var(--radius);
    box-shadow: 0 0 22px rgba(34, 211, 238, 0.28), inset 0 0 18px rgba(34, 211, 238, 0.12);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.2, 0.8, 0.25, 1);
}

.neon-total.is-on { opacity: 1; transform: translate(-50%, 0); }

.neon-total__label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.56rem;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.neon-total__value {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    letter-spacing: 1.5px;
    color: var(--neon);
    text-shadow: 0 0 5px #06b6d4, 0 0 15px var(--neon-deep), 0 0 30px var(--neon-deep);
}

.neon-total__meta { font-size: 0.62rem; color: #bcd9de; letter-spacing: 0.6px; }

/* 3. Pozycje i wycena w panelu Jacuzzi ------------------------------- */
.jacuzzi__item { display: grid; gap: 2px; }
.jacuzzi__item i {
    font-style: normal;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

/* Wyjecie jednego rytualu z wanny – wycena schodzi natychmiast. */
.jacuzzi__drop {
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    font-size: 0.72rem;
    color: var(--text-muted);
    background: transparent;
    border: 1px solid var(--gold-soft);
    border-radius: 50%;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.jacuzzi__drop:hover, .jacuzzi__drop:focus-visible {
    color: var(--ruby);
    border-color: var(--ruby);
    outline: none;
}

.jacuzzi__sum {
    display: grid;
    justify-items: center;
    gap: 3px;
    margin: 0 0 16px;
    padding: 14px;
    text-align: center;
    background: rgba(34, 211, 238, 0.05);
    border: 1px solid var(--neon-line);
    border-radius: var(--radius);
    box-shadow: inset 0 0 18px rgba(34, 211, 238, 0.08);
}

.jacuzzi__sum-label {
    font-size: 0.56rem;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.jacuzzi__sum-value {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    letter-spacing: 1.5px;
    color: var(--neon);
    text-shadow: 0 0 5px #06b6d4, 0 0 15px var(--neon-deep), 0 0 30px var(--neon-deep);
}

.jacuzzi__sum-meta { font-size: 0.66rem; color: #bcd9de; letter-spacing: 0.5px; }

/* 4. Arkusz Konfiguratora Rytualu ------------------------------------ */
.konfig {
    position: fixed;
    inset: 0;
    z-index: 9500;
    display: none;
    align-items: flex-end;
    justify-content: center;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.konfig.is-open { display: flex; }
body.is-konfig-open { overflow: hidden; }

.konfig__sheet {
    position: relative;
    width: min(560px, 100%);
    max-height: 88vh;
    overflow-y: auto;
    padding: 30px 24px calc(26px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, var(--panel-2) 0%, var(--ink) 100%);
    border: 1px solid var(--gold-line);
    border-bottom: none;
    border-radius: var(--radius) var(--radius) 0 0;
    box-shadow: var(--shadow-luxe);
    animation: jacuzzi-rise 0.42s cubic-bezier(0.2, 0.8, 0.25, 1);
}

.konfig__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    color: var(--text-muted);
    background: transparent;
    border: 1px solid var(--gold-soft);
    border-radius: 50%;
    cursor: pointer;
}

.konfig__step {
    display: block;
    margin-bottom: 8px;
    font-size: 0.58rem;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: var(--neon);
}

.konfig__title {
    margin: 0 0 8px;
    font-family: 'Cinzel', serif;
    font-size: 1.12rem;
    letter-spacing: 1px;
    color: var(--gold);
}

.konfig__lead {
    margin: 0 0 20px;
    font-size: 0.8rem;
    line-height: 1.65;
    color: #c9c9c9;
}

.konfig__body {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

/* Kafelek marki albo modelu: nazwa po lewej, neonowa kwota pod nia. */
.konfig-tile {
    display: grid;
    gap: 4px;
    padding: 14px 15px;
    text-align: left;
    color: #e9e9e9;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--gold-soft);
    border-radius: var(--radius);
    cursor: pointer;
    transition: border-color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.konfig-tile:hover, .konfig-tile:focus-visible {
    border-color: var(--neon);
    background: rgba(34, 211, 238, 0.07);
    transform: translateY(-2px);
    outline: none;
}

.konfig-tile__name {
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    letter-spacing: 0.8px;
    color: var(--gold);
}

.konfig-tile__price {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--neon);
    text-shadow: 0 0 10px rgba(34, 211, 238, 0.55);
}

.konfig-tile__meta { font-size: 0.64rem; letter-spacing: 0.6px; color: var(--text-muted); }

.konfig-tile--model { grid-template-columns: 1fr auto; align-items: center; }

/* Krok trzeci: cena koncowa rytualu dla wskazanego modelu. */
.konfig-quote {
    grid-column: 1 / -1;
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 22px 18px;
    text-align: center;
    background: rgba(34, 211, 238, 0.05);
    border: 1px solid var(--neon-line);
    border-radius: var(--radius);
    box-shadow: inset 0 0 20px rgba(34, 211, 238, 0.1);
}

.konfig-quote__device {
    font-size: 0.66rem;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.konfig-quote__price {
    font-family: 'Cinzel', serif;
    font-size: 2.1rem;
    letter-spacing: 2px;
    color: var(--neon);
    text-shadow: 0 0 5px #06b6d4, 0 0 15px var(--neon-deep), 0 0 30px var(--neon-deep);
}

.konfig-quote__spec {
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
    display: grid;
    gap: 5px;
    font-size: 0.76rem;
    color: #c9c9c9;
}

.konfig-quote__spec li::before { content: '✦ '; color: var(--gold); }

.konfig-quote__cumulative {
    margin: 8px 0 0;
    font-size: 0.74rem;
    line-height: 1.6;
    color: #bcd9de;
}

.konfig-quote__cumulative b { color: var(--neon); }

.konfig__foot { display: grid; gap: 10px; }

.konfig-cta {
    padding: 15px;
    font-family: 'Cinzel', serif;
    font-size: 0.82rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ink);
    background: linear-gradient(135deg, var(--gold), #f0d79a);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
}

.konfig-back {
    padding: 11px;
    font-size: 0.72rem;
    letter-spacing: 1px;
    color: var(--text-muted);
    background: transparent;
    border: 1px solid var(--gold-soft);
    border-radius: var(--radius);
    cursor: pointer;
}

.konfig-back:hover, .konfig-back:focus-visible { color: var(--gold); border-color: var(--gold-line); outline: none; }

@media (prefers-reduced-motion: reduce) {
    .konfig__sheet { animation: none; }
    .neon-total { transition: opacity 0.2s ease; }
    .konfig-tile:hover { transform: none; }
}
