/* Bookings — donker dashboard */
:root {
  --bg: #0b0d12;
  --bg-soft: #0f1218;
  --panel: #141821;
  --panel-2: #181d27;
  --line: #252b38;
  --line-soft: #1d2230;
  --text: #e9edf5;
  --muted: #8a93a6;
  --muted-2: #667085;
  --accent: #34d399;
  --accent-2: #5eead4;
  --accent-ink: #062a1f;
  --accent-soft: rgba(52, 211, 153, 0.12);
  --amber: #fbbf24;
  --red: #f87171;
  --blue: #60a5fa;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 15px;
  line-height: 1.5;
}

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

.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 12% -8%, rgba(52, 211, 153, 0.10), transparent 60%),
    radial-gradient(820px 520px at 88% 4%, rgba(96, 165, 250, 0.07), transparent 55%),
    radial-gradient(700px 500px at 50% 110%, rgba(52, 211, 153, 0.05), transparent 60%);
}

/* ---------- topbar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(11, 13, 18, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.topbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 19px;
  color: var(--text);
}
.brand:hover { color: var(--text); }

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #4ade80, #10b981);
  color: #052e22;
  font-size: 19px;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 6px 16px rgba(16, 185, 129, 0.25);
}

.brand-dot { color: var(--accent); }
.brand-name { line-height: 1; }

.brand-lg { font-size: 24px; }
.brand-lg .brand-mark { width: 38px; height: 38px; font-size: 24px; border-radius: 11px; }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
}

.nav a {
  padding: 7px 12px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.nav a.is-active { color: var(--text); background: rgba(255, 255, 255, 0.06); }

.topbar-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55);
  animation: live 2.4s infinite;
}
@keyframes live {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.45); }
  70% { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.15s ease;
}
.icon-btn:hover { color: var(--text); border-color: #364055; background: rgba(255, 255, 255, 0.04); }
.icon-btn svg { width: 16px; height: 16px; }
.topbar-right form { display: flex; }

/* ---------- layout ---------- */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 22px 8px;
}

.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 6px 0 22px;
}
.page-head h1 {
  font-size: 34px;
  letter-spacing: -0.035em;
  margin: 4px 0 4px;
  font-weight: 800;
}
.page-head p { margin: 0; color: var(--muted); font-size: 14px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(310px, 0.9fr);
  gap: 18px;
  align-items: start;
}
.col-main, .col-side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }

.spacer { height: 28px; }

/* ---------- cards ---------- */
.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0)) , var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}

.card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}
.card-head h2 { font-size: 16px; margin: 0 0 3px; letter-spacing: -0.01em; font-weight: 700; }
.card-head p { margin: 0; color: var(--muted); font-size: 13px; }

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  padding: 30px 30px;
  margin-bottom: 18px;
  background:
    radial-gradient(700px 300px at 0% 0%, rgba(52, 211, 153, 0.10), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)), var(--panel);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5);
  animation: live 2.4s infinite;
}

