:root {
  color-scheme: light;
  --ink: #171916;
  --muted: #68645a;
  --line: rgba(23, 25, 22, 0.16);
  --paper: #f4efe6;
  --paper-strong: #fffdf8;
  --brand: #0f6b5f;
  --brand-dark: #0a4f46;
  --shadow: rgba(25, 25, 21, 0.18);
  --coponic-primary: #E64F2E;
  --coponic-cream: #FDF5E6;
  --coponic-background: #FFFBF3;
}

* {
  box-sizing: border-box;
}

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

body {
  background:
    linear-gradient(135deg, rgba(15, 107, 95, 0.1), transparent 34%),
    #eee8dc;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body:has(.coming-shell) {
  min-height: 100svh;
  min-height: 100dvh;
  background:
    radial-gradient(circle at 50% 0%, rgba(230, 79, 46, 0.1), transparent 34%),
    linear-gradient(180deg, #FFFBF3 0%, #FDF5E6 100%);
  color: #1A1A1A;
}

button,
a {
  font: inherit;
}

.coming-shell {
  display: grid;
  align-content: start;
  min-height: 100svh;
  min-height: 100dvh;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: max(18px, env(safe-area-inset-top)) 18px max(18px, env(safe-area-inset-bottom));
  gap: clamp(22px, 5vw, 56px);
}

.coming-shell-compact {
  align-content: stretch;
}

.coming-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
  padding: 8px 0;
}

.coming-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #1A1A1A;
  font-size: 18px;
  font-weight: 850;
  text-decoration: none;
}

.coming-mark {
  flex: 0 0 auto;
  width: 12px;
  height: 30px;
  border-radius: 999px;
  background: var(--coponic-primary);
  box-shadow: 0 8px 18px rgba(230, 79, 46, 0.24);
}

.coming-header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

.coming-badge,
.coming-primary,
.coming-secondary,
.coming-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
}

.coming-badge {
  padding: 0 13px;
  border: 1px solid rgba(230, 79, 46, 0.18);
  background: rgba(230, 79, 46, 0.08);
  color: #9C2E1B;
  font-size: 12px;
  font-weight: 800;
}

.coming-language {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: 38px;
  padding: 3px;
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
}

.coming-language a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 30px;
  border-radius: 999px;
  color: #6B6258;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.coming-language a[aria-current="true"] {
  background: #1A1A1A;
  color: #FFFBF3;
}

.coming-hero {
  display: grid;
  min-height: clamp(440px, 67svh, 680px);
  min-height: clamp(440px, 67dvh, 680px);
  align-items: center;
  padding: clamp(42px, 8vw, 86px) 0 clamp(26px, 5vw, 56px);
}

.coming-hero-copy {
  display: grid;
  gap: 18px;
  width: min(820px, 100%);
}

.coming-kicker,
.coming-section-heading p {
  margin: 0;
  color: var(--coponic-primary);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.coming-hero h1 {
  margin: 0;
  color: #1A1A1A;
  font-size: clamp(56px, 12vw, 132px);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: 0;
}

.coming-lead {
  max-width: 760px;
  margin: 0;
  color: #1A1A1A;
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1.02;
  font-weight: 820;
  letter-spacing: 0;
}

.coming-body {
  max-width: 640px;
  margin: 0;
  color: #6A6259;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.45;
  font-weight: 540;
}

.coming-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.coming-primary {
  padding: 0 20px;
  background: var(--coponic-primary);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 850;
  box-shadow: 0 16px 34px rgba(230, 79, 46, 0.24);
}

.coming-secondary,
.coming-link {
  padding: 0 18px;
  border: 1px solid rgba(26, 26, 26, 0.12);
  background: rgba(255, 255, 255, 0.6);
  color: #1A1A1A;
  font-size: 14px;
  font-weight: 800;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.coming-secondary:hover,
.coming-secondary:focus-visible,
.coming-link:hover,
.coming-link:focus-visible {
  border-color: rgba(230, 79, 46, 0.35);
  background: #FFFFFF;
  outline: none;
  transform: translateY(-1px);
}

.coming-hints {
  display: grid;
  gap: 22px;
}

.coming-section-heading {
  display: grid;
  gap: 8px;
  max-width: 620px;
}

.coming-section-heading h2,
.coming-booking-note h2,
.coming-placeholder h1 {
  margin: 0;
  color: #1A1A1A;
  font-size: clamp(24px, 4vw, 42px);
  line-height: 1.05;
  font-weight: 850;
  letter-spacing: 0;
}

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

.coming-hint-card {
  display: grid;
  align-content: space-between;
  min-height: 148px;
  padding: 18px;
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 16px 34px rgba(26, 26, 26, 0.06);
}

.coming-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--coponic-primary);
}

