.editorial-booking-page {
  min-height: calc(100svh - var(--editorial-header-height));
  margin-top: var(--editorial-header-height);
  color: var(--editorial-ink);
  background: var(--editorial-white);
}

.editorial-booking-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  align-items: end;
  gap: clamp(28px, 6vw, 96px);
  padding: clamp(52px, 7vw, 104px) clamp(20px, 4vw, 64px) clamp(42px, 5vw, 72px);
  border-bottom: 1px solid var(--editorial-line);
  background: var(--editorial-stone);
}

body.is-editorial .editorial-booking-intro h1 {
  max-width: 11ch;
  margin: 0;
  color: var(--editorial-ink);
  font-family: var(--editorial-serif);
  font-size: clamp(52px, 7vw, 78px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: .94;
  text-wrap: balance;
}

.editorial-booking-intro p {
  max-width: 48ch;
  margin: 0 0 4px;
  color: var(--editorial-muted);
  font-size: 16px;
  line-height: 1.65;
}

.editorial-booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, min(26vw, 380px));
  grid-template-areas: "primary photo";
  align-items: start;
  width: 100%;
  border-bottom: 1px solid var(--editorial-line);
}

.editorial-booking-primary {
  grid-area: primary;
  min-width: 0;
}

.editorial-booking-photo {
  grid-area: photo;
  width: 100%;
  position: sticky;
  top: calc(var(--editorial-header-height) + 24px);
  height: auto;
  aspect-ratio: 2 / 3;
  max-height: min(760px, calc(100svh - var(--editorial-header-height) - 48px));
  margin: clamp(48px, 6vw, 88px) 0 clamp(64px, 8vw, 112px);
  overflow: hidden;
  border: 1px solid var(--editorial-line);
  border-radius: 0;
  background: var(--editorial-stone);
  box-shadow: none;
}

.editorial-booking-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 60%;
}

.editorial-booking-surface {
  min-width: 0;
  padding: clamp(48px, 6vw, 88px) clamp(20px, 4vw, 64px) clamp(64px, 8vw, 112px);
}

.editorial-booking-root {
  width: 100%;
  max-width: 1120px;
}

.editorial-booking-visit {
  padding: clamp(48px, 6vw, 88px) clamp(20px, 3vw, 44px);
  border-top: 1px solid var(--editorial-line);
  background: var(--editorial-stone);
}

body.is-editorial .editorial-booking-visit h2,
body.is-editorial .editorial-booking-panel h2 {
  margin: 0 0 22px;
  color: var(--editorial-ink);
  font-family: var(--editorial-serif);
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.02;
  text-wrap: balance;
}

.editorial-booking-visit address {
  margin: 0 0 20px;
  color: var(--editorial-muted);
  font-style: normal;
  line-height: 1.7;
}

.editorial-booking-visit > a:not(.editorial-text-link) {
  color: var(--editorial-ink);
  font-size: 18px;
  font-weight: 600;
  text-underline-offset: 4px;
}

.editorial-booking-visit p {
  margin: 44px 0 10px;
  color: var(--editorial-muted);
}

.editorial-booking-status {
  display: flex;
  min-height: 300px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--editorial-muted);
  text-align: center;
}

.editorial-booking-status p {
  margin: 0;
}

.editorial-booking-spinner {
  display: inline-block;
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  border: 1px solid var(--editorial-line);
  border-top-color: var(--editorial-ink);
  border-radius: 50%;
  animation: editorial-booking-spin 800ms linear infinite;
}

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

.editorial-booking-panel > p {
  max-width: 65ch;
  margin: 0 0 28px;
  color: var(--editorial-muted);
  line-height: 1.65;
}

.editorial-booking-form {
  margin-top: 34px;
}

.editorial-booking-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.editorial-booking-fields--contact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.editorial-booking-field {
  display: grid;
  min-width: 0;
  gap: 8px;
}

