/* Louver Desk chrome — sticky top bar + category rail */

.a76-header {
  --lou-ink: #0a1628;
  --lou-mute: #5c6b78;
  --lou-butter: #f4c430;
  --lou-spruce: #1b6b4f;
  --lou-frost: #4a9bbe;
  --lou-ember: #e4572e;
  --lou-line: rgba(10, 22, 40, 0.11);
  --lou-display: "Exo 2", system-ui, sans-serif;
  --lou-font: "Mulish", system-ui, sans-serif;
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: blur(18px) saturate(1.12);
  background:
    linear-gradient(180deg, rgba(247, 251, 252, 0.94), rgba(232, 240, 242, 0.88));
  border-bottom: 1px solid var(--lou-line);
  font-family: var(--lou-font);
}

.a76-header-lintel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.85rem 1rem;
  align-items: center;
  padding: 0.85rem 0 0.7rem;
}

.a76-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none !important;
  color: var(--lou-ink);
  min-width: 0;
}
.a76-brand-seal {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 1.05rem 0.35rem;
  background: linear-gradient(145deg, var(--lou-spruce), #24956e);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--lou-display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  box-shadow: 0 12px 26px rgba(27, 107, 79, 0.32);
  animation: lou-chrome-seal 6s ease-in-out infinite;
}
@keyframes lou-chrome-seal {
  0%, 100% { border-radius: 1.05rem 0.35rem; }
  50% { border-radius: 0.35rem 1.05rem; }
}
.a76-brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.15;
}
.a76-brand-kicker {
  font-family: var(--lou-display);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lou-frost);
  font-weight: 700;
}
.a76-brand-word {
  font-family: var(--lou-display);
  font-size: clamp(0.92rem, 1.6vw, 1.12rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: min(42vw, 280px);
}

.a76-search {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.28rem 0.28rem 0.9rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--lou-line);
  box-shadow: 0 8px 18px rgba(10, 22, 40, 0.05);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.a76-search:focus-within {
  border-color: rgba(27, 107, 79, 0.4);
  box-shadow: 0 10px 22px rgba(27, 107, 79, 0.1);
}
.a76-search input {
  flex: 1;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.92rem;
  color: var(--lou-ink);
  outline: none;
  min-width: 0;
}
.a76-search button {
  border: 0;
  background: var(--lou-ink);
  color: #fff;
  min-width: 2.4rem;
  height: 2.15rem;
  padding: 0 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-family: var(--lou-display);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition: background 0.2s, transform 0.2s;
}
.a76-search button:hover {
  background: var(--lou-spruce);
  transform: scale(1.03);
}

.a76-header-utils {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.a76-util {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.48rem 0.78rem;
  border-radius: 999px;
  color: var(--lou-ink);
  text-decoration: none !important;
  font-family: var(--lou-display);
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(10, 22, 40, 0.05);
  border: 1px solid transparent;
  position: relative;
  transition: background 0.2s, transform 0.2s;
}
.a76-util:hover {
  background: rgba(10, 22, 40, 0.09);
  transform: translateY(-1px);
}
.a76-util-cart {
  background: var(--lou-ink);
  color: #fff !important;
}
.a76-util-cart:hover {
  background: var(--lou-spruce);
  color: #fff !important;
}
.a76-util-cart .a76-util-label,
.a76-util-cart > span[aria-hidden] {
  color: #fff !important;
}
.a76-util-count {
  position: absolute;
  top: -0.35rem;
  right: -0.25rem;
  min-width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  background: var(--lou-butter);
  color: var(--lou-ink);
  font-size: 0.65rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  padding: 0 0.25rem;
  box-shadow: 0 4px 10px rgba(244, 196, 48, 0.4);
}
.a76-util-label { display: none; }
@media (min-width: 1100px) {
  .a76-util-label { display: inline; }
}

.a76-menu-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--lou-line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.a76-menu-bar {
  display: block;
  width: 1rem;
  height: 1.5px;
  background: var(--lou-ink);
}

/* Category rail */
.a76-filmstrip {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.3rem 0 0.85rem;
  overflow: hidden;
}
.a76-filmstrip-label {
  flex-shrink: 0;
  font-family: var(--lou-display);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--lou-mute);
}
.a76-filmstrip-track {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 0.15rem;
  mask-image: linear-gradient(90deg, transparent, #000 1.5%, #000 96%, transparent);
}
.a76-filmstrip-track::-webkit-scrollbar { display: none; }
.a76-film-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--lou-line);
  color: var(--lou-ink);
  font-family: var(--lou-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
  transition: transform 0.2s, border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.a76-film-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(27, 107, 79, 0.4);
  background: #fff;
  box-shadow: 0 10px 18px rgba(10, 22, 40, 0.08);
}
.a76-film-chip--nav {
  background: rgba(74, 155, 190, 0.12);
  border-color: transparent;
}
.a76-film-chip.is-active {
  background: var(--lou-ink);
  color: #fff;
  border-color: var(--lou-ink);
}
.a76-film-dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--lou-butter);
}

/* Primary text links (desktop secondary) */
.a76-rail-links {
  display: none;
  gap: 0.25rem;
  margin-left: auto;
}
@media (min-width: 980px) {
  .a76-rail-links { display: inline-flex; }
}
.a76-rail-link {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--a76-muted);
  text-decoration: none !important;
  padding: 0.4rem 0.55rem;
  border-radius: 0.5rem;
}
.a76-rail-link:hover,
.a76-rail-link.is-active { color: var(--a76-ink); background: rgba(21,34,56,0.05); }

