/* =========================================================
   FLB Public.css (Clean + No Duplicates) — V2 Typography + Process Bar
   - Search Form
   - Results Grid
   - Step 2 (Insurance V2 + Extras V3 + Summary)
   - NEW: Better typography hierarchy + Process Bar like inspiration
   ========================================================= */

/* -------------------------
   0) Variables + Base
------------------------- */
:root {
  --flb-primary: #E10000;
  --flb-accent: #fb923c;

  --flb-text: #0f172a;
  --flb-muted: #64748b;

  --flb-border: #e5e7eb;
  --flb-soft: #f8fafc;
  --flb-soft2: #fff7ed;

  --flb-shadow: 0 10px 26px rgba(15, 23, 42, .06);
  --flb-shadow-accent: 0 14px 34px rgba(251, 146, 60, .18);

  --flb-radius: 18px;

  /* Typography scale (balanced like your inspiration) */
  --flb-fz-h1: 28px;
  --flb-fz-h2: 20px;
  --flb-fz-h3: 18px;
  --flb-fz-title: 18px;
  --flb-fz-body: 14px;
  --flb-fz-small: 12px;

  --flb-lh-body: 1.45;
  --flb-lh-tight: 1.15;

  /* Process bar */
  --flb-process-bg: #0b1f3b;
  /* navy like inspiration */
  --flb-process-track: rgba(255, 255, 255, .35);
  --flb-process-done: #ff7a1a;
  /* orange */
  --flb-process-text: #ffffff;
}

.flb-wrap,
.flb-results,
.flb-step {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--flb-text);
}

.flb-empty {
  background: #fff;
  border: 1px solid var(--flb-border);
  padding: 16px;
  border-radius: 14px;
  color: var(--flb-text);
}

/* Accessibility helpers */
.flb-wrap a,
.flb-step a,
.flb-results a {
  text-decoration: none;
}

.flb-wrap :focus-visible,
.flb-step :focus-visible,
.flb-results :focus-visible {
  outline: 3px solid rgba(251, 146, 60, .35);
  outline-offset: 2px;
  border-radius: 10px;
}

/* -------------------------
   1) Search Form (Home)
------------------------- */
.flb-wrap {
  padding: 18px 0
}

.flb-card {
  max-width: 980px;
  margin: 0 auto;
  background: var(--flb-form-bg, #fff);
  border: 1px solid var(--flb-border);
  border-radius: var(--flb-radius);
  padding: 18px;
  box-shadow: var(--flb-shadow);
}

.flb-title {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--flb-form-title, #0f172a);
}

.flb-form label {
  display: block;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--flb-text);
  font-size: 13px;
}

.flb-form input,
.flb-form select {
  width: 100%;
  padding: 12px 12px;
  border: 1px solid var(--flb-input-border, #e5e7eb);
  border-radius: 12px;
  outline: none;
  background: var(--flb-input-bg, #fff);
  font-size: 14px;
}

.flb-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.flb-note {
  color: var(--flb-muted);
  font-size: 13px
}

.flb-alert {
  margin-top: 12px;
  background: var(--flb-soft2);
  border: 1px solid #fed7aa;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--flb-danger);
}

.flb-result {
  margin-top: 14px;
  background: #0b1220;
  color: #dbeafe;
  border-radius: 12px;
  padding: 12px;
}

.flb-result pre {
  margin: 0;
  white-space: pre-wrap
}

/* Search grid */
.flb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width:900px) {
  .flb-grid {
    grid-template-columns: 1fr
  }
}

/* -------------------------
   2) Results Page
------------------------- */
.flb-results {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 16px
}

.flb-results__top {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 18px;
}

.flb-results__title {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--flb-text);
}

.flb-results__meta {
  margin-top: 6px;
  color: var(--flb-muted);
  font-size: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.flb-results__count {
  color: var(--flb-text);
  font-weight: 800
}

.flb-results .flb-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

@media(max-width:980px) {
  .flb-results .flb-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

@media(max-width:640px) {
  .flb-results__top {
    flex-direction: column;
    align-items: flex-start
  }

  .flb-results .flb-grid {
    grid-template-columns: 1fr
  }
}

/* Result card */
.flb-results .flb-card {
  background: #fff;
  border: 1px solid var(--flb-border);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .05);
  position: relative;
}

.flb-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px
}

.flb-badge {
  background: #fbbf24;
  color: #111827;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 12px;
}

.flb-type {
  color: var(--flb-primary);
  font-weight: 900;
  font-size: 11px;
  letter-spacing: .08em
}

.flb-card__title {
  margin: 0;
  font-size: 18px;
  color: var(--flb-text);
  font-weight: 800
}

.flb-card__sub {
  color: var(--flb-muted);
  font-size: 13px;
  margin-bottom: 10px;
  font-weight: 600
}

.flb-card__img {
  background: #f3f4f6;
  border-radius: 14px;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 150px;
}

.flb-card__img img {
  max-width: 100%;
  height: auto;
  display: block
}

.flb-feats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0;
  color: var(--flb-text);
  font-size: 13px
}

.flb-feats span {
  background: #f8fafc;
  border: 1px solid var(--flb-border);
  padding: 6px 10px;
  border-radius: 999px
}

.flb-price {
  border-top: 1px solid #eef2f7;
  margin-top: 12px;
  padding-top: 12px
}

.flb-old {
  text-decoration: line-through;
  color: var(--flb-muted);
  font-weight: 800
}

.flb-now {
  font-size: 20px;
  color: var(--flb-primary);
  font-weight: 900
}

.flb-now span {
  font-size: 12px;
  color: var(--flb-muted);
  font-weight: 700;
  margin-left: 6px
}

.flb-total {
  margin-top: 6px;
  color: var(--flb-text);
  font-weight: 800
}

/* Unified button */
.flb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  background: var(--flb-primary);
  color: #fff;
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 800;
  border: 0;
  cursor: pointer;
  transition: .15s ease;
}

.flb-btn:hover {
  filter: brightness(.96);
  transform: translateY(-1px)
}

.flb-btn:active {
  transform: translateY(0)
}

.flb-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--flb-border);
  border-radius: 12px;
  padding: 12px 16px;
  text-decoration: none;
  color: var(--flb-text);
  font-weight: 800;
  background: #fff;
  transition: .15s ease;
}

.flb-btn-ghost:hover {
  background: #fafafa;
  transform: translateY(-1px)
}

.flb-btn-ghost:active {
  transform: translateY(0)
}

/* -------------------------
   3) Step 2 Layout
------------------------- */
.flb-step {
  max-width: 1200px;
  margin: 34px auto;
  padding: 0 16px
}

.flb-step__header {
  margin-bottom: 16px
}

.flb-step__header h2 {
  margin: 0 0 10px;
  font-size: var(--flb-fz-h1);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--flb-text);
}

/* NEW: Process Bar like inspiration (works with existing spans) */
.flb-step__progress {
  position: relative;
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: nowrap;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--flb-process-bg);
  box-shadow: 0 10px 26px rgba(2, 6, 23, .12);
  overflow: hidden;
}

/* track line */
.flb-step__progress:before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 50%;
  height: 4px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: var(--flb-process-track);
  opacity: .9;
}

/* each step */
.flb-step__progress span {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  color: rgba(255, 255, 255, .85);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16);
  white-space: nowrap;
}

/* circle number using counter-like style: we can’t generate number from text,
   so we show a dot circle and rely on your text ("1 Véhicules"...). */
.flb-step__progress span:before {
  content: "";
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-block;
  background: rgba(255, 255, 255, .10);
  border: 2px solid rgba(255, 255, 255, .35);
  box-shadow: inset 0 0 0 6px rgba(0, 0, 0, 0);
}

/* done */
.flb-step__progress .is-done {
  color: var(--flb-process-text);
  background: var(--flb-process-done);
  border-color: var(--flb-process-done);
  opacity: 0.8;
}

.flb-step__progress .is-done:before {
  background: rgba(255, 255, 255, .2);
  border-color: #fff;
}

/* active */
.flb-step__progress .is-active {
  color: var(--flb-process-text);
  background: var(--flb-process-done);
  border-color: var(--flb-process-done);
  opacity: 1;
}

