/* Legacy-inspired 1600px layout, product sidebars and inquiry system. */

.site-shell { width: calc(100% - 100px); max-width: 1600px; }
.site-shell--narrow { max-width: 1200px; }
.section { padding-top: 96px; padding-bottom: 96px; }

.site-header { position: sticky; top: 0; box-shadow: 0 3px 20px rgba(15, 39, 68, .09); }
.site-header__inner { min-height: 100px; }
.site-logo { flex-basis: 245px; }
.site-logo img { max-width: 240px; max-height: 68px; }
.site-navigation .menu > .menu-item > a { min-height: 100px; padding-right: 22px; padding-left: 22px; font-size: 16px; }
.site-navigation .menu > .menu-item > a:after { position: absolute; right: 22px; bottom: 0; left: 22px; height: 3px; background: var(--blue-700); content: ""; transform: scaleX(0); transition: transform .2s ease; }
.site-navigation .menu > .menu-item > a:hover:after,
.site-navigation .current-menu-item > a:after,
.site-navigation .current-menu-ancestor > a:after { transform: scaleX(1); }
.header-quote { min-height: 48px; border: 1px solid var(--blue-700); border-radius: 25px; font: inherit; cursor: pointer; }
.header-quote span { margin-right: 8px; }

.home-hero, .home-hero__content { min-height: 720px; }
.home-hero__content { max-width: 1600px; }
.home-hero h1 { max-width: 900px; font-size: 68px; }
.home-hero__content > p:not(.eyebrow) { max-width: 820px; }
.category-grid { grid-auto-rows: 300px; }
.content-card__image { height: 280px; }

