:root {
  --bg: #f4efe6;
  --bg-deep: #111315;
  --bg-soft: #f8f5ef;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #ffffff;
  --surface-dark: #181b1d;
  --surface-muted: #f1ece4;
  --line: rgba(17, 19, 21, 0.08);
  --line-strong: rgba(17, 19, 21, 0.15);
  --ink: #121619;
  --muted: #667078;
  --muted-strong: #4f5962;
  --brand: #8a1530;
  --brand-deep: #6d0f23;
  --brand-soft: #f7e6eb;
  --accent: #e5b24c;
  --accent-soft: #fff4dc;
  --maroon: #6d0f23;
  --danger: #df5c4a;
  --danger-soft: #fff0ed;
  --success: #169856;
  --success-soft: #e8fbef;
  --shadow-sm: 0 14px 28px rgba(18, 22, 25, 0.08);
  --shadow-md: 0 26px 48px rgba(18, 22, 25, 0.11);
  --shadow-lg: 0 38px 68px rgba(18, 22, 25, 0.16);
  --radius-sm: 18px;
  --radius-md: 26px;
  --radius-lg: 38px;
  --radius-pill: 999px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(247, 190, 75, 0.15), transparent 28%),
    radial-gradient(circle at left 20%, rgba(109, 15, 35, 0.08), transparent 30%),
    linear-gradient(180deg, #fbf8f2 0%, var(--bg) 100%);
  font-family: "Alexandria", Tahoma, sans-serif;
  line-height: 1.65;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(10px);
}

body::before {
  top: -120px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: rgba(247, 190, 75, 0.18);
}

body::after {
  bottom: -120px;
  left: -100px;
  width: 340px;
  height: 340px;
  background: rgba(109, 15, 35, 0.12);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.hidden {
  display: none !important;
}

.text-link {
  color: var(--brand-deep);
  font-weight: 700;
}

.page-shell {
  padding: 1rem 0 4rem;
}

.page-wrap {
  width: min(1280px, calc(100% - 1.5rem));
  margin: 0 auto;
}

.landing-page .page-wrap {
  width: min(1340px, calc(100% - 1.5rem));
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(138, 21, 48, 0.12);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 248, 239, 0.92) 100%);
  box-shadow: 0 18px 34px rgba(109, 15, 35, 0.08);
  backdrop-filter: blur(18px);
}

.landing-page .site-header {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 248, 239, 0.92) 100%);
  border-color: rgba(138, 21, 48, 0.12);
  color: var(--ink);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  min-width: 0;
}

.brand-mark {
  width: 74px;
  height: 74px;
  flex: 0 0 74px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 30px rgba(109, 15, 35, 0.18);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-copy {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}

.brand-copy strong {
  font-size: 1.08rem;
  line-height: 1.2;
  color: var(--brand-deep);
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.88rem;
}

.landing-page .brand-copy span {
  color: var(--muted);
}

.header-actions,
.hero-actions,
.action-row,
.topbar-actions,
.chip-row,
.pill-row,
.metrics-row,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.header-actions {
  justify-content: flex-end;
}

.user-pill,
.card-label,
.eyebrow,
.summary-badge,
.status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 34px;
  padding: 0.28rem 0.8rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
}

.card-label,
.eyebrow,
.user-pill {
  background: var(--brand-soft);
  color: var(--brand-deep);
  border: 1px solid rgba(109, 15, 35, 0.14);
}

.summary-badge {
  background: rgba(17, 19, 21, 0.08);
  color: var(--muted-strong);
}

.status-chip {
  background: rgba(247, 190, 75, 0.2);
  color: #8b6110;
}

.status-upcoming {
  background: var(--brand-soft);
  color: var(--brand-deep);
  border-color: rgba(109, 15, 35, 0.18);
}

.status-completed {
  background: var(--success-soft);
  color: var(--success);
  border-color: rgba(22, 152, 86, 0.18);
}

.status-cancelled {
  background: var(--danger-soft);
  color: var(--danger);
  border-color: rgba(223, 92, 74, 0.22);
}

