/* =====================================================
   EMET BOOK NOW — Stylesheet
   Plugin version 1.0.0 (ported from theme book-now.css v1.2.0)
   ===================================================== */

#amelia-book-now {
  max-width: 760px;
  margin: 40px auto;
  padding: 0 16px 80px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1a1a1a;
  box-sizing: border-box;
}

#amelia-book-now *,
#amelia-book-now *::before,
#amelia-book-now *::after {
  box-sizing: border-box;
  font-family: 'Lato';
}

/* ---- Progress tabs ---- */
.abn-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.abn-step {
  font-size: 14px;
  font-weight: 500;
  color: #54595F;
  padding: 6px 22px 8px;
  border-radius: 999px;
  user-select: none;
  cursor: default;
  pointer-events: none;
  font-family: 'Lato';
}

.abn-step.active {
    background-color: #2E5EAA;
    color: #fff;
}

.abn-arrow {
  color: #ccc;
  font-size: 18px;
}

/* ---- Location bar ---- */
.abn-location-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 12px;
  padding: 16px 20px;
  cursor: pointer;
  margin-bottom: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s, border-color 0.3s;
  outline: none;
}

.abn-location-bar:hover,
.abn-location-bar:focus {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10);
}

.abn-location-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.abn-location-text {
  flex: 1;
  font-size: 15px;
  color: #555;
}

.abn-location-bar.confirmed .abn-location-text {
  color: #111;
  font-weight: 600;
}

.abn-location-caret {
  color: #aaa;
  font-size: 18px;
  flex-shrink: 0;
}

@keyframes abn-pulse-border {

  0%,
  100% {
    border-color: #e2e2e2;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  }

  50% {
    border-color: #c0392b;
    box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.15);
  }
}

.abn-pulse {
  animation: abn-pulse-border 0.4s ease 3;
}

/* ---- Address panel ---- */
.abn-address-panel {
  background: #fff;
  border: 1px solid #e2e2e2;
  border-top: none;
  border-radius: 0 0 12px 12px;
  padding: 24px 24px 20px;
  margin-bottom: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.abn-addr-title {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 6px;
}

.abn-addr-sub {
  text-align: center;
  color: #c0803a;
  font-size: 14px;
  margin: 0 0 18px;
}

.abn-address-input-wrap {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 0 14px;
  margin-bottom: 12px;
  background: #fafafa;
}

.abn-pin-icon {
  color: #aaa;
  margin-right: 8px;
  font-size: 16px;
}

#abn-address-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  padding: 14px 0;
  background: transparent;
  font-family: inherit;
}

.abn-error {
  color: #c0392b;
  font-size: 13px;
  background: #fdf3f2;
  border: 1px solid #f5c6c2;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 12px;
}

.abn-addr-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.abn-returning {
  color: #666;
  font-size: 13px;
  text-decoration: underline;
}

.abn-skip-btn {
  background: none;
  border: none;
  color: #666;
  font-size: 14px;
  cursor: pointer;
  padding: 4px 0;
  font-family: inherit;
}

.abn-skip-btn:hover {
  color: #111;
}

/* ---- Categories ---- */
.abn-categories {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.abn-category-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 12px;
  padding: 16px 20px;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.abn-category-card:hover {
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.10);
}

.abn-category-card.open {
  border-color: #111;
}

.abn-category-card img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
}

.abn-cat-icon-placeholder {
  width: 48px;
  height: 48px;
  background: #f0f0f0;
  border-radius: 8px;
  flex-shrink: 0;
  display: block;
}

.abn-cat-name {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
}

.abn-cat-caret {
  color: #aaa;
  font-size: 18px;
}

/* ---- Service rows ---- */
.abn-services {
  background: #fff;
  border: 1px solid #e2e2e2;
  border-top: none;
  border-radius: 0 0 12px 12px;
  padding: 4px 20px;
  margin-bottom: 10px;
}

.abn-service-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid #f2f2f2;
  cursor: pointer;
  transition: background 0.15s;
  border-radius: 8px;
}

.abn-service-item:last-child {
  border-bottom: none;
}

