/* ============================================
   ОСНОВНІ СТИЛІ - ГРАДІЄНТ ТА КОНТЕЙНЕР
   ============================================ */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

.body-placeholder {}
body {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    color: #1a1a1a;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 10px;
}

.app-wrapper {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

/* ============================================
   ШАПКА (В ОДИН РЯДОК + ЕФЕКТИ КНОПОК)
/* Кнопка "Додому" у шапці */
.header-home-btn {
    text-decoration: none;
    font-size: 16px;
    background: rgba(0, 0, 0, 0.05);
    padding: 6px 10px;
    border-radius: 8px;
    transition: background 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.header-home-btn:hover {
    background: rgba(0, 0, 0, 0.1);
}

/* Оновлений адаптив для шапки, щоб вмістити 4 елементи */
.top-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 6px; /* Додали невеликий відступ між елементами */
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 10px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255,255,255,0.8);
    width: 100%;
}

@media (max-width: 375px) {
    .top-header { gap: 4px; padding: 8px 6px; }
    .header-home-btn { padding: 5px 8px; font-size: 14px; }
    .transparent-select { font-size: 11px; padding: 4px; }
    .login-btn { font-size: 11px; padding: 5px 8px; }
    .login-text { display: none; }
}


.header-time {
    text-align: center;
    color: #1a1a1a;
    flex-grow: 1;
    white-space: nowrap; /* Час не переноситься */
}

/* Ефекти як у .master-item */
.header-action-item {
    position: relative;
    padding: 8px 12px;
    cursor: pointer;
    background: transparent;
    border: none;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #444;
    transition: box-shadow 0.3s ease, transform 0.3s;
    white-space: nowrap;
}

/* Прибираємо стандартний вигляд select */
.transparent-select {
    background: transparent;
    border: none;
    outline: none;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    color: #1a1a1a;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

/* Анімація заливки (як у майстрів) */
.header-action-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: #e2e4e9;
    transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

/* Анімація нижньої лінії (як у майстрів) */
.header-action-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: #1a1a1a;
    border-radius: 3px 3px 0 0;
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover-ефекти */
.header-action-item:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}
.header-action-item:hover::before {
    height: 100%;
}
.header-action-item:hover::after {
    width: 70%;
}

.login-icon { font-size: 14px; margin-right: 4px; }
.login-text { font-size: 13px; font-weight: 600; color: #1a1a1a; }

/* Адаптив під малі екрани (щоб точно не зламався рядок) */
@media (max-width: 380px) {
    .top-header { padding: 8px 6px; gap: 4px; }
    .header-action-item { padding: 6px 8px; }
    .transparent-select, .login-text, .header-time span { font-size: 11px !important; }
    .login-icon { margin-right: 2px; }
}

.booking-container {
    width: 100%;
    max-width: 100%;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 24px 24px 0 0;
    padding: 24px 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

@media (min-width: 600px) {
    .booking-container {
        max-width: 500px;
        border-radius: 24px;
        padding: 40px 20px;
        min-height: auto;
    }
}

.booking-title {
    text-align: center;
    margin-bottom: 12px;
}

.booking-title h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}

.booking-subtitle {
    display: block;
    font-size: 13px;
    color: #666;
    text-align: center;
    margin: 0 auto;
}

/* Уточним отступ и позиционирование шапки, чтобы "Вхід в кабінет" був явно над контентом */
.top-header {
    position: relative;
    z-index: 20;
    margin-bottom: 14px;
}

/* ============================================
   ПРОГРЕСС БАР
   ============================================ */
.progress-bar {
    width: 100%;
    height: 3px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    margin-bottom: 20px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #1a1a1a 0%, #3a3a3a 100%);
    width: 0%;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

/* ============================================
   СТИЛІ КРОКІВ З АНІМАЦІЄЮ ВИПАРОВУВАННЯ
   ============================================ */
.input-step {
    display: none;
    animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.input-step.active {
    display: block;
}

.input-step.fade-out {
    animation: fadeOutUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

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

.step-label {
    font-size: 11px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 8px;
}

.input-description {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
    letter-spacing: -0.2px;
}

/* ============================================
   КНОПКИ НАВІГАЦІЇ (НАЗАД / ДОДОМУ)
   ============================================ */
.action-nav-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    width: 100%;
}

.btn-nav {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-nav:hover {
    background: #e2e4e9;
}

#backBtn {
    margin-right: auto; /* Притискаємо вліво */
}

#homeBtn {
    margin-left: auto; /* Притискаємо вправо */
}

/* Оптимізація для найменших екранів */
@media (max-width: 375px) {
    .btn-nav {
        font-size: 12px;
        padding: 6px 10px;
    }
}

/* ============================================
   ПОЛЕ ВВЕДЕННЯ
   ============================================ */
.input-field-wrapper {
    margin-bottom: 20px;
}

.input-field {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.6);
    color: #1a1a1a;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.input-field:focus {
    outline: none;
    border-color: #1a1a1a;
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.1);
}

