:root {
  --appointment-primary: #349483;
  --appointment-primary-hover: #2f8879;
  --appointment-secondary: #24323c;
  --appointment-ink: #333333;
  --appointment-muted: #707070;
  --appointment-line: #e5e5e5;
  --appointment-soft: #f9f9f9;
}

.parseh-appointment-body,
.appointment-success-body {
  background: #fff;
  color: var(--appointment-ink);
}

.appointment-page,
.appointment-page *,
.appointment-success,
.appointment-success * {
  box-sizing: border-box;
}

.appointment-page {
  width: 100%;
  background: #fff;
  font-family: Peyda, IRANSans, Tahoma, sans-serif;
  text-align: right;
}

.appointment-service-picker-heading{margin:0 0 28px;text-align:right}
.appointment-service-picker-heading h1,.appointment-service-heading{margin:0 0 8px;color:var(--appointment-ink);font-size:24px;line-height:1.5;font-weight:700}
.appointment-service-picker-heading p{margin:0;color:var(--appointment-muted);font-size:16px;line-height:1.7}
.appointment-service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.appointment-service-card{min-height:112px;padding:20px 24px;display:flex;align-items:center;gap:16px;border:1px solid var(--appointment-line);border-radius:16px;background:#fff;color:var(--appointment-ink);text-decoration:none;transition:border-color .15s ease,background-color .15s ease}
.appointment-service-card:hover{border-color:var(--appointment-primary);background:#f8fcfb}
.appointment-service-card>img{width:64px;height:64px;flex:0 0 64px;object-fit:contain}
.appointment-service-card>span{display:grid;gap:6px;flex:1;min-width:0}
.appointment-service-card strong{font-size:18px;font-weight:700}
.appointment-service-card small{font-size:14px;color:var(--appointment-muted)}
.appointment-service-card>b{color:var(--appointment-primary);font-size:24px;font-weight:400}
.appointment-service-heading{margin:0 0 20px}

.appointment-shell {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: 54px 0 80px;
}

.appointment-mobile-header {
  display: none;
}

.appointment-breadcrumb {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 28px;
  margin-bottom: 48px;
  color: #959595;
  font-size: 16px;
}

.appointment-breadcrumb strong {
  color: var(--appointment-ink);
  font-weight: 700;
}

.appointment-breadcrumb b {
  color: #b7b7b7;
  font-size: 24px;
  font-weight: 400;
}

.appointment-home-mark {
  position: relative;
  width: 22px;
  height: 22px;
  border: 2px solid #bbb;
  border-radius: 7px;
}

.appointment-home-mark::before {
  content: '';
  position: absolute;
  width: 7px;
  height: 7px;
  border: 2px solid #bbb;
  border-width: 2px 2px 0 0;
  transform: rotate(-45deg);
  right: 5px;
  top: -5px;
  background: #fff;
}

.appointment-stepper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  width: 840px;
  max-width: 100%;
  margin: 0 auto 80px;
  padding: 0;
  list-style: none;
}

.appointment-stepper li {
  position: relative;
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: #959595;
  font-size: 16px;
  line-height: 22px;
  text-align: center;
}

.appointment-step-label-mobile {
  display: none;
}

.appointment-stepper li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 27px;
  right: calc(50% + 28px);
  width: calc(100% - 56px);
  height: 2px;
  background: #f0f0f0;
}

.appointment-stepper li.is-complete::after {
  background: var(--appointment-primary);
}

.appointment-step-icon {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #f9f9f9;
}

.appointment-step-icon::before {
  content: '';
  position: absolute;
  inset: 16px;
  background: #bbb;
  -webkit-mask: var(--step-icon) center / contain no-repeat;
  mask: var(--step-icon) center / contain no-repeat;
}

.appointment-stepper li.is-current {
  color: var(--appointment-secondary);
  font-weight: 700;
}

.appointment-stepper li.is-current .appointment-step-icon {
  background: var(--appointment-primary);
}

.appointment-stepper li.is-current .appointment-step-icon::before {
  background: #fff;
}

.appointment-stepper li.is-complete {
  color: var(--appointment-secondary);
  font-weight: 700;
}

.appointment-stepper li.is-complete .appointment-step-icon {
  background: #ebf5f3;
  border: 2px solid var(--appointment-primary);
}

.appointment-stepper li.is-complete .appointment-step-icon::before {
  inset: 14px;
  background: var(--appointment-primary);
}