.abn-service-item:hover {
  background: #F4F7FC;
  margin: 0 -8px;
  padding-left: 8px;
  padding-right: 8px;
}

/* Selected service row — darker highlight */
.abn-service-item.selected {
  background: #F4F7FC;
  margin: 0 -8px;
  padding-left: 8px;
  padding-right: 8px;
  border-left: 3px solid #111;
}

.abn-svc-info {
  flex: 1;
  min-width: 0;
}

.abn-svc-name {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 3px;
}

.abn-svc-price {
  font-size: 14px;
  color: #444;
  margin: 0 0 5px;
}

/* Snippet = first line of description only */
.abn-svc-snippet {
  font-size: 13px;
  color: #888;
  margin: 0;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.abn-svc-img-wrap {
  position: relative;
  flex-shrink: 0;
}

.abn-svc-img-wrap img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 8px;
  background: #f5f5f5;
  display: block;
}

.abn-svc-img-placeholder {
  width: 80px;
  height: 80px;
  background: #f0f0f0;
  border-radius: 8px;
}

/* Add button on image */
.abn-add-btn {
  position: absolute;
  bottom: -6px;
  right: -6px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  border: none;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.15s;
}

.abn-add-btn.selected,
.abn-add-btn:hover {
  background: #2E5EAA;
}

/* ---- Service modal ---- */
.abn-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.abn-modal {
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px 24px;
  width: 100%;
  position: relative;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.20);
}

.abn-svc-modal {
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #bfc6d4 transparent;
}

.abn-svc-modal::-webkit-scrollbar {
    width: 10px;
}

.abn-svc-modal::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
}

.abn-svc-modal::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #c7ced9, #9ca8ba);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: content-box;
    transition: background 0.2s ease;
}

.abn-svc-modal::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #8c99ad, #6b7b93);
    background-clip: content-box;
}

.abn-svc-modal::-webkit-scrollbar-corner {
    background: transparent;
}

.abn-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #999;
  line-height: 1;
  padding: 4px;
  background-color: transparent !important;
}

.abn-modal-close:hover {
  color: #111;
}

.abn-svc-modal-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.abn-svc-modal-head img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  border-radius: 10px;
  background: #f5f5f5;
  flex-shrink: 0;
}

.abn-svc-modal-head h2 {
  font-size: 20px;
  margin: 0 0 4px;
}

.abn-svc-price {
  font-size: 16px;
  color: #444;
  margin: 0;
}

/* ---- Rich text description (service popup) ---- */
.abn-rich-text {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  margin: 0 0 20px;
}

.abn-rich-text p {
  margin: 0 0 10px;
}

.abn-rich-text p:last-child {
  margin-bottom: 0;
}

.abn-rich-text strong,
.abn-rich-text b {
  font-weight: 700;
  color: #222;
}

.abn-rich-text em,
.abn-rich-text i {
  font-style: italic;
}

.abn-rich-text ul,
.abn-rich-text ol {
  padding-left: 20px;
  margin: 8px 0;
}

.abn-rich-text li {
  margin-bottom: 4px;
}

.abn-rich-text br {
  display: block;
  content: '';
  margin-bottom: 6px;
}

.abn-rich-text h1,
.abn-rich-text h2,
.abn-rich-text h3,
.abn-rich-text h4,
.abn-rich-text h5,
.abn-rich-text h6 {
  font-weight: 700;
  color: #111;
  margin: 14px 0 6px;
}

/* ---- Extras ---- */
.abn-extras-wrap {
  margin-bottom: 18px;
}

.abn-extras-title {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 10px;
  color: #111;
}

.abn-extra-item {
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  margin-bottom: 8px;
  padding: 12px 14px;
  transition: border-color 0.15s, background 0.15s;
  cursor: default;
  position: relative;
}

.abn-extra-item:hover,
.abn-extra-item.selected {
  border-color: #ccc;
  background: #F4F7FC;
}

.abn-extra-main {
  flex: 1;
}

/* Row with name, price, more-info button */
.abn-extra-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.abn-extra-name {
  font-size: 14px;
  font-weight: 600;
  color: #111;
}