.coming-hint-card h3 {
  margin: 0;
  color: #1A1A1A;
  font-size: 17px;
  line-height: 1.18;
  font-weight: 820;
  letter-spacing: 0;
}

.coming-booking-note,
.coming-placeholder {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(22px, 5vw, 34px);
  border: 1px solid rgba(230, 79, 46, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 20px 44px rgba(26, 26, 26, 0.07);
}

.coming-booking-note div,
.coming-placeholder {
  min-width: 0;
}

.coming-booking-note p,
.coming-placeholder p,
.coming-footer p {
  margin: 8px 0 0;
  color: #6A6259;
  font-size: 15px;
  line-height: 1.5;
}

.coming-placeholder {
  align-self: center;
  display: grid;
  justify-content: start;
  width: min(720px, 100%);
  margin: auto 0;
}

.coming-policy-label,
.coming-policy-note {
  font-weight: 800;
}

.coming-policy-note {
  color: #1A1A1A;
}

.legal-shell {
  display: grid;
  align-content: start;
  width: min(1120px, 100%);
  min-height: 100svh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: max(18px, env(safe-area-inset-top)) 18px max(18px, env(safe-area-inset-bottom));
  gap: 24px;
}

.legal-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 8px 0;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.legal-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(26, 26, 26, 0.1);
  border-radius: 999px;
  color: #4B443D;
  background: rgba(255, 255, 255, 0.54);
  font-size: 13px;
  font-weight: 780;
  text-decoration: none;
}

.legal-nav a:hover,
.legal-nav a:focus-visible,
.legal-nav a[aria-current="page"] {
  border-color: rgba(230, 79, 46, 0.34);
  color: #9C2E1B;
  background: rgba(230, 79, 46, 0.08);
  outline: none;
}

.legal-document {
  display: grid;
  gap: clamp(26px, 4vw, 42px);
  padding-block: clamp(20px, 4vw, 46px);
}

.legal-hero {
  display: grid;
  gap: 16px;
  max-width: 880px;
}

.legal-hero h1 {
  margin: 0;
  color: #1A1A1A;
  font-size: clamp(38px, 7vw, 76px);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: 0;
}

.legal-summary {
  max-width: 800px;
  margin: 0;
  color: #4B443D;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
  font-weight: 620;
}

.legal-meta-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 10px 0 0;
}

.legal-meta-list div {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.56);
}

.legal-meta-list dt {
  margin: 0 0 4px;
  color: #6A6259;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.legal-meta-list dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: #1A1A1A;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
}

.legal-meta-list a,
.legal-section a {
  color: #0f6b5f;
  font-weight: 800;
}

.legal-content {
  display: grid;
  gap: 28px;
  width: min(860px, 100%);
}

.legal-section {
  display: grid;
  gap: 12px;
}

.legal-section h2 {
  margin: 0;
  color: #1A1A1A;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.12;
  font-weight: 850;
  letter-spacing: 0;
}

.legal-section p,
.legal-section li {
  color: #4B443D;
  font-size: 16px;
  line-height: 1.65;
}

.legal-section p {
  margin: 0;
}

.legal-section ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-inline-start: 22px;
}

.legal-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.legal-footer {
  border-top: 1px solid rgba(26, 26, 26, 0.1);
}

.coming-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  padding: 22px 0 8px;
  color: #6A6259;
}

.coming-footer-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.coming-footer p {
  margin: 0;
}

.coming-footer-helper {
  max-width: 520px;
  opacity: 0.72;
}

.coming-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 16px;
}