.ghost-button,
.secondary-button,
.primary-button,
.top-link {
  min-height: 52px;
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-pill);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.ghost-button,
.top-link {
  border: 1px solid rgba(138, 21, 48, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 245, 239, 0.96) 100%);
  color: var(--brand-deep);
  box-shadow: 0 10px 22px rgba(109, 15, 35, 0.06);
}

.landing-page .ghost-button,
.landing-page .top-link {
  border-color: rgba(138, 21, 48, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 245, 239, 0.96) 100%);
  color: var(--brand-deep);
}

.secondary-button {
  background: var(--bg-deep);
  color: #fff;
  box-shadow: 0 12px 24px rgba(17, 19, 21, 0.16);
}

.primary-button {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
  box-shadow: 0 18px 34px rgba(109, 15, 35, 0.24);
}

.small-button {
  min-height: 46px;
  padding-inline: 1rem;
}

.site-header .user-pill {
  min-height: 46px;
  padding-inline: 1rem;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 12px 24px rgba(109, 15, 35, 0.16);
}

.ghost-button:hover,
.secondary-button:hover,
.primary-button:hover,
.top-link:hover,
.choice-card:hover,
.slot-button:hover,
.review-card:hover,
.order-card:hover,
.feature-card:hover {
  transform: translateY(-2px);
}

.page-hero,
.hero-grid,
.landing-band,
.surface-card,
.card,
.helper-card,
.sticky-card,
.summary-panel,
.auth-showcase,
.landing-hero-card,
.promo-card,
.feature-card,
.latest-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(17, 19, 21, 0.08);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px);
}

.page-hero,
.card,
.helper-card,
.sticky-card,
.summary-panel,
.surface-card,
.auth-showcase,
.landing-band,
.landing-hero-card,
.promo-card,
.feature-card,
.latest-shell {
  padding: 1.35rem;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(290px, 0.9fr);
  gap: 1rem;
  margin-bottom: 1rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(248, 244, 236, 0.94)),
    var(--surface);
}

.page-hero::before,
.hero-grid::before,
.auth-showcase::before,
.landing-band::before {
  content: "";
  position: absolute;
  inset: auto auto 0 -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(247, 190, 75, 0.14);
  filter: blur(3px);
}

.page-hero-copy,
.hero-copy,
.section-head,
.summary-head {
  display: grid;
  gap: 0.75rem;
}

.page-hero h1,
.hero-copy h1,
.card h2,
.card h3,
.helper-card h3,
.summary-panel h2,
.auth-showcase h2,
.feature-card h3,
.feature-card-dark h3,
.landing-hero-card h2,
.surface-card h2 {
  margin: 0;
}

