/* Shared type scale for storefront section headings. */
:root { --store-section-heading-size: 44px; }
.products .products-tabs__title,
.catalog__title.pdp-products-title,
.collections .collections-head .collections-head__title,
.blog-latest .blog-latest__heading h2,
.blog-index .blog-index__title {
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: var(--store-section-heading-size);
    line-height: 1.08;
    letter-spacing: -.025em;
    text-transform: none;
    margin: 0;
}
.products .products-tabs__title.active,
.catalog__title.pdp-products-title,
.collections .collections-head .collections-head__title,
.blog-latest .blog-latest__heading h2,
.blog-index .blog-index__title { color: #123e32; }
@media (max-width:1024px) {
    :root { --store-section-heading-size: 38px; }
}
@media (max-width:700px) {
    :root { --store-section-heading-size: 32px; }
}
@media (max-width:480px) {
    :root { --store-section-heading-size: 26px; }
}
/* Tabs use the same baseline and active indicator on every screen. */
.products .products-head { align-items: center; }
.products .products-tabs {
    flex: 1 1 auto;
    width: auto;
    justify-content: flex-start;
    align-items: baseline;
    gap: 24px;
    border-bottom: 1px solid #dfe6e1;
}
.products .products-tabs__title {
    flex: 0 0 auto;
    padding: 8px 0 12px;
    color: #78867f;
    white-space: nowrap;
}
.products .products-tabs__title.active { color: #123e32; }
.products .products-tabs__title:first-child::after { content: none; display: none; }
.products .products-tabs__title.active::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: #123e32;
}
@media (max-width:700px) {
    .products .products-tabs { width: 100%; }
    .products .products-controls { display: none; }
}
