/* ============================================================================
/* ============================================================================
   Razur — Customer + Admin styles (dark-luxe, refined)
   ============================================================================ */

:root {
  --bg: #0a0a0a;
  --bg-elev: #111111;
  --surface: #161616;
  --surface-2: #1d1d1d;
  --surface-3: #262626;
  --border: #262626;
  --border-strong: #383838;
  --text: #f5f5f0;
  --text-muted: #a3a3a3;
  --text-dim: #6e6e6e;
  --accent: #d4a574;
  --accent-light: #e6c39c;
  --accent-dim: #b8895a;
  --accent-glow: rgba(212, 165, 116, 0.22);
  --accent-soft: rgba(212, 165, 116, 0.08);
  --accent-red: #b04030;
  --success: #7cba8f;
  --error: #e88787;
  --warning: #d4a574;

  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 10px 36px rgba(0,0,0,0.55);
  --shadow-glow: 0 8px 28px -8px var(--accent-glow);
  --shadow-glow-strong: 0 12px 40px -10px rgba(212, 165, 116, 0.4);

  --header-height: 76px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; 
overflow-x: hidden;
scroll-behavior: smooth; 
scroll-padding-top: var(--header-height); }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  touch-action: manipulation;          
  overscroll-behavior-x: contain;       
}

.no-double-tap-zoom { touch-action: manipulation; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-light); }

img { max-width: 100%; height: auto; display: block; }

::selection { background: var(--accent); color: #0a0a0a; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 var(--space-lg); }
.container-narrow { max-width: 920px; margin: 0 auto; padding: 0 var(--space-lg); }
@media (max-width: 640px) {
  .container, .container-narrow { padding: 0 var(--space-md); }
}

.spinner {
  width: 32px; height: 32px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.loading-screen {
  position: fixed; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg); z-index: 9999;
}


/* ============================================================================
   Barber-pole accent down the right edge (decorative)
   ============================================================================ */
.barber-pole {
  position: fixed;
  top: 0; bottom: 0; right: 0;
  width: 6px;
  background: repeating-linear-gradient(
    -42deg,
    var(--accent) 0,
    var(--accent) 10px,
    var(--bg-elev) 10px,
    var(--bg-elev) 18px,
    var(--accent-red) 18px,
    var(--accent-red) 28px,
    var(--bg-elev) 28px,
    var(--bg-elev) 36px
  );
  z-index: 60;
  pointer-events: none;
  opacity: 0.55;
}
@media (max-width: 640px) {
  .barber-pole { width: 4px; opacity: 0.45; }
}


/* ============================================================================
   Buttons
   ============================================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--space-sm);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  text-transform: uppercase;
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-primary {
  background: var(--accent);
  color: #0a0a0a;
  font-weight: 700;
  box-shadow: 0 4px 14px -4px var(--accent-glow);
}
.btn-primary:hover:not(:disabled) {
  background: var(--accent-light);
  box-shadow: var(--shadow-glow-strong);
  transform: translateY(-1px);
}
.btn-primary:active:not(:disabled) { transform: translateY(0); }

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-secondary:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}
.btn-secondary.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.btn-sm { padding: 10px 20px; font-size: 12px; letter-spacing: 0.06em; }
.btn-action { padding: 8px 14px; font-size: 13px; font-weight: 600; text-transform: none; letter-spacing: 0; }
.btn-block { width: 100%; }

.btn-text {
  background: transparent;
  color: var(--accent);
  border: none;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--sans);
  cursor: pointer;
}
.btn-text:hover { color: var(--accent-light); text-decoration: underline; }

.btn-link {
  background: none; border: none;
  color: var(--accent);
  font-family: var(--sans);
  font-size: inherit;
  cursor: pointer; padding: 0;
  text-decoration: underline;
}
.btn-link:hover { color: var(--accent-light); }


/* ============================================================================
   Forms (shared by customer + admin)
   ============================================================================ */
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.field-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

input[type=text], input[type=email], input[type=tel], input[type=url],
input[type=number], input[type=date], input[type=time], input[type=password],
textarea, select {
  font-family: var(--sans);
  font-size: 16px;
  padding: 13px 16px;
  background: var(--bg-elev);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
input:disabled { opacity: 0.5; }
textarea { resize: vertical; min-height: 80px; font-family: var(--sans); }

select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path fill='%23d4a574' d='M6 8L1 3h10z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.checkbox-field {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px; cursor: pointer;
  font-size: 14px;
}
.checkbox-field input { width: auto; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 var(--space-md);
}
.form-grid .span-2 { grid-column: 1 / -1; }
@media (max-width: 640px) {
  .form-row, .form-grid { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: auto; }
}

.form-actions {
  display: flex; gap: var(--space-md);
  margin-top: var(--space-lg);
  flex-wrap: wrap;
}

.form-error {
  color: var(--error);
  font-size: 13px;
  padding: 10px 12px;
  background: rgba(232, 135, 135, 0.08);
  border: 1px solid rgba(232, 135, 135, 0.25);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
}


/* ============================================================================
   Base headings
   ============================================================================ */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
  letter-spacing: -0.01em;
}


