/* Header and footer only. Content retains the original portal styling. */
:root{--gp-red:#e90046;--gp-ink:#242424;--gp-muted:#696969;--gp-paper:#f3f3f3;--gp-line:#e3e3e3}
@font-face{font-family:PortalGraphik;src:url("gremper/graphik-regular.woff2") format("woff2");font-weight:400;font-display:swap}@font-face{font-family:PortalGraphik;src:url("gremper/graphik-medium.woff2") format("woff2");font-weight:500 700;font-display:swap}header>.container,footer>.container{max-width:1240px}header{background:#fff;border-bottom:1px solid var(--gp-line)}header .navbar{min-height:88px}header .navbar-light .navbar-nav .nav-link{color:var(--gp-ink)}header .navbar-nav .nav-item.active,header .bg-navbar-collapse{background:#fff!important}header .navbar-nav .nav-item.active>.nav-link,header a.nav-link:hover{color:var(--gp-red)!important}footer#footer{background:var(--gp-paper);color:var(--gp-muted);padding:24px 0;font-size:14px}footer#footer ul{list-style:none;padding-left:0}footer#footer li{margin:6px 0}footer#footer a{color:var(--gp-ink)}footer#footer a:hover{color:var(--gp-red)}@media(max-width:991px){header .navbar{min-height:72px}header .navbar-collapse{border-bottom:1px solid var(--gp-line)}}@media(max-width:575px){footer#footer .col-md{margin-bottom:20px}}@media(prefers-reduced-motion:reduce){}header{background:#fff!important}header .nav-link,header .dropdown-item{font-size:15px!important}header .info-section{font-size:14px}footer#footer.site-footer{position:static!important;height:auto!important;bottom:auto!important;margin:0!important;padding:0!important;background:#dedede!important;color:#454545;line-height:1.7}.site-footer .shell{width:calc(100% - 60px);max-width:1210px;margin:0 auto}.site-footer .footer-inner{padding:38px 0 30px;display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:36px}.site-footer .footer-heading{font-size:13px;font-weight:400;color:#666;margin:0 0 14px}.site-footer p,.site-footer a{font-size:14px;line-height:1.75;margin:0}.site-footer p{margin-bottom:12px}.site-footer a{display:flex;align-items:center;gap:8px;margin-bottom:4px;color:#333}.site-footer a svg{width:14px;height:14px;flex:none}.site-footer a:hover{color:#e90046}.site-footer .footer-mark{display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;gap:28px;padding-top:3px}.site-footer .footer-mark img{width:180px;height:auto;max-width:100%}.site-footer .footer-mark small{font-size:12px;color:#666}@media(max-width:767px){.site-footer .footer-inner{grid-template-columns:1fr 1fr;gap:26px}.site-footer .footer-mark{align-items:flex-start}.site-footer .shell{width:calc(100% - 36px)}}header .btn-primary,header .btn-info{background:#e90046;border-color:#e90046}header .badge{font-size:12px;font-weight:400;padding:4px 8px}@media(max-width:575px){}@media(max-width:575px){header .navbar{flex-wrap:wrap}header .navbar>.d-flex{min-width:0;flex-wrap:wrap}header .info-section{min-width:0;max-width:100%;flex:1}header .info-section>ul{flex-wrap:wrap}header form{max-width:100%;min-width:0}header .input-group{width:100%;min-width:0}header .navbar-toggler{padding:8px}.site-footer .footer-inner{gap:20px}.site-footer .footer-inner>div{min-width:0}}@media(max-width:575px){header,header .navbar{width:100%;max-width:100%}header .info-section{width:calc(100% - 56px)}header .form-inline{width:100%;flex-wrap:wrap!important}header .form-inline .form-control{width:100%!important;min-width:0}.site-footer a{overflow-wrap:anywhere}}
header,footer#footer{font-family:PortalGraphik,Arial,sans-serif}

/* Match Bootstrap's original content container, including its nested 15px column inset. */
header>.container,footer#footer .shell{width:100%;max-width:none;margin-left:auto;margin-right:auto}
header>.container.navbar{padding-left:30px!important;padding-right:30px!important}
footer#footer .shell{padding-left:30px;padding-right:30px}
@media(min-width:576px){header>.container,footer#footer .shell{max-width:540px}}
@media(min-width:768px){header>.container,footer#footer .shell{max-width:720px}}
@media(min-width:992px){header>.container,footer#footer .shell{max-width:960px}}
@media(min-width:1200px){header>.container,footer#footer .shell{max-width:1140px}}
@media(max-width:575px){header>.container.navbar{padding-left:30px!important;padding-right:30px!important}footer#footer .shell{width:100%;padding-left:30px;padding-right:30px}}

/* Requested header colour and search appearance. */
header{background:#dedede!important;border-bottom:1px solid #cfcfcf}
header .bg-navbar-collapse,header .navbar-nav .nav-item.active{background:transparent!important}
header form .input-group{border:1px solid #c6c6c6;border-radius:6px;background:#f7f7f7;overflow:hidden;align-items:stretch}
header form .input-group .form-control{height:42px;min-width:0;background:transparent;border:0!important;box-shadow:none!important;border-radius:0;font-size:15px;color:#242424}
header form .input-group:focus-within{outline:2px solid #e90046;outline-offset:2px}
header form .input-group .btn,header form .input-group button{border:0!important;border-radius:0!important;background:#e90046!important;color:#fff;padding:8px 12px}
header form .input-group .btn:hover,header form .input-group button:hover{background:#c9003d!important}

/* Unified search field, with an integrated icon instead of a coloured button. */
header form .input-group{width:240px;max-width:100%;border:1px solid #c4c4c4;border-radius:22px;background:#ededed;overflow:hidden;box-shadow:inset 0 1px 2px #00000006}
header form .input-group .form-control{height:40px;padding:9px 4px 9px 17px;font-size:14px;background:transparent!important}
header form .input-group .btn,header form .input-group button{display:flex;align-items:center;justify-content:center;width:42px;padding:10px 12px!important;background:transparent!important;border:0!important;box-shadow:none!important}
header form .input-group .btn:hover,header form .input-group button:hover{background:#d5d5d5!important}
header form .input-group .btn img,header form .input-group button img{width:18px;height:18px;filter:brightness(0) opacity(.65)}
header form .input-group:focus-within{background:#fff;border-color:#999;outline:2px solid #e9004640;outline-offset:2px}

/* Compact inactivity timer; preserve its live progress elements. */
header #progressbar{position:relative;width:58px!important;height:28px!important;min-width:58px;margin:6px 4px;border:1px solid #c4c4c4!important;border-radius:15px!important;background:#ededed!important;overflow:hidden;box-shadow:inset 0 1px 2px #00000006}
header #progressbar .progress-bar{position:absolute;inset:0;width:100%!important;height:100%;background:transparent!important;color:#555}
header #progressbar .progress-label{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;margin:0!important;font:400 12px/1 PortalGraphik,Arial,sans-serif;color:#555;z-index:2;font-variant-numeric:tabular-nums}
header #progressbar .ui-progressbar-value{position:absolute;left:0;bottom:0;top:auto;height:2px;margin:0;border:0;border-radius:0;background:#aaa;max-width:100%}

/* Align timer and search on the same centre line. */
header .info-section{align-items:center}
header .info-section>.navbar-nav{align-items:center}
header .info-section>.navbar-nav>li:has(#progressbar){display:flex;align-items:center;padding-top:0!important;padding-bottom:0!important}
header #progressbar{margin:0 5px!important}
header form{margin-top:0!important;margin-bottom:0!important;align-self:center}
/* Availability follows the product picture in normal document flow. */
.card.h-100.d-block.content-bg>.card-img-overlay.card-img-overlay-top-white{position:static!important;inset:auto!important;background:transparent!important;padding:8px 5px 0!important}
.card.h-100.d-block.content-bg>.card-img-overlay.card-img-overlay-top-white .card-text{margin-bottom:4px}

header #progressbar{top:0!important}header form .form-group{margin-bottom:0!important}header .navbar>.d-flex{align-items:center}

/* Product order: image, title, availability. */
.card.h-100.d-block.content-bg{display:flex!important;flex-direction:column}
.card.h-100.d-block.content-bg>a:first-child{order:0}
.card.h-100.d-block.content-bg>.card-body{order:1;flex:0 0 auto}
.card.h-100.d-block.content-bg>.card-img-overlay.card-img-overlay-top-white{order:2;padding:2px 5px 10px!important}

.card.h-100.d-block.content-bg>.card-img-overlay.card-img-overlay-top-white{color:#707070}
.card.h-100.d-block.content-bg>.card-img-overlay .font-weight-bold{font-weight:400!important}

/* Unified header tools, original dropdown behaviour retained. */
header .info-section>.navbar-nav{gap:12px;margin-right:10px}
header .info-section>.navbar-nav>li{padding:0!important}
header .info-section>.navbar-nav>li>a{display:flex;align-items:center;gap:7px;min-height:40px;padding:0!important;color:#555}
header .info-section .img-icon{width:22px;height:22px;object-fit:contain;margin:0}
header .info-section img[alt="warenkorb"]{content:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23555%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%204h2l2.5%2011h11l2-8H6%22/%3E%3Ccircle%20cx%3D%229%22%20cy%3D%2219%22%20r%3D%221%22/%3E%3Ccircle%20cx%3D%2218%22%20cy%3D%2219%22%20r%3D%221%22/%3E%3C/svg%3E")}
header .info-section img[alt="login"]{content:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23555%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%227.5%22%20r%3D%223.5%22/%3E%3Cpath%20d%3D%22M5%2021v-2a7%207%200%200%201%2014%200v2%22/%3E%3C/svg%3E")}
header .info-section>.navbar-nav>.dropdown>.dropdown-toggle:has(img[alt="Deutsch"]),header .info-section>.navbar-nav>.dropdown>.dropdown-toggle:has(img[alt="français"]){gap:5px}
header .info-section>.navbar-nav>.dropdown>.dropdown-toggle img[alt="Deutsch"],header .info-section>.navbar-nav>.dropdown>.dropdown-toggle img[alt="français"]{content:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23555%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22/%3E%3Cellipse%20cx%3D%2212%22%20cy%3D%2212%22%20rx%3D%224%22%20ry%3D%229%22/%3E%3Cpath%20d%3D%22M3%2012h18M4.5%207.5h15M4.5%2016.5h15%22/%3E%3C/svg%3E")}
header .info-section .badge{background:transparent!important;color:#555!important;font-size:13px;font-weight:400;padding:0!important;border-radius:0}
header .info-section .dropdown-toggle:after{margin-left:2px;border-top-width:4px;border-right-width:3px;border-left-width:3px}
header .info-section .dropdown-menu{border:1px solid #ccc;border-radius:8px;box-shadow:0 8px 24px #00000012;padding:6px}
header .info-section .dropdown-item{border-radius:4px;padding:8px 12px}
.card.h-100.d-block.content-bg>.card-body .card-title{margin-bottom:0!important}
.card.h-100.d-block.content-bg>.card-body{padding-bottom:0!important}
.card.h-100.d-block.content-bg>.card-img-overlay.card-img-overlay-top-white{padding-top:2px!important}

/* Footer follows the current gremper.ch information hierarchy. */
footer#footer.site-footer{overflow:visible!important;height:auto!important;max-height:none!important}
.site-footer .footer-inner{grid-template-columns:1.4fr 1fr 1fr 1fr;gap:32px;padding:34px 0 28px;align-items:start}
.site-footer .footer-heading{font-size:13px;line-height:1.4;color:#555;font-weight:500;margin-bottom:12px}
.site-footer .footer-post{margin-top:22px}
.site-footer p,.site-footer a{font-size:14px;line-height:1.65}
.site-footer .footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:24px;border-top:1px solid #c5c5c5;padding:22px 0 26px}
.site-footer .footer-bottom img{display:block;width:175px!important;height:auto!important;max-height:none!important;object-fit:contain;flex:none;margin:0;padding:0;align-self:center}
.site-footer .footer-bottom small{font-size:12px;color:#626262;white-space:nowrap}
@media(max-width:767px){.site-footer .footer-inner{grid-template-columns:1fr 1fr;gap:26px 20px}.site-footer .footer-bottom img{width:145px!important}}

/* Compact footer, retaining the revised information order. */
.site-footer .footer-inner{padding:22px 0 16px;gap:24px}
.site-footer .footer-heading{margin-bottom:7px;font-size:12px}
.site-footer p,.site-footer a{font-size:13px;line-height:1.45}
.site-footer p{margin-bottom:7px}.site-footer a{margin-bottom:2px}
.site-footer .footer-post{margin-top:10px}
.site-footer .footer-bottom{padding:12px 0 15px}
.site-footer .footer-bottom img{width:145px!important}
/* Header tools regain clear, softly rounded controls matching the search. */
header .info-section>.navbar-nav{gap:8px}
header .info-section>.navbar-nav>li>a{min-height:34px;gap:7px;padding:6px 10px!important;border:1px solid #c4c4c4;border-radius:18px;background:#ededed;color:#555;box-sizing:border-box}
header .info-section>.navbar-nav>li>a:hover{background:#e5e5e5}
header .info-section>.navbar-nav>li:has(#progressbar)>a{padding:0!important;background:transparent;border:0;min-height:34px}
header .info-section .img-icon{width:20px;height:20px}
header .info-section .badge{font-size:13px;line-height:1.2}
header #progressbar{height:28px!important;margin:0!important}
header .info-section .dropdown-menu .img-icon{width:20px;height:20px}

/* Label lives in the fourth footer column; no separate bottom row. */
.site-footer .footer-label{display:block;width:145px!important;height:auto!important;max-width:100%;max-height:none!important;object-fit:contain;margin:15px 0 0;padding:0}
/* All header controls share the same outer height. */
header .info-section>.navbar-nav>li>a{height:40px;min-height:40px;box-sizing:border-box;display:flex;align-items:center}
header .info-section>.navbar-nav>li:has(#progressbar)>a{height:40px;min-height:40px}
header #progressbar{height:40px!important;box-sizing:border-box;border-radius:22px!important}
header form .input-group{height:40px;box-sizing:border-box}
header form .input-group .form-control{height:38px}
header form .input-group .input-group-append,header form .input-group button{height:38px}

/* Align the Swiss label with the final postal-address line. */
.site-footer .footer-inner{align-items:stretch}
.site-footer .footer-inner>div:first-child>p:last-child{margin-bottom:0}
.site-footer .footer-inner>div:last-child{display:flex;flex-direction:column;align-items:flex-start}
.site-footer .footer-inner>div:last-child .footer-label{margin-top:auto;align-self:flex-end}
@media(max-width:767px){.site-footer .footer-inner>div:last-child .footer-label{margin-top:15px}}

/* Five pixels of empty space above product images in the content area. */
.card.h-100.d-block.content-bg>a:first-child{padding-top:5px}

/* The footer is in document flow: disable legacy reserved footer space. */
html body{margin-bottom:0!important}
body>.container:has(+footer#footer){padding-bottom:0!important;margin-bottom:0!important}
footer#footer.site-footer{margin-top:0!important;margin-bottom:0!important}

/* Header navigation, approved variant 1: one segmented group. */
header>.container.navbar{padding-left:15px!important;padding-right:15px!important}
header #navbarSupportedContent{padding:0!important;flex-grow:0;flex-shrink:0}
header #navbarSupportedContent>.navbar-nav{display:flex;align-items:center;gap:0;padding:3px;border:1px solid #c4c4c4;border-radius:22px;background:#ededed;min-height:40px;margin:0!important}
header #navbarSupportedContent>.navbar-nav>.nav-item{border-radius:18px!important;background:transparent!important;margin:0}
header #navbarSupportedContent>.navbar-nav>.nav-item>.nav-link{height:32px;padding:6px 15px;display:flex;align-items:center;justify-content:center;font-size:14px!important;line-height:20px;border-radius:18px;color:#444!important;white-space:nowrap}
header #navbarSupportedContent>.navbar-nav>.nav-item.active>.nav-link{background:#fff!important;color:#242424!important;box-shadow:0 1px 3px #00000015}
header #navbarSupportedContent>.navbar-nav>.nav-item>.nav-link:hover{background:#ffffff80;color:#242424!important}
header>.container.navbar>.d-flex{width:auto!important;flex:1;min-width:0;padding-right:0!important}
@media(max-width:991px){header #navbarSupportedContent{order:2;width:100%;flex-basis:100%;border:0;padding:8px 0 12px!important}header #navbarSupportedContent>.navbar-nav{flex-direction:row;flex-wrap:wrap;width:fit-content;max-width:100%}header>.container.navbar>.d-flex{width:100%!important;flex-basis:100%}}
