/* REMBO Multi-Tenant Salon POS Stylesheet */
:root {
    --primary: #8a3ab9;
    --primary-dark: #622589;
    --primary-light: #e1bbf7;
    --accent: #e95950;
    --gold: #d4af37;
    --secondary: #4a5568;
    --dark: #1a202c;
    --light-bg: #f8fafc;
    --card-bg: #ffffff;
    --border: #e2e8f0;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    --radius: 12px;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
    background-color: var(--light-bg);
    color: var(--dark);
    line-height: 1.5;
}

/* ========================================================
   PUBLIC STOREFRONT STYLES
   ======================================================== */
.storefront-header {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #db2777 100%);
    color: white;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.storefront-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.storefront-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.storefront-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-placeholder {
    font-size: 28px;
}

.brand-text h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.brand-domain {
    font-size: 0.85rem;
    opacity: 0.9;
    margin: 0;
}

.brand-domain i {
    margin-right: 4px;
}

.storefront-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.storefront-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    overflow: hidden;
}

.storefront-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.storefront-brand h1 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.storefront-brand p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.storefront-nav-actions {
    display: flex;
    gap: 10px;
}

.btn-nav {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
}

.btn-nav:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
}

.btn-nav-primary {
    background: white;
    color: var(--primary);
}

.btn-nav-primary:hover {
    background: #f1f5f9;
}

.storefront-hero {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem 1rem 1rem;
}

.storefront-hero h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.storefront-hero p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 650px;
    margin: 0 auto 25px;
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-cta-book {
    background: #10b981;
    color: white;
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    transition: all 0.2s ease;
}

.btn-cta-book:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

.btn-cta-loyalty {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-cta-loyalty:hover {
    background: white;
    color: #4f46e5;
}

/* Storefront Content */
.storefront-container {
    max-width: 1200px;
    margin: -30px auto 40px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.storefront-section {
    background: white;
    border-radius: var(--radius);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.storefront-section h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Informative public home page */
.storefront-eyebrow,
.home-section-kicker {
    display: inline-block;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.storefront-eyebrow {
    color: rgba(255,255,255,.88);
}

.storefront-hero-copy { min-width: 0; }
.hero-side-card { display: none; }
body.website-layout-split .hero-side-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 26px;
    border-radius: 18px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.35);
    backdrop-filter: blur(8px);
}
.hero-side-card > span { opacity: .85; font-size: .9rem; }
.hero-side-card > strong { font-size: 3rem; line-height: 1; }
.hero-side-card > small { opacity: .9; }
.hero-side-card > div { padding-top: 12px; margin-top: 6px; border-top: 1px solid rgba(255,255,255,.3); }
.hero-side-card b { font-size: 1.2rem; margin-right: 4px; }

.home-intro-section {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(24px, 5vw, 64px);
    align-items: center;
    padding: clamp(30px, 6vw, 72px);
    margin: 38px 0;
    border-radius: 20px;
    background: white;
    box-shadow: var(--shadow);
}

.home-intro-copy h2,
.home-visit-section h2 {
    color: var(--dark);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    line-height: 1.15;
    margin-bottom: 16px;
}

.home-intro-copy p,
.home-visit-section > div:first-child > p {
    color: #64748b;
    line-height: 1.8;
    font-size: 1.02rem;
}

.home-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    margin-top: 18px;
}

.home-text-link:hover { color: var(--primary-dark); }

.home-highlight-list { display: grid; gap: 20px; }
.home-highlight-list > div { display: flex; align-items: center; gap: 14px; }
.home-highlight-icon {
    display: grid;
    place-items: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--primary-light);
    color: var(--primary-dark);
}
.home-highlight-list strong,
.home-highlight-list small { display: block; }
.home-highlight-list strong { color: var(--dark); margin-bottom: 4px; }
.home-highlight-list small { color: #64748b; line-height: 1.5; }

.home-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 18px;
}
.home-section-heading h3 { margin-bottom: 0; }
.home-section-heading .home-text-link { margin: 0 0 10px; white-space: nowrap; }
.home-empty-message { color: #64748b; padding: 18px 0; line-height: 1.6; }

.home-visit-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: clamp(28px, 5vw, 54px);
    margin: 38px 0;
    border-radius: 20px;
    background: var(--primary-light);
}
.home-visit-section h2 { margin-bottom: 10px; }
.home-contact-details { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 20px; }
.home-contact-details p { color: var(--secondary); margin: 0; }
.home-contact-details i { color: var(--primary); margin-right: 6px; }
.home-contact-details a { color: inherit; text-decoration: none; }
.home-visit-actions { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }
.home-visit-actions .btn-cta-secondary,
.home-visit-actions .btn-cta-primary { display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font: inherit; }
.home-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 14px; }
.home-footer-links a { color: #cbd5e1; text-decoration: none; }
.home-footer-links a:hover { color: white; }

.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.service-storefront-card {
    background: #fdfdfd;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-storefront-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.service-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 5px;
}

.service-card-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--success);
    margin-bottom: 15px;
}

.service-card-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s;
}

.service-card-btn:hover {
    background: var(--primary-dark);
}

.staff-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.staff-storefront-card {
    text-align: center;
    padding: 20px;
    background: #f8fafc;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.staff-avatar-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: bold;
    margin: 0 auto 12px;
}

.staff-card-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
}

.staff-card-role {
    font-size: 0.85rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* ========================================================
   INTERNAL POS PORTAL LAYOUT
   ======================================================== */
.pos-layout {
    display: flex;
    min-height: 100vh;
}

.pos-layout.pos-sidebar-collapsed .pos-sidebar { width: 78px; }
.pos-sidebar {
    position: sticky;
    top: 0;
    align-self: flex-start;
    height: 100vh;
    max-height: 100vh;
    transition: width .22s ease;
    overflow-x: hidden;
    overflow-y: auto;
}
.pos-sidebar-collapsed .pos-brand-text,
.pos-sidebar-collapsed .pos-nav-item a span,
.pos-sidebar-collapsed .pos-user-info > div:last-child { display: none; }
.pos-sidebar-collapsed .pos-sidebar-brand { justify-content: center; padding-left: 10px; padding-right: 10px; }
.pos-sidebar-collapsed .pos-nav-item a { justify-content: center; padding-left: 10px; padding-right: 10px; }
.pos-sidebar-collapsed .pos-nav-item a i { width: auto; }
.pos-sidebar-collapsed .pos-sidebar-footer { padding-left: 10px; padding-right: 10px; }
.pos-sidebar-collapsed .pos-user-profile,
.pos-sidebar-collapsed .pos-user-info { justify-content: center; }
.pos-sidebar-collapsed .pos-logout-btn { display: none; }

.pos-sidebar {
    width: 260px;
    background: #1e1e2d;
    color: #a2a3b7;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.pos-sidebar-brand {
    padding: 24px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 12px;
}

.pos-brand-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #7c3aed 0%, #db2777 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
}

.pos-brand-text h2 {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.2;
}

.pos-brand-text span {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pos-nav {
    list-style: none;
    padding: 15px 0;
    flex-grow: 1;
}

.pos-nav-item a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 20px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.pos-nav-item a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

.pos-nav-item.active a {
    color: white;
    background: rgba(124, 58, 237, 0.15);
    border-left-color: #7c3aed;
    font-weight: 600;
}

.pos-nav-item a i {
    width: 20px;
    font-size: 1.1rem;
}

.pos-sidebar-footer {
    padding: 15px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pos-user-profile {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pos-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pos-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #3b82f6;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.pos-user-name {
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
}

.pos-user-role {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: capitalize;
}

.pos-logout-btn {
    color: #ef4444;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 5px;
}

/* POS Main Content */
.pos-main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: #f1f5f9;
}

.pos-topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.88);
    height: 65px;
    min-height: 65px;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(226, 232, 240, 0.82);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    -webkit-backdrop-filter: blur(16px) saturate(1.35);
    backdrop-filter: blur(16px) saturate(1.35);
}

