:root {
  --bg: #080a0f;
  --bg-soft: #0d1016;
  --panel: rgba(25, 28, 37, 0.88);
  --panel-strong: rgba(29, 33, 43, 0.98);
  --panel-light: rgba(40, 44, 55, 0.82);
  --line: rgba(255, 255, 255, 0.095);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f6f3f7;
  --muted: #aba7b2;
  --muted-2: #777680;
  --pink: #f26fa9;
  --pink-bright: #ff8cbc;
  --pink-deep: #b91f61;
  --purple: #9f6bff;
  --gold: #e8bd6b;
  --green: #82d59a;
  --danger: #ff6d8f;
  --shadow: 0 18px 55px rgba(0, 0, 0, 0.35);
  --radius-xl: 22px;
  --radius-lg: 17px;
  --radius-md: 13px;
  --sidebar: 248px;
  --checkout: 372px;
  --topbar: 76px;
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 14%, rgba(190, 44, 112, 0.11), transparent 27%),
    radial-gradient(circle at 88% 2%, rgba(123, 80, 196, 0.08), transparent 31%),
    linear-gradient(145deg, #07090d 0%, #0b0e13 48%, #090b10 100%);
}

body.locked {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  color: inherit;
}

button:not(:disabled) {
  cursor: pointer;
}

button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--pink-bright);
  outline-offset: 3px;
}

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

svg {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.ambient {
  position: fixed;
  z-index: 0;
  border-radius: 999px;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.22;
}

.ambient-one {
  width: 460px;
  height: 460px;
  left: 9vw;
  bottom: -250px;
  background: rgba(231, 56, 131, 0.42);
  animation: ambientFloat 14s ease-in-out infinite alternate;
}

.ambient-two {
  width: 380px;
  height: 380px;
  right: 17vw;
  top: -220px;
  background: rgba(113, 68, 205, 0.28);
  animation: ambientFloat 18s ease-in-out infinite alternate-reverse;
}

.app-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: var(--sidebar) minmax(620px, 1fr) var(--checkout);
  grid-template-rows: var(--topbar) minmax(calc(100vh - var(--topbar)), auto);
  grid-template-areas:
    "sidebar topbar topbar"
    "sidebar main checkout";
  min-height: 100vh;
}

.panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.035), transparent 38%),
    linear-gradient(160deg, rgba(29, 33, 43, 0.93), rgba(18, 21, 28, 0.95));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 16px 45px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
}

.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(118deg, transparent 20%, rgba(255, 255, 255, 0.035) 47%, transparent 66%);
  opacity: 0.55;
  mask-image: linear-gradient(to bottom, #000, transparent 68%);
}

.eyebrow {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow.pink {
  color: var(--pink);
}

/* Sidebar */
.sidebar {
  grid-area: sidebar;
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  min-height: 100vh;
  height: 100vh;
  flex-direction: column;
  overflow: hidden auto;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(circle at 80% 73%, rgba(244, 75, 148, 0.13), transparent 26%),
    linear-gradient(180deg, rgba(11, 13, 18, 0.99), rgba(9, 11, 16, 0.985));
  box-shadow: 20px 0 50px rgba(0, 0, 0, 0.18);
}

.sidebar::before,
.sidebar::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.sidebar::before {
  inset: 38% -20% 0 8%;
  opacity: 0.55;
  background:
    radial-gradient(circle at 10% 8%, rgba(255, 131, 182, 0.75) 0 1px, transparent 2px),
    radial-gradient(circle at 67% 16%, rgba(255, 147, 190, 0.75) 0 1.5px, transparent 2.8px),
    radial-gradient(circle at 33% 47%, rgba(255, 118, 175, 0.48) 0 1px, transparent 2px),
    radial-gradient(circle at 82% 60%, rgba(255, 214, 232, 0.55) 0 1px, transparent 2.2px),
    radial-gradient(circle at 24% 88%, rgba(255, 118, 175, 0.55) 0 1.5px, transparent 3px),
    conic-gradient(from 135deg at 45% 55%, transparent, rgba(231, 63, 139, 0.1), transparent 42%);
  filter: blur(0.1px);
}

.sidebar::after {
  width: 250px;
  height: 250px;
  right: -120px;
  bottom: 105px;
  border: 1px solid rgba(243, 89, 153, 0.1);
  border-radius: 45% 55% 66% 34% / 56% 41% 59% 44%;
  box-shadow:
    -28px -18px 42px rgba(234, 69, 139, 0.08),
    inset 18px 4px 35px rgba(223, 73, 145, 0.08);
  transform: rotate(-22deg);
}

.brand {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 132px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 18px 17px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.brand-lotus {
  width: 54px;
  height: 54px;
  color: var(--pink-bright);
  filter: drop-shadow(0 0 10px rgba(242, 111, 169, 0.38));
}

.brand-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand-script {
  color: #f3a1c6;
  font-family: "Segoe Script", "Brush Script MT", cursive;
  font-size: 1.85rem;
  line-height: 1;
  text-shadow: 0 0 18px rgba(242, 111, 169, 0.3);
}

.brand-subtitle {
  margin-top: 8px;
  color: #f3a1c6;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.34em;
}

.nav-list {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 7px;
  padding: 18px 10px;
}

.nav-item {
  position: relative;
  display: grid;
  min-height: 52px;
  grid-template-columns: 35px 1fr;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #d8d5dc;
  background: transparent;
  text-align: left;
  transition: 180ms ease;
  transition-property: transform, border-color, background, color, box-shadow;
}

.nav-item svg {
  width: 25px;
  height: 25px;
  color: #e3e0e7;
}

.nav-item span {
  font-size: 0.96rem;
  font-weight: 560;
}

.nav-item:hover {
  transform: translateX(3px);
  border-color: rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.035);
  color: white;
}

.nav-item.active {
  border-color: rgba(244, 112, 171, 0.3);
  color: #fff;
  background:
    radial-gradient(circle at 92% 50%, rgba(255, 157, 198, 0.34) 0 1px, transparent 8px),
    linear-gradient(90deg, rgba(163, 47, 98, 0.27), rgba(242, 111, 169, 0.12));
  box-shadow:
    inset 0 0 18px rgba(242, 111, 169, 0.1),
    0 0 18px rgba(209, 62, 124, 0.12);
}

.nav-item.active::after {
  content: "";
  position: absolute;
  left: -11px;
  top: 13px;
  width: 3px;
  height: 26px;
  border-radius: 4px;
  background: linear-gradient(var(--pink-bright), var(--pink-deep));
  box-shadow: 0 0 14px var(--pink);
}

.nav-item.active svg {
  color: var(--pink-bright);
  filter: drop-shadow(0 0 6px rgba(242, 111, 169, 0.5));
}

.loyalty-card {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 7px 12px;
  margin: auto 12px 18px;
  padding: 15px;
  overflow: hidden;
  border: 1px solid rgba(242, 111, 169, 0.18);
  border-radius: 17px;
  background:
    radial-gradient(circle at 86% 15%, rgba(232, 190, 107, 0.1), transparent 23%),
    linear-gradient(145deg, rgba(41, 31, 42, 0.9), rgba(26, 23, 33, 0.93));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.26);
}

