/* Eternal Dedication: shared styles for every page.
   Layout: hairline-ruled storefront, 50/50 product split like the reference,
   system font stack with tight tracking, black and white only. */
:root {
  --paper: #ffffff;
  --ink: #0c0c0c;
  --muted: #6e6d6a;
  --line: #161616;
  --wash: #f4f4f3;
  --soft-line: #dcdcda;
  --pop-bg: #f2f0ef;
  --promo: #ff0019;   /* popup red, matched to the reference */
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif;
  --font-pop: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--ink);
}
img { max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.gutter {
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* Countdown bar */
.announce {
  background: var(--ink); color: var(--paper);
  text-align: center;
  font-size: 14px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding-block: 10px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px;
}
.announce .clock { font-variant-numeric: tabular-nums; }
.announce .sep { opacity: .5; }

/* Header */
.header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding-block: 18px;
}
.icon-btn {
  background: none; border: 0; padding: 6px; display: inline-grid; place-items: center;
  position: relative; text-decoration: none;
}
.icon-btn svg { width: 28px; height: 28px; }
.logo { display: block; line-height: 0; }
.logo img { height: clamp(40px, 6vw, 62px); width: auto; }
.header-right { justify-self: end; }
.bag-count {
  position: absolute; top: 0; right: -2px;
  min-width: 18px; height: 18px; border-radius: 9px;
  background: var(--ink); color: var(--paper);
  font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; padding: 0 4px;
}

/* Buttons */
.btn-outline {
  width: 100%; background: var(--paper); color: var(--ink);
  border: 1px solid var(--ink); border-radius: 0;
  padding: 12px 20px; font-size: 19px; text-transform: uppercase; letter-spacing: -.01em;
  transition: background .15s, color .15s;
}
.btn-outline:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.btn-solid {
  width: 100%; background: var(--ink); color: var(--paper);
  border: 1px solid var(--ink); border-radius: 0;
  padding: 14px 20px; font-size: 17px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em;
}
.btn-solid:hover { opacity: .88; }

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding-block: 40px;
  display: grid; gap: 28px;
  font-size: 15px;
}
.footer-cols { display: flex; flex-wrap: wrap; gap: 28px 64px; }
.footer h3 { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer .copy { color: var(--muted); font-size: 13px; }

/* Drawers */
.scrim {
  position: fixed; inset: 0; z-index: 40; background: rgba(12,12,12,.45);
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.scrim.on { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; bottom: 0; z-index: 50;
  width: min(440px, 100%);
  background: var(--paper);
  display: flex; flex-direction: column;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  transition: transform .3s ease;
  overflow-y: auto;
}
.drawer.left { left: 0; transform: translateX(-100%); border-right: 1px solid var(--line); padding-left: env(safe-area-inset-left, 0px); }
.drawer.right { right: 0; transform: translateX(100%); border-left: 1px solid var(--line); padding-right: env(safe-area-inset-right, 0px); }
.drawer.open { transform: none; }
.drawer-head {
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--line); min-height: 68px;
  padding-left: 22px;
}
.drawer-head h2 { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.close {
  width: 68px; height: 68px; border: 0; border-left: 1px solid var(--line); background: none;
  display: grid; place-items: center;
}
.close svg { width: 26px; height: 26px; }
.menu-links a {
  display: block; text-decoration: none;
  font-size: 28px; letter-spacing: -.03em;
  padding: 14px 22px; border-bottom: 1px solid var(--line);
}
.menu-links a:hover, .menu-links a[aria-current="page"] { background: var(--wash); }
.menu-foot { padding: 26px 22px; display: grid; gap: 18px; font-size: 16px; }
.socials { display: flex; gap: 18px; }
.socials a { display: inline-flex; text-decoration: none; }
.socials svg { width: 24px; height: 24px; }

/* Content pages (about, policies, tracking) */
.page {
  max-width: 760px; margin: 0 auto;
  padding-block: clamp(40px, 7vw, 80px);
}
.page h1 {
  margin: 0 0 8px; font-weight: 400; font-size: clamp(40px, 6vw, 72px);
  line-height: 1; letter-spacing: -.05em; text-transform: uppercase; text-wrap: balance;
}
.page .updated { color: var(--muted); font-size: 15px; margin: 0 0 36px; }
.page h2 { margin: 36px 0 8px; font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
.page p, .page li { max-width: 65ch; }
.page p { margin: 0 0 14px; }
.page ul { margin: 0 0 14px; padding-left: 22px; }
.page li { margin-bottom: 6px; }
.page .callout {
  border: 1px solid var(--ink); padding: 18px 20px; margin: 0 0 28px;
  font-weight: 700; font-size: 20px; letter-spacing: -.02em;
}
.page .photo-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 28px 0; }
.page .photo-row img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; }

@media (max-width: 820px) {
  .header { padding-block: 14px; }
  .menu-links a { font-size: 24px; }
  body { font-size: 17px; }
}

/* 10% off popup */
.promo-scrim {
  position: fixed; inset: 0; z-index: 70;
  background: rgba(12,12,12,.55);
  display: grid; place-items: center; overflow-y: auto;
  padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
}
.promo {
  position: relative; width: min(530px, 100%);
  background: var(--pop-bg); border-radius: 8px;
  padding: 34px 34px 58px; text-align: center;
  font-family: var(--font-pop);
  animation: promo-in .3s ease;
}
.promo-step { display: grid; gap: 30px; justify-items: center; width: 100%; }
@keyframes promo-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.promo-x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; background: none; display: grid; place-items: center; }
.promo-x svg { width: 16px; height: 16px; }
/* Logo on its own, about the size of the reference's badge */
.promo-badge { display: flex; justify-content: center; margin: 6px auto 26px; }
.promo-logo { width: 170px; height: auto; display: block; }
.promo h2 { margin: 0 auto; max-width: 11ch; font-size: clamp(38px, 7vw, 54px); font-weight: 700; line-height: 1.04; letter-spacing: -.01em; text-wrap: balance; }
.promo p { margin: -8px 0 0; color: var(--muted); font-size: 15px; max-width: 36ch; }
.promo-btn {
  width: 100%; border-radius: 999px; background: var(--promo); color: #fff;
  border: 2px solid var(--ink); box-shadow: inset 0 0 0 1px #fff;
  padding: 21px 24px; font-size: 19px; font-weight: 700;
}
.promo-btn:hover { opacity: .88; }
.promo-btn:disabled { opacity: .5; cursor: wait; }
.promo-no { border: 0; background: none; font-size: 19px; font-weight: 700; padding: 4px 8px; margin-top: -14px; }
.phone-field { display: flex; align-items: center; width: 100%; background: var(--paper); border: 2px solid var(--ink); border-radius: 999px; padding: 0 8px 0 22px; }
.phone-prefix { font-size: 18px; font-weight: 700; padding-right: 10px; border-right: 1px solid var(--soft-line); }
.phone-field input { flex: 1; min-width: 0; border: 0; background: none; outline: none; padding: 18px 12px; font-size: 18px; font-family: inherit; color: var(--ink); }
.phone-field:focus-within { box-shadow: 0 0 0 3px rgba(12,12,12,.15); }
.phone-error { color: var(--ink); font-size: 14px; font-weight: 800; margin-top: -10px; }
.promo .sms-terms { font-size: 11px; line-height: 1.45; max-width: 46ch; margin: -6px 0 0; }
.sms-terms a { color: var(--ink); }
.promo-code { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; border: 2px dashed var(--ink); border-radius: 8px; padding: 12px 12px 12px 18px; font-size: 22px; font-weight: 800; letter-spacing: .12em; }
.promo-code button { border: 0; background: var(--ink); color: var(--paper); border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.promo-pill { position: fixed; z-index: 30; left: calc(20px + env(safe-area-inset-left, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }
.promo-pill-open { border: 0; border-radius: 999px; background: var(--promo); color: #fff; padding: 18px 24px; font-family: var(--font-pop); font-size: 18px; font-weight: 800; box-shadow: 0 6px 18px rgba(0,0,0,.2); }
.promo-pill-hide { position: absolute; top: -26px; left: -6px; width: 24px; height: 24px; border: 0; background: none; display: grid; place-items: center; }
.promo-pill-hide svg { width: 14px; height: 14px; }

.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 80;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--paper);
  padding: 12px 20px; border-radius: 999px; font-size: 14px; font-weight: 700; text-transform: uppercase;
  transition: opacity .2s, transform .2s;
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* Footer bottom row: copyright left, country right */
.footer-bottom { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center; border-top: 1px solid var(--soft-line); padding-top: 16px; }
.footer .region { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); }
.footer .flag { width: 17px; height: 9px; display: block; box-shadow: 0 0 0 .5px rgba(0,0,0,.15); }

/* Netlify badge: the free plan pins a 196×63 badge to the bottom-right corner.
   Keep that corner empty everywhere so it never covers the cart, checkout or footer. */
:root { --badge-h: 64px; }
.footer { padding-bottom: calc(40px + var(--badge-h)); }
.drawer { padding-bottom: calc(var(--badge-h) + env(safe-area-inset-bottom, 0px)); }
.promo-scrim { padding-bottom: calc(var(--badge-h) + 16px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 820px) {
  .promo-pill-open { padding: 14px 18px; font-size: 16px; }
}
