/* ============================================================
   MAIN EVENT WEDDINGS — CHATBOT
   Version: 7.0  |  Charcoal / Gold redesign
   Built on v4.6 structure — proven stable on maineventweddings.com

   ⚠️  TWO RULES MUST NEVER BE REMOVED:
       1. padding-top: calc(34px + env(safe-area-inset-top))  on .chat-header
       2. top: calc(14px + env(safe-area-inset-top))          on .chatbot-close/.chatbot-back
   These compensate for the iOS bottom-sheet container extending
   behind the browser chrome / notch.  Removing them causes the
   header title to be clipped on all notched iPhones.
   ============================================================ */

/* ── Brand tokens ── */
:root {
  --cb-gold:         #C4973A;
  --cb-gold-light:   #D9AE5C;
  --cb-gold-pale:    #F5EDD4;
  --cb-charcoal:     #2A2318;
  --cb-charcoal-2:   #3D3226;
  --cb-cream:        #FDFCF8;
  --cb-cream-border: #EDE8DC;
  --cb-text:         #2A2318;
  --cb-text-muted:   #7A6F63;
  --cb-white:        #FFFFFF;
  --cb-shadow:       0 8px 32px rgba(42,35,24,0.18);
}

/* ── Scroll lock when modal is open ── */
html.chatbot-open,
body.chatbot-open {
  overflow: hidden !important;
  height: 100% !important;
}

/* ── Scoping: prevent site.css from leaking into the chatbot ──
   Sets a clean baseline for font/box-model inside the modal. */
#chatbotModal {
  font-size: 16px;
  line-height: normal;
  box-sizing: border-box;
}
#chatbotModal * {
  box-sizing: border-box;
}

/* ============================================================
   FLOATING BUTTON — slim charcoal pill
   ============================================================ */
.chatbot-float-button {
  position: fixed;
  bottom: 28px;
  right: 28px;
  height: 50px;
  padding: 0 22px 0 16px;
  background: var(--cb-charcoal);
  border: none;
  border-radius: 25px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--cb-white);
  z-index: 1000;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  box-shadow: 0 4px 18px rgba(42,35,24,0.32);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.chatbot-float-button:hover {
  background: var(--cb-charcoal-2);
  box-shadow: 0 6px 24px rgba(42,35,24,0.40);
  transform: translateY(-2px);
}

.chatbot-float-button:active { transform: translateY(0); }

.chatbot-float-button .icon {
  width: 22px;
  height: 22px;
  color: var(--cb-gold);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.chatbot-float-button .icon svg {
  width: 100%;
  height: 100%;
}

.chatbot-float-button .text {
  position: relative;
  top: 0.5px;
  z-index: 1;
}

/* ============================================================
   MODAL OVERLAY
   ============================================================ */
.chatbot-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Override site.css rules that cap the modal height and make it scrollable.
     site.css applies max-height: calc(var(--vh) - 24px) and overflow: auto to
     #chatbotModal — when --vh is set, this shrinks the modal and causes the
     container inside to overflow upward with its header hidden above the viewport. */
  max-height: none !important;
  overflow: hidden !important;
  background: rgba(42,35,24,0.45);
  z-index: 2000;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  justify-content: center;
  align-items: center;
}

.chatbot-modal.active {
  display: flex;
  animation: cbFadeIn 0.25s ease;
}

@keyframes cbFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ============================================================
   CONTAINER — desktop card
   ============================================================ */
.chatbot-container {
  background: var(--cb-cream);
  border-radius: 20px;
  width: 90%;
  max-width: 640px;
  height: min(88vh, 800px);
  max-height: 900px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  animation: cbSlideUp 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  box-shadow: var(--cb-shadow);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

@keyframes cbSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0);    }
}

/* ============================================================
   MOBILE — iOS bottom sheet
   ============================================================ */
