:root {
  --ink: #171717;
  --ink-soft: #2a2928;
  --paper: #f5f3ee;
  --surface: #ffffff;
  --muted: #6c6963;
  --line: #d8d4cc;
  --line-strong: #bdb7ad;
  --accent: #c65a2e;
  --accent-dark: #923817;
  --accent-pale: #fff0e8;
  --success: #1f6c4d;
  --danger: #a42a2a;
  --shadow: 0 26px 70px rgba(23, 23, 23, 0.11);
  --radius-lg: 28px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --content: 1280px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

.intro {
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto;
  padding: clamp(68px, 8vw, 108px) 0 clamp(38px, 4vw, 52px);
}

.intro-copy {
  width: 100%;
  text-align: center;
}

.section-number,
.store-city {
  margin: 0;
  color: var(--accent-dark);
  font-size: 0.72rem;
  line-height: 1.3;
  font-weight: 900;
  letter-spacing: 0.19em;
}

.intro h1 {
  max-width: 1160px;
  margin: 0 auto 24px;
  font-size: clamp(3.4rem, 6vw, 5.8rem);
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.intro h1 span {
  color: var(--accent-dark);
}

.intro-text {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  color: #4d4a45;
  line-height: 1.8;
}

.intro-text p {
  margin: 0;
}

.intro-lead {
  color: var(--ink);
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  line-height: 1.45;
  font-weight: 900;
  letter-spacing: -0.025em;
}

.intro-offer {
  width: 100%;
  max-width: none;
  margin: 30px auto 0;
  padding: 40px clamp(24px, 4.5vw, 56px);
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: 20px;
  box-shadow: 0 16px 42px rgba(23, 23, 23, 0.07);
}

.intro-offer-label {
  padding: 6px 14px;
  display: inline-flex;
  color: var(--accent-dark);
  background: var(--accent-pale);
  border-radius: 999px;
  font-size: 0.78rem;
  line-height: 1.4;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.intro-offer strong {
  margin-top: 16px;
  display: block;
  color: var(--ink);
  font-size: clamp(1.28rem, 2vw, 1.58rem);
  line-height: 1.5;
}

.intro-offer strong em {
  color: var(--accent-dark);
  font-style: normal;
  white-space: nowrap;
}

.offer-rules-link {
  margin: 20px auto 0;
  padding: 3px 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-dark);
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  font-size: 0.88rem;
  font-weight: 900;
  cursor: pointer;
}

.offer-rules-link:hover,
.offer-rules-link:focus-visible {
  color: var(--accent);
}

.booking-shell {
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto 108px;
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(340px, 0.68fr);
  grid-template-areas: "form process";
  align-items: start;
  background: var(--surface);
  border: 1px solid rgba(23, 23, 23, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.booking-panel {
  grid-area: form;
  padding: clamp(30px, 5vw, 64px);
  min-width: 0;
}

.process-panel {
  grid-area: process;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
}

.section-heading h2,
.info-heading h2,
.modal h2 {
  margin: 0;
  font-size: clamp(1.65rem, 2.8vw, 2.25rem);
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.section-heading > div > p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.section-heading > div > .draft-hint {
  margin-top: 12px;
  padding: 9px 12px;
  display: inline-flex;
  color: #55514b;
  background: #f5f3ee;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 650;
}

.spam-trap {
  position: fixed !important;
  top: -10000px !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.required-mark,
.field b,
.question-group h3 > span,
.appointment-title h3 > span {
  color: var(--accent-dark);
}

.form-section {
  min-width: 0;
  margin: 46px 0 0;
  padding: 0 0 46px;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.form-section legend {
  width: 100%;
  margin-bottom: 20px;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.form-section legend > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border-radius: 50%;
  font-size: 0.72rem;
}

.form-section legend > div {
  display: flex;
  flex-direction: column;
}

.form-section legend strong {
  font-size: 1.16rem;
  line-height: 1.35;
}

.question-group {
  margin-top: 32px;
}

.question-group:first-of-type {
  margin-top: 0;
}

.question-group h3,
.appointment-title h3 {
  margin: 0 0 14px;
  font-size: 0.92rem;
  line-height: 1.5;
  font-weight: 900;
}

.question-group h3 > span,
.appointment-title h3 > span {
  margin-left: 3px;
}

.store-choice-grid,
.two-columns {
  width: 100%;
  min-width: 0;
  margin-right: auto;
  margin-left: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.store-choice-grid > *,
.two-columns > *,
.instrument-grid > *,
.option-grid > *,
.assist-options > * {
  min-width: 0;
  max-width: 100%;
}

.choice-card {
  position: relative;
  width: 100%;
  min-height: 116px;
  padding: 20px 50px 20px 20px;
  display: flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.compact-choice {
  min-height: 92px;
}

.choice-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.choice-card:has(input:focus-visible) {
  outline: 3px solid rgba(198, 90, 46, 0.22);
  outline-offset: 2px;
}

.choice-card:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-pale);
}

.choice-card input,
.pill-choice input,
.wide-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.choice-content {
  display: flex;
  flex-direction: column;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.65;
}

.choice-name {
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 900;
}

.choice-check {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
}

.choice-card input:checked ~ .choice-check {
  border: 6px solid var(--accent);
  background: #fff;
}

.instrument-grid {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.option-grid {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

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

.pill-choice {
  position: relative;
  width: 100%;
  min-height: 52px;
  display: flex;
  cursor: pointer;
}

.pill-choice span {
  width: 100%;
  padding: 12px 10px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  color: #4d4a45;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 750;
  transition: 160ms ease;
}

.pill-choice:hover span {
  border-color: var(--line-strong);
}

.pill-choice input:focus-visible + span {
  outline: 3px solid rgba(198, 90, 46, 0.22);
  outline-offset: 2px;
}

.pill-choice input:checked + span {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.field {
  margin-top: 20px;
  width: 100%;
  max-width: 100%;
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
}

.field > span {
  font-size: 0.88rem;
  font-weight: 850;
}

.field > span em {
  color: var(--muted);
  font-style: normal;
  font-weight: 500;
}

.field > span b {
  margin-left: 3px;
}

.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-inline-size: 0;
  max-inline-size: 100%;
  margin-right: auto;
  margin-left: auto;
  min-height: 54px;
  padding: 13px 15px;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  outline: 0;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field select {
  cursor: pointer;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(198, 90, 46, 0.12);
}

.field input:disabled,
.field select:disabled,
.field textarea:disabled {
  color: #8e8a83;
  background: #f3f1ed;
  cursor: not-allowed;
}

.field input.invalid,
.field select.invalid,
.field textarea.invalid {
  border-color: var(--danger);
}

.field small {
  align-self: flex-end;
  color: var(--muted);
  font-size: 0.75rem;
}

.full-width {
  grid-column: 1 / -1;
}

.answer-block {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding: 4px 20px 20px;
  background: #f7f5f0;
  border: 1px solid #e5e0d7;
  border-radius: var(--radius-md);
}

.option-checkbox {
  margin-top: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #4d4a45;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}

.option-checkbox input {
  width: 19px;
  height: 19px;
  margin: 2px 0 0;
  flex: 0 0 auto;
  accent-color: var(--accent);
}

.money-input {
  min-height: 54px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
}

.money-input:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(198, 90, 46, 0.12);
}

.money-input > span {
  align-self: stretch;
  padding: 0 14px;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: #f1efea;
  border-right: 1px solid var(--line);
  font-size: 0.76rem;
  font-weight: 900;
}

.budget-field .money-input input {
  min-width: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.assist-options {
  width: 100%;
  min-width: 0;
  display: grid;
  gap: 10px;
}

.wide-choice {
  position: relative;
  width: 100%;
  display: flex;
  cursor: pointer;
}

.wide-choice > span {
  width: 100%;
  min-height: 54px;
  padding: 14px 48px 14px 16px;
  display: flex;
  align-items: center;
  color: #4d4a45;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 750;
  transition: 160ms ease;
}

.wide-choice > span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 17px;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  transform: translateY(-50%);
}

.wide-choice input:checked + span {
  color: var(--ink);
  background: var(--accent-pale);
  border-color: var(--accent);
}

.wide-choice input:checked + span::after {
  border: 6px solid var(--accent);
  background: #fff;
}

.wide-choice input:focus-visible + span {
  outline: 3px solid rgba(198, 90, 46, 0.22);
  outline-offset: 2px;
}

.appointment-pair {
  margin-top: 32px;
  width: 100%;
  max-width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding: 22px;
  background: #f7f5f0;
  border: 1px solid #e5e0d7;
  border-radius: var(--radius-md);
}

.appointment-pair > .two-columns,
.appointment-pair .field,
.appointment-pair input[type="date"],
.appointment-pair input[type="time"],
.appointment-pair .manual-date-trigger,
.appointment-pair .manual-time-trigger {
  min-width: 0;
  max-width: 100%;
  min-inline-size: 0;
  max-inline-size: 100%;
}

.appointment-pair input[type="date"],
.appointment-pair input[type="time"] {
  width: 100%;
  inline-size: 100%;
}

.native-input-frame {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 54px;
  display: block;
  overflow: hidden;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 1rem !important;
  font-weight: 400 !important;
}

.native-input-frame:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(198, 90, 46, 0.12);
}

.native-input-frame:has(input:disabled) {
  background: #f3f1ed;
}

.native-input-frame:has(input.invalid) {
  border-color: var(--danger);
}

.native-input-frame:has(.manual-date-trigger.invalid) {
  border-color: var(--danger);
}

.native-input-frame input[type="date"],
.native-input-frame input[type="time"],
.native-input-frame .manual-time-trigger {
  min-height: 51px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.native-input-frame input[type="date"]:focus,
.native-input-frame input[type="time"]:focus,
.native-input-frame .manual-time-trigger:focus {
  border: 0;
  box-shadow: none;
}

.native-input-frame .manual-time-trigger {
  width: 100%;
  cursor: pointer;
}

.native-input-frame .manual-date-trigger {
  width: 100%;
  min-height: 51px;
  padding: 0 15px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.native-input-frame .manual-date-trigger:focus {
  outline: 0;
  box-shadow: none;
}

.native-input-frame .manual-time-trigger::placeholder {
  color: #99958e;
  opacity: 1;
}

.appointment-pair.optional-pair {
  background: #fff;
}

.second-choice-toggle {
  width: 100%;
  min-height: 54px;
  margin-top: 34px;
  padding: 13px 16px;
  color: var(--accent-dark);
  background: var(--accent-pale);
  border: 1.5px solid rgba(146, 56, 23, 0.35);
  border-radius: var(--radius-sm);
  font-weight: 900;
  cursor: pointer;
}

.second-choice-toggle:hover,
.second-choice-toggle:focus-visible {
  color: #fff;
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.appointment-title h3 {
  margin-bottom: 3px;
}

.appointment-title h3 em {
  color: var(--muted);
  font-style: normal;
  font-weight: 500;
}

.appointment-title p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.form-hint,
.schedule-message,
.field-error,
.submit-error {
  margin: 12px 0 0;
  font-size: 0.78rem;
}

.form-hint {
  padding-left: 13px;
  color: var(--muted);
  border-left: 2px solid var(--line-strong);
}

.field-error,
.submit-error,
.schedule-message.error-message {
  min-height: 1.3em;
  color: var(--danger);
  font-weight: 700;
}

.schedule-message {
  min-height: 1.3em;
  color: var(--muted);
  font-weight: 600;
}

.consent-block {
  margin-top: 28px;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding: 20px;
  background: #f6f4ef;
  border-radius: var(--radius-md);
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #4d4a45;
  font-size: 0.84rem;
  cursor: pointer;
}

.consent-row + .consent-row {
  margin-top: 12px;
}

.consent-row input {
  width: 19px;
  height: 19px;
  margin: 3px 0 0;
  flex: 0 0 auto;
  accent-color: var(--accent);
}

.text-button {
  padding: 0;
  color: var(--accent-dark);
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  cursor: pointer;
}

.line-instructions-modal {
  width: min(calc(100% - 32px), 640px);
  padding: clamp(26px, 4vw, 42px);
  border: 2px solid var(--accent);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.38);
}

.line-instructions-modal[open] {
  animation: line-dialog-pop 220ms cubic-bezier(0.2, 0.85, 0.32, 1.15);
}

.line-instructions-modal::backdrop {
  animation: line-backdrop-in 180ms ease-out;
}

.line-dialog-header {
  margin-bottom: 22px;
  text-align: center;
}

.line-dialog-header h2 {
  margin: 0;
  color: var(--accent-dark);
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  line-height: 1.35;
}

.line-dialog-header p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.line-instruction-item {
  padding: 16px 18px;
  background: var(--accent-pale);
  border-radius: var(--radius-sm);
}

.line-instruction-item + .line-instruction-item {
  margin-top: 14px;
}

.line-instruction-item strong {
  display: block;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.5;
}

.line-instruction-item p {
  margin: 7px 0 0;
  color: #4f372e;
  font-size: 0.88rem;
  line-height: 1.75;
  font-weight: 600;
}

.line-dialog-confirm {
  margin-top: 24px;
}

.time-confirmation-copy {
  padding: 20px 22px;
  color: #4f372e;
  background: var(--accent-pale);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  text-align: left;
}

.time-confirmation-copy p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.75;
  font-weight: 600;
}

.time-confirmation-copy p + p {
  margin-top: 14px;
}

.time-confirmation-copy strong {
  display: block;
  margin-top: 18px;
  color: var(--accent-dark);
  font-size: 0.94rem;
  line-height: 1.65;
}

@keyframes line-dialog-pop {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.92);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes line-backdrop-in {
  from {
    background: rgba(9, 9, 9, 0);
    backdrop-filter: blur(0);
  }

  to {
    background: rgba(9, 9, 9, 0.68);
    backdrop-filter: blur(5px);
  }
}

.submit-area {
  margin-top: 28px;
}

.submission-fallback {
  margin-top: 18px;
  padding: 20px;
  color: var(--ink);
  background: #fff3f1;
  border: 2px solid var(--danger);
  border-radius: var(--radius-md);
}

.submission-fallback > strong {
  display: block;
  color: var(--danger);
  font-size: 1rem;
}

.submission-fallback > p {
  margin: 7px 0 16px;
  color: #514a47;
  font-size: 0.84rem;
  line-height: 1.7;
}

.fallback-line-button {
  width: 100%;
  justify-content: center;
  color: #fff;
  background: var(--ink);
}

.primary-button,
.secondary-button {
  min-height: 58px;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 0;
  border-radius: var(--radius-sm);
  font-weight: 900;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.primary-button {
  width: 100%;
  color: #fff;
  background: var(--ink);
  box-shadow: 0 12px 28px rgba(23, 23, 23, 0.16);
}

#submitButton {
  min-height: 88px;
  padding: 20px 24px;
  background: var(--accent-dark);
  border: 2px solid var(--accent);
  box-shadow: 0 16px 34px rgba(146, 56, 23, 0.24);
}

.button-main {
  min-width: 0;
  flex: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.button-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
}

.button-label {
  display: block;
  font-size: 1.08rem;
  line-height: 1.35;
}

.button-step {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
  font-size: 0.7rem;
  line-height: 1;
}

.primary-button:hover,
.primary-button:focus-visible {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

#submitButton:hover,
#submitButton:focus-visible {
  background: var(--ink);
}

#submitButton > span:last-child {
  flex: 0 0 auto;
  font-size: 1.35rem;
}

.primary-button:disabled {
  color: rgba(255, 255, 255, 0.72);
  background: #706e69;
  cursor: wait;
  transform: none;
}

#submitButton:disabled {
  border-color: #706e69;
}

.info-panel {
  min-height: 100%;
  min-width: 0;
  padding: 64px 38px;
  color: #fff;
  background: var(--ink);
}

.info-sticky {
  position: sticky;
  top: 24px;
}

.info-heading .section-number {
  color: #dd8b69;
}

.info-heading h2 {
  margin-top: 0;
}

.process-intro {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
  line-height: 1.7;
}

.steps-list {
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.steps-list li {
  position: relative;
  padding: 0 0 26px;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
}

.steps-list li:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 33px;
  bottom: 0;
  left: 15px;
  width: 1px;
  background: rgba(255, 255, 255, 0.17);
}

.steps-list li > span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  color: #f1b297;
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  font-size: 0.62rem;
  font-weight: 900;
}

.steps-list strong {
  display: block;
  font-size: 0.9rem;
}

.steps-list p {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  line-height: 1.6;
}

.selected-store {
  margin-top: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
}

.selected-label {
  margin: 0 0 10px;
  color: #c9361c;
  font-size: 1rem;
  font-weight: 950;
  text-align: center;
  letter-spacing: 0.1em;
}

.selected-store h3 {
  margin: 0;
  font-size: 1.08rem;
}

.selected-store > p:last-of-type:not(.selected-label),
.selected-store .store-hours-today {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
}

.selected-store a {
  margin-top: 14px;
  display: inline-flex;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  font-size: 0.75rem;
  font-weight: 800;
}

.selected-store-inline {
  margin: 14px 0 0;
  width: 100%;
  color: var(--ink);
  background: #f7f5f0;
  border-color: #e1dbd1;
}

.selected-store-inline > .store-selection-status {
  margin: 0 0 16px;
  color: #c9361c !important;
  font-size: 1.12rem;
  line-height: 1.35;
  font-weight: 950;
  text-align: center;
  letter-spacing: 0.1em;
}

.selected-store-inline h4 {
  margin: 0;
  font-size: 1.05rem;
}

.selected-store-inline address {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
  font-style: normal;
}

.selected-store-inline dl {
  margin: 14px 0 0;
}

.selected-store-inline dl > div {
  padding: 6px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
}

.selected-store-inline dt {
  color: var(--muted);
}

.selected-store-inline dd {
  margin: 0;
  font-weight: 800;
}

.selected-store-inline a {
  color: var(--accent-dark);
  border-color: currentColor;
}

.confirmation-note {
  margin-top: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
}

.confirmation-note strong {
  display: block;
  font-size: 0.82rem;
}

.confirmation-note p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.74rem;
}

[hidden] {
  display: none !important;
}

.stores-section {
  padding: 96px max(24px, calc((100% - var(--content)) / 2));
  color: #fff;
  background: var(--ink-soft);
}

.section-heading.light .section-number {
  color: #ee9c78;
}

.section-heading.light > div > p {
  color: rgba(255, 255, 255, 0.55);
}

.store-cards {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.store-card {
  min-height: 320px;
  padding: clamp(26px, 4vw, 42px);
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-md);
}

.store-city {
  color: #ee9c78;
}

.store-card h3 {
  margin: 13px 0 4px;
  font-size: 1.65rem;
}

.store-card address {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.88rem;
  font-style: normal;
}

.store-card dl {
  margin: 24px 0;
}

.store-card dl > div {
  padding: 8px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
}

.store-card dt {
  color: rgba(255, 255, 255, 0.58);
}

.store-card dd {
  margin: 0;
  font-weight: 800;
}

.store-card > a {
  margin-top: auto;
  align-self: flex-start;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  font-size: 0.78rem;
  font-weight: 850;
}

.modal {
  width: min(calc(100% - 32px), 690px);
  max-height: min(86vh, 760px);
  margin: auto;
  padding: clamp(24px, 4vw, 40px);
  color: var(--ink);
  background: #fff;
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.32);
  overflow-y: auto;
}

.modal::backdrop {
  background: rgba(9, 9, 9, 0.68);
  backdrop-filter: blur(5px);
}

.manual-date-modal,
.manual-time-modal {
  width: min(calc(100% - 32px), 520px);
}

.manual-date-modal .modal-header p,
.manual-time-modal .modal-header p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.manual-calendar-toolbar {
  margin: 26px 0 18px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 10px;
}

.manual-calendar-toolbar strong {
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 900;
  text-align: center;
}

.manual-calendar-toolbar button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0 0 3px;
  color: var(--ink);
  background: var(--paper-soft);
  border: 1.5px solid var(--line);
  border-radius: 50%;
  font: inherit;
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
}

.manual-calendar-toolbar button:hover:not(:disabled),
.manual-calendar-toolbar button:focus-visible {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  outline: 0;
}

.manual-calendar-toolbar button:disabled {
  color: #b7b2aa;
  background: #f4f2ee;
  border-color: #e7e3dc;
  cursor: not-allowed;
}

.manual-calendar-weekdays,
.manual-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
}

.manual-calendar-weekdays {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-align: center;
}

.manual-calendar-day,
.manual-calendar-spacer {
  width: 100%;
  aspect-ratio: 1;
  min-width: 0;
}

.manual-calendar-day {
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 11px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 850;
  cursor: pointer;
}

.manual-calendar-day:hover:not(:disabled),
.manual-calendar-day:focus-visible {
  color: var(--accent-dark);
  background: var(--accent-pale);
  border-color: var(--accent);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(198, 90, 46, 0.13);
}

.manual-calendar-day.is-selected {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.manual-calendar-day.is-today:not(.is-selected) {
  box-shadow: inset 0 0 0 1px var(--accent);
}

.manual-calendar-day:disabled {
  color: #aaa59d;
  background: #efede9;
  border-color: #e4e0d9;
  cursor: not-allowed;
}

.manual-calendar-note {
  margin: 15px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.8rem;
}

.manual-calendar-note span {
  width: 14px;
  height: 14px;
  background: #efede9;
  border: 1px solid #e4e0d9;
  border-radius: 4px;
}

.manual-time-question {
  margin: 26px 0 0;
  color: var(--ink);
  font-weight: 900;
}

.manual-time-selectors {
  margin: 28px 0 12px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto minmax(96px, 0.8fr);
  align-items: center;
  gap: 12px;
}

.manual-time-selectors select {
  width: 100%;
  min-width: 0;
  min-height: 56px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 1rem;
}

.manual-time-selectors select:focus {
  border-color: var(--accent);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(198, 90, 46, 0.12);
}

.manual-time-selectors select:disabled {
  color: #8e8a83;
  background: #f3f1ed;
}

.manual-time-separator {
  font-size: 1.4rem;
  font-weight: 900;
}

.manual-time-error {
  margin: 10px 0 0;
  color: var(--danger);
  font-weight: 800;
}

.manual-time-actions {
  margin-top: 26px;
  display: block;
}

.manual-time-actions .copy-button,
.manual-time-actions .secondary-button {
  width: 100%;
  min-height: 52px;
  margin: 0;
}

.manual-time-actions .secondary-button:disabled {
  color: rgba(255, 255, 255, 0.7);
  background: #85817a;
  cursor: not-allowed;
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.modal-header h2 {
  margin-top: 10px;
}

#voucherDialog .modal-header h2 {
  margin-top: 0;
}

.modal-close {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  color: var(--ink);
  background: #f1efea;
  border: 0;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.terms-list {
  margin: 30px 0;
  padding: 0;
  list-style: none;
  counter-reset: terms;
}

.terms-list li {
  position: relative;
  padding: 13px 0 13px 42px;
  color: #484640;
  border-bottom: 1px solid var(--line);
  counter-increment: terms;
  font-size: 0.88rem;
}

.terms-list li::before {
  content: counter(terms, decimal-leading-zero);
  position: absolute;
  top: 14px;
  left: 0;
  color: var(--accent-dark);
  font-size: 0.7rem;
  font-weight: 900;
}

.privacy-copy {
  margin: 28px 0;
  color: #484640;
  font-size: 0.9rem;
}

.privacy-copy p + p {
  margin-top: 14px;
}

.secondary-button {
  width: 100%;
  color: #fff;
  background: var(--ink);
  justify-content: center;
}

.success-modal {
  position: relative;
  text-align: center;
}

.success-modal.dialog-fallback-open {
  position: fixed;
  z-index: 1000;
  inset: 5vh 16px auto;
  max-height: 90vh;
}

.success-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
}

.success-mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--success);
  border-radius: 50%;
  font-size: 1.8rem;
  font-weight: 900;
}

.success-modal .section-number {
  color: var(--success);
}

.success-modal h2 {
  margin-top: 8px;
}

.success-modal > p:not(.section-number) {
  color: var(--muted);
}

.success-modal > p.delivery-warning {
  padding: 14px 16px;
  color: var(--danger);
  background: #fff3f1;
  border: 1px solid #e4aaa2;
  border-radius: var(--radius-sm);
  font-weight: 750;
}

.success-required-note {
  margin: 20px 0;
  padding: 18px 20px;
  color: #4f372e;
  background: var(--accent-pale);
  border: 2px solid var(--accent);
  border-radius: var(--radius-md);
  text-align: left;
}

.success-required-note strong {
  display: block;
  color: var(--accent-dark);
  font-size: 0.98rem;
  line-height: 1.5;
}

.success-required-note p {
  margin: 7px 0 0;
  font-size: 0.88rem;
  line-height: 1.7;
  font-weight: 700;
}

.success-summary {
  margin: 22px 0;
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  background: #f4f2ed;
  border-radius: var(--radius-md);
  text-align: left;
}

.summary-item {
  display: flex;
  flex-direction: column;
}

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

.summary-item strong {
  font-size: 0.85rem;
}

.success-modal .primary-button {
  color: #fff;
}

.copy-button {
  min-height: 46px;
  margin-top: 10px;
  padding: 8px 18px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink);
  cursor: pointer;
}

.success-return-button {
  min-height: 44px;
  margin: 14px auto 0;
  padding: 8px 18px;
  display: block;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  font-weight: 800;
  cursor: pointer;
}


.noscript-note {
  position: fixed;
  z-index: 100;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 14px;
  color: #fff;
  background: var(--danger);
  border-radius: var(--radius-sm);
  text-align: center;
}

:focus-visible {
  outline: 3px solid rgba(198, 90, 46, 0.5);
  outline-offset: 3px;
}

@media (min-width: 941px) {
  html {
    font-size: 17px;
  }
}

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

  .booking-shell {
    grid-template-columns: 1fr;
    grid-template-areas:
      "process"
      "form";
  }

  .info-panel {
    min-height: auto;
    padding: 44px;
  }

  .info-sticky {
    position: static;
  }

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

  .steps-list li:not(:last-child)::before {
    display: none;
  }

  .selected-store {
    margin-top: 6px;
  }
}

