/* Eastern Automotive featured card redesign, UI/UX Pro Max pass 2026-06-16. */
body.home main.ea-home .ea-featured-products {
  --ea-card-ink: #1d140e;
  --ea-card-muted: #715b49;
  --ea-card-rule: #211711;
  --ea-card-brass: #b9792f;
  --ea-card-paper: #fffaf1;
  --ea-card-paper-deep: #f0dfc3;
  --ea-card-cta: #23150e;
  background:
    radial-gradient(circle at 18% 12%, rgba(185, 121, 47, .16), transparent 28%),
    linear-gradient(180deg, #fbf4e8 0%, #f4e7d2 100%) !important;
}

body.home main.ea-home .ea-featured-products .ea-product-grid.ea-shop-product-grid,
body.home main.ea-home .ea-featured-products .ea-product-grid.ea-featured-products-grid {
  align-items: stretch !important;
  gap: clamp(18px, 2.2vw, 28px) !important;
}

body.home main.ea-home .ea-featured-products .ea-product-card {
  isolation: isolate !important;
  display: grid !important;
  grid-template-rows: auto auto auto 1fr auto !important;
  gap: 0 !important;
  min-height: 0 !important;
  padding: clamp(14px, 1.55vw, 22px) !important;
  border: 3px solid var(--ea-card-rule) !important;
  border-radius: 28px !important;
  background:
    linear-gradient(180deg, rgba(255, 250, 241, .98), rgba(250, 239, 218, .98)),
    radial-gradient(circle at 92% 8%, rgba(185, 121, 47, .18), transparent 26%) !important;
  box-shadow: 9px 9px 0 rgba(33, 23, 17, .92), 0 22px 42px rgba(72, 45, 22, .14) !important;
  color: var(--ea-card-ink) !important;
  overflow: visible !important;
}

body.home main.ea-home .ea-featured-products .ea-product-card:focus-within {
  box-shadow: 9px 9px 0 rgba(33, 23, 17, .92), 0 0 0 4px rgba(185, 121, 47, .22), 0 22px 42px rgba(72, 45, 22, .14) !important;
}

body.home main.ea-home .ea-featured-products .ea-product-card__visual {
  min-height: clamp(220px, 18vw, 280px) !important;
  margin: 0 0 18px !important;
  padding: clamp(18px, 2vw, 28px) !important;
  border: 2px solid rgba(33, 23, 17, .88) !important;
  border-radius: 22px !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .84), rgba(241, 222, 190, .72)),
    repeating-linear-gradient(90deg, rgba(185, 121, 47, .14) 0 1px, transparent 1px 28px) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .62), 0 14px 28px rgba(80, 45, 18, .10) !important;
  overflow: hidden !important;
}

body.home main.ea-home .ea-featured-products .ea-product-card__visual::after {
  opacity: .18 !important;
  mix-blend-mode: multiply !important;
}

body.home main.ea-home .ea-featured-products .ea-product-card__image {
  max-height: clamp(170px, 15vw, 230px) !important;
  object-fit: contain !important;
  filter: drop-shadow(0 18px 22px rgba(49, 31, 17, .18)) saturate(1.04) contrast(1.03) !important;
}

body.home main.ea-home .ea-featured-products .ea-product-card__badge,
body.home main.ea-home .ea-featured-products .ea-product-card__viewer {
  min-height: 28px !important;
  border: 2px solid var(--ea-card-rule) !important;
  border-radius: 999px !important;
  background: var(--ea-card-paper) !important;
  color: var(--ea-card-ink) !important;
  box-shadow: 3px 3px 0 rgba(33, 23, 17, .9) !important;
  font-family: "DM Mono", monospace !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: .08em !important;
}

