/* Boutiquenic – Menu Simulator (front) */

/*  PALETTE
    Every colour resolves in this order:
      1. --bmq-c-*  → set from the plugin settings (inline <style> in <head>)
      2. --wd-*     → the WoodMart theme variable, so the quiz follows the site
                      automatically when the brand colours are switched
      3. hard fallback (current brand direction: cream / blush / ink)          */
.bmq-wrapper {
  --bmq-primary: var(--bmq-c-primary, var(--wd-primary-color, #0e5d6e));
  --bmq-accent: var(--bmq-c-accent, var(--wd-alternative-color, #efccc6));
  --bmq-ink: var(--bmq-c-ink, var(--wd-title-color, #242424));
  --bmq-muted: var(--bmq-c-muted, var(--wd-text-color, #777777));
  --bmq-cream: var(--bmq-c-cream, #f4f0eb);
  --bmq-on-primary: var(--bmq-c-on-primary, #fff);
  --bmq-on-accent: var(--bmq-c-on-accent, #242424);

  --bmq-line: color-mix(in srgb, var(--bmq-ink) 12%, transparent);
  --bmq-soft: color-mix(in srgb, var(--bmq-cream) 60%, #fff);
  --bmq-primary-soft: color-mix(in srgb, var(--bmq-primary) 8%, #fff);
  --bmq-radius: 16px;
  --bmq-shadow: 0 10px 30px color-mix(in srgb, var(--bmq-ink) 8%, transparent);

  direction: rtl;
  text-align: right;
  font-family: inherit;
  color: var(--bmq-ink);
  max-width: 1000px;
  margin: 0 auto;
  padding: 8px;
  box-sizing: border-box;
}

/* graceful fallback for browsers without color-mix */
@supports not (color: color-mix(in srgb, red 50%, blue)) {
  .bmq-wrapper { --bmq-line: #e2ddd6; --bmq-soft: #faf8f5; --bmq-primary-soft: #f0f6f6; --bmq-shadow: 0 10px 30px rgba(36,36,36,.08); }
}

.bmq-wrapper *, .bmq-wrapper *::before, .bmq-wrapper *::after { box-sizing: border-box; }
.bmq-ltr { direction: ltr; display: inline-block; unicode-bidi: isolate; }

/* Baseline icon size. Without this the theme lets a viewBox-only <svg>
   stretch to 100% of its container — which blows the buttons apart. */
.bmq-wrapper svg { width: 18px; height: 18px; flex-shrink: 0; display: inline-block; vertical-align: middle; max-width: 100%; }

/* ── buttons ─────────────────────────────────────────────── */
/* Every rule below is scoped under .bmq-wrapper so the theme's generic
   button styles (which repaint backgrounds white on hover) can't win. */
.bmq-wrapper .bmq-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; border: 2px solid transparent;
  font-size: 16px; font-weight: 700; cursor: pointer; line-height: 1.2;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
  text-decoration: none; font-family: inherit; text-align: center;
  min-height: 46px; box-shadow: none;
}
.bmq-wrapper .bmq-btn svg { width: 18px; height: 18px; flex: 0 0 18px; }
.bmq-wrapper .bmq-btn.bmq-sm { padding: 10px 16px; font-size: 14px; min-height: 40px; }
.bmq-wrapper .bmq-btn.bmq-sm svg { width: 16px; height: 16px; flex: 0 0 16px; }
.bmq-wrapper .bmq-btn.bmq-lg { padding: 15px 32px; font-size: 17px; min-height: 54px; }
.bmq-wrapper .bmq-btn.bmq-lg svg { width: 20px; height: 20px; flex: 0 0 20px; }
.bmq-wrapper .bmq-btn.bmq-block { width: 100%; }

.bmq-wrapper .bmq-btn-primary,
.bmq-wrapper .bmq-btn-primary:link,
.bmq-wrapper .bmq-btn-primary:visited { background-color: var(--bmq-primary); color: var(--bmq-on-primary); border-color: var(--bmq-primary); }
.bmq-wrapper .bmq-btn-primary:hover,
.bmq-wrapper .bmq-btn-primary:focus,
.bmq-wrapper .bmq-btn-primary:active {
  background-color: var(--bmq-primary); color: var(--bmq-on-primary); border-color: var(--bmq-primary);
  filter: brightness(.9); transform: translateY(-1px);
}

.bmq-wrapper .bmq-btn-accent,
.bmq-wrapper .bmq-btn-accent:link,
.bmq-wrapper .bmq-btn-accent:visited { background-color: var(--bmq-accent); color: var(--bmq-on-accent); border-color: var(--bmq-accent); }
.bmq-wrapper .bmq-btn-accent:hover,
.bmq-wrapper .bmq-btn-accent:focus,
.bmq-wrapper .bmq-btn-accent:active {
  background-color: var(--bmq-accent); color: var(--bmq-on-accent); border-color: var(--bmq-accent);
  filter: brightness(.94); transform: translateY(-1px);
}

.bmq-wrapper .bmq-btn-ghost,
.bmq-wrapper .bmq-btn-ghost:link,
.bmq-wrapper .bmq-btn-ghost:visited { background-color: #fff; color: var(--bmq-ink); border-color: var(--bmq-line); }
.bmq-wrapper .bmq-btn-ghost:hover,
.bmq-wrapper .bmq-btn-ghost:focus {
  background-color: var(--bmq-cream); color: var(--bmq-ink); border-color: var(--bmq-primary);
}

.bmq-wrapper .bmq-btn-wa,
.bmq-wrapper .bmq-btn-wa:link,
.bmq-wrapper .bmq-btn-wa:visited { background-color: #25d366; color: #fff; border-color: #25d366; }
.bmq-wrapper .bmq-btn-wa:hover { background-color: #1fb457; color: #fff; border-color: #1fb457; }

.bmq-wrapper .bmq-btn.is-done,
.bmq-wrapper .bmq-btn.is-done:hover { background-color: var(--bmq-accent); color: var(--bmq-on-accent); border-color: var(--bmq-accent); filter: none; transform: none; }
.bmq-wrapper .bmq-btn[disabled] { opacity: .6; pointer-events: none; }

/* ── landing ─────────────────────────────────────────────── */
.bmq-landing {
  background: var(--bmq-cream); color: var(--bmq-ink);
  border-radius: 24px; padding: 48px 28px; text-align: center;
  position: relative; overflow: hidden; border: 1px solid var(--bmq-line);
}
.bmq-landing::after {
  content: ''; position: absolute; inset: auto -20% -60% -20%; height: 240px;
  background: radial-gradient(closest-side, var(--bmq-accent), transparent); opacity: .5;
}
.bmq-landing-badge {
  display: inline-block; background: var(--bmq-accent); color: var(--bmq-on-accent);
  padding: 5px 16px; border-radius: 999px; font-weight: 800; font-size: 13px; letter-spacing: .5px;
  position: relative; z-index: 1;
}
.bmq-landing-title { font-size: clamp(26px, 4vw, 40px); margin: 18px 0 10px; color: var(--bmq-ink); line-height: 1.25; position: relative; z-index: 1; }
.bmq-landing-sub { font-size: 17px; color: var(--bmq-muted); max-width: 620px; margin: 0 auto 30px; line-height: 1.7; position: relative; z-index: 1; }
.bmq-landing-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 32px; position: relative; z-index: 1; }
.bmq-feature {
  background: #fff; border: 1px solid var(--bmq-line);
  border-radius: var(--bmq-radius); padding: 18px 12px; display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.bmq-feature svg { width: 26px; height: 26px; color: var(--bmq-primary); margin-bottom: 6px; }
.bmq-feature strong { font-size: 15px; }
.bmq-feature span { font-size: 13px; color: var(--bmq-muted); line-height: 1.5; }

.bmq-start-wrap { text-align: center; }
.bmq-start-btn {
  display: inline-block; background: var(--bmq-primary); color: var(--bmq-on-primary); border: 0;
  padding: 16px 40px; border-radius: 999px; font-size: 18px; font-weight: 700; cursor: pointer;
}

/* ── steps ───────────────────────────────────────────────── */
.bmq-step, .bmq-results {
  background: #fff; border: 1px solid var(--bmq-line); border-radius: 24px;
  padding: 32px 28px; box-shadow: var(--bmq-shadow);
}
.bmq-center { text-align: center; }

.bmq-progress { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.bmq-progress-track { flex: 1; height: 6px; background: var(--bmq-cream); border-radius: 999px; overflow: hidden; }
.bmq-progress-fill { height: 100%; background: var(--bmq-primary); border-radius: 999px; transition: width .35s ease; }
.bmq-progress-label { font-size: 13px; color: var(--bmq-muted); white-space: nowrap; font-weight: 600; }

.bmq-q-title { font-size: clamp(21px, 3vw, 28px); margin: 0 0 6px; line-height: 1.35; color: var(--bmq-ink); }
.bmq-q-sub { color: var(--bmq-muted); margin: 0 0 24px; font-size: 15px; line-height: 1.6; }

.bmq-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.bmq-chip {
  display: inline-flex; align-items: center; gap: 5px; background: var(--bmq-cream);
  border: 1px solid var(--bmq-line); border-radius: 999px; padding: 5px 13px;
  font-size: 13px; color: var(--bmq-ink); font-weight: 600;
}
.bmq-chip svg { width: 14px; height: 14px; color: var(--bmq-primary); }

/* ── fields ──────────────────────────────────────────────── */
.bmq-field { margin-bottom: 24px; }
.bmq-label { display: flex; align-items: center; gap: 6px; font-weight: 700; margin-bottom: 10px; font-size: 15px; }
.bmq-label svg { width: 18px; height: 18px; color: var(--bmq-primary); }
.bmq-input {
  width: 100%; padding: 13px 16px; border: 2px solid var(--bmq-line); border-radius: 12px;
  font-size: 16px; font-family: inherit; background: #fff; color: var(--bmq-ink); outline: none;
}
.bmq-input:focus { border-color: var(--bmq-primary); }
.bmq-input::placeholder { color: var(--bmq-muted); opacity: .8; }

/* ── city combobox ───────────────────────────────────────── */
.bmq-combo { position: relative; }
.bmq-combo-input { padding-inline-end: 44px; }
.bmq-combo-icon {
  position: absolute; top: 50%; inset-inline-end: 14px; transform: translateY(-50%);
  width: 20px; height: 20px; color: var(--bmq-muted); pointer-events: none;
}
.bmq-combo-clear {
  position: absolute; top: 50%; inset-inline-end: 12px; transform: translateY(-50%);
  width: 24px; height: 24px; border: 0; border-radius: 50%; background: var(--bmq-cream);
  color: var(--bmq-ink); font-size: 16px; line-height: 1; cursor: pointer; display: none;
}
.bmq-combo.has-value .bmq-combo-clear { display: block; }
.bmq-combo.has-value .bmq-combo-icon { display: none; }
.bmq-combo-list {
  position: absolute; top: calc(100% + 6px); inset-inline: 0; z-index: 40;
  background: #fff; border: 1px solid var(--bmq-line); border-radius: 14px;
  box-shadow: 0 14px 34px rgba(36, 36, 36, .14); max-height: 264px; overflow-y: auto;
  list-style: none; margin: 0; padding: 6px; display: none;
}
.bmq-combo.open .bmq-combo-list { display: block; }
.bmq-combo-list li {
  padding: 10px 14px; border-radius: 10px; cursor: pointer; font-size: 15px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.bmq-combo-list li:hover, .bmq-combo-list li.active { background: var(--bmq-cream); }
.bmq-combo-list li.selected { background: var(--bmq-primary); color: var(--bmq-on-primary); }
.bmq-combo-list li small { color: var(--bmq-muted); font-size: 12px; }
.bmq-combo-list li.selected small { color: inherit; opacity: .8; }
.bmq-combo-empty { padding: 14px; text-align: center; color: var(--bmq-muted); font-size: 14px; }
.bmq-combo-hint { font-size: 12.5px; color: var(--bmq-muted); margin-top: 7px; }

/* ── date strip ──────────────────────────────────────────── */
.bmq-date-row { display: flex; align-items: center; gap: 8px; }
.bmq-nav {
  flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--bmq-line);
  background: var(--bmq-accent); color: var(--bmq-on-accent); font-size: 20px; line-height: 1;
  cursor: pointer; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.bmq-nav:disabled { opacity: .35; cursor: default; }
.bmq-dates {
  flex: 1; min-width: 0; display: flex; gap: 8px; overflow-x: auto; scroll-behavior: smooth;
  scroll-snap-type: x mandatory; padding-bottom: 4px; scrollbar-width: thin;
}
.bmq-dates::-webkit-scrollbar { height: 4px; }
.bmq-dates::-webkit-scrollbar-thumb { background: var(--bmq-line); border-radius: 999px; }
.bmq-date {
  flex: 0 0 clamp(92px, 19%, 116px); scroll-snap-align: start;
  background: #fff; border: 2px solid var(--bmq-line); border-radius: 12px; padding: 12px 4px;
  cursor: pointer; display: flex; flex-direction: column; gap: 3px; align-items: center;
  font-family: inherit; color: var(--bmq-ink); transition: all .15s ease;
}
.bmq-date:hover { border-color: var(--bmq-primary); }
.bmq-date.selected { border-color: var(--bmq-primary); background: var(--bmq-primary); color: var(--bmq-on-primary); }
.bmq-date-wd { font-size: 13px; font-weight: 700; }
.bmq-date-num { font-size: 16px; font-weight: 800; }

.bmq-slots { display: flex; flex-wrap: wrap; gap: 8px; }
.bmq-slot {
  background: #fff; border: 2px solid var(--bmq-line); border-radius: 12px;
  padding: 11px 20px; cursor: pointer; font-size: 15px; font-weight: 700; font-family: inherit;
  color: var(--bmq-ink); transition: all .15s ease;
}
.bmq-slot:hover { border-color: var(--bmq-primary); }
.bmq-slot.selected { border-color: var(--bmq-primary); background: var(--bmq-primary); color: var(--bmq-on-primary); }

/* ── options ─────────────────────────────────────────────── */
.bmq-options { display: grid; grid-template-columns: 1fr; gap: 10px; }
.bmq-options-grid { grid-template-columns: repeat(2, 1fr); }
.bmq-option {
  display: flex; align-items: stretch; gap: 8px; width: 100%;
  background: #fff; border: 2px solid var(--bmq-line); border-radius: 14px;
  transition: all .15s ease; overflow: hidden;
}
.bmq-option:hover { border-color: var(--bmq-primary); }
.bmq-option.selected { border-color: var(--bmq-primary); background: var(--bmq-primary-soft); box-shadow: 0 4px 14px color-mix(in srgb, var(--bmq-primary) 14%, transparent); }
.bmq-option-main {
  flex: 1; display: flex; align-items: center; gap: 13px; text-align: right;
  background: none; border: 0; padding: 15px 16px; cursor: pointer; font-family: inherit; color: inherit;
}
.bmq-option-icon {
  flex: 0 0 42px; width: 42px; height: 42px; border-radius: 12px; background: var(--bmq-cream);
  display: flex; align-items: center; justify-content: center; color: var(--bmq-primary);
}
.bmq-option.selected .bmq-option-icon { background: var(--bmq-primary); color: var(--bmq-on-primary); }
.bmq-option-icon svg { width: 21px; height: 21px; }
.bmq-option-text { display: flex; flex-direction: column; gap: 2px; }
.bmq-option-text strong { font-size: 16px; font-weight: 700; }
.bmq-option-text em { font-style: normal; font-size: 13px; color: var(--bmq-muted); }

/* inline guest-count stepper – stays on the same row, no extra scrolling */
.bmq-stepper {
  display: none; align-items: center; gap: 6px; padding: 10px 14px 10px 8px;
  border-inline-start: 1px dashed var(--bmq-line); background: #fff;
}
.bmq-option.selected .bmq-stepper { display: flex; }
.bmq-stepper > span { font-size: 12.5px; color: var(--bmq-muted); white-space: nowrap; }
.bmq-stepper button {
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--bmq-line);
  background: #fff; color: var(--bmq-ink); font-size: 17px; line-height: 1; cursor: pointer; font-family: inherit;
}
.bmq-stepper button:hover { border-color: var(--bmq-primary); color: var(--bmq-primary); }
.bmq-stepper input {
  width: 52px; text-align: center; padding: 6px 4px; border: 1px solid var(--bmq-line);
  border-radius: 8px; font-size: 15px; font-weight: 700; font-family: inherit; color: var(--bmq-ink);
  -moz-appearance: textfield;
}
.bmq-stepper input::-webkit-outer-spin-button, .bmq-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ── guests slider ───────────────────────────────────────── */
.bmq-guests { text-align: center; }
.bmq-guests-value { margin-bottom: 14px; }
.bmq-guests-value strong { font-size: 46px; font-weight: 800; color: var(--bmq-primary); display: block; line-height: 1; }
.bmq-guests-value span { font-size: 15px; color: var(--bmq-muted); }
.bmq-range { width: 100%; -webkit-appearance: none; appearance: none; height: 8px; border-radius: 999px; background: var(--bmq-cream); outline: none; }
.bmq-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--bmq-primary); border: 4px solid #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); cursor: pointer;
}
.bmq-range::-moz-range-thumb {
  width: 28px; height: 28px; border-radius: 50%; background: var(--bmq-primary);
  border: 4px solid #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); cursor: pointer;
}
.bmq-range-ends { display: flex; justify-content: space-between; font-size: 13px; color: var(--bmq-muted); margin: 6px 2px 18px; }
.bmq-steps { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.bmq-step-chip {
  background: #fff; border: 2px solid var(--bmq-line); border-radius: 999px; padding: 8px 16px;
  cursor: pointer; font-size: 14px; font-weight: 700; font-family: inherit; color: var(--bmq-ink);
}
.bmq-step-chip.selected { background: var(--bmq-primary); border-color: var(--bmq-primary); color: var(--bmq-on-primary); }

/* ── actions / states ────────────────────────────────────── */
.bmq-actions { display: flex; gap: 10px; justify-content: flex-start; margin-top: 26px; flex-wrap: wrap; }
.bmq-skip { display: block; margin: 14px auto 0; background: none; border: 0; color: var(--bmq-muted); font-size: 14px; text-decoration: underline; cursor: pointer; font-family: inherit; }
.bmq-note { margin-top: 16px; font-size: 12.5px; color: var(--bmq-muted); }
.bmq-error { background: #fdf0f0; border: 1px solid #f3c9c9; color: #a12626; padding: 11px 15px; border-radius: 12px; font-size: 14px; margin-top: 14px; }
.bmq-empty { background: var(--bmq-cream); border: 1px dashed var(--bmq-line); padding: 26px; border-radius: 14px; text-align: center; color: var(--bmq-muted); }
.bmq-loading-box { display: flex; align-items: center; gap: 10px; color: var(--bmq-muted); padding: 18px 0; font-size: 15px; }

.bmq-spinner {
  width: 20px; height: 20px; border-radius: 50%; border: 3px solid var(--bmq-cream);
  border-top-color: var(--bmq-primary); display: inline-block; animation: bmq-spin .8s linear infinite;
}
.bmq-spinner-lg { width: 44px; height: 44px; border-width: 4px; margin-bottom: 18px; }
@keyframes bmq-spin { to { transform: rotate(360deg); } }

/* ── results ─────────────────────────────────────────────── */
.bmq-results-head { text-align: center; margin-bottom: 28px; }
.bmq-results-head h2 { font-size: clamp(23px, 3.4vw, 32px); margin: 0 0 8px; }
.bmq-results-head p { color: var(--bmq-muted); margin: 0 0 16px; }
.bmq-results-head .bmq-chips { justify-content: center; }

.bmq-rec { border: 1px solid var(--bmq-line); border-radius: 20px; padding: 24px; margin-bottom: 20px; position: relative; }
.bmq-rec-top { border-color: var(--bmq-primary); background: linear-gradient(180deg, var(--bmq-primary-soft), #fff); }
.bmq-rec-badge {
  position: absolute; top: -13px; inset-inline-start: 24px; background: var(--bmq-accent);
  color: var(--bmq-on-accent); padding: 5px 16px; border-radius: 999px; font-size: 13px; font-weight: 800;
}
.bmq-rec-title { font-size: 21px; margin: 6px 0 8px; }
.bmq-rec-why { color: var(--bmq-muted); margin: 0 0 16px; line-height: 1.65; font-size: 15px; }

.bmq-reasons { background: var(--bmq-cream); border-radius: 14px; padding: 14px 16px; margin-bottom: 20px; }
.bmq-reasons-title { font-weight: 800; font-size: 14px; display: block; margin-bottom: 8px; }
.bmq-reasons ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.bmq-reasons li { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.bmq-reasons li svg { width: 15px; height: 15px; color: var(--bmq-primary); flex: 0 0 15px; }

.bmq-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.bmq-products-sm { grid-template-columns: repeat(4, 1fr); }
.bmq-product { background: #fff; border: 1px solid var(--bmq-line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.bmq-product-img { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--bmq-cream); }
.bmq-product-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.bmq-product:hover .bmq-product-img img { transform: scale(1.05); }
.bmq-product-body { padding: 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.bmq-product-body h4 { font-size: 15px; margin: 0; line-height: 1.4; }
.bmq-fit { font-size: 12.5px; font-weight: 700; color: var(--bmq-primary); background: var(--bmq-primary-soft); padding: 3px 9px; border-radius: 999px; align-self: flex-start; }
.bmq-fit-note { font-size: 12.5px; color: var(--bmq-muted); font-weight: 600; }
.bmq-product-desc { font-size: 13px; color: var(--bmq-muted); margin: 0; line-height: 1.5; }
.bmq-product-price { font-size: 17px; font-weight: 800; margin-top: auto; padding-top: 6px; }
.bmq-product-price del { font-size: 14px; opacity: .5; font-weight: 500; }
.bmq-product-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.bmq-product-actions .bmq-btn { flex: 1 1 100%; }
.bmq-product-links { display: flex; gap: 10px; justify-content: space-between; align-items: center; margin-top: 2px; }
.bmq-link {
  background: none; border: 0; padding: 0; font-family: inherit; font-size: 13.5px; font-weight: 600;
  color: var(--bmq-primary); text-decoration: underline; cursor: pointer;
}

.bmq-addon { border: 1px dashed var(--bmq-line); border-radius: 20px; padding: 22px; margin-bottom: 20px; background: var(--bmq-cream); }
.bmq-addon h3 { margin: 0 0 6px; font-size: 18px; }
.bmq-addon p { margin: 0 0 16px; color: var(--bmq-muted); font-size: 14px; line-height: 1.6; }

/* final choice bar */
.bmq-final {
  background: var(--bmq-cream); border: 1px solid var(--bmq-line); border-radius: 20px;
  padding: 26px; text-align: center; margin-top: 6px;
}
.bmq-final h3 { margin: 0 0 6px; font-size: 21px; }
.bmq-final p { margin: 0 0 18px; color: var(--bmq-muted); font-size: 14.5px; }
.bmq-final-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.bmq-cart-count { font-size: 13px; color: var(--bmq-primary); font-weight: 700; margin-bottom: 12px; }

.bmq-results-foot { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }

/* ── modal ───────────────────────────────────────────────── */
.bmq-modal {
  position: fixed; inset: 0; background: rgba(36, 36, 36, .55); backdrop-filter: blur(3px);
  display: none; align-items: center; justify-content: center; z-index: 999999; padding: 16px;
}
.bmq-modal.open { display: flex; }
.bmq-modal-box {
  background: #fff; border-radius: 22px; padding: 30px 26px; width: 100%; max-width: 480px;
  position: relative; max-height: 92vh; overflow: auto; direction: rtl; text-align: right;
}
.bmq-modal-close {
  position: absolute; top: 12px; inset-inline-start: 14px; background: none; border: 0;
  font-size: 28px; line-height: 1; cursor: pointer; color: var(--bmq-muted);
}
.bmq-modal-box h3 { margin: 0 0 6px; font-size: 21px; }
.bmq-modal-sub { color: var(--bmq-muted); margin: 0 0 18px; font-size: 14.5px; line-height: 1.6; }
.bmq-modal-product { display: flex; align-items: center; gap: 11px; background: var(--bmq-cream); border-radius: 14px; padding: 10px; margin-bottom: 14px; }
.bmq-modal-product img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; }
.bmq-modal-product span { font-weight: 700; font-size: 14.5px; }

/* the "everything you filled in" recap inside the quote form */
.bmq-recap { background: var(--bmq-cream); border-radius: 14px; padding: 14px 16px; margin-bottom: 16px; }
.bmq-recap strong { display: block; font-size: 13.5px; margin-bottom: 8px; }
.bmq-recap ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.bmq-recap li { background: #fff; border: 1px solid var(--bmq-line); border-radius: 999px; padding: 4px 11px; font-size: 12.5px; }
.bmq-recap .bmq-recap-menus { margin-top: 10px; font-size: 13px; color: var(--bmq-muted); line-height: 1.6; }

.bmq-form { display: flex; flex-direction: column; gap: 10px; }
.bmq-modal-alt { border-top: 1px dashed var(--bmq-line); margin-top: 16px; padding-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.bmq-modal-alt-title { font-size: 13px; color: var(--bmq-muted); text-align: center; }

.bmq-thanks-icon {
  width: 72px; height: 72px; border-radius: 50%; background: var(--bmq-primary-soft); color: var(--bmq-primary);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px;
}
.bmq-thanks-icon svg { width: 34px; height: 34px; stroke-width: 2.4; }
.bmq-bigevent .bmq-form { max-width: 420px; margin: 20px auto 0; }

/* ── snackbar ────────────────────────────────────────────── */
.bmq-snack {
  position: fixed; inset-inline: 16px; bottom: 22px; margin: 0 auto; max-width: 460px;
  background: var(--bmq-ink); color: #fff; border-radius: 16px; padding: 14px 18px;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: space-between;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .28); z-index: 999998;
  opacity: 0; transform: translateY(14px); pointer-events: none; transition: all .25s ease;
}
.bmq-snack.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.bmq-snack span { font-size: 14.5px; font-weight: 600; }
.bmq-snack a, .bmq-snack button {
  background: #fff; color: var(--bmq-ink); border: 0; border-radius: 999px; padding: 8px 16px;
  font-size: 13.5px; font-weight: 700; text-decoration: none; cursor: pointer; font-family: inherit;
}

/* ── responsive ──────────────────────────────────────────── */
@media (max-width: 782px) {
  .bmq-landing { padding: 34px 18px; }
  .bmq-landing-features { grid-template-columns: 1fr; }
  .bmq-step, .bmq-results { padding: 22px 16px; border-radius: 18px; }
  .bmq-options-grid { grid-template-columns: 1fr; }
  .bmq-date { flex: 0 0 31%; }
  .bmq-products, .bmq-products-sm { grid-template-columns: repeat(2, 1fr); }
  .bmq-actions .bmq-btn { flex: 1; }
  .bmq-guests-value strong { font-size: 38px; }
  .bmq-final-actions .bmq-btn { width: 100%; }
}
@media (max-width: 480px) {
  .bmq-products, .bmq-products-sm { grid-template-columns: 1fr; }
  .bmq-date { flex: 0 0 44%; }
  .bmq-option-main { padding: 13px 12px; }
  .bmq-stepper { padding: 10px 8px; }
  .bmq-stepper > span { display: none; }
}
