/* ═══════════════════════════════════════════════════════════════
   LAHA DESIGN SYSTEM  v4.0  — "BLOSSOM"
   Rose × Midnight Plum  |  Unified Web + App
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

/* ── 1. TOKENS ─────────────────────────────────────────────── */
:root {
    /* Primary — Plum */
    --p900: #3D0D32;
    --p800: #5C1A4A;
    --p700: #7C3663;
    --p600: #9C4A7D;
    --p500: #B05A8A;
    --p400: #C47BAA;
    --p300: #D8A0C3;
    --p200: #ECC5DC;
    --p100: #F5E3EE;
    --p50: #FBF3F8;

    /* Accent — Rose Pink */
    --a500: #FF4F8B;
    --a400: #FF7AAB;
    --a300: #FFAAC8;
    --a200: #FFD5E6;
    --a100: #FFF0F6;

    /* Neutral */
    --n900: #1A1020;
    --n800: #2E1F2D;
    --n700: #4A3548;
    --n600: #6B5268;
    --n500: #8E7389;
    --n400: #B0A0AE;
    --n300: #D0C5CE;
    --n200: #E8E0E6;
    --n100: #F5F1F4;
    --n50: #FAFAFA;

    /* Semantic */
    --success: #25B882;
    --warning: #F59E0B;
    --danger: #EF4444;
    --info: #3B82F6;

    /* Surface */
    --bg: #FAFAF8;
    --surface: #FFFFFF;
    --surface2: #F7F2F6;
    --overlay: rgba(26, 16, 32, 0.5);

    /* Text */
    --txt: #1A1020;
    --txt2: #6B5268;
    --txt3: #B0A0AE;
    --onDark: rgba(255, 255, 255, 0.92);

    /* Border */
    --bdr1: #EDE6EB;
    --bdr2: #DDD3DA;

    /* Shadows */
    --sh0: 0 1px 3px rgba(26, 16, 32, 0.06);
    --sh1: 0 4px 16px rgba(26, 16, 32, 0.08);
    --sh2: 0 8px 32px rgba(26, 16, 32, 0.12);
    --sh3: 0 20px 60px rgba(26, 16, 32, 0.18);
    --sh-plum: 0 8px 32px rgba(176, 90, 138, 0.28);
    --sh-rose: 0 8px 28px rgba(255, 79, 139, 0.30);

    /* Radius */
    --r-xs: 6px;
    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 24px;
    --r-xl: 32px;
    --r-full: 999px;

    /* Space */
    --sp-1: 4px;
    --sp-2: 8px;
    --sp-3: 12px;
    --sp-4: 16px;
    --sp-5: 20px;
    --sp-6: 24px;
    --sp-8: 32px;
    --sp-10: 40px;

    /* Motion */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --tr: all 0.24s var(--ease);
    --tr-slow: all 0.4s var(--ease);

    /* App dimensions */
    --topbar-h: 60px;
    --bottomnav-h: 70px;
}

/* Dark mode */
@media(prefers-color-scheme:dark) {
    :root {
        --bg: #13091A;
        --surface: #1E1127;
        --surface2: #271634;
        --txt: #F0EBF4;
        --txt2: #C0AEC0;
        --txt3: #7A6878;
        --bdr1: #3A2540;
        --bdr2: #4A3550;
        --n50: #1E1127;
        --n100: #271634;
    }
}

