/* ========================================================================== 
   BG Products service page
   Official BG brand marks and product pack shots only; no workshop imagery.
   ========================================================================== */

.ak-service-detail--service-bg-products {
  --ak-bg-stage: #111416;
  --ak-bg-stage-soft: #1b1f22;
  --ak-bg-card: #f5f2ec;
}

.ak-service-detail--service-bg-products .ak-service-detail__hero {
  grid-template-columns: minmax(0, 1.05fr) minmax(25rem, 0.95fr);
}

.ak-bg-hero-display {
  position: relative;
  display: grid;
  height: 100%;
  min-height: 34rem;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding: clamp(2rem, 4vw, 4.5rem);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 72% 25%, rgb(237 16 28 / 28%), transparent 22rem),
    linear-gradient(145deg, #202528 0%, var(--ak-bg-stage) 72%);
}

.ak-bg-hero-display::before,
.ak-bg-hero-display::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.ak-bg-hero-display::before {
  width: 34rem;
  height: 34rem;
  right: -18rem;
  bottom: -21rem;
  border: 5rem solid rgb(255 255 255 / 4%);
  border-radius: 50%;
}

.ak-bg-hero-display::after {
  right: 0;
  bottom: 0;
  left: 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgb(0 0 0 / 34%));
}

.ak-bg-hero-display__brand {
  display: inline-flex;
  width: clamp(7rem, 18vw, 11rem);
  align-items: center;
  justify-content: center;
  justify-self: start;
  padding: 0.7rem 0.9rem;
  border-radius: 0.35rem;
  background: var(--ak-white);
  box-shadow: 0 0.8rem 2.5rem rgb(0 0 0 / 24%);
}

.ak-bg-hero-display .ak-bg-hero-display__brand img,
.ak-bg-hero-display__lineup img {
  width: auto;
  height: auto;
  min-height: 0;
  max-height: none;
  object-fit: contain;
}

.ak-bg-hero-display .ak-bg-hero-display__brand img {
  display: block;
  width: 100%;
}

.ak-bg-hero-display__lineup {
  z-index: 1;
  display: grid;
  min-height: 0;
  grid-template-columns: minmax(0, 1fr) minmax(8.5rem, 0.3fr);
  align-items: end;
  gap: clamp(0.5rem, 1.5vw, 1.15rem);
}

.ak-bg-hero-display__catalog {
  display: grid;
  min-width: 0;
  align-items: end;
}

.ak-bg-hero-display__catalog img {
  display: block;
  width: 100%;
  max-height: min(25rem, 50vh);
  object-fit: contain;
  filter: drop-shadow(0 1.2rem 1rem rgb(0 0 0 / 46%));
}

.ak-bg-hero-display__additions {
  display: grid;
  min-width: 0;
  align-self: stretch;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: clamp(0.3rem, 1vw, 0.65rem);
}

.ak-bg-hero-display__additions a {
  display: grid;
  min-width: 0;
  height: 100%;
  align-items: end;
}

.ak-bg-hero-display__additions img {
  display: block;
  width: 100%;
  max-height: min(11.5rem, 23vh);
  object-fit: contain;
  filter: drop-shadow(0 0.8rem 0.7rem rgb(0 0 0 / 44%));
}

