
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { -webkit-text-size-adjust: 100%; }
  body { background: #0a0a0f; color: #f5f0fa; font-family: 'Jost', Arial, sans-serif; font-weight: 300; line-height: 1.6; font-size: 16px; overflow-x: hidden; }
  a { color: inherit; text-decoration: none; }
  h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; font-weight: 500; }
  header { position: sticky; top: 0; z-index: 50; background: #0a0a0f; border-bottom: 1px solid rgba(234,214,255,0.15); padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
  .logo { font-family: 'Playfair Display', Georgia, serif; font-size: 1.15rem; color: #ead6ff; font-weight: 600; white-space: nowrap; }
  .logo .dot { color: #c9a0f0; }
  .header-btns { display: flex; gap: 6px; align-items: center; }
  .btn { display: inline-block; padding: 11px 16px; border-radius: 3px; border: 1px solid transparent; cursor: pointer; font-family: 'Jost', Arial, sans-serif; font-size: 0.85rem; letter-spacing: 0.03em; text-align: center; background: transparent; color: #f5f0fa; font-weight: 400; line-height: 1.2; -webkit-appearance: none; appearance: none; }
  .btn-primary { background: linear-gradient(120deg,#6c3fa0,#8b5cc9); color: #fff; }
  .btn-ghost { border-color: rgba(234,214,255,0.25); color: #b8aac9; }
  .btn-sm { padding: 9px 12px; font-size: 0.78rem; }
  .btn-block { display: block; width: 100%; }
  .wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
  section { padding: 36px 0; }
  h2 { font-size: 1.5rem; margin-bottom: 10px; color: #f5f0fa; }
  .sub { color: #b8aac9; font-size: 0.9rem; margin-bottom: 18px; }
  .mobile-nav { display: flex; flex-wrap: wrap; gap: 4px; padding: 8px 16px; background: #12101c; border-bottom: 1px solid rgba(234,214,255,0.15); overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; }
  .mobile-nav a { padding: 8px 12px; font-size: 0.82rem; color: #b8aac9; border-radius: 3px; background: rgba(201,160,240,0.06); flex-shrink: 0; }
  .mobile-nav a:active { background: rgba(201,160,240,0.2); color: #f5f0fa; }
  .hero { background: radial-gradient(circle at 20% 10%, rgba(108,63,160,0.4), transparent 55%), radial-gradient(circle at 90% 30%, rgba(201,160,240,0.15), transparent 60%), #0a0a0f; padding: 30px 0 40px; }
  .hero-grid { display: grid; gap: 22px; }
  .hero img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 6px; border: 1px solid rgba(234,214,255,0.15); display: block; }
  .hero h1 { font-size: 1.9rem; line-height: 1.1; margin: 10px 0; }
  .hero h1 em { color: #ead6ff; font-style: italic; }
  .hero p { color: #b8aac9; margin-bottom: 18px; }
  .hero-actions { display: flex; flex-direction: column; gap: 10px; }
  .service { border-bottom: 1px solid rgba(234,214,255,0.15); padding: 16px 0; display: flex; justify-content: space-between; align-items: center; cursor: pointer; gap: 12px; -webkit-tap-highlight-color: rgba(201,160,240,0.15); }
  .service:active { background: rgba(201,160,240,0.06); }
  .service-info h3 { font-size: 1.05rem; margin-bottom: 2px; }
  .service-info small { color: #b8aac9; font-size: 0.78rem; display: block; }
  .service-info .meta { color: #e6c063; font-size: 0.78rem; margin-top: 2px; }
  .service-price { font-family: 'Playfair Display', serif; font-size: 1.15rem; color: #ead6ff; white-space: nowrap; }
  .gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; border: 1px solid rgba(234,214,255,0.15); display: block; }
  .gallery .big { grid-column: span 2; aspect-ratio: 16/10; }
  .hours-card { border: 1px solid rgba(234,214,255,0.15); border-radius: 4px; background: rgba(18,16,28,0.6); padding: 18px; margin-bottom: 12px; }
  .hours-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
  .hours-card .title-sub { color: #c9a0f0; font-size: 0.85rem; margin-bottom: 12px; font-style: italic; font-family: 'Playfair Display', serif; }
  .hours-card ul { list-style: none; }
  .hours-card li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed rgba(234,214,255,0.15); font-size: 0.88rem; }
  .hours-card li:last-child { border-bottom: none; }
  .hours-card .time { color: #ead6ff; font-family: 'Playfair Display', serif; }
  .hours-card .closed { color: #e0a6c3; font-style: italic; }
  .field { margin-bottom: 16px; }
  .field label { display: block; font-size: 0.75rem; color: #b8aac9; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; font-weight: 500; }
  input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="date"], select { width: 100%; padding: 13px 14px; background: rgba(245,240,250,0.05); border: 1px solid rgba(234,214,255,0.2); border-radius: 3px; color: #f5f0fa; font-family: 'Jost', Arial, sans-serif; font-size: 16px; -webkit-appearance: none; appearance: none; }
  input:focus, select:focus { outline: none; border-color: #c9a0f0; }
  select option { background: #12101c; color: #fff; }
  .booking-panel { border: 1px solid rgba(234,214,255,0.15); border-radius: 4px; background: rgba(18,16,28,0.55); padding: 20px 16px; }
  .service-summary { background: rgba(201,160,240,0.08); border: 1px solid rgba(234,214,255,0.15); border-radius: 3px; padding: 12px 14px; font-size: 0.83rem; color: #b8aac9; margin-bottom: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; }
  .service-summary strong { color: #ead6ff; }
  .calendar { border: 1px solid rgba(234,214,255,0.15); border-radius: 3px; background: rgba(10,10,15,0.6); padding: 14px; }
  .cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
  .cal-title { font-family: 'Playfair Display', serif; font-size: 1rem; }
  .cal-nav button { width: 38px; height: 38px; margin-left: 4px; border-radius: 3px; border: 1px solid rgba(234,214,255,0.2); background: transparent; color: #b8aac9; font-size: 1.1rem; cursor: pointer; -webkit-appearance: none; appearance: none; }
  .cal-nav button:active { background: rgba(201,160,240,0.2); }
  .cal-nav button:disabled { opacity: 0.3; }
  .cal-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 3px; }
  .cal-wd { text-align: center; font-size: 0.65rem; padding: 5px 0; color: #b8aac9; text-transform: uppercase; letter-spacing: 0.03em; }
  .cal-day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; color: #b8aac9; border: 1px solid transparent; border-radius: 3px; background: transparent; cursor: pointer; font-family: 'Jost', Arial, sans-serif; min-height: 36px; padding: 0; -webkit-appearance: none; appearance: none; }
  .cal-day:active:not(:disabled) { background: rgba(201,160,240,0.2); }
  .cal-day.selected { background: #6c3fa0; color: #fff; border-color: #6c3fa0; }
  .cal-day.today { color: #ead6ff; font-weight: 500; }
  .cal-day:disabled { opacity: 0.25; cursor: not-allowed; }
  .slots-title { font-family: 'Playfair Display', serif; font-size: 1rem; margin: 20px 0 10px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px; }
  .slots-title small { font-family: 'Jost', sans-serif; font-size: 0.75rem; color: #b8aac9; }
  .slots { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; }
  .slot { padding: 12px 4px; text-align: center; border: 1px solid rgba(234,214,255,0.2); border-radius: 3px; background: transparent; color: #b8aac9; font-size: 0.82rem; cursor: pointer; font-family: 'Jost', Arial, sans-serif; min-height: 44px; -webkit-appearance: none; appearance: none; }
  .slot:active:not(:disabled) { background: rgba(201,160,240,0.2); }
  .slot.selected { background: #6c3fa0; color: #fff; border-color: #6c3fa0; }
  .slot:disabled { opacity: 0.3; cursor: not-allowed; }
  .slot-hint { grid-column: 1 / -1; padding: 18px 10px; text-align: center; color: #b8aac9; font-style: italic; font-size: 0.82rem; }
  .error { color: #e0a6c3; font-size: 0.75rem; margin-top: 5px; min-height: 14px; }
  .confirm { display: none; margin-top: 20px; padding: 16px; border: 1px solid #c9a0f0; background: rgba(201,160,240,0.1); border-radius: 3px; color: #ead6ff; font-size: 0.86rem; line-height: 1.6; }
  .confirm.show { display: block; }
  .modal { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(5,4,10,0.95); z-index: 999; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 20px 16px; }
  .modal.open { display: block; }
  .modal-box { background: #12101c; border: 1px solid rgba(234,214,255,0.25); border-radius: 8px; max-width: 500px; width: 100%; padding: 24px 20px; position: relative; margin: 20px auto; }
  .modal-box h3 { font-size: 1.3rem; margin-bottom: 6px; padding-right: 40px; }
  .modal-box .sub { font-size: 0.85rem; margin-bottom: 18px; }
  .modal-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; background: rgba(201,160,240,0.15); border: 1px solid rgba(234,214,255,0.2); color: #b8aac9; font-size: 1.3rem; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; line-height: 1; -webkit-appearance: none; appearance: none; }
  .tabs { display: flex; gap: 0; border-bottom: 1px solid rgba(234,214,255,0.15); margin-bottom: 18px; }
  .tab { flex: 1; padding: 11px; background: transparent; border: none; border-bottom: 2px solid transparent; color: #b8aac9; font-size: 0.9rem; cursor: pointer; font-family: 'Jost', Arial, sans-serif; -webkit-appearance: none; appearance: none; }
  .tab.active { color: #f5f0fa; border-bottom-color: #c9a0f0; }
  .tab-panel { display: none; }
  .tab-panel.active { display: block; }
  .admin-panel { display: none; background: rgba(30,26,48,0.5); border-top: 1px solid rgba(234,214,255,0.15); }
  .admin-panel.show { display: block; }
  .admin-stats { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; margin-bottom: 18px; }
  .stat-box { padding: 14px; border: 1px solid rgba(234,214,255,0.15); border-radius: 3px; background: rgba(18,16,28,0.6); }
  .stat-box .n { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: #ead6ff; line-height: 1; }
  .stat-box .l { font-size: 0.7rem; color: #b8aac9; text-transform: uppercase; margin-top: 6px; letter-spacing: 0.05em; }
  .admin-tools { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
  .admin-tools input { flex: 1; min-width: 120px; }
  .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid rgba(234,214,255,0.15); border-radius: 3px; background: rgba(18,16,28,0.55); }
  table { width: 100%; border-collapse: collapse; min-width: 700px; }
  th, td { padding: 10px 12px; font-size: 0.8rem; text-align: left; border-bottom: 1px solid rgba(234,214,255,0.1); vertical-align: middle; }
  th { background: rgba(30,26,48,0.9); color: #b8aac9; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 500; }
  tr:last-child td { border-bottom: none; }
  .icon-btn { padding: 7px 10px; border: 1px solid rgba(234,214,255,0.2); background: transparent; color: #b8aac9; border-radius: 3px; font-size: 0.72rem; cursor: pointer; font-family: 'Jost', Arial, sans-serif; margin-right: 4px; margin-bottom: 2px; -webkit-appearance: none; appearance: none; }
  .icon-btn.wa { color: #25D366; border-color: rgba(37,211,102,0.5); background: rgba(37,211,102,0.15); }
  .icon-btn.done { color: #5ec98d; }
  .icon-btn.del { color: #e08080; }
  .icon-btn.cancel { color: #e0a6c3; border-color: rgba(224,166,195,0.5); }
  .user-chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid rgba(234,214,255,0.25); border-radius: 50px; background: rgba(201,160,240,0.1); font-size: 0.8rem; color: #f5f0fa; cursor: pointer; font-family: 'Jost', Arial, sans-serif; -webkit-appearance: none; appearance: none; }
  .user-chip .pill { background: rgba(230,192,99,0.2); color: #e6c063; padding: 1px 8px; border-radius: 50px; font-size: 0.72rem; }
  .loyalty { padding: 16px; border: 1px solid rgba(234,214,255,0.15); border-radius: 3px; background: linear-gradient(135deg, rgba(230,192,99,0.1), rgba(201,160,240,0.06)); margin-bottom: 18px; }
  .loyalty h4 { font-family: 'Playfair Display', serif; font-size: 1rem; margin-bottom: 8px; }
  .loyalty .bar { height: 8px; background: rgba(245,240,250,0.1); border-radius: 50px; overflow: hidden; margin: 10px 0 6px; }
  .loyalty .bar span { display: block; height: 100%; background: linear-gradient(90deg,#e6c063,#f1d894); }
  .loyalty .info { display: flex; justify-content: space-between; font-size: 0.78rem; color: #b8aac9; flex-wrap: wrap; gap: 4px; }
  .loyalty b { color: #e6c063; }
  .login-banner { padding: 12px 14px; border: 1px solid #c9a0f0; background: rgba(201,160,240,0.1); border-radius: 3px; font-size: 0.82rem; color: #ead6ff; margin-bottom: 16px; line-height: 1.5; }
  .login-banner .actions { display: flex; gap: 6px; margin-top: 10px; }
  .login-banner .actions .btn { flex: 1; }
  .dash-grid { display: grid; gap: 12px; margin-bottom: 18px; }
  .dash-box { padding: 14px; border: 1px solid rgba(234,214,255,0.15); border-radius: 3px; background: rgba(18,16,28,0.6); }
  .dash-box .big { font-family: 'Playfair Display', serif; font-size: 1.7rem; color: #e6c063; line-height: 1; }
  .dash-box .sm { font-size: 0.78rem; color: #b8aac9; margin-top: 4px; }
  .bookings-list { list-style: none; }
  .bookings-list li { padding: 10px 12px; border: 1px solid rgba(234,214,255,0.15); border-radius: 3px; margin-bottom: 6px; font-size: 0.83rem; }
  .badge { display: inline-block; padding: 2px 8px; border-radius: 50px; font-size: 0.7rem; background: rgba(94,201,141,0.2); color: #5ec98d; margin-left: 4px; }
  .badge.done { background: rgba(201,160,240,0.2); color: #c9a0f0; }
  .badge.gold { background: rgba(230,192,99,0.2); color: #e6c063; }
  .badge.cancelled { background: rgba(224,166,195,0.2); color: #e0a6c3; }
  footer { padding: 30px 0; border-top: 1px solid rgba(234,214,255,0.15); font-size: 0.85rem; color: #b8aac9; }
  footer h4 { color: #f5f0fa; font-family: 'Playfair Display', serif; font-size: 1.1rem; margin-bottom: 8px; }
  footer p, footer a { margin-bottom: 6px; display: block; }
  footer a { cursor: pointer; color: #c9a0f0; }
  .footer-grid { display: grid; gap: 20px; }
  .footer-bottom { border-top: 1px solid rgba(234,214,255,0.15); padding-top: 14px; margin-top: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 0.75rem; }
  .sync-badge { position: fixed; bottom: 12px; right: 12px; background: rgba(18,16,28,0.95); border: 1px solid rgba(234,214,255,0.3); padding: 6px 12px; border-radius: 50px; font-size: 0.72rem; color: #b8aac9; z-index: 500; display: none; }
  .sync-badge.show { display: block; }
  .sync-badge.ok { color: #5ec98d; border-color: rgba(94,201,141,0.5); }
  @media (min-width: 800px) {
    .mobile-nav { display: none; }
    .wrap { padding: 0 28px; }
    header { padding: 18px 28px; flex-wrap: nowrap; }
    .logo { font-size: 1.6rem; }
    .hero { padding: 80px 0; }
    .hero-grid { grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
    .hero h1 { font-size: 3rem; }
    .hero-actions { flex-direction: row; }
    .hero-actions .btn { width: auto; flex: 1; }
    h2 { font-size: 2.2rem; }
    section { padding: 70px 0; }
    .gallery { grid-template-columns: repeat(3,1fr); }
    .gallery .big { grid-column: span 3; }
    .hours-card { display: inline-block; width: 48%; margin-right: 2%; vertical-align: top; }
    .slots { grid-template-columns: repeat(4,1fr); }
    .admin-stats { grid-template-columns: repeat(4,1fr); }
    .dash-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: repeat(4,1fr); }
    .footer-bottom { flex-direction: row; justify-content: space-between; }
  }