.page-hero h1,
.hero-copy h1 {
  font-size: clamp(2.2rem, 4vw, 4.3rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.page-hero h1.headline-compact,
.hero-copy h1.headline-compact {
  font-size: clamp(1.75rem, 2.8vw, 2.85rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
  max-width: 12ch;
}

.page-hero p,
.hero-copy p,
.lead-text,
.section-note,
.status-note,
.subtle-note,
.helper-card p,
.review-card span,
.summary-item span,
.feature-list li,
.feature-card p,
.landing-metrics span,
.page-copy {
  color: var(--muted);
}

.page-hero-panel,
.hero-panel-dark,
.hero-panel-soft,
.hero-stat-card,
.ticket-card {
  display: grid;
  gap: 0.9rem;
  padding: 1.15rem;
  border-radius: 28px;
  border: 1px solid rgba(17, 19, 21, 0.08);
}

.hero-panel-dark {
  align-content: space-between;
  background:
    radial-gradient(circle at top left, rgba(247, 190, 75, 0.12), transparent 38%),
    linear-gradient(180deg, #121416 0%, #1b1f22 100%);
  color: #fff;
}

.hero-panel-dark p,
.hero-panel-dark span,
.hero-panel-dark small {
  color: rgba(255, 255, 255, 0.72);
}

.hero-panel-soft {
  background: linear-gradient(180deg, #fffaf0 0%, #fff 100%);
}

.hero-panel-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.hero-panel-metrics div,
.landing-metric-card,
.mini-metric {
  padding: 0.85rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  text-align: center;
}

.hero-panel-metrics span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.hero-panel-soft .hero-panel-metrics div {
  background: rgba(17, 19, 21, 0.05);
}

.hero-panel-metrics strong,
.landing-metric-card strong,
.mini-metric strong {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.landing-page {
  background:
    radial-gradient(circle at top left, rgba(247, 190, 75, 0.2), transparent 20%),
    radial-gradient(circle at 80% 12%, rgba(109, 15, 35, 0.15), transparent 18%),
    linear-gradient(180deg, #f7f4ed 0%, #f0eadf 100%);
}

.landing-main {
  display: grid;
  gap: 1rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.95fr);
  gap: 1rem;
  padding: 1.35rem;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.88), rgba(255, 248, 233, 0.96)),
    var(--surface);
}

.hero-copy {
  align-content: start;
}

.hero-copy h1 {
  max-width: 11ch;
}

.hero-inline-note {
  margin: 0;
}

.landing-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.landing-metric-card {
  background: rgba(17, 19, 21, 0.04);
}

.landing-metric-card span {
  display: block;
  font-size: 0.82rem;
}

.delivery-frame {
  display: grid;
  gap: 0.9rem;
}

.landing-hero-card {
  background:
    radial-gradient(circle at top right, rgba(247, 190, 75, 0.2), transparent 28%),
    linear-gradient(180deg, #15181a 0%, #1a1e21 100%);
  color: #fff;
}

.landing-hero-card p,
.landing-hero-card span,
.landing-hero-card small {
  color: rgba(255, 255, 255, 0.7);
}

.location-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
}

.delivery-preview {
  display: grid;
  gap: 0.8rem;
}

.preview-ticket,
.promo-card-dark,
.promo-card-soft,
.feature-card-dark {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
  border-radius: 28px;
  border: 1px solid rgba(17, 19, 21, 0.08);
}

.preview-ticket {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 241, 232, 0.96));
}

.preview-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.preview-line strong {
  display: block;
}

.preview-line span {
  color: var(--muted);
  font-size: 0.86rem;
}

.progress-bar {
  height: 10px;
  overflow: hidden;
  border-radius: var(--radius-pill);
  background: rgba(109, 15, 35, 0.12);
}

.progress-bar i {
  display: block;
  width: 70%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
}

.mini-metrics-grid,
.landing-band-grid,
.feature-grid,
.orders-summary-grid {
  display: grid;
  gap: 1rem;
}

.mini-metrics-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mini-metric {
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.landing-band {
  background:
    radial-gradient(circle at left top, rgba(109, 15, 35, 0.14), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 244, 236, 0.94));
}

.landing-band-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.feature-list li {
  padding: 0.9rem 1rem;
  border-radius: 22px;
  border: 1px solid rgba(17, 19, 21, 0.08);
  background: rgba(255, 255, 255, 0.76);
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  min-height: 220px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 244, 236, 0.98)),
    var(--surface);
}

.feature-card-dark {
  min-height: 220px;
  background: linear-gradient(180deg, #131618 0%, #1a1f21 100%);
  color: #fff;
}

.feature-card-dark p,
.feature-card-dark span {
  color: rgba(255, 255, 255, 0.72);
}

.feature-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: rgba(109, 15, 35, 0.12);
  color: var(--brand-deep);
  font-size: 1.35rem;
}

