/*
 * Reclamehuys Site System v1.3.105 — overal dezelfde visuele eindafstand.
 * Referentie: de goedgekeurde tussenruimte op Home tussen de 250.000-
 * emblemenkop en het daaropvolgende productblok (ca. 152px).
 *
 * De footer-shortcode toont de wekelijkse productkaart op ALLE beheerde
 * pagina's. Deze kaart is het begin van het gedeelde footergebied. De
 * hoofdcontent mag daar geen eigen extra eindpadding/-margin aan toevoegen.
 */
body.rh-standalone-site {
    --rh-weekly-product-gap: 152px;
}

/* Één en dezelfde afstand, op Home én alle andere beheerde pagina's.
   Gebruik padding op de gedeelde wrapper zodat marges niet kunnen instorten. */
html body.rh-standalone-site .cwh26-home.rh-site-bottom {
    padding-top: var(--rh-weekly-product-gap) !important;
    padding-bottom: 0 !important;
    margin: 0 auto !important;
}
html body.rh-standalone-site .rh-site-bottom .cwh26-weekly-product {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
}

/* Alleen de onderkant van de laatste inhoud; niet de sectieruimte elders op de pagina. */
html body.rh-standalone-site .rh-site__content > :last-child {
    margin-bottom: 0 !important;
}
html body.rh-standalone-site .rh-site__content :is(
    #cwh26Home,
    #cwe26Page,
    #cwCustomMade,
    #cwAbout,
    .cw-contact-page,
    .rhpc,
    .rheg-page,
    .rh-privacy,
    .rh-basic-page
) {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Mogelijke extra eindruimtes uit oudere losse paginaopbouwen. */
html body.rh-standalone-site .rh-site__content #cwh26Home .cwh26-section--promos,
html body.rh-standalone-site .rh-site__content #cwe26Page .cwe26-nocharge,
html body.rh-standalone-site .rh-site__content #cwCustomMade .cw-custom-category-showroom,
html body.rh-standalone-site .rh-site__content #cwAbout .cwabout-process,
html body.rh-standalone-site .rh-site__content .cw-contact-main,
html body.rh-standalone-site .rh-site__content .rheg-section:last-of-type,
html body.rh-standalone-site .rh-site__content .rh-privacy__content section:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Calculatoren hadden op tablet/mobiel nog 150/180px eigen eindpadding.
   Die witruimte mag niet bij de gedeelde 152px worden opgeteld. */
html body.rh-standalone-site .rh-site__content main.rhpc {
    padding-bottom: 0 !important;
}