/* ── 2. RESET & BASE ─────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Cairo', sans-serif !important;
    background: var(--bg) !important;
    color: var(--txt) !important;
    direction: rtl;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: 'Cairo', sans-serif;
    cursor: pointer;
    border: none;
    background: none;
}

input,
select,
textarea {
    font-family: 'Cairo', sans-serif;
}

::-webkit-scrollbar {
    display: none;
}

::selection {
    background: var(--p200);
    color: var(--p800);
}

/* ── 3. TYPOGRAPHY SCALE ─────────────────────────────────────── */
.t-display {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.t-h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.t-h2 {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 700;
    line-height: 1.3;
}

.t-h3 {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4;
}

.t-h4 {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
}

.t-body {
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.75;
}

.t-sm {
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.6;
}

.t-xs {
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.5;
}

.t-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.t-grad {
    background: linear-gradient(135deg, var(--p500), var(--a500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── 4. BUTTON SYSTEM ────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--r-full);
    font-family: 'Cairo', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    transition: var(--tr);
    white-space: nowrap;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--p500), var(--p700));
    color: #fff;
    box-shadow: var(--sh-plum);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(176, 90, 138, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-rose {
    background: linear-gradient(135deg, var(--a500), var(--p500));
    color: #fff;
    box-shadow: var(--sh-rose);
}

.btn-rose:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(255, 79, 139, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--p600);
    border: 1.5px solid var(--p300);
}

.btn-outline:hover {
    background: var(--p50);
    border-color: var(--p500);
}

.btn-ghost {
    background: var(--surface2);
    color: var(--txt2);
}

.btn-ghost:hover {
    background: var(--p100);
    color: var(--p700);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.82rem;
}

.btn-lg {
    padding: 16px 34px;
    font-size: 1rem;
}

.btn-icon {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
}

.btn-icon-sm {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
}

/* ── 5. CARD SYSTEM ──────────────────────────────────────────── */
.card {
    background: var(--surface);
    border-radius: var(--r-lg);
    border: 1px solid var(--bdr1);
    box-shadow: var(--sh0);
    transition: var(--tr);
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--sh2);
    border-color: var(--p200);
    transform: translateY(-3px);
}

.card-flat {
    background: var(--surface2);
    border-radius: var(--r-lg);
    padding: 20px;
}

.card-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--r-lg);
}

/* ── 6. FORM ELEMENTS ────────────────────────────────────────── */
.input {
    width: 100%;
    padding: 12px 16px;
    background: var(--surface2);
    border: 1.5px solid var(--bdr1) !important;
    border-radius: var(--r-md) !important;
    font-family: 'Cairo', sans-serif;
    font-size: 0.9rem;
    color: var(--txt) !important;
    transition: var(--tr) !important;
    outline: none;
}

.input:focus {
    border-color: var(--p500) !important;
    background: var(--surface) !important;
    box-shadow: 0 0 0 3px rgba(176, 90, 138, 0.12) !important;
}

.input::placeholder {
    color: var(--txt3);
}

.label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--txt2);
    margin-bottom: 6px;
    display: block;
}

.input-wrap {
    position: relative;
}

.input-wrap .input {
    padding-right: 42px;
}

.input-wrap .input-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--txt3);
    font-size: 1rem;
    pointer-events: none;
}

/* ─── Override Bootstrap + old styles ─── */
.form-control,
.form-select {
    border: 1.5px solid var(--bdr1) !important;
    border-radius: var(--r-md) !important;
    background: var(--surface2) !important;
    font-family: 'Cairo', sans-serif !important;
    color: var(--txt) !important;
    transition: var(--tr) !important;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--p500) !important;
    box-shadow: 0 0 0 3px rgba(176, 90, 138, 0.12) !important;
    background: var(--surface) !important;
}

/* ── 7. BADGE / TAG  ─────────────────────────────────────────── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 12px;
    border-radius: var(--r-full);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.badge-plum {
    background: var(--p100);
    color: var(--p700);
}

.badge-rose {
    background: var(--a100);
    color: #b03060;
}

.badge-success {
    background: rgba(37, 184, 130, 0.1);
    color: #1a9a6e;
}

.badge-warning {
    background: rgba(245, 158, 11, 0.1);
    color: #c47d00;
}

.badge-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #c0392b;
}

/* ── 8. AVATAR ───────────────────────────────────────────────── */
.avatar {
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--bdr1);
}

.avatar-sm {
    width: 34px;
    height: 34px;
}

.avatar-md {
    width: 46px;
    height: 46px;
}

.avatar-lg {
    width: 68px;
    height: 68px;
    border-width: 3px;
}

.avatar-xl {
    width: 96px;
    height: 96px;
    border-width: 4px;
}

.avatar-plum {
    border-color: var(--p300);
    box-shadow: 0 0 0 4px var(--p100);
}

/* ── 9. RATING STARS ─────────────────────────────────────────── */
.stars {
    color: var(--warning);
    font-size: 0.78rem;
    letter-spacing: 1px;
}

.stars.sm {
    font-size: 0.65rem;
}

/* ── 10. DIVIDER ────────────────────────────────────────────── */
.divider {
    height: 1px;
    background: var(--bdr1);
    margin: 16px 0;
}