.promo-card-dark {
  background: linear-gradient(180deg, #14171a 0%, #1b1f22 100%);
  color: #fff;
}

.promo-card-dark p,
.promo-card-dark span {
  color: rgba(255, 255, 255, 0.7);
}

.promo-card-soft {
  background: linear-gradient(180deg, #fff3d8 0%, #fff9ef 100%);
}

.page-copy {
  max-width: 60ch;
  margin: 0;
}

.booking-layout,
.checkout-layout,
.orders-page {
  display: grid;
  gap: 1rem;
}

.booking-layout,
.checkout-layout {
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.92fr);
  align-items: start;
}

.orders-page {
  grid-template-columns: 1fr;
}

.flow-stack,
.summary-sidebar,
.summary-panel,
.field-stack,
.auth-stack,
.orders-stack,
.summary-list {
  display: grid;
  gap: 1rem;
}

.sticky-card {
  position: sticky;
  top: 1rem;
}

.section-head {
  margin-bottom: 1rem;
}

.field-stack {
  margin-top: 1rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field > span {
  font-weight: 700;
  color: var(--muted-strong);
}

.field-hint {
  color: var(--muted);
  font-size: 0.84rem;
}

.captcha-box {
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
  border-radius: 26px;
  border: 1px solid rgba(17, 19, 21, 0.08);
  background: linear-gradient(180deg, #fffaf4 0%, rgba(255, 255, 255, 0.96) 100%);
}

.captcha-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem;
}

.captcha-copy {
  display: grid;
  gap: 0.35rem;
}

.captcha-copy strong {
  font-size: 1rem;
}

.turnstile-shell {
  display: grid;
  justify-content: start;
  gap: 0.75rem;
  padding: 0.85rem;
  border-radius: 22px;
  border: 1px dashed rgba(109, 15, 35, 0.18);
  background: rgba(255, 255, 255, 0.9);
}

.turnstile-shell-error {
  border-color: rgba(223, 92, 74, 0.36);
  background: var(--danger-soft);
}

.turnstile-widget {
  min-height: 66px;
}

.turnstile-widget iframe {
  max-width: 100%;
}

.captcha-status {
  margin: 0;
}

input,
select,
textarea {
  width: 100%;
  min-height: 56px;
  padding: 0.95rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(17, 19, 21, 0.1);
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

input::placeholder,
textarea::placeholder {
  color: #98a0a7;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(109, 15, 35, 0.42);
  box-shadow: 0 0 0 4px rgba(109, 15, 35, 0.12);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.search-field input {
  min-height: 60px;
  padding-inline: 1.15rem;
}

.service-grid,
.package-grid,
.extra-grid,
.payment-grid,
.slot-grid,
.review-grid,
.orders-summary-grid,
.shops-grid,
.metrics-strip,
.dashboard-grid,
.dashboard-main,
.dashboard-side,
.dashboard-stack,
.admin-service-list,
.admin-shop-list,
.chart-shell {
  display: grid;
  gap: 0.9rem;
}

.service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.package-grid,
.payment-grid,
.review-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.extra-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shops-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metrics-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dashboard-grid {
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.92fr);
  align-items: start;
}

.dashboard-main,
.dashboard-side {
  align-content: start;
}

.compact-field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.slot-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1rem;
}

.choice-card,
.base-service-card,
.review-card,
.summary-item,
.empty-card,
.order-card,
.session-box,
.success-card,
.shop-card,
.metric-card,
.admin-service-card,
.admin-shop-item {
  position: relative;
  overflow: hidden;
  padding: 1rem;
  border-radius: 26px;
  border: 1px solid rgba(17, 19, 21, 0.08);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 24px rgba(18, 22, 25, 0.05);
}

.choice-card,
.review-card {
  display: grid;
  gap: 0.65rem;
  width: 100%;
  text-align: right;
}

.choice-card.active,
.review-card.active {
  border-color: rgba(109, 15, 35, 0.28);
  background: linear-gradient(180deg, #fcf4f6 0%, #fff 100%);
  box-shadow: 0 18px 30px rgba(109, 15, 35, 0.12);
}

.choice-card strong,
.base-service-card strong,
.review-card strong,
.summary-item strong,
.empty-card strong,
.order-card strong,
.session-box strong,
.success-card h4 {
  display: block;
}

.choice-card > span,
.base-service-card > span,
.review-card > span,
.summary-item > span,
.shop-card > span,
.admin-shop-item > span {
  color: var(--muted);
}

.service-card {
  align-content: start;
  min-height: 240px;
  background:
    radial-gradient(circle at top left, rgba(247, 190, 75, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 244, 236, 0.94));
}

.service-card-header,
.bundle-card-header,
.payment-card-header,
.order-row,
.summary-line,
.review-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.service-icon,
.bundle-icon,
.payment-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: rgba(17, 19, 21, 0.06);
  font-size: 1.4rem;
}

.service-card .service-icon {
  background: rgba(109, 15, 35, 0.12);
}

.meta-badge,
.mini-tag,
.eta-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 32px;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  background: rgba(17, 19, 21, 0.06);
  color: var(--muted-strong);
  font-size: 0.74rem;
  font-weight: 700;
}

.meta-badge {
  background: rgba(109, 15, 35, 0.12);
  color: var(--brand-deep);
}

.card-price {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 38px;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  background: rgba(17, 19, 21, 0.06);
  color: var(--ink);
  font-weight: 800;
  font-family: "Manrope", sans-serif;
}

.service-card-footer,
.bundle-footer,
.payment-footer,
.summary-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  margin-top: auto;
}

