/* eLeatherHub SEO rebuild — header / footer chrome (design handoff tokens) */
:root {
  --elh-page: #F3EDE2;
  --elh-raised: #EFE6D6;
  --elh-surface: #FBF8F2;
  --elh-ink: #1E1913;
  --elh-ink-muted: #3A3128;
  --elh-text-subtle: #6E6257;
  --elh-text-faint: #A89A86;
  --elh-accent: #8A2E1E;
  --elh-accent-hover: #6E2417;
  --elh-tan: #7A4A2A;
  --elh-gold: #E4B77A;
  --elh-border: #D8CBB8;
  --elh-border-light: #E2D7C6;
  --elh-border-faint: #EAE0CF;
  --elh-control: #B8A78F;
  --elh-hover: #E9DFCE;
  --elh-utility: #7A6A58;
  --elh-font-display: "Newsreader", Georgia, serif;
  --elh-font-ui: "IBM Plex Sans", system-ui, sans-serif;
  --elh-font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --elh-max: 1280px;
}

html { background: var(--elh-page); }
body {
  background: var(--elh-page);
  color: var(--elh-ink);
  font-family: var(--elh-font-ui);
  -webkit-font-smoothing: antialiased;
}
body.elh-nav-open { overflow: hidden; }

/* Kill old Kalles transparent-header offset once the new sticky chrome is in place */
body .t4s-section-header,
body #shopify-section-header-inline { margin-bottom: 0 !important; margin-top: 0 !important; }

