@charset "UTF-8";

/* Tokens + base reset live in arvira-tokens.css / arvira-base.css.
   This file holds User shell + page styles and uses legacy token aliases. */

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-state {
    text-align: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--bg-gray);
    border-top-color: var(--primary-purple);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 12px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.dots {
    display: flex;
    justify-content: center;
    gap: 6px;
}

.dot {
    width: 8px;
    height: 8px;
    background: var(--primary-purple);
    border-radius: 50%;
    animation: bounce 0.6s ease-in-out infinite;
}

.dot:nth-child(2) { animation-delay: 0.1s; }
.dot:nth-child(3) { animation-delay: 0.2s; }

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* Main Wrapper */
#wrapper {
    min-height: 100vh;
    display: flex;
}

/* ============================================
   SIDEBAR STYLES
   ============================================ */
.sidebar-section {
    width: 280px;
    min-height: 100vh;
    background: var(--bg-white);
    display: flex;
    flex-direction: column;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.sidebar-logo .logo-image {
    width: 64px;
    height: 64px;
}

/* Sidebar Navigation */
.sidebar-nav {
    padding: 16px 12px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-nav-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-nav-link {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    border-radius: var(--border-radius-sm);
    transition: all 0.2s ease;
}

.sidebar-nav-link:hover {
    background: var(--bg-gray);
    color: var(--primary-purple);
}

.sidebar-nav-link.active {
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    color: white;
}

/* Sidebar Filters Container */
.sidebar-filters-container {
    flex: 1;
    overflow-y: auto;
    padding: 16px 12px;
}

/* Sidebar Footer */
.sidebar-footer {
    padding: 16px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-white);
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-gray);
    border-radius: var(--border-radius-sm);
}

.sidebar-user .user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-purple);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.sidebar-user .user-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-user .avatar-placeholder {
    font-size: 16px;
    font-weight: 600;
}

.sidebar-user .user-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-user .user-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

.sidebar-user .user-logout {
    font-size: 12px;
    color: var(--error-red);
}

.sidebar-auth {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-auth .btn {
    width: 100%;
}

/* ============================================
   SIDEBAR FILTERS STYLES
   ============================================ */
.sidebar-filters {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-accordion {
    background: var(--bg-gray);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.filter-accordion .accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    background: transparent;
    cursor: pointer;
}

.filter-accordion .accordion-header:hover {
    background: rgba(0, 0, 0, 0.02);
}

.filter-accordion .accordion-header i {
    font-size: 12px;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.filter-accordion.open .accordion-header i {
    transform: rotate(180deg);
}

.filter-accordion .accordion-content {
    display: none;
    padding: 0 16px 16px;
}

.filter-accordion.open .accordion-content {
    display: block;
}

/* Filter Options */
.filter-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--border-radius-sm);
    transition: background 0.2s ease;
}

.filter-option:hover {
    background: rgba(0, 0, 0, 0.02);
}

/* Radio Styles */
.filter-option input[type="radio"] {
    display: none;
}

.filter-option .option-indicator {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.filter-option input[type="radio"]:checked + .option-indicator {
    border-color: var(--primary-purple);
    background: var(--primary-purple);
}

.filter-option input[type="radio"]:checked + .option-indicator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
}

.filter-option .option-label {
    font-size: 13px;
    color: var(--text-dark);
}

/* Checkbox Styles */
.filter-option.checkbox .option-indicator {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.filter-option.checkbox input[type="checkbox"]:checked + .option-indicator {
    background: var(--primary-purple);
    border-color: var(--primary-purple);
}

.filter-option.checkbox .option-indicator i {
    font-size: 12px;
    color: white;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s ease;
}

.filter-option.checkbox input[type="checkbox"]:checked + .option-indicator i {
    opacity: 1;
    transform: scale(1);
}

/* Filter Dropdowns */
.filter-dropdowns {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.filter-select-wrapper {
    position: relative;
}

.filter-select {
    width: 100%;
    padding: 12px 40px 12px 16px;
    font-size: 13px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    background: var(--bg-white);
    appearance: none;
    cursor: pointer;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-purple);
}

.filter-select-wrapper .select-arrow {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: var(--text-muted);
    pointer-events: none;
}

/* Filter Toggle */
.filter-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 10px;
    background: var(--bg-white);
    border-radius: var(--border-radius-sm);
}

.filter-toggle input[type="checkbox"] {
    display: none;
}

.filter-toggle .toggle-indicator {
    width: 44px;
    height: 24px;
    background: var(--border-color);
    border-radius: 12px;
    position: relative;
    transition: background 0.3s ease;
    flex-shrink: 0;
}

.filter-toggle .toggle-circle {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.filter-toggle input[type="checkbox"]:checked + .toggle-indicator {
    background: var(--primary-purple);
}

.filter-toggle input[type="checkbox"]:checked + .toggle-indicator .toggle-circle {
    transform: translateX(20px);
}

.filter-toggle .toggle-label {
    font-size: 13px;
    color: var(--text-dark);
}

/* Filter Actions */
.filter-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 8px;
}

.filter-actions .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--border-radius-sm);
    transition: all 0.2s ease;
}

