.emh {
  --ink: #0f172a;
  --text: #333333;
  --muted: #667085;
  --line: #e5e7eb;
  --surface: #ffffff;
  --green-action: #2e7d32;
  --teal: #18a898;
  --container: 1180px;
  box-sizing: border-box;
  color: var(--text);
  font-family: Inter, Arial, "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}
.emh *, .emh *::before, .emh *::after { box-sizing: border-box; }
.emh a { color: inherit; text-decoration: none; }
.emh img { display: block; max-width: 100%; }
.emh button, .emh a { -webkit-tap-highlight-color: transparent; }
.emh button { color: inherit; font: inherit; }
.emh button:focus-visible, .emh a:focus-visible { outline: 3px solid rgba(24, 168, 152, 0.35); outline-offset: 3px; }
.emh-icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.emh-icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.emh-container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }

.emh-button {
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}
.emh-button:hover { transform: translateY(-1px); }
.emh .emh-button-primary, .emh .emh-button-primary:visited { background: var(--green-action); color: #fff; }
.emh .emh-button-primary:hover { background: #256a29; color: #fff; }
.emh-icon-button {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
}

.emh-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  border-bottom: 1px solid rgba(229, 231, 235, 0.85);
  background: #fff;
}
body.admin-bar .emh-header { top: 32px; }
.emh-header-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.emh-brand { flex: 0 0 auto; }
.emh-brand img { width: 154px; height: auto; }
.emh-desktop-nav { display: flex; align-items: center; gap: 30px; color: #475467; font-size: 0.92rem; font-weight: 600; }
.emh-desktop-nav a { transition: color 160ms ease; }
.emh-desktop-nav a:hover { color: var(--ink); }
.emh-header-actions { display: flex; align-items: center; gap: 10px; }
.emh-menu-button { display: none; }
.emh .emh-menu-button,
.emh .emh-menu-button:hover,
.emh .emh-menu-button:focus,
.emh .emh-menu-button:active,
.emh-header.is-menu-open .emh-menu-button { border-color: var(--line); background: #fff; box-shadow: none; color: var(--ink); }
.emh-menu-close-icon { display: none; }
.emh-mobile-nav { display: none; }
.emh-checkout-label { display: flex; align-items: center; gap: 10px; color: #475467; font-size: 0.9rem; font-weight: 700; }
.emh-checkout-label .emh-icon { width: 18px; color: #0f766e; }

body.emh-menu-open { overflow: hidden; }
body.esimobile-shell-active #masthead,
body.esimobile-shell-active #colophon { display: none !important; }
body.esimobile-shell-active #ast-scroll-top { display: none !important; }

.emh-footer { width: 100%; padding: 72px 0 24px; background: var(--ink); color: #cbd5e1; }
.emh-footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 60px; }
.emh-footer-brand img { width: 170px; height: auto; margin-bottom: 20px; }
.emh-footer-brand p { max-width: 280px; margin: 0; color: #94a3b8; }
.emh.emh-footer .emh-footer-grid h2 { margin: 0 0 18px; color: #fff; font-size: 0.9rem; line-height: 1.2; }
.emh-footer-grid a,
.emh-footer-grid button,
.emh-checkout-footer-inner nav a,
.emh-checkout-support a { width: fit-content; margin: 0 0 10px; padding: 0; border: 0; background: none; display: block; color: #94a3b8; font-size: 0.86rem; text-align: left; cursor: pointer; }
.emh-footer a:hover { color: #fff; }
.emh-footer-bottom { margin-top: 54px; padding-top: 22px; border-top: 1px solid #28344a; display: flex; justify-content: space-between; gap: 20px; color: #7f8ca1; font-size: 0.75rem; }
.emh-footer-checkout { padding-top: 48px; }
.emh-checkout-footer-inner { display: grid; grid-template-columns: 1.3fr 0.8fr 1fr; align-items: start; gap: 48px; }
.emh-checkout-footer-inner nav { display: flex; align-items: flex-start; flex-direction: column; }
.emh-checkout-support strong { margin-bottom: 8px; display: block; color: #fff; font-size: 0.9rem; }
.emh-footer-checkout .emh-footer-bottom { margin-top: 36px; }

@media (max-width: 1080px) {
  .emh-desktop-nav { gap: 18px; }
  .emh-header-cta { display: none; }
}

@media (max-width: 820px) {
  .emh-container { width: min(calc(100% - 36px), var(--container)); }
  .emh-desktop-nav, .emh-account-button { display: none; }
  .emh-menu-button { display: inline-grid; }
  .emh-header.is-menu-open .emh-menu-open-icon { display: none; }
  .emh-header.is-menu-open .emh-menu-close-icon { display: block; }
  .emh-mobile-nav {
    position: fixed;
    inset: 76px 0 0;
    z-index: 99;
    padding: 24px 18px 30px;
    overflow-y: auto;
    border-bottom: 1px solid var(--line);
    background: #fff;
    display: grid;
    align-content: start;
    gap: 4px;
    transform: translateY(-110%);
    transition: transform 220ms ease;
  }
  body.admin-bar .emh-mobile-nav { top: 108px; }
  .emh-header.is-menu-open .emh-mobile-nav { transform: translateY(0); }
  .emh-mobile-nav > a:not(.emh-button) { min-height: 50px; padding: 12px 8px; border-bottom: 1px solid var(--line); font-weight: 700; }
  .emh-mobile-account { display: flex; align-items: center; gap: 10px; }
  .emh-mobile-account .emh-icon { width: 19px; }
  .emh-footer-grid { grid-template-columns: repeat(3, 1fr); gap: 42px 32px; }
  .emh-footer-brand { grid-column: 1 / -1; }
  .emh-checkout-footer-inner { grid-template-columns: 1fr 1fr; }
  .emh-checkout-footer-inner .emh-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 782px) {
  body.admin-bar .emh-header { top: 46px; }
  body.admin-bar .emh-mobile-nav { top: 122px; }
}

@media (max-width: 560px) {
  .emh-container { width: min(calc(100% - 32px), var(--container)); }
  .emh-header-inner { height: 68px; }
  .emh-brand img { width: 136px; }
  .emh-mobile-nav { top: 68px; }
  body.admin-bar .emh-mobile-nav { top: 114px; }
  .emh-checkout-label { font-size: 0.8rem; }
  .emh-checkout-label .emh-icon { display: none; }
  .emh-footer { padding-top: 58px; }
  .emh-footer-grid { grid-template-columns: 1fr 1fr; gap: 42px 28px; }
  .emh-footer-brand { grid-column: 1 / -1; }
  .emh-footer-grid > div:last-child { grid-column: 1 / -1; }
  .emh-footer-bottom { align-items: flex-start; flex-direction: column; gap: 5px; }
  .emh-checkout-footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .emh-checkout-footer-inner .emh-footer-brand { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .emh, .emh *, .emh *::before, .emh *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
