/* Products section (catalogue, category and product pages) – loaded after styles.css and home-2.css.
   Follows the home-2 design: logo-blue palette, Outfit, rounded cards, soft shadows. */
body.catalog { background: #fff; }
.catalog .site-header.always { position: sticky; top: 0; transform: none; opacity: 1; visibility: visible; pointer-events: auto; background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px); box-shadow: 0 1px 0 rgba(217, 226, 236, .7); }
.catalog .site-header .main-nav { gap: 30px; }
.nav-link.is-current { color: var(--brand); font-weight: 600; }
.nav-link.is-current::after { transform: scaleX(1); right: 0; }
.topbar { background: var(--navy); color: rgba(255, 255, 255, .8); font-size: 12px; }
.topbar .container { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.topbar a { margin-left: 20px; } .topbar a:hover { color: #fff; }
.btn-line { border: 1px solid #B9C9DC; color: var(--navy); background: #fff; }
.btn-line:hover { border-color: var(--brand); color: var(--brand); }
.wordmark { font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--brand); text-align: center; line-height: 1.25; }

.crumb { font-size: 12.5px; color: var(--muted); margin-bottom: 22px; }
.crumb a { color: var(--slate); } .crumb a:hover { color: var(--brand); } .crumb span { color: var(--navy); }
.cat-hero { padding: 34px 0 40px; background: radial-gradient(900px 480px at 85% 0%, #fff 0%, rgba(255, 255, 255, 0) 70%), linear-gradient(180deg, #F6F8FE 0%, #E6ECFA 100%); }
.cat-hero.slim { padding-bottom: 32px; }
.cat-hero h1 { font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif; font-weight: 800; font-size: clamp(32px, 4.2vw, 56px); letter-spacing: -.04em; line-height: 1.06; margin: 14px 0 14px; max-width: 16em; }
.cat-hero h1 .grad { display: inline-block; padding-bottom: .1em; }
.cat-sub { font-size: 16.5px; line-height: 1.6; color: var(--slate); max-width: 620px; }
.cat-sub.wide { max-width: 860px; }
.cat-search { display: flex; align-items: center; gap: 12px; max-width: 620px; height: 56px; margin-top: 26px; padding: 0 20px; border-radius: 16px; background: #fff; border: 1px solid #DCE4F3; box-shadow: 0 10px 30px rgba(13, 26, 69, .07); color: var(--slate); }
.cat-search.sm { height: 46px; margin: 0 0 18px; border-radius: 12px; box-shadow: none; padding: 0 14px; }
.cat-search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47, 84, 184, .14); }
.cat-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 15px; color: var(--navy); }
.cat-try { margin-top: 12px; font-size: 13px; color: var(--muted); }
.cat-try button { margin-left: 8px; padding: 4px 11px; border-radius: 999px; background: #fff; border: 1px solid #DCE4F3; font-size: 12.5px; color: var(--navy); transition: border-color .2s, color .2s; }
.cat-try button:hover { border-color: var(--brand); color: var(--brand); }

.cat-body { padding: 44px 0 80px; }
.sub-h { font-size: 26px; font-weight: 600; letter-spacing: -.02em; margin: 0 0 20px; }
.sub-h:not(:first-child) { margin-top: 54px; }
.cc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cc { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 20px; background: #F5F8FE; border: 1px solid #E6ECF8; transition: background .3s, border-color .3s, color .3s, transform .4s var(--ease), box-shadow .4s var(--ease); }
.cc-top { display: flex; justify-content: space-between; align-items: center; }
.cc-top b { font-size: 12px; font-weight: 600; letter-spacing: .12em; color: var(--blue); }
.cc-top i { font-style: normal; font-size: 11.5px; padding: 4px 10px; border-radius: 999px; background: #fff; color: var(--slate); }
.cc strong { font-size: 20px; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; margin-top: 6px; }
.cc-txt { font-size: 13.5px; line-height: 1.55; color: var(--slate); flex: 1; }
.cc-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; padding-top: 14px; border-top: 1px solid #DDE5F5; }
.cc-foot small { font-size: 11.5px; color: var(--muted); }
.cc-foot em { font-style: normal; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--blue); white-space: nowrap; }
.cc-foot svg { width: 13px; height: 13px; transition: transform .3s; }
.cc:hover { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-4px); box-shadow: 0 22px 46px rgba(33, 58, 130, .28); }
.cc:hover .cc-txt, .cc:hover .cc-foot small { color: rgba(255, 255, 255, .8); } .cc:hover .cc-top b, .cc:hover .cc-foot em { color: #C9D6FB; }
.cc:hover .cc-foot { border-color: rgba(255, 255, 255, .2); } .cc:hover .cc-foot svg { transform: translateX(4px); }
.bp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.bp { display: grid; grid-template-columns: 1fr auto 16px; align-items: center; gap: 12px; height: 72px; padding: 0 18px; border-radius: 16px; border: 1px solid #E3E9F6; background: #fff; transition: border-color .25s, box-shadow .35s var(--ease), transform .35s var(--ease); }
.bp img { max-height: 26px; max-width: 130px; width: auto; object-fit: contain; justify-self: start; } .bp .wordmark { text-align: left; }
.bp span { font-size: 11.5px; color: var(--muted); } .bp svg { width: 14px; height: 14px; color: var(--blue); }
.bp:hover { border-color: var(--brand); box-shadow: var(--shadow-md); transform: translateY(-2px); }

.quote { margin-top: 54px; padding: 30px 34px; border-radius: 24px; color: #fff; background: radial-gradient(520px 260px at 90% 130%, rgba(143, 169, 242, .5), rgba(143, 169, 242, 0) 70%), linear-gradient(120deg, #22408F, #3152B2); scroll-margin-top: 110px; }
.quote-head { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.quote h2 { font-size: 24px; font-weight: 600; } .quote p { color: rgba(255, 255, 255, .8); font-size: 14px; margin-top: 4px; }
.quote-act { display: flex; align-items: center; gap: 20px; font-size: 13.5px; color: rgba(255, 255, 255, .8); } .quote-act b { color: #fff; }
.quote-list { display: grid; gap: 8px; margin-top: 18px; }
.quote-list:empty { display: none; }
.quote-list li { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; padding: 11px 16px; border-radius: 12px; background: rgba(255, 255, 255, .09); font-size: 14px; }
.quote-list small { color: #A9BEFA; font-size: 12px; } .quote-list button { font-size: 12px; color: rgba(255, 255, 255, .7); text-decoration: underline; }
/* the quote list inside the contact form (light or dark form) */
.contact-form .cf-quote { padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(130, 145, 180, .38); background: rgba(130, 145, 180, .12); }
.contact-form .cf-quote[hidden] { display: none; }
.cf-quote-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; font-size: 13.5px; }
.cf-quote-head a { font-size: 12px; text-decoration: underline; opacity: .8; }
.cf-quote ul { display: grid; gap: 6px; max-height: 196px; overflow-y: auto; margin: 0; padding: 0; list-style: none; }
.cf-quote li { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; padding: 8px 12px; border-radius: 10px; background: rgba(130, 145, 180, .14); font-size: 13.5px; line-height: 1.3; }
.cf-quote li small { grid-column: 1; font-size: 11px; opacity: .72; }
.cf-quote li button { grid-column: 2; grid-row: 1 / span 2; font-size: 11.5px; text-decoration: underline; opacity: .75; }
.cf-quote li button:hover, .cf-quote-head a:hover { opacity: 1; }

.res-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.res-head h2 { font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.cat-count { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.cat-empty { padding: 50px 0; text-align: center; color: var(--slate); }
.cl { display: grid; grid-template-columns: 250px 1fr; gap: 36px; align-items: start; }
.side { position: sticky; top: 96px; }
.side fieldset { border: 0; margin: 0 0 20px; padding: 0; display: grid; gap: 9px; }
.side legend { font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.side label { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--navy); cursor: pointer; }
.side input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--brand); }
.help { padding: 20px; border-radius: 18px; color: #fff; background: linear-gradient(140deg, #22408F, #3152B2); }
.help strong { font-size: 16px; font-weight: 600; } .help p { font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, .82); margin: 8px 0 12px; }
.help a { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; } .help svg { width: 13px; height: 13px; }

.pg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
#resGrid.pg, #relGrid.pg { grid-template-columns: repeat(4, 1fr); }
.pc { display: flex; flex-direction: column; padding: 14px 14px 16px; border-radius: 20px; background: #fff; border: 1px solid #E3E9F6; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .25s; }
.pc-link { display: flex; flex-direction: column; flex: 1; }
.pc-pic, .pd-pic { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 14px; background: linear-gradient(160deg, #EEF3FC, #F8FAFE); margin-bottom: 14px; overflow: hidden; }
.pc-pic img, .pd-pic img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.pc-pic.no-img img, .pd-pic.no-img img { inset: 30% 20%; width: 60%; height: 40%; opacity: .7; }
.pc-pic.no-img .wordmark, .pd-pic.no-img .wordmark { padding: 0 16px; opacity: .8; }
.pc-meta { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 0 4px; }
.pc-meta small { font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.pc-meta i { font-style: normal; font-size: 10.5px; padding: 3px 9px; border-radius: 999px; background: #EEF2FB; color: var(--slate); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 55%; }
.pc strong { font-size: 16.5px; font-weight: 600; line-height: 1.25; margin: 8px 0 6px; padding: 0 4px; color: var(--navy); }
.pc-desc { font-size: 13px; line-height: 1.5; color: var(--slate); padding: 0 4px; flex: 1; }
.pc-act { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.pc-act .btn { justify-content: center; height: 38px; padding: 0 10px; font-size: 13px; box-shadow: none; border-radius: 10px; }
.pc-act .btn.on { border-color: var(--brand); color: var(--brand); background: #EEF2FB; }
.pc:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #C3D0EE; }
.pc:hover .pc-pic img { transform: scale(1.06); }

.used { margin-top: 44px; } .used h2, .pd-sections h2 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 14px; }
.used div { display: flex; flex-wrap: wrap; gap: 10px; }
.used a { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px; border: 1px solid #E3E9F6; font-size: 14px; transition: border-color .2s, color .2s; }
.used a svg { width: 13px; height: 13px; color: var(--blue); } .used a:hover { border-color: var(--brand); color: var(--brand); }
.rfq { display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; gap: 14px; align-items: end; margin-top: 44px; padding: 28px 30px; border-radius: 22px; color: #fff; background: linear-gradient(120deg, #22408F, #2C4CA6 60%, #4169D6); scroll-margin-top: 110px; }
.rfq h2 { font-size: 22px; font-weight: 600; margin: 0; } .rfq p { font-size: 13.5px; color: rgba(255, 255, 255, .8); margin-top: 4px; }
.rfq label { display: grid; gap: 6px; font-size: 12px; color: rgba(255, 255, 255, .8); }
.rfq input { font: inherit; font-size: 14px; height: 44px; padding: 0 13px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .3); background: #fff; color: var(--navy); width: 100%; }
.rfq .btn { height: 44px; box-shadow: none; }

.pd-top { padding: 30px 0 44px; background: linear-gradient(180deg, #F6F8FE 0%, #EDF2FB 100%); }
.pdl { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.pd-pic { aspect-ratio: 5 / 4; border-radius: 24px; margin: 0; background: #fff; box-shadow: 0 24px 60px rgba(13, 26, 69, .1); }
.pd-partner { display: flex; align-items: center; gap: 12px; }
.pd-partner b { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.pd-partner span { font-size: 11px; padding: 4px 10px; border-radius: 999px; background: #fff; border: 1px solid #DCE4F3; color: var(--slate); }
.pd-info h1 { font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif; font-weight: 800; font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -.035em; line-height: 1.08; margin: 12px 0 12px; }
.pd-lead { font-size: 17.5px; line-height: 1.55; color: var(--slate); }
.pd-points { display: grid; gap: 9px; margin: 20px 0 24px; }
.pd-points li { position: relative; padding-left: 24px; font-size: 14.5px; }
.pd-points li::before { content: ''; position: absolute; left: 2px; top: .45em; width: 11px; height: 6px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.pd-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 26px 0 0; padding-top: 20px; border-top: 1px solid #D8E1F2; }
.pd-meta dt { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); } .pd-meta dd { margin: 4px 0 0; font-size: 14px; font-weight: 500; }
.pd-tabs { position: sticky; top: 68px; z-index: 20; background: rgba(255, 255, 255, .96); border-bottom: 1px solid #E3E9F6; backdrop-filter: blur(10px); }
.pd-tabs .container { display: flex; gap: 30px; overflow-x: auto; scrollbar-width: none; }
.pd-tabs a { padding: 16px 0; font-size: 14px; color: var(--slate); white-space: nowrap; border-bottom: 2px solid transparent; } .pd-tabs a:hover { color: var(--brand); border-color: var(--brand); }
.pd-sections { display: grid; gap: 46px; } .pd-sections > section { scroll-margin-top: 140px; }
.pd-sections p { font-size: 15.5px; line-height: 1.7; color: var(--slate); max-width: 780px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 20px; } .tiles:empty { display: none; }
.tiles div { padding: 20px; border-radius: 18px; background: #F5F8FE; }
.tiles small { font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); } .tiles strong { display: block; font-size: 17px; font-weight: 600; margin: 6px 0 4px; } .tiles span { font-size: 13px; color: var(--slate); }
.spec { width: 100%; border-collapse: collapse; max-width: 860px; }
.spec th, .spec td { text-align: left; padding: 13px 0; border-bottom: 1px solid #E3E9F6; font-size: 14.5px; } .spec th { width: 34%; font-weight: 500; color: var(--slate); }
.note { margin-top: 12px; font-size: 12.5px !important; color: var(--muted) !important; }
.pd-sections .used { margin: 0; } .pd-sections .rfq { margin-top: 0; }

.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px); z-index: 120; padding: 12px 20px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 13.5px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .35s var(--ease); box-shadow: 0 14px 34px rgba(13, 26, 69, .35); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.site-footer .footer-bottom a:hover { color: var(--brand); }

@media (max-width: 1100px) { .cc-grid { grid-template-columns: repeat(2, 1fr); } .bp-grid { grid-template-columns: repeat(2, 1fr); } .pg { grid-template-columns: repeat(2, 1fr); } #resGrid.pg, #relGrid.pg { grid-template-columns: repeat(3, 1fr); } .rfq { grid-template-columns: 1fr 1fr; } .rfq > div { grid-column: 1 / -1; } }
@media (max-width: 980px) {
  .catalog .site-header .main-nav { top: 68px; }
  .cl { grid-template-columns: 1fr; gap: 20px; } .side { position: static; } .side fieldset { display: flex; flex-wrap: wrap; gap: 8px 18px; } .side legend { width: 100%; }
  .pdl { grid-template-columns: 1fr; gap: 26px; } .pd-tabs { top: 68px; }
  #resGrid.pg, #relGrid.pg { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .topbar .container > span:first-child { display: none; } .topbar .container { justify-content: center; } .topbar a:first-child { margin-left: 0; }
  .cc-grid, .bp-grid, .tiles, .pd-meta { grid-template-columns: 1fr; }
  .pg, #resGrid.pg, #relGrid.pg { grid-template-columns: 1fr; }
  .rfq { grid-template-columns: 1fr; padding: 22px; } .quote { padding: 22px; } .quote-list li { grid-template-columns: 1fr auto; } .quote-list small { display: none; }
  .header-actions .btn { display: inline-flex; padding: 0 12px; font-size: 12.5px; }
}


/* ---------- Category explorer: numbered list + live preview ---------- */
.cx { display: grid; grid-template-columns: minmax(300px, 400px) 1fr; gap: 18px; align-items: stretch; }
.cx-list { display: grid; align-content: start; border-radius: 24px; border: 1px solid #E3E9F6; background: #fff; overflow: hidden; }
.cx-list a { position: relative; display: grid; grid-template-columns: 30px 1fr auto 16px; align-items: center; gap: 12px; padding: 15px 20px; border-bottom: 1px solid #EEF2FA; font-size: 15.5px; font-weight: 500; transition: background .25s, color .25s, padding .3s var(--ease); }
.cx-list li:last-child a { border-bottom: 0; }
.cx-list b { font-size: 11px; font-weight: 600; letter-spacing: .1em; color: #9AA9CC; transition: color .25s; }
.cx-list i { font-style: normal; font-size: 11.5px; min-width: 26px; text-align: center; padding: 3px 8px; border-radius: 999px; background: #EEF2FB; color: var(--slate); transition: background .25s, color .25s; }
.cx-list svg { width: 14px; height: 14px; opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .3s var(--ease); }
.cx-list a.on { background: var(--brand); color: #fff; padding-left: 26px; }
.cx-list a.on b { color: #A9BEFA; }
.cx-list a.on i { background: rgba(255, 255, 255, .18); color: #fff; }
.cx-list a.on svg { opacity: 1; transform: none; }
.cx-view { display: flex; flex-direction: column; gap: 22px; padding: 34px 36px 30px; border-radius: 24px; background: radial-gradient(520px 380px at 100% 0%, #fff 0%, rgba(255, 255, 255, 0) 70%), linear-gradient(160deg, #EAF0FC, #F6F8FE); border: 1px solid #E3E9F6; min-height: 100%; }
.cx-view.in > * { animation: rise .5s var(--ease) both; }
.cx-view.in > :nth-child(2) { animation-delay: .06s; }
.cx-view.in > :nth-child(3) { animation-delay: .12s; }
.cx-view.in > :nth-child(4) { animation-delay: .18s; }
.cx-head small { font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.cx-head h3 { font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif; font-weight: 800; font-size: clamp(26px, 2.8vw, 38px); letter-spacing: -.035em; line-height: 1.1; margin: 8px 0 10px; }
.cx-head p { font-size: 15px; line-height: 1.6; color: var(--slate); max-width: 640px; }
.cx-pics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cx-pics a { display: grid; gap: 8px; align-content: start; padding: 10px 10px 12px; border-radius: 16px; background: #fff; box-shadow: 0 8px 22px rgba(13, 26, 69, .06); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.cx-pics img { width: 100%; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; }
.cx-pics span { font-size: 12px; font-weight: 500; line-height: 1.3; text-align: center; color: var(--navy); }
.cx-pics a:hover { transform: translateY(-5px); box-shadow: 0 18px 36px rgba(13, 26, 69, .14); }
.cx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cx-chips a { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid #DCE4F3; font-size: 13px; transition: border-color .2s, color .2s; }
.cx-chips a:hover { border-color: var(--brand); color: var(--brand); }
.cx-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: auto; padding-top: 20px; border-top: 1px solid #D8E1F2; }
.cx-logos { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.cx-logos img { height: 26px; width: auto; }
@media (max-width: 980px) {
  .cx { grid-template-columns: 1fr; }
  .cx-view { display: none; }
  .cx-list a.on { background: none; color: inherit; padding-left: 20px; }
  .cx-list a.on b { color: #9AA9CC; }
  .cx-list a.on i { background: #EEF2FB; color: var(--slate); }
  .cx-list svg { opacity: 1; transform: none; color: var(--blue); }
}


/* ---------- Category tiles: six per row, picture first ---------- */
.ct-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.ctile { display: flex; flex-direction: column; gap: 12px; padding: 12px 12px 16px; border-radius: 22px; background: #fff; border: 1px solid #E3E9F6; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .25s; }
.ct-pic { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 16px; background: linear-gradient(160deg, #E4EBFA, #F6F8FE); overflow: hidden; transition: background .3s; }
.ct-pic img { position: absolute; inset: 11%; width: 78%; height: 78%; object-fit: contain; mix-blend-mode: multiply; transition: transform .55s var(--ease); }
.ct-pic svg[viewBox="0 0 32 32"] { width: 46%; height: 46%; fill: none; stroke: var(--brand); color: var(--brand); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .55s var(--ease); }
.ct-pic b { position: absolute; z-index: 1; left: 10px; top: 10px; padding: 3px 9px; border-radius: 999px; background: #fff; color: var(--brand); font-size: 10.5px; font-weight: 600; letter-spacing: .08em; box-shadow: 0 4px 10px rgba(13, 26, 69, .08); }
.ct-pic i { position: absolute; z-index: 1; right: 10px; bottom: 10px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; opacity: 0; transform: translateY(8px) scale(.9); transition: opacity .25s, transform .35s var(--ease); }
.ct-pic i svg { width: 14px; height: 14px; }
.ctile strong { font-size: 15.5px; font-weight: 600; line-height: 1.25; letter-spacing: -.005em; color: var(--navy); padding: 0 4px; min-height: 2.5em; }
.ct-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 4px 0; margin-top: auto; border-top: 1px solid #EEF2FA; }
.ct-logos { display: flex; align-items: center; gap: 8px; min-width: 0; }
.ct-logos img { height: 14px; width: auto; max-width: 58px; object-fit: contain; }
.ct-logos .wordmark { font-size: 10.5px; text-align: left; line-height: 1.15; max-width: 84px; }
.ct-meta em { font-style: normal; font-size: 11.5px; font-weight: 500; color: var(--slate); white-space: nowrap; }
.ctile:hover { transform: translateY(-6px); border-color: var(--brand); box-shadow: 0 22px 46px rgba(13, 26, 69, .14); }
.ctile:hover .ct-pic { background: linear-gradient(160deg, #D6E1F8, #EEF3FC); }
.ctile:hover .ct-pic img, .ctile:hover .ct-pic svg[viewBox="0 0 32 32"] { transform: scale(1.1); }
.ctile:hover .ct-pic i { opacity: 1; transform: none; }
.ctile:hover strong { color: var(--brand); }
@media (max-width: 1180px) { .ct-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) { .ct-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } .ctile strong { font-size: 14px; } .ct-logos { display: none; } }
@media (max-width: 480px) { .ct-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ctile { min-width: 0; }
.ct-pic img { border-radius: 10px; }
.ct-logos { overflow: hidden; }
.ct-logos u { text-decoration: none; font-size: 11px; font-weight: 600; color: var(--blue); padding: 2px 7px; border-radius: 999px; background: #EEF2FB; }
.ct-logos img { max-width: 70px; height: 15px; }

/* category tiles: three per row */
.ct-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ctile { padding: 14px 14px 18px; gap: 10px; }
.ct-pic { aspect-ratio: 16 / 9; border-radius: 18px; }
.ct-pic img { inset: 8% 20%; width: 60%; height: 84%; }
.ct-pic svg[viewBox="0 0 32 32"] { width: 26%; height: 46%; }
.ct-pic b { left: 14px; top: 14px; font-size: 11.5px; padding: 4px 11px; }
.ct-pic i { right: 14px; bottom: 14px; width: 40px; height: 40px; }
.ctile strong { font-size: 20px; min-height: 0; padding: 6px 6px 0; letter-spacing: -.01em; }
.ct-txt { font-size: 13.5px; line-height: 1.5; color: var(--slate); padding: 0 6px; flex: 1; }
.ct-meta { padding: 14px 6px 0; }
.ct-meta em { font-size: 13px; font-weight: 600; color: var(--blue); }
.ct-logos { overflow: visible; gap: 10px; }
.ct-logos img { height: 20px; max-width: 110px; }
.ct-logos u { flex: none; }
.ct-logos .wordmark { font-size: 12px; max-width: none; }
@media (max-width: 1180px) { .ct-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .ct-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ct-logos { display: flex; } }
@media (max-width: 560px) { .ct-grid { grid-template-columns: 1fr; } }


/* ---------- Motion extras: tilt, cursor light, sheen ---------- */
.ctile, .pc, .bp { position: relative; transform-style: preserve-3d; }
.ctile.tilt, .pc.tilt, .bp.tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px); transition: transform .12s linear, box-shadow .4s var(--ease), border-color .25s; }
.ctile::after, .pc::after, .bp::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(91, 128, 224, .16), rgba(91, 128, 224, 0) 70%); }
.ctile.tilt::after, .pc.tilt::after, .bp.tilt::after { opacity: 1; }
.ct-pic::after { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; transform: skewX(-18deg); background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .75), rgba(255, 255, 255, 0)); pointer-events: none; }
.ctile:hover .ct-pic::after { animation: sheen .9s var(--ease); }
@keyframes sheen { to { left: 130%; } }
.cat-hero, .pd-top { background-size: 100% 140%; }
.cat-search { transition: box-shadow .3s, border-color .3s, transform .35s var(--ease); }
.cat-search:focus-within { transform: scale(1.015); }
.btn { transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s, translate .25s var(--ease); }
.toast.on { animation: toast-pop .45s var(--ease); }
@keyframes toast-pop { 0% { transform: translate(-50%, 20px) scale(.9); } 60% { transform: translate(-50%, -4px) scale(1.03); } 100% { transform: translate(-50%, 0) scale(1); } }
@media (prefers-reduced-motion: reduce) { .ctile.tilt, .pc.tilt, .bp.tilt { transform: none; } .ct-pic::after { display: none; } }


/* ---------- Quick view: picture flips over and grows into a detail panel ---------- */
.pc-pic { cursor: zoom-in; }
.pc-pic::before { content: 'Quick view'; position: absolute; z-index: 2; left: 50%; bottom: 10px; transform: translate(-50%, 10px); padding: 6px 14px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 11.5px; font-weight: 500; white-space: nowrap; opacity: 0; transition: opacity .25s, transform .35s var(--ease); pointer-events: none; }
.pc:hover .pc-pic::before { opacity: 1; transform: translate(-50%, 0); }
html.fx-open { overflow: hidden; }
.fx { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; perspective: 1800px; backdrop-filter: blur(5px); }
.fx-card { position: relative; width: min(980px, 100%); height: min(600px, calc(100vh - 40px)); transform-style: preserve-3d; will-change: transform; }
.fx-face { position: absolute; inset: 0; border-radius: 26px; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; background: #fff; box-shadow: 0 50px 120px rgba(5, 12, 40, .5); }
.fx-front { display: grid; background: linear-gradient(160deg, #EEF3FC, #F8FAFE); }
.fx-thumb { position: relative; display: grid; place-items: center; }
.fx-thumb img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; mix-blend-mode: multiply; }
.fx-back { transform: rotateY(180deg); display: grid; grid-template-columns: 1.05fr 1fr; }
.fx-pic { position: relative; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 45%, #fff 0%, #fff 30%, #E4EBFA 100%); cursor: zoom-in; }
.fx-pic img { position: absolute; inset: 9%; width: 82%; height: 82%; object-fit: contain; mix-blend-mode: multiply; transition: transform .45s var(--ease); }
.fx-pic.zoom { cursor: zoom-out; } .fx-pic.zoom img { transform: scale(2.2); }
.fx-pic.no-img { cursor: default; } .fx-pic.no-img img { inset: 36% 24%; width: 52%; height: 28%; }
.fx-zoom { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); padding: 6px 14px; border-radius: 999px; background: rgba(13, 26, 69, .72); color: #fff; font-size: 11.5px; pointer-events: none; }
.fx-info { padding: 40px 40px 34px; overflow-y: auto; display: flex; flex-direction: column; }
.fx-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.fx-top b { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.fx-top span { font-size: 11px; padding: 4px 10px; border-radius: 999px; background: #EEF2FB; color: var(--slate); }
.fx-info h2 { font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif; font-weight: 800; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.03em; line-height: 1.1; margin: 12px 0 10px; }
.fx-lead { font-size: 15.5px; line-height: 1.6; color: var(--slate); }
.fx-points { display: grid; gap: 8px; margin: 18px 0; }
.fx-points li { position: relative; padding-left: 24px; font-size: 14px; }
.fx-points li::before { content: ''; position: absolute; left: 2px; top: .45em; width: 11px; height: 6px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.fx-spec { display: grid; margin: 0 0 22px; border-top: 1px solid #E3E9F6; }
.fx-spec div { display: grid; grid-template-columns: 38% 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid #E3E9F6; font-size: 13.5px; }
.fx-spec dt { color: var(--slate); } .fx-spec dd { margin: 0; font-weight: 500; }
.fx-act { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.fx-act .btn { box-shadow: none; }
.fx-close { position: absolute; right: 14px; top: 12px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; background: #fff; font-size: 26px; line-height: 1; color: var(--navy); box-shadow: 0 6px 18px rgba(13, 26, 69, .18); transition: transform .25s var(--ease), background .2s; }
.fx-close:hover { transform: rotate(90deg); background: #EEF2FB; }
@media (max-width: 760px) {
  .fx { padding: 10px; }
  .fx-card { height: calc(100vh - 20px); }
  .fx-back { grid-template-columns: 1fr; grid-template-rows: 38% 1fr; }
  .fx-info { padding: 22px 20px 20px; }
  .pc-pic::before { display: none; }
}

/* ---------- Quote form band: light version (soft blue card, navy text, blue button) ---------- */
.rfq { position: relative; isolation: isolate; overflow: hidden; gap: 16px; padding: 34px 36px; border-radius: 26px; color: var(--navy); border: 1px solid #D9E3F7;
  background: radial-gradient(520px 260px at 0% 0%, #fff 0%, rgba(255, 255, 255, 0) 70%), linear-gradient(120deg, #F4F7FE 0%, #E7EEFC 60%, #DCE6FA 100%); box-shadow: 0 24px 60px rgba(13, 26, 69, .08); }
.rfq::before, .rfq::after { content: ''; position: absolute; z-index: -1; right: -90px; top: 50%; border-radius: 50%; border: 1px solid rgba(47, 84, 184, .16); transform: translateY(-50%); pointer-events: none; }
.rfq::before { width: 300px; height: 300px; } .rfq::after { width: 440px; height: 440px; right: -160px; border-style: dashed; }
.rfq h2 { font-size: 24px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; color: var(--navy); }
.rfq p { font-size: 14px; line-height: 1.55; color: var(--slate); margin-top: 6px; }
.rfq label { gap: 7px; font-size: 12.5px; font-weight: 500; color: var(--slate); }
.rfq input { height: 50px; padding: 0 16px; border-radius: 13px; border: 1px solid #CBD7F0; background: #fff; box-shadow: 0 2px 6px rgba(13, 26, 69, .04); transition: border-color .2s, box-shadow .2s; }
.rfq input:hover { border-color: #A9BCE6; }
.rfq input:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47, 84, 184, .16); }
.rfq .btn, .rfq .btn.btn-light { height: 50px; padding: 0 26px; border-radius: 13px; color: #fff; background: linear-gradient(135deg, #213A82, #2F54B8); box-shadow: 0 12px 26px rgba(33, 58, 130, .3); transition: transform .3s var(--ease), box-shadow .3s var(--ease), filter .2s; }
.rfq .btn:hover, .rfq .btn.btn-light:hover { background: linear-gradient(135deg, #213A82, #2F54B8); filter: brightness(1.1); transform: translateY(-2px); box-shadow: 0 16px 32px rgba(33, 58, 130, .36); }
@media (max-width: 760px) { .rfq { padding: 24px 20px; } .rfq::before, .rfq::after { display: none; } .rfq h2 { font-size: 21px; } }

/* ---------- catalogue dropdown menus (Partners, Services) ---------- */
.catalog .main-nav .nav-item { display: flex; align-items: center; }
.catalog .main-nav .nav-link svg { width: 10px; height: 10px; margin-left: 5px; transition: transform .25s; }
.catalog .dropdown { min-width: 230px; }
@media (max-width: 980px) {
  .catalog .main-nav .nav-item { display: block; }
  .catalog .main-nav .nav-link svg { display: none; }
  .catalog .main-nav .dropdown { display: grid; position: static; opacity: 1; visibility: visible; transform: none; min-width: 0; padding: 0 0 8px 14px; margin: 0; border: 0; border-left: 2px solid #E3E9F6; border-radius: 0; background: none; box-shadow: none; }
  .catalog .main-nav .dropdown a { padding: 7px 10px; font-size: 13.5px; color: var(--slate); white-space: normal; }
}
@media (max-width: 980px) { .catalog .main-nav.open { max-height: calc(100vh - 120px); overflow-y: auto; } }

/* ---------- Category cards, icon version: no photos, one drawn icon per category ---------- */
.ctile.cti { gap: 0; padding: 28px 28px 22px; }
.cti-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 22px; }
.cti-ic { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 22px; color: #fff; background: linear-gradient(145deg, #22408F 0%, #2C4CA6 45%, #3E68D8 100%); box-shadow: 0 16px 32px rgba(33, 58, 130, .3), inset 0 1px 0 rgba(255, 255, 255, .28); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.cti-ic svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.cti-ic svg .f { fill: currentColor; fill-opacity: .18; stroke: none; } .cti-ic svg .d { fill: currentColor; stroke: none; }
.cti-top b { font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif; font-weight: 800; font-size: 34px; line-height: 1; letter-spacing: -.04em; color: #DDE5F6; transition: color .3s; }
.ctile.cti strong { padding: 0; min-height: 0; font-size: 20px; font-weight: 600; line-height: 1.25; letter-spacing: -.015em; }
.ctile.cti .ct-txt { padding: 0; margin-top: 10px; font-size: 14px; line-height: 1.6; color: var(--slate); }
.cti-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 18px; }
.ctile.cti .ct-txt + .cti-foot { margin-top: 20px; border-top: 1px solid #EEF2FA; }
.ctile.cti { display: flex; flex-direction: column; } .ctile.cti .ct-txt { flex: 1; }
.cti-foot em { font-style: normal; font-size: 13.5px; font-weight: 600; color: var(--brand); }
.cti-foot i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #EEF2FB; color: var(--brand); transition: background .3s, color .3s, transform .35s var(--ease); }
.cti-foot i svg { width: 14px; height: 14px; }
.ctile.cti:hover .cti-ic { transform: rotate(-6deg) scale(1.07); box-shadow: 0 22px 40px rgba(33, 58, 130, .38), inset 0 1px 0 rgba(255, 255, 255, .28); }
.ctile.cti:hover .cti-top b { color: #B9C9EE; }
.ctile.cti:hover .cti-foot i { background: var(--brand); color: #fff; transform: translateX(4px); }
@media (max-width: 760px) { .ctile.cti { padding: 22px 20px 18px; } .cti-ic { width: 60px; height: 60px; border-radius: 18px; } .cti-ic svg { width: 34px; height: 34px; } }
.cti-ic svg { width: 46px; height: 46px; stroke-width: 2.8; }

/* ---------- menu dropdowns: wide two-column lists for Products and Applications ---------- */
.dropdown.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 6px; min-width: 520px; }
.dropdown.two a { white-space: normal; line-height: 1.35; }
.dropdown .dd-all { grid-column: 1 / -1; margin-bottom: 6px; padding-bottom: 12px; border-bottom: 1px solid #EEF2FA; border-radius: 8px 8px 0 0; font-weight: 600; color: var(--brand); }
.dropdown { border-radius: 16px; padding: 10px; box-shadow: 0 24px 54px rgba(13, 26, 69, .16); }
.dropdown a { font-size: 13.5px; padding: 10px 12px; }
.nav-item:nth-last-child(-n+2) .dropdown { left: auto; right: -18px; }

@media (max-width: 980px) { /* two-column lists fold to one inside the phone menu */
  .catalog .main-nav .dropdown.two { grid-template-columns: 1fr; min-width: 0; }
  .catalog .main-nav .dropdown .dd-all { border-bottom: 0; margin: 0; padding-bottom: 7px; }
}

/* header button count badge (hidden while the quote list is empty) */
.nav-qn { display: inline-grid !important; place-items: center; min-width: 20px; height: 20px; margin-left: 2px; padding: 0 6px; border-radius: 999px; background: #fff; color: var(--brand); font-size: 11.5px; font-weight: 700; }
.nav-qn[data-n="0"] { display: none !important; }

/* no "Quick view" label on product pictures (clicking the picture still opens it) */
.pc-pic::before { display: none !important; content: none !important; }

/* phones: product cards two per row, compact, so a list is quick to scan */
@media (max-width: 700px) {
  .pg, .pg.pg4, #resGrid.pg, #relGrid.pg { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px; }
  .pc { padding: 8px 8px 10px; border-radius: 16px; }
  .pc-pic { aspect-ratio: 1 / 1; margin-bottom: 10px; border-radius: 11px; }
  .pc-meta { padding: 0 2px; } .pc-meta i { display: none; }
  .pc-meta small { font-size: 10.5px; letter-spacing: .05em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pc strong { font-size: 14px; margin: 5px 0 4px; padding: 0 2px; }
  .pc-desc { font-size: 12px; line-height: 1.45; padding: 0 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .pc-act { grid-template-columns: 1fr; gap: 6px; margin-top: 10px; }
  .pc-act .btn { height: 34px; font-size: 12.5px; }
}

/* phones: tighter category cards and clearer partner logos */
@media (max-width: 700px) {
  .ctile.cti { padding: 18px 18px 14px; }
  .cti-top { margin-bottom: 12px; }
  .cti-ic { width: 50px; height: 50px; border-radius: 15px; } .cti-ic svg { width: 30px; height: 30px; }
  .cti-top b { font-size: 26px; }
  .ctile.cti strong { font-size: 17.5px; }
  .ctile.cti .ct-txt { margin-top: 6px; font-size: 13.5px; }
  .ctile.cti .ct-txt + .cti-foot { margin-top: 14px; padding-top: 12px; }
  .bp img { max-height: 30px; max-width: 150px; }
}

/* phones: bigger touch targets for filters, search and small links */
@media (max-width: 700px) {
  .side label { min-height: 40px; padding: 6px 12px 6px 10px; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
  .side input[type="checkbox"] { width: 18px; height: 18px; }
  .cat-search input { align-self: stretch; }
  .help a { min-height: 40px; }
  .crumb a { display: inline-block; padding: 10px 2px; }
  .crumb { margin-bottom: 10px; }
}

/* product page: its content is filled in by products.js; keep the space and show it once it is complete,
   so nothing jumps while it loads (shown after 2.5 s in any case) */
.pd-wait main { visibility: hidden; min-height: 100vh; animation: pd-show 0s 2.5s forwards; }
@keyframes pd-show { to { visibility: visible; } }
