/* Tablet navigation follows orientation, not Shopkeeper's desktop breakpoint. */
@media (orientation:portrait){
 html.mc-tablet-nav body #page_wrapper #masthead nav.main-navigation{display:none!important}
 html.mc-tablet-nav body #page_wrapper #masthead .site-tools>ul>li.offcanvas-menu-button{display:block!important}
 html.mc-tablet-nav body #offCanvasRight1.menu-offcanvas{
  width:min(390px,85vw);overflow-y:auto;overscroll-behavior:contain;background:#000!important;
 }
 html.mc-tablet-nav body #offCanvasRight1.menu-offcanvas:not(.is-open){transform:translateX(100%)}
 html.mc-tablet-nav body #offCanvasRight1.menu-offcanvas.is-open{transform:translateX(0)}
 html.mc-tablet-nav body #offCanvasRight1.menu-offcanvas .menu-close{
  display:block!important;position:relative;min-height:76px;color:#f6f1e7;
 }
 html.mc-tablet-nav body #offCanvasRight1.menu-offcanvas .menu-close .close-button{
  display:grid!important;place-items:center;min-width:44px;min-height:44px;
  inset:16px 21px auto auto;margin:0;padding:0;color:#f6f1e7;
 }
 html.mc-tablet-nav body #offCanvasRight1.menu-offcanvas.is-open #mobiles-menu-offcanvas,
 html.mc-tablet-nav body #offCanvasRight1.menu-offcanvas.is-open nav.mobile-navigation,
 html.mc-tablet-nav body #offCanvasRight1.menu-offcanvas.is-open nav.mobile-navigation>ul,
 html.mc-tablet-nav body #offCanvasRight1.menu-offcanvas.is-open nav.mobile-navigation>ul>li{
  display:block!important;visibility:visible!important;opacity:1!important;min-width:0;
 }
 html.mc-tablet-nav body #offCanvasRight1.menu-offcanvas nav.mobile-navigation{margin:0;padding:0 24px 24px}
 html.mc-tablet-nav body #offCanvasRight1.menu-offcanvas nav.mobile-navigation>ul>li>a{
  display:flex!important;align-items:center;min-height:49px;line-height:1.35;
  color:#f6f1e7!important;visibility:visible!important;opacity:1!important;white-space:normal;
 }
 html.mc-tablet-nav body #offCanvasRight1.menu-offcanvas nav.mobile-navigation ul.sub-menu a{
  color:#f6f1e7!important;min-height:44px;align-content:center;
 }
}
@media (orientation:landscape) and (min-width:681px){
 html.mc-tablet-nav body #page_wrapper #masthead nav.main-navigation{display:block!important}
 html.mc-tablet-nav body #page_wrapper #masthead .site-tools>ul>li.offcanvas-menu-button{display:none!important}
}
@media (orientation:landscape) and (min-width:681px) and (max-width:1024px){
 html.mc-tablet-nav body #page_wrapper #masthead>.row{width:calc(100% - clamp(32px,6vw,72px))!important}
 html.mc-tablet-nav body #page_wrapper #masthead .menu-wrapper{gap:clamp(7px,1.3vw,16px)!important}
 html.mc-tablet-nav body #page_wrapper #masthead nav.main-navigation>ul{
  display:flex!important;gap:clamp(9px,1.6vw,20px)!important;flex-wrap:nowrap;
 }
 html.mc-tablet-nav body #page_wrapper #masthead nav.main-navigation>ul>li>a{
  white-space:nowrap;letter-spacing:clamp(.015em,.055vw,.07em)!important;
 }
}

/* The shared drawer is black on phones too; never inherit the theme's dark link colour. */
body #offCanvasRight1.menu-offcanvas #mobiles-menu-offcanvas nav.mobile-navigation a,
body #offCanvasRight1.menu-offcanvas .close-button{color:#f6f1e7!important}
body #offCanvasRight1.menu-offcanvas nav.mobile-navigation a:is(:hover,:focus-visible,[aria-current="page"]){
 color:#e3c695!important;
}

/* At an iPad-sized landscape viewport the real top menu must be visible
   even in Safari's desktop-site mode, with no pointer or UA test. */
@media (orientation:landscape) and (min-width:681px) and (min-height:480px) and (max-width:1440px){
 html body #page_wrapper #masthead .menu-wrapper{display:flex!important;visibility:visible!important}
 html body #page_wrapper #masthead nav.main-navigation,
 html body #page_wrapper #masthead nav.main-navigation>ul>li{
  display:block!important;visibility:visible!important;opacity:1!important;
 }
 html body #page_wrapper #masthead nav.main-navigation>ul{
  display:flex!important;align-items:center;flex-wrap:nowrap;
 }
 html body #page_wrapper #masthead nav.main-navigation>ul>li>a{
  display:flex!important;align-items:center;visibility:visible!important;opacity:1!important;
  white-space:nowrap;color:#f6f1e7!important;
 }
 html body #page_wrapper #masthead nav.main-navigation>ul>li>a:is(:hover,:focus-visible,[aria-current="page"]){
  color:var(--mc-logo-silver,#d8d9dc)!important;
 }
 html body #page_wrapper #masthead .site-tools>ul>li.offcanvas-menu-button{display:none!important}
}
@media (orientation:landscape) and (min-width:681px) and (min-height:480px) and (max-width:1024px){
 html body #page_wrapper #masthead>.row{width:calc(100% - clamp(32px,6vw,72px))!important}
 html body #page_wrapper #masthead .menu-wrapper{gap:clamp(7px,1.3vw,16px)!important}
 html body #page_wrapper #masthead nav.main-navigation>ul{gap:clamp(9px,1.6vw,20px)!important}
 html body #page_wrapper #masthead nav.main-navigation>ul>li>a{
  letter-spacing:clamp(.015em,.055vw,.07em)!important;
 }
}

/* Hide the copied menu on mobile unless the landscape header rule reveals it. */
html body #masthead nav.mc-mobile-source-top{display:none!important}
