:root {
  --bg: #05070b;
  --bg-soft: #0b1019;
  --panel: rgba(13, 18, 29, 0.76);
  --panel-strong: rgba(20, 28, 44, 0.92);
  --text: #f7fbff;
  --muted: #aab4c4;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #54f4d0;
  --accent-2: #f4c542;
  --accent-dark: #07352f;
  --danger: #ff6f8f;
  --success: #54f4d0;
  --shadow: 0 26px 90px rgba(0, 0, 0, 0.45);
  --radius: 28px;
  --max: 1320px;
}

body[data-theme="gold"] {
  --accent: #f4c542;
  --accent-2: #ffffff;
  --accent-dark: #3b2c05;
}

body[data-theme="ice"] {
  --accent: #6db8ff;
  --accent-2: #b8f7ff;
  --accent-dark: #071f38;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 8%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 28rem),
    radial-gradient(circle at 12% 14%, rgba(244, 197, 66, 0.18), transparent 26rem),
    linear-gradient(180deg, var(--bg), #080b12 45%, #05070b);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("assets/pattern.svg"), linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 160px 160px, 52px 52px, 52px 52px;
  pointer-events: none;
  opacity: 0.9;
  z-index: -2;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

.container { width: min(var(--max), calc(100% - 56px)); margin-inline: auto; }
.section-pad { padding: clamp(72px, 8vw, 126px) 0; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  background: var(--accent);
  color: #061014;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  transform: translateY(-140%);
  transition: transform 0.2s;
  z-index: 50;
  font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(22px);
  background: rgba(5, 7, 11, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  border-radius: 16px;
}
.brand img {
  height: 44px;
  width: auto;
  max-width: min(220px, 42vw);
  object-fit: contain;
  border-radius: 10px;
}
.main-nav { display: flex; align-items: center; gap: 1.2rem; }
.main-nav a {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.95rem;
  transition: color 0.2s ease, transform 0.2s ease;
}
.main-nav a:hover { color: var(--text); transform: translateY(-1px); }
.main-nav .nav-cta {
  color: #08100f;
  background: var(--accent);
  padding: 0.8rem 1rem;
  border-radius: 999px;
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 14%, transparent);
}
.nav-toggle { display: none; }

.hero { padding-top: clamp(54px, 8vw, 120px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}
.hero h1, .section-head h2, .split-grid h2, .booking-copy h2, .theme-inner h2, .coverage-grid h2 {
  font-size: clamp(2.35rem, 5.7vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: -0.08em;
  margin: 0;
}
.section-head h2, .split-grid h2, .booking-copy h2, .theme-inner h2, .coverage-grid h2 {
  font-size: clamp(2rem, 4vw, 4.1rem);
  max-width: 850px;
}
.eyebrow {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  color: var(--accent);
  font-weight: 900;
  font-size: 0.78rem;
}
.hero-lead, .section-head p, .split-grid p, .theme-inner p, .coverage-grid p, .booking-copy p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}
.hero-lead { max-width: 660px; margin: 1.25rem 0 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.button {
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.25rem;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #061014;
  box-shadow: 0 18px 46px color-mix(in srgb, var(--accent) 28%, transparent);
}
.button.secondary {
  color: var(--text);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
}
.button.full-width { width: 100%; }
.trust-row {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.trust-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.6rem 0.85rem;
  color: var(--muted);
  background: rgba(255,255,255,0.045);
}
.hero-media {
  position: relative;
  isolation: isolate;
  aspect-ratio: 16 / 10;
  min-height: 440px;
}
.hero-media::before {
  content: "";
  position: absolute;
  inset: 7% 5% 12%;
  border-radius: 46px;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  filter: blur(50px);
  z-index: -1;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 42px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #05070b;
}
.shine-card {
  position: absolute;
  background: rgba(5, 7, 11, 0.74);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  border-radius: 22px;
  padding: 1rem;
  box-shadow: var(--shadow);
}
.shine-card strong { display: block; font-size: 1.45rem; }
.shine-card span { color: var(--muted); font-weight: 700; }
.card-one { left: -18px; bottom: 18%; }
.card-two { right: -12px; top: 15%; }

.glass-panel {
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.035));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}
.theme-panel { padding: 0 0 24px; }
.theme-inner {
  padding: clamp(1.4rem, 3vw, 2.3rem);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.5rem;
}
.theme-inner h2 { font-size: clamp(1.65rem, 3vw, 2.7rem); letter-spacing: -0.055em; }
.theme-controls { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: flex-end; }
.theme-dot, .custom-colour {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
  padding: 0.7rem 0.85rem;
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  font-weight: 800;
}
.theme-dot span {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--dot);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--dot) 22%, transparent);
}
.custom-colour input {
  border: 0;
  background: transparent;
  width: 34px;
  height: 26px;
  cursor: pointer;
}

