/* Layout only; shared BBULL cards, buttons and tokens provide the brand styling. */
.bbull-landing-products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: var(--padding-m);
  margin-block: var(--padding-xl);
}

.bbull-landing-card { min-width: 0; }

.bbull-landing-card > a {
  box-sizing: border-box;
  height: 100%;
  gap: var(--padding-m);
  padding: var(--padding-m);
  color: var(--bb-text);
  text-decoration: none;
}

.bbull-landing-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

.bbull-landing-card__media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 220px;
  object-fit: contain;
}

.bbull-landing-card h3 {
  margin: 0;
  color: var(--bb-text);
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
  font-weight: var(--weight-heading);
  line-height: 1.3;
}

.bbull-landing-card .bbull-landing-card__description {
  margin: 0;
  color: var(--bb-muted);
  font-size: var(--fs-s);
  line-height: 1.65;
}

.bbull-landing-card__action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--padding-s);
  margin-top: auto;
  color: var(--bb-text);
  font-size: var(--fs-s);
  font-weight: var(--weight-strong);
}

.bbull-landing-card__action > span {
  color: var(--bb-red);
  font-size: 1.25em;
}

.bbull-landing-contact { margin-block: var(--padding-xl); }

.bbull-product-landing {
  margin: 0;
  padding-block: 0 var(--padding-xl);
  background: var(--bb-surface-muted);
}

.bbull-product-landing__inner {
  box-sizing: border-box;
  width: var(--container-max);
  max-width: 100%;
  margin-inline: auto;
  padding-top: var(--padding-m);
  border-top: 1px solid var(--bb-border-strong);
  text-align: center;
}

.bbull-product-landing__overview {
  display: inline-flex;
  width: max-content;
  align-items: center;
  justify-content: center;
  gap: var(--padding-s);
  padding-block: var(--padding-s);
  color: var(--bb-text);
  font-weight: var(--weight-strong);
  text-decoration: none;
}

.bbull-product-landing__overview > span:first-child {
  min-width: 0;
  flex-shrink: 0;
  max-width: calc(100% - var(--padding-s) - 1em);
  text-wrap: wrap;
}

.bbull-product-landing__overview > span:last-child {
  width: 1em;
  flex-shrink: 0;
  color: var(--bb-red);
}

.bbull-product-landing__overview:hover { text-decoration: underline; }

.bbull-product-landing__products {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--padding-s);
  margin: var(--padding-s) 0 0;
  padding: 0;
  list-style: none;
}

.bbull-product-landing__products li { max-width: 100%; }

.bbull-product-landing__product {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--padding-s) var(--padding-m);
  border: 1px solid var(--bb-border-strong);
  border-radius: var(--bb-radius-sm);
  background: var(--bb-surface);
  color: var(--bb-text);
  font-size: var(--fs-s);
  text-wrap: balance;
  text-decoration: none;
}

.bbull-product-landing__product:hover { text-decoration: underline; }

.bbull-product-landing a:visited { color: var(--bb-text); }

@media (max-width: 640px) {
  .bbull-product-landing__products {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: 1fr;
    width: min(100%, 480px);
    margin-inline: auto;
  }

  .bbull-product-landing__product {
    width: 100%;
    height: 100%;
  }
}

.bbull-product-landing__product[aria-current="page"] {
  border-color: var(--bb-red);
  box-shadow: inset 3px 0 0 var(--bb-red);
  font-weight: var(--weight-strong);
}

.bbull-landing-contact a,
.bbull-product-landing a {
  box-sizing: border-box;
  max-width: 100%;
  min-height: 44px;
  gap: var(--padding-s);
  margin-inline: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

.bbull-landing-contact a { text-align: center; }

.bbull-landing-card > a:focus-visible,
.bbull-landing-contact a:focus-visible,
.bbull-product-landing a:focus-visible {
  outline: 3px solid var(--bb-text);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .bbull-landing-card > .bb-card,
  .bbull-landing-contact a,
  .bbull-product-landing a { transition: none; }

  .bbull-landing-card > .bb-card:hover,
  .bbull-landing-card > .bb-card:focus-visible,
  .bbull-landing-contact a:hover,
  .bbull-landing-contact a:focus-visible,
  .bbull-product-landing a:hover,
  .bbull-product-landing a:focus-visible { transform: none; }
}
