/* Recommendation offer presentation */
.arf-recommendation-offers {
  --arf-card: #111;
  --arf-field: #181818;
  --arf-border: #303030;
  --arf-text: #f9f9f9;
  --arf-muted: #a8a8a8;
  --arf-accent: #f1c232;
  --arf-danger: #ff5a5a;
  max-width: 1280px;
  margin: 38px auto 0;
  color: var(--arf-text);
}

.arf-recommendation-offers__heading { margin: 0 0 18px; color: var(--arf-text); font-size: clamp(24px, 2.2vw, 34px); }
.arf-recommendation-offers__form { width: 100%; }
.arf-recommendation-offers__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 18px 0 22px; align-items: stretch; }

.arf-recommendation-offer { position: relative; display: block; min-width: 0; cursor: pointer; }
.arf-recommendation-offer__selector { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.arf-recommendation-offer__body { position: relative; display: flex; flex-direction: column; min-height: 100%; gap: 10px; padding: 20px; overflow: hidden; background: var(--arf-field); border: 1px solid var(--arf-border); border-radius: 16px; transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease; }
.arf-recommendation-offer:hover .arf-recommendation-offer__body { border-color: #555; transform: translateY(-2px); }
.arf-recommendation-offer__selector:focus-visible + .arf-recommendation-offer__body { outline: 2px solid var(--arf-accent); outline-offset: 3px; }
.arf-recommendation-offer__selector:checked + .arf-recommendation-offer__body { border-color: var(--arf-accent); box-shadow: 0 0 0 2px rgba(241,194,50,.16); }
.arf-recommendation-offer--recommended .arf-recommendation-offer__body { background: linear-gradient(180deg, rgba(241,194,50,.08), var(--arf-field) 38%); border-color: rgba(241,194,50,.65); }

.arf-recommendation-offer__recommended-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; color: #0b0b0b; background: var(--arf-accent); border-radius: 999px; font-size: 11px; line-height: 1; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.arf-recommendation-offer__recommended-icon { display: inline-block; flex: 0 0 auto; font-size: 10px; line-height: 1; font-family: inherit; transform: translateY(-.25px); }
.arf-recommendation-offer__label { color: var(--arf-accent); font-size: 11px; line-height: 1.25; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.arf-recommendation-offer__image { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; }
.arf-recommendation-offer__title { color: var(--arf-text); font-size: 18px; line-height: 1.3; overflow-wrap: anywhere; }
.arf-recommendation-offer__description { display: block; color: var(--arf-muted); font-size: 14px; line-height: 1.55; }
.arf-recommendation-offer__description p { margin: 0 0 8px; }
.arf-recommendation-offer__description p:last-child, .arf-recommendation-offer__description ul:last-child, .arf-recommendation-offer__description ol:last-child { margin-bottom: 0; }
.arf-recommendation-offer__description ul, .arf-recommendation-offer__description ol { padding-left: 19px; }
.arf-recommendation-offer__description strong, .arf-recommendation-offer__description b { color: var(--arf-text); font-weight: 800; }
.arf-recommendation-offer__description a { color: var(--arf-accent); }
.arf-recommendation-offer__saving { align-self: flex-start; margin-top: auto; padding: 4px 8px; color: var(--arf-accent); background: rgba(241,194,50,.09); border: 1px solid rgba(241,194,50,.28); border-radius: 999px; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.arf-recommendation-offer__price { display: block; color: var(--arf-text); font-size: 21px; line-height: 1.25; font-weight: 900; }
.arf-recommendation-offer__price del { color: var(--arf-muted); font-size: .72em; font-weight: 500; opacity: .75; }
.arf-recommendation-offer__price ins { color: var(--arf-accent); text-decoration: none; }
.arf-recommendation-offers__error { margin: 12px 0; padding: 12px 14px; border: 1px solid var(--arf-danger); border-radius: 10px; color: var(--arf-text); }
.arf-recommendation-offers__continue { display: flex; justify-content: center; width: min(100%, 360px); margin-left: auto; padding: 15px 24px; border: 0; border-radius: 10px; background: var(--arf-accent); color: #000; font-size: 16px; font-weight: 900; cursor: pointer; }
.arf-recommendation-offers__continue:hover { filter: brightness(1.05); }

@media (max-width: 1024px) { .arf-recommendation-offers__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .arf-recommendation-offers { margin-top: 28px; }
  .arf-recommendation-offers__list { grid-template-columns: 1fr; gap: 12px; }
  .arf-recommendation-offer__body { padding: 16px; }
  .arf-recommendation-offer__image { max-height: 190px; }
  .arf-recommendation-offer__title { font-size: 18px; }
  .arf-recommendation-offer__price { font-size: 20px; }
  .arf-recommendation-offers__continue { width: 100%; }
}

/* v0.2.79 — Make plan selection the commercial decision point. */
.arf-result-choice.arf-recommendation-offers {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid #2a2a2a;
}
.arf-result-choice .arf-recommendation-offers__heading {
  margin-bottom: 6px;
  font-size: clamp(25px, 2.5vw, 36px);
}
.arf-result-choice .arf-recommendation-offers__list {
  margin-top: 20px;
  gap: 12px;
}
.arf-result-choice .arf-recommendation-offer__body {
  padding: 18px;
  border-radius: 14px;
}
.arf-result-choice .arf-recommendation-offer--recommended .arf-recommendation-offer__body {
  border-color: var(--arf-accent);
  box-shadow: 0 0 0 1px var(--arf-accent), 0 16px 36px rgba(0,0,0,.22);
  background: linear-gradient(180deg, rgba(241,194,50,.13), #181818 42%);
}
.arf-result-choice .arf-recommendation-offer--recommended .arf-recommendation-offer__recommended-badge {
  box-shadow: 0 5px 18px rgba(241,194,50,.18);
}
.arf-result-choice .arf-recommendation-offer__description {
  font-size: 13px;
  line-height: 1.45;
}
.arf-result-choice .arf-recommendation-offer__price {
  margin-top: 2px;
}
.arf-result-choice .arf-recommendation-offers__continue {
  width: min(100%, 440px);
  min-height: 52px;
  margin-top: 4px;
  border-radius: 11px;
  font-size: 16px;
  letter-spacing: .01em;
}

@media (max-width: 600px) {
  .arf-result-choice.arf-recommendation-offers {
    margin-top: 28px;
    padding-top: 24px;
  }
  .arf-result-choice .arf-recommendation-offer__body { padding: 15px; }
  .arf-result-choice .arf-recommendation-offers__continue {
    width: 100%;
    min-height: 54px;
  }
}


/* v0.2.80 — Stronger plan-selection hierarchy and CTA finishing. */
.arf-result-choice.arf-recommendation-offers {
  padding-top: 34px;
}
.arf-result-choice .arf-recommendation-offers__heading {
  max-width: 760px;
  margin-bottom: 8px;
  line-height: 1.15;
}
.arf-result-choice .arf-recommendation-offers__form {
  display: flex;
  flex-direction: column;
}
.arf-result-choice .arf-recommendation-offer__body {
  min-height: 190px;
  padding: 18px 16px;
}
.arf-result-choice .arf-recommendation-offer__label {
  min-height: 28px;
}
.arf-result-choice .arf-recommendation-offer__title {
  font-size: 17px;
  font-weight: 800;
}
.arf-result-choice .arf-recommendation-offer__saving {
  margin-top: auto;
}
.arf-result-choice .arf-recommendation-offer__price {
  font-size: 20px;
}
.arf-result-choice .arf-recommendation-offer--recommended {
  transform: translateY(-4px);
}
.arf-result-choice .arf-recommendation-offer--recommended .arf-recommendation-offer__body {
  border-width: 2px;
  box-shadow: 0 0 0 1px rgba(241,194,50,.22), 0 18px 42px rgba(0,0,0,.3);
}
.arf-result-choice .arf-recommendation-offer--recommended .arf-recommendation-offer__recommended-badge {
  margin-bottom: 2px;
}
.arf-result-choice .arf-recommendation-offers__continue {
  width: min(100%, 470px);
  min-height: 56px;
  margin-top: 8px;
  padding-inline: 28px;
  box-shadow: 0 10px 28px rgba(241,194,50,.13);
}

@media (max-width: 600px) {
  .arf-result-choice .arf-recommendation-offer__body { min-height: 0; }
  .arf-result-choice .arf-recommendation-offer--recommended { transform: none; }
  .arf-result-choice .arf-recommendation-offer__label { min-height: 0; }
  .arf-result-choice .arf-recommendation-offers__continue {
    position: sticky;
    z-index: 20;
    bottom: 12px;
    box-shadow: 0 10px 34px rgba(0,0,0,.48);
  }
}

/* v0.2.82 — Package selector as the final decision surface */
.arf-result-choice.arf-recommendation-offers {
  margin-top: 34px;
  padding: 32px;
  border: 1px solid #2c2c2c;
  border-radius: 18px;
  background: linear-gradient(180deg, #121212, #0e0e0e);
}
.arf-result-choice .arf-recommendation-offers__heading {
  margin: 0 0 8px;
  font-size: clamp(27px, 2.7vw, 38px);
  letter-spacing: -.025em;
}
.arf-result-choice .arf-recommendation-offers__list {
  margin: 24px 0 24px;
  gap: 14px;
}
.arf-result-choice .arf-recommendation-offer__body {
  min-height: 205px;
  padding: 18px;
  background: #171717;
}
.arf-result-choice .arf-recommendation-offer__selector:checked + .arf-recommendation-offer__body {
  background: linear-gradient(180deg, rgba(241,194,50,.1), #171717 44%);
}
.arf-result-choice .arf-recommendation-offer--recommended .arf-recommendation-offer__body {
  background: linear-gradient(180deg, rgba(241,194,50,.16), #171717 46%);
}
.arf-result-choice .arf-recommendation-offers__continue {
  width: min(100%, 500px);
  min-height: 58px;
  border-radius: 12px;
  font-size: 16px;
}
@media (max-width: 767px) {
  .arf-result-choice.arf-recommendation-offers {
    padding: 20px 14px;
    border-radius: 14px;
  }
  .arf-result-choice .arf-recommendation-offer__body { min-height: 0; }
}

/* v0.2.83 — Final decision composition */
.arf-result-choice.arf-recommendation-offers { margin-top: 38px; padding: clamp(28px, 3vw, 40px); }
.arf-result-choice .arf-recommendation-offers__heading { max-width: none; margin-bottom: 10px; font-size: clamp(30px, 3vw, 42px); }
.arf-result-choice .arf-recommendation-offers__list { margin: 28px 0 26px; gap: 16px; }
.arf-result-choice .arf-recommendation-offer__body { min-height: 220px; padding: 20px; border-radius: 15px; }
.arf-result-choice .arf-recommendation-offer--recommended { transform: translateY(-6px); }
.arf-result-choice .arf-recommendation-offer--recommended .arf-recommendation-offer__recommended-badge { align-self: stretch; justify-content: center; margin: -20px -20px 14px; padding: 7px 10px; border-radius: 14px 14px 0 0; text-align: center; }
.arf-result-choice .arf-recommendation-offers__continue { align-self: flex-end; width: min(100%, 520px); min-height: 60px; font-weight: 800; }
@media (max-width: 1024px) { .arf-result-choice .arf-recommendation-offer--recommended { transform: none; } }
@media (max-width: 600px) {
  .arf-result-choice.arf-recommendation-offers { padding: 20px 14px; }
  .arf-result-choice .arf-recommendation-offer__body { min-height: 0; }
  .arf-result-choice .arf-recommendation-offer--recommended .arf-recommendation-offer__recommended-badge { margin: -15px -15px 12px; }
}

/* v0.2.84 — Desktop package-selection scale */
@media (min-width: 901px) {
  .arf-result-choice.arf-recommendation-offers {
    margin-top: 44px;
    padding: clamp(36px, 4vw, 52px);
    border-radius: 20px;
  }
  .arf-result-choice .arf-recommendation-offers__heading {
    margin-bottom: 12px;
    font-size: clamp(34px, 3vw, 44px);
  }
  .arf-result-choice .arf-recommendation-offers__list {
    margin: 32px 0 30px;
    gap: 18px;
  }
  .arf-result-choice .arf-recommendation-offer__body {
    min-height: 250px;
    padding: 24px 22px;
    border-radius: 16px;
  }
  .arf-result-choice .arf-recommendation-offer__title {
    font-size: 18px;
    line-height: 1.35;
  }
  .arf-result-choice .arf-recommendation-offer__price {
    font-size: 23px;
  }
  .arf-result-choice .arf-recommendation-offer--recommended .arf-recommendation-offer__recommended-badge {
    margin: -24px -22px 16px;
    padding: 9px 12px;
    border-radius: 15px 15px 0 0;
  }
  .arf-result-choice .arf-recommendation-offers__continue {
    width: min(100%, 560px);
    min-height: 64px;
    margin-top: 10px;
    padding: 17px 30px;
    border-radius: 13px;
    font-size: 17px;
  }
}

/* v0.2.94 — make the result-choice block unmistakably actionable. */
.arf-result-choice .arf-recommendation-offers__instruction {
  max-width: 680px;
  margin: 0;
  color: #bdbdbd;
  font-size: 15px;
  line-height: 1.6;
}
@media (min-width: 901px) {
  .arf-result-choice .arf-recommendation-offers__instruction {
    font-size: 17px;
  }
}




/* v0.4.0 — tablet/iPad plan selector refinement. */
@media (min-width: 601px) and (max-width: 1100px) {
  .arf-result-choice.arf-recommendation-offers {
    margin-top: 34px;
    padding: 28px 24px;
    border-radius: 16px;
  }
  .arf-result-choice .arf-recommendation-offers__heading {
    font-size: clamp(28px, 4vw, 34px);
  }
  .arf-result-choice .arf-recommendation-offers__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 22px 0 24px;
  }
  .arf-result-choice .arf-recommendation-offer--recommended {
    transform: none;
  }
  .arf-result-choice .arf-recommendation-offer__body {
    min-height: 190px;
    padding: 17px;
  }
  .arf-result-choice .arf-recommendation-offers__continue {
    width: min(100%, 480px);
    min-height: 56px;
  }
}



/* v0.4.11 — Recommended is a badge, while selected is the only emphasized card state. */
.arf-result-choice .arf-recommendation-offer--recommended {
  transform: none;
}
.arf-result-choice .arf-recommendation-offer--recommended .arf-recommendation-offer__body {
  border-color: var(--arf-border);
  background: var(--arf-field);
  box-shadow: none;
}
.arf-result-choice .arf-recommendation-offer--recommended:hover .arf-recommendation-offer__body {
  border-color: #555;
}
.arf-result-choice .arf-recommendation-offer__selector:checked + .arf-recommendation-offer__body,
.arf-result-choice .arf-recommendation-offer--recommended .arf-recommendation-offer__selector:checked + .arf-recommendation-offer__body {
  border-color: var(--arf-accent);
  background: linear-gradient(180deg, rgba(241,194,50,.1), #171717 44%);
  box-shadow: 0 0 0 2px rgba(241,194,50,.16);
}
