/* ============================================================
   Darsh · Our Designs — showcase gallery
   Navy nav, alternating white / yellow sections. Matches the
   main Darsh site. Only styles this gallery index; the design
   pages keep their own CSS.
   ============================================================ */

:root {
  --yellow: #f7e27e;
  --yellow-2: #ffe98a;
  --yellow-soft: #fdf6d8;
  --navy: #0a1f44;
  --navy-2: #0f2a5c;
  --navy-3: #1a3a7a;
  --ink: #0a1f44;
  --ink-soft: rgba(10, 31, 68, 0.7);
  --ink-mute: rgba(10, 31, 68, 0.5);
  --line: rgba(10, 31, 68, 0.1);
  --line-strong: rgba(10, 31, 68, 0.16);
  --shadow-1: 0 4px 14px rgba(10, 31, 68, 0.06);
  --shadow-2: 0 10px 40px rgba(10, 31, 68, 0.12);
  --shadow-3: 0 24px 60px rgba(10, 31, 68, 0.18);
  --easing: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.06;
  margin: 0;
}

/* ---------------- NAV (navy) ---------------- */
.sc-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(18px, 4vw, 44px);
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.sc-nav { overflow: visible; }
.sc-nav__brand { display: flex; align-items: center; }
/* The wordmark sits in the middle ~40% of a 500x500 canvas, so we scale it up
   and collapse the transparent padding with negative margins (same trick the
   main site's nav uses). */
.sc-nav__brand img { width: 230px; height: 230px; object-fit: contain; margin: -82px 0; display: block; }
.sc-nav__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--yellow);
  transition: all 0.25s var(--easing);
}
.sc-nav__back:hover { background: #fff; transform: translateY(-1px); }

/* ---------------- HERO (white) ---------------- */
.sc-hero {
  background: #fff;
  padding: clamp(56px, 8vw, 104px) clamp(18px, 4vw, 44px) clamp(44px, 6vw, 72px);
  text-align: center;
}
.sc-hero__inner { max-width: 820px; margin: 0 auto; }
.sc-eyebrow {
  display: inline-block;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--yellow-soft);
  margin-bottom: 24px;
}
.sc-hero__title { font-size: clamp(2.4rem, 6vw, 4.2rem); }
.sc-hero__hl {
  position: relative;
  white-space: nowrap;
}
.sc-hero__hl::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 0.08em;
  height: 0.32em;
  background: var(--yellow);
  z-index: -1;
  border-radius: 3px;
}
.sc-hero__lead {
  margin: 22px auto 0;
  max-width: 56ch;
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ---------------- BROWSE (yellow) ---------------- */
.sc-browse {
  background: var(--yellow-soft);
  padding: clamp(40px, 6vw, 72px) clamp(18px, 4vw, 44px) clamp(56px, 8vw, 88px);
}
.sc-browse__inner { max-width: var(--maxw); margin: 0 auto; }

/* picker / dropdown */
.sc-picker {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(32px, 5vw, 48px);
}
.sc-picker__label {
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.select-wrap {
  position: relative;
  width: min(420px, 100%);
}
.select-wrap select {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--navy);
  background: #fff;
  border: 2px solid var(--navy);
  border-radius: 14px;
  padding: 15px 48px 15px 20px;
  cursor: pointer;
  box-shadow: var(--shadow-1);
  transition: box-shadow 0.25s var(--easing), transform 0.25s var(--easing);
}
.select-wrap select:hover { transform: translateY(-1px); box-shadow: var(--shadow-2); }
.select-wrap select:focus { outline: none; box-shadow: 0 0 0 4px rgba(247, 226, 126, 0.6); }
.select-caret {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--navy);
  pointer-events: none;
}

/* ---------------- CATEGORY PANEL ---------------- */
.cat__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.cat__head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-strong);
}
.cat__title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}
.cat__emoji { font-size: 1.15em; }

.cat[hidden] { display: none; }

