/* Landing: بهترین کتاب‌ها برای هدیه دادن (.is-bbf) — loaded on this page only. */

.is-bbf {
  --bbf-ink: var(--primary-900);
  --bbf-line: rgba(15, 48, 87, 0.1);
  --bbf-radius: 22px;
  padding: 12px 0 88px;
  background:
    radial-gradient(ellipse 60% 38% at 100% 0%, rgba(192, 139, 59, 0.12), transparent 55%),
    radial-gradient(ellipse 45% 30% at 0% 18%, rgba(34, 111, 201, 0.08), transparent 50%),
    linear-gradient(180deg, var(--gold-50) 0%, var(--bg-canvas) 300px);
}

.is-bbf > .container {
  max-width: 1180px;
}

.is-bbf .book-crumb {
  margin-bottom: 18px;
}

.is-bbf [id] {
  scroll-margin-top: 96px;
}

.is-bbf [hidden] {
  display: none !important;
}

@keyframes lp-bbf-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@keyframes lp-bbf-pop {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

/* ——— Hero ——— */
.lp-bbf-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 1.05fr);
  align-items: center;
  margin-bottom: 18px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(165deg, #fff, var(--gold-50) 120%);
  border: 1px solid var(--bbf-line);
  box-shadow: 0 24px 60px -28px rgba(15, 48, 87, 0.35);
  animation: lp-bbf-rise 0.6s ease both;
}

.lp-bbf-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(22px, 3.2vw, 40px);
  min-width: 0;
}

.lp-bbf-eyebrow {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(192, 139, 59, 0.12);
  color: var(--gold-700);
  font-size: 13px;
  font-weight: 700;
}

.lp-bbf-eyebrow .ms {
  font-size: 18px;
}

.lp-bbf-hero h1 {
  margin: 0 0 12px;
  color: var(--bbf-ink);
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: 1.55;
  letter-spacing: -0.01em;
}

.lp-bbf-hero h1::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-500), transparent);
}

.lp-bbf-lead {
  margin: 0 0 20px;
  color: var(--text-secondary);
  font-size: clamp(14px, 1.2vw, 15px);
  line-height: 2;
}

.lp-bbf-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.is-bbf .lp-bbf-hero-actions .btn-primary {
  width: auto;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 14px;
  font-weight: 700;
  box-shadow: 0 12px 24px -14px rgba(27, 79, 140, 0.7);
}

.lp-bbf-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(15, 48, 87, 0.14);
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-800);
  text-decoration: none;
  font-weight: 600;
  transition: border-color 0.2s, color 0.2s;
}

.lp-bbf-hero-secondary:hover {
  border-color: var(--gold-300);
  color: var(--primary-900);
}

.lp-bbf-hero-media {
  margin: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, var(--gold-50), #fff);
}

.lp-bbf-hero-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
}

/* ——— Section chips ——— */
.lp-bbf-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
}

.lp-bbf-toc a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--bbf-line);
  background: #fff;
  color: var(--primary-800);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.2s, background 0.2s;
}

.lp-bbf-toc a .ms {
  font-size: 18px;
  color: var(--gold-600);
}

.lp-bbf-toc a:hover {
  border-color: var(--gold-300);
  background: var(--gold-50);
}

/* ——— Article ——— */
.lp-bbf-article {
  margin-bottom: 28px;
  padding: clamp(22px, 3vw, 40px);
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--bbf-line);
  box-shadow: 0 18px 44px -30px rgba(15, 48, 87, 0.3);
}

.is-bbf .lp-bbf-article > h2 {
  margin: 36px 0 12px;
  padding-top: 26px;
  border-top: 1px dashed rgba(15, 48, 87, 0.12);
  color: var(--bbf-ink);
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.6;
}

.is-bbf .lp-bbf-article > h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.is-bbf .lp-bbf-article > h3 {
  margin: 26px 0 10px;
  color: var(--primary-800);
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.6;
}

.is-bbf .lp-bbf-article > h3::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 8px;
  border-radius: 2px;
  background: var(--gold-500);
  transform: rotate(45deg) translateY(-2px);
}

.is-bbf .lp-bbf-article > p {
  margin: 0 0 14px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 2.05;
}

.is-bbf .lp-bbf-article a:not([class]) {
  color: var(--primary-600);
  text-decoration: underline;
  text-decoration-color: rgba(34, 111, 201, 0.35);
  text-underline-offset: 4px;
}

.is-bbf .lp-bbf-article a:not([class]):hover {
  color: var(--gold-600);
}

.lp-bbf-figure {
  max-width: 760px;
  margin: 16px auto 22px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--gold-50);
  border: 1px solid rgba(15, 48, 87, 0.06);
}

.lp-bbf-figure.is-tall {
  max-width: 520px;
}

.is-bbf .lp-bbf-figure img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: 0;
}

