/* Dedicated catalogue layout, separate from legacy project filters */
.mepak-catalog-section{padding:36px 0 64px;clear:both}
.mepak-catalog-intro{max-width:760px;margin:0 0 32px}
.mepak-catalog-intro>span{color:#008fa8;font-size:11px;letter-spacing:1.5px;font-weight:600}
.mepak-catalog-intro h2{font-size:32px;line-height:1.25;letter-spacing:-.5px;font-weight:600;color:#112d4f;margin:12px 0}
.mepak-catalog-intro p{font-size:15px;line-height:1.8;color:#607487}
.mepak-catalog-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:36px;align-items:start}
.mepak-catalog-sidebar{padding:0;border:0;border-radius:0;background:transparent}
.mepak-sector-heading{font-size:13px;font-weight:600;color:#112d4f;padding:0 0 18px;border-bottom:2px solid #112d4f;margin-bottom:12px}
.mepak-sector-options{display:block;position:static;width:100%}
.mepak-catalog-sidebar .mepak-catalog-filter{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.mepak-catalog-sidebar .mepak-catalog-filter li{margin:0;padding:0}
.mepak-catalog-sidebar .mepak-catalog-filter button{display:block;width:100%;text-align:left;font-size:14px;font-weight:400;line-height:1.5;padding:13px 14px;border:1px solid transparent;border-left:3px solid transparent;border-radius:6px;background:transparent;color:#5b7184;cursor:pointer}
.mepak-catalog-sidebar .mepak-catalog-filter button.current{background:#edf3f7;border-color:transparent;border-left-color:#ed6028;color:#112d4f;font-weight:600;box-shadow:none}
.mepak-catalog-sidebar .mepak-catalog-filter button:hover{background:#f3f6f8}
.mepak-catalog-main{min-width:0}
.mepak-catalog-tools{display:grid;grid-template-columns:minmax(0,1fr) 200px;gap:20px;padding:0 0 22px;border:0;border-bottom:1px solid #e2e9ef;border-radius:0;background:transparent;margin:0}
.mepak-catalog-tools label{font-size:12px;font-weight:500;color:#536b80;margin-bottom:8px}
.mepak-catalog-tools input,.mepak-catalog-tools select{height:46px;border:1px solid #d6e1e9;border-radius:7px;font-size:14px;background:#fff;padding:0 14px;color:#112d4f}
.mepak-catalog-results{margin:20px 0;min-height:20px}
.mepak-catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:0;padding:0;list-style:none}
.mepak-catalog-card{border:1px solid #dfe7ed;border-radius:10px;background:#fff;overflow:hidden;box-shadow:0 3px 14px #112d4f04;transition:border-color .3s ease,box-shadow .3s ease}
.mepak-catalog-card:hover{transform:none;border-color:#adc4d5;box-shadow:0 8px 24px #112d4f09}
.mepak-catalog-photo{height:260px;padding:30px;background:#f7f9fb;border-bottom:1px solid #e8edf2;display:flex;align-items:center;justify-content:center}
.mepak-catalog-photo img{width:100%;height:100%;object-fit:contain;transform:none!important}
.mepak-catalog-info{padding:22px 24px;background:white}
.mepak-catalog-sector{font-size:10px;font-weight:600;letter-spacing:1px;color:#008fa8;margin:0 0 10px}
.mepak-catalog-info h3{font-size:21px;font-weight:500;line-height:1.4;min-height:30px;margin:0 0 20px;color:#112d4f}
.mepak-catalog-info>span{border-top:1px solid #e8edf2;padding-top:16px;font-size:13px;font-weight:500;color:#112d4f}
.mepak-catalog-info>span>span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#f2f6f9;color:#315979;font-size:17px}
@media(max-width:900px){.mepak-catalog-layout{grid-template-columns:1fr;gap:24px}.mepak-sector-heading{border-bottom:1px solid #dfe7ed;padding-bottom:12px}.mepak-catalog-sidebar .mepak-catalog-filter{flex-direction:row;flex-wrap:wrap;gap:8px}.mepak-catalog-sidebar .mepak-catalog-filter button{width:auto;border:1px solid #dfe7ed;padding:10px 16px}.mepak-catalog-sidebar .mepak-catalog-filter button.current{border-color:#112d4f;border-left:1px solid #112d4f;background:#112d4f;color:white}.mepak-catalog-photo{height:220px}}
@media(max-width:540px){.mepak-catalog-tools{grid-template-columns:1fr;gap:16px}.mepak-catalog-grid{grid-template-columns:1fr;gap:20px}.mepak-catalog-photo{height:250px}.mepak-catalog-intro h2{font-size:26px}.mepak-catalog-section{padding-top:28px}.mepak-catalog-info{padding:20px}}

/* Technical manufacturer catalogue refinements */
.mepak-catalog-page .glax_tm_main_title_holder .title_holder h3,

/* Technical manufacturer catalogue refinements */
.mepak-catalog-page .glax_tm_main_title_holder .title_holder h1.mepak-seo-heading{font-size:36px;line-height:1.2;font-weight:600}
.mepak-catalog-page .glax_tm_main_title_holder .title_holder{padding-top:28px;padding-bottom:12px}
.mepak-catalog-page .builify_tm_breadcrumbs{padding-bottom:24px}
.mepak-catalog-section{padding-top:24px}
.mepak-catalog-intro{margin-bottom:24px}.mepak-catalog-intro>span,.mepak-catalog-intro h2{display:none}
.mepak-catalog-intro p{margin:0;font-size:14px}
.mepak-search-field{position:relative;display:block}
.mepak-catalog-tools .mepak-search-field input{padding-left:42px}
.mepak-search-icon{position:absolute;left:16px;top:15px;width:12px;height:12px;border:1.6px solid #6f8495;border-radius:50%;pointer-events:none}
.mepak-search-icon:after{content:'';position:absolute;width:6px;height:1.6px;background:#6f8495;right:-5px;bottom:-3px;transform:rotate(45deg)}
.mepak-catalog-photo{background:#fff;aspect-ratio:4/3;height:auto;padding:24px}
.mepak-catalog-photo img{display:block;max-height:220px;min-height:150px}
.mepak-catalog-card{border-radius:7px;box-shadow:none}
.mepak-catalog-info{padding:20px}
.mepak-catalog-info h3{font-size:19px;line-height:1.4}
.mepak-catalog-results{justify-content:flex-start;flex-wrap:wrap;gap:10px}
#mepak-catalog-reset{margin-left:auto}
#mepak-active-sector{border:1px solid #cfdde7;background:#edf3f7;color:#112d4f;border-radius:5px;padding:7px 10px;font:inherit;font-size:12px;cursor:pointer}
#mepak-filter-open{display:none;border:1px solid #112d4f;background:white;color:#112d4f;border-radius:6px;padding:11px 17px;font:inherit;font-size:13px;cursor:pointer}
.mepak-catalog-empty{text-align:center;padding:36px 24px;background:#f7f9fb}
.mepak-catalog-empty h3{font-size:21px;color:#112d4f;margin:0 0 12px}
.mepak-catalog-empty p{font-size:14px;line-height:1.7;color:#607487}
#mepak-empty-reset{border:0;background:transparent;text-decoration:underline;color:#007f95;font:inherit;font-size:13px;padding:10px;cursor:pointer}
#mepak-filter-panel{width:min(440px,100%);max-height:85dvh;margin:auto auto 0;padding:24px;border:0;border-radius:18px 18px 0 0;background:white;color:#112d4f;box-sizing:border-box;overflow:auto}
#mepak-filter-panel::backdrop{background:#102b4970;backdrop-filter:blur(3px)}
#mepak-filter-panel[open]{animation:mepak-filter-enter .3s ease both}
.mepak-filter-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.mepak-filter-heading h2{font-size:20px;margin:0}
#mepak-filter-close{width:44px;height:44px;border:0;border-radius:8px;background:#f1f5f8;color:#112d4f;font-size:28px;cursor:pointer}
#mepak-mobile-filters .mepak-catalog-filter{display:flex;flex-direction:column;gap:10px}
#mepak-mobile-filters button{width:100%;min-height:48px;text-align:left;border:1px solid #dce7ef;border-radius:7px;padding:12px 16px;color:#315979;background:white;font:inherit;font-size:14px}
#mepak-mobile-filters button.current{border-color:#112d4f;background:#edf3f7;color:#112d4f;box-shadow:inset 3px 0 #ed6028}
#mepak-filter-apply{width:100%;min-height:48px;margin-top:24px;border:0;border-radius:7px;background:#112d4f;color:white;font:inherit;font-size:14px;cursor:pointer;padding:12px}
@keyframes mepak-filter-enter{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1600px){.mepak-catalog-page .mepak-catalog-section{max-width:1400px;margin:auto}.mepak-catalog-page .glax_tm_section>.container:has(.mepak-catalog-section){max-width:1400px;width:calc(100% - 80px)}.mepak-catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.mepak-catalog-sidebar{display:none}.mepak-catalog-layout{display:block}#mepak-filter-open{display:block}#mepak-filter-open[hidden]{display:none}.mepak-catalog-results{gap:10px}}
@media(max-width:540px){.mepak-catalog-page .glax_tm_main_title_holder .title_holder h3,.mepak-catalog-page .glax_tm_main_title_holder .title_holder h1.mepak-seo-heading{font-size:30px}.mepak-catalog-tools{gap:14px}.mepak-catalog-info h3{font-size:19px}.mepak-catalog-photo{aspect-ratio:4/3}.mepak-catalog-results{align-items:center}#mepak-catalog-reset{margin-left:0}}
.mepak-catalog-page #mepak-product-search{padding-left:44px!important}

/* Sector-only product card captions. */
.mepak-catalog-info h3{font-size:23px;font-weight:600;line-height:1.4;letter-spacing:0;text-transform:none;margin:0 0 18px}

/* Aligned brand-colour product cards. */
.mepak-catalog-grid{align-items:stretch}
.mepak-catalog-card{border-color:#d6e3ed;border-radius:10px;background:#f3f7fa;box-shadow:0 3px 14px #112d4f05}
.mepak-catalog-card[hidden]{display:none}
.mepak-catalog-link{display:flex;flex-direction:column;height:100%;color:#112d4f}
.mepak-catalog-photo{flex:none;background:#fff;border-bottom:1px solid #dce6ee}
.mepak-catalog-info{position:relative;display:flex;flex:1;flex-direction:column;padding:23px 22px 20px;background:#f3f7fa;border-top:3px solid #ff631e}
.mepak-catalog-info h3{min-height:2.8em;font-size:23px;line-height:1.4;font-weight:600;color:#112d4f;margin:0 0 18px;overflow-wrap:break-word}
.mepak-catalog-info>span{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:15px;border-top:1px solid #d6e3ed;color:#244c6d;font-size:13px}
.mepak-catalog-info>span>span{flex:none;width:32px;height:32px;background:#fff0e8;color:#ec5d23;transition:background .2s ease,color .2s ease}
.mepak-catalog-card:hover{border-color:#ed9b73;box-shadow:0 8px 24px #112d4f0b}
.mepak-catalog-link:hover .mepak-catalog-info>span>span{background:#ff631e;color:white}
.mepak-catalog-link:focus-visible{outline:3px solid #008fa8;outline-offset:-3px}
@media(max-width:540px){.mepak-catalog-info{padding:20px}.mepak-catalog-info h3{font-size:21px;min-height:2.8em}}

/* Compact catalogue cards. */
.mepak-catalog-grid{gap:20px}
.mepak-catalog-photo{aspect-ratio:3/2;padding:18px}
.mepak-catalog-photo img{max-height:175px;min-height:0}
.mepak-catalog-info{padding:16px 18px 14px}
.mepak-catalog-info h3{font-size:20px;line-height:1.4;min-height:2.8em;margin-bottom:12px}
.mepak-catalog-info>span{padding-top:11px;font-size:12px}
.mepak-catalog-info>span>span{width:27px;height:27px;font-size:15px}
@media(min-width:1200px){.mepak-catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:540px){.mepak-catalog-grid{gap:16px}.mepak-catalog-photo{height:auto;aspect-ratio:3/2;padding:16px}.mepak-catalog-photo img{max-height:175px}.mepak-catalog-info{padding:16px}.mepak-catalog-info h3{font-size:19px}}

/* Dense product gallery. */
.mepak-catalog-grid{gap:16px}
.mepak-catalog-photo{height:150px;aspect-ratio:auto;padding:12px}
.mepak-catalog-photo img{width:100%;height:100%;max-height:126px;min-height:0;object-fit:contain}
.mepak-catalog-info{padding:12px 14px 11px;border-top-width:2px}
.mepak-catalog-info h3{font-size:16px;line-height:1.4;min-height:2.8em;margin-bottom:8px}
.mepak-catalog-info>span{font-size:11px;padding-top:8px;gap:6px}
.mepak-catalog-info>span>span{width:23px;height:23px;font-size:13px}
@media(min-width:1200px){.mepak-catalog-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:901px) and (max-width:1199px){.mepak-catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:541px) and (max-width:900px){.mepak-catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:540px){.mepak-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mepak-catalog-photo{height:125px;aspect-ratio:auto;padding:9px}.mepak-catalog-photo img{max-height:107px}.mepak-catalog-info{padding:11px 10px}.mepak-catalog-info h3{font-size:14px;min-height:4.2em}.mepak-catalog-info>span{font-size:10px}}

/* Photo-led gallery with the MEPAK navy and orange palette. */
.mepak-catalog-layout{display:block}
.mepak-catalog-sidebar{width:220px;margin-bottom:22px;position:relative;z-index:8}
.mepak-sector-wrap{position:relative}
.mepak-sector-heading{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:46px;padding:0 0 0 18px;margin:0;border:0;border-radius:7px;background:#112d4f;color:#fff;font:inherit;font-size:13px;font-weight:600;cursor:pointer;overflow:hidden}
.mepak-sector-chevron{display:grid;place-items:center;align-self:stretch;width:44px;background:#ed6028;color:#fff;font-size:15px;transition:background .2s}
.mepak-sector-options{display:none;position:absolute;top:calc(100% + 7px);left:0;width:100%;padding:8px;background:#fff;border:1px solid #d6e3ed;border-radius:8px;box-shadow:0 10px 30px #112d4f20;box-sizing:border-box}
.mepak-sector-wrap.is-open .mepak-sector-options{display:block}
.mepak-catalog-sidebar .mepak-catalog-filter button{font-size:13px;padding:10px 12px}
.mepak-catalog-card{position:relative;border-radius:8px;background:#fff;border:1px solid #dbe5ed;box-shadow:none}
.mepak-catalog-card:after{content:'';position:absolute;bottom:0;left:18px;right:18px;height:4px;background:#ed6028;pointer-events:none;border-radius:3px 3px 0 0}
.mepak-catalog-link{position:relative;min-height:245px;overflow:hidden}
.mepak-catalog-photo{width:100%;height:245px;aspect-ratio:auto;padding:14px 16px 91px;box-sizing:border-box;border:0;background:#fff}
.mepak-catalog-photo img{height:100%;width:100%;max-height:none;min-height:0;object-fit:contain}
.mepak-catalog-info{position:absolute;inset:auto 0 0;padding:35px 18px 18px;border:0;background:linear-gradient(0deg,rgba(13,38,64,.98) 0%,rgba(17,45,79,.94) 65%,rgba(17,45,79,0) 100%);color:white}
.mepak-catalog-info h3{font-size:17px;line-height:1.35;min-height:2.7em;margin:0 0 8px;color:#fff}
.mepak-catalog-info>span{padding-top:8px;border-color:#ffffff24;font-size:11px;color:#e0eaf3}
.mepak-catalog-info>span>span{width:24px;height:24px;background:#ed6028;color:white;font-size:14px}
.mepak-catalog-link:hover .mepak-catalog-info>span>span{background:#fff;color:#d9551e}
.mepak-catalog-card:hover{border-color:#ed6028;box-shadow:0 5px 18px #112d4f16}
@media(max-width:900px){.mepak-catalog-sidebar{display:none}}
@media(max-width:540px){.mepak-catalog-link{min-height:220px}.mepak-catalog-photo{height:220px;padding:10px 10px 100px}.mepak-catalog-info{padding:28px 12px 16px}.mepak-catalog-info h3{font-size:14px;min-height:4.05em}.mepak-catalog-info>span{font-size:10px}.mepak-catalog-card:after{left:12px;right:12px}}

/* Three product groups first, then the selected group's compact products. */
.mepak-product-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:26px 0 40px}
.mepak-product-groups[hidden],.mepak-catalog-group-products[hidden],.mepak-catalog-group-nav[hidden]{display:none!important}
.mepak-product-group{position:relative;display:block;min-height:285px;overflow:hidden;border-radius:9px;border:1px solid #d9e5ee;background:white;border-bottom:4px solid #ed6028;color:white}
.mepak-product-group>img{display:block;width:100%;height:285px;object-fit:contain;padding:20px 20px 85px;box-sizing:border-box;transition:transform .35s ease}
.mepak-product-group>div{position:absolute;inset:auto 0 0;padding:50px 24px 22px;background:linear-gradient(0deg,#112d4f 0%,#112d4ff2 55%,#112d4f00 100%)}
.mepak-product-group h2{font-size:25px;line-height:1.3;margin:0 0 12px;color:#fff;font-weight:600}
.mepak-product-group>div>span{display:flex;align-items:center;gap:12px;font-size:12px;color:#e2edf4}
.mepak-product-group>div>span>span{color:#ff824a;font-size:20px}
.mepak-product-group:hover{border-color:#ed6028}.mepak-product-group:hover>img{transform:scale(1.035)}
.mepak-product-group:focus-visible{outline:3px solid #ed6028;outline-offset:4px}
.mepak-catalog-group-nav{margin:20px 0 24px}.mepak-catalog-group-nav a{color:#112d4f;font-size:14px;font-weight:600;border-bottom:2px solid #ed6028;padding-bottom:6px}
.mepak-catalog-group-products .mepak-catalog-sidebar,.mepak-catalog-group-products #mepak-filter-open,.mepak-catalog-group-products #mepak-active-sector{display:none!important}
.mepak-catalog-card:after{display:none}
.mepak-catalog-link{min-height:0}
.mepak-catalog-photo{height:150px;padding:12px;aspect-ratio:auto}
.mepak-catalog-info{position:relative;inset:auto;flex:1;background:#f3f7fa;border-top:2px solid #ed6028;padding:12px 14px 11px}
.mepak-catalog-info h3{color:#112d4f;font-size:16px;line-height:1.4;min-height:2.8em;margin-bottom:8px}
.mepak-catalog-info>span{color:#244c6d;border-color:#d6e3ed;padding-top:8px;font-size:11px}
@media(max-width:900px){.mepak-product-groups{gap:16px}.mepak-product-group,.mepak-product-group>img{min-height:250px;height:250px}.mepak-product-group h2{font-size:21px}.mepak-product-group>div{padding:45px 18px 20px}}
@media(max-width:640px){.mepak-product-groups{grid-template-columns:1fr;gap:18px}.mepak-product-group,.mepak-product-group>img{min-height:245px;height:245px}.mepak-product-group>img{padding:14px 20px 75px}.mepak-product-group h2{font-size:24px}.mepak-catalog-photo{height:125px;padding:9px}.mepak-catalog-info{padding:11px 10px}.mepak-catalog-info h3{font-size:14px;min-height:4.2em}}

/* Restrained corporate product-group cards. */
.mepak-product-groups{gap:24px}
.mepak-product-group{display:flex;flex-direction:column;min-height:0;border:1px solid #dde4ea;border-radius:8px;background:#fff;box-shadow:0 2px 10px #112d4f03;transition:border-color .2s ease,box-shadow .2s ease}
.mepak-product-group>img{width:100%;height:215px;min-height:0;padding:18px;object-fit:contain;background:#fafbfc;border-bottom:1px solid #e9edf1}
.mepak-product-group>div{position:relative;inset:auto;flex:1;padding:21px 23px 19px;background:#fff;border:0}
.mepak-product-group h2{color:#18344f;font-size:23px;line-height:1.35;font-weight:600;margin:0 0 15px;letter-spacing:0}
.mepak-product-group>div>span{justify-content:space-between;gap:15px;font-size:12px;line-height:1.5;color:#667887;font-weight:500}
.mepak-product-group>div>span>span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#fff2eb;color:#e65d24;font-size:18px;transition:background .2s,color .2s}
.mepak-product-group:hover{border-color:#c8d5de;box-shadow:0 7px 22px #112d4f0b}
.mepak-product-group:hover>img{transform:none}
.mepak-product-group:hover>div>span>span{background:#ed6028;color:white}
@media(max-width:900px){.mepak-product-group{min-height:0;height:auto}.mepak-product-group>img{height:185px;min-height:0;padding:16px}.mepak-product-group>div{padding:18px}.mepak-product-group h2{font-size:21px}}
@media(max-width:640px){.mepak-product-group{height:auto;min-height:0}.mepak-product-group>img{height:200px;min-height:0;padding:18px}.mepak-product-group>div{padding:19px 21px}.mepak-product-group h2{font-size:22px}}
