/* =========================================================
   EflyerMarketing - Packages picker
   v1.7.733. Rebuilt on the canonical Brand Palette & UI Kit
   (reference_material/Brand_Palette.html): its colour tokens, its type
   scale, its surface-card and btn-house treatments, its field controls and
   its 160ms motion. Nothing here is eyeballed.

   Everything is scoped under .efm-pack so it cannot reach the order form.
   One column on a phone, two package cards side by side from 760px.
   ========================================================= */

.efm-pack {
  /* Gold spectrum */
  --gold-ink:     #FFEEBE;
  --gold-bright:  #FFE5A6;
  --gold-mid:     #D8BF7A;
  --gold-heading: #E4BF63;
  --gold-brand:   #CEA953;
  --gold-deep:    #B68F44;
  /* Neutrals */
  --ink-strong:   #FFFAF0;
  --panel-top:    #1E2226;
  --deep-dark:    #08090A;
  --alert-red:    #FF4A3D;

  --radius-card: 14px;
  --radius-field: 10px;
  --ease: 160ms ease;

  max-width: 1080px;
  margin: 0 auto;
  padding: 8px 0 40px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.efm-pack *, .efm-pack *::before, .efm-pack *::after { box-sizing: border-box; }

/* ---------- type scale ---------- */

.efm-pack-eyebrow {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-heading);
}

.efm-pack-display {
  margin: 0 0 14px;
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ink-strong);
}

.efm-pack-lede {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

.efm-pack-h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--gold-heading);
}

.efm-pack-help { margin: 0; font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, 0.55); }

/* ---------- progress ---------- */

.efm-pack-steps {
  display: flex;
  gap: 10px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.efm-pack-steps li {
  flex: 1 1 0;
  padding-top: 11px;
  border-top: 2px solid rgba(255, 255, 255, 0.10);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.34);
  transition: color var(--ease), border-color var(--ease);
}

.efm-pack-steps li.is-now { border-top-color: var(--gold-brand); color: var(--gold-heading); }
.efm-pack-steps li.is-done { border-top-color: rgba(206, 169, 83, 0.45); color: rgba(255, 255, 255, 0.62); }

/* ---------- step shell ---------- */

.efm-pack-step { margin: 0 0 18px; }
.efm-pack-step[hidden] { display: none; }

.efm-pack-surface {
  border: 1px solid rgba(228, 191, 99, 0.22);
  border-radius: var(--radius-card);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 234, 180, 0.06), transparent 38%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(0, 0, 0, 0.18) 60%),
    linear-gradient(180deg, rgba(30, 34, 38, 0.88), rgba(8, 9, 10, 0.98));
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.55) inset, 0 18px 54px rgba(0, 0, 0, 0.32);
  padding: 34px 32px;
}

/* a finished step, folded to one line */
.efm-pack-done {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border: 1px solid rgba(228, 191, 99, 0.18);
  border-radius: var(--radius-field);
  /* v1.7.754. Was rgba(255,255,255,0.025) -- so nearly transparent that the page's
     background photograph read straight through the folded "Your market" and "Your
     pack" rows, while the open step above them sat on a solid panel (Marc,
     2026-11-16). Opaque, and in the same family as .efm-pack-surface. */
  background: linear-gradient(180deg, #1E2226, #121518);
  padding: 15px 20px;
}

.efm-pack-done-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(228, 191, 99, 0.70);
  margin: 0 0 3px;
}

.efm-pack-done-value { margin: 0; font-size: 16px; color: var(--ink-strong); font-weight: 700; }

.efm-pack-change {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--gold-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.efm-pack-change:hover { color: var(--gold-bright); }

/* ---------- step 1: search ---------- */

.efm-pack-searchwrap { position: relative; margin: 22px 0 0; }

.efm-pack input.efm-pack-search {
  appearance: none;
  width: 100%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012)),
    rgba(16, 18, 20, 0.98);
  color: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-field);
  padding: 19px 22px;
  font-size: 19px;
  font-family: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 6px 16px rgba(0, 0, 0, 0.22);
  transition: border-color .15s ease, box-shadow .15s ease;
}

.efm-pack input.efm-pack-search::placeholder { color: rgba(255, 255, 255, 0.38); }

