:root {
  --ink: #151515;
  --muted: #69645f;
  --paper: #f7f4ed;
  --panel: #ffffff;
  --line: #d9d0c1;
  --gold: #a77d35;
  --copper: #ad6044;
  --green: #236e63;
  --plum: #34223a;
  --blue: #264b63;
  --danger: #b64040;
  --shadow: 0 20px 60px rgba(25, 20, 13, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding-top: 77px;
  color: var(--ink);
  background: #f7f4ed;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* The admin panel has its own fixed sidebar/topbar layout, not the storefront's fixed .topbar,
   so the reserved top space above is just empty dead space there. */
body:has(.admin-shell) {
  padding-top: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.topbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(221, 212, 198, 0.78);
  background: rgba(251, 248, 240, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