.section-head { text-align: center; max-width: 900px; margin-inline: auto; margin-bottom: 2.4rem; }
.section-head .eyebrow { margin-bottom: 0.85rem; }
.section-head p { margin-inline: auto; max-width: 720px; }
.package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.package-card {
  padding: clamp(1.2rem, 3vw, 1.7rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  position: relative;
  overflow: hidden;
}
.package-card::after {
  content: "";
  position: absolute;
  inset: auto -30% -40% -30%;
  height: 190px;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 18%, transparent), transparent 66%);
  pointer-events: none;
}
.package-card.featured {
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent-dark) 72%, #101827), var(--panel-strong));
  border-color: color-mix(in srgb, var(--accent) 44%, var(--line));
  transform: translateY(-14px);
}
.badge {
  display: inline-flex;
  width: fit-content;
  padding: 0.45rem 0.65rem;
  border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line));
  color: var(--accent);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.package-card h3 { font-size: 1.55rem; margin: 1rem 0 0.35rem; letter-spacing: -0.04em; }
.price { font-size: 2.4rem; font-weight: 900; margin: 0; color: var(--text); }
.package-card p { color: var(--muted); line-height: 1.6; }
.package-card ul { padding: 0; margin: 1rem 0 1.4rem; list-style: none; display: grid; gap: 0.75rem; }
.package-card li { color: #d9e2ef; line-height: 1.45; display: grid; grid-template-columns: 22px 1fr; gap: 0.4rem; }
.package-card li::before { content: "✓"; color: var(--accent); font-weight: 900; }
.package-card .button { margin-top: auto; position: relative; z-index: 1; }

.split-section { background: linear-gradient(180deg, transparent, rgba(255,255,255,0.028), transparent); }
.split-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; margin-top: 2rem; }
.metric-grid div {
  background: rgba(255,255,255,0.055);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1rem;
}
.metric-grid strong { display: block; font-size: 1.55rem; color: var(--accent); }
.metric-grid span { color: var(--muted); font-size: 0.9rem; }
.timeline { display: grid; gap: 1rem; }
.step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.2rem;
  border-radius: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
}
.step > span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  color: var(--accent);
  font-weight: 900;
}
.step h3 { margin: 0 0 0.35rem; }
.step p { margin: 0; font-size: 0.98rem; }

.services-band { padding-top: 0; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.mini-service {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.045);
  border-radius: 24px;
  padding: 1.2rem;
}
.mini-service span { color: var(--accent); font-size: 1.4rem; }
.mini-service h3 { margin: 0.7rem 0 0.35rem; }
.mini-service p { margin: 0; color: var(--muted); line-height: 1.55; }

.coverage-grid {
  padding: clamp(1.4rem, 4vw, 2.4rem);
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 2rem;
  align-items: center;
}
.coverage-grid h2 { font-size: clamp(1.8rem, 3.2vw, 3rem); }
.postcode-card {
  background: rgba(0,0,0,0.23);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1rem;
}
.postcode-card label { display: block; font-weight: 900; margin-bottom: 0.65rem; }
.postcode-row { display: flex; gap: 0.6rem; }
.postcode-card input, .booking-form input, .booking-form select, .booking-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(2, 4, 8, 0.66);
  color: var(--text);
  border-radius: 16px;
  min-height: 48px;
  padding: 0.85rem 0.95rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.postcode-card input:focus, .booking-form input:focus, .booking-form select:focus, .booking-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent);
}
.postcode-card p { color: var(--muted); margin-bottom: 0; }
.postcode-card p.postcode-success { color: var(--success); }
.postcode-card p.postcode-error { color: var(--danger); }
.postcode-card p.postcode-warning { color: var(--accent-2); }

