/* ============================================
   Sara Nails — Public Styles (Mobile First)
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #f398c0;
    --primary-dark: #e07da9;
    --primary-light: #f0cbcb;
    --bg: #f2d6d5;
    --bg-card: #ffffff;
    --text: #2c3320;
    --text-light: #7e8b69;
    --border: #f0e4e3;
    --sage: #9bac8b;
    --sage-dark: #7e8b69;
    --forest: #2c3320;
    --blush: #f0cbcb;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 2px 12px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.1);
    --transition: 0.3s ease;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-ar: 'Tajawal', 'Inter', sans-serif;
    --header-h: 90px;
    --bottom-nav-h: 65px;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

html[lang="ar"] body { font-family: var(--font-ar); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.8rem;
    border: none;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}
.btn-primary:hover { background: var(--primary-dark); }

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }

.btn-ghost {
    background: transparent;
    color: var(--text-light);
    padding: 0.5rem 1rem;
}

.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.85rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.1rem; }
.btn-block { width: 100%; }

/* --- Install Banner --- */
.install-banner {
    position: fixed;
    bottom: calc(var(--bottom-nav-h) + 10px);
    left: 1rem;
    right: 1rem;
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 1rem 1.2rem;
    z-index: 1000;
    animation: slideUp 0.4s ease;
}
.install-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.install-banner-text { font-size: 0.9rem; flex: 1; }
.install-banner-btns { display: flex; gap: 0.5rem; }

@keyframes slideUp {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 900;
}

/* Social Media Bar */
.social-bar {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    height: 36px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    z-index: 899;
}
.social-bar a {
    display: flex;
    align-items: center;
    transition: var(--transition);
    opacity: 0.8;
}
.social-bar a:hover { opacity: 1; transform: scale(1.15); }
.social-bar a svg { width: 20px; height: 20px; }
.social-bar ~ .bottom-nav ~ .main-content,
body:has(.social-bar) .main-content {
    padding-top: calc(var(--header-h) + 36px + 1rem);
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}
.logo-img {
    width: 72px;
    height: 72px;
    object-fit: contain;        /* preserve whole logo, no cropping */
    background: transparent;    /* never add a backdrop in CSS */
}

.desktop-nav { display: none; }
.desktop-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
}
.desktop-nav a:hover,
.desktop-nav a.active { color: var(--primary); }
.desktop-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: 0.8rem; }

.lang-toggle {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border: 1.5px solid var(--border);
    border-radius: 20px;
    transition: var(--transition);
}
.lang-toggle:hover { border-color: var(--primary); color: var(--primary); }

/* --- Mobile Menu (removed — using bottom nav) --- */
.mobile-menu-btn { display: none; }
.mobile-menu { display: none; }

/* --- Bottom Nav --- */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--bottom-nav-h);
    background: #fff;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 900;
    padding-bottom: env(safe-area-inset-bottom, 0);
}
.bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--text-light);
    transition: var(--transition);
    padding: 0.4rem;
    min-width: 50px;
}
.bottom-nav a svg { width: 22px; height: 22px; }
.bottom-nav a.active { color: var(--primary); }
.bottom-nav a.bottom-nav-book { color: var(--primary); font-weight: 700; }

/* --- Main Content --- */
.main-content {
    padding-top: calc(var(--header-h) + 1rem);
    padding-bottom: calc(var(--bottom-nav-h) + 2rem);
    min-height: 100vh;
    max-width: 100%;
    overflow-x: hidden;
}

/* --- Sections --- */
.section {
    padding: 2rem 1rem;
}
.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* --- Hero --- */
.hero {
    text-align: center;
    padding: 3rem 1rem;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg) 100%);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    margin-bottom: 1rem;
}
.hero h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}
.hero p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

