/* Products: aligned with the About Us and Services page styling. */
#container-wrapper.products-page { color: var(--ui-ink); }
#container-wrapper.products-page .products-intro { padding: 32px 0 0 !important; }
.products-page #catalog { scroll-margin-top: 130px; }
.products-breadcrumb { display: flex; gap: 12px; font-size: 14px; margin: 0 0 24px; color: var(--ui-muted); }
.products-breadcrumb a { color: var(--ui-blue-700); }
.products-hero { background: var(--ui-header-gradient); border-radius: 16px; padding: 54px; }
.products-hero > .container { max-width: none; padding: 0; }
.products-hero .row { row-gap: 30px; }
.products-hero .hero-kicker { color: #dbe7ff; font-size: 13px; font-weight: 700; letter-spacing: .07em; margin-bottom: 18px; }
.products-hero .banner-content { color: #fff; font-size: clamp(34px, 3.6vw, 50px); font-weight: 700; line-height: 1.14; margin: 0 0 24px; text-transform: none; }
.products-hero .hero-copy { color: #e5eeff; font-size: 17px; line-height: 1.65; margin: 0 0 28px; max-width: 600px; }
.products-hero .hero-actions { gap: 12px; }
.products-hero .hero-actions a { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-size: 15px; font-weight: 700; min-height: 48px; padding: 13px 23px; line-height: 1.3; text-align: center; }
.products-hero .hero-actions .secondary-btn { background: transparent; border: 1px solid rgba(255,255,255,.6); color: #fff; }
.products-hero .hero-actions .secondary-btn:hover { background: rgba(255,255,255,.12); }
.products-hero .hero-product-frame { background: #fff; border: 1px solid var(--ui-line); border-radius: 12px; padding: 28px; box-shadow: var(--ui-shadow-md); }
.products-hero .hero-product-frame img { max-height: 330px; width: 100%; object-fit: contain; filter: none; }
#container-wrapper.products-page .catalog-section { padding: 56px 0 64px; }
.products-page .catalog-intro { align-items: center; gap: 30px; margin-bottom: 30px; }
#container-wrapper.products-page .catalog-intro .section-title { font-size: clamp(28px, 3vw, 38px); line-height: 1.2; margin: 0 0 16px; max-width: none; }
.products-page .catalog-intro .section-eyebrow { font-size: 13px; font-weight: 700; margin-bottom: 12px; }
.products-page #catalogSummary { font-size: 16px; margin: 0; }
.products-page .catalog-count-card { background: #eef3ff; border: 1px solid var(--ui-line); border-radius: 12px; padding: 22px 28px; box-shadow: none; min-width: 170px; }
.products-page .catalog-count-card strong { font-size: 38px; color: var(--ui-blue-700); line-height: 1.1; }
.products-page .catalog-count-card span { font-size: 12px; font-weight: 700; color: var(--ui-blue-900); }
.products-page .catalog-tools { grid-template-columns: minmax(0, 1fr); padding: 28px; border-radius: 12px; background: #edf2fa; box-shadow: none; gap: 22px; margin-bottom: 30px; }
.products-page .catalog-search { max-width: 600px; }
.products-page .catalog-search label { font-size: 14px; font-weight: 700; }
.products-page .catalog-search input { background: #fff; min-height: 50px; font-size: 16px; border-radius: 8px; }
.products-page .catalog-filters { gap: 10px; }
.products-page .catalog-filters a { min-height: 44px; font-size: 14px; font-weight: 600; padding: 12px 18px; line-height: 1.3; }
.products-page .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.products-page .catalog-card { border-radius: 12px; box-shadow: none; transition: border-color .15s, box-shadow .15s; }
.products-page .catalog-card:hover, .products-page .catalog-card:focus-within { border-color: #b8cdef; box-shadow: var(--ui-shadow-sm); }
.products-page .catalog-card-image { height: 250px; background: #fff; padding: 24px; }
.products-page .catalog-card-image img { border-radius: 0; box-shadow: none; }
.products-page .catalog-card-body { padding: 24px 24px 0; }
.products-page .catalog-category { font-size: 12px; font-weight: 700; line-height: 1.45; margin-bottom: 12px; color: var(--ui-blue-700); }
.products-page .catalog-card h3 { font-size: 23px; font-weight: 700; line-height: 1.25; margin-bottom: 14px; }
.products-page .catalog-card p { font-size: 16px !important; line-height: 1.65 !important; }
.products-page .catalog-card-actions { padding: 24px; gap: 10px; }
.products-page .catalog-primary-action, .products-page .catalog-secondary-action { min-height: 46px; font-size: 14px; font-weight: 700; line-height: 1.3; }
.products-page .catalog-secondary-action { background: #fff; border-color: var(--ui-line); color: var(--ui-blue-900); }
.products-page .catalog-secondary-action:hover { background: #eef3ff; border-color: #b8cdef; }
.products-page .catalog-email-action { background: transparent; border: 0; min-height: 44px; font-size: 13px; font-weight: 600; padding: 8px 12px; color: var(--ui-blue-700); }
.products-page .catalog-email-action:hover { text-decoration: underline; background: transparent; }
.products-page .catalog-product-dialog { width: min(980px, calc(100% - 32px)); border: 1px solid var(--ui-line); border-radius: 16px; padding: 40px; gap: 32px; }
.products-page .catalog-product-modal-image { border-radius: 12px; padding: 20px; background: #f7f9fc; }
.products-page .catalog-product-modal-content h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 700; line-height: 1.2; }
.products-page .catalog-product-close { width: 44px; height: 44px; background: #eef3ff; border-radius: 50%; top: 12px; right: 12px; }
.products-page .catalog-product-modal-content { min-width: 0; overflow-wrap: anywhere; }
.products-page .catalog-empty { border: 1px solid var(--ui-line); border-radius: 12px; padding: 40px 24px; background: #fff; text-align: center; }
.products-page .catalog-empty h3 { font-size: 24px; font-weight: 700; color: var(--ui-blue-900); }
@media (max-width: 991px) {
 .products-hero { padding: 36px; }
 .products-hero .hero-product-frame { max-width: 500px; }
 .products-page .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 #container-wrapper.products-page .catalog-section { padding: 44px 0; }
}
@media (max-width: 700px) {
 .products-page .catalog-product-dialog { grid-template-columns: minmax(0, 1fr); padding: 64px 22px 24px; gap: 20px; }
 .products-page .catalog-product-modal-image { min-height: 200px; }
 .products-page .catalog-product-modal-image img { max-height: 280px; }
 .products-page .catalog-product-modal-content { padding: 0; }
}
@media (max-width: 575px) {
 #container-wrapper.products-page .products-intro { padding-top: 24px !important; }
 .products-hero { padding: 28px 22px; border-radius: 12px; }
 .products-hero .banner-content { font-size: 34px; }
 .products-hero .hero-product-frame { padding: 22px; }
 .products-page .catalog-intro { gap: 20px; align-items: flex-start; flex-direction: column; }
 .products-page .catalog-count-card { display: flex; align-items: center; gap: 16px; min-width: 0; padding: 16px 20px; }
 .products-page .catalog-count-card span { margin: 0; }
 .products-page .catalog-tools { padding: 22px; }
 .products-page .catalog-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
 .products-page .catalog-card-image { height: 250px; }
 .products-page .catalog-filters a { max-width: 100%; }
 .products-page #catalog { scroll-margin-top: 90px; }
}
@media (prefers-reduced-motion: reduce) { .products-page .catalog-card { transition: none; } }
/* Override the legacy heading rule inside the main content wrapper. */
#container-wrapper.products-page .products-hero .banner-content { font-size: clamp(34px, 3.6vw, 50px) !important; line-height: 1.14; }
@media (max-width: 575px) {
 #container-wrapper.products-page .products-hero .banner-content { font-size: 34px !important; }
 .products-page .catalog-intro { grid-template-columns: minmax(0, 1fr); }
}