/* =========================================================
   Europe Meetings — Page-specific Stylesheet
   Loaded AFTER css/style.css so rules here override.
   Namespace: .em-*
   ========================================================= */

/* ---------- Resets / neutralise legacy .europe-meetings-* block in style.css ---------- */
[class*="europe-meetings-"] { /* legacy classes removed — no-op safety */ }

/* ---------- Tokens ---------- */
:root {
  --em-dark: #323C34;
  --em-olive: #6C704B;
  --em-gold: #FCD381;
  --em-cream-1: #f7f3ea;
  --em-cream-2: #faf8f3;
  --em-border: #d4cbb5;
  --em-ink: #121212;
  --em-ink-soft: #555;
  --em-muted: #8a8872;
  --em-danger: #c0392b;
  --em-radius: 14px;
  --em-radius-lg: 20px;
  --em-shadow: 0 2px 12px rgba(0,0,0,.06);
  --em-shadow-hover: 0 6px 20px rgba(0,0,0,.1);
}

/* ---------- Eyebrow (pill tag) ---------- */
.em-eyebrow{
  display: inline-block;
  background: #fff;
  color: var(--em-olive);
  border: 1px solid var(--em-border);
  font-family: 'Poppins', sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  line-height: 1;
  margin: 0 0 14px;
}

/* ---------- Buttons ---------- */
.em-btn{
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 13px 30px;
  border-radius: 100px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .05s ease, box-shadow .2s ease;
  line-height: 1.2;
  white-space: nowrap;
}
.em-btn:active{ transform: translateY(1px); }

.em-btn-primary{
  background: var(--em-dark);
  color: #fff;
  border-color: var(--em-dark);
}
.em-btn-primary:hover{
  background: var(--em-olive);
  border-color: var(--em-olive);
  color: #fff;
}

/* Light variant — for use on dark backgrounds (Frankfurt callout) */
.em-btn-light{
  background: var(--em-gold);
  color: var(--em-dark);
  border-color: var(--em-gold);
  font-weight: 600;
}
.em-btn-light:hover{
  background: #fff;
  border-color: #fff;
  color: var(--em-dark);
}

/* ---------- Hero ---------- */
.em-hero{ padding: 40px 0 0; }
.em-hero-topline{
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: 26px;
  line-height: 1.15;
  color: var(--em-olive);
  margin: 0 0 16px;
  letter-spacing: -0.2px;
}
.em-hero h1{
  font-size: 32px;
  text-align: left;
  line-height: 1.1;
  margin: 0;
}
.em-hero h1 span{ color: var(--em-olive); }
.em-intro{
  padding: 14px 0 0;
  font-size: 13px;
  line-height: 180%;
  max-width: 620px;
  color: var(--em-ink-soft);
  margin: 0;
}
.em-intro strong{ color: var(--em-dark); font-weight: 600; }

.em-hero-img{ padding: 24px 0 0; }
.em-hero-img img{ border-radius: var(--em-radius); }

.em-quickinfo{
  list-style: none;
  padding: 22px 0 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;            /* default: wrap to new line on narrow screens */
  gap: 10px;
}
.em-quickinfo li{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  background: #fff;
  border: 1px solid var(--em-border);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 12px;
  color: var(--em-dark);
  font-weight: 500;
}
/* On desktop (lg+) keep all three pills on a single row even when the
   Turkish label ("Dr. Alptekin Aydın bizzat katılmaktadır.") is longer. */
@media (min-width: 992px) {
  .em-quickinfo{ flex-wrap: nowrap; }
  .em-quickinfo li{ padding: 8px 14px; font-size: 12.5px; }
}
.em-quickinfo li svg{ color: var(--em-olive); flex-shrink: 0; }