.pos-topbar-heading { display:flex; align-items:center; gap:14px; min-width:0; }
.pos-sidebar-toggle { width:38px; height:38px; border:1px solid var(--border); border-radius:9px; background:#fff; color:#475569; cursor:pointer; flex:0 0 auto; }
.pos-sidebar-toggle:hover { background:#f1f5f9; color:#4f46e5; }
.pos-sidebar-backdrop { display:none; }

.pos-page-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
}

.pos-topbar-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.pos-notification-link{position:relative;display:inline-flex;align-items:center;gap:8px;color:#334155;text-decoration:none;font-weight:600;padding:8px 11px;border-radius:9px;background:#f8fafc}
.pos-notification-link:hover{background:#eef2ff;color:#4338ca}
.pos-notification-count{position:absolute;top:-7px;right:-7px;min-width:19px;height:19px;padding:0 5px;border-radius:20px;background:#e11d48;color:#fff;font-size:11px;display:grid;place-items:center;border:2px solid #fff}

.badge-tenant {
    background: #e0e7ff;
    color: #4338ca;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pos-content {
    padding: 25px 30px;
    flex-grow: 1;
}

/* Alerts */
.pos-alert {
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    font-weight: 500;
}

.pos-alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.pos-alert-danger {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.pos-alert-info {
    background: #e0f2fe;
    color: #075985;
    border: 1px solid #bae6fd;
}

/* Stat Cards */
.pos-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.stat-card-pos {
    background: white;
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 18px;
}

.stat-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-icon-sales { background: #dcfce7; color: #15803d; }
.stat-icon-expense { background: #fee2e2; color: #b91c1c; }
.stat-icon-profit { background: #ede9fe; color: #6d28d9; }
.stat-icon-book { background: #e0f2fe; color: #0369a1; }

.stat-card-data h4 {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
}

.stat-card-data p {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
}

/* ========================================================
   SALON CHECKOUT / SERVICE TICKET
   ======================================================== */
.checkout-container {
    --ticket-ink: #1e1b2e;
    --ticket-muted: #6b7280;
    --ticket-line: #ece9f5;
    --ticket-accent: #7c3aed;
    --ticket-accent-2: #db2777;
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(360px, 1fr);
    gap: 22px;
    height: calc(100vh - 140px);
    min-height: 560px;
}

.services-catalog-panel,
.checkout-cart-panel {
    position: relative;
    background: #fff;
    border: 1px solid #ede9f6;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 18px 40px -30px rgba(30, 27, 46, .38), 0 2px 6px rgba(30, 27, 46, .04);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.services-catalog-panel::before,
.checkout-cart-panel::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: #7c3aed;
}

.catalog-panel-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.catalog-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 4px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ticket-accent);
}

.catalog-panel-head h3 {
    font-size: 1.3rem;
    letter-spacing: -0.01em;
    color: var(--ticket-ink);
}

.catalog-hint {
    max-width: 200px;
    font-size: 0.78rem;
    line-height: 1.4;
    color: #8b87a3;
    text-align: right;
}

.catalog-search-bar {
    position: relative;
    margin-bottom: 16px;
}

.catalog-search-bar input {
    width: 100%;
    padding: 12px 16px 12px 42px;
    border: 1.5px solid #e9e5f2;
    border-radius: 12px;
    background: #faf9fd;
    font-size: 0.92rem;
    color: var(--ticket-ink);
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.catalog-search-bar input:focus {
    outline: none;
    border-color: #c4b5fd;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, .10);
}

.catalog-search-bar i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #a49fba;
}

.service-tiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 14px;
    overflow-y: auto;
    padding: 2px 6px 2px 2px;
    flex-grow: 1;
}

.service-tile {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    border: 1.5px solid #ece9f5;
    border-radius: 16px;
    background: #fff;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.service-tile:hover {
    border-color: #c4b5fd;
    background: #f5f3ff;
    transform: translateY(-3px);
    box-shadow: 0 16px 30px -24px rgba(124, 58, 237, .6);
}

.service-tile:active {
    transform: translateY(-1px) scale(.995);
}

.service-tile-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.service-tile h4 {
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--ticket-ink);
}

.service-tile-add {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid #e9d5ff;
    background: #f3e8ff;
    color: var(--ticket-accent);
    font-size: 0.7rem;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.service-tile:hover .service-tile-add {
    border-color: transparent;
    background: var(--ticket-accent);
    color: #fff;
}

.service-tile-foot {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.service-tile-price {
    font-size: 1.06rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #3b1d63;
}

.service-tile-comm {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border: 1px solid #ede4ff;
    border-radius: 999px;
    background: #f5f1ff;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--ticket-accent);
}

/* Service Ticket Panel */
.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--ticket-line);
    margin-bottom: 14px;
}

.ticket-heading {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.ticket-icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: var(--ticket-accent);
    color: #fff;
    font-size: 0.95rem;
    box-shadow: 0 8px 18px -8px rgba(124, 58, 237, .7);
}

.ticket-heading h3 {
    font-size: 1.08rem;
    line-height: 1.2;
    color: var(--ticket-ink);
}

.ticket-heading small {
    display: block;
    margin-top: 2px;
    font-size: 0.72rem;
    color: #8b87a3;
}

.ticket-count {
    flex: 0 0 auto;
    padding: 4px 10px;
    border: 1px solid #e9d5ff;
    border-radius: 999px;
    background: #f3e8ff;
    font-size: 0.72rem;
    font-weight: 700;
    color: #6d28d9;
    white-space: nowrap;
}

.client-selector-box {
    padding: 12px;
    border: 1px solid #eee9f7;
    border-radius: 14px;
    background: #fbfaff;
    margin-bottom: 14px;
}

.client-box-label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 9px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ticket-accent);
}

.client-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.client-selector-box input {
    width: 100%;
    padding: 9px 11px;
    border: 1px solid #e8e3f2;
    border-radius: 9px;
    background: #fff;
    font-size: 0.85rem;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.client-selector-box input:focus {
    outline: none;
    border-color: #c4b5fd;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, .10);
}

.client-loyalty-badge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 9px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ticket-muted);
}

.client-loyalty-badge > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.client-loyalty-badge i {
    color: #d97706;
}

.client-loyalty-badge small {
    font-size: 0.72rem;
    font-weight: 600;
    color: #8b87a3;
}

.loyalty-highlight {
    color: #b45309;
    font-weight: 800;
}

.cart-items-list {
    flex-grow: 1;
    overflow-y: auto;
    min-height: 100px;
    padding-right: 5px;
    margin-bottom: 12px;
}

.ticket-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 28px 16px;
    text-align: center;
    color: #8b87a3;
}

.ticket-empty i {
    font-size: 1.7rem;
    color: #c4b5fd;
    margin-bottom: 2px;
}

.ticket-empty strong {
    font-size: 0.9rem;
    color: #4c4664;
}

.ticket-empty small {
    font-size: 0.78rem;
}

.cart-item-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px dashed #ece7f5;
}

.cart-item-row:first-child {
    padding-top: 4px;
}

.cart-item-info h5 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--ticket-ink);
}

.cart-item-info select {
    margin-top: 4px;
    padding: 3px 6px;
    border: 1px solid #e8e3f2;
    border-radius: 6px;
    font-size: 0.8rem;
}

.cart-item-staff {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 5px;
    font-size: 0.72rem;
    color: #7b7594;
}

.cart-item-staff span {
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #a49fba;
}

.cart-item-staff strong {
    color: #3f3a52;
}

.cart-item-staff-missing {
    color: #b45309;
}

.cart-item-staff button {
    border: 0;
    background: none;
    padding: 0;
    color: var(--ticket-accent);
    font-size: 0.72rem;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.staff-assign-hint {
    margin: 0 0 12px;
    color: #64748b;
    font-size: 0.9rem;
}

.staff-assign-row {
    display: grid;
    grid-template-columns: 1fr 190px 110px;
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border);
}

.staff-assign-service {
    display: flex;
    flex-direction: column;
}

.staff-assign-service small {
    color: #64748b;
    font-weight: 400;
}

.staff-assign-row select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: 6px;
}

.staff-assign-comm {
    text-align: right;
    font-weight: 700;
    color: #15803d;
}

.staff-assign-head {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
    border-bottom: 1px solid var(--border);
}

.staff-assign-total {
    border-bottom: 0;
    font-weight: 700;
    color: #0f172a;
}

.staff-assign-error {
    margin: 10px 0 0;
    color: #b91c1c;
    font-size: 0.85rem;
    font-weight: 600;
}

@media (max-width: 560px) {
    .staff-assign-row { grid-template-columns: 1fr; gap: 6px; }
    .staff-assign-comm,
    .staff-assign-total strong { text-align: left; }
    .staff-assign-head { display: none; }
}

.cart-item-pricing {
    text-align: right;
    white-space: nowrap;
}