.abn-extra-price {
  font-size: 13px;
  color: #666;
}

/* More info button */
.abn-extra-more-btn {
  background: none;
  border: none;
  color: #555;
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  font-family: inherit;
  margin-left: 2px;
  background-color: transparent !important;
}

.abn-extra-more-btn:hover {
  color: #111;
}

.abn-extra-more-btn.open {
  color: #111;
}

/* Extra description — hidden by default, shown on "More info" */
.abn-extra-desc {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #ebebeb;
  font-size: 13px;
  color: #666;
  margin-bottom: 0;
  line-height: 1.6;
}

.abn-extra-desc p {
  margin: 0 0 6px;
}

.abn-extra-desc p:last-child {
  margin-bottom: 0;
}

.abn-extra-desc strong {
  font-weight: 700;
  color: #444;
}

.abn-extra-toggle {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 1.5px solid #ccc;
    background: #fff;
    color: #444;
    font-size: 19px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all ease .3s;
    padding: 0;
    position: absolute;
    top: 11px;
    right: 20px;
}

.abn-extra-item.selected .abn-extra-toggle,
.abn-extra-toggle:hover {
  background: #2E5EAA;
  color: #fff;
  border-color: #2E5EAA;
}

/* ---- Buttons ---- */
.abn-btn-primary {
  display: block;
  width: 100%;
  background-color: #2E5EAA;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 16px 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all ease 0.3s;
  font-family: inherit;
  margin-top: 6px;
}

.abn-btn-primary:hover,
.abn-btn-primary:focus {
  background-color: #3FA358;
}

.abn-btn-primary:disabled {
  background: #aaa;
  cursor: default;
}

.abn-btn-back {
  display: inline-block;
  background: none;
  border: none;
  color: #999;
  font-size: 14px;
  cursor: pointer;
  padding: 0;
  margin-top: 20px;
  font-family: inherit;
  background-color: transparent !important;
}

.abn-btn-back:hover {
  color: #111;
}

/* ---- Continue button ---- */
.abn-btn-continue {
  display: block;
  width: 100%;
  background-color: #2E5EAA;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 16px 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  margin-top: 12px;
  transition: all ease 0.3s;
  font-family: inherit;
}

.abn-btn-continue:hover {
  background-color: #3FA358;
}

.abn-btn-continue--disabled {
  background: #e0e0e0;
  color: #888;
  cursor: not-allowed;
  font-size: 13px;
}

.abn-btn-continue--disabled:hover {
  background: #e0e0e0;
}

/* ---- Step 2 selected bar ---- */
.abn-sel-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8f8f8;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 600;
  gap: 12px;
}

.abn-sel-price {
  color: #111;
  font-weight: 700;
  white-space: nowrap;
}

.abn-sel-name {
  flex: 1;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---- Calendar (week view) ---- */
.abn-calendar-wrap {
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 18px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
}

.abn-cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.abn-month-label {
  font-size: 16px;
  font-weight: 700;
}

.abn-cal-nav {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #666;
  padding: 4px 10px;
  line-height: 1;
  border-radius: 6px;
  transition: background 0.15s;
}

.abn-cal-nav:hover {
  background: #f0f0f0;
  color: #111;
}

.abn-cal-days-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 13px;
  color: #999;
  margin-bottom: 8px;
  font-weight: 500;
}

.abn-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.abn-cal-day {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  color: #ccc;
  cursor: default;
  pointer-events: none;
}

.abn-cal-day.available {
  background: #f5f5f5;
  color: #111;
  cursor: pointer;
  pointer-events: all;
}

.abn-cal-day.available:hover {
  background: #e8e8e8;
}

.abn-cal-day.today {
    border: 2px solid #aacaff;
    color: #111;
}

.abn-cal-day.today.available {
  background: #F4F7FC;
}

.abn-cal-day.selected {
    background: #2E5EAA !important;
    color: #fff !important;
    border-color: #2E5EAA !important;
}

.abn-cal-day.past {
  color: #ddd;
  pointer-events: none;
}