/* ---------- Frankfurt Callout ---------- */
.em-callout-section{ padding: 48px 0 0; }
.em-callout{
  background: linear-gradient(135deg, #323C34 0%, #6C704B 100%);
  color: #fff;
  border-radius: var(--em-radius-lg);
  padding: 32px 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.em-callout-tag{
  display: inline-block;
  background: rgba(252, 211, 129, 0.18);
  color: var(--em-gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin: 0 0 20px;
}
.em-callout-grid{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.em-callout h2{
  font-size: 26px;
  color: #fff;
  margin: 0;
  padding: 0;
  font-family: 'Playfair Display', serif;
}
.em-callout p{
  font-size: 13px;
  line-height: 180%;
  color: rgba(255,255,255,0.88);
  max-width: 560px;
  margin: 14px auto 0;
  padding: 0;
}
.em-callout-cta{ padding: 22px 0 0; }

.em-callout-note{
  font-size: 12px !important;
  color: rgba(255,255,255,0.7) !important;
  padding: 22px 0 0 !important;
  margin: 0 auto !important;
  text-align: center !important;
  max-width: 560px !important;
}

/* Calendar date block */
.em-calendar-block{
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(252,211,129,0.25);
  border-radius: var(--em-radius);
  padding: 14px 22px;
  min-width: 160px;
  text-align: center;
  flex-shrink: 0;
}
.em-cal-month-top{
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  font-weight: 600;
  color: var(--em-gold);
  text-transform: uppercase;
  padding: 0 0 2px;
}
.em-cal-days{
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  color: #fff;
  line-height: 1.1;
  letter-spacing: 1px;
}
.em-cal-year{
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 2px;
  padding: 2px 0 0;
}

.em-callout-content{ flex: 1; min-width: 0; }

/* ---------- Doctor Section ---------- */
.em-doctor-section{ padding: 60px 0 0; }
.em-doctor-img{
  border-radius: var(--em-radius);
  overflow: hidden;
}
.em-doctor-img img{ border-radius: var(--em-radius); }
.em-doctor-content{ padding: 24px 0 0; }
.em-doctor-content h2{
  font-size: 28px;
  text-align: left;
  margin: 0;
  padding: 2px 0 0;
}
.em-doctor-content h2 span{ color: var(--em-olive); }
.em-doctor-content p{
  font-size: 13px;
  line-height: 190%;
  padding: 12px 0 0;
  margin: 0;
  color: var(--em-ink-soft);
}
.em-doctor-credentials{
  font-style: italic;
  color: var(--em-olive) !important;
  font-size: 13px !important;
  padding: 8px 0 0 !important;
}
.em-doctor-credentials:empty{ display: none; }

/* ---------- Services — premium card design ---------- */
.em-services-section{ padding: 60px 0 0; }
.em-section-subtitle{
  font-size: 13px;
  padding: 10px 0 0;
  max-width: 580px;
  margin: 0 auto;
  color: var(--em-ink-soft);
}
.em-services-section h2 span,
.em-reserve-section h2 span,
.em-qpan-section h2 span,
.em-next-section h2 span{ color: var(--em-olive); }

.em-services-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 36px 0 0;
}
.em-service{
  position: relative;
  background: #fff;
  border: 1px solid var(--em-border);
  border-radius: var(--em-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 18px rgba(50,60,52,.07);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .35s ease;
}
.em-service:hover{
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(50,60,52,.18);
  border-color: var(--em-olive);
}
.em-service-accent{
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--em-gold) 0%, #e6b95c 50%, var(--em-gold) 100%);
  z-index: 3;
}
.em-service-header{
  background: var(--em-dark);
  color: #fff;
  padding: 62px 18px 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.em-service-header:before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(252,211,129,.18) 0%, transparent 45%),
    radial-gradient(circle at 0% 100%, rgba(108,112,75,.35) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}
.em-service-header:after{
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 14px 14px;
  pointer-events: none;
  z-index: 0;
  opacity: .6;
}
.em-service-header > *{ position: relative; z-index: 1; }
.em-service-featured .em-service-header{
  background: linear-gradient(135deg, #323C34 0%, #4d5a40 55%, #6C704B 100%);
}
.em-service-featured{
  border-color: var(--em-gold);
  box-shadow: 0 4px 18px rgba(50,60,52,.07), 0 0 0 1px rgba(252,211,129,.35);
}
.em-service-featured:hover{
  box-shadow: 0 18px 44px rgba(50,60,52,.2), 0 0 0 1px var(--em-gold);
}
.em-service-icon{
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(252,211,129,.22) 0%, rgba(252,211,129,.08) 100%);
  border: 1px solid rgba(252,211,129,.35);
  color: var(--em-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  transition: transform .4s cubic-bezier(.2,.7,.2,1);
}
.em-service-icon svg{
  width: 30px;
  height: 30px;
}
.em-service:hover .em-service-icon{
  transform: rotate(-4deg) scale(1.06);
}
.em-service-number{
  position: absolute;
  top: 14px;
  right: 16px;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 1;
  color: rgba(252,211,129,.28);
  letter-spacing: 1px;
  z-index: 1;
}
.em-service-header h3{
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  line-height: 1.3;
  color: #fff;
  margin: 0;
  padding: 0;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: .2px;
}
.em-service-lead{
  font-size: 11px;
  line-height: 150%;
  color: rgba(255,255,255,0.78) !important;
  margin: 8px 0 0 !important;
  padding: 0 !important;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.em-service-tag{
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--em-gold);
  color: var(--em-dark);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  z-index: 4;
  box-shadow: 0 4px 12px rgba(252,211,129,.4);
  white-space: nowrap;
  line-height: 1;
}
.em-service-tag:before{
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--em-dark);
  display: inline-block;
}
.em-service-tag-alt{
  background: var(--em-dark);
  color: var(--em-gold);
  box-shadow: 0 4px 12px rgba(50,60,52,.3);
}
.em-service-tag-alt:before{
  background: var(--em-gold);
}
.em-service-body{
  padding: 22px 22px 26px;
  flex: 1;
  background: #fff;
  position: relative;
}
.em-service-body ul{
  margin: 0;
  padding: 0;
  list-style: none;
}
.em-service-body ul li{
  font-size: 12.5px;
  line-height: 150%;
  padding: 10px 0 10px 28px;
  position: relative;
  color: var(--em-ink-soft);
  border-bottom: 1px dashed #ece7d8;
  transition: color .2s ease, padding-left .25s ease;
}
.em-service-body ul li:last-child{ border-bottom: none; }
.em-service-body ul li:before{
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--em-olive) 0%, #8a8e60 100%);
  box-shadow: 0 2px 6px rgba(108,112,75,.25);
  transition: transform .25s ease;
}
.em-service-body ul li:after{
  content: "";
  position: absolute;
  left: 9px;
  top: 50%;
  width: 8px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translate(-50%, -65%) rotate(-45deg);
  transform-origin: center;
}
.em-service:hover .em-service-body ul li{
  color: var(--em-ink);
}
.em-service-body ul li:hover{
  padding-left: 32px;
}
.em-service-body ul li:hover:before{
  transform: translateY(-50%) scale(1.12);
}
.em-service-featured .em-service-body ul li:before{
  background: linear-gradient(135deg, var(--em-gold) 0%, #e6b95c 100%);
  box-shadow: 0 2px 6px rgba(252,211,129,.45);
}
.em-service-featured .em-service-body ul li:after{
  border-color: var(--em-dark);
}

/* ---------- QPAN ---------- */
.em-qpan-section{ padding: 60px 0 0; }
.em-qpan-box{
  background: var(--em-cream-1);
  border: 1px solid var(--em-border);
  border-radius: var(--em-radius-lg);
  padding: 32px 24px;
  text-align: center;
}
.em-qpan-box h2{
  font-size: 26px;
  padding: 4px 0 0;
  margin: 0;
}
.em-qpan-box p{
  font-size: 13px;
  line-height: 190%;
  padding: 14px 0 0;
  margin: 0;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  color: var(--em-ink-soft);
}

/* ---------- Reserve Steps ---------- */
.em-reserve-section{ padding: 60px 0 0; }
.em-reserve-row{
  padding: 40px 0 0;
  position: relative;
}
.em-reserve-row:before{
  content: "";
  position: absolute;
  top: 110px;
  left: 16.66%;
  right: 16.66%;
  height: 2px;
  background-image: linear-gradient(to right, var(--em-olive) 0 8px, transparent 8px 16px);
  background-size: 16px 2px;
  background-repeat: repeat-x;
  opacity: .45;
  z-index: 0;
  display: none;
}
.em-step{
  position: relative;
  background: linear-gradient(180deg, #fff 0%, var(--em-cream-2) 100%);
  border: 1px solid var(--em-border);
  border-radius: var(--em-radius-lg);
  padding: 34px 22px 28px;
  margin: 12px 0 0;
  box-shadow: 0 4px 18px rgba(50,60,52,.06);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .35s ease;
  overflow: hidden;
  z-index: 1;
}
.em-step:before{
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--em-gold) 0%, #e6b95c 50%, var(--em-gold) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s cubic-bezier(.2,.7,.2,1);
}
.em-step:hover{
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(50,60,52,.15);
  border-color: var(--em-olive);
}
.em-step:hover:before{
  transform: scaleX(1);
}
.em-step-icon{
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(252,211,129,.35) 0%, rgba(252,211,129,.1) 60%, transparent 100%);
  border: 1px dashed rgba(108,112,75,.4);
  color: var(--em-olive);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  position: relative;
  transition: transform .4s cubic-bezier(.2,.7,.2,1), color .3s ease;
}
.em-step-icon:before{
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 2px 6px rgba(50,60,52,.06);
}
.em-step-icon svg{
  width: 34px;
  height: 34px;
  position: relative;
  z-index: 1;
}
.em-step:hover .em-step-icon{
  transform: scale(1.06) rotate(-3deg);
  color: var(--em-dark);
}
.em-step-number{
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--em-olive);
  background: rgba(108,112,75,.08);
  padding: 5px 12px;
  border-radius: 100px;
  margin: 18px 0 0;
}
.em-step-title{
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--em-dark);
  padding: 12px 0 0;
  line-height: 1.3;
}
.em-step p{
  font-size: 12px;
  line-height: 170%;
  padding: 10px 0 0;
  margin: 0;
  color: var(--em-ink-soft);
}
.em-reserve-cta{ padding: 40px 0 0; }