.divider-v {
    width: 1px;
    background: var(--bdr1);
    align-self: stretch;
}

/* ── 11. SKELETON ───────────────────────────────────────────── */
.skel {
    background: linear-gradient(90deg, var(--surface2) 25%, var(--bdr1) 50%, var(--surface2) 75%);
    background-size: 200% 100%;
    animation: skel-anim 1.5s infinite;
    border-radius: var(--r-sm);
}

@keyframes skel-anim {
    from {
        background-position: 200% 0;
    }

    to {
        background-position: -200% 0;
    }
}

/* ── 12. TOAST ──────────────────────────────────────────────── */
.toast {
    position: fixed;
    bottom: calc(var(--bottomnav-h) + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--n800);
    color: #fff;
    padding: 12px 24px;
    border-radius: var(--r-full);
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Cairo', sans-serif;
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s var(--ease);
    white-space: nowrap;
    box-shadow: var(--sh3);
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast.success {
    background: linear-gradient(135deg, #25B882, #1a9a6e);
}

.toast.error {
    background: linear-gradient(135deg, #EF4444, #c0392b);
}

/* ── 13. MODAL ──────────────────────────────────────────────── */
.modal-content {
    border-radius: var(--r-xl) !important;
    border: none !important;
    box-shadow: var(--sh3) !important;
    font-family: 'Cairo', sans-serif !important;
}

.modal-header {
    border-bottom: 1px solid var(--bdr1) !important;
    padding: 20px 24px 14px !important;
}

.modal-title {
    font-weight: 800 !important;
    color: var(--txt) !important;
}

.modal-footer {
    border-top: 1px solid var(--bdr1) !important;
    padding: 14px 24px 20px !important;
}

.btn-close {
    opacity: 0.4;
}

/* ══════════════════════════════════════════════════════════════
   APP NAVIGATION SYSTEM
   ══════════════════════════════════════════════════════════════ */

/* ── 14. TOP BAR ─────────────────────────────────────────────── */
.laha-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--topbar-h);
    background: rgba(250, 250, 248, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--bdr1);
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 10px;
}

@media(prefers-color-scheme:dark) {
    .laha-topbar {
        background: rgba(19, 9, 26, 0.92);
    }
}

.laha-topbar-logo {
    font-size: 1.3rem;
    font-weight: 900;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--p600), var(--a500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.laha-topbar-greeting {
    flex: 1;
    min-width: 0;
}

.laha-topbar-greeting .hi {
    font-size: 0.65rem;
    color: var(--txt3);
    line-height: 1;
}

.laha-topbar-greeting .name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--txt);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.laha-topbar-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.topbar-action-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--surface2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--txt2);
    font-size: 1rem;
    cursor: pointer;
    position: relative;
    transition: var(--tr);
    border: 1px solid var(--bdr1);
}

.topbar-action-btn:hover {
    background: var(--p100);
    color: var(--p600);
    border-color: var(--p200);
}

.topbar-badge {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--a500);
    border: 2px solid var(--bg);
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.8;
    }
}

.topbar-points {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: var(--r-full);
    background: var(--p50);
    border: 1px solid var(--p200);
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--p700);
}

.topbar-points i {
    font-size: 0.7rem;
    color: var(--a500);
}

.topbar-avatar-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

/* ── 15. BOTTOM NAV ──────────────────────────────────────────── */
.laha-bottomnav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--bottomnav-h);
    background: rgba(250, 250, 248, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--bdr1);
    display: flex;
    align-items: center;
    padding: 0 4px;
}

@media(prefers-color-scheme:dark) {
    .laha-bottomnav {
        background: rgba(19, 9, 26, 0.96);
    }
}

.laha-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 8px 0;
    cursor: pointer;
    position: relative;
    text-decoration: none;
    border-radius: var(--r-md);
    transition: var(--tr);
}

.laha-nav-item:hover {
    background: var(--p50);
}

.laha-nav-icon {
    font-size: 1.3rem;
    color: var(--txt3);
    transition: var(--tr);
    line-height: 1;
}

.laha-nav-label {
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--txt3);
    font-family: 'Cairo', sans-serif;
    transition: var(--tr);
}

.laha-nav-item.active .laha-nav-icon {
    color: var(--p600);
}