.editorial-booking-field > span,
.editorial-booking-times legend {
  color: var(--editorial-ink);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .055em;
  line-height: 1.25;
  text-transform: uppercase;
}

.editorial-booking-field input,
.editorial-booking-field select,
.editorial-booking-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--editorial-line);
  border-radius: 0;
  color: var(--editorial-ink);
  background: var(--editorial-white);
  box-shadow: none;
  font: inherit;
}

body.is-editorial :is(.editorial-booking-page, .customer-auth-dialog) .editorial-booking-control {
  border-radius: 0 !important;
  box-shadow: none !important;
  font-family: var(--editorial-sans) !important;
}

body.is-editorial :is(.editorial-booking-page, .customer-auth-dialog) :is(input, select, textarea).editorial-booking-control {
  border: 1px solid var(--editorial-line) !important;
  color: var(--editorial-ink) !important;
  background-color: var(--editorial-white) !important;
  accent-color: var(--editorial-ink) !important;
}

body.is-editorial :is(.editorial-booking-page, .customer-auth-dialog) :is(input, select, textarea).editorial-booking-control:not([type="checkbox"]):not([type="radio"]) {
  width: 100% !important;
  min-height: 52px !important;
  padding: 12px 14px !important;
  font: inherit !important;
}

body.is-editorial :is(.editorial-booking-page, .customer-auth-dialog) :is(input, select, textarea).editorial-booking-control:disabled {
  border-color: var(--editorial-line) !important;
  color: var(--editorial-muted) !important;
  background-color: var(--editorial-stone) !important;
  cursor: not-allowed;
}

.editorial-booking-field textarea {
  min-height: 116px;
  resize: vertical;
}

.editorial-booking-field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 38px;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 18px) 22px, calc(100% - 13px) 22px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
}

.editorial-booking-field :is(input, select):disabled {
  color: var(--editorial-muted);
  background-color: var(--editorial-stone);
  cursor: not-allowed;
}

.editorial-booking-times {
  min-width: 0;
  margin: 38px 0 0;
  padding: 0;
  border: 0;
}

.editorial-booking-times legend {
  margin-bottom: 10px;
}

.editorial-booking-timezone,
.editorial-booking-help {
  margin: 0;
  color: var(--editorial-muted);
  font-size: 16px;
  line-height: 1.55;
}

.editorial-booking-time-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.editorial-booking-time {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.editorial-booking-time input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.editorial-booking-time span {
  display: grid;
  min-height: 52px;
  place-items: center;
  padding: 10px;
  border: 1px solid var(--editorial-line);
  color: var(--editorial-ink);
  background: var(--editorial-white);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .02em;
  text-align: center;
}

.editorial-booking-time:hover span {
  border-color: var(--editorial-ink);
}

.editorial-booking-time input:focus-visible + span {
  outline: 2px solid var(--editorial-ink);
  outline-offset: 3px;
}

.editorial-booking-time input:checked + span {
  border-color: var(--editorial-ink);
  color: var(--editorial-white);
  background: var(--editorial-ink);
}

.editorial-booking-details {
  margin-top: 44px;
  padding-top: 40px;
  border-top: 1px solid var(--editorial-line);
}

.editorial-booking-waitlist-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--editorial-line);
}

.editorial-booking-waitlist-link[hidden],
.editorial-booking-waitlist[hidden] {
  display: none;
}

.editorial-booking-waitlist-link p {
  margin: 0;
  color: var(--editorial-muted);
}

.editorial-booking-waitlist {
  margin-top: 42px;
  padding-top: 38px;
  border-top: 1px solid var(--editorial-line);
}

.editorial-booking-waitlist-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.editorial-booking-waitlist-heading h3 {
  margin: 0;
  font-family: var(--editorial-serif);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.08;
}

