/* 2.58 — Homepage round 4 */

/* Even section rhythm */
@media (min-width:761px){
html body.home main.site-main>section.wrap,html body.home main.site-main>.v5-sec{padding-top:36px!important}
html body.home main.site-main>.v5-trust{padding-top:14px!important}
html body.home main.site-main>.v53-proc{padding-top:18px!important}
}
.v58-qqm{display:none}

/* Trust bar with catalogue count */
.v58-count a{color:inherit!important;text-decoration:none!important;font-weight:inherit}
.v58-count a:hover{text-decoration:underline!important}
@media (min-width:1000px){html body.home .v5-trust ul{display:grid!important;grid-template-columns:repeat(5,auto)!important;justify-content:space-between}}

/* Quick quotation: product on its own line (desktop and tablet) */
@media (min-width:761px){
.v56-qq{max-width:600px}
.v56-qq-f{grid-template-columns:96px minmax(0,1fr) auto!important}
.v56-qq-f input[name=ml_free]{grid-column:1/-1}
.v56-qq-f select{grid-column:auto!important}
.v56-qq-f button{grid-column:auto!important}
}
@media (min-width:1200px){html body.home .v5-hero .v5-lead{margin-bottom:14px!important}.v53-pop{margin-top:12px}.v56-qq{margin-top:12px;padding:10px 12px}}