.abn-cal-day.day-off {
  color: #ccc;
  background: #fafafa;
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.45;
  filter: blur(0.4px);
}

/* Working day with every slot taken — still openable so times show disabled */
.abn-cal-day.full {
  background: #fafafa;
  color: #a7a7a7;
  cursor: pointer;
  pointer-events: all;
}

.abn-cal-day.full:hover {
  background: #f0f0f0;
}

#abn-prev-month:disabled {
  opacity: 0.3;
  cursor: default;
}

/* ---- Timeslots ---- */
#abn-timeslots-wrap {
  margin-top: 4px;
}

.abn-date-label {
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 10px !important;
}

.abn-time-period {
  font-size: 12px;
  color: #c0803a;
  text-align: center;
  margin: 12px 0 6px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.abn-timeslots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.abn-time-btn {
    padding: 12px 4px;
    border: 1.5px solid #2E5EAA75;
    border-radius: 8px;
    background: #fff;
    font-size: 13px;
    color: #15243d;
    cursor: pointer;
    text-align: center;
    transition: border-color 0.15s, background 0.15s;
    font-family: inherit;
}

.abn-time-btn:hover {
    border-color: #2E5EAA;
    background: #f8f8f8;
    color: #2E5EAA;
}

.abn-time-btn.selected {
  background: #2E5EAA;
  color: #fff;
  border-color: #2E5EAA;
}

/* Unavailable slots — shown but disabled, matching how past dates are treated */
.abn-time-btn.unavailable,
.abn-time-btn:disabled {
  color: #c4c4c4;
  background: #fafafa;
  border-color: #ececec;
  cursor: not-allowed;
  pointer-events: none;
}

.abn-time-btn.unavailable:hover {
  border-color: #ececec;
  background: #fafafa;
}

.abn-slots-note {
  text-align: center;
  color: #999;
  font-size: 13px;
  margin: 8px 0 0;
}

.abn-show-more {
  display: block;
  width: 100%;
  text-align: center;
  color: #777;
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: none;
  margin-bottom: 14px;
  padding: 4px;
  font-family: inherit;
}

.abn-show-more:hover {
  color: #111;
}

/* ---- Summary ---- */
.abn-summary-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 18px;
}

.abn-summary-block {
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 22px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.abn-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid #f2f2f2;
}

.abn-summary-row:last-child {
  border-bottom: none;
}

.abn-summary-label {
    font-size: 14px;
    color: #111;
    flex-shrink: 0;
}

.abn-summary-value {
  font-size: 14px;
  font-weight: 600;
  text-align: right;
}

.abn-summary-total .abn-summary-label,
.abn-summary-total .abn-summary-value {
  font-size: 16px;
  font-weight: 700;
  color: #111;
}

.abn-booking-msg {
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 14px;
  margin-top: 16px;
}

.abn-booking-msg.success {
  background: #e8f8f0;
  border: 1px solid #a3dfc0;
  color: #1a6b3c;
}

.abn-booking-msg.error {
  background: #fdf3f2;
  border: 1px solid #f5c6c2;
  color: #c0392b;
}

/* Summary services list */
.abn-sum-services {
  padding: 4px 0;
}

.abn-summary-service-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #f2f2f2;
}

.abn-sum-svc-name {
  font-size: 14px;
  font-weight: 600;
  color: #111;
}

.abn-sum-svc-extras {
  font-size: 12px;
  color: #777;
  margin-top: 3px;
}

.abn-sum-svc-price {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

/* ---- Cart bar (multi-service) ---- */
.abn-cart-bar {
    background: #F4F7FC;
    border: 1.5px solid #E3E9F3;
    border-radius: 12px;
    padding: 14px 18px;
    margin-top: 16px;
}

.abn-cart-bar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.abn-cart-label {
  font-size: 15px;
  color: #666;
  font-weight: 600;
}

.abn-cart-total {
  font-size: 15px;
  font-weight: 700;
  color: #111;
}

.abn-cart-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.abn-cart-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #d4f0e0;
}