.laha-nav-item.active .laha-nav-label {
    color: var(--p700);
    font-weight: 800;
}

.laha-nav-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 28px;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: linear-gradient(90deg, var(--p500), var(--a500));
    transform: translateX(-50%);
}

/* ── Page Body ── */
.laha-page {
    padding-top: calc(var(--topbar-h) + 0px);
    padding-bottom: calc(var(--bottomnav-h) + 8px);
    min-height: 100vh;
}

/* ══════════════════════════════════════════════════════════════
   SECTION COMPONENTS
   ══════════════════════════════════════════════════════════════ */

/* ── 16. SECTION HEADER ──────────────────────────────────────── */
.section-head {
    display: flex;
    align-items: center;
    padding: 16px 16px 8px;
}

.section-head-bar {
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, var(--a500), var(--p600));
    border-radius: 2px;
    margin-left: 10px;
    flex-shrink: 0;
}

.section-head-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--txt);
    flex: 1;
}

.section-head-more {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--p600);
    padding: 5px 14px;
    border-radius: var(--r-full);
    background: var(--p50);
    border: 1px solid var(--p200);
    transition: var(--tr);
    cursor: pointer;
}

.section-head-more:hover {
    background: var(--p100);
}

/* ── 17. HERO BANNER (app home) ──────────────────────────────── */
.laha-hero-banner {
    margin: 12px 16px;
    border-radius: var(--r-xl);
    background: linear-gradient(135deg, var(--p800) 0%, var(--p600) 50%, var(--a500) 100%);
    padding: 22px 20px 22px 80px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--sh-plum);
    transition: var(--tr);
}

.laha-hero-banner:hover {
    transform: scale(1.01);
}

.laha-hero-banner::before {
    content: '✨';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3.5rem;
    opacity: 0.25;
}

.laha-hero-banner::after {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.hero-offer-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    border-radius: var(--r-full);
    font-size: 0.68rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-offer-title {
    font-size: 1.05rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 4px;
}

.hero-offer-sub {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.78);
}

.hero-offer-pct {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.18);
}

/* ── 18. HORIZONTAL SCROLL ROW ───────────────────────────────── */
.h-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 16px 12px;
    flex-wrap: nowrap;
}

.h-scroll::-webkit-scrollbar {
    display: none;
}

/* ── 19. CATEGORY CHIPS ──────────────────────────────────────── */
.cat-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    flex-shrink: 0;
    transition: var(--tr);
}

.cat-chip-img {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: var(--surface2);
    border: 1.5px solid var(--bdr1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: var(--tr);
    box-shadow: var(--sh0);
}

.cat-chip-img img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    transition: var(--tr);
}

.cat-chip-label {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--txt2);
    text-align: center;
    max-width: 70px;
    line-height: 1.3;
}

.cat-chip:hover .cat-chip-img,
.cat-chip.active .cat-chip-img {
    background: linear-gradient(135deg, var(--p600), var(--a500));
    border-color: var(--p500);
    box-shadow: var(--sh-plum);
    transform: translateY(-4px);
}

.cat-chip:hover .cat-chip-img img,
.cat-chip.active .cat-chip-img img {
    filter: brightness(0) invert(1);
}

.cat-chip.active .cat-chip-label {
    color: var(--p700);
    font-weight: 800;
}

/* ── 20. SALON CARD (vertical) ───────────────────────────────── */
.salon-v-card {
    background: var(--surface);
    border-radius: var(--r-lg);
    border: 1px solid var(--bdr1);
    box-shadow: var(--sh0);
    overflow: hidden;
    transition: var(--tr);
    cursor: pointer;
    display: block;
    text-decoration: none;
    color: inherit;
}

.salon-v-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sh2);
    border-color: var(--p200);
}

.salon-v-card-img-wrap {
    position: relative;
    overflow: hidden;
}

.salon-v-card-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    transition: transform 0.4s var(--ease);
    display: block;
}

.salon-v-card:hover .salon-v-card-img {
    transform: scale(1.04);
}

.salon-status {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 12px;
    border-radius: var(--r-full);
    font-size: 0.66rem;
    font-weight: 800;
    backdrop-filter: blur(12px);
}

.status-open {
    background: rgba(37, 184, 130, 0.9);
    color: #fff;
}