/* ---------- Before You Book (text only) ---------- */
.em-info-section{ padding: 60px 0 0; }
.em-info-textonly{ max-width: 720px; margin: 0 auto; }
.em-info-textonly h3,
.em-info-textonly .em-eyebrow + ul{ margin-top: 0; }
.em-info-list{
  list-style: none;
  padding: 16px 0 0;
  margin: 0;
}
.em-info-list li{
  font-size: 13px;
  line-height: 190%;
  color: var(--em-ink-soft);
  padding: 6px 0;
  position: relative;
}
.em-info-list li + li{ border-top: 1px dashed var(--em-border); }

/* ---------- Next Cities ---------- */
.em-next-section{ padding: 60px 0 0; }
.em-next-lead{
  font-size: 13px;
  line-height: 180%;
  padding: 10px 0 0;
  max-width: 620px;
  margin: 0 auto;
  color: var(--em-ink-soft);
}
.em-cities{
  list-style: none;
  padding: 28px 0 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.em-cities li{
  padding: 0;
  margin: 0;
  list-style: none;
}
.em-city-btn{
  appearance: none;
  background: #fff;
  border: 1px solid var(--em-border);
  color: var(--em-dark);
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 100px;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .15s ease, box-shadow .2s ease, padding .2s ease;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
}
.em-city-btn::after{
  content: "→";
  display: inline-block;
  opacity: 0;
  max-width: 0;
  margin-left: 0;
  overflow: hidden;
  transition: opacity .2s ease, max-width .2s ease, margin-left .2s ease;
  font-weight: 400;
}
.em-city-btn:hover{
  background: var(--em-dark);
  border-color: var(--em-dark);
  color: var(--em-gold);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(50, 60, 52, 0.18);
}
.em-city-btn:hover::after{
  opacity: 1;
  max-width: 14px;
  margin-left: 6px;
}
.em-city-btn:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(50, 60, 52, 0.15);
}
.em-city-btn.is-selected,
.em-city-btn[aria-checked="true"]{
  background: var(--em-dark);
  border-color: var(--em-dark);
  color: var(--em-gold);
  padding-left: 16px;
}
.em-city-btn.is-selected::before,
.em-city-btn[aria-checked="true"]::before{
  content: "";
  display: inline-block;
  width: 6px;
  height: 10px;
  border-right: 2px solid var(--em-gold);
  border-bottom: 2px solid var(--em-gold);
  transform: rotate(45deg);
  margin: -4px 8px 0 0;
  vertical-align: middle;
}

/* Inline error shown under the city list if user skips selection */
.em-cities-error{
  font-size: 13px;
  color: var(--em-danger);
  background: #fdf0ef;
  border: 1px solid #f5c6cb;
  border-radius: 10px;
  padding: 10px 16px;
  margin: 20px auto 0;
  max-width: 520px;
  text-align: center;
  animation: emShake .4s ease;
}
.em-cities-error[hidden]{ display: none; }
@keyframes emShake{
  0%, 100%{ transform: translateX(0); }
  25%{ transform: translateX(-5px); }
  75%{ transform: translateX(5px); }
}

/* Modal context line (shows which city user selected) */
.em-modal-context{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--em-cream-1);
  border: 1px solid var(--em-border);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 12px;
  margin: 14px 0 0;
}
.em-modal-context span{ color: var(--em-ink-soft); }
.em-modal-context strong{ color: var(--em-dark); font-weight: 600; }
.em-modal-context[hidden]{ display: none; }
.em-modal-context-change{
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--em-olive);
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
  padding: 0 0 0 6px;
  margin: 0 0 0 2px;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  font-family: inherit;
  border-left: 1px solid var(--em-border);
}
.em-modal-context-change:hover{ color: var(--em-dark); }
.em-next-note{
  font-size: 12px;
  color: var(--em-muted);
  padding: 24px 0 0;
  margin: 0 auto;
  max-width: 580px;
}
.em-next-cta{ padding: 28px 0 0; }

