/* ============================================================
   NAIA – Navigation Styles (aabcollection.com inspired)
   ============================================================ */

body {
  padding-top: 118px;
}

body:has(.aab-ann) {
  padding-top: 153px;
}

/* ── ANNOUNCEMENT BAR ── */
.aab-ann {
  background: #000;
  color: #fff;
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: .65rem 1rem;
  text-align: center;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1051;
}
.aab-ann strong { font-weight: 700; letter-spacing: .15em; }
.aab-ann a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: .6rem;
  font-weight: 400;
}
.aab-ann a:hover { opacity: .75; }

/* ── NAV WRAPPER ── */
.aab-nav {
  background: #fff;
  border-bottom: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
  width: 100%;
  padding-top: 0;
}

/* If announcement bar exists, push nav down */
.aab-ann + .aab-nav {
  top: 30px;
}
.aab-nav-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1.1rem 2.5rem;
  max-width: 1600px;
  margin: 0 auto;
}

/* ── BRAND (centered like aab) ── */
.aab-brand {
  font-family: 'Playfair Display', serif;
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: .32em;
  color: #2C2C2C;
  text-decoration: none;
  text-align: center;
  grid-column: 2;
  padding-right: 0;
  text-indent: .35em;
  transition: all .3s ease;
}
.aab-brand img {
  display: block;
  width: auto;
  height: 42px;
  max-width: 150px;
  object-fit: contain;
}
.aab-brand span { display: inline; }
.aab-brand img + span { display: none; }
.aab-brand:hover { color: #000; opacity: .7; }

/* ── HAMBURGER (left) ── */
.aab-ham {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #000;
  cursor: pointer;
  padding: .3rem .5rem;
  grid-column: 1;
  justify-self: start;
  min-width: 42px;
  min-height: 42px;
}

/* ── ICONS (right) ── */
.aab-icons {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  grid-column: 3;
  justify-self: end;
}
.aab-icons a {
  color: #000;
  font-size: 1.15rem;
  text-decoration: none;
  position: relative;
  transition: opacity .2s, transform .2s;
}
.aab-icons a:hover { opacity: .85; color: #000; transform: translateY(-1px); }
.aab-cbadge {
  position: absolute;
  top: -6px; right: -8px;
  background: #000;
  color: #fff;
  font-size: .58rem;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600;
  font-family: 'Lato', sans-serif;
}

/* ── DESKTOP MENU BAR ── */
.aab-menubar {
  background: #fff;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 2rem;
  border-bottom: 2px solid #E8DDD0;
}
.aab-mi { position: static; }
.aab-ml {
  display: block;
  padding: 1.1rem 1.5rem 1rem;
  font-size: .76rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: #2C2C2C;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all .25s ease;
  cursor: pointer;
  background: none;
  border-top: none; border-left: none; border-right: none;
  font-family: 'Lato', sans-serif;
  margin-bottom: -2px;
}
.aab-mi:hover > .aab-ml,
.aab-ml:focus {
  color: #2C2C2C;
  border-bottom-color: #8B7355;
  background: #F9F5F0;
  outline: none;
}
.aab-ml.is-active,
.aab-mi.active > .aab-ml {
  color: #2C2C2C;
  border-bottom-color: #8B7355;
  background: #F9F5F0;
  font-weight: 700;
}
.aab-ml.sale { color: #b00020 !important; }
.aab-ml.sale:hover { border-bottom-color: #b00020 !important; }
.aab-ml.sale.is-active,
.aab-mi.active > .aab-ml.sale {
  background: #fff3f5;
  border-bottom-color: #b00020;
}
.aab-chev {
  font-size: .55rem;
  margin-left: 6px;
  display: inline-block;
  transition: transform .25s;
  vertical-align: middle;
  opacity: .6;
}
.aab-mi:hover .aab-chev { transform: rotate(180deg); }

/* ── MEGA DROPDOWN (full-width like aab) ── */
.aab-mega {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 2px solid #E8DDD0;
  box-shadow: 0 18px 36px rgba(0,0,0,.12);
  padding: 2.8rem 4.5rem 3.5rem;
  z-index: 9999;
  gap: 3.5rem;
  animation: aab-fade .25s ease;
}
@keyframes aab-fade {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.aab-mi:hover .aab-mega { display: flex; justify-content: center; }
.aab-mega-cols {
  display: flex;
  gap: 4rem;
  flex: 0 1 auto;
  max-width: 900px;
}
.aab-mc { min-width: 150px; }
.aab-mc h6 {
  font-family: 'Lato', sans-serif;
  font-size: .7rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: #2C2C2C;
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid #E8DDD0;
  font-weight: 700;
}
.aab-mc a {
  display: block;
  font-size: .86rem;
  color: #555;
  text-decoration: none;
  margin-bottom: .7rem;
  padding-left: 0;
  transition: all .15s ease;
  font-family: 'Lato', sans-serif;
  font-weight: 500;
}
.aab-mc a:hover {
  color: #2C2C2C;
  padding-left: .2rem;
  font-weight: 600;
}

/* ── HIGHLIGHT (right side promo image) ── */
.aab-hl {
  width: 240px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  align-self: flex-start;
}
.aab-hl img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.aab-hl:hover img { transform: scale(1.04); }
.aab-hl-txt {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1rem 1.1rem;
  background: linear-gradient(transparent, rgba(0,0,0,.68));
}
.aab-hl-txt h5 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: .2rem;
  letter-spacing: .02em;
}
.aab-hl-txt p {
  font-size: .68rem;
  color: rgba(255,255,255,.85);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0;
  font-family: 'Lato', sans-serif;
}

/* ── MOBILE NAV ── */
.aab-mob {
  display: none;
  background: #fff;
  border-top: 2px solid #E8DDD0;
  max-height: 75vh;
  overflow-y: auto;
}
.aab-mob.open { display: block; }
.aab-mob-lnk {
  display: block;
  padding: 1.1rem 1.8rem;
  font-size: .77rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #2C2C2C;
  text-decoration: none;
  border-bottom: 1px solid #E8DDD0;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  transition: all .2s ease;
}
.aab-mob-sub {
  display: block;
  padding: .75rem 2.8rem;
  font-size: .8rem;
  color: #666;
  text-decoration: none;
  border-bottom: 1px solid #f0f0f0;
  font-family: 'Lato', sans-serif;
  text-transform: none;
  letter-spacing: .02em;
  font-weight: 500;
  transition: all .2s ease;
}
.aab-mob-lnk:hover {
  background: #F9F5F0;
  color: #2C2C2C;
}
.aab-mob-sub:hover {
  background: #f9f9f9;
  color: #2C2C2C;
}
.aab-mob-lnk.is-active {
  background: #F9F5F0;
  color: #2C2C2C;
  border-bottom-color: #8B7355;
}
.aab-mob-lnk.sale.is-active,
.aab-mob-lnk.sale:hover { color: #b00020; }
.aab-mob-lnk.sale { color: #b00020; }

/* ── RESPONSIVE ── */
/* ── NAVBAR HEIGHT CALCULATION ── */
.aab-nav {
  --nav-top-height: 69px;
  --menubar-height: 49px;
}

/* ── MINIMIZED STATE (on scroll desktop) ── */
.aab-nav.minimized {
  max-width: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
}
.aab-nav.minimized .aab-nav-top {
  padding: .65rem 2rem;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.aab-nav.minimized .aab-ham {
  display: flex !important;
  order: -1;
  margin-right: 1.5rem;
}
.aab-nav.minimized .aab-brand {
  font-size: 1.2rem;
  letter-spacing: .2em;
  flex: 1;
  text-align: center;
}
.aab-nav.minimized .aab-brand img {
  height: 28px;
  max-width: 110px;
}
.aab-nav.minimized .aab-icons {
  gap: 1.2rem;
  order: 1;
}
.aab-nav.minimized .aab-icons a {
  font-size: .95rem;
}

@media (max-width: 991px) {
  .aab-menubar { display: none !important; }
  .aab-ham { display: block !important; }
  .aab-nav-top { padding: 0.5rem 1.2rem; position: relative; grid-template-columns: 1fr auto 1fr; }
  .aab-brand {
    font-size: 1.5rem;
    letter-spacing: .25em;
    position: absolute;
    left: var(--aab-brand-left, 50%);
    top: 50%;
    transform: translate(-50%, -50%);
    grid-column: auto;
    text-indent: 0;
    padding-left: .25em;
    white-space: nowrap;
  }
  .aab-brand img {
    height: 34px;
    max-width: 116px;
  }
  .aab-icons { gap: 1.1rem; }
  .aab-icons a { font-size: 1.05rem; }

  body {
    padding-top: 58px;
  }

  body:has(.aab-ann) {
    padding-top: 93px;
  }
}
@media (max-width: 575px) {
  .aab-ann {
    font-size: .6rem;
    letter-spacing: .15em;
    padding: .5rem .6rem;
  }
  .aab-ann a { display: inline-block; }

  body {
    padding-top: 58px;
  }

  body:has(.aab-ann) {
    padding-top: 93px;
  }
}
