/* Myaree Dental website v1.6.1 (21/11/2026): centre the desktop menu in the white bar; Shop as a header bag icon.
   Loads after adh-1.6.css. Does not replace it. */

/* The v1.6 text "Shop" menu item is replaced by the bag icon in the header tools. */
.adh-root .site-header .menu > li.nav-shop{display:none !important}

/* Shop control: same size and style as Search, Calm and Aa. */
.adh-root .utilbar a.ubtn.nav-shop-btn{
  text-decoration:none;
  color:inherit;
  box-sizing:border-box;
}
.adh-root .utilbar a.ubtn.nav-shop-btn:hover,
.adh-root .utilbar a.ubtn.nav-shop-btn:focus-visible{
  background:var(--sky-50,#e8f6fc);
  border-color:rgba(7,116,168,.35);
}

/* Desktop: menu items sit in the middle of the white bar.
   Logo stays left, Call/Book and the tools stay right.
   1fr / auto / 1fr centres the menu in the bar itself, not just in the leftover space.
   Below 1200px the bar is too tight for true centre once the Shop icon is in the tools,
   so the items sit in the remaining space with even gaps and no overlap. */
@media (min-width:1081px){
  html.adh-menu-v12 .adh-root .site-header .nav,
  html.adh-menu-v12 .adh-root .site-header .container.nav{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
    grid-template-rows:minmax(0,100%);
    align-items:center;
    gap:.4rem;
  }
  /* Keep the sheen in the bar; do not let it become a second grid row. */
  html.adh-menu-v12 .adh-root .site-header .nav::before,
  html.adh-menu-v12 .adh-root .site-header .container.nav::before{
    grid-column:1 / -1;
    grid-row:1;
    z-index:0;
  }
  html.adh-menu-v12 .adh-root .site-header .brand,
  html.adh-menu-v12 .adh-root .site-header .nav > nav,
  html.adh-menu-v12 .adh-root .site-header .nav-cta{
    grid-row:1;
    z-index:1;
    min-height:0;
    max-height:100%;
    align-self:center;
  }
  html.adh-menu-v12 .adh-root .site-header .brand{
    justify-self:start;
    grid-column:1;
    min-width:0;
  }
  html.adh-menu-v12 .adh-root .site-header .nav > nav{
    justify-self:center;
    grid-column:2;
    min-width:0;
    width:max-content;
    max-width:100%;
    height:100%;
    display:flex;
    align-items:center;
  }
  html.adh-menu-v12 .adh-root .site-header .nav-cta{
    justify-self:end;
    grid-column:3;
    min-width:0;
  }
  html.adh-menu-v12 .adh-root .site-header .nav > .s3{
    grid-column:1 / -1;
  }
  html.adh-menu-v12 .adh-root .site-header .menu{
    flex-wrap:nowrap;
    width:max-content;
    max-width:100%;
  }
  /* A little tighter than the default padding, so the centred items clear the tools. */
  html.adh-menu-v12 .adh-root .site-header .menu > li > a,
  html.adh-menu-v12 .adh-root .site-header .menu > li > button{
    padding-left:.36rem;
    padding-right:.36rem;
  }
  /* Icon-only tools at every desktop width, so the Shop icon matches Search and the menu can stay centred. */
  html.adh-menu-v12 .adh-root .utilbar .lbl{display:none}
}

@media (min-width:1081px) and (max-width:1199px){
  html.adh-menu-v12 .adh-root .site-header .nav,
  html.adh-menu-v12 .adh-root .site-header .container.nav{
    display:flex;
    justify-content:space-between;
  }
  html.adh-menu-v12 .adh-root .site-header .nav > nav{
    justify-self:unset;
    flex:0 1 auto;
    width:auto;
    min-width:0;
  }
}

/* Phone sheet: Shop tile in the "I want to" group. */
html.adh-menu-v12 .mn12-intent[data-k="shop"] .mn12-disc{background:#e8f6fc}
html.dark.adh-menu-v12 .mn12-intent[data-k="shop"] .mn12-disc{background:rgba(1,154,222,.18)}