.appointment-errors {
  width: 100%;
  margin: -52px 0 28px;
  padding: 12px 16px;
  border: 1px solid #f3b8b8;
  border-radius: 12px;
  background: #fff4f4;
  color: #a83333;
  font-size: 14px;
}

.appointment-errors p {
  margin: 0;
}

.appointment-stage {
  width: 100%;
}

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

.doctor-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  height: 128px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--appointment-line);
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
}

.doctor-card.is-selected {
  border-color: var(--appointment-primary);
}

.doctor-card > input,
.time-slot > input,
.gateway-option > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-mark {
  position: relative;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  background: #fff;
}

.doctor-card input:checked + .radio-mark,
.gateway-option input:checked + .radio-mark {
  border-color: var(--appointment-primary);
}

.doctor-card input:checked + .radio-mark::after,
.gateway-option input:checked + .radio-mark::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--appointment-primary);
}

.doctor-avatar {
  flex: 0 0 auto;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.doctor-copy {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.doctor-copy strong {
  color: var(--appointment-ink);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
  white-space: nowrap;
}

.doctor-copy small {
  color: var(--appointment-muted);
  font-size: 20px;
  line-height: 28px;
}

.doctor-fee {
  flex: 0 0 auto;
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(204, 233, 223, .5);
  color: #008f5d;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.appointment-mobile-note {
  display: none;
}

.appointment-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 24px;
}

.appointment-actions.next-only {
  direction: ltr;
}

.appointment-actions.previous-only {
  justify-content: flex-start;
}

.appointment-primary,
.appointment-previous {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 198px;
  height: 48px;
  padding: 12px 48px;
  border: 0;
  border-radius: 12px;
  font: 700 16px/22px Peyda, IRANSans, Tahoma, sans-serif;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.appointment-primary {
  background: var(--appointment-primary);
  color: #fff;
}

.appointment-primary:hover,
.appointment-primary:focus-visible {
  background: var(--appointment-primary-hover);
  color: #fff;
}

.appointment-primary:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.appointment-primary img,
.appointment-previous img {
  width: 24px;
  height: 24px;
}

.appointment-primary img {
  filter: brightness(0) invert(1);
}

.appointment-primary.appointment-next-step {
  width: 198px;
  min-width: 198px;
  height: 48px;
  padding: 0;
  border-radius: 12px;
  background: url('../parseh-v2/appointments/next-step-button.svg') center / 100% 100% no-repeat;
  color: transparent;
  font-size: 0;
  gap: 0;
}
.appointment-primary.appointment-next-step:hover,
.appointment-primary.appointment-next-step:focus-visible {
  background: url('../parseh-v2/appointments/next-step-button.svg') center / 100% 100% no-repeat;
  color: transparent;
}
.appointment-primary.appointment-next-step span,
.appointment-primary.appointment-next-step img { display: none; }
.appointment-primary.appointment-next-step:focus-visible { outline: 2px solid #24323c; outline-offset: 3px; }
.appointment-actions.next-only .appointment-primary.appointment-next-step { width: 198px; min-width: 198px; height: 48px; padding: 0; justify-content: center; }

.appointment-previous {
  width: 198px;
  min-width: 198px;
  height: 48px;
  padding: 0;
  background: transparent;
  color: transparent;
  gap: 0;
}

.appointment-previous img {
  display: block;
  width: 198px;
  height: 48px;
  max-width: none;
}

.month-field {
  width: 306px;
  margin-right: 0;
  margin-bottom: 24px;
}

.month-field label,
.guardian-fields label > span {
  display: block;
  margin-bottom: 8px;
  color: var(--appointment-ink);
  font-size: 14px;
  font-weight: 700;
}

.month-field select,
.guardian-fields input,
.guardian-fields textarea,
.discount-card input {
  width: 100%;
  height: 48px;
  padding: 12px 16px;
  border: 1px solid var(--appointment-line);
  border-radius: 12px;
  outline: none;
  background: #f9f9f9;
  color: var(--appointment-ink);
  font: 400 14px/20px Peyda, IRANSans, Tahoma, sans-serif;
}

.month-field select:focus,
.guardian-fields input:focus,
.guardian-fields textarea:focus,
.discount-card input:focus {
  border-color: var(--appointment-primary);
}

.date-picker h2,
.slot-picker > h2 {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
}

.date-strip {
  display: grid;
  grid-template-columns: 128px repeat(7, minmax(0, 1fr)) 128px;
  gap: 16px;
  width: 100%;
}

.date-card,
.week-shift {
  min-width: 0;
  height: 88px;
  padding: 10px 8px;
  border: 1px solid var(--appointment-line);
  border-radius: 8px;
  background: #fff;
  color: var(--appointment-ink);
  font-family: inherit;
  cursor: pointer;
}

.date-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2px;
}

.date-card span {
  color: var(--appointment-muted);
  font-size: 12px;
}

.date-card strong {
  font-size: 16px;
}

.date-card small {
  color: #00a36c;
  font-size: 12px;
}

.date-card small.is-full {
  color: #ea3829;
}

.date-card.is-selected {
  border-color: var(--appointment-primary);
  background: #ebf5f3;
}

.date-card.is-full {
  border-color: #e5e5e5;
  background: #e5e5e5;
  cursor: not-allowed;
}

.date-card.is-holiday {
  border-color: #e0e0e0;
  background: #e0e0e0;
  cursor: not-allowed;
}

.date-card.is-holiday small {
  color: #999;
}

.week-shift {
  font-size: 16px;
  font-weight: 700;
}

.week-shift:disabled {
  color: #bbb;
  background: #f9f9f9;
  cursor: not-allowed;
}

.slot-picker {
  margin-top: 28px;
}

.slot-date-panel {
  display: none;
}

.slot-date-panel.is-active {
  display: block;
}

.slot-period {
  margin-top: 18px;
}

.slot-period h3 {
  display: flex;
  direction: rtl;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: #333;
  font-size: 14px;
  font-weight: 700;
}

.slot-period h3 span {
  display: block;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  background: #333;
  -webkit-mask: var(--period-icon) center / contain no-repeat;
  mask: var(--period-icon) center / contain no-repeat;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 16px;
}

.time-slot {
  position: relative;
  display: block;
  min-width: 0;
  cursor: pointer;
}

.time-slot span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  border: 1px solid var(--appointment-line);
  border-radius: 8px;
  background: #fff;
  color: #4d4d4d;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
}

.time-slot input:checked + span {
  border-color: var(--appointment-primary);
  background: #ebf5f3;
}

.time-slot.is-disabled {
  cursor: not-allowed;
}

.time-slot.is-disabled span {
  border-color: #e0e0e0;
  background: #e0e0e0;
  color: #4d4d4d;
}

.appointment-stage-details {
  padding-top: 4px;
}

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

.guardian-fields input {
  height: 48px;
}

.guardian-fields input[dir='ltr'] {
  text-align: right;
}

.guardian-notes {
  grid-column: 1 / -1;
}

.guardian-fields textarea {
  min-height: 188px;
  resize: vertical;
}

.payment-columns {
  display: grid;
  grid-template-columns: 376px minmax(0, 856px);
  gap: 24px;
  align-items: start;
  direction: ltr;
}

.payment-sidebar,
.payment-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
  direction: rtl;
}

