/* Demit Gold v2.21 — RTL mobile menu polish; deliberately limited to tablet/mobile. */
@media(max-width:899px){
  /* The carousel advertises further items through a fading edge, never arrows. */
  html body #site-header.dg313-header .dg218-featured-hint,
  html body #site-header.dg313-header .dg313-chevron {display:none!important;}
  #site-header .dg313-featured{position:relative!important;isolation:isolate;}
  /* Snap first to the menu trigger so it remains reachable on tablet widths. */
  #site-header .dg313-featured-inner .dg214-navslot{scroll-snap-align:start!important;}
  #site-header .dg313-featured.dg221-has-more::after{
    content:"";position:absolute;left:0;top:0;bottom:0;width:39px;
    z-index:2;pointer-events:none;
    background:linear-gradient(to right,#fffaf4 0%,rgba(255,250,244,.84) 37%,rgba(255,250,244,0) 100%);
  }
  /* CSS transforms can animate only while the element retains a display box. */
  html body #site-header.dg313-header nav#demit-navigation.dg313-drawer,
  html body #site-header.dg313-header nav#demit-navigation.dg313-drawer:not(.is-open){
    display:flex!important;flex-direction:column!important;
    opacity:0!important;visibility:hidden!important;pointer-events:none!important;
    transform:translate3d(108%,0,0)!important;
    transition:transform .36s cubic-bezier(.22,1,.36,1),opacity .29s ease,
      visibility 0s linear .36s!important;
    will-change:transform;contain:layout style;
    max-height:100dvh!important;overflow-y:auto!important;
  }
  html body #site-header.dg313-header nav#demit-navigation.dg313-drawer.is-open{
    display:flex!important;opacity:1!important;visibility:visible!important;
    pointer-events:auto!important;transform:translate3d(0,0,0)!important;
    transition:transform .36s cubic-bezier(.22,1,.36,1),opacity .29s ease,
      visibility 0s linear 0s!important;
  }
  html body .demit-menu-backdrop:not([hidden]){
    opacity:0!important;
    transition:opacity .3s ease!important;
    pointer-events:none!important;
  }
  html body .demit-menu-backdrop.dg221-visible:not([hidden]){
    opacity:1!important;pointer-events:auto!important;
  }
  #site-header #demit-navigation .dg221-mobile-menu{flex:0 0 auto!important;order:1;}
  #site-header #demit-navigation .dg221-mobile-menu .dg221-mobile-home,
  #site-header #demit-navigation .dg221-mobile-menu .dg221-mobile-products-link{
    background:transparent!important;border-radius:0!important;box-shadow:none!important;
    margin:0!important;padding:8px 0!important;
  }
  #site-header #demit-navigation .dg221-mobile-menu .dg221-mobile-products-link>a{
    display:inline-flex!important;align-items:center!important;min-height:38px;
    font-size:14px!important;font-weight:500!important;
  }
  #site-header #demit-navigation .dg219-mobile-products{display:none!important;}
  #site-header #demit-navigation .dg221-mobile-menu>li{
    transition:background-color .18s ease,border-color .18s ease;
  }
  #site-header #demit-navigation .dg221-mobile-menu>li:active{background:#f7f0e6!important;}
  #site-header #demit-navigation .demit-mobile-menu-heading{order:0;flex:0 0 auto!important;}
  #site-header #demit-navigation .dg218-drawer-contact{order:10;margin-top:auto!important;flex:0 0 auto!important;}
}
@media(prefers-reduced-motion:reduce){
  html body #site-header.dg313-header nav#demit-navigation.dg313-drawer,
  html body .demit-menu-backdrop:not([hidden]){
    transition:none!important;animation:none!important;
  }
}