/* ============================================================================
   Site header (customer)
   ============================================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  height: var(--header-height);
  padding-top: 0;
  padding-bottom: 0;
}
.logo {
  font-family: var(--serif);
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: 16px;
  white-space: nowrap;
  margin-right: auto;
}
.logo .logo-1 {
  font-weight: 900;
  color: var(--text);
  letter-spacing: 0.04em;
}
.logo .logo-2 {
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0.18em;
  font-size: 12px;
}

.site-nav {
  display: flex;
  gap: var(--space-xl);
}
.site-nav a {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
  transition: color 0.15s;
  padding: 4px 0;
  position: relative;
}
.site-nav a:hover { color: var(--text); }
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}
.site-nav a:hover::after { transform: scaleX(1); }

.header-cta { flex-shrink: 0; }

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 0;
}
.mobile-menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.2s, opacity 0.2s;
}
.mobile-menu-toggle.open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.mobile-menu-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.mobile-nav {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: var(--space-md) var(--space-md) var(--space-lg);
  gap: 4px;
}
.mobile-nav a {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text);
  text-transform: uppercase;
  padding: 14px 8px;
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav .mobile-nav-cta {
  color: var(--accent);
  font-weight: 700;
}

@media (max-width: 880px) {
  .site-nav { display: none; }
  .header-cta { display: none; }
  .mobile-menu-toggle { display: inline-flex; }
  .header-inner { gap: var(--space-md); }
}
@media (min-width: 881px) {
  .mobile-nav { display: none !important; }
}


/* ============================================================================
   Section tag (dash + label above section title)
   ============================================================================ */
.section-tag {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.section-tag .tag-line {
  display: inline-block;
  width: 36px;
  height: 1px;
  background: var(--accent);
}


/* ============================================================================
   Section titles (white word + italic gold word combo)
   ============================================================================ */
.section-title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(36px, 6.5vw, 64px);
  line-height: 1.0;
  letter-spacing: -0.01em;
}
.section-title .title-1 {
  display: inline-block;
  text-transform: uppercase;
  font-weight: 900;
  color: var(--text);
  letter-spacing: 0.01em;
}
.section-title .title-2 {
  display: inline-block;
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.01em;
}

.section-sub {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.65;
  margin-top: 16px;
  max-width: 540px;
}

.section-heading { max-width: 720px; margin-bottom: var(--space-2xl); }
.section-heading-center { text-align: center; margin-left: auto; margin-right: auto; }
.section-heading-center .section-tag { justify-content: center; }
.section-heading-center .section-sub { margin-left: auto; margin-right: auto; }

.empty-state {
  text-align: center;
  color: var(--text-muted);
  padding: var(--space-2xl) var(--space-md);
  font-size: 15px;
  background: var(--surface);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
}


/* ============================================================================
   HERO
   ============================================================================ */
.hero {
  position: relative;
  padding: var(--space-4xl) 0 var(--space-3xl);
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 30% 40%, var(--accent-glow) 0%, transparent 60%),
    var(--bg);
}
.hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border-strong) 50%, transparent 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-3xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text { max-width: 640px; }

.hero-title {
  font-family: var(--serif);
  line-height: 0.95;
  margin: 16px 0 24px;
}
.hero-title-1 {
  display: block;
  font-weight: 900;
  font-size: clamp(64px, 12vw, 132px);
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.92;
}
.hero-title-2 {
  display: block;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(56px, 10vw, 112px);
  color: var(--accent);
  letter-spacing: -0.02em;
  margin-top: -8px;
}