.appointment-card {
  border: 1px solid var(--appointment-line);
  border-radius: 16px;
  background: #fff;
}

.appointment-card h2 {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  min-height: 48px;
  margin: 0;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--appointment-line);
  font-size: 20px;
  font-weight: 700;
}

.card-heading-icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f9f9f9;
}

.card-heading-icon::after,
.benefit-icon::after,
.appointment-info-icon::after {
  content: '';
  display: block;
  width: 24px;
  height: 24px;
  margin: 12px;
  background: #bbb;
  -webkit-mask: var(--card-icon) center / contain no-repeat;
  mask: var(--card-icon) center / contain no-repeat;
}

.ticket-icon { --card-icon: url('../parseh-v2/appointments/ticket-sale.svg'); }
.payment-card-icon { --card-icon: url('../parseh-v2/appointments/card.svg'); }
.bill-icon { --card-icon: url('../parseh-v2/appointments/step-bill.svg'); }
.appointment-detail-icon { --card-icon: url('../parseh-v2/appointments/step-calendar.svg'); }
.shield-icon { --card-icon: url('../parseh-v2/appointments/shield-check.svg'); }
.transfer-icon { --card-icon: url('../parseh-v2/appointments/card-transfer.svg'); }
.calendar-icon { --card-icon: url('../parseh-v2/appointments/step-calendar.svg'); }

