/* ========================================================================
   EZP CRO System — shared conversion and accessibility layer
   Loaded after the legacy theme by page_header.lbi.
   ======================================================================== */

:root {
  --ezp-action-buy: #B03B57;
  --ezp-action-buy-hover: #922F48;
  --ezp-action-quote: #39729D;
  --ezp-action-quote-hover: #2D5B7E;
  --ezp-brand-navy: #003A5D;
  --ezp-brand-blue: #5997C7;
  --ezp-brand-sky: #89CEE9;
  --ezp-brand-pink: #F47A94;
  --ezp-surface: #F8FAFC;
  --ezp-surface-raised: #FFFFFF;
  --ezp-text: #1E293B;
  --ezp-muted: #475569;
  --ezp-border: #DCE3EA;
  --ezp-radius-sm: 6px;
  --ezp-radius: 10px;
  --ezp-radius-lg: 16px;
  --ezp-shadow-sm: 0 1px 2px rgba(0, 58, 93, .06);
  --ezp-shadow-md: 0 8px 24px rgba(0, 58, 93, .09);
  --ezp-focus: 0 0 0 3px rgba(89, 151, 199, .38);
  --ezp-tap: 44px;
}

html {
  color-scheme: light;
  scroll-padding-top: 92px;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  color: var(--ezp-text);
  background: var(--ezp-surface);
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  line-height: 1.6;
  max-width: 100%;
  overflow-x: hidden;
}

body a,
body button,
body input,
body select,
body textarea {
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

body :where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid transparent;
  box-shadow: var(--ezp-focus) !important;
}

body :where(input, select, textarea).form-control,
body :where(input, select).form-select {
  min-height: var(--ezp-tap);
  border-color: var(--ezp-border);
  border-radius: var(--ezp-radius-sm);
  color: var(--ezp-text);
}

body textarea.form-control {
  min-height: 112px;
}

body .form-label,
body label:not(.btn):not(.form-check-label) {
  color: var(--ezp-text);
  font-weight: 600;
}

body .btn:not(.btn-sm):not(.btn-close):not(.promo-close) {
  min-height: var(--ezp-tap);
  border-radius: var(--ezp-radius-sm);
  font-weight: 650;
}

.btn-ezp-buy,
.desktop-add-cart-btn,
.mobile-add-cart-btn {
  background: var(--ezp-action-buy) !important;
  border-color: var(--ezp-action-buy) !important;
  color: #fff !important;
}

.btn-ezp-buy:hover,
.btn-ezp-buy:focus-visible,
.desktop-add-cart-btn:hover,
.mobile-add-cart-btn:hover {
  background: var(--ezp-action-buy-hover) !important;
  border-color: var(--ezp-action-buy-hover) !important;
}

.btn-ezp-quote,
.quote-primary-btn,
.mobile-quote-btn {
  background: var(--ezp-action-quote) !important;
  border-color: var(--ezp-action-quote) !important;
  color: #fff !important;
}

.btn-ezp-quote:hover,
.btn-ezp-quote:focus-visible,
.quote-primary-btn:hover,
.mobile-quote-btn:hover {
  background: var(--ezp-action-quote-hover) !important;
  border-color: var(--ezp-action-quote-hover) !important;
}

.btn-outline-ezp-quote {
  background: #fff !important;
  border-color: var(--ezp-action-quote) !important;
  color: var(--ezp-action-quote) !important;
}

.btn-outline-ezp-buy {
  background: #fff !important;
  border-color: var(--ezp-action-buy) !important;
  color: var(--ezp-action-buy) !important;
}

.text-ezp-quote {
  color: var(--ezp-action-quote) !important;
}

.bg-ezp-quote,
.badge-quote {
  background: var(--ezp-action-quote) !important;
  color: #fff !important;
}

.product-actions .desktop-add-cart-btn.btn-outline-ezp-buy,
.mobile-bottom-bar .mobile-add-cart-btn.btn-outline-ezp-buy {
  background: #fff !important;
  border: 1px solid var(--ezp-action-buy) !important;
  color: var(--ezp-action-buy) !important;
  box-shadow: none !important;
}

.product-actions .desktop-quote-btn.btn-outline-ezp-quote,
.mobile-bottom-bar .mobile-quote-btn.btn-outline-ezp-quote {
  background: #fff !important;
  border: 1px solid var(--ezp-action-quote) !important;
  color: var(--ezp-action-quote) !important;
  box-shadow: none !important;
}