.filter-actions .btn-primary {
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    color: white;
}

.filter-actions .btn-primary:hover {
    box-shadow: 0 4px 12px rgba(83, 73, 221, 0.3);
}

.filter-actions .btn-outline {
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    background: transparent;
}

.filter-actions .btn-outline:hover {
    border-color: var(--primary-purple);
    color: var(--primary-purple);
}

/* ============================================
   MAIN CONTENT AREA
   ============================================ */
.main-content {
    flex: 1;
    margin-right: 280px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Desktop Header */
.desktop-header {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    padding: 16px 32px;
    position: sticky;
    top: 0;
    z-index: 50;
}

.desktop-header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Search */
.header-search {
    flex: 1;
    max-width: 400px;
}

.search-form {
    position: relative;
}

.search-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 16px;
}

.search-input {
    width: 100%;
    padding: 12px 48px 12px 16px;
    font-size: 14px;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    background: var(--bg-gray);
    transition: all 0.2s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-purple);
    background: var(--bg-white);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.notification-btn {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-dark);
    border-radius: 50%;
}

.notification-btn:hover {
    background: var(--bg-gray);
}

.notification-badge {
    position: absolute;
    top: 4px;
    left: 4px;
    min-width: 18px;
    height: 18px;
    background: var(--error-red);
    color: white;
    font-size: 10px;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.user-menu-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px 6px 8px;
    border-radius: 24px;
    background: var(--bg-gray);
}

.user-menu-btn:hover {
    background: var(--primary-purple);
    color: white;
}

.user-avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-purple);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    overflow: hidden;
}

.user-avatar-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-name-small {
    font-size: 14px;
    font-weight: 500;
}

.user-menu-btn i {
    font-size: 12px;
    color: var(--text-muted);
}

.header-auth {
    display: flex;
    gap: 12px;
}

.header-auth .btn {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--border-radius-sm);
}

.header-auth .btn-outline {
    border: 1px solid var(--primary-purple);
    color: var(--primary-purple);
    background: transparent;
}

.header-auth .btn-outline:hover {
    background: var(--primary-purple);
    color: white;
}

.header-auth .btn-primary {
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    color: white;
}

/* ============================================
   PAGE CONTENT
   ============================================ */
.page-content {
    flex: 1;
    padding: 24px 32px;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

/* ============================================
   SERVICE CATEGORIES
   ============================================ */
.service-categories-section {
    margin-bottom: 24px;
}

.service-categories {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 8px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.service-categories::-webkit-scrollbar {
    display: none;
}

.service-card {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--bg-white);
    border: 2px solid var(--primary-purple);
    border-radius: var(--border-radius-sm);
    font-size: 13px;
    font-weight: 500;
    color: var(--primary-purple);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(83, 73, 221, 0.15);
}

.service-card.active {
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    color: white;
    border-color: transparent;
}

/* ============================================
   ACTIVE FILTERS BAR
   ============================================ */
.active-filters-bar {
    display: none;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: var(--bg-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}

.active-filters-bar.visible {
    display: flex;
}

.active-filters-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    margin-left: 8px;
}

.active-filters-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--bg-gray);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-dark);
}

.filter-chip .chip-remove {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--border-color);
    color: var(--text-muted);
    border-radius: 50%;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-chip .chip-remove:hover {
    background: var(--error-red);
    color: white;
}

.clear-all-filters {
    font-size: 13px;
    color: var(--primary-purple);
    cursor: pointer;
    padding: 8px 12px;
}

.clear-all-filters:hover {
    text-decoration: underline;
}

/* ============================================
   SALON CARDS SECTION
   ============================================ */
.salon-cards-section {
    margin-bottom: 24px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 16px;
    padding-right: 12px;
    border-right: 3px solid var(--primary-purple);
}

.salon-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Salon Card */
.salon-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
    transition: all 0.2s ease;
}

.salon-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.salon-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.badge-new {
    background: var(--primary-purple);
    color: white;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
}

.badge-professional {
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    color: white;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
}