@media (max-width: 720px) {
  .intro {
    width: min(calc(100% - 24px), var(--content));
    padding: 44px 0 30px;
    grid-template-columns: 1fr;
  }

  .intro h1 {
    margin: 0 auto 20px;
    font-size: clamp(1.75rem, 8.2vw, 2.8rem);
    white-space: nowrap;
  }

  .intro-lead {
    font-size: clamp(0.75rem, 3.65vw, 0.92rem);
    line-height: 1.4;
    letter-spacing: -0.04em;
    white-space: nowrap;
  }

  .intro-offer {
    margin-top: 26px;
    padding: 32px 18px;
    border-radius: 16px;
  }

  .intro-offer strong {
    font-size: 1.08rem;
  }

  .booking-shell {
    width: min(calc(100% - 24px), var(--content));
    margin-bottom: 72px;
    border-radius: 20px;
  }

  .booking-panel {
    width: 100%;
    max-width: 100%;
    padding: 30px 20px;
  }

  .section-heading > div > .draft-hint {
    width: 100%;
    line-height: 1.6;
  }

  .primary-button {
    padding-right: 14px;
    padding-left: 14px;
    gap: 10px;
  }

  .line-instructions-modal {
    width: min(calc(100% - 24px), 640px);
    padding: 26px 18px;
  }

  .line-instruction-item {
    padding: 15px 16px;
  }

  .line-instruction-item strong {
    font-size: 0.88rem;
  }

  .line-instruction-item p {
    font-size: 0.84rem;
  }

  .time-confirmation-copy {
    padding: 17px 16px;
  }

  .time-confirmation-copy p {
    font-size: 0.85rem;
  }

  .time-confirmation-copy strong {
    font-size: 0.88rem;
  }

  .success-required-note {
    padding: 16px;
  }

  #submitButton {
    min-height: 88px;
    padding: 18px 16px;
  }

  .button-main {
    gap: 8px;
  }

  .button-step {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .button-label {
    font-size: 0.98rem;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .store-choice-grid,
  .two-columns,
  .store-cards {
    grid-template-columns: 1fr;
  }

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

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

  .answer-block,
  .appointment-pair {
    width: 100%;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 14px;
    padding-left: 14px;
  }

  .appointment-pair > .two-columns,
  .appointment-pair .field,
  .appointment-pair .native-input-frame {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-inline-size: 0;
    max-inline-size: 100%;
  }

  .appointment-pair .native-input-frame input[type="date"],
  .appointment-pair .native-input-frame input[type="time"],
  .appointment-pair .native-input-frame .manual-date-trigger,
  .appointment-pair .native-input-frame .manual-time-trigger {
    width: calc(100% - 20px) !important;
    inline-size: calc(100% - 20px) !important;
    max-width: calc(100% - 20px) !important;
    max-inline-size: calc(100% - 20px) !important;
    margin-right: auto !important;
    margin-left: auto !important;
    box-sizing: border-box !important;
  }

  .manual-date-modal,
  .manual-time-modal {
    padding: 26px 18px;
  }

  .manual-calendar-weekdays,
  .manual-calendar-grid {
    gap: 5px;
  }

  .manual-calendar-day {
    border-radius: 9px;
    font-size: 0.9rem;
  }

  .manual-time-selectors {
    gap: 8px;
  }

  .manual-time-actions {
    display: block;
  }

  .form-section {
    margin-top: 38px;
    padding-bottom: 38px;
  }

  .info-panel {
    padding: 36px 22px;
  }

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

  .success-summary {
    grid-template-columns: 1fr;
  }
}

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