.ayla-core-schedule,
.ayla-core-prices,
.ayla-core-account,
.ayla-core-contact-form,
.ayla-core-login,
.ayla-booking-journey,
.ayla-checkout-step-heading,
.ayla-booking-complete,
.ayla-customer-account-page {
  --ayla-core-cream: #fdfbf7;
  --ayla-core-beige: #f5f0e6;
  --ayla-core-taupe: #c8b195;
  --ayla-core-brown: #4a3b32;
  --ayla-core-ink: #111;
  --ayla-core-line: rgba(74, 59, 50, 0.2);
  color: var(--ayla-core-ink);
}

.ayla-booking-journey {
  max-width: 1180px;
  margin-inline: auto;
  padding: 40px 28px 72px;
}

body.ayla-booking-flow-page .ayla-page-main {
  min-height: 0;
  padding-block: 72px 0;
}

body.page-template-page-my-bookings .ayla-account-page > .wp-block-post-title {
  box-sizing: border-box;
  width: min(1380px, calc(100% - 56px));
  margin-inline: auto;
}

body.woocommerce-checkout .ayla-checkout-page,
body.woocommerce-checkout .ayla-checkout-page > .wp-block-post-content {
  width: 100%;
  max-width: none;
}

.ayla-booking-account-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 70px;
  border: 1px solid var(--ayla-core-line);
  background: var(--ayla-core-beige);
  padding: 25px 28px;
}

.ayla-booking-account-notice span,
.ayla-booking-account-notice a {
  color: var(--ayla-core-brown);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ayla-booking-account-notice p {
  margin: 5px 0 0;
  color: rgba(17, 17, 17, 0.58);
  font-size: 0.76rem;
}

.ayla-booking-account-notice a {
  flex: 0 0 auto;
  border-bottom: 1px solid var(--ayla-core-taupe);
  padding-bottom: 5px;
}

.ayla-booking-progress {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 54px;
}

.ayla-booking-progress span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--ayla-core-line);
  border-radius: 50%;
  color: rgba(17, 17, 17, 0.45);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.ayla-booking-progress span[aria-current="step"] {
  border-color: var(--ayla-core-brown);
  background: var(--ayla-core-brown);
  color: var(--ayla-core-cream);
}

.ayla-booking-step[hidden] {
  display: none;
}

.ayla-booking-step-heading,
.ayla-checkout-step-heading {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 38px;
  margin-bottom: 52px;
}