.base-service-card {
  display: grid;
  gap: 0.75rem;
  background:
    radial-gradient(circle at top right, rgba(247, 190, 75, 0.18), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(250, 241, 244, 0.98));
}

.base-service-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.base-service-icon {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  background: rgba(109, 15, 35, 0.12);
  font-size: 1.6rem;
}

.base-service-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.bundle-card,
.payment-card {
  min-height: 210px;
}

.shop-card {
  display: grid;
  gap: 0.65rem;
  background:
    radial-gradient(circle at top right, rgba(247, 190, 75, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 244, 236, 0.98));
}

.metric-card {
  display: grid;
  gap: 0.35rem;
  background:
    radial-gradient(circle at top right, rgba(109, 15, 35, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 241, 244, 0.98));
}

.metric-card strong {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 1.55rem;
}

.metric-card span {
  color: var(--muted);
}

.metric-card small {
  color: var(--brand-deep);
  font-weight: 700;
}

.admin-service-card {
  display: grid;
  gap: 0.9rem;
  background:
    radial-gradient(circle at top right, rgba(247, 190, 75, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 244, 236, 0.98));
}

.admin-service-card p {
  margin: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.admin-service-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.admin-service-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.admin-shop-item {
  display: grid;
  gap: 0.4rem;
  background: rgba(17, 19, 21, 0.04);
  box-shadow: none;
}

.admin-shop-item strong {
  display: block;
}

.chart-shell {
  align-items: start;
}

.donut-wrap {
  position: relative;
  width: min(320px, 100%);
  aspect-ratio: 1 / 1;
  margin-inline: auto;
  display: grid;
  place-items: center;
}

.donut-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.donut-hole {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background:
    radial-gradient(circle at top right, rgba(247, 190, 75, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 244, 236, 0.98));
  box-shadow: inset 0 0 0 1px rgba(17, 19, 21, 0.08);
}

.donut-center {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem;
}

.donut-center span,
.donut-center small {
  color: var(--muted);
}

.donut-center strong {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 1.45rem;
  line-height: 1.25;
}

.chart-legend {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.chart-legend li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.85rem 0.95rem;
  border-radius: 22px;
  background: rgba(17, 19, 21, 0.04);
}

.legend-label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  min-width: 0;
}

.legend-label span:last-child {
  overflow-wrap: anywhere;
}

.legend-swatch {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  border-radius: 50%;
}

.legend-value {
  color: var(--muted-strong);
  font-family: "Manrope", sans-serif;
  font-weight: 800;
}

.bundle-card {
  background:
    radial-gradient(circle at top left, rgba(109, 15, 35, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 241, 244, 0.98));
}

.note-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.note-pills span {
  padding: 0.28rem 0.7rem;
  border-radius: var(--radius-pill);
  background: rgba(247, 190, 75, 0.18);
  color: #8a6110;
  font-size: 0.76rem;
  font-weight: 700;
}

.extra-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: 0.85rem;
  min-height: 148px;
}

.check-badge {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(17, 19, 21, 0.06);
  color: #7e8790;
  font-weight: 800;
}

.extra-card.active .check-badge,
.payment-card.active .payment-icon {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
}

.payment-card {
  background:
    radial-gradient(circle at top right, rgba(247, 190, 75, 0.14), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 244, 236, 0.98));
}

.review-grid {
  margin-top: 1rem;
}

.review-card {
  min-height: 126px;
}

.slot-button {
  position: relative;
  min-height: 82px;
  padding: 0.95rem;
  border-radius: 24px;
  border: 1px solid rgba(17, 19, 21, 0.08);
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  font-weight: 800;
  box-shadow: 0 12px 22px rgba(18, 22, 25, 0.05);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.slot-button.available {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 242, 245, 0.94));
}