.loyalty-card::before {
  content: "";
  position: absolute;
  inset: auto -24px -52px auto;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(244, 112, 171, 0.15);
  border-radius: 50%;
  box-shadow: 0 0 45px rgba(236, 80, 148, 0.12);
}

.loyalty-crown {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(232, 189, 107, 0.26);
  border-radius: 50%;
  color: var(--gold);
  background: rgba(232, 189, 107, 0.08);
  box-shadow: 0 0 20px rgba(232, 189, 107, 0.12);
}

.loyalty-crown svg {
  width: 26px;
  height: 26px;
}

.loyalty-card strong {
  display: block;
  color: var(--gold);
  font-size: 0.92rem;
}

.loyalty-points {
  grid-column: 1 / -1;
  color: var(--pink-bright);
  font-size: 1.55rem;
  font-weight: 760;
  text-align: center;
}

.loyalty-points small {
  font-size: 0.78rem;
  font-weight: 600;
}

.loyalty-card p {
  grid-column: 1 / -1;
  margin: -2px 0 6px;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

.secondary-button,
.compact-button {
  position: relative;
  z-index: 1;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition: 160ms ease;
}

.secondary-button:hover,
.compact-button:hover {
  border-color: rgba(242, 111, 169, 0.45);
  background: rgba(242, 111, 169, 0.1);
  transform: translateY(-1px);
}

.secondary-button {
  grid-column: 1 / -1;
  min-height: 34px;
  font-size: 0.78rem;
}

/* Topbar */
.topbar {
  grid-area: topbar;
  position: sticky;
  top: 0;
  z-index: 25;
  display: flex;
  height: var(--topbar);
  align-items: center;
  gap: 18px;
  padding: 10px 18px 10px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  background: rgba(10, 12, 17, 0.82);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.13);
  backdrop-filter: blur(22px) saturate(135%);
}