body.home main.ea-home .ea-featured-products .ea-product-card__main {
  display: grid !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.home main.ea-home .ea-featured-products .ea-product-card__meta {
  align-items: center !important;
  color: var(--ea-card-muted) !important;
  font-family: "DM Mono", monospace !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: .12em !important;
}

body.home main.ea-home .ea-featured-products .ea-product-card__title,
body.home main.ea-home .ea-featured-products .ea-product-card__hero-trigger--title {
  color: var(--ea-card-ink) !important;
  font-size: clamp(28px, 2.45vw, 42px) !important;
  line-height: .92 !important;
  letter-spacing: -.055em !important;
  text-decoration: none !important;
}

body.home main.ea-home .ea-featured-products .ea-product-card__fitment {
  width: fit-content !important;
  max-width: 100% !important;
  min-height: 36px !important;
  padding: 9px 12px !important;
  border: 2px solid rgba(185, 121, 47, .58) !important;
  border-radius: 0 !important;
  background: rgba(255, 250, 241, .72) !important;
  color: #745137 !important;
  font-family: "DM Mono", monospace !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: .11em !important;
}

body.home main.ea-home .ea-featured-products .ea-product-card__summary {
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  color: #4f4035 !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
  overflow: visible !important;
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
}

body.home main.ea-home .ea-featured-products .ea-product-card__select-wrap,
body.home main.ea-home .ea-featured-products .ea-product-card__addons,
body.home main.ea-home .ea-featured-products .ea-product-card__actions {
  border: 2px solid rgba(33, 23, 17, .9) !important;
  border-radius: 20px !important;
  background: rgba(255, 250, 241, .74) !important;
}

body.home main.ea-home .ea-featured-products .ea-product-card__select-wrap {
  margin: 16px 0 14px !important;
  padding: 13px !important;
}

body.home main.ea-home .ea-featured-products .ea-product-card__select-wrap > span,
body.home main.ea-home .ea-featured-products .ea-product-card__addon-label,
body.home main.ea-home .ea-featured-products .ea-product-card__total-label {
  color: #6d4219 !important;
  font-family: "DM Mono", monospace !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
}

body.home main.ea-home .ea-featured-products .ea-product-card__variation-row {
  display: flex !important;
  flex-flow: row wrap !important;
  gap: 9px !important;
  overflow: visible !important;
}

body.home main.ea-home .ea-featured-products .ea-product-card__variation-button {
  min-height: 44px !important;
  padding: 0 14px !important;
  border: 2px solid var(--ea-card-rule) !important;
  border-radius: 14px !important;
  background: #fffaf1 !important;
  color: var(--ea-card-ink) !important;
  box-shadow: 3px 3px 0 rgba(33, 23, 17, .92) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .07em !important;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease !important;
  touch-action: manipulation !important;
}

body.home main.ea-home .ea-featured-products .ea-product-card__variation-button:hover,
body.home main.ea-home .ea-featured-products .ea-product-card__variation-button:focus-visible,
body.home main.ea-home .ea-featured-products .ea-product-card__variation-button.is-active,
body.home main.ea-home .ea-featured-products .ea-product-card__variation-button[aria-pressed="true"] {
  background: #23150e !important;
  color: #fff7e8 !important;
  transform: translate(-1px, -1px) !important;
  box-shadow: 5px 5px 0 rgba(185, 121, 47, .86) !important;
}

body.home main.ea-home .ea-featured-products .ea-product-card__addons {
  display: grid !important;
  gap: 10px !important;
  margin: 0 0 16px !important;
  padding: 13px !important;
  overflow: visible !important;
}

body.home main.ea-home .ea-featured-products .ea-product-card__addon-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin: 0 !important;
}

body.home main.ea-home .ea-featured-products .ea-product-card__addon-tag {
  min-height: 28px !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
  background: #efe0c7 !important;
  color: #6d4219 !important;
  font-family: "DM Mono", monospace !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  letter-spacing: .08em !important;
}

body.home main.ea-home .ea-featured-products .ea-product-card__addon-list {
  gap: 9px !important;
}

body.home main.ea-home .ea-featured-products .ea-product-card__addon-item,
body.home main.ea-home .ea-featured-products .ea-product-card__addon-empty {
  min-height: 68px !important;
  border: 2px solid rgba(33, 23, 17, .88) !important;
  border-radius: 18px !important;
  background: #fffaf1 !important;
  box-shadow: 4px 4px 0 rgba(33, 23, 17, .86) !important;
  color: var(--ea-card-ink) !important;
  touch-action: manipulation !important;
}

