/* service page and appointment page */
.st-service { display: grid; gap: 28px; grid-template-columns: 1fr; padding-block-start: 12px; }
.st-service__media { border-radius: 20px; overflow: hidden; background: var(--st-soft); aspect-ratio: 1 / 1; }
.st-service__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-service__body { display: grid; gap: 14px; align-content: start; }
.st-options { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 8px; }
.st-option { position: relative; min-width: 96px; min-height: 52px; padding: 10px 16px; border: 1px solid var(--st-line); border-radius: 10px; background: #fff; font-size: 13px; text-align: center; transition: background-color 150ms var(--st-ease), color 150ms; }
.st-option[aria-checked="true"] { background: var(--st-accent); border-color: var(--st-accent); color: #fff; }
.st-option__check { position: absolute; inset-block-start: 6px; inset-inline-start: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; color: var(--st-accent); display: none; place-items: center; }
.st-option__check .st-i { width: 11px; height: 11px; }
.st-option[aria-checked="true"] .st-option__check { display: grid; }
.st-pricebar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--sage-100); border-radius: 10px; }
.st-pricebar__time { display: inline-flex; align-items: center; gap: 8px; color: var(--st-muted); font-size: 13px; }
.st-pricebar__price { font-weight: 600; font-size: 17px; color: var(--sage-900); }
.st-was { color: var(--st-muted); font-weight: 400; font-size: 13px; }
.st-qty { display: flex; align-items: center; justify-content: space-between; }
.st-stepper { display: inline-flex; align-items: center; border: 1px solid var(--st-line); border-radius: 10px; }
.st-stepper button { width: 44px; height: 44px; font-size: 20px; }
.st-stepper output { min-width: 36px; text-align: center; font-weight: 600; }
.st-fields { display: grid; gap: 14px; }
.st-field[data-invalid] .st-input, .st-field[data-invalid] .st-choices { outline: 1px solid var(--st-danger); }
.st-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.st-choices label span { display: inline-flex; align-items: center; min-height: 40px; padding-inline: 14px; border: 1px solid var(--st-line); border-radius: 10px; cursor: pointer; }
.st-choices input { position: absolute; opacity: 0; pointer-events: none; }
.st-choices input:checked + span { background: var(--st-accent); color: #fff; border-color: var(--st-accent); }
.st-choices input:focus-visible + span { outline: 2px solid var(--sage-700); outline-offset: 2px; }
.st-addon { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--st-line); border-radius: 10px; cursor: pointer; }
.st-addon__text { display: flex; flex: 1; justify-content: space-between; gap: 8px; }
.st-share { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--st-muted); }
.st-share a, .st-share button { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--st-line); border-radius: 50%; color: var(--sage-800); }
.st-share a:hover, .st-share button:hover { background: var(--st-soft); }
.st-note { padding: 12px 14px; border-radius: 10px; background: var(--sage-100); color: var(--ink-soft); font-size: 13px; }
.st-service__actions { display: flex; gap: 10px; }
@media (min-width: 768px) {
  .st-service { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; padding-block-start: 56px; }
  .st-service__media { grid-column: 1; grid-row: 1; aspect-ratio: 1 / 1; align-self: start; }
  .st-service__body { grid-column: 2; grid-row: 1; }
  .st-service__actions { grid-column: 2; grid-row: 2; justify-content: flex-end; }
  .st-service__actions .st-btn { min-width: 160px; }
}
@media (max-width: 767.98px) {
  .st-service__media { aspect-ratio: 4 / 3; }
  .st-service__actions { position: sticky; inset-block-end: 0; padding-block: 12px; background: linear-gradient(to top, var(--st-page) 70%, transparent); }
  .st-service__actions .st-btn { flex: 1; }
}

/* the appointment page */
.st-time { display: grid; gap: 18px; padding-block-start: 12px; }
.st-time__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.st-title--row { display: flex; align-items: center; gap: 8px; }
.st-back { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; }
.st-back:hover { background: var(--st-soft); }
.st-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.st-calendar { position: relative; cursor: pointer; }
.st-calendar input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; pointer-events: none; }
.st-staff { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; }
.st-staff select { min-height: 32px; border: 1px solid var(--st-line); border-radius: 8px; padding-inline: 8px; background: #fff; }
.st-month { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.st-month__nav { display: flex; gap: 6px; }
.st-month__nav .st-icon-btn { border: 1px solid var(--st-line); width: 32px; height: 32px; }
.st-days { display: flex; gap: 10px; overflow-x: auto; padding-block: 4px 10px; scroll-snap-type: x proximity; scrollbar-width: none; }
.st-days::-webkit-scrollbar { display: none; }
.st-day { flex: none; width: 58px; padding-block: 10px; border: 1px solid var(--st-line); border-radius: 12px; background: #fff; display: grid; justify-items: center; gap: 2px; scroll-snap-align: center; transition: background-color 150ms var(--st-ease), color 150ms; }
.st-day__num { font-size: 20px; font-weight: 700; line-height: 1.2; }
.st-day__name { font-size: 11px; color: var(--st-muted); }
.st-day[aria-selected="true"] { background: var(--st-accent); border-color: var(--st-accent); color: #fff; }
.st-day[aria-selected="true"] .st-day__name { color: var(--sage-200); }
.st-day:disabled { opacity: 0.4; cursor: default; }
.st-day:disabled .st-day__num { text-decoration: line-through; }
.st-dayhead { display: flex; align-items: baseline; gap: 8px; font-size: 14px; }
.st-dayhead span { color: var(--st-muted); font-size: 12px; }
.st-slotgroup { display: grid; gap: 10px; margin-block-start: 14px; }
.st-slotgroup h3 { font-size: 12px; font-weight: 500; color: var(--st-muted); }
.st-slot { font-family: var(--st-font); font-weight: 500; width: 100%; min-height: 48px; padding-inline: 16px; border: 1px solid var(--st-line); border-radius: 10px; background: #fff; text-align: start; font-size: 14px; font-variant-numeric: tabular-nums; transition: border-color 150ms var(--st-ease), background-color 150ms; }
.st-slot:hover:not(:disabled) { border-color: var(--st-accent); background: var(--sage-100); }
.st-slot:disabled { opacity: 0.5; }
.st-empty { display: grid; justify-items: center; gap: 12px; padding: 40px 0; color: var(--st-muted); text-align: center; }