.efm-pack input.efm-pack-search:focus {
  outline: none;
  border-color: rgba(228, 191, 99, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 0 3px rgba(206, 169, 83, 0.15);
}

.efm-pack-results { margin: 14px 0 0; padding: 0; list-style: none; }

.efm-pack-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-field);
  background: rgba(255, 255, 255, 0.025);
  padding: 17px 20px;
  margin-bottom: 10px;
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.efm-pack-result:hover,
.efm-pack-result:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(228, 191, 99, 0.38);
  background: rgba(228, 191, 99, 0.05);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32);
  outline: none;
}

.efm-pack-result-name { margin: 0 0 4px; font-size: 18px; font-weight: 700; color: var(--ink-strong); }
.efm-pack-result-meta { margin: 0; font-size: 13.5px; color: rgba(255, 255, 255, 0.60); }
.efm-pack-result-via { color: var(--gold-heading); }

.efm-pack-result-from {
  flex: 0 0 auto;
  text-align: right;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}
.efm-pack-result-from strong { display: block; font-size: 19px; color: var(--gold-heading); font-weight: 800; }

.efm-pack-empty {
  margin: 14px 0 0;
  border: 1px solid rgba(228, 191, 99, 0.32);
  border-radius: var(--radius-field);
  background: linear-gradient(180deg, rgba(228, 191, 99, 0.10), rgba(228, 191, 99, 0.04)), rgba(16, 18, 20, 0.92);
  padding: 16px 20px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.92);
}

.efm-pack-pickstate {
  margin: 4px 0 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.efm-pack-pickstate .efm-pack-help { font-size: 14px; color: rgba(255, 255, 255, 0.70); }
.efm-pack-selwrap { position: relative; display: inline-block; }

.efm-pack select.efm-pack-state {
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, var(--gold-heading) 50%),
    linear-gradient(135deg, var(--gold-heading) 50%, transparent 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012)),
    linear-gradient(rgba(16, 18, 20, 0.98), rgba(16, 18, 20, 0.98));
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%, 0 0, 0 0;
  background-size: 6px 6px, 6px 6px, 100% 100%, 100% 100%;
  background-repeat: no-repeat;
  color: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-field);
  padding: 12px 40px 12px 14px;
  font-size: 15px;
  font-family: inherit;
  cursor: pointer;
}

.efm-pack select.efm-pack-state:hover { border-color: rgba(228, 191, 99, 0.45); }
.efm-pack select.efm-pack-state:focus-visible {
  outline: 2px solid var(--gold-brand);
  outline-offset: 2px;
}

/* The dropdown popup. Chrome on Windows/Linux and Firefox honour these; macOS
   and iOS draw the system popup and ignore them, which degrades cleanly. */
.efm-pack select.efm-pack-state option {
  background-color: #14171A;
  color: #FFFAF0;
  padding: 10px 12px;
}
.efm-pack select.efm-pack-state option:checked,
.efm-pack select.efm-pack-state option:hover {
  background-color: var(--gold-brand);
  color: #1a1309;
}

/* ---------- step 2: packs ---------- */

.efm-pack-anchor {
  margin: 20px 0 22px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.58);
}
.efm-pack-anchor strong { color: rgba(255, 255, 255, 0.86); font-weight: 700; }

.efm-pack-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 760px) {
  .efm-pack-cards { grid-template-columns: repeat(2, 1fr); }
}

.efm-pack-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(228, 191, 99, 0.22);
  border-radius: var(--radius-card);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 234, 180, 0.06), transparent 38%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(0, 0, 0, 0.18) 60%),
    linear-gradient(180deg, rgba(30, 34, 38, 0.88), rgba(8, 9, 10, 0.98));
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.55) inset, 0 18px 54px rgba(0, 0, 0, 0.32);
  padding: 30px 28px 26px;
  text-align: left;
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.efm-pack-card:hover { transform: translateY(-2px); border-color: rgba(228, 191, 99, 0.45); }
.efm-pack-card:focus-visible { outline: 2px solid var(--gold-brand); outline-offset: 3px; }

.efm-pack-card.is-on {
  border-color: var(--gold-brand);
  box-shadow: 0 0 0 1px var(--gold-brand) inset, 0 0 22px rgba(206, 169, 83, 0.18), 0 18px 54px rgba(0, 0, 0, 0.42);
}

