.ajb-booth-booking,
#ajb-booth-booking {
  overflow-x: hidden;
}

.ajb-booth-hero,
.ajb-booth-intro-grid,
.ajb-booth-example,
.ajb-booth-perfect,
.ajb-booth-form-card {
  max-width: 100%;
}

.ajb-booth-hero {
  background: linear-gradient(120deg, var(--ajb-hero-background-start), var(--ajb-hero-background-end));
  color: var(--ajb-hero-text-color);
  font-family: var(--ajb-hero-body-font);
}

.ajb-booth-hero .ajb-booth-kicker {
  color: var(--ajb-hero-kicker-color);
  font-size: var(--ajb-hero-kicker-size);
}

.ajb-booth-hero h1 {
  color: var(--ajb-hero-title-color);
  font-family: var(--ajb-hero-title-font);
  font-size: var(--ajb-hero-title-size);
}

.ajb-booth-hero > p {
  color: var(--ajb-hero-text-color);
  font-size: var(--ajb-hero-body-size);
}

.ajb-booth-hero .ajb-booth-actions .btn-default {
  background: var(--ajb-hero-button-background);
  border-color: var(--ajb-hero-button-background);
  color: var(--ajb-hero-button-text);
  box-shadow: 0 5px 14px rgba(0, 0, 0, .18);
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease, transform .14s ease;
}

.ajb-booth-hero .ajb-booth-actions .btn-default:hover,
.ajb-booth-hero .ajb-booth-actions .btn-default:focus {
  background: #ffd68b;
  border-color: #ffd68b;
  box-shadow: 0 9px 20px rgba(0, 0, 0, .28);
  color: #55301f;
  transform: translateY(-3px) scale(1.02);
}

.ajb-booth-hero .ajb-booth-actions .btn-default:active {
  background: #f0b953;
  border-color: #f0b953;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .22);
  color: #3d2117;
  transform: translateY(1px) scale(.98);
}

.ajb-booth-example .ajb-booth-kicker {
  color: #8a3029;
}

.ajb-booth-intro-grid article > i {
  margin-right: 9px;
  vertical-align: middle;
}

.ajb-booth-intro-grid article > h2 {
  display: inline;
  vertical-align: middle;
}

.ajb-booth-intro-grid article > p {
  margin: 9px 0 0;
}

.ajb-booth-intro-grid {
  gap: 12px;
}

.ajb-booth-intro-grid article {
  padding: 18px;
}

.ajb-booth-intro-grid article > i {
  font-size: 23px;
}

.ajb-booth-intro-grid article > h2 {
  font-size: 19px;
}

.ajb-booth-example {
  align-items: center;
  background: #fff;
  border: 1px solid #eadfd4;
  border-radius: 12px;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  margin: 0 0 28px;
  overflow: hidden;
}

.ajb-booth-example img {
  display: block;
  height: 100%;
  max-height: 430px;
  object-fit: cover;
  width: 100%;
}

.ajb-booth-example > div {
  padding: 28px 32px 28px 0;
}

.ajb-booth-example {
  display: block;
  padding: 28px;
}

.ajb-booth-example > .ajb-booth-example-copy,
.ajb-booth-example > .ajb-booth-photo-grid,
.ajb-booth-example > .ajb-booth-gallery-action {
  padding: 0;
}

.ajb-booth-example-copy {
  margin-bottom: 20px;
}

