/* Scoped Linen & Harbour styles for /buy-online/ Direct Insurer Checkout Hub */

.bo-hero {
  background: var(--bg-alt);
  padding: 40px 0 32px;
  border-bottom: 1px solid var(--line);
}

.bo-eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--accent);
}

.bo-h1 {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.09;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 24ch;
}

.bo-lead {
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.58;
  color: var(--ink-soft);
  max-width: 68ch;
}

.bo-hero-alt {
  margin: 0 0 22px;
  font-size: 15px;
  font-weight: 500;
}

.bo-trust-bar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px 20px;
}

.bo-trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 760px) {
  .bo-trust-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

.bo-trust-item strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 3px;
}

.bo-trust-item span {
  display: block;
  font-size: 14px;
  line-height: 1.48;
  color: var(--muted);
}

.bo-trust-links {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}

.bo-directory {
  background: var(--bg-alt);
  padding: 28px 0 56px;
}

.bo-controls {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

@media (min-width: 900px) {
  .bo-controls {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.bo-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bo-pill {
  appearance: none;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
  padding: 10px 15px;
  min-height: 44px;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: background-color 150ms var(--ease-ui), border-color 150ms var(--ease-ui), color 150ms var(--ease-ui);
}

.bo-pill:hover {
  border-color: var(--line-hover);
}

.bo-pill.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink-inv);
}

.bo-count-status {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.bo-pick-notice {
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  color: var(--ink);
  border-radius: var(--r-sm);
  padding: 12px 16px;
  margin-bottom: 18px;
  font-size: 14px;
  line-height: 1.5;
}

.bo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 720px) {
  .bo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1080px) {
  .bo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.bo-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 150ms var(--ease-ui), box-shadow 150ms var(--ease-ui), transform 150ms var(--ease-ui);
}

.bo-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-hover);
  transform: translateY(-1px);
}

.bo-card.is-picked {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-hover);
}

.bo-pick-badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: var(--r-pill);
}

.bo-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bo-logo-box {
  flex: 0 0 auto;
  min-width: 58px;
  height: 40px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bo-logo-box img {
  max-width: 96px;
  max-height: 28px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.bo-card-title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.2;
  color: var(--ink);
}

.bo-card-underwriter {
  margin: 2px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
}

.bo-best-for {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.bo-trip-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.bo-trip-chip {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  background: var(--surface-step);
  padding: 3px 9px;
  border-radius: var(--r-pill);
}

.bo-specs {
  margin: 0;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bo-spec-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bo-spec-row dt {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.bo-spec-row dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
}

.bo-card-actions {
  margin-top: auto;
}

.bo-cta-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  padding: 11px 16px;
  border-radius: var(--r-sm);
  background: var(--accent);
  color: var(--ink-inv);
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: background-color 150ms var(--ease-ui);
}

.bo-cta-primary:hover {
  background: var(--accent-hover);
  text-decoration: none;
}

.bo-sub-portals {
  background: var(--bg-alt);
  border-radius: var(--r-sm);
  padding: 10px 12px;
}

.bo-sub-portals-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 6px;
}

.bo-sub-portals-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bo-sub-portal-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  padding: 2px 0;
}

.bo-sub-portal-link.is-type-match {
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
}

.bo-card-foot {
  font-size: 13px;
  padding-top: 2px;
}

.bo-review-link {
  color: var(--muted);
  font-weight: 500;
}

.bo-review-link:hover {
  color: var(--accent);
}

.bo-matrix-section {
  background: var(--bg);
  padding: 56px 0;
  border-top: 1px solid var(--line);
}

.bo-section-head {
  margin-bottom: 22px;
  max-width: 68ch;
}

.bo-section-head h2 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.018em;
  color: var(--ink);
}

.bo-section-head p {
  margin: 0;
  font-size: 16px;
  color: var(--muted);
}

.bo-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
}

.bo-matrix-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}

.bo-matrix-table th,
.bo-matrix-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.bo-matrix-table thead th {
  background: var(--bg-alt);
  color: var(--ink);
  font-weight: 600;
  font-size: 13px;
}

.bo-matrix-table tbody tr:last-child td {
  border-bottom: 0;
}

.bo-table-sub {
  margin-top: 3px;
  font-size: 12px;
}

.bo-table-cta {
  display: inline-block;
  white-space: nowrap;
  padding: 7px 12px;
  border-radius: var(--r-sm);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
}

.bo-table-cta:hover {
  background: var(--accent);
  color: var(--ink-inv);
  text-decoration: none;
}

.bo-matrix-note {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--muted);
  max-width: 78ch;
}

.bo-faq-section {
  background: var(--bg-alt);
  padding: 56px 0 72px;
  border-top: 1px solid var(--line);
}

.bo-faq-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 820px) {
  .bo-faq-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.bo-faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px;
}

.bo-faq-item h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.25;
  color: var(--ink);
}

.bo-faq-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.58;
  color: var(--ink-soft);
}

.bo-faq-link-row {
  margin-top: 10px !important;
  font-size: 14px !important;
  font-weight: 600;
}