.elh-skip {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.elh-skip:focus {
  left: 16px; top: 16px; width: auto; height: auto; z-index: 100;
  padding: 10px 14px; background: var(--elh-ink); color: var(--elh-page);
}

/* —— Utility bar —— */
.elh-util {
  display: flex; justify-content: center; align-items: center; flex-wrap: wrap;
  gap: 28px; padding: 8px 24px;
  background: var(--elh-ink); color: #E9DFCE;
  font-size: 12.5px; letter-spacing: .02em;
}
.elh-util__dot { color: var(--elh-utility); }

/* —— Header —— */
.elh-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(243, 237, 226, .94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--elh-border);
}
.elh-header__bar {
  max-width: var(--elh-max); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.elh-wordmark {
  font-family: var(--elh-font-display); font-size: 26px; font-weight: 600;
  letter-spacing: -.02em; color: var(--elh-ink); text-decoration: none; white-space: nowrap;
}
.elh-wordmark:hover { color: var(--elh-ink); text-decoration: none; }

.elh-nav { display: flex; gap: 4px; flex-wrap: wrap; flex: 1; align-items: center; }
.elh-nav__btn {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 12px; border: 0; border-radius: 4px;
  background: transparent; color: var(--elh-ink);
  font-family: inherit; font-size: 14px; font-weight: 500;
  cursor: pointer; white-space: nowrap;
}
.elh-nav__btn:hover { background: var(--elh-hover); }
.elh-nav__btn.is-open { background: var(--elh-ink); color: var(--elh-page); }
.elh-nav__caret { font-size: 10px; opacity: .6; }

.elh-cta { display: flex; gap: 8px; align-items: center; margin-left: auto; }
.elh-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 14px; border-radius: 4px; font-size: 13.5px; font-weight: 500;
  text-decoration: none; white-space: nowrap; border: 1px solid transparent;
}
.elh-btn:hover { text-decoration: none; }
.elh-btn--ghost {
  border-color: var(--elh-control); color: var(--elh-ink); background: transparent;
}
.elh-btn--ghost:hover { background: var(--elh-hover); color: var(--elh-ink); }
.elh-btn--accent {
  background: var(--elh-accent); color: var(--elh-page); border-color: var(--elh-accent);
}
.elh-btn--accent:hover { background: var(--elh-accent-hover); color: #fff; }
.elh-cart {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 4px; color: var(--elh-ink); text-decoration: none;
}
.elh-cart:hover { background: var(--elh-hover); color: var(--elh-ink); text-decoration: none; }
.elh-cart__count {
  position: absolute; top: 2px; right: 2px; min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 999px; background: var(--elh-ink); color: var(--elh-page);
  font-size: 10px; font-weight: 600; line-height: 16px; text-align: center;
}
.elh-cart__count:empty,
.elh-cart__count[data-cart-count="0"] { display: none; }

.elh-burger {
  display: none; align-items: center; justify-content: center;
  width: 40px; height: 40px; border: 0; background: transparent; color: var(--elh-ink); cursor: pointer;
}
.elh-burger svg { display: block; }

/* Mega panel */
.elh-mega {
  display: none; border-top: 1px solid var(--elh-border);
  background: var(--elh-surface);
  box-shadow: 0 18px 40px -20px rgba(30, 25, 19, .35);
}
.elh-mega.is-open { display: block; }
.elh-mega__inner {
  max-width: var(--elh-max); margin: 0 auto; padding: 22px 24px 26px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px 32px;
}
.elh-mega__col { display: flex; flex-direction: column; gap: 6px; }
.elh-mega__h {
  font-family: var(--elh-font-mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--elh-tan); margin-bottom: 4px;
}
.elh-mega__link {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 5px 0; font-size: 14px; color: var(--elh-ink); text-decoration: none;
  border-bottom: 1px dashed var(--elh-border-faint);
}
.elh-mega__link:hover { color: var(--elh-accent); text-decoration: none; }
.elh-mega__more {
  margin-top: 6px; font-size: 13px; color: var(--elh-accent); text-decoration: none;
}
.elh-mega__more:hover { text-decoration: underline; }
.elh-mega__promo {
  padding: 16px 18px; background: var(--elh-ink); color: var(--elh-page);
  border-radius: 6px; display: flex; flex-direction: column; gap: 8px; align-self: start;
}
.elh-mega__promo-tag {
  font-family: var(--elh-font-mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--elh-gold);
}
.elh-mega__promo-line {
  font-family: var(--elh-font-display); font-size: 19px; line-height: 1.2;
}
.elh-mega__promo a { font-size: 13px; color: var(--elh-page); text-decoration: underline; }
.elh-mega__promo a:hover { color: #fff; }

/* Mobile drawer */
.elh-drawer-backdrop {
  display: none; position: fixed; inset: 0; z-index: 40;
  background: rgba(30, 25, 19, .45);
}
.elh-drawer-backdrop.is-open { display: block; }
.elh-drawer {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 50;
  width: min(100%, 380px); background: var(--elh-surface);
  transform: translateX(-105%); transition: transform .22s ease;
  display: flex; flex-direction: column; overflow: auto;
}
.elh-drawer.is-open { transform: translateX(0); }
.elh-drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px; border-bottom: 1px solid var(--elh-border);
}
.elh-drawer__close {
  border: 0; background: transparent; font-size: 22px; line-height: 1;
  color: var(--elh-ink); cursor: pointer; padding: 4px 8px;
}
.elh-drawer__ctas { display: flex; gap: 8px; padding: 14px 18px; flex-wrap: wrap; }
.elh-acc { border-bottom: 1px solid var(--elh-border-light); }
.elh-acc__sum {
  list-style: none; cursor: pointer; padding: 14px 18px;
  font-size: 15px; font-weight: 500; display: flex; justify-content: space-between;
}
.elh-acc__sum::-webkit-details-marker { display: none; }
.elh-acc__body { padding: 0 18px 16px; }
.elh-acc__h {
  font-family: var(--elh-font-mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--elh-tan); margin: 10px 0 6px;
}
.elh-acc__body a {
  display: block; padding: 7px 0; font-size: 14px; color: var(--elh-ink);
  text-decoration: none; border-bottom: 1px dashed var(--elh-border-faint);
}
.elh-acc__body a:hover { color: var(--elh-accent); }

@media (max-width: 700px) {
  .elh-nav { display: none; }
  .elh-burger { display: inline-flex; }
  .elh-cta .elh-btn--ghost { display: none; }
  .elh-util { gap: 12px 18px; padding: 8px 16px; }
}

/* —— Footer —— */
.elh-footer {
  margin-top: auto; background: var(--elh-ink); color: var(--elh-border);
}
.elh-footer__grid {
  max-width: var(--elh-max); margin: 0 auto; width: 100%;
  padding: 44px 24px 32px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px; font-size: 13.5px; line-height: 1.7;
}
.elh-footer__brand { display: flex; flex-direction: column; gap: 8px; }
.elh-footer__brand-name {
  font-family: var(--elh-font-display); font-size: 24px; font-weight: 600; color: var(--elh-page);
}
.elh-footer__brand p {
  margin: 0; color: var(--elh-text-faint); font-size: 13px; line-height: 1.5;
}
.elh-footer__col { display: flex; flex-direction: column; gap: 4px; }
.elh-footer__h {
  font-family: var(--elh-font-mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--elh-gold); margin-bottom: 4px;
}
.elh-footer__col a {
  color: var(--elh-border); text-decoration: none;
}
.elh-footer__col a:hover { color: #fff; text-decoration: underline; }
.elh-footer__legal {
  border-top: 1px solid #3A3128; padding: 14px 24px;
  text-align: center; font-size: 12px; color: var(--elh-utility);
}
