
    * { margin: 0; padding: 0; box-sizing: border-box; }
    
    :root {
      --primary: #c9a961;
      --primary-dark: #a88a4a;
      --bg: #fafafa;
      --text: #1a1a1a;
      --card-bg: #ffffff;
      --border: #e0e0e0;
      --footer-bg: #f5f5f5;
      --footer-text: #1a1a1a;
      --footer-link: #666;
    }
    
    body.dark-theme {
      --bg: #0a0a0a;
      --text: #e8dcc4;
      --card-bg: #1a1a1a;
      --border: #333;
      --footer-bg: #1a1a1a;
      --footer-text: #e8dcc4;
      --footer-link: #a89880;
    }
    
    body {
      font-family: 'Inter', system-ui, -apple-system, sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.6;
      transition: all 0.3s;
    }
    
    .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
    
    /* HEADER */
    header {
      background: var(--card-bg);
      border-bottom: 2px solid var(--primary);
      position: sticky;
      top: 0;
      z-index: 100;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
      transition: background 0.3s;
    }
    
    .header-content {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 20px;
      max-width: 1200px;
      margin: 0 auto;
    }
    
    .logo {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 20px;
      font-weight: 700;
      color: var(--primary);
      cursor: pointer;
      text-decoration: none;
      transition: opacity 0.2s;
    }
    
    .logo:hover { opacity: 0.8; }
    
    .logo img { height: 40px; }
    
    nav { display: flex; gap: 30px; }
    
    .nav-link {
      color: var(--text);
      text-decoration: none;
      font-weight: 500;
      transition: color 0.2s;
      position: relative;
    }
    
    .nav-link:hover, .nav-link.active { color: var(--primary); }
    
    .nav-link.active::after {
      content: '';
      position: absolute;
      bottom: -5px;
      left: 0;
      right: 0;
      height: 2px;
      background: var(--primary);
    }
    
    .header-actions { display: flex; gap: 15px; align-items: center; }
    
    .theme-toggle {
      background: var(--card-bg);
      border: 2px solid var(--border);
      border-radius: 8px;
      width: 44px;
      height: 44px;
      cursor: pointer;
      font-size: 22px;
      transition: all 0.2s;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text);
      line-height: 1;
    }
    
    .theme-toggle:hover { border-color: var(--primary); }
    
    .btn {
      padding: 15px 40px;
      background: var(--primary);
      color: #0a0a0a;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      font-weight: 600;
      text-decoration: none;
      display: inline-block;
      transition: all 0.2s;
      font-size: 16px;
    }
    
    .btn:hover { background: var(--primary-dark); transform: translateY(-2px); }
    
    .btn:disabled {
      opacity: 0.5;
      cursor: not-allowed;
      transform: none;
    }
    
    .btn-outline {
      background: transparent;
      border: 2px solid var(--primary);
      color: var(--primary);
    }
    
    .btn-outline:hover { background: var(--primary); color: #0a0a0a; }
    
    /* PROMO BANNER - ИСПРАВЛЕННЫЙ */
    .promo-banner-section {
      position: relative;
      width: 100%;
      overflow: visible; /* Разрешаем выход за края */
      margin-bottom: 0;
    }
    
    .promo-banner {
      position: relative;
      width: 100%;
      min-height: 700px;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      overflow: visible; /* Разрешаем выход элементов за края */
    }
    
    /* Контейнер для элементов с фиксированной шириной как в админке */
    .promo-banner-viewport {
      position: relative;
      width: 100%;
      max-width: 1400px;
      height: 100%;
      min-height: 700px;
      margin: 0 auto;
      overflow: visible;
    }
    
    .promo-banner-overlay {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 1;
      pointer-events: none;
    }
    
    .promo-banner-content {
      position: absolute;
      z-index: 10;
    }
    
    .promo-banner-text {
      text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
    }
    
    .promo-banner-text h2 {
      font-size: 32px;
      margin-bottom: 12px;
      line-height: 1.2;
      font-weight: 700;
    }
    
    .promo-banner-text .address {
      font-size: 15px;
      margin-bottom: 8px;
      opacity: 0.95;
    }
    
    .promo-banner-text .contact-row {
      font-size: 15px;
      margin-bottom: 6px;
    }
    
    .promo-banner-text .contact-row strong {
      color: #c9a961;
    }
    
    .promo-banner-ticket { -webkit-mask-image: radial-gradient(circle 13px at var(--notch,50px) 0, transparent 97%, #000 100%), radial-gradient(circle 13px at var(--notch,50px) 100%, transparent 97%, #000 100%); -webkit-mask-composite: source-in; mask-image: radial-gradient(circle 13px at var(--notch,50px) 0, transparent 97%, #000 100%), radial-gradient(circle 13px at var(--notch,50px) 100%, transparent 97%, #000 100%); mask-composite: intersect;    
      display: flex;
      background: #ffffff;
      border-radius: 12px;
      overflow: visible;
      box-shadow: 0 15px 40px rgba(0,0,0,0.5);
      width: 420px;
      
      
      
      
      
      
      
      
      
      
    }
    
    .promo-banner-ticket-sidebar {
      writing-mode: vertical-rl;
      text-orientation: mixed;
      transform: rotate(180deg);
      font-weight: 700;
      font-size: 16px;
      letter-spacing: 2px;
      text-transform: uppercase;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px 10px;
      min-width: 50px;
    }
    
    .promo-banner-ticket-content {
      padding: 20px 25px;
      flex: 1;
    }
    
    .promo-banner-ticket-title {
      font-size: 16px;
      font-weight: 700;
      color: #1a1a1a;
      margin-bottom: 15px;
      line-height: 1.3;
    }
    
    .promo-banner-ticket-input {
      width: 100%;
      padding: 10px 15px;
      border: 2px solid #ddd;
      border-radius: 25px;
      margin-bottom: 12px;
      font-size: 13px;
      box-sizing: border-box;
      font-family: inherit;
    }
    
    .promo-banner-ticket-input:focus {
      outline: none;
      border-color: #c9a961;
    }
    
    .promo-banner-ticket-button {
      width: 100%;
      padding: 12px;
      border: none;
      border-radius: 25px;
      font-weight: 700;
      cursor: pointer;
      font-size: 13px;
      text-transform: uppercase;
      letter-spacing: 1px;
      transition: all 0.2s;
      font-family: inherit;
    }
    
    .promo-banner-ticket-button:hover {
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }
    
    .promo-banner-ticket-consent {
      margin-top: 10px;
      font-size: 10px;
      color: #666;
      display: flex;
      align-items: center;
      gap: 5px;
    }
    
    .promo-banner-ticket-consent input {
      width: auto;
    }
    
    .promo-banner-form {
      background: #ffffff;
      padding: 20px 25px;
      border-radius: 10px;
      box-shadow: 0 8px 25px rgba(0,0,0,0.4);
      width: 320px;
    }
    
    .promo-banner-form-promo {
      padding: 12px;
      border-radius: 6px;
      margin-bottom: 15px;
      text-align: center;
      font-weight: 600;
      font-size: 13px;
    }
    
    .promo-banner-form-input {
      width: 100%;
      padding: 10px;
      border: 2px solid #ddd;
      border-radius: 6px;
      margin-bottom: 12px;
      font-size: 13px;
      box-sizing: border-box;
      font-family: inherit;
    }
    
    .promo-banner-form-button {
      width: 100%;
      padding: 12px;
      border: none;
      border-radius: 6px;
      font-weight: 600;
      cursor: pointer;
      font-size: 13px;
      font-family: inherit;
    }
    
    .promo-banner-form-consent {
      margin-top: 8px;
      font-size: 10px;
      color: #666;
      display: flex;
      align-items: center;
      gap: 5px;
    }
    
    /* SECTIONS */
    section { padding: 80px 0; }
    
    .section-title {
      font-size: 36px;
      margin-bottom: 40px;
      color: var(--primary);
      text-align: center;
    }
    
    /* NEWS */
    .news-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
    }
    
    .news-card {
      background: var(--card-bg);
      border-radius: 12px;
      padding: 30px;
      border: 1px solid var(--border);
      transition: transform 0.2s;
    }
    
    .news-card:hover { transform: translateY(-5px); }
    
    .news-date { color: var(--primary); font-size: 14px; margin-bottom: 10px; }
    
    .news-title { font-size: 20px; margin-bottom: 15px; }
    
    .news-text { color: #666; }
    
    body.dark-theme .news-text { color: #a89880; }
    
    /* SCHEDULE */
    .schedule-container {
      background: var(--card-bg);
      border-radius: 16px;
      padding: 30px;
      border: 1px solid var(--border);
      overflow-x: auto;
    }
    
    .schedule-nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 30px;
    }
    
    .schedule-nav button {
      padding: 10px 20px;
      background: var(--primary);
      color: #0a0a0a;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      font-weight: 600;
      transition: all 0.2s;
    }
    
    .schedule-nav button:disabled {
      opacity: 0.4;
      cursor: not-allowed;
      transform: none;
    }
    
    .schedule-grid {
      display: grid;
      grid-template-columns: 80px repeat(7, minmax(0, 1fr));
      gap: 0;
      min-width: 900px;
      border: 1px solid var(--border);
      border-radius: 8px;
      overflow: hidden;
    }
    
    .schedule-header-cell {
      text-align: center;
      padding: 15px 10px;
      background: var(--primary);
      color: #0a0a0a;
      font-weight: 600;
      border-right: 1px solid var(--border);
      border-bottom: 2px solid var(--border);
    }
    
    .schedule-header-cell:last-child { border-right: none; }
    
    .schedule-header-cell .day-info {
      display: flex;
      flex-direction: column;
      gap: 5px;
    }
    
    .schedule-header-cell .date { font-size: 24px; font-weight: 700; }
    .schedule-header-cell .month { font-size: 12px; text-transform: uppercase; }
    .schedule-header-cell .weekday { font-size: 11px; opacity: 0.8; }
    
    .schedule-time-column {
      background: var(--bg);
      border-right: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      padding: 15px 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 600;
      color: var(--text);
      font-size: 14px;
    }
    
    .schedule-cell {
      padding: 10px;
      background: var(--card-bg);
      border-right: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      min-height: 120px;
      cursor: default;
      transition: background 0.2s;
    }
    
    .schedule-cell:hover { background: rgba(201,169,97,0.1); }
    .schedule-cell:last-child { border-right: none; }
    
    .schedule-class {
      background: rgba(201,169,97,0.1);
      border-radius: 6px;
      padding: 8px;
      margin-bottom: 8px;
      border-left: none !important;
    }
    
    .schedule-class:last-child { margin-bottom: 0; }
    
    .schedule-class-header { display: flex; align-items: center; gap: 5px; margin-bottom: 5px; flex-wrap: wrap; }
    
    .schedule-class-time { font-weight: 700; color: var(--primary); font-size: 13px; white-space: normal; }
    
    .schedule-class-duration {
      font-size: 12px;
      color: #888;
      white-space: nowrap;
    }
    
    .paid-icon {
      font-size: 14px;
      color: #28a745;
      font-weight: bold;
    }
    
    .schedule-class-title { font-weight: 600; font-size: 13px; color: var(--text); margin-bottom: 3px; white-space: normal; overflow-wrap: anywhere; line-height: 1.35; }
    
    .schedule-class-trainer { font-size: 11px; color: #a89880; margin-bottom: 3px; white-space: normal; overflow-wrap: anywhere; line-height: 1.3; }
    
    body.dark-theme .schedule-class-trainer { color: #a89880; }
    
    .schedule-class-room {
      font-size: 10px;
      color: #888;
      margin-bottom: 5px;
    }
    
    .schedule-class-type {
      display: inline-block;
      padding: 2px 6px;
      border-radius: 4px;
      font-size: 9px;
      font-weight: 600;
      text-transform: uppercase;
    }
    
    .schedule-class-type.no-record {
      background: rgba(40,167,69,0.2);
      color: #28a745;
      border: 1px solid #28a745;
    }
    
    .schedule-class-type.with-record {
      background: rgba(255,193,7,0.2);
      color: #ffc107;
      border: 1px solid #ffc107;
    }
    
    /* COACHES */
    .filters {
      display: flex;
      gap: 10px;
      margin-bottom: 30px;
      flex-wrap: wrap;
      justify-content: center;
    }
    
    .filter-btn {
      padding: 10px 20px;
      background: var(--card-bg);
      border: 2px solid var(--border);
      border-radius: 25px;
      cursor: pointer;
      font-weight: 500;
      transition: all 0.2s;
      color: var(--text);
    }
    
    .filter-btn:hover, .filter-btn.active {
      background: var(--primary);
      border-color: var(--primary);
      color: #0a0a0a;
    }
    
    .coaches-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 30px;
    }
    
    .coach-card {
      background: var(--card-bg);
      border-radius: 16px;
      padding: 30px;
      border: 1px solid var(--border);
      text-align: center;
      transition: transform 0.2s;
      cursor: pointer;
    }
    
    .coach-card:hover { transform: translateY(-5px); }
    
    .avatar {
      width: 120px;
      height: 120px;
      border-radius: 50%;
      background: linear-gradient(135deg, #d4af37, #8b6f47);
      margin: 0 auto 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 48px;
      font-weight: 700;
      color: #0a0a0a;
      overflow: hidden;
    }
    
    .avatar img { width: 100%; height: 100%; object-fit: cover; }
    
    .coach-name { font-size: 22px; margin-bottom: 15px; }
    
    .disciplines {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      justify-content: center;
      margin-bottom: 15px;
    }
    
    .discipline-tag {
      padding: 5px 15px;
      background: rgba(201,169,97,0.2);
      border: 1px solid var(--primary);
      border-radius: 20px;
      font-size: 12px;
      color: var(--primary);
    }
    
    .coach-bio { color: #666; font-size: 14px; margin-bottom: 20px; }
    body.dark-theme .coach-bio { color: #a89880; }
    
    .no-results {
      text-align: center;
      padding: 60px 20px;
      color: #666;
      display: none;
    }
    
    .no-results.visible { display: block; }
    
    /* CONTACTS */
    #contacts { padding: 0; position: relative; }
    
    .contacts-wrapper { position: relative; width: 100%; }
    
    #map {
      width: 100%;
      height: 650px;
      position: relative;
      filter: grayscale(100%);
      background: #f0f0f0;
    }
    
    .contacts-panel {
      position: absolute;
      top: 50%;
      left: 80px;
      transform: translateY(-50%);
      background: var(--card-bg);
      padding: 30px;
      border-radius: 0;
      box-shadow: 0 10px 40px rgba(0,0,0,0.2);
      z-index: 20;
      width: 380px;
    }
    
    .contact-item { margin-bottom: 20px; }
    .contact-item:last-child { margin-bottom: 0; }
    
    .contact-label {
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 600;
      color: var(--primary);
      margin-bottom: 8px;
      font-size: 15px;
    }
    
    .contact-value {
      color: var(--text);
      line-height: 1.5;
      padding-left: 28px;
      font-size: 14px;
    }
    
    .contact-value a {
      color: var(--primary);
      text-decoration: none;
      transition: color 0.2s;
    }
    
    .contact-value a:hover {
      color: var(--primary-dark);
      text-decoration: underline;
    }
    
    .social-buttons {
      display: flex;
      gap: 10px;
      padding-left: 28px;
    }
    
    .social-btn {
      padding: 8px 20px;
      background: var(--primary);
      color: #0a0a0a;
      border: none;
      border-radius: 6px;
      text-decoration: none;
      font-weight: 500;
      transition: all 0.2s;
      display: inline-block;
      font-size: 14px;
    }
    
    .social-btn:hover {
      background: var(--primary-dark);
      transform: translateY(-2px);
    }
    
    /* FOOTER */
    footer {
      background: var(--footer-bg);
      color: var(--footer-text);
      padding: 60px 0 30px;
      transition: background 0.3s, color 0.3s;
    }
    
    .footer-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 40px;
      margin-bottom: 40px;
    }
    
    .footer-col h3 {
      color: var(--primary);
      margin-bottom: 20px;
      font-size: 18px;
    }
    
    .footer-col ul { list-style: none; }
    .footer-col li { margin-bottom: 10px; }
    
    .footer-col a {
      color: var(--footer-link);
      text-decoration: none;
      transition: color 0.2s;
    }
    
    .footer-col a:hover { color: var(--primary); }
    
    .footer-bottom {
      text-align: center;
      padding-top: 30px;
      border-top: 1px solid var(--border);
      color: var(--footer-link);
    }
    
    /* MOBILE MENU */
    .mobile-menu-btn {
      display: none;
      background: none;
      border: none;
      font-size: 24px;
      cursor: pointer;
      color: var(--text);
    }
    
    /* RESPONSIVE */
    @media (max-width: 768px) {
      .header-content { flex-wrap: wrap; }
      
      nav {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 15px;
        padding: 20px 0;
      }
      
      nav.active { display: flex; }
      .mobile-menu-btn { display: block; }
      
      .section-title { font-size: 28px; }
      
      .schedule-grid {
        grid-template-columns: 60px repeat(7, minmax(0, 1fr));
        font-size: 12px;
      }
      
      .schedule-header-cell .date { font-size: 18px; }
      .schedule-header-cell .month,
      .schedule-header-cell .weekday { font-size: 10px; }
      
      .coaches-grid { grid-template-columns: 1fr; }
      
      .contacts-panel {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        margin: 20px;
        z-index: 5;
      }
      
      #map { height: 400px; }
      
      .promo-banner { min-height: 500px; }
      .promo-banner-viewport { min-height: 500px; }
      .promo-banner-text h2 { font-size: 24px; }
    }
    
    @media (max-width: 480px) {
      section { padding: 40px 0; }
      .filters { gap: 5px; }
      .filter-btn { padding: 8px 15px; font-size: 12px; }
      
      .theme-toggle {
        width: 40px;
        height: 40px;
        font-size: 20px;
      }
      
      .contacts-panel {
        padding: 25px;
        margin: 15px;
      }
      
      #map { height: 300px; }
      .promo-banner { min-height: 400px; }
      .promo-banner-viewport { min-height: 400px; }
    }
  .schedule-class-dur{display:block;width:100%;font-size:11px;color:#b9ae9e;margin:2px 0 4px;letter-spacing:.3px}
body.light .schedule-class-dur{display:block;width:100%;font-size:11px;color:#b9ae9e;margin:2px 0 4px;letter-spacing:.3px}

.mainNav a{color:#e8e8e8;text-decoration:none;transition:color .25s}
.mainNav a:hover{color:#c9a961}
body.light .mainNav a{color:#333}
body.light .mainNav a:hover{color:#8a6d2f}


  .promo-banner, #promoBanner, .promo-banner-section, #promo-banner { margin-top: 0 !important; padding-top: 0 !important; }
  .promo-banner-viewport, #promoBannerViewport { margin-top: 0 !important; padding-top: 0 !important; top: 0 !important; }
  .promo-banner-bg { top: 0 !important; }
  body > header, body > .header, body > nav, body > #header { margin-bottom: 0 !important; }
  #top { display: none !important; }


.svcSection{max-width:1200px;margin:60px auto;padding:0 20px}
.svcTitle{text-align:center;font-size:32px;color:#8a6d2f;margin-bottom:8px}
.svcSub{text-align:center;color:#666;margin-bottom:8px}
.svcSub a{color:#8a6d2f;text-decoration:none}
.svcGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;margin-top:28px}
.svcLoading{color:#888;text-align:center;padding:30px}
.svcCard{position:relative;background:#ffffff;border-radius:14px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 6px 18px rgba(0,0,0,.08);transition:transform .25s ease, box-shadow .25s ease}
.svcCard:hover{transform:scale(1.035);box-shadow:0 16px 36px rgba(0,0,0,.18)}
.svcHead{background:#2b2b2b;color:#fff;padding:22px 22px 18px;transition:background .25s ease}
.svcCard:hover .svcHead{background:#c9a961}
.svcCard:hover .svcHead .svcName,.svcCard:hover .svcHead .svcPrice,.svcCard:hover .svcHead .svcPer{color:#111}
.svcCard:hover .svcHead .svcOld{color:rgba(17,17,17,.6)}
.svcBadge{position:absolute;top:16px;right:-38px;transform:rotate(35deg);background:#c9a961;color:#111;font-weight:800;padding:6px 44px;font-size:12px;letter-spacing:1px}
.svcName{font-size:21px;font-weight:800;letter-spacing:1px;color:#fff}
.svcOld{color:#9a9a9a;text-decoration:line-through;margin:6px 0 2px;font-size:15px}
.svcPrice{font-size:42px;font-weight:800;color:#fff;line-height:1.05}
.svcPrice small{font-size:18px;font-weight:700;vertical-align:top}
.svcPer{opacity:.85;margin-top:4px;font-size:14px;color:#eee}
.svcBody{padding:18px 22px 22px;background:#faf7f0;flex:1;display:flex;flex-direction:column;transition:background .25s ease}
.svcFeats{list-style:none;margin:0;padding:0;flex:1}
.svcFeats li{display:flex;gap:10px;padding:9px 0;border-bottom:1px dashed #e0d6bf;color:#444;font-size:14px;line-height:1.45}
.svcFeats li:before{content:"";color:#a8843c;font-weight:800;flex:0 0 auto}
.svcFoot{color:#999;font-size:12px;margin:12px 0 14px;line-height:1.4}
.svcBuy{margin-top:auto;display:block;text-align:center;border:2px solid #a8843c;color:#8a6d2f;border-radius:24px;padding:11px;font-weight:800;text-decoration:none;letter-spacing:1px;transition:all .25s ease}
.svcBuy:hover,.svcCard:hover .svcBuy{background:#c9a961;border-color:#c9a961;color:#111}
.svcCard.accent .svcHead{background:#c9a961}
.svcCard.accent .svcName,.svcCard.accent .svcPrice,.svcCard.accent .svcPer{color:#111}
.svcCard.accent .svcOld{color:rgba(17,17,17,.6)}
body.dark-theme .svcTitle{color:#c9a961}
body.dark-theme .svcSub{color:#aaa}
body.dark-theme .svcSub a{color:#c9a961}
body.dark-theme .svcCard{background:#242424;box-shadow:0 6px 18px rgba(0,0,0,.35)}
body.dark-theme .svcBody{background:#1f1f1f}
body.dark-theme .svcFeats li{color:#ddd;border-bottom-color:#333}
body.dark-theme .svcFeats li:before{color:#c9a961}
body.dark-theme .svcBuy{border-color:#c9a961;color:#c9a961}
body.dark-theme .svcCard:hover .svcBuy{background:#c9a961;color:#111}
@media (max-width:900px){.svcGrid{grid-template-columns:1fr}}


a.trainer-link{color:#c9a961;text-decoration:none;border-bottom:1px dotted rgba(201,169,97,.55);cursor:pointer}
a.trainer-link:hover{border-bottom:1px solid #c9a961}
.cls a.tr{display:block}
body.light a.trainer-link{color:#8a6d2f;border-bottom-color:rgba(138,109,47,.55)}


a.bxTel{color:inherit;text-decoration:none}
a.bxTel:hover{text-decoration:underline}


/*svcBadgeFix2*/
.svcBadge,.msvcBadge{top:25px;right:-60px;width:200px;padding:7px 0;text-align:center;transform:rotate(45deg)}
.svcCard.accent .svcBadge{background:#c9a961;color:#111}
.svcCard.accent:hover .svcBadge{background:#2b2b2b;color:#c9a961}
.svcCard:not(.accent):hover .svcBadge{background:#2b2b2b;color:#c9a961}


/*headPadFix*/
.svcHead{padding-right:84px}


.client-modal-overlay { position: fixed; inset: 0; z-index: 9998; display: none; background: transparent; }
.client-modal-overlay.open { display: block; }
.client-modal {
    position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
    z-index: 9999; width: 400px; max-width: 92vw; max-height: 88vh; overflow-y: auto;
    background: var(--card-bg); color: var(--text); border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,.35); padding: 28px; display: none;
    border: 1px solid var(--border);
}
.client-modal.open { display: block; }
.client-modal-close { position: absolute; top: 10px; right: 14px; background: none; border: none; font-size: 24px; cursor: pointer; color: #888; }
.cm-group { margin-bottom: 16px; position: relative; }
.cm-group label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 500; color: var(--text); }

.cm-group input { width: 100%; padding: 10px 14px; border: 2px solid var(--border); border-radius: 8px; font-size: 14px; background: var(--card-bg); color: var(--text); }

.cm-eye { position: absolute; right: 10px; top: 32px; font-size: 12px; color: var(--footer-link, #888); cursor: pointer; user-select: none; }
.cm-tabs { display: flex; border-bottom: 2px solid var(--border); margin-bottom: 18px; }

.cm-tab { flex: 1; padding: 10px; background: none; border: none; cursor: pointer; font-size: 15px; color: var(--footer-link, #777); border-bottom: 3px solid transparent; margin-bottom: -2px; }
.cm-tab.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }
.cm-btn { width: 100%; padding: 12px; background: var(--primary); color: #0a0a0a; border: none; border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer; transition: background 0.2s; }
.cm-btn:hover { background: var(--primary-dark); }
.cm-btn:disabled { opacity: .6; cursor: not-allowed; }
.cm-btn-secondary { background: none; border: 2px solid var(--primary); color: var(--primary); margin-top: 10px; font-size: 13px; padding: 9px; }
.cm-check { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; color: var(--text); margin-bottom: 10px; cursor: pointer; line-height: 1.4; }

.cm-link { text-align: center; margin-top: 12px; font-size: 13px; }
.cm-link a { color: var(--primary); text-decoration: none; }
.cm-error { background: #fee; color: #c33; padding: 10px; border-radius: 8px; margin-bottom: 14px; font-size: 13px; display: none; }

.cm-success { background: #efe; color: #3a3; padding: 10px; border-radius: 8px; margin-bottom: 14px; font-size: 13px; display: none; }

.client-modal h3 { font-size: 17px; margin-bottom: 14px; color: var(--text); }

#cmCode { letter-spacing: 6px; font-size: 20px; text-align: center; font-weight: bold; }
.client-avatar-btn {
    width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--primary);
    background: var(--primary); color: #0a0a0a; font-weight: 700; font-size: 14px;
    cursor: pointer; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 0;
    transition: all 0.2s;
}
.client-avatar-btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.client-avatar-btn img { width: 100%; height: 100%; object-fit: cover; }
.client-dropdown {
    position: absolute; right: 0; top: 48px; min-width: 200px; background: var(--card-bg); border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,.2); padding: 8px; z-index: 999; border: 1px solid var(--border);
}

.client-dropdown-name { padding: 10px 12px; font-weight: 600; font-size: 14px; color: var(--text); border-bottom: 1px solid var(--border); margin-bottom: 6px; }

.client-dropdown-item { display: block; width: 100%; text-align: left; padding: 10px 12px; border: none; background: none; cursor: pointer; font-size: 14px; color: var(--text); text-decoration: none; border-radius: 8px; }

.client-dropdown-item:hover { background: var(--border); color: var(--primary); }


