/* Homepage audit: responsive proportions and readable commerce UI.
 * Keep product data, image assets, section order and existing CTA gradients intact.
 */
body.home .ipm-home .ipm-retail-main-deal {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 480px;
}
body.home .ipm-home .ipm-retail-main-deal__copy { padding: 28px 16px 28px 30px; }
body.home .ipm-home .ipm-retail-main-deal h1 {
  font-size: clamp(32px, 3.2vw, 46px);
  line-height: 1.12;
  letter-spacing: -.035em;
  overflow-wrap: normal;
}
body.home .ipm-home .ipm-retail-main-deal--long-title h1 { font-size: clamp(28px, 2.55vw, 38px); }
body.home .ipm-home .ipm-retail-main-deal__eyebrow { margin-bottom: 16px; }
body.home .ipm-home .ipm-retail-main-deal__variant { margin: 12px 0 18px; }
body.home .ipm-home .ipm-retail-main-deal__price {
  color: var(--secondary);
  font-size: clamp(32px, 3vw, 44px);
  line-height: 1.15;
}
body.home .ipm-home .ipm-retail-main-deal__saving {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
body.home .ipm-home .ipm-retail-main-deal__saving > span { flex-wrap: wrap; text-align: left; }
body.home .ipm-home .ipm-retail-main-deal__saving .amount { white-space: nowrap; }
body.home .ipm-home .ipm-retail-main-deal__proofs { margin-bottom: 18px; gap: 6px; }
body.home .ipm-home .ipm-retail-main-deal__proofs span { padding: 5px 7px; }
body.home .ipm-home .ipm-retail-main-deal__button { min-width: 0; min-height: 48px; width: min(100%, 230px); }
body.home .ipm-home .ipm-retail-main-deal__visual { min-height: 0; padding: 28px 20px; }
body.home .ipm-home .ipm-retail-main-deal__visual img { width: 100%; height: auto; max-height: 360px; }
body.home .ipm-home .ipm-retail-main-deal__discount { width: 58px; height: 58px; font-size: 17px; top: 16px; right: 14px; }
body.home .ipm-home .ipm-retail-side { grid-template-rows: minmax(210px, .9fr) minmax(240px, 1.1fr); gap: 16px; }
body.home .ipm-home .ipm-retail-refurb { padding: 22px 20px; }
body.home .ipm-home .ipm-retail-refurb__cta { color: var(--secondary); border-color: var(--secondary); min-height: 36px; }
body.home .ipm-home .ipm-retail-arrivals { padding: 16px; }
body.home .ipm-home .ipm-retail-arrivals__header { gap: 8px; }
body.home .ipm-home .ipm-retail-arrivals__header a { min-height: 32px; color: var(--secondary); }
body.home .ipm-home .ipm-retail-mini-product { min-height: 0; padding: 8px; }
body.home .ipm-home .ipm-retail-mini-product__image { min-height: 80px; max-height: 115px; }
body.home .ipm-home .ipm-retail-mini-product__price { color: var(--secondary); padding-top: 6px; }

/* Native WooCommerce price HTML is rendered once; preserve sale semantics. */
body.home .ipm-home :is(.ipm-shelf-card__price, .ipm-product-card__price) {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  min-width: 0;
  color: var(--black);
  font-family: var(--ip-font-round);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  white-space: normal;
}
body.home .ipm-home :is(.ipm-shelf-card__price, .ipm-product-card__price) :is(.amount, ins) {
  color: inherit;
  font: inherit;
  text-decoration: none;
}
body.home .ipm-home :is(.ipm-shelf-card__price, .ipm-product-card__price) .amount { white-space: nowrap; }
body.home .ipm-home :is(.ipm-shelf-card__price, .ipm-product-card__price) del {
  flex-basis: 100%;
  color: var(--gray);
  font-size: 12px;
  font-weight: 400;
  opacity: 1;
}
body.home .ipm-home .ipm-shelf-card__price-row { align-items: flex-end; gap: 8px; }
body.home .ipm-home .ipm-shelf-card__saving-badge { flex-shrink: 0; }
body.home .ipm-home .ipm-product-shelves .ipm-shelf-card__price :is(.amount, ins) { color: inherit; font: inherit; }
body.home .ipm-home .ipm-product-card__body { display: flex; flex-direction: column; flex: 1; }
body.home .ipm-home .ipm-product-card__price { margin-top: auto; margin-bottom: 12px; }
body.home .ipm-home .ipm-product-card__button { margin-top: 0; }
body.home .ipm-home .ipm-product-card__badge--refurbished {
  color: var(--ipm-refurb-ink, #075d3b);
  background: var(--ipm-refurb-soft, rgba(8, 116, 67, .08));
  border: 1px solid var(--ipm-refurb-border, rgba(8, 116, 67, .18));
}
body.home .ipm-home :is(.ipm-category-card__link, .ipm-shelf__all-link, .ipm-featured-products__eyebrow, .ipm-categories__eyebrow, .ipm-why__eyebrow, .ipm-condition-choice__eyebrow, .ipm-reviews__eyebrow, .ipm-blog__eyebrow, .ipm-reviews-summary__button) { color: var(--secondary); }
body.home .ipm-home .ipm-shelf--used :is(.ipm-shelf__all-link, .ipm-shelf__eyebrow) { color: var(--ipm-refurb-ink, #075d3b); }
body.home .ipm-home .ipm-shelf--new .ipm-shelf__eyebrow { color: var(--secondary); }
body.home .ipm-home .ipm-reviews-summary__button { border-color: var(--secondary); font-size: 13px; gap: 8px; padding-inline: 12px; }
body.home .ipm-home .ip-tradein__title span { color: var(--secondary); }
body.home .ipm-home .ip-tradein__footer strong { color: var(--secondary); }
body.home .ipm-home :is(.ipm-why__header h2 span, .ipm-categories__title span) { color: var(--secondary); }
body.home .ipm-home :is(a, button):focus-visible { outline: 2px solid var(--secondary); outline-offset: 3px; }
body.home .ipm-home:focus { outline: none; }

@media (min-width: 1021px) and (max-width: 1180px) {
  body.home .ipm-site-header__inner { gap: 14px; }
  body.home .ipm-nav__list { gap: 10px; }
  body.home .ipm-nav__list > li > a { white-space: nowrap; font-size: 12px; }
  body.home .ipm-header-actions .ip-btn { padding-inline: 14px; font-size: 14px; }
}
@media (min-width: 621px) and (max-width: 1180px) {
  body.home .ipm-home .ipm-retail-main-deal { min-height: 400px; }
  body.home .ipm-home .ipm-retail-side { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); grid-template-rows: auto; }
  body.home .ipm-home .ipm-retail-main-deal__visual img { max-height: 320px; }
  body.home .ipm-home .ipm-retail-refurb { min-height: 230px; }
  body.home .ipm-home .ipm-retail-trust-item strong { white-space: normal; }
}
@media (max-width: 620px) {
  body.home .ipm-home { --ipm-home-section-y: 28px; }
  body.home .ipm-home .ipm-retail-hero__container { padding-top: 12px; padding-bottom: 24px; }
  body.home .ipm-home .ipm-retail-hero__grid { gap: 14px; }
  body.home .ipm-home .ipm-retail-main-deal { grid-template-columns: 1fr; min-height: 0; padding: 18px; gap: 10px; }
  body.home .ipm-home .ipm-retail-main-deal__copy { display: contents; }
  body.home .ipm-home .ipm-retail-main-deal__eyebrow { order: 1; justify-self: start; margin: 0; }
  body.home .ipm-home .ipm-retail-main-deal h1 { order: 2; font-size: 32px; }
  body.home .ipm-home .ipm-retail-main-deal--long-title h1 { font-size: 28px; }
  body.home .ipm-home .ipm-retail-main-deal__variant { order: 3; margin: 0; font-size: 13px; }
  body.home .ipm-home .ipm-retail-main-deal__visual { order: 4; height: 190px; padding: 0 24px; }
  body.home .ipm-home .ipm-retail-main-deal__visual img { width: 100%; height: 100%; max-height: 190px; }
  body.home .ipm-home .ipm-retail-main-deal__discount { top: 0; right: 0; width: 48px; height: 48px; font-size: 14px; }
  body.home .ipm-home .ipm-retail-main-deal__price { order: 5; margin: 0; font-size: 34px; }
  body.home .ipm-home .ipm-retail-main-deal__saving { order: 6; margin: 0; }
  body.home .ipm-home .ipm-retail-main-deal__saving del { font-size: 12px; }
  body.home .ipm-home .ipm-retail-main-deal__proofs { order: 7; display: flex; margin: 0; }
  body.home .ipm-home .ipm-retail-main-deal__proofs span { border: 0; background: transparent; padding: 3px 0; font-size: 10px; }
  body.home .ipm-home .ipm-retail-main-deal__proofs span + span::before { content: '·'; margin-right: 6px; }
  body.home .ipm-home .ipm-retail-main-deal__button { order: 8; width: 100%; }
  body.home .ipm-home .ipm-retail-side { grid-template-columns: 1fr; grid-template-rows: auto; gap: 14px; }
  body.home .ipm-home .ipm-retail-refurb { min-height: 210px; grid-template-columns: minmax(0, 1fr) minmax(0, .7fr); padding: 18px; }
  body.home .ipm-home .ipm-retail-refurb img { width: 52%; height: 90%; bottom: 0; }
  body.home .ipm-home .ipm-retail-refurb__description { max-width: 160px; }
  body.home .ipm-home .ipm-retail-arrivals__header { align-items: center; margin-bottom: 8px; }
  body.home .ipm-home .ipm-retail-arrivals__header a span { display: inline; }
  body.home .ipm-home .ipm-retail-arrivals__header > strong { font-size: 11px; letter-spacing: 0; }
  body.home .ipm-home .ipm-retail-arrivals__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  body.home .ipm-home .ipm-retail-mini-product { display: flex; min-height: 170px; padding: 7px; }
  body.home .ipm-home .ipm-retail-mini-product__image { flex: 0 0 80px; width: 100%; height: 80px; margin: 0 0 8px; }
  body.home .ipm-home .ipm-retail-mini-product > strong { align-self: stretch; font-size: 11px; min-height: 30px; }
  body.home .ipm-home .ipm-retail-mini-product__price { align-self: stretch; margin-top: auto; font-size: 11px; }
  body.home .ipm-home .ipm-retail-mini-product__price .amount { white-space: nowrap; }
  body.home .ipm-home .ipm-retail-categories { display: flex; overflow-x: auto; gap: 8px; padding: 8px; margin-top: 14px; scrollbar-width: thin; }
  body.home .ipm-home .ipm-retail-category { flex: 0 0 auto; min-height: 44px; padding: 8px 12px; gap: 8px; }
  body.home .ipm-home .ipm-retail-category__icon { width: 20px; height: 20px; flex-basis: 20px; }
  body.home .ipm-home .ipm-retail-category strong { font-size: 12px; }
  body.home .ipm-home :is(.ipm-categories__header, .ipm-featured-products__header, .ipm-condition-choice__header, .ipm-reviews__header, .ipm-blog__header) { margin-bottom: 24px; }
  body.home .ipm-home :is(.ipm-categories__header h2, .ipm-featured-products__header h2, .ip-tradein__title, .ipm-why__header h2, .ipm-condition-choice__header h2, .ipm-reviews__header h2, .ipm-blog__header h2) { font-size: 28px; line-height: 1.18; }
  body.home .ipm-home :is(.ipm-categories__header p, .ipm-featured-products__header p, .ip-tradein__lead, .ipm-why__header p, .ipm-condition-choice__header p, .ipm-reviews__header p, .ipm-blog__header p) { font-size: 15px; line-height: 1.55; margin-top: 12px; }
  body.home .ipm-home :is(.ipm-shelf-card__price, .ipm-product-card__price) { font-size: 18px; }
  body.home .ipm-home .ip-tradein__inner { padding: 24px 18px; }
  body.home .ipm-home .ip-tradein__lead { margin-bottom: 24px; }
  body.home .ipm-home .ip-tradein__benefits { gap: 18px; margin-bottom: 24px; }
  body.home .ipm-home .ip-tradein__visual { gap: 18px; }
  body.home .ipm-home .ip-tradein__device-wrap { width: min(70%, 220px); }
  body.home .ipm-home .ip-tradein__type { min-height: 62px; padding: 10px 18px; }
  body.home .ipm-home .ipm-why-card { padding: 18px; }
  body.home .ipm-home .ipm-why-card h3 { font-size: 18px; }
  body.home .ipm-home .ipm-condition-card { min-height: 0; }
  body.home .ipm-home .ipm-condition-card__content { padding: 22px 18px 8px; }
  body.home .ipm-home .ipm-condition-card__content h3 { font-size: 26px; }
  body.home .ipm-home .ipm-condition-card__description { margin: 12px 0 16px; }
  body.home .ipm-home .ipm-condition-card__benefits { margin-bottom: 18px; }
  body.home .ipm-home .ipm-condition-card__benefits li { min-height: 50px; gap: 12px; }
  body.home .ipm-home .ipm-condition-card__visual { min-height: 0; height: 200px; padding: 14px 20px; }
  body.home .ipm-home .ipm-condition-card__visual img { height: 100%; max-height: 172px; }
  body.home .ipm-home .ipm-condition-card__halo { width: 180px; height: 180px; }
  body.home .ipm-home .ipm-reviews-summary { display: grid; grid-template-columns: auto 1fr; gap: 12px; min-height: 0; padding: 20px; }
  body.home .ipm-home .ipm-reviews-summary__score, body.home .ipm-home .ipm-reviews-summary__stars { margin: 0; }
  body.home .ipm-home .ipm-reviews-summary__score strong { font-size: 46px; }
  body.home .ipm-home .ipm-reviews-summary__score span { font-size: 18px; }
  body.home .ipm-home .ipm-reviews-summary__stars { font-size: 22px; }
  body.home .ipm-home .ipm-reviews-summary__count { grid-column: 1 / -1; font-size: 14px; }
  body.home .ipm-home .ipm-reviews-summary__separator, body.home .ipm-home .ipm-reviews-summary p { display: none; }
  body.home .ipm-home .ipm-reviews-summary__button { grid-column: 1 / -1; width: 100%; margin: 0; min-height: 44px; font-size: 12px; }
}

/* Homepage typography refinement, 2026-09-06.
 * Role-based selectors keep meaningful copy readable without inflating compact cards.
 * Scoped to the homepage; font families, content and component treatments stay unchanged.
 */

/* Overlines: restrained, consistent and distinct from body copy. */
body.home .ipm-home :is(
  .ipm-categories__eyebrow, .ipm-featured-products__eyebrow,
  .ipm-shelf__eyebrow, .ipm-why__eyebrow,
  .ipm-condition-choice__eyebrow, .ipm-reviews__eyebrow,
  .ipm-blog__eyebrow
) {
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}
body.home .ipm-home .ipm-retail-main-deal__eyebrow {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}
body.home .ipm-home .ipm-shelf--used .ipm-shelf__eyebrow {
  color: var(--ipm-refurb-ink, #075d3b);
}

/* Section introductions: compact, calm and readable below the display headings. */
body.home .ipm-home :is(
  .ipm-categories__lead, .ipm-featured-products__header > p,
  .ipm-shelf__header > div > p, .ip-tradein__lead,
  .ipm-condition-choice__header > p,
  .ipm-reviews__header > p, .ipm-blog__header > p
) {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
}
body.home .ipm-home :is(
  .ipm-retail-main-deal__variant, .ipm-why__header > p
) {
  color: var(--text-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
}

/* Category discovery and the compact hero arrival cards. */
body.home .ipm-home .ipm-category-card__content h3 {
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}
body.home .ipm-home .ipm-category-card__content p {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
}
body.home .ipm-home :is(
  .ipm-category-card__link, .ipm-shelf__all-link,
  .ipm-blog-card__link, .ipm-why__link,
  .ipm-condition-choice__help a,
  .ipm-retail-arrivals__header a
) {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}
body.home .ipm-home .ipm-retail-arrivals__header > strong {
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
}
body.home .ipm-home .ipm-retail-mini-product > strong {
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  min-height: 3.9em;
  -webkit-line-clamp: 3;
}
body.home .ipm-home .ipm-retail-mini-product__price {
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}
body.home .ipm-home .ipm-retail-mini-product__price :is(.amount, bdi, .woocommerce-Price-currencySymbol) {
  color: inherit;
  font-size: inherit;
}
body.home .ipm-home .ipm-retail-category strong,
body.home .ipm-home .ipm-retail-trust-item strong {
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  white-space: normal;
}
body.home .ipm-home .ipm-retail-refurb__copy > span:first-child {
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}
body.home .ipm-home .ipm-retail-refurb__description {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}
body.home .ipm-home .ipm-retail-refurb__cta {
  min-height: 44px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

/* Product cards: a compact commerce hierarchy shared by both product systems. */
body.home .ipm-home :is(.ipm-shelf-card h3, .ipm-product-card__body h3) {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}
body.home .ipm-home .ipm-shelf-card h3 {
  min-height: 2.6em;
}
body.home .ipm-home :is(.ipm-shelf-card__meta, .ipm-product-card__meta) {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}
body.home .ipm-home :is(.ipm-shelf-card__chips span, .ipm-shelf-card__old-price) {
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.4;
}
body.home .ipm-home :is(.ipm-shelf-card__badge, .ipm-product-card__badge, .ipm-shelf-card__saving-badge) {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}
body.home .ipm-home :is(.ipm-shelf-card__price, .ipm-product-card__price) {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  min-width: 0;
  color: var(--text-primary);
  font-family: var(--ip-font-round);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  white-space: normal;
}
body.home .ipm-home :is(.ipm-shelf-card__price, .ipm-product-card__price) :is(.amount, ins, bdi, .woocommerce-Price-currencySymbol) {
  color: inherit;
  font: inherit;
  text-decoration: none;
}
body.home .ipm-home :is(.ipm-shelf-card__price, .ipm-product-card__price) .amount {
  white-space: nowrap;
}
body.home .ipm-home :is(.ipm-shelf-card__price, .ipm-product-card__price) del {
  flex-basis: 100%;
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.4;
  opacity: 1;
}
body.home .ipm-home .ipm-shelf-card__price-row {
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}
body.home .ipm-home .ipm-product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
}
body.home .ipm-home .ipm-product-card__price {
  margin-top: auto;
  margin-bottom: 12px;
}
body.home .ipm-home .ipm-product-card__button {
  margin-top: 0;
}

/* Genuine badges and micro labels intentionally remain in the 11-12px band. */
body.home .ipm-home :is(
  .ipm-retail-main-deal__saving del, .ipm-retail-main-deal__proofs span,
  .ipm-blog-card__category, .ipm-review-card__author span,
  .ipm-review-card__source
) {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}
body.home .ipm-home .ipm-retail-main-deal__saving > span {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}
body.home .ipm-home .ipm-retail-main-deal__proofs {
  flex-wrap: wrap;
}

/* Benefits, explanatory copy and supporting UI. */
body.home .ipm-home :is(
  .ip-tradein__benefit strong, .ip-tradein__type strong,
  .ipm-shelf-trust strong, .ipm-condition-card__benefits li,
  .ipm-condition-trust strong,
  .ipm-why-card h3, .ipm-review-card__author strong
) {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}
body.home .ipm-home :is(
  .ip-tradein__benefit p, .ip-tradein__type small,
  .ipm-shelf-trust small, .ip-tradein__visual-note, .ipm-why-card p,
  .ipm-condition-trust span, .ipm-reviews__bottom-copy span
) {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}
body.home .ipm-home :is(
  .ipm-condition-card__description, .ipm-blog-card__excerpt,
  .ipm-blog-card__body > p, .ipm-condition-choice__help,
  .ip-tradein__cta-copy span
) {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}
body.home .ipm-home :is(
  .ipm-review-card__text, .ipm-reviews-summary p,
  .ip-tradein__footer
) {
  color: var(--text-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
}
body.home .ipm-home :is(
  .ip-tradein__cta-copy strong, .ipm-reviews__bottom-copy strong
) {
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1.3;
}
body.home .ipm-home .ipm-condition-trust strong {
  display: block;
}
body.home .ipm-home .ipm-reviews-summary__count {
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

/* Card headings and actions outside the compact product grid. */
body.home .ipm-home .ipm-blog-card h3 {
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}
body.home .ipm-home :is(
  .ipm-retail-main-deal__button, .ipm-product-shelves .ipm-shelf-card__button,
  .ipm-product-card__button, .ip-tradein__eyebrow, .ip-tradein__button,
  .ipm-condition-card__button, .ipm-reviews-summary__button,
  .ipm-reviews__bottom-button, .ipm-reviews__empty a
) {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}
body.home .ipm-home .ipm-condition-card__button {
  min-height: 52px;
}

/* Trustindex supplies important styles; override only its type hierarchy. */
body.home .ipm-home .ipm-reviews .ti-widget .ti-name {
  color: var(--text-primary) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
}
body.home .ipm-home .ipm-reviews .ti-widget .ti-review-content {
  color: var(--text-body) !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
}
body.home .ipm-home .ipm-reviews .ti-widget :is(.ti-date, .ti-read-more-active, .ti-verified-tooltip) {
  color: var(--text-secondary) !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
}

/* Header and footer: homepage-only corrections for text that was undersized. */
body.home .ipm-site-header--search .ipm-nav__list > li > a {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}
body.home .ipm-nav__list .sub-menu a {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}
body.home .ipm-language-switcher :is(summary, a) {
  font-size: 13px;
  line-height: 1.45;
}
body.home .ipm-language-switcher a small {
  font-size: 12px;
  line-height: 1.4;
}
body.home .ipm-cart-count {
  font-size: 11px;
  min-width: 20px;
  height: 20px;
}
body.home .ipm-skip-link {
  font-size: 14px;
}
body.home :is(
  .ipm-footer-main__description, .ipm-footer-main__description p,
  .ipm-footer__menu a, .ipm-footer-contact a
) {
  font-size: 14px;
  line-height: 1.5;
}
body.home .ipm-footer-legal p {
  font-size: 12px;
  line-height: 1.45;
}
body.home .ipm-header-search__form input {
  font-size: 16px;
}
body.home .ipm-header-search__status {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.45;
}
body.home .ipm-header-search__heading strong,
body.home .ipm-search-result__title {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}
body.home .ipm-search-result__meta {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}
body.home .ipm-search-result__price {
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}
body.home .ipm-search-result__price del {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

@media (min-width: 1021px) and (max-width: 1180px) {
  body.home .ipm-site-header--search .ipm-nav__list > li > a {
    font-size: 13px;
  }
}
@media (max-width: 1020px) {
  body.home .ipm-site-header--search .ipm-nav__list > li > a,
  body.home .ipm-mobile-nav-actions a {
    font-size: 15px;
    line-height: 1.45;
  }
}
@media (max-width: 620px) {
  body.home .ipm-home :is(
    .ipm-categories__lead, .ipm-featured-products__header > p,
    .ipm-shelf__header > div > p, .ip-tradein__lead,
    .ipm-condition-choice__header > p,
    .ipm-reviews__header > p, .ipm-blog__header > p,
    .ipm-condition-card__description, .ipm-blog-card__body > p
  ) {
    font-size: 14px;
  }
  body.home .ipm-home :is(
    .ipm-retail-main-deal__variant, .ipm-why__header > p,
    .ipm-review-card__text,
    .ipm-reviews-summary p, .ip-tradein__footer
  ) {
    font-size: 15px;
  }
  body.home .ipm-home .ipm-retail-mini-product {
    min-height: 190px;
  }
  body.home .ipm-home .ipm-retail-mini-product > strong,
  body.home .ipm-home .ipm-retail-mini-product__price,
  body.home .ipm-home .ipm-retail-category strong {
    font-size: 13px;
  }
  body.home .ipm-home :is(.ipm-shelf-card__price, .ipm-product-card__price) {
    font-size: 15px;
  }
}

/* Leave room for readable navigation at intermediate desktop widths. */
@media (min-width: 1021px) and (max-width: 1180px) {
  body.home .ipm-site-header--search .ipm-site-header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 10px;
    padding-block: 16px;
  }
  body.home .ipm-site-header--search .ipm-primary-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    min-width: 0;
    justify-self: center;
  }
  body.home .ipm-site-header--search .ipm-nav__list { justify-content: center; gap: 20px; }
  body.home .ipm-site-header--search .ipm-nav__list > li > a { font-size: 15px; }
  body.home .ipm-site-header--search .ipm-header-actions { grid-column: 2; grid-row: 1; }
}
@media (max-width: 620px) {
  body.home .ipm-home .ipm-retail-main-deal__proofs { column-gap: 12px; }
  body.home .ipm-home .ipm-retail-main-deal__proofs span + span::before { content: none; }
}

/* Long Hungarian words must stay within the narrower comparison cards. */
body.home .ipm-home .ipm-condition-card__description {
  overflow-wrap: anywhere;
  hyphens: auto;
}