.ajb-booth-photo-grid {
  align-items: start;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ajb-booth-photo-grid figure {
  align-self: start;
  display: block;
  margin: 0;
  min-width: 0;
}

.ajb-booth-photo-link {
  display: block;
  width: 100%;
}

.ajb-booth-photo-grid .ajb-booth-photo-link img {
  aspect-ratio: 1 / 1 !important;
  display: block;
  height: auto !important;
  object-fit: cover;
  width: 100% !important;
}

.ajb-booth-photo-grid figcaption {
  background: #fff8ed;
  color: #55301f;
  font-size: 15px;
  font-weight: 700;
  padding: 11px 12px;
  text-align: center;
}

.ajb-booth-gallery-action {
  margin-top: 20px;
  text-align: center;
}

.ajb-booth-gallery-action .btn {
  border-color: #8f7668;
  color: #3d2117;
  font-weight: 700;
}

.ajb-booth-gallery-action .btn:hover,
.ajb-booth-gallery-action .btn:focus {
  background: #fff1d4;
  border-color: #55301f;
  color: #2d170f;
}

.ajb-booth-photo-viewer .modal-dialog {
  margin-left: auto;
  margin-right: auto;
}

.ajb-booth-photo-viewer .modal-body {
  background: #1d1714;
  padding: 12px;
}

.ajb-booth-photo-viewer .modal-body img {
  margin: 0 auto;
  max-height: calc(100vh - 150px);
  object-fit: contain;
  width: auto;
}

.ajb-booth-perfect {
  background: linear-gradient(135deg, #fff9ee 0%, #ffedc7 58%, #f8d9a4 100%);
  border: 1px solid #dfa950;
  box-shadow: 0 9px 24px rgba(119, 73, 33, .16);
  overflow: hidden;
  position: relative;
  text-align: center;
}

.ajb-booth-perfect::before {
  background: linear-gradient(90deg, #a83b32, #d99b32, #34735d);
  content: "";
  height: 6px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.ajb-booth-perfect h2 {
  color: #6f2d26;
  padding-top: 5px;
}

.ajb-booth-perfect .ajb-booth-chips {
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: center;
  margin: 13px 0;
}

.ajb-booth-perfect .ajb-booth-chips span {
  background: rgba(255, 255, 255, .9);
  border-color: #d8a75a;
  box-shadow: 0 3px 8px rgba(109, 66, 29, .1);
  border-radius: 5px;
  color: #55301f;
  font-weight: 600;
  line-height: 1.25;
  padding: 6px 9px;
}

.ajb-date-line {
  align-items: center;
  display: flex;
  gap: 12px;
}

.ajb-date-line .form-control {
  flex: 0 1 auto;
}

.ajb-weekday {
  color: #55301f;
  font-weight: 700;
  white-space: nowrap;
}

.ajb-conditional-field {
  margin-top: 12px;
}

.ajb-conditional-field[hidden] {
  display: none !important;
}

.ajb-address-correction {
  align-items: center;
  background: #fff4dc;
  border-left: 4px solid #d99b32;
  border-radius: 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  padding: 9px 11px;
}

.ajb-address-correction[hidden] {
  display: none !important;
}

.ajb-booth-success-page { background: linear-gradient(135deg, #fff9ee, #ffedc7); border: 1px solid #dfa950; border-radius: 14px; box-shadow: 0 12px 30px rgba(85, 48, 31, .12); margin: 28px auto 48px; max-width: 820px; padding: 42px; text-align: center; }
.ajb-booth-success-page .ajb-booth-kicker { color: #8a3029; }
.ajb-booth-success-page h1 { color: #55301f; margin: 10px 0 16px; }
.ajb-booth-success-page > p { font-size: 17px; line-height: 1.65; margin: 0 auto; max-width: 650px; }
.ajb-success-icon { color: #34735d; font-size: 58px; line-height: 1; margin-bottom: 12px; }
.ajb-success-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 28px; }
.ajb-success-actions .btn { white-space: normal; }

@media (min-width: 768px) {
  .ajb-booth-form-card .form-group {
    padding-left: 25px;
    padding-right: 25px;
  }
}

@media (max-width: 767px) {
  .ajb-booth-form-card > header h2 {
    font-size: clamp(15px, 4.8vw, 24px);
    letter-spacing: -0.02em;
    white-space: nowrap;
  }
  .ajb-booth-success-page { margin-top: 16px; padding: 28px 18px; }
  .ajb-success-actions .btn { width: 100%; }
  .ajb-booth-form-card .ajb-event-date input[type="date"] {
    box-sizing: border-box;
    display: block;
    inline-size: 50%;
    max-inline-size: 220px;
    max-width: 220px;
    min-inline-size: 0;
    min-width: 0;
    width: 50%;
  }

  .ajb-booth-form-card .ajb-setup-time {
    box-sizing: border-box;
    clear: both;
    float: none;
    max-width: 100%;
    overflow: hidden;
    width: 100%;
  }

  .ajb-booth-form-card .ajb-setup-time input[type="time"] {
    box-sizing: border-box;
    display: block;
    inline-size: 50%;
    max-inline-size: 220px;
    max-width: 220px;
    min-inline-size: 0;
    min-width: 0;
    width: 50%;
  }

  .ajb-booth-form-card .ajb-selling-time {
    clear: both;
    float: none;
    width: 100%;
  }

  .ajb-booth-form-card .ajb-selling-time input[type="time"] {
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }

  .ajb-booth-hero .ajb-booth-actions .btn-default:hover,
  .ajb-booth-hero .ajb-booth-actions .btn-default:focus {
    transform: translateY(-2px);
  }

  .ajb-booth-hero .ajb-booth-actions .btn-default:active {
    transform: translateY(1px);
  }

  .ajb-booth-example {
    grid-template-columns: 1fr;
  }

  .ajb-booth-example-copy h2 {
    font-size: clamp(14px, 4.4vw, 18px);
    white-space: nowrap;
  }

  .ajb-booth-example > div {
    padding: 0 20px 22px;
  }

  .ajb-booth-example {
    padding: 20px;
  }

  .ajb-booth-example > .ajb-booth-example-copy,
  .ajb-booth-example > .ajb-booth-photo-grid,
  .ajb-booth-example > .ajb-booth-gallery-action {
    padding: 0;
  }

  .ajb-booth-photo-grid {
    gap: 12px;
  }

  .ajb-booth-photo-grid figcaption {
    font-size: 13px;
    padding: 9px 7px;
  }

  .ajb-booth-perfect > p {
    text-align: left;
  }

  .ajb-booth-perfect .ajb-booth-chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .ajb-booth-chips span {
    align-items: center;
    display: flex;
    justify-content: center;
    text-align: center;
  }
}
.ajb-booth-form-card { scroll-margin-top: 150px; }