/* Product archive. */
.product-archive-head { position: relative; min-height: 390px; overflow: hidden; background: #062f58; }
.product-archive-head > img,
.product-archive-head__shade { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; }
.product-archive-head > img { object-fit: cover; }
.product-archive-head__shade { background: linear-gradient(90deg, rgba(4, 34, 66, .92), rgba(4, 45, 84, .48), rgba(4, 45, 84, .08)); }
.product-archive-head__content { position: relative; z-index: 1; display: flex; min-height: 390px; flex-direction: column; justify-content: center; color: #fff; }
.product-archive-head .breadcrumbs { margin-bottom: 28px; color: rgba(255,255,255,.78); }
.product-archive-head .breadcrumbs a { color: #fff; }
.product-archive-head h1 { max-width: 980px; margin: 0; color: #fff; font-size: 56px; }
.product-archive-intro { padding: 58px 0 10px; background: #fff; }
.product-archive-intro .prose { max-width: none; color: #405267; }
.product-archive-main { padding: 65px 0 100px; background: #f5f6f8; }
.product-archive-layout { display: grid; grid-template-columns: 350px minmax(0, 1fr); align-items: start; grid-gap: 46px; }
.product-archive-results { min-width: 0; }
.product-archive-results__heading { display: flex; margin-bottom: 28px; padding-bottom: 22px; align-items: flex-end; justify-content: space-between; border-bottom: 1px solid #dce2e8; }
.product-archive-results__heading h2 { margin: 0; font-size: 38px; }
.product-archive-results__heading > span { color: var(--muted); font-size: 14px; }
.product-archive-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-gap: 28px; }
.product-archive-grid .content-card { box-shadow: 0 6px 22px rgba(14, 43, 72, .08); }
.product-archive-grid .content-card__image { height: 270px; background: #fff; }
.product-archive-grid .content-card__image img { object-fit: contain; }
.product-archive-grid .content-card__body { min-height: 92px; padding: 22px 18px; text-align: center; }
.product-archive-grid .content-card__body .eyebrow,
.product-archive-grid .content-card__body > p:not(.eyebrow),
.product-archive-grid .content-card__body > .text-link { display: none; }
.product-archive-grid .content-card__body h2 { margin: 0; font-size: 18px; line-height: 1.45; }
.product-archive-copy { padding: 85px 0; background: #fff; }
.product-archive-copy .prose { max-width: 1300px; }

/* Product navigation sidebar. */
.product-sidebar { min-width: 0; }
.product-sidebar__panel { margin-bottom: 28px; overflow: hidden; border: 1px solid #dfe5eb; background: #fff; box-shadow: 0 5px 18px rgba(19, 45, 70, .06); }
.product-sidebar__panel > h2 { margin: 0; padding: 18px 24px; color: #fff; background: var(--blue-700); font-size: 20px; letter-spacing: 0; }
.product-category-nav a { display: flex; min-height: 54px; padding: 10px 20px; align-items: center; justify-content: space-between; border-bottom: 1px solid #e7ebef; color: #465769; font-size: 15px; line-height: 1.35; }
.product-category-nav a b { margin-left: 12px; color: #9aa8b5; font-size: 22px; font-weight: 400; }
.product-category-nav a:hover,
.product-category-nav a.is-active { color: #fff; background: var(--blue-700); }
.product-category-nav a:hover b,
.product-category-nav a.is-active b { color: #fff; }
.product-category-nav__root { font-weight: 800; }
.product-category-nav__family { font-weight: 700; }
.product-category-nav__children { background: #f7f8fa; }
.product-category-nav__children a { min-height: 44px; padding-left: 32px; font-size: 13px; }
.product-category-nav__children a span:before { margin-right: 8px; content: "—"; }
.product-sidebar__contact { margin-bottom: 28px; padding: 32px 26px; color: #fff; background: linear-gradient(145deg, #073968, #0c66ac); box-shadow: 0 10px 26px rgba(8, 62, 108, .22); }
.product-sidebar__contact p { margin-bottom: 8px; color: #bfe3f3; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.product-sidebar__contact h2 { color: #fff; font-size: 25px; }
.product-sidebar__contact button { min-height: 44px; padding: 0 20px; border: 1px solid #fff; color: #073968; background: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.recommended-products { padding: 10px 20px 16px; }
.recommended-products a { display: block; padding: 14px 0; border-bottom: 1px solid #e6ebef; color: var(--ink); }
.recommended-products a:last-child { border-bottom: 0; }
.recommended-products img { display: block; width: 100%; height: 155px; margin-bottom: 10px; object-fit: cover; }
.recommended-products strong { display: block; font-size: 14px; line-height: 1.45; text-align: center; }
.recommended-products a:hover strong { color: var(--blue-700); }

/* Wide product detail. */
.product-detail-page { padding-top: 26px; background: #f4f5f7; }
.product-detail-breadcrumbs { padding-top: 10px; padding-bottom: 24px; }
.product-detail-breadcrumbs .breadcrumbs { color: var(--muted); }
.product-detail-main { padding-bottom: 100px; }
.product-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; align-items: start; grid-gap: 42px; }
.product-detail-content { min-width: 0; }
.product-detail-layout > .product-sidebar { position: sticky; top: 120px; }
.product-overview { padding: 38px; background: #fff; box-shadow: 0 8px 25px rgba(15, 43, 69, .08); }
.product-overview__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr); align-items: start; grid-gap: 38px; }
.product-overview .product-gallery__main { min-height: 500px; padding: 10px; }
.product-overview .product-gallery__main img { max-height: 600px; }
.product-overview .product-summary { padding: 10px 5px 10px 18px; box-shadow: none; }
.product-overview .product-summary h1 { font-size: 24px; }
.product-overview .product-actions .button { border-radius: 24px; cursor: pointer; }
.product-overview .product-actions .button.whatsapp-button{ background: #28a745;border: 1px solid #28a745;}
.product-tip { margin-top: 18px; padding: 13px 16px; color: #516274; background: #f2f5f8; font-size: 13px; line-height: 1.55; }
.product-anchor-nav { position: sticky; top: 100px; z-index: 30; display: flex; margin-top: 28px; overflow-x: auto; background: #fff; box-shadow: 0 4px 18px rgba(19, 47, 74, .08); }
.product-anchor-nav a,
.product-anchor-nav button { flex: 1 0 auto; min-height: 58px; padding: 0 19px; border: 0; border-right: 1px solid #e3e7eb; color: #34495e; background: #fff; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.product-anchor-nav a { display: inline-flex; align-items: center; justify-content: center; }
.product-anchor-nav a:hover,
.product-anchor-nav button:hover { color: #fff; background: var(--blue-700); }
.product-detail-section { margin-top: 28px; padding: 42px; background: #fff; box-shadow: 0 5px 18px rgba(19, 45, 70, .06); scroll-margin-top: 175px; }
.product-detail-section > h2 { margin-bottom: 28px; padding-bottom: 16px; border-bottom: 1px solid #dfe5ea; font-size: 30px; }
.product-detail-section > h2:after { display: block; width: 62px; height: 3px; margin-top: 16px; background: var(--blue-700); content: ""; }
.product-detail-section .prose { max-width: none; }
.product-detail-section .video-frame { margin: 0; }
.product-factory-grid { display: grid; grid-template-columns: 1fr 1.2fr 1fr; grid-gap: 12px; }
.product-factory-grid > div { display: grid; grid-template-rows: 1fr 1fr; grid-gap: 12px; }
.product-factory-grid img { width: 100%; height: 100%; object-fit: cover; }
.product-factory-grid__tall { min-height: 570px; }
.product-inline-inquiry { display: flex; margin-top: 28px; padding: 42px; align-items: center; justify-content: space-between; color: #fff; background: linear-gradient(110deg, #073968, #0c6eaf); }
.product-inline-inquiry h2 { color: #fff; font-size: 30px; }
.product-inline-inquiry p:not(.eyebrow) { max-width: 720px; color: #d7edf7; }
.product-inline-inquiry .button { flex: 0 0 auto; margin-left: 35px; cursor: pointer; }
.product-related .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-related .content-card__image { height: 190px; }
.product-related .content-card__body { padding: 18px; }
.product-related .content-card__body h2 { font-size: 17px; }
.product-related .content-card__body > p:not(.eyebrow) { display: none; }

/* Restored homepage sections. */
.legacy-section-heading { margin-bottom: 44px; text-align: center; }
.legacy-section-heading h2 { margin-bottom: 18px; }
.legacy-section-heading > span { display: block; width: 66px; height: 3px; margin: 0 auto; background: var(--blue-700); }
.customer-logo-grid { display: grid; overflow: hidden; border-top: 1px solid #e4e8ec; border-left: 1px solid #e4e8ec; grid-template-columns: repeat(6, 1fr); }
.customer-logo-card { display: grid; min-height: 145px; padding: 24px; place-items: center; border-right: 1px solid #e4e8ec; border-bottom: 1px solid #e4e8ec; background: #fff; }
.customer-logo-card img { max-width: 150px; max-height: 70px; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .2s ease, opacity .2s ease, transform .2s ease; }
.customer-logo-card:hover img { filter: none; opacity: 1; transform: scale(1.06); }
.technical-support-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-gap: 24px; }
.technical-support-card { position: relative; display: block; min-width: 0; height: 310px; padding: 0; overflow: hidden; border: 0; color: #fff; background: #063b73; text-align: left; cursor: pointer; }
.technical-support-card:after { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(0deg, rgba(3, 30, 57, .92), rgba(3, 30, 57, .06) 72%); content: ""; }
.technical-support-card > img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.technical-support-card:hover > img { transform: scale(1.05); }
.technical-support-card > span { position: absolute; right: 28px; bottom: 26px; left: 28px; z-index: 1; }
.technical-support-card small { display: block; margin-bottom: 6px; color: #9fdcf1; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.technical-support-card strong { display: inline-block; color: #fff; font-size: 23px; }
.technical-support-card b { float: right; color: #fff; font-size: 28px; }

/* Site-wide inquiry modal and right contact bar. */
.inquiry-modal { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1000; display: flex; padding: 30px; visibility: hidden; align-items: center; justify-content: center; opacity: 0; transition: opacity .2s ease, visibility .2s ease; }
.inquiry-modal.is-open { visibility: visible; opacity: 1; }
.inquiry-modal__backdrop { position: absolute; top: 0; right: 0; bottom: 0; left: 0; border: 0; background: rgba(0, 20, 39, .72); cursor: pointer; }
.inquiry-modal__panel { position: relative; z-index: 1; display: grid; width: 100%; max-width: 980px; max-height: calc(100vh - 60px); overflow: auto; grid-template-columns: 37% 63%; background: #fff; box-shadow: 0 24px 75px rgba(0, 20, 40, .35); }
.inquiry-modal__close { position: absolute; top: 10px; right: 14px; z-index: 2; width: 42px; height: 42px; border: 0; color: #617083; background: transparent; font-size: 34px; line-height: 1; cursor: pointer; }
.inquiry-modal__intro { padding: 55px 38px; color: #dcecf8; background: linear-gradient(155deg, rgba(4, 45, 82, .96), rgba(8, 101, 163, .95)), url("../img/img56.jpg") center/cover; }
.inquiry-modal__intro h2 { color: #fff; font-size: 36px; }
.inquiry-modal__intro ul { margin: 30px 0 0; padding: 0; list-style: none; }
.inquiry-modal__intro li { position: relative; margin: 13px 0; padding-left: 25px; }
.inquiry-modal__intro li:before { position: absolute; left: 0; color: #7ee0f2; content: "✓"; font-weight: 900; }
.inquiry-modal__form { padding: 50px 48px 42px; }
.inquiry-modal__form > h2 { margin-bottom: 8px; font-size: 34px; }
.inquiry-modal__form > p:not(.eyebrow) { color: var(--muted); font-size: 14px; }
.site-inquiry-form { display: grid; margin-top: 25px; grid-template-columns: 1fr 1fr; grid-gap: 16px; }
.site-inquiry-form .hjmf-field { margin: 0; }
.site-inquiry-form .hjmf-field-key-phone,
.site-inquiry-form .hjmf-field-textarea,
.site-inquiry-form .hjmf-response,
.site-inquiry-form .hjmf-submit { grid-column: 1 / -1; }
.site-inquiry-form label { display: block; margin-bottom: 6px; color: #34485d; font-size: 13px; font-weight: 800; }
.site-inquiry-form input,
.site-inquiry-form select,
.site-inquiry-form textarea { width: 100%; border: 1px solid #dce3e9; border-radius: 0; color: var(--ink); background: #f8fafb; font: inherit; }
.site-inquiry-form input,
.site-inquiry-form select { height: 48px; padding: 0 13px; }
.site-inquiry-form textarea { min-height: 112px; padding: 13px; resize: vertical; }
.site-inquiry-form .hjmf-submit { min-height: 50px; border: 0; color: #fff; background: var(--blue-700); font: inherit; font-weight: 800; cursor: pointer; }
.site-inquiry-form .hjmf-response { min-height: 0; font-size: 14px; }
.site-inquiry-form .hjmf-response-success { padding: 10px; color: #146b35; background: #e9f7ee; }
.site-inquiry-form .hjmf-response-error { padding: 10px; color: #9f2530; background: #fff0f1; }
.inquiry-open { overflow: hidden; }
.floating-contact { position: fixed; top: 55%; right: 0; z-index: 150; transform: translateY(-50%); }
.floating-contact__item { position: relative; display: flex; width: 54px; height: 54px; margin: 6px 0; padding: 0; align-items: center; justify-content: center; border: 0; border-radius: 28px 0 0 28px; color: #fff; background: #0b5fa2; font: inherit; text-decoration: none; box-shadow: 0 4px 14px rgba(8, 35, 62, .2); cursor: pointer; }
.floating-contact__item > span { font-size: 17px; font-weight: 900; }
.floating-contact__item > b { position: absolute; top: 0; right: 100%; display: flex; height: 54px; padding: 0 18px; visibility: hidden; align-items: center; border-radius: 27px 0 0 27px; color: #fff; background: inherit; font-size: 13px; white-space: nowrap; opacity: 0; transform: translateX(8px); transition: opacity .18s ease, transform .18s ease, visibility .18s; }
.floating-contact__item:hover > b,
.floating-contact__item:focus > b { visibility: visible; opacity: 1; transform: none; }
.floating-contact__item--whatsapp { background: #28a745; }
.floating-contact__item--inquiry { background: #1d499e; }
.floating-contact__item--email { background: #ee6100; }
.floating-contact__item--facebook { background: #1b74e4; }
.floating-contact__item--top { background: #3e5266; }

@media (max-width: 1380px) {
    .site-shell { width: calc(100% - 60px); }
    .site-navigation .menu > .menu-item > a { padding-right: 13px; padding-left: 13px; font-size: 14px; }
    .site-navigation .menu > .menu-item > a:after { right: 13px; left: 13px; }
    .site-logo { flex-basis: 205px; }
    .site-logo img { max-width: 100px; }
    .product-archive-layout { grid-template-columns: 290px minmax(0, 1fr); grid-gap: 30px; }
    .product-archive-grid { grid-gap: 20px; }
    .product-archive-grid .content-card__image { height: 230px; }
    .product-detail-layout { grid-template-columns: minmax(0, 1fr) 285px; grid-gap: 28px; }
    .product-overview { padding: 28px; }
    .product-overview__grid { grid-template-columns: minmax(0, 1fr) minmax(350px, .9fr); grid-gap: 25px; }
}

@media (max-width: 1020px) {
    .site-shell { width: calc(100% - 40px); }
    .site-header__inner { min-height: 50px; }
    .site-navigation { top: 76px; }
    .home-hero, .home-hero__content { min-height: 590px; }
    .home-hero h1 { font-size: 50px; }
    .product-archive-layout,
    .product-detail-layout { display: block; }
    .product-sidebar { margin-bottom: 30px; }
    .product-detail-layout > .product-sidebar { position: static; margin-top: 30px; }
    .product-category-nav { display: flex; padding: 10px; overflow-x: auto; background: #f2f4f6; }
    .product-category-nav__group { flex: 0 0 auto; }
    .product-category-nav__children { display: none; }
    .product-category-nav a { min-height: 44px; margin-right: 8px; border: 0; background: #fff; white-space: nowrap; }
    .product-sidebar__contact,
    .product-sidebar__recommended { display: none; }
    .product-archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .product-overview__grid { grid-template-columns: 1fr; }
    .product-overview .product-summary { padding: 25px 5px 5px; }
    .product-anchor-nav { top: 76px; }
    .customer-logo-grid { grid-template-columns: repeat(4, 1fr); }
    .technical-support-card { height: 270px; }
    .inquiry-modal__panel { grid-template-columns: 1fr; max-width: 680px; }
    .inquiry-modal__intro { display: none; }
}

@media (max-width: 680px) {
    .site-shell { width: calc(100% - 30px); }
    .section { padding-top: 62px; padding-bottom: 62px; }
    .home-hero, .home-hero__content { min-height: 540px; }
    .home-hero h1 { font-size: 40px; }
    .product-archive-head,
    .product-archive-head__content { min-height: 300px; }
    .product-archive-head h1 { font-size: 38px; }
    .product-archive-intro { padding-top: 40px; }
    .product-archive-main { padding-top: 35px; padding-bottom: 65px; }
    .product-archive-results__heading { display: block; }
    .product-archive-results__heading h2 { font-size: 30px; }
    .product-archive-results__heading > span { display: block; margin-top: 8px; }
    .product-archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-gap: 12px; }
    .product-archive-grid .content-card__image { height: 155px; }
    .product-archive-grid .content-card__body { min-height: 78px; padding: 14px 10px; }
    .product-archive-grid .content-card__body h2 { font-size: 13px; }
    .product-overview { padding: 16px; }
    .product-overview .product-gallery__main { min-height: 300px; }
    .product-overview .product-summary h1 { font-size: 31px; }
    .product-detail-section { padding: 25px 18px; }
    .product-detail-section > h2 { font-size: 25px; }
    .product-anchor-nav a,
    .product-anchor-nav button { min-height: 50px; padding: 0 14px; font-size: 12px; }
    .product-factory-grid { grid-template-columns: 1fr 1fr; }
    .product-factory-grid__tall { grid-column: 1 / -1; grid-row: 1; min-height: 340px; }
    .product-inline-inquiry { display: block; padding: 28px 22px; }
    .product-inline-inquiry .button { margin: 18px 0 0; }
    .product-related .card-grid { grid-template-columns: 1fr; }
    .customer-logo-grid { grid-template-columns: repeat(2, 1fr); }
    .customer-logo-card { min-height: 110px; padding: 18px; }
    .technical-support-grid { grid-template-columns: 1fr; }
    .technical-support-card { height: 240px; }
    .inquiry-modal { padding: 12px; }
    .inquiry-modal__panel { max-height: calc(100vh - 24px); }
    .inquiry-modal__form { padding: 42px 20px 24px; }
    .inquiry-modal__form > h2 { font-size: 20px; }
    .site-inquiry-form { display: block; }
    .inquiry-modal__form .eyebrow{    display: none;}
    .site-inquiry-form .hjmf-field { margin-bottom: 12px; }
    .site-inquiry-form .hjmf-submit { width: 100%; }
    .floating-contact { top: auto; right: 0; bottom: 0; left: 0; display: flex; transform: none; background: #1d499e; }
    .floating-contact__item { flex: 1; width: auto; height: 52px; margin: 0; border-right: 1px solid rgba(255,255,255,.25); border-radius: 0; box-shadow: none; }
    .floating-contact__item > b { position: static; display: inline; height: auto; margin-left: 7px; padding: 0; visibility: visible; border-radius: 0; font-size: 11px; opacity: 1; transform: none; }
    .floating-contact__item--facebook,
    .floating-contact__item--top { display: none; }
    .site-footer { padding-bottom: 52px; }
}