.status-closed {
    background: rgba(239, 68, 68, 0.85);
    color: #fff;
}

.salon-fav {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--txt3);
    font-size: 0.9rem;
    transition: var(--tr);
}

.salon-fav:hover,
.salon-fav.active {
    background: var(--a100);
    color: var(--a500);
}

.salon-v-card-body {
    padding: 14px 14px 10px;
}

.salon-v-name {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--txt);
    margin-bottom: 6px;
}

.salon-v-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.salon-v-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--warning);
}

.salon-v-dist {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 0.74rem;
    color: var(--p600);
    font-weight: 600;
}

.salon-v-tag {
    padding: 2px 10px;
    border-radius: var(--r-full);
    background: var(--p50);
    border: 1px solid var(--p200);
    font-size: 0.65rem;
    color: var(--p700);
    font-weight: 700;
}

.salon-v-card-footer {
    padding: 10px 14px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--bdr1);
}

.salon-v-price {
    font-size: 0.78rem;
    color: var(--txt2);
}

.salon-v-price strong {
    font-size: 0.95rem;
    color: var(--p700);
    font-weight: 900;
}

.salon-v-book {
    padding: 7px 18px;
    border-radius: var(--r-full);
    background: linear-gradient(135deg, var(--p500), var(--p700));
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: var(--tr);
    box-shadow: 0 3px 12px rgba(176, 90, 138, 0.35);
}

.salon-v-book:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(176, 90, 138, 0.45);
}

/* ── 21. SALON CARD (horizontal) ─────────────────────────────── */
.salon-h-card {
    background: var(--surface);
    border-radius: var(--r-lg);
    border: 1px solid var(--bdr1);
    box-shadow: var(--sh0);
    overflow: hidden;
    transition: var(--tr);
    cursor: pointer;
    display: flex;
    align-items: stretch;
    margin: 0 16px 12px;
    text-decoration: none;
    color: inherit;
}

.salon-h-card:hover {
    border-color: var(--p200);
    box-shadow: var(--sh1);
}

.salon-h-img {
    width: 96px;
    height: 96px;
    object-fit: cover;
    flex-shrink: 0;
    transition: transform 0.4s var(--ease);
}

.salon-h-card:hover .salon-h-img {
    transform: scale(1.04);
}

.salon-h-body {
    flex: 1;
    padding: 12px 14px;
}

.salon-h-name {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--txt);
    margin-bottom: 5px;
}

.salon-h-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.salon-h-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.salon-h-price {
    font-size: 0.82rem;
    color: var(--p700);
    font-weight: 800;
}

/* ── 22. SEARCH BAR ──────────────────────────────────────────── */
.laha-search {
    margin: 12px 16px;
    position: relative;
}

.laha-search-input {
    width: 100%;
    padding: 12px 44px 12px 44px;
    background: var(--surface);
    border: 1.5px solid var(--bdr1);
    border-radius: var(--r-full);
    font-family: 'Cairo', sans-serif;
    font-size: 0.9rem;
    color: var(--txt);
    outline: none;
    box-shadow: var(--sh0);
    transition: var(--tr);
    direction: rtl;
}

.laha-search-input:focus {
    border-color: var(--p400);
    box-shadow: 0 0 0 3px rgba(176, 90, 138, 0.1);
}

.laha-search-input::placeholder {
    color: var(--txt3);
}

.laha-search-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--p500);
    font-size: 1rem;
    pointer-events: none;
}

.laha-search-filter {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--p100);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--p600);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--tr);
}

.laha-search-filter:hover {
    background: var(--p200);
}

/* ── 23. TABS ────────────────────────────────────────────────── */
.laha-tabs {
    display: flex;
    margin: 0 16px 0;
    background: var(--surface2);
    border-radius: var(--r-md);
    padding: 3px;
    gap: 2px;
}

.laha-tab {
    flex: 1;
    text-align: center;
    padding: 9px 6px;
    font-size: 0.78rem;
    font-weight: 600;
    font-family: 'Cairo', sans-serif;
    border-radius: calc(var(--r-md) - 3px);
    cursor: pointer;
    transition: var(--tr);
    background: none;
    border: none;
    color: var(--txt3);
}

.laha-tab.active {
    background: var(--surface);
    color: var(--p700);
    font-weight: 800;
    box-shadow: var(--sh0);
}