.search-box {
  display: flex;
  width: min(450px, 44vw);
  height: 48px;
  align-items: center;
  gap: 11px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(24, 27, 35, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 10px 28px rgba(0, 0, 0, 0.14);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.search-box:focus-within {
  border-color: rgba(242, 111, 169, 0.5);
  box-shadow: 0 0 0 4px rgba(242, 111, 169, 0.08), 0 14px 30px rgba(0, 0, 0, 0.2);
}

.search-box > svg {
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
  color: var(--muted);
}

.search-box input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font-size: 0.88rem;
}

.search-box input::placeholder {
  color: #85828d;
}

.search-box kbd {
  display: inline-grid;
  min-width: 37px;
  height: 27px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.72rem;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.05);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.icon-button {
  position: relative;
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #d8d6dc;
  background: transparent;
  transition: 160ms ease;
}

.icon-button:hover {
  border-color: var(--line);
  color: white;
  background: rgba(255, 255, 255, 0.045);
}

.icon-button svg {
  width: 23px;
  height: 23px;
}

.notification-badge {
  position: absolute;
  top: 1px;
  right: 0;
  display: grid;
  min-width: 19px;
  height: 19px;
  place-items: center;
  padding: 0 4px;
  border: 2px solid #0e1117;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, var(--pink-bright), var(--pink-deep));
  font-size: 0.65rem;
  font-weight: 800;
  box-shadow: 0 0 13px rgba(242, 111, 169, 0.4);
}

.profile-button {
  display: grid;
  grid-template-columns: 42px auto 20px;
  align-items: center;
  gap: 10px;
  min-width: 190px;
  padding: 6px 8px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: transparent;
  text-align: left;
  transition: 160ms ease;
}

.profile-button:hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.profile-button img {
  width: 42px;
  height: 42px;
  border: 2px solid rgba(242, 111, 169, 0.5);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 17px rgba(242, 111, 169, 0.17);
}

.profile-button span {
  display: grid;
  gap: 3px;
}

.profile-button strong {
  font-size: 0.86rem;
}

.profile-button small {
  color: var(--muted);
  font-size: 0.72rem;
}

.profile-button > svg {
  color: var(--muted);
}

.mobile-menu-button {
  display: none;
}

/* Main */
.main-content {
  grid-area: main;
  min-width: 0;
  padding: 12px 10px 34px 20px;
}

.info-grid {
  display: grid;
  grid-template-columns: minmax(340px, 1fr) minmax(370px, 1.12fr);
  gap: 12px;
}

.customer-card,
.appointment-card {
  min-height: 110px;
}

.customer-card {
  display: grid;
  grid-template-columns: 60px minmax(160px, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
}

.avatar-ring {
  position: relative;
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border: 1px solid rgba(242, 111, 169, 0.55);
  border-radius: 50%;
  background: rgba(242, 111, 169, 0.08);
  box-shadow: 0 0 24px rgba(242, 111, 169, 0.22);
}

.avatar-ring::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(242, 111, 169, 0.12);
  border-radius: 50%;
}

.avatar-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.customer-details {
  min-width: 0;
}

.title-line {
  display: flex;
  align-items: center;
  gap: 9px;
}

.title-line h2,
.cart-header h2,
.mini-heading h2,
.section-heading h1 {
  margin: 0;
  letter-spacing: -0.025em;
}

.title-line h2 {
  font-size: 1rem;
}

.customer-details p {
  margin: 5px 0 0;
  overflow: hidden;
  color: #c2bec8;
  font-size: 0.76rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vip-chip {
  display: inline-flex;
  align-items: center;
  height: 21px;
  padding: 0 8px;
  border: 1px solid rgba(232, 189, 107, 0.22);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(232, 189, 107, 0.1);
  font-size: 0.61rem;
  font-weight: 800;
}

.loyalty-summary {
  display: grid;
  align-content: center;
  justify-items: end;
  gap: 4px;
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.loyalty-summary span {
  color: var(--muted);
  font-size: 0.72rem;
}

.loyalty-summary strong {
  margin-bottom: 6px;
  color: var(--pink-bright);
  font-size: 1.12rem;
  text-shadow: 0 0 14px rgba(242, 111, 169, 0.22);
}

.compact-button {
  min-height: 31px;
  padding: 0 12px;
  font-size: 0.72rem;
}

.appointment-card {
  display: grid;
  grid-template-columns: 1.12fr 0.82fr auto;
  grid-template-rows: 48px 42px;
  align-items: center;
  gap: 7px 12px;
  padding: 11px 13px;
}

.appointment-date,
.appointment-time {
  display: flex;
  align-items: center;
  gap: 10px;
}

.appointment-date > div:last-child,
.appointment-time {
  display: grid;
  gap: 4px;
}

.appointment-date strong,
.appointment-time strong {
  font-size: 0.86rem;
}

.appointment-date span,
.appointment-time span {
  color: var(--muted);
  font-size: 0.7rem;
}

.appointment-time {
  padding-left: 15px;
  border-left: 1px solid var(--line);
}

.square-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(242, 111, 169, 0.22);
  border-radius: 11px;
  color: var(--pink-bright);
  background: rgba(242, 111, 169, 0.08);
}

.square-icon svg {
  width: 20px;
  height: 20px;
}

.staff-select {
  grid-column: 1 / 3;
  display: grid;
  width: 100%;
  grid-template-columns: 36px 1fr 19px;
  align-items: center;
  gap: 9px;
  padding: 4px 10px 4px 5px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.035);
  text-align: left;
  transition: 160ms ease;
}

.staff-select:hover {
  border-color: rgba(242, 111, 169, 0.35);
  background: rgba(242, 111, 169, 0.07);
}

.staff-select img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.staff-select span {
  display: grid;
  gap: 2px;
}

.staff-select strong {
  font-size: 0.76rem;
}

.staff-select small {
  color: var(--muted);
  font-size: 0.64rem;
}

.staff-select > svg {
  color: var(--muted);
}

.services-section {
  margin-top: 24px;
}

.section-heading,
.mini-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.section-heading {
  margin-bottom: 13px;
}

.section-heading h1 {
  font-size: 1.12rem;
}

.ghost-link,
.text-button,
.clear-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--pink);
  background: transparent;
  font-size: 0.74rem;
  transition: color 160ms ease, transform 160ms ease;
}

.ghost-link:hover,
.text-button:hover,
.clear-button:hover {
  color: var(--pink-bright);
  transform: translateX(2px);
}

.ghost-link svg {
  width: 16px;
  height: 16px;
}

.service-tabs {
  display: flex;
  gap: 7px;
  margin-bottom: 13px;
  overflow-x: auto;
  scrollbar-width: none;
}

.service-tabs::-webkit-scrollbar {
  display: none;
}

.tab-button {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #c3c0c8;
  background: transparent;
  font-size: 0.73rem;
  transition: 160ms ease;
}

.tab-button:hover {
  color: white;
  background: rgba(255, 255, 255, 0.045);
}

