/* 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);
}

/* —— Row 1: utility bar —— */
.elh-util { background: var(--elh-tan); color: #F3E6D3; font-size: 12.5px; letter-spacing: .02em; }
.elh-util__inner {
  max-width: var(--elh-max); margin: 0 auto; padding: 7px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.elh-util__promos { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; }
.elh-util__promos span + span::before { content: "·"; margin-right: 26px; margin-left: -13px; color: var(--elh-gold); opacity: .8; }
.elh-util__promos span:first-child::before { content: none; }
.elh-util__quote { color: #fff; font-weight: 600; text-decoration: none; white-space: nowrap; }
.elh-util__quote:hover { color: #fff; text-decoration: underline; }

/* —— Header (rows 2 + 3), sticky —— */
.elh-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--elh-page);
  box-shadow: 0 1px 0 var(--elh-border);
}
.elh-header__bar {
  max-width: var(--elh-max); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 28px;
}
.elh-wordmark {
  font-family: var(--elh-font-display); font-size: 28px; 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-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.elh-search { flex: 1; max-width: 560px; margin: 0 auto; position: relative; display: flex; }
.elh-search__input {
  width: 100%; height: 44px; padding: 0 46px 0 16px; border-radius: 6px;
  border: 1px solid var(--elh-border); background: var(--elh-surface); color: var(--elh-ink);
  font: inherit; font-size: 14.5px; outline: none;
}
.elh-search__input::placeholder { color: var(--elh-text-subtle); }
.elh-search__input:focus { border-color: var(--elh-tan); box-shadow: 0 0 0 3px rgba(122, 74, 42, .15); }
.elh-search__btn {
  position: absolute; right: 4px; top: 4px; width: 36px; height: 36px; border: 0; border-radius: 4px;
  background: transparent; color: var(--elh-ink); cursor: pointer; display: grid; place-items: center;
}
.elh-search__btn:hover { background: var(--elh-hover); }

.elh-icons { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.elh-icon {
  position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 3px;
  min-width: 58px; padding: 4px 6px; border-radius: 4px;
  color: var(--elh-ink); text-decoration: none; font-size: 12px;
}
.elh-icon:hover { background: var(--elh-hover); color: var(--elh-ink); text-decoration: none; }
.elh-icon__label { line-height: 1; }
.elh-cart__count {
  position: absolute; top: -2px; right: 10px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--elh-accent); color: #fff;
  font-size: 10.5px; font-weight: 600; line-height: 18px; 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; }

/* —— Row 3: menu bar —— */
.elh-navbar { background: var(--elh-ink); }
.elh-navbar__inner {
  max-width: var(--elh-max); margin: 0 auto; padding: 6px 24px;
  display: flex; align-items: center; gap: 12px;
}
.elh-nav { display: flex; gap: 2px; flex-wrap: wrap; flex: 1; align-items: center; justify-content: center; }
.elh-nav__btn, .elh-nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px; border: 0; border-radius: 4px;
  background: transparent; color: var(--elh-page);
  font-family: inherit; font-size: 14.5px; font-weight: 500;
  cursor: pointer; white-space: nowrap; text-decoration: none;
}
.elh-nav__btn:hover, .elh-nav__link:hover { background: rgba(243, 237, 226, .1); color: #fff; text-decoration: none; }
.elh-nav__btn.is-open { background: var(--elh-page); color: var(--elh-ink); }
.elh-nav__caret { font-size: 10px; opacity: .7; }
.elh-nav__pill {
  padding: 9px 20px; border-radius: 999px; background: var(--elh-accent); color: #fff;
  font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.elh-nav__pill:hover { background: var(--elh-accent-hover); color: #fff; text-decoration: none; }

/* Buttons still used in the mobile drawer */
.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; }

/* Mega panels overlay the page (absolute under the sticky header) instead of pushing it down */
[data-elh-mega-wrap] { position: absolute; left: 0; right: 0; top: 100%; z-index: 30; }
[data-elh-mega-wrap] .elh-mega.is-open { box-shadow: 0 14px 28px rgba(30, 25, 19, .16); }

/* Live search dropdown */
.elh-search__panel {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 40;
  background: var(--elh-surface); border: 1px solid var(--elh-border); border-radius: 6px;
  box-shadow: 0 14px 28px rgba(30, 25, 19, .16); overflow: hidden;
}
.elh-search__panel[hidden] { display: none; }
.elh-search__list { list-style: none; margin: 0; padding: 6px 0; max-height: min(60vh, 440px); overflow-y: auto; }
.elh-search__list:empty { display: none; }
.elh-search__item a {
  display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; align-items: center;
  padding: 8px 14px; color: var(--elh-ink); text-decoration: none; font-size: 14px;
}
.elh-search__item a:hover, .elh-search__item.is-active a { background: var(--elh-hover); color: var(--elh-ink); text-decoration: none; }
.elh-search__thumb { width: 48px; height: 48px; border-radius: 4px; object-fit: cover; background: var(--elh-raised); display: block; }
.elh-search__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.elh-search__name mark { background: none; color: var(--elh-accent); font-weight: 600; }
.elh-search__price { font-weight: 600; white-space: nowrap; }
.elh-search__price del { font-weight: 400; color: var(--elh-text-subtle); margin-right: 6px; }
.elh-search__msg { margin: 0; padding: 14px; font-size: 14px; color: var(--elh-text-subtle); }
.elh-search__msg[hidden] { display: none; }
.elh-search__all {
  display: block; padding: 10px 14px; border-top: 1px solid var(--elh-border-light);
  font-size: 13.5px; font-weight: 600; color: var(--elh-accent); text-decoration: none;
}
.elh-search__all:hover { background: var(--elh-hover); text-decoration: none; color: var(--elh-accent); }

/* 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;
  /* Same grid in every panel: 3 equal link columns + a fixed promo column on the right */
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 300px;
  gap: 24px 36px; align-items: start;
}
.elh-mega__col { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
/* A single long list (Leather For, Guides) flows over two columns */
.elh-mega__col--wide { grid-column: span 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 36px; row-gap: 6px; align-content: start; }
.elh-mega__col--wide > .elh-mega__h { grid-column: 1 / -1; }
.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 {
  grid-column: 4; grid-row: 1 / span 2; width: 100%; min-height: 170px;
  padding: 18px 20px; background: var(--elh-ink); color: var(--elh-page);
  border-radius: 6px; display: flex; flex-direction: column; gap: 8px; align-self: start;
}
.elh-mega__promo a { margin-top: auto; }
.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: 1100px) {
  .elh-util__hide-md { display: none; }
  .elh-mega__inner { grid-template-columns: repeat(3, minmax(0, 1fr)) 240px; gap: 20px 24px; }
  .elh-nav__btn, .elh-nav__link { padding: 9px 10px; font-size: 14px; }
}
@media (max-width: 900px) {
  .elh-navbar { display: none; }
  .elh-burger { display: inline-flex; }
  .elh-header__bar { flex-wrap: wrap; gap: 10px 12px; padding: 10px 16px; }
  .elh-wordmark { font-size: 24px; }
  .elh-search { order: 3; flex-basis: 100%; max-width: none; }
  .elh-search__input { height: 40px; }
  .elh-icon { min-width: 0; padding: 6px; }
  .elh-icon__label { display: none; }
  .elh-cart__count { right: -2px; }
}
@media (max-width: 600px) {
  .elh-util__hide-sm { display: none; }
  .elh-util__inner { padding: 6px 16px; }
  .elh-icon--wishlist { display: none; }
}

/* —— Footer —— */
.elh-footer {
  margin-top: auto; background: var(--elh-ink); color: #CFC3B0;
  font-family: var(--elh-font-ui); font-size: 14px; line-height: 1.6; text-align: left;
  --elh-f-line: rgba(232, 220, 200, .12);
}
.elh-footer a { color: inherit; text-decoration: none; }
.elh-footer svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* row 1 — trust */
.elh-footer__trust {
  max-width: var(--elh-max); margin: 0 auto; padding: 30px 24px;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px;
  border-bottom: 1px solid var(--elh-f-line);
}
.elh-footer__trust-item { display: flex; align-items: center; gap: 14px; }
.elh-footer__ico {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 44px; height: 44px; border-radius: 50%; background: rgba(228, 183, 122, .1); color: var(--elh-gold);
}
.elh-footer__ico svg { width: 21px; height: 21px; }
.elh-footer__trust-item strong { display: block; color: #fff; font-size: 14px; font-weight: 600; line-height: 1.3; }
.elh-footer__trust-item span:not(.elh-footer__ico) { display: block; font-size: 12.5px; color: var(--elh-text-faint); }

/* row 2 — brand + columns */
.elh-footer__grid {
  max-width: var(--elh-max); margin: 0 auto; padding: 48px 24px 40px;
  display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 36px;
}
.elh-footer__brand { display: flex; flex-direction: column; gap: 16px; padding-right: 12px; }
.elh-footer__brand-name {
  font-family: var(--elh-font-display); font-size: 28px; font-weight: 600; line-height: 1; color: var(--elh-page) !important;
}
.elh-footer__about { margin: 0; color: #B9AC98; font-size: 13.5px; line-height: 1.65; }
.elh-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 13.5px; }
.elh-footer__contact li { display: flex; align-items: flex-start; gap: 10px; color: #E8DCC8; }
.elh-footer__contact svg { margin-top: 2px; color: var(--elh-gold); width: 17px; height: 17px; }
.elh-footer__contact a:hover { color: #fff; text-decoration: underline; }
.elh-footer__social { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.elh-footer__social a {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 50%; border: 1px solid rgba(232, 220, 200, .25); color: #E8DCC8;
  transition: background .15s, color .15s, border-color .15s;
}
.elh-footer__social a:hover { background: var(--elh-gold); border-color: var(--elh-gold); color: var(--elh-ink); }
.elh-footer__col { display: flex; flex-direction: column; gap: 11px; }
.elh-footer__h {
  font-family: var(--elh-font-mono); font-size: 12px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: #fff; margin-bottom: 8px; padding-bottom: 12px; position: relative;
}
.elh-footer__h::after { content: ""; position: absolute; left: 0; bottom: 0; width: 26px; height: 2px; background: var(--elh-gold); }
.elh-footer__col a { color: #CFC3B0; font-size: 14px; line-height: 1.35; }
.elh-footer__col a:hover { color: #fff; }

/* row 3 — legal + payments */
.elh-footer__bottom {
  max-width: var(--elh-max); margin: 0 auto; padding: 20px 24px 26px; border-top: 1px solid var(--elh-f-line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.elh-footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; font-size: 13px; color: var(--elh-text-faint); }
.elh-footer__legal a:hover { color: #fff; }
.elh-footer__pay { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.elh-footer__pay-label { font-family: var(--elh-font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--elh-text-faint); }
.elh-footer__pay ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.elh-pay {
  display: inline-flex; align-items: center; justify-content: center; min-width: 50px; height: 30px; padding: 0 8px;
  background: #fff; border-radius: 5px; font-family: Arial, Helvetica, sans-serif; font-weight: 800; font-size: 12px; line-height: 1;
}
.elh-pay--visa { color: #1A1F71; font-style: italic; font-size: 14px; letter-spacing: .02em; }
.elh-pay--mc i { width: 17px; height: 17px; border-radius: 50%; display: inline-block; }
.elh-pay--mc i:first-child { background: #EB001B; }
.elh-pay--mc i:last-child { background: #F79E1B; margin-left: -7px; mix-blend-mode: multiply; }
.elh-pay--amex { background: #2E77BC; color: #fff; letter-spacing: .04em; }
.elh-pay--disc { color: #231F20; font-size: 10px; letter-spacing: .02em; }
.elh-pay--disc b { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #F48024; margin: 0 1px; }
.elh-pay--pp { color: #009CDE; font-style: italic; font-size: 13px; }
.elh-pay--pp b { color: #003087; }
.elh-pay--ap { color: #000; font-family: -apple-system, "Helvetica Neue", Arial, sans-serif; font-weight: 600; font-size: 13px; gap: 2px; }
.elh-pay--ap svg { width: 12px; height: 14px; fill: #000; stroke: none; margin-top: -2px; }
.elh-pay--gp { color: #5F6368; font-weight: 500; font-size: 12.5px; }
.elh-pay--gp b { font-weight: 700; background: conic-gradient(from -45deg, #EA4335 0 25%, #4285F4 0 50%, #34A853 0 75%, #FBBC05 0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.elh-pay--amz { position: relative; color: #111; font-weight: 700; font-size: 12px; padding-bottom: 4px; letter-spacing: -.01em; }
.elh-pay--amz::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 4px; border-bottom: 2px solid #FF9900; border-radius: 0 0 50% 50%; }
.elh-pay--kl { background: #FFB3C7; color: #0A0B09; }

@media (max-width: 1100px) {
  .elh-footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .elh-footer__brand { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 36px; padding-right: 0; }
  .elh-footer__brand-name, .elh-footer__about { grid-column: 1; }
  .elh-footer__contact { grid-column: 2; grid-row: 1 / span 2; }
  .elh-footer__social { grid-column: 1; }
}
@media (max-width: 900px) {
  .elh-footer__trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .elh-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; padding-top: 36px; }
  .elh-footer__brand { display: flex; }
  .elh-footer__bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .elh-footer__trust { grid-template-columns: 1fr; gap: 16px; padding: 24px 16px; }
  .elh-footer__grid, .elh-footer__bottom { padding-left: 16px; padding-right: 16px; }
}

/* Kalles mobile bottom toolbar was removed: drop the space its CSS reserved */
@media (max-width: 767px) { html body { padding-bottom: 0; } }

/* ---------- Request-a-quote popup ---------- */
html.elh-qm-open, html.elh-qm-open body { overflow: hidden; }
.elh-qm[hidden] { display: none; }
.elh-qm { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 24px; font-family: var(--elh-font-ui); }
.elh-qm__backdrop { position: absolute; inset: 0; background: rgba(30, 25, 19, .62); }
.elh-qm__box { position: relative; width: 100%; max-width: 640px; max-height: calc(100vh - 48px); overflow-y: auto; background: var(--elh-surface); color: var(--elh-ink); border: 1px solid var(--elh-border); border-top: 4px solid var(--elh-accent); box-shadow: 0 24px 60px rgba(30, 25, 19, .35); outline: none; }
.elh-qm__x { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: 0; background: none; font-size: 28px; line-height: 1; color: var(--elh-text-subtle); cursor: pointer; }
.elh-qm__x:hover { color: var(--elh-accent); }
.elh-qm__body { padding: 30px 32px 28px; text-align: left; }
.elh-qm__body[hidden] { display: none; }
.elh-qm__eyebrow { display: block; font-family: var(--elh-font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--elh-tan); margin-bottom: 6px; }
.elh-qm__title { font-family: var(--elh-font-display); font-size: 30px; font-weight: 500; line-height: 1.15; margin: 0 0 8px; color: var(--elh-ink); }
.elh-qm__lede { margin: 0 0 20px; color: var(--elh-text-subtle); font-size: 15px; line-height: 1.5; }
.elh-qm__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.elh-qm__f { display: flex; flex-direction: column; gap: 5px; margin: 0; }
.elh-qm__f--full { grid-column: 1 / -1; }
.elh-qm__f > span { font-size: 13px; font-weight: 600; color: var(--elh-ink-muted); }
.elh-qm__f em { font-style: normal; color: var(--elh-accent); }
.elh-qm__f input, .elh-qm__f select, .elh-qm__f textarea { width: 100%; box-sizing: border-box; margin: 0; padding: 10px 12px; min-height: 42px; border: 1px solid var(--elh-control); border-radius: 0; background: #fff; color: var(--elh-ink); font: inherit; font-size: 15px; }
.elh-qm__f textarea { resize: vertical; min-height: 96px; }
.elh-qm__f input:focus, .elh-qm__f select:focus, .elh-qm__f textarea:focus { outline: 2px solid var(--elh-accent); outline-offset: -1px; border-color: var(--elh-accent); }
.elh-qm__captcha { margin-top: 16px; min-height: 78px; }
.elh-qm__captcha:empty { min-height: 0; }
.elh-qm__err { margin: 12px 0 0; padding: 10px 12px; background: #F6E3DE; border-left: 3px solid var(--elh-accent); color: var(--elh-accent-hover); font-size: 14px; }
.elh-qm__err[hidden] { display: none; }
.elh-qm__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; margin-top: 18px; }
.elh-qm__submit { border: 0; border-radius: 0; background: var(--elh-accent); color: #fff; padding: 13px 26px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.elh-qm__submit:hover { background: var(--elh-accent-hover); }
.elh-qm__submit:disabled { opacity: .6; cursor: wait; }
.elh-qm__note { font-size: 13px; color: var(--elh-text-subtle); }
.elh-qm__note a { color: var(--elh-accent); text-decoration: underline; }
.elh-qm__done { text-align: center; padding: 44px 32px; }
.elh-qm__tick { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 50%; background: var(--elh-accent); color: #fff; font-size: 26px; margin-bottom: 14px; }
.elh-qm__done .elh-qm__lede { margin-bottom: 22px; }
@media (max-width: 600px) {
  .elh-qm { padding: 0; align-items: flex-end; }
  .elh-qm__box { max-height: 92vh; border-left: 0; border-right: 0; border-bottom: 0; }
  .elh-qm__body { padding: 26px 18px 22px; }
  .elh-qm__title { font-size: 26px; }
  .elh-qm__grid { grid-template-columns: 1fr; }
  .elh-qm__captcha { transform: scale(.92); transform-origin: 0 0; }
}

/* Quote popup — product picker */
.elh-qm__hint { font-size: 12px; color: var(--elh-text-subtle); }
.elh-ps { position: relative; border: 1px solid var(--elh-control); background: #fff; }
.elh-ps:focus-within { outline: 2px solid var(--elh-accent); outline-offset: -1px; border-color: var(--elh-accent); }
.elh-ps__chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 8px 8px 0; }
.elh-ps__chips[hidden] { display: none; }
.elh-ps__chip { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; padding: 4px 4px 4px 10px; background: var(--elh-raised); border: 1px solid var(--elh-border); font-size: 13px; line-height: 1.3; color: var(--elh-ink); }
.elh-ps__chip-x { flex: none; width: 22px; height: 22px; border: 0; background: none; color: var(--elh-text-subtle); font-size: 17px; line-height: 1; cursor: pointer; padding: 0; }
.elh-ps__chip-x:hover { color: var(--elh-accent); }
.elh-ps__field { display: flex; align-items: center; }
.elh-qm__f .elh-ps__q { flex: 1; border: 0; outline: none; min-height: 42px; background: transparent; }
.elh-qm__f .elh-ps__q:focus { outline: none; }
.elh-ps__toggle { flex: none; width: 40px; height: 42px; border: 0; background: none; color: var(--elh-text-subtle); font-size: 14px; cursor: pointer; }
.elh-ps__panel { position: absolute; left: -1px; right: -1px; top: 100%; z-index: 5; background: #fff; border: 1px solid var(--elh-accent); border-top-color: var(--elh-border-light); box-shadow: 0 12px 28px rgba(30, 25, 19, .18); }
.elh-ps__panel[hidden] { display: none; }
.elh-ps__head { display: flex; justify-content: space-between; align-items: center; padding: 7px 12px; border-bottom: 1px solid var(--elh-border-faint); font-family: var(--elh-font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--elh-text-subtle); }
.elh-ps__clear { border: 0; background: none; padding: 0; font: inherit; color: var(--elh-accent); cursor: pointer; text-decoration: underline; }
.elh-ps__clear[hidden] { display: none; }
.elh-ps__list { list-style: none; margin: 0; padding: 4px 0; max-height: 264px; overflow-y: auto; overscroll-behavior: contain; }
.elh-ps__opt label { display: flex; align-items: center; gap: 10px; padding: 6px 12px; cursor: pointer; font-size: 14px; line-height: 1.3; color: var(--elh-ink); margin: 0; }
.elh-ps__opt:hover label, .elh-ps__opt.is-active label { background: var(--elh-hover); }
.elh-ps__opt[aria-selected="true"] label { font-weight: 600; }
.elh-qm__f .elh-ps__opt input[type="checkbox"] { flex: none; width: 17px; height: 17px; min-height: 0; margin: 0; padding: 0; border: 0; background: none; accent-color: var(--elh-accent); cursor: pointer; }
.elh-ps__opt img { flex: none; width: 36px; height: 36px; object-fit: cover; background: var(--elh-raised); }
.elh-ps__msg { margin: 0; padding: 12px; font-size: 13px; color: var(--elh-text-subtle); }
.elh-ps__msg[hidden] { display: none; }
@media (max-width: 600px) { .elh-ps__list { max-height: 220px; } }

/* ---------- Wish-list hearts ---------- */
.elh-wish {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 38px; height: 38px; padding: 0; margin: 0; border: 0; border-radius: 50%;
  background: rgba(251, 248, 242, .94); color: var(--elh-ink); cursor: pointer;
  box-shadow: 0 2px 8px rgba(30, 25, 19, .16); transition: transform .15s, color .15s, background .15s;
}
.elh-wish svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: fill .15s; }
.elh-wish:hover { color: var(--elh-accent); transform: scale(1.08); }
.elh-wish.is-on { color: var(--elh-accent); }
.elh-wish.is-on svg { fill: var(--elh-accent); }
.elh-wish.is-busy { opacity: .55; pointer-events: none; }
.elh-wish:focus-visible { outline: 2px solid var(--elh-accent); outline-offset: 2px; }
/* on cards: top-right corner of the image */
.elh-wish-wrap { position: relative; display: flex; flex-direction: column; min-width: 0; }
.elh-wish-wrap > a { flex: 1; }
.elh-wish--card { position: absolute; top: 10px; right: 10px; z-index: 2; }
.card-figure { position: relative; }
/* product page: far right of the title */
.elh-pdp__title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.elh-pdp__title-row .elh-pdp__h1 { flex: 1; min-width: 0; }
.elh-wish--pdp { width: 46px; height: 46px; margin-top: 4px; background: var(--elh-surface); border: 1px solid var(--elh-border); box-shadow: none; }
.elh-wish--pdp svg { width: 22px; height: 22px; }
.elh-wish--pdp.is-on { border-color: var(--elh-accent); }
/* toast */
.elh-wish-toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 2100; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 12px 18px; background: var(--elh-ink); color: #fff; font-family: var(--elh-font-ui); font-size: 14px;
  box-shadow: 0 10px 30px rgba(30, 25, 19, .3); transition: opacity .2s, transform .2s; max-width: calc(100vw - 32px);
}
.elh-wish-toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.elh-wish-toast a { color: var(--elh-gold); text-decoration: underline; margin-left: 6px; }

/* Hearts: hover-only on desktop (saved ones stay visible); always visible on touch screens */
@media (hover: hover) and (pointer: fine) {
  .elh-wish--card { opacity: 0; transform: scale(.9); transition: opacity .18s, transform .18s, color .15s; }
  .elh-wish-wrap:hover .elh-wish--card, .card:hover .elh-wish--card, .card-figure:hover .elh-wish--card,
  .elh-wish--card:focus-visible, .elh-wish--card.is-on { opacity: 1; transform: none; }
}
/* the Kalles button hover (accent background) must not repaint the hearts */
.elh-wish:hover, .elh-wish:focus, .elh-wish:active { background: rgba(251, 248, 242, .96) !important; color: var(--elh-accent) !important; border-color: var(--elh-accent); }
.elh-wish--pdp:hover, .elh-wish--pdp:focus, .elh-wish--pdp:active { background: var(--elh-surface) !important; }

/* No blue click borders: focus ring only for keyboard users, in the theme brown */
html { -webkit-tap-highlight-color: transparent; }
a:focus, button:focus, summary:focus, label:focus, [role="button"]:focus, [tabindex]:focus { outline: none; box-shadow: none; }
a:focus-visible, button:focus-visible, summary:focus-visible, [role="button"]:focus-visible, [tabindex]:focus-visible,
input[type="checkbox"]:focus-visible, input[type="radio"]:focus-visible {
  outline: 2px solid var(--elh-accent) !important; outline-offset: 2px;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--elh-accent) !important; box-shadow: 0 0 0 1px var(--elh-accent) !important; }

/* ---------- /wishlist/ page ---------- */
.elh-wl { background: var(--elh-page); color: var(--elh-ink); font-family: var(--elh-font-ui); padding-bottom: 72px; text-align: left; }
.elh-wl *, .elh-wl *::before, .elh-wl *::after { box-sizing: border-box; }
.elh-wl__crumbs { max-width: var(--elh-max); margin: 0 auto; padding: 18px 24px 0; font-size: 13px; color: var(--elh-text-subtle); }
.elh-wl__crumbs ol { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.elh-wl__crumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; }
.elh-wl__crumbs a { color: var(--elh-text-subtle); text-decoration: none; }
.elh-wl__head { max-width: var(--elh-max); margin: 0 auto; padding: 22px 24px 26px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 32px; }
.elh-wl__eyebrow { display: block; margin-bottom: 8px; font-family: var(--elh-font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--elh-tan); }
.elh-wl__h1 { margin: 0; font-family: var(--elh-font-display); font-size: clamp(32px, 4vw, 44px); font-weight: 500; line-height: 1.05; }
.elh-wl__count { margin: 8px 0 0; color: var(--elh-text-subtle); font-size: 14px; }
.elh-wl__guest { margin: 0; padding: 10px 14px; background: var(--elh-surface); border-left: 3px solid var(--elh-tan); font-size: 13.5px; color: var(--elh-ink-muted); }
.elh-wl__guest a { color: var(--elh-accent); }
.elh-wl__grid { max-width: var(--elh-max); margin: 0 auto; padding: 0 24px; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.elh-wl__grid > li { display: flex; flex-direction: column; gap: 10px; }
.elh-wl__card { display: flex; flex-direction: column; gap: 6px; color: var(--elh-ink) !important; text-decoration: none !important; }
.elh-wl__img { display: block; aspect-ratio: 1; overflow: hidden; background: var(--elh-raised); border-radius: 6px; }
.elh-wl__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.elh-wl__card:hover .elh-wl__img img { transform: scale(1.03); }
.elh-wl__name { margin-top: 6px; font-size: 15px; font-weight: 600; line-height: 1.3; }
.elh-wl__card:hover .elh-wl__name { color: var(--elh-accent); }
.elh-wl__price { font-size: 14.5px; }
.elh-wl__price del { color: var(--elh-text-faint); margin-right: 4px; }
.elh-wl .elh-wish--card { opacity: 1; transform: none; }
.elh-wl__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 24px; background: var(--elh-accent); color: #fff !important; font-weight: 600; font-size: 14.5px; text-decoration: none !important; border: 0; }
.elh-wl__btn:hover { background: var(--elh-accent-hover); }
.elh-wl__btn--sm { min-height: 40px; padding: 9px 14px; background: transparent; color: var(--elh-ink) !important; border: 1.5px solid var(--elh-ink); }
.elh-wl__btn--sm:hover { background: var(--elh-ink); color: #fff !important; }
.elh-wl__empty { max-width: 520px; margin: 30px auto 0; padding: 44px 24px; text-align: center; background: var(--elh-surface); border: 1px solid var(--elh-border-light); }
.elh-wl__empty[hidden] { display: none; }
.elh-wl__empty-ico { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%; background: var(--elh-raised); color: var(--elh-accent); }
.elh-wl__empty-ico svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.elh-wl__empty h2 { margin: 14px 0 6px; font-family: var(--elh-font-display); font-size: 26px; font-weight: 500; }
.elh-wl__empty p { margin: 0 0 20px; color: var(--elh-text-subtle); }
@media (max-width: 1000px) { .elh-wl__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .elh-wl__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 0 16px; } .elh-wl__head, .elh-wl__crumbs { padding-left: 16px; padding-right: 16px; } }