.hero-blurb {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-hours-card {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-elev) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 28px;
  align-self: center;
  box-shadow: var(--shadow-md);
}
.hours-card-title {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.25em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hours-card-list { display: flex; flex-direction: column; gap: 2px; }
.hours-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border-strong);
  font-size: 14px;
}
.hours-card-row:last-child { border-bottom: none; }
.hours-card-day {
  font-weight: 500;
  color: var(--text);
  font-size: 14px;
}
.hours-card-time {
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .hero-hours-card { max-width: 420px; }
}
@media (max-width: 640px) {
  .hero { padding: var(--space-3xl) 0 var(--space-2xl); }
  .hero-title { margin: 12px 0 20px; }
  .hero-title-1 { font-size: clamp(56px, 16vw, 88px); }
  .hero-title-2 { font-size: clamp(48px, 14vw, 76px); margin-top: -4px; }
  .hero-blurb { font-size: 16px; }
  .hero-hours-card { padding: 24px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
}


/* ============================================================================
   Section base (services, gallery, reviews, booking, contact)
   ============================================================================ */
.services, .gallery, .reviews, .booking, .contact {
  padding: var(--space-4xl) 0;
  position: relative;
}
.services + section,
.gallery + section,
.reviews + section,
.booking + section { border-top: 0; }

.services::before,
.gallery::before,
.reviews::before,
.booking::before,
.contact::before {
  content: '';
  position: absolute;
  left: 10%; right: 10%; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border-strong) 50%, transparent 100%);
}

@media (max-width: 640px) {
  .services, .gallery, .reviews, .booking, .contact {
    padding: var(--space-3xl) 0;
  }
}


/* ============================================================================
   SERVICES
   ============================================================================ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-md);
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px 24px;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  text-align: left;
  font-family: var(--sans);
  color: var(--text);
  display: flex;
  flex-direction: column;
  min-height: 200px;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-dim) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
  background: var(--surface-2);
}
.service-card:hover::before { transform: scaleX(1); }

.service-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.service-name {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.15;
  color: var(--text);
  flex: 1;
}
.service-price {
  font-family: var(--serif);
  font-weight: 700;
  font-style: italic;
  font-size: 22px;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.service-description {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 18px;
}
.service-duration {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  width: 100%;
}
.service-duration .dur-icon {
  font-size: 14px;
  color: var(--accent);
}

@media (max-width: 640px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-sm); }
  .service-card { padding: 18px 16px 16px; min-height: 0; }
  .service-card-head { margin-bottom: 10px; }
  .service-name { font-size: 14px; }
  .service-price { font-size: 17px; }
  .service-description { font-size: 12px; margin-bottom: 12px; }
  .service-duration { font-size: 10px; padding-top: 10px; }
}
@media (max-width: 360px) {
  .service-grid { grid-template-columns: 1fr; }
}


/* ============================================================================
   GALLERY
   ============================================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 340px));
  gap: var(--space-md);
  margin-top: var(--space-xl);
  justify-content: center;
}
.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.25s;
}
.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover { border-color: var(--accent); box-shadow: var(--shadow-glow); }
.gallery-item:hover img { transform: scale(1.04); }


/* ============================================================================
   REVIEWS
   ============================================================================ */
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}
.review-card {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-elev) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  transition: all 0.2s;
  position: relative;
}
.review-card:hover { border-color: var(--accent); }
.review-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: 14px;
}
.review-author-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.review-quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 32px;
  color: var(--accent);
  line-height: 0.4;
  margin-bottom: 6px;
}
.review-author {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
}
.review-stars {
  color: var(--accent);
  letter-spacing: 2px;
  font-size: 15px;
}
.review-stars .star { color: var(--border-strong); }
.review-stars .star.filled { color: var(--accent); }
.review-comment {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 14px;
}
.review-date {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.review-form-card {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-top: var(--space-xl);
}
.review-form-title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.review-form-sub {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
}
.submit-review-btn { margin-top: 8px; }

@media (max-width: 640px) {
  .review-card { padding: 22px 22px; }
  .review-form-card { padding: 24px; }
}


/* ============================================================================
   Rating input (review form)
   ============================================================================ */
.rating-input {
  display: flex;
  gap: 6px;
  align-items: center;
  height: 50px;
}
.rating-input .star {
  background: transparent;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--border-strong);
  transition: color 0.15s, transform 0.1s;
  padding: 4px;
  line-height: 1;
}
.rating-input .star:hover { transform: scale(1.15); }
.rating-input .star.filled { color: var(--accent); }