/* --- Service Cards --- */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
.service-card {
    position: relative;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    /* Image fills the card; body overlays the bottom. min-height keeps cards
       consistent even when one description wraps more lines than another. */
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: var(--bg-card);
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.service-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.service-card-img-empty {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: rgba(248, 244, 240, 0.55);
    z-index: 0;
}

.service-card-body {
    position: relative;
    z-index: 1;
    padding: 1rem 1.2rem 1.2rem;
    /* Frosted-glass panel — more transparent, stronger blur compensates so
       text on busy photos still reads. */
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(20px) saturate(1.3);
    -webkit-backdrop-filter: blur(20px) saturate(1.3);
    border-top: 1px solid rgba(255, 255, 255, 0.35);
}
.service-card-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}
.service-card-desc {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.8rem;
    line-height: 1.5;
}
.service-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.service-card-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}
.service-card-duration {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Service info pills — duration on one side, price on the other, single row.
   Auto-margin is used (instead of justify-content) so any sibling rule that
   tries to centre/start the children loses to "ms-auto / me-auto" pushes. */
.service-info-row {
    display: flex;
    align-items: center;
    width: 100%;
    margin: 0.6rem 0 0.2rem;
}
.service-info-box {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.85rem;
    line-height: 1.2;
    white-space: nowrap;
    border: 1px solid transparent;
}
.service-info-time {
    margin-inline-end: auto;   /* pushes price to the opposite edge */
    background: rgba(248, 244, 240, 0.5);
    border-color: rgba(236, 229, 220, 0.7);
    color: var(--text-light);
}
.service-info-time strong { color: var(--text); font-weight: 700; }
.service-info-price {
    background: rgba(255, 245, 249, 0.6);
    border-color: rgba(240, 203, 203, 0.6);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.95rem;
}

/* --- Gallery Grid --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}
.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    position: relative;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.gallery-item:hover img { transform: scale(1.05); }

/* --- Lightbox --- */
.lightbox {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: var(--radius);
}
.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
}

/* --- Booking Steps --- */
/* --- Booking Steps --- */
.booking-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    margin-bottom: 2rem;
}
.booking-step-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    transition: var(--transition);
}
.booking-step-dot.active { background: var(--primary); width: 28px; border-radius: 5px; }
.booking-step-dot.done { background: var(--primary); }
.booking-step-line {
    width: 20px;
    height: 2px;
    background: var(--border);
}

.booking-step h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Service selection in booking */
.booking-service-list { display: flex; flex-direction: column; gap: 0.8rem; }
.booking-service-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}
.booking-service-item.selected { border-color: var(--primary); background: rgba(197,155,109,0.05); }
.booking-service-item .service-radio {
    width: 22px; height: 22px;
    border: 2px solid var(--border);
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    transition: var(--transition);
}
.booking-service-item.selected .service-radio {
    border-color: var(--primary);
}
.booking-service-item.selected .service-radio::after {
    content: '';
    position: absolute;
    top: 4px; left: 4px;
    width: 10px; height: 10px;
    background: var(--primary);
    border-radius: 50%;
}
.booking-service-info { flex: 1; }
.booking-service-info .name { font-weight: 600; }
.booking-service-info .meta { font-size: 0.85rem; color: var(--text-light); }

/* Calendar */
.booking-calendar {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 1.2rem;
    box-shadow: var(--shadow);
}
.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.calendar-header h3 { font-size: 1rem; font-weight: 600; }
.calendar-nav {
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition);
}
.calendar-nav:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    text-align: center;
}
.calendar-day-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    padding: 0.5rem 0;
}
.calendar-day {
    padding: 0.6rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.calendar-day:hover { background: var(--primary-light); }
.calendar-day.today { font-weight: 700; }
.calendar-day.selected { background: var(--primary); color: #fff; }
.calendar-day.disabled {
    color: #d1d1d1;
    cursor: default;
    text-decoration: line-through;
}
.calendar-day.disabled:hover { background: transparent; }
.calendar-day.empty { cursor: default; }
.calendar-day.empty:hover { background: transparent; }

/* Time slots */
.time-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
}
.time-slot {
    padding: 0.8rem;
    text-align: center;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}
.time-slot:hover { border-color: var(--primary); }
.time-slot.selected { background: var(--primary); color: #fff; border-color: var(--primary); }
.time-slot.disabled {
    opacity: 0.3;
    cursor: default;
    text-decoration: line-through;
}

/* Info form */
.booking-form { display: flex; flex-direction: column; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
}
.form-group input {
    padding: 0.9rem 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    outline: none;
}
.form-group input:focus { border-color: var(--primary); }

/* Booking summary */
.booking-summary {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}
.booking-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border);
}
.booking-summary-row:last-child { border-bottom: none; }
.booking-summary-row .label { color: var(--text-light); font-size: 0.9rem; }
.booking-summary-row .value { font-weight: 600; }