.is-bbf .lp-bbf-figure.is-crop-top img {
  aspect-ratio: 1000 / 500;
  object-fit: cover;
  object-position: center bottom;
}

.is-bbf .lp-bbf-tool-jump {
  margin: 4px 0 8px;
}

.is-bbf .lp-bbf-tool-jump .btn-primary {
  width: auto;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
}

/* ——— Quick table ——— */
.is-bbf .lp-bbf-table {
  margin: 18px 0 26px;
  border-radius: 16px;
  border: 1px solid var(--primary-100);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
}

.is-bbf .lp-bbf-table table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  font-size: 14px;
}

.is-bbf .lp-bbf-table th,
.is-bbf .lp-bbf-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--primary-100);
  text-align: right;
  vertical-align: middle;
  line-height: 1.75;
  color: var(--text-secondary);
}

.is-bbf .lp-bbf-table thead th {
  background: var(--primary-50);
  color: var(--primary-800);
  font-weight: 700;
  white-space: nowrap;
}

.is-bbf .lp-bbf-table tbody th {
  color: var(--primary-800);
  font-weight: 700;
}

.is-bbf .lp-bbf-table tbody tr:nth-child(even) {
  background: rgba(252, 248, 243, 0.7);
}

.is-bbf .lp-bbf-table tbody tr:last-child > * {
  border-bottom: 0;
}

.is-bbf .lp-bbf-table td strong {
  color: var(--bbf-ink);
}

.lp-bbf-buy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 6px 12px;
  border-radius: 10px;
  background: var(--color1);
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background 0.2s;
}

.lp-bbf-buy .ms {
  font-size: 18px;
}

.lp-bbf-buy:hover {
  background: var(--primary-700);
}

.lp-bbf-buy.is-search {
  background: #fff;
  color: var(--primary-700) !important;
  border: 1px solid var(--primary-200);
}

.lp-bbf-buy.is-search:hover {
  border-color: var(--gold-300);
  background: var(--gold-50);
}

/* ——— Product shelf ——— */
.lp-bbf-shelf {
  display: flex;
  gap: 10px;
  margin: 4px 0 22px;
  padding: 2px 2px 10px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.lp-bbf-shelf-item {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: 230px;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid var(--bbf-line);
  background: linear-gradient(165deg, #fff, var(--primary-50));
  color: inherit;
  text-decoration: none !important;
  scroll-snap-align: start;
  transition: border-color 0.2s, transform 0.2s;
}

.lp-bbf-shelf-item:hover {
  border-color: var(--gold-300);
  transform: translateY(-2px);
}

.is-bbf .lp-bbf-shelf-item img,
.lp-bbf-shelf-fallback {
  width: 52px;
  height: 72px;
  margin: 0;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 6px 12px -8px rgba(15, 48, 87, 0.5);
}

.lp-bbf-shelf-fallback {
  display: grid;
  place-items: center;
  background: var(--primary-50);
  color: var(--primary-500);
  font-size: 26px;
}

.lp-bbf-shelf-copy strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--bbf-ink);
  font-size: 13px;
  line-height: 1.6;
}

.lp-bbf-shelf-copy em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 12px;
  color: var(--gold-700);
}

/* ——— Gift helper ——— */
.lp-bbf-tool {
  margin: 0 0 22px;
  padding: clamp(16px, 2.6vw, 28px);
  border-radius: var(--bbf-radius);
  border: 1px solid rgba(192, 139, 59, 0.3);
  background:
    radial-gradient(circle at 0% 0%, rgba(192, 139, 59, 0.14), transparent 42%),
    radial-gradient(circle at 100% 100%, rgba(34, 111, 201, 0.08), transparent 45%),
    linear-gradient(165deg, #fff, var(--gold-50));
  box-shadow: 0 22px 50px -32px rgba(79, 57, 23, 0.45);
}

.lp-bbf-tool-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.lp-bbf-tool-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 15px;
  background: linear-gradient(145deg, var(--gold-600), var(--gold-500));
  color: #fff !important;
  font-size: 26px !important;
  box-shadow: 0 10px 20px -12px rgba(143, 102, 41, 0.8);
}

.lp-bbf-tool-head strong {
  display: block;
  margin-bottom: 4px;
  color: var(--bbf-ink);
  font-size: clamp(17px, 2vw, 21px);
}

.lp-bbf-tool-head p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.9;
}

.lp-bbf-progress {
  display: none;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.lp-bbf-tool.is-wizard .lp-bbf-progress {
  display: flex;
}

.lp-bbf-tool.has-result .lp-bbf-progress {
  display: none;
}

.lp-bbf-progress-label {
  flex-shrink: 0;
  color: var(--primary-800);
  font-size: 13px;
  font-weight: 600;
}

.lp-bbf-progress-track {
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: rgba(15, 48, 87, 0.08);
  overflow: hidden;
}

.lp-bbf-progress-track i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold-500), var(--primary-500));
  transition: width 0.35s ease;
}