/* ---------------- CARD GRID ---------------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: transform 0.4s var(--easing), box-shadow 0.4s var(--easing);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-3); }

.card__preview {
  position: relative;
  display: block;
  height: 132px;
  background: linear-gradient(135deg, var(--bg) 0%, var(--accent) 100%);
  overflow: hidden;
}
.card__preview-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 120% at 20% 12%, rgba(255, 255, 255, 0.35), transparent 55%);
}
.card__open {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  background: rgba(247, 226, 126, 0.94);
  opacity: 0;
  transition: opacity 0.3s var(--easing);
}
.card:hover .card__open { opacity: 1; }

.card__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 15px 16px;
}
.card__name {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--ink);
}
.card__swatches { display: flex; gap: 5px; flex: none; }
.card__swatches span {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 0 0 2px #fff;
}

/* ---------------- CTA + FOOTER (navy) ---------------- */
.sc-footer {
  background: var(--navy);
  color: #fff;
  padding: clamp(56px, 8vw, 88px) clamp(18px, 4vw, 44px);
}
.sc-footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 26px;
}
.sc-footer__cta {
  color: #fff;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  max-width: 18ch;
}
.sc-footer__btn {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  padding: 15px 30px;
  border-radius: 999px;
  background: var(--yellow);
  box-shadow: 0 10px 30px rgba(247, 226, 126, 0.25);
  transition: all 0.25s var(--easing);
}
.sc-footer__btn:hover { background: #fff; transform: translateY(-2px); }
.sc-footer__home { margin-top: 6px; }
.sc-footer__home img { height: 40px; width: auto; opacity: 0.9; }

/* ---------------- BACK TO TOP ---------------- */
.sc-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-2);
  transition: all 0.25s var(--easing);
}
.sc-top:hover { background: var(--navy-3); transform: translateY(-3px); }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 640px) {
  .sc-nav__brand img { height: 42px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .card__preview { height: 104px; }
}
@media (max-width: 400px) {
  .grid { grid-template-columns: 1fr; }
}

/* ============================================================
   TABS + PANELS
   ============================================================ */
.tabbar {
  position: sticky;
  top: 105px;
  z-index: 40;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 20px rgba(10, 31, 68, 0.05);
}
.tabbar__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  gap: 6px;
  padding: 8px clamp(12px, 3vw, 24px);
  overflow-x: auto;
  scrollbar-width: none;
}
.tabbar__inner::-webkit-scrollbar { display: none; }
.tab {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  border: none;
  background: transparent;
  color: var(--ink-soft);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 12px 18px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s var(--easing);
}
.tab:hover { background: var(--yellow-soft); color: var(--ink); }
.tab.on { background: var(--navy); color: #fff; }
.tab svg { flex: none; }

.sc-panels { background: var(--yellow-soft); }
.tabpanel { padding: clamp(36px, 6vw, 64px) clamp(18px, 4vw, 44px) clamp(48px, 7vw, 80px); }
.panel-head { max-width: 720px; margin: 0 auto clamp(28px, 4vw, 44px); text-align: center; }
.panel-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); }
.panel-head p { margin: 12px auto 0; max-width: 56ch; color: var(--ink-soft); font-size: 1.05rem; }