.laha-tabs-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 8px 16px;
    flex-wrap: nowrap;
}

.laha-tabs-scroll::-webkit-scrollbar {
    display: none;
}

.tab-pill {
    padding: 7px 18px;
    border-radius: var(--r-full);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    border: 1.5px solid var(--bdr1);
    background: var(--surface);
    color: var(--txt2);
    transition: var(--tr);
    white-space: nowrap;
    flex-shrink: 0;
}

.tab-pill.active {
    background: var(--p600);
    color: #fff;
    border-color: var(--p600);
    box-shadow: 0 3px 12px rgba(176, 90, 138, 0.3);
}

.tab-pill:hover:not(.active) {
    border-color: var(--p300);
    color: var(--p700);
}

/* ── 24. STATS GRID ──────────────────────────────────────────── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 0 16px;
}

.stat-card {
    background: var(--p50);
    border: 1px solid var(--p100);
    border-radius: var(--r-md);
    padding: 14px 10px;
    text-align: center;
    transition: var(--tr);
}

.stat-card:hover {
    background: var(--p100);
    border-color: var(--p200);
}

.stat-val {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--p700);
    display: block;
}

.stat-lbl {
    font-size: 0.65rem;
    color: var(--txt2);
    margin-top: 2px;
}

/* ── 25. APPOINTMENT CARD ────────────────────────────────────── */
.appt-card {
    background: var(--surface);
    border-radius: var(--r-lg);
    border: 1px solid var(--bdr1);
    padding: 16px;
    margin: 0 16px 12px;
    box-shadow: var(--sh0);
    transition: var(--tr);
}

.appt-card:hover {
    border-color: var(--p200);
    box-shadow: var(--sh1);
}

.appt-status {
    padding: 4px 14px;
    border-radius: var(--r-full);
    font-size: 0.7rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.appt-pending {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

.appt-confirmed {
    background: rgba(37, 184, 130, 0.1);
    color: #1a9a6e;
}

.appt-done {
    background: var(--n100);
    color: var(--n500);
}

.appt-cancelled {
    background: rgba(239, 68, 68, 0.1);
    color: #c0392b;
}

/* ── 26. PROFILE HEADER ──────────────────────────────────────── */
.profile-header {
    background: linear-gradient(145deg, var(--p900) 0%, var(--p700) 50%, var(--a500) 100%);
    padding: 40px 20px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.profile-header::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}

.profile-header::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 79, 139, 0.12);
}

.profile-av {
    border: 3px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.1);
}

.profile-name {
    font-size: 1.1rem;
    font-weight: 900;
    color: #fff;
    display: block;
    margin-top: 10px;
    position: relative;
    z-index: 2;
}

.profile-sub {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
    position: relative;
    z-index: 2;
}

.profile-action-card {
    margin: -32px 16px 0;
    background: var(--surface);
    border-radius: var(--r-xl);
    box-shadow: var(--sh3);
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.profile-menu-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--bdr1);
    cursor: pointer;
    transition: var(--tr);
    text-decoration: none;
    color: var(--txt);
}

.profile-menu-item:last-child {
    border-bottom: none;
}

.profile-menu-item:hover {
    background: var(--p50);
}

.pmi-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.pmi-purple {
    background: var(--p100);
    color: var(--p700);
}

.pmi-rose {
    background: var(--a100);
    color: var(--a500);
}

.pmi-green {
    background: rgba(37, 184, 130, 0.1);
    color: #1a9a6e;
}

.pmi-blue {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.pmi-red {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.pmi-label {
    font-size: 0.9rem;
    font-weight: 700;
    flex: 1;
}

.pmi-chevron {
    color: var(--txt3);
    font-size: 0.8rem;
}

/* ── 27. SALON DETAIL ────────────────────────────────────────── */
.salon-hero {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.salon-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.salon-hero-grad {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 16, 32, 0.8) 0%, transparent 50%);
}

.salon-detail-float {
    margin: -36px 16px 0;
    background: var(--surface);
    border-radius: var(--r-xl);
    padding: 20px;
    box-shadow: var(--sh3);
    position: relative;
    z-index: 10;
    border: 1px solid var(--bdr1);
}

.salon-detail-name {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--txt);
}