.lp-bbf-step {
  margin: 0 0 12px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--bbf-line);
  background: rgba(255, 255, 255, 0.92);
  min-width: 0;
}

.lp-bbf-tool.is-wizard .lp-bbf-step {
  animation: lp-bbf-pop 0.3s ease both;
}

.lp-bbf-step legend {
  display: flex;
  align-items: center;
  gap: 10px;
  float: left;
  width: 100%;
  margin-bottom: 12px;
  padding: 0;
  color: var(--bbf-ink);
  font-size: clamp(15px, 1.8vw, 17px);
  font-weight: 700;
  line-height: 1.6;
}

.lp-bbf-step legend + * {
  clear: both;
}

.lp-bbf-step-num {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--primary-50);
  color: var(--primary-700);
  font-size: 14px;
}

.lp-bbf-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 8px;
}

.lp-bbf-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  margin: 0;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1.5px solid var(--bbf-line);
  background: #fff;
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s, transform 0.18s, box-shadow 0.18s;
}

.lp-bbf-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.lp-bbf-option .ms {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--gold-50);
  color: var(--gold-600);
  font-size: 20px;
  transition: background 0.18s, color 0.18s;
}

.lp-bbf-option:hover {
  border-color: var(--gold-300);
  transform: translateY(-1px);
}

.lp-bbf-option:has(input:focus-visible) {
  outline: 3px solid rgba(34, 111, 201, 0.35);
  outline-offset: 2px;
}

.lp-bbf-option:has(input:checked) {
  border-color: var(--primary-500);
  background: var(--primary-50);
  color: var(--bbf-ink);
  font-weight: 700;
  box-shadow: 0 10px 22px -16px rgba(27, 79, 140, 0.6);
}

.lp-bbf-option:has(input:checked) .ms {
  background: var(--primary-600);
  color: #fff;
}

.lp-bbf-option.is-unknown {
  border-style: dashed;
}

.lp-bbf-form-error {
  margin: 0 0 10px;
  color: var(--error);
  font-size: 13px;
  font-weight: 600;
}

.lp-bbf-form-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.is-bbf .lp-bbf-submit {
  width: auto;
  gap: 8px;
  min-height: 50px;
  padding: 12px 24px;
  border-radius: 14px;
  font-weight: 700;
  font-family: inherit;
  font-size: 15px;
  margin-inline-start: auto;
}

.lp-bbf-back,
.lp-bbf-next,
.lp-bbf-reset {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 46px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid rgba(15, 48, 87, 0.14);
  background: #fff;
  color: var(--primary-800);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.lp-bbf-next {
  margin-inline-start: auto;
  background: var(--primary-50);
  border-color: var(--primary-200);
}

.lp-bbf-back:hover,
.lp-bbf-next:hover,
.lp-bbf-reset:hover {
  border-color: var(--gold-300);
  background: var(--gold-50);
}

.lp-bbf-back .ms,
.lp-bbf-next .ms,
.lp-bbf-reset .ms {
  font-size: 18px;
}

/* Result */
.lp-bbf-result {
  animation: lp-bbf-pop 0.35s ease both;
  outline: none;
}

.lp-bbf-result-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.lp-bbf-result-head > .ms {
  color: var(--gold-600);
  font-size: 30px;
}

.lp-bbf-result-head strong {
  display: block;
  margin-bottom: 4px;
  color: var(--bbf-ink);
  font-size: 18px;
}

.lp-bbf-result-head p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.8;
}

.lp-bbf-picks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.lp-bbf-pick {
  position: relative;
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--bbf-line);
  background: #fff;
}

.lp-bbf-pick.is-main {
  border: 2px solid var(--gold-500);
  box-shadow: 0 18px 36px -24px rgba(143, 102, 41, 0.6);
}

.lp-bbf-pick-badge {
  position: absolute;
  top: -11px;
  right: 16px;
  padding: 2px 12px;
  border-radius: 999px;
  background: var(--primary-700);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 20px;
}

.lp-bbf-pick.is-main .lp-bbf-pick-badge {
  background: var(--gold-600);
}

.lp-bbf-pick-media {
  display: grid;
  place-items: center;
  align-self: start;
  width: 110px;
  height: 154px;
  border-radius: 10px;
  background: var(--primary-50);
  overflow: hidden;
}

.lp-bbf-pick-media img {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
}

.lp-bbf-pick-media .ms {
  color: var(--primary-500);
  font-size: 40px;
}

.lp-bbf-pick-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.is-bbf .lp-bbf-pick-title {
  margin: 4px 0 8px;
  padding: 0;
  border: 0;
  color: var(--bbf-ink);
  font-size: 17px;
  line-height: 1.6;
}