.booking-section { background: radial-gradient(circle at 80% 30%, color-mix(in srgb, var(--accent) 15%, transparent), transparent 28rem); }
.booking-grid { display: grid; grid-template-columns: 0.76fr 1.24fr; gap: clamp(2rem, 6vw, 4rem); align-items: start; }
.deposit-note {
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line));
  border-radius: 22px;
  background: color-mix(in srgb, var(--accent-dark) 36%, transparent);
  padding: 1rem;
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
  line-height: 1.6;
}
.deposit-note strong { color: var(--text); }
code {
  color: var(--accent);
  background: rgba(255,255,255,0.07);
  padding: 0.1rem 0.3rem;
  border-radius: 0.4rem;
}
.booking-form { padding: clamp(1rem, 3vw, 1.6rem); display: grid; gap: 1rem; }
.form-grid { display: grid; gap: 1rem; }
.form-grid.two { grid-template-columns: repeat(2, 1fr); }
.booking-form label { display: grid; gap: 0.45rem; font-weight: 800; color: #e8eef8; }
.booking-form textarea { resize: vertical; min-height: 110px; }
.addons {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.addons legend { padding: 0 0.4rem; color: var(--muted); font-weight: 900; }
.addons label { display: flex; align-items: center; gap: 0.45rem; color: #dbe4f0; font-weight: 700; }
.addons input { width: auto; min-height: auto; accent-color: var(--accent); }
.price-summary {
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1rem;
  display: grid;
  gap: 0.65rem;
}
.price-summary div { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.price-summary span, .price-summary small { color: var(--muted); }
.price-summary strong { font-size: 1.35rem; }
.form-status { min-height: 1.3em; margin: 0; color: var(--muted); }
.form-status.error { color: var(--danger); }
.form-status.success { color: var(--success); }

.faq-list { max-width: 900px; }
details {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 22px;
  padding: 1rem 1.2rem;
  margin-bottom: 0.8rem;
}
summary { cursor: pointer; font-weight: 900; font-size: 1.05rem; }
details p { color: var(--muted); line-height: 1.7; margin-bottom: 0; }

.site-footer { border-top: 1px solid var(--line); padding: 42px 0; background: rgba(0,0,0,0.25); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr; gap: 2rem; }
.site-footer p { color: var(--muted); line-height: 1.6; }
.success-logo { width: min(320px, 100%); height: auto; border-radius: 14px; }
.site-footer a { color: var(--text); }
.site-footer h3 { margin-top: 0; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .nav-toggle {
    display: grid;
    gap: 5px;
    width: 46px;
    height: 46px;
    place-content: center;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.06);
    border-radius: 14px;
  }
  .nav-toggle span:not(.sr-only) { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; }
  .main-nav {
    position: fixed;
    left: 20px;
    right: 20px;
    top: 86px;
    padding: 1rem;
    background: rgba(5, 7, 11, 0.96);
    border: 1px solid var(--line);
    border-radius: 22px;
    display: grid;
    gap: 0.4rem;
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: 0.2s ease;
  }
  .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 0.9rem; }
  .hero-grid, .split-grid, .booking-grid, .coverage-grid, .theme-inner { grid-template-columns: 1fr; }
  .hero-media { max-width: 760px; margin-inline: auto; min-height: 360px; }
  .package-grid { grid-template-columns: 1fr; }
  .package-card.featured { transform: none; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .theme-controls { justify-content: flex-start; }
  .coverage-grid { gap: 1.2rem; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, var(--max)); }
  .hero h1 { font-size: clamp(2.2rem, 16vw, 4rem); }
  .hero-actions, .postcode-row { flex-direction: column; }
  .button { width: 100%; }
  .shine-card { position: static; margin-top: 0.75rem; }
  .hero-media { min-height: 300px; }
  .hero-media img { border-radius: 28px; }
  .form-grid.two, .addons, .metric-grid, .service-grid, .footer-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; }
  .brand img { height: 38px; width: auto; max-width: 180px; }
  .nav-wrap { min-height: 68px; }
}

/* Side pop-out theme panel */
.theme-drawer {
  position: fixed;
  left: 22px;
  right: auto;
  top: auto;
  bottom: 22px;
  z-index: 55;
  display: flex;
  align-items: flex-end;
  pointer-events: none;
}
.theme-trigger {
  pointer-events: auto;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line));
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #061014;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  writing-mode: horizontal-tb;
  transform: translateX(0);
  border-radius: 999px;
  padding: 0.78rem 1rem;
  box-shadow: 0 18px 50px color-mix(in srgb, var(--accent) 24%, transparent);
  cursor: pointer;
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  min-height: 46px;
}
.theme-trigger strong { font-size: 1rem; }
.theme-drawer-panel {
  pointer-events: auto;
  width: min(360px, calc(100vw - 48px));
  margin-left: 0.8rem;
  padding: 1.25rem;
  background: rgba(5, 7, 11, 0.96);
  backdrop-filter: blur(22px);
  transform: translateY(calc(100% + 1rem));
  transition: transform 0.26s ease;
}
.theme-drawer.open .theme-drawer-panel { transform: translateX(0); }
.theme-drawer-panel h2 {
  margin: 0;
  font-size: 1.75rem;
  letter-spacing: -0.055em;
}
.theme-drawer-panel p {
  color: var(--muted);
  line-height: 1.6;
}
.theme-drawer .theme-controls {
  justify-content: flex-start;
  display: grid;
  gap: 0.7rem;
}
.theme-drawer .theme-dot,
.theme-drawer .custom-colour {
  width: 100%;
  justify-content: flex-start;
}
.theme-admin-link {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--accent);
  font-weight: 900;
}

/* Database admin screen */
.admin-body { padding: 2rem 0 4rem; }
.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.admin-header h1 { margin: 0; font-size: clamp(2rem, 5vw, 3.8rem); letter-spacing: -0.075em; }
.admin-panel { padding: clamp(1rem, 3vw, 1.6rem); margin-bottom: 1rem; }
.admin-panel h2 { margin-top: 0; }
.admin-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.admin-items { display: grid; gap: 1rem; }
.admin-item {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1rem;
  background: rgba(0,0,0,0.18);
  display: grid;
  gap: 0.8rem;
}
.admin-item .feature-box { min-height: 120px; }
.admin-panel label { display: grid; gap: 0.45rem; color: #e8eef8; font-weight: 800; }
.admin-wide { grid-column: 1 / -1; }

.admin-panel input, .admin-panel select, .admin-panel textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(2, 4, 8, 0.66);
  color: var(--text);
  border-radius: 14px;
  min-height: 46px;
  padding: 0.75rem 0.85rem;
}
.admin-message {
  border-radius: 18px;
  padding: 0.9rem 1rem;
  border: 1px solid color-mix(in srgb, var(--accent) 32%, var(--line));
  background: color-mix(in srgb, var(--accent-dark) 36%, transparent);
  margin-bottom: 1rem;
  color: var(--text);
}
.admin-danger { color: var(--danger); }