.flb-step__progress .is-active:before {
  border-color: #fff;
}

/* mobile: allow wrap */
@media(max-width:820px) {
  .flb-step__progress {
    flex-wrap: wrap;
    gap: 10px;
  }

  .flb-step__progress:before {
    display: none
  }

  .flb-step__progress span {
    flex: 0 0 auto
  }
}

/* main grid */
.flb-step__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 18px
}

@media(max-width:980px) {
  .flb-step__grid {
    grid-template-columns: 1fr
  }
}

.flb-box {
  background: #fff;
  border: 1px solid var(--flb-border);
  border-radius: var(--flb-radius);
  padding: 18px;
  box-shadow: var(--flb-shadow);
  margin-bottom: 16px;
}

.flb-box h3 {
  margin: 0 0 12px;
  font-size: var(--flb-fz-h2);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--flb-text);
}

/* -------------------------
   4) Insurance V2 (balanced typography)
------------------------- */
.flb-ins-v2 {
  display: flex;
  flex-direction: column;
  gap: 16px
}

.flb-ins-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none
}

/* card */
.flb-ins-card2 {
  position: relative;
  border: 1px solid var(--flb-ins-border, #e5e7eb);
  border-radius: var(--flb-radius);
  background: var(--flb-ins-bg, #fff);
  padding: 18px;
  display: block;
  cursor: pointer;
  box-shadow: var(--flb-shadow);
  transition: .15s ease;
}

.flb-ins-card2:hover {
  transform: translateY(-1px)
}

.flb-ins-card2.is-selected {
  border-color: var(--flb-ins-selected-border, #fb923c);
  background: var(--flb-ins-selected-bg, #fff7ed);
  box-shadow: var(--flb-shadow-accent);
}

/* recommended badge (your PHP outputs <span class="flb-badge">) */
.flb-ins-card2 .flb-badge {
  position: absolute;
  left: 18px;
  top: 14px;
  background: #bbf7d0;
  color: #065f46;
  border: 1px solid #86efac;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 11px;
  text-transform: lowercase;
}

/* check circle */
.flb-ins-check {
  position: absolute;
  right: 18px;
  top: 16px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 2px solid #cbd5e1;
  background: #fff;
}

.flb-ins-card2.is-selected .flb-ins-check {
  border-color: var(--flb-ins-selected-border, #fb923c);
  background: var(--flb-ins-selected-border, #fb923c);
}

.flb-ins-card2.is-selected .flb-ins-check:after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  font-size: 14px;
}

/* content grid */
.flb-ins2-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 16px;
  align-items: start;
  margin-top: 18px;
}

.flb-ins2-title {
  font-size: 22px;
  /* was too big -> balanced */
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--flb-text);
  line-height: var(--flb-lh-tight);
}

.flb-ins2-desc {
  margin-top: 6px;
  color: var(--flb-muted);
  line-height: var(--flb-lh-body);
  max-width: 520px;
  font-weight: 600;
  font-size: 13px;
}

/* features */
.flb-ins2-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.flb-ins2-features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--flb-text);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.25;
}

.flb-ins2-features .flb-ico {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  flex: 0 0 18px;
  display: inline-grid;
  place-items: center;
  font-weight: 900;
  font-size: 11px;
  color: #fff;
  margin-top: 1px;
}

.flb-ins2-features li.is-yes .flb-ico {
  background: var(--flb-icon-yes, #22c55e);
}

.flb-ins2-features li.is-yes .flb-ico:before {
  content: "✓"
}

.flb-ins2-features li.is-no .flb-ico {
  background: var(--flb-icon-no, #ef4444);
}

.flb-ins2-features li.is-no .flb-ico:before {
  content: "✕"
}

.flb-ins2-features li.is-no {
  color: var(--flb-muted);
  opacity: .95
}

/* prices bar (inline + consistent) */
.flb-ins2-prices {
  margin-top: 14px;
  border: 1px solid var(--flb-border);
  border-radius: 14px;
  background: var(--flb-soft);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.flb-ins2-box {
  padding: 12px 14px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 800;
}

.flb-ins2-box+.flb-ins2-box {
  border-left: 1px solid var(--flb-border)
}

.flb-ins2-box span {
  color: var(--flb-muted);
  font-weight: 800;
  font-size: 13px;
}

.flb-ins2-box strong {
  font-size: 20px;
  /* balanced */
  font-weight: 900;
  letter-spacing: -.01em;
}

.flb-ins2-box em {
  margin-left: auto;
  color: var(--flb-text);
  font-style: normal;
  font-weight: 900;
  font-size: 13px;
}

.flb-ins2-box strong.is-red {
  color: var(--flb-danger);
}

.flb-ins2-box strong.is-green {
  color: var(--flb-success);
}

@media(max-width:900px) {
  .flb-ins2-grid {
    grid-template-columns: 1fr
  }

  .flb-ins2-prices {
    grid-template-columns: 1fr
  }

  .flb-ins2-box+.flb-ins2-box {
    border-left: none;
    border-top: 1px solid var(--flb-border)
  }
}

/* -------------------------
   5) Extras V3 (with qty bar)
------------------------- */
.flb-extras-v3 {
  display: flex;
  flex-direction: column;
  gap: 16px
}

.flb-extra-check {
  position: absolute;
  opacity: 0;
  pointer-events: none
}

.flb-extra-card {
  border: 1px solid var(--flb-border);
  border-radius: var(--flb-radius);
  background: var(--flb-extra-bg, #fff);
  box-shadow: var(--flb-shadow);
  overflow: hidden;
  transition: .15s ease;
}

.flb-extra-card:hover {
  transform: translateY(-1px)
}

.flb-extra-card.is-selected {
  border-color: var(--flb-accent);
  background: var(--flb-extra-selected-bg, #fff7ed);
  box-shadow: var(--flb-shadow-accent);
}

/* row */
.flb-extra-hit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px 14px;
  cursor: pointer;
}

.flb-extra-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0
}

.flb-extra-ico {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: var(--flb-soft2);
  border: 1px solid #fed7aa;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.flb-extra-ico img {
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 10px
}

.flb-extra-ico-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--flb-accent);
  display: block
}

.flb-extra-title {
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -.01em;
  color: var(--flb-text);
  line-height: var(--flb-lh-tight);
}

.flb-extra-desc {
  margin-top: 4px;
  color: var(--flb-muted);
  font-size: 13px;
  line-height: 1.25;
  font-weight: 600;
}

.flb-extra-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto
}

.flb-extra-pricebox {
  text-align: right;
  line-height: 1
}

.flb-extra-price {
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -.01em;
  color: var(--flb-text);
}

.flb-extra-unit {
  font-size: 12px;
  color: var(--flb-muted);
  margin-top: 4px;
  font-weight: 700
}

/* check circle */
.flb-extra-checkcircle {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 3px solid #cbd5e1;
  position: relative;
  flex: 0 0 auto;
  background: #fff;
}

.flb-extra-checkcircle:after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 999px;
  background: transparent;
}

.flb-extra-card.is-selected .flb-extra-checkcircle {
  border-color: var(--flb-accent)
}

.flb-extra-card.is-selected .flb-extra-checkcircle:after {
  background: var(--flb-accent)
}

/* qty bar (big) */
.flb-extra-qty {
  padding: 14px 18px 18px;
  display: none;
  grid-template-columns: 46px 1fr 46px;
  gap: 12px;
  align-items: center;
}

.flb-extra-card.is-selected .flb-extra-qty {
  display: grid
}

.flb-qty-btn {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 2px solid var(--flb-accent);
  background: #fff;
  font-weight: 900;
  font-size: 20px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: .12s ease;
}

.flb-qty-btn:hover {
  background: #fff7ed
}

.flb-qty-btn:active {
  transform: scale(.98)
}

.flb-qty-input {
  height: 46px;
  width: 100%;
  text-align: center;
  border-radius: 12px;
  border: 2px solid var(--flb-border);
  background: #fff;
  font-weight: 900;
  font-size: 16px;
}

@media(max-width:640px) {
  .flb-extra-title {
    font-size: 16px
  }

  .flb-extra-price {
    font-size: 16px
  }

  .flb-extra-ico {
    width: 46px;
    height: 46px;
    border-radius: 14px
  }

  .flb-qty-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px
  }

  .flb-qty-input {
    height: 44px
  }
}