.salon-favorite {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--error-red);
    box-shadow: var(--shadow);
    z-index: 10;
}

.salon-favorite:hover {
    transform: scale(1.1);
}

.salon-card-header {
    display: flex;
    gap: 16px;
    padding: 16px;
}

.salon-image-wrapper {
    width: 200px;
    height: 150px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.salon-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.salon-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.salon-name {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark);
}

.salon-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rating-stars {
    display: flex;
    gap: 2px;
}

.rating-stars i {
    font-size: 14px;
    color: #FFD700;
}

.rating-stars i.empty-star {
    color: #DDD;
}

.rating-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.salon-address {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: var(--text-light);
}

.salon-address i {
    color: var(--primary-purple);
    margin-top: 2px;
}

.distance-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--primary-purple);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 500;
    border-radius: var(--border-radius-sm);
}

.status-badge.open {
    background: rgba(0, 184, 77, 0.1);
    color: var(--success-green);
}

.status-badge.closed {
    background: rgba(232, 58, 58, 0.1);
    color: var(--error-red);
}

/* Salon Card Body */
.salon-card-body {
    padding: 0 16px 16px;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.service-tag {
    padding: 6px 12px;
    font-size: 12px;
    color: var(--text-dark);
    background: var(--bg-gray);
    border-radius: var(--border-radius-sm);
}

.time-slots-section {
    margin-bottom: 16px;
}

.time-slots-header {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.time-slots-grid {
    display: flex;
    gap: 8px;
}

.time-slot {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 8px;
    background: var(--bg-gray);
    border-radius: var(--border-radius-sm);
    font-size: 12px;
    transition: all 0.2s ease;
}

.time-slot.available {
    background: var(--bg-white);
    border: 1px solid var(--primary-purple);
    color: var(--primary-purple);
}

.time-slot.unavailable {
    opacity: 0.6;
    cursor: not-allowed;
}

.time-slot-icon {
    font-size: 16px;
}

.time-slot-label {
    font-weight: 500;
}

.time-slot-hours {
    font-size: 11px;
    opacity: 0.8;
}

.time-slot-status {
    font-size: 10px;
}

.time-slot-status.status-open {
    color: var(--success-green);
}

.time-slot-status.status-closed {
    color: var(--error-red);
}

.salon-card-body footer {
    margin-top: 12px;
}

.btn-reserve {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    border-radius: var(--border-radius-sm);
    transition: all 0.2s ease;
}

.btn-reserve:hover {
    box-shadow: 0 4px 12px rgba(233, 104, 214, 0.4);
    transform: translateY(-2px);
}

/* Alias used by profile / appointments / contact (was beauty-salon.css) */
.btn-primary-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    color: white;
    background: var(--primary-purple);
    border: none;
    border-radius: var(--border-radius-md);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary-cta:hover {
    filter: brightness(0.95);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* ============================================
   ALERT MESSAGES
   ============================================ */
.alert-message {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    margin-bottom: 16px;
    border-radius: var(--border-radius-sm);
    font-size: 14px;
}

.alert-danger {
    background: rgba(232, 58, 58, 0.1);
    color: var(--error-red);
    border: 1px solid rgba(232, 58, 58, 0.3);
}

.alert-success {
    background: rgba(0, 184, 77, 0.1);
    color: var(--success-green);
    border: 1px solid rgba(0, 184, 77, 0.3);
}

/* ============================================
   BOTTOM NAVIGATION (MOBILE)
   ============================================ */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
    z-index: 100;
    padding: 8px 0;
}

.bottom-nav-container {
    max-width: 480px;
    margin: 0 auto;
}

.bottom-nav-list {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.bottom-nav-item {
    flex: 1;
    text-align: center;
}

.bottom-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px;
    font-size: 10px;
    font-weight: 500;
    color: var(--text-light);
    transition: all 0.2s ease;
}

.bottom-nav-link:hover,
.bottom-nav-link.active {
    color: var(--primary-purple);
}

/* ============================================
   MOBILE STYLES
   ============================================ */
.mobile-header {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--bg-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 50;
}

.mobile-logo img {
    width: 40px;
    height: 40px;
}

.mobile-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-filter-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--primary-purple);
}

.mobile-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-purple);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

.mobile-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.mobile-auth-link {
    font-size: 14px;
    color: var(--primary-purple);
    font-weight: 500;
}

.mobile-sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
}

.mobile-sidebar {
    display: none;
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background: var(--bg-white);
    z-index: 100;
    transition: right 0.3s ease;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-sidebar-logo img {
    width: 48px;
    height: 48px;
}

.mobile-sidebar-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-dark);
    border-radius: 50%;
}

