/* site-chrome.css — the site's menu (navbar) and bag drawer, reused on the product pages. Copied from style.css sections 1, 2 and 4. */

:root {
  --font: 'DM Sans', system-ui, sans-serif;   /* the one font used across the whole site */
  --ink: #111;
  --paper: #f4f3ef;
  --line: rgba(17,17,17,.18);
  --muted: #686864;
  --glass-bg: rgba(247,246,242,.38);
  --glass-bd: rgba(255,255,255,.7);
  --glass-blur: blur(26px) saturate(150%);
  --glass-sh: 0 12px 40px rgba(0,0,0,.10),inset 0 1px 0 rgba(255,255,255,.85),inset 0 -1px 0 rgba(255,255,255,.22);
}

/* ==========================================================================
   2. NAVBAR
   ========================================================================== */

/* Floating glass pills, same on every page: logo left, links + bag right. */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 21px 3.2vw;
  color: #111;
  font: 500 11px/1 var(--font);
  pointer-events: none;
  transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}
.site-nav.is-away { transform: translateY(-140%); }
.site-logo,
.site-links {
  display: flex;
  align-items: center;
  border: 1px solid var(--glass-bd);
  border-radius: 999px;
  background: rgba(247, 246, 242, .34);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-sh);
  pointer-events: auto;
  transition: background .45s ease, box-shadow .45s ease;
}
.site-nav.is-scrolled .site-logo,
.site-nav.is-scrolled .site-links { background: rgba(247, 246, 242, .58); }
.site-nav a { color: inherit; text-decoration: none; }
.site-logo {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  height: 50px;
  padding: 0 22px;
  font-family: var(--font);
  line-height: .84;
  letter-spacing: -.055em;
}
.site-logo span { font-size: 11px; font-weight: 500; }
.site-logo strong { font-size: 21px; font-weight: 600; letter-spacing: -.085em; }
/* home: the big hero heading flies up and becomes the logo, so the static one stays hidden */
.home-nue .site-logo { visibility: hidden; }
.site-links { gap: 2px; padding: 6px; }
.site-links a,
.site-bag {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  letter-spacing: .09em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background .28s ease, transform .28s ease;
}
.site-links a:hover,
.site-links a:focus-visible,
.site-bag:hover { background: rgba(255, 255, 255, .48); transform: translateY(-1px); }
.site-links a.is-current { background: rgba(255, 255, 255, .5); }
.site-links a:focus-visible,
.site-bag:focus-visible { outline: 1px solid #111; outline-offset: 2px; }
.site-bag { padding: 0 13px; cursor: pointer; color: inherit; }
.site-bag svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.site-bag b {
  position: absolute;
  top: 2px;
  right: 3px;
  min-width: 14px;
  height: 14px;
  padding: 0 4px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 8px;
  font-weight: 600;
  line-height: 14px;
  letter-spacing: 0;
  text-align: center;
}
@media (max-width: 900px) {
  .site-nav { padding: 17px 16px; }
  .site-links a { padding: 0 11px; font-size: 10px; }
}
@media (max-width: 560px) {
  .site-nav { padding: 14px; }
  .site-logo { height: 44px; padding: 0 14px; }
  .site-logo span { font-size: 9px; }
  .site-logo strong { font-size: 17px; }
  .site-links { max-width: calc(100vw - 150px); padding: 4px; gap: 0; }
  .site-links a { min-height: 32px; padding: 0 6px; font-size: 8px; letter-spacing: .02em; }
  .site-bag { padding: 0 7px; }
}


/* ==========================================================================
   4. BAG DRAWER
   ========================================================================== */

.bag {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  height: 100%;
  width: min(430px,100%);
  background: #f7f6f1;
  transform: translateX(100%);
  transition: transform .45s ease;
  box-shadow: -15px 0 50px rgba(0,0,0,.08);
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.bag.open {
  transform: none;
}

.bag-head,
.bag-foot {
  padding: 25px;
  border-bottom: 1px solid var(--line);
}

.bag-head {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
}

.bag-body {
  padding: 25px;
}

.bag-foot {
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.bag-foot>div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
}

.bag-checkout,
.primary {
  width: 100%;
  padding: 16px 20px;
  background: #111;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
}

.overlay {
  position: fixed;
  z-index: 40;
  inset: 0;
  background: rgba(0,0,0,.18);
  opacity: 0;
  visibility: hidden;
  transition: .3s;
}

.overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Bag line items (rendered by store.js) */
.bag-line { display: flex; gap: 16px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.bag-line img { width: 82px; height: 82px; object-fit: cover; }
.bag-line small { display: block; color: var(--muted); margin: 6px 0 10px; }
.bag-ctl { display: flex; align-items: center; gap: 10px; }
.bag-ctl button { width: 26px; height: 26px; border: 1px solid var(--line); }
.bag-ctl .rm { width: auto; border: 0; margin-left: 8px; font-size: 12px; text-decoration: underline; color: var(--muted); }
.bag-note, .bag-empty { color: var(--muted); font-size: 13px; }

/* ==========================================================================
   FOOTER (site-wide) — same footer as every other page
   ========================================================================== */
/* Every rule starts with .site-footer so no page-level rule can squash it. Compact version: ~40% shorter than before. */
.site-footer {
  padding: clamp(32px, 3.6vw, 52px) clamp(18px, 4.8vw, 104px) 0;
  background: #272a1b;
  color: #f3ede3;
  font: 300 clamp(14px, 1.05vw, 15px)/1.5 var(--font);
}
.site-footer a { color: inherit; text-decoration: none; transition: opacity .2s ease; }
.site-footer a:hover { opacity: .7; }
.site-footer .sf-grid {
  display: grid;
  grid-template-columns: 1.6fr .9fr .9fr .9fr 1.3fr;
  gap: clamp(24px, 3vw, 56px);
  align-items: start;
}

/* brand + newsletter column */
.site-footer .brand {
  display: block;
  width: max-content;
  margin: -2px 0 0;
  font-size: clamp(22px, 1.9vw, 28px);
  line-height: .9;
  letter-spacing: -.055em;
}
.site-footer .brand strong { display: block; font-size: 1.75em; font-weight: 600; letter-spacing: -.07em; line-height: 1; }
.site-footer .sf-tag {
  max-width: 30ch;
  margin: 14px 0 24px;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: .005em;
  line-height: 1.4;
}
.site-footer .sf-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .24em;
  line-height: 1;
  text-transform: uppercase;
}
.site-footer .sf-news .sf-kicker::before { content: ''; width: 22px; height: 1px; background: currentColor; }
.site-footer .sf-line { max-width: 340px; margin: 0 0 16px; font-size: 14px; line-height: 1.5; }
.site-footer .sf-field { display: flex; align-items: center; max-width: 380px; padding-bottom: 8px; border-bottom: 1px solid #f3ede3; }
.site-footer .sf-field input { flex: 1; min-width: 0; padding: 0; border: 0; outline: 0; background: none; color: inherit; font: inherit; }
.site-footer .sf-field input::placeholder { color: rgba(243, 237, 227, .72); }
.site-footer .sf-field button { display: grid; place-items: center; padding: 0 2px; border: 0; background: none; color: inherit; cursor: pointer; }
.site-footer .sf-field svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.site-footer .news-msg { min-height: 0; margin: 8px 0 0; font-size: 13px; }
.site-footer .news-msg:empty { display: none; }

/* link columns */
.site-footer h4 {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .24em;
  line-height: 1;
  text-transform: uppercase;
}
.site-footer .sf-grid > div > a:not(.brand):not(.sf-mail) { display: block; margin: 0 0 10px; font-size: 15px; line-height: 1.3; }

/* contact column */
.site-footer .sf-mail { display: block; font-size: clamp(16px, 1.3vw, 19px); font-weight: 400; letter-spacing: -.01em; line-height: 1.25; overflow-wrap: anywhere; }
.site-footer [data-contact-phone]:not(:empty) { display: block; margin-top: 6px; }
.site-footer .sf-rule { display: block; width: 64px; height: 1px; margin: 16px 0 18px; background: rgba(243, 237, 227, .5); }
.site-footer .sf-social { display: flex; gap: 14px; }
.site-footer .sf-social a { display: grid; place-items: center; width: 30px; height: 30px; }
.site-footer .sf-social svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.site-footer .sf-social svg[fill] { fill: currentColor; stroke: none; }

/* bottom bar */
.site-footer .sf-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: clamp(24px, 2.6vw, 36px);
  padding: 16px 0 18px;
  border-top: 1px solid rgba(243, 237, 227, .22);
  font-size: 13px;
}
@media (max-width: 980px) {
  .site-footer .sf-grid { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .site-footer .sf-intro { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .site-footer .sf-grid { grid-template-columns: 1fr 1fr; }
  .site-footer .sf-base { flex-direction: column; }
}

