:root {
  --sc-product-font: "Onest", "Avenir Next", sans-serif;
}

/* Home: the product rail immediately after the hero. */
#sierra-products-root [class^="product-card-products_"] h3,
#sierra-products-root [class^="product-card-products_"] .product-store-link,
#sierra-products-root [class^="product-card-products_"] p,
#sierra-products-root [class^="product-card-products_"] .text-xl,
#sierra-products-root [class^="product-card-products_"] .price-barre,
#sierra-products-root [class^="product-card-products_"] .product-card-rating,
#sierra-products-root [class^="product-card-products_"] .mobile-cart-btn {
  font-family: var(--sc-product-font) !important;
  font-optical-sizing: auto;
}

#sierra-products-root [class^="product-card-products_"] h3 {
  font-size: .875rem !important;
  font-weight: 600 !important;
  letter-spacing: -.018em !important;
}
#sierra-products-root [class^="product-card-products_"] .product-store-link { font-size: .66rem !important; font-weight: 500 !important; letter-spacing: .045em !important; }
#sierra-products-root [class^="product-card-products_"] p { font-weight: 400 !important; }
#sierra-products-root [class^="product-card-products_"] .text-xl.font-bold { font-size: .95rem !important; font-weight: 700 !important; }
#sierra-products-root [class^="product-card-products_"] .price-barre,
#sierra-products-root [class^="product-card-products_"] .product-card-rating { font-weight: 450 !important; }
#sierra-products-root [class^="product-card-products_"] .mobile-cart-btn { font-weight: 600 !important; }

/* Main discovery rails: Sponsored, trends, and top sellers. */
#sierra-home-discovery-root .home-discovery-card h3,
#sierra-home-discovery-root .home-discovery-card__store,
#sierra-home-discovery-root .home-discovery-card__desc,
#sierra-home-discovery-root .home-discovery-card__footer,
#sierra-home-discovery-root .home-discovery-card__section-badge,
#sierra-home-discovery-root .home-discovery-card__rating,
#sierra-home-discovery-root .home-discovery-card__verified,
#megaPortalLux21 .featured-card h4,
#megaPortalLux21 .featured-card .featured-content > p,
#megaPortalLux21 .featured-card .featured-desc,
#megaPortalLux21 .featured-card .featured-prices,
#megaPortalLux21 .featured-card .featured-chip {
  font-family: var(--sc-product-font) !important;
  font-optical-sizing: auto;
}
#sierra-home-discovery-root .home-discovery-card h3 { font-size: .875rem !important; font-weight: 600 !important; letter-spacing: -.018em !important; }
#sierra-home-discovery-root .home-discovery-card__store { font-size: .66rem !important; font-weight: 500 !important; letter-spacing: .045em !important; }
#sierra-home-discovery-root .home-discovery-card__desc { font-weight: 400 !important; }
#sierra-home-discovery-root .home-discovery-card__footer strong { font-size: .95rem !important; font-weight: 700 !important; }
#sierra-home-discovery-root .home-discovery-card__footer span,
#sierra-home-discovery-root .home-discovery-card__rating { font-weight: 450 !important; }
#sierra-home-discovery-root .home-discovery-card__section-badge,
#sierra-home-discovery-root .home-discovery-card__verified { font-weight: 600 !important; }
#megaPortalLux21 .featured-card h4 { font-weight: 600 !important; letter-spacing: -.015em !important; }
#megaPortalLux21 .featured-card .featured-content > p:first-of-type { font-weight: 500 !important; }
#megaPortalLux21 .featured-card .featured-desc { font-weight: 400 !important; }
#megaPortalLux21 .featured-card .featured-price { font-weight: 700 !important; }
#megaPortalLux21 .featured-card .featured-old-price { font-weight: 450 !important; }
#megaPortalLux21 .featured-card .featured-chip { font-weight: 600 !important; }

