/* FlexiBuild ICF catalog: balanced desktop layout and compact mobile flow */
:root{color-scheme:light;--ink:#182735;--muted:#50636d;--brand:#10283f;--accent:#e66b2e;--line:#d7e0e7;--paper:#fff;--canvas:#f3f6f8;--soft:#fff0e8}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--canvas);color:var(--ink);font:16px/1.65 system-ui,-apple-system,"Segoe UI",sans-serif}
a{color:#145c76;text-underline-offset:.2em}
a:hover{color:#0b4158}
a:focus-visible,button:focus-visible{outline:3px solid #e39535;outline-offset:3px}
.skip{position:absolute;left:-9999px;top:0}.skip:focus{left:1rem;top:1rem;background:#fff;padding:.7rem;z-index:10}
.wrap{width:min(1180px,calc(100% - 3rem));margin-inline:auto}
.top{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;padding:1rem 0;border-bottom:1px solid var(--line)}
.brand{font-size:1.05rem;font-weight:800;letter-spacing:.015em;color:var(--brand);text-decoration:none;white-space:nowrap}
.nav{display:flex;align-items:center;justify-content:flex-end;gap:.6rem 1.2rem;flex-wrap:wrap}
.nav a{text-decoration:none;font-weight:650}
.lang{border:1px solid #afc2ca;border-radius:999px;padding:.35rem .85rem}
.hero{padding:3.2rem 0 2.3rem;max-width:920px}
.hero.cols{max-width:none;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);align-items:center;gap:clamp(2rem,5vw,4rem)}
.eyebrow,.label{color:var(--accent);text-transform:uppercase;font-size:.76rem;font-weight:800;letter-spacing:.11em}
h1{font-size:clamp(2.2rem,4.2vw,3.7rem);line-height:1.07;margin:.5rem 0 1rem;letter-spacing:-.035em;max-width:20ch}
h2{font-size:clamp(1.45rem,2.2vw,2rem);line-height:1.2;letter-spacing:-.02em;margin:0 0 1rem}
h3{line-height:1.25}
.lead{font-size:1.12rem;color:var(--muted);max-width:68ch;margin:.5rem 0 1.25rem}
.brand-note{background:var(--soft);border-left:4px solid #26809a;padding:.9rem 1.1rem;color:#38515d;margin:1.4rem 0;border-radius:0 8px 8px 0}
.breadcrumbs{font-size:.88rem;color:#61727b;margin-top:1rem}.breadcrumbs a{color:inherit}
.section{padding:1.1rem 0 1.5rem}
.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem;margin:1.35rem 0 2.7rem;align-items:stretch}
.card{background:var(--paper);border:1px solid var(--line);border-radius:16px;overflow:hidden;display:flex;flex-direction:column;min-width:0;box-shadow:0 6px 22px rgba(22,47,59,.045)}
.card>img,.card>.placeholder{display:block;width:100%;height:clamp(190px,20vw,260px);object-fit:contain;background:#12171b}
.placeholder{display:grid;place-items:center;color:#667981;text-align:center;padding:1.5rem}
.card-body{padding:1.25rem 1.35rem 1.4rem;display:flex;flex-direction:column;align-items:flex-start;flex:1}
.card h2,.card h3{font-size:1.25rem;margin:.45rem 0 .35rem}
.card p{color:var(--muted);margin:.45rem 0 1.2rem}
.card-body>a{font-weight:750;margin-top:auto}
.specs{width:100%;border-collapse:collapse;background:#fff;border-radius:12px;overflow:hidden;margin:1.1rem 0 1.6rem}
.specs th,.specs td{text-align:left;padding:.8rem 1rem;border-bottom:1px solid #e0e7e8;vertical-align:top}
.specs th{width:36%;color:#38515d;background:#f0f4f4}
.components{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:1.25rem 0}
.component{margin:0;min-width:0;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}
.component img{display:block;width:100%;height:clamp(165px,18vw,225px);object-fit:contain;background:#12171b}
.component h3{font-size:1rem;margin:0;padding:.85rem 1rem 1rem}
.notice{background:#fff5e6;border:1px solid #f0d39e;border-radius:12px;padding:1rem 1.2rem;color:#574520;margin:1.15rem 0}
.cta{background:var(--brand);color:#fff;padding:clamp(1.35rem,3vw,2rem);border-radius:18px;margin:2rem 0}
.cta h2{color:#fff}.cta a{color:#fff;font-weight:800}
.footer{border-top:1px solid var(--line);padding:1.5rem 0;margin-top:2.5rem;color:#596b73}
.product-img{display:block;width:100%;max-height:450px;aspect-ratio:1.28;object-fit:contain;background:#12171b;border-radius:18px}
.cols{display:grid;grid-template-columns:1fr 1fr;gap:2rem;align-items:center}
@media(max-width:900px){.wrap{width:min(100% - 2.25rem,760px)}.hero.cols{grid-template-columns:minmax(0,1fr) minmax(270px,.9fr);gap:1.6rem}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.components{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.wrap{width:calc(100% - 1.5rem)}.top{align-items:flex-start;flex-direction:column;gap:.75rem;padding:.8rem 0}.nav{justify-content:flex-start;gap:.5rem 1rem}.hero{padding:2rem 0 1.5rem}.hero.cols{grid-template-columns:1fr;gap:1.2rem}.hero.cols>.product-img{grid-row:1}.grid{grid-template-columns:1fr;gap:1rem;margin:1rem 0 2rem}.card>img,.card>.placeholder{height:auto;aspect-ratio:1.55}.components{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.component img{height:auto;aspect-ratio:1.2}.specs{display:block;overflow-x:auto;white-space:normal}.specs th,.specs td{padding:.65rem .7rem;font-size:.9rem;min-width:115px}.specs th{min-width:135px}.product-img{aspect-ratio:1.15;max-height:none}.cta{border-radius:14px}.footer{font-size:.92rem}}
@media(max-width:390px){.components{grid-template-columns:1fr}.component img{aspect-ratio:1.45}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}


/* Preserve FlexiBuild's global brand header while styling catalog content */
.site-header .brand{display:flex;align-items:center;gap:12px;font-size:1.1rem;font-weight:750;line-height:1.2;color:var(--navy);text-decoration:none;white-space:normal;letter-spacing:normal}
.site-header .brand b{color:var(--orange)}
.site-header .brand small{display:block;margin-top:5px;font-size:.58rem;font-weight:600;letter-spacing:.035em;color:var(--muted)}
.site-header .brand-mark{display:block;flex:0 0 48px;width:48px;height:48px;object-fit:contain}
.footer-social{grid-column:1/-1}
.footer-social .social-links a{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px}
.footer-social .social-links svg{display:block;width:24px;height:24px;max-width:24px;max-height:24px}

/* Desktop layout: give the shared navigation the full viewport width.
   Keep the existing mobile layout unchanged. */
@media(min-width:901px){
  .wrap{width:min(1320px,calc(100% - 4rem))}
  .wrap>.site-header{
    width:100vw;
    margin-left:calc(50% - 50vw);
    padding-inline:clamp(24px,4vw,64px);
    gap:clamp(18px,2vw,32px);
  }
  .wrap>.site-header nav{
    flex:1 1 auto;
    min-width:0;
    justify-content:flex-end;
    flex-wrap:wrap;
    row-gap:4px;
  }
  main.wrap{width:100%;max-width:1320px}
  .hero:not(.cols){max-width:1040px}
  .grid{gap:clamp(1.25rem,2vw,1.8rem)}
}
@media(min-width:761px) and (max-width:1100px){
  .wrap>.site-header{align-items:flex-start}
  .wrap>.site-header nav{flex-wrap:wrap;justify-content:flex-end}
}

/* Catalog landing hero: responsive editorial layout using the actual product photos */
.catalog-hero{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);gap:clamp(1.5rem,4vw,4rem);align-items:center;overflow:hidden;margin:1.35rem 0 1.1rem;padding:clamp(1.5rem,4vw,3.6rem);border-radius:26px;background:radial-gradient(ellipse at 82% 12%,rgba(42,104,140,.55),transparent 38%),linear-gradient(125deg,#0b2239 0%,#123b5b 60%,#10283f 100%);box-shadow:0 22px 55px rgba(10,32,51,.16);color:#fff}
.catalog-hero:before{content:"";position:absolute;z-index:-1;left:-8%;bottom:-52%;width:70%;height:75%;border:1px solid rgba(255,255,255,.12);border-radius:50%;box-shadow:0 0 0 24px rgba(255,255,255,.025),0 0 0 48px rgba(255,255,255,.02)}
.catalog-hero-copy{position:relative;z-index:2}.catalog-hero .eyebrow{color:#ff9a52}.catalog-hero h1{color:#fff;font-size:clamp(2.3rem,4.5vw,4.35rem);max-width:12ch;margin:.65rem 0 1.15rem}.catalog-hero h1 span{color:#ff8a32}.catalog-hero .lead{color:rgba(255,255,255,.86);font-size:clamp(1rem,1.35vw,1.18rem);max-width:48ch;line-height:1.65}.catalog-hero-link{display:inline-flex;align-items:center;gap:.85rem;margin-top:.5rem;padding:.82rem 1.2rem;border-radius:999px;background:#f47b2b;color:#fff;text-decoration:none;font-weight:800;box-shadow:0 8px 20px rgba(0,0,0,.18);transition:transform .2s ease,background .2s ease}.catalog-hero-link:hover{color:#fff;background:#ff8b3d;transform:translateY(-2px)}.catalog-hero-proof{display:flex;align-items:center;flex-wrap:wrap;gap:.65rem;margin-top:1.65rem;color:rgba(255,255,255,.72);font-size:.78rem;font-weight:650;letter-spacing:.035em}.catalog-hero-proof i{width:5px;height:5px;border-radius:50%;background:#f47b2b}
.catalog-hero-gallery{position:relative;min-height:390px;display:grid;grid-template-columns:1.12fr .88fr;grid-template-rows:1fr 1fr;gap:14px;align-items:stretch}.hero-product{margin:0;overflow:hidden;border:1px solid rgba(255,255,255,.72);border-radius:18px;background:#f7f8f8;box-shadow:0 12px 30px rgba(0,0,0,.22)}.hero-product img{display:block;width:100%;height:100%;min-height:0;object-fit:contain;background:#11171c}.hero-product-main{grid-row:1/3;min-height:320px}.hero-product-corner img,.hero-product-t img,.hero-product-tape img{background:#11171c}.hero-product-tape{display:none}.hero-gallery-caption{position:absolute;right:12px;bottom:12px;padding:.48rem .75rem;border-radius:999px;background:rgba(8,27,43,.82);color:#fff;font-size:.7rem;font-weight:650;backdrop-filter:blur(8px)}
.catalog-category-strip{display:flex;justify-content:center;flex-wrap:wrap;gap:.55rem;margin:0 0 2rem;padding:1rem 1.1rem;border:1px solid #dce4e9;border-radius:0 0 16px 16px;background:#fff;box-shadow:0 8px 24px rgba(22,47,59,.04)}.catalog-category-strip span{padding:.4rem .75rem;border-radius:999px;background:#f0f4f6;color:#294657;font-size:.78rem;font-weight:750}
@media(min-width:1100px){.catalog-hero-gallery{min-height:440px}.hero-product-main{min-height:380px}.hero-product-tape{display:block;grid-column:2;grid-row:2}.hero-product-t{display:none}}
@media(max-width:900px){.catalog-hero{grid-template-columns:1fr;gap:1.4rem}.catalog-hero-copy{max-width:760px}.catalog-hero h1{max-width:15ch}.catalog-hero-gallery{min-height:320px;grid-template-columns:1fr 1fr}.hero-product-main{min-height:300px}.hero-product-tape{display:block}.hero-product-t{display:none}}
@media(max-width:620px){.catalog-hero{margin:.8rem 0 .7rem;padding:1.35rem 1.1rem 1.15rem;border-radius:18px;gap:1.15rem}.catalog-hero h1{font-size:clamp(2.05rem,9vw,3rem);max-width:13ch;margin:.45rem 0 .8rem}.catalog-hero .lead{font-size:1rem;line-height:1.55;margin-bottom:.75rem}.catalog-hero-link{padding:.72rem 1rem;font-size:.92rem}.catalog-hero-proof{margin-top:1rem;font-size:.7rem}.catalog-hero-gallery{min-height:260px;gap:8px}.hero-product{border-radius:12px}.hero-product-main{min-height:260px}.hero-gallery-caption{right:7px;bottom:7px;font-size:.62rem;padding:.35rem .55rem}.catalog-category-strip{justify-content:flex-start;gap:.4rem;padding:.75rem;margin-bottom:1.4rem;border-radius:12px}.catalog-category-strip span{font-size:.69rem;padding:.34rem .58rem}}
@media(max-width:390px){.catalog-hero-gallery{min-height:225px}.hero-product-main{min-height:225px}.catalog-hero-proof{gap:.45rem}}
@media(prefers-reduced-motion:reduce){.catalog-hero-link{transition:none}}

/* Approved full-width ICF catalog cover artwork */
.catalog-cover{margin:1.35rem 0 1.1rem;overflow:hidden;border-radius:20px;box-shadow:0 18px 44px rgba(10,32,51,.14);background:#eef2f5}
.catalog-cover img{display:block;width:100%;height:auto;aspect-ratio:2/1;object-fit:cover}
@media(max-width:620px){.catalog-cover{margin:.8rem 0 .7rem;border-radius:12px}.catalog-cover img{aspect-ratio:1.35/1;object-fit:contain;background:#f4f6f8}}