.abn-cart-item:last-child {
  border-bottom: none;
}

.abn-cart-item-info {
  flex: 1;
}

.abn-cart-item-name {
  font-size: 14px;
  font-weight: 600;
  color: #111;
}

.abn-cart-item-extras {
  font-size: 12px;
  color: #777;
  margin-top: 2px;
  display: block;
}

.abn-cart-item-price {
  font-size: 14px;
  font-weight: 700;
  color: #111;
  white-space: nowrap;
}

/* Cart change button (kept for compatibility) */
.abn-cart-bar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.abn-cart-change {
  background: none;
  border: 1px solid #aaa;
  border-radius: 6px;
  color: #666;
  font-size: 12px;
  cursor: pointer;
  padding: 5px 12px;
  font-family: inherit;
  transition: border-color 0.15s, color 0.15s;
  white-space: nowrap;
}

.abn-cart-change:hover {
  border-color: #c0392b;
  color: #c0392b;
}

/* ---- Modal buttons ---- */
.abn-modal-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

.abn-btn-remove-svc {
  display: block;
  width: 100%;
  background: #f0f0f0;
  color: #555;
  border: none;
  border-radius: 999px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s, color 0.2s;
  font-family: inherit;
}

.abn-btn-remove-svc:hover {
  background: #fdf3f2;
  color: #c0392b;
}

/* ---- Customer info form ---- */
.abn-payment-form {
  margin-top: 8px;
}

.abn-payment-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 12px;
  color: #111;
}

.abn-form-note {
    font-size: 14px;
    color: #888;
    margin-bottom: 8px !important;
}

.abn-customer-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.abn-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.abn-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.abn-field label {
    font-size: 15px;
    font-weight: 600;
    color: #000;
    margin-bottom: 5px;
}

.abn-field input {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 14px;
  font-family: inherit;
  color: #111;
  background: #fafafa;
  transition: border-color 0.15s;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}

.abn-field input:focus {
  border-color: #4285f478;
  background: #fff;
}

.abn-field input::placeholder {
  color: #bbb;
}

.abn-btn-pay {
  font-size: 16px;
  padding: 18px 24px;
  margin-top: 4px;
}

.abn-payment-notice {
  font-size: 12px;
  color: #999;
  text-align: center;
  margin: 10px 0 0;
}

/* ---- Loading ---- */
.abn-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 28px 16px;
  color: #aaa;
  font-size: 14px;
}

.abn-spinner {
  width: 24px;
  height: 24px;
  border: 2.5px solid #e8e8e8;
  border-top-color: #2E5EAA;
  border-radius: 50%;
  animation: abn-spin 0.7s linear infinite;
  flex-shrink: 0;
}

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

.abn-msg-error {
  color: #c0392b;
  padding: 14px;
  font-size: 14px;
}

.abn-msg-info {
  color: #888;
  padding: 14px;
  font-size: 14px;
}


/* ── Success summary (booking receipt) ─────────────────────── */
.abn-success-wrap {
  margin: 8px 0 4px;
}

.abn-success-head {
  text-align: center;
  margin-bottom: 18px;
}

.abn-success-emoji {
  font-size: 40px;
  line-height: 1;
  margin-bottom: 8px;
}

.abn-success-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 6px;
}

.abn-success-sub {
  font-size: 13px;
  color: #888;
  margin: 0;
}

.abn-finish-btn {
  margin-top: 10px;
}

/* ============================================================
   PAYMENT METHOD SELECTOR + STRIPE CARD ELEMENT  (v1.1.0)
   ============================================================ */

.abn-pm-section {
  margin: 4px 0 20px;
}

.abn-pm-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
  max-width: 320px;
}

.abn-pm-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: #fff;
  border: 1.5px solid #ddd;
  border-radius: 12px;
  padding: 14px 10px 12px;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.abn-pm-option:hover {
  border-color: #999;
}

.abn-pm-option.selected {
  border-color: #111;
  background: #f5f5f5;
  box-shadow: 0 0 0 1px #111 inset;
}

.abn-pm-icon {
  font-size: 20px;
  line-height: 1;
}