.is-bbf .lp-bbf-pick-title::before {
  content: none;
}

.lp-bbf-pick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.lp-bbf-pick-chips span {
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--primary-50);
  color: var(--primary-700);
  font-size: 12px;
  font-weight: 600;
  line-height: 22px;
}

.lp-bbf-pick-chips .is-level {
  background: var(--gold-50);
  color: var(--gold-700);
}

.lp-bbf-pick-reason {
  margin: 0 0 12px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.9;
}

.lp-bbf-pick-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.lp-bbf-pick-price {
  color: var(--gold-700);
  font-weight: 700;
  font-size: 14px;
}

.is-bbf .lp-bbf-pick-cta {
  width: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.is-bbf .lp-bbf-pick-cta.is-soft {
  border: 1px solid var(--primary-200);
  background: var(--primary-50);
  color: var(--primary-800);
}

.is-bbf .lp-bbf-pick-cta.is-soft:hover {
  border-color: var(--gold-300);
}

.lp-bbf-result-note {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border-right: 4px solid var(--gold-500);
  background: rgba(192, 139, 59, 0.08);
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.9;
}

.lp-bbf-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.is-bbf .lp-bbf-result-actions .btn-primary {
  width: auto;
  min-height: 46px;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 700;
}

/* ——— Experience box ——— */
.lp-bbf-experience {
  position: relative;
  margin: 8px 0 24px;
  padding: clamp(18px, 3vw, 26px);
  padding-top: 30px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(192, 139, 59, 0.18), transparent 45%),
    linear-gradient(145deg, var(--primary-900), var(--primary-700));
  color: #fff;
  box-shadow: 0 22px 44px -28px rgba(10, 31, 57, 0.7);
}

.lp-bbf-experience::after {
  content: "\201D";
  position: absolute;
  top: 10px;
  left: 18px;
  font-size: 64px;
  line-height: 1;
  color: rgba(226, 196, 152, 0.35);
  font-family: Georgia, serif;
  pointer-events: none;
}

.lp-bbf-experience-badge {
  position: absolute;
  top: -13px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--gold-500);
  color: var(--primary-900);
  font-size: 13px;
  font-weight: 800;
}

.lp-bbf-experience-badge .ms {
  font-size: 17px;
}

.is-bbf .lp-bbf-experience blockquote {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.94);
  font-size: 15px;
  font-style: normal;
  line-height: 2.1;
}

/* ——— Dedications ——— */
.is-bbf .lp-bbf-dedications {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 8px 0 26px;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.lp-bbf-dedications li {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 16px 14px;
  border-radius: 16px;
  border: 1px solid var(--bbf-line);
  background:
    linear-gradient(transparent 31px, rgba(15, 48, 87, 0.05) 32px) 0 6px / 100% 32px,
    #fffdf9;
  border-top: 4px solid var(--primary-500);
}

.lp-bbf-dedications li.is-friend {
  border-top-color: var(--gold-500);
}

.lp-bbf-dedications li.is-love {
  border-top-color: #c25b7a;
}

.lp-bbf-dedications p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 2.1;
}

.lp-bbf-dedications strong {
  display: block;
  color: var(--bbf-ink);
}

.lp-bbf-copy {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  min-height: 38px;
  padding: 6px 12px;
  border-radius: 10px;
  border: 1px solid var(--primary-200);
  background: #fff;
  color: var(--primary-700);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.lp-bbf-copy .ms {
  font-size: 17px;
}

.lp-bbf-copy:hover {
  background: var(--primary-50);
}

.lp-bbf-copy.is-done {
  border-color: var(--success);
  color: var(--success);
}

/* ——— In-content call cards ——— */
@keyframes lp-bbf-ring {
  0% { box-shadow: 0 0 0 0 rgba(232, 190, 120, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(232, 190, 120, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 190, 120, 0); }
}

@keyframes lp-bbf-wiggle {
  0%, 86%, 100% { transform: rotate(0); }
  89% { transform: rotate(-14deg); }
  92% { transform: rotate(12deg); }
  95% { transform: rotate(-8deg); }
}

.lp-bbf-call {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px 20px;
  margin: 30px 0;
  padding: clamp(18px, 3vw, 26px);
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
}

.lp-bbf-call::before {
  content: "";
  position: absolute;
  inset: auto -60px -80px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  z-index: -1;
  opacity: 0.6;
}

.lp-bbf-call.is-navy {
  color: #fff;
  border: 1px solid rgba(192, 139, 59, 0.3);
  background:
    radial-gradient(circle at 0% 0%, rgba(192, 139, 59, 0.22), transparent 45%),
    linear-gradient(135deg, var(--primary-900), var(--primary-700) 60%, #1a4f7a);
  box-shadow: 0 22px 46px -28px rgba(10, 31, 57, 0.65);
}

.lp-bbf-call.is-navy::before {
  background: radial-gradient(circle, rgba(232, 190, 120, 0.28), transparent 70%);
}

.lp-bbf-call.is-gold {
  color: var(--primary-900);
  border: 1px solid rgba(192, 139, 59, 0.35);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.85), transparent 45%),
    linear-gradient(135deg, #fbf3e4, #f3e1bf 70%, #ecd2a2);
  box-shadow: 0 22px 46px -30px rgba(140, 96, 30, 0.55);
}

.lp-bbf-call.is-gold::before {
  background: radial-gradient(circle, rgba(15, 48, 87, 0.12), transparent 70%);
}

.lp-bbf-call-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  flex-shrink: 0;
}

.lp-bbf-call.is-navy .lp-bbf-call-icon {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--gold-300);
}