/* Booking navigation */
.booking-nav {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}
.booking-nav .btn { flex: 1; }

/* Success screen */
.booking-success {
    text-align: center;
    padding: 2rem 0;
}
.booking-success .icon { font-size: 4rem; margin-bottom: 1rem; }
.booking-success h2 { margin-bottom: 0.5rem; }
.booking-success p { color: var(--text-light); margin-bottom: 2rem; }
.booking-success-btns { display: flex; flex-direction: column; gap: 0.8rem; }

/* WhatsApp button */
.btn-whatsapp {
    background: #25D366;
    color: #fff;
}
.btn-whatsapp:hover { background: #1ebe5a; }

/* --- Contact Page --- */
/* --- Contact Page --- */
.contact-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
}
.contact-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--primary);
}
.contact-card p { color: var(--text-light); line-height: 1.8; }
.contact-card a { color: var(--primary); }

.hours-list { list-style: none; }
.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}
.hours-list li:last-child { border-bottom: none; }
.hours-list .day-off { color: #e74c3c; }

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}
.social-links a {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.social-links a:hover { background: var(--primary); color: #fff; }
.social-links a svg { width: 20px; height: 20px; }

/* --- Footer --- */
.site-footer {
    text-align: center;
    padding: 1.5rem;
    color: var(--text-light);
    font-size: 0.85rem;
    padding-bottom: calc(var(--bottom-nav-h) + 1rem);
}

/* --- Utilities --- */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }

/* --- Contact Page --- */
.contact-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}
.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 1.5rem 1rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-decoration: none;
    color: var(--text);
}
.contact-card:hover { box-shadow: var(--shadow-lg); }
.contact-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.contact-label { font-size: 0.85rem; color: var(--text-light); }
.contact-value { font-weight: 600; margin-top: 0.25rem; font-size: 0.9rem; }

.working-hours-public {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    margin-top: 1rem;
    text-align: left;
}
.working-hours-public h2 { margin-bottom: 1rem; font-size: 1.1rem; }
.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}
.hours-row:last-child { border-bottom: none; }
.hours-row.off .hours-time { color: #e74c3c; }
.hours-day { font-weight: 500; }
.hours-time { color: var(--text-light); }

/* --- Booking Form Enhancements --- */
.booking-step {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 1.25rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
}
.booking-step h3 { margin-bottom: 1rem; font-size: 1rem; color: var(--primary-dark); }
.booking-step label { display: block; margin-bottom: 0.75rem; font-size: 0.9rem; color: var(--text-light); }
.booking-step input[type="text"],
.booking-step input[type="tel"],
.booking-step textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    margin-top: 0.25rem;
    font-family: var(--font);
}
.booking-step textarea { resize: vertical; }

.booking-services {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.booking-service-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}
.booking-service-option.selected {
    border-color: var(--primary);
    background: rgba(197,155,109,0.05);
}
.booking-service-option input[type="radio"],
.booking-service-option input[type="checkbox"] { accent-color: var(--primary); width: 18px; height: 18px; }
.option-info { display: flex; flex-direction: column; }
.option-info strong { font-size: 0.95rem; }
.option-info span { font-size: 0.8rem; color: var(--text-light); }

.booking-summary-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.6rem 1rem;
    margin-top: 0.75rem;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 600;
}