.mobile-sidebar-nav {
    flex: 1;
    padding: 16px;
}

.mobile-sidebar-nav ul {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-sidebar-nav li a {
    display: block;
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    border-radius: var(--border-radius-sm);
}

.mobile-sidebar-nav li a:hover,
.mobile-sidebar-nav li a.active {
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    color: white;
}

/* Mobile Filter Panel */
.mobile-filter-panel {
    display: none;
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--bg-white);
    z-index: 150;
    transition: left 0.3s ease;
    flex-direction: column;
}

.mobile-filter-panel.active {
    left: 0;
}

.mobile-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-filter-header h3 {
    font-size: 18px;
    font-weight: 600;
}

.mobile-filter-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-dark);
}

.mobile-filter-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Tablet (576px - 991px) */
@media (min-width: 576px) and (max-width: 991.98px) {
  .salon-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .salon-card {
    margin-bottom: 0;
  }
  
  .salon-card-header {
    flex-direction: row;
    gap: 12px;
  }
  
  .salon-image-wrapper {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
  }
  
  .time-slots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  
  .time-slot {
    min-width: unset;
  }
  
  /* Page content */
  .page-content {
    padding: 16px;
    padding-bottom: 80px;
  }
  
  /* Sidebar hidden */
  .sidebar-section {
    display: none;
  }
  
  .main-content {
    margin-right: 0;
  }
  
  /* Desktop header hidden */
  .desktop-header {
    display: none !important;
  }
  
  /* Mobile header shown */
  .mobile-header {
    display: flex;
  }
}

/* Mobile (<576px) */
@media (max-width: 575.98px) {
  .salon-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .salon-card {
    margin-bottom: 12px;
  }
  
  .salon-card-header {
    flex-direction: column;
  }
  
  .salon-image-wrapper {
    width: 100%;
    height: 160px;
    order: -1;
  }
  
  .salon-info {
    padding: 12px;
  }
  
  .salon-name {
    font-size: 15px;
  }
  
  .salon-rating {
    flex-wrap: wrap;
  }
  
  .salon-address {
    flex-direction: column;
    gap: 4px;
  }
  
  .time-slots-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  
  .time-slot {
    min-width: unset;
    padding: 8px;
  }
  
  .btn-reserve {
    padding: 12px 16px;
    font-size: 14px;
  }
  
  /* Page content */
  .page-content {
    padding: 12px;
    padding-bottom: 80px;
  }
  
  /* Sidebar hidden */
  .sidebar-section {
    transform: translateX(100%);
  }
  
  .sidebar-section.active {
    transform: translateX(0);
  }
  
  .main-content {
    margin-right: 0;
  }
  
  /* Desktop header hidden */
  .desktop-header {
    display: none !important;
  }
  
  /* Mobile header shown */
  .mobile-header {
    display: flex;
  }
  
  .mobile-sidebar,
  .mobile-sidebar-overlay,
  .mobile-filter-panel {
    display: flex;
  }
  
  /* Bottom nav shown */
  .bottom-nav {
    display: block;
  }
}

@media (max-width: 992px) {
  .sidebar-section {
    transform: translateX(100%);
  }
  
  .sidebar-section.active {
    transform: translateX(0);
  }
  
  .main-content {
    margin-right: 0;
  }
  
  .desktop-header {
    display: none !important;
  }
  
  .mobile-header {
    display: flex;
  }
  
  .mobile-sidebar,
  .mobile-sidebar-overlay,
  .mobile-filter-panel {
    display: flex;
  }
  
  .page-content {
    padding: 16px;
    padding-bottom: 100px;
  }
}

@media (max-width: 768px) {
  .salon-card-header {
    flex-direction: column;
  }
  
  .salon-image-wrapper {
    width: 100%;
    height: 180px;
  }
  
  .time-slots-grid {
    flex-wrap: wrap;
  }
  
  .time-slot {
    min-width: calc(33.333% - 6px);
  }
}

