:root {
  color-scheme: light;
  --ink: #15171a;
  --muted: #626a72;
  --paper: #f8f7f2;
  --white: #ffffff;
  --line: rgba(21, 23, 26, 0.13);
  --accent: #007f73;
  --accent-2: #ff6848;
  --soft: #eaf2ec;
  --shadow: 0 20px 60px rgba(21, 23, 26, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.demo-shell {
  min-height: 100vh;
  overflow: hidden;
}

.demo-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 70px;
  padding: 0.85rem 4vw;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.demo-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 950;
  text-decoration: none;
}

.demo-logo span:first-child {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--white);
}

.demo-nav-links {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

.demo-nav-links a,
.demo-button,
.choice-button,
.slot-button,
.mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  font-weight: 850;
  text-decoration: none;
  letter-spacing: 0;
}

.demo-nav-links a {
  padding: 0.62rem 0.85rem;
  color: var(--muted);
}

.demo-button,
.choice-button,
.slot-button,
.mini-button {
  border: 1px solid transparent;
  background: var(--accent);
  color: var(--white);
  cursor: pointer;
  font: inherit;
}

.demo-button {
  gap: 0.5rem;
  padding: 0.78rem 1rem;
}

.demo-button.alt {
  background: var(--ink);
}

.demo-button.ghost,
.choice-button,
.slot-button,
.mini-button {
  background: var(--white);
  border-color: var(--line);
  color: var(--ink);
}

.choice-button.is-active,
.slot-button.is-active,
.mini-button.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
}

.demo-kicker,
.demo-label {
  margin: 0 0 0.7rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0;
}

.demo-status {
  min-height: 1.5rem;
  margin: 1rem 0 0;
  color: var(--accent);
  font-weight: 850;
}

.demo-section {
  padding: 5rem 4vw;
}

.demo-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: 2rem;
}

.demo-heading h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.order-builder h2,
.order-basket h2,
.booking-board h2,
.booking-summary h2,
.bouquet-builder h2,
.diagnosis-card h2,
.gift-card-preview h2,
.cafe-booking h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

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

.demo-card,
.demo-panel,
.demo-contact {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(21, 23, 26, 0.07);
}

.demo-card {
  padding: 1.15rem;
}

.demo-panel,
.demo-contact {
  padding: 1.25rem;
}

.demo-card strong {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 1.12rem;
}

.demo-card p,
.demo-contact p,
.demo-panel p {
  color: var(--muted);
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.price-row:last-child {
  border-bottom: 0;
}

.demo-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 4vw;
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
}

.demo-footer strong {
  color: var(--white);
}

.hours {
  display: grid;
  gap: 0.55rem;
}

.hours div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--line);
}

.hero-photo {
  min-height: 520px;
  background: var(--demo-image) center/cover no-repeat;
}

/* Pizza */
.pizza {
  --accent: #d13b22;
  --accent-2: #1f8b60;
  --soft: #fff0e2;
  --paper: #22130d;
  --line: rgba(82, 38, 18, 0.16);
  color: #251611;
  background: #22130d;
}

.pizza .demo-nav {
  background: rgba(35, 18, 11, 0.82);
  color: #fff7ef;
  border-color: rgba(255, 255, 255, 0.11);
}

.pizza .demo-nav-links a {
  color: rgba(255, 247, 239, 0.72);
}

.pizza-hero {
  min-height: 86vh;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 0.78fr);
  gap: 2rem;
  align-items: end;
  padding: 6rem 4vw 4rem;
  color: #fff7ef;
  background:
    linear-gradient(90deg, rgba(35, 18, 11, 0.97), rgba(35, 18, 11, 0.7), rgba(35, 18, 11, 0.2)),
    var(--demo-image) center/cover no-repeat;
}

.pizza-hero h1,
.salon-hero h1,
.flower-hero h1,
.cafe-hero h1,
.skin-hero h1 {
  max-width: 820px;
  margin: 0 0 1rem;
  font-size: clamp(3rem, 6vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.pizza-hero p {
  max-width: 620px;
  color: rgba(255, 247, 239, 0.78);
  font-size: 1.18rem;
}

.pizza-deal {
  align-self: center;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(35, 18, 11, 0.7);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.pizza-deal strong {
  display: block;
  margin-bottom: 0.5rem;
  color: #ffd67e;
  font-size: 2rem;
  line-height: 1;
}

.pizza-menu {
  background: #fff8ed;
}

.pizza-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.pizza-item {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  padding: 1rem;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(62, 27, 12, 0.14);
}

.pizza-item::before {
  content: "";
  position: absolute;
  inset: auto 1rem 1rem auto;
  width: 6rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 52% 48%, #ffd36d 0 18%, transparent 18% 24%, #d64223 24% 34%, #eec16b 34% 100%);
  box-shadow: 0 12px 25px rgba(75, 31, 13, 0.18);
}

.pizza-item h3 {
  max-width: 220px;
  font-size: 1.65rem;
}

.pizza-order {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
  gap: 1rem;
  align-items: start;
  background: #2a160f;
  color: #fff7ef;
}

.order-builder,
.order-basket {
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 247, 239, 0.06);
}

.order-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.order-steps span {
  min-height: 38px;
  padding: 0.55rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 247, 239, 0.68);
  font-size: 0.8rem;
  font-weight: 850;
}

.order-steps .is-done {
  background: var(--accent-2);
  color: #fff;
}

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0.65rem 0 1rem;
}