@media (max-width: 760px) {
  .theme-drawer { left: 14px; bottom: 14px; }
  .theme-trigger { min-height: 42px; padding: 0.68rem 0.86rem; }
  .theme-drawer-panel { width: min(330px, calc(100vw - 42px)); }
  .admin-header, .admin-grid { grid-template-columns: 1fr; display: grid; }
}


/* Live booking additions */
.slot-help,
.muted {
  margin: -0.35rem 0 0.2rem;
  color: var(--muted);
  line-height: 1.55;
}
.booking-form select option[disabled] { color: #778196; }
.button[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }
.button.small { min-height: 38px; padding: 0.55rem 0.8rem; font-size: 0.88rem; }
.button.danger { background: rgba(255, 111, 143, 0.12); color: var(--danger); border: 1px solid rgba(255, 111, 143, 0.38); }

/* Full admin backend */
.admin-dashboard-body { background-attachment: fixed; }
.admin-topbar .brand img { height: 38px; max-width: 190px; }
.admin-nav {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.admin-nav a {
  color: var(--muted);
  border: 1px solid transparent;
  padding: 0.55rem 0.72rem;
  border-radius: 999px;
  font-weight: 850;
  font-size: 0.88rem;
}
.admin-nav a:hover,
.admin-nav a.active {
  color: var(--text);
  border-color: color-mix(in srgb, var(--accent) 32%, var(--line));
  background: rgba(255,255,255,0.055);
}
.admin-stack { display: grid; gap: 1rem; }
.admin-form-grid { display: grid; gap: 1rem; }
.admin-checks { display: flex; gap: 1rem; flex-wrap: wrap; }
.admin-checks label,
.inline-check { display: inline-flex !important; align-items: center; gap: 0.45rem !important; }
.admin-checks input,
.inline-check input,
.admin-panel input[type="checkbox"] { width: auto; min-height: auto; accent-color: var(--accent); }
.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}
.admin-stat-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.admin-stat {
  padding: 1.2rem;
  display: grid;
  gap: 0.35rem;
}
.admin-stat span { color: var(--muted); font-weight: 850; }
.admin-stat strong { font-size: clamp(1.6rem, 4vw, 2.5rem); color: var(--accent); }
.admin-stat small { color: var(--muted); }
.table-scroll { overflow-x: auto; width: 100%; }
.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}
.admin-table th,
.admin-table td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.admin-table th { color: var(--accent); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; }
.admin-table small { color: var(--muted); }
.admin-table input,
.admin-table select,
.status-form select {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(2, 4, 8, 0.66);
  color: var(--text);
  border-radius: 12px;
  min-height: 40px;
  padding: 0.55rem 0.65rem;
}
.status-form { display: grid; gap: 0.45rem; min-width: 160px; }
.status-pill {
  display: inline-flex;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line));
  background: color-mix(in srgb, var(--accent-dark) 38%, transparent);
  color: var(--text);
  border-radius: 999px;
  padding: 0.35rem 0.55rem;
  font-weight: 850;
  font-size: 0.82rem;
}
.code-block {
  white-space: pre-wrap;
  overflow-x: auto;
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  color: var(--accent);
}
.admin-panel a { color: var(--accent); font-weight: 850; }

@media (max-width: 980px) {
  .admin-topbar .nav-wrap { align-items: flex-start; flex-direction: column; padding: 1rem 0; }
  .admin-nav { justify-content: flex-start; }
  .admin-stat-grid,
  .admin-stat-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .admin-stat-grid,
  .admin-stat-grid.two { grid-template-columns: 1fr; }
  .admin-nav a { font-size: 0.82rem; padding: 0.48rem 0.6rem; }
}