/* Department tiles: even names + sub-category links on hover/focus (desktop) */
html body.home .v5-dgrid>li{position:relative}
html body.home .v5-dgrid .v5-dname{line-height:1.2!important;min-height:2.4em}
.v58-subs{display:none}
@media (min-width:1200px) and (hover:hover){
.v58-subs{display:block;position:absolute;left:0;right:0;bottom:0;z-index:3;list-style:none;margin:0;padding:10px 12px;border-radius:0 0 14px 14px;background:rgba(8,41,77,.95);opacity:0;transform:translateY(6px);pointer-events:none;transition:opacity .18s,transform .18s}
html body.home .v5-dgrid>li:hover .v58-subs,html body.home .v5-dgrid>li:focus-within .v58-subs{opacity:1;transform:none;pointer-events:auto}
.v58-subs li{margin:0}
.v58-subs a{display:block;padding:3px 0;color:#fff!important;font-size:13.5px;font-weight:600;text-decoration:none!important}
.v58-subs a:hover,.v58-subs a:focus-visible{text-decoration:underline!important;outline:none}
}

/* Closing band: contact + newsletter */
.v56-contact-in{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)!important;grid-template-areas:"t n" "u n";align-items:start!important;gap:16px 40px!important}
.v56-contact-in>div:first-child{grid-area:t}
.v56-contact-in>ul{grid-area:u;grid-template-columns:repeat(2,minmax(0,1fr))!important}
.v58-news{grid-area:n;padding:18px;border-radius:14px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.22)}
.v58-news h3{margin:0 0 4px;font-family:var(--f-head,inherit);font-size:20px;font-weight:800;color:#fff}
.v58-news>p{margin:0 0 12px;font-size:14.5px;color:#D6E4F5}
.v58-news form{display:flex;gap:8px}
.v58-news input[type=email]{flex:1 1 auto;min-width:0;height:46px;padding:0 12px;border:1px solid #fff;border-radius:8px;font-size:15px;color:#20272F;background:#fff}
.v58-news button{height:46px;padding:0 18px;border:0;border-radius:8px;background:linear-gradient(180deg,#F0182F,#C8001C);color:#fff;font-weight:700;font-size:15px;cursor:pointer}
.v58-news button:focus-visible,.v58-news input:focus-visible{outline:3px solid #fff;outline-offset:2px}
.v58-news .v58-news-note{margin:10px 0 0;font-size:13px;line-height:1.45;color:#BFD3EA}
.v58-news .v58-news-note a{color:#fff!important;text-decoration:underline!important}
.v58-news [role=status]{color:#fff;font-weight:700}

/* Readability: nothing under 13px */
body.home .v56-cnt,body.home .v5-fprice small.vat,body.home .v5-fsku,body.home .v5-trust li{font-size:13px!important}

/* Tablet / laptop */
@media (min-width:761px) and (max-width:1099px){
.v56-contact-in{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"t" "u" "n"}
}

/* Phone */
@media (max-width:760px){
/* order: hero, quick quote, departments, procurement centre, trust, rest */
html body.home main.site-main{display:flex!important;flex-direction:column}
html body.home main.site-main>*{order:20;width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box}
html body.home main.site-main>.v5-hero{order:1}
html body.home main.site-main>.v57-welcome{order:2}
html body.home main.site-main>.v58-qqm{order:3}
html body.home main.site-main>.v5-depts{order:4}
html body.home main.site-main>.v53-proc{order:5}
html body.home main.site-main>.v5-trust{order:6}
html body.home main.site-main>.v56-contact{order:99}
/* shorter hero, quick quote below it */
html body.home .v5-hero .v5-hero-pic{height:120px!important}
html body.home .v5-hero .v56-qq{display:none}
html body.home .v5-hero h1{font-size:28px!important}
html body.home .v5-hero .v5-eyebrow{display:none}
.v58-qqm{display:block;padding-top:14px!important}
.v58-qqm .v56-qq{margin:0;max-width:none}
/* swipe rows */
html body.home .v53-why ul,html body.home .v5-panels,html body.home .v5-sgrid{display:grid!important;grid-auto-flow:column;grid-template-columns:none!important;overflow-x:auto;scroll-snap-type:x mandatory;gap:10px!important;margin-left:-16px!important;margin-right:-16px!important;padding-left:16px!important;padding-right:16px!important;padding-bottom:10px!important;scrollbar-width:thin}
html body.home .v53-why ul{grid-auto-columns:78%}
html body.home .v5-panels{grid-auto-columns:84%}
html body.home .v5-sgrid{grid-auto-columns:72%}
html body.home .v53-why li,html body.home .v5-panels>*,html body.home .v5-sgrid>li{scroll-snap-align:start}
html body.home .v5-panels{width:auto!important;max-width:none!important;min-width:0}
html body.home .v53-why ul,html body.home .v5-sgrid{min-width:0;width:auto!important;max-width:none!important}
html body.home .v53-why li{min-width:0}
html body.home .v5-sgrid>li>a{height:100%}
/* closing band */
.v56-contact-in{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"t" "u" "n"}
.v56-contact-in>ul{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.v56-contact a{flex-direction:column;align-items:flex-start;gap:4px;font-size:13.5px;overflow-wrap:anywhere}
.v58-news form{flex-direction:column}
.v58-news button{width:100%}
}
@media (max-width:760px){html body.home main.site-main>.v5-panels{margin-left:0!important;margin-right:0!important}}
.v56-contact .v58-news .v58-news-note a{display:inline!important;min-height:0!important;padding:0!important;background:none!important;border:0!important;font-weight:600!important;font-size:13px!important}
@media (min-width:761px){.v53-pop a:nth-of-type(n+5){display:none}.v53-pop{flex-wrap:nowrap}}
@media (min-width:1200px) and (hover:hover){
html body.home .v5-dgrid .v58-subs a{display:block!important;height:auto!important;min-height:0!important;padding:4px 2px!important;margin:0!important;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;transform:none!important;color:#fff!important;font-size:13.5px!important;font-weight:600!important;text-align:left!important;overflow:visible!important}
html body.home .v5-dgrid .v58-subs a:hover{text-decoration:underline!important}
html body.home .v5-dgrid .v58-subs{padding:10px 14px!important}
}
/* 2.59 — Round 5 polish */
/* Trust bar back to readable size (13px floor applied to it by mistake in 2.58) */
@media (min-width:1200px){html body.home .v5-trust li{font-size:17px!important}html body.home .v5-trust li .ico{width:24px;height:24px}}
@media (min-width:761px) and (max-width:1199px){html body.home .v5-trust li{font-size:15.5px!important}}
@media (max-width:760px){html body.home .v5-trust li{font-size:14px!important}}
/* SKU: one line */
body.home .v5-fsku{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* Desktop hero: tighter */
@media (min-width:1200px){
html body.home .v5-hero-in{padding-top:18px!important;padding-bottom:18px!important}
html body.home .v5-hero h1{margin-bottom:8px!important}
html body.home .v5-hero .v5-eyebrow{margin-bottom:6px!important}
html body.home .v5-hero .v5-ctas{margin-bottom:0!important}
.v53-pop{margin-top:10px}.v56-qq{margin-top:10px}
}
/* Phone: room above the bottom navigation bar; FAQs 3 + more */
@media (max-width:760px){
.v58-qqm{padding-bottom:12px}
.v58-qqm .v56-qq,.v56-contact{scroll-margin-bottom:80px}
.v53-faqs.v59-short details:nth-of-type(n+4){display:none}
.v59-more{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;margin-top:10px;border:1px solid #C7D7EA;border-radius:10px;background:#fff;color:#08294D;font-weight:700;font-size:15px;cursor:pointer}
.v59-more:focus-visible{outline:3px solid #145DA0;outline-offset:2px}
}
@media (min-width:761px){.v59-more{display:none}}
@media (min-width:1200px){
html body.home .v5-hero-copy{padding-top:14px!important;padding-bottom:14px!important}
html body.home .v5-hero-in{padding-top:12px!important;padding-bottom:12px!important}
html body.home .v5-hero .v56-qq-h{margin-bottom:6px}
html body.home .v5-hero .v56-qq input,html body.home .v5-hero .v56-qq select,html body.home .v5-hero .v56-qq button{height:40px}
html body.home .v5-hero .v5-lead{margin-bottom:12px!important}
}
/* Trust bar with 5 items: wrap cleanly below 1200px */
@media (min-width:761px) and (max-width:1199px){
html body.home .v5-trust ul{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;gap:8px 22px!important;grid-template-columns:none!important}
html body.home .v5-trust li{flex:0 0 auto;border:0!important;padding:0!important;white-space:nowrap;font-size:15px!important}
}
@media (min-width:1200px) and (max-width:1399px){html body.home .v5-trust li{font-size:14.5px!important;gap:8px!important}html body.home .v5-trust ul{gap:0 12px!important}}
/* 2.60 — Hero polish */
@media (min-width:1000px){
html body.home .v5-hero .v5-hero-pic{-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 14%);mask-image:linear-gradient(90deg,transparent 0,#000 14%)}
html body.home .v5-hero{background:linear-gradient(90deg,#F4F8FD 0%,#EAF2FB 45%,#EAF2FB 100%)!important}
html body.home .v5-hero h1{letter-spacing:-.02em;line-height:1.04!important}
html body.home .v5-hero .v5-eyebrow{letter-spacing:.06em}
html body.home .v5-hero .v5-ctas .v5-btn{min-width:214px;justify-content:center}
html body.home .v5-hero .v56-qq{border-top:3px solid #E60023;background:rgba(255,255,255,.97)}
}
@media (min-width:1200px){html body.home .v5-hero h1{font-size:56px!important}}
.v53-pop a{white-space:nowrap}
@media (min-width:761px) and (max-width:1199px){.v53-pop a:nth-of-type(n+4){display:none}.v53-pop{flex-wrap:nowrap}}
@media (min-width:1000px) and (max-width:1199px){html body.home .v5-hero .v5-hero-copy{max-width:470px!important}html body.home .v5-hero .v5-lead{font-size:16px!important}}
/* 2.61 — Hero photo full width (behind the text and quick quotation), soft light overlay on the left for readability */
@media (min-width:1000px){
html body.home .v5-hero .v5-hero-pic{left:0!important;right:0!important;width:100%!important;-webkit-mask-image:none!important;mask-image:none!important;clip-path:none!important}
html body.home .v5-hero .v5-hero-pic img{object-position:70% 50%!important}
html body.home .v5-hero .v5-hero-pic::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(244,248,253,.97) 0%,rgba(244,248,253,.93) 30%,rgba(244,248,253,.6) 44%,rgba(244,248,253,0) 60%);pointer-events:none}
html body.home .v5-hero .v5-hero-in{position:relative;z-index:1}
html body.home .v5-hero .v56-qq{background:rgba(255,255,255,.9)!important;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
html body.home .v5-hero .v53-pop a{background:rgba(255,255,255,.9)}
}
/* Tablet (761–999): photo behind the whole hero as well */
@media (min-width:761px) and (max-width:999px){
html body.home .v5-hero{display:block!important;position:relative}
html body.home .v5-hero .v5-hero-pic{position:absolute!important;inset:0!important;height:auto!important;min-height:0}
html body.home .v5-hero .v5-hero-pic::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(244,248,253,.97) 0%,rgba(244,248,253,.92) 50%,rgba(244,248,253,.45) 75%,rgba(244,248,253,.1) 100%)}
html body.home .v5-hero .v5-hero-in{position:relative;z-index:1}
html body.home .v5-hero .v5-hero-copy{max-width:560px!important}
}
/* Newsletter-only closing band */
.v61-news-only .v56-contact-in{display:block!important;padding-top:22px!important;padding-bottom:22px!important}
.v61-news-only .v58-news{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);grid-template-areas:"h f" "p f" "n n";align-items:center;gap:2px 32px;padding:0;background:none;border:0}
.v61-news-only .v58-news h3{grid-area:h;font-size:22px}
.v61-news-only .v58-news>p:not(.v58-news-note){grid-area:p;margin:0}
.v61-news-only .v58-news form{grid-area:f}
.v61-news-only .v58-news .v58-news-note{grid-area:n;margin-top:8px}
@media (max-width:760px){.v61-news-only .v58-news{grid-template-columns:minmax(0,1fr);grid-template-areas:"h" "p" "f" "n";gap:6px}.v61-news-only .v58-news form{margin-top:8px}}