.input-field::placeholder {
    color: #999;
}

/* ============================================
   ГОРИЗОНТАЛЬНА ЛЕНТА ДАТА (iPhone 15 оптимізована)
   ============================================ */
.dates-horizontal {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 8px 0;
    margin-bottom: 20px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.dates-horizontal::-webkit-scrollbar {
    height: 3px;
}

.dates-horizontal::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 2px;
}

.dates-horizontal::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 2px;
}

.date-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 55px;
    padding: 8px 6px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-align: center;
    flex-shrink: 0;
}

.date-item .date-day {
    font-size: 10px;
    font-weight: 500;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 2px;
}

.date-item .date-number {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1;
}

/* АКТИВНА ДАТА */
.date-item.active {
    background: linear-gradient(135deg, #1a1a1a 0%, #3a3a3a 100%);
    border-color: #1a1a1a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.date-item.active .date-day {
    color: rgba(255, 255, 255, 0.7);
}

.date-item.active .date-number {
    color: white;
}

/* СЕРАЯ ЗАЛИВКА, ЯКА ПОДНІМАЄТЬСЯ */
.date-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: #e2e4e9;
    transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
    border-radius: 10px;
}

.date-item:hover::before {
    height: 100%;
}

/* ============================================
   СЕКЦІЯ ЧАСІВ
   ============================================ */
.times-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    animation: slideInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.times-title {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    margin-bottom: 12px;
    text-align: center;
}

/* ============================================
   СІТКА ЧАСІВ (iPhone 15 оптимізована)
   ============================================ */
.times-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}