.discount-card,
.gateway-card,
.payment-information,
.appointment-summary {
  padding: 16px;
}

.discount-card p {
  margin: 16px 0;
  color: var(--appointment-muted);
  font-size: 14px;
}

.discount-card > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 90px;
  gap: 12px;
}

.discount-card button {
  height: 48px;
  border: 1px solid var(--appointment-primary);
  border-radius: 12px;
  background: #fff;
  color: var(--appointment-primary);
  font: 700 14px Peyda, IRANSans, Tahoma, sans-serif;
}

.gateway-option {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-top: 16px;
  cursor: pointer;
}

.gateway-option .radio-mark {
  margin-top: 2px;
}

.gateway-copy {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 8px;
}

.gateway-copy strong {
  font-size: 18px;
}

.gateway-copy small {
  color: var(--appointment-muted);
  font-size: 12px;
  line-height: 20px;
}

.gateway-option > img {
  width: 36px;
  height: 24px;
  object-fit: contain;
  background: transparent;
}

.payment-deadline {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 72px;
  padding: 12px 16px;
  border: 1px solid #bddbfb;
  border-radius: 12px;
  background: #eff7ff;
}

.appointment-info-icon {
  width: 28px;
  height: 28px;
}

.appointment-info-icon::after {
  width: 20px;
  height: 20px;
  margin: 4px;
  background: #2561a2;
  --card-icon: url('../parseh-v2/appointments/info-circle.svg');
}

.payment-deadline p {
  margin: 0;
  color: #2561a2;
  font-size: 14px;
  line-height: 20px;
}

.deadline-clock {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
}

.deadline-clock span {
  margin-left: 4px;
}

.deadline-clock b {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
}

.deadline-clock i {
  font-style: normal;
}

.payment-information dl,
.appointment-summary dl {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0;
}

.payment-information dl div,
.appointment-summary dl div {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.payment-information dt,
.payment-information dd,
.appointment-summary dt,
.appointment-summary dd {
  margin: 0;
  font-size: 18px;
  line-height: 25px;
}

.payment-information dd,
.appointment-summary dd {
  color: var(--appointment-ink);
}

.payable-row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 176px;
  align-items: center;
  min-height: 64px;
  padding-right: 16px;
  border-radius: 12px;
  background: #f9f9f9;
  font-size: 20px;
}

.payable-row form,
.payable-row button {
  width: 176px;
}

.payable-row button {
  height: 64px;
  font-size: 20px;
}

.appointment-summary dl div {
  grid-template-columns: 250px minmax(0, 1fr);
}

.appointment-summary dl div:last-child dd {
  line-height: 30px;
}

.appointment-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  direction: ltr;
}

.appointment-benefits article {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 135px;
  padding: 16px;
  border: 1px solid var(--appointment-line);
  border-radius: 16px;
  text-align: center;
  direction: rtl;
}

.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ebf5f3;
}

.benefit-icon::after {
  background: var(--appointment-primary);
}

.appointment-benefits article > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.appointment-benefits strong {
  font-size: 16px;
}

.appointment-benefits small {
  color: var(--appointment-muted);
  font-size: 12px;
}

.appointment-success-body {
  min-height: 100vh;
  margin: 0;
  font-family: Peyda, IRANSans, Tahoma, sans-serif;
}

.appointment-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding-top: 116px;
  background: #fff;
}

.appointment-success-logo {
  width: 210px;
  height: auto;
  margin-bottom: 68px;
}

.appointment-success-card {
  width: 656px;
  max-width: calc(100% - 48px);
  text-align: center;
}

.appointment-success-pets {
  display: block;
  width: 656px;
  max-width: 100%;
  height: 306px;
  margin: 0 auto;
  object-fit: cover;
  object-position: center bottom;
}

.appointment-success-card > div {
  min-height: 280px;
  padding: 30px 56px;
  border-radius: 0 0 16px 16px;
  background: var(--appointment-primary);
  color: #fff;
}

.appointment-success h1 {
  margin: 0 0 16px;
  font-size: 32px;
  line-height: 45px;
}

.appointment-success p {
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 32px;
}

.appointment-success .appointment-tracking {
  margin-bottom: 14px;
}

