/*
 * Rafity.cz – základní čitelnost obsahových textů
 * Soubor záměrně nezasahuje navigaci, tlačítka, ceny ani produktové štítky.
 */

:where(
  .welcome,
  .content-inner,
  .category-content,
  .article-detail,
  .news-item-detail,
  .product-detail-description,
  .basic-description,
  .extended-description,
  .detail-parameters
) :where(p, li) {
  font-size: 16px;
  line-height: 1.65;
}

:where(
  .welcome,
  .content-inner,
  .category-content,
  .article-detail,
  .news-item-detail,
  .product-detail-description,
  .basic-description,
  .extended-description
) small {
  font-size: 14px;
  line-height: 1.5;
}

/* Text ve formulářových polích musí zůstat dobře čitelný i na mobilu. */
:where(
  .content-inner,
  .product-detail,
  .contact-form,
  .form
) :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
  font-size: 16px;
}

@media (max-width: 767px) {
  :where(
    .welcome,
    .content-inner,
    .category-content,
    .article-detail,
    .news-item-detail,
    .product-detail-description,
    .basic-description,
    .extended-description,
    .detail-parameters
  ) :where(p, li) {
    font-size: 16px;
    line-height: 1.6;
  }
}
