.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid var(--color-border);
  background: rgba(8, 5, 4, 0.84);
  backdrop-filter: blur(18px);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(184, 117, 59, 0.22);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.8rem, 2.2vw, 1.6rem);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.primary-nav a {
  position: relative;
  text-decoration: none;
  color: var(--color-muted);
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--color-cream);
}

.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  min-height: 1.35rem;
  margin-left: 0.2rem;
  border-radius: 999px;
  background: var(--color-caramel);
  color: var(--color-black);
  font-size: 0.75rem;
}

main {
  width: 100%;
}

.section,
.hero-section,
.page-hero {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  min-height: calc(100vh - 86px);
  padding: clamp(3rem, 6vw, 6rem) 0;
}

.section {
  padding: clamp(3.5rem, 8vw, 7rem) 0;
}

.split-section,
.feature-section,
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.page-hero {
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(2rem, 5vw, 4rem);
  text-align: center;
}

.compact-hero h1 {
  font-size: clamp(3rem, 8vw, 6rem);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 4vw, 3rem);
  border-top: 1px solid var(--color-border);
  color: var(--color-muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin-bottom: 0;
}

@media (max-width: 860px) {
  .site-header,
  .site-footer {
    flex-direction: column;
    text-align: center;
  }

  .primary-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-section,
  .split-section,
  .feature-section,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
  }

  .brand-name {
    font-size: 0.9rem;
  }
}
