/* REMACOM v6: full-bleed, gap-free category backgrounds.
   No changes to header/footer, content images, ordering or anchors.
   Loaded after v5, so overrides its decorative patterns and clipping. */
#main article > .container:nth-child(2) > section[id] {
  position:relative;
  isolation:isolate;
  margin-block:0 !important;
  border:0 !important;
  overflow:visible;
}
/* Solid backgrounds cover every pixel of the section: no clip-path cutouts. */
#main article > .container:nth-child(2) > section[id]::before {
  content:"";
  position:absolute;
  inset:0 auto 0 50%;
  width:100vw;
  transform:translateX(-50%);
  z-index:-1;
  pointer-events:none;
  clip-path:none !important;
  background-image:none !important;
  background-size:auto !important;
}
#main #section-showcase::before {background-color:#eaf4fb;}
#main #section-stocker::before {background-color:#fff;}
#main #section-bakery::before {background-color:#fbf1e4;}
#main #section-service::before {background-color:#fff6e7;}
/* A seamless diagonal transition: previous section's background forms a
   small diagonal wedge ON TOP of the next section's full background.
   No transparent area, so white body color cannot show through. */
#main article > .container:nth-child(2) > section[id]::after {
  content:"";
  position:absolute;
  left:50%; top:-1px;
  transform:translateX(-50%);
  width:100vw;
  height:clamp(18px,2.4vw,36px);
  z-index:-1;
  pointer-events:none;
  clip-path:polygon(0 0,100% 0,0 100%);
  background:var(--rm-previous-bg,transparent);
}
#main #section-showcase::after {content:none;}
#main #section-stocker {--rm-previous-bg:#eaf4fb;}
#main #section-bakery {--rm-previous-bg:#fff;}
#main #section-service {--rm-previous-bg:#fbf1e4;}
@media(max-width:767.98px) {
  #main article > .container:nth-child(2) > section[id]::before {clip-path:none !important;}
  #main article > .container:nth-child(2) > section[id]::after {height:18px;}
}