/* Shared surfaces */
body :where(.card, .content-box, .info-card, .quote-card) {
  border-color: var(--ezp-border);
  border-radius: var(--ezp-radius);
  box-shadow: var(--ezp-shadow-sm);
}

body :where(.alert, .toast) {
  border-radius: var(--ezp-radius);
  border-width: 1px;
}

body .table {
  --bs-table-color: var(--ezp-text);
  --bs-table-border-color: var(--ezp-border);
}

body .table thead th {
  background: #EEF4FA;
  color: var(--ezp-brand-navy);
  font-weight: 700;
  vertical-align: middle;
}

/* Shared header */
.ezp-utility-bar {
  background: var(--ezp-brand-navy) !important;
  padding: .35rem 0 !important;
}

.ezp-desktop-header {
  border-bottom-color: var(--ezp-border) !important;
  box-shadow: none !important;
  padding: .65rem 0 !important;
}

.ezp-desktop-header .site-logo img {
  width: auto;
  max-height: 58px;
}

.ezp-hot-search {
  min-height: 22px;
  color: var(--ezp-muted);
  font-size: .78rem;
  line-height: 1.25;
}

.ezp-hot-search .badge {
  padding: .18rem .4rem !important;
  font-size: .72rem;
}

.ezp-account-rail {
  height: 0;
  min-height: 0;
  position: relative;
  z-index: 1060;
  background: #fff;
}

.ezp-account-rail .container {
  min-height: 0;
  position: relative;
}

.ezp-account-rail #ECS_MEMBERZONE {
  position: absolute;
  top: 4px;
  right: .75rem;
}

.ezp-account-rail #ECS_MEMBERZONE :where(a, span) {
  color: var(--ezp-text) !important;
  font-size: .78rem !important;
}

.ezp-account-rail #ECS_MEMBERZONE a {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
}

.ezp-account-rail #ECS_MEMBERZONE a:hover { color: var(--ezp-action-buy) !important; }

.ezp-header-account {
  min-width: var(--ezp-tap);
  min-height: var(--ezp-tap);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  color: var(--ezp-brand-navy);
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--ezp-radius-sm);
}

.ezp-header-account i { font-size: 1.35rem; }
.ezp-header-account:hover { color: var(--ezp-action-buy); background: #FFF0F3; }

@media (max-width: 991.98px) {
  .ezp-hot-search { display: none; }
}

.ezp-desktop-header .search-form .input-group {
  min-height: 48px;
  border: 2px solid var(--ezp-brand-navy);
  border-radius: 10px;
  overflow: visible;
  background: #fff;
}

.ezp-desktop-header .search-form .form-control {
  min-height: 44px;
  border: 0 !important;
  box-shadow: none !important;
  font-size: 1rem !important;
}

.ezp-desktop-header .search-form .btn {
  min-width: 112px;
  background: var(--ezp-brand-navy) !important;
  border-color: var(--ezp-brand-navy) !important;
  border-radius: 0 7px 7px 0 !important;
}

.ezp-desktop-header .category-select-wrapper {
  display: none;
}

.header-cart-quote,
.mini-quote-btn {
  color: var(--ezp-action-quote) !important;
}

.header-cart-quote .cart-label,
.header-cart-quote .cart-icon-wrap i,
.mini-quote-btn i {
  color: var(--ezp-action-quote) !important;
}

.header-cart-quote .cart-badge,
.mini-cart-badge.badge-quote {
  background: var(--ezp-action-quote) !important;
}

.header-cart-shop,
.mini-shop-btn {
  color: var(--ezp-action-buy) !important;
}

.header-cart-shop .cart-label,
.header-cart-shop .cart-icon-wrap i,
.mini-shop-btn i {
  color: var(--ezp-action-buy) !important;
}

.header-cart-shop .cart-badge,
.mini-cart-badge.badge-shop {
  background: var(--ezp-action-buy) !important;
}

.ezp-primary-nav {
  background: var(--ezp-brand-navy) !important;
}

.ezp-primary-nav .nav-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, .92) !important;
  border-bottom: 3px solid transparent;
  padding: .55rem .8rem !important;
  white-space: nowrap;
}

.ezp-primary-nav .nav-link:hover,
.ezp-primary-nav .nav-link.active {
  background: rgba(255, 255, 255, .08) !important;
  border-bottom-color: var(--ezp-brand-sky);
}

.ezp-primary-nav button.nav-link {
  border-top: 0;
  border-left: 0;
  border-right: 0;
}