/* ---------- Contact Line ---------- */
.em-contact-line{ padding: 56px 0 80px; }
.em-contact-line p{
  font-size: 13px;
  line-height: 180%;
  color: var(--em-ink-soft);
  margin: 0;
  padding: 0;
}
.em-contact-line a{
  color: var(--em-olive);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.em-contact-line a:hover{ border-bottom-color: var(--em-olive); }

/* =========================================================
   Modal
   ========================================================= */
.em-modal{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 40px 16px;
}
.em-modal[hidden]{ display: none; }
.em-modal-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(18, 18, 18, 0.62);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.em-modal-dialog{
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: var(--em-radius-lg);
  width: 100%;
  max-width: 520px;
  padding: 32px 28px 28px;
  box-shadow: 0 30px 80px rgba(0,0,0,.3);
  animation: emModalIn .25s ease;
}
@keyframes emModalIn{
  from{ opacity: 0; transform: translateY(-12px); }
  to{ opacity: 1; transform: translateY(0); }
}
.em-modal-close{
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  color: var(--em-ink-soft);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.em-modal-close:hover{ background: var(--em-cream-1); color: var(--em-dark); }
.em-modal-header{ text-align: center; padding: 0 0 20px; }
.em-modal-header h3{
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  margin: 0;
  padding: 4px 0 0;
  color: var(--em-ink);
}
.em-modal-lead{
  font-size: 13px;
  line-height: 180%;
  color: var(--em-ink-soft);
  margin: 12px 0 0;
  padding: 0;
}
.em-hp{ position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.em-form .em-field{ padding: 0 0 14px; position: relative; }
.em-form label{
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--em-dark);
  padding: 0 0 6px;
}
.em-form label .required{ color: var(--em-danger); }

.em-form input[type="text"],
.em-form input[type="email"],
.em-form input[type="tel"]{
  width: 100%;
  height: 48px;
  border: 1px solid var(--em-border);
  border-radius: 10px;
  background: #fff;
  padding: 0 14px;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  color: var(--em-ink);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.em-form input[type="text"]:focus,
.em-form input[type="email"]:focus,
.em-form input[type="tel"]:focus{
  border-color: var(--em-dark);
  box-shadow: 0 0 0 3px rgba(50, 60, 52, 0.1);
}
.em-form .em-field.has-error input,
.em-form .em-field.has-error .em-phone,
.em-form .em-field.has-error .em-country__toggle{
  border-color: var(--em-danger);
}
.em-field-error{
  display: block;
  font-size: 11.5px;
  color: var(--em-danger);
  padding: 4px 0 0;
  min-height: 16px;
}

.em-field-submit{ padding: 6px 0 0; text-align: center; }
.em-submit-btn{ min-width: 160px; padding: 14px 32px; font-size: 14px; }
.em-submit-btn:disabled{ opacity: .6; cursor: not-allowed; }

.em-modal-status{
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 10px;
  margin: 12px 0 0;
  text-align: center;
}
.em-modal-status.is-error{ background: #fdf0ef; border: 1px solid #f5c6cb; color: #721c24; }

.em-modal-success{ text-align: center; padding: 24px 0 0; }
.em-modal-success h3{
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  margin: 14px 0 0;
  color: var(--em-ink);
}
.em-modal-success p{
  font-size: 13px;
  line-height: 180%;
  color: var(--em-ink-soft);
  margin: 12px 0 24px;
}

/* ---------- Phone country code picker ---------- */
.em-phone{
  position: relative;
  display: flex;
  width: 100%;
  height: 48px;
  border: 1px solid var(--em-border);
  border-radius: 10px;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.em-phone:focus-within{
  border-color: var(--em-dark);
  box-shadow: 0 0 0 3px rgba(50, 60, 52, 0.1);
}
.em-phone__toggle{
  display: flex;
  align-items: center;
  gap: 6px;
  appearance: none;
  border: none;
  background: rgba(252, 211, 129, 0.15);
  border-right: 1px solid var(--em-border);
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  padding: 0 12px 0 14px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: var(--em-dark);
  cursor: pointer;
  white-space: nowrap;
  min-width: 84px;
  transition: background-color .15s ease;
}
.em-phone__toggle:hover{ background: rgba(252, 211, 129, 0.3); }
.em-phone__dial{ font-variant-numeric: tabular-nums; line-height: 1; }
.em-phone__caret{
  color: var(--em-muted);
  display: flex;
  align-items: center;
  transition: transform .15s ease;
}
.em-phone__toggle[aria-expanded="true"] .em-phone__caret{ transform: rotate(180deg); }
.em-phone input[type="tel"]{
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  border: none !important;
  background: transparent;
  padding: 0 14px;
  font-size: 14px;
  color: var(--em-ink);
  border-radius: 0 10px 10px 0;
  outline: none;
  box-shadow: none !important;
}

/* ---------- Country dropdown ---------- */
.em-country{ position: relative; width: 100%; }
.em-country__toggle{
  appearance: none;
  width: 100%;
  height: 48px;
  border: 1px solid var(--em-border);
  border-radius: 10px;
  background: #fff;
  padding: 0 14px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: var(--em-ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.em-country__toggle:hover{ border-color: #8a9080; }
.em-country__toggle:focus{
  outline: none;
  border-color: var(--em-dark);
  box-shadow: 0 0 0 3px rgba(50, 60, 52, 0.1);
}
.em-country__label{
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.em-country__label--empty{ color: var(--em-muted); }
.em-country__caret{
  color: var(--em-muted);
  display: flex;
  align-items: center;
  transition: transform .15s ease;
  flex-shrink: 0;
}
.em-country__toggle[aria-expanded="true"] .em-country__caret{ transform: rotate(180deg); }

/* ---------- Shared popover for both pickers ---------- */
.em-phone__popover,
.em-country__popover{
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--em-border);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  z-index: 100;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 320px;
}
.em-phone__popover{ min-width: 280px; max-width: 380px; }
.em-country__popover{ max-width: none; }
.em-phone__popover[hidden],
.em-country__popover[hidden]{ display: none; }

.em-phone__search-wrap,
.em-country__search-wrap{
  padding: 10px;
  border-bottom: 1px solid #f0ece0;
  flex-shrink: 0;
}
.em-phone__search,
.em-country__search{
  appearance: none;
  width: 100%;
  height: 36px;
  border: 1px solid var(--em-border);
  background: #fafaf7;
  border-radius: 8px;
  padding: 0 12px;
  font-size: 13px;
  font-family: 'Poppins', sans-serif;
  color: var(--em-ink);
  outline: none;
}
.em-phone__search:focus,
.em-country__search:focus{
  border-color: var(--em-dark);
  background: #fff;
}

.em-phone__list,
.em-country__list{
  list-style: none;
  margin: 0;
  padding: 4px 0;
  overflow-y: auto;
  flex: 1 1 auto;
  scroll-padding: 8px;
}
.em-phone__item,
.em-country__item{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 14px;
  cursor: pointer;
  font-size: 13px;
  font-family: 'Poppins', sans-serif;
  color: var(--em-ink);
  transition: background-color .1s ease;
}
.em-phone__item:hover,
.em-country__item:hover{ background: var(--em-cream-2); }
.em-phone__item.is-selected,
.em-country__item.is-selected{
  background: rgba(50, 60, 52, 0.08);
  font-weight: 500;
}
.em-phone__item-name{
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.em-phone__item-dial{
  color: var(--em-muted);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  font-size: 12px;
}
.em-phone__group,
.em-country__group{
  padding: 8px 14px 4px;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--em-muted);
  cursor: default;
  pointer-events: none;
  font-weight: 600;
}
.em-phone__group:not(:first-child),
.em-country__group:not(:first-child){
  margin-top: 4px;
  border-top: 1px solid #f0ece0;
  padding-top: 12px;
}
.em-phone__empty,
.em-country__empty{
  padding: 20px 14px;
  text-align: center;
  color: var(--em-muted);
  font-size: 13px;
}
.em-phone__empty[hidden],
.em-country__empty[hidden]{ display: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media screen and (min-width: 768px){
  .em-hero{ padding: 100px 0 0; }
  .em-hero-topline{ font-size: 40px; margin: 0 0 22px; }
  .em-hero h1{ font-size: 52px; }
  .em-intro{ font-size: 14px; padding: 20px 0 0; }
  .em-hero-img{ padding: 0; }
  .em-quickinfo{ padding: 28px 0 0; gap: 12px; }
  .em-quickinfo li{ font-size: 13px; padding: 9px 18px; }

  .em-callout-section{ padding: 80px 0 0; }
  .em-callout{ padding: 44px 40px; }
  .em-callout-tag{ font-size: 12px; }
  .em-callout h2{ font-size: 34px; }
  .em-callout p{ font-size: 15px; }
  .em-cal-days{ font-size: 42px; }

  .em-doctor-section{ padding: 100px 0 0; }
  .em-doctor-content{ padding: 0 0 0 16px; }
  .em-doctor-content h2{ font-size: 40px; }
  .em-doctor-content p{ font-size: 14px; }

  .em-services-section{ padding: 100px 0 0; }
  .em-section-subtitle{ font-size: 15px; }
  .em-services-grid{ grid-template-columns: repeat(2, 1fr); gap: 20px; padding: 40px 0 0; }

  .em-qpan-section{ padding: 100px 0 0; }
  .em-qpan-box{ padding: 48px 40px; }
  .em-qpan-box h2{ font-size: 34px; }
  .em-qpan-box p{ font-size: 15px; }

  .em-reserve-section{ padding: 100px 0 0; }
  .em-reserve-row{ padding: 56px 0 0; }
  .em-reserve-row:before{ display: block; top: 120px; }
  .em-step{ padding: 40px 26px 32px; }
  .em-step-icon{ width: 88px; height: 88px; }
  .em-step-icon svg{ width: 40px; height: 40px; }
  .em-step-number{ font-size: 11px; margin-top: 22px; padding: 6px 14px; }
  .em-step-title{ font-size: 22px; padding: 14px 0 0; }
  .em-step p{ font-size: 13px; padding: 12px 0 0; }
  .em-reserve-cta{ padding: 56px 0 0; }

  .em-info-section{ padding: 80px 0 0; }
  .em-info-list li{ font-size: 14px; padding: 10px 0; }

  .em-next-section{ padding: 100px 0 0; }
  .em-next-lead{ font-size: 15px; }
  .em-cities{ padding: 36px 0 0; gap: 12px; }
  .em-city-btn{ font-size: 15px; padding: 12px 26px; }
  .em-city-btn.is-selected,
  .em-city-btn[aria-checked="true"]{ padding-left: 20px; }
  .em-next-note{ font-size: 13px; }

  .em-contact-line{ padding: 80px 0 100px; }
  .em-contact-line p{ font-size: 14px; }

  .em-modal-dialog{ padding: 36px 36px 32px; }
}

@media screen and (min-width: 992px){
  .em-services-grid{ grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .em-service-header{ padding: 48px 14px 20px; }
  .em-service-header h3{ font-size: 14px; }
  .em-service-lead{ font-size: 10.5px; }
  .em-service-icon{ width: 52px; height: 52px; margin-bottom: 12px; }
  .em-service-icon svg{ width: 26px; height: 26px; }
  .em-service-number{ font-size: 22px; top: 14px; right: 14px; }
  .em-service-body{ padding: 20px 20px 24px; }
  .em-step{ margin: 0; }
}

@media screen and (min-width: 1200px){
  .em-hero-topline{ font-size: 48px; margin: 0 0 24px; }
  .em-hero h1{ font-size: 60px; }
  .em-intro{ font-size: 15px; }
  .em-services-grid{ gap: 24px; }
  .em-service-header{ padding: 50px 18px 22px; }
  .em-service-header h3{ font-size: 15px; }
  .em-service-lead{ font-size: 11px; }
  .em-service-icon{ width: 56px; height: 56px; }
  .em-service-icon svg{ width: 28px; height: 28px; }
  .em-service-number{ font-size: 24px; top: 16px; right: 16px; }
}

/* =========================================================
   Booking Modal (wide, two-column with cart)
   ========================================================= */

.em-modal-dialog.em-modal-wide{
  max-width: 960px;
  padding: 0;
  overflow: hidden;
}
.em-booking-modal .em-modal-dialog{
  max-width: 960px;
  /* Make the dialog itself the scroll container so the form can scroll
     inside while the dialog stays anchored in the viewport. Prevents the
     whole card from sliding up/down when content auto-scrolls. */
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.em-booking-layout{
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.em-booking-main{
  padding: 28px 24px 20px;
  order: 1;
}
.em-booking-main .em-modal-header{
  text-align: left;
  padding: 0 0 16px;
}
.em-booking-main .em-modal-header h3{ text-align: left; }
.em-booking-main .em-modal-header .em-modal-lead{
  text-align: left;
  margin: 8px 0 0;
}

.em-capacity-banner{
  background: var(--em-cream-1);
  border: 1px solid var(--em-border);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12.5px;
  line-height: 160%;
  color: var(--em-ink-soft);
  margin: 14px 0 0;
}
.em-capacity-banner svg{ color: var(--em-olive); flex-shrink: 0; margin-top: 2px; }

/* ---- Fieldset steps ---- */
.em-booking-step{
  border: 0;
  padding: 18px 0 12px;
  margin: 0;
  border-top: 1px solid #f0ece0;
}
.em-booking-step:first-of-type{ border-top: 0; padding-top: 8px; }
.em-booking-step legend{
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--em-dark);
  padding: 0 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.em-step-num{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  aspect-ratio: 1 / 1;
  padding: 0;
  background: var(--em-dark);
  color: var(--em-gold);
  border-radius: 50%;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

/* ---- Field helper text ---- */
.em-field-help{
  font-size: 11.5px;
  line-height: 150%;
  color: var(--em-ink-soft);
  margin: 6px 0 0;
  padding: 0;
}

/* ---- Phone inline spinner (while checking) ---- */
.em-phone{ position: relative; }
.em-phone__spinner{
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--em-olive);
  pointer-events: none;
  z-index: 2;
}
.em-phone:has(.em-phone__spinner:not([hidden])) input[type="tel"]{
  padding-right: 36px;
}

/* ---- Existing-patient notice (shown under mobile when discount applies) ---- */
.em-patient-notice{
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 16px 0 0;
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(108,112,75,.08) 0%, rgba(252,211,129,.15) 100%);
  border: 1px solid rgba(108,112,75,.25);
  border-left: 4px solid var(--em-olive);
  border-radius: 12px;
  animation: em-notice-in .45s cubic-bezier(.2,.7,.2,1);
}
@keyframes em-notice-in{
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.em-patient-notice-icon{
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--em-olive);
  color: var(--em-gold);
  display: flex;
  align-items: center;
  justify-content: center;
}
.em-patient-notice-text{
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.em-patient-notice-text strong{
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--em-dark);
  line-height: 1.3;
}
.em-patient-notice-text span{
  font-size: 12.5px;
  line-height: 160%;
  color: var(--em-ink-soft);
}

/* ---- Progressive unlock: all steps visible, later steps dimmed until ready ---- */
.em-booking-step.is-locked{
  position: relative;
  pointer-events: none;
}
.em-booking-step.is-locked > *:not(legend){
  opacity: .35;
  filter: grayscale(40%);
  transition: opacity .35s ease, filter .35s ease;
}
.em-booking-step.is-locked legend{
  color: var(--em-muted);
}
.em-booking-step.is-locked legend .em-step-num{
  background: #bdb89e;
  color: #fff;
}
.em-booking-step.is-locked legend:after{
  content: "";
  display: inline-block;
  width: 12px;
  height: 14px;
  margin-left: 10px;
  background: no-repeat center / contain url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a8872' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><rect x='4' y='11' width='16' height='10' rx='2'/><path d='M8 11V8a4 4 0 0 1 8 0v3'/></svg>");
  vertical-align: -2px;
}
.em-booking-step:not(.is-locked) > *:not(legend){
  opacity: 1;
  filter: none;
  transition: opacity .35s ease, filter .35s ease;
}

/* ---- Day picker ---- */
.em-day-picker{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.em-day-card{
  display: block;
  cursor: pointer;
  position: relative;
  margin: 0;
}
.em-day-card input{
  position: absolute;
  opacity: 0;
  inset: 0;
}
.em-day-card-inner{
  background: #fff;
  border: 2px solid var(--em-border);
  border-radius: 14px;
  padding: 18px 16px;
  text-align: center;
  transition: border-color .15s ease, background .15s ease, transform .05s ease, box-shadow .2s ease;
}
.em-day-card:hover .em-day-card-inner{ border-color: var(--em-olive); }
.em-day-card input:focus-visible + .em-day-card-inner{ box-shadow: 0 0 0 3px rgba(50,60,52,0.15); }
.em-day-card input:checked + .em-day-card-inner{
  border-color: var(--em-dark);
  background: var(--em-cream-2);
}
.em-day-card.is-closed{ opacity: .4; pointer-events: none; }
.em-day-num{
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  color: var(--em-dark);
  line-height: 1;
}
.em-day-month{
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--em-olive);
  font-weight: 600;
  padding: 6px 0 0;
}
.em-day-weekday{
  font-size: 12px;
  color: var(--em-ink-soft);
  padding: 4px 0 0;
}
.em-day-closed{
  font-size: 10px;
  color: var(--em-danger);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 0 0;
  font-weight: 600;
}

/* ---- Service picker ---- */
.em-service-picker{
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.em-service-pick{
  display: block;
  cursor: pointer;
  margin: 0;
  position: relative;
}
.em-service-pick input{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.em-service-pick-body{
  background: #fff;
  border: 2px solid var(--em-border);
  border-radius: 14px;
  padding: 14px 16px;
  transition: border-color .15s ease, background .15s ease;
}
.em-service-pick:hover .em-service-pick-body{ border-color: var(--em-olive); }
.em-service-pick input:checked ~ .em-service-pick-body{
  border-color: var(--em-dark);
  background: var(--em-cream-2);
}
.em-service-pick.is-disabled{ opacity: .55; pointer-events: none; }
.em-service-pick-head{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.em-service-pick-title{
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}
.em-service-pick-title h4{
  font-family: 'Playfair Display', serif;
  margin: 0;
  font-size: 16px;
  color: var(--em-dark);
}
.em-check-icon{
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 2px solid var(--em-border);
  border-radius: 6px;
  position: relative;
  transition: all .15s ease;
  background: #fff;
}
.em-service-pick input:checked ~ .em-service-pick-body .em-check-icon{
  background: var(--em-dark);
  border-color: var(--em-dark);
}
.em-service-pick input:checked ~ .em-service-pick-body .em-check-icon::after{
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 6px;
  height: 11px;
  border: solid var(--em-gold);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.em-service-pick-price{
  text-align: right;
  font-size: 14px;
  font-weight: 600;
  color: var(--em-dark);
  font-family: 'Poppins', sans-serif;
  white-space: nowrap;
}
.em-price-discount{
  color: var(--em-olive);
  font-weight: 600;
  margin-left: 6px;
}
.em-price-full.is-struck{
  text-decoration: line-through;
  color: var(--em-muted);
  font-weight: 400;
  font-size: 12px;
  margin-right: 4px;
}
.em-service-pick-desc{
  font-size: 12.5px;
  line-height: 160%;
  color: var(--em-ink-soft);
  margin: 8px 0 0;
  padding: 0;
}
.em-service-status{
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 160%;
}
.em-status-waitlist{
  background: #fdf4e5;
  border: 1px solid #e8d9b2;
  color: #7a5a12;
}
.em-status-full{
  background: #fdf0ef;
  border: 1px solid #f5c6cb;
  color: #721c24;
}
.em-status-muted{
  background: #f4f1e9;
  border: 1px solid #d4cbb5;
  color: #6b6652;
  font-style: italic;
}

/* ---- Consent checkbox (overrides .em-form label block default) ---- */
.em-form label.em-checkbox-label,
.em-checkbox-label{
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--em-ink-soft);
  font-weight: 400;
  padding: 2px 0;
}
.em-checkbox-label input[type="checkbox"]{
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.em-checkbox-tick{
  display: inline-block;
  box-sizing: border-box;
  flex: 0 0 22px;
  width: 22px !important;
  height: 22px !important;
  min-width: 22px;
  min-height: 22px;
  max-width: 22px;
  max-height: 22px;
  border: 2px solid var(--em-olive);
  border-radius: 5px;
  background: #fff;
  margin-top: 0;
  padding: 0;
  position: relative;
  top: 0;
  align-self: flex-start;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
  box-shadow: inset 0 0 0 1px rgba(108,112,75,.08);
}
.em-checkbox-label:hover .em-checkbox-tick{
  border-color: var(--em-dark);
  box-shadow: 0 0 0 3px rgba(108,112,75,.12);
}
.em-checkbox-label input[type="checkbox"]:focus-visible + .em-checkbox-tick{
  outline: 2px solid var(--em-gold);
  outline-offset: 2px;
}
.em-checkbox-label input[type="checkbox"]:checked + .em-checkbox-tick{
  background: var(--em-dark);
  border-color: var(--em-dark);
  box-shadow: 0 2px 6px rgba(50,60,52,.2);
}
.em-checkbox-label input[type="checkbox"]:checked + .em-checkbox-tick::after{
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 6px;
  height: 11px;
  border: solid var(--em-gold);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}
.em-checkbox-label > span:last-child{
  padding-top: 1px;
}

/* ---- Right-side cart ---- */
.em-booking-cart{
  background: var(--em-cream-1);
  border-top: 1px solid var(--em-border);
  padding: 20px 24px 24px;
  order: 2;
}
.em-cart-sticky{ position: relative; }
.em-booking-cart h4{
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--em-dark);
  margin: 0 0 12px;
}
.em-cart-day-summary{
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--em-border);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--em-dark);
  margin: 0 0 12px;
}
.em-cart-day-summary svg{ color: var(--em-olive); flex-shrink: 0; }
.em-cart-empty p{
  font-size: 12.5px;
  line-height: 180%;
  color: var(--em-muted);
  margin: 0;
  padding: 0;
}
.em-cart-items{
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}
.em-cart-items li{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed #e3ddcd;
  font-size: 13px;
}
.em-cart-items li:last-child{ border-bottom: 0; }
.em-cart-li-name{ color: var(--em-dark); flex: 1; }
.em-cart-li-sub{ display: block; color: var(--em-muted); font-size: 11px; padding: 2px 0 0; }
.em-cart-li-price{ font-weight: 600; color: var(--em-dark); font-family: 'Poppins', sans-serif; white-space: nowrap; }
.em-cart-li-price .was{ color: var(--em-muted); text-decoration: line-through; font-weight: 400; font-size: 11px; margin-right: 4px; }
.em-cart-discount-note{
  display: flex;
  align-items: center;
  gap: 6px;
  background: #e8f2ea;
  border: 1px solid #c3e0cc;
  color: #1e6f3a;
  font-size: 11.5px;
  font-weight: 500;
  padding: 7px 10px;
  border-radius: 6px;
  margin: 0 0 12px;
}
.em-cart-total{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-top: 2px solid var(--em-border);
  margin: 6px 0 0;
  font-size: 15px;
}
.em-cart-total strong{
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--em-dark);
}
.em-book-btn{
  width: 100%;
  margin: 8px 0 0;
  font-size: 15px;
  padding: 14px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.em-book-btn:disabled{ opacity: .5; cursor: not-allowed; }
.em-book-btn-spinner{ display: inline-flex; }
.em-cart-note{
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--em-muted);
  margin: 10px 0 0;
  justify-content: center;
}
.em-cart-note svg{ color: var(--em-olive); }

/* ---- Booking status / errors ---- */
.em-booking-status{
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 13px;
  margin: 16px 0 0;
}
.em-booking-status.is-error{
  background: #fdf0ef;
  border: 1px solid #f5c6cb;
  color: #721c24;
}
.em-booking-status.is-info{
  background: #e8f1f6;
  border: 1px solid #bcd3e2;
  color: #234;
}

/* ---- Booking modal — responsive ---- */
@media screen and (min-width: 768px){
  .em-booking-modal .em-modal-dialog{ max-width: 960px; }
  .em-booking-layout{
    flex-direction: row;
    min-height: 560px;
  }
  .em-booking-main{
    flex: 1 1 60%;
    padding: 36px 36px 24px;
    order: 1;
    overflow-y: auto;
    max-height: 85vh;
  }
  .em-booking-cart{
    flex: 0 0 320px;
    max-width: 320px;
    border-top: 0;
    border-left: 1px solid var(--em-border);
    padding: 36px 24px;
    order: 2;
  }
  .em-cart-sticky{
    position: sticky;
    top: 36px;
  }
}

/* On mobile, the cart sits at the bottom but bigger controls */
@media screen and (max-width: 767.98px){
  .em-modal{ padding: 0; align-items: stretch; }
  .em-booking-modal .em-modal-dialog{
    border-radius: 0;
    min-height: 100vh;
    max-width: 100%;
  }
  .em-day-picker{ gap: 10px; }
  .em-day-num{ font-size: 32px; }
  .em-booking-cart{
    position: sticky;
    bottom: 0;
    z-index: 2;
    box-shadow: 0 -6px 24px rgba(0,0,0,.06);
  }
  .em-cart-empty p{ text-align: center; font-size: 12px; }
}

/* =========================================================
   Success page
   ========================================================= */

.em-success-section{ padding: 40px 0 60px; }
.em-success-box{
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--em-border);
  border-radius: var(--em-radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.04);
}
.em-success-icon{ display: flex; justify-content: center; padding: 0 0 12px; }
.em-success-icon svg{ display: block; }
.em-success-box h1{
  font-size: 28px;
  margin: 8px 0 0;
  text-align: center;
}
.em-success-box h1 span{ color: var(--em-olive); }
.em-success-lead{
  font-size: 14px;
  line-height: 180%;
  color: var(--em-ink-soft);
  padding: 10px 0 0;
  margin: 0;
}
.em-success-ref{
  display: inline-block;
  background: var(--em-cream-1);
  border: 1px solid var(--em-border);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 12px;
  color: var(--em-ink-soft);
  margin: 14px 0 0;
  font-family: 'Poppins', sans-serif;
  letter-spacing: .5px;
}
.em-success-waitlist{
  background: #fdf4e5;
  border: 1px solid #e8d9b2;
  color: #7a5a12;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 12.5px;
  line-height: 170%;
  margin: 16px 0 0;
  text-align: left;
}
.em-success-summary{
  margin: 20px 0 0;
  text-align: left;
  background: var(--em-cream-2);
  border: 1px solid var(--em-border);
  border-radius: 12px;
  padding: 16px 18px;
}
.em-success-row{
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  font-size: 13px;
  border-bottom: 1px dashed #e3ddcd;
}
.em-success-row:last-child{ border-bottom: 0; }
.em-success-row span{ color: var(--em-ink-soft); }
.em-success-row strong{ color: var(--em-dark); text-align: right; }
.em-success-row-services{ flex-direction: column; align-items: stretch; gap: 6px; }
.em-success-row-services > span{ font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; color: var(--em-muted); padding: 0 0 4px; }
.em-success-li{ display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; font-size: 13px; }
.em-success-li em{ color: var(--em-muted); font-style: normal; font-size: 11px; }
.em-success-row-total{ padding-top: 10px; border-top: 2px solid var(--em-border); border-bottom: 0; margin-top: 4px; }
.em-success-row-total strong{ font-family: 'Playfair Display', serif; font-size: 20px; }

.em-success-box h3{
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  margin: 24px 0 10px;
  color: var(--em-dark);
  text-align: left;
}
.em-success-next{
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}
.em-success-next li{
  font-size: 13px;
  line-height: 180%;
  color: var(--em-ink-soft);
  padding: 5px 0 5px 22px;
  position: relative;
}
.em-success-next li::before{
  content: "";
  position: absolute;
  left: 2px;
  top: 12px;
  width: 6px;
  height: 10px;
  border-right: 2px solid var(--em-olive);
  border-bottom: 2px solid var(--em-olive);
  transform: rotate(45deg);
}
.em-success-cta{ padding: 24px 0 0; }
.em-success-contact{
  font-size: 12px;
  color: var(--em-muted);
  padding: 18px 0 0;
  margin: 0;
}
.em-success-contact a{ color: var(--em-olive); text-decoration: none; border-bottom: 1px solid transparent; }
.em-success-contact a:hover{ border-bottom-color: var(--em-olive); }
.em-success-icon-warn svg{ filter: none; }

@media screen and (min-width: 768px){
  .em-success-section{ padding: 60px 0 100px; }
  .em-success-box{ padding: 48px 40px; }
  .em-success-box h1{ font-size: 36px; }
  .em-success-lead{ font-size: 15px; }
}