.order-basket ul {
  display: grid;
  gap: 0.55rem;
  padding: 0;
  margin: 1rem 0;
  list-style: none;
}

.order-basket li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.basket-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1rem 0;
  font-size: 1.35rem;
  font-weight: 950;
}

/* Salon */
.frisor {
  --accent: #5f6df2;
  --accent-2: #d8699a;
  --soft: #f1f1ff;
  --paper: #fbf7f1;
}

.salon-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.9fr);
  min-height: 86vh;
  background: #12131d;
  color: #fff;
}

.salon-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 4vw;
}

.salon-copy p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.15rem;
}

.salon-photo {
  min-height: 640px;
  background: var(--demo-image) center/cover no-repeat;
}

.salon-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
}

.salon-strip div {
  padding: 1.4rem 4vw;
  border-right: 1px solid var(--line);
}

.service-board {
  background: #f7f6ff;
}

.service-card {
  display: grid;
  gap: 0.75rem;
  min-height: 230px;
  padding: 1.2rem;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(58, 54, 120, 0.1);
}

.stylist-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.stylist {
  min-height: 280px;
  padding: 1rem;
  border: 0;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(15, 16, 26, 0), rgba(15, 16, 26, 0.76)),
    var(--demo-image) center/cover no-repeat;
  color: #fff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  font: inherit;
  text-align: left;
}

.stylist.is-active {
  outline: 4px solid rgba(95, 109, 242, 0.38);
}

.booking-studio {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
  gap: 1rem;
  background: #151622;
  color: #fff;
}

.booking-board,
.booking-summary {
  padding: 1.25rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(80px, 1fr));
  gap: 0.55rem;
}

/* Flowers */
.blomster {
  --accent: #24834e;
  --accent-2: #e75178;
  --soft: #f3f8e9;
  --paper: #fbfaf3;
}

.flower-hero {
  min-height: 86vh;
  display: grid;
  align-items: end;
  padding: 5rem 4vw;
  color: #173323;
  background:
    linear-gradient(90deg, rgba(251, 250, 243, 0.96), rgba(251, 250, 243, 0.8) 38%, rgba(251, 250, 243, 0.16)),
    var(--demo-image) center/cover no-repeat;
}

.flower-hero p {
  max-width: 580px;
  color: #496052;
  font-size: 1.16rem;
}

.product-ribbon {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 1rem 4vw;
  background: #173323;
  color: #fff;
}

.product-ribbon span {
  flex: 0 0 auto;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

.flower-shop {
  background: #fbfaf3;
}

.flower-products {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
}

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

.bouquet-card {
  min-height: 250px;
  padding: 1rem;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.96)),
    var(--demo-image) center/cover no-repeat;
  box-shadow: 0 18px 46px rgba(36, 131, 78, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.bouquet-builder {
  padding: 1.25rem;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.flower-note {
  padding: 3rem 4vw;
  background: #eaf4de;
}

.flower-note h2 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

/* Cafe */
.kafe {
  --accent: #b36c24;
  --accent-2: #477d72;
  --soft: #fff4e2;
  --paper: #f5eee5;
}

.cafe-hero {
  min-height: 86vh;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 0.88fr);
  gap: 2rem;
  padding: 5rem 4vw 4rem;
  background: #342116;
  color: #fff7eb;
}

.cafe-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cafe-copy p {
  max-width: 590px;
  color: rgba(255, 247, 235, 0.78);
  font-size: 1.16rem;
}

.cafe-window {
  min-height: 580px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(52, 33, 22, 0), rgba(52, 33, 22, 0.48)),
    var(--demo-image) center/cover no-repeat;
  box-shadow: var(--shadow);
}

.chalk-menu {
  background: #22362f;
  color: #fff7eb;
}

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

.chalk-card {
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.chalk-card p {
  color: rgba(255, 247, 235, 0.7);
}

.cafe-booking {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.5fr);
  gap: 1rem;
  background: #fff8ee;
}

