/* The shop section owns the gap below the last FAQ divider. Neto articles can
   finish with scripts or hidden publication metadata after the final section. */
.so-guide__layout:has(> .so-guide__shop) > .so-guide__body >
section:is(.so-guide-faqs, .faqblock):nth-last-child(1 of :not(style, script, link, template, meta, [hidden])) {
  margin-bottom: 0;
}

.so-guide__layout {
  --so-guide-faq-shop-gap: 72px;
}

.so-guide__layout:has(> .so-guide__body > section:is(.so-guide-faqs, .faqblock):nth-last-child(1 of :not(style, script, link, template, meta, [hidden]))) >
#shop-products.so-guide__shop {
  padding-top: var(--so-guide-faq-shop-gap);
}

@media (max-width: 760px) {
  .so-guide__layout {
    --so-guide-faq-shop-gap: 56px;
  }
}
