/* Ramki Cards – v28 | Product titles + prices only
 * Font requested from reference: 'Josefin Sans', sans-serif.
 * Deliberately do not set sizes, weights, line-heights, margins, card
 * dimensions, images, colours, gallery actions or controls.
 * Load last on homepage/product detail, after earlier Assistant overrides.
 */

/* Homepage product carousel cards. */
html body:not(.admin-body) main.rc-new#main-content .rc-scroll-shell > .rc-scroll-track > article.rc-product > .rc-product-copy > a,
html body:not(.admin-body) main.rc-new#main-content .rc-scroll-shell > .rc-scroll-track > article.rc-product > .rc-product-copy > .rc-product-price,
html body:not(.admin-body) main.rc-new#main-content .rc-scroll-shell > .rc-scroll-track > article.rc-product > .rc-product-copy > .rc-product-price del {
  font-family: 'Josefin Sans', sans-serif !important;
}

/* Catalogue/search/favourites product cards. Avoid affecting Tamil names. */
html body:not(.admin-body) main article.product-card .product-body h3,
html body:not(.admin-body) main article.product-card .product-body h3 > a,
html body:not(.admin-body) main article.product-card .product-body .product-name-english,
html body:not(.admin-body) main article.product-card .product-body .price,
html body:not(.admin-body) main article.product-card .product-body .price-old,
html body:not(.admin-body) main article.product-card .product-body .price del,
html body:not(.admin-body) main.rk-royal-catalogue .catalog-products article.product-card.rk-landing-product .product-body h3,
html body:not(.admin-body) main.product-marketplace-page .catalog-products article.product-card .product-body h3 {
  font-family: 'Josefin Sans', sans-serif !important;
}

/* Single product detail: name and current/previous price only. */
html body main.store-page.product-marketplace-page .marketplace-product-info h1,
html body main.store-page.product-marketplace-page .marketplace-product-info .marketplace-price-row .detail-price,
html body main.store-page.product-marketplace-page .marketplace-product-info .marketplace-price-row .price-old,
html body main.store-page.product-marketplace-page .marketplace-product-info .marketplace-price-row del {
  font-family: 'Josefin Sans', sans-serif !important;
}

/* Related products on the individual product page. */
html body main.store-page.product-marketplace-page .rk-recommended-grid .rk-related-product-copy > a,
html body main.store-page.product-marketplace-page .rk-recommended-grid .rk-related-product-price,
html body main.store-page.product-marketplace-page .rk-recommended-grid .rk-related-product-price del {
  font-family: 'Josefin Sans', sans-serif !important;
}


/* v34 – Reference typography refinement, English product CARD names only.
   The old v10 stylesheet forced 17px/700 at high specificity. The v28 font
   override changed the family but not the weight, leaving titles heavier and
   larger than the visual reference. Restore a lighter, 16px reference rhythm at weight 500.
   Do not touch product-detail H1, prices, Tamil, image frames, hover actions,
   gallery controls, carousel grids, or card spacing. */
html body:not(.admin-body) main.rc-new#main-content .rc-scroll-shell > .rc-scroll-track > article.rc-product > .rc-product-copy > a,
html body:not(.admin-body) main.rk-royal-catalogue .catalog-products article.product-card.rk-landing-product .product-body h3,
html body:not(.admin-body) main.rk-royal-catalogue .catalog-products article.product-card.rk-landing-product .product-body h3 > a,
html body:not(.admin-body) main.product-marketplace-page .catalog-products article.product-card .product-body h3,
html body:not(.admin-body) main article.product-card .product-body h3,
html body:not(.admin-body) main article.product-card .product-body h3 > a,
html body:not(.admin-body) main article.product-card .product-body .product-name-english {
  font-family: 'Josefin Sans', sans-serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
}
/* Protect the established 4px gap between the product name and price. */
html body:not(.admin-body) main.rc-new#main-content .rc-scroll-shell > .rc-scroll-track > article.rc-product > .rc-product-copy > a {
  margin-bottom: 4px !important;
}
/* Smaller viewport: readable one/two-line titles without pushing the grid. */
@media (max-width: 700px) {
  html body:not(.admin-body) main.rc-new#main-content .rc-scroll-shell > .rc-scroll-track > article.rc-product > .rc-product-copy > a,
  html body:not(.admin-body) main.rk-royal-catalogue .catalog-products article.product-card.rk-landing-product .product-body h3,
  html body:not(.admin-body) main.rk-royal-catalogue .catalog-products article.product-card.rk-landing-product .product-body h3 > a,
  html body:not(.admin-body) main.product-marketplace-page .catalog-products article.product-card .product-body h3,
  html body:not(.admin-body) main article.product-card .product-body h3,
  html body:not(.admin-body) main article.product-card .product-body h3 > a,
  html body:not(.admin-body) main article.product-card .product-body .product-name-english {
    font-size: 15px !important;
  }
}

/* v34: matching English related-product titles; product-detail H1 unchanged. */
html body:not(.admin-body) main.store-page.product-marketplace-page
.rk-recommended-grid .rk-related-product-copy > a {
  font-family: 'Josefin Sans', sans-serif !important;
  font-weight: 500 !important;
}
