:root {
  --ink: #090b0c;
  --charcoal: #15191b;
  --steel: #272d30;
  --ruby: #c70d22;
  --ruby-dark: #8e0717;
  --bone: #f3ead8;
  --paper: #f7f3e9;
  --muted: #a9a49a;
  --line: rgba(243, 234, 216, .16);
  --shadow: 0 28px 80px rgba(0,0,0,.34);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font: 16px/1.6 "DM Sans", sans-serif;
  overflow-x: hidden;
}
body.locked { overflow: hidden; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }
.nav {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  height: 64px;
  padding: 0 max(20px, calc((100vw - 1200px) / 2));
  border-bottom: 1px solid rgba(200, 18, 42, .42);
  background: rgba(54, 5, 14, .82);
  box-shadow: 0 12px 35px rgba(0,0,0,.32);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
  backdrop-filter: blur(16px) saturate(125%);
}
.nav > a:first-child { position: relative; z-index: 2; height: 64px; }
.nav-links { display: flex; gap: 28px; }
.nav a { text-decoration: none; font-size: .88rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.nav a:hover, .nav a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.brand { position: absolute; top: 8px; left: 0; width: 178px; max-width: none; filter: drop-shadow(0 12px 20px rgba(0,0,0,.72)); }
.nav-actions { display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
.cart-btn, .menu-btn {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 15px;
  background: rgba(9,11,12,.45);
  color: var(--bone);
  cursor: pointer;
  font-weight: 700;
}
.menu-btn { display: none; }
.cart-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-left: 5px; border-radius: 50%; background: var(--ruby); color: white; font-size: .75rem; }

h1, h2, h3 { font-family: "Arvo", serif; margin: 0; line-height: 1.04; }

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 3px;
  padding: 12px 21px;
  background: var(--ruby);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: .055em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); background: #e2132b; }
.btn.secondary { border-color: rgba(243,234,216,.45); background: rgba(9,11,12,.44); color: var(--bone); }

@media (max-width: 1250px) {
  .nav { grid-template-columns: auto 1fr; height: 58px; padding: 0 20px; }
  .nav > a:first-child { width: 150px; height: 58px; }
  .brand { width: 150px; }
  .nav-links { display: none; position: absolute; top: 58px; left: 20px; right: 20px; flex-direction: column; gap: 0; padding: 36px 18px 10px; border: 1px solid var(--line); background: rgba(4,6,7,.98); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; }
  .menu-btn { display: inline-flex; }
}

@media (max-width: 560px) {
  .nav { padding: 0 14px; }
  .nav > a:first-child { width: 128px; }
  .brand { width: 128px; }
  .nav-links { padding-top: 28px; }
  .cart-btn { padding: 9px 11px; font-size: .82rem; }
  .menu-btn { padding: 9px 11px; }
}