/* -------------------------
   6) Summary (Right)
------------------------- */
.flb-summary {
  background: var(--flb-summary-bg, #fff);
  border: 1px solid var(--flb-border);
  border-radius: var(--flb-radius);
  padding: 18px;
  box-shadow: var(--flb-shadow);
  position: sticky;
  top: 18px;
}

.flb-summary h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--flb-text);
}

.flb-summary-total {
  font-size: 13px;
  color: var(--flb-text);
  font-weight: 800;
  margin: 6px 0 14px;
}

.flb-summary-total strong {
  font-size: 16px;
  font-weight: 900
}


.flb-summary-car {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px
}

.flb-summary-car img {
  width: 110px;
  height: auto;
  border-radius: 14px;
  background: #f3f4f6;
  border: 1px solid #eef2f7
}

.flb-summary-carname {
  font-weight: 900;
  font-size: 16px;
  color: var(--flb-text)
}

.flb-summary-days {
  color: var(--flb-muted);
  font-weight: 800;
  font-size: 12px;
  margin-top: 2px
}

/* Optional icon rows if you use them */
.flb-srow {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 10px
}

.flb-sico {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: var(--flb-soft);
  border: 1px solid var(--flb-border);
  display: grid;
  place-items: center;
  color: var(--flb-accent);
  font-size: 16px;
  flex: 0 0 auto;
}

.flb-slabel {
  color: var(--flb-muted);
  font-weight: 900;
  font-size: 12px;
  margin-bottom: 2px
}

.flb-sval {
  color: var(--flb-text);
  font-weight: 800;
  line-height: 1.25;
  font-size: 13px
}

.flb-hr {
  height: 1px;
  background: var(--flb-border);
  margin: 14px 0
}

/* price lines aligned (better hierarchy) */
.flb-summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0;
  font-weight: 800;
  color: var(--flb-text);
  font-size: 13px;
}

.flb-summary-line span {
  color: #334155;
  font-weight: 800
}

.flb-summary-line strong {
  font-weight: 900
}

.flb-summary-line--grand {
  font-size: 14px;
  margin-top: 12px;
}

/* total bar */
.flb-totalbar {
  margin-top: 14px;
  background: var(--flb-soft2);
  border: 1px solid #fed7aa;
  border-radius: 14px;
  padding: 14px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 900;
}

.flb-totalbar .tlabel {
  font-size: 16px;
  color: var(--flb-text);
  font-weight: 900
}

.flb-totalbar .tval {
  font-size: 22px;
  color: var(--flb-accent);
  letter-spacing: -.02em
}

.flb-totalbar .tunit {
  font-size: 13px;
  color: var(--flb-text);
  font-weight: 900
}

/* -------------------------
   7) Actions (Step buttons)
------------------------- */
.flb-actions-row {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-top: 12px;
}

.flb-step .flb-btn {
  border-radius: 14px;
  min-width: 180px;
  box-shadow: 0 12px 24px rgba(225, 0, 0, .18);
}

.flb-step .flb-btn-ghost {
  border-radius: 14px;
  min-width: 180px;
}

@media(max-width:640px) {
  .flb-actions-row {
    flex-direction: column
  }

  .flb-btn,
  .flb-btn-ghost {
    width: 100%
  }
}

/* ===========================
   FLB Search — Vertical Card UI
   (matches screenshots)
   =========================== */

.flb-search {
  max-width: 520px;
  margin: 26px auto;
  padding: 0 14px;
}

.flb-searchCard {
  border-radius: 22px;
  padding: 22px;
  background: #1f2f44;
  /* dark navy like screenshot */
  color: #fff;
  box-shadow: 0 18px 46px rgba(2, 6, 23, .22);
}

.flb-searchHead {
  margin-bottom: 14px
}

.flb-searchTitle {
  margin: 0;
  font-size: 22px;
  font-weight: 950;
  letter-spacing: -.02em;
}

.flb-searchSub {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.flb-searchForm .flb-field {
  margin-top: 14px
}

.flb-searchForm label {
  display: block;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  margin: 0 0 8px;
}

.flb-inputIcon {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .18);
}

.flb-inputIcon input {
  width: 100%;
  border: 0 !important;
  outline: none !important;
  padding: 0 !important;
  height: 24px;
  font-weight: 800;
  color: #0f172a;
  background: transparent;
}

.flb-iCal svg {
  width: 18px;
  height: 18px;
  fill: var(--flb-primary);
  opacity: .9;
}

.flb-iClock {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  color: var(--flb-primary);
  font-size: 16px;
}

/* Dates + Times grid */
.flb-dtGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 10px;
}

@media (max-width:520px) {
  .flb-dtGrid {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* Switch row */
.flb-switchRow {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.flb-switchLabel {
  font-weight: 900;
  font-size: 13px;
  color: #fff;
}

.flb-switch {
  position: relative;
  width: 46px;
  height: 26px;
  display: inline-block;
}

.flb-switch input {
  opacity: 0;
  position: absolute;
  inset: 0
}

.flb-switchUI {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .28);
  border: 1px solid rgba(255, 255, 255, .20);
  border-radius: 999px;
  transition: .15s ease;
}

.flb-switchUI:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 4px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #fff;
  transform: translateY(-50%);
  transition: .15s ease;
}

.flb-switch input:checked+.flb-switchUI {
  background: rgba(251, 146, 60, .9);
  border-color: rgba(251, 146, 60, .95);
}

.flb-switch input:checked+.flb-switchUI:after {
  left: 22px;
}

/* Dropdown */
.flb-dd {
  position: relative
}

.flb-ddBtn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .20);
  background: #fff;
  cursor: pointer;
  color: #0f172a;
  font-weight: 900;
}

.flb-ddIcon {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
}

.flb-ddIcon svg {
  width: 18px;
  height: 18px;
  fill: var(--flb-primary)
}

.flb-ddText {
  flex: 1;
  text-align: left;
  font-weight: 900
}

.flb-ddChevron {
  opacity: .7
}

.flb-ddPanel {
  position: absolute;
  z-index: 50;
  left: 0;
  right: 0;
  margin-top: 10px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 44px rgba(2, 6, 23, .18);
  overflow: hidden;
}

.flb-ddSearch {
  padding: 10px;
  border-bottom: 1px solid #eef2f7;
}

.flb-ddSearch input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  outline: none;
  font-weight: 800;
}

.flb-ddSearch input:focus {
  border-color: rgba(251, 146, 60, .75);
  box-shadow: 0 0 0 3px rgba(251, 146, 60, .18);
}

.flb-ddList {
  max-height: 320px;
  overflow: auto;
  padding: 6px;
}

.flb-ddGroup {
  padding: 6px
}

.flb-ddGroupTitle {
  padding: 10px 10px 6px;
  font-weight: 950;
  color: #0f172a;
  opacity: .9;
}

.flb-ddItem {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 10px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: #fff;
  cursor: pointer;
  text-align: left;
}

.flb-ddItem:hover {
  background: #f8fafc;
  border-color: #e5e7eb;
}

.flb-ddItemIcon {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
}

.flb-ddItemIcon svg {
  width: 20px;
  height: 20px;
  fill: #0f172a;
  opacity: .85
}

.flb-ddItemText {
  font-weight: 900;
  color: #0f172a;
}

/* Actions */
.flb-searchActions {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.flb-searchBtn {
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 14px 16px;
  background: var(--flb-primary);
  color: #fff;
  font-weight: 950;
  font-size: 15px;
  box-shadow: 0 14px 28px rgba(225, 0, 0, .22);
  cursor: pointer;
}

.flb-searchBtn:hover {
  filter: brightness(.96)
}

.flb-searchHint {
  color: rgba(255, 255, 255, .78);
  font-weight: 800;
  font-size: 12px;
}

/* =========================
   FLB Search V2 (Modern)
   ========================= */
.flb-search {
  padding: 18px 0
}

.flb-s-card {
  max-width: 520px;
  margin: 0 auto;
  background: #1f2f44;
  /* قريب للصورة */
  border-radius: calc(var(--flb-radius) + 6px);
  padding: 18px;
  box-shadow: 0 18px 50px rgba(2, 6, 23, .28);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .06);
}