/* Text wordmark logo and multi-page layout updates */
.text-brand {
  gap: 0.78rem;
  padding: 0.5rem 0;
  min-width: 0;
}
.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #061014;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 12px 34px color-mix(in srgb, var(--accent) 24%, transparent);
  font-weight: 950;
  flex: 0 0 auto;
}
.brand-copy {
  display: grid;
  line-height: 1;
  min-width: 0;
}
.brand-copy strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.58rem, 2.35vw, 2.3rem);
  letter-spacing: -0.055em;
  white-space: nowrap;
  color: var(--text);
  text-shadow: 0 0 22px color-mix(in srgb, var(--accent) 16%, transparent);
}
.brand-copy em {
  color: var(--accent);
  font-style: italic;
  font-weight: 900;
}
.brand-copy small {
  color: var(--muted);
  margin-top: 0.26rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.62rem;
  font-weight: 900;
}
.main-nav a.active:not(.nav-cta) {
  color: var(--text);
}
.main-nav a.active:not(.nav-cta)::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 0.25rem;
  border-radius: 999px;
  background: var(--accent);
}
.page-hero {
  padding-bottom: clamp(34px, 4vw, 70px);
}
.compact-hero h1,
.section-head h1,
.split-grid h1,
.booking-copy h1 {
  font-size: clamp(2.35rem, 5.7vw, 5.4rem);
  line-height: 0.94;
  letter-spacing: -0.08em;
  margin: 0;
}
.compact-hero .section-head p { max-width: 760px; }
.no-top-pad { padding-top: 0; }
.page-preview-band { padding-top: 0; }
.cta-panel {
  padding: clamp(1.4rem, 4vw, 2.4rem);
  text-align: center;
  max-width: 880px;
}
.cta-panel h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
  margin: 0 0 1rem;
}
.cta-panel p { color: var(--muted); line-height: 1.7; }
.mini-service a {
  color: var(--accent);
  font-weight: 900;
}
.admin-topbar .text-brand .brand-mark { width: 42px; height: 42px; border-radius: 14px; }
.admin-topbar .text-brand .brand-copy strong { font-size: clamp(1.35rem, 2vw, 1.85rem); }
.admin-topbar .text-brand .brand-copy small { font-size: 0.55rem; }

@media (max-width: 1130px) {
  .brand-copy strong { font-size: clamp(1.42rem, 2.1vw, 1.85rem); }
  .main-nav { gap: 0.8rem; }
  .main-nav a { font-size: 0.9rem; }
}

@media (max-width: 980px) {
  .main-nav a.active:not(.nav-cta)::after { display: none; }
}

@media (max-width: 640px) {
  .text-brand { gap: 0.55rem; }
  .brand-mark { width: 38px; height: 38px; border-radius: 13px; }
  .brand-copy strong { font-size: clamp(1.28rem, 7vw, 1.58rem); }
  .brand-copy small { font-size: 0.48rem; letter-spacing: 0.13em; }
  .compact-hero h1,
  .section-head h1,
  .split-grid h1,
  .booking-copy h1 { font-size: clamp(2.15rem, 13vw, 3.8rem); }
}

@media (max-width: 380px) {
  .brand-copy small { display: none; }
  .brand-copy strong { font-size: 1.22rem; }
  .brand-mark { width: 34px; height: 34px; }
}
.install-wordmark {
  justify-content: center;
  margin: 0 auto 1.5rem;
}


.admin-content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.admin-content-grid label {
  min-width: 0;
}
.admin-content-grid textarea {
  min-height: 110px;
  resize: vertical;
}
@media (max-width: 760px) {
  .admin-content-grid { grid-template-columns: 1fr; }
}

/* Wash Club loyalty card */
.washclub-preview-card h2,
.washclub-dashboard-grid h2 {
  margin-top: 0;
}
.stamp-card {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0;
}
.stamp {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.55);
  box-shadow: inset 0 0 0 7px rgba(255,255,255,0.035), 0 14px 30px rgba(0,0,0,0.25);
  font-weight: 900;
  letter-spacing: -0.08em;
  font-size: 0.92rem;
  position: relative;
  overflow: hidden;
}
.stamp::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1px dashed currentColor;
  opacity: 0.55;
}
.stamp span { position: relative; z-index: 1; }
.stamp.gold {
  background: radial-gradient(circle at 30% 24%, #fff6bf 0%, #f7d15e 28%, #b78618 72%, #5e3a06 100%);
  border-color: rgba(255, 229, 133, 0.85);
  color: #1d1202;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.18), 0 18px 44px rgba(244,197,66,0.22), inset 0 0 0 7px rgba(255,255,255,0.16);
}
.stamp.tiny {
  width: 38px;
  height: 38px;
  font-size: 0.64rem;
  vertical-align: middle;
}
.washclub-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 1.25rem;
  align-items: start;
}
.washclub-booking-note {
  border: 1px solid rgba(244,197,66,0.25);
  background: rgba(244,197,66,0.08);
  border-radius: 18px;
  padding: 0.9rem 1rem;
  color: var(--muted);
  line-height: 1.55;
}
.washclub-booking-note strong,
.washclub-booking-note a {
  color: var(--accent-2);
}
.reward-booking-form textarea {
  min-height: 88px;
}
@media (max-width: 800px) {
  .washclub-dashboard-grid { grid-template-columns: 1fr; }
  .stamp { width: 54px; height: 54px; font-size: 0.82rem; }
}


/* Coverage map */
.coverage-map-shell {
  padding: clamp(1.2rem, 2vw, 1.6rem);
}
.coverage-map-copy h2 {
  margin-top: 0.2rem;
}
.coverage-map-frame {
  margin-top: 1rem;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 22px 60px rgba(0,0,0,0.22);
}
.coverage-map-frame iframe {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
}
.coverage-map-link {
  margin-top: 0.95rem;
}
.coverage-map-link a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}
.coverage-map-link a:hover {
  color: var(--accent-2);
}
@media (max-width: 760px) {
  .coverage-map-frame iframe { min-height: 320px; }
}