@media (max-width: 480px) {
  .salon-name {
    font-size: 15px;
  }
  
  .btn-reserve {
    padding: 12px 16px;
    font-size: 14px;
  }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

.d-block {
    display: block !important;
}

.d-flex {
    display: flex !important;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

/* ============================================
   EMPTY STATE & LOADING
   ============================================ */
.empty-state {
    text-align: center;
    padding: 48px 24px;
}

.empty-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.empty-icon i {
    font-size: 40px;
    color: var(--text-light);
}

.empty-state h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 24px;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

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

/* ============================================
   FIGMA USER MAIN SHELL + HOME (overrides)
   ============================================ */

.arvira-figma-shell {
    background: var(--bg-gray);
}

.arvira-figma-shell #wrapper.figma-wrapper {
    display: block;
    min-height: 100vh;
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
    background: var(--bg-white);
}

/* --- Desktop top nav --- */
.figma-top-nav {
    position: sticky;
    top: 0;
    z-index: 200;
    padding: 50px var(--page-gutter) 0;
    background: transparent;
    pointer-events: none;
}

.figma-top-nav-inner {
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--top-nav-height);
    padding: 0 24px;
    background: var(--bg-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow);
}

.figma-top-nav-start {
    display: flex;
    align-items: center;
    gap: 28px;
}

.figma-logo {
    display: flex;
    width: 50px;
    height: 55px;
    overflow: hidden;
}

.figma-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.figma-top-nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.figma-header-icon {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.figma-top-nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.figma-nav-link {
    position: relative;
    font-size: 24px;
    font-weight: 500;
    color: var(--text-dark);
    padding-bottom: 8px;
    white-space: nowrap;
}

.figma-nav-link.active {
    color: var(--primary-pink);
    font-weight: 700;
}

.figma-nav-link.active::after {
    content: "";
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    height: 4px;
    border-radius: 10px;
    background: var(--primary-pink);
}

/* --- Mobile header --- */
.figma-mobile-header {
    position: sticky;
    top: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px var(--page-gutter-mobile);
    background: var(--bg-white);
    box-shadow: var(--shadow);
}

.figma-mobile-header button,
.figma-mobile-map {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-sm);
    background: var(--bg-gray);
}

.figma-mobile-logo {
    display: flex;
    width: 40px;
    height: 44px;
}

.figma-mobile-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* --- Page body: main + right filters --- */
.figma-page-body {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 24px var(--page-gutter) 40px;
}

.figma-main-content {
    flex: 1;
    min-width: 0;
}

.figma-filter-panel {
    width: var(--filter-panel-width);
    flex-shrink: 0;
    flex-direction: column;
    position: sticky;
    top: calc(var(--top-nav-height) + 70px);
    max-height: calc(100vh - var(--top-nav-height) - 90px);
    overflow-y: auto;
}

.figma-filter-panel-inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.figma-filter-panel .sidebar-filters,
.mobile-filter-content .sidebar-filters {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.figma-filter-panel .filter-accordion,
.mobile-filter-content .filter-accordion {
    background: var(--bg-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow);
    padding: 16px;
}

.figma-filter-panel .accordion-header,
.mobile-filter-content .accordion-header {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    font-size: 20px;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.figma-filter-panel .filter-option,
.mobile-filter-content .filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 15px;
    color: var(--text-dark);
    cursor: pointer;
}

.figma-filter-panel .option-indicator,
.mobile-filter-content .option-indicator {
    width: 15px;
    height: 15px;
    border: 1px solid var(--primary-purple);
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
}

.figma-filter-panel input[type="radio"]:checked + .option-indicator::after,
.mobile-filter-content input[type="radio"]:checked + .option-indicator::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: var(--primary-purple);
}

.figma-filter-panel input[type="radio"],
.figma-filter-panel input[type="checkbox"],
.mobile-filter-content input[type="radio"],
.mobile-filter-content input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.figma-filter-panel select,
.mobile-filter-content select {
    width: 100%;
    height: 43px;
    border: 1px solid var(--text-dark);
    border-radius: var(--border-radius-sm);
    padding: 0 12px;
    font-size: 15px;
    background: var(--bg-white);
    margin-bottom: 10px;
}

/* --- Filter bar (chips + map) --- */
.figma-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.figma-map-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 291px;
    height: 50px;
    padding: 0 20px;
    background: var(--primary-purple);
    color: var(--bg-white) !important;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow);
    font-size: 20px;
    font-weight: 400;
    white-space: nowrap;
}

.figma-map-cta-icon {
    width: 20px;
    height: 24px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.figma-filter-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.arvira-figma-shell .filter-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 6px 14px;
    background: var(--bg-white);
    color: var(--text-dark);
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow);
    font-size: 14px;
    font-weight: 400;
    border: none;
}

.arvira-figma-shell .filter-tag.active {
    background: var(--success-green);
    color: var(--bg-white);
    font-weight: 700;
}

.figma-mobile-filters-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 12px;
    background: var(--bg-white);
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow);
    font-size: 14px;
}

/* --- Salon cards (Figma horizontal) --- */
.arvira-figma-shell .salon-cards-section {
    margin: 0;
    padding: 0;
}