.coming-footer a {
  color: #4B443D;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.coming-footer a:hover,
.coming-footer a:focus-visible {
  color: var(--coponic-primary);
  outline: none;
}

html[dir="rtl"] .coming-kicker,
html[dir="rtl"] .coming-section-heading p {
  text-transform: none;
}

@media (max-width: 820px) {
  .coming-hint-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .coming-booking-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .coming-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .coming-footer nav {
    justify-content: flex-start;
  }

  .legal-header {
    grid-template-columns: minmax(0, 1fr);
  }

  .legal-nav {
    justify-content: flex-start;
  }

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

@media (max-width: 520px) {
  .coming-shell {
    padding-inline: 14px;
    gap: 24px;
  }

  .coming-header {
    align-items: flex-start;
  }

  .coming-header-actions {
    align-items: flex-end;
    flex-direction: column-reverse;
    gap: 8px;
  }

  .coming-hero {
    min-height: 430px;
    padding-block-start: 30px;
  }

  .coming-hint-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .coming-hint-card {
    min-height: 112px;
  }

  .coming-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .coming-primary,
  .coming-secondary,
  .coming-link {
    width: 100%;
  }

  .legal-meta-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .legal-link-row {
    display: grid;
  }
}

.viewer-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-height: 100svh;
  min-height: 100dvh;
  padding: max(14px, env(safe-area-inset-top)) 14px max(16px, env(safe-area-inset-bottom));
  gap: 10px;
}

.action-bar {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 8px;
  border: 1px solid #E9DED0;
  border-radius: 8px;
  background: rgba(255, 251, 243, 0.9);
  box-shadow: 0 12px 30px rgba(26, 26, 26, 0.08);
  backdrop-filter: blur(14px);
  pointer-events: none;
}

.viewer-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding-inline: 4px;
  color: #1A1A1A;
  font-weight: 800;
  pointer-events: none;
}

.title-mark {
  flex: 0 0 auto;
  width: 9px;
  height: 24px;
  border-radius: 999px;
  background: #E64F2E;
}

.viewer-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.viewer-kicker {
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
}