/* shared surface + buttons */
.surface {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-2);
  padding: clamp(20px, 3vw, 28px);
}
.surface__tag {
  display: inline-block;
  font-family: "JetBrains Mono", "Space Grotesk", monospace;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  background: var(--yellow-soft);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.surface__tag--navy { background: var(--navy); color: var(--yellow); }
.surface h3 { font-family: "Space Grotesk", sans-serif; font-size: 1.2rem; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--navy);
  background: var(--yellow);
  border: none;
  padding: 13px 24px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.22s var(--easing);
}
.btn-primary:hover:not(:disabled) { background: var(--navy); color: #fff; transform: translateY(-1px); }
.btn-primary:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-block { width: 100%; }

.fld { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.fld > span { font-weight: 600; font-size: 0.85rem; color: var(--ink-soft); }
.fld input[type="text"], .fld textarea, .fld input[type="email"] {
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 11px 14px;
  resize: vertical;
}
.fld input:focus, .fld textarea:focus, .select-wrap select:focus { outline: none; box-shadow: 0 0 0 3px rgba(247, 226, 126, 0.6); border-color: var(--yellow-3, #ffd24a); }
.fld__color { width: 56px; height: 40px; padding: 3px; border: 1px solid var(--line-strong); border-radius: 10px; cursor: pointer; background: #fff; }
.select-wrap--sm select { font-size: 0.98rem; padding: 12px 40px 12px 14px; border-width: 1px; border-color: var(--line-strong); border-radius: 10px; box-shadow: none; }

/* ============================================================
   APPOINTMENTS
   ============================================================ */
.booking {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.cal { margin: 4px 0 18px; }
.cal__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.cal__bar span { font-family: "Space Grotesk", sans-serif; font-weight: 600; }
.cal__bar button {
  width: 32px; height: 32px;
  border: 1px solid var(--line-strong);
  background: #fff; border-radius: 8px; cursor: pointer;
  font-size: 1.1rem; color: var(--navy);
  transition: all 0.2s var(--easing);
}
.cal__bar button:hover { background: var(--navy); color: #fff; }
.cal__dow { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 4px; }
.cal__dow span { text-align: center; font-size: 0.72rem; font-weight: 600; color: var(--ink-mute); }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal__cell {
  aspect-ratio: 1 / 1;
  border: 1px solid transparent;
  background: var(--yellow-soft);
  border-radius: 8px;
  font: inherit; font-size: 0.9rem;
  color: var(--ink); cursor: pointer;
  transition: all 0.15s var(--easing);
}
.cal__cell:hover:not(:disabled) { background: var(--yellow); }
.cal__cell--pad { background: transparent; cursor: default; }
.cal__cell.is-off { color: var(--ink-mute); background: transparent; cursor: not-allowed; opacity: 0.4; }
.cal__cell.is-today { border-color: var(--navy); font-weight: 700; }
.cal__cell.is-sel { background: var(--navy); color: #fff; }
.slots { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; min-height: 40px; }
.slots__hint { color: var(--ink-mute); font-size: 0.9rem; margin: 6px 0; }
.slot {
  font: inherit; font-size: 0.88rem;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  background: #fff; border-radius: 999px; cursor: pointer;
  transition: all 0.18s var(--easing);
}
.slot:hover:not(:disabled) { border-color: var(--navy); }
.slot.is-sel { background: var(--navy); color: #fff; border-color: var(--navy); }
.slot.is-taken { opacity: 0.4; text-decoration: line-through; cursor: not-allowed; }

.agenda { display: flex; flex-direction: column; gap: 18px; }
.agenda__empty { color: var(--ink-mute); }
.agenda__date { font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-mute); margin-bottom: 8px; }
.agenda__row { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 12px; background: var(--yellow-soft); margin-bottom: 8px; }
.agenda__time { font-family: "Space Grotesk", sans-serif; font-weight: 700; color: var(--navy); min-width: 52px; }
.agenda__info { display: flex; flex-direction: column; }
.agenda__info strong { font-size: 0.96rem; }
.agenda__info em { font-style: normal; font-size: 0.84rem; color: var(--ink-soft); }

/* ============================================================
   DASHBOARD
   ============================================================ */
.dash {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.dash__side {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  box-shadow: var(--shadow-1);
}
.dash__navbtn {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  text-align: left;
  font: inherit; font-weight: 600; font-size: 0.94rem;
  color: var(--ink-soft);
  background: transparent; border: none;
  padding: 11px 13px; border-radius: 10px; cursor: pointer;
  transition: all 0.18s var(--easing);
}
.dash__navbtn:hover { background: var(--yellow-soft); color: var(--ink); }
.dash__navbtn.on { background: var(--navy); color: #fff; }
.dash__badge {
  margin-left: auto;
  font-size: 0.72rem; font-weight: 700;
  background: var(--yellow); color: var(--navy);
  padding: 1px 8px; border-radius: 999px;
}
.dash__navbtn.on .dash__badge { background: var(--yellow); }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; box-shadow: var(--shadow-1); display: flex; flex-direction: column; gap: 6px; }
.kpi__label { font-size: 0.8rem; color: var(--ink-mute); }
.kpi__num { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.8rem; color: var(--navy); }
.kpi__delta { font-size: 0.76rem; font-weight: 600; color: var(--ink-mute); }
.kpi__delta.up { color: #1f9e5a; }

.chart-card__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
.chart-card__head span { font-size: 0.82rem; color: var(--ink-mute); }
.chart { display: flex; align-items: flex-end; gap: 12px; height: 180px; }
.chart__col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; justify-content: flex-end; }
.chart__bar { width: 100%; max-width: 46px; background: linear-gradient(180deg, var(--yellow-3, #ffd24a), var(--yellow)); border-radius: 8px 8px 0 0; transition: height 0.6s var(--easing); }
.chart__col span { font-size: 0.78rem; color: var(--ink-mute); font-weight: 600; }

.table-wrap { overflow-x: auto; }
.dtable { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.dtable th { text-align: left; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-mute); padding: 0 12px 10px; border-bottom: 1px solid var(--line); }
.dtable td { padding: 13px 12px; border-bottom: 1px solid var(--line); }
.dtable__empty { text-align: center; color: var(--ink-mute); padding: 26px 0; }
.pill { font-size: 0.74rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.pill--ok { background: rgba(31, 158, 90, 0.14); color: #1f7a48; }

/* live editor */
.editor { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.editor__hint { color: var(--ink-soft); font-size: 0.92rem; margin: 6px 0 18px; }
.editor__preview { position: relative; }
.mini { --pv: #6f4e37; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-2); }
.mini__bar { display: flex; gap: 6px; padding: 12px 14px; background: #f1f4f8; border-bottom: 1px solid var(--line); }
.mini__bar span { width: 10px; height: 10px; border-radius: 50%; background: #cdd5e0; }
.mini__hero { padding: 30px 24px; text-align: center; background: linear-gradient(180deg, #fff, var(--yellow-soft)); }
.mini__badge { display: inline-block; font-size: 0.72rem; font-weight: 700; color: var(--pv); margin-bottom: 12px; }
.mini__hero h4 { font-family: "Space Grotesk", sans-serif; font-size: 1.6rem; color: var(--navy); margin: 0 0 8px; }
.mini__hero p { color: var(--ink-soft); margin: 0 0 18px; }
.mini__btn { display: inline-block; background: var(--pv); color: #fff; font-weight: 600; font-size: 0.88rem; padding: 9px 20px; border-radius: 999px; }
.mini__about { padding: 20px 24px; border-top: 1px solid var(--line); }
.mini__about p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }

.msgs { list-style: none; margin: 0; padding: 0; }
.msgs li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.msgs li:last-child { border-bottom: none; }
.msgs__who { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.msgs__who span { font-size: 0.78rem; color: var(--ink-mute); }
.msgs li p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }

/* ============================================================
   STORE
   ============================================================ */
.store {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: start;
}
.store__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-content: start; }
.product { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-1); display: flex; flex-direction: column; }
.product__img { height: 88px; }
.product__row { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px 6px; }
.product__name { font-family: "Space Grotesk", sans-serif; font-weight: 600; }
.product__price { font-weight: 700; color: var(--navy); }
.product__add { margin: 8px 12px 12px; font: inherit; font-weight: 600; font-size: 0.86rem; color: var(--navy); background: var(--yellow-soft); border: 1px solid var(--line-strong); border-radius: 10px; padding: 9px; cursor: pointer; transition: all 0.2s var(--easing); }
.product__add:hover { background: var(--yellow); }
.store__cart { position: static; align-self: start; }
.cart__items { margin: 8px 0 16px; min-height: 60px; }
.cart__empty { color: var(--ink-mute); font-size: 0.9rem; }
.citem { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.citem__name { flex: 1; font-size: 0.92rem; }
.citem__qty { display: inline-flex; align-items: center; gap: 8px; }
.citem__qty button { width: 24px; height: 24px; border: 1px solid var(--line-strong); background: #fff; border-radius: 6px; cursor: pointer; font-size: 1rem; line-height: 1; }
.citem__qty button:hover { background: var(--yellow-soft); }
.citem__price { min-width: 56px; text-align: right; font-weight: 600; }
.cart__foot { border-top: 2px solid var(--line-strong); padding-top: 14px; }
.cart__total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.cart__total strong { font-family: "Space Grotesk", sans-serif; font-size: 1.4rem; color: var(--navy); }

/* ============================================================
   TOAST
   ============================================================ */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 24px);
  z-index: 60;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: 0.94rem;
  padding: 13px 22px;
  border-radius: 12px;
  box-shadow: var(--shadow-3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--easing), transform 0.3s var(--easing);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ============================================================
   RESPONSIVE (tabs/demos)
   ============================================================ */
@media (max-width: 900px) {
  .booking, .editor, .dash, .store { grid-template-columns: 1fr; }
  .dash__side { flex-direction: row; flex-wrap: wrap; }
  .dash__navbtn { width: auto; flex: 1 1 auto; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .store__cart { position: static; }
}
@media (max-width: 640px) {
  .tabbar { top: 75px; }
  .tab span { display: none; }
  .tab { padding: 12px 14px; }
  .tab.on span { display: inline; }
  /* Store: fewer columns + stack name/price so they don't collide */
  .store__grid { grid-template-columns: 1fr 1fr; }
  .product__row { flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 14px 4px; }
  .product__name { font-size: 0.98rem; }
}
@media (max-width: 380px) {
  .store__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   MARKETING PAGE (scrolling sections)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--easing), transform 0.7s var(--easing); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

.btn-lg { font-size: 1.05rem; padding: 16px 30px; border-radius: 14px; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 0.98rem;
  color: var(--navy); padding: 15px 26px; border-radius: 14px;
  border: 1.5px solid var(--line-strong); background: #fff;
  transition: all 0.22s var(--easing);
}
.btn-ghost:hover { border-color: var(--navy); transform: translateY(-1px); }

/* ---------------- HERO ---------------- */
.mk-hero {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: clamp(70px, 11vw, 150px) clamp(18px, 4vw, 44px) clamp(64px, 8vw, 110px);
  text-align: center;
}
.mk-hero__orb { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; z-index: 0; }
.mk-hero__orb--1 { width: 480px; height: 480px; top: -180px; right: -120px; background: rgba(247, 226, 126, 0.55); }
.mk-hero__orb--2 { width: 400px; height: 400px; bottom: -220px; left: -140px; background: rgba(10, 31, 68, 0.06); }
.mk-hero__inner { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }
.mk-eyebrow {
  display: inline-block; font-weight: 600; font-size: 0.8rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute);
  padding: 8px 18px; border-radius: 999px; background: var(--yellow-soft); margin-bottom: 26px;
}
.mk-hero__title { font-size: clamp(2.5rem, 7vw, 5.2rem); letter-spacing: -0.035em; line-height: 1.02; }
.mk-hero__grad {
  background: linear-gradient(100deg, #d8b73a, var(--yellow-3, #ffd24a) 40%, #e0a63a);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.mk-hero__lead { margin: 26px auto 0; max-width: 60ch; font-size: 1.18rem; line-height: 1.7; color: var(--ink-soft); }
.mk-hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }
.mk-hero__pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 40px; }
.mk-hero__pills a {
  font-weight: 600; font-size: 0.9rem; color: var(--ink);
  padding: 9px 16px; border-radius: 999px; background: #fff;
  border: 1px solid var(--line-strong); transition: all 0.2s var(--easing);
}
.mk-hero__pills a:hover { background: var(--navy); color: #fff; border-color: var(--navy); transform: translateY(-2px); }

/* ---------------- FEATURE SECTIONS ---------------- */
.feat { padding: clamp(64px, 9vw, 120px) clamp(18px, 4vw, 44px); position: relative; }
.feat--white { background: #fff; }
.feat--yellow { background: var(--yellow-soft); }
.feat__wrap { max-width: var(--maxw); margin: 0 auto; }

.feat__head { max-width: 760px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.feat__num {
  display: inline-block; font-family: "Space Grotesk", sans-serif; font-weight: 700;
  font-size: 0.95rem; color: var(--navy); background: var(--yellow);
  width: 44px; height: 44px; line-height: 44px; border-radius: 50%; margin-bottom: 20px;
}
.feat__eyebrow {
  display: block; font-weight: 600; font-size: 0.82rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-mute); margin-bottom: 12px;
}
.feat__title { font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -0.03em; }
.feat__lead { margin: 16px auto 0; max-width: 58ch; font-size: 1.1rem; line-height: 1.7; color: var(--ink-soft); }

/* split layout: copy + demo side by side */
.feat__split { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 68px); align-items: center; }
.feat__copy .feat__num { display: inline-block; }
.feat__copy .feat__eyebrow { text-align: left; }
.feat__copy .feat__title { text-align: left; font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.feat__copy .feat__lead { margin-left: 0; text-align: left; max-width: none; }
.feat__list { list-style: none; margin: 24px 0 30px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.feat__list li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink); }
.feat__list li svg { flex: none; width: 22px; height: 22px; padding: 5px; border-radius: 50%; background: var(--yellow); color: var(--navy); box-sizing: border-box; }
/* horizontal bullet row under a centered header */
.feat__list--row { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin: -12px auto clamp(30px, 4vw, 44px); max-width: 780px; }
.feat__list--row li { font-size: 0.94rem; }

/* stacked demos inside a narrow split column */
.booking--stack, .store--stack { grid-template-columns: 1fr; }

/* compact calendar so the booking demo fits one screen */
.booking { align-items: stretch; }
.booking__widget .cal { max-width: 338px; margin: 4px auto 14px; }
.booking__widget .fld { margin-bottom: 13px; }
.booking__widget .cal__cell { font-size: 0.82rem; border-radius: 7px; }
.booking__cal { display: flex; flex-direction: column; }

/* ---------------- "MORE" (navy) ---------------- */
.more { background: radial-gradient(130% 130% at 100% 0%, var(--navy-3) 0%, var(--navy-2) 45%, var(--navy) 100%); color: #fff; padding: clamp(72px, 9vw, 128px) clamp(18px, 4vw, 44px); }
.more__wrap { max-width: var(--maxw); margin: 0 auto; }
.feat__head--light { color: #fff; }
.feat__eyebrow--light { color: var(--yellow); }
.feat__title--light { color: #fff; }
.feat__lead--light { color: rgba(255, 255, 255, 0.75); }
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: clamp(48px, 7vw, 80px); }
.cap-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px; padding: 24px;
  transition: transform 0.35s var(--easing), background 0.35s var(--easing), border-color 0.35s var(--easing);
}
.cap-card:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.09); border-color: rgba(247, 226, 126, 0.5); }
.cap-card__ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 16px;
  background: var(--yellow); color: var(--navy);
}
.cap-card h3 { font-family: "Space Grotesk", sans-serif; font-size: 1.1rem; color: #fff; margin-bottom: 6px; }
.cap-card p { margin: 0; font-size: 0.92rem; color: rgba(255, 255, 255, 0.65); }

.more__cta { text-align: center; }
.more__cta h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); color: #fff; }
.more__cta p { margin: 14px auto 28px; max-width: 46ch; color: rgba(255, 255, 255, 0.75); font-size: 1.08rem; }

/* ---------------- FOOTER (simple) ---------------- */
.sc-footer { background: var(--navy); color: #fff; padding: 30px clamp(18px, 4vw, 44px); }
.sc-footer__inner { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.sc-footer__home { display: flex; align-items: center; overflow: hidden; }
.sc-footer__home img { width: 150px; height: 150px; object-fit: contain; margin: -54px 0; }
.sc-footer__back { color: rgba(255, 255, 255, 0.7); font-weight: 500; font-size: 0.92rem; transition: color 0.2s var(--easing); }
.sc-footer__back:hover { color: var(--yellow); }

/* ---------------- RESPONSIVE (marketing) ---------------- */
@media (max-width: 1000px) {
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .feat__split { grid-template-columns: 1fr; gap: 32px; }
  .feat__copy { order: -1; }
  .feat__copy .feat__num, .feat__copy .feat__eyebrow, .feat__copy .feat__title { text-align: left; }
}
@media (max-width: 640px) {
  /* Compact nav */
  .sc-nav { padding: 6px 14px; gap: 10px; }
  .sc-nav__brand img { width: 128px; height: 128px; margin: -45px 0; }
  .sc-nav__back { padding: 8px 15px; font-size: 0.82rem; gap: 6px; white-space: nowrap; }
  .sc-nav__back svg { width: 14px; height: 14px; }
  .tabbar { top: 52px; }
  .sc-footer__home img { width: 120px; height: 120px; margin: -44px 0; }
  .cap-grid { grid-template-columns: 1fr; }
  .mk-hero__pills a { font-size: 0.84rem; padding: 8px 13px; }
}

/* ============================================================
   MOBILE — spacious, single-column, no overflow (phones ≤ 560px)
   Every demo becomes one full-width, roomy column so nothing is
   cramped or clipped on a phone.
   ============================================================ */
@media (max-width: 560px) {
  body { overflow-x: hidden; }

  /* Section rhythm + type */
  .feat { padding: 48px 18px; }
  .mk-hero { padding: 60px 18px 48px; }
  .mk-hero__title { font-size: clamp(2rem, 8vw, 2.7rem); }
  .mk-hero__lead { font-size: 1rem; }
  .panel-head { margin-bottom: 26px; }
  .panel-head h2, .feat__title { font-size: 1.7rem; line-height: 1.15; }
  .panel-head p, .feat__lead { font-size: 1rem; }

  /* Feature bullets: stack, left-aligned (was a cramped wrapping row) */
  .feat__list--row { flex-direction: column; align-items: flex-start; gap: 12px; max-width: none; margin: 0 auto 28px; }

  /* Designs: one big card per row */
  .grid { grid-template-columns: 1fr !important; gap: 16px; }
  .card__preview { height: 168px; }
  .card__name { font-size: 1.15rem; }

  /* Appointments: full-width widget, bigger calendar + slots */
  .booking { grid-template-columns: 1fr !important; gap: 18px; }
  .booking__widget .cal { max-width: none; }
  .cal__cell { font-size: 0.95rem; border-radius: 8px; }
  .slots { gap: 8px; }
  .slot { padding: 11px 15px; font-size: 0.95rem; }

  /* Dashboard: stack; sidebar becomes a horizontal scroll strip */
  .dash { grid-template-columns: 1fr !important; gap: 16px; }
  .dash__side { flex-direction: row; overflow-x: auto; -webkit-overflow-scrolling: touch; gap: 8px; padding: 10px; }
  .dash__navbtn { flex: 0 0 auto; white-space: nowrap; }
  .kpis { grid-template-columns: 1fr 1fr !important; gap: 12px; }
  .kpi__num { font-size: 1.5rem; }
  .chart { height: 150px; }
  .editor { grid-template-columns: 1fr !important; gap: 18px; }

  /* Store: stack; products two-up */
  .store { grid-template-columns: 1fr !important; gap: 18px; }
  .store__grid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 380px) {
  .store__grid { grid-template-columns: 1fr !important; }
}

/* ============================================================
   NEW DEMOS — Payments · Invoicing · Analytics
   ============================================================ */
.mk-hero--compact { padding: clamp(50px, 7vw, 92px) clamp(18px, 4vw, 44px) clamp(40px, 5vw, 60px); }
.mk-hero--compact .mk-hero__title { font-size: clamp(2.2rem, 5.5vw, 4rem); }

/* ---- Payments ---- */
.pay { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 350px); gap: 22px; align-items: start; }
.pay__amount { display: flex; align-items: baseline; justify-content: space-between; padding: 2px 0 16px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.pay__amount span { color: var(--ink-mute); font-size: 0.9rem; }
.pay__amount strong { font-family: "Space Grotesk", sans-serif; font-size: 1.9rem; color: var(--navy); }
.pay__cardnum { position: relative; }
.pay__brand { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 0.7rem; font-weight: 700; color: var(--ink-mute); letter-spacing: 0.06em; }
.pay__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pay__btn { margin-top: 6px; transition: background 0.3s, color 0.3s, transform 0.2s; }
.pay__btn.is-loading { opacity: 0.85; }
.pay__btn.is-done { background: #1f9e5a !important; color: #fff !important; }
.pay__secure { display: flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 0.78rem; color: var(--ink-mute); }
.pay__secure b { color: var(--ink); }
.pay__list { display: flex; flex-direction: column; gap: 10px; }
.payrow { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--yellow-soft); }
.payrow__ic { width: 26px; height: 26px; border-radius: 50%; background: #1f9e5a; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 0.78rem; flex: none; }
.payrow__info { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.payrow__info strong { font-size: 0.92rem; }
.payrow__info em { font-style: normal; font-size: 0.78rem; color: var(--ink-mute); }
.payrow__amt { font-weight: 700; color: var(--navy); }

/* ---- Invoicing ---- */
.inv { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.inv__labels { display: grid; grid-template-columns: 1fr 52px 78px 24px; gap: 8px; font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-mute); margin: 8px 0 6px; }
.inv__items { display: flex; flex-direction: column; gap: 8px; }
.inv__item { display: grid; grid-template-columns: 1fr 52px 78px 24px; gap: 8px; align-items: center; }
.inv__item input { font: inherit; padding: 9px 10px; border: 1px solid var(--line-strong); border-radius: 9px; font-size: 0.88rem; width: 100%; background: #fff; }
.inv__item input:focus { outline: none; box-shadow: 0 0 0 3px rgba(247, 226, 126, 0.6); border-color: var(--yellow-3, #ffd24a); }
.inv__del { border: none; background: none; color: var(--ink-mute); font-size: 1.3rem; cursor: pointer; line-height: 1; padding: 0; }
.inv__del:hover { color: #dc2626; }
.inv__add { margin: 12px 0; background: none; border: 1px dashed var(--line-strong); color: var(--ink-soft); border-radius: 10px; padding: 10px; width: 100%; cursor: pointer; font: inherit; font-weight: 600; transition: all 0.2s var(--easing); }
.inv__add:hover { border-color: var(--navy); color: var(--navy); }
.inv__total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-top: 2px solid var(--line-strong); margin-bottom: 14px; }
.inv__total strong { font-family: "Space Grotesk", sans-serif; font-size: 1.4rem; color: var(--navy); }
.inv__previewwrap { position: relative; }
.inv-doc { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px; box-shadow: var(--shadow-2); }
.inv-doc__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; }
.inv-doc__title { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.3rem; color: var(--navy); display: flex; flex-direction: column; }
.inv-doc__title span { font-size: 0.75rem; font-weight: 500; color: var(--ink-mute); margin-top: 2px; }
.inv-doc__brand { font-family: "Space Grotesk", sans-serif; font-weight: 700; color: var(--navy); }
.inv-doc__to { font-size: 0.72rem; letter-spacing: 0.06em; color: var(--ink-mute); margin-bottom: 16px; line-height: 1.6; }
.inv-doc__to b { font-size: 1rem; color: var(--ink); letter-spacing: 0; }
.inv-doc__table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.inv-doc__table td { padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.inv-doc__table td.num { text-align: right; white-space: nowrap; padding-left: 10px; color: var(--ink); }
.inv-doc__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; }
.inv-doc__total strong { font-family: "Space Grotesk", sans-serif; font-size: 1.5rem; color: var(--navy); }
.inv-doc__pay { margin-top: 18px; text-align: center; background: var(--navy); color: #fff; font-weight: 600; padding: 11px; border-radius: 10px; }

/* ---- Analytics ---- */
.analytics { max-width: var(--maxw); margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.analytics .kpis { margin-bottom: 0; }
.an-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 18px; align-items: stretch; }
.area-chart { margin-top: 12px; }
.area-svg { width: 100%; height: 150px; display: block; }
.area-x { display: flex; justify-content: space-between; margin-top: 6px; font-size: 0.72rem; color: var(--ink-mute); }
.an-sources { display: flex; flex-direction: column; gap: 14px; margin-top: 12px; }
.an-src__top { display: flex; justify-content: space-between; font-size: 0.88rem; margin-bottom: 6px; }
.an-src__bar { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.an-src__bar i { display: block; height: 100%; border-radius: 99px; }

/* ---- New demos: mobile ---- */
@media (max-width: 560px) {
  .pay, .inv, .an-grid { grid-template-columns: 1fr !important; }
  .inv__previewwrap { order: -1; }
}