.ezp-services-menu {
  min-width: 220px;
  max-height: min(65vh, 520px);
  overflow-y: auto;
  border: 1px solid var(--ezp-border);
  box-shadow: var(--ezp-shadow-md);
}

.ezp-services-menu .dropdown-item {
  min-height: var(--ezp-tap);
  display: flex;
  align-items: center;
}

.site-promo-banner .promo-close,
.mobile-sticky-header .btn-icon {
  min-width: var(--ezp-tap);
  min-height: var(--ezp-tap);
}

/* Product and listing conventions */
.product-card,
.article-clean-card {
  background: #fff;
  border: 1px solid var(--ezp-border) !important;
  border-radius: var(--ezp-radius) !important;
  box-shadow: var(--ezp-shadow-sm) !important;
}

.product-card:hover,
.article-clean-card:hover {
  border-color: #B7C9D8 !important;
  box-shadow: var(--ezp-shadow-md) !important;
  transform: translateY(-2px);
}

.product-card :where(.btn, button, a[role="button"]) {
  min-height: var(--ezp-tap);
}

.product-card .text-danger,
.product-price,
.shop-price {
  color: var(--ezp-action-buy) !important;
}

.empty-state,
.no-products-message,
.no-history-message {
  max-width: 560px;
  margin-inline: auto;
  padding: 2.5rem 1rem;
  color: var(--ezp-muted);
  text-align: center;
}

/* Homepage purchasing paths */
.home-route-hero {
  background: #eaf5fb;
}

.home-route-hero__link {
  position: relative;
  display: block;
  overflow: hidden;
  color: var(--ezp-brand-navy);
  text-decoration: none;
}

.home-route-hero__media,
.home-route-hero__media img {
  display: block;
  width: 100%;
}

.home-route-hero__media img {
  aspect-ratio: 3 / 1;
  object-fit: cover;
}

.home-route-hero__content {
  position: absolute;
  inset: 0 auto 0 0;
  width: 48%;
  display: flex;
  padding: clamp(1rem, 2.6vw, 2rem);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background: linear-gradient(90deg, rgba(238, 248, 253, .98) 0%, rgba(238, 248, 253, .9) 68%, rgba(238, 248, 253, 0) 100%);
}

.home-route-hero__eyebrow {
  margin-bottom: .35rem;
  color: var(--ezp-action-quote);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.home-route-hero__title {
  color: var(--ezp-brand-navy);
  font-size: clamp(1.35rem, 3vw, 2.15rem);
  line-height: 1.2;
}

.home-route-hero__copy {
  max-width: 34ch;
  margin-top: .55rem;
  color: #33586e;
  font-size: clamp(.82rem, 1.35vw, .95rem);
  line-height: 1.55;
}

.home-route-hero__cta {
  display: inline-flex;
  min-height: 44px;
  margin-top: .8rem;
  padding: .55rem .85rem;
  align-items: center;
  gap: .45rem;
  border-radius: 9px;
  background: var(--ezp-brand-navy);
  color: #fff;
  font-size: .875rem;
  font-weight: 750;
}

.home-route-hero__link:hover .home-route-hero__cta,
.home-route-hero__link:focus-visible .home-route-hero__cta {
  background: var(--ezp-action-buy);
}

.ezp-buying-paths {
  margin: 1.25rem 0 1.75rem;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--ezp-border);
  border-radius: var(--ezp-radius-lg);
  box-shadow: var(--ezp-shadow-sm);
}

.ezp-buying-paths--quick {
  margin: 0 0 1rem;
  padding: .85rem 1rem;
  border-color: #C9D9E4;
}

.ezp-buying-paths--quick .ezp-buying-paths__head {
  margin-bottom: .65rem;
}

.ezp-buying-paths--quick .ezp-buying-paths__head h2 {
  font-size: 1.2rem;
}

.ezp-buying-paths--quick .ezp-buying-path {
  min-height: 68px;
  padding: .65rem .8rem;
}

.ezp-buying-paths__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1rem;
}

.ezp-buying-paths__head h2 {
  margin: 0;
  color: var(--ezp-brand-navy);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 750;
}

.ezp-buying-paths__head > p {
  max-width: 420px;
  margin: 0;
  color: var(--ezp-muted);
  font-size: .9rem;
}

.ezp-eyebrow {
  margin: 0 0 .2rem;
  color: var(--ezp-action-quote);
  font-size: .75rem;
  font-weight: 750;
  letter-spacing: .08em;
}

.ezp-buying-paths__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
}