.ak-bg-hero-display > p {
  z-index: 1;
  margin: 0;
  color: rgb(255 255 255 / 76%);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.ak-bg-product-composition {
  position: relative;
  display: grid;
  width: 100%;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 75% 30%, rgb(237 16 28 / 24%), transparent 17rem),
    linear-gradient(145deg, var(--ak-bg-stage-soft), #0b0d0f);
  color: var(--ak-white);
}

.ak-bg-product-composition::after {
  position: absolute;
  z-index: -1;
  right: -12rem;
  bottom: -18rem;
  width: 30rem;
  height: 30rem;
  border: 4rem solid rgb(255 255 255 / 4%);
  border-radius: 50%;
  content: "";
}

.ak-bg-product-composition figcaption {
  z-index: 1;
  display: grid;
  align-self: start;
  gap: 0.35rem;
  padding: clamp(1.4rem, 3vw, 2.5rem);
}

.ak-bg-product-composition figcaption span {
  color: #ffafb4;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ak-bg-product-composition figcaption strong {
  max-width: 20rem;
  color: var(--ak-white);
  font-family: var(--wp--preset--font-family--display, inherit);
  font-size: clamp(1.5rem, 3vw, 2.45rem);
  line-height: 1;
}

.ak-bg-product-composition > div {
  z-index: 1;
  display: flex;
  min-height: 0;
  align-items: end;
  justify-content: center;
  gap: clamp(0.5rem, 2vw, 1.3rem);
  padding: 0 clamp(1.25rem, 3vw, 2.5rem) clamp(1.6rem, 4vw, 3rem);
}

.ak-bg-product-composition > div img {
  display: block;
  width: min(29%, 9.5rem);
  height: auto;
  max-height: 21rem;
  object-fit: contain;
  filter: drop-shadow(0 1rem 0.85rem rgb(0 0 0 / 42%));
}

.ak-bg-product-composition--engine {
  height: auto;
  min-height: 34rem;
  aspect-ratio: 3 / 4;
  grid-template-rows: auto minmax(0, 1fr);
}

.ak-bg-product-composition__logo {
  display: block;
  width: clamp(6rem, 17vw, 9rem);
  height: auto;
  padding: 0.55rem 0.75rem;
  border-radius: 0.25rem;
  background: var(--ak-white);
}

.ak-bg-product-composition--fuel {
  height: auto !important;
  min-height: 0;
  aspect-ratio: 3 / 2;
  grid-template-columns: minmax(7.5rem, 0.32fr) 1fr;
  grid-template-rows: auto minmax(0, 1fr);
  align-items: start;
  padding: clamp(1rem, 2.5vw, 2rem);
}

.ak-bg-product-composition--fuel > a {
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-self: start;
}

.ak-bg-product-composition--fuel figcaption {
  padding: 0 0 0 clamp(0.8rem, 2vw, 1.5rem);
}

.ak-bg-product-composition--fuel figcaption strong {
  max-width: 17rem;
  font-size: clamp(1.3rem, 2vw, 1.85rem);
}

.ak-bg-product-composition--fuel > div {
  grid-column: 1 / -1;
  align-self: stretch;
  padding: clamp(0.75rem, 2vw, 1.25rem) 0 0;
}

.ak-bg-product-composition--fuel > div img {
  width: min(27%, 7.5rem);
  max-height: 14rem;
}

.ak-bg-service-photo {
  width: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--ak-ink);
}

.ak-bg-service-photo a,
.ak-bg-service-photo img {
  display: block;
  width: 100%;
  height: 100%;
}

.ak-bg-service-photo img {
  object-fit: cover;
}

.ak-bg-service-photo--overview {
  aspect-ratio: 4 / 3;
}

.ak-bg-service-photo--overview img {
  object-position: 68% center;
}

.ak-service-detail__media-faq-image .ak-bg-service-photo--faq {
  height: auto;
  aspect-ratio: 16 / 9;
}

.ak-bg-service-photo--faq img {
  object-position: center;
}

.ak-bg-products {
  width: 100%;
  max-width: none;
  padding-inline: max(var(--ak-gutter), calc((100% - var(--ak-content-max)) / 2));
  background: var(--ak-paper);
}

