/* VeraGloss Aurora v1.0.403-rc1 | Responsive Navigation Upgrade
   Desktop: visible minimal primary navigation, contextual product back.
   Mobile/tablet: existing smart header + accessible left-side drawer.
   No WooCommerce template, product-card, payment or cart logic changes. */
.vg-nav-drawer-head,.vg-nav-drawer-foot {display:none}
.vg-nav-scrim[hidden]{display:none!important}
.vg-nav-scrim{
  position:fixed;inset:0;z-index:997;width:100%;height:100%;
  border:0;background:rgba(15,30,39,.43);cursor:pointer;
}
.vg-nav-departments{position:relative;min-width:0}
.vg-nav-departments>summary{
  display:flex;align-items:center;gap:8px;min-height:44px;
  cursor:pointer;color:#172D38;font-size:12px;font-weight:700;letter-spacing:.04em;
  list-style:none;user-select:none;
}
.vg-nav-departments>summary::-webkit-details-marker{display:none}
.vg-nav-departments>summary svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;transition:transform .2s ease}
.vg-nav-departments[open]>summary svg{transform:rotate(180deg)}
.vg-nav-departments a{font-weight:500}
.vg-nav-departments summary:focus-visible,.vg-nav-close:focus-visible,.vg-nav-drawer-foot a:focus-visible{
  outline:2px solid #B59A67;outline-offset:3px;
}
/* Desktop navigation: no redundant global history arrow. Product page has
   the contextual link alongside the existing WooCommerce breadcrumb. */
