.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  height: var(--header-h);
  background: color-mix(in srgb, var(--header) 92%, transparent);
  color: var(--header-text);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(244, 239, 230, 0.08);
  padding-inline: var(--page-pad);
}

.header-inner {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  min-width: 0;
}

.logo:hover {
  color: var(--header-text);
}

.logo-mark {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.55rem;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--copper);
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.desktop-nav {
  margin-left: auto;
  display: none;
}

.desktop-nav ul {
  list-style: none;
  display: flex;
  gap: 0.2rem;
  margin: 0;
  padding: 0;
}

.desktop-nav a {
  display: block;
  text-decoration: none;
  padding: 0.55rem 0.85rem;
  color: var(--header-muted);
  border-radius: var(--radius-pill);
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  color: var(--header-text);
  background: rgba(244, 239, 230, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}

.icon-btn,
.menu-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--header-text);
  border-radius: 50%;
  position: relative;
  text-decoration: none;
}

.icon-btn:hover,
.menu-toggle:hover {
  background: rgba(244, 239, 230, 0.1);
  color: var(--header-text);
}

.icon-btn svg,
.menu-toggle svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-count {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.28rem;
  border-radius: var(--radius-pill);
  background: var(--copper);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.menu-toggle {
  display: grid;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  z-index: var(--z-menu);
  background: var(--header);
  color: var(--header-text);
  display: none;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu.is-open {
  display: flex;
}

.mobile-menu-bar {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  border-bottom: 1px solid rgba(244, 239, 230, 0.08);
}

.mobile-menu nav {
  padding: 1.5rem 1.25rem 3rem;
  flex: 1;
}

.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu a {
  display: block;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 7vw, 2.4rem);
  letter-spacing: -0.04em;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(244, 239, 230, 0.08);
  color: var(--header-text);
}

.mobile-menu .meta {
  margin-top: 2rem;
  color: var(--header-muted);
  font-size: 0.95rem;
}

.site-footer {
  background: var(--header);
  color: var(--header-text);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.site-footer a {
  color: var(--header-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--copper-soft);
}

.site-footer h2 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper-soft);
}

.footer-brand p {
  max-width: 36ch;
  color: var(--header-muted);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li + li {
  margin-top: 0.45rem;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(244, 239, 230, 0.1);
  color: var(--header-muted);
  font-size: 0.88rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
}

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: var(--z-top);
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--canvas);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.back-to-top svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%) translateY(12px);
  z-index: var(--z-toast);
  background: var(--ink);
  color: var(--canvas);
  padding: 0.75rem 1.1rem;
  border-radius: var(--radius-pill);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.toast.is-on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (min-width: 900px) {
  .desktop-nav {
    display: block;
  }

  .menu-toggle {
    display: none;
  }

  .header-actions {
    margin-left: 0;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 0.8fr 1fr;
  }
}