.tab-button.active {
  border-color: rgba(242, 111, 169, 0.34);
  color: var(--pink-bright);
  background: linear-gradient(180deg, rgba(242, 111, 169, 0.12), rgba(242, 111, 169, 0.06));
  box-shadow: inset 0 0 18px rgba(242, 111, 169, 0.06), 0 0 18px rgba(242, 111, 169, 0.05);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.service-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(155deg, #21252e, #181b22);
  box-shadow: 0 13px 30px rgba(0, 0, 0, 0.2);
  transform: translateZ(0);
  transition: 190ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-property: transform, border-color, box-shadow;
}

.service-card::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 18%, rgba(255, 255, 255, 0.08) 42%, transparent 65%);
  opacity: 0;
  transform: translateX(-60%);
  transition: opacity 180ms ease, transform 460ms ease;
}

.service-card:hover {
  z-index: 2;
  border-color: rgba(242, 111, 169, 0.3);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.32), 0 0 25px rgba(242, 111, 169, 0.08);
  transform: translateY(-5px);
}

.service-card:hover::before {
  opacity: 1;
  transform: translateX(70%);
}

.service-card.selected {
  border-color: rgba(255, 126, 182, 0.84);
  box-shadow:
    0 0 0 1px rgba(242, 111, 169, 0.18),
    0 0 26px rgba(242, 111, 169, 0.18),
    0 18px 34px rgba(0, 0, 0, 0.25);
}

.service-card.selected::after {
  content: "✓";
  position: absolute;
  z-index: 4;
  top: 10px;
  right: 10px;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--pink-bright), var(--pink-deep));
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: 0 0 18px rgba(242, 111, 169, 0.45);
}

.service-image {
  position: relative;
  aspect-ratio: 1.42 / 1;
  overflow: hidden;
  background: #2b2e36;
}

.service-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 16, 21, 0.23), transparent 46%);
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease, filter 300ms ease;
}

.service-card:hover .service-image img {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.055);
}

.service-card-body {
  display: grid;
  min-height: 94px;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "name name"
    "duration duration"
    "price action";
  align-items: center;
  gap: 4px 8px;
  padding: 10px 10px 9px;
}

.service-name {
  grid-area: name;
  overflow: hidden;
  font-size: 0.82rem;
  font-weight: 690;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-duration {
  grid-area: duration;
  color: var(--muted);
  font-size: 0.7rem;
}

.service-price {
  grid-area: price;
  margin-top: 6px;
  font-size: 0.84rem;
  font-weight: 740;
}

.card-action {
  grid-area: action;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 4px;
}

.circle-button {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 50%;
  color: white;
  background: rgba(255, 255, 255, 0.025);
  transition: 160ms ease;
}

.circle-button:hover {
  border-color: var(--pink-bright);
  color: var(--pink-bright);
  background: rgba(242, 111, 169, 0.1);
  box-shadow: 0 0 16px rgba(242, 111, 169, 0.18);
  transform: rotate(90deg);
}

.circle-button svg {
  width: 16px;
  height: 16px;
}

.quantity-control {
  display: inline-grid;
  min-width: 78px;
  height: 31px;
  grid-template-columns: 28px 22px 28px;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(9, 11, 15, 0.42);
}

.quantity-control button {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: #d8d4dc;
  background: transparent;
  transition: color 150ms ease, background 150ms ease;
}

.quantity-control button:hover {
  color: var(--pink-bright);
  background: rgba(242, 111, 169, 0.08);
}

.quantity-control svg {
  width: 13px;
  height: 13px;
}

.quantity-control b {
  font-size: 0.72rem;
  text-align: center;
}

.empty-state {
  display: grid;
  min-height: 290px;
  place-items: center;
  align-content: center;
  gap: 8px;
  border: 1px dashed var(--line-strong);
  border-radius: 16px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
}

.empty-state[hidden] {
  display: none;
}

.empty-state svg {
  width: 36px;
  height: 36px;
  margin-bottom: 6px;
  color: var(--pink);
}

.empty-state strong {
  color: var(--text);
}

.empty-state span {
  font-size: 0.78rem;
}

.addons-panel {
  margin-top: 14px;
  padding: 12px;
}

.mini-heading {
  align-items: center;
  margin-bottom: 10px;
}

.mini-heading h2 {
  font-size: 0.9rem;
}

.round-arrow {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  transition: 160ms ease;
}

.round-arrow:hover {
  border-color: rgba(242, 111, 169, 0.35);
  color: var(--pink-bright);
  transform: translateX(2px);
}

.round-arrow svg {
  width: 16px;
  height: 16px;
}

.addons-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.addon-item {
  display: grid;
  min-width: 0;
  grid-template-columns: 38px 1fr 29px;
  align-items: center;
  gap: 8px;
  min-height: 54px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.035);
  transition: 160ms ease;
}

.addon-item:hover {
  border-color: rgba(242, 111, 169, 0.28);
  background: rgba(242, 111, 169, 0.06);
  transform: translateY(-2px);
}