@media (max-width: 768px) {
  .chatbot-modal {
    align-items: flex-end !important;
    background: rgba(42,35,24,0.50) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    padding: 0 !important;
  }

  .chatbot-container {
    width: 100% !important;
    max-width: 100% !important;
    /* --vh set by JS (window.innerHeight) = actual visible pixel height */
    height: calc(var(--vh, 100vh) * 0.92) !important;
    max-height: calc(var(--vh, 100vh) * 0.92) !important;
    border-radius: 24px 24px 0 0 !important;
    box-shadow: 0 -8px 40px rgba(42,35,24,0.22) !important;
    animation: cbSheetUp 0.42s cubic-bezier(0.22, 0.61, 0.36, 1) !important;
    font-size: 17px !important;
  }

  /* Drag handle */
  .chatbot-container::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 4px;
    background: rgba(255,255,255,0.30);
    border-radius: 2px;
    z-index: 12;
  }

  @keyframes cbSheetUp {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
  }
}

/* ============================================================
   CLOSE & BACK BUTTONS
   ⚠️  env(safe-area-inset-top) MUST stay here — see file header
   ============================================================ */
.chatbot-close,
.chatbot-back {
  position: absolute;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--cb-white);
  cursor: pointer;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: background 0.2s;
  /* ⚠️ DO NOT REMOVE env(safe-area-inset-top) */
  top: calc(14px + env(safe-area-inset-top));
}

.chatbot-close { right: 14px; }
.chatbot-back  {
  left: 14px;
  display: flex;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}

.chatbot-close:hover,
.chatbot-back:hover {
  background: rgba(255,255,255,0.25);
}

.chatbot-modal.show-back .chatbot-back {
  opacity: 1;
  pointer-events: auto;
}

/* ============================================================
   HEADER — solid charcoal bar
   ⚠️  env(safe-area-inset-top) MUST stay here — see file header
   ============================================================ */
.chat-header {
  background: var(--cb-charcoal);
  /* 34px base + env(safe-area-inset-top) — exactly matches v4.6 v9 patch which is proven to work */
  padding: calc(34px + env(safe-area-inset-top)) 28px 18px !important;
  text-align: center;
  position: relative;
  flex-shrink: 0;
  border-bottom: 2px solid var(--cb-gold);
  /* overflow:hidden mirrors v4.6 v9 patch — required for correct iOS rendering */
  overflow: hidden;
}

/* site.css forces: :where([class*="chatbot"]) h1 { font-size: 2rem !important }
   :where() = 0 specificity. #chatbotModal gives us ID specificity, so our !important wins.
   position:relative + z-index:1 mirrors v4.6 v9 patch exactly. */
#chatbotModal .chat-header h1 {
  position: relative;
  z-index: 1;
  margin: 0 0 6px !important;
  padding: 0 !important;
  font-size: 1.35rem !important;
  line-height: 1.15 !important;
  color: var(--cb-white) !important;
  font-weight: 600 !important;
}

#chatbotModal .chat-header p {
  position: relative;
  z-index: 1;
  margin: 0 !important;
  font-size: 0.88rem !important;
  line-height: 1.35 !important;
  color: rgba(255,255,255,0.65) !important;
}

/* ============================================================
   MESSAGES / SCROLL AREA
   ============================================================ */
.chat-messages {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  /* !important beats site.css: body.page-index .chatbot-modal * { padding: revert } */
  padding: 20px 22px 24px !important;
  display: flex;
  flex-direction: column;
  gap: 16px !important;
  background: var(--cb-cream);
}

.message-content {
  line-height: 1.6;
  font-size: 1rem;
}

/* ============================================================
   QUICK ACTIONS — 2×2 iOS home-screen grid
   ============================================================ */
.quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0 2px;
}

.quick-action-card {
  background: var(--cb-white);
  border: 1px solid var(--cb-cream-border);
  border-radius: 16px;
  padding: 18px 16px 16px;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.15s, border-color 0.2s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  box-shadow: 0 2px 8px rgba(42,35,24,0.06);
}

@media (hover: hover) {
  .quick-action-card:hover {
    box-shadow: 0 6px 22px rgba(42,35,24,0.12);
    border-color: var(--cb-gold);
    transform: translateY(-2px);
  }
}

.quick-action-card:active { transform: translateY(0); }

.quick-action-icon {
  width: 44px;
  height: 44px;
  background: var(--cb-gold-pale);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cb-gold);
  flex-shrink: 0;
}

.quick-action-content { width: 100%; }