.flb-s-head {
  margin-bottom: 14px
}

.flb-s-title {
  margin: 0;
  font-size: 20px;
  font-weight: 950;
  letter-spacing: -.02em;
  color: #fff;
}

.flb-s-sub {
  margin: 6px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, .72);
  font-weight: 650;
}

.flb-s-form {
  display: flex;
  flex-direction: column;
  gap: 14px
}

.flb-s-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px
}

.flb-s-row-2 {
  grid-template-columns: 1fr 1fr
}

@media(max-width:520px) {
  .flb-s-row-2 {
    grid-template-columns: 1fr
  }
}

.flb-s-field {
  display: flex;
  flex-direction: column;
  gap: 8px
}

.flb-s-label {
  font-size: 12px;
  font-weight: 900;
  color: rgba(255, 255, 255, .88);
}

.flb-s-picker {
  width: 100%;
  height: 50px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: #fff;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  cursor: pointer;
  font-weight: 850;
  box-shadow: 0 10px 20px rgba(2, 6, 23, .14);
  transition: .15s ease;
}

.flb-s-picker:hover {
  transform: translateY(-1px)
}

.flb-s-picker:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(251, 146, 60, .28), 0 10px 20px rgba(2, 6, 23, .14)
}

.flb-s-ico {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  display: grid;
  place-items: center;
  font-size: 16px;
  flex: 0 0 auto;
}

.flb-s-value {
  flex: 1;
  text-align: left;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.flb-s-caret {
  opacity: .55;
  font-size: 14px
}

.flb-s-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.flb-s-btn {
  height: 56px;
  border: 0;
  border-radius: 16px;
  background: var(--flb-primary);
  color: #fff;
  font-weight: 950;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 16px 30px rgba(225, 0, 0, .22);
}

.flb-s-btn:hover {
  filter: brightness(.97)
}

.flb-s-hint {
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, .70);
  font-weight: 700;
}

.flb-s-hint strong {
  color: #fff
}

/* =========================
   Modal (used for location/date/time)
   ========================= */
.flb-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 99999
}

.flb-modal.is-open {
  display: block
}

.flb-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, .55);
  backdrop-filter: blur(6px)
}

.flb-modal__panel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(560px, calc(100vw - 24px));
  background: #fff;
  border-radius: 20px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 30px 90px rgba(2, 6, 23, .30);
  overflow: hidden;
}

.flb-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #e5e7eb;
  background: #f8fafc;
}

.flb-modal__title {
  font-weight: 950;
  color: #0f172a
}

.flb-modal__close {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
  cursor: pointer;
  font-weight: 950;
}

.flb-modal__body {
  padding: 14px 16px
}

/* Location list */
.flb-loc-search {
  width: 100%;
  height: 44px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  padding: 0 12px;
  font-weight: 800;
  outline: none;
}

.flb-loc-g {
  margin-top: 12px
}

.flb-loc-gh {
  font-weight: 950;
  color: #0f172a;
  margin: 14px 0 8px;
  font-size: 13px;
}

.flb-loc-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  cursor: pointer;
  transition: .12s ease;
  background: #fff;
}

.flb-loc-item+.flb-loc-item {
  margin-top: 10px
}

.flb-loc-item:hover {
  border-color: #fb923c;
  background: #fff7ed
}

.flb-loc-ico {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  display: grid;
  place-items: center;
  font-size: 18px;
}

.flb-loc-t {
  font-weight: 950;
  color: #0f172a
}

.flb-loc-s {
  margin-top: 2px;
  color: #64748b;
  font-size: 12px;
  font-weight: 700
}

/* Date calendar */
.flb-cal {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.flb-cal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.flb-cal-title {
  font-weight: 950;
  color: #0f172a
}

.flb-cal-nav {
  display: flex;
  gap: 8px
}

.flb-cal-nav button {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  background: #fff;
  cursor: pointer;
  font-weight: 950;
}

.flb-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.flb-cal-dow {
  font-size: 11px;
  font-weight: 900;
  color: #64748b;
  text-align: center
}

.flb-cal-day {
  height: 42px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-weight: 900;
  cursor: pointer;
}

.flb-cal-day.is-muted {
  opacity: .35;
  cursor: default
}

.flb-cal-day.is-today {
  border-color: #94a3b8
}

.flb-cal-day.is-selected {
  border-color: #fb923c;
  background: #fff7ed;
  box-shadow: 0 0 0 3px rgba(251, 146, 60, .18)
}

.flb-cal-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 6px
}

.flb-cal-actions button {
  height: 44px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  background: #fff;
  cursor: pointer;
  font-weight: 950;
  padding: 0 14px;
}

.flb-cal-actions .is-primary {
  background: #fb923c;
  border-color: #fb923c;
  color: #111827
}

/* Time grid */
.flb-time-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px
}

.flb-time-top strong {
  font-weight: 950;
  color: #0f172a
}

.flb-time-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-height: min(420px, 60vh);
  overflow: auto;
  padding-right: 4px;
}

.flb-time-btn {
  height: 56px;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  font-weight: 950;
  cursor: pointer;
}

.flb-time-btn:hover {
  border-color: #fb923c;
  background: #fff7ed
}

.flb-time-btn.is-selected {
  border-color: #0f172a;
  background: #0f172a;
  color: #fff
}

/* ===== Flatpickr Premium Look ===== */
.flatpickr-calendar {
  border: 1px solid rgba(2, 6, 23, .08);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(2, 6, 23, .18);
  overflow: hidden;
  font-family: Inter, system-ui, sans-serif;
}

.flatpickr-months {
  background: #fff;
  padding: 10px 10px 6px;
}

.flatpickr-current-month {
  font-weight: 800;
}

.flatpickr-weekdays {
  background: #fff;
  border-top: 1px solid rgba(2, 6, 23, .06);
  border-bottom: 1px solid rgba(2, 6, 23, .06);
}

.flatpickr-day {
  border-radius: 12px;
}

.flatpickr-day:hover {
  background: rgba(0, 0, 0, .06);
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: var(--flb-primary) !important;
  border-color: var(--flb-primary) !important;
  color: #fff !important;
}

.flatpickr-time {
  border-top: 1px solid rgba(2, 6, 23, .08);
}

.flatpickr-time input {
  font-weight: 800;
}

/* Inputs created by flatpickr */
.flb-form .flatpickr-input[readonly],
.flb-form input.flb-date,
.flb-form input.flb-time {
  background: #fff;
  border: 1px solid rgba(2, 6, 23, .10);
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 700;
  outline: none;
  transition: .2s ease;
  width: 100%;
}

.flb-form .flatpickr-input[readonly]:focus,
.flb-form input.flb-date:focus,
.flb-form input.flb-time:focus {
  box-shadow: 0 0 0 4px rgba(255, 122, 24, .18);
}

/* ===== Checkout premium ===== */
.flb-checkout-v1 .flb-boxHead h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.flb-checkout-v1 .flb-boxHead p {
  margin: 6px 0 0;
  opacity: .75;
}

.flb-box--soft {
  background: #fff;
  border: 1px solid rgba(2, 6, 23, .08);
  border-radius: var(--flb-radius);
}

.flb-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 820px) {
  .flb-row2 {
    grid-template-columns: 1fr;
  }
}

.flb-phone {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
  align-items: stretch;
}

.flb-phoneCode {
  width: 100%;
  border: 1px solid rgba(2, 6, 23, .10);
  border-radius: 14px;
  padding: 12px 10px;
  font-weight: 800;
  background: #fff;
}

.flb-muted {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  opacity: .7;
}

.flb-warn {
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(234, 88, 12, .25);
  background: rgba(234, 88, 12, .08);
  color: #7c2d12;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.flb-payMethods {
  display: grid;
  gap: 10px;
}

.flb-payMethod {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(2, 6, 23, .10);
  border-radius: 14px;
  padding: 12px 12px;
}

.flb-disabled {
  opacity: .55;
  cursor: not-allowed;
}

.flb-summary--sticky {
  position: sticky;
  top: 18px;
}

.flb-snote {
  font-size: 12px;
  opacity: .75;
  margin-top: 4px;
}

