:root {
  --ink: #0d1b2a;
  --muted: #6b7280;
  --card: #ffffff;
  --border: #cdcdcd;
  --div: #e5e7eb;

  --cta: #3cb874;
  --accent: #3cb874;
  --hover: #f9fafb;
  --dim: rgba(13, 27, 42, 0.45);

  --disabled: rgba(13, 27, 42, 0.28);
  --outline: #cdcdcd;
}

.bk-lock {
  overflow: hidden !important;
}

.bk-lock body {
  overflow: hidden !important;
}

/* =========================================================
   BOOKING CONTAINER - EXACT FIGMA MATCH
   ========================================================= */
.bk {
  position: relative;
  width: 100%;
  max-width: 920px;
  margin: 0 auto 34px auto;
  z-index: 50;
}

/* When popup is open, elevate .bk above all hero elements and remove any transforms */
.bk.open,
.bk[data-aos].open,
[data-aos].bk.open {
  z-index: 999999 !important;
  transform: none !important;
  -webkit-transform: none !important;
}

/* Outer White Card Container with 8px radius, border #cdcdcd & shadow */
.bk-bar {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.15fr) minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 8px;
  padding: 6px;
  background: #ffffff;
  border: 1px solid #cdcdcd;
  border-radius: 8px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
  font-family: var(--font-primary, "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  position: relative;
}

/* Hide old pill divider, highlights & unused elements */
.bk-div,
.bk-div--m,
.bk-hl,
.bk-hl-in,
.bk-hl-out,
.bk-plate {
  display: none !important;
}

/* =========================================================
   BOOKING SLOTS (INPUT BOXES - COMPACT & BALANCED)
   ========================================================= */
.bk-slot {
  position: relative;
  height: 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  background: #ffffff;
  border: 1px solid #cdcdcd;
  border-radius: 4px;
  padding: 0 40px 0 16px;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  box-sizing: border-box;
  width: 100%;
  z-index: 2;
}

.bk-slot:hover {
  border-color: #3cb874;
  background-color: #fbfdfc;
}

.bk-slot.active {
  border-color: #3cb874;
  box-shadow: 0 0 0 2px rgba(60, 184, 116, 0.15);
  background-color: #ffffff;
}

/* Calendar Icon on Right Side matching Figma design */
.bk-slot::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 14px;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%239aa3ae' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3Ccircle cx='15.5' cy='15.5' r='3.5' fill='%23ffffff' stroke='%239aa3ae'%3E%3C/circle%3E%3Cpolyline points='15.5 13.5 15.5 15.5 17 15.5'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

/* Slot Typography */
.bk-lbl {
  font-family: var(--font-primary, inherit);
  font-size: 14px;
  font-weight: 500;
  color: #0d1b2a;
  line-height: 1.2;
  transition: all 0.15s ease;
  pointer-events: none;
}

/* Once date is selected, shrink label and show value */
.bk-slot.has-val .bk-lbl {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6b7280;
  margin-bottom: 2px;
}

.bk-val {
  font-family: var(--font-primary, inherit);
  font-size: 13px;
  font-weight: 500;
  color: #0d1b2a;
  line-height: 1.2;
  pointer-events: none;
}

.bk-val:empty {
  display: none;
}

/* =========================================================
   COUPON / DISCOUNT CODE SLOT
   ========================================================= */
.bk-slot--coupon {
  position: relative;
  height: 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  background: #ffffff;
  border: 1px solid #cdcdcd;
  border-radius: 4px;
  padding: 5px 12px;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  z-index: 2;
  cursor: text;
}

.bk-slot--coupon::after {
  display: none !important;
}

.bk-slot--coupon:hover {
  border-color: #3cb874;
}

.bk-slot--coupon:focus-within {
  border-color: #3cb874;
  box-shadow: 0 0 0 2px rgba(60, 184, 116, 0.15);
  background-color: #ffffff;
}

.bk-slot--coupon.coupon--valid {
  border-color: #3cb874;
  background-color: #fbfdfc;
}

.bk-slot--coupon.coupon--invalid {
  border-color: #e53e3e;
  background-color: #fff9f9;
}

.bk-coupon-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  line-height: 1;
  margin-bottom: 2px;
}

