/* V47 — responsive and touch-first, desktop styles retained. */
.g47-bottom,.g47-filter-toggle,.g47-category-toggle{display:none}
@media (max-width: 1200px){
 html body .gepa-header.gepa-v37-header .gepa-menu{max-height:min(66dvh,calc(100dvh - 150px));overscroll-behavior:contain}
 html body .gepa-header.gepa-v37-header .gepa-menu a.gepa-switch{align-self:auto;min-width:0!important}
 html body .gepa-header.gepa-v37-header .gepa-menu>.gepa-dropdown{flex:none}
 html body .gepa-header.gepa-v37-header .gepa-menu .gepa-dropdown-panel a{white-space:normal!important}
 .g45-hero-layout>*,.g45-detail-grid>*,.g45-detail-content>*,.g46-payhero .g46-wrap>*,.g46-paygrid>*,.g46-account>*{min-width:0}
 .g45-main .g45-card h3,.g45-detail-summary h1,.g46-basket-row strong{overflow-wrap:anywhere}
}
@media (max-width: 900px){
 .g47-bottom{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);position:fixed;z-index:980;bottom:0;left:0;right:0;padding:5px 5px calc(5px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #dbe7df;box-shadow:0 -5px 24px #0b3c2418;isolation:isolate;gap:2px}
 .g47-bottom :is(a,button){font:inherit;text-decoration:none!important;border:0;background:transparent;display:flex;flex-direction:column;gap:3px;align-items:center;justify-content:center;min-height:52px;padding:4px 1px;color:#416454!important;font-size:10px;font-weight:700;line-height:1.15;position:relative;border-radius:9px;cursor:pointer;min-width:0;white-space:nowrap}
 .g47-bottom svg{width:22px;height:22px;flex:none;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
 .g47-bottom [aria-current=page]{background:#e9f5ed;color:#116c38!important}
 .g47-bottom.g47-red [aria-current=page]{background:#fcecef;color:#b91c2b!important}
 .g47-bottom .g47-basket-num{position:absolute;top:1px;left:calc(50% + 6px);font-size:10px;background:#18743c;color:#fff;padding:2px 4px;min-width:15px;text-align:center;border-radius:99px}
 body.g47-nav{padding-bottom:calc(69px + env(safe-area-inset-bottom))!important}
 body.g47-nav .g46-basket-toggle,body.g47-nav .floating-wa,body.g47-nav .v29-contact-float,body.g47-nav .wa{display:none!important}
 body.g47-nav .v42-backtop{bottom:calc(80px + env(safe-area-inset-bottom));left:12px;width:42px;height:42px;z-index:900}
 .g46-basket{width:min(560px,calc(100% - 20px));max-height:calc(100dvh - 24px);overscroll-behavior:contain}
 .g46-basket-head button,.g46-remove{min-height:44px;min-width:44px}
 .g46-basket input{font-size:16px;min-height:44px}
 .g46-basket-send{width:100%;text-align:center;min-height:46px}
 .g45-filter input,.g45-filter select,.g45-filter button,.g46-catalog-bar select,.g46-catalog-bar button{font-size:16px;min-height:44px}
 .g45-card-actions a,.g46-add,.g46-primary,.g45-btn,.v42-explain summary,.info-card summary{min-height:44px}
 .g46-add{font-size:14px}
 .g45-main .g45-card-actions a{font-size:13px}
 .g45-filter{scroll-margin-top:10px}
}
@media (max-width: 680px){
 html:has(body > .gepa-v37-header){scroll-padding-top:125px}
 html body .gepa-header.gepa-v37-header{padding:5px 0 7px}
 html body .gepa-header.gepa-v37-header .g37-contact{min-height:36px;display:flex;justify-content:space-between;gap:6px;width:calc(100% - 16px);margin-bottom:5px;padding:5px 8px;font-size:11px}
 html body .gepa-header.gepa-v37-header .g37-contact .g37-email,html body .gepa-header.gepa-v37-header .g37-contact .g37-social{display:none}
 html body .gepa-header.gepa-v37-header .g37-contact .g37-region,html body .gepa-header.gepa-v37-header .g37-contact .g37-phone{padding:0;gap:4px;border:0;white-space:nowrap}
 html body .gepa-header.gepa-v37-header .gepa-nav{min-height:58px;width:calc(100% - 16px);padding:5px 10px;gap:8px;border-radius:13px}
 html body .gepa-header.gepa-v37-header .gepa-logo img{width:clamp(145px,48vw,195px);max-height:45px}
 html body .gepa-header.gepa-v37-header .gepa-menu{max-height:calc(100dvh - 120px);padding:9px!important}
 .g45-wrap,.g46-wrap{width:calc(100% - 24px)}
 .g45-main h1{font-size:clamp(27px,7vw,36px);line-height:1.12}
 .g45-hero p,.g45-detail-summary p{font-size:15px}
 .g45-hero-art{min-height:200px;padding-top:35px}
 .g45-hero-art img{height:180px}
 .g45-hero-number b{font-size:25px}
 .g45-heading h2{font-size:26px}
 .g45-cat{min-height:96px!important;grid-template-columns:46px minmax(0,1fr);gap:7px;padding:9px}
 .g45-cat strong{font-size:12px;overflow-wrap:break-word}
 .g45-cat-media img{height:54px}
 .g45-cat small{font-size:11px}
 .g46-cat-desc{display:none}
 .g45-cats{gap:8px}
 .g47-category-toggle,.g47-filter-toggle{display:flex;align-items:center;justify-content:center;width:100%;font:inherit;font-size:14px;font-weight:700;border:1px solid #cbded0;border-radius:9px;color:#17673b;background:white;min-height:44px;padding:10px;cursor:pointer}
 .g47-category-toggle{margin-top:10px}
 .g47-cats-compact .g45-cat:nth-child(n+5):not(.active){display:none}
 .g45-filter{gap:9px;margin-bottom:14px}
 .g45-filter .g47-filter-toggle{grid-column:1/-1}
 .g45-filter.g47-filter-compact label:not(.g45-search):not(.g47-cat-field){display:none}
 .g45-filter label.g47-cat-field{grid-column:1/-1}
 .g45-filter #g45-reset{grid-column:1/-1}
 .g46-catalog-bar{gap:9px;align-items:stretch}
 .g46-catalog-bar>span{width:100%;font-size:12px}
 .g46-catalog-bar label{flex:1 1 130px;display:grid;gap:4px;min-width:0}
 .g46-catalog-bar button{flex:1 1 115px;align-self:end;white-space:normal}
 .g46-catalog-bar select{width:100%;min-width:0}
 .g45-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .g45-card-copy{padding:13px}
 .g45-card h3{font-size:16px;min-height:0}
 .g45-media img{height:clamp(148px,40vw,205px)}
 .g45-card-actions{gap:6px}
 .g45-card-actions a{flex:1 1 auto;justify-content:center}
 .g46-desc{font-size:13px}
 .g46-mini{font-size:12px}
 .g45-detail-photo{padding:14px}
 .g45-detail-photo img{height:clamp(210px,62vw,330px)}
 .g45-detail-actions{display:grid;grid-template-columns:1fr;gap:10px}
 .g45-detail-actions .g46-add{width:100%;min-height:46px}
 .g45-specs{gap:8px}
 .g45-prose h2{font-size:25px}
 .g45-prose h3{font-size:20px}
 .g46-payhero h1{font-size:clamp(29px,8vw,42px)}
 .g46-account,.g46-payhelp,.g46-payform,.g46-method{padding:16px}
 .g46-account h2,.g46-paygrid h2{font-size:23px}
 .g46-account .g46-primary,.g46-payform .g46-primary{width:100%;min-height:48px}
 .g46-iban{font-size:19px;line-height:1.55;word-spacing:1px;user-select:all}
 .g46-fields input,.g46-fields textarea{font-size:16px!important;min-height:46px}
 .g46-fields input[type=date]{appearance:none;-webkit-appearance:none;display:block;min-width:0}
 .g46-basket-row{grid-template-columns:47px minmax(0,1fr) 54px 44px;gap:6px}
 .g46-basket-row img{width:47px;height:55px}
 .g46-basket-row input{width:54px;padding:5px}
 .g46-basket-row strong{font-size:12px}
 .g46-basket{padding:14px}
 .g46-basket-head h2{font-size:22px}
 .contact-form :is(input,select,textarea){font-size:16px!important;min-height:44px}
 .contact-form button[type=submit]{min-height:48px;width:100%}
 .gepa-article-body{overflow-wrap:break-word}
 .gepa-article-body table{display:block;max-width:100%;overflow:auto}
 .footer .foot{flex-wrap:wrap;gap:12px;overflow-wrap:anywhere}
 .v32-stats .v42-counter{font-size:clamp(21px,6vw,32px)!important}
}
@media(max-width:460px){
 .g45-grid{grid-template-columns:1fr}
 .g45-card .g45-media img{height:205px}
 .g45-card-copy{padding:16px}
 .g45-card h3{font-size:18px}
 .g45-card .g45-card-actions a{min-height:44px}
 .g45-grid.g46-list .g45-card{grid-template-columns:minmax(90px,30%) minmax(0,1fr);gap:0}
 .g45-grid.g46-list .g45-media{padding:7px;align-self:start}
 .g45-grid.g46-list .g45-media img{height:125px}
 .g45-grid.g46-list .g45-card-copy{padding:10px}
 .g45-grid.g46-list h3{font-size:15px}
 .g45-grid.g46-list .g46-mini{display:none}
 .g45-grid.g46-list .g46-desc{font-size:12px}
 .g45-grid.g46-list .g45-card-actions a{font-size:12px}
}
@media(max-width:350px){.g45-cats{grid-template-columns:1fr}.g45-cat{min-height:70px!important}.g45-filter{grid-template-columns:1fr}.g47-bottom :is(a,button){font-size:9px}.g45-specs{grid-template-columns:1fr}}
@media(max-height:500px) and (orientation:landscape){.g47-bottom{padding-top:2px;padding-bottom:2px}.g47-bottom :is(a,button){min-height:40px;flex-direction:row;gap:5px}.g47-bottom svg{width:18px;height:18px}body.g47-nav{padding-bottom:48px!important}html body .gepa-header.gepa-v37-header .gepa-menu{max-height:calc(100dvh - 128px)}}
@media(pointer:coarse){.g45-card:hover .g45-media img,.g45-detail-photo:hover img,.g45-cat:hover img{transform:none}.g45-main a,.g45-main button{touch-action:manipulation}}
@media(prefers-reduced-motion:reduce){.g47-bottom *{transition:none!important;scroll-behavior:auto!important}}
.g47-menu-contact{display:none}
@media(max-width:900px){html{scroll-padding-bottom:calc(80px + env(safe-area-inset-bottom))}body.g47-nav:has(main input:focus,main textarea:focus,main select:focus) .g47-bottom{visibility:hidden}body.g47-nav :is(main input,main textarea,main select,main button,main a){scroll-margin-bottom:80px}}
@media(max-width:680px){html body .gepa-header.gepa-v37-header .g47-menu-contact{display:flex;flex-wrap:wrap;gap:6px;padding:6px 2px;border-top:1px solid #dce8df;margin-top:7px}html body .gepa-header.gepa-v37-header .g47-menu-contact a{display:flex;align-items:center;min-height:40px;color:var(--gepa-color);font-size:12px;padding:6px 8px;overflow-wrap:anywhere}}
@media(max-width:900px){html body nav.g47-bottom{top:auto!important;bottom:0!important;left:0!important;right:0!important;width:100%!important;height:auto!important;min-height:0!important;max-height:calc(70px + env(safe-area-inset-bottom))!important;overflow:visible!important;margin:0!important;transform:none!important;align-items:stretch!important;justify-content:stretch!important;grid-template-rows:1fr!important}}