.viewer-store {
  overflow: hidden;
  color: #1A1A1A;
  font-size: 17px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.viewer-subtitle {
  overflow: hidden;
  color: #4A4A4A;
  font-size: 12px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.actions {
  position: relative;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  min-width: 0;
  overflow: visible;
  pointer-events: auto;
}

.actions * {
  pointer-events: auto;
}

.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #E9DED0;
  border-radius: 8px;
  background: #FFFBF3;
  color: #1A1A1A;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.action:hover,
.action:focus-visible {
  border-color: #D9A441;
  background: #FFF2D1;
  outline: none;
}

.share-trigger {
  min-width: 70px;
}

.share-control {
  position: relative;
  flex: 0 0 auto;
}

.share-backdrop {
  display: none;
}

.share-backdrop[hidden] {
  display: none;
}

.share-menu {
  position: absolute;
  z-index: 40;
  inset-block-start: calc(100% + 8px);
  inset-inline-end: 0;
  display: grid;
  gap: 6px;
  width: 230px;
  padding: 8px;
  border: 1px solid #E9DED0;
  border-radius: 12px;
  background: #FFFBF3;
  box-shadow: 0 14px 30px rgba(26, 26, 26, 0.1);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  visibility: hidden;
}

.share-control.is-open .share-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.share-sheet-head {
  display: none;
}

.share-menu-list {
  display: grid;
  gap: 2px;
}

.share-menu-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 44px;
  width: 100%;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #1A1A1A;
  font-size: 13px;
  font-weight: 720;
  text-align: start;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.share-menu-item:hover,
.share-menu-item:focus-visible {
  background: #FFF2D1;
  outline: none;
}

.share-menu-item[aria-disabled="true"] {
  color: var(--muted);
}

.book-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  width: min(1220px, 100%);
  margin: 0 auto;
  min-height: 0;
  padding: 10px 0 8px;
  overscroll-behavior: contain;
}

.book-wrap {
  position: relative;
  display: grid;
  place-items: center;
  justify-self: center;
  width: min(72vw, calc((100svh - 154px) * 0.707), 610px);
  width: min(72vw, calc((100dvh - 154px) * 0.707), 610px);
  min-width: 0;
  isolation: isolate;
}

.book {
  --zoom-scale: 1;
  --zoom-x: 0px;
  --zoom-y: 0px;
  position: relative;
  width: 100%;
  aspect-ratio: 1240 / 1754;
  min-width: 300px;
  border-radius: 8px;
  filter: drop-shadow(0 34px 52px rgba(34, 31, 25, 0.25));
  cursor: grab;
  touch-action: none;
  transform: translate3d(var(--zoom-x), var(--zoom-y), 0) scale(var(--zoom-scale));
  transform-origin: center center;
  will-change: transform;
  -webkit-user-select: none;
  user-select: none;
}

.public-booking-shell {
  min-height: 100svh;
  min-height: 100dvh;
  padding: max(16px, env(safe-area-inset-top)) 14px max(24px, env(safe-area-inset-bottom));
  background: #fffbf3;
  color: #1a1a1a;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.public-booking-shell h1,
.public-booking-shell h2,
.public-booking-shell p {
  margin: 0;
}

.public-booking-shell h1 {
  color: #1a1a1a;
  font-size: clamp(28px, 7vw, 44px);
  line-height: 1.02;
  font-weight: 900;
}

.public-booking-shell h2 {
  color: #1a1a1a;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 900;
}

.public-booking-shell p {
  color: #5f5a51;
  font-size: 14px;
  line-height: 1.45;
}

.public-booking-hero,
.public-booking-card,
.public-booking-footer {
  width: min(720px, 100%);
  margin: 0 auto;
}

.public-booking-hero {
  display: grid;
  gap: 14px;
  padding-block: 4px 14px;
}

.public-booking-store-media {
  position: relative;
  min-height: 132px;
  overflow: hidden;
  border: 1px solid #eadfd2;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(230, 79, 46, 0.16), transparent 54%),
    #fdf5e6;
  box-shadow: 0 18px 38px rgba(72, 52, 37, 0.11);
}

.public-booking-store-media > img {
  width: 100%;
  height: 156px;
  object-fit: cover;
  display: block;
}

.public-booking-logo {
  position: absolute;
  inset-inline-start: 14px;
  inset-block-end: 14px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  overflow: hidden;
  border: 3px solid #fffbf3;
  border-radius: 16px;
  background: #fdf5e6;
  color: #e64f2e;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(26, 26, 26, 0.14);
}

.public-booking-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.public-booking-store-copy {
  display: grid;
  gap: 6px;
}

.public-booking-eyebrow {
  color: #e64f2e !important;
  font-size: 12px !important;
  font-weight: 900;
  text-transform: uppercase;
}

.public-booking-card {
  display: grid;
  gap: 14px;
  margin-block: 12px;
  padding: 16px;
  border: 1px solid #eadfd2;
  border-radius: 18px;
  background: #fffdf8;
  box-shadow: 0 16px 36px rgba(72, 52, 37, 0.09);
}

.public-booking-loading,
.public-booking-empty,
.public-booking-success {
  min-height: min(520px, calc(100svh - 40px));
  place-content: center;
  text-align: center;
}

.public-booking-mark {
  justify-self: center;
  width: 44px;
  height: 8px;
  border-radius: 999px;
  background: #e64f2e;
}

.public-booking-service-list,
.public-booking-date-list {
  display: grid;
  gap: 8px;
}

.public-booking-date-list {
  grid-auto-flow: column;
  grid-auto-columns: minmax(86px, 1fr);
  overflow-x: auto;
  padding-block-end: 3px;
}

.public-booking-choice,
.public-booking-date,
.public-booking-slot,
.public-booking-primary,
.public-booking-secondary {
  min-height: 48px;
  border-radius: 12px;
  font: inherit;
  letter-spacing: 0;
  cursor: pointer;
}

.public-booking-choice,
.public-booking-date,
.public-booking-slot {
  display: grid;
  gap: 2px;
  width: 100%;
  padding: 12px;
  border: 1px solid #eadfd2;
  background: #fffbf3;
  color: #1a1a1a;
  text-align: start;
}

.public-booking-choice small,
.public-booking-date span,
.public-booking-slot small {
  color: #6b6258;
  font-size: 12px;
  font-weight: 720;
}

.public-booking-choice span,
.public-booking-date strong,
.public-booking-slot strong {
  font-weight: 900;
}

.public-booking-choice.is-selected,
.public-booking-date.is-selected,
.public-booking-slot.is-selected {
  border-color: #e64f2e;
  background: #fff0e9;
  box-shadow: inset 0 0 0 1px #e64f2e;
}

.public-booking-slot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.public-booking-slot:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.public-booking-inline-state,
.public-booking-waitlist {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid #f0d8ca;
  border-radius: 14px;
  background: #fff7ef;
}

.public-booking-inline-state {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
}

.public-booking-spinner {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(230, 79, 46, 0.18);
  border-block-start-color: #e64f2e;
  border-radius: 999px;
  animation: public-booking-spin 900ms linear infinite;
}

.public-booking-waitlist strong {
  color: #1a1a1a;
  font-size: 17px;
  font-weight: 900;
}

.public-booking-waitlist.is-joined {
  border-color: rgba(15, 107, 95, 0.22);
  background: #f1fbf6;
}

.public-booking-form {
  display: grid;
  gap: 12px;
}

.public-booking-form label {
  display: grid;
  gap: 6px;
  color: #28231f;
  font-size: 13px;
  font-weight: 850;
}

.public-booking-form input,
.public-booking-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px;
  border: 1px solid #eadfd2;
  border-radius: 12px;
  background: #fffbf3;
  color: #1a1a1a;
  font: inherit;
  font-size: 16px;
}

.public-booking-form textarea {
  resize: vertical;
}

.public-booking-note {
  padding: 10px 12px;
  border-radius: 12px;
  background: #fdf5e6;
  color: #5f5a51 !important;
  font-weight: 720;
}

.public-booking-checkbox {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 8px;
}

.public-booking-checkbox input {
  width: 18px;
  min-height: 18px;
}

.public-booking-primary,
.public-booking-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  text-align: center;
  text-decoration: none;
  font-weight: 900;
}