.slot-button.unavailable {
  background: var(--danger-soft);
  color: var(--danger);
  border-color: rgba(223, 92, 74, 0.24);
}

.slot-button.unavailable::after {
  content: "مشغول";
  display: block;
  margin-top: 0.25rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.slot-button.active {
  background: linear-gradient(180deg, #fbf1f4 0%, #fff 100%);
  color: var(--brand-deep);
  border-color: rgba(109, 15, 35, 0.22);
  box-shadow: 0 18px 28px rgba(109, 15, 35, 0.12);
}

.summary-panel {
  gap: 1rem;
  background:
    radial-gradient(circle at top right, rgba(247, 190, 75, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 244, 236, 0.96));
}

.summary-head {
  padding-bottom: 0.2rem;
}

.summary-item {
  display: grid;
  gap: 0.32rem;
}

.total-box {
  padding: 1rem;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(247, 190, 75, 0.18), transparent 26%),
    linear-gradient(135deg, rgba(109, 15, 35, 0.1), rgba(255, 255, 255, 0.92));
  border: 1px solid rgba(109, 15, 35, 0.12);
}

.total-box span {
  display: block;
  color: var(--muted);
}

.total-box strong {
  display: block;
  margin-top: 0.18rem;
  font-size: 1.55rem;
  font-family: "Manrope", sans-serif;
}

.full-width {
  width: 100%;
}

.session-box {
  gap: 0.3rem;
  background:
    radial-gradient(circle at top right, rgba(247, 190, 75, 0.15), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 244, 236, 0.98));
}