.online-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    animation: online-pulse 2s infinite;
    display: inline-block;
    margin-left: 6px;
}

@keyframes online-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(37, 184, 130, 0.5);
    }

    50% {
        box-shadow: 0 0 0 5px rgba(37, 184, 130, 0);
    }
}

.svc-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--surface);
    border-radius: var(--r-md);
    padding: 14px 16px;
    margin: 0 16px 10px;
    border: 1px solid var(--bdr1);
    box-shadow: var(--sh0);
    cursor: pointer;
    transition: var(--tr);
}

.svc-card:hover {
    border-color: var(--p300);
    transform: translateX(-3px);
}

.svc-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--r-sm);
    background: var(--p50);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.svc-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--txt);
}

.svc-dur {
    font-size: 0.72rem;
    color: var(--txt3);
    margin-top: 2px;
}

.svc-price {
    font-size: 1rem;
    font-weight: 900;
    color: var(--p700);
    direction: ltr;
    white-space: nowrap;
}

.svc-add {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--p500), var(--p700));
    color: #fff;
    font-size: 1rem;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--tr);
    box-shadow: 0 3px 12px rgba(176, 90, 138, 0.35);
}

.svc-add:hover {
    transform: scale(1.15);
    box-shadow: 0 5px 16px rgba(176, 90, 138, 0.5);
}

/* ── 28. SPECIALIST CHIPS ────────────────────────────────────── */
.spec-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    flex-shrink: 0;
    width: 80px;
}

.spec-avatar-wrap {
    position: relative;
    width: 64px;
    height: 64px;
}

.spec-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2.5px solid var(--bdr1);
    transition: var(--tr);
}

.spec-chip:hover .spec-avatar,
.spec-chip.active .spec-avatar {
    border-color: var(--p400);
    box-shadow: 0 0 0 3px var(--p100);
    transform: translateY(-3px);
}

.spec-active-ring {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid var(--p500);
    opacity: 0;
    transition: var(--tr);
}

.spec-chip.active .spec-active-ring {
    opacity: 1;
}

.spec-name {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--txt);
    text-align: center;
    line-height: 1.3;
}

.spec-role {
    font-size: 0.6rem;
    color: var(--txt3);
    text-align: center;
}

/* ── 29. FLOATING CART ───────────────────────────────────────── */
.float-cart {
    position: fixed;
    bottom: calc(var(--bottomnav-h) + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    z-index: 200;
    opacity: 0;
    transition: var(--tr-slow);
    pointer-events: none;
}

.float-cart.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: all;
}

.float-cart-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    border-radius: var(--r-full);
    border: none;
    background: linear-gradient(135deg, var(--p900), var(--p700));
    color: #fff;
    font-family: 'Cairo', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--sh3);
    white-space: nowrap;
    transition: var(--tr);
}

.float-cart-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 60px rgba(26, 16, 32, 0.3);
}

.cart-count {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--a500);
    font-size: 0.72rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pop 0.3s var(--ease);
}

@keyframes pop {
    from {
        transform: scale(0.6);
    }

    to {
        transform: scale(1);
    }
}

/* ── 30. REVIEW CARD ─────────────────────────────────────────── */
.review-card {
    background: var(--surface);
    border-radius: var(--r-lg);
    padding: 16px;
    margin: 0 16px 10px;
    border: 1px solid var(--bdr1);
    box-shadow: var(--sh0);
    transition: var(--tr);
}

.review-card:hover {
    border-color: var(--p200);
}

/* ── 31. EMPTY STATE ─────────────────────────────────────────── */
.empty-state {
    text-align: center;
    padding: 64px 24px;
}

.empty-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 16px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    from {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }

    to {
        transform: translateY(0);
    }
}

.empty-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--txt);
    margin-bottom: 8px;
}

.empty-sub {
    font-size: 0.84rem;
    color: var(--txt2);
    line-height: 1.7;
    max-width: 260px;
    margin: 0 auto;
}