/* Catalogue cards, also used by category filters on the catalogue page. */
#catalogue-page-root [class^="product-card-"] h3,
#catalogue-page-root [class^="product-card-"] [class^="product-name-"],
#catalogue-page-root [class^="product-card-"] [class^="product-store-link-"],
#catalogue-page-root [class^="product-card-"] [class^="product-description-"],
#catalogue-page-root [class^="product-card-"] [class^="current-price-"],
#catalogue-page-root [class^="product-card-"] [class^="compare-price-"],
#catalogue-page-root [class^="product-card-"] [class^="product-card-rating-"],
#catalogue-page-root [class^="product-card-"] [class^="product-badge-"] {
  font-family: var(--sc-product-font) !important;
  font-optical-sizing: auto;
}
#catalogue-page-root [class^="product-card-"] h3,
#catalogue-page-root [class^="product-card-"] [class^="product-name-"] { font-size: .9rem !important; font-weight: 600 !important; letter-spacing: -.018em !important; }
#catalogue-page-root [class^="product-card-"] [class^="product-store-link-"] { font-weight: 500 !important; letter-spacing: .035em !important; }
#catalogue-page-root [class^="product-card-"] [class^="product-description-"] { font-weight: 400 !important; }
#catalogue-page-root [class^="product-card-"] [class^="current-price-"] { font-size: .95rem !important; font-weight: 700 !important; }
#catalogue-page-root [class^="product-card-"] [class^="compare-price-"],
#catalogue-page-root [class^="product-card-"] [class^="product-card-rating-"] { font-weight: 450 !important; }
#catalogue-page-root [class^="product-card-"] [class^="product-badge-"] { font-weight: 600 !important; }

/* Product modal and product-page recommendations. */
.related-products-carousel .product-card h4,
.related-products-carousel .product-card > a,
.related-products-carousel .product-card > div span {
  font-family: var(--sc-product-font) !important;
}
.related-products-carousel .product-card h4 { font-size: .875rem !important; font-weight: 600 !important; letter-spacing: -.015em !important; }
.related-products-carousel .product-card > a { font-weight: 500 !important; }
.related-products-carousel .product-card > div span:first-child { font-weight: 700 !important; }
.related-products-carousel .product-card > div span:nth-child(2) { font-weight: 450 !important; }

/* Public affiliate catalogue cards. */
.aff-product .aff-product-body h3,
.aff-product .aff-product-meta,
.aff-product .aff-product-price,
.aff-product .aff-product-price button {
  font-family: var(--sc-product-font) !important;
  font-optical-sizing: auto;
}
.aff-product .aff-product-body h3 { font-weight: 600 !important; letter-spacing: -.015em !important; }
.aff-product .aff-product-meta { font-weight: 400 !important; }
.aff-product .aff-product-price strong { font-weight: 700 !important; }
.aff-product .aff-product-price span,
.aff-product .aff-product-price button { font-weight: 600 !important; }

/* Standalone SmartSolutionTek shop cards (current and legacy storefronts). */
.sst-shop-product-card .sst-shop-product-category,
.sst-shop-product-card .sst-shop-product-name,
.sst-shop-product-card .sst-shop-product-price,
.sst-shop-product-card .sst-shop-compare-price,
.sst-shop-product-card .sst-shop-btn-add,
.sst-product-card .body { font-family: var(--sc-product-font) !important; font-optical-sizing: auto; }
.sst-shop-product-card .sst-shop-product-category { font-weight: 600 !important; }
.sst-shop-product-card .sst-shop-product-name { font-weight: 600 !important; letter-spacing: -.015em !important; }
.sst-shop-product-card .sst-shop-price { font-weight: 700 !important; }
.sst-shop-product-card .sst-shop-compare-price { font-weight: 450 !important; }
.sst-shop-product-card .sst-shop-btn-add { font-weight: 600 !important; }