.cart-item-price {
    font-size: 0.95rem;
    font-weight: 800;
    color: #3b1d63;
}

.btn-remove-item {
    margin-left: 8px;
    border: none;
    border-radius: 6px;
    background: none;
    color: #cbd5e1;
    cursor: pointer;
    font-size: 1.05rem;
    line-height: 1;
    padding: 2px 4px;
    transition: color .15s ease, background .15s ease;
}

.btn-remove-item:hover {
    color: #b91c1c;
    background: #fef2f2;
}

.cart-summary {
    padding: 12px 14px 10px;
    margin-bottom: 14px;
    border: 1px solid #ece5f7;
    border-radius: 14px;
    background: #fbfaff;
}

.ticket-redeem {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 10px;
    margin-bottom: 9px;
    border-bottom: 1px dashed #ddd3ef;
}

.ticket-redeem label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #6d28d9;
}

.ticket-redeem label i {
    color: #d97706;
}

.ticket-redeem input {
    width: 76px;
    padding: 6px 8px;
    border: 1px solid #d8cfe9;
    border-radius: 8px;
    background: #fff;
    font-weight: 700;
    color: #3b1d63;
    text-align: center;
}

.ticket-redeem input:focus {
    outline: none;
    border-color: #a78bfa;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, .12);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
    font-size: 0.86rem;
    color: var(--ticket-muted);
}

.summary-row > span:last-child {
    font-weight: 700;
    color: #3f3a52;
}

.summary-discount > span:last-child {
    color: #047857;
}

.summary-total {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e2d9f2;
    font-size: 1.22rem;
    font-weight: 800;
    color: #3b1d63;
}

.summary-total > span:last-child {
    color: #5b21b6;
}

.payment-method-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
    gap: 8px;
    margin-bottom: 12px;
}

.btn-payment-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 11px 8px;
    border: 1.5px solid #ece7f5;
    border-radius: 11px;
    background: #fbfaff;
    font-size: 0.8rem;
    font-weight: 700;
    color: #5b556e;
    cursor: pointer;
    text-align: center;
    transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.btn-payment-option i {
    font-size: 0.95rem;
    color: #8b87a3;
    transition: color .16s ease;
}

.btn-payment-option:hover {
    border-color: #c4b5fd;
    background: #faf7ff;
}

.btn-payment-option.active {
    border-color: #7c3aed;
    background: #f5f3ff;
    color: #5b21b6;
    box-shadow: 0 8px 18px -14px rgba(124, 58, 237, .4);
}

.btn-payment-option.active i {
    color: var(--ticket-accent);
}

#paymentRefGroup input {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid #ece7f5;
    border-radius: 10px;
    font-size: 0.88rem;
}

#paymentRefGroup input:focus {
    outline: none;
    border-color: #c4b5fd;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, .10);
}

.btn-complete-checkout {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 18px;
    border: none;
    border-radius: 12px;
    background: #7c3aed;
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 12px 22px -10px rgba(124, 58, 237, .45);
    transition: background .16s ease, box-shadow .16s ease, transform .16s ease;
}

.btn-complete-checkout:hover {
    background: #6d28d9;
    transform: translateY(-1px);
    box-shadow: 0 16px 28px -10px rgba(124, 58, 237, .55);
}

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

.btn-complete-checkout:disabled {
    opacity: .72;
    cursor: progress;
    transform: none;
}

.service-tiles-grid::-webkit-scrollbar,
.cart-items-list::-webkit-scrollbar {
    width: 8px;
}

.service-tiles-grid::-webkit-scrollbar-thumb,
.cart-items-list::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #ddd3ef;
}

.service-tiles-grid::-webkit-scrollbar-track,
.cart-items-list::-webkit-scrollbar-track {
    background: transparent;
}

/* Tables and Panels */
.pos-table-card {
    background: white;
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 25px;
    overflow-x: auto;
}

.table-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.pos-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.pos-table th {
    background: #f8fafc;
    color: #64748b;
    font-weight: 600;
    text-align: left;
    padding: 12px 16px;
    border-bottom: 2px solid var(--border);
}

.pos-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    color: #334155;
}

.pos-table tr:hover {
    background: #f8fafc;
}

.pos-table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    min-width: 180px;
}