.price-line { display: flex; align-items: baseline; gap: 14px; margin: 10px 0 12px; }
.price {
  font-size: clamp(44px, 6vw, 68px);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.055em;
  font-variant-numeric: tabular-nums;
}
.price-unit { color: var(--muted); font-size: 13px; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}
.meta-item strong { color: var(--text); font-weight: 600; }
.meta-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted-2); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid transparent;
  white-space: nowrap;
}
.chip.good { color: #6ee7b7; background: rgba(52, 211, 153, 0.12); border-color: rgba(52, 211, 153, 0.28); }
.chip.neutral { color: var(--muted); background: rgba(255, 255, 255, 0.04); border-color: var(--line); }
.chip.subtle { color: var(--muted); background: transparent; border-color: var(--line); font-weight: 500; }

.hero-side {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  min-width: 230px;
}
.hero-timing { display: grid; gap: 10px; }
.hero-timing div { display: flex; flex-direction: column; gap: 2px; }
.hero-timing span { color: var(--muted-2); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }
.hero-timing strong { font-size: 12.5px; font-weight: 600; color: #cfd6e4; font-variant-numeric: tabular-nums; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 11px;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 650;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(180deg, #4ade80, #22c55e);
  color: #052e22;
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn-primary:hover { background: linear-gradient(180deg, #5eead4, #34d399); color: #052e22; }
.btn-primary:disabled { opacity: 0.55; cursor: wait; }
.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line);
  color: var(--text);
}
.btn-ghost:hover { border-color: #384256; background: rgba(255, 255, 255, 0.06); color: var(--text); }
.btn-sm { padding: 7px 11px; font-size: 12.5px; border-radius: 9px; }
.btn-block { width: 100%; }

.btn.is-loading svg { animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.link { color: var(--accent); font-size: 13px; font-weight: 600; }
.link:hover { color: var(--accent-2); }
.small { font-size: 12.5px; }

/* ---------- chart ---------- */
.chart-card { padding-bottom: 14px; }
.chart-wrap { position: relative; height: 268px; margin-top: 4px; }
.chart-wrap canvas { width: 100% !important; height: 100% !important; }

/* ---------- table ---------- */
.table-wrap { overflow-x: auto; margin: 0 -6px; padding: 0 6px; }
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th {
  text-align: left;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 700;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.table td { padding: 11px 10px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table .num { font-variant-numeric: tabular-nums; font-weight: 650; white-space: nowrap; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.note-cell { max-width: 320px; font-size: 12.5px; }
.cell-title { display: block; }
.cell-sub { display: block; color: var(--muted-2); font-size: 11.5px; margin-top: 2px; max-width: 340px; }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 650;
  border: 1px solid transparent;
  white-space: nowrap;
}
.badge.ok { color: #6ee7b7; background: rgba(52, 211, 153, 0.10); border-color: rgba(52, 211, 153, 0.24); }
.badge.warn { color: #fcd34d; background: rgba(251, 191, 36, 0.10); border-color: rgba(251, 191, 36, 0.24); }

/* ---------- booking ---------- */
.booking-card { padding: 0; overflow: hidden; }
.booking-photo { position: relative; height: 164px; background: #111; }
.booking-photo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(0.92) contrast(1.02); }
.booking-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 12, 17, 0.05) 20%, rgba(10, 12, 17, 0.92) 100%);
}
.booking-photo-overlay {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 14px;
  z-index: 1;
}
.booking-photo-overlay h2 { margin: 3px 0 1px; font-size: 20px; letter-spacing: -0.02em; }
.booking-photo-overlay span { color: #c3cad9; font-size: 12px; }
.stars { color: var(--accent); letter-spacing: 2px; font-size: 10px; }

.booking-body { padding: 16px 18px 18px; }
.kv {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
}
.kv > span:first-child { color: var(--muted); }
.kv-value { text-align: right; font-weight: 550; color: #d7deea; display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.kv-value.strong { font-weight: 750; color: var(--text); font-variant-numeric: tabular-nums; }
.kv-value code { font-family: var(--font); letter-spacing: 0.02em; }
.copy {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--muted-2);
  cursor: pointer;
  border-radius: 6px;
  padding: 0;
}
.copy:hover { color: var(--accent); background: rgba(255, 255, 255, 0.05); }
.copy svg { width: 13px; height: 13px; }

.countdown {
  margin: 14px 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(52, 211, 153, 0.06);
  border: 1px solid rgba(52, 211, 153, 0.16);
  color: #a7f3d0;
  font-size: 12.5px;
  text-align: center;
}
.countdown strong { font-size: 16px; color: var(--accent-2); }

/* ---------- alerts ---------- */
.alert-list { display: flex; flex-direction: column; }
.alert-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-soft);
}
.alert-row:last-child { border-bottom: 0; }
.alert-price { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--accent-2); font-size: 14px; min-width: 72px; }
.alert-meta { display: flex; flex-direction: column; gap: 1px; font-size: 12px; color: #b9c1d0; }
.alert-meta .muted { font-size: 11px; }
.dot-status { width: 7px; height: 7px; border-radius: 50%; margin-left: auto; background: var(--muted-2); }
.dot-status.ok { background: var(--accent); box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.12); }
.dot-status.bad { background: var(--red); box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.12); }

/* ---------- manual ---------- */
.manual-card { padding: 0; }
.manual-card details { padding: 16px 20px; }
.manual-card summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.manual-card summary::-webkit-details-marker { display: none; }
.summary-title { font-weight: 650; font-size: 14px; }
.summary-hint { color: var(--muted-2); font-size: 12px; }
.manual-form { margin-top: 14px; display: grid; gap: 12px; }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.field > span { color: #c4ccda; font-weight: 600; font-size: 12.5px; }
.field small { color: var(--muted-2); font-size: 11.5px; line-height: 1.45; }
input[type="text"], input[type="password"], input[type="email"], input[type="url"], input[type="number"], input[type="date"], select {
  width: 100%;
  background: #0f131b;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  padding: 10px 12px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  min-height: 40px;
}
input:focus, select:focus { border-color: rgba(52, 211, 153, 0.55); box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.12); }
input::placeholder { color: #4b5568; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.span-2 { grid-column: span 2; }

.toggle { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle-track {
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: #232936;
  border: 1px solid var(--line);
  position: relative;
  transition: 0.18s ease;
  flex: 0 0 auto;
}
.toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #7d879b;
  transition: 0.18s ease;
}
.toggle input:checked + .toggle-track { background: rgba(52, 211, 153, 0.22); border-color: rgba(52, 211, 153, 0.5); }
.toggle input:checked + .toggle-track .toggle-thumb { transform: translateX(18px); background: var(--accent); }
.toggle-copy { display: flex; flex-direction: column; }
.toggle-copy strong { font-size: 13px; }
.toggle-copy small { color: var(--muted-2); font-size: 11.5px; }

.form-actions { display: flex; gap: 10px; margin: 18px 0 10px; }
.test-form { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0 0 20px; padding-left: 2px; }
.form-error {
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.25);
  color: #fca5a5;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 12.5px;
}

.settings-form { display: flex; flex-direction: column; gap: 18px; }
.help { margin-top: 16px; border-top: 1px solid var(--line-soft); padding-top: 12px; }
.help summary { cursor: pointer; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.help-body { color: var(--muted); font-size: 12.5px; line-height: 1.6; margin-top: 10px; }
.help-body code { background: rgba(255, 255, 255, 0.05); padding: 1px 5px; border-radius: 5px; font-size: 11.5px; }

/* ---------- banners / empty ---------- */
.banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border-radius: 13px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  background: var(--panel);
  font-size: 13px;
}
.banner.warn { border-color: rgba(251, 191, 36, 0.28); background: rgba(251, 191, 36, 0.07); }
.banner.info { border-color: rgba(96, 165, 250, 0.22); background: rgba(96, 165, 250, 0.06); }
.banner-icon { width: 26px; height: 26px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; font-weight: 800; color: #cbd5e1; background: rgba(255, 255, 255, 0.06); }
.banner.warn .banner-icon { color: #fcd34d; }
.banner.info .banner-icon { color: #93c5fd; }
.banner-icon svg { width: 15px; height: 15px; }
.banner-copy { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.banner-copy strong { font-size: 13px; }
.banner-copy span { color: var(--muted); font-size: 12.5px; }
.banner .btn { margin-left: auto; }

.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 44px 20px;
  color: var(--muted);
  text-align: center;
}
.empty strong { color: var(--text); font-size: 14px; }
.empty span { font-size: 12.5px; }
.empty-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.2);
  color: var(--accent);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

/* ---------- footer ---------- */
.footer {
  max-width: 1180px;
  margin: 26px auto 0;
  padding: 18px 22px 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted-2);
  font-size: 11.5px;
  flex-wrap: wrap;
}
.footer strong { color: var(--muted); font-weight: 600; }
.footer-sep { opacity: 0.5; }
.footer-right { margin-left: auto; font-variant-numeric: tabular-nums; }

/* ---------- toast ---------- */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 16px);
  background: #1b2130;
  border: 1px solid #303a4d;
  color: var(--text);
  padding: 11px 16px;
  border-radius: 11px;
  font-size: 13px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
  z-index: 100;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- login ---------- */
.login-body { background: #0a0c11; }
.login-main {
  min-height: calc(100vh - 90px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  position: relative;
}
.login-glow {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(600px 420px at 50% 18%, rgba(52, 211, 153, 0.14), transparent 65%),
    radial-gradient(500px 380px at 70% 90%, rgba(96, 165, 250, 0.07), transparent 65%);
  pointer-events: none;
  z-index: -1;
}
.login-card {
  width: 100%;
  max-width: 400px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0)), var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 30px 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.login-card h1 { font-size: 26px; letter-spacing: -0.03em; margin: 22px 0 6px; }
.login-card > p { font-size: 13px; margin: 0 0 22px; }
.login-form { display: grid; gap: 14px; }
.login-foot { margin: 22px 0 0 !important; font-size: 11.5px !important; color: var(--muted-2) !important; text-align: center; }

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .grid { grid-template-columns: 1fr; }
  .col-side { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .booking-card { grid-row: span 2; }
  .hero { grid-template-columns: 1fr; }
  .hero-side { flex-direction: row; align-items: center; justify-content: space-between; min-width: 0; }
  .hero-timing { display: flex; gap: 24px; }
}

@media (max-width: 760px) {
  .topbar-inner { gap: 14px; padding: 12px 16px; }
  .nav { margin-left: 0; overflow-x: auto; }
  .nav a { padding: 6px 9px; font-size: 13px; }
  .live { display: none; }
  .container { padding: 20px 14px 6px; }
  .hero { padding: 22px; }
  .hero-side { flex-direction: column; align-items: stretch; }
  .hero-timing { justify-content: space-between; }
  .col-side { grid-template-columns: 1fr; }
  .booking-card { grid-row: auto; }
  .form-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: span 1; }
  .page-head { flex-direction: column; align-items: flex-start; }
  .page-head h1 { font-size: 28px; }
  .price { font-size: 46px; }
  .footer { padding: 16px 14px 22px; }
  .footer-right { margin-left: 0; }
  .card { padding: 18px; border-radius: 15px; }
  .banner { flex-wrap: wrap; }
  .banner .btn { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

@media (max-width: 520px) {
  .brand-name { display: none; }
  .meta-dot { display: none; }
  .topbar-inner { gap: 10px; }
  .nav a { padding: 6px 8px; }
}