/* ============================================================================
   BOOKING (info column + widget card)
   ============================================================================ */
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
  margin-top: var(--space-xl);
}
.booking-info { max-width: 480px; }
.booking-info .section-title { margin-bottom: 0; }
.booking-info .section-sub { margin-bottom: 28px; }

.booking-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0;
}
.booking-features li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  color: var(--text);
  font-size: 15px;
}
.booking-features .bullet {
  color: var(--accent);
  font-weight: 700;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
}

.booking-widget-card {
  background: var(--surface);
  border: 1px solid var(--accent);
  border-top-width: 3px;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg), 0 -2px 0 -1px var(--accent);
}
.booking-widget-head {
  margin-bottom: 24px;
}
.booking-widget-title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.booking-widget-sub { color: var(--text-muted); font-size: 14px; }

.booking-form .field { margin-bottom: 20px; }

/* Calendar picker */
.cal-picker {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
}
.cal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding: 0 4px;
}
.cal-arrow {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text);
  width: 32px; height: 32px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--sans);
}
.cal-arrow:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.cal-arrow:disabled { opacity: 0.3; cursor: not-allowed; }
.cal-month-label {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text);
}
.cal-dows {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 6px;
}
.cal-dows span {
  text-align: center;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  padding: 6px 0;
}
.cal-cells {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.cal-cell {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  padding: 8px 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  transition: all 0.15s;
}
.cal-cell:not(.empty):not(.disabled):hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}
.cal-cell.selected {
  background: var(--accent);
  color: #0a0a0a;
  border-color: var(--accent);
  font-weight: 700;
}
.cal-cell.disabled {
  color: var(--text-dim);
  cursor: not-allowed;
  opacity: 0.4;
}
.cal-cell.empty { cursor: default; opacity: 0; }
.cal-cell.today:not(.selected) {
  color: var(--accent);
  font-weight: 700;
}
.cal-cell.today:not(.selected)::after {
  content: '';
  position: relative;
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
  display: block;
  margin-top: 2px;
}

.cal-legend {
  display: flex;
  gap: 18px;
  margin-top: 12px;
  font-family: var(--sans);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
}
.dot-avail  { background: var(--accent); box-shadow: 0 0 6px var(--accent-glow); }
.dot-closed { background: var(--border-strong); }

/* Time picker */
.time-picker {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  min-height: 60px;
}
.time-picker-empty {
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
  font-style: italic;
  padding: 8px 0;
}
.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 6px;
}
.time-slot {
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s;
}
.time-slot:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
..time-slot.selected {
  background: var(--surface-2);
  color: var(--accent);
  border-color: var(--accent);
  font-weight: 700;
  box-shadow: 0 0 0 2px var(--accent);
}

.booking-success {
  text-align: center;
  padding: 24px 12px;
}
.booking-success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 2px solid var(--accent);
  color: var(--accent);
  font-size: 32px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.booking-success-title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 26px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 12px;
}
.booking-success-sub {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 28px;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .booking-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .booking-info { max-width: none; }
}
@media (max-width: 640px) {
  .booking-widget-card { padding: 24px 20px; }
  .cal-picker { padding: 12px; }
  .cal-cell { font-size: 12px; min-height: 32px; }
}

.cal-picker, .time-picker {
  scroll-margin-top: 90px;
}


/* ============================================================================
   CONTACT
   ============================================================================ */
.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  margin: var(--space-xl) 0 var(--space-2xl);
}
.contact-map iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
  filter: saturate(0.9);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-xl);
}
.contact-col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.contact-col-title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 18px;
}
.contact-col-line {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.5;
}
.contact-col-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}
.contact-col-link:hover { color: var(--accent-light); }