.pos-table-actions form {
    display: inline-flex;
    margin: 0;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-pending { background: #fef3c7; color: #b45309; }
.badge-paid { background: #dcfce7; color: #15803d; }
.badge-confirmed { background: #dbeafe; color: #1d4ed8; }
.badge-in_progress { background: #ede9fe; color: #6d28d9; }
.badge-completed { background: #dcfce7; color: #15803d; }
.badge-cancelled { background: #fee2e2; color: #b91c1c; }

.sales-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.sales-summary-card {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 16px;
}

.sales-summary-card span {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
}

.sales-summary-card strong {
    font-size: 1.3rem;
    color: #0f172a;
}

.sales-summary-good strong { color: #15803d; }
.sales-summary-warn strong { color: #b45309; }

/* The sales table scrolls horizontally on narrow screens; keep the receipt
   number and timestamp on one line so they do not stack vertically. */
.sales-table td:nth-child(1),
.sales-table td:nth-child(2),
.sales-table td:nth-last-child(2),
.sales-table td:last-child { white-space: nowrap; }

/* Actions stay reachable while the rest of the row scrolls underneath. */
.sales-table th:last-child,
.sales-table td:last-child {
    position: sticky;
    right: 0;
    background: #fff;
    box-shadow: -8px 0 10px -10px rgba(15, 23, 42, 0.45);
}

/* Buttons */
.btn-pos {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
}

.btn-pos-primary { background: #7c3aed; color: white; }
.btn-pos-primary:hover { background: #6d28d9; }

.btn-pos-success { background: #10b981; color: white; }
.btn-pos-success:hover { background: #059669; }

.btn-pos-danger { background: #ef4444; color: white; }
.btn-pos-danger:hover { background: #dc2626; }

.btn-pos-secondary { background: #e2e8f0; color: #475569; }
.btn-pos-secondary:hover { background: #cbd5e1; }

.btn-pos-sm {
    padding: 4px 10px;
    font-size: 0.8rem;
}

/* Modals */
.pos-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.pos-modal {
    background: white;
    border-radius: var(--radius);
    max-width: 520px;
    width: 100%;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.2);
    overflow: hidden;
    animation: modalIn 0.2s ease-out;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.pos-modal-header {
    padding: 16px 20px;
    background: #f8fafc;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pos-modal-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
}

.pos-modal-close {
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: #64748b;
}

.pos-modal-body {
    padding: 20px;
    max-height: 75vh;
    overflow-y: auto;
}

.pos-form-group {
    margin-bottom: 16px;
}

.pos-form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 6px;
}

.pos-form-group input,
.pos-form-group select,
.pos-form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.95rem;
}

.pos-form-group input:focus,
.pos-form-group select:focus,
.pos-form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

.pos-modal-footer {
    padding: 14px 20px;
    background: #f8fafc;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .checkout-container {
        grid-template-columns: minmax(0, 1.4fr) minmax(340px, 1fr);
    }
}

@media (max-width: 900px) {
    .checkout-container {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 0;
    }
    .services-catalog-panel,
    .checkout-cart-panel {
        padding: 18px;
        border-radius: 16px;
    }
    .service-tiles-grid {
        max-height: 420px;
    }
    .pos-layout {
        flex-direction: row;
    }
    .pos-sidebar {
        position:fixed;
        z-index:1200;
        inset:0 auto 0 0;
        width:min(290px, 84vw);
        height:100vh;
        overflow-y:auto;
        box-shadow:0 18px 48px rgba(15,23,42,.28);
        transform:translateX(-105%);
        transition:transform .22s ease;
    }
    .pos-layout.pos-sidebar-collapsed .pos-sidebar { width:min(290px, 84vw); }
    .pos-layout.pos-sidebar-open .pos-sidebar { transform:translateX(0); }
    .pos-sidebar-collapsed .pos-brand-text,
    .pos-sidebar-collapsed .pos-nav-item a span,
    .pos-sidebar-collapsed .pos-user-info > div:last-child { display:block; }
    .pos-sidebar-collapsed .pos-nav-item a { justify-content:flex-start; padding-left:20px; padding-right:20px; }
    .pos-sidebar-collapsed .pos-nav-item a i { width:20px; }
    .pos-sidebar-collapsed .pos-sidebar-brand { justify-content:flex-start; padding:24px 20px; }
    .pos-sidebar-collapsed .pos-sidebar-footer { padding:15px 20px; }
    .pos-sidebar-collapsed .pos-user-profile { justify-content:space-between; }
    .pos-sidebar-collapsed .pos-user-info { justify-content:flex-start; }
    .pos-sidebar-collapsed .pos-logout-btn { display:block; }
    .pos-sidebar-backdrop:not([hidden]) { display:block; position:fixed; inset:0; z-index:1190; width:100%; height:100%; border:0; background:rgba(15,23,42,.48); }
    .pos-main { width:100%; min-width:0; }
    .pos-topbar { padding:0 16px; }
}

@media (max-width: 560px) {
    .catalog-hint {
        display: none;
    }
    .client-inputs {
        grid-template-columns: 1fr;
    }
    .service-tiles-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }
    .cart-summary {
        padding: 10px 12px;
    }
    .ticket-heading small {
        display: none;
    }
}

/* ========================================================
   LOGIN PAGE STYLES
   ======================================================== */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
}

.login-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 420px;
    padding: 40px;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: white;
}

.login-logo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.login-header h1 {
    color: var(--dark);
    font-size: 24px;
    margin-bottom: 8px;
}

.login-header p {
    color: var(--secondary);
    font-size: 14px;
}

.login-form {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark);
    font-weight: 500;
    font-size: 14px;
}

.form-group label i {
    margin-right: 8px;
    color: var(--primary);
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
}

.btn-login {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-login i {
    margin-right: 8px;
}

.login-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.login-footer p {
    color: var(--secondary);
    font-size: 13px;
    margin-bottom: 8px;
}

.reset-otp-input {
    height: 58px;
    text-align: center;
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 24px !important;
    font-weight: 700;
    letter-spacing: 0.78em;
    padding-left: 0.78em !important;
    background-color: #fff !important;
    background-image: repeating-linear-gradient(to right, transparent 0, transparent calc(16.666667% - 1px), #dbe2ea calc(16.666667% - 1px), #dbe2ea 16.666667%);
}

.form-group small {
    display: block;
    margin-top: 7px;
    color: var(--secondary);
    font-size: 12px;
}

.pos-reset-password-wrap {
    position: relative;
}

.pos-reset-password-wrap input {
    padding-right: 64px;
}

.pos-reset-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px;
}

.pos-reset-toggle:hover,
.pos-reset-toggle:focus-visible {
    color: var(--dark);
}

.alert {
    padding: 12px 16px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

/* ========================================================
   DASHBOARD STYLES
   ======================================================== */
.dashboard-layout {
    display: flex;
    min-height: 100vh;
}

.dashboard-sidebar {
    width: 280px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.sidebar-header {
    padding: 30px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-logo {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
}

.sidebar-logo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.sidebar-brand h2 {
    font-size: 18px;
    margin-bottom: 5px;
    text-align: center;
}

.sidebar-brand span {
    font-size: 12px;
    text-align: center;
    display: block;
    opacity: 0.8;
}

.sidebar-nav {
    flex: 1;
    padding: 20px 0;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 14px 25px;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
    margin-bottom: 5px;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-item.active {
    background: rgba(255, 255, 255, 0.2);
    border-left: 4px solid white;
}

.nav-item i {
    width: 25px;
    margin-right: 15px;
    font-size: 16px;
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.user-details {
    flex: 1;
}

.user-name {
    display: block;
    font-weight: 600;
    font-size: 14px;
}

.user-role {
    display: block;
    font-size: 12px;
    opacity: 0.8;
}

.btn-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: var(--radius);
    transition: background 0.3s;
}

.btn-logout:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-logout i {
    margin-right: 8px;
}

.dashboard-main {
    flex: 1;
    margin-left: 280px;
    background: var(--light-bg);
}

.dashboard-header {
    background: white;
    padding: 20px 30px;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-header h1 {
    color: var(--dark);
    font-size: 28px;
}

.header-date {
    color: var(--secondary);
    font-size: 14px;
}

.dashboard-content {
    padding: 30px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.stat-icon-blue {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.stat-icon-green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.stat-icon-purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.stat-icon-orange {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.stat-info h3 {
    font-size: 28px;
    color: var(--dark);
    margin-bottom: 5px;
}

.stat-info p {
    color: var(--secondary);
    font-size: 14px;
}

.section {
    background: white;
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.section h2 {
    color: var(--dark);
    font-size: 20px;
    margin-bottom: 20px;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.action-card {
    background: var(--light-bg);
    padding: 20px;
    border-radius: var(--radius);
    text-align: center;
    text-decoration: none;
    color: var(--dark);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid var(--border);
}

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

.action-card i {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 10px;
}

.action-card span {
    display: block;
    font-weight: 500;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--light-bg);
    border-radius: var(--radius);
}

.activity-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.activity-details {
    flex: 1;
}

.activity-action {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 5px;
}

.activity-info {
    color: var(--secondary);
    font-size: 13px;
}

.no-data {
    color: var(--secondary);
    text-align: center;
    padding: 30px;
    font-style: italic;
}

/* Responsive Dashboard */
@media (max-width: 768px) {
    .dashboard-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s;
        z-index: 1000;
    }
    
    .dashboard-sidebar.active {
        transform: translateX(0);
    }
    
    .dashboard-main {
        margin-left: 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
    }
}

/* ========================================================
   PUBLIC PAGES STYLES (SEO-Friendly)
   ======================================================== */
.storefront-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.storefront-main {
    flex: 1;
    background: var(--light-bg);
}

.storefront-footer {
    background: var(--dark);
    color: white;
    padding: 30px 20px;
    text-align: center;
}

.footer-content p {
    margin: 5px 0;
    font-size: 14px;
    opacity: 0.8;
}

.footer-brand {
    font-size: 18px !important;
    font-weight: 700;
    opacity: 1 !important;
    margin-bottom: 12px !important;
}

.menu-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 8px 0;
}

.menu-link:hover,
.menu-link.active {
    color: var(--gold);
}

/* Bookings Page Styles */
.booking-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.booking-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.booking-info h2 {
    color: var(--dark);
    font-size: 28px;
    margin-bottom: 10px;
}

.booking-info p {
    color: var(--secondary);
    margin-bottom: 25px;
}

.booking-form {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.btn-booking {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s;
}

.btn-booking:hover {
    transform: translateY(-2px);
}

.booking-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-card {
    background: white;
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.sidebar-card h3 {
    color: var(--dark);
    font-size: 18px;
    margin-bottom: 15px;
}

.sidebar-card ul {
    list-style: none;
}

.sidebar-card ul li {
    padding: 8px 0;
    color: var(--secondary);
    font-size: 14px;
}

.sidebar-card ul li i {
    color: var(--success);
    margin-right: 10px;
}

.btn-contact {
    display: inline-block;
    padding: 12px 20px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 500;
    text-align: center;
    margin-top: 15px;
}

/* Services Page Styles */
.services-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h1 {
    color: var(--dark);
    font-size: 36px;
    margin-bottom: 10px;
}

.section-header p {
    color: var(--secondary);
    font-size: 18px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.service-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    height: 120px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    color: var(--dark);
    font-size: 20px;
    margin-bottom: 10px;
}

.service-price {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 15px;
}

.service-description {
    color: var(--secondary);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.btn-book-service {
    display: inline-block;
    padding: 12px 20px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 500;
    transition: background 0.3s;
}

.btn-book-service:hover {
    background: var(--primary-dark);
}

.no-services {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.no-services i {
    font-size: 64px;
    color: var(--secondary);
    margin-bottom: 20px;
}

.no-services h3 {
    color: var(--dark);
    margin-bottom: 10px;
}

.services-cta {
    background: white;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.services-cta h2 {
    color: var(--dark);
    font-size: 28px;
    margin-bottom: 15px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
}

.btn-cta-primary {
    padding: 14px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 600;
}

.btn-cta-secondary {
    padding: 14px 30px;
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 600;
}

/* About Page Styles */
.about-section {
    padding: 40px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.about-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 40px;
    border-radius: var(--radius);
    text-align: center;
    margin-bottom: 40px;
}

.about-hero h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.about-tagline {
    font-size: 20px;
    opacity: 0.9;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-story,
.about-mission {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.about-story h2,
.about-mission h2 {
    color: var(--dark);
    font-size: 24px;
    margin-bottom: 20px;
}

.about-story p,
.about-mission p {
    color: var(--secondary);
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-values h2 {
    color: var(--dark);
    font-size: 24px;
    margin-bottom: 25px;
    text-align: center;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.value-card {
    background: white;
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.value-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
    color: var(--primary);
}

.value-card h3 {
    color: var(--dark);
    font-size: 18px;
    margin-bottom: 10px;
}

.value-card p {
    color: var(--secondary);
    font-size: 14px;
    line-height: 1.6;
}

.about-cta {
    background: white;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.about-cta h2 {
    color: var(--dark);
    font-size: 28px;
    margin-bottom: 15px;
}

.about-cta p {
    color: var(--secondary);
    margin-bottom: 25px;
}

/* Contact Page Styles */
.contact-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    background: white;
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
}

.contact-details h3 {
    color: var(--dark);
    font-size: 16px;
    margin-bottom: 5px;
}

.contact-details p {
    color: var(--secondary);
    font-size: 14px;
    margin-bottom: 5px;
}

.contact-details a {
    color: var(--primary);
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-form-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-form-card h2 {
    color: var(--dark);
    font-size: 24px;
    margin-bottom: 10px;
}

.contact-form-card p {
    color: var(--secondary);
    margin-bottom: 25px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.btn-contact-submit {
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s;
}

.btn-contact-submit:hover {
    transform: translateY(-2px);
}

.contact-quick-booking {
    background: var(--primary-light);
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
}

.contact-quick-booking h3 {
    color: var(--dark);
    font-size: 20px;
    margin-bottom: 10px;
}

.contact-quick-booking p {
    color: var(--secondary);
    margin-bottom: 20px;
}

.btn-quick-book {
    display: inline-block;
    padding: 12px 20px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 500;
}

/* Responsive Public Pages */
@media (max-width: 768px) {
    body.website-layout-split .storefront-hero { display: block; }
    body.website-layout-split .hero-side-card { display: none; }
    .home-intro-section { grid-template-columns: 1fr; padding: 28px 22px; margin: 24px 0; }
    .home-section-heading { align-items: start; flex-direction: column; gap: 8px; }
    .home-section-heading .home-text-link { margin: 0 0 8px; }
    .home-visit-section { align-items: stretch; flex-direction: column; margin: 24px 0; }
    .home-visit-actions { width: 100%; }
    .home-visit-actions > * { flex: 1; }
    .home-contact-details { flex-direction: column; }
    
    .booking-container,
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   PUBLIC NAVIGATION BAR (shared by every public page)
   Markup comes from POS/includes/public_nav.php:
     .storefront-nav > .storefront-brand + .mobile-toggle + .storefront-menu
   Desktop renders the menu inline; from 768px down it collapses behind the
   hamburger and is revealed by .storefront-nav.mobile-open (public_nav.js).
   ============================================================ */

.storefront-nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
}

.storefront-menu {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    gap: 28px;
}

.storefront-nav .menu-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 0;
    white-space: nowrap;
    opacity: 0.88;
    transition: color 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

/* Extra .storefront-menu level so per-business theme colours cannot make the
   active link the same colour as the header gradient. */
.storefront-nav .storefront-menu .menu-link:hover,
.storefront-nav .storefront-menu .menu-link.active {
    opacity: 1;
    color: var(--gold, #f59e0b);
}

.storefront-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.brand-text h1 {
    font-size: 1.5rem;
    line-height: 1.2;
    margin: 0;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    flex: 0 0 auto;
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 768px) {
    .storefront-nav {
        flex-wrap: wrap;
        padding: 0.9rem 1rem;
        gap: 12px;
    }

    .storefront-brand { flex: 1 1 auto; min-width: 0; }

    .brand-text h1 { font-size: 1.2rem; }

    .mobile-toggle { display: flex; }

    /* The collapsed menu stays in the flow and animates open/closed evenly. */
    .storefront-menu {
        order: 3;
        flex: 0 0 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        max-height: 0;
        padding: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        border-top: 0 solid rgba(255, 255, 255, 0.22);
        transition: max-height 0.34s ease, padding 0.34s ease, border-width 0.34s ease,
                    opacity 0.24s ease, visibility 0s linear 0.34s;
    }

    .storefront-nav.mobile-open .storefront-menu {
        max-height: 28rem;
        padding: 10px 0 4px;
        border-top-width: 1px;
        opacity: 1;
        visibility: visible;
        transition: max-height 0.34s ease, padding 0.34s ease, border-width 0.34s ease,
                    opacity 0.2s ease, visibility 0s linear 0s;
    }

    .storefront-nav .storefront-menu > * {
        opacity: 0;
        transform: translateY(-8px);
        transition-delay: 0s;
    }

    .storefront-nav.mobile-open .storefront-menu > * {
        opacity: 1;
        transform: translateY(0);
    }

    .storefront-nav.mobile-open .storefront-menu > *:nth-child(1) { transition-delay: 0.05s; }
    .storefront-nav.mobile-open .storefront-menu > *:nth-child(2) { transition-delay: 0.10s; }
    .storefront-nav.mobile-open .storefront-menu > *:nth-child(3) { transition-delay: 0.15s; }
    .storefront-nav.mobile-open .storefront-menu > *:nth-child(4) { transition-delay: 0.20s; }
    .storefront-nav.mobile-open .storefront-menu > *:nth-child(5) { transition-delay: 0.25s; }
    .storefront-nav.mobile-open .storefront-menu > *:nth-child(6) { transition-delay: 0.30s; }
    .storefront-nav.mobile-open .storefront-menu > *:nth-child(7) { transition-delay: 0.35s; }

    @media (prefers-reduced-motion: reduce) {
        .storefront-menu,
        .storefront-nav .storefront-menu > * { transition: none; }
        .storefront-nav .storefront-menu > * { transform: none; }
    }

    .storefront-menu .menu-link {
        padding: 12px 14px;
        border-radius: 8px;
        font-size: 1rem;
    }

    .storefront-nav .storefront-menu .menu-link:hover,
    .storefront-nav .storefront-menu .menu-link.active {
        background: rgba(255, 255, 255, 0.18);
        color: #fff;
    }

    .storefront-nav-actions {
        margin: 8px 0 0;
        width: 100%;
    }

    .storefront-nav-actions .btn-nav { width: 100%; }
}

@media (max-width: 480px) {
    .storefront-logo { width: 44px; height: 44px; }
    .brand-text h1 { font-size: 1.05rem; }
    .home-visit-actions { flex-direction: column; }
    .home-visit-actions > * { width: 100%; }
}
/* ── Gallery (POS manager view + public client view) ─────────────── */
.pos-gallery-form { margin-top: 20px; }
.pos-gallery-intro { display:flex; align-items:center; justify-content:space-between; gap:18px; flex-wrap:wrap; margin-bottom:22px; }
.pos-gallery-intro h2 { margin:0 0 8px; }
.pos-gallery-intro p { margin:0; max-width:760px; line-height:1.55; }
.pos-gallery-access-note { margin-top:10px !important; }
.pos-gallery-intro-actions { display:flex; gap:8px; flex-wrap:wrap; }
.pos-gallery-upload-modal { width:min(720px, calc(100vw - 32px)); max-width:720px; max-height:calc(100vh - 32px); display:flex; flex-direction:column; overflow:hidden; }
.pos-gallery-upload-modal .pos-gallery-form { display:flex; flex:1; flex-direction:column; min-height:0; margin:0; overflow:hidden; }
.pos-gallery-upload-modal .pos-modal-body { flex:1; min-height:0; max-height:none; overflow-y:auto; }
.pos-gallery-upload-modal .pos-gallery-fields { grid-template-columns:repeat(2,minmax(0,1fr)); }
.pos-gallery-upload-modal .pos-gallery-fields input,
.pos-gallery-upload-modal .pos-gallery-fields textarea,
.pos-gallery-upload-modal .pos-gallery-fields select { width:100%; min-width:0; box-sizing:border-box; }
.pos-gallery-upload-modal input[type="file"] { width:100%; min-width:0; font-size:.86rem; }
.pos-gallery-upload-modal .pos-gallery-hint { padding:0 24px 16px; line-height:1.45; }
.pos-gallery-type-choice {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.pos-gallery-type-choice label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    cursor: pointer;
    font-weight: 600;
    color: #334155;
}
.pos-gallery-type-choice label:has(input:checked) {
    border-color: #6366f1;
    background: #eef2ff;
    color: #3730a3;
}
.pos-gallery-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-bottom: 14px;
}
.pos-gallery-submit {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.pos-gallery-hint { color: #64748b; font-size: 0.85rem; }
.pos-gallery-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.pos-gallery-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.pos-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}
.pos-gallery-card {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.pos-gallery-media, .gallery-card-media { position: relative; background: #0f172a; }
.pos-gallery-media > img, .gallery-card-media img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.pos-gallery-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.pos-gallery-body h4 { margin: 0; color: #1e293b; }
.pos-gallery-body p { margin: 0; color: #64748b; font-size: 0.9rem; }
.pos-gallery-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pos-gallery-date { color: #94a3b8; font-size: 0.78rem; }
.pos-gallery-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 4px; }
.pos-gallery-actions form { display: inline; }
.pos-gallery-actions > * { min-width:0; }
.pos-gallery-by { color: #94a3b8; }

/* Before/after reveal slider */
.pos-gallery-beforeafter { position: relative; overflow: hidden; }
.pos-gallery-beforeafter > img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pos-gallery-beforeclip {
    position: absolute;
    inset: 0;
    width: 100%;
    clip-path: inset(0 calc(100% - var(--ba-pos, 50%)) 0 0);
}
.pos-gallery-beforeclip img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pos-gallery-slider {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    width: 100%;
    margin: 0;
    background: transparent;
}
.pos-gallery-ba-tag {
    position: absolute;
    top: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.65);
    color: #fff;
}
.pos-gallery-ba-before { left: 10px; }
.pos-gallery-ba-after { right: 10px; }

/* Public gallery page */
.gallery-hero { text-align: center; padding: 40px 20px 10px; }
.gallery-hero h1 { margin-bottom: 8px; }
.gallery-hero p { color: #64748b; max-width: 640px; margin: 0 auto; }
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 18px 20px 8px;
}
.gallery-filter-active { outline: 2px solid currentColor; }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
}
.gallery-card {
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 6px 22px rgba(15, 23, 42, 0.08);
}
.gallery-card-body { padding: 16px 18px 20px; }
.gallery-card-body h3 { margin: 6px 0; }
.gallery-card-body p { margin: 0; color: #64748b; }
.gallery-card-type {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6366f1;
}
.gallery-empty { text-align: center; color: #64748b; padding: 40px 0; }
.gallery-cta { text-align: center; padding: 34px 20px 10px; }

@media (max-width: 700px) {
    .pos-gallery-intro { align-items:stretch; }
    .pos-gallery-intro-actions { width:100%; }
    .pos-gallery-intro-actions > * { flex:1 1 auto; }
    .pos-gallery-toolbar { align-items:flex-start; }
    .pos-gallery-filters { width:100%; }
}
@media (max-width: 560px) {
    .pos-gallery-grid { grid-template-columns:minmax(0,1fr); gap:14px; }
    .pos-gallery-upload-modal .pos-gallery-fields { grid-template-columns:minmax(0,1fr); gap:8px; }
    .pos-gallery-type-choice { display:grid; grid-template-columns:1fr; }
    .pos-gallery-type-choice label { padding:10px 12px; }
    .pos-gallery-upload-modal .pos-gallery-hint { padding:0 16px 14px; font-size:.78rem; }
    .pos-gallery-actions { gap:6px; }
    .pos-gallery-actions > * { flex:1 1 auto; }
    .pos-gallery-actions form { display:flex; }
}

/* Hidden-by-JS blocks must win over the grid/block display rules above. */
.pos-gallery-form [hidden],
.pos-gallery-card [hidden] {
    display: none !important;
}

/* The combined before/after card has an unpredictable ratio, so show it whole. */
.pos-gallery-card[data-item-type="transformation"] .pos-gallery-media > img,
.gallery-card[data-type="transformation"] .gallery-card-media > img {
    object-fit: contain;
}

/* Salon checkout refinements: service selection and stylist assignment */
.checkout-container {
    grid-template-columns: minmax(0, 1.35fr) minmax(390px, .9fr);
    height: calc(100dvh - 130px);
    min-height: 640px;
    gap: 18px;
}
.services-catalog-panel,
.checkout-cart-panel {
    border-color: #eee6f8;
    background: linear-gradient(180deg, #fff 0%, #fdfbff 100%);
}
.checkout-cart-panel {
    position: sticky;
    top: 18px;
    height: calc(100dvh - 130px);
}
.checkout-notice {
    margin: 0 0 12px;
    padding: 10px 12px;
    border: 1px solid #fcd34d;
    border-radius: 10px;
    background: #fffbeb;
    color: #92400e;
    font-size: .82rem;
    font-weight: 650;
}
.checkout-notice[hidden] { display: none; }
.service-tile.is-added {
    border-color: #a78bfa;
    background: linear-gradient(145deg, #faf5ff, #fff);
    box-shadow: inset 0 0 0 1px #ddd6fe, 0 8px 20px -18px #7c3aed;
}
.service-tile.is-added .service-tile-add {
    background: #7c3aed;
    border-color: #7c3aed;
    color: #fff;
    font-weight: 800;
}
.service-tile-add span {
    font-size: .75rem;
}
.cart-item-staff {
    flex-wrap: wrap;
    row-gap: 4px;
}
.cart-item-staff label {
    display: inline-flex;
    align-items: center;
}
.cart-item-staff .cart-item-staff-select {
    width: min(190px, 100%);
    min-height: 34px;
    margin: 0;
    padding: 6px 30px 6px 9px;
    border: 1px solid #ded5ee;
    border-radius: 9px;
    background: #fff;
    color: #3f3a52;
    font-size: .8rem;
}
.cart-item-staff .cart-item-staff-select:focus {
    outline: 0;
    border-color: #a78bfa;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, .12);
}
.cart-item-staff .cart-item-staff-select.cart-item-staff-missing {
    border-color: #fbbf24;
    background: #fffbeb;
    color: #92400e;
}
.cart-item-row {
    padding: 14px 0;
}
.btn-complete-checkout {
    min-height: 50px;
}

@media (max-width: 1100px) {
    .checkout-container {
        grid-template-columns: minmax(0, 1fr);
        height: auto;
        min-height: 0;
    }
    .checkout-cart-panel {
        position: relative;
        top: auto;
        height: auto;
        min-height: 420px;
    }
    .service-tiles-grid { max-height: 520px; }
}

@media (max-width: 900px) {
    .checkout-container {
        height: auto;
        min-height: 0;
        grid-template-columns: minmax(0, 1fr);
    }
    .services-catalog-panel { min-height: 390px; }
    .checkout-cart-panel { min-height: 420px; }
    .checkout-cart-panel { position: relative; top: auto; height: auto; }
    .service-tiles-grid { max-height: 520px; }
}

@media (max-width: 560px) {
    .checkout-container { gap: 12px; }
    .services-catalog-panel,
    .checkout-cart-panel { padding: 15px; border-radius: 15px; }
    .services-catalog-panel { min-height: 340px; }
    .service-tiles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
        max-height: 390px;
    }
    .service-tile { padding: 12px; min-height: 108px; }
    .service-tile h4 { font-size: .88rem; }
    .service-tile-price { font-size: .95rem; }
    .service-tile-comm { font-size: .62rem; }
    .cart-item-row { gap: 8px; }
    .cart-item-staff { align-items: flex-start; }
    .cart-item-staff label { width: 100%; }
    .cart-item-staff .cart-item-staff-select { width: 100%; }
    .cart-item-pricing { font-size: .85rem; }
    .btn-payment-option { min-height: 66px; }
}

@media (max-width: 360px) {
    .service-tiles-grid { grid-template-columns: 1fr; }
    .service-tile { min-height: 86px; }
}

/* Refined salon checkout: a service menu and visit ticket, rather than product cards. */
.checkout-container {
    --ticket-ink: #342831;
    --ticket-muted: #796d73;
    --ticket-line: #eadfe3;
    --ticket-accent: #865765;
    --ticket-accent-2: #b77f88;
    grid-template-columns: minmax(0, 1.38fr) minmax(390px, .86fr);
    gap: 22px;
}
.services-catalog-panel,
.checkout-cart-panel {
    border: 1px solid #eadfe3;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(70, 42, 53, .07);
}
.services-catalog-panel {
    background: #fff;
}
.checkout-cart-panel {
    background: #fffdfd;
    border-color: #e8d7dc;
}
.services-catalog-panel::before { background: #ad7b88; }
.checkout-cart-panel::before { background: #865765; }
.catalog-kicker { color: #865765; letter-spacing: .12em; }
.catalog-panel-head h3 {
    color: #342831;
    font-size: 1.45rem;
    letter-spacing: -.025em;
}
.catalog-hint { color: #81747a; }
.catalog-search-bar input {
    border-color: #e8dfe2;
    background: #fcf9fa;
}
.catalog-search-bar input:focus {
    border-color: #b88b96;
    box-shadow: 0 0 0 4px rgba(134, 87, 101, .11);
}
.service-tiles-grid {
    display: block;
    overflow-y: auto;
    border-top: 1px solid #eee5e8;
    padding: 0;
}
.service-tile {
    position: relative;
    display: block;
    min-height: 0;
    padding: 15px 112px 14px 12px;
    border: 0;
    border-bottom: 1px solid #eee5e8;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
}
.service-tile:hover {
    border-color: #eee5e8;
    background: #fcf7f8;
    box-shadow: none;
    transform: none;
}
.service-tile:active { background: #f7edef; transform: none; }
.service-tile-top { display: block; }
.service-tile h4 {
    margin: 0 0 5px;
    color: #342831;
    font-size: .98rem;
    font-weight: 700;
}
.service-tile-foot {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}
.service-tile-price {
    color: #62414d;
    font-size: .91rem;
    font-weight: 750;
}
.service-tile-duration {
    color: #81747a;
    font-size: .76rem;
    white-space: nowrap;
}
.service-tile-duration i { margin-right: 4px; color: #a17b85; }
.service-tile-add {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: auto;
    height: 36px;
    padding: 0 13px;
    border: 1px solid #865765;
    border-radius: 999px;
    background: #865765;
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
}
.service-tile-add::after { content: 'Add'; }
.service-tile:hover .service-tile-add,
.service-tile.is-added .service-tile-add {
    border-color: #704552;
    background: #704552;
    color: #fff;
}
.service-tile.is-added { background: #fcf7f8; box-shadow: inset 3px 0 #ad7b88; }
.service-tile.is-added .service-tile-add::after { content: 'Selected'; }
.service-tile-add span {
    display: grid;
    place-items: center;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
    font-size: .72rem;
}
.ticket-icon { background: #865765; box-shadow: 0 8px 18px -8px rgba(134,87,101,.55); }
.ticket-count { border-color: #e8d7dc; background: #f8eef1; color: #704552; }
.client-selector-box { border-color: #eee1e5; background: #fdf9fa; }
.client-box-label { color: #865765; }
.client-selector-box input { border-color: #e8dfe2; }
.cart-item-row { border-color: #eee5e8; }
.cart-item-info h5,.cart-item-price { color: #342831; }
.cart-item-staff label span { color: #796d73; }
.cart-item-staff .cart-item-staff-select {
    min-height: 38px;
    border-color: #d9c8ce;
    color: #493740;
}
.cart-item-staff .cart-item-staff-select:focus { border-color: #ad7b88; }
.cart-summary { border-color: #eadfe3; background: #fcf8f9; }
.summary-total { border-color: #eadfe3; color: #342831; }
.summary-total > span:last-child { color: #704552; }
.btn-payment-option {
    min-height: 70px;
    border-color: #e8dfe2;
    background: #fff;
    color: #51434a;
}
.btn-payment-option i { color: #865765; }
.btn-payment-option:hover { border-color: #ad7b88; background: #fcf7f8; }
.btn-payment-option.active {
    border: 2px solid #865765;
    background: #f8eef1;
    color: #593a45;
    box-shadow: none;
}
.btn-payment-option.active i { color: #704552; }
.btn-complete-checkout {
    min-height: 54px;
    border-radius: 10px;
    background: #704552;
    box-shadow: 0 8px 18px rgba(112,69,82,.2);
    color: #fff;
}
.btn-complete-checkout:hover { background: #593743; box-shadow: 0 10px 20px rgba(89,55,67,.24); }
.checkout-notice { border-color: #e4c88e; background: #fffaf0; color: #795b23; }
@media (max-width: 1100px) {
    .checkout-container { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .services-catalog-panel { min-height: 360px; }
    .checkout-cart-panel { min-height: 0; }
    .service-tiles-grid { max-height: 430px; }
}
@media (max-width: 560px) {
    .services-catalog-panel,.checkout-cart-panel { padding: 15px; border-radius: 14px; }
    .catalog-panel-head h3 { font-size: 1.18rem; }
    .service-tile { padding: 13px 96px 12px 8px; }
    .service-tile-add { right: 4px; height: 34px; padding: 0 10px; }
    .service-tile h4 { font-size: .9rem; }
    .service-tile-foot { gap: 9px; }
    .service-tile-duration { font-size: .7rem; }
    .btn-payment-option { min-height: 64px; }
    .btn-complete-checkout { position: sticky; bottom: 0; z-index: 2; box-shadow: 0 -5px 18px rgba(255,253,253,.9), 0 8px 18px rgba(112,69,82,.2); }
}
@media (max-width: 360px) {
    .service-tile-add { width: 34px; padding: 0; font-size: 0; }
    .service-tile-add i { font-size: 13px; }
    .service-tile-add::after { content: ''; }
    .service-tile.is-added .service-tile-add::after { content: ''; }
}

/* Guided checkout: client details, service and stylist, then payment. */
.checkout-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(8px, 2vw, 22px);
    max-width: 880px;
    margin: 0 auto 18px;
    padding: 12px 16px;
    color: #897b80;
}
.checkout-stepper > i { color: #c6b5ba; font-size: .8rem; }
.checkout-step {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #8b7c81;
    font-size: .86rem;
}
.checkout-step > span {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid #d9c9ce;
    border-radius: 50%;
    background: #fff;
    color: #786970;
    font-weight: 750;
}
.checkout-step strong { font-weight: 650; }
.checkout-step.active { color: #593743; }
.checkout-step.active > span,
.checkout-step.complete > span { border-color: #704552; background: #704552; color: #fff; }
.checkout-step.complete { color: #704552; }
.checkout-container[data-step="1"] {
    grid-template-columns: minmax(0, 660px);
    justify-content: center;
    height: auto;
    min-height: 0;
}
.checkout-container[data-step="1"] .services-catalog-panel,
.checkout-container[data-step="1"] #checkoutStepServices,
.checkout-container[data-step="1"] #checkoutStepPayment,
.checkout-container[data-step="2"] #checkoutStepClient,
.checkout-container[data-step="2"] #checkoutStepPayment,
.checkout-container[data-step="3"] .services-catalog-panel,
.checkout-container[data-step="3"] #checkoutStepClient { display: none; }
.checkout-container[data-step="1"] .checkout-cart-panel,
.checkout-container[data-step="3"] .checkout-cart-panel {
    position: relative;
    top: auto;
    height: auto;
    min-height: 0;
}
.checkout-container[data-step="1"] .checkout-cart-panel { padding: clamp(18px, 4vw, 34px); }
.checkout-container[data-step="2"] #checkoutStepServices { display: flex; flex: 1; flex-direction: column; min-height: 0; }
.checkout-container[data-step="3"] {
    grid-template-columns: minmax(0, 760px);
    justify-content: center;
    height: auto;
    min-height: 0;
}
.checkout-container[data-step="3"] #checkoutStepServices { display: block; }
.checkout-container[data-step="3"] #checkoutStepServices .checkout-flow-actions { display: none; }
.checkout-container[data-step="3"] .cart-items-list { max-height: 230px; min-height: 0; flex: none; }
.checkout-container[data-step="3"] #checkoutStepPayment { display: block; padding-top: 18px; border-top: 1px solid #eadfe3; }
.checkout-container[data-step="3"] .checkout-cart-panel { overflow: visible; }
.checkout-client-review {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 16px;
    padding: 12px 14px;
    border: 1px solid #eee1e5;
    border-radius: 12px;
    background: #fdf9fa;
    color: #865765;
}
.checkout-client-review > i { font-size: 1.35rem; }
.checkout-client-review span { display: grid; gap: 2px; flex: 1; min-width: 0; }
.checkout-client-review strong { color: #342831; font-size: .9rem; }
.checkout-client-review small { color: #796d73; font-size: .78rem; }
.checkout-client-review button { border: 0; background: transparent; color: #865765; padding: 8px; cursor: pointer; }
.checkout-step-hint { margin: 12px 0 0; color: #82747a; font-size: .84rem; }
.checkout-client-actions { margin-top: 18px; }
.checkout-flow-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; }
.checkout-flow-split { margin-top: auto; }
.checkout-next-button,
.checkout-back-button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-size: .88rem;
    font-weight: 700;
    cursor: pointer;
}
.checkout-next-button { background: #704552; color: #fff; }
.checkout-next-button:hover { background: #593743; }
.checkout-back-button { background: #fff; border-color: #d9c9ce; color: #704552; }
.checkout-back-button:hover { background: #fbf5f6; }
.checkout-step-panel .client-inputs label { display: grid; gap: 6px; color: #59474f; font-size: .8rem; font-weight: 700; }
.checkout-step-panel .client-inputs input { min-height: 44px; }
.checkout-container[data-step="1"] .client-selector-box { padding: 18px; }
.checkout-container[data-step="3"] .payment-method-selector { margin-top: 14px; }
@media (max-width: 560px) {
    .checkout-stepper { justify-content: space-between; gap: 5px; padding: 10px 4px; }
    .checkout-step { gap: 5px; font-size: .7rem; }
    .checkout-step > span { width: 26px; height: 26px; font-size: .76rem; }
    .checkout-stepper > i { font-size: .62rem; }
    .checkout-flow-actions { align-items: stretch; }
    .checkout-client-actions { flex-direction: column-reverse; }
    .checkout-flow-split .checkout-back-button,
    .checkout-flow-split .checkout-next-button { flex: 1; padding: 0 9px; font-size: .78rem; }
    .checkout-container[data-step="3"] .cart-items-list { max-height: 190px; }
}

/* Shared responsive data tables: keep full tables on desktop, tighten on tablet,
   and present each mobile row as an independently expandable card. */
.pos-responsive-table { width:100%; }
.pos-mobile-view-more { display:none; border:0; background:transparent; color:#7046a7; font:inherit; font-size:11px; font-weight:700; padding:7px 0 0; cursor:pointer; text-align:left; }
@media (min-width:641px) and (max-width:1024px) {
    .pos-responsive-table { width:100% !important; min-width:0 !important; table-layout:fixed; }
    .pos-responsive-table th, .pos-responsive-table td { padding:9px 8px !important; font-size:12px; white-space:normal !important; overflow-wrap:anywhere; }
    .pos-responsive-table th { font-size:10px; }
    .pos-responsive-table .btn-pos { padding:6px 8px; font-size:11px; }
    .pos-responsive-table td form { max-width:100%; flex-wrap:wrap; }
    .pos-responsive-table td input, .pos-responsive-table td select { min-width:0; max-width:100%; }
}
@media (max-width:640px) {
    .pos-content { min-width:0; padding-left:12px; padding-right:12px; }
    .pos-content .table-responsive, .pos-content [style*="overflow-x:auto"], .pos-content [style*="overflow: auto"] { overflow-x:visible !important; }
    .pos-responsive-table,
    .pos-responsive-table > tbody,
    .pos-responsive-table > tbody > tr { display:block; width:100% !important; min-width:0 !important; }
    .pos-responsive-table { border:0 !important; border-collapse:separate !important; border-spacing:0; table-layout:fixed; background:transparent; }
    .pos-responsive-table > thead { display:none !important; }
    .pos-responsive-table > tbody > tr { margin:0 0 11px; padding:5px 12px; border:1px solid #e7ebf1; border-radius:13px; background:#fff; box-shadow:0 3px 12px rgba(20,32,50,.045); overflow:hidden; }
    .pos-responsive-table > tbody > tr:last-child { margin-bottom:0; }
    .pos-responsive-table > tbody > tr > td { display:flex !important; align-items:flex-start; justify-content:space-between; gap:12px; width:100% !important; min-width:0 !important; padding:8px 0 !important; border:0 !important; border-bottom:1px solid #f0f2f5 !important; text-align:right !important; font-size:12px !important; line-height:1.4; white-space:normal !important; overflow-wrap:anywhere; }
    .pos-responsive-table > tbody > tr > td:last-child { border-bottom:0 !important; }
    .pos-responsive-table > tbody > tr > td::before { content:attr(data-label); flex:0 0 34%; max-width:42%; color:#778397; text-align:left; font-size:10px; font-weight:700; }
    .pos-responsive-table > tbody > tr > td > * { max-width:66%; }
    .pos-responsive-table > tbody > tr > td.pos-mobile-secondary { display:none !important; }
    .pos-responsive-table > tbody > tr.pos-mobile-expanded > td.pos-mobile-secondary { display:flex !important; }
    .pos-responsive-table > tbody > tr > td.pos-mobile-primary { color:#253147; }
    .pos-responsive-table > tbody > tr > td.pos-mobile-action { justify-content:flex-end; align-items:center; gap:6px; text-align:left !important; flex-wrap:wrap; }
    .pos-responsive-table > tbody > tr > td.pos-mobile-action::before { margin-right:auto; }
    .pos-responsive-table > tbody > tr > td.pos-mobile-action > * { max-width:100%; }
    .pos-responsive-table .pos-mobile-view-more { display:inline-flex; align-self:center; flex:0 0 auto; margin-left:auto; padding:5px 0 5px 8px; font-size:10px; white-space:nowrap; }
    .pos-responsive-table .staff-actions, .pos-responsive-table .pos-table-actions { max-width:100%; }
    .pos-responsive-table .staff-actions { justify-content:flex-end; }
    .pos-responsive-table .staff-edit-btn { min-width:28px; }
    .pos-responsive-table td table { width:100%; min-width:0 !important; }
}

/* Checkout uses the same primary palette as the rest of the POS. */
.checkout-container {
    --ticket-ink: var(--dark);
    --ticket-muted: var(--secondary);
    --ticket-line: var(--border);
    --ticket-accent: var(--primary);
    --ticket-accent-2: var(--accent);
}
.checkout-stepper { color:var(--secondary); }
.checkout-stepper > i { color:var(--border); }
.checkout-step.active,.checkout-step.complete { color:var(--primary); }
.checkout-step.active > span,.checkout-step.complete > span { border-color:var(--primary); background:var(--primary); color:#fff; }
.services-catalog-panel,.checkout-cart-panel { border-color:#e8dff0; color:var(--dark); }
.services-catalog-panel::before,.checkout-cart-panel::before { background:var(--primary); }
.catalog-kicker,.checkout-step-panel .client-box-label { color:var(--primary); }
.checkout-step-panel .client-inputs label { color:var(--secondary); }
.catalog-panel-head h3,.cart-item-info h5,.cart-item-price,.summary-total { color:var(--dark); }
.catalog-search-bar input:focus,.checkout-step-panel .client-inputs input:focus,
.cart-item-staff .cart-item-staff-select:focus { border-color:var(--primary); box-shadow:0 0 0 3px rgba(138,58,185,.12); }
.service-tile:hover { background:#faf6fc; }
.service-tile.is-added { background:#f8f1fc; box-shadow:inset 3px 0 var(--primary); }
.service-tile-price { color:var(--primary-dark); }
.service-tile-add,.ticket-icon { border-color:var(--primary); background:var(--primary); }
.service-tile-add:hover,.service-tile.is-added .service-tile-add { border-color:var(--primary-dark); background:var(--primary-dark); }
.ticket-count { border-color:#e1bbf7; background:#f5eafa; color:var(--primary-dark); }
.client-selector-box { border-color:#eadff2; background:#fcf9fe; }
.cart-item-row,.cart-summary,.summary-total { border-color:#eadff2; }
.cart-summary { background:#fcf9fe; }
.summary-total > span:last-child { color:var(--primary-dark); }
.btn-payment-option i { color:var(--primary); }
.btn-payment-option:hover { border-color:var(--primary-light); background:#faf6fc; }
.btn-payment-option.active { border-color:var(--primary); background:#f5eafa; color:var(--primary-dark); }
.btn-payment-option.active i { color:var(--primary-dark); }
.btn-complete-checkout,.checkout-next-button { background:var(--primary); color:#fff; }
.btn-complete-checkout:hover,.checkout-next-button:hover { background:var(--primary-dark); }
.checkout-back-button { border-color:#e1bbf7; color:var(--primary-dark); }
.checkout-back-button:hover { background:#faf6fc; }
.checkout-client-review > i,.checkout-client-review button { color:var(--primary); }
.cart-item-staff .cart-item-staff-select { border-color:#e1d3e9; color:var(--dark); }
.btn-complete-checkout:disabled { opacity:.72; cursor:wait; }