body.home main.ea-home .ea-featured-products .ea-product-card__addon-item.is-selected {
  background: linear-gradient(135deg, #fffaf1, #f0dfc3) !important;
  border-color: var(--ea-card-brass) !important;
}

body.home main.ea-home .ea-featured-products .ea-product-card__addon-check,
body.home main.ea-home .ea-featured-products .ea-product-card__addon-empty-mark {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 28px !important;
  border: 2px solid var(--ea-card-rule) !important;
  border-radius: 999px !important;
  background: #23150e !important;
  color: #fff7e8 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

body.home main.ea-home .ea-featured-products .ea-product-card__addon-copy strong {
  color: var(--ea-card-ink) !important;
  font-size: 13px !important;
  line-height: 1.15 !important;
}

body.home main.ea-home .ea-featured-products .ea-product-card__addon-copy span {
  color: #7a5737 !important;
  font-family: "DM Mono", monospace !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}

body.home main.ea-home .ea-featured-products .ea-product-card__actions {
  display: grid !important;
  gap: 13px !important;
  margin: auto 0 0 !important;
  padding: 14px !important;
  background: linear-gradient(180deg, rgba(255, 250, 241, .82), rgba(239, 224, 199, .82)) !important;
}

body.home main.ea-home .ea-featured-products .ea-product-card__total {
  min-height: 54px !important;
  padding: 0 0 12px !important;
  border-bottom: 2px dashed rgba(33, 23, 17, .22) !important;
  overflow: visible !important;
}

body.home main.ea-home .ea-featured-products .ea-product-card__total-note {
  color: var(--ea-card-muted) !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
}

body.home main.ea-home .ea-featured-products .ea-product-card__total-amount {
  color: var(--ea-card-ink) !important;
  font-size: clamp(30px, 2.65vw, 44px) !important;
  line-height: .9 !important;
  letter-spacing: -.045em !important;
}

body.home main.ea-home .ea-featured-products .ea-product-card__buy {
  display: grid !important;
  grid-template-columns: minmax(112px, .45fr) minmax(128px, .55fr) minmax(168px, .85fr) !important;
  gap: 10px !important;
  align-items: stretch !important;
}

body.home main.ea-home .ea-featured-products .ea-product-card__price-row--dock {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  min-height: 52px !important;
  padding: 8px 10px !important;
  border: 2px solid rgba(33, 23, 17, .88) !important;
  border-radius: 16px !important;
  background: rgba(255, 250, 241, .88) !important;
}

body.home main.ea-home .ea-featured-products .ea-product-card__qty {
  display: grid !important;
  grid-template-columns: 44px minmax(38px, 1fr) 44px !important;
  min-width: 0 !important;
  min-height: 52px !important;
  border: 2px solid rgba(33, 23, 17, .88) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
}

body.home main.ea-home .ea-featured-products .ea-product-card__qty button,
body.home main.ea-home .ea-featured-products .ea-product-card__qty input {
  min-height: 48px !important;
  font-size: 18px !important;
  font-weight: 900 !important;
}

body.home main.ea-home .ea-featured-products .ea-product-card__button,
body.home main.ea-home .ea-featured-products .ea-split-buy__primary {
  min-height: 52px !important;
  border-radius: 18px !important;
  background: linear-gradient(135deg, #2b1a11, #120b07) !important;
  color: #fff7e8 !important;
  box-shadow: 5px 5px 0 rgba(185, 121, 47, .86) !important;
  font-size: 12px !important;
  letter-spacing: .08em !important;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease !important;
  touch-action: manipulation !important;
}

body.home main.ea-home .ea-featured-products .ea-product-card__button:hover,
body.home main.ea-home .ea-featured-products .ea-product-card__button:focus-visible,
body.home main.ea-home .ea-featured-products .ea-split-buy__primary:hover,
body.home main.ea-home .ea-featured-products .ea-split-buy__primary:focus-visible {
  transform: translate(-2px, -2px) !important;
  box-shadow: 7px 7px 0 rgba(185, 121, 47, .9) !important;
  filter: brightness(1.05) !important;
}

body.home main.ea-home .ea-featured-products .ea-product-card__support {
  margin: 0 !important;
}

body.home main.ea-home .ea-featured-products .ea-product-card__support-link {
  color: #5f3918 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 4px !important;
}

body.home main.ea-home .ea-featured-products .ea-product-card__stock {
  margin: 14px 0 0 !important;
  color: var(--ea-card-muted) !important;
}

@media (max-width: 1180px) {
  body.home main.ea-home .ea-featured-products .ea-product-card__buy {
    grid-template-columns: 1fr 1fr !important;
  }

  body.home main.ea-home .ea-featured-products .ea-product-card__price-row--dock {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 767px) {
  body.home main.ea-home .ea-featured-products {
    padding-inline: 0 !important;
  }

  body.home main.ea-home .ea-featured-products .ea-product-grid.ea-shop-product-grid,
  body.home main.ea-home .ea-featured-products .ea-product-grid.ea-featured-products-grid {
    display: flex !important;
    gap: 16px !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 18px 24px !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    scroll-snap-type: x mandatory !important;
  }

  body.home main.ea-home .ea-featured-products .ea-product-card,
  body.home main.ea-home .ea-featured-products .ea-product-card:nth-child(n) {
    flex: 0 0 min(88vw, 360px) !important;
    width: min(88vw, 360px) !important;
    min-width: min(88vw, 360px) !important;
    max-width: min(88vw, 360px) !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 13px !important;
    border-radius: 24px !important;
    box-shadow: 5px 5px 0 rgba(33, 23, 17, .92) !important;
  }

  body.home main.ea-home .ea-featured-products .ea-product-card__visual {
    min-height: 176px !important;
    padding: 16px !important;
    margin-bottom: 14px !important;
  }

  body.home main.ea-home .ea-featured-products .ea-product-card__image {
    max-height: 148px !important;
  }

  body.home main.ea-home .ea-featured-products .ea-product-card__title,
  body.home main.ea-home .ea-featured-products .ea-product-card__hero-trigger--title {
    font-size: 26px !important;
    line-height: .94 !important;
  }

  body.home main.ea-home .ea-featured-products .ea-product-card__summary {
    font-size: 14px !important;
    line-height: 1.4 !important;
  }

  body.home main.ea-home .ea-featured-products .ea-product-card__variation-row {
    flex-flow: row nowrap !important;
    overflow-x: auto !important;
    padding-bottom: 2px !important;
    scrollbar-width: none !important;
  }

  body.home main.ea-home .ea-featured-products .ea-product-card__variation-row::-webkit-scrollbar {
    display: none !important;
  }

  body.home main.ea-home .ea-featured-products .ea-product-card__variation-button {
    flex: 0 0 auto !important;
    min-height: 44px !important;
    padding: 0 12px !important;
    font-size: 10px !important;
  }

  body.home main.ea-home .ea-featured-products .ea-product-card__addons {
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 0 14px !important;
  }

  body.home main.ea-home .ea-featured-products .ea-product-card__addon-head {
    align-items: flex-start !important;
  }

  body.home main.ea-home .ea-featured-products .ea-product-card__addon-tag {
    max-width: 48% !important;
    text-align: right !important;
  }

  body.home main.ea-home .ea-featured-products .ea-product-card__addon-item,
  body.home main.ea-home .ea-featured-products .ea-product-card__addon-item:not(.is-selected) {
    display: grid !important;
    grid-template-columns: 28px 42px minmax(0, 1fr) !important;
    min-height: 64px !important;
    padding: 8px !important;
  }

  body.home main.ea-home .ea-featured-products .ea-product-card__addon-item:nth-child(n+2):not(.is-selected) {
    display: none !important;
  }

  body.home main.ea-home .ea-featured-products .ea-product-card__actions {
    margin-top: auto !important;
    padding: 12px !important;
  }

  body.home main.ea-home .ea-featured-products .ea-product-card__total {
    align-items: flex-start !important;
  }

  body.home main.ea-home .ea-featured-products .ea-product-card__total-amount {
    font-size: 28px !important;
  }

  body.home main.ea-home .ea-featured-products .ea-product-card__buy {
    grid-template-columns: 1fr !important;
    gap: 9px !important;
  }

  body.home main.ea-home .ea-featured-products .ea-product-card__price-row--dock,
  body.home main.ea-home .ea-featured-products .ea-product-card__qty,
  body.home main.ea-home .ea-featured-products .ea-product-card__split-buy,
  body.home main.ea-home .ea-featured-products .ea-product-card__button,
  body.home main.ea-home .ea-featured-products .ea-split-buy__primary {
    width: 100% !important;
    min-width: 0 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home main.ea-home .ea-featured-products .ea-product-card__variation-button,
  body.home main.ea-home .ea-featured-products .ea-product-card__button,
  body.home main.ea-home .ea-featured-products .ea-split-buy__primary {
    transition: none !important;
  }
}

body.home main.ea-home .ea-featured-products .ea-product-card__actions::before,
body.home main.ea-home .ea-featured-products .ea-product-card__actions::after,
body.home main.ea-home .ea-featured-products .ea-product-card__total::before,
body.home main.ea-home .ea-featured-products .ea-product-card__total::after,
body.home main.ea-home .ea-featured-products .ea-product-card__stock::before,
body.home main.ea-home .ea-featured-products .ea-product-card__stock::after {
  display: none !important;
  content: none !important;
}

body.home main.ea-home .ea-featured-products .ea-product-card__total {
  border-bottom: 2px solid rgba(33, 23, 17, .18) !important;
}

body.home main.ea-home .ea-featured-products .ea-product-card__split-buy {
  width: 100% !important;
  min-width: 0 !important;
}

body.home main.ea-home .ea-featured-products .ea-product-card__button,
body.home main.ea-home .ea-featured-products .ea-split-buy__primary {
  width: 100% !important;
  min-width: 0 !important;
}