.contact-hours {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  padding: 4px 0;
}
.contact-hours-day { font-weight: 600; color: var(--text); }
.contact-hours-time {
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.contact-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.contact-line {
  display: block;
  color: var(--text);
  font-size: 15px;
  transition: color 0.15s;
}
.contact-line:hover { color: var(--accent); }
.contact-socials {
  display: flex;
  gap: 8px;
}
.contact-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: all 0.15s;
}
.contact-social:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-soft);
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-col { padding: 22px; }
}


/* ============================================================================
   FOOTER
   ============================================================================ */
.site-footer {
  padding: 32px 0;
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
  border-top: 1px solid var(--border);
  background: var(--bg-elev);
}

.footer-powered {
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 600;
}
.footer-powered a {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.18em;
}
.footer-powered a:hover { color: var(--accent-light); }

/* ============================================================================
   ADMIN — login
   ============================================================================ */
.admin-body { background: var(--bg); }

#dashboard {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

.login-screen {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex; align-items: center; justify-content: center;
  padding: var(--space-lg);
}
.login-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  max-width: 420px;
  width: 100%;
}
.login-title { font-size: 32px; margin-bottom: 12px; }
.login-sub { color: var(--text-muted); margin-bottom: 24px; line-height: 1.5; }
.login-error {
  background: rgba(232, 135, 135, 0.1);
  border: 1px solid var(--error);
  color: var(--error);
  padding: 12px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  font-size: 14px;
}
.logo-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.otp-input {
  font-family: 'SF Mono', Menlo, Monaco, Consolas, monospace;
  font-size: 28px;
  letter-spacing: 0.15em;
  text-align: center;
  padding: 16px;
}


/* ============================================================================
   ADMIN — header + nav
   ============================================================================ */
.admin-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: var(--space-lg) 0;
}
.admin-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.admin-header-brand { min-width: 0; }
.admin-shop-name {
  font-size: 22px;
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.super-badge {
  display: inline-block;
  background: var(--accent);
  color: #0a0a0a;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  margin-left: 6px;
  vertical-align: middle;
}
.admin-header-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}
@media (max-width: 640px) {
  .admin-header { padding: var(--space-md) 0; }
  .admin-header-inner { gap: 12px; }
  .admin-shop-name { font-size: 18px; }
  .admin-header-actions { gap: 6px; }
  .admin-header-actions .btn-sm { padding: 7px 11px; font-size: 12px; }
}
@media (max-width: 380px) {
  .admin-header-actions { width: 100%; justify-content: flex-start; }
}

.admin-tabs {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}
.admin-tabs-inner { display: flex; gap: 0; }
.admin-tab {
  flex: 1;
  text-align: center;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  padding: var(--space-md) var(--space-sm);
  background: transparent;
  color: var(--text-muted);
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  transition: all 0.15s;
  min-width: 0;
  text-transform: none;
  letter-spacing: 0;
}
.admin-tab:hover { color: var(--text); }
.admin-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
@media (max-width: 640px) {
  .admin-tab { font-size: 13px; padding: 14px 4px; }
}

.admin-main { padding: var(--space-2xl) 0 var(--space-3xl); flex: 1 0 auto; }


/* ============================================================================
   ADMIN — panel headers, chips
   ============================================================================ */
.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}
.panel-title { font-size: clamp(28px, 5vw, 40px); }
.panel-title-bold { font-weight: 700; }
.panel-title em { font-style: italic; font-weight: 400; color: var(--text-muted); }
.panel-sub { color: var(--text-muted); font-size: 14px; max-width: 640px; line-height: 1.6; }

.subsection-title {
  font-family: var(--serif);
  font-size: 24px;
  margin-bottom: 12px;
  font-weight: 700;
}