.arvira-figma-shell .salon-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.arvira-figma-shell .salon-card {
    position: relative;
    background: var(--bg-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.arvira-figma-shell .salon-card:hover {
    box-shadow: var(--shadow-medium);
}

.arvira-figma-shell .salon-card-link {
    display: flex;
    flex-direction: row-reverse;
    align-items: stretch;
    min-height: 264px;
    color: inherit;
}

.arvira-figma-shell .salon-card-media {
    position: relative;
    width: 281px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: var(--border-radius-md);
}

.arvira-figma-shell .salon-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.arvira-figma-shell .salon-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(233, 104, 214, 0) 0%, rgba(233, 104, 214, 0.3) 100%);
    pointer-events: none;
}

.arvira-figma-shell .salon-card-body {
    flex: 1;
    min-width: 0;
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.arvira-figma-shell .salon-card-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.arvira-figma-shell .salon-name {
    font-size: 24px;
    font-weight: 300;
    color: var(--text-dark);
    margin: 0;
    font-family: var(--font-display);
}

.arvira-figma-shell .badge-new,
.arvira-figma-shell .badge-professional {
    font-family: Italiana, Georgia, serif;
    font-size: 12px;
    font-weight: 400;
    color: var(--primary-purple);
    background: transparent;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.arvira-figma-shell .service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.arvira-figma-shell .service-tag {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 4px 12px;
    background: var(--bg-gray);
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow);
    font-size: 14px;
    font-weight: 200;
    color: var(--text-dark);
}

.arvira-figma-shell .salon-address {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    font-weight: 200;
    font-style: normal;
    color: var(--text-dark);
    margin: 0;
}

.arvira-figma-shell .salon-meta-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    margin-top: 2px;
    object-fit: contain;
}

.arvira-figma-shell .salon-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    font-size: 14px;
    font-weight: 200;
}

.arvira-figma-shell .salon-success-count,
.arvira-figma-shell .salon-cert {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.arvira-figma-shell .salon-meta-num {
    font-weight: 200;
}

.arvira-figma-shell .salon-hours-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 14px;
}

.arvira-figma-shell .status-badge {
    font-size: 12px;
    background: transparent;
    padding: 0;
}

.arvira-figma-shell .status-badge.open {
    color: var(--success-green);
}

.arvira-figma-shell .status-badge.closed {
    color: var(--error-red);
}

.arvira-figma-shell .salon-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    flex-wrap: wrap;
}

.arvira-figma-shell .appointment-hint {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 2px 10px;
    border-radius: 2.5px;
    font-size: 10px;
    font-weight: 500;
    color: var(--text-dark);
}

.arvira-figma-shell .appointment-hint.hint-open {
    background: var(--badge-appointment);
}

.arvira-figma-shell .appointment-hint.hint-closed {
    background: var(--badge-notify);
}

.arvira-figma-shell .salon-rating {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.arvira-figma-shell .rating-value {
    font-size: 14px;
    font-weight: 300;
}

.arvira-figma-shell .rating-stars {
    display: inline-flex;
    gap: 4px;
}

.arvira-figma-shell .rating-stars .star-empty {
    opacity: 0.25;
}

.arvira-figma-shell .salon-favorite {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    color: var(--primary-pink);
    box-shadow: var(--shadow);
}

/* --- Bottom nav (mobile FAB) --- */
.figma-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 300;
    padding: 0 20px 16px;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 56%);
}

.figma-bottom-nav-bar {
    pointer-events: auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    min-height: 90px;
    padding: 40px 16px 12px;
    background: var(--bg-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-nav);
    position: relative;
}

.figma-bottom-link {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--text-dark);
    font-size: 14px;
    text-align: center;
    min-width: 0;
}

.figma-bottom-link.active .figma-bottom-label {
    color: var(--primary-pink);
    font-weight: 700;
}

.figma-bottom-icon {
    display: flex;
    width: 24px;
    height: 24px;
    overflow: hidden;
}

.figma-bottom-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.figma-bottom-label {
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
}

.figma-bottom-link--center {
    position: relative;
}

.figma-bottom-fab {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 70px;
    height: 70px;
    margin: -28px auto 0;
    border-radius: 50%;
    background: var(--primary-pink);
    box-shadow: 0 0 15px rgba(138, 138, 138, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
}

.figma-bottom-fab img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.figma-bottom-link--center .figma-bottom-label {
    margin-top: 8px;
    color: var(--primary-pink);
    font-weight: 700;
}

/* --- Mobile filter panel --- */
.arvira-figma-shell .mobile-sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(30, 30, 30, 0.45);
    z-index: 400;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.arvira-figma-shell .mobile-sidebar-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.arvira-figma-shell .mobile-filter-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: min(100%, 360px);
    height: 100%;
    background: var(--bg-gray);
    z-index: 450;
    transform: translateX(105%);
    transition: transform 0.25s ease;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-medium);
}