.abn-pm-label {
  font-size: 14px;
  font-weight: 700;
  color: #111;
}

.abn-pm-sub {
  font-size: 11px;
  color: #888;
}

/* Stripe card element container */
.abn-stripe-wrap {
  margin-bottom: 6px;
}

.abn-stripe-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin: 10px 0 6px;
}

.abn-stripe-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 14px;
  background: #fafafa;
  transition: border-color 0.15s;
}

.abn-stripe-card:focus-within {
  border-color: #111;
  background: #fff;
}

.abn-stripe-error {
  color: #c0392b;
  font-size: 13px;
  margin-top: 8px;
  padding: 8px 12px;
  background: #fdf3f2;
  border: 1px solid #f5c6c2;
  border-radius: 6px;
}

.abn-stripe-notice {
  font-size: 12px;
  color: #888;
  margin: 10px 0 4px;
  text-align: center;
}

@media (max-width: 540px) {
  .abn-pm-options {
    max-width: none;
  }
}

/* ── Group booking attendee stepper (Req. 4) ───────────────── */
.abn-attendees-control {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f6f8fa;
  border: 1px solid #e6eaee;
  border-radius: 999px;
  padding: 4px;
}

.abn-att-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #cfd6dd;
  background: #fff;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s;
}

.abn-att-btn:hover,
.abn-att-btn:focus {
  background: #2E5EAA;
  border-color: #2E5EAA;
  color: #fff;
}
/* :not(:disabled) */
.abn-att-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.abn-att-value {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 0 6px;
}

.abn-att-count {
  min-width: 14px;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
}

.abn-att-word {
  font-size: 12px;
  color: #7a828a;
}

/* ── Add to Calendar buttons (Req. 5) ──────────────────────── */
.abn-calendar-actions {
  margin: 18px 0;
  text-align: center;
}

.abn-calendar-title {
    font-size: 14px;
    color: #444;
    margin: 0 0 10px !important;
}

.abn-calendar-btns {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.abn-cal-btn {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid #cfd6dd;
  color: #111;
  background: #fff;
}

.abn-cal-btn:hover {
  background: #f2f5f8;
}

/* ── Attendees popup ───────────────────────────────────────── */
.abn-att-modal {
  max-width: 380px;
  text-align: center;
}

.abn-att-modal-title {
    margin: 4px 0 10px;
    font-size: 20px;
    font-weight: 700;
    font-family: 'Marcellus' !important;
}

.abn-att-modal-sub {
    margin: 0 0 16px;
    font-size: 16px;
    color: #777;
    margin-bottom: 12px !important;
}

.abn-att-modal-control {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.abn-att-modal .abn-modal-btns {
  justify-content: center;
}

/* ── Public services shortcode ───────────────────────────────
   Deliberately separate from #amelia-book-now so these classes
   are easy to override in a child theme / Elementor custom CSS. */
.abn-public-catalog,
.abn-service-detail {
  --abn-public-blue: #2E5EAA;
  --abn-public-ink: #101827;
  --abn-public-muted: #687386;
  --abn-public-line: #dce3eb;
  color: var(--abn-public-ink);
}

.abn-public-catalog {
  width: 100%;
}

.abn-public-grid {
  display: grid;
  grid-template-columns: repeat(var(--abn-catalog-columns, 3), minmax(0, 1fr));
  gap: 28px 24px;
}

.abn-public-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--abn-public-line);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(16, 24, 39, .03);
}

.abn-public-card-image {
  display: block;
  aspect-ratio: 1.22/1;
  overflow: hidden;
  background: #eef2f6;
}

.abn-public-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .25s ease;
}

.abn-public-card:hover .abn-public-card-image img {
  transform: scale(1.025);
}

.abn-public-image-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  background: #eef2f6;
}

.abn-public-card-body {
    padding: 24px 24px 30px;
    display: flex;
    flex-direction: column;
    align-items: self-start;
    gap: 15px;
    position: relative;
}