.ezp-buying-path {
  min-height: 92px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 20px;
  align-items: center;
  gap: .75rem;
  padding: .9rem;
  color: var(--ezp-text);
  text-decoration: none;
  background: var(--ezp-surface);
  border: 1px solid var(--ezp-border);
  border-radius: var(--ezp-radius);
}

.ezp-buying-path:hover {
  color: var(--ezp-text);
  background: #fff;
  border-color: var(--ezp-brand-blue);
  box-shadow: var(--ezp-shadow-md);
}

.ezp-buying-path__icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #fff;
  background: var(--ezp-brand-navy);
}

.ezp-buying-path--buy .ezp-buying-path__icon { background: var(--ezp-action-buy); }
.ezp-buying-path--quote .ezp-buying-path__icon { background: var(--ezp-action-quote); }

.ezp-buying-path strong,
.ezp-buying-path small {
  display: block;
}

.ezp-buying-path strong {
  margin-bottom: .15rem;
  color: var(--ezp-brand-navy);
  font-size: .95rem;
}

.ezp-buying-path small {
  color: var(--ezp-muted);
  font-size: .78rem;
  line-height: 1.45;
}

/* Mobile primary navigation: exactly four core tasks */
.mobile-bottom-menu .nav {
  min-height: 64px;
  padding: 4px max(4px, env(safe-area-inset-right)) 4px max(4px, env(safe-area-inset-left));
}

.mobile-bottom-menu .nav-link,
.mobile-bottom-menu .nav-button {
  width: 25% !important;
  min-height: 56px;
  border: 0;
  background: transparent;
  color: var(--ezp-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 4px 2px;
  font-size: .75rem;
  text-decoration: none;
}

.mobile-bottom-menu :where(.nav-link, .nav-button) i {
  color: var(--ezp-brand-navy) !important;
  font-size: 1.25rem;
  margin: 0;
}

.mobile-bottom-menu :where(.nav-link, .nav-button):hover,
.mobile-bottom-menu :where(.nav-link, .nav-button):focus-visible,
.mobile-bottom-menu :where(.nav-link, .nav-button).active {
  color: var(--ezp-action-buy);
  background: #FFF0F3;
}

#mobile-search-overlay .card {
  max-width: 560px;
  border: 0;
  border-radius: var(--ezp-radius-lg);
}

#mobile-search-overlay .card-header {
  background: var(--ezp-brand-navy) !important;
}

@media (max-width: 767.98px) {
  body {
    font-size: 1rem;
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  }

  body main,
  body #content {
    padding-top: 1rem !important;
  }

  .site-promo-banner .promo-content {
    min-height: 36px;
  }

  .site-promo-banner .promo-text {
    max-width: calc(100vw - 84px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-sticky-header {
    background: var(--ezp-brand-navy) !important;
    box-shadow: 0 2px 10px rgba(0, 58, 93, .16);
  }

  .mobile-sticky-header .site-logo-mobile img {
    max-height: 34px !important;
  }

  .mobile-sticky-header .btn-icon {
    width: var(--ezp-tap) !important;
    height: var(--ezp-tap) !important;
    padding: 0 !important;
  }

  .container,
  .container-fluid {
    --bs-gutter-x: 1.25rem;
  }

  .card-body,
  .content-box-body {
    padding: 1rem;
  }

  .table-responsive {
    border: 1px solid var(--ezp-border);
    border-radius: var(--ezp-radius);
  }

  .product-actions,
  .checkout-actions,
  .quote-actions {
    gap: .5rem !important;
  }

  .mobile-bottom-bar .container-fluid {
    padding-inline: .75rem !important;
  }

  .mobile-bottom-bar .d-flex.align-items-stretch > .btn {
    min-height: 48px;
  }

  .ezp-buying-paths {
    margin: 1rem 0 1.25rem;
    padding: 1rem;
  }

  .ezp-buying-paths__head {
    display: block;
  }

  .ezp-buying-paths__head > p {
    margin-top: .4rem;
    font-size: .875rem;
  }

  .ezp-buying-paths__grid {
    grid-template-columns: 1fr;
  }

  .ezp-buying-path {
    min-height: 76px;
  }

  .site-logo-mobile {
    max-width: 158px !important;
  }

  .site-logo-mobile img {
    max-height: 40px !important;
  }

  .ezp-buying-paths--quick {
    margin: 0 0 .75rem;
    padding: .7rem;
  }

  .ezp-buying-paths--quick .ezp-buying-paths__head {
    margin-bottom: .5rem;
  }

  .ezp-buying-paths--quick .ezp-buying-paths__head h2 {
    font-size: 1.05rem;
  }

  .ezp-buying-paths--quick .ezp-eyebrow {
    font-size: .7rem;
  }

  .ezp-buying-paths--quick .ezp-buying-paths__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: .55rem;
    overflow: visible;
    padding-bottom: 0;
  }

  .ezp-buying-paths--quick .ezp-buying-path {
    width: 100%;
    min-width: 0;
    min-height: 64px;
    padding: .55rem .65rem;
  }
}