.ak-bg-products__header {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.ak-bg-products__header h2 {
  max-width: 54rem;
  margin: 0.5rem 0 0;
  font-size: clamp(2.35rem, 5vw, 4.7rem);
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.ak-bg-products__header > p {
  max-width: 38rem;
  margin: 0;
  color: var(--ak-steel);
  line-height: 1.7;
}

.ak-bg-products__stack {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.ak-bg-product-feature {
  display: grid;
  min-width: 0;
  min-height: clamp(34rem, 44vw, 40rem);
  grid-template-columns: minmax(22rem, 0.47fr) minmax(0, 0.53fr);
  grid-template-areas: "media copy";
  overflow: hidden;
  border: 1px solid var(--ak-line);
  background: var(--ak-white);
  box-shadow: 0 1.5rem 3.5rem rgb(20 24 27 / 8%);
}

.ak-bg-product-feature--reverse {
  grid-template-columns: minmax(0, 0.53fr) minmax(22rem, 0.47fr);
  grid-template-areas: "copy media";
}

.ak-bg-product-feature__media {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 100%;
  grid-area: media;
  place-items: center;
  overflow: hidden;
  padding: clamp(2.25rem, 5vw, 4.5rem);
  background:
    radial-gradient(circle at 50% 48%, rgb(237 16 28 / 16%), transparent 48%),
    linear-gradient(155deg, #fbfaf7, #e5e1d9);
}

.ak-bg-product-feature__media > span {
  position: absolute;
  top: clamp(1rem, 2vw, 1.75rem);
  left: clamp(1rem, 2vw, 1.75rem);
  color: rgb(19 22 24 / 8%);
  font-size: clamp(4rem, 9vw, 8rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.8;
}

.ak-bg-product-feature__media img {
  position: relative;
  z-index: 1;
  display: block;
  width: min(84%, 27rem);
  height: min(30rem, 38vw);
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 1.35rem 1.1rem rgb(29 31 33 / 24%));
}

.ak-bg-product-feature__copy {
  display: flex;
  min-width: 0;
  grid-area: copy;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4.5rem);
}

.ak-bg-product-feature__copy h3 {
  max-width: 45rem;
  margin: 0.65rem 0 1rem;
  font-size: clamp(2.15rem, 4vw, 3.8rem);
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.ak-bg-product-feature__lead {
  max-width: 44rem;
  margin: 0 0 1.4rem;
  color: #3e4448;
  font-size: clamp(1rem, 1.45vw, 1.15rem);
  line-height: 1.68;
}

.ak-bg-product-feature__detail {
  width: 100%;
  max-width: 44rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--ak-line);
}

.ak-bg-product-feature__detail h4 {
  margin: 0 0 0.3rem;
  color: var(--ak-ink);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ak-bg-product-feature__detail p {
  margin: 0;
  color: #4d5357;
  line-height: 1.64;
}

.ak-bg-product-feature__highlights {
  display: grid;
  width: 100%;
  max-width: 44rem;
  gap: 0.45rem;
  margin: 0.3rem 0 1.4rem;
  padding: 0;
  list-style: none;
}

.ak-bg-product-feature__highlights li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--ak-ink);
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.4;
}

.ak-bg-product-feature__highlights li::before {
  position: absolute;
  top: 0.48em;
  left: 0;
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 50%;
  background: var(--ak-red);
  content: "";
}

.ak-bg-product-feature__copy .ak-button {
  border-color: var(--ak-red);
  background: var(--ak-red);
  color: var(--ak-white);
}

.ak-bg-products__source {
  margin: 1.25rem 0 0;
  color: var(--ak-steel);
  font-size: 0.82rem;
}

.ak-bg-products__source a {
  color: var(--ak-red-dark);
  font-weight: 800;
}

.ak-bg-protection-plan {
  display: grid;
  width: var(--ak-shell);
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  margin: clamp(2rem, 4vw, 4rem) auto;
  padding: clamp(2rem, 5vw, 5rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 91% 8%, rgb(237 16 28 / 25%), transparent 20rem),
    linear-gradient(135deg, #191d20, #090b0c);
  color: rgb(255 255 255 / 80%);
}

.ak-bg-protection-plan h2 {
  max-width: 50rem;
  margin: 0.55rem 0 1.2rem;
  color: var(--ak-white);
  font-size: clamp(2.35rem, 5vw, 4.6rem);
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.ak-bg-protection-plan__copy > p {
  max-width: 52rem;
  line-height: 1.72;
}

.ak-bg-protection-plan__systems {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}

.ak-bg-protection-plan__systems li {
  padding: 0.4rem 0.7rem;
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 999px;
  background: rgb(255 255 255 / 5%);
  color: var(--ak-white);
  font-size: 0.78rem;
  font-weight: 800;
}

.ak-bg-protection-plan__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ak-bg-protection-plan__actions .ak-button {
  border-color: var(--ak-red);
  background: var(--ak-red);
  color: var(--ak-white);
}

.ak-bg-protection-plan__visual {
  display: grid;
  place-items: center;
  gap: 1rem;
  min-height: 22rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid rgb(255 255 255 / 14%);
  background: var(--ak-white);
  color: var(--ak-ink);
  text-align: center;
  text-decoration: none;
  box-shadow: 0 1.5rem 4rem rgb(0 0 0 / 30%);
}

.ak-bg-protection-plan__visual img {
  display: block;
  width: min(100%, 21rem);
  height: auto;
}

.ak-bg-protection-plan__visual span {
  color: var(--ak-steel);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 1180px) {
  .ak-bg-product-feature {
    grid-template-columns: minmax(19rem, 0.43fr) minmax(0, 0.57fr);
  }

  .ak-bg-product-feature--reverse {
    grid-template-columns: minmax(0, 0.57fr) minmax(19rem, 0.43fr);
  }

  .ak-bg-product-feature__copy {
    padding: clamp(2rem, 4vw, 3rem);
  }
}

@media (max-width: 980px) {
  .ak-service-detail--service-bg-products .ak-service-detail__hero {
    grid-template-columns: 1fr;
  }

  .ak-bg-hero-display {
    min-height: 31rem;
  }

  .ak-bg-hero-display__catalog img {
    max-height: 23rem;
  }

  .ak-bg-hero-display__additions img {
    max-height: 10.5rem;
  }

  .ak-bg-products__header,
  .ak-bg-protection-plan {
    grid-template-columns: 1fr;
  }

  .ak-bg-product-feature,
  .ak-bg-product-feature--reverse {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-areas:
      "media"
      "copy";
  }

  .ak-bg-product-feature__media {
    min-height: 27rem;
    padding: 2.5rem;
  }

  .ak-bg-product-feature__media img {
    width: min(76%, 25rem);
    height: 23rem;
  }

  .ak-bg-protection-plan__visual {
    min-height: 17rem;
  }

  .ak-service-detail--service-bg-products .ak-service-detail__media-faq {
    gap: 2.5rem;
  }
}

@media (max-width: 700px) {
  .ak-bg-hero-display {
    min-height: 23.5rem;
    gap: 1rem;
    padding: 1.4rem 1rem 1.25rem;
  }

  .ak-bg-hero-display__brand {
    width: 6.6rem;
    padding: 0.5rem 0.65rem;
  }

  .ak-bg-hero-display__lineup {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 0.15rem;
  }

  .ak-bg-hero-display__catalog {
    justify-items: center;
  }

  .ak-bg-hero-display__catalog img {
    width: min(100%, 23rem);
    max-height: 12.5rem;
  }

  .ak-bg-hero-display__additions {
    width: min(88%, 19rem);
    justify-self: center;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.25rem;
  }

  .ak-bg-hero-display__additions img {
    max-height: 6.5rem;
  }

  .ak-bg-hero-display > p {
    font-size: 0.64rem;
    letter-spacing: 0.09em;
  }

  .ak-bg-product-composition--engine {
    min-height: 27rem;
    aspect-ratio: 4 / 5;
  }

  .ak-bg-product-composition figcaption {
    padding: 1.25rem;
  }

  .ak-bg-product-composition > div {
    padding: 0 1rem 1.4rem;
  }

  .ak-bg-product-composition > div img {
    width: 30%;
    max-height: 16rem;
  }

  .ak-bg-products {
    padding-inline: var(--ak-gutter);
  }

  .ak-bg-products__header {
    grid-template-columns: 1fr;
    margin-bottom: 1.75rem;
  }

  .ak-bg-product-feature__media {
    min-height: 21rem;
    padding: 1.5rem;
  }

  .ak-bg-product-feature__media img {
    width: min(82%, 19rem);
    height: 17.5rem;
  }

  .ak-bg-product-feature__copy {
    padding: 1.5rem;
  }

  .ak-bg-product-feature__copy h3 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .ak-bg-product-feature__lead {
    margin-bottom: 1rem;
  }

  .ak-bg-product-feature__highlights {
    margin-bottom: 1.2rem;
  }

  .ak-bg-protection-plan {
    width: calc(100% - (var(--ak-gutter) * 2));
    padding: 1.5rem;
  }

  .ak-bg-protection-plan__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .ak-bg-protection-plan__actions .ak-button {
    justify-content: center;
    text-align: center;
  }

  .ak-bg-protection-plan__visual {
    min-height: 14rem;
    padding: 1.5rem;
  }

  .ak-bg-product-composition--fuel {
    min-height: 20rem;
    aspect-ratio: 4 / 3;
    grid-template-columns: 6.5rem 1fr;
    padding: 1rem;
  }

  .ak-bg-product-composition__logo {
    width: 6.2rem;
    padding: 0.4rem 0.55rem;
  }

  .ak-bg-product-composition--fuel figcaption {
    padding-left: 0.75rem;
  }

  .ak-bg-product-composition--fuel figcaption strong {
    font-size: 1.15rem;
  }

  .ak-bg-product-composition--fuel > div img {
    width: 29%;
    max-height: 10rem;
  }
}
/* Keep product compositions independent of the single-photo service hero rules. */
.ak-service-detail.ak-service-detail--service-bg-products .ak-service-detail__hero-media{height:auto;min-height:0}
.ak-service-detail--service-bg-products .ak-service-detail__hero-media .ak-bg-hero-display{height:auto;min-height:100%;grid-template-rows:auto auto auto}
.ak-service-detail--service-bg-products .ak-service-detail__hero-media img{height:auto;min-height:0;object-fit:contain}
.ak-service-detail--service-bg-products .ak-service-detail__hero-media .ak-bg-hero-display__catalog img{max-height:400px}
.ak-service-detail--service-bg-products .ak-service-detail__hero-media .ak-bg-hero-display__additions img{max-height:184px}
@media(max-width:700px){.ak-service-detail--service-bg-products .ak-service-detail__hero-media .ak-bg-hero-display__additions img{max-height:100px}}

/* Separate authentic pack shots retain every original hero product. */
.talus-bg-product-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:22px 12px;position:relative;z-index:1}
.talus-bg-product{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;min-width:0;text-decoration:none;color:#fff;gap:8px}
.ak-service-detail--service-bg-products .ak-service-detail__hero-media .talus-bg-product img{display:block;width:100%;height:142px;min-height:0;max-height:none;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 4px 6px #0005)}
.talus-bg-product span{font-size:10px;line-height:1.3;text-align:center;min-height:26px;color:#fff;font-weight:650}
.talus-bg-product:hover{opacity:.85}
@media(max-width:700px){.talus-bg-product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 12px}.ak-service-detail--service-bg-products .ak-service-detail__hero-media .talus-bg-product img{height:132px}.talus-bg-product span{font-size:11px}}
