/* EBROŻEK – Karuzele produktów 1.0.0 (zastępuje Loop Carousel z Elementor Pro, wygląd 1:1) */
.ebz-car{position:relative;width:100%}
.ebz-car .swiper{position:relative;overflow:hidden;margin:0;padding:0;list-style:none;z-index:1}
.ebz-car .swiper-wrapper{position:relative;z-index:1;display:flex;width:100%;box-sizing:content-box;transition-property:transform;transform:translate3d(0,0,0)}
.ebz-car .swiper-slide{position:relative;display:flex;flex-shrink:0;height:auto;min-width:0;min-height:0;box-sizing:border-box}
.ebz-car .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}

/* karta */
.ebz-car .epc-card{display:flex;flex-direction:column;gap:20px;flex:1 1 auto;width:100%;margin:0;padding:0 0 20px;box-sizing:border-box;text-decoration:none;color:inherit;outline-offset:4px;background:#F9F9F9}
.ebz-car--akcesoria .epc-card{background:#FDFDFD}
.ebz-car .epc-card:focus-visible{outline:2px solid #17191B}
.ebz-car .epc-media{position:relative;width:100%;height:0;padding-bottom:125%;overflow:hidden;background:#F9F9F9}
.ebz-car--akcesoria .epc-media{background:#FDFDFD}
.ebz-car .epc-img{position:absolute;inset:0;width:100%;height:100%;padding:22px;box-sizing:border-box;text-align:center}
.ebz-car--akcesoria .epc-img{padding:8px}
.ebz-car .epc-img img{display:inline-block;vertical-align:middle;width:100%;height:100%;max-width:100%;object-fit:contain;object-position:center;opacity:1;transition:opacity .35s ease;border:none;border-radius:0;box-shadow:none}
.ebz-car .epc-img-secondary img{opacity:0}
.ebz-car .epc-info{display:flex;flex-direction:column;align-items:center;gap:4px;min-height:56px;padding-top:14px;text-align:center;opacity:0;transform:translateY(4px);transition:opacity .25s ease,transform .25s ease}
.ebz-car .epc-name,.ebz-car .epc-price{max-width:100%;overflow-wrap:break-word;word-wrap:break-word}
.ebz-car .epc-name{font-family:'Newsreader',Georgia,serif;font-weight:400;font-size:15px;line-height:1.25;color:#17191B;margin:0}
.ebz-car .epc-price{font-family:'Schibsted Grotesk',sans-serif;font-size:13px;line-height:1.4;color:#6B6862;margin:0}
.ebz-car .epc-price del{color:#6B6862;text-decoration:line-through;opacity:.7;margin-right:6px}
.ebz-car .epc-price ins{text-decoration:none;color:#17191B}
@media (hover:none),(pointer:coarse){.ebz-car .epc-info{opacity:1;transform:none}}
@media (hover:hover) and (pointer:fine){
.ebz-car .epc-card:hover .epc-info,.ebz-car .epc-card:focus-visible .epc-info{opacity:1;transform:none}
.ebz-car .epc-card.has-secondary:hover .epc-img-secondary img,.ebz-car .epc-card.has-secondary:focus-visible .epc-img-secondary img{opacity:1}
.ebz-car .epc-card.has-secondary:hover .epc-img-primary img,.ebz-car .epc-card.has-secondary:focus-visible .epc-img-primary img{opacity:0}
}

/* strzałki */
.ebz-car__arrow{position:absolute;top:calc(50% - 15px);transform:translateY(-50%);z-index:2;display:flex;align-items:center;justify-content:center;width:25px;height:25px;padding:0;margin:0;font-size:25px;line-height:1;color:#17191B;cursor:pointer;transition:all .25s;-webkit-user-select:none;user-select:none}
.ebz-car__arrow svg{width:1em;height:1em;fill:currentColor}
.ebz-car__arrow:hover{color:#3A3D40}
.ebz-car__arrow--prev{left:0}
.ebz-car__arrow--next{right:0}
.ebz-car__arrow.is-disabled{opacity:.3;cursor:auto;pointer-events:none}
.ebz-car__arrow.swiper-button-lock{display:none}

/* komputer i tablet: układ zanim Swiper wystartuje (te same wymiary co po starcie) */
@media (min-width:768px){.ebz-car .ebz-car__slide{width:calc((100% - 66px)/4) !important;max-width:calc((100% - 66px)/4) !important;margin-right:22px}}
@media (min-width:1024px){.ebz-car .ebz-car__slide{width:calc((100% - 136px)/5) !important;max-width:calc((100% - 136px)/5) !important;margin-right:34px}}
/* Safari/iOS: Swiper potrafi zle policzyc szerokosc slajdu przy starcie - szerokosc wymuszona jak w dawnym epc-carousel-mobile-fix */
@media (min-width:768px){.ebz-car .swiper,.ebz-car .swiper-wrapper{width:100% !important}}

/* telefon: 2 rzędy, przewijanie palcem, zatrzymanie co 2 kolumny */
@media (max-width:767px){
.ebz-car .swiper{overflow:visible}
.ebz-car .ebz-car__track{display:grid;grid-auto-flow:column;grid-template-rows:repeat(2,auto);grid-auto-columns:calc(50% - 8px);column-gap:16px;row-gap:16px;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;touch-action:pan-x pan-y;transform:none}
.ebz-car .ebz-car__track::-webkit-scrollbar{display:none}
.ebz-car .ebz-car__slide{width:100%;margin:0}
.ebz-car .ebz-car__slide:nth-child(4n+1){scroll-snap-align:start;scroll-snap-stop:always}
}

/* 1.1.0: etykieta rabatu (jak .onsale w sklepie) */
.ebz-car__badge{position:absolute;top:15px;left:15px;z-index:2;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:55px;height:28px;padding:5px 10px;border-radius:3px;background:#17191B;color:#fff;font:600 12px/1.1 "DM Sans",sans-serif;letter-spacing:normal;text-transform:none;pointer-events:none}
@media (max-width:767px){.ebz-car__badge{top:8px;left:8px;min-width:0;height:24px;padding:4px 8px;font-size:11px}}

/* 1.1.0: ruchomy pasek promocji */
.ebz-bar{display:flex;align-items:center;width:100%;height:44px;overflow:hidden;white-space:nowrap;background:#17191B;color:#fff !important;text-decoration:none !important;font:500 13px/1 "DM Sans",sans-serif;letter-spacing:.12em;text-transform:uppercase}
.ebz-bar:hover,.ebz-bar:focus{color:#fff !important}
.ebz-bar:focus-visible{outline:2px solid #17191B;outline-offset:3px}
.ebz-bar__track{display:inline-flex;flex-shrink:0;animation:ebzbar 60s linear infinite;will-change:transform}
.ebz-bar__half{display:inline-flex;flex-shrink:0}
.ebz-bar__i{padding:0 48px}
.ebz-bar__dot{opacity:.45}
.ebz-bar:hover .ebz-bar__track{animation-play-state:paused}
@keyframes ebzbar{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (max-width:767px){.ebz-bar{height:38px;font-size:11px;letter-spacing:.1em}.ebz-bar__i{padding:0 30px}}
@media (prefers-reduced-motion:reduce){.ebz-bar__track{animation:none}}
