
:root{--navy:#052f65;--deep:#021d43;--blue:#0b67b2;--red:#ef2e36;--ink:#102f55;--muted:#627a91;--line:#d6e8f2;--soft:#edf7fc;--ur:"Noto Nastaliq Urdu","Noto Naskh Arabic",serif;--en:Arial,Helvetica,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f5fbff;color:var(--ink);font-family:var(--en)}a{text-decoration:none;color:inherit}img{max-width:100%;display:block}.container{width:min(1180px,calc(100% - 30px));margin:auto}
.topbar{background:var(--deep);color:#e8f4ff;font-size:.76rem}.topbar .container{min-height:34px;display:flex;justify-content:space-between;align-items:center;gap:18px}
header{position:sticky;top:0;z-index:30;background:#fff;box-shadow:0 5px 18px #052f6514}.header-row{min-height:84px;display:flex;align-items:center;justify-content:space-between;gap:18px}.brand{display:flex;align-items:center;gap:11px;flex:0 0 auto}.brand img{width:66px;height:66px;border-radius:50%}.brand b{display:block;color:var(--red);font-size:1.65rem;line-height:.95}.brand span{display:block;color:var(--navy);font-weight:900}.brand small{font-size:.56rem;letter-spacing:.12em;color:#57728d}.nav{display:flex;gap:21px;font-size:.71rem;font-weight:900;align-items:center}.nav a{padding:30px 0}.nav a.active,.nav a:hover{color:var(--red)}.quote{padding:12px 16px;border-radius:8px;background:var(--red);color:#fff;font-size:.72rem;font-weight:900}.menu-btn{display:none;border:0;background:none;font-size:1.5rem;color:var(--navy)}
.hero{min-height:600px;background:linear-gradient(90deg,#fff 0%,#fffffff1 34%,#ffffff1a 70%),url("./images/hero-products.jpg") center/cover no-repeat}.hero-copy{max-width:550px;padding:72px 0 150px}.eyebrow{color:var(--red);font-weight:900;font-size:.8rem}.hero h1,.page-hero h1{margin:12px 0 18px;color:var(--deep);font-size:clamp(2.2rem,5vw,4.2rem);line-height:1.04}.hero p,.page-hero p{color:#45647f;line-height:1.7}.buttons{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.btn{display:inline-block;padding:13px 18px;border-radius:8px;font-size:.72rem;font-weight:900}.primary{background:var(--red);color:#fff}.secondary{background:#fff;border:1px solid #bed8e6}.btn:hover{transform:translateY(-1px)}
.trust{margin-top:-78px;position:relative;z-index:2}.trust-grid{display:grid;grid-template-columns:repeat(5,1fr);background:linear-gradient(135deg,#052f65,#073f82);color:#fff;border-radius:16px;box-shadow:0 18px 35px #021d4355}.trust-item{padding:20px 14px;text-align:center;border-right:1px solid #ffffff20}.trust-item:last-child{border:0}.trust-item b{display:block;font-size:1.1rem}.trust-item span{font-size:.62rem;color:#c5dbec}
.section{padding:70px 0}.head{text-align:center;margin-bottom:32px}.head h2{margin:8px 0;color:var(--deep);font-size:clamp(1.8rem,3.5vw,2.8rem)}.head p{max-width:700px;margin:auto;color:var(--muted);line-height:1.7}
.products{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.card{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:0 12px 28px #052f6512}.visual{height:180px;background:linear-gradient(#fff,#edf8fd);display:grid;place-items:center;font-size:4.5rem}.copy{padding:18px;text-align:center}.copy h3{margin:0;color:var(--deep)}.copy small{display:block;margin-top:4px;color:var(--red);font-weight:900}.copy p{font-size:.78rem;line-height:1.55;color:var(--muted);min-height:48px}
.industries{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.industry-card,.feature{background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px;box-shadow:0 12px 28px #052f6512}.industry-card i,.feature i{font-style:normal;font-size:2rem}.industry-card h3,.feature h3{color:var(--deep)}.industry-card p,.feature p{color:var(--muted);line-height:1.65;font-size:.84rem}
.why{display:grid;grid-template-columns:1fr 1.35fr;gap:22px}.panel{background:#fff;border:1px solid var(--line);border-radius:18px;padding:26px;box-shadow:0 12px 28px #052f6512}.checks{display:grid;gap:11px}.check{display:flex;gap:9px;color:#46647f;font-size:.82rem}.check i{color:var(--red);font-style:normal}.media{display:grid;grid-template-columns:1.2fr .8fr;gap:16px}.video{min-height:330px;border-radius:18px;background:linear-gradient(#021d4322,#021d4388),url("./images/hero-products.jpg") center/cover no-repeat;display:grid;place-items:center;color:#fff;font-size:3rem}.stats{display:grid;grid-template-columns:1fr 1fr;gap:12px}.stat{text-align:center;display:grid;place-items:center}.stat b{display:block;color:var(--navy);font-size:1.8rem}.stat span{font-size:.62rem;color:var(--muted);font-weight:900}
.steps{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}.step{text-align:center}.step i{display:grid;place-items:center;width:52px;height:52px;margin:auto;border-radius:50%;background:#eef8fd;font-style:normal}.step b{display:block;margin-top:9px;font-size:.7rem}.step span{display:block;margin-top:5px;font-size:.61rem;color:var(--muted)}
.quality{display:grid;grid-template-columns:1fr 1fr;gap:20px}.dark{background:linear-gradient(135deg,#052f65,#073f82);color:#fff}.dark p{color:#c6dced}.certs{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.cert{min-height:95px;background:#fff;color:var(--navy);border-radius:10px;display:grid;place-items:center;text-align:center;font-size:.64rem;font-weight:900}
.quote-grid{display:grid;grid-template-columns:250px 1fr;gap:22px}.form{display:grid;grid-template-columns:repeat(2,1fr);gap:11px}.form input,.form select,.form textarea{padding:12px;border:1px solid #cbdfea;border-radius:8px;font-family:var(--en)}.form textarea{grid-column:1/-1;min-height:120px}.form button{border:0;border-radius:8px;background:var(--red);color:#fff;font-weight:900;padding:13px}.contacts{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:28px}.contact{padding:15px;background:#fff;border:1px solid var(--line);border-radius:14px}.contact b{display:block;font-size:.75rem}.contact span{display:block;margin-top:4px;color:var(--muted);font-size:.7rem}
.page-hero{padding:78px 0;background:linear-gradient(90deg,#ffffff 0%,#ffffffec 40%,#ffffff20 78%),url("./images/hero-products.jpg") center/cover no-repeat;border-bottom:1px solid var(--line)}.page-hero .container{max-width:1180px}.page-hero .copybox{max-width:650px}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:center}.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.specs{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.spec{padding:18px;border-radius:14px;background:#fff;border:1px solid var(--line)}.spec b{display:block;color:var(--deep)}.spec span{font-size:.78rem;color:var(--muted)}.product-hero{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:center}.product-art{min-height:360px;border-radius:20px;background:linear-gradient(135deg,#eaf7fd,#fff);display:grid;place-items:center;font-size:8rem;border:1px solid var(--line)}
.resources-list{display:grid;gap:14px}.resource{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 20px;background:#fff;border:1px solid var(--line);border-radius:14px}
footer{background:var(--deep);color:#c9deec;padding:42px 0 20px}.footer-grid{display:grid;grid-template-columns:1.3fr repeat(3,1fr);gap:25px}footer h4{color:#fff;font-size:.75rem}footer p,footer a{display:block;color:#bcd2e2;font-size:.7rem;line-height:1.7}.copyline{margin-top:24px;padding-top:15px;border-top:1px solid #ffffff20;font-size:.65rem;display:flex;justify-content:space-between}
.float{position:fixed;right:14px;bottom:14px;display:grid;gap:9px;z-index:50}.float a{width:50px;height:50px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:1.2rem;box-shadow:0 8px 20px #0003}.wa{background:#20bd5a}.call{background:var(--blue)}
@media(max-width:950px){.nav,.quote{display:none}.menu-btn{display:block}.nav.open{display:flex;position:absolute;top:100%;left:0;right:0;background:#fff;flex-direction:column;padding:12px 20px;box-shadow:0 10px 20px #052f6520}.nav.open a{padding:10px 0}.trust-grid{grid-template-columns:repeat(2,1fr)}.products,.grid-4{grid-template-columns:repeat(2,1fr)}.industries,.grid-3{grid-template-columns:repeat(2,1fr)}.why,.quality,.quote-grid,.two-col,.product-hero{grid-template-columns:1fr}.steps{grid-template-columns:repeat(3,1fr)}.contacts{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.topbar .welcome{display:none}.topbar .container{justify-content:center;text-align:center}.header-row{min-height:70px}.brand img{width:54px;height:54px}.brand b{font-size:1.15rem}.brand span{font-size:.82rem}.brand small{font-size:.43rem}.hero{min-height:520px;background:linear-gradient(#fffffff7 0 48%,#ffffff22 76%),url("./images/hero-products.jpg") center bottom/cover no-repeat}.hero-copy{padding:38px 0 220px;text-align:center}.buttons{justify-content:center}.trust{margin-top:-72px}.trust-grid,.products,.industries,.grid-3,.grid-4,.media,.stats,.contacts,.footer-grid,.specs{grid-template-columns:1fr}.steps{grid-template-columns:repeat(2,1fr)}.form{grid-template-columns:1fr}.certs{grid-template-columns:repeat(2,1fr)}.copyline{display:block}.section{padding:38px 0}.page-hero{padding:55px 0}.product-art{min-height:260px;font-size:6rem}}


/* Dynamic public website preview */
.category-visual{font-size:3rem;color:var(--blue)}
.dynamic-products-section{background:#f6fbfe}
.dynamic-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.dynamic-product-card{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 12px 28px #052f6512;display:flex;flex-direction:column}
.dynamic-product-image{display:block;height:270px;background:linear-gradient(135deg,#edf8fd,#fff);overflow:hidden}
.dynamic-product-image img{width:100%;height:100%;object-fit:contain;padding:18px;transition:transform .25s ease}
.dynamic-product-card:hover .dynamic-product-image img{transform:scale(1.035)}
.dynamic-product-copy{padding:20px;display:flex;flex-direction:column;flex:1}
.dynamic-product-copy h3{margin:7px 0;color:var(--deep);font-size:1.2rem}
.dynamic-product-copy p{color:var(--muted);line-height:1.6;font-size:.84rem}
.product-category{font-size:.68rem;font-weight:900;color:var(--red);text-transform:uppercase;letter-spacing:.08em}
.product-capacity{font-weight:900;color:var(--navy)!important;margin:0}
.product-card-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:auto;padding-top:12px}
.empty-state{text-align:center;max-width:760px;margin:auto}
.category-filter{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:28px}
.filter{padding:10px 14px;border:1px solid var(--line);border-radius:999px;background:#fff;font-size:.75rem;font-weight:900}
.filter.active,.filter:hover{background:var(--navy);color:#fff;border-color:var(--navy)}
.product-detail-section{padding-top:52px}
.product-detail-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:42px;align-items:start}
.product-main-image{height:540px;background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden;display:grid;place-items:center}
.product-main-image img{width:100%;height:100%;object-fit:contain;padding:20px}
.product-thumbnails{display:flex;gap:10px;overflow:auto;padding:12px 2px}
.thumb-button{width:82px;height:72px;flex:0 0 auto;border:2px solid transparent;background:#fff;border-radius:11px;padding:4px;cursor:pointer}
.thumb-button.active{border-color:var(--red)}
.thumb-button img{width:100%;height:100%;object-fit:cover;border-radius:7px}
.product-info h1{font-size:clamp(2rem,4vw,3.5rem);line-height:1.05;color:var(--deep);margin:10px 0}
.product-code{color:var(--muted)}
.lead{font-size:1rem;line-height:1.75;color:#45647f}
.attribute-badges{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}
.attribute-badges span{background:#eaf7fd;color:var(--navy);font-size:.72rem;font-weight:900;padding:8px 11px;border-radius:999px}
.quote-large{font-size:.8rem}
.product-content-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:22px;margin-top:34px}
.rich-copy{line-height:1.8;color:var(--muted)}
.spec-table{display:grid}
.spec-table>div{display:grid;grid-template-columns:140px 1fr;gap:15px;padding:12px 0;border-bottom:1px solid var(--line)}
.spec-table>div:last-child{border-bottom:0}
.spec-table span{color:var(--muted)}
.related-products{margin-top:60px}
@media(max-width:950px){.dynamic-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-detail-grid,.product-content-grid{grid-template-columns:1fr}.product-main-image{height:430px}}
@media(max-width:620px){.dynamic-product-grid{grid-template-columns:1fr}.dynamic-product-image{height:250px}.product-main-image{height:330px}.spec-table>div{grid-template-columns:1fr;gap:4px}}

/* Automotive Division V3 */
.automotive-home-section{background:linear-gradient(135deg,#071d36,#123f6f);color:#fff}
.automotive-home-grid{display:grid;grid-template-columns:230px 1fr;gap:42px;align-items:center}
.automotive-roundel,.automotive-emblem{width:210px;height:210px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#ef3541,#8b1018);border:8px solid #fff;box-shadow:0 18px 40px #0004;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff}
.auto-icon,.automotive-emblem div{font-size:4rem;line-height:1}.automotive-roundel b,.automotive-emblem b{font-size:2.2rem;letter-spacing:.08em}.automotive-roundel span,.automotive-emblem span{font-size:.75rem;letter-spacing:.2em}
.automotive-home-section h2{color:#fff}.automotive-home-section p{color:#d5e5f4;line-height:1.8}.auto-tags{display:flex;gap:9px;flex-wrap:wrap;margin:18px 0}.auto-tags span{padding:8px 12px;border-radius:999px;background:#ffffff18;border:1px solid #ffffff35;font-size:.75rem;font-weight:800}
.automotive-hero{background:linear-gradient(120deg,#071d36 0%,#123f6f 55%,#bd1f2d 150%);padding:80px 0;color:#fff}.automotive-hero-grid{display:grid;grid-template-columns:1fr 310px;gap:50px;align-items:center}.automotive-hero h1{font-size:clamp(2.5rem,5vw,5rem);line-height:1;color:#fff}.automotive-hero p{font-size:1.05rem;line-height:1.8;color:#d5e5f4;max-width:760px}
.auto-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.auto-category-card{padding:25px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 12px 28px #052f6510}.auto-category-icon{width:54px;height:54px;border-radius:50%;background:#ed2939;color:#fff;display:grid;place-items:center;font-size:1.6rem}.auto-category-card h3{color:var(--deep)}.auto-category-card p{color:var(--muted);line-height:1.6}.auto-category-card span{font-size:.75rem;font-weight:900;color:var(--red)}
.automotive-guidance{margin-top:24px}.automotive-guidance h3{margin-bottom:4px}.automotive-guidance p{color:var(--muted);line-height:1.75}
@media(max-width:900px){.automotive-home-grid,.automotive-hero-grid{grid-template-columns:1fr}.automotive-roundel,.automotive-emblem{margin:auto}.auto-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.auto-category-grid{grid-template-columns:1fr}.automotive-roundel,.automotive-emblem{width:170px;height:170px}}


/* ==========================================================
   JB Plastico Homepage V4
   ========================================================== */
.homepage-v4{overflow:hidden}
.v4-hero{position:relative;min-height:650px;background:
  linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.92) 42%,rgba(255,255,255,.1) 77%),
  url("images/hero-products.jpg") center bottom/cover no-repeat}
.v4-hero-overlay{position:absolute;inset:0;background:
  radial-gradient(circle at 80% 20%,rgba(9,92,161,.12),transparent 28%),
  linear-gradient(180deg,transparent 65%,rgba(3,32,71,.18))}
.v4-hero-grid{position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:50px;align-items:center;min-height:650px}
.v4-hero-copy{max-width:680px;padding:70px 0 100px}
.v4-kicker{display:inline-flex;align-items:center;gap:8px;font-size:.72rem;font-weight:900;letter-spacing:.15em;color:var(--red)}
.v4-hero h1{font-size:clamp(2.65rem,5.6vw,5.25rem);line-height:.98;letter-spacing:-.045em;color:var(--deep);margin:17px 0 22px}
.v4-hero p{max-width:640px;font-size:1rem;line-height:1.8;color:#466681}
.v4-hero-actions{margin-top:28px}
.v4-auto-btn{background:var(--deep);color:#fff;border:1px solid var(--deep)}
.v4-hero-points{display:flex;gap:18px;flex-wrap:wrap;margin-top:24px;color:#33536f;font-size:.73rem;font-weight:800}
.v4-hero-badge{display:flex;justify-content:center}
.v4-badge-ring{width:230px;height:230px;border-radius:50%;background:linear-gradient(145deg,#073f82,#021d43);border:8px solid #fff;box-shadow:0 24px 60px rgba(2,29,67,.35);display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;text-align:center}
.v4-badge-icon{font-size:3.6rem;line-height:1}
.v4-badge-ring b{font-size:3rem;line-height:1;margin-top:4px}
.v4-badge-ring strong{font-size:.83rem;letter-spacing:.15em}
.v4-badge-ring small{margin-top:9px;color:#bcd9ee;letter-spacing:.16em;font-size:.58rem}

.v4-trust-strip{position:relative;z-index:3;margin-top:-42px}
.v4-trust-grid{display:grid;grid-template-columns:repeat(4,1fr);background:linear-gradient(135deg,#052f65,#073f82);border-radius:18px;color:#fff;box-shadow:0 20px 42px rgba(2,29,67,.28)}
.v4-trust-grid>div{padding:22px 18px;text-align:center;border-right:1px solid rgba(255,255,255,.15)}
.v4-trust-grid>div:last-child{border:0}
.v4-trust-grid b{display:block;font-size:1.35rem}
.v4-trust-grid span{display:block;margin-top:3px;color:#c5dced;font-size:.68rem}

.v4-divisions{padding-top:95px}
.v4-division-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.v4-division-card{position:relative;overflow:hidden;display:grid;grid-template-columns:105px 1fr;gap:22px;padding:34px;border-radius:22px;border:1px solid var(--line);box-shadow:0 18px 40px rgba(5,47,101,.1)}
.v4-division-card.plastic{background:linear-gradient(145deg,#fff,#eff9ff)}
.v4-division-card.automotive{background:linear-gradient(145deg,#071d36,#123f6f);color:#fff;border-color:#123f6f}
.v4-division-icon{width:88px;height:88px;border-radius:22px;background:var(--navy);display:grid;place-items:center;color:#fff;font-size:2.3rem;box-shadow:0 12px 25px rgba(5,47,101,.22)}
.v4-division-icon.auto{background:linear-gradient(145deg,#ef3541,#98141e);border-radius:50%}
.v4-division-label{font-size:.66rem;font-weight:900;letter-spacing:.13em;color:var(--red)}
.v4-division-card h3{font-size:1.55rem;line-height:1.2;color:var(--deep);margin:9px 0}
.v4-division-card.automotive h3{color:#fff}
.v4-division-card p{color:var(--muted);line-height:1.7;font-size:.86rem}
.v4-division-card.automotive p{color:#c7dceb}
.v4-mini-list{display:flex;gap:7px;flex-wrap:wrap;margin:16px 0 20px}
.v4-mini-list a{padding:7px 10px;border-radius:999px;background:#e9f5fb;color:var(--navy);font-size:.68rem;font-weight:800}
.v4-division-card.automotive .v4-mini-list a{background:rgba(255,255,255,.1);color:#fff;border:1px solid rgba(255,255,255,.15)}

.v4-featured{background:#f4faff}
.v4-section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:30px}
.v4-section-heading h2{font-size:clamp(1.9rem,3.7vw,2.9rem);color:var(--deep);margin:8px 0 0}
.v4-text-link{font-size:.72rem;font-weight:900;color:var(--red)}
.v4-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.v4-product-card{position:relative}
.v4-product-card .dynamic-product-image{position:relative}
.v4-division-chip{position:absolute;top:14px;left:14px;padding:7px 10px;border-radius:999px;font-size:.62rem;font-weight:900;color:#fff;box-shadow:0 7px 16px rgba(0,0,0,.15)}
.v4-division-chip.plastic{background:var(--navy)}
.v4-division-chip.automotive{background:var(--red)}

.v4-industries{background:#fff}
.v4-industry-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.v4-industry-grid article{background:#fff;border:1px solid var(--line);border-radius:17px;padding:24px;box-shadow:0 12px 28px rgba(5,47,101,.07);transition:.2s ease}
.v4-industry-grid article:hover{transform:translateY(-4px);box-shadow:0 18px 36px rgba(5,47,101,.12)}
.v4-industry-grid i{font-style:normal;font-size:2rem}
.v4-industry-grid h3{color:var(--deep);margin:12px 0 7px}
.v4-industry-grid p{color:var(--muted);font-size:.82rem;line-height:1.65}

.v4-why{background:linear-gradient(135deg,#052f65,#021d43);color:#fff}
.v4-why-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:44px;align-items:center}
.v4-why h2{color:#fff;font-size:clamp(2rem,4vw,3.25rem);line-height:1.1}
.v4-why-copy p{color:#c6d9e8;line-height:1.8}
.v4-benefit-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}
.v4-benefit-grid article{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);border-radius:16px;padding:22px}
.v4-benefit-grid b{display:inline-grid;place-items:center;width:38px;height:38px;border-radius:10px;background:var(--red);font-size:.73rem}
.v4-benefit-grid h3{margin:14px 0 7px;color:#fff}
.v4-benefit-grid p{margin:0;color:#bfd4e3;font-size:.78rem;line-height:1.6}

.v4-manufacturing{background:#eef7fc}
.v4-manufacturing-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:28px;align-items:stretch}
.v4-factory-visual{min-height:420px;border-radius:22px;background:
  linear-gradient(rgba(2,29,67,.18),rgba(2,29,67,.72)),
  url("images/hero-products.jpg") center/cover no-repeat;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;box-shadow:0 18px 40px rgba(2,29,67,.18)}
.v4-play{width:76px;height:76px;border-radius:50%;display:grid;place-items:center;background:var(--red);font-size:1.6rem;box-shadow:0 12px 25px rgba(239,46,54,.35)}
.v4-factory-visual span{margin-top:18px;font-size:.7rem;font-weight:900;letter-spacing:.15em}
.v4-factory-copy{background:#fff;border:1px solid var(--line);border-radius:22px;padding:38px;box-shadow:0 15px 34px rgba(5,47,101,.08)}
.v4-factory-copy h2{color:var(--deep);font-size:clamp(2rem,3.8vw,3rem)}
.v4-factory-copy p{color:var(--muted);line-height:1.8}
.v4-process{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:24px 0}
.v4-process span{padding:8px 11px;border-radius:9px;background:#edf7fc;color:var(--navy);font-size:.7rem;font-weight:900}
.v4-process i{font-style:normal;color:var(--red)}

.v4-quality{padding-top:0;background:#eef7fc}
.v4-quality-banner{display:flex;justify-content:space-between;align-items:center;gap:30px;background:#fff;border-radius:22px;border:1px solid var(--line);padding:34px;box-shadow:0 16px 34px rgba(5,47,101,.08)}
.v4-quality-banner h2{color:var(--deep);margin:8px 0}
.v4-quality-banner p{max-width:760px;color:var(--muted);line-height:1.7}
.v4-quality-actions{display:flex;gap:10px;flex-wrap:wrap;min-width:max-content}

.v4-latest{background:#fff}
.v4-latest-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.v4-latest-card{display:grid;grid-template-columns:90px 1fr;gap:14px;align-items:center;padding:13px;border:1px solid var(--line);border-radius:15px;background:#fff;transition:.2s ease}
.v4-latest-card:hover{border-color:#a9ccdf;transform:translateY(-2px)}
.v4-latest-card img{width:90px;height:80px;object-fit:contain;border-radius:10px;background:#f1f8fc;padding:7px}
.v4-latest-card span{font-size:.62rem;color:var(--red);font-weight:900;text-transform:uppercase}
.v4-latest-card h3{font-size:.9rem;color:var(--deep);margin:5px 0}
.v4-latest-card small{color:var(--muted)}

.v4-cta{background:#fff;padding-top:20px}
.v4-cta-box{display:flex;justify-content:space-between;align-items:center;gap:30px;background:linear-gradient(135deg,#052f65,#073f82);border-radius:22px;padding:42px;color:#fff;box-shadow:0 20px 42px rgba(2,29,67,.22)}
.v4-cta-box h2{color:#fff;font-size:clamp(2rem,4vw,3rem);margin:8px 0}
.v4-cta-box p{color:#c9dbea}
.v4-whatsapp-btn{background:#20bd5a;color:#fff;border-color:#20bd5a}

@media(max-width:1000px){
  .v4-hero-grid{grid-template-columns:1fr 220px}
  .v4-badge-ring{width:190px;height:190px}
  .v4-division-card{grid-template-columns:80px 1fr;padding:27px}
  .v4-division-icon{width:70px;height:70px}
  .v4-product-grid{grid-template-columns:repeat(2,1fr)}
  .v4-why-grid,.v4-manufacturing-grid{grid-template-columns:1fr}
}
@media(max-width:760px){
  .v4-hero{min-height:720px;background:
    linear-gradient(180deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.94) 52%,rgba(255,255,255,.12) 82%),
    url("images/hero-products.jpg") center bottom/cover no-repeat}
  .v4-hero-grid{grid-template-columns:1fr;min-height:720px}
  .v4-hero-copy{padding:48px 0 250px;text-align:center}
  .v4-hero-actions,.v4-hero-points{justify-content:center}
  .v4-hero-badge{display:none}
  .v4-trust-strip{margin-top:-35px}
  .v4-trust-grid{grid-template-columns:repeat(2,1fr)}
  .v4-trust-grid>div:nth-child(2){border-right:0}
  .v4-trust-grid>div:nth-child(-n+2){border-bottom:1px solid rgba(255,255,255,.15)}
  .v4-division-grid,.v4-industry-grid,.v4-latest-grid{grid-template-columns:1fr}
  .v4-division-card{grid-template-columns:1fr;text-align:center}
  .v4-division-icon{margin:auto}
  .v4-mini-list,.v4-division-card .btn{justify-content:center}
  .v4-section-heading,.v4-quality-banner,.v4-cta-box{flex-direction:column;align-items:flex-start}
  .v4-product-grid{grid-template-columns:1fr}
  .v4-benefit-grid{grid-template-columns:1fr}
  .v4-quality-actions{min-width:0}
}
@media(max-width:480px){
  .v4-hero h1{font-size:2.35rem}
  .v4-trust-grid{grid-template-columns:1fr}
  .v4-trust-grid>div{border-right:0!important;border-bottom:1px solid rgba(255,255,255,.15)}
  .v4-trust-grid>div:last-child{border-bottom:0}
  .v4-division-card,.v4-factory-copy,.v4-quality-banner,.v4-cta-box{padding:24px}
}


/* ==========================================================
   Website V5.2 — Professional Product Search
   ========================================================== */
.v5-home-search{position:relative;z-index:6;margin-top:-27px}
.v5-home-search-box{display:grid;grid-template-columns:280px minmax(260px,1fr) auto;gap:16px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:18px;padding:17px 18px;box-shadow:0 18px 42px rgba(2,29,67,.18)}
.v5-home-search-copy span{display:block;font-size:.61rem;font-weight:900;letter-spacing:.13em;color:var(--red)}
.v5-home-search-copy strong{display:block;margin-top:4px;color:var(--deep);font-size:.92rem}
.v5-home-search-box label{display:flex;align-items:center;gap:11px;background:#f1f8fc;border:1px solid #d6e8f2;border-radius:12px;padding:0 15px}
.v5-home-search-box label:focus-within{background:#fff;border-color:#72aaca;box-shadow:0 0 0 3px rgba(20,105,160,.1)}
.v5-home-search-box label i{font-size:1.55rem;font-style:normal;color:var(--navy)}
.v5-home-search-box input{width:100%;border:0;outline:0;background:transparent;padding:15px 0;color:var(--deep);font:inherit}
.v5-home-search-box input::placeholder{color:#7890a4}

.search-page-v5{background:#f3f9fd}
.search-hero-v5{padding:75px 0 55px;background:
  radial-gradient(circle at 86% 20%,rgba(36,132,193,.22),transparent 31%),
  linear-gradient(135deg,#f9fdff,#e4f3fb)}
.search-hero-v5 h1{max-width:850px;margin:10px 0 14px;color:var(--deep);font-size:clamp(2.5rem,5vw,4.5rem);line-height:1.02;letter-spacing:-.045em}
.search-hero-v5 p{max-width:850px;color:var(--muted);font-size:1rem;line-height:1.75}
.search-main-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;margin-top:29px;max-width:1000px}
.search-main-input{display:flex;align-items:center;gap:12px;background:#fff;border:2px solid #d8e8f1;border-radius:14px;padding:0 18px;box-shadow:0 13px 30px rgba(5,47,101,.1)}
.search-main-input:focus-within{border-color:#5796bb;box-shadow:0 0 0 4px rgba(42,130,184,.12),0 13px 30px rgba(5,47,101,.1)}
.search-main-input span{font-size:1.8rem;color:var(--navy)}
.search-main-input input{width:100%;border:0;outline:0;background:transparent;padding:18px 0;font:inherit;color:var(--deep)}
.search-quick-links{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:17px;font-size:.72rem}
.search-quick-links>span{font-weight:900;color:var(--deep)}
.search-quick-links button{border:1px solid #c8dfec;background:#fff;color:var(--navy);border-radius:999px;padding:7px 11px;font:inherit;font-weight:800;cursor:pointer}
.search-quick-links button:hover{background:var(--navy);color:#fff;border-color:var(--navy)}

.search-workspace-section{padding-top:44px}
.search-workspace{display:grid;grid-template-columns:270px minmax(0,1fr);gap:25px;align-items:start}
.search-filter-panel{position:sticky;top:22px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px;box-shadow:0 12px 29px rgba(5,47,101,.08)}
.search-filter-heading{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;padding-bottom:15px;border-bottom:1px solid var(--line)}
.search-filter-heading h2{margin:4px 0 0;color:var(--deep);font-size:1.45rem}
.search-clear-btn{border:0;background:transparent;color:var(--red);font-size:.68rem;font-weight:900;cursor:pointer;padding:5px 0}
.search-filter-panel>label{display:block;margin-top:17px;color:var(--deep);font-size:.72rem;font-weight:900}
.search-filter-panel select,.search-results-toolbar select{width:100%;margin-top:7px;border:1px solid #cfe0ea;background:#f8fcfe;border-radius:10px;padding:11px;color:var(--deep);font:inherit;outline:0}
.search-filter-panel select:focus,.search-results-toolbar select:focus{border-color:#65a2c4;box-shadow:0 0 0 3px rgba(42,130,184,.1)}

.search-results-area{min-width:0}
.search-results-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:19px;padding:14px 17px;background:#fff;border:1px solid var(--line);border-radius:14px}
.search-results-toolbar>div:first-child{display:flex;flex-direction:column}
.search-results-toolbar span{color:var(--deep);font-weight:900}
.search-results-toolbar small{margin-top:3px;color:var(--muted)}
.search-toolbar-actions{display:flex;align-items:center;gap:12px}
.search-results-toolbar label{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:.7rem;font-weight:900}
.search-results-toolbar select{width:auto;min-width:145px;margin:0;padding:9px}
.filter-mobile-button{display:none;border:1px solid #bad6e5;background:#fff;color:var(--navy);border-radius:9px;padding:10px 12px;font-weight:900}

.search-result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.search-product-card{position:relative}
.search-product-card .dynamic-product-image{position:relative}
.search-product-meta{display:grid;gap:3px;margin:10px 0;color:var(--muted);font-size:.72rem}
.search-product-meta b{color:var(--deep)}
.search-attribute-tags{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0}
.search-attribute-tags span{padding:6px 8px;border-radius:999px;background:#eaf5fb;color:var(--navy);font-size:.6rem;font-weight:900}

.search-loading{display:flex;justify-content:center;gap:8px;padding:75px 0}
.search-loading span{width:12px;height:12px;border-radius:50%;background:var(--navy);animation:searchPulse .9s ease-in-out infinite alternate}
.search-loading span:nth-child(2){animation-delay:.15s}
.search-loading span:nth-child(3){animation-delay:.3s}
@keyframes searchPulse{to{opacity:.25;transform:translateY(-6px)}}
.search-empty-state{padding:65px 25px}
.search-empty-icon{font-size:3.5rem;color:#86a8bd}

@media(max-width:1000px){
  .v5-home-search-box{grid-template-columns:1fr auto}
  .v5-home-search-copy{grid-column:1/-1}
  .search-workspace{grid-template-columns:230px minmax(0,1fr)}
  .search-result-grid{grid-template-columns:1fr}
}
@media(max-width:760px){
  .v5-home-search{margin-top:-18px}
  .v5-home-search-box{grid-template-columns:1fr;padding:15px}
  .v5-home-search-box .btn{width:100%}
  .search-main-form{grid-template-columns:1fr}
  .search-main-form .btn{width:100%}
  .search-workspace{grid-template-columns:1fr}
  .search-filter-panel{display:none;position:static}
  .search-filter-panel.mobile-open{display:block}
  .filter-mobile-button{display:block}
  .search-results-toolbar{align-items:flex-start}
  .search-toolbar-actions{align-items:flex-end}
}
@media(max-width:520px){
  .search-hero-v5{padding:55px 0 42px}
  .search-hero-v5 h1{font-size:2.45rem}
  .search-results-toolbar{flex-direction:column;align-items:stretch}
  .search-toolbar-actions{justify-content:space-between}
  .search-toolbar-actions label{flex:1}
  .search-results-toolbar select{width:100%;min-width:0}
  .filter-mobile-button{align-self:flex-end}
}


/* ==========================================================
   Website V5.2.3 — Search Layout Polish
   ========================================================== */

/* Homepage: give the search card its own clear visual layer. */
.v5-home-search{
  position:relative;
  z-index:20;
  margin:0;
  padding:28px 0 24px;
  background:linear-gradient(180deg,#eef7fc 0%,#f7fbfe 100%);
}
.v5-home-search-box{
  margin:0;
  border:1px solid #cfe1eb;
  box-shadow:0 15px 35px rgba(2,29,67,.14);
}
.v5-home-search + .v4-trust-strip{
  margin-top:0;
}
.v4-trust-strip{
  position:relative;
  z-index:5;
}

/* Keep the homepage search text and controls vertically balanced. */
.v5-home-search-copy{
  padding-right:8px;
}
.v5-home-search-box label{
  min-height:58px;
}
.v5-home-search-box .btn{
  min-height:58px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

/* Search page: reserve space so floating WhatsApp/phone buttons do not
   cover the main red Search button on wide screens. */
.search-hero-v5 .container{
  padding-right:92px;
}
.search-main-form{
  max-width:1050px;
}
.search-main-form > .btn{
  min-width:250px;
  min-height:62px;
}
.search-main-input{
  min-height:62px;
}

/* Keep floating buttons slightly lower and away from form controls. */
.float{
  right:20px;
  bottom:22px;
}

/* Improve vertical separation between search hero and filters/results. */
.search-workspace-section{
  border-top:1px solid #d7e7f0;
  background:#f6fbfe;
}

@media(max-width:1000px){
  .search-hero-v5 .container{
    padding-right:105px;
  }
  .search-main-form > .btn{
    min-width:220px;
  }
}

@media(max-width:760px){
  .v5-home-search{
    padding:20px 0;
  }
  .v5-home-search-box{
    margin:0;
  }
  .search-hero-v5 .container{
    padding-right:15px;
  }
  .search-main-form > .btn{
    min-width:0;
  }
  .float{
    right:14px;
    bottom:14px;
  }
}


/* ==========================================================
   Website V5.4 — Professional Quote Basket & Inquiries
   ========================================================== */
.quote-nav-link span,.quote span[data-quote-count]{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#e9f3fa;color:var(--navy);font-size:.62rem}
.quote.has-items span[data-quote-count],.quote-nav-link.has-items span{background:#fff;color:var(--red)}
.quote-basket-add{border:1px solid #0c477c;background:#0b3766;color:#fff}
.quote-basket-add:hover,.quote-basket-add.is-added{background:#062b59}
.quote-toast{position:fixed;left:50%;bottom:28px;z-index:9999;transform:translate(-50%,30px);opacity:0;background:#062b59;color:#fff;border-radius:999px;padding:13px 20px;box-shadow:0 15px 38px rgba(0,0,0,.25);font-size:.75rem;font-weight:900;transition:.25s}
.quote-toast.show{transform:translate(-50%,0);opacity:1}

.quote-checkout-page{background:#f3f9fd}
.quote-checkout-hero{padding:64px 0 48px;background:linear-gradient(135deg,#f9fdff,#e4f3fb)}
.quote-checkout-hero h1{margin:8px 0 10px;color:var(--deep);font-size:clamp(2.6rem,5vw,4.7rem);line-height:1}
.quote-checkout-hero p{color:var(--muted);font-size:1rem}
.quote-checkout-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(360px,.7fr);gap:25px;align-items:start}
.quote-customer-panel{position:sticky;top:20px;background:#fff;border:1px solid var(--line);border-radius:20px;padding:25px;box-shadow:0 14px 35px rgba(2,29,67,.1)}
.quote-section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:17px}
.quote-section-heading span{color:var(--red);font-size:.65rem;font-weight:900;letter-spacing:.12em}
.quote-section-heading h2{margin:4px 0 0;color:var(--deep);font-size:1.65rem}
.quote-text-button{border:0;background:transparent;color:var(--red);font:inherit;font-size:.7rem;font-weight:900;cursor:pointer}
.quote-basket-items{display:grid;gap:15px}
.quote-basket-item{position:relative;display:grid;grid-template-columns:135px minmax(0,1fr);gap:17px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px;box-shadow:0 9px 24px rgba(2,29,67,.07)}
.quote-basket-image{display:block;height:135px;border-radius:13px;overflow:hidden;background:#edf5f9}
.quote-basket-image img{width:100%;height:100%;object-fit:cover}
.quote-basket-copy>span{color:var(--red);font-size:.63rem;font-weight:900;text-transform:uppercase}
.quote-basket-copy h3{margin:5px 32px 5px 0;color:var(--deep);font-size:1.18rem}
.quote-basket-copy h3 a{color:inherit}
.quote-basket-copy>p{margin:0;color:var(--muted);font-size:.72rem}
.quote-item-inputs{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:13px}
.quote-item-inputs label,.quote-form-grid label{display:grid;gap:6px;color:var(--deep);font-size:.68rem;font-weight:900}
.quote-item-inputs input,.quote-item-inputs select,.quote-form-grid input,.quote-form-grid textarea{
 width:100%;border:1px solid #cfe0ea;background:#f9fcfe;border-radius:10px;padding:10px;font:inherit;color:var(--deep);outline:0
}
.quote-item-inputs input:focus,.quote-item-inputs select:focus,.quote-form-grid input:focus,.quote-form-grid textarea:focus{border-color:#5499be;box-shadow:0 0 0 3px rgba(42,130,184,.1);background:#fff}
.quote-item-inputs .wide,.quote-form-grid .wide{grid-column:1/-1}
.quote-remove-button{position:absolute;right:13px;top:12px;width:31px;height:31px;border:0;border-radius:50%;background:#fff0f0;color:#b91c1c;font-size:1.4rem;cursor:pointer}
.quote-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}
.quote-consent{display:flex;align-items:flex-start;gap:9px;margin:17px 0;color:var(--muted);font-size:.68rem;line-height:1.5}
.quote-consent input{margin-top:3px}
.quote-submit-button{width:100%;min-height:53px}
.quote-submit-button:disabled{opacity:.45;cursor:not-allowed}
.quote-form-note{color:var(--muted);font-size:.65rem;line-height:1.55}
.quote-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.quote-success-page{min-height:70vh;background:#f3f9fd}
.quote-success-card{max-width:840px;margin:auto;padding:48px;background:#fff;border:1px solid var(--line);border-radius:24px;text-align:center;box-shadow:0 18px 45px rgba(2,29,67,.12)}
.quote-success-icon{display:grid;place-items:center;width:78px;height:78px;margin:0 auto 18px;border-radius:50%;background:#dcfce7;color:#166534;font-size:2.5rem;font-weight:900}
.quote-success-card h1{color:var(--deep);font-size:clamp(2rem,4vw,3.3rem);margin:8px 0}
.quote-success-card>p{color:var(--muted)}
.quote-reference{display:inline-flex;flex-direction:column;margin:18px 0;padding:14px 25px;border-radius:14px;background:#eef7fc}
.quote-reference span{color:var(--muted);font-size:.65rem}
.quote-reference strong{color:var(--deep);font-size:1.25rem}
.quote-success-summary{display:grid;grid-template-columns:1fr 1fr;max-width:430px;margin:12px auto 22px;border:1px solid var(--line);border-radius:14px;overflow:hidden}
.quote-success-summary div{padding:15px}.quote-success-summary div+div{border-left:1px solid var(--line)}
.quote-success-summary b,.quote-success-summary span{display:block}.quote-success-summary b{color:var(--deep)}.quote-success-summary span{color:var(--muted);font-size:.65rem}

@media(max-width:900px){
 .quote-checkout-grid{grid-template-columns:1fr}
 .quote-customer-panel{position:static}
}
@media(max-width:620px){
 .quote-basket-item{grid-template-columns:90px minmax(0,1fr);padding:12px}
 .quote-basket-image{height:90px}
 .quote-item-inputs,.quote-form-grid{grid-template-columns:1fr}
 .quote-item-inputs .wide,.quote-form-grid .wide{grid-column:auto}
 .quote-success-card{padding:30px 18px}
}

.quote-success-card .buttons{justify-content:center;flex-wrap:wrap}


/* ==========================================================
   Product Audit Fix V1 — Non-cropping product imagery
   ========================================================== */
.product-main-image{
  background:#fff;
  overflow:hidden;
}
.product-main-image img{
  width:100%;
  height:100%;
  object-fit:contain !important;
  object-position:center;
}
.thumb-button img{
  width:100%;
  height:100%;
  object-fit:contain !important;
  object-position:center;
}
.dynamic-product-image img,
.search-product-card .dynamic-product-image img{
  object-fit:contain !important;
  object-position:center;
  background:#fff;
}

/* ==========================================================
   Product Main Image Fix V2 — full product visible, no zoom/crop
   Added for JB Plastico product detail / listing images.
   ========================================================== */

/* Main product image: keep the complete uploaded image visible. */
.product-main-image{
  width:100%;
  height:auto;
  min-height:460px;
  aspect-ratio:1 / 1;
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
}
.product-main-image img{
  display:block;
  width:100%;
  height:100%;
  max-width:100%;
  max-height:100%;
  object-fit:contain !important;
  object-position:center center !important;
  padding:0 !important;
  margin:auto;
}

/* Gallery thumbnails: show the whole product instead of cropping it. */
.thumb-button{
  overflow:hidden;
  background:#fff;
}
.thumb-button img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain !important;
  object-position:center center !important;
  background:#fff;
  padding:3px;
}

/* Product cards/search/related products: same non-cropping rule. */
.dynamic-product-image{
  background:#fff;
}
.dynamic-product-image img,
.search-product-card .dynamic-product-image img,
.related-products .dynamic-product-image img{
  width:100%;
  height:100%;
  object-fit:contain !important;
  object-position:center center !important;
  background:#fff;
}

/* Responsive main image sizing. */
@media(max-width:950px){
  .product-main-image{
    min-height:380px;
    aspect-ratio:1 / 1;
  }
}
@media(max-width:620px){
  .product-main-image{
    min-height:300px;
    aspect-ratio:1 / 1;
    padding:12px;
  }
}

/* ==========================================================
   JB Plastico Brand Wordmark Polish
   Stretch "INDUSTRY" to visually balance with "JB PLASTICO"
   ========================================================== */
.brand span{
  display:block;
  color:var(--navy);
  font-weight:900;
  font-size:1.28rem;
  line-height:1;
  letter-spacing:.12em;
  transform:scaleX(1.20);
  transform-origin:left center;
}

/* Keep the same balanced effect on small screens without overcrowding. */
@media(max-width:620px){
  .brand span{
    font-size:.90rem;
    letter-spacing:.10em;
    transform:scaleX(1.18);
    transform-origin:left center;
  }
}

/* ==========================================================
   JB PLASTICO — GLOBAL NAVY SHINING HEADER
   Non-sticky: header scrolls away naturally with the page.
   Search field intentionally stays white for readability.
   ========================================================== */
.topbar{display:none !important;}
header,
.jb-new-header{
  position:relative !important;
  top:auto !important;
  z-index:30;
  background:
    radial-gradient(circle at 18% 0%,rgba(40,151,255,.32),transparent 14%),
    radial-gradient(circle at 82% 12%,rgba(40,151,255,.25),transparent 12%),
    linear-gradient(180deg,#082b63 0%,#031a42 56%,#021431 100%) !important;
  border-top:1px solid rgba(105,190,255,.78);
  border-bottom:1px solid rgba(72,167,255,.65);
  box-shadow:0 10px 24px rgba(0,20,54,.22), inset 0 1px 0 rgba(255,255,255,.10) !important;
}
.jb-new-header::before,
.jb-new-header::after{
  content:"";position:absolute;left:0;right:0;height:2px;pointer-events:none;
  background:linear-gradient(90deg,transparent 0%,#21a9ff 18%,transparent 33%,#50c7ff 51%,transparent 67%,#1d8eff 84%,transparent 100%);
  filter:drop-shadow(0 0 5px #159dff);opacity:.75;
}
.jb-new-header::before{top:0}.jb-new-header::after{bottom:0}
.jb-new-header-row{min-height:96px;display:flex;align-items:center;gap:20px;justify-content:space-between;}
.jb-new-brand{display:flex;align-items:center;gap:13px;flex:0 0 auto;border-right:1px solid rgba(44,145,235,.35);padding-right:22px;}
.jb-new-brand img{width:72px;height:72px;object-fit:contain;border-radius:50%;filter:drop-shadow(0 8px 12px rgba(0,0,0,.18));}
.jb-new-wordmark{display:block;min-width:230px;line-height:1;}
.jb-new-wordmark b{display:block;color:#18a9f4;font-size:1.72rem;font-weight:900;letter-spacing:-.02em;white-space:nowrap;}
.jb-new-wordmark strong{display:block;margin-top:7px;color:#fff;font-size:1.25rem;font-weight:900;letter-spacing:.24em;white-space:nowrap;transform:scaleX(1.08);transform-origin:left center;}
.jb-new-nav,.jb-new-actions{display:flex;align-items:center;gap:22px;flex:0 0 auto;}
.jb-new-nav a,.jb-new-actions a{color:#fff;font-size:.76rem;font-weight:900;white-space:nowrap;padding:12px 0;}
.jb-new-nav a:hover,.jb-new-nav a.active,.jb-new-actions a:hover,.jb-new-actions a.active{color:#21b5ff;}
.jb-new-nav a.active{border-bottom:2px solid #21b5ff;}
.jb-new-actions [data-quote-count]{display:inline-grid;place-items:center;min-width:26px;height:26px;margin-left:5px;padding:0 7px;border-radius:999px;background:#0a75dc;color:#fff;}
.jb-header-search{height:46px;display:grid;grid-template-columns:minmax(220px,1fr) 58px;flex:1 1 400px;max-width:500px;min-width:280px;background:#fff;border:2px solid #159df3;border-radius:13px;overflow:hidden;box-shadow:0 0 0 1px rgba(85,194,255,.16),0 0 16px rgba(17,145,255,.24);}
.jb-header-search input{width:100%;height:42px;margin:0;padding:0 18px;border:0;outline:0;background:#fff;color:#3f4852;font:inherit;font-size:.95rem;line-height:42px;text-align:center;}
.jb-header-search input::placeholder{color:#66717c;opacity:1;}
.jb-header-search button{width:58px;height:42px;margin:0;padding:0;border:0;border-left:1px solid #dce8f2;background:linear-gradient(180deg,#1ab5ff,#087ae3);color:#fff;display:grid;place-items:center;cursor:pointer;}
.jb-header-search button svg{width:25px;height:25px;}
.jb-quote-basket{flex:0 0 auto;padding:14px 18px;border-radius:18px;background:linear-gradient(180deg,#24baff,#0576dc);color:#fff;font-size:.78rem;font-weight:900;white-space:nowrap;box-shadow:0 0 0 1px rgba(110,211,255,.6),0 0 18px rgba(22,154,255,.40),inset 0 1px 0 rgba(255,255,255,.25);}
.jb-quote-basket [data-quote-count]{display:inline-grid;place-items:center;min-width:27px;height:27px;margin-left:6px;padding:0 7px;border-radius:999px;background:#fff;color:#1264af;}
.jb-new-header .menu-btn{color:#fff;}

@media(max-width:1180px){
  .jb-new-header-row{gap:12px}.jb-new-brand{padding-right:14px}.jb-new-wordmark{min-width:190px}.jb-new-wordmark b{font-size:1.4rem}.jb-new-wordmark strong{font-size:1.03rem}.jb-new-nav{gap:14px}.jb-new-actions{gap:13px}.jb-header-search{min-width:240px;max-width:390px}.jb-quote-basket{padding:13px 14px}
}
@media(max-width:980px){
  .jb-new-header-row{min-height:84px;flex-wrap:wrap;padding:10px 0 12px}.jb-new-brand{border-right:0}.jb-new-brand img{width:60px;height:60px}.jb-new-wordmark{min-width:180px}.jb-new-nav,.jb-new-actions,.jb-quote-basket{display:none}.jb-new-header .menu-btn{display:block;margin-left:auto}.jb-header-search{order:5;flex:1 0 100%;max-width:none;width:100%;min-width:0;height:44px}.jb-header-search input,.jb-header-search button{height:40px}
}
@media(max-width:560px){
  .jb-new-wordmark b{font-size:1.18rem}.jb-new-wordmark strong{font-size:.88rem;letter-spacing:.18em}.jb-new-brand img{width:54px;height:54px}.jb-header-search{grid-template-columns:minmax(0,1fr) 52px}.jb-header-search button{width:52px}
}

/* ==========================================================
   FINAL MOBILE HEADER — navy/blue version
   Keeps the search field white, makes menu usable on phones,
   and keeps the header NON-STICKY so it scrolls away normally.
   ========================================================== */
@media(max-width:980px){
  html body .jb-new-header{
    position:relative !important;
    top:auto !important;
    background:
      radial-gradient(circle at 15% 0%,rgba(40,151,255,.30),transparent 19%),
      radial-gradient(circle at 88% 8%,rgba(40,151,255,.24),transparent 16%),
      linear-gradient(180deg,#082b63 0%,#031a42 58%,#021431 100%) !important;
    box-shadow:0 8px 22px rgba(0,20,54,.22) !important;
  }

  html body .jb-new-header .container.jb-new-header-row{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) auto !important;
    grid-template-areas:
      "brand menu"
      "search search" !important;
    align-items:center !important;
    gap:10px 12px !important;
    min-height:0 !important;
    padding:12px 16px 14px !important;
  }

  html body .jb-new-brand{
    grid-area:brand !important;
    min-width:0 !important;
    padding:0 !important;
    border:0 !important;
    gap:10px !important;
  }

  html body .jb-new-brand img{
    width:58px !important;
    height:58px !important;
    flex:0 0 58px !important;
  }

  html body .jb-new-wordmark{
    min-width:0 !important;
    width:auto !important;
    overflow:visible !important;
  }

  html body .jb-new-wordmark b{
    font-size:1.22rem !important;
    line-height:1 !important;
    color:#20b4ff !important;
    white-space:nowrap !important;
  }

  html body .jb-new-wordmark strong{
    margin-top:5px !important;
    font-size:.82rem !important;
    line-height:1 !important;
    letter-spacing:.20em !important;
    color:#fff !important;
    transform:scaleX(1.08) !important;
    transform-origin:left center !important;
    white-space:nowrap !important;
  }

  html body .jb-new-header .menu-btn{
    grid-area:menu !important;
    display:grid !important;
    place-items:center !important;
    width:46px !important;
    height:46px !important;
    margin:0 !important;
    padding:0 !important;
    border:1px solid rgba(87,190,255,.5) !important;
    border-radius:12px !important;
    background:rgba(5,47,101,.48) !important;
    color:#fff !important;
    font-size:2rem !important;
    line-height:1 !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.08) !important;
  }

  html body .jb-header-search{
    grid-area:search !important;
    order:initial !important;
    display:grid !important;
    grid-template-columns:minmax(0,1fr) 54px !important;
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    height:46px !important;
    margin:0 !important;
    border:2px solid #159df3 !important;
    border-radius:12px !important;
    overflow:hidden !important;
    background:#fff !important;
    box-shadow:0 0 0 1px rgba(85,194,255,.14),0 0 14px rgba(17,145,255,.20) !important;
  }

  html body .jb-header-search input{
    width:100% !important;
    height:42px !important;
    min-height:42px !important;
    padding:0 12px !important;
    margin:0 !important;
    border:0 !important;
    outline:0 !important;
    background:#fff !important;
    color:#3f4852 !important;
    font-size:.96rem !important;
    line-height:42px !important;
    text-align:center !important;
  }

  html body .jb-header-search input::placeholder{
    color:#66717c !important;
    opacity:1 !important;
  }

  html body .jb-header-search button{
    width:54px !important;
    height:42px !important;
    min-height:42px !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    border-left:1px solid #dce8f2 !important;
    background:linear-gradient(180deg,#1ab5ff,#087ae3) !important;
    color:#fff !important;
    display:grid !important;
    place-items:center !important;
  }

  html body .jb-header-search button svg{
    width:24px !important;
    height:24px !important;
  }

  /* Closed mobile menu */
  html body .jb-new-nav,
  html body .jb-new-actions,
  html body .jb-quote-basket{
    display:none !important;
  }

  /* Open mobile menu */
  html body .jb-new-header.mobile-open .jb-new-nav{
    display:flex !important;
    position:absolute !important;
    z-index:200 !important;
    top:100% !important;
    left:12px !important;
    right:12px !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:0 !important;
    padding:10px !important;
    border:1px solid rgba(72,167,255,.45) !important;
    border-radius:0 0 16px 16px !important;
    background:linear-gradient(180deg,#062653,#02152f) !important;
    box-shadow:0 14px 28px rgba(0,20,54,.35) !important;
  }

  html body .jb-new-header.mobile-open .jb-new-nav a{
    display:block !important;
    width:100% !important;
    padding:13px 14px !important;
    border-bottom:1px solid rgba(255,255,255,.08) !important;
    color:#fff !important;
    font-size:.9rem !important;
    text-align:left !important;
  }

  html body .jb-new-header.mobile-open .jb-new-nav a:last-child{
    border-bottom:0 !important;
  }

  html body .jb-new-header.mobile-open .jb-new-nav a.active,
  html body .jb-new-header.mobile-open .jb-new-nav a:hover{
    color:#27baff !important;
    border-bottom-color:rgba(39,186,255,.35) !important;
  }

  /* Add quick links and basket inside the open menu area visually */
  html body .jb-new-header.mobile-open .jb-new-actions{
    display:flex !important;
    position:absolute !important;
    z-index:201 !important;
    top:calc(100% + 142px) !important;
    left:12px !important;
    right:12px !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:8px !important;
    padding:10px 14px !important;
    background:#02152f !important;
    border-left:1px solid rgba(72,167,255,.45) !important;
    border-right:1px solid rgba(72,167,255,.45) !important;
  }

  html body .jb-new-header.mobile-open .jb-new-actions a{
    color:#fff !important;
    font-size:.82rem !important;
    padding:8px 0 !important;
  }

  html body .jb-new-header.mobile-open .jb-quote-basket{
    display:flex !important;
    position:absolute !important;
    z-index:202 !important;
    top:calc(100% + 194px) !important;
    left:12px !important;
    right:12px !important;
    justify-content:center !important;
    align-items:center !important;
    min-height:48px !important;
    padding:10px 14px !important;
    border-radius:0 0 16px 16px !important;
    background:linear-gradient(180deg,#24baff,#0576dc) !important;
    color:#fff !important;
    font-size:.86rem !important;
    box-shadow:0 14px 28px rgba(0,20,54,.28) !important;
  }
}

@media(max-width:560px){
  html body .jb-new-header .container.jb-new-header-row{
    padding:10px 12px 12px !important;
  }
  html body .jb-new-brand img{
    width:52px !important;
    height:52px !important;
    flex-basis:52px !important;
  }
  html body .jb-new-wordmark b{font-size:1.08rem !important;}
  html body .jb-new-wordmark strong{font-size:.74rem !important;letter-spacing:.16em !important;}
  html body .jb-new-header .menu-btn{width:42px !important;height:42px !important;font-size:1.8rem !important;}
  html body .jb-header-search{height:44px !important;grid-template-columns:minmax(0,1fr) 52px !important;}
  html body .jb-header-search input,
  html body .jb-header-search button{height:40px !important;min-height:40px !important;}
  html body .jb-header-search input{font-size:.92rem !important;line-height:40px !important;}
  html body .jb-header-search button{width:52px !important;}
}



/* ===== Homepage hero: final JB division artwork cards ===== */
.homepage-v4 .home-choice-grid.home-choice-grid--artwork{
  grid-template-columns:repeat(2,minmax(280px,390px));
  gap:34px;
  align-items:end;
}
.homepage-v4 .home-choice-grid--artwork .home-choice-card{
  width:100%;
  padding:0;
  border-radius:24px;
  overflow:visible;
  background:transparent;
  filter:drop-shadow(0 16px 24px rgba(2,43,89,.16));
}
.homepage-v4 .home-choice-grid--artwork .home-choice-card:hover,
.homepage-v4 .home-choice-grid--artwork .home-choice-card:focus-visible{
  transform:translateY(-6px) scale(1.015);
  filter:drop-shadow(0 22px 30px rgba(2,43,89,.23));
}
.homepage-v4 .home-choice-artwork{
  display:block;
  width:100%;
  height:auto;
  object-fit:contain;
}
@media(max-width:1100px){
  .homepage-v4 .home-choice-grid.home-choice-grid--artwork{
    grid-template-columns:repeat(2,minmax(230px,340px));
    gap:26px;
  }
}
@media(max-width:720px){
  .homepage-v4 .home-choice-grid.home-choice-grid--artwork{
    grid-template-columns:1fr;
    justify-items:center;
    gap:28px;
  }
  .homepage-v4 .home-choice-grid--artwork .home-choice-card{
    width:min(360px,92vw);
  }
}

/* ===== Homepage hero artwork: balanced visual scale =====
   Keep both division badges visually equal even though the source PNGs
   have different aspect ratios. Bottom edges remain aligned. */
.homepage-v4 .home-choice-grid--artwork{
  align-items:stretch;
}
.homepage-v4 .home-choice-grid--artwork .home-choice-card{
  min-height:clamp(330px,31vw,430px);
  justify-content:flex-end;
}
.homepage-v4 .home-choice-grid--artwork .home-choice-card.plastic .home-choice-artwork{
  transform:scale(.94);
  transform-origin:center bottom;
}
.homepage-v4 .home-choice-grid--artwork .home-choice-card.automotive .home-choice-artwork{
  transform:scale(1.12);
  transform-origin:center bottom;
}
@media(max-width:1100px){
  .homepage-v4 .home-choice-grid--artwork .home-choice-card{
    min-height:clamp(300px,34vw,380px);
  }
  .homepage-v4 .home-choice-grid--artwork .home-choice-card.plastic .home-choice-artwork{
    transform:scale(.96);
  }
  .homepage-v4 .home-choice-grid--artwork .home-choice-card.automotive .home-choice-artwork{
    transform:scale(1.10);
  }
}
@media(max-width:720px){
  .homepage-v4 .home-choice-grid--artwork .home-choice-card{
    min-height:0;
  }
  .homepage-v4 .home-choice-grid--artwork .home-choice-card.plastic .home-choice-artwork{
    transform:scale(.96);
  }
  .homepage-v4 .home-choice-grid--artwork .home-choice-card.automotive .home-choice-artwork{
    transform:scale(1.08);
  }
}

/* ===== Homepage hero artwork: FINAL equal-height visual balance =====
   The blue badge is square while the automotive badge is landscape.
   Balance by matching visual HEIGHT, not identical CSS width. */
@media(min-width:1101px){
  .homepage-v4 .home-choice-grid.home-choice-grid--artwork{
    grid-template-columns:360px 540px !important;
    justify-content:center !important;
    align-items:end !important;
    gap:54px !important;
  }
  .homepage-v4 .home-choice-grid--artwork .home-choice-card{
    width:100% !important;
    min-height:0 !important;
    display:flex !important;
    align-items:flex-end !important;
    justify-content:center !important;
  }
  .homepage-v4 .home-choice-grid--artwork .home-choice-card.plastic .home-choice-artwork,
  .homepage-v4 .home-choice-grid--artwork .home-choice-card.automotive .home-choice-artwork{
    width:100% !important;
    height:auto !important;
    transform:none !important;
    transform-origin:center bottom !important;
  }
}

@media(min-width:721px) and (max-width:1100px){
  .homepage-v4 .home-choice-grid.home-choice-grid--artwork{
    grid-template-columns:minmax(260px,320px) minmax(390px,480px) !important;
    justify-content:center !important;
    align-items:end !important;
    gap:36px !important;
  }
  .homepage-v4 .home-choice-grid--artwork .home-choice-card{
    width:100% !important;
    min-height:0 !important;
    display:flex !important;
    align-items:flex-end !important;
    justify-content:center !important;
  }
  .homepage-v4 .home-choice-grid--artwork .home-choice-card.plastic .home-choice-artwork,
  .homepage-v4 .home-choice-grid--artwork .home-choice-card.automotive .home-choice-artwork{
    width:100% !important;
    height:auto !important;
    transform:none !important;
  }
}

@media(max-width:720px){
  .homepage-v4 .home-choice-grid.home-choice-grid--artwork{
    grid-template-columns:1fr !important;
    justify-items:center !important;
    gap:24px !important;
  }
  .homepage-v4 .home-choice-grid--artwork .home-choice-card{
    min-height:0 !important;
    display:flex !important;
    justify-content:center !important;
  }
  .homepage-v4 .home-choice-grid--artwork .home-choice-card.plastic{
    width:min(330px,88vw) !important;
  }
  .homepage-v4 .home-choice-grid--artwork .home-choice-card.automotive{
    width:min(495px,94vw) !important;
  }
  .homepage-v4 .home-choice-grid--artwork .home-choice-card.plastic .home-choice-artwork,
  .homepage-v4 .home-choice-grid--artwork .home-choice-card.automotive .home-choice-artwork{
    width:100% !important;
    height:auto !important;
    transform:none !important;
  }
}


/* ==========================================================
   PLASTIC PRODUCTS DROPDOWN — DESKTOP + MOBILE
   ========================================================== */

.jb-new-nav .plastic-menu-item{
  position:relative;
  display:flex;
  align-items:center;
}

.jb-new-nav .plastic-menu-trigger{
  display:flex !important;
  align-items:center;
  gap:7px;
}

.jb-new-nav .plastic-menu-trigger::after{
  content:"";
  width:7px;
  height:7px;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform:rotate(45deg) translateY(-2px);
  transform-origin:center;
  transition:transform .18s ease;
}

.jb-new-nav .plastic-menu-item:hover .plastic-menu-trigger::after,
.jb-new-nav .plastic-menu-item:focus-within .plastic-menu-trigger::after{
  transform:rotate(225deg) translate(-1px,-1px);
}

.plastic-submenu{
  position:absolute;
  z-index:500;
  top:calc(100% - 1px);
  left:50%;
  width:230px;
  margin:0;
  padding:8px;
  list-style:none;
  border:1px solid rgba(46,181,255,.72);
  border-radius:15px;
  background:linear-gradient(180deg,#0b4fa6 0%,#073d83 38%,#03295d 100%);
  box-shadow:
    0 14px 28px rgba(0,24,64,.34),
    0 0 0 1px rgba(19,174,255,.18),
    0 0 22px rgba(8,157,255,.24);
  opacity:0;
  visibility:hidden;
  transform:translate(-50%,8px);
  pointer-events:none;
  transition:opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.plastic-submenu::before{
  content:"";
  position:absolute;
  left:50%;
  top:-7px;
  width:15px;
  height:15px;
  transform:translateX(-50%) rotate(45deg);
  background:#0b4fa6;
  border-left:1px solid rgba(46,181,255,.72);
  border-top:1px solid rgba(46,181,255,.72);
}

.jb-new-nav .plastic-menu-item:hover .plastic-submenu,
.jb-new-nav .plastic-menu-item:focus-within .plastic-submenu,
.jb-new-nav .plastic-menu-item.desktop-hover-open .plastic-submenu,
.jb-new-nav .plastic-menu-item.submenu-open .plastic-submenu{
  opacity:1;
  visibility:visible;
  transform:translate(-50%,0);
  pointer-events:auto;
}

.plastic-submenu li{
  margin:0;
  padding:0;
}

.jb-new-nav .plastic-submenu a{
  position:relative;
  display:grid !important;
  grid-template-columns:30px 1fr 18px;
  align-items:center;
  gap:10px;
  width:100%;
  min-height:48px;
  padding:10px 12px !important;
  border:0 !important;
  border-bottom:1px solid rgba(255,255,255,.10) !important;
  border-radius:8px;
  color:#fff !important;
  font-size:.88rem !important;
  font-weight:900 !important;
  text-align:left;
  line-height:1.15;
  transition:background .14s ease, box-shadow .14s ease, transform .14s ease;
}

.plastic-submenu li:last-child a{
  border-bottom:0 !important;
}

.jb-new-nav .plastic-submenu a::before{
  content:"";
  width:12px;
  height:27px;
  justify-self:center;
  border-radius:3px 3px 2px 2px;
  background:#fff;
  box-shadow:0 -4px 0 -1px #fff;
}

.jb-new-nav .plastic-submenu a::after{
  content:"›";
  justify-self:end;
  color:#fff;
  font-size:1.35rem;
  line-height:1;
}

.jb-new-nav .plastic-submenu a:hover,
.jb-new-nav .plastic-submenu a:focus,
.jb-new-nav .plastic-submenu a:active{
  background:#18b7ee !important;
  color:#fff !important;
  box-shadow:inset 0 0 0 2px rgba(255,255,255,.16);
  transform:translateX(2px);
  outline:none;
}

/* Mobile: submenu opens by tap beneath PLASTIC PRODUCTS */
@media(max-width:980px){
  html body .jb-new-header.mobile-open .jb-new-nav .plastic-menu-item{
    display:block !important;
    width:100% !important;
  }

  html body .jb-new-header.mobile-open .jb-new-nav .plastic-menu-trigger{
    width:100% !important;
    justify-content:space-between !important;
  }

  html body .jb-new-header.mobile-open .jb-new-nav .plastic-submenu{
    position:static !important;
    width:100% !important;
    margin:4px 0 4px !important;
    padding:6px !important;
    border-radius:10px !important;
    opacity:0 !important;
    visibility:hidden !important;
    max-height:0 !important;
    overflow:hidden !important;
    transform:none !important;
    pointer-events:none !important;
    box-shadow:inset 0 0 0 1px rgba(40,180,255,.22) !important;
    transition:max-height .22s ease, opacity .18s ease, visibility .18s ease !important;
  }

  html body .jb-new-header.mobile-open .jb-new-nav .plastic-submenu::before{
    display:none !important;
  }

  html body .jb-new-header.mobile-open .jb-new-nav .plastic-menu-item.submenu-open .plastic-submenu{
    opacity:1 !important;
    visibility:visible !important;
    max-height:330px !important;
    pointer-events:auto !important;
  }

  html body .jb-new-header.mobile-open .jb-new-nav .plastic-submenu a{
    display:grid !important;
    grid-template-columns:28px 1fr 18px !important;
    min-height:45px !important;
    padding:9px 12px !important;
    color:#fff !important;
    font-size:.86rem !important;
  }

  html body .jb-new-header.mobile-open .jb-new-nav .plastic-submenu a:hover,
  html body .jb-new-header.mobile-open .jb-new-nav .plastic-submenu a:focus,
  html body .jb-new-header.mobile-open .jb-new-nav .plastic-submenu a:active{
    background:#18b7ee !important;
    color:#fff !important;
  }

  /* Move the lower mobile menu controls down while submenu is expanded. */
  html body .jb-new-header.mobile-open.plastic-submenu-open .jb-new-actions{
    top:calc(100% + 380px) !important;
  }

  html body .jb-new-header.mobile-open.plastic-submenu-open .jb-quote-basket{
    top:calc(100% + 432px) !important;
  }
}



/* Keep the desktop popover stable while the pointer moves from the menu label into the dropdown. */
@media(min-width:981px){
  .jb-new-nav .plastic-menu-item::after{
    content:"";
    position:absolute;
    left:-18px;
    right:-18px;
    top:100%;
    height:12px;
    background:transparent;
  }
}

/* ==========================================================
   PRODUCT BROWSER V7 — 3 cards + live magnified view
   ========================================================== */
.product-listing-v7 .page-hero{padding:48px 0 30px}
.product-listing-v7 .page-hero h1{font-size:clamp(2rem,3.2vw,3.25rem);margin-bottom:12px}
.product-browser-section{padding:18px 0 52px;background:#fff}
.product-browser-container{width:min(1510px,calc(100% - 32px))}
.product-browser-toolbar{display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;gap:18px;margin:0 0 16px;padding-left:400px;font-size:.78rem;color:var(--deep)}
.product-browser-toolbar label{display:flex;align-items:center;gap:10px;font-weight:900}
.product-browser-toolbar select{min-width:130px;padding:10px 34px 10px 14px;border:1px solid #cfe0ec;border-radius:999px;background:#fff;color:var(--ink)}
.product-browser-toolbar strong{text-align:right}
.product-browser-layout{display:grid;grid-template-columns:350px minmax(600px,1fr) 320px;gap:22px;align-items:start}
.product-focus-card,.magnified-panel{background:#fff;border:1px solid #d6e2eb;border-radius:16px;box-shadow:0 8px 22px #052f6518;overflow:hidden}
.product-focus-image{position:relative;height:350px;background:radial-gradient(circle at 50% 45%,#253447,#080e15 75%);overflow:hidden;cursor:crosshair}
.product-focus-image>img{width:100%;height:100%;object-fit:contain;padding:18px;pointer-events:none}
.zoom-hint{position:absolute;left:14px;top:14px;background:#0758a9;color:#fff;border-radius:999px;padding:7px 12px;font-size:.72rem;font-weight:900}
.zoom-lens{position:absolute;width:92px;height:92px;border:2px solid #1db6ff;background:#1db6ff22;border-radius:50%;transform:translate(-50%,-50%);display:none;pointer-events:none;box-shadow:0 0 0 9999px #00152b12}
.product-focus-image.zooming .zoom-lens{display:block}
.product-focus-title{display:flex;gap:10px;align-items:center;padding:14px 18px;background:linear-gradient(90deg,#0869bc,#03488e);color:#fff}
.product-focus-specs{margin:0;padding:16px 20px 8px}.product-focus-specs div{display:grid;grid-template-columns:105px 1fr;gap:8px;margin:0 0 9px}.product-focus-specs dt{font-weight:900}.product-focus-specs dd{margin:0}
.focus-detail-link{display:block;margin:0 20px 18px;padding:10px;border-radius:8px;background:#eef7ff;color:#075ba8;text-align:center;font-size:.72rem;font-weight:900}
.jb-browser-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.jb-browser-card{position:relative;border-radius:12px;box-shadow:0 5px 14px #052f6516;transition:border-color .18s,box-shadow .18s,transform .18s}
.jb-browser-card.selected{border-color:#0787ee;box-shadow:0 0 0 2px #0787ee22,0 7px 18px #052f6522}
.product-select-button{display:block;width:100%;padding:0;border:0;background:none;text-align:inherit;cursor:pointer;position:relative}
.jb-browser-card .dynamic-product-image{height:190px;background:radial-gradient(circle at 50% 42%,#26384b,#090f15 76%)}
.jb-browser-card .dynamic-product-image img{padding:12px}
.capacity-chip,.info-chip{position:absolute;z-index:2;top:9px;color:#fff;background:#0969b7;font-size:.68rem;font-weight:900}
.capacity-chip{left:9px;padding:6px 10px;border-radius:999px}.info-chip{right:9px;width:27px;height:27px;border-radius:50%;display:grid;place-items:center}
.compact-copy{position:relative;padding:11px 12px 12px;min-height:64px}.compact-copy h3{font-size:.86rem;margin:0 0 4px;padding-right:76px}.compact-copy small{color:#55718c}
.view-detail-corner{position:absolute;right:0;top:-48px;width:78px;height:48px;background:linear-gradient(135deg,#0872cc,#03498f);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:.56rem;font-weight:900;border-radius:9px 0 0 0}.view-detail-corner span{font-size:1.15rem;line-height:1}
.magnified-panel{padding:14px;position:sticky;top:125px}.magnified-heading{display:flex;justify-content:space-between;gap:8px;align-items:center;padding:2px 2px 12px;color:#0866b8}.magnified-heading span{font-size:.58rem;color:#6b7f93;text-align:right}.magnified-image{height:500px;border-radius:12px;background-color:#0a1118;background-repeat:no-repeat;background-size:250%;background-position:50% 50%;box-shadow:inset 0 0 0 1px #ffffff12}
.product-pagination{display:flex;justify-content:center;gap:8px;margin-top:18px}.product-pagination button{width:38px;height:38px;border-radius:50%;border:1px solid #cfe0ec;background:#fff;color:#075ba8;font-weight:900;cursor:pointer}.product-pagination button.active{background:#0878d7;color:#fff;border-color:#0878d7}
@media(max-width:1280px){.product-browser-layout{grid-template-columns:300px minmax(520px,1fr) 270px}.product-browser-toolbar{padding-left:322px}.product-focus-image{height:315px}.magnified-image{height:440px}}
@media(max-width:1050px){.product-browser-toolbar{padding-left:0}.product-browser-layout{grid-template-columns:300px 1fr}.magnified-panel{display:none}.jb-browser-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.product-browser-toolbar{grid-template-columns:1fr 1fr}.product-browser-toolbar strong{grid-column:1/-1;text-align:left}.product-browser-layout{grid-template-columns:1fr}.product-focus-card{max-width:460px;margin:auto;width:100%}.jb-browser-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.jb-browser-card .dynamic-product-image{height:180px}}
@media(max-width:520px){.product-browser-toolbar{grid-template-columns:1fr}.product-browser-toolbar strong{grid-column:auto}.jb-browser-grid{grid-template-columns:1fr}.jb-browser-card .dynamic-product-image{height:250px}}
.jb-new-nav .plastic-submenu a.current-capacity{background:#18b7ee !important;color:#fff !important;box-shadow:inset 0 0 0 2px rgba(255,255,255,.18)}
\n\n/* ==========================================================\n   PRODUCT BROWSER V7.1 — clean cards + balanced live magnifier\n   Removes card badges/buttons and the visible zoom lens while\n   preserving left-image -> right-panel cursor magnification.\n   ========================================================== */\n.product-browser-container{width:min(1460px,calc(100% - 48px))}\n.product-browser-toolbar{padding-left:372px}\n.product-browser-layout{grid-template-columns:350px minmax(560px,1fr) 350px;gap:18px}\n.product-focus-image{cursor:zoom-in}\n.zoom-hint,.zoom-lens,.capacity-chip,.info-chip,.view-detail-corner{display:none !important}\n.jb-browser-card{overflow:hidden}\n.jb-browser-card .dynamic-product-image{height:220px;background:#fff}\n.jb-browser-card .dynamic-product-image img{padding:0;object-fit:contain}\n.compact-copy{padding:11px 12px 13px;min-height:64px}\n.compact-copy h3{padding-right:0}\n.magnified-panel{padding:14px;margin-right:8px}\n.magnified-image{height:500px;background-size:250%}\n@media(max-width:1280px){\n  .product-browser-container{width:min(1200px,calc(100% - 36px))}\n  .product-browser-layout{grid-template-columns:300px minmax(500px,1fr) 285px;gap:16px}\n  .product-browser-toolbar{padding-left:316px}\n  .jb-browser-card .dynamic-product-image{height:200px}\n  .magnified-image{height:440px}\n}\n@media(max-width:1050px){\n  .product-browser-container{width:min(960px,calc(100% - 30px))}\n  .product-browser-toolbar{padding-left:0}\n  .product-browser-layout{grid-template-columns:300px 1fr}\n  .magnified-panel{display:none}\n  .jb-browser-grid{grid-template-columns:repeat(2,minmax(0,1fr))}\n}\n@media(max-width:760px){\n  .product-browser-container{width:min(100% - 24px,680px)}\n  .product-browser-layout{grid-template-columns:1fr}\n  .jb-browser-grid{grid-template-columns:repeat(2,minmax(0,1fr))}\n  .jb-browser-card .dynamic-product-image{height:190px}\n}\n@media(max-width:520px){\n  .jb-browser-grid{grid-template-columns:1fr}\n  .jb-browser-card .dynamic-product-image{height:260px}\n}\n

/* PRODUCT BROWSER V7.2 — reliable live magnifier */
.magnified-image{position:relative;overflow:hidden;background:#0a1118 !important;background-image:none !important;}
.magnified-image #jbMagnifiedImg{width:100%;height:100%;display:block;object-fit:contain;transform:scale(2.65);transform-origin:50% 50%;transition:transform-origin .04s linear;will-change:transform-origin;}
.product-focus-image{touch-action:pan-y;cursor:crosshair;}
@media(max-width:1050px){.magnified-image #jbMagnifiedImg{transform:scale(2.25);}}


/* ==========================================================
   PRODUCT BROWSER V8 — FINAL APPROVED DESKTOP LAYOUT
   Selected image + adjacent magnified view stay visually fixed.
   Product thumbnails use an independent 3-column vertical scroller.
   ========================================================== */
.product-listing-v7{overflow-x:hidden}
.product-browser-container{width:min(1580px,calc(100% - 44px));max-width:none}
.product-browser-layout-v8{
  display:grid;
  grid-template-columns:minmax(280px,330px) minmax(300px,350px) minmax(520px,1fr);
  gap:26px;
  align-items:start;
}
.product-sticky-card{position:sticky;top:118px;align-self:start}
.product-focus-card,.magnified-panel{min-width:0}
.product-focus-image{height:390px;cursor:crosshair;touch-action:pan-y}
.product-focus-image>img{padding:14px;object-fit:contain}
.product-focus-specs{padding:15px 18px 8px}
.product-focus-specs div{grid-template-columns:112px 1fr;gap:8px}
.focus-detail-link{margin:0 18px 18px;background:#0878e8;color:#fff}

.magnified-panel{padding:14px;margin:0}
.magnified-heading{min-height:38px;padding:0 2px 10px}
.magnified-heading b{font-size:.95rem}
.magnified-heading span{font-size:.58rem;max-width:150px}
.magnified-image{height:560px;background:#0a1118 !important;border-radius:11px}
.magnified-image #jbMagnifiedImg{
  width:100%;height:100%;display:block;object-fit:contain;
  transform:scale(2.65);transform-origin:50% 50%;
  transition:transform-origin .035s linear;will-change:transform-origin;
}

.product-gallery-panel{min-width:0}
.product-gallery-toolbar{
  display:grid;grid-template-columns:auto auto 1fr;gap:12px;align-items:center;
  padding:0;margin:0 48px 12px 0;font-size:.76rem;
}
.product-gallery-toolbar label{display:flex;gap:8px;align-items:center;font-weight:900;white-space:nowrap}
.product-gallery-toolbar select{min-width:94px;padding:9px 30px 9px 12px;border:1px solid #cfe0ec;border-radius:999px;background:#fff}
.product-gallery-toolbar strong{text-align:right;white-space:nowrap}
.product-gallery-scroll-shell{display:grid;grid-template-columns:minmax(0,1fr) 40px;gap:10px;align-items:stretch}
.product-gallery-scroll{
  height:650px;overflow-y:auto;overflow-x:hidden;padding:2px 8px 8px 2px;
  scrollbar-width:thin;scrollbar-color:#8fb4d3 #eef5fa;scroll-behavior:smooth;
}
.product-gallery-scroll::-webkit-scrollbar{width:8px}
.product-gallery-scroll::-webkit-scrollbar-track{background:#eef5fa;border-radius:99px}
.product-gallery-scroll::-webkit-scrollbar-thumb{background:#8fb4d3;border-radius:99px}
.jb-browser-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.jb-browser-card{background:#fff;border:1px solid #d7e3ed;overflow:hidden}
.jb-browser-card.selected{border-color:#0787ee;box-shadow:0 0 0 2px #0787ee25,0 7px 18px #052f6520}
.jb-browser-card .dynamic-product-image{height:205px;background:#fff}
.jb-browser-card .dynamic-product-image img{width:100%;height:100%;padding:0;object-fit:contain}
.compact-copy{padding:10px 11px 12px;min-height:62px}
.compact-copy h3{font-size:.85rem;line-height:1.18;margin:0 0 4px;padding:0}
.compact-copy small{font-size:.69rem}
.product-pagination{display:none !important}

.product-gallery-arrows{display:flex;flex-direction:column;align-items:center;justify-content:space-between;min-height:650px;padding:4px 0}
.gallery-arrow{
  width:38px;height:38px;border:0;border-radius:50%;background:#0b74d8;color:#fff;
  font-size:1rem;line-height:1;cursor:pointer;box-shadow:0 5px 14px #075ba830;
  transition:transform .16s,opacity .16s,background .16s;
}
.gallery-arrow:hover:not(:disabled){transform:scale(1.06);background:#18aeea}
.gallery-arrow:disabled{opacity:.28;cursor:default}
.gallery-arrow-track{width:3px;flex:1;margin:10px 0;border-radius:99px;background:linear-gradient(#dbeaf5,#8db8d8,#dbeaf5)}

/* Remove old helper overlays completely in the clean gallery. */
.zoom-hint,.zoom-lens,.capacity-chip,.info-chip,.view-detail-corner{display:none !important}

@media(max-width:1360px){
  .product-browser-container{width:min(1280px,calc(100% - 32px))}
  .product-browser-layout-v8{grid-template-columns:285px 300px minmax(450px,1fr);gap:18px}
  .product-focus-image{height:330px}
  .magnified-image{height:500px}
  .product-gallery-scroll,.product-gallery-arrows{height:590px;min-height:590px}
  .jb-browser-card .dynamic-product-image{height:175px}
}
@media(max-width:1120px){
  .product-browser-layout-v8{grid-template-columns:minmax(280px,1fr) minmax(300px,1fr)}
  .product-sticky-card{position:relative;top:auto}
  .product-gallery-panel{grid-column:1/-1}
  .product-gallery-scroll{height:570px}
  .product-gallery-arrows{height:570px;min-height:570px}
  .product-gallery-toolbar{margin-top:8px}
  .jb-browser-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
  .product-browser-container{width:min(100% - 20px,680px)}
  .product-browser-layout-v8{grid-template-columns:1fr;gap:16px}
  .magnified-panel{display:block}
  .product-focus-card,.magnified-panel{max-width:520px;width:100%;margin:auto}
  .magnified-image{height:360px}
  .product-gallery-panel{grid-column:auto}
  .product-gallery-toolbar{grid-template-columns:1fr 1fr;margin-right:0}
  .product-gallery-toolbar strong{grid-column:1/-1;text-align:left}
  .product-gallery-scroll-shell{grid-template-columns:minmax(0,1fr) 36px}
  .product-gallery-scroll,.product-gallery-arrows{height:520px;min-height:520px}
  .jb-browser-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .jb-browser-card .dynamic-product-image{height:180px}
}
@media(max-width:480px){
  .product-focus-image{height:320px}
  .magnified-image{height:310px}
  .product-gallery-scroll,.product-gallery-arrows{height:500px;min-height:500px}
  .jb-browser-grid{grid-template-columns:1fr}
  .jb-browser-card .dynamic-product-image{height:250px}
}


/* PRODUCT BROWSER V8.1 — edge-safe live magnifier */
.magnified-image{
  position:relative;
  overflow:hidden;
  background-color:#0a1118 !important;
  background-repeat:no-repeat !important;
  background-position:50% 50%;
  background-size:285% auto !important;
  transition:background-position .025s linear;
}
.magnified-image #jbMagnifiedImg{
  opacity:0 !important;
  pointer-events:none !important;
  transform:none !important;
}
@media(max-width:1050px){
  .magnified-image{background-size:250% auto !important;}
}


/* V8.1.2 — live magnifier uses the real image (not a CSS background). */
.magnified-image{position:relative;overflow:hidden;background:#0a1118 !important;background-image:none !important;}
.magnified-image #jbMagnifiedImg{opacity:1 !important;width:100%;height:100%;display:block;object-fit:contain;transform:scale(2.65) !important;transform-origin:50% 50%;transition:transform-origin .025s linear;will-change:transform-origin;pointer-events:none !important;}
@media(max-width:1050px){.magnified-image #jbMagnifiedImg{transform:scale(2.25) !important;}}

/* ==========================================================
   Search Results V8.2 — compact professional result browser
   ========================================================== */
.search-page-v5{background:#f6fbfe}
.search-hero-v5{padding:46px 0 34px;background:radial-gradient(circle at 86% 18%,rgba(25,137,211,.18),transparent 30%),linear-gradient(135deg,#fbfeff,#e9f6fc)}
.search-hero-v5 h1{font-size:clamp(2.15rem,4vw,3.55rem);max-width:780px;margin-top:8px}
.search-hero-v5 p{max-width:800px;margin-bottom:0}
.search-main-form{margin-top:22px;max-width:980px}
.search-main-input,.search-main-form>.btn{min-height:56px}
.search-main-input input{padding:15px 0}
.search-main-form>.btn{min-width:220px}
.search-quick-links{margin-top:13px}

.search-workspace-section{padding:30px 0 52px;background:#f6fbfe}
.search-workspace{grid-template-columns:235px minmax(0,1fr);gap:22px}
.search-filter-panel{top:18px;border-radius:16px;padding:19px;box-shadow:0 9px 25px rgba(5,47,101,.07)}
.search-filter-heading{padding-bottom:13px}
.search-filter-heading h2{font-size:1.25rem}
.search-filter-panel>label{margin-top:14px}
.search-filter-panel select{padding:10px 11px;background:#fbfdff}
.search-filter-note{margin-top:18px;padding:13px;border-radius:12px;background:linear-gradient(135deg,#edf8fd,#f9fdff);border:1px solid #d7e9f2}
.search-filter-note b{display:block;color:var(--navy);font-size:.7rem;margin-bottom:5px}
.search-filter-note span{display:block;color:var(--muted);font-size:.67rem;line-height:1.55}

.search-results-toolbar{margin-bottom:16px;padding:12px 15px;border-radius:13px;box-shadow:0 7px 20px rgba(5,47,101,.04)}
.search-results-toolbar span{font-size:.9rem}
.search-results-toolbar small{font-size:.7rem}
.search-results-toolbar select{min-width:135px;padding:8px 10px;background:#fff}
.search-result-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.search-product-card{border-radius:15px;box-shadow:0 8px 22px rgba(5,47,101,.08);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.search-product-card:hover{transform:translateY(-2px);box-shadow:0 13px 28px rgba(5,47,101,.12);border-color:#bfdbe9}
.search-product-card .dynamic-product-image{height:210px;background:#fff;border-bottom:1px solid #e6f0f5}
.search-product-card .dynamic-product-image img{padding:10px;object-fit:contain}
.search-product-card .dynamic-product-copy{padding:14px 15px 15px}
.search-product-card .product-category{font-size:.58rem;letter-spacing:.07em}
.search-product-card .dynamic-product-copy h3{font-size:1rem;line-height:1.25;margin:5px 0 4px}
.search-product-meta{display:flex;flex-wrap:wrap;gap:4px 10px;margin:6px 0 8px;font-size:.65rem}
.search-product-meta span{white-space:nowrap}
.search-attribute-tags{margin:5px 0 7px;gap:4px}
.search-attribute-tags span{font-size:.54rem;padding:4px 6px}
.search-product-card .dynamic-product-copy p{font-size:.72rem;line-height:1.45;margin:5px 0 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.search-product-card .v4-division-chip{top:10px;left:10px;padding:6px 8px;font-size:.55rem}
.search-product-card .product-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding-top:10px}
.search-product-card .product-card-actions .btn{min-height:36px;padding:8px 9px;font-size:.58rem;display:flex;align-items:center;justify-content:center;text-align:center}
.search-product-card .product-card-actions .quote-basket-add{grid-column:1/-1}

.search-loading{min-height:210px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;padding:35px 0;color:var(--muted);font-size:.75rem;font-weight:800}
.search-loading-spinner{width:34px;height:34px;border-radius:50%;border:3px solid #dcecf5;border-top-color:var(--blue);animation:searchSpin .75s linear infinite}
@keyframes searchSpin{to{transform:rotate(360deg)}}
.search-empty-state{padding:48px 22px;border-radius:16px}

@media(max-width:1120px){
  .search-result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .search-workspace{grid-template-columns:220px minmax(0,1fr)}
}
@media(max-width:760px){
  .search-hero-v5{padding:34px 0 28px}
  .search-hero-v5 h1{font-size:2.2rem}
  .search-workspace{grid-template-columns:1fr}
  .search-result-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .search-product-card .dynamic-product-image{height:190px}
  .search-filter-panel{position:static}
}
@media(max-width:560px){
  .search-result-grid{grid-template-columns:1fr}
  .search-product-card .dynamic-product-image{height:240px}
  .search-results-toolbar{gap:10px}
  .search-toolbar-actions{width:100%}
  .search-main-form>.btn{min-width:0}
}

/* ==========================================================
   Quote Basket V8.3 — visual polish only
   Keeps the existing basket and submit functionality intact.
   ========================================================== */
.quote-checkout-page{background:linear-gradient(180deg,#f5fbff 0,#eef7fc 100%)}
.quote-checkout-hero{padding:54px 0 42px;background:linear-gradient(120deg,#fbfeff 0%,#edf8fe 54%,#dceffa 100%);border-bottom:1px solid #d7e8f2}
.quote-checkout-hero .container{max-width:1180px}
.quote-checkout-hero h1{max-width:760px;letter-spacing:-.045em}
.quote-checkout-hero p{max-width:720px;line-height:1.65}
.quote-checkout-grid{grid-template-columns:minmax(0,1.42fr) minmax(360px,.72fr);gap:32px;max-width:1180px}
.quote-section-heading{margin-bottom:18px}
.quote-section-heading h2{display:flex;align-items:center;gap:10px;font-size:1.55rem;letter-spacing:-.025em}
.quote-item-count{display:inline-grid;place-items:center;min-width:28px;height:28px;padding:0 8px;border-radius:999px;background:#e7f4ff;color:#0862ae;font-style:normal;font-size:.72rem;font-weight:900}
.quote-text-button{padding:8px 10px;border-radius:9px;transition:.2s}
.quote-text-button:hover{background:#fff0f0}
.quote-basket-items{gap:18px}
.quote-basket-item{grid-template-columns:160px minmax(0,1fr);gap:20px;padding:18px;border-radius:20px;box-shadow:0 12px 28px rgba(2,29,67,.075);transition:transform .2s,box-shadow .2s,border-color .2s}
.quote-basket-item:hover{transform:translateY(-2px);border-color:#bcd9ea;box-shadow:0 16px 34px rgba(2,29,67,.105)}
.quote-basket-image{height:160px;border-radius:15px;background:linear-gradient(145deg,#eef7fb,#e4f0f6);border:1px solid #dceaf2}
.quote-basket-image img{object-fit:contain;padding:4px}
.quote-basket-copy{align-self:center;min-width:0}
.quote-basket-copy>span{display:inline-block;margin-bottom:2px;letter-spacing:.045em}
.quote-basket-copy h3{font-size:1.25rem;margin:4px 40px 5px 0}
.quote-basket-copy>p{font-size:.76rem;line-height:1.5}
.quote-item-inputs{gap:11px 12px;margin-top:14px}
.quote-item-inputs input,.quote-item-inputs select,.quote-form-grid input{min-height:44px}
.quote-item-inputs input,.quote-item-inputs select,.quote-form-grid input,.quote-form-grid textarea{border-radius:11px;border-color:#cbdfea;background:#fbfdff;transition:border-color .18s,box-shadow .18s,background .18s}
.quote-remove-button{right:14px;top:14px;display:grid;place-items:center;width:32px;height:32px;line-height:1;transition:.2s}
.quote-remove-button:hover{background:#fee2e2;transform:scale(1.04)}
.quote-customer-panel{top:18px;border-radius:22px;padding:27px;box-shadow:0 16px 38px rgba(2,29,67,.095)}
.quote-customer-panel .quote-section-heading{padding-bottom:13px;border-bottom:1px solid #e4eef4}
.quote-form-grid{gap:14px 12px}
.quote-form-grid textarea{resize:vertical;min-height:115px;line-height:1.5}
.quote-consent{margin:16px 0 14px;padding:12px 13px;border-radius:12px;background:#f7fbfe;border:1px solid #e0edf4}
.quote-secure-note{display:flex;gap:10px;align-items:flex-start;margin:0 0 13px;padding:12px 13px;border-radius:12px;background:#eef8ff;border:1px solid #d8ebf8;color:var(--deep)}
.quote-secure-note>span{display:grid;place-items:center;flex:0 0 25px;height:25px;border-radius:50%;background:#0875c9;color:#fff;font-size:.72rem;font-weight:900}
.quote-secure-note b,.quote-secure-note small{display:block}
.quote-secure-note b{font-size:.72rem;margin-bottom:2px}
.quote-secure-note small{color:var(--muted);font-size:.62rem;line-height:1.45}
.quote-submit-button{min-height:56px;border-radius:12px;box-shadow:0 10px 24px rgba(8,94,173,.18)}
.quote-form-note{text-align:center;margin:10px 0 0}

@media(max-width:980px){
 .quote-checkout-grid{grid-template-columns:1fr;max-width:820px}
 .quote-customer-panel{position:static}
}
@media(max-width:680px){
 .quote-checkout-hero{padding:38px 0 32px}
 .quote-checkout-hero h1{font-size:clamp(2.25rem,12vw,3.4rem)}
 .quote-section-heading{align-items:flex-end}
 .quote-section-heading h2{font-size:1.35rem}
 .quote-basket-item{grid-template-columns:110px minmax(0,1fr);gap:13px;padding:13px}
 .quote-basket-image{height:110px}
 .quote-basket-copy h3{font-size:1.04rem;margin-right:30px}
 .quote-item-inputs,.quote-form-grid{grid-template-columns:1fr}
 .quote-item-inputs .wide,.quote-form-grid .wide{grid-column:auto}
 .quote-customer-panel{padding:19px 16px;border-radius:18px}
}
@media(max-width:440px){
 .quote-basket-item{grid-template-columns:1fr}
 .quote-basket-image{height:190px}
 .quote-basket-image img{padding:8px}
 .quote-basket-copy h3{margin-top:3px}
 .quote-remove-button{top:12px;right:12px}
}


/* ==========================================================
   Search Results V8.4 — capacity-first image badge
   Replaces the oversized division label on result images with
   a compact capacity chip. Products without capacity stay plain.
   ========================================================== */
.search-product-card .v4-division-chip{display:none !important}
.search-product-card .dynamic-product-image{position:relative;overflow:hidden}
.search-capacity-chip{
  position:absolute;
  z-index:3;
  top:10px;
  left:10px;
  display:inline-flex;
  align-items:center;
  max-width:calc(100% - 20px);
  min-height:28px;
  padding:5px 11px;
  border-radius:999px;
  background:linear-gradient(180deg,#0d64b6,#074384);
  color:#fff;
  box-shadow:0 5px 14px rgba(3,46,96,.22);
  font-size:.62rem;
  line-height:1;
  font-weight:900;
  letter-spacing:.01em;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
@media(max-width:560px){
  .search-capacity-chip{top:8px;left:8px;min-height:26px;padding:5px 9px;font-size:.6rem}
}


/* ==========================================================
   JB PLASTICO V8.5 — MOBILE AUDIT POLISH
   Targets the 390px/phone layout only.
   Desktop/tablet working layouts remain unchanged.
   ========================================================== */
@media(max-width:980px){

  /* Prevent any accidental horizontal spill on narrow screens. */
  html,body{max-width:100%;overflow-x:hidden;}

  /* HARDEN CLOSED MOBILE HEADER:
     do not allow the legacy/desktop navigation row to remain visible
     underneath the hamburger header. */
  html body .jb-new-header:not(.mobile-open) .jb-new-nav,
  html body .jb-new-header:not(.mobile-open) .jb-new-actions,
  html body .jb-new-header:not(.mobile-open) .jb-quote-basket,
  html body .jb-new-header:not(.mobile-open) .nav,
  html body .jb-new-header:not(.mobile-open) .quote{
    display:none !important;
    visibility:hidden !important;
    pointer-events:none !important;
  }

  /* The new mobile menu is the only menu shown when opened. */
  html body .jb-new-header.mobile-open .nav,
  html body .jb-new-header.mobile-open .quote{
    display:none !important;
  }

  /* Make the floating contact controls less intrusive on phones. */
  .float{
    right:8px !important;
    bottom:12px !important;
    gap:7px !important;
    z-index:80 !important;
  }
  .float a{
    width:42px !important;
    height:42px !important;
    font-size:1rem !important;
    box-shadow:0 6px 16px rgba(0,0,0,.24) !important;
  }

  /* Give the footer enough breathing room above fixed contact controls. */
  footer{
    padding-bottom:86px !important;
  }
  .copyline{
    flex-direction:column !important;
    align-items:flex-start !important;
    gap:6px !important;
    overflow-wrap:anywhere !important;
    word-break:break-word !important;
  }
  footer p,
  footer a{
    overflow-wrap:anywhere !important;
    word-break:break-word !important;
  }
}

@media(max-width:560px){

  /* Slightly tighter header proportions at common phone widths. */
  html body .jb-new-header .container.jb-new-header-row{
    padding:10px 12px 12px !important;
    gap:9px 10px !important;
  }
  html body .jb-new-brand img{
    width:52px !important;
    height:52px !important;
    flex-basis:52px !important;
  }
  html body .jb-new-wordmark b{
    font-size:1.08rem !important;
  }
  html body .jb-new-wordmark strong{
    font-size:.76rem !important;
    letter-spacing:.17em !important;
  }
  html body .jb-new-header .menu-btn{
    width:42px !important;
    height:42px !important;
    font-size:1.75rem !important;
  }

  /* Reduce oversized mobile section titles without changing desktop. */
  .v4-section-heading h2,
  .v4-factory-copy h2,
  .v4-cta-box h2,
  .v4-quality-banner h2{
    font-size:clamp(1.72rem,8.4vw,2.25rem) !important;
    line-height:1.08 !important;
  }

  .v4-division-card,
  .v4-factory-copy,
  .v4-quality-banner,
  .v4-cta-box{
    padding-left:22px !important;
    padding-right:22px !important;
  }

  /* Floating controls become even smaller on compact phones. */
  .float a{
    width:40px !important;
    height:40px !important;
    font-size:.95rem !important;
  }
}


/* ==========================================================
   JB PLASTICO V8.6 — MOBILE CLEANUP + LARGE LATEST IMAGES
   ========================================================== */
@media(max-width:760px){

  /* Temporarily hide the floating WhatsApp / phone buttons on mobile. */
  .float{
    display:none !important;
  }

  /* Latest Products: large full-width product images on mobile. */
  .v4-latest-grid{
    grid-template-columns:1fr !important;
    gap:22px !important;
  }

  .v4-latest-card{
    display:block !important;
    padding:0 !important;
    overflow:hidden !important;
    border-radius:18px !important;
    background:#fff !important;
  }

  .v4-latest-card img{
    display:block !important;
    width:100% !important;
    height:auto !important;
    max-height:none !important;
    object-fit:contain !important;
    border-radius:0 !important;
    padding:0 !important;
    margin:0 !important;
    background:#eef7fc !important;
  }

  .v4-latest-card > div,
  .v4-latest-card > section,
  .v4-latest-card > article{
    padding:16px 18px 18px !important;
  }

  .v4-latest-card span{
    font-size:.72rem !important;
  }

  .v4-latest-card h3{
    font-size:1.08rem !important;
    margin:6px 0 2px !important;
  }
}

@media(max-width:480px){
  .v4-latest .container{
    width:min(100% - 24px,1180px) !important;
  }
  .v4-latest-card{
    border-radius:16px !important;
  }
}


/* ==========================================================
   JB PLASTICO V8.7 — MOBILE LIVE-PATH FIX
   IMPORTANT: this file is deployed to BOTH public_html/styles.css
   and public_html/site/styles.css so the homepage and /site pages
   receive the same mobile rules.
   ========================================================== */
@media(max-width:760px){

  /* Hide floating WhatsApp/phone controls on mobile for now. */
  html body .float{
    display:none !important;
    visibility:hidden !important;
    pointer-events:none !important;
  }

  /* Temporarily hide the two non-essential homepage audit sections on mobile. */
  html body .v4-manufacturing,
  html body .v4-quality{
    display:none !important;
  }

  /* Latest Products: full-width image cards on mobile. */
  html body .v4-latest-grid{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:24px !important;
  }

  html body .v4-latest-card{
    display:block !important;
    grid-template-columns:none !important;
    padding:0 !important;
    overflow:hidden !important;
    border-radius:18px !important;
    background:#fff !important;
  }

  html body .v4-latest-card img{
    display:block !important;
    width:100% !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    object-fit:contain !important;
    padding:0 !important;
    margin:0 !important;
    border-radius:0 !important;
    background:#eef7fc !important;
  }

  /* Keep category/name below the large image. */
  html body .v4-latest-card > div{
    padding:16px 18px 18px !important;
  }

  html body .v4-latest-card span{
    font-size:.72rem !important;
  }

  html body .v4-latest-card h3{
    font-size:1.08rem !important;
    margin:6px 0 2px !important;
  }
}


/* ==========================================================
   JB PLASTICO V8.8 — MOBILE SIMPLIFIED
   - cleaner phone navigation
   - hides non-final homepage sections on mobile
   - keeps core division navigation + latest products
   ========================================================== */
@media(max-width:980px){

  /* Keep the phone menu visually simple and single-column. */
  html body .jb-new-header.mobile-open .jb-new-nav{
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:0 !important;
    padding:0 !important;
  }

  html body .jb-new-header.mobile-open .jb-new-nav > a,
  html body .jb-new-header.mobile-open .jb-new-nav > .plastic-menu-item > a,
  html body .jb-new-header.mobile-open .jb-mobile-about-link{
    display:block !important;
    width:100% !important;
    padding:16px 20px !important;
    border-bottom:1px solid rgba(255,255,255,.08) !important;
    font-size:.95rem !important;
    font-weight:900 !important;
    text-align:left !important;
  }

  /* Quote actions should not compete with the main mobile menu. */
  html body .jb-new-header.mobile-open .jb-quote-basket,
  html body .jb-new-header.mobile-open .quote,
  html body .jb-new-header.mobile-open .quote-nav-link{
    display:none !important;
  }
}

@media(max-width:760px){

  /* These sections are not final yet, so keep the mobile homepage focused. */
  html body .v4-manufacturing,
  html body .v4-quality,
  html body .v4-cta{
    display:none !important;
  }

  /* Keep the two core division choices visible — they are useful navigation. */
  html body .v4-divisions{
    display:block !important;
  }
}