.addon-icon {
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  border: 1px solid rgba(242, 111, 169, 0.25);
  border-radius: 10px;
  color: #25121b;
  background: linear-gradient(145deg, #f5b0cb, #ca6c98);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.addon-icon svg {
  width: 19px;
  height: 19px;
}

.addon-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.addon-copy strong {
  overflow: hidden;
  font-size: 0.7rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.addon-add {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--muted);
  background: transparent;
  transition: 150ms ease;
}

.addon-add:hover {
  border-color: var(--pink-bright);
  color: var(--pink-bright);
  transform: rotate(90deg);
}

.addon-add svg {
  width: 14px;
  height: 14px;
}

.bottom-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.transactions-panel,
.quick-panel {
  min-width: 0;
  padding: 12px;
}

.transactions-table {
  display: grid;
  gap: 1px;
}

.transaction-row {
  display: grid;
  min-width: 0;
  grid-template-columns: 59px minmax(120px, 1.25fr) minmax(105px, 1fr) 62px 66px;
  align-items: center;
  min-height: 34px;
  gap: 8px;
  padding: 0 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.045);
  color: #b7b4bd;
  font-size: 0.63rem;
}

.transaction-row:first-child {
  border-top-color: var(--line);
}

.transaction-row > span:first-child {
  color: #e2dfe5;
  font-weight: 650;
}

.transaction-client {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
  overflow: hidden;
  color: #eeeaf0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.transaction-client i {
  display: grid;
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(242, 111, 169, 0.18);
  border-radius: 50%;
  color: var(--pink-bright);
  background: rgba(242, 111, 169, 0.08);
  font-style: normal;
  font-size: 0.58rem;
}

.transaction-row strong {
  color: white;
  font-size: 0.63rem;
}

.transaction-row em {
  color: var(--green);
  font-style: normal;
  font-weight: 650;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.quick-actions button {
  display: grid;
  min-height: 102px;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 8px 5px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #e2dfe5;
  background: linear-gradient(145deg, rgba(75, 49, 70, 0.58), rgba(36, 34, 43, 0.72));
  font-size: 0.65rem;
  line-height: 1.25;
  text-align: center;
  transition: 170ms ease;
}

.quick-actions button:nth-child(3) {
  background: linear-gradient(145deg, rgba(80, 64, 44, 0.58), rgba(39, 35, 36, 0.72));
}

.quick-actions button:hover {
  z-index: 2;
  border-color: rgba(242, 111, 169, 0.32);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.22), 0 0 18px rgba(242, 111, 169, 0.07);
  transform: translateY(-3px);
}

.quick-actions button > span {
  display: grid;
  width: 41px;
  height: 41px;
  place-items: center;
  border-radius: 12px;
  color: var(--pink-bright);
  background: rgba(242, 111, 169, 0.07);
}

.quick-actions button:nth-child(3) > span {
  color: var(--gold);
  background: rgba(232, 189, 107, 0.07);
}

.quick-actions svg {
  width: 25px;
  height: 25px;
}

/* Checkout */
.checkout {
  grid-area: checkout;
  min-width: 0;
  padding: 12px 14px 30px 10px;
}