/* Seller product preview and product inventory tiles. */
.pcard .pcard__section-badge,
.pcard .pcard__verified-badge,
.pcard .pcard__image-empty span,
.pcard h3,
.pcard .pcard__store,
.pcard .pcard__desc,
.pcard .pcard__footer,
#products-grid .product-card .product-list__name,
#products-grid .product-card .product-list__cell { font-family: var(--sc-product-font) !important; font-optical-sizing: auto; }
.pcard .pcard__section-badge,
.pcard .pcard__verified-badge,
.pcard .pcard__image-empty span { font-weight: 600 !important; }
.pcard h3 { font-weight: 600 !important; letter-spacing: -.015em !important; }
.pcard .pcard__store { font-weight: 500 !important; letter-spacing: .08em !important; }
.pcard .pcard__desc { font-weight: 400 !important; }
.pcard .pcard__footer strong { font-weight: 700 !important; }
.pcard .pcard__footer span { font-weight: 450 !important; }
#products-grid .product-card .product-list__name strong { font-weight: 600 !important; }
#products-grid .product-card .product-list__name span,
#products-grid .product-card .product-list__cell { font-weight: 400 !important; }
#products-grid .product-card .product-list__cell--strong { font-weight: 600 !important; }
.pcard h3 { font-size: 1rem !important; }

/* POS tiles display real products, but remain visually subordinate to the shop. */
.cashier-app .product-card .product-copy,
.cashier-app .product-card .product-price,
.cashier-app .product-card .stock-chip,
.cashier-app .product-card .add-line-btn,
.pos-product-card .pos-product-info,
.pos-product-card .pos-product-side { font-family: var(--sc-product-font) !important; font-optical-sizing: auto; }
.cashier-app .product-card .product-copy strong,
.pos-product-card .pos-product-info strong { font-weight: 600 !important; }
.cashier-app .product-card .product-copy small,
.pos-product-card .pos-product-info small,
.pos-product-card .pos-product-info em,
.pos-product-card .pos-product-side small { font-weight: 400 !important; }
.cashier-app .product-card .product-price b,
.pos-product-card .pos-product-side strong { font-weight: 700 !important; }
.cashier-app .product-card .stock-chip,
.cashier-app .product-card .add-line-btn { font-weight: 600 !important; }

/* Published Auto & Parts items are product cards too. */
.ap-card,
.ap-card .ap-card-label,
.ap-card h3,
.ap-card .ap-part-number,
.ap-card .ap-fitment,
.ap-card .ap-offer,
.ap-card .ap-button,
.ap-offer-compare { font-family: var(--sc-product-font) !important; font-optical-sizing: auto; }
.ap-card .ap-card-label { font-size: .68rem !important; font-weight: 600 !important; }
.ap-card h3 { font-size: 1rem !important; font-weight: 600 !important; letter-spacing: -.015em !important; }
.ap-card .ap-part-number,
.ap-card .ap-vendor,
.ap-offer-compare span { font-size: .76rem !important; font-weight: 400 !important; }
.ap-card .ap-fitment { font-size: .8rem !important; font-weight: 500 !important; }
.ap-card .ap-price,
.ap-offer-compare > strong:last-of-type { font-size: 1.1rem !important; font-weight: 700 !important; }
.ap-card .ap-add,
.ap-offer-compare .ap-button { font-size: .8125rem !important; font-weight: 600 !important; }

/* Seller inventory cards in the Auto & Parts workspace. */
.av-product-list article,
.av-product-list article .av-product-thumb,
.av-product-list article .av-stock,
.av-product-list article .av-actions { font-family: var(--sc-product-font) !important; font-optical-sizing: auto; }
.av-product-list article > div:nth-child(2) > strong { font-size: .9rem !important; font-weight: 600 !important; letter-spacing: -.01em !important; }
.av-product-list article > div:nth-child(2) > span { font-size: .76rem !important; font-weight: 400 !important; }
.av-product-list article .av-stock { font-size: .72rem !important; font-weight: 500 !important; }
.av-product-list article .av-actions button { font-size: .78rem !important; font-weight: 600 !important; }