.bk-coupon-lbl {
  font-family: var(--font-primary, inherit);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6b7280;
  margin: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.bk-coupon-opt {
  font-size: 9px;
  font-weight: 400;
  color: #9ca3af;
  text-transform: none;
  letter-spacing: normal;
  margin-left: 3px;
}

.bk-coupon-status {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  padding: 2px 5px;
  border-radius: 3px;
  transition: all 0.2s ease;
}

.bk-coupon-status.is-valid {
  color: #2ea363;
  background-color: rgba(60, 184, 116, 0.14);
}

.bk-coupon-status.is-invalid {
  color: #e53e3e;
  background-color: rgba(229, 62, 62, 0.1);
}

.bk-coupon-status.is-empty {
  display: none;
}

.bk-coupon-status-ico {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
}

.bk-coupon-field {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
}

.bk-coupon-input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  padding: 0;
  margin: 0;
  font-family: var(--font-primary, inherit);
  font-size: 13.5px;
  font-weight: 600;
  color: #0d1b2a;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.2;
}

.bk-coupon-input::placeholder {
  font-size: 12px;
  font-weight: 400;
  color: #9ca3af;
  text-transform: none;
  letter-spacing: normal;
}

.bk-coupon-clear {
  border: none;
  background: none;
  color: #9ca3af;
  padding: 2px;
  margin-left: 4px;
  cursor: pointer;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: color 0.15s ease, background 0.15s ease;
  flex-shrink: 0;
}

.bk-coupon-clear:hover {
  color: #111827;
  background: #f3f4f6;
}

/* =========================================================
   BOOKING CTA BUTTON (BOOK NOW / SEARCH ACTION)
   ========================================================= */