@media(min-width:1001px){
  body .aurora-header .aurora-head{
    display:grid;grid-template-columns:minmax(150px,220px) minmax(0,1fr) auto;
    gap:clamp(16px,3vw,36px);min-height:74px;align-items:center;
  }
  body .aurora-header--no-search .aurora-head{
    grid-template-columns:minmax(150px,220px) minmax(0,1fr) auto;
  }
  /* With search intentionally absent (Account/Wishlist/Bag/Product), the
     actions must explicitly occupy the third desktop grid track. Otherwise
     CSS auto-placement moves them beside the logo into track two. */
  body .aurora-header--no-search .aurora-head > .aurora-actions{
    grid-column:3;
    justify-self:end;
  }
  body .aurora-header .aurora-mobile-toggle{display:none!important}
  body .aurora-header .aurora-nav,
  body .aurora-header--compact .aurora-nav{
    display:block!important;position:static!important;top:auto!important;
    left:auto!important;right:auto!important;width:100%!important;max-width:none!important;
    max-height:none!important;overflow:visible!important;
    border:0!important;border-top:1px solid #E7E0D4!important;
    border-radius:0!important;box-shadow:none!important;background:transparent!important;
    opacity:1!important;transform:none!important;
  }
  body .aurora-header .aurora-nav-inner,
  body .aurora-header--compact .aurora-nav-inner{
    display:flex!important;flex-direction:row!important;align-items:center!important;
    gap:clamp(20px,3vw,38px)!important;
    width:var(--container)!important;margin-inline:auto!important;
    padding:0!important;min-height:48px!important;overflow:visible!important;
  }
  body .aurora-header .aurora-nav-inner>a,
  body .aurora-header .aurora-nav-inner>.vg-admin-menu>li>a,
  body .aurora-header .vg-nav-departments>summary{
    display:flex!important;align-items:center!important;min-height:48px!important;
    padding:11px 0!important;margin:0!important;border:0!important;
    color:#172D38;font-size:12px!important;font-weight:650!important;
    letter-spacing:.025em;line-height:1.3;
    transition:color .2s ease!important;
    text-decoration:none!important;
  }
  body .aurora-header .aurora-nav-inner > .vg-admin-menu{
    display:flex!important;flex-direction:row!important;align-items:center!important;
    gap:clamp(20px,3vw,38px)!important;list-style:none!important;padding:0!important;margin:0!important;
  }
  body .aurora-header .aurora-nav-inner > .vg-admin-menu > li{display:block!important;list-style:none!important;margin:0!important;padding:0!important}
  body .aurora-header .aurora-nav-inner>a,
  body .aurora-header .vg-admin-menu>li>a{position:relative;white-space:nowrap}
  body .aurora-header .aurora-nav-inner>a::after,
  body .aurora-header .vg-admin-menu>li>a::after{
    content:"";position:absolute;left:0;right:0;bottom:5px;height:2px;
    background:#B59A67;transform:scaleX(0);transform-origin:left;
    transition:transform .2s ease;
  }
  body .aurora-header .aurora-nav-inner>a:hover::after,
  body .aurora-header .vg-admin-menu>li>a:hover::after,
  body .aurora-header .vg-admin-menu>li.current-menu-item>a::after,
  body .aurora-header .vg-admin-menu>li.current_page_item>a::after{transform:scaleX(1)}
  body .aurora-header .aurora-nav-inner>a:hover,
  body .aurora-header .vg-admin-menu>li>a:hover,
  body .aurora-header .vg-nav-departments>summary:hover{color:#9B804F!important}
  body .aurora-header .aurora-nav-inner>.aurora-mega .aurora-mega-panel{
    display:none;position:absolute;width:min(680px,75vw);background:#F7F4EE;
  }
  body .aurora-header .aurora-mega:hover .aurora-mega-panel,
  body .aurora-header .aurora-mega:focus-within .aurora-mega-panel{display:grid}
  .vg-nav-departments>.vg-nav-department-links{
    position:absolute;z-index:5;top:100%;left:-16px;width:min(340px,90vw);
    display:grid;gap:0;padding:9px 16px 12px;background:#F7F4EE;
    border:1px solid #E7E0D4;border-radius:12px;
    box-shadow:0 18px 35px rgba(23,45,56,.12);
  }
  .vg-nav-department-links>a{
    display:block!important;min-height:42px!important;padding:11px 6px!important;
    border-bottom:1px solid #E7E0D4!important;font-size:12px!important;
    font-weight:500!important;color:#172D38!important;
  }
  .vg-nav-department-links>a:last-child{border-bottom:0!important}
  .vg-nav-department-links>a:hover{color:#9B804F!important}
  body .aurora-back-navigation{display:none!important}
  .vg-product-context-navigation{
    display:flex;align-items:center;justify-content:space-between;gap:20px;
    margin:0 0 12px;padding:18px 0 6px;
  }
  .vg-product-context-back{
    display:inline-flex;align-items:center;gap:9px;min-height:44px;
    padding:8px 14px;border:1px solid rgba(181,154,103,.55);
    border-radius:999px;color:#172D38;background:rgba(255,255,255,.4);
    font-size:12px;font-weight:650;line-height:1.3;
    transition:background .2s ease,border-color .2s ease;
  }
  .vg-product-context-back svg{flex:0 0 17px;width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;transition:transform .2s ease}
  .vg-product-context-back:hover{background:rgba(181,154,103,.12);border-color:#B59A67}
  .vg-product-context-back:hover svg{transform:translateX(-3px)}
  .vg-product-context-back:focus-visible{outline:2px solid #536D60;outline-offset:3px}
  .vg-product-context-caption{color:#9B804F;font-size:10px;letter-spacing:.14em;font-weight:650}
}
@media(max-width:1000px){
  /* Use the existing mobile menu trigger, search and account/bag actions. */
  body .aurora-header .aurora-nav,
  body .aurora-header--compact .aurora-nav{
    display:none!important;
    position:absolute!important;top:100%!important;left:0!important;right:auto!important;
    width:min(380px,92vw)!important;max-width:92vw!important;
    height:auto!important;max-height:calc(100dvh - 72px - env(safe-area-inset-bottom,0px))!important;
    overflow-y:auto!important;overscroll-behavior:contain;
    border:1px solid #E7E0D4!important;border-left:0!important;
    border-radius:0 0 18px 0!important;
    box-shadow:20px 24px 45px rgba(23,45,56,.18)!important;
    background:#F7F4EE!important;z-index:1001!important;
  }
  body .aurora-header .aurora-nav.is-open,
  body .aurora-header--compact .aurora-nav.is-open{display:block!important}
  body .aurora-header .aurora-nav-inner,
  body .aurora-header--compact .aurora-nav-inner{
    display:flex!important;flex-direction:column!important;align-items:stretch!important;
    gap:0!important;width:100%!important;min-height:0!important;
    margin:0!important;padding:12px 19px 22px!important;
  }
  .vg-nav-drawer-head{
    display:flex;align-items:center;justify-content:space-between;gap:12px;
    padding:3px 0 16px;margin:0 0 7px;border-bottom:1px solid #E7E0D4;
  }
  .vg-nav-drawer-title{font-family:Georgia,'Times New Roman',serif;font-size:22px;color:#172D38}
  .vg-nav-close{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border:1px solid #E7E0D4;border-radius:50%;background:#fff;color:#172D38;cursor:pointer}
  .vg-nav-close svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.5}
  body .aurora-header .aurora-nav-inner>a,
  body .aurora-header .aurora-nav-inner>.vg-admin-menu>li>a,
  body .aurora-header .aurora-mega>a{
    display:flex!important;align-items:center!important;min-height:48px!important;
    padding:12px 4px!important;margin:0!important;
    border:0!important;border-bottom:1px solid #E7E0D4!important;
    color:#172D38!important;font-size:14px!important;font-weight:600!important;
    letter-spacing:0!important;line-height:1.4!important;
  }
  body .aurora-header .aurora-nav-inner > .vg-admin-menu{
    display:flex!important;flex-direction:column!important;gap:0!important;
    width:100%!important;list-style:none!important;padding:0!important;margin:0!important;
  }
  body .aurora-header .aurora-nav-inner > .vg-admin-menu > li{
    display:block!important;list-style:none!important;margin:0!important;padding:0!important;
  }
  .vg-nav-departments{margin:12px 0 4px!important}
  .vg-nav-departments>summary{
    display:flex!important;justify-content:space-between!important;min-height:48px;
    padding:12px 4px!important;border-bottom:1px solid #E7E0D4;
    color:#172D38;font-size:14px;font-weight:650;letter-spacing:0;
  }
  .vg-nav-department-links{display:grid;gap:0;padding:8px 0 12px 13px}
  .vg-nav-department-links>a{
    display:block;min-height:42px;padding:10px 8px!important;
    border-bottom:1px solid rgba(231,224,212,.7)!important;
    font-size:13px!important;font-weight:500!important;color:#52636A!important;
  }
  .vg-nav-drawer-foot{display:flex;flex-wrap:wrap;gap:12px;margin:17px 0 0;padding:15px 0 0;border-top:1px solid #E7E0D4}
  .vg-nav-drawer-foot>a{font-size:12px;color:#172D38;font-weight:650;padding:8px 0}
  body.vg-nav-drawer-open{overflow:hidden}
  body.vg-nav-drawer-open .aurora-header.vg-mobile-header-hidden{transform:none!important}
  .vg-product-context-navigation{display:none!important}
  body .aurora-back-navigation{padding:7px 0;background:#F7F4EE}
  body .aurora-back-navigation .aurora-back-link{
    display:inline-flex!important;align-items:center!important;min-height:40px!important;
    padding:8px 13px!important;font-size:11px!important;
  }
  .vg-product-context-caption{display:none}
}
@media(max-width:360px){
  body .aurora-header .aurora-nav{width:min(350px,95vw)!important;max-width:95vw!important}
  body .aurora-header .aurora-nav-inner{padding:10px 15px 20px!important}
  .vg-nav-drawer-title{font-size:20px}
}
@media(prefers-reduced-motion:reduce){
  .vg-nav-departments>summary svg,.vg-product-context-back,.vg-product-context-back svg,
  body .aurora-header .aurora-nav-inner>a::after,
  body .aurora-header .vg-admin-menu>li>a::after{transition:none!important;animation:none!important}
}

/* v1.0.406-rc4 — always-visible Account / Wishlist / Bag, with restrained luxury feedback.
   Avoid animation loops or page-layout shifts: glows only use paint/composite properties. */
@media(min-width:1001px){
  body .aurora-header .aurora-actions{display:flex!important;align-items:center;gap:clamp(6px,1vw,12px)}
  body .aurora-header .aurora-actions .vg-utility-action{
    position:relative;display:inline-flex;align-items:center;justify-content:center;
    gap:6px;min-height:40px;padding:7px 10px;border:1px solid transparent;
    border-radius:12px;color:#172D38;background:transparent;
    text-decoration:none;transition:color .22s ease,border-color .22s ease,background-color .22s ease,box-shadow .24s ease,transform .22s ease;
  }
  body .aurora-header .aurora-actions .vg-utility-action[aria-current="page"]{
    color:#172D38;border-color:rgba(181,154,103,.45);
    background:rgba(181,154,103,.10);
    box-shadow:0 0 0 1px rgba(181,154,103,.06),0 2px 12px rgba(181,154,103,.10);
  }
  @media(hover:hover) and (pointer:fine){
    body .aurora-header .aurora-actions .vg-utility-action:hover{
      color:#172D38;border-color:rgba(181,154,103,.60);
      background:rgba(181,154,103,.12);
      box-shadow:0 0 0 1px rgba(181,154,103,.08),0 5px 16px rgba(23,45,56,.10),0 0 16px rgba(181,154,103,.19);
      transform:translateY(-1px);
    }
  }
}
@media(min-width:641px) and (max-width:1000px){
  body .aurora-header .aurora-actions{display:flex!important;gap:3px!important;align-items:center;justify-content:end}
  body .aurora-header .aurora-actions .vg-utility-action{
    position:relative;display:inline-flex;align-items:center;justify-content:center;
    gap:3px;min-height:40px;min-width:40px;padding:6px 7px;
    border:1px solid transparent;border-radius:10px;color:#172D38;
    transition:background-color .2s ease,border-color .2s ease,box-shadow .2s ease;
  }
  body .aurora-header .aurora-actions .vg-utility-action .aurora-action-label{display:none!important}
  body .aurora-header .aurora-actions .vg-utility-action[aria-current="page"]{
    background:rgba(181,154,103,.11);border-color:rgba(181,154,103,.45);
    box-shadow:0 0 10px rgba(181,154,103,.13);
  }
  body .aurora-header--no-search .aurora-head{grid-template-columns:44px minmax(0,1fr) auto!important}
  body .aurora-header--no-search .aurora-head::after{display:none!important}
  body .aurora-header .aurora-actions .vg-utility-action:active{
    background:rgba(181,154,103,.15);box-shadow:0 0 12px rgba(181,154,103,.16);
  }
}
@media(max-width:640px){
  /* On phones, all five bottom navigation links remain present on every page. */
  body .aurora-header .aurora-actions{display:none!important}
  body .aurora-mobile-bottom,
  body .aurora-mobile-bottom--current-page{
    display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;
    padding-bottom:env(safe-area-inset-bottom,0px);
  }
  body .aurora-mobile-bottom .vg-mobile-utility{
    position:relative;min-width:0;min-height:52px;margin:3px 1px;
    border:1px solid transparent;border-radius:12px;
    color:#172D38;transition:background-color .2s ease,border-color .2s ease,box-shadow .2s ease;
  }
  body .aurora-mobile-bottom .vg-mobile-utility[aria-current="page"]{
    color:#172D38;background:rgba(181,154,103,.12);
    border-color:rgba(181,154,103,.40);
    box-shadow:0 0 11px rgba(181,154,103,.14);
  }
  body .aurora-mobile-bottom .vg-mobile-utility:active{
    background:rgba(181,154,103,.17);
    box-shadow:0 0 14px rgba(181,154,103,.20);
  }
  body .aurora-mobile-bottom .vg-mobile-utility[aria-current="page"] b{color:#172D38}
}
/* All screen sizes: accessible focus without hiding other actions. */
body .aurora-actions .vg-utility-action:focus-visible,
body .aurora-mobile-bottom .vg-mobile-utility:focus-visible{
  outline:2px solid #B59A67!important;outline-offset:2px!important;
}
@media(prefers-reduced-motion:reduce){
  body .aurora-actions .vg-utility-action,
  body .aurora-mobile-bottom .vg-mobile-utility{transition:none!important;transform:none!important}
}