/* Mobile drawer */
.a76-mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  pointer-events: none;
  visibility: hidden;
}
.a76-mobile-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}
.a76-mobile-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 22, 36, 0.45);
  opacity: 0;
  transition: opacity 0.25s;
}
.a76-mobile-drawer.is-open .a76-mobile-backdrop { opacity: 1; }
.a76-mobile-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(88vw, 360px);
  background: var(--a76-porcelain);
  transform: translateX(104%);
  transition: transform 0.3s ease;
  padding: 1.25rem;
  overflow-y: auto;
  box-shadow: -20px 0 48px rgba(14, 22, 36, 0.18);
}
.a76-mobile-drawer.is-open .a76-mobile-panel { transform: none; }
.a76-mobile-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.a76-mobile-close {
  width: 2.4rem; height: 2.4rem;
  border-radius: 999px;
  border: 1px solid var(--a76-line);
  background: #fff;
  cursor: pointer;
  position: relative;
}
.a76-mobile-close span,
.a76-mobile-close span::before {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 0.9rem; height: 1.5px;
  background: var(--a76-ink);
  transform: translate(-50%, -50%) rotate(45deg);
}
.a76-mobile-close span::before {
  content: '';
  transform: translate(-50%, -50%) rotate(-90deg);
  inset: 0;
  position: absolute;
}
.a76-mobile-search {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
  border: 1px solid var(--a76-line);
  border-radius: 999px;
  padding: 0.35rem 0.35rem 0.35rem 0.9rem;
  background: #fff;
}
.a76-mobile-search input {
  flex: 1; border: 0; outline: none; background: transparent; font: inherit;
}
.a76-mobile-search button {
  border: 0; border-radius: 999px; width: 2.2rem; height: 2.2rem;
  background: var(--a76-coral); color: #fff; cursor: pointer;
}
.a76-mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
}
.a76-mobile-nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1rem;
  border-radius: var(--a76-radius-sm);
  background: #fff;
  border: 1px solid var(--a76-line);
  color: var(--a76-ink);
  text-decoration: none !important;
  font-weight: 600;
}
.a76-mobile-nav a.is-active {
  border-color: var(--a76-coral);
  background: rgba(232, 90, 79, 0.06);
}
.a76-mobile-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.a76-mobile-cats a {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: var(--a76-celadon-soft);
  color: var(--a76-ink);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none !important;
}
.a76-mobile-note {
  font-size: 0.82rem;
  color: var(--a76-muted);
  line-height: 1.5;
}

/* Bottom dock — unique mobile chrome */
.a76-dock {
  position: fixed;
  left: 50%;
  bottom: 0.85rem;
  transform: translateX(-50%);
  z-index: 90;
  display: none;
  width: min(94vw, 420px);
  padding: 0.45rem;
  border-radius: 999px;
  background: rgba(14, 22, 36, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(14, 22, 36, 0.35);
  grid-template-columns: repeat(5, 1fr);
  gap: 0.15rem;
}
.a76-dock a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.45rem 0.2rem;
  border-radius: 999px;
  color: rgba(255,255,255,0.62);
  text-decoration: none !important;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  position: relative;
}
.a76-dock a span[aria-hidden] { font-size: 1rem; line-height: 1; }
.a76-dock a.is-active {
  color: #fff;
  background: rgba(232, 90, 79, 0.95);
}
.a76-dock-badge {
  position: absolute;
  top: 0.15rem;
  right: 18%;
  min-width: 1rem;
  height: 1rem;
  border-radius: 999px;
  background: var(--a76-celadon);
  color: #fff;
  font-size: 0.58rem;
  display: grid;
  place-items: center;
  padding: 0 0.2rem;
}

/* Mobile: dock + hamburger were removed — keep search / account / cart in the header.
   Louver Menu (bottom-right) covers primary navigation. */
@media (max-width: 900px) {
  .a76-menu-toggle { display: none; }
  .a76-dock { display: none !important; }
  .a76-filmstrip { display: none; }
  .a76-header-lintel {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand utils"
      "search search";
    gap: 0.55rem 0.65rem;
  }
  .a76-brand { grid-area: brand; }
  .a76-search {
    grid-area: search;
    display: flex;
    min-width: 0;
  }
  .a76-header-utils {
    grid-area: utils;
    gap: 0.35rem;
  }
  .a76-header-utils .a76-util {
    display: inline-flex;
    padding: 0.4rem 0.55rem;
  }
}

/* Account mark */
.a76-account-mark {
  position: relative;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--a76-lilac-wash);
  color: var(--a76-ink);
  font-size: 0.62rem;
  font-weight: 700;
  flex-shrink: 0;
}
.a76-account-mark-glow,
.a76-account-mark-ring { display: none; }
.a76-account-mark-core {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}
.a76-account-mark-svg { width: 0.95rem; height: 0.95rem; }
.a76-account-mark-dot {
  position: absolute;
  right: -0.05rem;
  bottom: -0.05rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--a76-celadon);
  border: 2px solid var(--a76-porcelain);
}
.a76-account-mark.is-signed-in { background: var(--a76-celadon-soft); }