.cart-panel {
  padding: 14px 12px 13px;
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

.cart-header h2 {
  font-size: 1.04rem;
}

.cart-header h2 span {
  color: var(--muted);
  font-weight: 600;
}

.clear-button {
  flex: 0 0 auto;
}

.clear-button svg {
  width: 17px;
  height: 17px;
}

.cart-header-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.drawer-close {
  display: none;
  width: 33px;
  height: 33px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
}

.drawer-close:hover {
  border-color: rgba(242, 111, 169, 0.36);
  color: var(--pink-bright);
}

.drawer-close svg {
  width: 16px;
  height: 16px;
}

.cart-list {
  display: grid;
  max-height: 328px;
  overflow: auto;
  scrollbar-color: rgba(242, 111, 169, 0.28) transparent;
  scrollbar-width: thin;
}

.cart-item {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 70px 62px 20px;
  align-items: center;
  gap: 8px;
  min-height: 77px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
}

.cart-thumb {
  display: grid;
  width: 56px;
  height: 52px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
}

.cart-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-thumb svg {
  width: 25px;
  height: 25px;
  color: var(--pink);
}

.cart-item-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.cart-item-copy strong {
  overflow: hidden;
  font-size: 0.76rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-item-copy span {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.65rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-qty {
  display: grid;
  height: 32px;
  grid-template-columns: 22px 1fr 22px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #ece8ee;
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.7rem;
  transition: 160ms ease;
}

.cart-qty:hover {
  border-color: rgba(242, 111, 169, 0.32);
}

.cart-qty button {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: var(--muted);
  background: transparent;
  transition: 150ms ease;
}

.cart-qty button:hover {
  color: var(--pink-bright);
  background: rgba(242, 111, 169, 0.08);
}

.cart-qty svg {
  width: 11px;
  height: 11px;
}

.cart-qty b {
  font-size: 0.66rem;
}

.cart-price {
  font-size: 0.74rem;
  text-align: right;
}

.remove-item {
  display: grid;
  width: 20px;
  height: 26px;
  place-items: center;
  color: #aaa7af;
  background: transparent;
  transition: 150ms ease;
}

.remove-item:hover {
  color: var(--danger);
  transform: rotate(90deg);
}

.remove-item svg {
  width: 15px;
  height: 15px;
}

.cart-empty {
  display: grid;
  min-height: 250px;
  place-items: center;
  align-content: center;
  gap: 7px;
  color: var(--muted);
  text-align: center;
}

.cart-empty[hidden] {
  display: none;
}

.cart-empty > span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 4px;
  border: 1px solid rgba(242, 111, 169, 0.2);
  border-radius: 17px;
  color: var(--pink);
  background: rgba(242, 111, 169, 0.06);
}

.cart-empty svg {
  width: 28px;
  height: 28px;
}

.cart-empty strong {
  color: var(--text);
  font-size: 0.82rem;
}

.cart-empty p {
  margin: 0;
  font-size: 0.7rem;
}

.totals {
  display: grid;
  gap: 8px;
  padding-top: 13px;
}

.totals > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #c1bdc6;
  font-size: 0.74rem;
}

.totals strong {
  color: #f0edf2;
  font-size: 0.76rem;
}

.discount-row > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.discount-row button {
  display: inline-flex;
  height: 24px;
  align-items: center;
  gap: 5px;
  padding: 0 7px;
  border: 1px solid rgba(242, 111, 169, 0.18);
  border-radius: 999px;
  color: var(--pink-bright);
  background: rgba(242, 111, 169, 0.1);
}

.discount-row button.off {
  border-color: var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  filter: saturate(0.4);
}

.discount-row button svg {
  width: 13px;
  height: 13px;
}

.discount-row button b {
  font-size: 0.61rem;
}

.grand-total {
  margin-top: 2px;
  padding-top: 12px;
  border-top: 1px solid rgba(242, 111, 169, 0.34);
}

.grand-total span {
  color: white;
  font-size: 1rem;
  font-weight: 700;
}

.grand-total strong {
  color: var(--pink-bright);
  font-size: 1.46rem;
  text-shadow: 0 0 18px rgba(242, 111, 169, 0.22);
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.payment-methods button {
  display: grid;
  min-height: 81px;
  place-items: center;
  align-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: #ddd9e1;
  background: linear-gradient(145deg, rgba(45, 55, 49, 0.7), rgba(29, 36, 32, 0.75));
  font-size: 0.7rem;
  transition: 170ms ease;
}

.payment-methods button:nth-child(2) {
  background: linear-gradient(145deg, rgba(78, 43, 75, 0.7), rgba(46, 31, 50, 0.78));
}

.payment-methods button:nth-child(3) {
  background: linear-gradient(145deg, rgba(78, 63, 39, 0.72), rgba(48, 40, 31, 0.78));
}

.payment-methods button:hover {
  transform: translateY(-2px);
}

.payment-methods button.selected {
  border-color: rgba(255, 132, 186, 0.75);
  box-shadow: 0 0 0 1px rgba(242, 111, 169, 0.18), 0 0 24px rgba(242, 111, 169, 0.17);
}

.payment-methods button:first-child.selected {
  border-color: rgba(130, 213, 154, 0.64);
  box-shadow: 0 0 0 1px rgba(130, 213, 154, 0.15), 0 0 22px rgba(130, 213, 154, 0.12);
}

.payment-methods button:nth-child(3).selected {
  border-color: rgba(232, 189, 107, 0.7);
  box-shadow: 0 0 0 1px rgba(232, 189, 107, 0.15), 0 0 22px rgba(232, 189, 107, 0.12);
}

.payment-methods svg {
  width: 28px;
  height: 28px;
}

.payment-methods button:first-child svg {
  color: var(--green);
}

.payment-methods button:nth-child(2) svg {
  color: #bc8cff;
}

.payment-methods button:nth-child(3) svg {
  color: var(--gold);
}

.charge-button {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 13px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 10px;
  color: white;
  background: linear-gradient(125deg, #f35e9f, #be286a 58%, #a81754);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    0 13px 27px rgba(189, 33, 97, 0.25),
    0 0 24px rgba(242, 111, 169, 0.12);
  font-size: 0.94rem;
  transition: transform 170ms ease, box-shadow 170ms ease, filter 170ms ease;
}

.charge-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.23), transparent 68%);
  transform: translateX(-110%);
  animation: buttonShine 4.8s ease-in-out infinite;
}

.charge-button:hover:not(:disabled) {
  filter: brightness(1.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    0 16px 34px rgba(189, 33, 97, 0.32),
    0 0 32px rgba(242, 111, 169, 0.2);
  transform: translateY(-2px);
}

.charge-button:active:not(:disabled) {
  transform: translateY(0) scale(0.99);
}

.charge-button:disabled {
  cursor: not-allowed;
  filter: saturate(0.25) brightness(0.65);
  box-shadow: none;
}

.charge-button span,
.charge-button strong {
  position: relative;
  z-index: 1;
}

.upsell-panel {
  margin-top: 12px;
  padding: 12px;
}

.products-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.product-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: linear-gradient(155deg, rgba(38, 37, 40, 0.9), rgba(24, 25, 30, 0.96));
  transition: 170ms ease;
}

.product-card:hover {
  border-color: rgba(242, 111, 169, 0.28);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
  transform: translateY(-3px);
}

.product-image {
  height: 108px;
  overflow: hidden;
  background: #26262a;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.product-card:hover img {
  transform: scale(1.05);
}

.product-body {
  display: grid;
  grid-template-columns: 1fr 28px;
  gap: 3px 5px;
  padding: 8px 7px 7px;
}

