/* Betta line-up pages: /betta/, /betta-pool-skimmers/, /solar-pool-skimmers/,
   /handheld-cordless-pool-vacuums/, the carousel + comparison on /robotic-pool-skimmers/ and the
   feature sections / "More from Betta" row on the Betta product pages. Everything is prefixed bl-. */
.bl-hero { background: #f5f5f7; padding: 56px 22px 40px; }
.bl-hero__inner { max-width: 1200px; margin: 0 auto; }
.bl-crumbs ol { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: #6e6e73; }
.bl-crumbs li + li::before { content: "/"; margin-right: 6px; color: #b0b0b5; }
.bl-crumbs a { color: #6e6e73; text-decoration: none; }
.bl-crumbs a:hover { text-decoration: underline; }
.bl-crumbs [aria-current="page"] { color: #1d1d1f; font-weight: 500; }
.bl-eyebrow { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #0071e3; margin: 0 0 8px; }
.bl-hero h1 { font-size: 48px; line-height: 1.08; font-weight: 600; letter-spacing: -0.01em; color: #1d1d1f; margin: 0 0 14px; }
.bl-hero__lede { font-size: 19px; line-height: 1.5; color: #424245; max-width: 760px; margin: 0; }
.bl-hero__links { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.bl-hero__links a { display: inline-block; padding: 8px 14px; border-radius: 100px; background: #fff; border: 1px solid rgba(0,0,0,0.1); color: #1d1d1f; font-size: 14px; text-decoration: none; }
.bl-hero__links a:hover { border-color: #0071e3; color: #0071e3; }

/* carousel: a scroll-snap row with prev / next buttons */
.bl-carousel { background: #f5f5f7; padding: 0 22px 48px; }
.bl-carousel--plain { background: #fff; padding: 48px 22px; }
.bl-carousel__inner { max-width: 1200px; margin: 0 auto; position: relative; }
.bl-carousel__title { font-size: 26px; font-weight: 600; color: #1d1d1f; margin: 0 0 18px; }
.bl-carousel__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; padding: 4px 2px 14px; margin: 0; list-style: none; scrollbar-width: thin; }
.bl-carousel__track:focus-visible { outline: 2px solid #0071e3; outline-offset: 4px; }
.bl-slide { flex: 0 0 calc((100% - 32px) / 3); scroll-snap-align: start; margin: 0; }
.bl-slide figure { margin: 0; }
.bl-slide img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 18px; background: #e8e8ed; }
.bl-slide figcaption { font-size: 14px; line-height: 1.4; color: #424245; margin: 10px 2px 0; }
.bl-slide figcaption a { color: #0071e3; text-decoration: none; font-weight: 600; }
.bl-slide figcaption a:hover { text-decoration: underline; }
.bl-carousel__btn { position: absolute; top: 38%; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.12); background: rgba(255,255,255,0.95); color: #1d1d1f; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,0.12); z-index: 2; padding: 0; }
.bl-carousel__btn:hover { border-color: #0071e3; color: #0071e3; }
.bl-carousel__btn[disabled] { opacity: 0.35; cursor: default; }
.bl-carousel__btn--prev { left: -10px; }
.bl-carousel__btn--next { right: -10px; }
@media (max-width: 1000px) { .bl-slide { flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 620px) {
  .bl-hero { padding: 36px 18px 28px; }
  .bl-hero h1 { font-size: 34px; }
  .bl-hero__lede { font-size: 17px; }
  .bl-carousel { padding: 0 18px 36px; }
  .bl-carousel--plain { padding: 36px 18px; }
  .bl-slide { flex-basis: 84%; }
  .bl-carousel__btn--prev { left: 4px; }
  .bl-carousel__btn--next { right: 4px; }
}

/* the grid on these pages keeps the stock badge the other category pages hide */
.bl-grid .category-products-grid .shop-card-stock { display: inline-block; }
.bl-grid__note-wrap { background: #fbfbfd; padding: 0 22px 40px; margin-top: -28px; }
.bl-grid__note { max-width: 1200px; margin: 0 auto; font-size: 15px; color: #424245; }
.bl-grid__note a { color: #0071e3; }

/* below the fold */
.bl-body { background: #fff; padding: 64px 22px; }
.bl-body__inner { max-width: 900px; margin: 0 auto; }
.bl-body h2 { font-size: 30px; line-height: 1.15; font-weight: 600; color: #1d1d1f; margin: 48px 0 14px; }
.bl-body h2:first-child { margin-top: 0; }
.bl-body p, .bl-body li { font-size: 17px; line-height: 1.6; color: #424245; }
.bl-body p { margin: 0 0 14px; }
.bl-body ul { padding-left: 22px; margin: 0 0 16px; }
.bl-body li { margin: 0 0 10px; }
.bl-body a { color: #0071e3; }
.bl-table-wrap { overflow-x: auto; margin: 0 0 8px; border: 1px solid rgba(0,0,0,0.08); border-radius: 14px; }
.bl-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 14px; line-height: 1.45; margin: 0; }
.bl-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.bl-table th, .bl-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(0,0,0,0.08); color: #424245; }
.bl-table thead th { background: #f5f5f7; color: #1d1d1f; font-weight: 600; }
.bl-table thead th a { color: #1d1d1f; text-decoration: none; }
.bl-table thead th a:hover { color: #0071e3; }
.bl-table tbody th { color: #1d1d1f; font-weight: 600; white-space: nowrap; background: #fbfbfd; }
.bl-table tr:last-child th, .bl-table tr:last-child td { border-bottom: 0; }
.bl-table s { color: #86868b; margin-left: 4px; }
.bl-table--specs { min-width: 0; }
.bl-stock { display: inline-block; font-size: 12px; font-weight: 500; padding: 2px 9px; border-radius: 100px; white-space: nowrap; }
.bl-stock.is-in { background: rgba(46,125,50,0.1); color: #2e7d32; }
.bl-stock.is-out { background: rgba(198,40,40,0.1); color: #c62828; }
.bl-body p.bl-table-note { font-size: 13px; color: #6e6e73; margin: 8px 0 0; }
.bl-faq { margin-top: 8px; }

/* related category / brand tiles */
.bl-related { background: #f5f5f7; padding: 56px 22px; }
.bl-related__inner { max-width: 1200px; margin: 0 auto; }
.bl-related h2 { font-size: 26px; font-weight: 600; color: #1d1d1f; margin: 0 0 20px; }
.bl-related__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bl-related__grid a { display: block; background: #fff; border: 1px solid rgba(0,0,0,0.06); border-radius: 16px; padding: 18px; text-decoration: none; color: #1d1d1f; }
.bl-related__grid a:hover { border-color: rgba(0,113,227,0.4); }
.bl-related__grid strong { display: block; font-size: 16px; margin: 0 0 6px; }
.bl-related__grid span { display: block; font-size: 14px; line-height: 1.45; color: #6e6e73; }
@media (max-width: 1000px) { .bl-related__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .bl-related__grid { grid-template-columns: 1fr; } .bl-body { padding: 44px 18px; } .bl-body h2 { font-size: 25px; } }

/* product pages: feature sections (infographic photo + text) and the "More from Betta" row */
.bl-features { padding: 24px 22px 8px; }
.bl-features__inner { max-width: 1040px; margin: 0 auto; }
.bl-features__inner > h2 { font-size: 30px; font-weight: 600; color: #1d1d1f; margin: 0 0 24px; }
.bl-feature { display: grid; grid-template-columns: minmax(0, 440px) 1fr; gap: 48px; align-items: center; margin: 0 0 40px; }
.bl-feature:nth-of-type(even) { grid-template-columns: 1fr minmax(0, 440px); }
.bl-feature:nth-of-type(even) .bl-feature__media { order: 2; }
.bl-feature__media img { display: block; width: 100%; height: auto; border-radius: 18px; background: #f5f5f7; }
.bl-feature h3 { font-size: 24px; font-weight: 600; color: #1d1d1f; margin: 0 0 10px; }
.bl-feature p { font-size: 17px; line-height: 1.6; color: #424245; margin: 0; }
@media (max-width: 768px) { .bl-feature, .bl-feature:nth-of-type(even) { grid-template-columns: 1fr; gap: 16px; } .bl-feature:nth-of-type(even) .bl-feature__media { order: 0; } }
.bl-more { padding: 40px 22px 56px; }
.bl-more__inner { max-width: 1200px; margin: 0 auto; }
.bl-more h2 { font-size: 28px; font-weight: 600; color: #1d1d1f; margin: 0 0 6px; }
.bl-more__lede { font-size: 16px; color: #6e6e73; margin: 0 0 22px; }
.bl-more__lede a { color: #0071e3; }
.bl-more__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bl-more__tile { display: flex; flex-direction: column; background: #fff; border: 1px solid rgba(0,0,0,0.08); border-radius: 16px; padding: 14px; text-decoration: none; color: #1d1d1f; }
.bl-more__tile:hover { border-color: rgba(0,113,227,0.4); }
.bl-more__tile img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; border-radius: 12px; background: #fff; margin: 0 0 12px; }
.bl-more__tile strong { font-size: 15px; margin: 0 0 4px; }
.bl-more__tile small { font-size: 13px; line-height: 1.4; color: #6e6e73; margin: 0 0 10px; flex: 1; }
.bl-more__price { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 15px; font-weight: 600; }
.bl-more__price s { font-weight: 400; font-size: 13px; color: #86868b; margin-left: 4px; }
.bl-more__links { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.bl-more__links a { display: inline-block; padding: 8px 14px; border-radius: 100px; border: 1px solid rgba(0,0,0,0.12); color: #1d1d1f; font-size: 14px; text-decoration: none; }
.bl-more__links a:hover { border-color: #0071e3; color: #0071e3; }
@media (max-width: 1000px) { .bl-more__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .bl-more__grid { gap: 10px; } .bl-more__tile { padding: 10px; } }