.abn-public-category {
  display: inline-block;
  line-height: 1.2;
  letter-spacing: .03em;
  color: #31445a;
  font-family: "Lato", Sans-serif;
  font-size: 14px;
  font-weight: 400;
  background-color: #ECF3FA;
  padding: 5px 12px 5px 12px;
  border-radius: 16px 16px 16px 16px;
}

.abn-public-title a {
    font-family: "Marcellus", Sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #15243D;
    text-decoration: none;
}

.abn-public-card-footer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--abn-public-line);
}

.abn-public-price {
    font-size: 22px;
    font-weight: 700;
    font-family: 'Lato';
    color: #15243d;
    line-height: 26px;
}

.abn-public-continue,
.abn-service-book-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 6px 18px 10px;
    border-radius: 999px;
    background: var(--abn-public-blue);
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    line-height: normal;
    font-weight: 600;
    transition: filter .15s ease, transform .15s ease;
}

.abn-public-continue:hover,
.abn-service-book-button:hover {
  color: #fff;
  filter: brightness(.92);
  transform: translateY(-1px);
}

.abn-catalog-message {
  padding: 16px;
  border: 1px solid #dce3eb;
  border-radius: 8px;
  background: #fff;
}

/* ── Public single-service template ───────────────────────── */
.abn-service-detail {
    max-width: 100%;
    margin: 0 auto;
    padding: 64px 0 0;
}

.abn-service-detail-hero {
    display: flex;
    align-items: center;
    gap: 70px;
    max-width: 1200px;
    margin: 0 auto 64px;
}

.abn-service-detail-media {
    overflow: hidden;
    border-radius: 22px;
    background: #eef2f6;
    width: 580px;
    height: 500px;
}