.product-body strong {
  grid-column: 1 / -1;
  overflow: hidden;
  font-size: 0.66rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-body span {
  color: var(--muted);
  font-size: 0.58rem;
}

.product-price {
  align-self: end;
  color: white !important;
  font-size: 0.7rem !important;
  font-weight: 700;
}

.product-add {
  grid-column: 2;
  grid-row: 2 / 4;
  align-self: end;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: white;
  background: transparent;
  transition: 150ms ease;
}

.product-add:hover {
  border-color: var(--pink-bright);
  color: var(--pink-bright);
  transform: rotate(90deg);
}

.product-add svg {
  width: 14px;
  height: 14px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 10px;
}

.carousel-dots i {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.carousel-dots i.active {
  width: 14px;
  background: var(--pink);
  box-shadow: 0 0 8px rgba(242, 111, 169, 0.45);
}

/* Mobile controls / overlays */
.mobile-cart-button {
  display: none;
}

.page-overlay {
  position: fixed;
  z-index: 80;
  inset: 0;
  visibility: hidden;
  background: rgba(3, 5, 8, 0.68);
  opacity: 0;
  backdrop-filter: blur(5px);
  transition: 180ms ease;
}

.page-overlay.visible {
  visibility: visible;
  opacity: 1;
}

/* Modal & toast */
.modal {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(3, 5, 8, 0.72);
  backdrop-filter: blur(12px);
}

.modal[hidden] {
  display: none;
}

.modal-card {
  position: relative;
  width: min(440px, 100%);
  padding: 30px;
  overflow: hidden;
  border: 1px solid rgba(242, 111, 169, 0.22);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0, rgba(242, 111, 169, 0.16), transparent 30%),
    linear-gradient(145deg, rgba(31, 34, 43, 0.98), rgba(17, 19, 25, 0.99));
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.48), 0 0 45px rgba(242, 111, 169, 0.08);
  animation: modalIn 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.modal-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -95px;
  bottom: -105px;
  border: 1px solid rgba(242, 111, 169, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 55px rgba(242, 111, 169, 0.12);
}

.modal-close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
}

.modal-close:hover {
  color: var(--pink-bright);
  border-color: rgba(242, 111, 169, 0.3);
}

.modal-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin-bottom: 15px;
  border: 1px solid rgba(242, 111, 169, 0.25);
  border-radius: 18px;
  color: var(--pink-bright);
  background: linear-gradient(145deg, rgba(242, 111, 169, 0.14), rgba(242, 111, 169, 0.04));
  box-shadow: 0 0 25px rgba(242, 111, 169, 0.1);
}

.modal-icon svg {
  width: 29px;
  height: 29px;
}

.modal-card h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 13px;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.modal-content {
  position: relative;
  z-index: 1;
  color: #c3bfc8;
  font-size: 0.84rem;
  line-height: 1.6;
}

.modal-content p {
  margin: 0 0 10px;
}

.modal-summary {
  display: grid;
  gap: 9px;
  margin-top: 14px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.03);
}

.modal-summary div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.modal-summary strong {
  color: white;
}

.modal-summary .modal-total {
  padding-top: 9px;
  border-top: 1px solid var(--line);
  color: white;
  font-weight: 700;
}

.modal-summary .modal-total strong {
  color: var(--pink-bright);
  font-size: 1.12rem;
}

.modal-actions {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 22px;
}

.modal-actions button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.8rem;
  transition: 160ms ease;
}

.modal-actions button:hover {
  border-color: rgba(242, 111, 169, 0.35);
  transform: translateY(-1px);
}

.modal-actions .primary-modal-button {
  border-color: rgba(255, 255, 255, 0.18);
  background: linear-gradient(125deg, #ee5c9b, #ad1b59);
  box-shadow: 0 12px 25px rgba(183, 31, 94, 0.2);
}

.toast-region {
  position: fixed;
  z-index: 150;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: min(350px, calc(100vw - 32px));
  gap: 9px;
  pointer-events: none;
}

.toast {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 10px 13px;
  border: 1px solid rgba(242, 111, 169, 0.24);
  border-radius: 14px;
  background: rgba(24, 27, 35, 0.96);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35), 0 0 24px rgba(242, 111, 169, 0.08);
  backdrop-filter: blur(18px);
  animation: toastIn 220ms ease both;
}

.toast.removing {
  animation: toastOut 180ms ease both;
}

.toast > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  color: var(--pink-bright);
  background: rgba(242, 111, 169, 0.09);
}

.toast svg {
  width: 20px;
  height: 20px;
}

.toast div {
  display: grid;
  gap: 3px;
}

.toast strong {
  font-size: 0.78rem;
}

.toast small {
  color: var(--muted);
  font-size: 0.67rem;
}

/* Entrance and ambient animations */
.enter-animation {
  animation: fadeUp 480ms ease both;
}