/* Wash Club public reward section polish */
.washclub-showcase {
  display: grid;
  grid-template-columns: minmax(380px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: start;
}
.washclub-reward-card {
  padding: clamp(1.35rem, 2.6vw, 2rem);
  overflow: hidden;
  position: relative;
}
.washclub-reward-card::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -90px;
  bottom: -110px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent-2) 22%, transparent), transparent 66%);
  pointer-events: none;
}
.reward-card-topline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.85rem;
}
.reward-card-topline .eyebrow { margin: 0; }
.reward-pill {
  border-radius: 999px;
  padding: 0.44rem 0.7rem;
  background: rgba(244,197,66,0.13);
  border: 1px solid rgba(244,197,66,0.35);
  color: var(--accent-2);
  font-weight: 950;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.washclub-reward-card h2 {
  font-size: clamp(1.85rem, 3.5vw, 3.15rem);
  line-height: 1;
  max-width: 720px;
  margin: 0;
}
.reward-card-lead {
  color: var(--muted);
  line-height: 1.7;
  margin: 1rem 0 0;
  max-width: 680px;
}
.stamp-card-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(62px, 1fr));
  gap: 0.9rem;
  align-items: center;
  margin: 1.35rem 0;
  position: relative;
  z-index: 1;
}
.stamp-card-preview .stamp {
  width: min(72px, 100%);
  height: auto;
  aspect-ratio: 1;
  justify-self: center;
}
.reward-card-note {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.055);
  border-radius: 20px;
  padding: 1rem;
}
.reward-card-note strong {
  display: block;
  color: var(--accent-2);
  margin-bottom: 0.35rem;
}
.reward-card-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.98rem;
}
.washclub-details-card {
  min-width: 0;
}
.washclub-details-card h2 {
  font-size: clamp(2rem, 4vw, 4rem);
}
.washclub-steps {
  margin-top: 1.35rem;
  display: grid;
  gap: 1rem;
}
.washclub-steps .mini-service {
  padding: clamp(1rem, 2vw, 1.35rem);
}
@media (max-width: 980px) {
  .washclub-showcase { grid-template-columns: 1fr; }
  .washclub-reward-card { order: 2; }
  .washclub-details-card { order: 1; }
}
@media (max-width: 560px) {
  .stamp-card-preview { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .reward-card-topline { align-items: flex-start; flex-direction: column; }
}


/* Leaflet coverage map */
.coverage-leaflet-map {
  margin-top: 1rem;
  min-height: 460px;
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 22px 60px rgba(0,0,0,0.22);
  position: relative;
  z-index: 1;
}
.coverage-map-caption {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}
.leaflet-container {
  background: #0e1720;
  color: #17202a;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.leaflet-control-attribution {
  font-size: 0.72rem;
}
.map-error {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 500;
  border-radius: 16px;
  background: rgba(10, 12, 18, 0.86);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  padding: 0.9rem 1rem;
}
@media (max-width: 760px) {
  .coverage-leaflet-map { min-height: 340px; }
}


/* Cleaner grouped admin navigation */
.grouped-admin-nav {
  gap: 0.55rem;
  align-items: center;
}
.admin-nav-pill,
.admin-nav-group > button {
  color: var(--muted);
  border: 1px solid transparent;
  padding: 0.55rem 0.72rem;
  border-radius: 999px;
  font-weight: 850;
  font-size: 0.88rem;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
  line-height: 1;
}
.admin-nav-group {
  position: relative;
  display: inline-flex;
}
.admin-nav-group > button:hover,
.admin-nav-group.active > button,
.admin-nav-pill:hover,
.admin-nav-pill.active {
  color: var(--text);
  border-color: color-mix(in srgb, var(--accent) 32%, var(--line));
  background: rgba(255,255,255,0.055);
}
.admin-nav-menu {
  position: absolute;
  z-index: 80;
  top: calc(100% + 10px);
  right: 0;
  min-width: 210px;
  padding: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(5, 7, 11, 0.96);
  box-shadow: 0 24px 70px rgba(0,0,0,0.38);
  display: none;
}
.admin-nav-group:hover .admin-nav-menu,
.admin-nav-group:focus-within .admin-nav-menu {
  display: grid;
  gap: 0.25rem;
}
.admin-nav-menu a {
  display: block;
  border-radius: 12px;
  padding: 0.72rem 0.85rem;
  white-space: nowrap;
}
.admin-nav-menu a.active {
  background: color-mix(in srgb, var(--accent-dark) 45%, transparent);
  color: var(--text);
}
.faq-admin-list textarea {
  min-height: 120px;
}
.faq-admin-item .admin-checks {
  align-items: center;
  justify-content: space-between;
}
@media (max-width: 980px) {
  .grouped-admin-nav {
    align-items: flex-start;
  }
  .admin-nav-group {
    width: auto;
  }
  .admin-nav-menu {
    left: 0;
    right: auto;
  }
}
@media (max-width: 640px) {
  .admin-nav-pill,
  .admin-nav-group > button {
    font-size: 0.82rem;
    padding: 0.48rem 0.6rem;
  }
  .admin-nav-menu {
    min-width: min(250px, calc(100vw - 36px));
  }
}


/* Legal pages and member cancellations */
.legal-panel {
  padding: clamp(1.25rem, 3vw, 2.2rem);
  line-height: 1.75;
  color: var(--muted);
  white-space: normal;
}
.cancellation-policy-panel {
  border-color: rgba(244,197,66,0.22);
}
.member-cancel-form {
  display: grid;
  gap: 0.45rem;
  min-width: 210px;
}
.member-cancel-form input[type="text"] {
  min-height: 38px;
  padding: 0.65rem 0.8rem;
  border-radius: 12px;
}
.danger-text {
  color: #ffd28a;
  font-weight: 700;
}
.danger-button {
  border-color: rgba(255, 120, 120, 0.35) !important;
}


/* Collapsible website wording admin */
.wording-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.wording-toolbar h2 {
  margin-bottom: 0.25rem;
}
.wording-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
}
.wording-section {
  padding: 0;
  overflow: hidden;
}
.wording-section summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: clamp(1rem, 2.4vw, 1.35rem) clamp(1rem, 3vw, 1.6rem);
  color: var(--text);
}
.wording-section summary::-webkit-details-marker {
  display: none;
}
.wording-section summary strong {
  display: block;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  letter-spacing: -0.035em;
}
.wording-section summary small {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-weight: 800;
}
.wording-section summary em {
  font-style: normal;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.055);
  color: var(--accent);
  transition: transform 0.2s ease, background 0.2s ease;
}
.wording-section[open] summary em {
  transform: rotate(180deg);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
}
.wording-section-content {
  padding: 0 clamp(1rem, 3vw, 1.6rem) clamp(1rem, 3vw, 1.6rem);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.sticky-save {
  position: sticky;
  bottom: 1rem;
  z-index: 5;
  box-shadow: 0 18px 44px rgba(0,0,0,0.35);
}
@media (max-width: 760px) {
  .wording-toolbar {
    display: grid;
  }
  .wording-toolbar-actions {
    justify-content: stretch;
  }
  .wording-toolbar-actions .button {
    flex: 1 1 auto;
  }
  .sticky-save {
    bottom: 0.6rem;
  }
}


/* Promotion sale modal */
body.modal-open {
  overflow: hidden;
}
.promotion-modal[hidden] {
  display: none;
}
.promotion-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.24s ease;
}
.promotion-modal.open {
  opacity: 1;
}
.promotion-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 4, 9, 0.74);
  backdrop-filter: blur(10px);
}
.promotion-card {
  position: relative;
  z-index: 1;
  width: min(560px, calc(100vw - 28px));
  padding: clamp(1.35rem, 4vw, 2.2rem);
  border-radius: 30px;
  box-shadow: 0 32px 90px rgba(0,0,0,0.48), 0 0 0 1px color-mix(in srgb, var(--accent) 22%, transparent);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.24s ease;
  text-align: left;
  overflow: hidden;
}
.promotion-modal.open .promotion-card {
  transform: translateY(0) scale(1);
}
.promotion-card::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent-2) 32%, transparent), transparent 68%);
  pointer-events: none;
}
.promotion-badge {
  color: var(--accent-2);
}