.appointment-success a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 228px;
  height: 48px;
  margin-top: 2px;
  padding: 12px 24px;
  border-radius: 12px;
  background: #fff;
  color: var(--appointment-primary);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 700px) {
  .parseh-appointment-body > .parseh-header,
  .parseh-appointment-body > .parseh-footer,
  .parseh-appointment-body .mobile-bottom-nav,
  .parseh-appointment-body > .parseh-cart-layer {
    display: none !important;
  }

  .parseh-appointment-body {
    min-width: 320px;
  }

  .appointment-page {
    min-height: 100vh;
  }

  .appointment-mobile-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 72px;
    border-bottom: 1px solid #e5e5e5;
  }

  .appointment-mobile-header h1 {
    margin: 0;
    color: var(--appointment-ink);
    font-size: 16px;
    font-weight: 700;
  }

  .appointment-mobile-header a {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 24px;
    height: 24px;
  }

  .appointment-mobile-header img {
    width: 24px;
    height: 24px;
    opacity: .55;
  }

  .appointment-shell {
    width: 100%;
    padding: 48px 16px 46px;
  }

  .appointment-breadcrumb {
    display: none;
  }

  .appointment-stepper {
    width: 100%;
    margin-bottom: 52px;
  }

  .appointment-stepper li {
    gap: 8px;
    font-size: 12px;
    line-height: 17px;
    white-space: nowrap;
  }

  .appointment-step-label-desktop {
    display: none;
  }

  .appointment-step-label-mobile {
    display: inline;
  }

  .appointment-stepper li:not(:last-child)::after {
    top: 20px;
    right: calc(50% + 20px);
    width: calc(100% - 40px);
    height: 1px;
  }

  .appointment-step-icon {
    width: 40px;
    height: 40px;
  }

  .appointment-step-icon::before {
    inset: 11px;
  }

  .appointment-stepper li.is-complete .appointment-step-icon::before {
    inset: 10px;
  }

  .appointment-errors {
    margin: -28px 0 20px;
    font-size: 12px;
  }

  .doctor-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .doctor-card {
    height: 88px;
    padding: 16px;
    gap: 12px;
    border-radius: 12px;
  }

  .radio-mark {
    width: 24px;
    height: 24px;
  }

  .doctor-avatar {
    width: 48px;
    height: 48px;
  }

  .doctor-copy {
    gap: 4px;
  }

  .doctor-copy strong {
    font-size: 14px;
    line-height: 20px;
  }

  .doctor-copy small {
    font-size: 12px;
    line-height: 17px;
  }

  .doctor-fee {
    display: none;
  }

  .appointment-mobile-note {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    margin-top: 16px;
    padding: 8px 12px;
    border: 1px solid #bddbfb;
    border-radius: 12px;
    background: #eff7ff;
    color: #2561a2;
    font-size: 11px;
  }

  .appointment-mobile-note .appointment-info-icon {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
  }

  .appointment-mobile-note .appointment-info-icon::after {
    width: 18px;
    height: 18px;
    margin: 1px;
  }

  .appointment-actions {
    margin-top: 128px;
  }

  .appointment-stage-time .appointment-actions,
  .appointment-stage-details .appointment-actions,
  .appointment-stage-payment .appointment-actions {
    margin-top: 32px;
  }

  .appointment-primary,
  .appointment-previous {
    width: 198px;
    min-width: 198px;
    height: 48px;
    padding: 0;
  }

  .appointment-actions.next-only .appointment-primary {
    justify-content: flex-start;
    width: auto;
    padding: 11px 12px;
  }

  .appointment-primary img {
    width: 20px;
    height: 20px;
  }

  .appointment-previous img { width: 198px; height: 48px; }

  .month-field {
    width: 100%;
    margin-bottom: 24px;
  }

  .month-field select {
    height: 48px;
  }

  .date-strip {
    display: flex;
    gap: 12px;
    width: calc(100% + 16px);
    margin-left: -16px;
    padding-left: 16px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .date-strip::-webkit-scrollbar {
    display: none;
  }

  .date-card,
  .week-shift {
    flex: 0 0 92px;
    height: 92px;
    scroll-snap-align: start;
  }

  .week-shift {
    display: none;
  }

  .slot-picker {
    margin-top: 28px;
  }

  .slot-period {
    margin-top: 18px;
  }

  .slot-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .time-slot span {
    height: 48px;
  }

  .appointment-stage-time .appointment-actions,
  .appointment-stage-details .appointment-actions {
    align-items: center;
  }

  .appointment-stage-details {
    padding-top: 0;
  }

  .guardian-fields {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .guardian-notes {
    grid-column: auto;
  }

  .guardian-fields input {
    height: 48px;
  }

  .guardian-fields textarea {
    min-height: 140px;
  }

  .payment-columns {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .payment-main,
  .payment-sidebar {
    display: contents;
  }

  .payment-deadline { order: 1; }
  .payment-information { order: 2; }
  .appointment-summary { order: 3; }
  .discount-card { order: 4; }
  .gateway-card { order: 5; }
  .appointment-benefits { order: 6; }
  .appointment-actions.previous-only { order: 7; }

  .payment-deadline {
    grid-template-columns: 20px minmax(0, 1fr);
    min-height: 94px;
    padding: 12px;
  }

  .payment-deadline p {
    font-size: 11px;
    line-height: 18px;
  }

  .payment-deadline .appointment-info-icon {
    width: 20px;
    height: 20px;
  }

  .payment-deadline .appointment-info-icon::after {
    width: 18px;
    height: 18px;
    margin: 1px;
  }

  .deadline-clock {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }

  .appointment-card {
    border-radius: 12px;
  }

  .discount-card,
  .gateway-card,
  .payment-information,
  .appointment-summary {
    padding: 16px;
  }

  .appointment-card h2 {
    min-height: 40px;
    gap: 12px;
    padding-bottom: 12px;
    font-size: 14px;
  }

  .card-heading-icon {
    width: 36px;
    height: 36px;
  }

  .card-heading-icon::after {
    width: 20px;
    height: 20px;
    margin: 8px;
  }

  .payment-information dl div,
  .appointment-summary dl div {
    grid-template-columns: 134px minmax(0, 1fr);
    gap: 8px;
  }

  .payment-information dt,
  .payment-information dd,
  .appointment-summary dt,
  .appointment-summary dd {
    font-size: 12px;
    line-height: 18px;
  }

  .payable-row {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 8px;
    min-height: 112px;
    padding: 12px;
    font-size: 14px;
  }

  .payable-row form {
    grid-column: 1 / -1;
    width: 100%;
  }

  .payable-row button {
    width: 100%;
    height: 48px;
    font-size: 14px;
  }

  .appointment-summary dl div {
    grid-template-columns: 126px minmax(0, 1fr);
  }

  .discount-card p {
    font-size: 12px;
  }

  .discount-card > div {
    grid-template-columns: minmax(0, 1fr) 100px;
  }

  .gateway-copy strong {
    font-size: 14px;
  }

  .gateway-option > img {
    width: 32px;
  }

  .appointment-benefits {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .appointment-benefits article {
    flex-direction: row;
    justify-content: flex-start;
    height: 72px;
    padding: 12px 16px;
    text-align: right;
  }

  .appointment-benefits article > div {
    align-items: flex-start;
  }

  .appointment-benefits strong {
    font-size: 14px;
  }

  .appointment-benefits small {
    font-size: 11px;
  }

  .appointment-success {
    padding-top: 34px;
  }

  .appointment-success-logo {
    width: 150px;
    margin-bottom: 88px;
  }

  .appointment-success-card {
    width: 300px;
    max-width: calc(100% - 48px);
  }

  .appointment-success-pets {
    width: 300px;
    height: 140px;
  }

  .appointment-success-card > div {
    min-height: 238px;
    padding: 24px 22px;
    border-radius: 0 0 12px 12px;
  }

  .appointment-success h1 {
    margin-bottom: 12px;
    font-size: 20px;
    line-height: 28px;
  }

  .appointment-success p {
    margin-bottom: 14px;
    font-size: 12px;
    line-height: 20px;
  }

  .appointment-success a {
    min-width: 180px;
    height: 44px;
    font-size: 14px;
  }
}

@media(max-width:700px){
  .appointment-service-picker .appointment-shell{padding-top:24px}
  .appointment-service-picker-heading{margin-bottom:20px}
  .appointment-service-picker-heading h1,.appointment-service-heading{font-size:19px}
  .appointment-service-picker-heading p{font-size:14px}
  .appointment-service-grid{grid-template-columns:minmax(0,1fr);gap:12px}
  .appointment-service-card{min-height:88px;padding:12px;gap:12px;border-radius:12px}
  .appointment-service-card>img{width:48px;height:48px;flex-basis:48px}
  .appointment-service-card strong{font-size:16px}
  .appointment-service-card small{font-size:12px}
}