.quick-action-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--cb-charcoal);
  margin-bottom: 3px;
  line-height: 1.2;
}

.quick-action-subtitle {
  font-size: 0.8rem;
  color: var(--cb-text-muted);
  line-height: 1.35;
}

/* ============================================================
   FORM SECTIONS (Availability, Pricing, Contact, FAQ)
   ============================================================ */
.availability-checker,
.pricing-checker,
.contact-checker,
.faq-checker {
  /* !important beats site.css: body.page-index .chatbot-modal * { padding: revert } */
  padding: 4px 20px 8px !important;
}

.availability-checker h3,
.pricing-checker h3,
.contact-checker h3,
.faq-checker h3 {
  font-size: 1.0625rem !important;
  font-weight: 700 !important;
  color: var(--cb-charcoal) !important;
  margin: 0 0 16px !important;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  line-height: 1.2 !important;
}

.services-section,
.date-section {
  margin: 16px 0;
}

.services-section h4,
.date-section h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cb-text-muted);
  margin: 0 0 10px;
}

/* ── Service chip grid ── */
.service-checkboxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.service-checkbox:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

/* Hide real checkbox */
.service-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* Chip card */
.service-checkbox {
  background: var(--cb-white);
  border: 1px solid var(--cb-cream-border);
  border-radius: 10px;
  /* !important beats body.page-index .chatbot-modal * { padding: revert; margin: revert } */
  padding: 12px 14px !important;
  margin: 0 !important;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
  user-select: none;
}

/* hover: hover = only real pointer devices, not touch — prevents sticky-tap gold on mobile */
@media (hover: hover) {
  .service-checkbox:hover { border-color: var(--cb-gold); }
}

.service-checkbox:has(input:checked) {
  background: var(--cb-gold-pale);
  border-color: var(--cb-gold);
  box-shadow: 0 0 0 1px var(--cb-gold);
}

.service-icon {
  color: var(--cb-gold);
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.service-checkbox label {
  font-size: 15px !important;   /* px not rem — immune to root font-size */
  font-weight: 600;
  color: var(--cb-charcoal);
  cursor: pointer;
  line-height: 1.2;
  margin: 0 !important;
  padding: 0 !important;
}

/* ── Date dropdowns ── */
.date-dropdowns,
.date-flex {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.date-dropdown {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.date-dropdown label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cb-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.date-dropdown select {
  width: 100%;
  /* !important beats body.page-index .chatbot-modal * { padding: revert; margin: revert } */
  padding: 12px 12px !important;
  margin: 0 !important;
  font-size: 15px !important;   /* px not rem — immune to root font-size */
  font-family: inherit;
  border: 1px solid var(--cb-cream-border);
  border-radius: 8px;
  background: var(--cb-white);
  color: var(--cb-text);
  appearance: auto;
  transition: border-color 0.18s;
  min-height: 44px !important;
}

.date-dropdown select:focus {
  outline: none;
  border-color: var(--cb-gold);
  box-shadow: 0 0 0 2px rgba(196,151,58,0.15);
}

/* ============================================================
   BUTTONS — stacked full-width column
   ============================================================ */
.checker-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px !important;
  margin-top: 24px !important;
}

.checker-btn {
  width: 100%;
  padding: 16px 20px !important;
  font-size: 1.1rem !important;
  font-weight: 600;
  font-family: inherit;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: background 0.18s, transform 0.1s, opacity 0.18s;
  text-align: center;
}

.checker-btn:active { transform: scale(0.98); }

.checker-btn.primary {
  background: var(--cb-charcoal);
  color: var(--cb-white);
  font-size: 1.1rem;
  box-shadow: 0 4px 14px rgba(42,35,24,0.22);
}

@media (hover: hover) {
  .checker-btn.primary:hover { background: var(--cb-charcoal-2); }
}

.checker-btn.primary:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.checker-btn.secondary {
  /* Solid background so Cancel is clearly visible as a button, not just text */
  background: #f0ece4;
  color: var(--cb-text);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 16px 20px;
  border: none;
}

@media (hover: hover) {
  .checker-btn.secondary:hover { background: #e5e0d6; }
}

/* Force button sizing inside the modal — prevents site.css from shrinking them */
#chatbotModal .checker-btn {
  width: 100%;
  padding: 16px 20px !important;
  font-size: 1.1rem !important;
  line-height: 1.2 !important;
}

#chatbotModal .checker-btn.secondary {
  font-size: 1.1rem !important;
  padding: 16px 20px !important;
}

/* Post-action buttons (Hold My Date / Contact Us) — ID specificity beats revert */
#chatbotModal .post-action-btn {
  padding: 16px 20px !important;
  font-size: 17px !important;
  line-height: 1.2 !important;
  min-height: 54px !important;
}