.bk-cta {
  height: 52px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 26px;
  background-color: var(--color-primary, #3cb874);
  color: #ffffff;
  border: 1px solid var(--color-primary, #3cb874);
  border-radius: 4px;
  font-family: var(--font-primary, "Poppins", sans-serif);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.2px;
  cursor: pointer;
  outline: none;
  white-space: nowrap;
  box-sizing: border-box;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(60, 184, 116, 0.22);
}

.bk-cta:hover {
  background-color: var(--color-primary-hover, #34a366);
  border-color: var(--color-primary-hover, #34a366);
  box-shadow: 0 4px 14px rgba(60, 184, 116, 0.32);
  transform: translateY(-1px);
}

.bk-cta:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(60, 184, 116, 0.2);
}

.bk-cta:focus-visible {
  outline: 2px solid #3cb874;
  outline-offset: 2px;
}

.bk-ctaIco {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  fill: currentColor;
  display: inline-block;
  vertical-align: middle;
}

.bk-cta-text {
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1;
  display: inline-block;
}

/* =========================================================
   POPUP CALENDAR & TIME PICKER
   ========================================================= */
.bk-pop {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: calc(100% + 12px);
  width: min(720px, 100%);
  display: none;
  z-index: 999999 !important;
}

.bk-pop.on {
  display: block;
}

.bk-pan {
  position: relative;
  z-index: 1000000 !important;
  width: 100%;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  outline: none;
  font-family: var(--font-primary, "Poppins", sans-serif);
}

.bk-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 12px 14px 0 16px;
}

.bk-popTitle {
  display: none;
  font-size: 16px;
  font-weight: 700;
  color: #0d1b2a;
}

.bk-x {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.15s ease;
}

.bk-x:hover {
  background: #f1f5f9;
}

.bk-x svg {
  width: 16px;
  height: 16px;
  fill: #374151;
}

.bk-body {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 18px;
  padding: 8px 20px 18px;
}

.bk-cal {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 14px;
  background: #fafafa;
}

.bk-calTop {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  margin-bottom: 10px;
}

.bk-month {
  text-align: center;
  font-weight: 600;
  font-size: 15px;
  color: #0d1b2a;
}

.bk-ic {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.15s ease;
}

.bk-ic:hover {
  background: #f1f5f9;
}

.bk-ic svg {
  width: 16px;
  height: 16px;
  fill: #374151;
}

.bk-dow {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  font-size: 12px;
  font-weight: 600;
  color: #9ca3af;
  margin: 10px 0 8px;
  text-transform: uppercase;
}

.bk-dow>div {
  text-align: center;
}

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

.bk-day {
  height: 38px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  font-size: 13.5px;
  color: #1f2937;
  font-weight: 500;
  transition: all 0.15s ease;
}

.bk-day:hover:not(.dis):not(.mute) {
  background: #e5e7eb;
}

.bk-day.mute {
  color: rgba(17, 17, 17, 0.25);
  cursor: default;
}

.bk-day.sel {
  background: #3cb874 !important;
  color: #ffffff !important;
  border-color: #3cb874 !important;
  font-weight: 600;
}

.bk-day.dis {
  color: var(--disabled);
  cursor: not-allowed;
}

.bk-day.dis:hover {
  background: transparent;
}

.bk-time {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fafafa;
}

.bk-timeLbl {
  font-size: 14px;
  font-weight: 600;
  color: #0d1b2a;
}

.bk-timeRow {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.bk-sel {
  height: 42px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  padding: 0 8px;
  font-size: 14px;
  font-weight: 500;
  color: #111827;
  font-family: inherit;
  cursor: pointer;
  outline: none;
}

.bk-sel:focus {
  border-color: #3cb874;
}

.bk-hint {
  font-size: 13px;
  color: #6b7280;
  min-height: 20px;
  line-height: 1.35;
}

.bk-foot {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 0 20px 18px;
}

.bk-btn {
  height: 44px;
  border-radius: 8px;
  padding: 0 20px;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.15s ease;
}

.bk-ghost {
  background: #ffffff;
  color: #374151;
  border: 1px solid #d1d5db;
}

.bk-ghost:hover {
  background: #f3f4f6;
}

.bk-primary {
  background: #3cb874;
  color: #ffffff;
  border: 1px solid #3cb874;
}

.bk-primary:hover {
  background: #329f63;
  border-color: #329f63;
}

/* =========================================================
   RESPONSIVE (BOOKING FORM)
   ========================================================= */
@media (min-width: 601px) {
  .bk-x {
    display: none;
  }
}

@media (max-width: 900px) and (min-width: 681px) {
  .bk-bar {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .bk-slot {
    height: 50px;
    padding: 0 32px 0 12px;
  }

  .bk-slot--coupon {
    height: 50px;
  }

  .bk-cta {
    width: 100%;
    height: 50px;
    font-size: 14px;
    padding: 0 16px;
  }

  .bk-lbl {
    font-size: 13px;
  }
}

@media (max-width: 680px) {
  .bk-bar {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 8px;
  }

  .bk-slot {
    height: 50px;
    padding: 0 38px 0 14px;
  }

  .bk-slot--coupon {
    height: 50px;
    padding: 5px 14px;
  }

  .bk-cta {
    width: 100%;
    height: 50px;
    font-size: 15px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(60, 184, 116, 0.25);
  }

  .bk-pop {
    position: fixed !important;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    transform: none !important;
    width: 100% !important;
    width: 100vw !important;
    height: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: rgba(13, 27, 42, 0.65) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    z-index: 9999999 !important;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 12px 10px !important;
    box-sizing: border-box !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-y !important;
  }

  .bk-pop.on {
    display: flex !important;
  }

  .bk-pan {
    position: relative !important;
    max-width: 375px !important;
    width: 100% !important;
    max-height: calc(100dvh - 24px) !important;
    max-height: calc(100vh - 24px) !important;
    display: flex !important;
    flex-direction: column !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35) !important;
    overflow: hidden !important;
    margin: auto !important;
    touch-action: pan-y !important;
  }

  .bk-popTitle {
    display: block !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #0d1b2a !important;
  }

  .bk-top {
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 16px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    background: #ffffff !important;
  }

  .bk-body {
    flex: 1 1 auto !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-y !important;
    overscroll-behavior: contain !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    padding: 10px 14px 14px !important;
  }

  /* Compact calendar & picker elements on mobile */
  .bk-cal {
    padding: 10px !important;
    border-radius: 12px !important;
  }

  .bk-calTop {
    margin-bottom: 6px !important;
  }

  .bk-month {
    font-size: 14.5px !important;
  }

  .bk-ic {
    width: 30px !important;
    height: 30px !important;
  }

  .bk-ic svg {
    width: 14px !important;
    height: 14px !important;
  }

  .bk-dow {
    margin: 6px 0 6px !important;
    font-size: 11px !important;
  }

  .bk-grid {
    gap: 3px !important;
  }

  .bk-day {
    height: 34px !important;
    font-size: 13px !important;
    border-radius: 6px !important;
  }

  .bk-time {
    padding: 10px !important;
    gap: 8px !important;
    border-radius: 12px !important;
  }

  .bk-timeLbl {
    font-size: 13px !important;
  }

  .bk-sel {
    height: 38px !important;
    font-size: 13.5px !important;
    padding: 0 6px !important;
  }

  .bk-hint {
    font-size: 12px !important;
    min-height: 16px !important;
    line-height: 1.3 !important;
  }

  /* Sticky Footer: Action buttons always pinned and 100% visible */
  .bk-foot {
    flex-shrink: 0 !important;
    position: sticky !important;
    bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 14px 12px !important;
    background: #ffffff !important;
    border-top: 1px solid #f1f5f9 !important;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06) !important;
    z-index: 5 !important;
  }

  .bk-foot .bk-btn {
    flex: 1 !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 10px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
  }
}


.bk-slot--coupon::after {
  display: none;
}