/* Category left drawer + primary nav */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.aq-nav-primary {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
  overflow-x: auto;
}
.aq-nav-allcats {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: #fff;
  color: var(--aq-navy, #0b1c2c);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  margin-right: 8px;
}
.aq-nav-allcats:hover,
.aq-nav-allcats[aria-expanded="true"] {
  background: var(--aq-gold, #c4a574);
  color: #0b1c2c;
}
.aq-nav-primary > .aq-nav-link {
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 12px 14px;
  white-space: nowrap;
  border-radius: 6px;
}
.aq-nav-primary > .aq-nav-link:hover {
  color: var(--aq-gold, #c4a574);
  background: rgba(255,255,255,.06);
}

/* Drawer shell */
.aq-drawer-root[hidden] { display: none !important; }
.aq-drawer-root {
  position: fixed;
  inset: 0;
  z-index: 100000;
}
.aq-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 28, 44, .55);
}
.aq-drawer {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: min(380px, 92%);
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: 8px 0 40px rgba(0,0,0,.18);
  transform: translateX(-104%);
  transition: transform .28s ease;
  overflow: hidden;
}
.aq-drawer-root.is-open .aq-drawer {
  transform: translateX(0);
}
.aq-drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 12px;
  border-bottom: 1px solid #e8e2d9;
  background: #faf8f5;
  flex-shrink: 0;
}
.aq-drawer-brand {
  margin: 0;
  font-size: 11px;
  letter-spacing: .14em;
  color: #c4a574;
  text-transform: uppercase;
  font-weight: 700;
}
.aq-drawer-head h2 {
  margin: 2px 0 0;
  font-size: 20px;
  color: #0b1c2c;
}
.aq-drawer-close {
  width: 44px; height: 44px;
  border: 0; border-radius: 50%;
  background: #fff;
  color: #0b1c2c;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}
.aq-drawer-search {
  padding: 12px 16px;
  border-bottom: 1px solid #eee;
  flex-shrink: 0;
}
.aq-drawer-search input {
  width: 100%;
  min-height: 48px;
  border: 1px solid #e8e2d9;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 16px;
  background: #fff;
}
.aq-drawer-nav {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  flex: 1;
  padding: 8px 0 24px;
}
.aq-drawer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.aq-drawer-quick {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 12px 14px;
  border-bottom: 1px solid #eee;
  margin-bottom: 6px;
}
.aq-drawer-quick a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  text-decoration: none;
  color: #0b1c2c;
  font-weight: 700;
  letter-spacing: .04em;
  font-size: 14px;
}
.aq-drawer-quick a:hover { background: #f7f3ee; }
.aq-drawer-row {
  display: flex;
  align-items: stretch;
  gap: 2px;
}
.aq-drawer-link,
.aq-drawer-child-link {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 14px;
  text-decoration: none;
  color: #0b1c2c;
  font-size: 15px;
  font-weight: 600;
}
.aq-drawer-link:hover,
.aq-drawer-child-link:hover {
  background: #f7f3ee;
}
.aq-drawer-thumb {
  width: 28px; height: 28px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #eee;
  flex-shrink: 0;
  background: #f4f1ea;
}
.aq-drawer-expand {
  width: 48px;
  min-height: 48px;
  border: 0;
  background: transparent;
  color: #6b635a;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.aq-drawer-item.is-open > .aq-drawer-row .aq-drawer-expand i {
  transform: rotate(90deg);
}
.aq-drawer-expand i { transition: transform .2s ease; }
.aq-drawer-children {
  list-style: none;
  margin: 0;
  padding: 0 0 8px 18px;
  background: #fcfbf9;
}
.aq-drawer-children[hidden] { display: none !important; }
.aq-drawer-child-link {
  font-weight: 500;
  font-size: 14px;
  min-height: 44px;
  color: #2a3640;
}
.aq-drawer-empty {
  text-align: center;
  color: #6b635a;
  padding: 24px 16px;
  margin: 0;
}
.aq-drawer-item.is-filtered-out { display: none !important; }

body.aq-drawer-open {
  overflow: hidden !important;
  touch-action: none;
}

/* Hide legacy slide menu when premium drawer is present */
body.aq-premium .mobile-menu {
  display: none !important;
}

@media (max-width: 991px) {
  .aq-drawer {
    width: min(400px, 92%);
  }
  .aq-drawer-mobile-only { display: flex !important; }
  .aq-drawer-quick a { font-size: 15px; }
}

@media (min-width: 992px) {
  .aq-drawer {
    width: 400px;
  }
}

/* ========== Primary nav hover subcategories (additive) ========== */
.aq-nav.aq-desktop-only {
  overflow: visible;
  position: relative;
  z-index: 90;
}
.aq-nav .container {
  overflow: visible;
}
.aq-nav-primary {
  overflow: visible !important;
}
.aq-nav-primary .aq-nav-item {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
}
.aq-nav-primary .aq-nav-item > .aq-nav-link {
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 12px 14px;
  white-space: nowrap;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.aq-nav-primary .aq-nav-item > .aq-nav-link i {
  font-size: 10px;
  opacity: .75;
  transition: transform .2s ease;
}
.aq-nav-primary .aq-nav-item:hover > .aq-nav-link,
.aq-nav-primary .aq-nav-item:focus-within > .aq-nav-link {
  color: var(--aq-gold, #c4a574);
  background: rgba(255,255,255,.06);
}
.aq-nav-primary .aq-nav-item:hover > .aq-nav-link i,
.aq-nav-primary .aq-nav-item:focus-within > .aq-nav-link i {
  transform: rotate(180deg);
}
.aq-nav-primary .aq-nav-dropdown {
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 260px;
  max-width: min(360px, 90vw);
  max-height: min(70vh, 480px);
  overflow-y: auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(11, 28, 44, 0.18);
  border: 1px solid rgba(11, 28, 44, 0.06);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  z-index: 220;
}
/* Invisible bridge so mouse path never drops the menu */
.aq-nav-primary .aq-nav-dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}
.aq-nav-primary .aq-nav-item:hover > .aq-nav-dropdown,
.aq-nav-primary .aq-nav-item:focus-within > .aq-nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.aq-nav-primary .aq-nav-dropdown a {
  display: block;
  padding: 11px 14px;
  color: #1c242d;
  text-decoration: none;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
}
.aq-nav-primary .aq-nav-dropdown a:hover,
.aq-nav-primary .aq-nav-dropdown a:focus {
  background: #f7f3ec;
  color: #0b1c2c;
  outline: none;
}
.aq-nav-primary .aq-nav-dropdown-all {
  font-weight: 700 !important;
  color: #0b1c2c !important;
  border-bottom: 1px solid rgba(11, 28, 44, 0.08);
  margin-bottom: 4px;
  border-radius: 8px 8px 0 0 !important;
}

/* Defeat overflow clip from layout-fix so hover menus can escape */
body.aq-premium .aq-nav,
body.aq-premium .aq-nav .container,
body.aq-premium .aq-nav-inner,
body.aq-premium .aq-nav-primary {
  overflow: visible !important;
}

/* Additive caret beside main category label */
.aq-nav-primary .aq-nav-item {
  position: relative;
}
.aq-nav-primary .aq-nav-caret {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: rgba(255,255,255,.75);
  font-size: 10px;
  line-height: 1;
}
.aq-nav-primary .aq-nav-item.has-subs > .aq-nav-link {
  padding-right: 22px;
}
.aq-nav-primary .aq-nav-item:hover > .aq-nav-caret,
.aq-nav-primary .aq-nav-item:focus-within > .aq-nav-caret {
  color: var(--aq-gold, #c4a574);
  transform: translateY(-50%) rotate(180deg);
}

/* Keep hover submenu attached to its parent */
.aq-nav-primary .aq-nav-item.has-subs.is-open > .aq-nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.aq-nav-primary .aq-nav-item.has-subs {
  padding-bottom: 0;
}