.filter-chips { display: flex; gap: var(--space-sm); flex-wrap: wrap; }
.chip {
  padding: 8px 16px;
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--sans);
  transition: all 0.15s;
}
.chip:hover { color: var(--text); border-color: var(--accent); }
.chip.active { background: var(--accent); color: #0a0a0a; border-color: var(--accent); font-weight: 700; }


/* ============================================================================
   ADMIN — calendar
   ============================================================================ */
.calendar-controls {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}
.calendar-nav { display: flex; gap: var(--space-sm); }
.calendar-date-display { flex: 1; min-width: 0; }
.calendar-date-short {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
}
.calendar-date-long {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  margin-top: 2px;
}
.calendar-date-picker { width: auto; font-size: 13px; padding: 8px 12px; }

.cal-closed-banner {
  background: rgba(232, 135, 135, 0.1);
  border: 1px solid rgba(232, 135, 135, 0.3);
  color: var(--error);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  font-size: 14px;
  text-align: center;
}

.cal-day-grid {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.cal-hours-col { border-right: 1px solid var(--border); }
.cal-hour-cell {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 8px;
  font-size: 13px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  text-align: center;
  line-height: 1.2;
}
.cal-hour-cell:last-child { border-bottom: none; }
.cal-slots-col { position: relative; }
.cal-hour-row { border-bottom: 1px solid var(--border); }
.cal-hour-row:last-child { border-bottom: none; }

.cal-block {
  position: absolute;
  left: 6px; right: 6px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 5px 10px 6px;
  padding-right: 64px;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s;
  color: var(--text);
  font-family: var(--sans);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1px;
}
.cal-block:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); border-color: var(--accent); }

/* Status colors — left border + subtle bg tint */
.cal-block.pending {
  border-left-color: var(--warning);
  background: linear-gradient(90deg, rgba(212,165,116,0.16), var(--surface-2) 55%);
}
.cal-block.confirmed {
  border-left-color: var(--success);
  background: linear-gradient(90deg, rgba(124,186,143,0.18), var(--surface-2) 55%);
}
.cal-block.completed {
  border-left-color: var(--text-muted);
  background: var(--surface);
  opacity: 0.65;
}
.cal-block.cancelled {
  border-left-color: var(--error);
  background: linear-gradient(90deg, rgba(232,135,135,0.12), var(--surface-2) 55%);
  opacity: 0.55;
}
.cal-block.cancelled .cal-block-customer,
.cal-block.cancelled .cal-block-service { text-decoration: line-through; }
.cal-block.no_show {
  border-left-color: var(--error);
  background: linear-gradient(90deg, rgba(232,135,135,0.2), var(--surface-2) 55%);
}
.cal-block.no_show .cal-block-customer { color: var(--error); }

/* Status pill in top-right corner */
.cal-block-status {
  position: absolute;
  top: 5px;
  right: 6px;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 3px;
  line-height: 1;
  white-space: nowrap;
}
.cal-block.pending   .cal-block-status { background: rgba(212,165,116,0.25); color: var(--warning); }
.cal-block.confirmed .cal-block-status { background: rgba(124,186,143,0.25); color: var(--success); }
.cal-block.completed .cal-block-status { background: rgba(163,163,163,0.22); color: var(--text-muted); }
.cal-block.cancelled .cal-block-status { background: rgba(232,135,135,0.2);  color: var(--error); }
.cal-block.no_show   .cal-block-status { background: rgba(232,135,135,0.28); color: var(--error); }

.cal-block-time {
  font-weight: 700; font-size: 12px; color: var(--accent); line-height: 1.25;
}
.cal-block-customer {
  font-weight: 600; font-size: 12px; line-height: 1.25;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cal-block-service {
  font-size: 11px; color: var(--text-muted); line-height: 1.25;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}


/* ============================================================================
   ADMIN — bookings list
   ============================================================================ */
.booking-group { margin-bottom: var(--space-xl); }
.booking-group-header {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 600;
}

.booking-card-admin {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  margin-bottom: var(--space-sm);
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: var(--space-md);
  align-items: center;
  cursor: pointer;
  transition: border-color 0.15s;
}
.booking-card-admin:hover { border-color: var(--accent); }
.booking-time {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
}
.booking-customer { font-weight: 600; font-size: 16px; margin-bottom: 2px; }
.booking-service { font-size: 13px; color: var(--text-muted); }
.booking-phone {
  font-size: 13px;
  color: var(--accent);
  display: inline-block;
  margin-top: 4px;
}
.booking-notes {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 6px;
}
.booking-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.status-badge.pending   { background: rgba(212, 165, 116, 0.15); color: var(--warning); }
.status-badge.confirmed { background: rgba(124, 186, 143, 0.15); color: var(--success); }
.status-badge.cancelled { background: rgba(232, 135, 135, 0.15); color: var(--error); }
.status-badge.completed { background: rgba(163, 163, 163, 0.15); color: var(--text-muted); }
.status-badge.no_show   { background: rgba(232, 135, 135, 0.15); color: var(--error); }
.status-badge.approved  { background: rgba(124, 186, 143, 0.15); color: var(--success); }
.status-badge.hidden    { background: rgba(163, 163, 163, 0.15); color: var(--text-muted); }

@media (max-width: 640px) {
  .booking-card-admin { grid-template-columns: 70px 1fr; }
  .booking-actions {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: flex-end;
    flex-wrap: wrap;
  }
}

/* ============================================================================
   Admin — Clients tab
   ============================================================================ */
.clients-toolbar {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  margin-bottom: var(--space-lg);
}
.clients-toolbar #clients-search {
  flex: 1;
  padding: 12px 16px;
  font-size: 15px;
}
.clients-count {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  font-weight: 600;
}