/* Service chips — ID specificity beats body.page-index revert */
#chatbotModal .service-checkbox {
  padding: 12px 14px !important;
  margin: 0 !important;
}

#chatbotModal .service-checkbox label {
  font-size: 15px !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Date / pricing dropdowns — ID specificity beats body.page-index revert */
#chatbotModal .date-dropdown select {
  padding: 12px !important;
  font-size: 15px !important;
  min-height: 44px !important;
  margin: 0 !important;
}

#chatbotModal .date-dropdown label {
  font-size: 13px !important;
  margin: 0 0 4px !important;
  padding: 0 !important;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 4px;
}

.contact-span-2 { grid-column: 1 / -1; }

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cb-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  font-size: 0.9375rem;
  font-family: inherit;
  border: 1px solid var(--cb-cream-border);
  border-radius: 8px;
  background: var(--cb-white);
  color: var(--cb-text);
  transition: border-color 0.18s;
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--cb-gold);
  box-shadow: 0 0 0 2px rgba(196,151,58,0.12);
}

.contact-field input    { height: 42px; }
.contact-field textarea { min-height: 80px; resize: vertical; }

.contact-hint {
  font-size: 0.8rem;
  color: var(--cb-text-muted);
  line-height: 1.3;
}

.contact-checker .services-section {
  /* Hidden from client — services are pre-filled silently from their earlier selection
     and still submitted with the form. The checkboxes remain in the DOM. */
  display: none !important;
}

/* Honeypot */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ============================================================
   AVAILABILITY RESULT BANNER — clean modern card
   ============================================================ */
.availability-result-banner {
  margin: 8px 0;
  padding: 24px 26px;
  background: var(--cb-white);
  border-radius: 14px;
  border: 1px solid var(--cb-cream-border);
  text-align: left;
  box-shadow: 0 2px 12px rgba(42,35,24,0.08);
  animation: cbPop 0.25s ease-out both;
}

.availability-result-title {
  font-size: 1.15rem !important;
  font-weight: 800;
  color: var(--cb-gold) !important;
  line-height: 1.2;
  margin-bottom: 4px !important;
  padding: 0 !important;
}

.availability-result-body {
  font-size: 1rem;
  font-weight: 700;
  color: var(--cb-gold) !important;
  line-height: 1.5;
}

/* Partial availability */
.availability-result-banner.partial {
  background: #FFFDF7;
}

.availability-result-banner.partial .availability-result-title {
  color: #B8860B !important;
}

/* Unavailable */
.availability-result-banner.unavailable {
  background: var(--cb-cream);
}

.availability-result-banner.unavailable .availability-result-title {
  color: #5A5550 !important;
}

.availability-result-banner.unavailable .availability-result-body {
  color: var(--cb-charcoal) !important;
}

@keyframes cbPop {
  from { transform: scale(0.97); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

/* ============================================================
   POST-AVAILABILITY ACTIONS
   ============================================================ */
.post-actions { margin-top: 8px; }

.post-actions-card {
  padding: 24px;
  background: var(--cb-white);
  border: 1px solid var(--cb-cream-border);
  border-radius: 12px;
}

.post-actions-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--cb-charcoal);
  margin-bottom: 10px;
}

.post-actions-sub {
  font-size: 0.9rem;
  color: var(--cb-text-muted);
  margin-bottom: 28px;
}

.post-actions-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.post-action-btn {
  width: 100%;
  padding: 16px 20px !important;
  font-size: 17px !important;  /* px not rem — immune to root font-size */
  font-weight: 600;
  font-family: inherit;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  line-height: 1.2 !important;
  min-height: 54px !important;
  transition: background 0.18s, transform 0.1s;
  text-align: center;
}

