/* Family travel eSIM (/family, /family/order, /family/esim). Self-contained so
   it does not depend on Tailwind classes surviving the purged build. */
.fam-page {
  --fam-ink: #0f172a;
  --fam-ink-2: #334155;
  --fam-muted: #64748b;
  --fam-line: #e2e8f0;
  --fam-soft: #f8fafc;
  --fam-brand: #4f46e5;
  --fam-brand-ink: #4338ca;
  --fam-brand-deep: #312e81;
  --fam-brand-soft: #eef2ff;
  --fam-ok: #059669;
  --fam-ok-soft: #ecfdf5;
  --fam-warn: #b45309;
  --fam-warn-soft: #fffbeb;
  --fam-radius: 20px;
  color: var(--fam-ink);
  background: #f6f7fb;
}
.fam-page svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fam-wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .fam-wrap { padding: 0 24px; } }
.fam-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.fam-muted { margin: 0; color: var(--fam-muted); font-size: 15px; line-height: 1.55; }
.fam-muted a, .fam-tip a, .fam-legal a, .fam-help-list a { color: var(--fam-brand-ink); font-weight: 600; }
[hidden] { display: none !important; }

/* Buttons */
.fam-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 22px; border-radius: 14px; border: 1px solid transparent; font-size: 16px; font-weight: 700; text-decoration: none; cursor: pointer; transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease; -webkit-tap-highlight-color: transparent; }
.fam-btn:focus-visible, .fam-chip:focus-visible, .fam-plan:focus-visible, .fam-seg button:focus-visible, .fam-stepper-btn:focus-visible, .fam-faq summary:focus-visible, .fam-share:focus-visible { outline: 3px solid #818cf8; outline-offset: 2px; }
.fam-btn:disabled { opacity: .45; cursor: not-allowed; }
.fam-btn-primary { background: var(--fam-brand); color: #fff; box-shadow: 0 8px 20px rgb(79 70 229 / .25); }
.fam-btn-primary:not(:disabled):hover { background: var(--fam-brand-ink); color: #fff; transform: translateY(-1px); }
.fam-btn-secondary { background: #fff; border-color: #cbd5e1; color: var(--fam-ink-2); }
.fam-btn-secondary:hover { border-color: #94a3b8; }
.fam-btn-light { background: #fff; color: var(--fam-brand-deep); }
.fam-btn-light:hover { background: var(--fam-brand-soft); color: var(--fam-brand-deep); }
.fam-btn-ghost { border-color: rgb(255 255 255 / .4); color: #fff; }
.fam-btn-ghost:hover { background: rgb(255 255 255 / .1); color: #fff; }
.fam-btn-block { width: 100%; }
.fam-btn.is-loading { position: relative; color: transparent !important; }
.fam-btn.is-loading::after { content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%; border: 3px solid rgb(255 255 255 / .5); border-top-color: #fff; animation: fam-spin .8s linear infinite; }
@keyframes fam-spin { to { transform: rotate(360deg); } }

/* Hero */
.fam-hero { position: relative; overflow: hidden; padding: 40px 0 56px; background: radial-gradient(circle at 88% 0%, rgb(129 140 248 / .45), transparent 42%), radial-gradient(circle at 0% 100%, rgb(16 185 129 / .18), transparent 40%), linear-gradient(135deg, #1e1b4b 0%, #312e81 45%, #4f46e5 100%); color: #fff; }
.fam-hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .fam-hero { padding: 56px 0 88px; } .fam-hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; } }
.fam-crumbs { display: flex; gap: 8px; margin-bottom: 22px; font-size: 13px; color: #c7d2fe; }
.fam-crumbs a { color: #e0e7ff; text-decoration: none; }
.fam-crumbs a:hover { text-decoration: underline; }
.fam-eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #a5b4fc; }
.fam-hero h1 { margin: 0; font-size: clamp(2.3rem, 6.2vw, 4.1rem); line-height: 1.04; font-weight: 800; letter-spacing: -.025em; }
.fam-hero h1 span { color: #c7d2fe; }
.fam-lead { margin: 18px 0 0; max-width: 36rem; font-size: 1.15rem; line-height: 1.6; color: #e0e7ff; }
.fam-offer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; max-width: 520px; }
.fam-offer li { display: grid; gap: 2px; padding: 12px 12px; border-radius: 14px; background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .16); }
.fam-offer strong { font-size: 1.15rem; font-weight: 800; }
.fam-offer span { font-size: 13px; color: #c7d2fe; }
.fam-offer .is-best { background: #fff; color: var(--fam-brand-deep); border-color: #fff; }
.fam-offer .is-best span { color: var(--fam-brand-ink); }
.fam-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.fam-hero-help { display: flex; align-items: center; gap: 8px; margin: 18px 0 0; font-size: 14px; font-weight: 600; color: #d1fae5; }
.fam-hero-help svg { width: 18px; height: 18px; flex: 0 0 18px; }

.fam-hero-visual { position: relative; height: 330px; max-width: 460px; width: 100%; margin: 0 auto; }
@media (max-width: 959px) { .fam-hero-visual { height: 280px; } }
@media (max-width: 420px) { .fam-hero-visual { height: 250px; } }
.fam-ticket { position: absolute; width: 62%; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto auto; column-gap: 12px; padding: 16px 16px 16px 18px; border-radius: 18px; background: #fff; color: var(--fam-ink); box-shadow: 0 24px 50px rgb(15 23 42 / .35); }
.fam-ticket::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 4px; border-radius: 0 4px 4px 0; background: var(--fam-brand); }
.fam-ticket-k { grid-column: 1; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--fam-brand-ink); }
.fam-ticket-n { grid-column: 1; font-size: 20px; font-weight: 800; line-height: 1.2; }
.fam-ticket-p { grid-column: 1; font-size: 13px; color: var(--fam-muted); }
.fam-ticket-qr { grid-column: 2; grid-row: 1 / span 3; align-self: center; width: 54px; height: 54px; border-radius: 6px; border: 1px solid var(--fam-line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 21 21' shape-rendering='crispEdges'%3E%3Cg fill='%230f172a'%3E%3Cpath d='M0 0h7v7H0zM14 0h7v7h-7zM0 14h7v7H0z'/%3E%3C/g%3E%3Cg fill='%23fff'%3E%3Cpath d='M1 1h5v5H1zM15 1h5v5h-5zM1 15h5v5H1z'/%3E%3C/g%3E%3Cg fill='%230f172a'%3E%3Cpath d='M2 2h3v3H2zM16 2h3v3h-3zM2 16h3v3H2zM8 0h1v2H8zM10 1h2v1h-2zM9 3h2v2H9zM12 4h1v3h-1zM8 6h3v1H8zM0 8h2v1H0zM3 8h3v2H3zM7 8h2v2H7zM10 8h1v3h-1zM12 9h3v1h-3zM16 8h2v2h-2zM19 8h2v1h-2zM1 11h3v1H1zM5 11h2v2H5zM8 12h2v1H8zM12 11h2v2h-2zM15 11h1v3h-1zM17 11h3v2h-3zM8 14h1v3H8zM10 14h3v1h-3zM11 16h2v2h-2zM14 15h2v2h-2zM17 14h1v2h-1zM19 15h2v2h-2zM8 18h2v1H8zM14 18h3v1h-3zM18 18h1v3h-1zM9 20h4v1H9zM15 20h2v1h-2z'/%3E%3C/g%3E%3C/svg%3E") center / 44px 44px no-repeat; }
.fam-ticket-1 { left: 0; top: 0; transform: rotate(-4deg); }
.fam-ticket-2 { right: 0; top: 38px; transform: rotate(3deg); }
.fam-ticket-2::before { background: #0ea5e9; }
.fam-ticket-3 { left: 6%; top: 132px; transform: rotate(-1.5deg); }
.fam-ticket-3::before { background: #10b981; }
.fam-ticket-4 { right: 4%; top: 172px; transform: rotate(4deg); }
.fam-ticket-4::before { background: #f59e0b; }
@media (max-width: 959px) { .fam-ticket-3 { top: 112px; } .fam-ticket-4 { top: 150px; } }
@media (max-width: 420px) { .fam-ticket { width: 70%; padding: 12px 12px 12px 14px; } .fam-ticket-n { font-size: 17px; } .fam-ticket-qr { width: 42px; height: 42px; } .fam-ticket-3 { top: 100px; } .fam-ticket-4 { top: 136px; } }
.fam-ticket-badge { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 10px 16px; border-radius: 999px; background: var(--fam-ok); color: #fff; font-size: 14px; font-weight: 700; box-shadow: 0 12px 28px rgb(5 150 105 / .4); }
.fam-ticket-badge svg { width: 18px; height: 18px; stroke-width: 3; }
@media (prefers-reduced-motion: no-preference) {
  .fam-ticket { animation: fam-float 6s ease-in-out infinite; }
  .fam-ticket-2 { animation-delay: -1.5s; } .fam-ticket-3 { animation-delay: -3s; } .fam-ticket-4 { animation-delay: -4.5s; }
}
@keyframes fam-float { 50% { translate: 0 -6px; } }

/* Wizard */
.fam-order { position: relative; padding: 0 0 72px; }
.fam-order > .fam-wrap { position: relative; }
.fam-order-band { position: absolute; left: 0; right: 0; top: 0; height: 150px; background: linear-gradient(135deg, #1e1b4b 0%, #312e81 45%, #4f46e5 100%); }
.fam-order-head { margin: 0; padding: 8px 0 22px; color: #fff; }
.fam-order-head h2 { margin: 0; font-size: 1.5rem; font-weight: 800; }
.fam-order-head p { margin: 4px 0 0; font-size: 15px; color: #e0e7ff; }
.fam-hero { padding-bottom: 32px !important; }
.fam-wizard { border-radius: 28px; background: #fff; box-shadow: 0 30px 70px rgb(15 23 42 / .14), 0 2px 6px rgb(15 23 42 / .05); overflow: hidden; }
.fam-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--fam-line); background: var(--fam-soft); }
.fam-steps li { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 6px; font-size: 14px; font-weight: 700; color: #94a3b8; }
.fam-steps li::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: transparent; }
.fam-steps li[aria-current="step"] { color: var(--fam-ink); }
.fam-steps li[aria-current="step"]::after { background: var(--fam-brand); }
.fam-steps li.is-done { color: var(--fam-ok); }
.fam-step-dot { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: #e2e8f0; color: var(--fam-ink-2); font-size: 13px; font-weight: 800; flex: 0 0 26px; }
.fam-steps li[aria-current="step"] .fam-step-dot { background: var(--fam-brand); color: #fff; }
.fam-steps li.is-done .fam-step-dot { background: var(--fam-ok); color: #fff; }
@media (max-width: 560px) { .fam-steps li { flex-direction: column; gap: 4px; font-size: 12px; padding: 10px 2px; } }

.fam-wizard-body { display: grid; }
@media (min-width: 960px) { .fam-wizard-body { grid-template-columns: minmax(0, 1fr) 340px; } }
.fam-panels { padding: 22px 16px 24px; min-width: 0; }
@media (min-width: 640px) { .fam-panels { padding: 30px 32px 32px; } }
.fam-panel h3 { margin: 0 0 6px; font-size: 1.5rem; font-weight: 800; letter-spacing: -.01em; outline: none; }
.fam-panel > .fam-muted { margin-bottom: 20px; }
.fam-label-sm { margin: 22px 0 10px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--fam-muted); }

/* Destination */
.fam-search { position: relative; display: flex; align-items: center; }
.fam-search svg { position: absolute; left: 16px; width: 20px; height: 20px; color: var(--fam-muted); pointer-events: none; }
.fam-search input { width: 100%; min-height: 56px; padding: 0 16px 0 46px; border: 1.5px solid #cbd5e1; border-radius: 16px; font-size: 17px; color: var(--fam-ink); background: #fff; }
.fam-search input:focus { outline: none; border-color: var(--fam-brand); box-shadow: 0 0 0 4px rgb(79 70 229 / .15); }
.fam-dest-list { margin: 8px 0 0; padding: 6px; list-style: none; border: 1px solid var(--fam-line); border-radius: 16px; box-shadow: 0 16px 40px rgb(15 23 42 / .12); max-height: 300px; overflow: auto; background: #fff; }
.fam-dest-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; cursor: pointer; font-weight: 600; }
.fam-dest-list li[aria-selected="true"], .fam-dest-list li:hover { background: var(--fam-brand-soft); }
.fam-dest-list li span:last-child { font-size: 13px; font-weight: 600; color: var(--fam-muted); white-space: nowrap; }
.fam-dest-list .fam-empty { cursor: default; color: var(--fam-muted); font-weight: 500; }
.fam-dest-list .fam-empty:hover { background: transparent; }
.fam-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fam-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 1px solid var(--fam-line); border-radius: 999px; background: #fff; font-size: 15px; font-weight: 600; color: var(--fam-ink-2); cursor: pointer; }
.fam-chip:hover { border-color: #a5b4fc; color: var(--fam-brand-ink); }
.fam-chip img { width: 20px; height: 15px; border-radius: 3px; object-fit: cover; }
.fam-chip[aria-pressed="true"] { border-color: var(--fam-brand); background: var(--fam-brand-soft); color: var(--fam-brand-ink); }
.fam-selected { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding: 16px 18px; border-radius: 16px; background: var(--fam-ok-soft); border: 1px solid #a7f3d0; }
.fam-selected img { width: 40px; height: 30px; border-radius: 5px; object-fit: cover; box-shadow: 0 1px 2px rgb(0 0 0 / .2); }
.fam-selected strong { display: block; font-size: 17px; }
.fam-selected span { font-size: 14px; color: #047857; }
.fam-selected button { margin-left: auto; border: 0; background: none; color: var(--fam-brand-ink); font-weight: 700; cursor: pointer; font-size: 14px; padding: 8px; }

/* Count */
.fam-count { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 16px 18px; border-radius: 16px; background: var(--fam-soft); border: 1px solid var(--fam-line); margin-bottom: 18px; }
.fam-count-label { font-weight: 700; }
.fam-stepper { display: inline-flex; align-items: center; border: 1px solid #cbd5e1; border-radius: 14px; background: #fff; overflow: hidden; }
.fam-stepper-btn { width: 48px; height: 48px; border: 0; background: #fff; font-size: 24px; font-weight: 600; color: var(--fam-brand-ink); cursor: pointer; }
.fam-stepper-btn:disabled { color: #cbd5e1; cursor: not-allowed; }
.fam-stepper output { min-width: 44px; text-align: center; font-size: 20px; font-weight: 800; }
.fam-count-save { margin-left: auto; padding: 6px 12px; border-radius: 999px; background: var(--fam-ok); color: #fff; font-size: 14px; font-weight: 800; }
@media (max-width: 480px) { .fam-count-save { margin-left: 0; } }

/* People */
.fam-people { display: grid; gap: 12px; }
.fam-person { display: grid; gap: 12px; padding: 16px; border: 1px solid var(--fam-line); border-radius: 18px; background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.fam-person:focus-within { border-color: #a5b4fc; box-shadow: 0 0 0 4px rgb(79 70 229 / .08); }
.fam-person-head { display: flex; align-items: center; gap: 10px; }
.fam-person-badge { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; font-weight: 800; color: #fff; background: var(--fam-brand); flex: 0 0 34px; }
.fam-person:nth-child(6n+2) .fam-person-badge { background: #0ea5e9; }
.fam-person:nth-child(6n+3) .fam-person-badge { background: #10b981; }
.fam-person:nth-child(6n+4) .fam-person-badge { background: #f59e0b; }
.fam-person:nth-child(6n+5) .fam-person-badge { background: #ec4899; }
.fam-person:nth-child(6n) .fam-person-badge { background: #8b5cf6; }
.fam-person-label { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--fam-muted); }
.fam-person-grid { display: grid; gap: 12px; }
@media (min-width: 720px) { .fam-person-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .fam-person-grid .fam-field-wide { grid-column: 1 / -1; } }
.fam-field { display: grid; gap: 6px; min-width: 0; }
.fam-field label, .fam-field .fam-field-label { font-size: 14px; font-weight: 700; color: var(--fam-ink-2); }
.fam-field label small { font-weight: 500; color: var(--fam-muted); }
.fam-field input, .fam-field select { box-sizing: border-box; width: 100%; height: 50px; min-height: 50px; box-shadow: none; margin: 0; padding: 0 14px; border: 1.5px solid #cbd5e1; border-radius: 12px; font-size: 16px; color: var(--fam-ink); background: #fff; }
.fam-field input:focus, .fam-field select:focus { outline: none; border-color: var(--fam-brand); box-shadow: 0 0 0 4px rgb(79 70 229 / .15); }
.fam-field input[aria-invalid="true"] { border-color: #dc2626; }
.fam-hint { margin: 0; font-size: 13px; color: var(--fam-muted); }
.fam-field-row { display: grid; gap: 14px; margin-bottom: 18px; align-items: start; }
.fam-pay-note { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; padding: 14px 16px; border-radius: 14px; background: var(--fam-soft); border: 1px solid var(--fam-line); font-size: 15px; color: var(--fam-ink-2); }
.fam-pay-note svg { width: 20px; height: 20px; flex: 0 0 20px; color: var(--fam-brand-ink); }
@media (min-width: 720px) { .fam-field-row { grid-template-columns: 1fr 1fr; } }
.fam-seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 12px; background: #f1f5f9; }
.fam-seg button { min-height: 42px; border: 0; border-radius: 9px; background: transparent; font-size: 14px; font-weight: 700; color: var(--fam-ink-2); cursor: pointer; }
.fam-seg button[aria-pressed="true"] { background: #fff; color: var(--fam-brand-ink); box-shadow: 0 1px 3px rgb(15 23 42 / .15); }
.fam-device-note { margin: 0; font-size: 13px; color: var(--fam-muted); }

.fam-check { display: flex; gap: 14px; margin-top: 18px; padding: 16px 18px; border-radius: 16px; background: var(--fam-brand-soft); border: 1px solid #c7d2fe; }
.fam-check-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: #fff; color: var(--fam-brand-ink); flex: 0 0 44px; }
.fam-check-icon svg { width: 24px; height: 24px; }
.fam-check-title { margin: 0 0 4px; font-weight: 800; }
.fam-tick { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-weight: 700; cursor: pointer; }
.fam-tick input { width: 22px; height: 22px; accent-color: var(--fam-brand); flex: 0 0 22px; }

/* Plans */
.fam-toggle-row { margin-bottom: 14px; }
.fam-switch { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; cursor: pointer; }
.fam-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fam-switch-ui { position: relative; width: 48px; height: 28px; border-radius: 999px; background: #cbd5e1; transition: background .15s ease; flex: 0 0 48px; }
.fam-switch-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / .25); transition: transform .15s ease; }
.fam-switch input:checked + .fam-switch-ui { background: var(--fam-brand); }
.fam-switch input:checked + .fam-switch-ui::after { transform: translateX(20px); }
.fam-switch input:focus-visible + .fam-switch-ui { outline: 3px solid #818cf8; outline-offset: 2px; }
.fam-filter { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 14px; scrollbar-width: none; }
.fam-filter::-webkit-scrollbar { display: none; }
.fam-filter .fam-chip { flex: 0 0 auto; min-height: 38px; font-size: 14px; }
.fam-filter-sep { flex: 0 0 1px; align-self: stretch; margin: 4px 4px; background: var(--fam-line); }
.fam-plans { display: grid; gap: 10px; }
@media (min-width: 720px) { .fam-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fam-plan { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 12px; padding: 16px 18px; border: 1.5px solid var(--fam-line); border-radius: 16px; background: #fff; text-align: left; cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease; font: inherit; color: inherit; }
.fam-plan:hover { border-color: #a5b4fc; }
.fam-plan[aria-checked="true"] { border-color: var(--fam-brand); box-shadow: 0 0 0 3px rgb(79 70 229 / .15); background: #fbfbff; }
.fam-plan-data { font-size: 18px; font-weight: 800; }
.fam-plan-meta { grid-column: 1; font-size: 14px; color: var(--fam-muted); }
.fam-plan-price { grid-row: 1 / span 2; grid-column: 2; text-align: right; font-size: 18px; font-weight: 800; }
.fam-plan-price small { display: block; font-size: 12px; font-weight: 600; color: var(--fam-muted); }
.fam-plan-tag { position: absolute; top: -10px; left: 14px; padding: 2px 10px; border-radius: 999px; background: var(--fam-ok); color: #fff; font-size: 12px; font-weight: 800; }
.fam-plan-tag.is-light { background: #94a3b8; }
.fam-plans-empty { padding: 20px; border-radius: 16px; background: var(--fam-soft); color: var(--fam-muted); text-align: center; }
.fam-per-person { display: grid; gap: 10px; }
.fam-pp-row { display: grid; gap: 8px; padding: 14px 16px; border: 1px solid var(--fam-line); border-radius: 16px; }
@media (min-width: 720px) { .fam-pp-row { grid-template-columns: 180px minmax(0, 1fr); align-items: center; } }
.fam-pp-name { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.fam-pp-row select { width: 100%; min-height: 50px; padding: 0 12px; border: 1.5px solid #cbd5e1; border-radius: 12px; font-size: 15px; background: #fff; color: var(--fam-ink); }
.fam-tip { display: flex; gap: 10px; margin: 18px 0 0; padding: 14px 16px; border-radius: 14px; background: var(--fam-soft); font-size: 14px; line-height: 1.5; color: var(--fam-ink-2); }
.fam-tip svg { width: 20px; height: 20px; flex: 0 0 20px; color: var(--fam-brand-ink); }

/* Pay */
.fam-pay-box { padding: 18px; border: 1px solid var(--fam-line); border-radius: 16px; background: #fff; margin-bottom: 16px; min-height: 80px; }
.fam-payment-element:empty { display: none; }
.fam-error { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; font-size: 14px; font-weight: 600; }
.fam-legal { margin: 12px 0 0; font-size: 13px; color: var(--fam-muted); text-align: center; }
.fam-payment-marks { margin-top: 12px; display: flex; justify-content: center; }

.fam-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--fam-line); }
.fam-nav #fam-next { margin-left: auto; min-width: 180px; }
.fam-wizard[data-step="4"] #fam-next { display: none; }

/* Summary */
.fam-summary { padding: 22px 18px; border-top: 1px solid var(--fam-line); background: linear-gradient(180deg, #fbfbff, #f6f7fb); }
@media (min-width: 960px) { .fam-summary { border-top: 0; border-left: 1px solid var(--fam-line); padding: 30px 24px; position: sticky; top: 0; align-self: start; } }
.fam-summary-title { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--fam-muted); }
.fam-summary-dest { margin: 6px 0 14px; font-size: 20px; font-weight: 800; }
.fam-summary-lines { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fam-summary-lines li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--fam-line); font-size: 14px; }
.fam-summary-lines .fam-mini { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 8px; background: var(--fam-brand-soft); color: var(--fam-brand-ink); font-size: 12px; font-weight: 800; }
.fam-summary-lines strong { display: block; font-size: 14px; }
.fam-summary-lines span { color: var(--fam-muted); font-size: 13px; }
.fam-summary-lines .fam-line-price { font-weight: 700; color: var(--fam-ink); font-size: 14px; }
.fam-summary-totals { margin: 16px 0 0; padding: 14px 0 0; border-top: 1px dashed #cbd5e1; display: grid; gap: 8px; }
.fam-summary-totals div { display: flex; justify-content: space-between; gap: 10px; font-size: 15px; }
.fam-summary-totals dt { color: var(--fam-ink-2); }
.fam-summary-totals dd { margin: 0; font-weight: 700; }
.fam-save-line dt, .fam-save-line dd { color: var(--fam-ok) !important; font-weight: 800; }
.fam-total-line { padding-top: 8px; border-top: 1px solid var(--fam-line); }
.fam-total-line dt, .fam-total-line dd { font-size: 20px; font-weight: 800; color: var(--fam-ink); }
.fam-summary-help { display: flex; gap: 10px; margin-top: 18px; padding: 14px; border-radius: 14px; background: var(--fam-ok-soft); color: #065f46; font-size: 14px; line-height: 1.5; }
.fam-summary-help svg { width: 20px; height: 20px; flex: 0 0 20px; margin-top: 2px; }
.fam-summary-help p { margin: 0; }

/* Mobile bar */
.fam-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgb(255 255 255 / .96); backdrop-filter: blur(8px); border-top: 1px solid var(--fam-line); box-shadow: 0 -10px 30px rgb(15 23 42 / .08); }
.fam-bar-total { display: grid; }
.fam-bar-total span { font-size: 12px; color: var(--fam-muted); font-weight: 600; }
.fam-bar-total strong { font-size: 20px; }
.fam-bar .fam-btn { min-width: 150px; }
@media (min-width: 960px) { .fam-bar { display: none !important; } }
@media (max-width: 959px) { .fam-page.has-bar { padding-bottom: 84px; } .fam-nav #fam-next { display: none; } .fam-nav { border-top: 0; padding-top: 0; margin-top: 16px; } }

/* Sections */
.fam-section { padding: 72px 0; }
.fam-section-alt { background: #fff; border-block: 1px solid var(--fam-line); }
.fam-kicker { margin: 0 0 10px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--fam-brand-ink); }
.fam-h2 { margin: 0; max-width: 40rem; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.12; font-weight: 800; letter-spacing: -.02em; }
.fam-section-lead { margin: 14px 0 0; max-width: 44rem; font-size: 1.05rem; line-height: 1.65; color: var(--fam-ink-2); }
.fam-how { display: grid; gap: 16px; margin: 32px 0 0; padding: 0; list-style: none; counter-reset: fam; }
@media (min-width: 720px) { .fam-how { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .fam-how { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fam-how li { position: relative; padding: 24px; border-radius: var(--fam-radius); background: #fff; border: 1px solid var(--fam-line); counter-increment: fam; }
.fam-how li::after { content: counter(fam, decimal-leading-zero); position: absolute; top: 20px; right: 22px; font-size: 14px; font-weight: 800; color: #cbd5e1; }
.fam-how-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 16px; background: var(--fam-brand-soft); color: var(--fam-brand-ink); }
.fam-how-icon svg { width: 26px; height: 26px; }
.fam-how h3 { margin: 16px 0 8px; font-size: 1.15rem; font-weight: 800; }
.fam-how p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--fam-ink-2); }
.fam-walk-grid { display: grid; gap: 24px; margin-top: 28px; }
@media (min-width: 1080px) { .fam-walk-grid { grid-template-columns: 1fr 1fr; } }
.fam-walk-links { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 22px 0 0; }
.fam-walk-links a { font-weight: 700; color: var(--fam-brand-ink); }
.fam-help { display: grid; gap: 28px; }
@media (min-width: 960px) { .fam-help { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 56px; } }
.fam-help-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.fam-help-list li { display: flex; gap: 14px; padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--fam-line); }
.fam-help-list svg { width: 24px; height: 24px; flex: 0 0 24px; color: var(--fam-ok); margin-top: 2px; }
.fam-help-list strong { display: block; margin-bottom: 2px; }
.fam-help-list span { font-size: 15px; color: var(--fam-ink-2); line-height: 1.5; }
.fam-tiers { display: grid; gap: 12px; margin-top: 28px; max-width: 760px; }
@media (min-width: 640px) { .fam-tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fam-tier { display: grid; gap: 4px; padding: 22px; border-radius: var(--fam-radius); border: 1px solid var(--fam-line); background: var(--fam-soft); }
.fam-tier-n { font-size: 15px; font-weight: 600; color: var(--fam-ink-2); }
.fam-tier strong { font-size: 1.8rem; font-weight: 800; }
.fam-tier.is-best { background: var(--fam-brand-deep); border-color: var(--fam-brand-deep); color: #fff; }
.fam-tier.is-best .fam-tier-n { color: #c7d2fe; }
.fam-faq-wrap { max-width: 860px; }
.fam-faq { margin-top: 24px; display: grid; gap: 10px; }
.fam-faq details { border: 1px solid var(--fam-line); border-radius: 16px; background: #fff; }
.fam-faq summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 18px 20px; font-weight: 700; cursor: pointer; }
.fam-faq summary::-webkit-details-marker { display: none; }
.fam-faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--fam-brand-ink); }
.fam-faq details[open] summary::after { content: "−"; }
.fam-faq details p { margin: 0; padding: 0 20px 18px; color: var(--fam-ink-2); line-height: 1.65; }
.fam-cta { padding: 64px 0; background: linear-gradient(135deg, #312e81, #4f46e5); color: #fff; text-align: center; }
.fam-cta h2 { margin: 0; font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 800; }
.fam-cta p { margin: 10px 0 24px; color: #e0e7ff; font-size: 1.05rem; }

/* ----- Order and member pages ----- */
.fam-op { padding: 32px 0 72px; }
.fam-op-head { display: grid; gap: 10px; margin-bottom: 24px; }
.fam-op-status { display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 6px 12px; border-radius: 999px; font-size: 14px; font-weight: 800; background: var(--fam-brand-soft); color: var(--fam-brand-ink); }
.fam-op-status.is-ready { background: var(--fam-ok-soft); color: #047857; }
.fam-op-status.is-wait { background: var(--fam-warn-soft); color: var(--fam-warn); }
.fam-op-status .fam-pulse { width: 10px; height: 10px; border-radius: 50%; background: currentColor; animation: fam-pulse 1.2s ease-in-out infinite; }
@keyframes fam-pulse { 50% { opacity: .3; } }
.fam-op h1 { margin: 0; font-size: clamp(1.9rem, 5vw, 2.8rem); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
.fam-op-lead { margin: 0; max-width: 44rem; font-size: 1.05rem; line-height: 1.6; color: var(--fam-ink-2); }
.fam-op-grid { display: grid; gap: 20px; }
@media (min-width: 1000px) { .fam-op-grid { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; } }
.fam-esims { display: grid; gap: 16px; }
.fam-esim { display: grid; gap: 16px; padding: 20px; border-radius: 22px; background: #fff; border: 1px solid var(--fam-line); box-shadow: 0 10px 30px rgb(15 23 42 / .05); }
@media (min-width: 720px) { .fam-esim { grid-template-columns: 200px minmax(0, 1fr); padding: 24px; } }
.fam-esim-qr { display: grid; place-items: center; align-self: start; padding: 10px; border: 1px solid var(--fam-line); border-radius: 16px; background: #fff; aspect-ratio: 1; }
.fam-esim-qr img { width: 100%; height: auto; display: block; }
.fam-esim-qr.is-wait { background: var(--fam-soft); color: var(--fam-muted); font-size: 14px; text-align: center; }
.fam-esim-k { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--fam-brand-ink); }
.fam-esim-n { margin: 2px 0 0; font-size: 1.5rem; font-weight: 800; }
.fam-esim-p { margin: 2px 0 0; color: var(--fam-muted); font-size: 15px; }
.fam-esim-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.fam-esim-actions .fam-btn { min-height: 44px; padding: 0 16px; font-size: 15px; }
.fam-btn-dark { background: var(--fam-ink); color: #fff; }
.fam-btn-dark:hover { background: #1e293b; color: #fff; }
.fam-code { margin-top: 14px; display: grid; gap: 8px; }
.fam-code-row { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--fam-soft); border: 1px solid var(--fam-line); }
.fam-code-row span { font-size: 12px; font-weight: 700; color: var(--fam-muted); text-transform: uppercase; letter-spacing: .05em; flex: 0 0 auto; }
.fam-code-row code { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; font-size: 13px; color: var(--fam-ink); }
.fam-code-row button { flex: 0 0 auto; border: 0; background: #fff; border: 1px solid var(--fam-line); border-radius: 8px; padding: 6px 10px; font-size: 13px; font-weight: 700; color: var(--fam-brand-ink); cursor: pointer; }
.fam-code details summary { cursor: pointer; font-weight: 700; color: var(--fam-brand-ink); font-size: 14px; }
.fam-share-box { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--fam-line); }
.fam-share-title { margin: 0 0 8px; font-size: 14px; font-weight: 800; }
.fam-share-row { display: flex; flex-wrap: wrap; gap: 8px; }
.fam-share { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border: 1px solid var(--fam-line); border-radius: 10px; background: #fff; font-size: 14px; font-weight: 700; color: var(--fam-ink-2); text-decoration: none; cursor: pointer; }
.fam-share:hover { border-color: #a5b4fc; color: var(--fam-brand-ink); }
.fam-share svg { width: 16px; height: 16px; }
.fam-send { display: flex; gap: 8px; margin-top: 10px; }
.fam-send input { flex: 1 1 auto; min-width: 0; min-height: 44px; padding: 0 12px; border: 1.5px solid #cbd5e1; border-radius: 10px; font-size: 15px; }
.fam-send .fam-btn { min-height: 44px; padding: 0 14px; font-size: 14px; }
.fam-send-msg { margin: 8px 0 0; font-size: 13px; font-weight: 600; }
.fam-send-msg.is-ok { color: var(--fam-ok); }
.fam-send-msg.is-err { color: #b91c1c; }
.fam-side { display: grid; gap: 16px; }
.fam-card { padding: 20px; border-radius: 20px; background: #fff; border: 1px solid var(--fam-line); }
.fam-card h2 { margin: 0 0 10px; font-size: 1.05rem; font-weight: 800; }
.fam-card ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 14px; line-height: 1.55; color: var(--fam-ink-2); }
.fam-card.is-help { background: var(--fam-ok-soft); border-color: #a7f3d0; color: #065f46; }
.fam-card.is-help p { margin: 0 0 12px; font-size: 14px; line-height: 1.55; }
.fam-receipt { display: grid; gap: 6px; margin: 0; font-size: 14px; }
.fam-receipt div { display: flex; justify-content: space-between; }
.fam-receipt dt { color: var(--fam-ink-2); }
.fam-receipt dd { margin: 0; font-weight: 700; }
.fam-op-error { padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--fam-line); text-align: center; }
.fam-skel { height: 220px; border-radius: 22px; background: linear-gradient(90deg, #f1f5f9, #e2e8f0, #f1f5f9); background-size: 200% 100%; animation: fam-shimmer 1.4s ease-in-out infinite; }
@keyframes fam-shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .fam-skel, .fam-op-status .fam-pulse, .fam-btn.is-loading::after { animation: none; } }

@media (max-width: 420px) {
  .fam-offer { gap: 6px; }
  .fam-offer li { padding: 10px; }
  .fam-offer strong { font-size: 1rem; white-space: nowrap; }
  .fam-offer span { font-size: 12px; }
  .fam-hero-actions .fam-btn { flex: 1 1 auto; }
}

/* Family travel guides on /family */
.fam-guides { display: grid; gap: 18px; margin: 28px 0 0; padding: 0; list-style: none; }
@media (min-width: 720px) { .fam-guides { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .fam-guides { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fam-guide a { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: var(--fam-radius); background: #fff; border: 1px solid var(--fam-line); color: inherit; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.fam-guide a:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgb(15 23 42 / .1); }
.fam-guide a:focus-visible { outline: 3px solid #818cf8; outline-offset: 2px; }
.fam-guide img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--fam-soft); }
.fam-guide-body { display: grid; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.fam-guide-title { font-size: 1.08rem; font-weight: 800; line-height: 1.3; }
.fam-guide-text { font-size: 14px; line-height: 1.55; color: var(--fam-ink-2); }
.fam-guide-go { margin-top: auto; font-size: 14px; font-weight: 800; color: var(--fam-brand-ink); }
@media (prefers-reduced-motion: reduce) { .fam-guide a { transition: none; } .fam-guide a:hover { transform: none; } }
.fam-walk { margin-top: 28px; }

/* Desktop layout pass (2026-11-06) */
@media (min-width: 1080px) {
  .fam-section { padding: 96px 0; }
  .fam-tiers { max-width: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .fam-tier { padding: 30px 28px; }
  .fam-tier strong { font-size: 2.4rem; letter-spacing: -.02em; }
  .fam-faq-wrap { max-width: 1160px; display: grid; grid-template-columns: 320px minmax(0, 1fr); column-gap: 64px; align-items: start; }
  .fam-faq-wrap > .fam-kicker, .fam-faq-wrap > .fam-h2 { grid-column: 1; }
  .fam-faq-wrap > .fam-h2 { position: sticky; top: 110px; }
  .fam-faq-wrap > .fam-faq { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; }
  .fam-help { gap: 80px; }
  .fam-how li { padding: 28px; }
  .fam-cta { padding: 88px 0; }
  .fam-cta-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px; text-align: left; }
  .fam-cta-inner p { margin-bottom: 0; }
  .fam-cta-inner .fam-btn { grid-column: 2; grid-row: 1 / span 2; min-height: 58px; padding: 0 32px; font-size: 17px; }
  .fam-wizard-body { grid-template-columns: minmax(0, 1fr) 360px; }
  .fam-panels { padding: 36px 40px 36px; }
}
@media (min-width: 1280px) {
  .fam-hero h1 { font-size: 4.4rem; }
  .fam-hero-visual { height: 360px; max-width: 520px; }
}
.fam-step-note { display: flex; align-items: center; gap: 12px; margin: 22px 0 0; padding: 14px 16px; border-radius: 14px; background: var(--fam-brand-soft); border: 1px solid #c7d2fe; font-size: 15px; line-height: 1.5; color: var(--fam-ink-2); }
.fam-step-note svg { width: 22px; height: 22px; flex: 0 0 22px; color: var(--fam-brand-ink); }

/* Step 1: one country or several (multi-country plans). */
.fam-mode { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 6px 0 16px; }
.fam-mode button { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 16px; border: 1.5px solid var(--fam-line); border-radius: 16px; background: #fff; color: var(--fam-ink-2); text-align: start; cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease, background .15s ease; }
.fam-mode button:hover { border-color: #a5b4fc; }
.fam-mode button:focus-visible { outline: 3px solid #818cf8; outline-offset: 2px; }
.fam-mode svg { flex: 0 0 36px; width: 36px; height: 36px; padding: 8px; border-radius: 11px; background: var(--fam-soft); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; color: var(--fam-muted); }
.fam-mode span { display: grid; gap: 2px; min-width: 0; }
.fam-mode strong { font-size: 15px; font-weight: 800; color: var(--fam-ink); }
.fam-mode small { font-size: 13px; color: var(--fam-muted); line-height: 1.3; }
.fam-mode button[aria-pressed="true"] { border-color: var(--fam-brand); background: var(--fam-brand-soft); box-shadow: 0 0 0 3px rgb(79 70 229 / .12); }
.fam-mode button[aria-pressed="true"] svg { background: var(--fam-brand); color: #fff; }
@media (max-width: 420px) { .fam-mode button { flex-direction: column; align-items: flex-start; gap: 8px; } }

.fam-add-tag { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 999px; background: var(--fam-brand); color: #fff; font-size: 12px; font-weight: 800; }

.fam-trip { display: block; margin-top: 16px; padding: 16px; background: #fff; border: 1.5px solid #c7d2fe; box-shadow: 0 10px 30px -18px rgb(79 70 229 / .45); }
.fam-trip-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.fam-trip-head strong { font-size: 15px; font-weight: 800; }
.fam-trip-head span { font-size: 13px; color: var(--fam-muted); }
.fam-trip-stops { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fam-trip-stops li { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 6px 0 10px; border: 1px solid var(--fam-line); border-radius: 12px; background: var(--fam-soft); font-size: 15px; font-weight: 700; color: var(--fam-ink); }
.fam-trip-stops img { width: 24px; height: 18px; border-radius: 3px; object-fit: cover; box-shadow: 0 1px 2px rgb(0 0 0 / .2); }
.fam-trip-stops button { display: inline-grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 9px; background: transparent; color: var(--fam-muted); cursor: pointer; }
.fam-trip-stops button:hover { background: #fee2e2; color: #b91c1c; }
.fam-trip-stops button:focus-visible { outline: 3px solid #818cf8; outline-offset: 1px; }
.fam-trip-stops button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.fam-trip-stops li.fam-trip-arrow { min-height: 0; padding: 0; border: 0; background: none; color: #94a3b8; font-weight: 600; }
[dir="rtl"] .fam-trip-arrow { transform: scaleX(-1); }
.fam-trip-status { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 14px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--fam-soft); font-size: 14px; font-weight: 600; color: var(--fam-ink-2); }
.fam-trip-status svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.fam-trip-status small { width: 100%; font-weight: 500; color: #047857; }
.fam-trip-status.is-ok { background: var(--fam-ok-soft); color: #047857; }
.fam-trip-status.is-bad { background: var(--fam-warn-soft); color: var(--fam-warn); }
.fam-trip-status.is-hint { background: var(--fam-brand-soft); color: var(--fam-brand-ink); }

.fam-trip-chip { padding-inline-start: 10px; }
.fam-flags { display: inline-flex; }
.fam-flags img + img { margin-inline-start: -6px; }
.fam-flags img { box-shadow: 0 0 0 2px #fff; }
.fam-trip .fam-trip-stops span { font-size: 15px; color: var(--fam-ink); }
.fam-trip .fam-trip-head span { font-size: 13px; color: var(--fam-muted); }

/* What four of you pay: family order vs separately vs UK roaming */
.fam-costs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 30rem), 1fr)); gap: 20px; margin-top: 28px; }
.fam-cost { padding: 22px; border: 1px solid var(--fam-line); border-radius: 20px; background: #fff; box-shadow: 0 18px 40px -30px rgba(15, 23, 42, .45); }
.fam-cost h3 { margin: 0 0 14px; font-size: 1.25rem; font-weight: 800; }
.fam-cost ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.fam-cost li { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label value" "bar bar"; gap: 6px 12px; align-items: end; }
.fam-cost-label { grid-area: label; font-weight: 700; color: var(--fam-ink, #0f172a); }
.fam-cost-label a { color: inherit; }
.fam-cost-label small { display: block; font-weight: 500; color: var(--fam-ink-2, #475569); }
.fam-cost li strong { grid-area: value; font-size: 1.125rem; }
.fam-cost-bar { grid-area: bar; height: 10px; border-radius: 999px; background: #eef2f7; overflow: hidden; }
.fam-cost-bar i { display: block; height: 100%; border-radius: inherit; background: #94a3b8; }
.fam-cost li.is-ours .fam-cost-bar i { background: var(--fam-brand, #16a34a); }
.fam-cost li.is-ours strong { color: var(--fam-brand-ink, #15803d); }
.fam-cost-save { margin: 16px 0 0; padding: 10px 14px; border-radius: 12px; background: #f0fdf4; color: #166534; font-weight: 700; }
.fam-cost-src { margin: 12px 0 0; font-size: .875rem; line-height: 1.55; color: var(--fam-ink-2, #475569); }