.editorial-booking-eyebrow {
  margin: 0 0 8px;
  color: var(--editorial-muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.editorial-booking-waitlist > p {
  max-width: 60ch;
  color: var(--editorial-muted);
  line-height: 1.6;
}

.editorial-booking-waitlist-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0;
  padding: 18px 0;
  border-top: 1px solid var(--editorial-line);
  border-bottom: 1px solid var(--editorial-line);
}

.editorial-booking-waitlist-facts dt {
  color: var(--editorial-muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.editorial-booking-waitlist-facts dd {
  margin: 6px 0 0;
  line-height: 1.5;
}

.editorial-booking-waitlist-note {
  margin-top: 18px;
}

.editorial-booking-waitlist-success {
  padding: 22px;
  background: var(--editorial-stone);
}

.editorial-booking-waitlist-success h4,
.editorial-booking-waitlist-success p {
  margin: 0 0 8px;
}

.editorial-booking-details h3 {
  margin: 0 0 22px;
  color: var(--editorial-ink);
  font-family: var(--editorial-serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -.015em;
}

.editorial-booking-dresses {
  margin: 34px 0 0;
  padding: 30px 0 34px;
  border-top: 1px solid var(--editorial-line);
  border-bottom: 1px solid var(--editorial-line);
}

.editorial-booking-details > .editorial-booking-dresses {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.editorial-booking-dresses-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.editorial-booking-dresses-heading h3 {
  margin: 0;
  color: var(--editorial-ink);
  font-family: var(--editorial-serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -.015em;
  line-height: 1.08;
}

.editorial-booking-dresses-heading > span {
  flex: 0 0 auto;
  color: var(--editorial-muted);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.editorial-booking-dress-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.editorial-booking-dress-card {
  display: grid;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 16px;
  padding: 12px;
  border: 1px solid var(--editorial-line);
  background: var(--editorial-white);
}

.editorial-booking-dress-choice {
  cursor: pointer;
}

.editorial-booking-dress-choice:has(input:checked) {
  border-color: var(--editorial-ink);
  box-shadow: inset 0 0 0 1px var(--editorial-ink);
}

.editorial-booking-dress-choice:has(input:focus-visible) {
  outline: 2px solid var(--editorial-ink);
  outline-offset: 3px;
}

.editorial-booking-dress-choice input {
  width: 20px;
  height: 20px;
  margin: 0 0 12px;
  border-radius: 0;
  accent-color: var(--editorial-ink);
  cursor: pointer;
}

[data-booking-dress-none] {
  margin-top: 18px;
}

[data-booking-dress-message]:not(:empty) {
  display: block;
  margin-top: 12px;
}

.editorial-booking-dress-image {
  display: block;
  width: 92px;
  max-width: 92px;
  min-width: 92px;
  min-height: 122px;
  overflow: hidden;
  background: var(--editorial-stone);
}

.editorial-booking-dress-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 122px;
  object-fit: cover;
}

.editorial-booking-dress-copy {
  display: flex;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  align-items: flex-start;
  flex-direction: column;
  overflow-wrap: anywhere;
  padding: 5px 4px 3px 0;
}

.editorial-booking-dress-meta {
  margin: 0;
  color: var(--editorial-muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .055em;
  line-height: 1.4;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.editorial-booking-dress-copy h4 {
  max-width: 100%;
  margin: 6px 0 5px;
  color: var(--editorial-ink);
  font-family: var(--editorial-serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.editorial-booking-dress-copy h4 a {
  color: inherit;
  text-decoration: none;
}

.editorial-booking-dress-copy h4 a:is(:hover, :focus-visible) {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.editorial-booking-dress-copy .editorial-booking-button {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-height: 0 !important;
  min-width: 0;
  align-self: stretch;
  margin: 16px 0 0;
  padding: 9px 10px !important;
  font-size: 14px !important;
  overflow-wrap: anywhere;
  text-align: center;
  white-space: normal !important;
}

.editorial-booking-dresses-empty {
  margin: 0;
  color: var(--editorial-muted);
  line-height: 1.6;
}

.editorial-booking-dresses-empty a {
  color: var(--editorial-ink);
  text-underline-offset: 3px;
}

.editorial-booking-contact-details {
  padding-top: 36px;
}

.editorial-booking-details .editorial-booking-field--staff {
  max-width: 420px;
  margin-bottom: 30px;
}

.editorial-booking-actions,
.editorial-booking-contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
}

.editorial-booking-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid var(--editorial-ink);
  border-radius: 0;
  color: var(--editorial-white);
  background: var(--editorial-ink);
  box-shadow: none;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .06em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

body.is-editorial :is(.editorial-booking-page, .customer-auth-dialog) .editorial-booking-button {
  display: inline-flex !important;
  min-height: 48px !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 12px 22px !important;
  border: 1px solid var(--editorial-ink) !important;
  border-radius: 0 !important;
  color: var(--editorial-white) !important;
  background: var(--editorial-ink) !important;
  box-shadow: none !important;
  font-family: var(--editorial-sans) !important;
  font-size: 14px !important;
  font-weight: 650 !important;
  letter-spacing: .06em !important;
  line-height: 1.2 !important;
  text-align: center !important;
  text-decoration: none;
  text-transform: uppercase !important;
  white-space: normal !important;
}

body.is-editorial :is(.editorial-booking-page, .customer-auth-dialog) .editorial-booking-button:is(:hover, :focus-visible) {
  border-color: var(--editorial-ink) !important;
  color: var(--editorial-white) !important;
  background: var(--editorial-ink) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.is-editorial :is(.editorial-booking-page, .customer-auth-dialog) .editorial-booking-button--secondary {
  border-color: var(--editorial-ink) !important;
  color: var(--editorial-ink) !important;
  background: var(--editorial-white) !important;
}

body.is-editorial :is(.editorial-booking-page, .customer-auth-dialog) .editorial-booking-button--secondary:is(:hover, :focus-visible) {
  color: var(--editorial-white) !important;
  background: var(--editorial-ink) !important;
}

body.is-editorial :is(.editorial-booking-page, .customer-auth-dialog) .editorial-booking-button:disabled {
  border-color: var(--editorial-line) !important;
  color: var(--editorial-muted) !important;
  background: var(--editorial-stone) !important;
  cursor: wait;
  opacity: 1;
}

body.is-editorial .customer-auth-dialog .editorial-booking-dialog-close {
  display: inline-flex !important;
  width: auto;
  min-width: 68px;
  border: 1px solid var(--editorial-line) !important;
  color: var(--editorial-ink) !important;
  background: var(--editorial-white) !important;
  padding: 0 12px !important;
  font-size: 14px !important;
  font-weight: 650 !important;
  letter-spacing: .04em;
  text-transform: uppercase;
}

body.is-editorial .customer-auth-dialog .editorial-booking-dialog-close svg {
  display: none;
}

body.is-editorial .customer-auth-dialog .editorial-booking-dialog-close-label {
  display: inline;
}

.editorial-booking-message {
  display: block;
  min-height: 1.6em;
  margin-top: 18px;
  color: var(--editorial-muted);
  line-height: 1.55;
}

.editorial-booking-message[data-state="error"],
.editorial-booking-error {
  color: var(--editorial-ink);
  font-weight: 550;
}

.editorial-booking-empty,
.editorial-booking-error-box {
  margin-top: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--editorial-line);
  border-bottom: 1px solid var(--editorial-line);
  color: var(--editorial-muted);
  line-height: 1.6;
}

.editorial-booking-error-box {
  color: var(--editorial-ink);
  font-weight: 550;
}

.editorial-booking-readback {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 34px 0 0;
  border-top: 1px solid var(--editorial-line);
}

.editorial-booking-readback > div {
  min-width: 0;
  padding: 19px 18px 19px 0;
  border-bottom: 1px solid var(--editorial-line);
}

.editorial-booking-readback > div:nth-child(odd) {
  border-right: 1px solid var(--editorial-line);
}

.editorial-booking-readback > div:nth-child(even) {
  padding-left: 18px;
}

.editorial-booking-readback dt {
  margin: 0 0 5px;
  color: var(--editorial-muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.editorial-booking-readback dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--editorial-ink);
  line-height: 1.5;
}

.editorial-booking-hold {
  margin: 22px 0 0;
  color: var(--editorial-muted);
  line-height: 1.55;
}

.editorial-booking-hold strong {
  color: var(--editorial-ink);
  font-weight: 650;
}

.editorial-booking-confirmed {
  max-width: 760px;
}

.editorial-booking-confirmed-mark {
  display: block;
  width: 54px;
  height: 54px;
  margin-bottom: 28px;
  border: 1px solid var(--editorial-ink);
  color: var(--editorial-ink);
}

.editorial-booking-confirmed-mark svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 1.5;
}

.editorial-booking-reference {
  margin-top: 24px !important;
  color: var(--editorial-ink) !important;
  font-weight: 600;
}

.editorial-booking-root :is(button, a, input, select):focus-visible {
  outline: 2px solid var(--editorial-ink);
  outline-offset: 3px;
}

body.is-editorial .editorial-booking-root [data-booking-heading] {
  scroll-margin-top: calc(var(--editorial-header-height) + 24px);
}

body.is-editorial .editorial-booking-root [data-booking-heading][tabindex="-1"]:focus {
  outline: 0 !important;
}

@media (max-width: 980px) {
  .editorial-booking-intro {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .editorial-booking-layout {
    grid-template-columns: minmax(0, 66fr) minmax(0, 34fr);
  }

  .editorial-booking-fields,
  .editorial-booking-fields--contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .editorial-booking-layout {
    grid-template-columns: 1fr;
    grid-template-areas: "photo" "primary";
  }

  .editorial-booking-photo {
    position: relative;
    top: auto;
    height: clamp(320px, calc(15.873vw + 258.095px), 380px);
    aspect-ratio: auto;
    max-height: none;
    min-height: 0;
    margin: 0;
    border-width: 0 0 1px;
  }
}

@media (max-width: 720px) {
  .editorial-booking-intro {
    padding: 42px 20px 38px;
  }

  body.is-editorial .editorial-booking-intro h1 {
    max-width: 10ch;
    font-size: clamp(38px, 10.5vw, 44px);
    line-height: .96;
  }

  .editorial-booking-surface,
  .editorial-booking-visit {
    padding: 42px 20px 64px;
  }

  .editorial-booking-fields,
  .editorial-booking-fields--contact,
  .editorial-booking-readback {
    grid-template-columns: 1fr;
  }

  .editorial-booking-readback > div:nth-child(odd) {
    border-right: 0;
  }

  .editorial-booking-readback > div:nth-child(even) {
    padding-left: 0;
  }

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

  .editorial-booking-dress-grid {
    grid-template-columns: 1fr;
  }

  .editorial-booking-dresses-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .editorial-booking-dress-card {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .editorial-booking-dress-image,
  .editorial-booking-dress-image img {
    width: 84px;
    max-width: 84px;
    min-width: 84px;
    min-height: 112px;
  }

  .editorial-booking-actions,
  .editorial-booking-contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .editorial-booking-button {
    width: 100%;
  }

  .editorial-booking-waitlist-link,
  .editorial-booking-waitlist-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .editorial-booking-waitlist-facts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .editorial-booking-page .editorial-booking-surface {
    padding-bottom: 32px;
  }

  body:has(aside.tess-face-dock) .editorial-booking-page .editorial-booking-surface {
    padding-bottom: calc(190px + env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  .editorial-booking-spinner {
    animation-duration: 1.6s;
  }
}