@media (min-width: 390px) {
    .times-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.time-slot {
    position: relative;
    padding: 10px 8px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
    font-size: 13px;
    color: #444;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    overflow: hidden;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
}

/* СЕРАЯ ЗАЛИВКА, ЯКА ПОДНІМАЄТЬСЯ */
.time-slot::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: #e2e4e9;
    transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

/* ТЕМНА ЛІНІЯ, ЯКА ВИЇЖДЖАЄ З ЦЕНТРА */
.time-slot::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #1a1a1a;
    border-radius: 2px 2px 0 0;
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* АКТИВНИЙ ЧАС */
.time-slot.active {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    font-weight: 600;
    color: #000;
    transform: scale(1.05);
}

.time-slot.active::before {
    height: 100%;
}

.time-slot.active::after {
    width: 60%;
}

/* ============================================
   ВИБІР МАЙСТРІВ ТА ПОСЛУГ
   ============================================ */
.masters-list,
.services-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.master-item,
.service-item {
    position: relative;
    flex: 1 1 calc(50% - 12px);
    min-width: 130px;
    padding: 16px 10px;
    cursor: pointer;
    background: transparent;
    border: none;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: box-shadow 0.3s ease;
}

@media (min-width: 380px) {
    .master-item,
    .service-item {
        flex: 1 1 calc(33.333% - 12px);
    }
}

/* СЕРАЯ ЗАЛИВКА, ЯКА ПОДНІМАЄТЬСЯ */
.master-item::before,
.service-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: #e2e4e9;
    transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

/* ТЕМНА ЛІНІЯ, ЯКА ВИЇЖДЖАЄ З ЦЕНТРА */
.master-item::after,
.service-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: #1a1a1a;
    border-radius: 3px 3px 0 0;
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.master-name,
.service-name {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #444;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), font-weight 0.2s, color 0.2s;
    transform-origin: center center;
    line-height: 1.2;
}

/* АКТИВНЕ СТАНУ */
.master-item.active,
.service-item.active {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.master-item.active::before,
.service-item.active::before {
    height: 100%;
}

.master-item.active::after,
.service-item.active::after {
    width: 70%;
}

.master-item.active .master-name,
.service-item.active .service-name {
    transform: scale(1.06);
    font-weight: 600;
    color: #000;
}



/* ============================================
   КНОПКИ
   ============================================ */
.btn-restart {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #1a1a1a 0%, #3a3a3a 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-restart:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

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

/* ============================================
   ПІДТВЕРДЖЕННЯ
   ============================================ */
.confirmation-box {
    text-align: center;
    animation: scaleIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.success-icon {
    font-size: 60px;
    color: #4CAF50;
    margin-bottom: 20px;
}

.confirmation-box h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.confirmation-details {
    background: rgba(76, 175, 80, 0.1);
    border-left: 4px solid #4CAF50;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: left;
}

.confirmation-details p {
    font-size: 14px;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.6;
}

.confirmation-details strong {
    color: #2e7d32;
}

/* ============================================
   КАТЕГОРІЇ (КРУЖОЧКИ)
   ============================================ */
.categories-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    flex: 0 0 auto;
    width: 88px;
    background: none;
    border: none;
    padding: 0;
}

.category-circle {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.08);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    overflow: hidden;
    z-index: 1;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

/* СЕРАЯ ЗАЛИВКА, ЯКА ПОДНІМАЄТЬСЯ (як у майстрів) */
.category-circle::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: #e2e4e9;
    transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.category-item:hover .category-circle::before {
    height: 100%;
}

.category-label {
    font-size: 13px;
    font-weight: 500;
    color: #444;
    text-align: center;
    line-height: 1.2;
    transition: color 0.2s, font-weight 0.2s;
}

/* АКТИВНА КАТЕГОРІЯ */
.category-item.active .category-circle {
    background: linear-gradient(135deg, #1a1a1a 0%, #3a3a3a 100%);
    border-color: #1a1a1a;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    transform: scale(1.05);
}

.category-item.active .category-circle::before {
    height: 0;
}

.category-item.active .category-label {
    color: #000;
    font-weight: 600;
}

/* ============================================
   СПИСОК САЛОНІВ
   ============================================ */
.salons-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.salon-item {
    position: relative;
    width: 100%;
    padding: 16px 18px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    z-index: 1;
    text-align: left;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.salon-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: #e2e4e9;
    transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.salon-item::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: #1a1a1a;
    border-radius: 0 3px 3px 0;
    transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.salon-item:hover::before { height: 100%; }
.salon-item:hover { box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08); }

.salon-item.active::before { height: 100%; }
.salon-item.active::after { height: 60%; }
.salon-item.active { box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08); }

.salon-name {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.salon-address {
    display: block;
    font-size: 13px;
    color: #777;
}

.master-item .master-title {
    display: block;
    font-size: 11px;
    color: #888;
    margin-top: 4px;
    font-weight: 400;
}

.service-item .service-price {
    display: block;
    font-size: 12px;
    color: #777;
    margin-top: 4px;
    font-weight: 500;
}

.service-item.active .service-price { color: #000; }

/* ============================================
   ПОРОЖНІЙ СТАН / ПОМИЛКА ПОЛЯ / ЛОАДЕР
   ============================================ */
.empty-state {
    text-align: center;
    padding: 28px 16px;
    color: #777;
    font-size: 14px;
    line-height: 1.5;
    background: rgba(255, 255, 255, 0.4);
    border: 1px dashed rgba(0, 0, 0, 0.12);
    border-radius: 14px;
}

.empty-state .empty-emoji {
    display: block;
    font-size: 32px;
    margin-bottom: 8px;
}

.loader {
    text-align: center;
    padding: 24px;
    color: #999;
    font-size: 14px;
}

.field-error {
    color: #d9534f;
    font-size: 13px;
    min-height: 18px;
    margin-bottom: 8px;
    text-align: center;
}

.field-note {
    color: #888;
    font-size: 12px;
    text-align: center;
    margin: -4px 0 8px;
}

/* ============================================
   ЧЕК / КВИТАНЦІЯ (принцип Old Style, стиль minicrm)
   ============================================ */
.receipt-card {
    width: 100%;
    background: rgba(255, 255, 255, 0.45);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    padding: 22px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    margin-bottom: 20px;
    animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.receipt-header {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #999;
    padding-bottom: 14px;
    margin-bottom: 6px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.receipt-row:last-child { border-bottom: none; }

.receipt-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #999;
    white-space: nowrap;
}

.receipt-value {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    text-align: right;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

.receipt-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 2px solid rgba(0, 0, 0, 0.1);
}

.receipt-total .receipt-label {
    font-size: 13px;
    color: #1a1a1a;
}

.receipt-total .receipt-total-value {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
}

/* ============================================
   АДАПТИВ (малі екрани)
   ============================================ */
@media (max-width: 360px) {
    .categories-list { gap: 12px; }
    .category-item { width: 76px; }
    .category-circle { width: 64px; height: 64px; font-size: 26px; }
    .category-label { font-size: 12px; }
    .salon-name { font-size: 15px; }
}