.efm-pack-ribbon {
  position: absolute;
  top: -11px;
  left: 26px;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-mid) 55%, var(--gold-deep));
  color: #1A1408;
  border: 1px solid rgba(228, 191, 99, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* Was .efm-pack-ribbon-soft, a 10%-opacity gold tint. At that contrast it read
   as a half-rendered element rather than a badge (Marc, 2026-11-12: "ghosting").
   Solid green instead, tying it to the savings band it refers to. */
.efm-pack-ribbon-save {
  background: #B7F09C;
  border-color: #B7F09C;
  color: #0C2410;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.efm-pack-card-name {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-heading);
}

.efm-pack-hero {
  margin: 0;
  font-size: 46px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink-strong);
}

.efm-pack-sub {
  margin: 10px 0 22px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.62);
}
.efm-pack-sub strong { color: var(--gold-heading); font-weight: 800; }
.efm-pack-sub s { opacity: 0.75; }

.efm-pack-facts { margin: 0 0 18px; padding: 0; list-style: none; border-top: 1px dashed rgba(255, 255, 255, 0.10); }

.efm-pack-facts li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.07);
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.72);
}
.efm-pack-facts li strong { color: var(--ink-strong); font-weight: 700; }

.efm-pack-save {
  margin: auto 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px 16px;
  border-radius: 10px;
  background: rgba(183, 240, 156, 0.07);
  border: 1px solid rgba(183, 240, 156, 0.20);
}
.efm-pack-save strong { font-size: 19px; font-weight: 800; color: #B7F09C; }

.efm-pack-tick {
  margin: 18px 0 0;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.34);
}
.efm-pack-card.is-on .efm-pack-tick { color: var(--gold-heading); }

.efm-pack-tick::before {
  content: "";
  width: 20px; height: 20px;
  flex: 0 0 20px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.22);
  transition: border-color var(--ease), background var(--ease);
}
.efm-pack-card.is-on .efm-pack-tick::before {
  border-color: var(--gold-brand);
  background:
    radial-gradient(circle at 50% 50%, var(--gold-bright) 0 4px, transparent 5px),
    var(--gold-brand);
}

/* ---------- step 3: agent + summary ---------- */

.efm-pack-who { margin: 22px 0 0; display: flex; gap: 12px; flex-wrap: wrap; }

.efm-pack-who-opt {
  flex: 1 1 220px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-field);
  background: rgba(255, 255, 255, 0.025);
  padding: 16px 18px;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color var(--ease), background var(--ease);
}
.efm-pack-who-opt:hover { border-color: rgba(228, 191, 99, 0.38); }
.efm-pack-who-opt.is-on { border-color: var(--gold-brand); background: rgba(228, 191, 99, 0.07); }
.efm-pack-who-opt strong { display: block; font-size: 16px; color: var(--ink-strong); margin-bottom: 3px; }
.efm-pack-who-opt span { font-size: 13.5px; color: rgba(255, 255, 255, 0.58); }

.efm-pack-fields { margin: 18px 0 0; display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 600px) { .efm-pack-fields { grid-template-columns: 1fr 1fr; } }

.efm-pack-field-label {
  display: block;
  margin: 0 0 7px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.88);
}