@media (max-width: 575.98px) {
  .home-route-hero__media img {
    aspect-ratio: 4 / 3;
  }

  .home-route-hero__content {
    inset: 0 0 auto;
    width: 100%;
    min-height: 48%;
    padding: 1rem;
    justify-content: flex-start;
    background: linear-gradient(180deg, rgba(238, 248, 253, .98) 0%, rgba(238, 248, 253, .9) 72%, rgba(238, 248, 253, 0) 100%);
  }

  .home-route-hero__title {
    font-size: 1.35rem;
  }

  .home-route-hero__copy {
    max-width: 29ch;
    margin-top: .3rem;
    font-size: .82rem;
    line-height: 1.4;
  }

  .home-route-hero__cta {
    min-height: 40px;
    margin-top: .55rem;
    padding: .42rem .7rem;
    font-size: .8rem;
  }
}

/* 2026-08-25: compact, image-led procurement routes */
.ezp-buying-paths--quick {
  width: 100%;
  max-width: 720px;
  margin: 0 auto 1rem;
  padding: .65rem .75rem .75rem;
}

.ezp-buying-paths--quick .ezp-buying-paths__head {
  margin-bottom: .5rem;
}

.ezp-buying-paths--quick .ezp-buying-paths__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .65rem;
}

.ezp-buying-paths--quick .ezp-buying-path {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 58% 42%;
  align-items: stretch;
  gap: 0;
  width: 100%;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 1 / 1;
  padding: 0;
  overflow: hidden;
  background: #fff;
}

.ezp-buying-path__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  background: #eef7fc;
}

.ezp-buying-path__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: .4rem 1.65rem .45rem .55rem;
}

.ezp-buying-paths--quick .ezp-buying-path > .bi-arrow-right {
  position: absolute;
  right: .55rem;
  bottom: .65rem;
  color: var(--ezp-brand-blue);
}

/* The desktop primary navigation mirrors the back-office middle menu verbatim. */
.ezp-primary-nav .container {
  max-width: 1320px;
}

.ezp-primary-nav .navbar-nav {
  width: 100%;
  justify-content: center;
  overflow-x: auto;
  scrollbar-width: none;
}

.ezp-primary-nav .navbar-nav::-webkit-scrollbar {
  display: none;
}

.ezp-primary-nav .nav-item {
  flex: 0 0 auto;
}

.ezp-primary-nav .nav-link {
  padding: .62rem .55rem;
  font-size: .82rem;
  white-space: nowrap;
}