.lp-bbf-call.is-gold .lp-bbf-call-icon {
  background: linear-gradient(145deg, var(--primary-800), var(--primary-600));
  color: #fff;
  box-shadow: 0 12px 24px -14px rgba(15, 48, 87, 0.7);
}

.lp-bbf-call-icon .ms {
  font-size: 32px;
}

.lp-bbf-call-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.lp-bbf-call-tag {
  justify-self: start;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.lp-bbf-call.is-navy .lp-bbf-call-tag {
  background: rgba(232, 190, 120, 0.16);
  color: var(--gold-300, #f0cf95);
}

.lp-bbf-call.is-gold .lp-bbf-call-tag {
  background: rgba(15, 48, 87, 0.08);
  color: var(--primary-700);
}

.lp-bbf-call-title {
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 800;
  line-height: 1.6;
}

.lp-bbf-call-text {
  font-size: 14px;
  line-height: 1.9;
}

.lp-bbf-call.is-navy .lp-bbf-call-text {
  color: rgba(255, 255, 255, 0.82);
}

.lp-bbf-call.is-gold .lp-bbf-call-text {
  color: var(--text-secondary);
}

.lp-bbf-call-actions {
  display: grid;
  gap: 8px;
  justify-items: stretch;
}

.is-bbf .lp-bbf-call .lp-bbf-call-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 8px 10px 8px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, #e8be78, var(--gold-500, #c08b3b));
  color: var(--primary-900);
  text-decoration: none;
  box-shadow: 0 14px 28px -14px rgba(140, 96, 30, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lp-bbf-call.is-gold .lp-bbf-call-btn {
  background: linear-gradient(135deg, var(--primary-800), var(--primary-600));
  color: #fff;
  box-shadow: 0 14px 28px -14px rgba(15, 48, 87, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.is-bbf .lp-bbf-call .lp-bbf-call-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -14px rgba(140, 96, 30, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.lp-bbf-call-ring {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary-900);
  color: #fff;
  flex-shrink: 0;
  animation: lp-bbf-ring 2.4s ease-out infinite;
}

.lp-bbf-call.is-gold .lp-bbf-call-ring {
  background: #fff;
  color: var(--primary-800);
}

.lp-bbf-call-ring .ms {
  font-size: 22px;
  animation: lp-bbf-wiggle 2.4s ease-in-out infinite;
}

.lp-bbf-call-btn-copy {
  display: grid;
  line-height: 1.35;
  text-align: start;
}

.lp-bbf-call-btn-copy small {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.85;
}

.lp-bbf-call-btn-copy b {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.is-bbf .lp-bbf-call .lp-bbf-call-alt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 6px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.lp-bbf-call.is-navy .lp-bbf-call-alt {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.lp-bbf-call.is-navy .lp-bbf-call-alt:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(232, 190, 120, 0.6);
}

.lp-bbf-call.is-gold .lp-bbf-call-alt {
  color: var(--primary-800);
  border: 1px solid rgba(15, 48, 87, 0.18);
  background: rgba(255, 255, 255, 0.55);
}

.lp-bbf-call.is-gold .lp-bbf-call-alt:hover {
  background: #fff;
  border-color: var(--primary-400, #5b8fd0);
}

.lp-bbf-call-alt .ms {
  font-size: 18px;
}

.lp-bbf-call a:focus-visible {
  outline: 3px solid var(--gold-300);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .lp-bbf-call {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .lp-bbf-call-actions {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: stretch;
  }
}

@media (max-width: 560px) {
  .lp-bbf-call {
    gap: 14px;
    border-radius: 18px;
  }

  .lp-bbf-call-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
  }

  .lp-bbf-call-icon .ms {
    font-size: 27px;
  }

  .lp-bbf-call-actions {
    grid-template-columns: 1fr;
  }

  .is-bbf .lp-bbf-call .lp-bbf-call-btn {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp-bbf-call-ring,
  .lp-bbf-call-ring .ms {
    animation: none;
  }
}

/* ——— Reader comments ——— */
.lp-bbf-comments {
  margin: 28px 0 0;
  padding: clamp(18px, 3.5vw, 32px);
  border-radius: 24px;
  border: 1px solid rgba(15, 48, 87, 0.08);
  background:
    radial-gradient(circle at 100% 0%, rgba(192, 139, 59, 0.1), transparent 38%),
    var(--bg-canvas, #fff);
  box-shadow: 0 24px 50px -36px rgba(10, 31, 57, 0.45);
}

.lp-bbf-comments-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 6px;
}

.lp-bbf-comments-head > .ms {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 15px;
  background: linear-gradient(145deg, var(--primary-800), var(--primary-600));
  color: #fff;
  font-size: 27px;
}

.is-bbf .lp-bbf-comments-head h2 {
  margin: 0 0 4px;
  color: var(--primary-900);
  font-size: clamp(19px, 2.4vw, 24px);
}

.is-bbf .lp-bbf-comments-head p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.9;
}

.is-bbf .lp-bbf-comments .entry-comments {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed rgba(15, 48, 87, 0.12);
}

.is-bbf .lp-bbf-comments .entry-comments > h2 {
  margin: 0 0 14px;
  font-size: 17px;
  color: var(--primary-800);
}

.is-bbf .lp-bbf-comments .comment-list,
.is-bbf .lp-bbf-comments .comment-list .children {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.is-bbf .lp-bbf-comments .comment-list .children {
  margin: 12px 0 0;
  padding-inline-start: clamp(14px, 4vw, 34px);
  border-inline-start: 2px solid var(--gold-100);
}

.is-bbf .lp-bbf-comments .comment-body {
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--primary-100);
  background: linear-gradient(165deg, var(--primary-50), #fff 70%);
}

.is-bbf .lp-bbf-comments .comment-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 12px;
  margin-bottom: 8px;
}

.is-bbf .lp-bbf-comments .comment-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.is-bbf .lp-bbf-comments .comment-author .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 4px 10px -4px rgba(15, 48, 87, 0.4);
}

.is-bbf .lp-bbf-comments .comment-author .fn {
  color: var(--primary-900);
  font-style: normal;
  font-weight: 800;
}

.is-bbf .lp-bbf-comments .comment-author .says {
  display: none;
}

.is-bbf .lp-bbf-comments .comment-metadata,
.is-bbf .lp-bbf-comments .comment-metadata a {
  color: var(--text-tertiary);
  font-size: 12px;
  text-decoration: none;
}

.is-bbf .lp-bbf-comments .comment-content p {
  margin: 0 0 8px;
  color: var(--text-primary);
  font-size: 14.5px;
  line-height: 2;
}

.is-bbf .lp-bbf-comments .comment-awaiting-moderation {
  display: inline-block;
  margin-top: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--gold-100);
  color: var(--gold-700);
  font-size: 12px;
  font-style: normal;
}

.is-bbf .lp-bbf-comments .reply a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--primary-100);
  color: var(--primary-700);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.is-bbf .lp-bbf-comments .reply a:hover {
  border-color: var(--gold-300);
  background: var(--gold-50);
}

.is-bbf .lp-bbf-comments .comment-respond {
  padding: clamp(16px, 3vw, 24px);
  border-radius: 18px;
  background: var(--bg-subtle, #fafafa);
  border: 1px solid var(--border-default);
}

.is-bbf .lp-bbf-comments .comment-reply-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--primary-900);
  font-size: 17px;
}

.is-bbf .lp-bbf-comments .comment-reply-title small a {
  color: var(--error);
  font-size: 13px;
  font-weight: 600;
}

.is-bbf .lp-bbf-comments .comment-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 14px;
}

.is-bbf .lp-bbf-comments .comment-form > p {
  margin: 0;
}

.is-bbf .lp-bbf-comments .comment-form > p:not(.comment-form-author):not(.comment-form-email) {
  grid-column: 1 / -1;
}

.is-bbf .lp-bbf-comments .comment-form label {
  color: var(--primary-900);
  font-size: 13.5px;
  font-weight: 700;
}

.is-bbf .lp-bbf-comments .comment-form input[type="text"],
.is-bbf .lp-bbf-comments .comment-form input[type="email"],
.is-bbf .lp-bbf-comments .comment-form textarea {
  min-height: 50px;
  border-radius: 14px;
  background: #fff;
  font-size: 15px;
}

.is-bbf .lp-bbf-comments .comment-form textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.9;
}

.is-bbf .lp-bbf-comments .comment-form-cookies-consent {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px !important;
}

.is-bbf .lp-bbf-comments .comment-form-cookies-consent label {
  display: inline;
  margin: 0;
  color: var(--text-secondary);
  font-weight: 500;
}

.is-bbf .lp-bbf-comments .logged-in-as {
  margin-bottom: 12px !important;
  color: var(--text-secondary);
  font-size: 13px;
}

.is-bbf .lp-bbf-comments .form-submit .btn-primary {
  min-height: 50px;
  min-width: 200px;
  padding: 12px 26px;
  border-radius: 14px;
  font-weight: 800;
  cursor: pointer;
}

/* ——— Sources ——— */
.lp-bbf-sources {
  margin-top: 30px;
  padding: clamp(18px, 3vw, 26px);
  border-radius: 22px;
  border: 1px solid rgba(15, 48, 87, 0.1);
  background:
    radial-gradient(circle at 100% 0%, rgba(192, 139, 59, 0.12), transparent 40%),
    linear-gradient(165deg, var(--primary-50), #fff 55%);
}

.lp-bbf-sources-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.lp-bbf-sources-head > .ms {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--primary-800), var(--primary-600));
  color: #fff !important;
  font-size: 26px !important;
  flex-shrink: 0;
}