.promotion-flyer {
  margin: -0.45rem -0.45rem 1.1rem;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
}
.promotion-flyer img {
  display: block;
  width: 100%;
  max-height: min(44vh, 360px);
  object-fit: cover;
}
.promotion-image-admin-preview {
  margin: 0.8rem 0;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}
.promotion-image-admin-preview img {
  width: 160px;
  height: 100px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
}
.admin-help-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
}
@media (max-width: 700px) {
  .promotion-image-admin-preview {
    grid-template-columns: 1fr;
  }
  .promotion-image-admin-preview img {
    width: 100%;
    height: 170px;
  }
}

.promotion-card h2 {
  margin: 0.25rem 0 0.75rem;
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 0.95;
  letter-spacing: -0.075em;
}
.promotion-card p {
  color: var(--muted);
  line-height: 1.65;
  max-width: 46rem;
}
.promotion-card .button {
  margin-top: 1rem;
}
.promotion-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.08);
  color: var(--text);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
.promotion-close:hover {
  border-color: color-mix(in srgb, var(--accent) 42%, var(--line));
  color: var(--accent);
}
.promotion-admin-item textarea {
  min-height: 120px;
}

/* Admin delete actions */
.button.danger {
  background: rgba(255, 94, 94, 0.14);
  border-color: rgba(255, 94, 94, 0.42);
  color: #ffd1d1;
}
.button.danger:hover {
  background: rgba(255, 94, 94, 0.24);
  border-color: rgba(255, 94, 94, 0.72);
}
.admin-row-actions {
  align-items: end;
}
.admin-inline-check {
  align-self: center;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
@media (max-width: 760px) {
  .admin-row-actions .button.danger { width: 100%; }
}

/* Pricing manager ordering controls */
.admin-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.move-buttons {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  justify-content: flex-end;
}
.move-buttons.vertical {
  align-self: end;
  display: grid;
  grid-template-columns: repeat(2, minmax(70px, 1fr));
}
.pricing-row-with-moves {
  grid-template-columns: minmax(220px, 1.5fr) minmax(120px, 0.65fr) minmax(120px, 0.45fr) minmax(150px, 0.65fr) minmax(110px, 0.45fr);
}
@media (max-width: 980px) {
  .pricing-row-with-moves { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .admin-item-actions { align-items: flex-start; flex-direction: column; }
  .move-buttons, .move-buttons.vertical { width: 100%; grid-template-columns: 1fr 1fr; }
  .move-buttons .button { width: 100%; }
  .pricing-row-with-moves { grid-template-columns: 1fr; }
}

.admin-grid-full { grid-column: 1 / -1; }


/* Admin-only theme controls and image manager */
.theme-drawer { display: none !important; }
.site-image-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.site-image-card {
  padding: 1rem;
  display: grid;
  gap: 0.7rem;
}
.site-image-card h3 { margin: 0; }
.site-image-preview {
  border-radius: 18px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: rgba(0,0,0,0.24);
  min-height: 180px;
  display: grid;
  place-items: center;
}
.site-image-preview img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.site-image-card code {
  color: var(--accent);
  overflow-wrap: anywhere;
  background: rgba(0,0,0,0.22);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.55rem 0.7rem;
}
.archived-row { opacity: 0.72; }
.archived-row td { background: rgba(255,255,255,0.018); }

/* Sleek mobile admin login */
.admin-login-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 2rem);
  background-attachment: fixed;
}
.admin-login-wrap {
  width: min(100%, 560px);
}
.admin-login-card {
  padding: clamp(1.2rem, 5vw, 2rem);
  border-radius: 30px;
  box-shadow: 0 28px 90px rgba(0,0,0,0.45);
}
.admin-login-brand {
  margin-bottom: 1.4rem;
}
.admin-login-card h1 {
  margin: 0.2rem 0 0.6rem;
  font-size: clamp(2rem, 8vw, 3.4rem);
  letter-spacing: -0.07em;
}
.admin-login-note {
  text-align: center;
  margin-bottom: 0;
  font-size: 0.88rem;
}