/* ── 32. PAGE TRANSITIONS ────────────────────────────────────── */
.fade-in {
    animation: fadeIn 0.35s var(--ease);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-up {
    animation: slideUp 0.4s var(--ease);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── 33. OFFCANVAS / DRAWER ───────────────────────────────────── */
.offcanvas {
    border-radius: var(--r-xl) var(--r-xl) 0 0 !important;
}

.offcanvas-header {
    padding: 20px 20px 12px !important;
    border-bottom: 1px solid var(--bdr1) !important;
}

.offcanvas-body {
    padding: 0 !important;
}

.drawer-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--bdr1);
    cursor: pointer;
    transition: var(--tr);
    color: var(--txt);
    text-decoration: none;
}

.drawer-item:last-child {
    border-bottom: none;
}

.drawer-item:hover {
    background: var(--p50);
}

/* ── 34. RESULTS COUNT ───────────────────────────────────────── */
.results-bar {
    padding: 4px 16px 8px;
    font-size: 0.82rem;
    color: var(--txt2);
    display: flex;
    align-items: center;
    gap: 6px;
}

.results-bar strong {
    color: var(--p700);
}

/* ── 35. LEGACY OVERRIDES (remove old gold) ──────────────────── */
/* Kill old Bootstrap/custom components */
.navbar {
    display: none !important;
}

.ab-10 {
    display: none !important;
}

.ab5 {
    display: none !important;
}

.nav-pills {
    display: flex !important;
    gap: 8px !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    padding: 4px 16px 10px !important;
}

.nav-pills .nav-item {
    flex-shrink: 0;
}

.nav-pills .nav-link {
    padding: 0 !important;
    border-radius: 20px !important;
    background: var(--p50) !important;
    border: 1.5px solid var(--p100) !important;
    width: 64px !important;
    height: 64px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: var(--tr) !important;
}

.nav-pills .nav-link.active,
.nav-pills .nav-link.tab-active {
    background: linear-gradient(135deg, var(--p600), var(--a500)) !important;
    border-color: var(--p600) !important;
    box-shadow: var(--sh-plum) !important;
}

.nav-pills .nav-link img {
    transition: var(--tr);
}

.nav-pills .nav-link.active img,
.nav-pills .nav-link.tab-active img {
    filter: brightness(0) invert(1) !important;
}

/* ab2 labels */
.ab2 {
    font-size: 0.65rem !important;
    color: var(--txt2) !important;
    font-family: 'Cairo', sans-serif !important;
}

/* btn overrides */
.btn-primary {
    background: linear-gradient(135deg, var(--p500), var(--p700)) !important;
    border: none !important;
    border-radius: var(--r-full) !important;
    font-family: 'Cairo', sans-serif !important;
    box-shadow: var(--sh-plum) !important;
    color: #fff !important;
}

.btn-success {
    background: linear-gradient(135deg, #25B882, #1a9a6e) !important;
    border: none !important;
    border-radius: var(--r-full) !important;
    color: #fff !important;
}

.btn-danger {
    background: linear-gradient(135deg, #EF4444, #c0392b) !important;
    border: none !important;
    border-radius: var(--r-full) !important;
    color: #fff !important;
}

.btn-secondary {
    background: var(--surface2) !important;
    border: 1.5px solid var(--bdr1) !important;
    border-radius: var(--r-full) !important;
    color: var(--txt2) !important;
}

.btn-request-offer,
.btn-service-now {
    background: linear-gradient(135deg, var(--a500), var(--p600)) !important;
    border: none !important;
    border-radius: var(--r-full) !important;
    font-family: 'Cairo', sans-serif !important;
    font-weight: 700 !important;
    color: #fff !important;
    box-shadow: var(--sh-rose) !important;
    transition: var(--tr) !important;
}

/* Old card classes */
.card {
    border: 1px solid var(--bdr1) !important;
    border-radius: var(--r-lg) !important;
    box-shadow: var(--sh0) !important;
}

.card:hover {
    border-color: var(--p200) !important;
    box-shadow: var(--sh2) !important;
}

/* ── 36. RESPONSIVE ────────────────────────────────────────────── */
@media(min-width:769px) {
    .laha-page {
        max-width: 480px;
        margin: 0 auto;
    }

    .laha-topbar {
        max-width: 480px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        border-radius: 0 0 var(--r-md) var(--r-md);
    }

    .laha-bottomnav {
        max-width: 480px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }

    .float-cart {
        max-width: 480px;
    }

    .d-lg-none {
        display: none !important;
    }
}

@media(max-width:400px) {
    .cat-chip-img {
        width: 56px;
        height: 56px;
    }
}