/* ============================================================
 * AW.BY Автохаусы — стили
 * ============================================================ */

:root {
    --awby-blue: #719DE4;
    --awby-dark: #2a4a6a;
    --awby-dark-2: #1e3a54;
    --awby-red: #ff0000;
    --awby-bg: #fcfcfd;
    --awby-border: #e4e8ef;
    --awby-radius: 12px;
    --awby-shadow: 0 2px 12px rgba(42, 74, 106, 0.08);
    --awby-shadow-hover: 0 6px 24px rgba(42, 74, 106, 0.16);
    --star-size: 16px;
}

/* --- Кнопки --- */
.awby-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    line-height: 1.4;
}
.awby-btn-primary { background: var(--awby-blue); color: #fff; }
.awby-btn-primary:hover { background: #5a8ad0; transform: translateY(-1px); }
.awby-btn-ghost { background: transparent; color: var(--awby-dark); border: 1px solid var(--awby-border); }
.awby-btn-ghost:hover { border-color: var(--awby-blue); color: var(--awby-blue); }
.awby-btn-danger { color: #c33; border-color: #f0c0c0; }
.awby-btn-lg { padding: 14px 28px; font-size: 16px; }
.awby-btn-sm { padding: 6px 12px; font-size: 12px; }
.awby-btn-disabled, .awby-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.awby-btn-loading { position: relative; color: transparent !important; }
.awby-btn-loading::after {
    content: ''; position: absolute; left: 50%; top: 50%;
    width: 16px; height: 16px; margin: -8px 0 0 -8px;
    border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff;
    border-radius: 50%; animation: awby-spin 0.6s linear infinite;
}
@keyframes awby-spin { to { transform: rotate(360deg); } }

/* --- Уведомления --- */
.awby-notice { padding: 20px; border-radius: var(--awby-radius); margin: 20px 0; }
.awby-notice-warn { background: #fff8e1; border-left: 4px solid #ffc107; }
.awby-ah-notice {
    position: fixed; bottom: 24px; right: 24px; z-index: 99999;
    padding: 14px 22px; border-radius: 8px; font-weight: 600; font-size: 14px;
    box-shadow: var(--awby-shadow-hover); max-width: 380px;
}
.awby-ah-notice.ok { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.awby-ah-notice.err { background: #ffebee; color: #c62828; border: 1px solid #ef9a9a; }

/* --- Звёзды рейтинга --- */
.awby-stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: #ffc107;
}
.awby-stars svg {
    width: var(--star-size);
    height: var(--star-size);
    fill: currentColor;
}
.awby-stars .star-empty { fill: none; color: #e0e0e0; }
.awby-stars .star-half { color: #ffc107; }

/* ============================================================
 * КАТАЛОГ АВТОХАУСОВ /companies/
 * ============================================================ */
.awby-ah-companies-wrap { max-width: 1200px; margin: 0 auto; padding: 24px 16px; }
.awby-ah-companies-header h1 { color: var(--awby-dark); margin: 0 0 4px; }
.awby-ah-companies-count { color: #666; font-size: 14px; margin: 0 0 20px; }

.awby-ah-companies-filters {
    background: #fff; border: 1px solid var(--awby-border);
    border-radius: var(--awby-radius); padding: 16px 20px;
    margin-bottom: 24px; box-shadow: var(--awby-shadow);
}
.awby-ah-companies-filters form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.awby-ah-filter-group { display: flex; flex-direction: column; gap: 4px; }
.awby-ah-filter-group label { font-size: 12px; color: #888; font-weight: 600; text-transform: uppercase; }
.awby-ah-filter-group select {
    padding: 8px 12px; border: 1px solid var(--awby-border); border-radius: 6px;
    font-size: 14px; background: #fff; color: var(--awby-dark); min-width: 180px;
}

.awby-ah-companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
}
.awby-ah-company-card {
    display: flex; gap: 16px; align-items: flex-start;
    background: #fff; border: 1px solid var(--awby-border);
    border-radius: var(--awby-radius); padding: 20px;
    text-decoration: none; color: inherit;
    transition: all 0.2s; box-shadow: var(--awby-shadow);
}
.awby-ah-company-card:hover {
    border-color: var(--awby-blue); box-shadow: var(--awby-shadow-hover);
    transform: translateY(-2px);
}
.awby-ah-company-logo {
    width: 72px; height: 72px; border-radius: 10px; overflow: hidden;
    background: #f0f3f8; display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.awby-ah-company-logo img { width: 100%; height: 100%; object-fit: cover; }
.awby-ah-logo-placeholder { font-size: 32px; }
.awby-ah-company-info { flex: 1; min-width: 0; }
.awby-ah-company-name {
    font-size: 16px; font-weight: 700; color: var(--awby-dark);
    margin: 0 0 6px; line-height: 1.3;
}
.awby-ah-company-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 6px; font-size: 13px; color: #666; }
.awby-ah-meta-item { display: inline-flex; align-items: center; gap: 4px; }
.awby-ah-rating-mini { display: inline-flex; align-items: center; gap: 4px; }
.awby-ah-rating-num { font-weight: 700; color: var(--awby-dark); }
.awby-ah-reviews-count { color: #999; }
.awby-ah-company-stats { font-size: 13px; color: var(--awby-blue); font-weight: 600; }
.awby-ah-stat { display: inline-flex; align-items: center; gap: 4px; }

.awby-ah-empty { text-align: center; padding: 60px 20px; color: #999; }
.awby-ah-empty a { display: inline-block; margin-top: 16px; }

/* ============================================================
 * ПРОФИЛЬ АВТОХАУСА /company/{slug}/
 * ============================================================ */
.awby-ah-company-profile { max-width: 1200px; margin: 0 auto; }

.awby-ah-company-header {
    background: linear-gradient(135deg, var(--awby-dark) 0%, var(--awby-dark-2) 100%);
    color: #fff; padding: 32px 20px;
}
.awby-ah-company-header-inner {
    display: flex; gap: 24px; align-items: center; max-width: 1200px; margin: 0 auto;
    flex-wrap: wrap;
}
.awby-ah-company-logo-lg {
    width: 120px; height: 120px; border-radius: 16px; overflow: hidden;
    background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.awby-ah-company-logo-lg img { width: 100%; height: 100%; object-fit: cover; }
.awby-ah-logo-placeholder-lg { font-size: 56px; }
.awby-ah-company-header-info { flex: 1; min-width: 240px; }
.awby-ah-company-title { font-size: 28px; margin: 0 0 6px; color: #fff; }
.awby-ah-company-legal { margin: 0 0 10px; opacity: 0.85; font-size: 14px; }
.awby-ah-company-header-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; opacity: 0.95; }
.awby-ah-company-header-meta .awby-stars { color: #ffc107; }
.awby-ah-company-header-actions {
    display: flex; flex-direction: column; gap: 10px; align-items: flex-end;
}
.awby-ah-company-header-actions .awby-btn-primary { background: var(--awby-blue); }

.awby-ah-company-body {
    display: grid; grid-template-columns: 1fr 320px; gap: 24px;
    padding: 24px 20px; max-width: 1200px; margin: 0 auto;
}
.awby-ah-company-main { min-width: 0; }
.awby-ah-company-section {
    background: #fff; border: 1px solid var(--awby-border);
    border-radius: var(--awby-radius); padding: 20px; margin-bottom: 20px;
    box-shadow: var(--awby-shadow);
}
.awby-ah-company-section h2 {
    font-size: 18px; color: var(--awby-dark); margin: 0 0 14px;
    padding-bottom: 10px; border-bottom: 2px solid var(--awby-blue);
}
.awby-ah-section-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--awby-blue);
}
.awby-ah-section-header h2 { margin: 0; padding: 0; border: none; }
.awby-ah-see-all { color: var(--awby-blue); font-size: 14px; text-decoration: none; font-weight: 600; }
.awby-ah-see-all:hover { text-decoration: underline; }
.awby-ah-company-desc { color: #444; line-height: 1.6; font-size: 14px; }

/* Сетка объявлений в профиле */
.awby-ah-company-listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
}
.awby-ah-mini-listing {
    display: block; text-decoration: none; color: inherit;
    background: var(--awby-bg); border: 1px solid var(--awby-border);
    border-radius: 8px; overflow: hidden; transition: all 0.2s;
}
.awby-ah-mini-listing:hover { border-color: var(--awby-blue); box-shadow: var(--awby-shadow); }
.awby-ah-mini-listing-thumb {
    width: 100%; aspect-ratio: 4/3; background: #f0f3f8;
    display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.awby-ah-mini-listing-thumb img { width: 100%; height: 100%; object-fit: cover; }
.awby-ah-thumb-placeholder { font-size: 36px; }
.awby-ah-mini-listing-info { padding: 10px 12px; }
.awby-ah-mini-listing-title { font-size: 13px; font-weight: 600; color: var(--awby-dark); line-height: 1.3; margin-bottom: 4px; }
.awby-ah-mini-listing-meta { font-size: 12px; color: #888; margin-bottom: 4px; }
.awby-ah-mini-listing-price { font-size: 15px; font-weight: 700; color: var(--awby-red); }

/* --- Сайдбар --- */
.awby-ah-company-sidebar { display: flex; flex-direction: column; gap: 16px; }
.awby-ah-sidebar-block {
    background: #fff; border: 1px solid var(--awby-border);
    border-radius: var(--awby-radius); padding: 18px; box-shadow: var(--awby-shadow);
}
.awby-ah-sidebar-block h3 {
    font-size: 15px; color: var(--awby-dark); margin: 0 0 12px;
    padding-bottom: 8px; border-bottom: 1px solid var(--awby-border);
}
.awby-ah-sidebar-block p { margin: 0; font-size: 14px; line-height: 1.5; }
.awby-ah-sidebar-block a { color: var(--awby-blue); }

.awby-ah-hours-list { font-size: 13px; }
.awby-ah-hours-row {
    display: flex; justify-content: space-between; padding: 6px 0;
    border-bottom: 1px solid #f0f3f8;
}
.awby-ah-hours-row:last-child { border-bottom: none; }
.awby-ah-hours-row.closed .awby-ah-hours-time { color: #ccc; }
.awby-ah-hours-day-name { font-weight: 600; color: var(--awby-dark); width: 32px; }
.awby-ah-hours-time { color: #555; }

.awby-ah-services-list { display: flex; flex-wrap: wrap; gap: 6px; }
.awby-ah-service-badge {
    display: inline-block; padding: 4px 10px; font-size: 12px; font-weight: 600;
    background: #eef3fb; color: var(--awby-blue); border-radius: 20px;
}

.awby-ah-rating-summary { display: flex; align-items: center; gap: 8px; }
.awby-ah-rating-big { font-size: 18px; font-weight: 700; color: var(--awby-dark); }

/* --- Отзывы --- */
.awby-ah-reviews-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.awby-ah-review {
    background: var(--awby-bg); border: 1px solid var(--awby-border);
    border-radius: 8px; padding: 14px 16px;
}
.awby-ah-review-header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.awby-ah-review-author { font-weight: 700; color: var(--awby-dark); font-size: 14px; }
.awby-ah-review-date { font-size: 12px; color: #999; margin-left: auto; }
.awby-ah-review-text { font-size: 14px; color: #444; line-height: 1.5; }
.awby-ah-reviews-empty { text-align: center; padding: 20px; color: #999; }

.awby-ah-review-form-wrap {
    background: var(--awby-bg); border: 1px solid var(--awby-border);
    border-radius: 8px; padding: 18px;
}
.awby-ah-review-form-wrap h3 { margin: 0 0 12px; font-size: 16px; color: var(--awby-dark); }
.awby-ah-review-form-wrap .awby-ah-field { margin-bottom: 12px; }
.awby-ah-review-form-wrap label { display: block; font-size: 13px; font-weight: 600; color: var(--awby-dark); margin-bottom: 4px; }
.awby-ah-review-form-wrap input[type="text"], .awby-ah-review-form-wrap textarea {
    width: 100%; padding: 8px 12px; border: 1px solid var(--awby-border); border-radius: 6px; font-size: 14px;
}
.awby-ah-review-rating-select { margin-bottom: 12px; }
.awby-ah-star-input { display: inline-flex; flex-direction: row-reverse; }
.awby-ah-star-input input { display: none; }
.awby-ah-star-input label {
    font-size: 28px; color: #e0e0e0; cursor: pointer; margin-left: 2px; transition: color 0.15s;
}
.awby-ah-star-input label:hover, .awby-ah-star-input label:hover ~ label,
.awby-ah-star-input label.active, .awby-ah-star-input label.active ~ label {
    color: #ffc107;
}
.awby-ah-review-status { margin-left: 10px; font-size: 14px; font-weight: 600; }
.awby-ah-review-status.ok { color: #2e7d32; }
.awby-ah-review-status.err { color: #c62828; }

/* ============================================================
 * ФОРМА ПРОФИЛЯ / SETUP
 * ============================================================ */
.awby-ah-form-wrap { max-width: 800px; margin: 0 auto; padding: 24px 16px; }
.awby-ah-form-title { color: var(--awby-dark); margin: 0 0 8px; }
.awby-ah-form-intro { color: #666; font-size: 14px; margin: 0 0 24px; }
.awby-ah-form-section {
    background: #fff; border: 1px solid var(--awby-border);
    border-radius: var(--awby-radius); padding: 20px; margin-bottom: 20px;
    box-shadow: var(--awby-shadow);
}
.awby-ah-form-section h3 {
    font-size: 16px; color: var(--awby-dark); margin: 0 0 16px;
    padding-bottom: 10px; border-bottom: 2px solid var(--awby-blue);
}
.awby-ah-field { margin-bottom: 14px; }
.awby-ah-field label { display: block; font-size: 13px; font-weight: 600; color: var(--awby-dark); margin-bottom: 5px; }
.awby-ah-field .req { color: var(--awby-red); }
.awby-ah-field input[type="text"], .awby-ah-field input[type="url"], .awby-ah-field textarea {
    width: 100%; padding: 9px 12px; border: 1px solid var(--awby-border);
    border-radius: 6px; font-size: 14px; color: var(--awby-dark); background: #fff;
    box-sizing: border-box;
}
.awby-ah-field input:focus, .awby-ah-field textarea:focus { border-color: var(--awby-blue); outline: none; }
.awby-ah-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.awby-ah-hours-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.awby-ah-hours-day { display: flex; align-items: center; gap: 8px; padding: 6px 0; }
.awby-ah-hours-day-label { font-weight: 600; font-size: 13px; color: var(--awby-dark); width: 56px; display: flex; align-items: center; gap: 4px; cursor: pointer; }
.awby-ah-hours-day-label input[type="checkbox"] { margin: 0; }
.awby-ah-hours-inputs { display: flex; align-items: center; gap: 4px; }
.awby-ah-hours-inputs input[type="text"] { width: 56px; padding: 4px 6px; border: 1px solid var(--awby-border); border-radius: 4px; font-size: 13px; text-align: center; }

.awby-ah-services-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.awby-ah-service-chip {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 6px 14px; border: 1px solid var(--awby-border); border-radius: 20px;
    font-size: 13px; cursor: pointer; transition: all 0.2s;
}
.awby-ah-service-chip input { display: none; }
.awby-ah-service-chip span { color: #555; }
.awby-ah-service-chip:has(input:checked) {
    background: var(--awby-blue); border-color: var(--awby-blue);
}
.awby-ah-service-chip:has(input:checked) span { color: #fff; }

.awby-ah-logo-upload { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.awby-ah-logo-preview {
    width: 100px; height: 100px; border-radius: 12px; overflow: hidden;
    border: 2px dashed var(--awby-border); display: flex; align-items: center; justify-content: center;
    background: #f8f9fb;
}
.awby-ah-logo-preview img { width: 100%; height: 100%; object-fit: cover; }
.awby-ah-logo-placeholder { color: #aaa; font-size: 13px; }
.awby-ah-logo-actions { display: flex; gap: 8px; }

.awby-ah-form-actions { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.awby-ah-form-status { font-size: 14px; font-weight: 600; }
.awby-ah-form-status.ok { color: #2e7d32; }
.awby-ah-form-status.err { color: #c62828; }

/* ============================================================
 * КАБИНЕТ АВТОХАУСА
 * ============================================================ */
.awby-ah-dashboard { max-width: 1000px; margin: 0 auto; padding: 24px 16px; }
.awby-ah-dashboard-header { margin-bottom: 20px; }
.awby-ah-dashboard-title { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.awby-ah-dashboard-title h2 { color: var(--awby-dark); margin: 0; }

.awby-ah-dashboard-tabs {
    display: flex; gap: 4px; border-bottom: 2px solid var(--awby-border);
    margin-bottom: 24px; overflow-x: auto;
}
.awby-ah-tab {
    padding: 12px 20px; font-size: 14px; font-weight: 600; color: #666;
    text-decoration: none; border-bottom: 3px solid transparent; transition: all 0.2s;
    white-space: nowrap;
}
.awby-ah-tab:hover { color: var(--awby-blue); }
.awby-ah-tab.active { color: var(--awby-dark); border-bottom-color: var(--awby-blue); }

.awby-ah-dashboard-content { min-height: 300px; }

/* --- Список объявлений в кабинете --- */
.awby-ah-listings-tab-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 16px;
}
.awby-ah-listings-tab-header h3 { margin: 0; color: var(--awby-dark); }
.awby-ah-listings-table-wrap { overflow-x: auto; }
.awby-ah-listings-table {
    width: 100%; border-collapse: collapse; background: #fff;
    border: 1px solid var(--awby-border); border-radius: var(--awby-radius);
    overflow: hidden;
}
.awby-ah-listings-table th {
    text-align: left; padding: 12px 14px; font-size: 12px; text-transform: uppercase;
    color: #888; font-weight: 700; background: #f8f9fb; border-bottom: 2px solid var(--awby-border);
}
.awby-ah-listings-table td { padding: 12px 14px; border-bottom: 1px solid #f0f3f8; font-size: 14px; vertical-align: middle; }
.awby-ah-listings-table tr:last-child td { border-bottom: none; }
.awby-ah-td-title { display: flex; align-items: center; gap: 10px; }
.awby-ah-listing-thumb {
    width: 56px; height: 42px; border-radius: 6px; overflow: hidden;
    background: #f0f3f8; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.awby-ah-listing-thumb img { width: 100%; height: 100%; object-fit: cover; }
.awby-ah-listing-link { color: var(--awby-dark); text-decoration: none; font-weight: 600; }
.awby-ah-listing-link:hover { color: var(--awby-blue); }
.awby-ah-listings-table td small { color: #999; display: block; margin-top: 2px; }
.awby-ah-td-price { color: var(--awby-red); font-weight: 700; }

.awby-ah-status { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 20px; display: inline-block; }
.awby-ah-status-publish { background: #e8f5e9; color: #2e7d32; }
.awby-ah-status-pending { background: #fff8e1; color: #f57f17; }
.awby-ah-status-draft { background: #f0f3f8; color: #666; }
.awby-ah-status-trash { background: #ffebee; color: #c62828; }

.awby-btn-bump {
    background: #fff8e1; color: #f57f17; border: 1px solid #ffe082;
    padding: 6px 14px; font-size: 12px; border-radius: 6px; cursor: pointer;
    white-space: nowrap; transition: all 0.2s;
}
.awby-btn-bump:not(.awby-btn-disabled):hover { background: #ffc107; color: #fff; }
.awby-btn-bump.awby-btn-disabled { background: #f5f5f5; color: #999; border-color: #eee; }

.awby-ah-muted { color: #ccc; font-size: 13px; }

/* --- Статистика --- */
.awby-ah-stats-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px; margin-bottom: 24px;
}
.awby-ah-stat-card {
    background: #fff; border: 1px solid var(--awby-border);
    border-radius: var(--awby-radius); padding: 20px; text-align: center;
    box-shadow: var(--awby-shadow);
}
.awby-ah-stat-num { font-size: 32px; font-weight: 800; color: var(--awby-dark); }
.awby-ah-stat-label { font-size: 13px; color: #888; margin-top: 4px; }
.awby-ah-rating-display { display: flex; align-items: center; gap: 10px; justify-content: center; margin-top: 20px; }
.awby-ah-rating-big { font-size: 22px; font-weight: 700; color: var(--awby-dark); }

/* ============================================================
 * БЕЙДЖ АВТОХАУСА В КАРТОЧКАХ ОБЪЯВЛЕНИЙ
 * ============================================================ */
.awby-dealer-badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 2px 8px; font-size: 11px; font-weight: 700;
    background: var(--awby-dark); color: #fff; border-radius: 4px;
    text-decoration: none;
}
.awby-dealer-badge:hover { background: var(--awby-blue); color: #fff; }

/* ============================================================
 * АДАПТИВНОСТЬ
 * ============================================================ */
@media (max-width: 768px) {
    .awby-ah-company-body { grid-template-columns: 1fr; }
    .awby-ah-company-header-inner { flex-direction: column; text-align: center; }
    .awby-ah-company-header-actions { align-items: center; }
    .awby-ah-field-row { grid-template-columns: 1fr; }
    .awby-ah-hours-grid { grid-template-columns: 1fr; }
    .awby-ah-companies-grid { grid-template-columns: 1fr; }
    .awby-ah-company-listings-grid { grid-template-columns: repeat(2, 1fr); }
    .awby-ah-dashboard-tabs { flex-wrap: wrap; }
    .awby-ah-listings-table { font-size: 12px; }
    .awby-ah-listings-table th, .awby-ah-listings-table td { padding: 8px; }
}

@media (max-width: 480px) {
    .awby-ah-company-listings-grid { grid-template-columns: 1fr; }
    .awby-ah-company-logo-lg { width: 90px; height: 90px; }
    .awby-ah-company-title { font-size: 22px; }
}

/* ============================================================
 * ВИДЖЕТ БАЛАНСА + ВКЛАДКА УСЛУГ (Фаза 1/2)
 * ============================================================ */
.awby-ah-balance-widget {
    display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
    background: linear-gradient(135deg, #fff8e1, #fff3c4);
    border: 1px solid #ffd54f; border-radius: 12px;
    padding: 12px 18px; margin: 0 0 20px;
}
.awby-ah-balance-item { display: flex; align-items: center; gap: 6px; }
.awby-ah-balance-icon { font-size: 18px; }
.awby-ah-balance-num { font-size: 20px; font-weight: 800; color: #e07d00; }
.awby-ah-balance-label { color: #7a6a3a; font-size: 13px; }

/* услуги */
.awby-ah-services-balance {
    background: #f5f9ff; border: 1px solid #d6e4f5; border-radius: 8px;
    padding: 10px 14px; margin-bottom: 16px; font-size: 14px;
}
.awby-ah-services-balance a { color: #e07d00; font-weight: 600; }
.awby-ah-services-list { display: flex; flex-direction: column; gap: 12px; }
.awby-ah-svc-card {
    background: #fff; border: 1px solid #e8ecf1; border-radius: 10px;
    padding: 14px 16px;
}
.awby-ah-svc-card-head {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    margin-bottom: 10px;
}
.awby-ah-svc-card-head a { font-weight: 600; color: #2a4a6a; text-decoration: none; }
.awby-ah-svc-card-head a:hover { text-decoration: underline; }
.awby-ah-svc-badge {
    display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 12px;
    background: #f0f2f5;
}
.awby-ah-svc-badge--hot { background: #ffebee; color: #c62828; }
.awby-ah-svc-badge--turbo { background: #fff3e0; color: #e65100; font-weight: 700; }
.awby-ah-svc-badge--color { background: #e8f5e9; color: #2e7d32; }
.awby-ah-svc-badge--up { background: #e3f2fd; color: #1565c0; }
.awby-ah-muted { color: #bbb; font-size: 13px; }
.awby-ah-svc-buy-row { display: flex; gap: 8px; flex-wrap: wrap; }
.awby-ah-svc-buy-row .awby-uf-buy-svc {
    background: #fff; border: 1px solid #cfd6dd; color: #555;
    padding: 6px 12px; border-radius: 6px; cursor: pointer; font-size: 13px;
    transition: all .15s;
}
.awby-ah-svc-buy-row .awby-uf-buy-svc:hover:not(:disabled) { border-color: #ff8c00; color: #e07d00; background: #fffaf3; }
.awby-ah-svc-buy-row .awby-uf-buy-svc.is-active { border-color: #2e7d32; color: #2e7d32; background: #e8f5e9; }
.awby-ah-svc-buy-row .awby-uf-buy-svc.is-disabled { opacity: .5; cursor: not-allowed; }
.awby-ah-svc-buy-row .awby-uf-buy-svc.is-loading { opacity: .6; pointer-events: none; }