.efm-pack input.efm-pack-input {
  appearance: none;
  width: 100%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012)),
    rgba(16, 18, 20, 0.98);
  color: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-field);
  padding: 13px 15px;
  font-size: 16px;
  font-family: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 6px 16px rgba(0, 0, 0, 0.22);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.efm-pack input.efm-pack-input:focus {
  outline: none;
  border-color: rgba(228, 191, 99, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 0 3px rgba(206, 169, 83, 0.15);
}
.efm-pack input.efm-pack-input.is-error {
  border-color: rgba(255, 74, 61, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 0 0 1px rgba(255, 74, 61, 0.22);
}

.efm-pack-field-error { margin: 7px 0 0; font-size: 12.5px; font-weight: 600; color: rgba(255, 174, 168, 0.95); }

.efm-pack-confirm {
  margin: 18px 0 0;
  border: 1px solid rgba(228, 191, 99, 0.32);
  border-radius: var(--radius-field);
  background: linear-gradient(180deg, rgba(228, 191, 99, 0.10), rgba(228, 191, 99, 0.04)), rgba(16, 18, 20, 0.92);
  padding: 15px 18px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.92);
}

.efm-pack-summary {
  margin: 26px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding: 22px 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.efm-pack-summary-lines { font-size: 15px; line-height: 1.7; color: rgba(255, 255, 255, 0.78); }
.efm-pack-summary-lines strong { color: var(--ink-strong); }
.efm-pack-summary-price { font-size: 38px; font-weight: 800; color: var(--ink-strong); line-height: 1; }

/* ---------- the house button ---------- */

.efm-pack-buy {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 230px;
  min-height: 46px;
  padding: 13px 32px;
  color: rgba(255, 238, 190, 0.96);
  -webkit-text-fill-color: rgba(255, 238, 190, 0.96);
  font-family: inherit;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid rgba(206, 169, 83, 0.82);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 228, 158, 0.14), transparent 48%),
    linear-gradient(180deg, rgba(35, 36, 35, 0.97), rgba(8, 9, 10, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    inset 0 -1px 0 rgba(0, 0, 0, 0.78),
    0 0 0 1px rgba(255, 222, 145, 0.05),
    0 9px 20px rgba(0, 0, 0, 0.38);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.74), 0 0 10px rgba(255, 221, 145, 0.12);
  cursor: pointer;
  transition: transform var(--ease), border-color var(--ease), color var(--ease),
              background var(--ease), box-shadow var(--ease), filter var(--ease);
}

.efm-pack-buy:hover:not(:disabled) {
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  border-color: rgba(255, 229, 166, 0.98);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 230, 166, 0.24), transparent 50%),
    linear-gradient(180deg, rgba(47, 45, 38, 0.99), rgba(8, 9, 10, 1));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(0, 0, 0, 0.80),
    0 0 18px rgba(213, 174, 88, 0.24),
    0 12px 26px rgba(0, 0, 0, 0.46);
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.efm-pack-buy:disabled { opacity: 0.45; cursor: default; }

.efm-pack-reassure { margin: 16px 0 0; font-size: 13px; color: rgba(255, 255, 255, 0.52); }

.efm-pack-error {
  margin: 16px 0 0;
  border: 1px solid rgba(255, 74, 61, 0.45);
  border-radius: var(--radius-field);
  background: linear-gradient(180deg, rgba(255, 74, 61, 0.14), rgba(255, 74, 61, 0.04)), rgba(20, 6, 6, 0.72);
  padding: 13px 17px;
  font-size: 14px;
  color: #FFD8D2;
}

/* ---------- mobile ---------- */

@media (max-width: 759px) {
  .efm-pack-surface { padding: 26px 20px; }
  .efm-pack input.efm-pack-search { font-size: 17px; padding: 17px 18px; }
  .efm-pack-steps li { font-size: 10px; letter-spacing: 0.08em; }
  .efm-pack-summary { flex-direction: column; align-items: stretch; }
  .efm-pack-summary-price { font-size: 32px; }
  .efm-pack-buy { width: 100%; }
  .efm-pack-result { gap: 12px; }
  .efm-pack-result-from strong { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .efm-pack *, .efm-pack *::before { transition: none !important; }
  .efm-pack-card:hover, .efm-pack-result:hover, .efm-pack-buy:hover:not(:disabled) { transform: none; }
}

.efm-pack-setup {
  border: 1px dashed var(--alert-red);
  border-radius: var(--radius-field);
  padding: 16px;
  color: var(--alert-red);
  font-family: system-ui, sans-serif;
}

/* The platform's own clear "x" renders in the OS accent colour (blue on
   iOS/Chrome), which fights the palette. The component draws its own. */
.efm-pack-search::-webkit-search-cancel-button,
.efm-pack-search::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }


.efm-pack-listlabel {
  margin: 22px 2px 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.46);
}

.efm-pack-showall {
  margin: 14px 0 0;
  padding: 0;
  background: none;
  border: 0;
  font-family: inherit;
  font-size: 14px;
  color: var(--gold-heading);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.efm-pack-showall:hover { color: var(--gold-bright); }


.efm-pack-elsewhere {
  margin: 18px 2px 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.34);
  list-style: none;
}