.post-action-btn:active { transform: scale(0.98); }

.post-action-btn.primary {
  background: var(--cb-charcoal);
  color: var(--cb-white);
  box-shadow: 0 4px 14px rgba(42,35,24,0.22);
}

@media (hover: hover) {
  .post-action-btn.primary:hover { background: var(--cb-charcoal-2); }
}

.post-action-btn.secondary {
  background: #ECEAE5;
  color: var(--cb-charcoal);
  border: 1px solid var(--cb-cream-border);
}

@media (hover: hover) {
  .post-action-btn.secondary:hover { background: var(--cb-cream-border); }
}

/* ============================================================
   FAQ SCREEN
   ============================================================ */
.faq-intro {
  font-size: 0.9rem;
  color: var(--cb-text-muted);
  margin: 0 0 14px;
  line-height: 1.4;
}

.faq-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.faq-pill {
  width: 100%;
  text-align: left;
  padding: 13px 16px;
  background: var(--cb-white);
  border: 1px solid var(--cb-cream-border);
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--cb-charcoal);
  transition: border-color 0.18s, background 0.18s, transform 0.12s;
}

@media (hover: hover) {
  .faq-pill:hover {
    border-color: var(--cb-gold);
    background: var(--cb-gold-pale);
    transform: translateX(2px);
  }
}

.faq-hint {
  font-size: 0.85rem;
  color: var(--cb-text-muted);
  margin-bottom: 14px;
  line-height: 1.4;
}

/* ============================================================
   TEXT INPUT (FAQ mode only)
   ============================================================ */
.chat-input-container {
  display: none;
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  background: var(--cb-white);
  border-top: 1px solid var(--cb-cream-border);
  flex-shrink: 0;
}

.chatbot-modal.faq-mode .chat-input-container { display: block; }

.input-wrapper {
  display: flex;
  background: var(--cb-cream);
  border: 1px solid var(--cb-cream-border);
  border-radius: 24px;
  overflow: hidden;
  transition: border-color 0.18s;
}

.input-wrapper:focus-within { border-color: var(--cb-gold); }

.chat-input {
  flex: 1;
  padding: 12px 16px;
  font-size: 0.9375rem;
  font-family: inherit;
  border: none;
  background: transparent;
  color: var(--cb-text);
}

.chat-input:focus { outline: none; }
.chat-input::placeholder { color: var(--cb-text-muted); }

.send-btn {
  width: 44px;
  background: var(--cb-gold);
  color: var(--cb-white);
  border: none;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.18s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.send-btn:hover { background: var(--cb-gold-light); }

/* ============================================================
   TYPING INDICATOR
   ============================================================ */
.typing-indicator { padding: 8px 0; }

.typing-content {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cb-white);
  border: 1px solid var(--cb-cream-border);
  border-radius: 10px;
  padding: 10px 14px;
}

.typing-text {
  font-size: 0.875rem;
  color: var(--cb-text-muted);
}

/* ============================================================
   ANIMATED TRANSITIONS — JS hooks (keep class names intact)
   ============================================================ */
.quick-actions {
  transition: opacity 0.28s ease, transform 0.28s ease, max-height 0.28s ease;
  opacity: 1;
  transform: translateY(0);
  max-height: 1200px;
  overflow: hidden;
  will-change: opacity, transform;
}

.quick-actions.hidden {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  max-height: 0;
  margin: 0 !important;
  padding: 0 !important;
}

.quick-actions.is-gone { display: none !important; }

.availability-checker,
.pricing-checker,
.contact-checker,
.faq-checker {
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  transform: translateY(16px);
  display: none;
  will-change: opacity, transform;
}

.availability-checker.show,
.pricing-checker.show,
.contact-checker.show,
.faq-checker.show {
  display: block !important;
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE TWEAKS
   ============================================================ */
@media (max-width: 640px) {
  .contact-grid          { grid-template-columns: 1fr; }
  .contact-span-2        { grid-column: auto; }
  .date-dropdowns,
  .date-flex             { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .chat-messages         { padding: 16px 16px 20px; }
  .quick-action-card     { padding: 14px 12px 12px; }
}
