/* REMACOM: diagonal section backgrounds — only the main content area.
   Preserves markup, image URLs, header, footer, and Bootstrap 5.3.
   Decorative backgrounds are non-interactive and cannot overlap product content. */
#main article > .container:nth-child(2) { position:relative; }
#main article > .container:nth-child(2) > section[id] {
  position:relative; isolation:isolate;
  padding-top:clamp(3.2rem,5.8vw,5.5rem);
  padding-bottom:clamp(3.7rem,6.5vw,6.5rem);
  margin-top:0 !important;
  margin-bottom:0 !important;
  border-top:0 !important;
}
/* A pseudo-element per section stretches to viewport width while the text and products
   remain inside their existing Bootstrap .container. */
#main article > .container:nth-child(2) > section[id]::before {
  content:"";
  position:absolute;
  z-index:-1;
  pointer-events:none;
  top:0; bottom:0;
  width:100vw;
  left:50%;
  transform:translateX(-50%);
  background:var(--rm-section-bg,#fff);
  clip-path:polygon(0 0,100% var(--rm-cut),100% 100%,0 calc(100% - var(--rm-cut)));
}
#main #section-showcase { --rm-section-bg:#f5f8fc; --rm-cut:clamp(28px,4vw,62px); }
#main #section-stocker { --rm-section-bg:#fff; --rm-cut:clamp(28px,4vw,62px); }
#main #section-bakery { --rm-section-bg:#eef4fa; --rm-cut:clamp(28px,4vw,62px); }
#main #section-service { --rm-section-bg:#fff5f5; --rm-cut:clamp(28px,4vw,62px); }
/* A continuous pale backdrop ensures diagonal negative areas never expose unrelated content. */
#main article > .container:nth-child(2) { background:transparent; }
#main article > .container:nth-child(2) > section[id] > h2 { margin-top:0; }
#main article > .container:nth-child(2) > section[id] > section:last-child { margin-bottom:0 !important; }
@media(max-width:767.98px){
  #main article > .container:nth-child(2) > section[id] {
    padding-top:3.4rem; padding-bottom:3.8rem;
    margin-top:0 !important; margin-bottom:0 !important;
  }
  #main article > .container:nth-child(2) > section[id]::before {
    clip-path:polygon(0 0,100% 24px,100% 100%,0 calc(100% - 24px));
  }
}