.guest-lock {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  border-radius: 28px;
  background: linear-gradient(180deg, #1a1f22 0%, #141719 100%);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.guest-lock p {
  color: rgba(255, 255, 255, 0.7);
}

.success-card {
  margin-top: 1rem;
  background: linear-gradient(180deg, #fbf1f4 0%, #fff 100%);
  border-color: rgba(109, 15, 35, 0.22);
}

.success-card h4 {
  margin: 0.5rem 0 0.25rem;
}

.empty-card {
  min-height: 180px;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    radial-gradient(circle at top right, rgba(247, 190, 75, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 244, 236, 0.98));
}

.latest-shell {
  background:
    radial-gradient(circle at top right, rgba(109, 15, 35, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 241, 244, 0.98));
}

.order-card {
  display: grid;
  gap: 0.9rem;
}

.order-card-highlight {
  background:
    radial-gradient(circle at top right, rgba(247, 190, 75, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 232, 0.98));
}

.order-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.order-meta-grid div,
.order-details {
  padding: 0.85rem 0.95rem;
  border-radius: 22px;
  border: 1px solid rgba(17, 19, 21, 0.08);
  background: rgba(17, 19, 21, 0.03);
}

.order-meta-grid span,
.order-details span,
.order-row span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.single-layout {
  display: grid;
  gap: 1rem;
}

.auth-layout {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: start;
}

.auth-showcase {
  min-height: 100%;
  display: grid;
  gap: 1rem;
  background:
    radial-gradient(circle at top right, rgba(247, 190, 75, 0.18), transparent 24%),
    linear-gradient(180deg, #121416 0%, #1b1f22 100%);
  color: #fff;
}

.auth-showcase p,
.auth-showcase span,
.auth-showcase li {
  color: rgba(255, 255, 255, 0.72);
}

.auth-showcase .card-label {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.08);
}

.auth-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.auth-metric {
  padding: 0.95rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
}

.auth-metric strong {
  display: block;
  font-family: "Manrope", sans-serif;
  margin-bottom: 0.22rem;
}

.helper-card {
  background:
    radial-gradient(circle at top right, rgba(247, 190, 75, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 244, 236, 0.98));
}

.mobile-bar {
  position: fixed;
  left: 50%;
  bottom: 0.85rem;
  z-index: 40;
  width: min(760px, calc(100% - 1rem));
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 24px;
  background: rgba(18, 22, 25, 0.92);
  color: #fff;
  box-shadow: 0 26px 40px rgba(18, 22, 25, 0.24);
  backdrop-filter: blur(18px);
}

.mobile-bar span {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
}

.mobile-bar strong {
  display: block;
  margin-top: 0.14rem;
  font-family: "Manrope", sans-serif;
  font-size: 1.06rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: revealUp 620ms ease forwards;
}

.delay-1 {
  animation-delay: 90ms;
}

.delay-2 {
  animation-delay: 180ms;
}

.delay-3 {
  animation-delay: 270ms;
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1180px) {
  .page-hero,
  .hero-grid,
  .landing-band-grid,
  .auth-layout,
  .booking-layout,
  .checkout-layout,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .package-grid,
  .extra-grid,
  .payment-grid,
  .shops-grid,
  .metrics-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .site-header {
    padding: 0.85rem;
  }

  .feature-grid,
  .mini-metrics-grid,
  .landing-metrics,
  .hero-panel-metrics,
  .order-meta-grid,
  .review-grid,
  .auth-showcase-grid,
  .metrics-strip {
    grid-template-columns: 1fr 1fr;
  }

  .service-grid,
  .package-grid,
  .extra-grid,
  .payment-grid,
  .slot-grid,
  .shops-grid,
  .compact-field-row {
    grid-template-columns: 1fr 1fr;
  }

  .sticky-card {
    position: static;
  }

  .dashboard-side {
    order: -1;
  }

  .donut-wrap {
    width: min(280px, 100%);
  }
}

@media (max-width: 720px) {
  .page-shell {
    padding-bottom: 3.25rem;
  }

  .page-wrap {
    width: min(100%, calc(100% - 0.75rem));
  }

  .site-header,
  .header-actions,
  .hero-actions,
  .action-row,
  .topbar-actions {
    align-items: stretch;
  }

  .site-header {
    border-radius: 28px;
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    padding: 0.85rem;
  }

  .brand {
    align-items: center;
    width: 100%;
    gap: 0.8rem;
  }

  .brand-mark {
    width: 60px;
    height: 60px;
    flex-basis: 60px;
    border-radius: 20px;
  }

  .brand-copy {
    gap: 0.1rem;
  }

  .brand-copy strong {
    font-size: 1rem;
  }

  .brand-copy span {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .header-actions,
  .topbar-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
  }

  .header-actions > *,
  .topbar-actions > *,
  .hero-actions > *,
  .action-row > * {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero-grid,
  .page-hero,
  .landing-band,
  .card,
  .helper-card,
  .summary-panel,
  .auth-showcase {
    padding: 1.1rem;
  }

  .page-hero h1,
  .hero-copy h1 {
    font-size: clamp(1.9rem, 9vw, 3rem);
  }

  .page-hero h1.headline-compact,
  .hero-copy h1.headline-compact {
    max-width: none;
  }

  .booking-layout,
  .checkout-layout {
    gap: 0.9rem;
  }

  .summary-sidebar {
    order: -1;
  }

  .landing-metrics,
  .hero-panel-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mini-metrics-grid,
  .service-grid,
  .package-grid,
  .extra-grid,
  .payment-grid,
  .review-grid,
  .slot-grid,
  .order-meta-grid,
  .auth-showcase-grid,
  .shops-grid,
  .metrics-strip,
  .compact-field-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .bundle-card,
  .payment-card,
  .feature-card,
  .feature-card-dark,
  .review-card,
  .landing-hero-card,
  .preview-ticket {
    min-height: auto;
  }

  .service-card,
  .bundle-card,
  .payment-card {
    padding: 0.95rem;
  }

  .captcha-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-inline-note,
  .page-copy,
  .lead-text,
  .section-note,
  .status-note,
  .subtle-note {
    font-size: 0.95rem;
    line-height: 1.75;
  }

  .small-button,
  .site-header .user-pill {
    min-height: 44px;
  }

  .dashboard-grid,
  .dashboard-stack,
  .dashboard-main,
  .dashboard-side,
  .admin-service-list,
  .admin-shop-list,
  .chart-shell {
    gap: 0.85rem;
  }

  .admin-service-card,
  .admin-shop-item,
  .metric-card {
    padding: 0.9rem;
    border-radius: 22px;
  }

  .admin-service-header {
    flex-direction: column;
    align-items: stretch;
    gap: 0.7rem;
  }

  .admin-service-header .meta-badge {
    align-self: flex-start;
  }

  .chart-legend li {
    align-items: flex-start;
    gap: 0.55rem;
  }

  .mobile-bar {
    display: none;
  }
}

@media (max-width: 520px) {
  .page-shell {
    padding-top: 0.65rem;
    padding-bottom: 2.5rem;
  }

  .page-wrap {
    width: min(100%, calc(100% - 0.35rem));
  }

  .site-header {
    border-radius: 22px;
    padding: 0.8rem;
  }

  .brand {
    align-items: center;
  }

  .header-actions,
  .topbar-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .header-actions .user-pill,
  .topbar-actions .primary-button {
    grid-column: 1 / -1;
  }

  .hero-actions,
  .action-row {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .chip-row,
  .pill-row,
  .note-pills,
  .base-service-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  .chip-row > *,
  .pill-row > *,
  .note-pills > *,
  .base-service-meta > * {
    width: auto;
  }

  .preview-line,
  .service-card-header,
  .bundle-card-header,
  .payment-card-header,
  .order-row,
  .summary-line,
  .review-line,
  .base-service-top,
  .service-card-footer,
  .bundle-footer,
  .payment-footer,
  .summary-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .base-service-top {
    align-items: flex-start;
  }

  .captcha-head {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .preview-line .card-price,
  .service-card-header .meta-badge,
  .bundle-card-header .meta-badge,
  .payment-card-header .meta-badge,
  .service-card-footer .card-price,
  .service-card-footer .eta-badge,
  .bundle-footer > *,
  .payment-footer > *,
  .summary-footer > * {
    align-self: auto;
  }

  .hero-actions > *,
  .action-row > * {
    width: auto;
    flex: 1 1 180px;
  }

  .landing-metrics,
  .hero-panel-metrics,
  .mini-metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-metrics > :last-child:nth-child(odd),
  .hero-panel-metrics > :last-child:nth-child(odd),
  .mini-metrics-grid > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .page-hero,
  .card,
  .summary-panel {
    border-radius: 20px;
    padding: 1rem;
  }

  .header-actions {
    grid-template-columns: 1fr;
  }

  .header-actions .ghost-button,
  .header-actions .top-link,
  .header-actions .user-pill {
    grid-column: auto;
  }

  .metrics-strip {
    grid-template-columns: 1fr;
  }

  .dashboard-side {
    order: -1;
  }

  .donut-wrap {
    width: min(250px, 100%);
  }

  .donut-hole {
    inset: 19%;
  }

  .donut-center {
    padding: 1.6rem;
  }

  .donut-center strong {
    font-size: 1.18rem;
  }

  .donut-center small,
  .donut-center span {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .chart-legend {
    gap: 0.55rem;
  }

  .chart-legend li {
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
    padding: 0.75rem 0.85rem;
    border-radius: 18px;
  }

  .legend-value {
    font-size: 0.92rem;
  }

  .admin-service-meta,
  .note-pills {
    gap: 0.45rem;
  }

  .admin-service-card strong,
  .admin-shop-item strong,
  .metric-card strong {
    overflow-wrap: anywhere;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .package-grid,
  .extra-grid,
  .payment-grid,
  .review-grid,
  .slot-grid,
  .order-meta-grid,
  .auth-showcase-grid,
  .shops-grid,
  .metrics-strip,
  .compact-field-row {
    grid-template-columns: 1fr;
  }

  .extra-card {
    grid-template-columns: 1fr;
  }

  .service-card,
  .bundle-card,
  .payment-card,
  .feature-card,
  .feature-card-dark,
  .review-card {
    min-height: auto;
  }

  .mobile-bar {
    display: none;
  }

  .field input,
  .field select,
  .primary-button,
  .secondary-button,
  .ghost-button,
  .top-link {
    width: 100%;
  }

  .hero-actions .primary-button,
  .hero-actions .secondary-button,
  .hero-actions .ghost-button,
  .hero-actions .top-link,
  .action-row .primary-button,
  .action-row .secondary-button,
  .action-row .ghost-button,
  .action-row .top-link {
    width: auto;
  }
}
