/* Page-local additions: use the current site's type and colour system. */
main[data-page="pill-bathroom"] .bath-fit-depth{padding-top:26px;margin-top:28px;border-top:1px solid #ced8ce;min-width:0}
main[data-page="pill-bathroom"] .bath-fit-depth p{max-width:84ch}
main[data-page="pill-bathroom"] .bath-fit-depth figure{margin:24px 0;min-width:0}
main[data-page="pill-bathroom"] .bath-fit-depth img{display:block;width:100%;height:auto;max-width:100%;object-fit:contain;border-radius:12px}
main[data-page="pill-bathroom"] .bath-fit-depth figcaption{max-width:90ch}
main[data-page="pill-bathroom"] .bath-fit-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:24px 0}
main[data-page="pill-bathroom"] .bath-fit-actions>div{padding:22px;background:#f0f3ec;border-left:3px solid #9e632a;min-width:0}
main[data-page="pill-bathroom"] .bath-fit-actions h4{font-size:18px;line-height:1.4;font-family:inherit;margin:0 0 12px;color:#243f31}
main[data-page="pill-bathroom"] .bath-fit-actions p{margin:0}
main[data-page="pill-bathroom"] .bath-preferences{margin-top:24px;border:1px solid #cbd4c8;padding:22px;min-width:0}
main[data-page="pill-bathroom"] .bath-preferences>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
main[data-page="pill-bathroom"] .bath-preferences label{display:grid;gap:8px;min-width:0}
main[data-page="pill-bathroom"] .bath-preferences select{width:100%;min-width:0;min-height:44px;font:inherit;padding:10px;color:#213a2c;background:#fff;border:1px solid #819580;border-radius:6px}
main[data-page="pill-bathroom"] #bath-preference-summary{font-size:14px;line-height:1.5;margin:14px 0 0;overflow-wrap:anywhere}
main[data-page="pill-bathroom"] .bath-fit-depth a{display:inline-flex;align-items:center;min-height:44px}
main[data-page="pill-bathroom"] a:focus-visible{outline:3px solid #9e632a;outline-offset:4px}
@media(max-width:760px){main[data-page="pill-bathroom"] .bath-fit-actions,main[data-page="pill-bathroom"] .bath-preferences>div{grid-template-columns:1fr}main[data-page="pill-bathroom"] .bath-fit-actions>div,main[data-page="pill-bathroom"] .bath-preferences{padding:18px}}

/* This preview only: inactive dropdown hover bridges must not widen the page.
   Keep the shared hover, keyboard and pinned-open states; do not clip the header. */
@media (min-width:861px){
  #oj-home-header.site-header .nav-list > li.menu-item-has-children:not(:hover):not(:focus-within):not(.is-submenu-open):not(.is-submenu-pinned) > .sub-menu{
    display:none!important;
  }
  #oj-home-header.site-header .nav-list > li.menu-item-has-children:not(:hover):not(:focus-within):not(.is-submenu-open):not(.is-submenu-pinned)::after{
    display:none!important;
    content:none!important;
  }
}
/* The two-row header at tablet widths needs a header-relative mega panel.
   An item-relative 640px panel near Support otherwise extends past the wall. */
@media (min-width:861px) and (max-width:1120px){
  #oj-home-header.site-header .header-shell{position:relative;}
  #oj-home-header.site-header .nav-list > li.menu-item-has-mega-menu{position:static;}
  #oj-home-header.site-header .nav-list .sub-menu--mega{
    left:0;
    right:0;
    width:100%;
    min-width:0;
    max-width:100%;
    box-sizing:border-box;
    transform:none;
  }
  #oj-home-header.site-header .nav-list > li.menu-item-has-mega-menu::after{
    left:0;
    width:100%;
    max-width:100%;
    transform:none;
  }
}