.flb-payExtrasTitle {
  font-weight: 900;
  margin-bottom: 8px;
}

.flb-payExtraLine {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid rgba(2, 6, 23, .06);
}

.flb-payExtraLine:last-child {
  border-bottom: 0;
}

/* ==================================================
   FLB RESULTS v2 (Force apply) - put at END of file
================================================== */

.flb-r1 * {
  box-sizing: border-box !important;
}

.flb-r1 {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
}

/* Header Stepper V2 - Compact Refinement */
.flb-r1-head {
  background: #0f172a !important;
  border-radius: 12px !important;
  padding: 16px 20px !important; /* Reduced from 24px 28px */
  color: #fff !important;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px -10px rgba(15, 23, 42, 0.4) !important;
  margin-bottom: 20px !important;
}

.flb-r1-steps {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  position: relative !important;
  z-index: 2 !important;
  gap: 12px !important;
}

.flb-r1-steps .st {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 8px !important; /* Reduced from 10px */
  flex: 1 !important;
  text-align: center !important;
  position: relative !important;
  transition: all 0.3s ease !important;
}

.flb-r1-steps .st a {
  text-decoration: none !important;
  color: inherit !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 8px !important;
  width: 100% !important;
}

/* Number Circle - Smaller */
.flb-r1-steps .st .n {
  width: 26px !important; /* Reduced from 32px */
  height: 26px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.15) !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
  z-index: 5 !important;
}

/* Icons inside circle */
.flb-r1-steps .st .n i {
    font-size: 14px !important;
}