.client-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  margin-bottom: var(--space-sm);
  transition: border-color 0.15s;
}
.client-card:hover { border-color: var(--accent); }

.client-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: 8px;
}
.client-name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 2px;
}
.client-phone {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}
.client-visits-badge {
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 5px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  white-space: nowrap;
}

.client-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px 16px;
  margin-bottom: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.client-meta-item {
  font-size: 12px;
  line-height: 1.4;
}
.client-meta-label {
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 10px;
  margin-bottom: 2px;
}
.client-meta-value {
  color: var(--text);
  font-weight: 500;
}

.client-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.client-actions .btn { flex: 1; min-width: 100px; }

.client-btn-wa {
  background: #25D366 !important;
  border-color: #25D366 !important;
  color: #0a0a0a !important;
  font-weight: 700;
}
.client-btn-wa:hover {
  background: #1da851 !important;
  border-color: #1da851 !important;
}
.client-btn-call {
  background: var(--surface-2);
  border-color: var(--border-strong);
  color: var(--text);
}
.client-btn-save {
  background: var(--accent);
  border-color: var(--accent);
  color: #0a0a0a;
  font-weight: 700;
}
.client-btn-save:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
}


/* ============================================================================
   Modal system (admin)
   ============================================================================ */
.modal {
  position: fixed; inset: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: var(--space-md);
}
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.modal-content {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  max-width: 560px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.modal-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: transparent;
  color: var(--text-muted);
  border: none;
  font-size: 24px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.modal-close:hover { color: var(--text); background: var(--border); }
.modal-title { font-size: 26px; margin-bottom: var(--space-lg); }
.modal-help {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 14px;
  line-height: 1.5;
  text-align: left;
}

.detail-time {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.05;
}
.detail-date {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 4px;
  margin-bottom: var(--space-md);
}
.detail-status-row { margin-bottom: var(--space-lg); }
.detail-row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-md);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  align-items: center;
}
.detail-row:last-of-type { border-bottom: none; }
.detail-label {
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  min-width: 90px;
}
.detail-value { font-size: 15px; text-align: right; flex: 1; }
.duration-edit { display: inline-flex; align-items: center; gap: 6px; }
.duration-edit input { width: 70px; padding: 6px 8px; text-align: center; font-weight: 700; }
.dur-btn {
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: var(--text);
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 700;
  font-family: var(--sans);
  font-size: 13px;
}
.dur-btn:hover { border-color: var(--accent); color: var(--accent); }
.detail-actions {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  flex-wrap: wrap;
}


/* ============================================================================
   ADMIN — reviews, blackouts, setup, gallery, push
   ============================================================================ */
.review-admin-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  margin-bottom: var(--space-sm);
}
.review-admin-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.review-admin-actions { display: flex; gap: 6px; flex-wrap: wrap; }

.blackout-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  margin-bottom: var(--space-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

.affected-booking-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 10px;
}

/* Notify all button (WhatsApp green) */
#notify-all-btn {
  background: #25D366;
  color: #0a0a0a;
  border-color: #25D366;
  font-weight: 700;
  margin-bottom: var(--space-md);
}
#notify-all-btn:hover {
  background: #1da851;
  border-color: #1da851;
  color: #0a0a0a;
}