.arvira-figma-shell .mobile-filter-panel.active {
    transform: translateX(0);
}

.arvira-figma-shell .mobile-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
}

.arvira-figma-shell .mobile-filter-content {
    padding: 16px;
    overflow-y: auto;
    flex: 1;
}

.arvira-figma-shell .active-filters-bar {
    display: none;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    font-size: 13px;
}

.arvira-figma-shell .active-filters-bar.visible {
    display: flex;
}

.arvira-figma-shell .filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: var(--bg-white);
    border-radius: 100px;
    box-shadow: var(--shadow);
}

.arvira-figma-shell .chip-remove {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    color: var(--text-muted);
}

/* Hide legacy chrome remnants if any bleed through */
.arvira-figma-shell .sidebar-section,
.arvira-figma-shell .desktop-header,
.arvira-figma-shell .bottom-nav:not(.figma-bottom-nav),
.arvira-figma-shell .mobile-sidebar {
    display: none !important;
}

/* --- Responsive --- */
@media (max-width: 1199.98px) {
    .figma-top-nav {
        padding: 24px 24px 0;
    }

    .figma-page-body {
        padding: 20px 24px 40px;
    }

    .figma-nav-link {
        font-size: 18px;
        gap: 16px;
    }

    .figma-top-nav-links {
        gap: 16px;
    }

    .arvira-figma-shell .salon-card-media {
        width: 220px;
    }
}

@media (max-width: 991.98px) {
    .arvira-figma-shell #wrapper.figma-wrapper {
        max-width: 100%;
        padding-bottom: 120px;
        background: var(--bg-white);
    }

    .figma-page-body {
        padding: 16px var(--page-gutter-mobile) 24px;
    }

    .figma-map-cta {
        display: none;
    }

    .figma-filter-bar {
        gap: 8px;
    }

    .arvira-figma-shell .salon-card-link {
        min-height: 130px;
    }

    .arvira-figma-shell .salon-card-media {
        width: 116px;
        border-radius: var(--border-radius-md) 0 0 var(--border-radius-md);
    }

    .arvira-figma-shell .salon-card-body {
        padding: 10px 12px;
        gap: 6px;
    }

    .arvira-figma-shell .salon-name {
        font-size: 14px;
        font-weight: 500;
    }

    .arvira-figma-shell .badge-new,
    .arvira-figma-shell .badge-professional {
        font-size: 9px;
    }

    .arvira-figma-shell .service-tag {
        min-height: 15px;
        padding: 2px 6px;
        font-size: 9px;
    }

    .arvira-figma-shell .salon-address,
    .arvira-figma-shell .salon-meta-row,
    .arvira-figma-shell .salon-hours-row {
        font-size: 9px;
    }

    .arvira-figma-shell .salon-cert {
        display: none;
    }

    .arvira-figma-shell .appointment-hint {
        font-size: 8px;
        min-height: 15px;
        padding: 1px 6px;
    }

    .arvira-figma-shell .rating-value {
        font-size: 8px;
    }

    .arvira-figma-shell .rating-stars img {
        width: 10px;
        height: 10px;
    }

    .arvira-figma-shell .salon-favorite {
        width: 28px;
        height: 28px;
        top: 6px;
        left: 6px;
        font-size: 12px;
    }
}

@media (min-width: 992px) {
    .figma-mobile-header,
    .figma-bottom-nav,
    .figma-mobile-filters-btn {
        display: none !important;
    }
}

/* Unified filter panel: desktop sticky / mobile offcanvas */
.arvira-figma-shell.figma-home-page .figma-filter-panel {
    width: var(--filter-panel-width);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: calc(var(--top-nav-height) + 70px);
    max-height: calc(100vh - var(--top-nav-height) - 90px);
    overflow-y: auto;
}

.arvira-figma-shell .figma-filter-panel-header {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 12px;
}

.arvira-figma-shell .figma-filter-panel-header h3 {
    margin: 0;
    font-size: 18px;
}