/* Active State */
.flb-r1-steps .st.is-active .n {
  background: var(--flb-primary, #10b981) !important;
  border-color: var(--flb-primary, #10b981) !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15) !important;
  color: #fff !important;
}

/* Done State */
.flb-r1-steps .st.is-done .n {
  background: var(--flb-primary, #10b981) !important;
  border-color: var(--flb-primary, #10b981) !important;
  color: #fff !important;
}

/* Label Text - Smaller */
.flb-r1-steps .st .t {
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.4px !important;
  opacity: 0.5 !important;
  transition: all 0.3s ease !important;
}

.flb-r1-steps .st.is-active .t,
.flb-r1-steps .st.is-done .t {
  opacity: 1 !important;
  font-weight: 700 !important;
}

/* Clickable interactions */
.flb-r1-steps .st.is-clickable:hover .n {
  transform: scale(1.08) !important;
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: #fff !important;
}

/* Bar Underneath (Progress) - Tighter */
.flb-r1-bar {
  margin: 8px 0 14px !important; /* Reduced from 10px 16px */
  height: 3px !important; /* Thinner */
  background: rgba(255, 255, 255, 0.05) !important;
  border-radius: 10px !important;
  overflow: hidden !important;
}

.flb-r1-bar span {
  display: block !important;
  height: 100% !important;
  background: linear-gradient(90deg, var(--flb-primary, #10b981), #34d399) !important;
}

.flb-r1-head-bottom {
  margin-top: 8px !important;
}

.flb-r1-title-wrap {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 15px !important;
  margin-bottom: 2px !important;
}

.flb-r1-title {
  font-size: 24px !important; /* Reduced from 28px */
  font-weight: 800 !important;
  line-height: 1.1 !important;
}

.flb-r1-head-bottom {
  margin-top: 10px !important;
}

.flb-r1-title-wrap {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 15px !important;
  margin-bottom: 4px !important;
}

/* Mobile Toggle Button */
.flb-mobile-details-toggle {
  display: none !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 6px 14px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 999px !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  flex-shrink: 0 !important;
}

.flb-mobile-details-toggle:hover,
.flb-mobile-details-toggle.is-active {
  background: rgba(255, 255, 255, 0.18) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
}

/* Mobile Details Content (Accordion) */
.flb-mobile-details-content {
  transition: max-height 0.3s ease-out, opacity 0.3s ease !important;
  overflow: hidden !important;
}

@media (max-width: 768px) {
  .flb-mobile-details-toggle {
    display: flex !important;
  }
  .flb-mobile-details-content {
    max-height: 0 !important;
    opacity: 0 !important;
  }
  .flb-mobile-details-content.is-visible {
    max-height: 500px !important;
    opacity: 1 !important;
    margin-top: 15px !important;
    padding-top: 15px !important;
    border-top: 1px dashed rgba(255, 255, 255, 0.12) !important;
  }
}

.flb-r1-title {
  font-size: 34px !important;
  font-weight: 1000 !important;
  margin-top: 6px !important;
}

.flb-r1-meta {
  margin-top: 10px !important;
  display: flex !important;
  gap: 14px !important;
  flex-wrap: wrap !important;
  opacity: .92 !important;
  font-weight: 800 !important;
}

.flb-r1-meta i {
  margin-right: 6px !important;
}

/* Grid */
.flb-r1-wrap {
  padding: 18px 0 0 !important;
}

.flb-r1-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 22px !important;
}

@media (max-width:1100px) {
  .flb-r1-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width:720px) {
  .flb-r1-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Card */
.flb-r1-card {
  background: #fff !important;
  border: 1px solid rgba(2, 6, 23, .12) !important;
  border-radius: 18px !important;
  padding: 18px !important;
  box-shadow: 0 10px 28px rgba(2, 6, 23, .06) !important;
  position: relative !important;
}

.flb-r1-top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  margin-bottom: 10px !important;
}

.flb-r1-cat {
  color: var(--flb-primary, #ff7a18) !important;
  font-weight: 1000 !important;
  font-size: 16px !important;
}

.flb-r1-sale {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-weight: 1000 !important;
}

.flb-r1-sale .sale-pill {
  background: linear-gradient(135deg, rgba(255, 122, 24, 1), rgba(255, 62, 90, 1)) !important;
  color: #fff !important;
  padding: 6px 10px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  box-shadow: 0 10px 20px rgba(255, 122, 24, .22) !important;
}

.flb-r1-sale .sale-text {
  font-size: 12px !important;
  opacity: .85 !important;
}

.flb-r1-name {
  margin: 0 !important;
  font-size: 20px !important;
  line-height: 1.15 !important;
  font-weight: 1000 !important;
  letter-spacing: .01em !important;
}

.flb-r1-sub {
  margin-top: 6px !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
  opacity: .72 !important;
}

.flb-r1-img {
  margin: 18px 0 14px !important;
  height: 220px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.flb-r1-img img {
  width: 100% !important;
  max-height: 220px !important;
  object-fit: contain !important;
}

/* Icons */
.flb-r1-icons {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
  text-align: center !important;
  margin: 8px 0 12px !important;
}

.flb-r1-icons .box {
  width: 52px !important;
  height: 52px !important;
  margin: 0 auto 8px !important;
  border-radius: 12px !important;
  border: 2px solid rgba(2, 6, 23, .55) !important;
  display: grid !important;
  place-items: center !important;
  font-size: 20px !important;
  color: rgba(2, 6, 23, .70) !important;
}

.flb-r1-icons .lbl {
  font-size: 13px !important;
  line-height: 1.15 !important;
  font-weight: 900 !important;
  opacity: .88 !important;
}

/* Price */
.flb-r1-price {
  margin-top: 14px !important;
}

.flb-r1-priceMain {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 12px !important;
}

.flb-r1-priceMain .now {
  display: flex !important;
  align-items: baseline !important;
  gap: 8px !important;
}

.flb-r1-priceMain .now .amount {
  font-size: 34px !important;
  line-height: 1 !important;
  font-weight: 1100 !important;
  color: var(--flb-primary, #ff7a18) !important;
}

.flb-r1-priceMain .now .cur {
  font-weight: 1000 !important;
  opacity: .9 !important;
}

.flb-r1-priceMain .now .per {
  font-weight: 900 !important;
  opacity: .8 !important;
  font-size: 14px !important;
}

.flb-r1-priceMain .was {
  text-align: right !important;
  font-weight: 1000 !important;
  opacity: .55 !important;
  text-decoration: line-through !important;
  font-size: 14px !important;
  line-height: 1.1 !important;
}

.flb-r1-totalLine {
  margin-top: 10px !important;
  padding-top: 10px !important;
  border-top: 1px dashed rgba(2, 6, 23, .14) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.flb-r1-totalLine .k {
  font-size: 13px !important;
  font-weight: 1000 !important;
  opacity: .75 !important;
}

.flb-r1-totalLine .v {
  font-size: 16px !important;
  font-weight: 1100 !important;
  color: rgba(2, 6, 23, .90) !important;
}

.flb-r1-save {
  margin-top: 10px !important;
  background: rgba(255, 122, 24, .10) !important;
  border: 1px solid rgba(255, 122, 24, .22) !important;
  padding: 10px 12px !important;
  border-radius: 12px !important;
  font-weight: 1000 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-size: 13px !important;
}

.flb-r1-btn {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  background: var(--flb-primary, #ff7a18) !important;
  color: #fff !important;
  padding: 14px 14px !important;
  border-radius: 8px !important;
  font-weight: 1100 !important;
  text-decoration: none !important;
  transition: transform .15s ease, filter .15s ease !important;
  margin-top: 14px !important;
  border: none !important;
  font-size: 15px !important;
  cursor: pointer !important;
}

.flb-r1-btn:hover {
  transform: translateY(-1px) !important;
  filter: brightness(1.02) !important;
}

/* Select (available) */
.flb-r1-select {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}

.flb-r1-select:hover {
  background: #e86a10 !important;
  color: #fff !important;
}

/* Sold Out (disabled) */
.flb-r1-soldout {
  background: #9ca3af !important;
  cursor: not-allowed !important;
  opacity: .7 !important;
}

.flb-r1-soldout:hover {
  transform: none !important;
  filter: none !important;
}

/* =========================================
   FLB Process Bar – Typography Balance
   ========================================= */

/* Mobile tuning V2 - Ultra Compact & Simplified */
@media (max-width: 768px) {
  .flb-r1-head {
      padding: 12px 14px 16px !important; /* Further reduced */
      border-radius: 10px !important;
  }
  .flb-r1-steps {
      gap: 4px !important;
  }
  .flb-r1-steps .st {
      flex: 0 0 auto !important;
      gap: 6px !important;
  }
  .flb-r1-steps .st .t {
    display: none !important;
  }
  .flb-r1-steps .st.is-active {
      flex: 1 !important;
  }
  .flb-r1-steps .st.is-active .t {
      display: block !important;
      font-size: 12px !important;
      font-weight: 700 !important;
      white-space: nowrap !important;
  }
  .flb-r1-steps .st .n {
      width: 24px !important; /* Even smaller on mobile */
      height: 24px !important;
      font-size: 12px !important;
      border-width: 1px !important;
  }
  
  .flb-r1-bar {
    margin: 6px 0 12px !important;
    height: 2px !important;
  }
  
  .flb-r1-title {
    font-size: 18px !important;
  }
  
  .flb-mobile-details-toggle {
    padding: 4px 10px !important;
    font-size: 12px !important;
  }
}

/* =================================
   THANK YOU = Ticket / Voucher
================================= */

.flb-ticket-wrap {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 15px;
  font-family: Inter, system-ui, sans-serif;
}

.flb-ticket-top {
  background: #fff;
  border: 1px solid rgba(2, 6, 23, .08);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .04);
  margin-bottom: 24px;
}

.flb-ticket-ok {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #10b981;
  color: #fff;
  font-size: 32px;
  box-shadow: 0 8px 24px rgba(16, 185, 129, .25);
}

.flb-ticket-head {
  flex: 1;
}

.flb-ticket-head h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
}

.flb-ticket-head p {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 15px;
  font-weight: 500;
}

.flb-ticket-actions {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.flb-ticket-actions .flb-btn {
  background: var(--flb-primary, #10b981);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  text-decoration: none;
}
.flb-ticket-actions .flb-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, .2);
}

.flb-ticket-actions .flb-btn-ghost {
  background: #f1f5f9;
  color: #334155;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}
.flb-ticket-actions .flb-btn-ghost:hover {
  background: #e2e8f0;
}

.flb-ticket-ref {
  min-width: 220px;
  text-align: right;
  background: #f8fafc;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.flb-ticket-ref .k {
  font-weight: 600;
  color: #64748b;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.flb-ticket-ref .v {
  font-weight: 800;
  font-size: 16px;
  color: #0f172a;
  margin-top: 4px;
}

@media (max-width: 860px) {
  .flb-ticket-top {
    flex-direction: column;
    align-items: stretch;
  }
  .flb-ticket-ok {
    align-self: flex-start;
  }
  .flb-ticket-ref {
    text-align: left;
    min-width: auto;
  }
}

/* Ticket body */
.flb-ticket {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
}

@media (max-width: 980px) {
  .flb-ticket {
    grid-template-columns: 1fr;
  }
}

.flb-ticket-left {
  background: #fff;
  border: 1px solid rgba(2, 6, 23, .08);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .04);
}

.flb-ticket-car {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid rgba(2, 6, 23, .06);
  background: #f8fafc;
}

.flb-ticket-car img {
  width: 180px;
  height: auto;
  max-height: 120px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.flb-ticket-car .meta .t {
  font-weight: 800;
  font-size: 22px;
  color: #0f172a;
}

.flb-ticket-car .meta .s {
  color: #64748b;
  font-weight: 600;
  margin-top: 6px;
  display: inline-block;
  background: #e2e8f0;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
}

@media (max-width: 600px) {
  .flb-ticket-car {
    flex-direction: column;
    align-items: flex-start;
  }
  .flb-ticket-car img {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
  }
}

.flb-ticket-grid {
  padding: 8px 24px 24px;
}

.flb-ticket-grid .it {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #f1f5f9;
}

.flb-ticket-grid .it:last-child {
  border-bottom: 0;
}

.flb-ticket-grid .l {
  color: #64748b;
  font-weight: 600;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 15px;
}
.flb-ticket-grid .l i {
  color: #94a3b8;
  font-size: 18px;
}

.flb-ticket-grid .r {
  font-weight: 700;
  color: #0f172a;
  font-size: 15px;
}

@media (max-width: 700px) {
  .flb-ticket-grid .it {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 12px 0;
  }
}

/* extras list */
.flb-ticket-extras {
  padding: 20px 24px;
  background: #f8fafc;
  border-top: 1px solid rgba(2, 6, 23, .06);
}

.flb-ticket-extras .h {
  font-weight: 800;
  font-size: 16px;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.flb-ticket-extras .h i { color: var(--flb-primary, #10b981); }

.flb-ticket-extras .row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  font-weight: 600;
  color: #334155;
}

.flb-ticket-extras .row .a span {
  color: #94a3b8;
  font-weight: 700;
  margin-left: 6px;
  background: #e2e8f0;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
}

.flb-ticket-extras .row .b {
  font-weight: 700;
  color: #0f172a;
}

/* RIGHT (perforated / invoice strip) */
.flb-ticket-right {
  position: relative;
  background: #fff;
  border: 1px solid rgba(2, 6, 23, .08);
  border-radius: 20px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .04);
  overflow: hidden;
  height: max-content;
}

/* perforation effect */
.flb-ticket-right:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 24px;
  background: radial-gradient(circle at 12px 16px, transparent 6px, #f8fafc 6.5px) 0 0/24px 32px;
  border-right: 1px dashed rgba(2, 6, 23, .10); /* subtle cut line */
}

/* hide perforation on small mobile where they stack */
@media (max-width: 980px) {
  .flb-ticket-right:before {
    display: none;
  }
  .flb-ticket-recap {
    padding-left: 24px !important;
  }
}

.flb-ticket-recap {
  padding: 24px 24px 24px 44px;
}

.flb-ticket-recap .title {
  font-weight: 800;
  font-size: 18px;
  color: #0f172a;
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 24px;
}
.flb-ticket-recap .title i { color: #64748b; font-size: 20px; }

.flb-ticket-recap .line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 15px;
}

.flb-ticket-recap .line:last-of-type {
  border-bottom: 0;
}

.flb-ticket-recap .line span {
  color: #64748b;
  font-weight: 600;
}
.flb-ticket-recap .line strong {
  color: #0f172a;
  font-weight: 700;
}

.flb-ticket-recap .line.big {
  background: #f8fafc;
  padding: 16px;
  margin: 8px -16px;
  border-radius: 12px;
  border: none;
}
.flb-ticket-recap .line.big span {
  color: #0f172a;
  font-weight: 800;
  font-size: 16px;
}
.flb-ticket-recap .line.big strong {
  font-size: 22px;
  color: var(--flb-primary, #10b981);
  font-weight: 800;
}

.flb-ticket-recap .sep {
  display: none;
}

.flb-ticket-recap .mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed #cbd5e1;
}

.flb-ticket-recap .mini span {
  display: block;
  font-size: 12px;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.flb-ticket-recap .mini strong {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  font-weight: 700;
  color: #334155;
}

.flb-ticket-recap .qr {
  margin-top: 24px;
}

.flb-ticket-recap .qr .box {
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  gap: 16px;
  align-items: center;
}

.flb-ticket-recap .qr .q {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid #e2e8f0;
  font-weight: 800;
  color: #0f172a;
  font-size: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.flb-ticket-recap .qr .t {
  font-weight: 700;
  color: #334155;
  font-size: 15px;
}

.flb-ticket-recap .qr .hint {
  margin-top: 12px;
  color: #64748b;
  font-weight: 500;
  font-size: 13px;
  text-align: center;
}

/* Print rules */
@media print {
  body {
    background: #fff !important;
  }

  header,
  footer,
  nav,
  .site-header,
  .site-footer {
    display: none !important;
  }

  .flb-ticket-actions {
    display: none !important;
  }

  .flb-ticket-top,
  .flb-ticket-left,
  .flb-ticket-right {
    box-shadow: none !important;
    border: 1px solid #ccc !important;
  }
  
  .flb-ticket-right:before {
    display: none !important;
  }

  .flb-ticket-wrap {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }
}

/* =========================
   Checkout Payment Offers
========================= */

.flb-offers {
  display: grid;
  gap: 12px;
  margin-top: 10px;
}

.flb-offer {
  position: relative;
  border: 1px solid rgba(2, 6, 23, .12);
  border-radius: 16px;
  background: #fff;
  padding: 14px 14px 12px;
  cursor: pointer;
  transition: .18s ease;
  box-shadow: 0 10px 24px rgba(2, 6, 23, .06);
}

.flb-offer input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.flb-offer:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(2, 6, 23, .09);
}

.flb-offer.is-selected {
  border-color: rgba(255, 122, 24, .55);
  box-shadow: 0 18px 42px rgba(255, 122, 24, .12);
  background: linear-gradient(0deg, rgba(255, 122, 24, .06), rgba(255, 122, 24, .03));
}

.flb-offer-badge {
  position: absolute;
  left: 0;
  top: 0;
  background: #ff2d2d;
  color: #fff;
  font-weight: 1000;
  font-size: 12px;
  padding: 6px 12px;
  border-top-left-radius: 16px;
  border-bottom-right-radius: 16px;
}

.flb-offer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-left: 2px;
}

.flb-offer-title {
  font-size: 18px;
  font-weight: 1100;
  letter-spacing: .2px;
}

.flb-offer-desc {
  margin-top: 6px;
  opacity: .8;
  font-weight: 800;
  font-size: 13px;
  line-height: 1.35;
  max-width: 780px;
}

.flb-offer-check {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(2, 6, 23, .18);
  opacity: .6;
  flex: 0 0 auto;
}

.flb-offer.is-selected .flb-offer-check {
  border-color: rgba(255, 122, 24, .9);
  background: rgba(255, 122, 24, .12);
  opacity: 1;
}

.flb-offer-prices {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.flb-offer-old,
.flb-offer-now {
  border-radius: 12px;
  padding: 12px;
  border: 1px solid rgba(2, 6, 23, .10);
  background: rgba(2, 6, 23, .02);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-weight: 900;
}

.flb-offer-old strong {
  color: #ff2d2d;
  text-decoration: line-through;
  font-size: 18px;
  font-weight: 1100;
}

.flb-offer-now strong {
  color: #16a34a;
  font-size: 20px;
  font-weight: 1100;
}

.flb-offer-old span,
.flb-offer-now span {
  font-size: 12px;
  opacity: .7;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.flb-offer-old em,
.flb-offer-now em {
  font-style: normal;
  opacity: .7;
  font-weight: 1000;
}

@media (max-width: 620px) {
  .flb-offer-prices {
    grid-template-columns: 1fr;
  }
}

.flb-offer-sub {
  margin-top: 10px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: .8;
  font-weight: 900;
  font-size: 12px;
}

.flb-offer-sub i {
  margin-right: 6px;
}

/* Right recap */
.flb-payRecap {
  background: rgba(2, 6, 23, .02);
  border: 1px solid rgba(2, 6, 23, .10);
  border-radius: 14px;
  padding: 12px;
  margin: 12px 0;
}

.flb-payRecap .row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(2, 6, 23, .12);
  font-weight: 900;
}

.flb-payRecap .row:last-child {
  border-bottom: 0;
}

.flb-payRecap .is-green {
  color: #16a34a;
}

/* =========================================================
   CHECKOUT (Step 3) — Spacing + Typography Fix (PATCH)
   ضع هذا الكود فآخر public.css
========================================================= */

/* Global rhythm inside checkout boxes */
.flb-step__grid {
  gap: 22px;
  align-items: start;
}

.flb-box {
  padding: 22px;
}

.flb-boxHead {
  margin-bottom: 14px;
}

.flb-boxHead h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  line-height: 1.2;
  margin: 0 0 6px;
  letter-spacing: .2px;
}

.flb-boxHead p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  opacity: .85;
}

/* Form spacing */
.flb-form {
  margin-top: 14px;
}

.flb-row2 {
  gap: 14px;
  margin-bottom: 12px;
}

.flb-field {
  margin-bottom: 12px;
}

.flb-field label {
  display: block;
  font-size: 12.5px;
  font-weight: 900;
  margin: 0 0 7px;
  letter-spacing: .15px;
}

.flb-field input,
.flb-field select,
.flb-field textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  line-height: 1.25;
}

.flb-muted {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.45;
  opacity: .75;
}

/* Phone input: more breathing room */
.flb-phone {
  gap: 10px;
}

.flb-phoneCode {
  padding: 11px 10px;
  border-radius: 12px;
  min-width: 110px;
}

/* Warning box */
.flb-warn {
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 12.5px;
  line-height: 1.35;
}

/* Terms */
.flb-terms {
  margin-top: 12px;
}

.flb-termsRow {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}

.flb-termsRow input {
  margin-top: 3px;
}

/* Actions */
.flb-actions-row {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(2, 6, 23, .08);
  gap: 12px;
}

/* Payment methods */
.flb-payMethods {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.flb-payMethod {
  padding: 12px 12px;
  border-radius: 14px;
}

.flb-payMethod span {
  font-size: 13px;
  line-height: 1.35;
}

.flb-payMethod strong {
  font-weight: 1100;
}

/* =========================
   Offers — Fix overlap + spacing
========================= */
.flb-offers {
  gap: 14px;
  margin-top: 10px;
}

/* Ensure badge doesn't collide with title */
.flb-offer {
  padding: 18px 16px 14px;
  overflow: hidden;
}

.flb-offer-badge {
  top: 0;
  left: 0;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 1100;
}

/* Add top padding to content so badge doesn't overlap text */
.flb-offer-head {
  padding-top: 10px;
  gap: 14px;
}

.flb-offer-title {
  font-size: 16.5px;
  line-height: 1.22;
  margin: 0;
}

.flb-offer-desc {
  font-size: 13px;
  line-height: 1.5;
  margin-top: 6px;
  opacity: .86;
}

.flb-offer-check {
  width: 30px;
  height: 30px;
  opacity: .75;
}

.flb-offer-prices {
  margin-top: 14px;
  gap: 12px;
}

.flb-offer-old,
.flb-offer-now {
  padding: 12px 12px;
  align-items: center;
}

.flb-offer-old span,
.flb-offer-now span {
  font-size: 11.5px;
  letter-spacing: .09em;
}

.flb-offer-old strong {
  font-size: 17px;
}

.flb-offer-now strong {
  font-size: 18px;
}

/* Icons row under offers */
.flb-offer-sub {
  margin-top: 12px;
  gap: 14px;
  font-size: 12px;
  line-height: 1.35;
  opacity: .85;
}

.flb-offer-sub span {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* =========================
   Right Summary — cleaner spacing
========================= */
.flb-summary {
  padding: 18px;
}

.flb-summary h3 {
  font-size: 16px;
  line-height: 1.2;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.flb-summary-car {
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(2, 6, 23, .08);
}

.flb-summary-car img {
  width: 64px;
  height: 46px;
  object-fit: cover;
  border-radius: 12px;
}

.flb-summary-carname {
  font-size: 14.5px;
  line-height: 1.25;
  font-weight: 1100;
}

.flb-summary-days {
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.35;
  opacity: .75;
}

.flb-srow {
  padding: 10px 0;
  gap: 12px;
}

.flb-slabel {
  font-size: 12px;
  font-weight: 1000;
  opacity: .75;
  margin-bottom: 4px;
}

.flb-sval {
  font-size: 13px;
  line-height: 1.45;
  font-weight: 900;
}

.flb-snote {
  margin-top: 4px;
  font-size: 12px;
  opacity: .7;
}

.flb-hr {
  margin: 12px 0;
  opacity: .9;
}

.flb-summary-line {
  padding: 8px 0;
  font-size: 13px;
  line-height: 1.35;
}

.flb-summary-line strong {
  font-weight: 1100;
}

/* Selected extras */
.flb-payExtras {
  padding-top: 2px;
}

.flb-payExtrasTitle {
  font-size: 12px;
  font-weight: 1100;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .7;
  margin-bottom: 10px;
}

.flb-payExtraLine {
  padding: 7px 0;
  font-size: 13px;
  line-height: 1.35;
}

/* Offer recap box */
.flb-payRecap {
  padding: 12px 12px;
  border-radius: 14px;
}

.flb-payRecap .row {
  padding: 9px 0;
  font-size: 13px;
  line-height: 1.3;
}

/* Total bar */
.flb-totalbar {
  margin-top: 12px;
  padding: 14px 14px;
  border-radius: 14px;
}

.flb-totalbar .tlabel {
  font-size: 12px;
  font-weight: 1100;
  opacity: .75;
}

.flb-totalbar .tval {
  font-size: 20px;
  font-weight: 1200;
  line-height: 1.1;
}

/* Responsive: tighten columns properly */
@media (max-width: 980px) {
  .flb-step__grid {
    grid-template-columns: 1fr;
  }


  .flb-summary--sticky {
    position: static !important;
    top: auto !important;
  }
}

/* =========================================
   Thank You Page Redesign (Airbnb Style)
   ========================================= */

.flb-thx-new {
    background-color: #f8fafc !important;
    padding-bottom: 60px !important;
}

.flb-thx-container {
    max-width: 1100px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

/* 1. Header Styles */
.flb-thx-header {
    text-align: center !important;
    padding: 40px 0 50px !important;
}

.flb-thx-header .success-badge {
    width: 64px !important;
    height: 64px !important;
    background: #ecfdf5 !important;
    color: #10b981 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 32px !important;
    margin: 0 auto 20px !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1) !important;
}

.flb-thx-header h1 {
    font-size: 32px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-bottom: 10px !important;
    letter-spacing: -1px !important;
}

.flb-thx-header .ref {
    font-size: 16px !important;
    color: #64748b !important;
    margin-bottom: 30px !important;
}

.flb-thx-header .header-actions {
    display: flex !important;
    justify-content: center !important;
    gap: 15px !important;
    flex-wrap: wrap !important;
}

.header-actions .btn-primary,
.header-actions .btn-secondary,
.header-actions .btn-ghost {
    padding: 12px 24px !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
}

.header-actions .btn-primary {
    background: #0f172a !important;
    color: #fff !important;
    border: none !important;
}

.header-actions .btn-primary:hover {
    background: #1e293b !important;
    transform: translateY(-2px) !important;
}

.header-actions .btn-secondary {
    background: #fff !important;
    color: #0f172a !important;
    border: 1px solid #e2e8f0 !important;
}

.header-actions .btn-secondary:hover {
    border-color: #cbd5e1 !important;
    background: #f8fafc !important;
}

.header-actions .btn-ghost {
    background: transparent !important;
    color: #64748b !important;
    border: 1px solid transparent !important;
}

.header-actions .btn-ghost:hover {
    color: #0f172a !important;
    background: rgba(15, 23, 42, 0.05) !important;
}

/* 2. Grid & Cards */
.flb-thx-grid {
    display: grid !important;
    grid-template-columns: 1.6fr 1fr !important;
    gap: 30px !important;
}

.thx-card {
    background: #fff !important;
    border-radius: 16px !important;
    border: 1px solid #e2e8f0 !important;
    overflow: hidden !important;
    margin-bottom: 24px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
}

.thx-card.car-card {
    display: flex !important;
    align-items: center !important;
    padding: 20px !important;
    gap: 20px !important;
}

.car-image {
    width: 160px !important;
    height: 100px !important;
    flex-shrink: 0 !important;
}

.car-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

.car-details h3 {
    font-size: 20px !important;
    font-weight: 700 !important;
    margin: 0 0 8px !important;
}

.duration-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: #f1f5f9 !important;
    color: #475569 !important;
    padding: 6px 12px !important;
    border-radius: 99px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

/* Info Grid */
.thx-card .card-title {
    padding: 18px 24px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.info-grid {
    padding: 24px !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 24px !important;
}

.info-item label {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #94a3b8 !important;
    margin-bottom: 6px !important;
    font-weight: 600 !important;
}

.info-item .val strong {
    display: block !important;
    font-size: 15px !important;
    color: #0f172a !important;
}

.info-item .val span {
    font-size: 14px !important;
    color: #64748b !important;
}

/* Extras */
.extras-list {
    padding: 18px 24px !important;
}

.ex-row {
    display: flex !important;
    justify-content: space-between !important;
    padding: 8px 0 !important;
    font-size: 14px !important;
}

.ex-name { color: #475569 !important; }
.ex-price { font-weight: 600 !important; }

/* 3. Aside / Recap */
.recap-lines {
    padding: 24px !important;
}

.recap-lines .line {
    display: flex !important;
    justify-content: space-between !important;
    margin-bottom: 14px !important;
    font-size: 14px !important;
    color: #64748b !important;
}

.recap-lines .line.promo {
    color: #10b981 !important;
    font-weight: 600 !important;
}

.total-line {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: 20px !important;
    padding-top: 18px !important;
    border-top: 2px solid #f1f5f9 !important;
    color: #0f172a !important;
    font-weight: 700 !important;
}

.total-line .amount {
    font-size: 22px !important;
    color: #ef4444 !important;
}

.recap-lines .sep {
    height: 1px !important;
    background: #f1f5f9 !important;
    margin: 20px 0 !important;
}

.payment-info strong {
    color: #0f172a !important;
}

.pay-now .amount-small {
    font-weight: 700 !important;
    color: #0f172a !important;
}

/* QR Card */
.qr-content {
    padding: 24px !important;
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    background: #f8fafc !important;
}

.qr-content img {
    width: 90px !important;
    height: 90px !important;
    border: 4px solid #fff !important;
    border-radius: 8px !important;
}

.qr-text strong {
    display: block !important;
    font-size: 15px !important;
    margin-bottom: 4px !important;
}

.qr-text p {
    font-size: 13px !important;
    color: #64748b !important;
    line-height: 1.4 !important;
}

/* Responsive */
@media (max-width: 900px) {
    .flb-thx-grid {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }
    
    .flb-thx-header h1 { font-size: 24px !important; }
    
    .thx-card.car-card {
        flex-direction: column !important;
        text-align: center !important;
    }
    
    .info-grid { grid-template-columns: 1fr !important; }
    
    .qr-content { flex-direction: column !important; text-align: center !important; }
}

@media print {
    .flb-r1-head, .header-actions, .flb-mobile-details-toggle {
        display: none !important;
    }
    body { background: #fff !important; }
    .thx-card { box-shadow: none !important; border: 1px solid #eee !important; }
    .flb-thx-container { max-width: 100% !important; }
}