/* Sequence mode */
.sequence-progress {
  height: 4px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}
.sequence-progress-bar {
  height: 100%;
  background: var(--accent);
  transition: width 0.3s ease;
}
.sequence-progress-text {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: var(--space-lg);
  text-align: center;
}

.sequence-client {
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  margin-bottom: var(--space-md);
  text-align: center;
}
.sequence-client-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}
.sequence-client-phone {
  font-size: 13px;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  margin-bottom: 10px;
}
.sequence-client-meta {
  font-size: 12px;
  color: var(--text-muted);
}

.sequence-message {
  background: var(--bg-elev);
  border-left: 3px solid var(--accent);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-lg);
}
.sequence-message-label {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 6px;
}
.sequence-message-body {
  font-size: 13px;
  color: var(--text);
  line-height: 1.55;
  white-space: pre-wrap;
}

.sequence-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.sequence-actions-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
}

.wa-btn-sequence {
  background: #25D366 !important;
  color: #0a0a0a !important;
  border-color: #25D366 !important;
  font-weight: 700;
  text-decoration: none;
}
.wa-btn-sequence:hover {
  background: #1da851 !important;
  border-color: #1da851 !important;
  color: #0a0a0a !important;
}

.sequence-done { text-align: center; padding: 16px 0 24px; }
.sequence-done-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #0a0a0a;
  font-size: 30px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.sequence-done-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}
.sequence-done-sub {
  color: var(--text-muted);
  font-size: 14px;
}


.affected-booking-info { flex: 1; min-width: 0; }
.affected-booking-customer {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.affected-booking-meta {
  font-size: 12px;
  color: var(--text-muted);
}

/* WhatsApp green CTA */
.wa-btn {
  background: #25D366;
  color: #0a0a0a !important;
  border-color: #25D366;
  white-space: nowrap;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
  padding: 9px 14px;
}
.wa-btn:hover {
  background: #1da851;
  border-color: #1da851;
  color: #0a0a0a !important;
}

@media (max-width: 520px) {
  .affected-booking-card { flex-direction: column; align-items: stretch; gap: 10px; }
  .wa-btn { width: 100%; }
}

.blackout-card.past { opacity: 0.6; }
.blackout-dates { font-weight: 600; font-size: 15px; }
.blackout-past-tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.15em;
  background: var(--border);
  color: var(--text-muted);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  margin-left: 8px;
}
.blackout-time {
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
}
.blackout-reason { font-size: 13px; color: var(--text-muted); margin-top: 4px; font-style: italic; }

.settings-form { background: transparent; }
.service-editor-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  margin-bottom: var(--space-sm);
}
.hours-editor-row {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.hours-editor-row:last-child { border-bottom: none; }
.hours-editor-day { font-weight: 600; min-width: 100px; font-size: 14px; }
.hours-input { width: auto; padding: 6px 10px; font-size: 14px; }
.hours-dash { color: var(--text-muted); }

.gallery-admin-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-md);
}
.gallery-admin-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.gallery-admin-item img { width: 100%; height: 220px; object-fit: cover; }
.gallery-admin-controls {
  display: flex;
  gap: 4px;
  padding: 8px;
  justify-content: space-between;
}

.push-status-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}
.push-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.push-status-title { font-family: var(--serif); font-size: 20px; margin-bottom: 6px; }
.push-status-sub { color: var(--text-muted); font-size: 14px; line-height: 1.5; }

.push-device-row {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px var(--space-md);
  margin-bottom: var(--space-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}
.push-device-name { font-weight: 600; font-size: 14px; }
.push-device-meta { font-size: 12px; color: var(--text-muted); margin-top: 2px; }


/* ============================================================================
   Toast
   ============================================================================ */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  color: var(--text);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md);
  z-index: 200;
  font-size: 14px;
  font-weight: 500;
  max-width: 90vw;
  animation: slideUp 0.2s ease;
}
.toast.success { border-color: var(--success); color: var(--success); }
.toast.error   { border-color: var(--error);   color: var(--error); }
.toast.info    { border-color: var(--accent);  color: var(--accent); }

@keyframes slideUp {
  from { transform: translate(-50%, 20px); opacity: 0; }
  to   { transform: translate(-50%, 0);     opacity: 1; }
}