.booking-date-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}
.time-slot-btn {
    padding: 0.6rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    background: #fff;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}
.time-slot-btn:hover { border-color: var(--primary); }
.time-slot-btn.selected {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.hidden { display: none !important; }

/* --- Loading spinner --- */
.spinner {
    width: 30px; height: 30px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    margin: 2rem auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --- Empty state --- */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-light);
}
.empty-state .icon { font-size: 3rem; margin-bottom: 1rem; }

/* --- My Bookings Page --- */
.mb-filter-tabs {
    display: flex;
    gap: 0.4rem;
    overflow-x: auto;
    padding: 0 0 1rem;
    -webkit-overflow-scrolling: touch;
}
.mb-filter-tab {
    flex-shrink: 0;
    padding: 0.45rem 1rem;
    border-radius: 20px;
    border: 1.5px solid var(--border);
    background: var(--bg-card);
    color: var(--text);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}
.mb-filter-tab.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.my-booking-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: var(--shadow);
    margin-bottom: 0.8rem;
    border-left: 4px solid var(--border);
    overflow: hidden;
    word-break: break-word;
}
.my-booking-card.status-pending { border-left-color: #f39c12; }
.my-booking-card.status-confirmed { border-left-color: #27ae60; }
.my-booking-card.status-cancelled { border-left-color: #e74c3c; }
.my-booking-card.status-done { border-left-color: #95a5a6; }

html[dir="rtl"] .my-booking-card {
    border-left: none;
    border-right: 4px solid var(--border);
}
html[dir="rtl"] .my-booking-card.status-pending { border-right-color: #f39c12; }
html[dir="rtl"] .my-booking-card.status-confirmed { border-right-color: #27ae60; }
html[dir="rtl"] .my-booking-card.status-cancelled { border-right-color: #e74c3c; }
html[dir="rtl"] .my-booking-card.status-done { border-right-color: #95a5a6; }

.my-booking-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}
.my-booking-date { font-weight: 700; font-size: 1.05rem; }
.my-booking-status {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    color: #fff;
    white-space: nowrap;
    flex-shrink: 0;
}
.my-booking-status.pending { background: #f39c12; }
.my-booking-status.confirmed { background: #27ae60; }
.my-booking-status.cancelled { background: #e74c3c; }
.my-booking-status.done { background: #95a5a6; }
.cancelled-by {
    font-size: 0.7rem;
    font-weight: 600;
    color: #e74c3c;
    background: rgba(231,76,60,0.1);
    padding: 2px 8px;
    border-radius: 10px;
    margin-inline-start: 4px;
}

.my-booking-time { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.3rem; }
.my-booking-service { font-size: 0.9rem; color: var(--text-light); margin-bottom: 0.2rem; overflow: hidden; text-overflow: ellipsis; }
.my-booking-notes { font-size: 0.85rem; color: var(--text-light); font-style: italic; }
.my-booking-cancel { margin-top: 0.8rem; }
.my-booking-cancel-note {
    margin-top: 0.45rem;
    font-size: 0.8rem;
    color: #dc3545;
}

.btn-cancel-booking {
    background: #fde8e8;
    color: #dc3545;
    border: none;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: inherit;
    transition: var(--transition);
}
.btn-cancel-booking:hover { background: #dc3545; color: #fff; }

.my-bookings-lookup {
    margin-bottom: 1.5rem;
}
.my-bookings-lookup p {
    color: var(--text-light);
    margin-bottom: 0.8rem;
}
.my-bookings-lookup-form {
    display: flex;
    gap: 0.5rem;
}
.my-bookings-lookup-form input {
    flex: 1;
    min-width: 0;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    outline: none;
}
.my-bookings-lookup-form input:focus { border-color: var(--primary); }

.alert {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    word-break: break-word;
}
.alert-success { background: #d4edda; color: #155724; }
.alert-error { background: #f8d7da; color: #721c24; }

/* ============================================
   Desktop (768px+)
   ============================================ */
@media (min-width: 768px) {
    .bottom-nav { display: none; }
    .desktop-nav {
        display: flex;
        gap: 1.8rem;
    }
    .main-content {
        padding-bottom: 2rem;
    }
    .site-footer { padding-bottom: 1.5rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .hero h1 { font-size: 2.8rem; }
    .hero { padding: 4rem 2rem; }
    .time-slots { grid-template-columns: repeat(4, 1fr); }
    .install-banner { left: 50%; right: auto; transform: translateX(-50%); max-width: 500px; }
}

@media (min-width: 1024px) {
    .services-grid { grid-template-columns: repeat(3, 1fr); }
    .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}