@media (max-width: 767.98px) {
  /* Search is a fixed layer. Opening it never pushes or resizes page content. */
  #mobileSearchBar.mobile-search-container {
    position: fixed !important;
    top: var(--ezp-mobile-search-top, 52px) !important;
    right: 0;
    left: 0;
    width: auto;
    max-width: 100vw;
    z-index: 1061;
    margin: 0;
    overflow: visible;
    background: rgba(255, 255, 255, .98);
    border-bottom: 1px solid var(--ezp-border);
    box-shadow: 0 10px 24px rgba(0, 58, 93, .18);
  }

  #mobileSearchBar .container {
    max-width: 100%;
    padding-inline: .65rem;
  }

  #mobileSearchBar .mobile-hot-search {
    display: flex;
    align-items: center;
    min-width: 0;
    margin-top: .4rem !important;
  }

  #mobileSearchBar .mobile-keywords-scroll {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
  }

  #mobileSearchBar .search-suggestions {
    right: .65rem !important;
    left: .65rem !important;
    width: auto !important;
    max-width: calc(100vw - 1.3rem) !important;
  }

  #mobileMenu.offcanvas-fullwidth {
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
  }

  #mobileMenu .offcanvas-header {
    min-height: 46px;
    padding: .45rem .7rem;
  }

  #mobileMenu .offcanvas-body {
    overflow-x: hidden;
    overflow-y: auto;
  }

  #mobileMenu .mobile-menu-member {
    padding: .45rem .6rem;
  }

  #mobileMenu .user-info-mobile--compact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .45rem;
    min-height: 40px;
  }

  #mobileMenu .mobile-member-identity,
  #mobileMenu .mobile-member-actions {
    display: flex;
    align-items: center;
    gap: .35rem;
    min-width: 0;
  }

  #mobileMenu .mobile-member-identity {
    flex: 1 1 auto;
  }

  #mobileMenu .mobile-member-copy {
    min-width: 0;
    line-height: 1.15;
  }

  #mobileMenu .mobile-member-copy .fw-bold,
  #mobileMenu .mobile-member-copy small {
    display: block;
    max-width: 84px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #mobileMenu .avatar,
  #mobileMenu .avatar i {
    flex: 0 0 auto;
    margin: 0;
    width: auto !important;
    height: auto !important;
    color: var(--ezp-brand-blue) !important;
    font-size: 1.65rem !important;
    line-height: 1 !important;
  }

  #mobileMenu .mobile-member-actions {
    flex: 0 0 auto;
  }

  #mobileMenu .mobile-member-actions .btn {
    min-height: 36px;
    padding: .3rem .48rem;
    font-size: .75rem;
    white-space: nowrap;
  }

  #mobileMenu .mobile-member-actions .btn-primary {
    color: #fff !important;
    background: var(--ezp-brand-blue) !important;
    border-color: var(--ezp-brand-blue) !important;
  }

  #mobileMenu .mobile-member-actions .btn-outline-primary {
    color: var(--ezp-brand-blue) !important;
    background: #fff !important;
    border-color: var(--ezp-brand-blue) !important;
  }

  #mobileMenu .mobile-menu-search-wrap {
    padding: .35rem .5rem;
  }

  #mobileMenu .mobile-menu-search :where(.form-control, .btn) {
    min-height: 38px;
    padding-block: .25rem;
  }

  #mobileMenu .mobile-menu-search .btn {
    min-width: 44px;
  }

  #mobileMenu .mobile-menu-grid-wrap {
    padding: .35rem .4rem .5rem;
  }

  #mobileMenu .mobile-menu-card,
  #mobileMenu .mobile-menu-card .card {
    display: block;
    height: 100%;
  }

  #mobileMenu .mobile-menu-card .card {
    min-height: 64px;
    border: 1px solid #e4edf3 !important;
    border-radius: 8px;
    box-shadow: none !important;
  }

  #mobileMenu .mobile-menu-card .card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .12rem;
    min-height: 64px;
    padding: .25rem .15rem !important;
  }

  #mobileMenu .mobile-menu-card .card-body > i {
    margin: 0;
    font-size: 1rem;
    line-height: 1;
  }

  #mobileMenu .mobile-menu-card .menu-text {
    display: block !important;
    max-width: 100%;
    overflow: visible !important;
    color: var(--ezp-brand-navy) !important;
    font-size: .68rem !important;
    font-weight: 650;
    line-height: 1.15;
    text-align: center;
    text-overflow: clip !important;
    overflow-wrap: anywhere;
    white-space: normal !important;
    -webkit-box-orient: initial;
    -webkit-line-clamp: unset;
  }

  .ezp-buying-paths--quick {
    max-width: 100%;
    margin-bottom: .65rem;
    padding: .5rem;
  }

  .ezp-buying-paths--quick .ezp-buying-paths__head {
    margin-bottom: .4rem;
  }

  .ezp-buying-paths--quick .ezp-eyebrow {
    display: none;
  }

  .ezp-buying-paths--quick .ezp-buying-paths__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .4rem;
  }

  .ezp-buying-paths--quick .ezp-buying-path {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  .ezp-buying-paths--quick .ezp-buying-path__copy {
    padding: .22rem .18rem .28rem;
  }

  .ezp-buying-paths--quick .ezp-buying-path strong {
    margin: 0;
    font-size: clamp(.65rem, 2.8vw, .78rem);
    line-height: 1.15;
    text-align: center;
  }

  .ezp-buying-paths--quick .ezp-buying-path small,
  .ezp-buying-paths--quick .ezp-buying-path > .bi-arrow-right {
    display: none;
  }
}

@media (max-width: 340px) {
  #mobileMenu .mobile-menu-grid-wrap .row.g-1 {
    --bs-gutter-y: .15rem;
  }

  #mobileMenu .mobile-menu-card .menu-text {
    font-size: .65rem !important;
    line-height: 1.1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