@media (max-width: 760px) {
  .site-image-grid { grid-template-columns: 1fr; }
  .admin-login-body { padding: 0.8rem; align-items: stretch; }
  .admin-login-wrap { width: 100%; display: grid; align-items: center; }
  .admin-login-card { border-radius: 24px; }
  .admin-login-brand .brand-mark { width: 42px; height: 42px; border-radius: 14px; }
  .admin-login-brand .brand-copy { padding: 0.75rem 0.85rem; }
  .admin-login-brand .brand-copy strong { font-size: clamp(1.3rem, 8vw, 2rem); }
  .grouped-admin-nav { width: 100%; overflow-x: auto; padding-bottom: 0.25rem; flex-wrap: nowrap; }
  .admin-topbar .nav-wrap { gap: 0.8rem; }
  .admin-nav-group { flex: 0 0 auto; }
  .admin-nav-pill { flex: 0 0 auto; }
}


/* Promotion diagnostics */
.promotion-status-box {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 0.9rem 1rem;
  margin: 1rem 0;
  background: rgba(255,255,255,0.04);
}
.promotion-status-box.is-showing {
  border-color: rgba(84,244,208,0.4);
  background: rgba(84,244,208,0.08);
}
.promotion-status-box.not-showing {
  border-color: rgba(244,197,66,0.35);
  background: rgba(244,197,66,0.08);
}
.admin-help-list.compact {
  margin: 0.6rem 0 0;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
  font-size: 0.78rem;
  font-weight: 800;
  margin-left: 0.4rem;
  vertical-align: middle;
}
.status-pill.paid {
  background: rgba(84,244,208,0.13);
  color: var(--accent);
}
.status-pill.cancelled {
  background: rgba(255,91,91,0.12);
  color: #ffb0b0;
}


.referral-profile-grid input[readonly] { cursor: pointer; }

@media (max-width: 640px) {
  .promotion-modal {
    align-items: center;
    padding: max(0.75rem, env(safe-area-inset-top)) 0.75rem max(0.75rem, env(safe-area-inset-bottom));
  }
  .promotion-card {
    width: min(100%, calc(100vw - 24px));
    max-height: calc(100dvh - max(1rem, env(safe-area-inset-top)) - max(1rem, env(safe-area-inset-bottom)));
    overflow-y: auto;
    padding-top: 3.75rem;
  }
  .promotion-close {
    position: sticky;
    top: 0.35rem;
    right: auto;
    margin: -2.5rem 0 0.9rem auto;
    width: 48px;
    height: 48px;
    z-index: 6;
  }
}
