/* Global compact typography for all catalog/category/product headings. */
.category-body h3,
.product-card .category-body h3,
.products-head h2,
#modalTitle,
.vest-section-name,
.vest-section-material {
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

.category-body h3,
.product-card .category-body h3 {
  text-wrap: pretty;
  letter-spacing: -0.02em;
}

.products-head h2,
#modalTitle,
.vest-section-name {
  text-wrap: balance;
  letter-spacing: -0.025em;
}

.title-medium { font-size: .94em !important; }
.title-long { font-size: .86em !important; }
.title-xlong { font-size: .79em !important; }

@media (max-width: 640px) {
  /* Main category cards */
  .category-card:not(.product-card) .category-body h3 {
    font-size: 12.5px;
    line-height: 1.05;
    margin-bottom: 3px;
  }

  /* Product cards in every category */
  .product-card .category-body {
    padding: 8px 7px 9px;
  }
  .product-card .category-body h3 {
    font-size: 12px;
    line-height: 1.075;
    margin: 0 0 4px;
  }
  .product-card .category-body h3.title-medium { font-size: 11.6px !important; }
  .product-card .category-body h3.title-long { font-size: 11.1px !important; }
  .product-card .category-body h3.title-xlong { font-size: 10.6px !important; }

  /* Category name at the top of a product page */
  .products-head h2 {
    white-space: normal !important;
    font-size: 20px;
    line-height: 1.02;
    margin: 0;
  }
  .products-head h2.title-medium { font-size: 18.5px !important; }
  .products-head h2.title-long { font-size: 17px !important; }
  .products-head h2.title-xlong { font-size: 15.5px !important; }

  /* Subcategory banners (women + men) */
  .vest-section-head {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }
  .vest-section-name {
    font-size: 15px !important;
    line-height: 1.02 !important;
    letter-spacing: -0.04em !important;
  }
  .vest-section-name.title-medium { font-size: 14.5px !important; }
  .vest-section-name.title-long { font-size: 13.8px !important; }
  .vest-section-name.title-xlong { font-size: 13px !important; }
  .vest-section-material {
    margin-top: 4px !important;
    font-size: 11px !important;
    line-height: 1.14 !important;
  }

  #modalTitle {
    font-size: 21px;
    line-height: 1.05;
  }
}

@media (max-width: 430px) {
  .category-card:not(.product-card) .category-body h3 { font-size: 12px; }
  .product-card .category-body h3 { font-size: 11.6px; }
  .product-card .category-body h3.title-medium { font-size: 11.2px !important; }
  .product-card .category-body h3.title-long { font-size: 10.7px !important; }
  .product-card .category-body h3.title-xlong { font-size: 10.2px !important; }

  .products-head h2 { font-size: 19px; }
  .products-head h2.title-medium { font-size: 17.5px !important; }
  .products-head h2.title-long { font-size: 16px !important; }
  .products-head h2.title-xlong { font-size: 14.7px !important; }

  .vest-section-name { font-size: 14.4px !important; }
  .vest-section-name.title-medium { font-size: 14px !important; }
  .vest-section-name.title-long { font-size: 13.3px !important; }
  .vest-section-name.title-xlong { font-size: 12.7px !important; }
  .vest-section-material { font-size: 10.6px !important; }
}