.is-bbf .lp-bbf-sources-head h2 {
  margin: 0 0 6px;
  padding: 0;
  border: 0;
  font-size: clamp(17px, 2vw, 20px);
  color: var(--primary-900);
}

.is-bbf .lp-bbf-sources-head h2::before,
.is-bbf .lp-bbf-sources-head h2::after {
  content: none;
}

.is-bbf .lp-bbf-sources-head p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.8;
}

.is-bbf .lp-bbf-sources-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.is-bbf .lp-bbf-sources-list li {
  margin: 0;
  padding: 0;
}

.is-bbf .lp-bbf-sources-list li::before {
  content: none;
}

.is-bbf .lp-bbf-sources .lp-bbf-sources-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(15, 48, 87, 0.1);
  background: #fff;
  color: var(--primary-800);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.7;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.is-bbf .lp-bbf-sources .lp-bbf-sources-list a:hover {
  border-color: var(--gold-300);
  color: var(--primary-900);
}

.is-bbf .lp-bbf-sources-list .ms {
  color: var(--gold-600);
  flex-shrink: 0;
}

/* ——— Author (shared .lp-landing-author box) ——— */
.is-bbf .lp-bbf-author {
  margin-top: 28px;
}

/* ——— FAQ ——— */
.lp-bbf-faq {
  margin: 40px 0 28px;
}