.abn-service-detail-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.abn-service-detail-summary {
    width: 48%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.abn-service-detail-summary h1 {
    font-size: 40px;
    line-height: 42px;
    color: #15243d;
    font-family: 'Marcellus';
    font-weight: 700;
    margin: 0;
}

.abn-service-detail-price {
    color: var(--abn-public-blue);
    font-size: 30px;
    font-weight: 600;
    line-height: 42px;
    font-family: 'Lato';
}

.abn-service-book-button {
    padding: 8px 32px 11px !important;
    font-size: 18px !important;
}

.abn-service-meta {
    border-top: 1px solid var(--abn-public-line);
    margin-top: 15px;
    font-family: 'Lato';
    width: 50%;
}

.abn-service-meta div {
  display: grid;
  grid-template-columns: 120px 1fr;
  padding: 11px 0;
  border-bottom: 1px solid var(--abn-public-line);
}

.abn-service-meta dt {
  font-weight: 700;
}

.abn-service-meta dd {
  margin: 0;
  color: var(--abn-public-muted);
}

.abn-service-detail-content {
  max-width: 1200px;
    margin: 0 auto 70px;
    padding: 44px;
    border-radius: 12px;
    background: #f4f7fb;
    line-height: 1.75;
    font-family: 'Lato';
}

.abn-service-detail-content p {
    font-size: 16px;
}

.abn-service-detail-content> :first-child {
  margin-top: 0;
}

.abn-service-detail-content> :last-child {
  margin-bottom: 0;
}

.abn-related-services {
    max-width: 1200px;
    margin: 0 auto 70px;
}

.abn-related-services h2 {
    margin: 0 0 26px;
    font-size: 30px;
    font-family: 'Marcellus';
    font-weight: 700;
    line-height: 42px;
}

.abn-related-services .abn-public-grid {
  --abn-catalog-columns: 3;
}

.abn-service-cta {
    padding: 70px 0;
    background-color: #FBF7F1;
}

.abn-service-ready {
    padding: 60px;
    margin: auto;
    max-width: 1080px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    border-radius: 30px;
    text-align: center;
    background: var(--abn-public-blue);
    color: #fff;
    box-shadow: 0px 0px 18px 0px rgba(0, 0, 0, 0.3);
}

.abn-service-ready h2 {
    margin: 0 0 8px;
    font-size: 46px;
    line-height: 46px;
    font-family: 'Marcellus';
    font-weight: 700;
}

.abn-service-ready p {
    margin: 0 0 22px;
    font-size: 18px;
    line-height: 27px;
    font-family: 'Lato';
}

.abn-service-book-button-light {
  background: #fff;
  color: var(--abn-public-blue);
}

.abn-service-book-button-light:hover {
  color: var(--abn-public-blue);
}

@media (max-width:900px) {
  .abn-public-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}




/* ---- Responsive ---- */
@media (max-width:767px) {
  #amelia-book-now {
    margin: 20px auto;
    padding: 0 12px 60px;
  }

  .abn-timeslots {
    grid-template-columns: repeat(2, 1fr);
  }

  .abn-svc-modal-head {
    flex-direction: column;
    text-align: center;
  }

  .abn-svc-modal-head img {
    margin: 0 auto;
  }

  .abn-addr-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .abn-step {
    padding: 7px 14px;
    font-size: 13px;
  }

  .abn-field-row {
    grid-template-columns: 1fr;
  }
  .abn-public-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .abn-service-detail {
    padding: 36px 0 0;
  }

  .abn-service-detail-content {
    padding: 25px 20px;
    margin: 0 20px 40px;
  }

  .abn-related-services .abn-public-grid {
    grid-template-columns: 1fr;
  }
  .abn-public-card-body {
      padding: 24px 18px 20px;
      gap: 6px;
  }
  .abn-public-title a {
      font-size: 20px;
  }
  .abn-public-price {
      font-size: 18px;
      line-height: 24px;
  }
  .abn-public-continue, .abn-service-book-button {
      padding: 5px 16px 8px;
      font-size: 14px;
  }
  .abn-service-detail-hero {
      gap: 30px;
      margin: 0 auto 40px;
      padding: 0 20px;
      width: 100%;
      flex-direction: column;
  }
  .abn-service-detail-media {
      border-radius: 16px;
      width: 100%;
      height: auto;
  }
  .abn-service-detail-summary {
      width: 100%;
      gap: 16px;
  }
  .abn-service-detail-summary h1 {
      font-size: 26px;
      line-height: 34px;
  }
  .abn-service-detail-price {
      font-size: 25px;
      line-height: 36px;
  }
  .abn-service-meta {
      width: 100%;
  }
  .abn-related-services h2 {
      margin: 0 0 20px;
      font-size: 22px;
      line-height: 28px;
  }
  .abn-service-cta {
      padding: 50px 20px;
  }
  .abn-service-ready {
      padding: 50px 20px;
      gap: 15px;
      border-radius: 20px;
  }
  .abn-service-ready h2 {
      font-size: 32px;
      line-height: 38px;
  }
  .abn-service-ready p {
      font-size: 16px;
      line-height: 24px;
      margin-bottom: 6px;
  }
  .abn-related-services {
      margin: 0 auto 40px;
      padding: 0 20px;
  }
  .abn-location-bar {
      padding: 12px 15px;
  }
  .abn-location-text {
      font-size: 13px;
  }
  .abn-address-panel {
      padding: 18px 20px 14px;
  }
  .abn-category-card {
      gap: 12px;
      padding: 12px 12px;
  }
  .abn-cat-name {
      font-size: 14px;
  }
  .abn-service-item {
      gap: 10px;
      padding: 12px 0;
  }
  .abn-svc-name {
      font-size: 13px;
  }
  .abn-svc-price {
      font-size: 14px;
  }
  .abn-svc-img-wrap img {
      width: 70px;
      height: 70px;
  }
  .abn-add-btn {
      width: 24px;
      height: 24px;
      font-size: 18px;
  }
  .abn-extra-title-row {
      flex-wrap: wrap;
      width: 80%;
  }
  .abn-extra-toggle {
      width: 24px;
      height: 24px;
      font-size: 18px;
      top: 24px;
      right: 16px;
  }
  .abn-btn-primary {
      padding: 13px 24px;
      font-size: 14px;
  }
  .abn-btn-pay {
      font-size: 16px;
      padding: 14px 24px;
      margin-top: 4px;
  }
  .abn-summary-label {
      color: #676767;
  }
}