.ayla-booking-step-heading > span,
.ayla-checkout-step-heading > span {
  padding-top: 12px;
  color: var(--ayla-core-brown);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.ayla-booking-step-heading h1,
.ayla-checkout-step-heading h1 {
  margin: 0 0 16px;
  font-size: clamp(3.5rem, 6vw, 6.8rem);
  line-height: 0.95;
}

.ayla-booking-step-heading p,
.ayla-checkout-step-heading p {
  max-width: 660px;
  margin: 0;
  color: rgba(17, 17, 17, 0.58);
}

.ayla-booking-price-toggle {
  display: flex;
  width: fit-content;
  gap: 5px;
  margin: 0 auto 42px;
  border: 1px solid var(--ayla-core-line);
  padding: 5px;
}

.ayla-booking-price-toggle button {
  min-width: 125px;
  min-height: 42px;
  border: 0;
  cursor: pointer;
  background: transparent;
  color: rgba(17, 17, 17, 0.56);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.ayla-booking-price-toggle button[aria-pressed="true"] {
  background: var(--ayla-core-brown);
  color: var(--ayla-core-cream);
}

.ayla-booking-package-list,
.ayla-booking-slot-list {
  border-top: 1px solid var(--ayla-core-line);
}

.ayla-booking-package-list label {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  min-height: 96px;
  border-bottom: 1px solid var(--ayla-core-line);
  padding: 14px 26px;
  cursor: pointer;
  transition: background-color 180ms ease;
}

.ayla-booking-package-list label:has(input:checked),
.ayla-booking-slot:has(input:checked) {
  background: var(--ayla-core-beige);
}

.ayla-booking-package-list input,
.ayla-booking-slot input {
  width: 18px;
  height: 18px;
  accent-color: var(--ayla-core-brown);
}

.ayla-booking-package-list label > span,
.ayla-booking-slot-details,
.ayla-booking-slot-date {
  display: flex;
  flex-direction: column;
}

.ayla-booking-package-list strong,
.ayla-booking-slot-details strong {
  font: 500 1.75rem/1.1 var(--wp--preset--font-family--editorial, "Cormorant Garamond", serif);
}

.ayla-booking-package-list small,
.ayla-booking-slot small,
.ayla-booking-slot em {
  color: rgba(17, 17, 17, 0.5);
  font-size: 0.68rem;
  font-style: normal;
}

.ayla-booking-package-list b {
  color: var(--ayla-core-brown);
  font: 500 1.9rem/1 var(--wp--preset--font-family--editorial, "Cormorant Garamond", serif);
}

.ayla-booking-student-note {
  margin: 22px 0 0;
  border-left: 2px solid var(--ayla-core-taupe);
  background: var(--ayla-core-beige);
  padding: 15px 18px;
  color: var(--ayla-core-brown);
  font-size: 0.72rem;
}

.ayla-booking-primary,
.ayla-booking-secondary,
.ayla-booking-text-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  padding: 0 28px;
  cursor: pointer;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.ayla-booking-primary {
  margin: 42px 0 0 auto;
  border: 1px solid var(--ayla-core-brown);
  background: var(--ayla-core-brown);
  color: var(--ayla-core-cream);
}

.ayla-booking-step > .ayla-booking-primary {
  display: flex;
}

.ayla-booking-primary:hover {
  background: var(--ayla-core-ink);
  color: var(--ayla-core-cream);
}

.ayla-booking-secondary {
  border: 1px solid var(--ayla-core-taupe);
  background: transparent;
  color: var(--ayla-core-brown);
}

.ayla-booking-text-button {
  min-height: 42px;
  border: 0;
  border-bottom: 1px solid var(--ayla-core-taupe);
  background: transparent;
  color: var(--ayla-core-brown);
  padding-inline: 0;
}

.ayla-booking-primary:disabled {
  cursor: wait;
  opacity: 0.6;
}

.ayla-booking-slot {
  display: grid;
  grid-template-columns: 30px 100px 100px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  min-height: 105px;
  border-bottom: 1px solid var(--ayla-core-line);
  padding: 14px 26px;
  cursor: pointer;
}

.ayla-booking-slot.is-unavailable {
  cursor: not-allowed;
  opacity: 0.45;
}

.ayla-booking-slot-date small,
.ayla-booking-slot-details small,
.ayla-booking-slot b {
  color: var(--ayla-core-brown);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.ayla-booking-slot-date strong,
.ayla-booking-slot time {
  font: 500 1.7rem/1 var(--wp--preset--font-family--editorial, "Cormorant Garamond", serif);
}

.ayla-booking-slot b {
  text-align: right;
}

.ayla-booking-flow-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  margin-top: 42px;
}

.ayla-booking-flow-actions .ayla-booking-text-button {
  margin-right: auto;
}

.ayla-booking-flow-actions .ayla-booking-primary {
  margin: 0;
}

.ayla-core-toolbar,
.ayla-core-price-toggle {
  display: flex;
  width: fit-content;
  gap: 5px;
  border: 1px solid var(--ayla-core-line);
  padding: 5px;
}

.ayla-core-toolbar {
  flex: 1;
  width: auto;
  overflow-x: auto;
  border-width: 1px 0;
}

.ayla-core-schedule-controls {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.ayla-core-view-toggle {
  display: flex;
  flex: 0 0 auto;
  gap: 5px;
  border: 1px solid var(--ayla-core-line);
  padding: 5px;
}

.ayla-core-toolbar button,
.ayla-core-price-toggle button,
.ayla-core-view-toggle button {
  min-height: 40px;
  border: 1px solid transparent;
  padding: 0 18px;
  cursor: pointer;
  background: transparent;
  color: rgba(17, 17, 17, 0.56);
  font: 600 0.62rem/1 var(--wp--preset--font-family--clean, Montserrat, sans-serif);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ayla-core-toolbar button[aria-pressed="true"],
.ayla-core-price-toggle button[aria-pressed="true"],
.ayla-core-view-toggle button[aria-pressed="true"] {
  border-color: var(--ayla-core-taupe);
  background: var(--ayla-core-brown);
  color: var(--ayla-core-cream);
}

.ayla-core-calendar[hidden],
.ayla-core-schedule-list[hidden] {
  display: none;
}

.ayla-core-calendar {
  border: 1px solid var(--ayla-core-line);
  background: var(--ayla-core-cream);
}

.ayla-core-calendar-header {
  display: grid;
  grid-template-columns: 52px 1fr 52px;
  align-items: center;
  min-height: 84px;
  border-bottom: 1px solid var(--ayla-core-line);
}

.ayla-core-calendar-header h3 {
  margin: 0;
  text-align: center;
  font-size: clamp(2rem, 3vw, 3rem);
}

.ayla-core-calendar-nav {
  width: 52px;
  height: 52px;
  border: 0;
  cursor: pointer;
  background: transparent;
  color: var(--ayla-core-brown);
  font-size: 1.35rem;
}

.ayla-core-calendar-nav:hover {
  background: var(--ayla-core-beige);
}

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

.ayla-core-calendar-weekdays {
  border-bottom: 1px solid var(--ayla-core-line);
}

.ayla-core-calendar-weekdays span {
  padding: 13px 12px;
  color: var(--ayla-core-brown);
  font: 600 0.6rem/1 var(--wp--preset--font-family--clean, Montserrat, sans-serif);
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.ayla-core-calendar-day {
  min-width: 0;
  min-height: 150px;
  border-right: 1px solid var(--ayla-core-line);
  border-bottom: 1px solid var(--ayla-core-line);
  padding: 12px;
}

.ayla-core-calendar-day:nth-child(7n) {
  border-right: 0;
}

.ayla-core-calendar-day.is-empty {
  background: rgba(232, 222, 206, 0.18);
}

.ayla-core-calendar-day.has-classes {
  padding: 0;
}

.ayla-core-calendar-open {
  display: flex;
  width: 100%;
  min-height: 148px;
  flex-direction: column;
  align-items: flex-start;
  border: 0;
  background: transparent;
  color: var(--ayla-core-ink);
  padding: 12px;
  text-align: left;
  cursor: pointer;
}

.ayla-core-calendar-open:hover,
.ayla-core-calendar-open:focus-visible {
  background: var(--ayla-core-beige);
}

.ayla-core-calendar-open strong {
  margin-top: auto;
  font: 500 clamp(1.1rem, 1.5vw, 1.5rem)/1.1 var(--wp--preset--font-family--editorial, "Cormorant Garamond", serif);
}

.ayla-core-calendar-open small {
  margin-top: 8px;
  color: var(--ayla-core-brown);
  font-size: 0.57rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ayla-core-calendar-date {
  display: block;
  margin-bottom: 10px;
  color: rgba(17, 17, 17, 0.55);
  font: 600 0.62rem/1 var(--wp--preset--font-family--clean, Montserrat, sans-serif);
  letter-spacing: 0.08em;
}

.ayla-core-calendar-session {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 3px;
  margin-top: 7px;
  border: 1px solid rgba(74, 59, 50, 0.2);
  padding: 10px;
  cursor: pointer;
  background: var(--ayla-core-beige);
  color: var(--ayla-core-ink);
  text-align: left;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.ayla-core-calendar-session:hover:not(:disabled) {
  background: var(--ayla-core-brown);
  color: var(--ayla-core-cream);
  transform: translateY(-2px);
}

.ayla-core-calendar-session time,
.ayla-core-calendar-session small {
  font: 600 0.58rem/1.3 var(--wp--preset--font-family--clean, Montserrat, sans-serif);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ayla-core-calendar-session strong {
  overflow: hidden;
  font: 500 1.05rem/1.1 var(--wp--preset--font-family--editorial, "Cormorant Garamond", serif);
  text-overflow: ellipsis;
}

.ayla-core-calendar-session small {
  color: rgba(146, 85, 71, 0.95);
}

.ayla-core-calendar-session:hover:not(:disabled) small {
  color: var(--ayla-core-taupe);
}

.ayla-core-calendar-session.is-unavailable {
  cursor: not-allowed;
  opacity: 0.48;
}

.ayla-core-schedule-list {
  border-top: 1px solid var(--ayla-core-line);
}

.ayla-core-day-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 18px;
}

.ayla-core-day-heading h3 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.ayla-core-day-back {
  border: 0;
  background: transparent;
  color: var(--ayla-core-brown);
  cursor: pointer;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.ayla-core-schedule-list {
  scroll-margin-top: 100px;
}

.ayla-core-class {
  display: grid;
  grid-template-columns: 125px 85px minmax(260px, 1fr) 90px auto;
  align-items: center;
  gap: 22px;
  min-height: 128px;
  border-bottom: 1px solid var(--ayla-core-line);
  padding: 18px;
  transition: background-color 180ms ease;
}

.ayla-core-class:hover {
  background: var(--ayla-core-beige);
}

.ayla-core-class.is-booked {
  background: rgba(232, 222, 206, 0.3);
}

.ayla-core-class-date,
.ayla-core-class-level,
.ayla-core-class-spaces {
  color: var(--ayla-core-brown);
  font: 600 0.62rem/1.4 var(--wp--preset--font-family--clean, Montserrat, sans-serif);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ayla-core-class-date {
  display: flex;
  flex-direction: column;
}

.ayla-core-class-date strong,
.ayla-core-class time {
  font-family: var(--wp--preset--font-family--editorial, "Cormorant Garamond", serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: none;
}

.ayla-core-class-date strong {
  font-size: 1.45rem;
}

.ayla-core-class time {
  font-size: 1.9rem;
}

.ayla-core-class h3 {
  margin: 4px 0;
  font-size: clamp(1.7rem, 2vw, 2.2rem);
}

.ayla-core-class-meta {
  margin: 0;
  color: rgba(17, 17, 17, 0.54);
  font-size: 0.76rem;
}

.ayla-core-class-spaces {
  text-align: right;
}

.ayla-core-class button,
.ayla-core-booking-actions button,
.ayla-core-reschedule-actions button,
.ayla-core-contact-form button {
  min-height: 46px;
  border: 1px solid var(--ayla-core-brown);
  border-radius: 0;
  padding: 0 20px;
  cursor: pointer;
  background: var(--ayla-core-brown);
  color: var(--ayla-core-cream);
  font: 600 0.64rem/1 var(--wp--preset--font-family--clean, Montserrat, sans-serif);
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.ayla-core-class button:disabled,
.ayla-core-booking-actions button:disabled,
.ayla-core-reschedule-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.46;
}

.ayla-core-status,
.ayla-core-empty {
  margin: 0;
  border-bottom: 1px solid var(--ayla-core-line);
  padding: 38px 18px;
  color: rgba(17, 17, 17, 0.58);
}

.ayla-core-status.is-error {
  color: #873d34;
}

.ayla-core-price-toggle {
  margin: 0 auto 56px;
}

.ayla-core-price-toggle button {
  min-width: 122px;
}

.ayla-core-package-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.ayla-core-package {
      background: #f5f0e6;
    border: 1px solid #4a3b3221;
    border-radius: 16px;
    flex-direction: column;
    gap: 24px;
    min-height: 480px;
    padding: 26px 28px 28px;
    transition: background-color .24s, transform .24s, box-shadow .24s;
    display: flex;
    overflow: hidden;
}

.ayla-core-package:last-child {
  border-right: 0;
}

.ayla-core-package:hover {
  position: relative;
  z-index: 1;
  transform: translateY(-7px);
  background: var(--ayla-core-beige);
  box-shadow: 0 22px 70px rgba(58, 42, 31, 0.09);
}

.student-price-note {
    border-top: 1px solid #4a3b3233;
    border-bottom: 1px solid #4a3b3233;
    grid-template-columns: auto 1fr;
    align-items: baseline;
    gap: 14px 24px;
    max-width: 680px;
    margin: 36px auto 0;
    padding: 22px 0;
    display: grid;
}

.student-price-note strong {
    color: #4a3b32;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-size: .66rem;
}

.student-price-note p {
    color: #11111194;
    margin: 0;
    font-size: .78rem;
}

.ayla-core-package-number,
.ayla-core-package-footer {
  color: var(--ayla-core-brown);
  font-size: 0.62rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.ayla-core-package h3 {
  margin: 0 0 12px;
  font-size: clamp(2.2rem, 2.8vw, 3.4rem);
}

.ayla-core-package h3 + p {
  min-height: 48px;
  margin: 0;
  color: rgba(17, 17, 17, 0.56);
  font-size: 0.84rem;
}

.ayla-core-package-data {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.ayla-core-package-data p {
  margin: 0;
}

.ayla-core-package-data p span:not([hidden]){
  display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
}

.ayla-core-package-data p span small{
      font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-family: var(--wp--preset--font-family--clean);
    margin-top: 5px;
    color: var(--ayla-core-brown);
}

.wpcf7-form-control.wpcf7-submit {
    min-height: 46px;
    border: 1px solid #4a3b32;
    border-radius: 0;
    padding: 0 20px;
    cursor: pointer;
    background: #4a3b32;
    color: #fdfbf7;
    font: 600 0.64rem / 1 Montserrat, Arial, sans-serif;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    transition: transform 220ms ease, background-color 220ms ease, color 220ms ease, border-color 220ms ease;
}
.wpcf7-form-control.wpcf7-submit:hover {
transform: translateY(-2px);
    background: #111111;
    color: #fdfbf7;
}

.ayla-core-package-data p:first-child {
  color: var(--ayla-core-brown);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ayla-core-package-data p:first-child strong {
  display: block;
  font: 400 3.6rem/0.9 var(--wp--preset--font-family--editorial, "Cormorant Garamond", serif);
}

.ayla-core-package-data p:last-child {
  font: 500 2.2rem/1 var(--wp--preset--font-family--editorial, "Cormorant Garamond", serif);
}

.ayla-core-package-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--ayla-core-line);
  padding-top: 20px;
}

.ayla-core-package-footer a {
  color: var(--ayla-core-brown);
  font-weight: 600;
}

.ayla-core-price-note {
  margin-top: 25px;
  color: rgba(17, 17, 17, 0.52);
  font-size: 0.72rem;
  text-align: center;
}

.ayla-core-account-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ayla-core-account-summary article {
  display: flex;
  min-height: 270px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--ayla-core-line);
  background: var(--ayla-core-beige);
  padding: 30px;
}

.ayla-core-account-summary article:nth-child(2) {
  background: #eee5d8;
}

.ayla-core-account-summary article:last-child {
  border-color: var(--ayla-core-brown);
  background: var(--ayla-core-brown);
  color: var(--ayla-core-cream);
}

.ayla-core-account-summary p,
.ayla-core-account-summary span,
.ayla-core-eyebrow {
  margin: 0;
  color: var(--ayla-core-brown);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ayla-core-account-summary strong {
  font: 400 6rem/0.85 var(--wp--preset--font-family--editorial, "Cormorant Garamond", serif);
}

.ayla-core-account-summary article:last-child p,
.ayla-core-account-summary article:last-child span {
  color: var(--ayla-core-taupe);
}

.ayla-core-bookings {
  padding-top: 100px;
}

/* Keep the member cards and reservation list inside the same page gutter. */
.ayla-account-page .ayla-core-account {
  box-sizing: border-box;
  width: min(1380px, calc(100% - 56px));
  max-width: 100%;
  margin-inline: auto;
}

@media (max-width: 1100px) {
  .ayla-account-page .ayla-core-account {
    width: calc(100% - 48px);
  }
}

@media (max-width: 600px) {
  .ayla-account-page .ayla-core-account {
    width: calc(100% - 32px);
  }
}

.ayla-core-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 42px;
}

.ayla-core-section-heading h2 {
  margin: 7px 0 0;
  font-size: clamp(3.4rem, 5vw, 5.6rem);
}

.ayla-core-booking {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: center;
  gap: 30px;
  min-height: 145px;
  border-top: 1px solid var(--ayla-core-line);
  padding: 22px 18px;
}

.ayla-core-booking:last-child {
  border-bottom: 1px solid var(--ayla-core-line);
}

.ayla-core-booking-date {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.ayla-core-booking-date strong {
  font: 400 4.5rem/0.75 var(--wp--preset--font-family--editorial, "Cormorant Garamond", serif);
}

.ayla-core-booking-date span {
  color: var(--ayla-core-brown);
  font-size: 0.61rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ayla-core-booking h3 {
  margin: 0 0 5px;
  font-size: 2.1rem;
}

.ayla-core-booking p {
  margin: 0;
  color: rgba(17, 17, 17, 0.55);
  font-size: 0.76rem;
}

.ayla-core-booking-actions,
.ayla-core-reschedule-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ayla-core-booking-actions button:last-child,
.ayla-core-reschedule-actions button:last-child {
  border-color: var(--ayla-core-taupe);
  background: transparent;
  color: var(--ayla-core-brown);
}

.ayla-core-reschedule {
  grid-column: 2 / -1;
  width: 100%;
  border-top: 1px solid var(--ayla-core-line);
  background: var(--ayla-core-beige);
  padding: 24px;
}

.ayla-core-reschedule label {
  display: grid;
  gap: 8px;
  color: var(--ayla-core-brown);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.ayla-core-reschedule select {
  min-height: 48px;
  border: 0;
  border-bottom: 1px solid var(--ayla-core-taupe);
  border-radius: 0;
  background: var(--ayla-core-cream);
  color: var(--ayla-core-ink);
  padding: 0 12px;
}

.ayla-core-reschedule-actions {
  margin-top: 18px;
}

.ayla-core-login {
  max-width: 820px;
  border-block: 1px solid var(--ayla-core-line);
  padding: 55px 0;
}

.ayla-core-login h2 {
  margin: 0 0 16px;
  font-size: clamp(3rem, 5vw, 5rem);
}

.ayla-core-login p {
  max-width: 560px;
  margin-bottom: 30px;
  color: rgba(17, 17, 17, 0.58);
}

/* Customer authentication and account workspace */

body.ayla-customer-account .ayla-customer-account-page {
  width: 100%;
  max-width: none;
  margin: 0 !important;
  background: var(--ayla-core-cream);
}

body.ayla-customer-account .ayla-customer-account-page > .wp-block-post-content {
  width: 100%;
  max-width: none;
  margin: 0;
}

body.ayla-account-auth .ayla-customer-account-page {
  display: grid;
  min-height: 100svh;
  padding-top: 72px;
  grid-template-columns: minmax(0, 1.1fr) minmax(500px, 0.9fr);
}

body.ayla-account-auth .ayla-customer-account-page::before {
  min-height: calc(100svh - 72px);
  background: url("ayla-auth-studio.webp") center / cover no-repeat;
  content: "";
}

body.ayla-account-auth .ayla-customer-account-page > .wp-block-post-content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px clamp(40px, 7vw, 130px);
}

body.ayla-account-auth .ayla-customer-account-page .woocommerce {
  width: min(100%, 650px);
}

.ayla-auth-intro {
  margin-bottom: 28px;
}

.ayla-auth-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: var(--ayla-core-brown);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.ayla-auth-eyebrow::before {
  width: 24px;
  height: 1px;
  flex: 0 0 auto;
  background: currentColor;
  content: "";
}

.ayla-auth-intro h1,
.ayla-account-heading h1 {
  margin: 0 0 18px;
  font-size: clamp(4.4rem, 6.2vw, 7rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.ayla-auth-intro > p:not(.ayla-auth-eyebrow),
.ayla-account-heading > p:not(.ayla-auth-eyebrow) {
  max-width: 570px;
  margin: 0;
  color: rgba(17, 17, 17, 0.56);
  font-size: 0.98rem;
  line-height: 1.65;
}

.ayla-auth-tabs {
  display: grid;
  margin-top: 34px;
  border-bottom: 1px solid var(--ayla-core-line);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ayla-auth-tabs button {
  min-height: 48px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: rgba(17, 17, 17, 0.48);
  cursor: pointer;
  font: inherit;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ayla-auth-tabs button[aria-selected="true"] {
  border-bottom-color: var(--ayla-core-brown);
  color: var(--ayla-core-brown);
}

body.ayla-account-auth .woocommerce-notices-wrapper:not(:empty) {
  margin-bottom: 24px;
}

body.ayla-account-auth .woocommerce-error,
body.ayla-account-auth .woocommerce-message,
body.ayla-account-auth .woocommerce-info {
  margin: 0;
  border: 1px solid var(--ayla-core-line);
  border-top: 3px solid var(--ayla-core-brown);
  background: var(--ayla-core-beige);
  padding: 18px 20px 18px 46px;
  font-size: 0.78rem;
  line-height: 1.55;
}

.ayla-auth-alert {
  margin-top: 24px;
  border-left: 3px solid #925547;
  background: rgba(146, 85, 71, 0.08);
  padding: 16px 18px;
  color: #6c3e34;
  font-size: 0.78rem;
  line-height: 1.55;
}

body.ayla-account-auth #customer_login,
body.ayla-account-auth #customer_login .u-column1,
body.ayla-account-auth #customer_login .u-column2 {
  width: 100%;
  float: none;
}

body.ayla-account-auth #customer_login .u-column1[hidden],
body.ayla-account-auth #customer_login .u-column2[hidden] {
  display: none !important;
}

body.ayla-account-auth #customer_login h2 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

body.ayla-account-auth .woocommerce form.login,
body.ayla-account-auth .woocommerce form.register,
body.ayla-account-auth .woocommerce form.lost_reset_password,
body.ayla-account-auth .woocommerce form.woocommerce-ResetPassword {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0;
  border: 0;
  padding: 0;
}

body.ayla-account-auth .woocommerce form .form-row {
  width: 100%;
  margin: 0;
  padding: 0;
}

body.ayla-account-auth .woocommerce form .form-row label:not(.woocommerce-form-login__rememberme) {
  margin-bottom: 8px;
  color: var(--ayla-core-brown);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

body.ayla-account-auth .woocommerce form .form-row input.input-text {
  width: 100%;
  min-height: 60px;
  border: 0;
  border-bottom: 1px solid var(--ayla-core-taupe);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--ayla-core-ink);
  padding: 12px 2px;
  font-size: 0.9rem;
}

body.ayla-account-auth .woocommerce form .show-password-input {
  top: auto;
  bottom: 20px;
}

body.ayla-account-auth .woocommerce-form-login__rememberme {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(17, 17, 17, 0.56);
  font-size: 0.7rem;
}

body.ayla-account-auth input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--ayla-core-brown);
}

body.ayla-account-auth .woocommerce form button.button {
  width: 100%;
  min-height: 62px;
  margin-top: 18px;
  border: 0;
  border-radius: 0;
  background: var(--ayla-core-brown);
  color: var(--ayla-core-cream);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.ayla-account-auth .woocommerce form button.button:hover {
  background: var(--ayla-core-ink);
  transform: translateY(-2px);
}

body.ayla-account-auth .lost_password {
  margin: -8px 0 0;
  text-align: right;
  font-size: 0.7rem;
}

body.ayla-account-auth .lost_password a,
.ayla-auth-package a,
body.ayla-account-auth .woocommerce-privacy-policy-link {
  color: var(--ayla-core-brown);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ayla-auth-package {
  margin: 28px 0 0;
  color: rgba(17, 17, 17, 0.5);
  text-align: center;
  font-size: 0.74rem;
}

body.ayla-account-auth .woocommerce form.register > p:not(.form-row),
body.ayla-account-auth .woocommerce-form-register__submit + p,
body.ayla-account-auth .woocommerce-privacy-policy-text {
  color: rgba(17, 17, 17, 0.56);
  font-size: 0.74rem;
  line-height: 1.65;
}

body.ayla-account-recovery .ayla-auth-intro {
  margin-bottom: 34px;
}

body.ayla-account-recovery form.lost_reset_password > p:first-child,
body.ayla-account-reset form.woocommerce-ResetPassword > p:first-child {
  display: none;
}

body.ayla-account-auth .woocommerce-password-strength {
  margin-top: 8px;
  padding: 10px 12px;
  font-size: 0.72rem;
}

body.ayla-account-auth .woocommerce-password-hint {
  display: block;
  margin-top: 8px;
  color: rgba(17, 17, 17, 0.56);
  font-size: 0.7rem;
  line-height: 1.5;
}

body.ayla-account-portal .ayla-customer-account-page {
  min-height: 75vh;
  padding: 160px 40px 120px;
}

body.ayla-account-portal .ayla-customer-account-page > .wp-block-post-content {
  width: min(1180px, 100%);
  margin-inline: auto;
}

body.ayla-account-portal .ayla-customer-account-page .woocommerce {
  display: grid;
  grid-template-columns: minmax(210px, 0.28fr) minmax(0, 1fr);
  gap: 54px 72px;
}

.ayla-account-heading {
  grid-column: 1 / -1;
  max-width: 900px;
  margin-bottom: 16px;
}

.ayla-account-heading h1 {
  font-size: clamp(4.2rem, 6vw, 6.8rem);
}

body.ayla-account-portal .woocommerce-MyAccount-navigation,
body.ayla-account-portal .woocommerce-MyAccount-content {
  width: 100%;
  float: none;
}

body.ayla-account-portal .woocommerce-MyAccount-navigation ul {
  position: sticky;
  top: 112px;
  margin: 0;
  border-top: 1px solid var(--ayla-core-line);
  padding: 0;
  list-style: none;
}

body.ayla-account-portal .woocommerce-MyAccount-navigation li {
  margin: 0;
  border-bottom: 1px solid var(--ayla-core-line);
}

body.ayla-account-portal .woocommerce-MyAccount-navigation a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  color: rgba(17, 17, 17, 0.62);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

body.ayla-account-portal .woocommerce-MyAccount-navigation a::after {
  color: var(--ayla-core-taupe);
  content: "↗";
  transition: transform 180ms ease;
}

body.ayla-account-portal .woocommerce-MyAccount-navigation a:hover,
body.ayla-account-portal .woocommerce-MyAccount-navigation .is-active a {
  color: var(--ayla-core-brown);
}

body.ayla-account-portal .woocommerce-MyAccount-navigation a:hover::after {
  transform: translate(3px, -3px);
}

body.ayla-account-portal .woocommerce-MyAccount-content {
  min-width: 0;
  border-top: 1px solid var(--ayla-core-line);
  padding-top: 32px;
}

body.ayla-account-dashboard .woocommerce-MyAccount-content > p {
  display: none;
}

.ayla-account-welcome > p {
  margin: 0 0 12px;
  color: var(--ayla-core-brown);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ayla-account-welcome h2 {
  margin: 0 0 36px;
  font-size: clamp(2.8rem, 4vw, 4.6rem);
  font-weight: 500;
  line-height: 1;
}

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

.ayla-account-shortcuts a {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  border: 1px solid var(--ayla-core-line);
  background: var(--ayla-core-beige);
  color: var(--ayla-core-ink);
  padding: 24px;
  text-decoration: none;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.ayla-account-shortcuts a:hover {
  box-shadow: 0 22px 70px rgba(58, 42, 31, 0.09);
  transform: translateY(-4px);
}

.ayla-account-shortcuts span {
  color: var(--ayla-core-brown);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
}

.ayla-account-shortcuts strong {
  margin-top: auto;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
}

.ayla-account-shortcuts small {
  margin-top: 12px;
  color: rgba(17, 17, 17, 0.52);
  font-size: 0.7rem;
  line-height: 1.5;
}

body.ayla-account-portal .woocommerce-MyAccount-content h2,
body.ayla-account-portal .woocommerce-MyAccount-content h3,
body.ayla-account-portal .woocommerce-MyAccount-content legend {
  margin-top: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.2rem, 3vw, 3.5rem);
  font-weight: 500;
  line-height: 1;
}

body.ayla-account-portal .woocommerce table.shop_table {
  border: 1px solid var(--ayla-core-line);
  border-radius: 0;
  border-collapse: collapse;
}

body.ayla-account-portal .woocommerce table.shop_table th,
body.ayla-account-portal .woocommerce table.shop_table td {
  border-color: var(--ayla-core-line);
  padding: 16px;
}

body.ayla-account-portal .woocommerce form .form-row input.input-text,
body.ayla-account-portal .woocommerce form .form-row textarea,
body.ayla-account-portal .woocommerce form .form-row select {
  min-height: 52px;
  border: 0;
  border-bottom: 1px solid var(--ayla-core-taupe);
  border-radius: 0;
  background: transparent;
  padding: 10px 2px;
}

body.ayla-account-portal .woocommerce button.button,
body.ayla-account-portal .woocommerce a.button {
  min-height: 48px;
  border-radius: 0;
  background: var(--ayla-core-brown);
  color: var(--ayla-core-cream);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.ayla-core-contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 22px;
}

.ayla-core-contact-form label {
  display: flex;
  flex-direction: column;
  gap: 9px;
  color: var(--ayla-core-brown);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.ayla-core-contact-form input,
.ayla-core-contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--ayla-core-taupe);
  border-radius: 0;
  background: transparent;
  color: var(--ayla-core-ink);
  padding: 12px 2px;
  font: 400 0.92rem/1.5 var(--wp--preset--font-family--clean, Montserrat, sans-serif);
  letter-spacing: 0;
  text-transform: none;
}

.ayla-core-contact-form p {
    margin: 0
}

.ayla-core-contact-form p:nth-child(3) {
grid-column: 1 / -1;
}

.ayla-core-contact-form textarea {
  border: 1px solid var(--ayla-core-taupe);
  padding: 14px;
  resize: vertical;
  max-height: 140px;
}

.ayla-core-field-full,
.ayla-core-contact-form button,
.ayla-core-contact-form [data-contact-status] {
  grid-column: 1 / -1;
}

.ayla-core-contact-form button {
  width: fit-content;
}

.ayla-core-contact-form [data-contact-status] {
  margin: 0;
  color: #526148;
  font-size: 0.78rem;
}

.ayla-core-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
}

.ayla-checkout-screening {
  margin-top: 32px;
  border-top: 1px solid var(--ayla-core-line, rgba(74, 59, 50, 0.2));
  padding-top: 24px;
}

body.woocommerce-checkout div.woocommerce {
  --ayla-core-cream: #fdfbf7;
  --ayla-core-beige: #f5f0e6;
  --ayla-core-taupe: #c8b195;
  --ayla-core-brown: #4a3b32;
  --ayla-core-ink: #111;
  --ayla-core-line: rgba(74, 59, 50, 0.2);
  width: 100%;
  max-width: none;
}

.ayla-checkout-step-heading {
  box-sizing: border-box;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto 58px;
  padding-inline: 28px;
}

.ayla-checkout-progress {
  box-sizing: border-box;
  width: 100%;
  max-width: 1180px;
  margin: 112px auto 54px;
}

.ayla-checkout-step-heading h1 {
  font-size: clamp(3.5rem, 5.7vw, 6.2rem);
}

.ayla-checkout-class-summary {
  margin-top: 20px !important;
  border-left: 2px solid var(--ayla-core-taupe);
  background: var(--ayla-core-beige);
  padding: 14px 18px;
  color: var(--ayla-core-brown) !important;
}

form.checkout.woocommerce-checkout {
  box-sizing: border-box;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 390px);
  gap: 0 52px;
  max-width: 1240px;
  margin-inline: auto;
  padding: 0 28px 110px;
}

form.checkout.woocommerce-checkout #customer_details {
  grid-column: 1;
  grid-row: 1 / span 2;
}

form.checkout.woocommerce-checkout #customer_details .col-1,
form.checkout.woocommerce-checkout #customer_details .col-2 {
  float: none;
  width: 100%;
  max-width: none;
}

form.checkout.woocommerce-checkout #customer_details .col-2 {
  clear: both;
  margin-top: 44px;
  border-top: 1px solid var(--ayla-core-line);
  padding-top: 34px;
}

form.checkout.woocommerce-checkout #order_review_heading {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  background: var(--ayla-core-beige);
  padding: 30px 34px 12px;
  font-size: 2rem;
}

form.checkout.woocommerce-checkout #order_review {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  background: var(--ayla-core-beige);
  padding: 12px 34px 34px;
}

form.checkout.woocommerce-checkout input.input-text,
form.checkout.woocommerce-checkout textarea,
form.checkout.woocommerce-checkout select {
  border: 0;
  border-bottom: 1px solid var(--ayla-core-taupe);
  border-radius: 0;
  background: transparent;
}

form.checkout.woocommerce-checkout #place_order {
  width: 100%;
  min-height: 52px;
  border-radius: 0;
  background: var(--ayla-core-brown);
  color: var(--ayla-core-cream);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ayla-booking-complete {
  display: flex;
  max-width: 1100px;
  min-height: 620px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  padding: 100px 28px;
  text-align: center;
}

.ayla-complete-mark {
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--ayla-core-brown);
  color: var(--ayla-core-cream);
  font-size: 1.5rem;
}

.ayla-complete-eyebrow {
  color: var(--ayla-core-brown);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ayla-booking-complete h1 {
  max-width: 900px;
  margin: 10px 0 28px;
  font-size: clamp(4rem, 7vw, 7.5rem);
  line-height: 0.95;
}

.ayla-booking-complete > p:not(.ayla-complete-eyebrow) {
  max-width: 680px;
  color: rgba(17, 17, 17, 0.6);
}

.ayla-complete-actions {
  display: flex;
  gap: 22px;
  margin-top: 22px;
}

.ayla-complete-actions .ayla-booking-primary {
  margin: 0;
}

.ayla-checkout-screening h3 {
  font-size: 2rem;
}

.ayla-student-id-field small {
  display: block;
  margin-top: 7px;
  color: rgba(17, 17, 17, 0.56);
}

@media (max-width: 1100px) {
  form.checkout.woocommerce-checkout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  form.checkout.woocommerce-checkout #customer_details,
  form.checkout.woocommerce-checkout #order_review_heading,
  form.checkout.woocommerce-checkout #order_review {
    grid-column: 1;
    grid-row: auto;
  }

  form.checkout.woocommerce-checkout #order_review_heading {
    margin-bottom: -36px;
  }

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

  .ayla-core-package:nth-child(2) {
    border-right: 0;
  }

  .ayla-core-package:nth-child(-n + 2) {
    border-bottom: 1px solid var(--ayla-core-line);
  }

  .ayla-core-account-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ayla-core-account-summary article:last-child {
    grid-column: 1 / -1;
  }

  .ayla-core-calendar-day {
    min-height: 130px;
    padding: 8px;
  }

  .ayla-core-class {
    grid-template-columns: 100px 72px 1fr auto;
  }

  .ayla-core-class-spaces {
    grid-column: 3;
    text-align: left;
  }

  .ayla-core-class button {
    grid-column: 4;
    grid-row: 1 / span 2;
  }

  .ayla-core-booking {
    grid-template-columns: 110px 1fr;
  }

  .ayla-core-booking-actions,
  .ayla-core-reschedule {
    grid-column: 2;
  }
}

@media (max-width: 640px) {
  body.ayla-booking-flow-page .ayla-page-main {
    padding-block: 80px 0;
  }

  body.ayla-booking-flow-page .ayla-booking-journey {
    padding: 32px 16px 56px;
  }

  body.page-template-page-my-bookings .ayla-account-page > .wp-block-post-title {
    width: calc(100% - 32px);
  }

  .ayla-booking-account-notice {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 50px;
  }

  .ayla-booking-step-heading,
  .ayla-checkout-step-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ayla-booking-step-heading h1,
  .ayla-checkout-step-heading h1 {
    font-size: clamp(3.3rem, 15vw, 5rem);
  }

  .ayla-booking-price-toggle {
    width: 100%;
  }

  .ayla-booking-price-toggle button {
    min-width: 0;
    flex: 1;
  }

  .ayla-booking-package-list label {
    grid-template-columns: 28px 1fr;
    padding-inline: 8px;
  }

  .ayla-booking-package-list b {
    grid-column: 2;
  }

  .ayla-booking-slot {
    grid-template-columns: 28px 72px 1fr;
    gap: 12px;
    padding: 18px 8px;
  }

  .ayla-booking-slot time {
    justify-self: end;
  }

  .ayla-booking-slot-details,
  .ayla-booking-slot b {
    grid-column: 2 / -1;
  }

  .ayla-booking-slot b {
    text-align: left;
  }

  .ayla-booking-flow-actions,
  .ayla-complete-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .ayla-booking-flow-actions .ayla-booking-text-button {
    margin-right: 0;
  }

  .ayla-booking-flow-actions .ayla-booking-primary,
  .ayla-booking-flow-actions .ayla-booking-secondary,
  .ayla-complete-actions .ayla-booking-primary,
  .ayla-complete-actions .ayla-booking-secondary {
    width: 100%;
  }

  .ayla-checkout-step-heading {
    padding-inline: 16px;
  }

  .ayla-checkout-progress {
    margin-top: 112px;
  }

  form.checkout.woocommerce-checkout {
    padding-inline: 16px;
  }

  .ayla-booking-complete {
    min-height: 520px;
    padding-inline: 16px;
  }

  .ayla-core-toolbar,
  .ayla-core-price-toggle,
  .ayla-core-view-toggle {
    width: 100%;
  }

  .ayla-core-schedule-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .ayla-core-view-toggle button {
    flex: 1;
  }

  .ayla-core-calendar {
    overflow-x: auto;
  }

  .ayla-core-calendar-header,
  .ayla-core-calendar-weekdays,
  .ayla-core-calendar-grid {
    min-width: 720px;
  }

  .ayla-core-calendar-day {
    min-height: 125px;
  }

  .ayla-core-price-toggle button {
    min-width: 0;
    flex: 1;
  }

  .ayla-core-package-grid,
  .ayla-core-account-summary,
  .ayla-core-contact-form {
    grid-template-columns: 1fr;
  }

  .ayla-core-package,
  .ayla-core-package:nth-child(2) {
    min-height: 410px;
    border-right: 0;
    border-bottom: 1px solid var(--ayla-core-line);
  }

  .ayla-core-account-summary article,
  .ayla-core-account-summary article:last-child {
    grid-column: auto;
    min-height: 220px;
  }

  .ayla-core-class {
    grid-template-columns: 72px 1fr;
    gap: 12px;
    padding-block: 24px;
  }

  .ayla-core-class time {
    justify-self: end;
  }

  .ayla-core-class-details,
  .ayla-core-class-spaces,
  .ayla-core-class button {
    grid-column: 2;
    grid-row: auto;
  }

  .ayla-core-class-spaces {
    justify-self: start;
  }

  .ayla-core-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .ayla-core-booking {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-inline: 4px;
  }

  .ayla-core-booking-actions,
  .ayla-core-reschedule {
    grid-column: 1;
  }

  .ayla-core-booking-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .ayla-core-field-full,
  .ayla-core-contact-form button,
  .ayla-core-contact-form [data-contact-status] {
    grid-column: 1;
  }
}

@media (max-width: 980px) {
  body.ayla-account-auth .ayla-customer-account-page {
    grid-template-columns: 1fr;
  }

  body.ayla-account-auth .ayla-customer-account-page::before {
    min-height: 500px;
    background-position: center 52%;
  }

  body.ayla-account-auth .ayla-customer-account-page > .wp-block-post-content {
    padding: 90px 28px;
  }

  body.ayla-account-portal .ayla-customer-account-page {
    padding: 140px 28px 100px;
  }

  body.ayla-account-portal .ayla-customer-account-page .woocommerce {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  body.ayla-account-portal .woocommerce-MyAccount-navigation ul {
    position: static;
    display: flex;
    overflow-x: auto;
    border-bottom: 1px solid var(--ayla-core-line);
    scrollbar-width: thin;
  }

  body.ayla-account-portal .woocommerce-MyAccount-navigation li {
    flex: 0 0 auto;
    border-bottom: 0;
  }

  body.ayla-account-portal .woocommerce-MyAccount-navigation a {
    min-height: 52px;
    padding-right: 28px;
  }

  body.ayla-account-portal .woocommerce-MyAccount-navigation a::after {
    margin-left: 10px;
  }

  .ayla-account-shortcuts {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .ayla-core-calendar-header,
  .ayla-core-calendar-weekdays,
  .ayla-core-calendar-grid {
    min-width: 0;
  }

  .ayla-core-calendar-weekdays span {
    padding: 10px 2px;
    font-size: 0.48rem;
  }

  .ayla-core-calendar-day {
    min-height: 82px;
    padding: 5px;
  }

  .ayla-core-calendar-open {
    min-height: 81px;
    padding: 5px;
  }

  .ayla-core-calendar-open strong {
    font-family: var(--wp--preset--font-family--clean, Montserrat, sans-serif);
    font-size: 0.56rem;
    font-weight: 600;
    line-height: 1.2;
  }

  .ayla-core-calendar-open small {
    display: none;
  }

  .ayla-core-calendar-date {
    font-size: 0.54rem;
  }

  .ayla-core-day-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  body.ayla-account-auth .ayla-customer-account-page {
    padding-top: 72px;
  }

  body.ayla-account-auth .ayla-customer-account-page::before {
    min-height: 390px;
  }

  body.ayla-account-auth .ayla-customer-account-page > .wp-block-post-content {
    padding: 72px 24px 86px;
  }

  .ayla-auth-intro h1,
  .ayla-account-heading h1 {
    font-size: clamp(3.65rem, 15vw, 5rem);
  }

  .ayla-auth-intro > p:not(.ayla-auth-eyebrow),
  .ayla-account-heading > p:not(.ayla-auth-eyebrow) {
    font-size: 0.84rem;
  }

  .ayla-auth-tabs {
    margin-top: 28px;
  }

  body.ayla-account-auth .woocommerce form .form-row input.input-text {
    min-height: 56px;
  }

  body.ayla-account-auth .woocommerce form button.button {
    min-height: 56px;
  }

  body.ayla-account-portal .ayla-customer-account-page {
    padding: 120px 20px 80px;
  }

  .ayla-account-heading {
    margin-bottom: 0;
  }

  body.ayla-account-portal .woocommerce-MyAccount-navigation {
    margin-inline: -20px;
    padding-inline: 20px;
  }

  .ayla-account-shortcuts {
    grid-template-columns: 1fr;
  }

  .ayla-account-shortcuts a {
    min-height: 210px;
  }

  body.ayla-account-portal .woocommerce table.shop_table_responsive tr {
    border-bottom: 1px solid var(--ayla-core-line);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ayla-core-package,
  .ayla-core-class {
    transition-duration: 0.01ms !important;
  }
}