.lp-bbf-faq .title-block h2 {
  color: var(--bbf-ink);
  font-size: clamp(19px, 2.4vw, 26px);
  line-height: 1.6;
}

.lp-bbf-faq .title-block p {
  max-width: 640px;
  margin: 10px auto 20px;
  color: var(--text-secondary);
  line-height: 1.9;
}

.lp-bbf-faq .faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.lp-bbf-faq .faq-item {
  border-radius: 14px;
  border: 1px solid var(--bbf-line);
  background: #fff;
}

.lp-bbf-faq .faq-item[open] {
  border-color: var(--gold-300);
  box-shadow: 0 12px 28px -22px rgba(15, 48, 87, 0.45);
}

.lp-bbf-faq .faq-item summary {
  font-weight: 600;
  line-height: 1.7;
}

.lp-bbf-faq .faq-item p {
  line-height: 2;
}

/* ——— CTA ——— */
.lp-bbf-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(20px, 3vw, 30px);
  border-radius: var(--bbf-radius);
  background:
    radial-gradient(circle at 0% 100%, rgba(192, 139, 59, 0.3), transparent 45%),
    linear-gradient(135deg, var(--primary-900), var(--primary-700));
  color: #fff;
  box-shadow: 0 24px 50px -28px rgba(10, 31, 57, 0.55);
}

.lp-bbf-cta-copy h2 {
  margin: 0 0 6px;
  color: #fff;
  font-size: clamp(18px, 2.2vw, 22px);
}

.lp-bbf-cta-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  line-height: 1.8;
}

.lp-bbf-cta-copy a {
  color: var(--gold-300);
  font-weight: 700;
}

.lp-bbf-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.lp-bbf-cta-primary,
.lp-bbf-cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
}

.lp-bbf-cta-primary {
  background: var(--gold-500);
  color: var(--primary-900) !important;
}

.lp-bbf-cta-primary:hover {
  background: var(--gold-300);
}

.lp-bbf-cta-link {
  background: rgba(255, 255, 255, 0.14);
  color: #fff !important;
}

.lp-bbf-cta-link:hover {
  background: rgba(255, 255, 255, 0.26);
}

.lp-bbf-cta-link .ms {
  font-size: 18px;
}