/* Skin */
.hud {
  --accent: #5b9d98;
  --accent-2: #b47c72;
  --soft: #eef8f6;
  --paper: #f8f4ef;
}

.skin-hero {
  min-height: 86vh;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(380px, 0.8fr);
  gap: 1rem;
  padding: 5rem 4vw;
  background:
    linear-gradient(110deg, #f8f4ef 0 45%, rgba(248, 244, 239, 0.58) 58%, rgba(248, 244, 239, 0.05)),
    var(--demo-image) center/cover no-repeat;
}

.skin-copy {
  align-self: center;
}

.skin-copy p {
  max-width: 590px;
  color: #61726f;
  font-size: 1.16rem;
}

.skin-panel {
  align-self: end;
  padding: 1.25rem;
  border: 1px solid rgba(91, 157, 152, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

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

.treatment-card {
  min-height: 260px;
  padding: 1.2rem;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(91, 157, 152, 0.13);
}

.skin-booking {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.55fr);
  gap: 1rem;
  background: #eff8f5;
}

.diagnosis-card {
  padding: 1.25rem;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.gift-card-preview {
  min-height: 260px;
  padding: 1.25rem;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(91, 157, 152, 0.92), rgba(180, 124, 114, 0.82)),
    #5b9d98;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Admin */
.admin-page {
  --accent: #10885f;
  --soft: #edf8ee;
  background: #111419;
}

.admin-page .demo-nav {
  background: rgba(17, 20, 25, 0.86);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.1);
}

.admin-wrap {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  gap: 1rem;
  padding: 4vw;
  color: #111419;
}

.admin-sidebar,
.admin-preview,
.admin-log {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: #fff;
}

.admin-sidebar {
  padding: 1.25rem;
}

.admin-preview {
  overflow: hidden;
}

.field {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.field label {
  font-weight: 850;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.75rem;
  font: inherit;
}

.switch-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}

.preview-hero {
  padding: 2rem;
  background:
    linear-gradient(90deg, var(--soft), rgba(255, 255, 255, 0.62)),
    url("/assets/wow-hero.png") center/cover no-repeat;
}

.preview-hero h1 {
  max-width: 660px;
  margin: 0 0 0.8rem;
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.preview-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding: 1rem;
}

.preview-tile,
.admin-log {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
}

.site-toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  width: min(420px, calc(100vw - 2rem));
  padding: 1rem;
  border-radius: 8px;
  background: rgba(21, 23, 26, 0.94);
  color: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.site-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.demo-sticky-bar {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  z-index: 60;
  display: flex;
  gap: 0.5rem;
  width: min(460px, calc(100vw - 2rem));
  padding: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(21, 23, 26, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.demo-sticky-bar a {
  flex: 1;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.demo-sticky-bar a + a {
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 980px) {
  .pizza-hero,
  .pizza-order,
  .salon-hero,
  .booking-studio,
  .flower-products,
  .cafe-hero,
  .cafe-booking,
  .skin-hero,
  .skin-booking,
  .admin-wrap {
    grid-template-columns: 1fr;
  }

  .demo-grid,
  .pizza-cards,
  .stylist-row,
  .chalk-grid,
  .treatment-grid,
  .preview-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .salon-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .demo-nav {
    align-items: flex-start;
    flex-direction: column;
    width: 100vw;
    max-width: 100vw;
  }

  .demo-nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem;
    width: min(100%, 340px);
    overflow-x: visible;
  }

  .demo-nav-links a {
    width: 100%;
    padding: 0.58rem 0.55rem;
    font-size: 0.92rem;
  }

  .pizza-hero h1,
  .salon-hero h1,
  .flower-hero h1,
  .cafe-hero h1,
  .skin-hero h1 {
    font-size: clamp(2.15rem, 9vw, 2.65rem);
    line-height: 0.95;
  }

  .pizza-hero > div:first-child,
  .salon-copy,
  .flower-hero > div,
  .cafe-copy,
  .skin-copy {
    max-width: 342px;
  }

  .demo-section,
  .pizza-hero,
  .salon-copy,
  .flower-hero,
  .cafe-hero,
  .skin-hero {
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .demo-grid,
  .pizza-cards,
  .bouquet-grid,
  .stylist-row,
  .chalk-grid,
  .treatment-grid,
  .preview-band,
  .order-steps,
  .slot-grid {
    grid-template-columns: 1fr;
  }

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

  .demo-heading {
    align-items: start;
    flex-direction: column;
  }

  .demo-footer {
    flex-direction: column;
  }

  .site-toast {
    bottom: 5.7rem;
  }
}