.delay-one { animation-delay: 70ms; }
.delay-two { animation-delay: 120ms; }
.delay-three { animation-delay: 170ms; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(10px) scale(0.975); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toastIn {
  from { opacity: 0; transform: translateX(16px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes toastOut {
  to { opacity: 0; transform: translateX(18px); }
}

@keyframes ambientFloat {
  from { transform: translate3d(-3%, -3%, 0) scale(0.92); }
  to { transform: translate3d(7%, 5%, 0) scale(1.08); }
}

@keyframes buttonShine {
  0%, 58% { transform: translateX(-110%); }
  74%, 100% { transform: translateX(110%); }
}

/* Responsive */
@media (max-width: 1320px) {
  :root {
    --sidebar: 88px;
    --checkout: 354px;
  }

  .brand {
    min-height: 104px;
    padding: 18px 8px;
  }

  .brand-copy,
  .nav-item span,
  .loyalty-card > *:not(.loyalty-crown) {
    display: none;
  }

  .brand-lotus {
    width: 48px;
    height: 48px;
  }

  .nav-list {
    padding-inline: 9px;
  }

  .nav-item {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 0;
  }

  .nav-item.active::after {
    left: -10px;
  }

  .loyalty-card {
    display: grid;
    min-height: 66px;
    place-items: center;
    grid-template-columns: 1fr;
    margin-inline: 10px;
    padding: 9px;
  }

  .loyalty-crown {
    width: 44px;
    height: 44px;
  }

  .main-content {
    padding-left: 14px;
  }

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

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

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

@media (max-width: 1080px) {
  :root {
    --checkout: 370px;
  }

  .app-shell {
    grid-template-columns: var(--sidebar) minmax(0, 1fr);
    grid-template-areas:
      "sidebar topbar"
      "sidebar main";
  }

  .checkout {
    position: fixed;
    z-index: 95;
    top: 0;
    right: 0;
    width: min(var(--checkout), calc(100vw - 26px));
    height: 100vh;
    padding: 12px;
    overflow: auto;
    background: rgba(8, 10, 15, 0.88);
    backdrop-filter: blur(18px);
    transform: translateX(105%);
    transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .checkout.open {
    transform: translateX(0);
  }

  .drawer-close {
    display: grid;
  }

  .mobile-cart-button {
    position: fixed;
    z-index: 70;
    right: 18px;
    bottom: 18px;
    display: grid;
    min-width: 210px;
    height: 55px;
    grid-template-columns: 23px auto 23px 1fr;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    background: linear-gradient(125deg, #ec5b9a, #ab1b58);
    box-shadow: 0 18px 45px rgba(174, 28, 89, 0.32), 0 0 30px rgba(242, 111, 169, 0.14);
  }

  .mobile-cart-button svg {
    width: 22px;
    height: 22px;
  }

  .mobile-cart-button span {
    font-weight: 700;
  }

  .mobile-cart-button b {
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.25);
    font-size: 0.66rem;
  }

  .mobile-cart-button strong {
    text-align: right;
  }

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

@media (max-width: 820px) {
  :root {
    --sidebar: 0px;
    --topbar: 68px;
  }

  .app-shell {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "topbar"
      "main";
  }

  .sidebar {
    position: fixed;
    z-index: 100;
    width: min(280px, calc(100vw - 58px));
    transform: translateX(-105%);
    transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .brand-copy,
  .nav-item span,
  .loyalty-card > *:not(.loyalty-crown) {
    display: initial;
  }

  .brand {
    min-height: 115px;
  }

  .nav-item {
    grid-template-columns: 35px 1fr;
    justify-items: initial;
    padding: 0 14px;
  }

  .loyalty-card {
    display: grid;
    min-height: 0;
    grid-template-columns: 48px 1fr;
    place-items: initial;
    padding: 15px;
  }

  .loyalty-card .loyalty-points,
  .loyalty-card p,
  .loyalty-card .secondary-button {
    display: block;
  }

  .loyalty-card .loyalty-points,
  .loyalty-card p,
  .loyalty-card .secondary-button {
    grid-column: 1 / -1;
  }

  .mobile-menu-button {
    display: grid;
    flex: 0 0 auto;
  }

  .topbar {
    padding-inline: 10px;
    gap: 9px;
  }

  .search-box {
    width: auto;
    min-width: 0;
    flex: 1;
  }

  .search-box kbd,
  .top-actions > .icon-button:nth-child(2),
  .profile-button span,
  .profile-button > svg {
    display: none;
  }

  .profile-button {
    min-width: 0;
    grid-template-columns: 40px;
    padding: 4px;
  }

  .profile-button img {
    width: 40px;
    height: 40px;
  }

  .main-content {
    padding: 13px 12px 100px;
  }

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

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

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

@media (max-width: 570px) {
  .top-actions > .notification-button {
    display: none;
  }

  .search-box input {
    font-size: 0.8rem;
  }

  .customer-card {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .avatar-ring {
    width: 54px;
    height: 54px;
  }

  .loyalty-summary {
    grid-column: 1 / -1;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    justify-items: start;
    padding: 10px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .loyalty-summary strong {
    margin: 0;
  }

  .appointment-card {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto auto;
  }

  .appointment-date {
    grid-column: 1;
  }

  .appointment-time {
    grid-column: 1;
    grid-row: 2;
    padding: 7px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .appointment-card > .compact-button {
    grid-column: 2;
    grid-row: 1;
  }

  .staff-select {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .services-grid {
    gap: 10px;
  }

  .service-card-body {
    min-height: 90px;
    padding-inline: 8px;
  }

  .service-name {
    font-size: 0.76rem;
  }

  .addons-list {
    grid-template-columns: 1fr;
  }

  .transactions-panel {
    overflow: hidden;
  }

  .transactions-table {
    overflow-x: auto;
  }

  .transaction-row {
    min-width: 590px;
  }

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

  .mobile-cart-button {
    right: 12px;
    bottom: 12px;
    min-width: 190px;
  }

  .toast-region {
    right: 12px;
    bottom: 78px;
  }
}

@media (max-width: 410px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-image {
    aspect-ratio: 1.8 / 1;
  }

  .profile-button {
    display: none;
  }

  .search-box input::placeholder {
    color: transparent;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
