/* ─── HEADER / NAV ─── */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  height: 64px; display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; flex: 0 0 auto }
.logo-panel { display: flex; align-items: center; justify-content: center; background: #A2A2A3; padding: 10px 14px }
.logo-image { display: block; width: 132px; height: auto }
.logo-mark { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; color: var(--ink); text-transform: uppercase; font-family: var(--font-main) }
.nav-links { display: flex; gap: 24px; font-size: 0.88rem; font-weight: 500 }
.nav-links a:hover { color: var(--accent) }
.nav-right { display: flex; align-items: center; gap: 16px }
.nav-phone { font-size: 0.88rem; font-weight: 600 }
.cart-btn {
  position: relative; background: none; border: none;
  cursor: pointer; color: var(--ink); padding: 8px;
}
.cart-count {
  position: absolute; top: 2px; right: 0;
  background: var(--accent); color: var(--bg-dark);
  font-size: 0.65rem; font-weight: 700;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0.5);
  transition: all 0.25s;
}
.cart-count.visible { opacity: 1; transform: scale(1) }

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px }
.hamburger span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px 0; transition: 0.3s }

@media(max-width:768px) {
  .nav-links,.nav-phone { display: none }
  .hamburger { display: block }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--bg-white); padding: 20px 24px; gap: 16px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
  }
}

@media (max-width: 1100px) and (min-width: 769px) { .nav { gap: 14px } .nav-links { gap: 14px } .nav-phone { font-size: 0.8rem } .logo-image { width: 110px } .logo-mark { display: none } }
@media (max-width: 540px) { .nav { padding: 0 16px; gap: 10px } .logo-panel { padding: 10px 12px } .logo-image { width: 112px } .logo-mark { font-size: 0.6rem } .nav-right { gap: 8px } }
