/* Cabecera global — una sola fuente para menú y barra superior */
:root {
  --sticky-header-h: 96px;
}

.top {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 242, 236, .92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line-soft, rgba(14, 6, 16, 0.06));
}

.top-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  padding: 18px 32px;
  max-width: 1440px;
  margin: 0 auto;
  gap: clamp(20px, 3vw, 40px);
  min-height: var(--sticky-header-h);
  box-sizing: border-box;
}

@media (max-width: 720px) {
  .top-inner { padding: 14px 20px; }
}

.brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.brand-mark {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  line-height: 0;
}

.brand-mark img {
  height: 60px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-l {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-self: start;
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: 12.5px;
  line-height: 0.9;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.nav-l a {
  transition: opacity .2s;
  padding: 4px 0;
}

.nav-l a:hover,
.nav-l a.active {
  opacity: 1;
  color: var(--dark);
}

.nav-l a:not(.active):not(:hover) {
  opacity: .65;
}

.nav-r {
  display: flex;
  gap: 14px;
  justify-content: end;
  align-items: center;
  font-size: 13px;
  justify-self: end;
}

.nav-r .ico {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  transition: opacity .2s;
  opacity: .8;
}

.nav-r .ico:hover,
.nav-r .ico.active {
  opacity: 1;
  color: var(--dark);
}

.nav-r .cart {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .04em;
}

.nav-r .cart .num {
  background: var(--primary);
  color: var(--ink);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 10.5px;
  font-weight: 700;
}

@media (max-width: 980px) {
  .nav-l { display: none; }
}

@media (max-width: 720px) {
  :root { --sticky-header-h: 78px; }
  .brand-mark img { height: 52px; }
  .nav-r { gap: 8px; }
  .nav-r .ico { width: 34px; height: 34px; }
  .nav-r .cart { padding: 8px 10px; font-size: 11.5px; letter-spacing: .03em; }
  .nav-r .cart .num { width: 16px; height: 16px; font-size: 10px; }
}