.public-booking-primary {
  border: 1px solid #e64f2e;
  background: #e64f2e;
  color: #fff;
}

.public-booking-primary:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.public-booking-secondary {
  border: 1px solid #eadfd2;
  background: #fffbf3;
  color: #1a1a1a;
}

.public-booking-app-card {
  background: #fdf5e6;
}

.public-booking-footer {
  padding: 18px 4px 8px;
  color: #6b6258;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

@keyframes public-booking-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 640px) {
  .public-booking-shell {
    padding-inline: 24px;
  }

  .public-booking-card {
    padding: 20px;
  }

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

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

.book.is-zoom-animating {
  transition: transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.book.is-zoomed {
  cursor: grab;
  touch-action: none;
}

.book.is-dragging,
.book.is-touch-dragging,
.book.is-zoom-panning {
  cursor: grabbing;
}

.book canvas {
  border-radius: 8px;
  background: var(--paper-strong);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.72) inset,
    0 -1px 0 rgba(23, 25, 22, 0.08) inset;
  touch-action: none;
  -webkit-user-drag: none;
  user-select: none;
}

.book .stf__wrapper {
  border-radius: 8px;
  overflow: visible;
  touch-action: none;
}

.book .stf__block,
.book-page,
.book-page-image {
  border-radius: 8px;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}

.book.stf__parent {
  touch-action: none;
  transform: translate3d(var(--zoom-x), var(--zoom-y), 0) scale(var(--zoom-scale));
  transform-origin: center center;
  will-change: transform;
}

.book.is-zoomed canvas,
.book.is-zoomed .stf__wrapper,
.book.is-zoomed .stf__block,
.book.is-zoomed .book-page,
.book.is-zoomed .book-page-image {
  touch-action: none;
}

.book-page {
  overflow: hidden;
  background: var(--paper-strong);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.72) inset,
    0 -1px 0 rgba(23, 25, 22, 0.08) inset;
}

.book-page-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: auto;
  -webkit-user-drag: none;
}

.zoom-toggle {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(255, 253, 248, 0.72);
  border-radius: 999px;
  background: rgba(23, 25, 22, 0.72);
  color: #fffdf8;
  box-shadow: 0 10px 24px rgba(20, 20, 18, 0.18);
  backdrop-filter: blur(14px);
  font-size: 12px;
  font-weight: 780;
  line-height: 1;
  cursor: pointer;
}

.zoom-toggle:hover,
.zoom-toggle:focus-visible {
  background: rgba(23, 25, 22, 0.86);
  outline: none;
}

.nav-button {
  display: none;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.9);
  color: var(--brand-dark);
  box-shadow: 0 12px 28px rgba(38, 35, 29, 0.1);
  cursor: pointer;
}

.nav-button span {
  display: block;
  margin-top: -3px;
  font-size: 36px;
  line-height: 1;
}

.nav-button:disabled {
  opacity: 0.32;
  cursor: default;
}

.viewer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1180px, 100%);
  margin: 0 auto;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.pager {
  color: var(--brand-dark);
}