/* ——— Responsive ——— */
@media (max-width: 960px) {
  .lp-bbf-hero {
    grid-template-columns: 1fr;
  }

  .lp-bbf-hero-media {
    order: -1;
  }

  .lp-bbf-picks {
    grid-template-columns: 1fr;
  }

  .is-bbf .lp-bbf-dedications {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .is-bbf {
    padding-bottom: 56px;
  }

  .lp-bbf-toc {
    flex-wrap: nowrap;
    margin-inline: -16px;
    padding: 0 16px 6px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .lp-bbf-toc::-webkit-scrollbar {
    display: none;
  }

  /* Table → stacked cards */
  .is-bbf .lp-bbf-table {
    border: 0;
    background: none;
    overflow: visible;
  }

  .is-bbf .lp-bbf-table table {
    min-width: 0;
  }

  .is-bbf .lp-bbf-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .is-bbf .lp-bbf-table tbody,
  .is-bbf .lp-bbf-table tr,
  .is-bbf .lp-bbf-table th,
  .is-bbf .lp-bbf-table td {
    display: block;
    width: 100%;
  }

  .is-bbf .lp-bbf-table tr {
    margin-bottom: 12px;
    border-radius: 16px;
    border: 1px solid var(--primary-100);
    background: #fff !important;
    overflow: hidden;
  }

  .is-bbf .lp-bbf-table tbody th {
    padding: 12px 14px;
    background: var(--primary-50);
    border-bottom: 1px solid var(--primary-100);
  }

  .is-bbf .lp-bbf-table td {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 10px;
    padding: 9px 14px;
    border-bottom: 1px dashed var(--primary-100);
  }

  .is-bbf .lp-bbf-table td::before {
    content: attr(data-label);
    color: var(--text-tertiary);
    font-size: 12px;
    font-weight: 600;
  }

  .is-bbf .lp-bbf-table td:last-child {
    display: block;
    border-bottom: 0;
    padding: 12px 14px;
  }

  .is-bbf .lp-bbf-table td:last-child::before {
    content: none;
  }

  .is-bbf .lp-bbf-table .lp-bbf-buy {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }
}

@media (max-width: 600px) {
  .lp-bbf-hero,
  .lp-bbf-article,
  .lp-bbf-tool,
  .lp-bbf-cta {
    border-radius: 18px;
  }

  .lp-bbf-hero-copy {
    padding: 20px 16px;
  }

  .lp-bbf-article {
    padding: 20px 16px;
  }

  .is-bbf .lp-bbf-article > p {
    font-size: 14.5px;
  }

  .lp-bbf-tool {
    padding: 16px 12px;
  }

  .is-bbf .lp-bbf-tool-jump .btn-primary {
    width: 100%;
  }

  .lp-bbf-step {
    padding: 12px 10px;
  }

  .lp-bbf-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lp-bbf-option {
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    min-height: 92px;
    padding: 10px 8px;
    text-align: center;
    font-size: 13px;
  }

  .lp-bbf-hero-actions,
  .lp-bbf-result-actions,
  .lp-bbf-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .is-bbf .lp-bbf-hero-actions .btn-primary,
  .lp-bbf-hero-secondary,
  .is-bbf .lp-bbf-result-actions .btn-primary,
  .lp-bbf-reset,
  .lp-bbf-cta-primary,
  .lp-bbf-cta-link {
    width: 100%;
    justify-content: center;
  }

  .lp-bbf-form-nav:not(:has(> :not([hidden]))) {
    display: none;
  }

  .lp-bbf-form-nav {
    position: sticky;
    bottom: 0;
    z-index: 2;
    margin: 0 -12px -16px;
    padding: 10px 12px 12px;
    border-radius: 0 0 18px 18px;
    background: linear-gradient(180deg, rgba(252, 248, 243, 0.6), var(--gold-50) 35%);
  }

  .is-bbf .lp-bbf-submit {
    flex: 1;
    justify-content: center;
  }

  .lp-bbf-pick {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 12px;
    padding: 16px 12px 12px;
  }

  .lp-bbf-pick-media {
    width: 84px;
    height: 118px;
  }

  .lp-bbf-pick-foot {
    flex-direction: column;
    align-items: stretch;
  }

  .is-bbf .lp-bbf-pick-cta {
    width: 100%;
  }

  .lp-bbf-cta {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .is-bbf .lp-bbf-sources-list {
    grid-template-columns: 1fr;
  }

  .is-bbf .lp-bbf-comments .comment-form {
    grid-template-columns: 1fr;
  }

  .is-bbf .lp-bbf-comments .form-submit .btn-primary {
    width: 100%;
  }

  .lp-bbf-comments-head > .ms {
    width: 44px;
    height: 44px;
    font-size: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp-bbf-hero,
  .lp-bbf-tool.is-wizard .lp-bbf-step,
  .lp-bbf-result {
    animation: none;
  }

  .lp-bbf-option,
  .lp-bbf-shelf-item {
    transition: none;
  }
}