@media (max-width: 991.98px) {
    .arvira-figma-shell .figma-page-body {
        display: block;
    }

    .arvira-figma-shell .figma-filter-panel {
        position: fixed;
        top: 0;
        right: 0;
        width: min(100%, 360px);
        height: 100%;
        max-height: none;
        z-index: 450;
        background: var(--bg-gray);
        transform: translateX(105%);
        transition: transform 0.25s ease;
        box-shadow: var(--shadow-medium);
        padding: 0;
        overflow-y: auto;
    }

    .arvira-figma-shell .figma-filter-panel.is-open {
        transform: translateX(0);
    }

    .arvira-figma-shell .figma-filter-panel-header {
        display: flex;
    }

    .arvira-figma-shell .figma-filter-panel-inner {
        padding: 0 16px 24px;
    }
}

@media (min-width: 992px) {
    .arvira-figma-shell.figma-home-page .figma-filter-panel {
        display: flex !important;
    }
}

/* Force Figma shell responsive chrome (override Bootstrap/theme conflicts) */
@media (max-width: 991.98px) {
    .arvira-figma-shell .figma-top-nav {
        display: none !important;
    }

    .arvira-figma-shell .figma-mobile-header {
        display: flex !important;
    }

    .arvira-figma-shell .figma-bottom-nav {
        display: block !important;
    }

    .arvira-figma-shell .figma-map-cta {
        display: none !important;
    }

    .arvira-figma-shell .figma-mobile-filters-btn {
        display: inline-flex !important;
    }

    .arvira-figma-shell .figma-filter-panel:not(.is-open) {
        transform: translateX(105%);
        pointer-events: none;
    }
}

@media (min-width: 992px) {
    .arvira-figma-shell .figma-top-nav {
        display: block !important;
    }

    .arvira-figma-shell .figma-mobile-header,
    .arvira-figma-shell .figma-bottom-nav,
    .arvira-figma-shell .figma-mobile-filters-btn {
        display: none !important;
    }

    .arvira-figma-shell.figma-home-page .figma-filter-panel {
        display: flex !important;
        transform: none !important;
        pointer-events: auto !important;
        position: sticky !important;
        width: var(--filter-panel-width) !important;
        height: auto !important;
        max-height: calc(100vh - var(--top-nav-height) - 90px) !important;
        background: transparent !important;
        box-shadow: none !important;
    }
}

/* Top nav: logo left, links right (match Figma desktop) */
.arvira-figma-shell .figma-top-nav-inner {
    direction: ltr;
}

.arvira-figma-shell .figma-top-nav-links {
    direction: rtl;
    flex-wrap: nowrap;
    overflow: hidden;
}

.arvira-figma-shell .figma-nav-link {
    font-size: 20px;
    flex-shrink: 0;
}

.arvira-figma-shell .figma-page-body {
    direction: rtl;
}

/* Hide filter panel actions that duplicate map CTA on desktop */
.arvira-figma-shell .figma-filter-panel .filter-actions {
    display: none;
}

.arvira-figma-shell .filter-accordion:not(.open) .accordion-content {
    display: none;
}

.arvira-figma-shell .figma-field-label {
    display: block;
    font-size: 15px;
    color: var(--text-dark);
    margin: 8px 0 6px;
}

.arvira-figma-shell .figma-filter-card .filter-select,
.arvira-figma-shell .figma-filter-panel .filter-select {
    width: 100%;
    height: 43px;
    border: 1px solid var(--text-dark);
    border-radius: var(--border-radius-sm);
    padding: 0 12px;
    font-size: 15px;
    background: var(--bg-white);
    margin-bottom: 10px;
    appearance: none;
}

.arvira-figma-shell .filter-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    font-size: 15px;
    cursor: pointer;
}

.arvira-figma-shell .toggle-indicator {
    width: 48px;
    height: 24px;
    border-radius: 100px;
    background: var(--bg-gray);
    position: relative;
    flex-shrink: 0;
    box-shadow: var(--shadow);
}

.arvira-figma-shell .toggle-circle {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #8A8A8A;
    transition: transform 0.2s ease;
}

.arvira-figma-shell .filter-toggle input:checked + .toggle-indicator .toggle-circle {
    background: var(--primary-purple);
    transform: translateX(-24px);
}

.arvira-figma-shell .accordion-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* Card image on the right (Figma RTL): first flex child in RTL sits on the right */
.arvira-figma-shell .salon-card-link {
    flex-direction: row !important;
}

.arvira-figma-shell .salon-card-media {
    border-radius: var(--border-radius-md) 0 0 var(--border-radius-md);
}

@media (max-width: 991.98px) {
    .arvira-figma-shell .salon-card-media {
        border-radius: var(--border-radius-md) 0 0 var(--border-radius-md);
    }
}