.toast {
  position: fixed;
  inset-inline: 16px;
  bottom: 22px;
  z-index: 5;
  width: max-content;
  max-width: calc(100vw - 32px);
  margin: 0 auto;
  padding: 11px 14px;
  border-radius: 8px;
  background: rgba(18, 20, 17, 0.92);
  color: #fffdf8;
  font-size: 14px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

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

@media (min-width: 900px) {
  .viewer-shell {
    padding-inline: 24px;
  }

  .book {
    width: 100%;
  }

  .book-wrap {
    width: min(92vw, calc((100svh - 150px) * 1.414), 1280px);
    width: min(92vw, calc((100dvh - 150px) * 1.414), 1280px);
  }

  .book {
    aspect-ratio: 2480 / 1754;
  }
}

@media (max-width: 760px) {
  .viewer-shell {
    padding: max(8px, env(safe-area-inset-top)) 8px max(10px, env(safe-area-inset-bottom));
    gap: 6px;
  }

  .action-bar {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 7px;
    background: rgba(255, 251, 243, 0.94);
    backdrop-filter: none;
  }

  .viewer-title {
    width: 100%;
    min-height: 24px;
  }

  .title-mark {
    width: 7px;
    height: 21px;
  }

  .viewer-kicker {
    display: none;
  }

  .viewer-store {
    font-size: 13px;
  }

  .viewer-subtitle {
    font-size: 11px;
  }

  .actions {
    width: auto;
    justify-content: flex-end;
  }

  .action {
    min-height: 40px;
    padding-inline: 13px;
    font-size: 12px;
  }

  .share-control {
    position: static;
  }

  .share-control.is-open .share-backdrop {
    position: fixed;
    z-index: 30;
    inset: 0;
    display: block;
    background: rgba(23, 25, 22, 0.14);
  }

  .share-menu {
    position: fixed;
    z-index: 40;
    inset-block: auto 0;
    inset-inline: 0;
    gap: 8px;
    width: auto;
    min-width: 0;
    max-height: min(72svh, 420px);
    max-height: min(72dvh, 420px);
    padding: 7px 14px max(16px, calc(12px + env(safe-area-inset-bottom)));
    border-inline: 0;
    border-block-end: 0;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -10px 26px rgba(26, 26, 26, 0.12);
    transform: translateY(10px);
  }

  .share-control.is-open .share-menu {
    transform: translateY(0);
  }

  .share-sheet-head {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 34px;
  }

  .share-sheet-handle {
    grid-column: 2;
    width: 38px;
    height: 4px;
    border-radius: 999px;
    background: rgba(23, 25, 22, 0.18);
  }

  .share-close {
    grid-column: 3;
    justify-self: end;
    min-height: 34px;
    padding: 0 8px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--brand-dark);
    font-size: 13px;
    font-weight: 760;
    cursor: pointer;
  }

  .share-close:focus-visible,
  .share-close:hover {
    background: #FFF2D1;
    outline: none;
  }

  .share-menu-list {
    gap: 3px;
  }

  .share-menu-item {
    min-height: 52px;
    padding-inline: 14px;
    border-radius: 10px;
    background: #FFF8EC;
    font-size: 15px;
  }

  .book-stage {
    align-self: start;
    align-items: start;
    grid-template-columns: 1fr;
    gap: 0;
    padding-block: 3px 1px;
  }

  .book-wrap {
    place-items: start center;
    width: min(96vw, calc((100svh - 146px) * 0.707), 520px);
    width: min(96vw, calc((100dvh - 146px) * 0.707), 520px);
    min-height: 0;
  }

  .book {
    width: 100%;
  }

  .nav-button {
    position: absolute;
    z-index: 2;
    top: 50%;
    width: 38px;
    height: 38px;
    transform: translateY(-50%);
    background: rgba(255, 253, 248, 0.82);
    box-shadow: 0 10px 24px rgba(38, 35, 29, 0.16);
  }

  .nav-button.prev {
    inset-inline-start: 4px;
  }

  .nav-button.next {
    inset-inline-end: 4px;
  }

  .viewer-footer {
    flex-direction: row;
    gap: 8px;
    font-size: 12px;
  }

  .brand-line {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (max-width: 380px), (max-height: 690px) {
  .viewer-shell {
    gap: 4px;
  }

  .viewer-subtitle {
    display: none;
  }

  .action {
    min-height: 38px;
    padding-inline: 10px;
  }

  .share-trigger {
    min-width: 62px;
  }

  .book {
    width: 100%;
  }

  .book-wrap {
    width: min(96vw, calc((100svh - 124px) * 0.707), 500px);
    width: min(96vw, calc((100dvh - 124px) * 0.707), 500px);
  }
}
