﻿

.site-header {
  overflow: visible !important;
}

.nav-chevron {
  display: inline-block;
  vertical-align: middle;
  margin-left: 3px;
  transition: transform 0.22s ease;
  flex-shrink: 0;
}
.has-mega { position: relative; }
.has-mega > a {
  display: inline-flex !important;
  align-items: center;
  gap: 3px;
}
.has-mega.mega-open > a { color: var(--c-ink) !important; }
.has-mega.mega-open > a::after { width: 100% !important; }
.has-mega.mega-open .nav-chevron { transform: rotate(180deg); }

.mega-backdrop {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: rgba(28, 23, 20, 0.18);
  z-index: 185;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  top: 0;
}
.mega-backdrop.show {
  opacity: 1;
  pointer-events: all;
}

.mega-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: 100vw;
  background: #FAF8F5;
  border-top: 1px solid #E5D9CC;
  box-shadow:
    0 4px 6px -1px rgba(28,23,20,0.04),
    0 20px 60px -8px rgba(28,23,20,0.14);
  z-index: 190;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.22s ease,
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.mega-panel.open {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}

.mega-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 36px 48px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 240px;
  gap: 40px;
  align-items: start;
}
.mega-inner--3col {
  grid-template-columns: 1fr 1fr 240px;
}

.mega-col {}

.mega-col-title {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #C4A98A;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #E5D9CC;
}

.mega-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mega-list li { }
.mega-list a {
  display: block;
  padding: 5px 0;
  font-size: 13px;
  font-weight: 500;
  color: #6B5E56;
  transition: color 0.15s, padding-left 0.15s;
}
.mega-list a:hover {
  color: #1C1714;
  padding-left: 4px;
}
.mega-list .mega-featured a {
  font-weight: 700;
  color: #1C1714;
}
.mega-list .mega-featured a:hover {
  color: #C4A98A;
  padding-left: 0;
}

.mega-color-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mega-color-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
  font-size: 13px;
  font-weight: 500;
  color: #6B5E56;
  transition: color 0.15s;
}
.mega-color-list a:hover { color: #1C1714; }

.mc-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.mega-color-list a:hover .mc-dot {
  transform: scale(1.2);
  box-shadow: 0 0 0 2px #C4A98A;
}

.mega-editorial {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  min-height: 260px;
}
.mega-editorial a {
  display: block;
  height: 100%;
  width: 100%;
}
.mega-editorial img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.mega-editorial:hover img { transform: scale(1.05); }

.mega-ed-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(28,23,20,0.82) 0%, rgba(28,23,20,0) 100%);
  padding: 24px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mega-ed-tag {
  font-family: 'Manrope', sans-serif;
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 700;
  color: #C4A98A;
}
.mega-ed-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  font-weight: 400;
  color: #fff;
  line-height: 1.2;
}
.mega-ed-cta {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-top: 4px;
  transition: color 0.15s;
}
.mega-editorial:hover .mega-ed-cta { color: #C4A98A; }

@media (max-width: 900px) {
  .mega-panel { display: none !important; }
  .nav-chevron { display: none !important; }
}
