.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 20px;
}

.category-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 32px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
}

.category-card::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.category-card:active {
    transform: scale(0.92);
    border-color: var(--primary);
}

.category-card:active::before {
    opacity: 0.3;
}

.category-icon {
    font-size: 3.5rem;
    filter: drop-shadow(0 8px 15px rgba(0,0,0,0.4));
    transition: transform 0.3s;
}

.category-card:active .category-icon {
    transform: translateY(-5px) scale(1.1);
}

.category-card span {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-main);
    text-align: center;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 22px;
    padding: 16px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.2s;
}

.service-card:active {
    transform: scale(0.98);
    background: rgba(255,255,255,0.05);
}

.service-thumb-emoji {
    width: 68px;
    height: 68px;
    background: linear-gradient(135deg, var(--glass), rgba(255,255,255,0.05));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    flex-shrink: 0;
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.service-info h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2px;
}

.service-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.service-price {
    font-weight: 800;
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 4px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.service-price::after {
    content: '₽';
    font-size: 0.9rem;
    font-weight: 600;
}

.date-picker {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 10px 0;
    margin-bottom: 20px;
    scrollbar-width: none;
}

.date-picker::-webkit-scrollbar { display: none; }

.date-item {
    min-width: 68px;
    height: 86px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.date-item.active {
    background: linear-gradient(135deg, var(--primary), #4f46e5);
    border-color: var(--primary);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 20px -5px var(--primary-glow);
}

.date-item .day-name { font-size: 0.7rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.date-item.active .day-name { color: rgba(255,255,255,0.8); }

.date-item .day-num { font-size: 1.4rem; font-weight: 800; margin-top: 2px; }

.slots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.time-item {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 14px;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.2s;
}

.time-item.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 5px 15px var(--primary-glow);
    transform: scale(1.05);
}

.booking-preview-card {
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.1), transparent);
    border-radius: 24px;
    padding: 24px;
    text-align: center;
    margin-bottom: 25px;
    border: 1px solid var(--glass-border);
}

.extra-item {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s;
}

.extra-item.active {
    background: rgba(99, 102, 241, 0.08);
    border-color: var(--primary);
    transform: scale(1.02);
}

.extra-info { display: flex; align-items: center; gap: 12px; }
.extra-icon { font-size: 1.5rem; width: 44px; height: 44px; background: var(--glass); border-radius: 12px; display: flex; align-items: center; justify-content: center; }

.extra-name { font-weight: 600; font-size: 1rem; }
.extra-price { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }

.checkbox {
    width: 26px;
    height: 26px;
    border: 2px solid var(--glass-border);
    border-radius: 9px;
    transition: all 0.2s;
}

.extra-item.active .checkbox {
    background: var(--primary);
    border-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.extra-item.active .checkbox::after {
    content: '✓';
    color: white;
    font-weight: 800;
}

.profile-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.05), transparent);
    border-radius: 24px;
    padding: 24px;
    border: 1px solid var(--glass-border);
    margin-bottom: 20px;
}
.tabs-nav .tab-btn.active {
    background: var(--primary);
    color: white !important;
    box-shadow: 0 4px 12px var(--primary-glow);
}
.tabs-nav .tab-btn {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-muted);
    font-weight: 600;
}

.calendar-container {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 15px;
    margin-bottom: 20px;
}
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.calendar-header h4 { margin: 0; color: var(--text-main); }
.cal-nav-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    width: 32px;
    height: 32px;
    border-radius: 10px;
    cursor: pointer;
}
.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}
.cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
}
.cal-day.empty { cursor: default; }
.cal-day.past { color: rgba(255,255,255,0.1); cursor: not-allowed; }
.cal-day.available {
    background: rgba(34, 197, 94, 0.1);
    color: #4ade80;
    border-color: rgba(34, 197, 94, 0.2);
    font-weight: 700;
}
.cal-day.selected {
    background: var(--primary) !important;
    color: white !important;
    transform: scale(1.1);
    box-shadow: 0 0 15px var(--primary);
}
.cal-day:not(.empty):not(.past):hover {
    background: rgba(255,255,255,0.1);
}
.booking-steps-container {
    padding: 10px 20px;
    background: rgba(15, 23, 42, 0.4);
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 20px;
}

.booking-steps-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    max-width: 250px;
    margin: 0 auto;
    position: relative;
}

.booking-steps-nav::before {
    content: '';
    position: absolute;
    top: 50%; left: 10%; right: 10%;
    height: 2px;
    background: rgba(255,255,255,0.05);
    z-index: 0;
}

.step-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 2px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    position: relative;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
    margin: 0 15px;
}

.step-dot.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: scale(1.2);
    box-shadow: 0 0 15px var(--primary-glow);
}

.booking-step {
    display: none !important;
}

.booking-step.active {
    display: block !important;
    animation: stepSlide 0.4s ease-out;
}

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

.step-header {
    text-align: center;
    margin-bottom: 25px;
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.step-header h4 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.step-header p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.step-actions {
    margin-top: 30px;
    padding: 20px 0;
}

.receipt-modal {
    background: #1a1a1a !important;
    border: 1px solid var(--glass-border);
    padding: 0 !important;
    overflow-y: auto !important;
}

.receipt-header {
    background: linear-gradient(135deg, var(--primary), #4f46e5);
    padding: 30px 20px;
    text-align: center;
    color: white;
}

.receipt-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.receipt-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
}

.receipt-header p {
    margin: 5px 0 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.receipt-body {
    padding: 25px;
}

.receipt-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.receipt-item.total {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 2px dashed rgba(255,255,255,0.1);
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--primary);
}

.receipt-label {
    color: var(--text-muted);
}

.receipt-value {
    text-align: right;
    font-weight: 600;
}

.receipt-actions {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