/* Vendor storefront, companion-product rail, and checkout line cards. */
#vendor-marketplace-root .vendor-store-product h3,
#vendor-marketplace-root .vendor-store-product__price,
#vendor-marketplace-root .vendor-store-product__purchase button,
#discovery-services-slot .services-carousel-card strong,
#discovery-services-slot .services-carousel-card small,
#discovery-services-slot .services-carousel-price,
.checkout-product-card .checkout-product-name,
.checkout-product-card .checkout-product-sku,
.checkout-product-card .checkout-product-option,
.checkout-product-card .checkout-product-delivery,
.checkout-product-card .checkout-product-unit,
.checkout-product-card .checkout-product-total,
.checkout-product-card .checkout-product-quantity {
  font-family: var(--sc-product-font) !important;
  font-optical-sizing: auto;
}
#vendor-marketplace-root .vendor-store-product h3,
#discovery-services-slot .services-carousel-card strong,
.checkout-product-card .checkout-product-name { font-weight: 600 !important; letter-spacing: -.015em !important; }
#vendor-marketplace-root .vendor-store-product__price strong,
#discovery-services-slot .services-carousel-price,
.checkout-product-card .checkout-product-total { font-weight: 700 !important; }
#vendor-marketplace-root .vendor-store-product__price span,
#discovery-services-slot .services-carousel-card small,
.checkout-product-card .checkout-product-sku,
.checkout-product-card .checkout-product-option,
.checkout-product-card .checkout-product-unit { font-weight: 400 !important; }
#vendor-marketplace-root .vendor-store-product__purchase button { font-weight: 600 !important; }
.checkout-product-card .checkout-product-delivery,
.checkout-product-card .checkout-product-quantity { font-weight: 500 !important; }

/* Pharmacy product cards. */
.health-medicine-card h3,
.health-medicine-card .health-medicine-summary,
.health-medicine-card .health-medicine-footer .price,
.health-medicine-card .health-medicine-stock-label,
.health-medicine-card .health-medicine-stock-badge {
  font-family: var(--sc-product-font) !important;
  font-optical-sizing: auto;
}
.health-medicine-card h3 { font-weight: 600 !important; letter-spacing: -.015em !important; }
.health-medicine-card .health-medicine-summary { font-weight: 400 !important; }
.health-medicine-card .health-medicine-footer .price { font-weight: 700 !important; }
.health-medicine-card .health-medicine-stock-label,
.health-medicine-card .health-medicine-stock-badge { font-weight: 600 !important; }

/* Product choice tiles in the personalization workspace. */
.pz-product-card span { font-family: var(--sc-product-font) !important; font-weight: 550 !important; }

/* Storefront search results only; article and service results keep their own typography. */
[class^="search-card-"][data-type="product"] [class^="search-card-title-"],
[class^="search-card-"][data-type="product"] [class^="search-card-subtitle-"],
[class^="search-card-"][data-type="product"] [class^="search-card-price-"],
[class^="search-card-"][data-type="product"] [class^="search-card-oldprice-"],
[class^="search-card-"][data-type="product"] [class^="search-card-badge-"] {
  font-family: var(--sc-product-font) !important;
}
[class^="search-card-"][data-type="product"] [class^="search-card-title-"] { font-weight: 600 !important; }
[class^="search-card-"][data-type="product"] [class^="search-card-subtitle-"] { font-weight: 400 !important; }
[class^="search-card-"][data-type="product"] [class^="search-card-price-"] { font-weight: 700 !important; }
[class^="search-card-"][data-type="product"] [class^="search-card-oldprice-"] { font-weight: 450 !important; }
[class^="search-card-"][data-type="product"] [class^="search-card-badge-"] { font-weight: 600 !important; }

#sierra-products-root [class^="product-card-products_"] h3,
#sierra-home-discovery-root .home-discovery-card h3,
#catalogue-page-root [class^="product-card-"] h3,
.aff-product h3,
.sst-shop-product-card .sst-shop-product-name,
.pcard h3 { font-synthesis: none; }
