/* ===========================================
   XENIUS PARTS - style.css
=========================================== */

:root{
    --orange:#ff6a00;
    --orange-dark:#e85f00;
    --ink:#101216;
    --ink-2:#17191d;
    --bg:#f4f5f6;
    --card:#ffffff;
    --line:#e7e9ec;
    --text:#1b1d21;
    --muted:#6f757c;
    --radius:10px;
    --max:1440px;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}
html{
    scroll-behavior:smooth;
}
body{
    font-family:'Inter',system-ui,-apple-system,sans-serif;
    background:var(--bg);
    color:var(--text);
    line-height:1.5;
    -webkit-font-smoothing:antialiased;
}
img{
    max-width:100%;
    display:block;
}
a{
    text-decoration:none;
    color:inherit;
}
ul{
    list-style:none;
}
button{
    cursor:pointer;
    border:none;
    background:none;
    color:inherit;
    font-family:inherit;
    transition:.2s ease;
}
input,select{
    font-family:inherit;
}
:focus-visible{
    outline:2px solid var(--orange);
    outline-offset:2px;
}
.container{
    width:100%;
    max-width:var(--max);
    margin:auto;
    padding:0 32px;
}

/* ===========================================
   HEADER
=========================================== */
.header{
    position:sticky;
    top:0;
    z-index:900;
}
.headerMain{
    background:var(--ink);
}
.headerMain .container{
    display:flex;
    align-items:center;
    gap:20px;
    height:80px;
}
.logo img{
    width:230px;
}

/* przycisk Kategorie */
.catsBtn{
    display:flex;
    align-items:center;
    gap:10px;
    height:46px;
    padding:0 18px;
    border:1px solid rgba(255,255,255,.22);
    border-radius:6px;
    color:#fff;
    font-size:15px;
    font-weight:600;
    white-space:nowrap;
}
.catsBtn:hover{
    background:rgba(255,255,255,.08);
}
.catsBtn .chev{
    font-size:11px;
    opacity:.7;
}

/* wyszukiwarka
   Selektor musi być `form.search`, nie samo `.search`. WordPress dokłada
   klasę `search` do <body> na stronie wyników wyszukiwania - przy gołym
   `.search` body dostawało `display:flex` i nagłówek, treść i stopka
   ustawiały się obok siebie zamiast jedna pod drugą. */
form.search{
    flex:1;
    display:flex;
    height:46px;
    background:#fff;
    border-radius:6px;
    overflow:hidden;
    min-width:0;
}
form.search input{
    flex:1;
    min-width:0;
    border:none;
    padding:0 18px;
    font-size:14.5px;
    color:var(--text);
}
form.search input::placeholder{
    color:#9aa0a6;
}
form.search input:focus{
    outline:none;
}
form.search > button{
    padding:0 26px;
    background:var(--orange);
    color:#fff;
    font-size:14px;
    font-weight:700;
    letter-spacing:.5px;
}
form.search > button:hover{
    background:var(--orange-dark);
}

/* akcje */
.headerActions{
    display:flex;
    align-items:center;
    gap:8px;
}
.action{
    display:flex;
    align-items:center;
    gap:11px;
    padding:8px 12px;
    border-radius:6px;
    color:#fff;
}
.action:hover{
    background:rgba(255,255,255,.08);
}
.action > i{
    font-size:20px;
}
.actionText{
    display:flex;
    flex-direction:column;
    line-height:1.25;
    text-align:left;
}
.actionText b{
    font-size:13.5px;
    font-weight:600;
    white-space:nowrap;
}
.actionText small{
    font-size:12px;
    color:#a3a8ae;
    white-space:nowrap;
}
.actionText .chev{
    font-size:9px;
    opacity:.65;
    margin-left:2px;
}
.cartIcon{
    position:relative;
    display:block;
}
.cartIcon i{
    font-size:20px;
}
.cartCount{
    position:absolute;
    top:-7px;
    right:-9px;
    min-width:18px;
    height:18px;
    padding:0 5px;
    border-radius:20px;
    background:var(--orange);
    color:#fff;
    font-size:11px;
    font-weight:700;
    font-style:normal;
    display:flex;
    align-items:center;
    justify-content:center;
}

/* pasek korzysci */
.usp{
    background:#fff;
    border-bottom:1px solid var(--line);
}
.usp .container{
    display:flex;
    align-items:center;
    gap:44px;
    height:46px;
    font-size:13.5px;
    color:#3f444a;
}
.uspItem{
    display:flex;
    align-items:center;
    gap:10px;
}
.uspItem i{
    font-size:15px;
    color:#5d636a;
}
.uspPhone{
    margin-left:auto;
    color:#3f444a;
}
.uspPhone b{
    font-weight:700;
}

/* ===========================================
   HERO
=========================================== */
.hero{
    padding:26px 0 34px;
}
.hero .container{
    display:grid;
    grid-template-columns:300px 1fr;
    gap:26px;
    align-items:stretch;
}

/* menu boczne */
.sideCats{
    background:#fff;
    border:1px solid var(--line);
    border-radius:var(--radius);
    padding:18px 0 14px;
}
.sideCatsHead{
    display:flex;
    align-items:center;
    gap:12px;
    padding:0 22px 14px;
    border-bottom:1px solid var(--line);
}
.sideCatsHead i{
    font-size:16px;
    color:#3f444a;
}
.sideCatsHead h2{
    font-size:17px;
    font-weight:700;
}
.sideCats li a{
    display:flex;
    align-items:center;
    gap:12px;
    padding:8px 22px;
    font-size:14.5px;
    color:#33383e;
    transition:.18s;
}
.sideCats li a img{
    width:19px;
    height:19px;
    opacity:.85;
    flex:none;
}
.sideCats li a i{
    margin-left:auto;
    font-size:11px;
    color:#b3b8be;
}
.sideCats li a:hover{
    background:#fafafb;
    color:var(--orange);
}
.sideCats li:first-child a{
    padding-top:14px;
}
.allCats{
    display:inline-block;
    margin:12px 22px 4px;
    color:var(--orange);
    font-size:12.5px;
    font-weight:800;
    letter-spacing:.4px;
}
.allCats:hover{
    text-decoration:underline;
}

/* slajder */
.heroSlider{
    position:relative;
    background:#050506;
    border-radius:var(--radius);
    overflow:hidden;
    min-height:470px;
    height:100%;
}
.heroSlider::before{
    content:"";
    position:absolute;
    inset:0;
    background-image:url(../assets/hero/hex.svg);
    background-repeat:repeat;
    opacity:.5;
    -webkit-mask-image:linear-gradient(100deg,#000 0%,rgba(0,0,0,.55) 38%,transparent 62%);
    mask-image:linear-gradient(100deg,#000 0%,rgba(0,0,0,.55) 38%,transparent 62%);
    pointer-events:none;
    z-index:0;
}
.heroSlide{
    display:none;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    position:relative;
    min-height:470px;
    height:100%;
    padding:0 0 118px 60px;
}
.heroSlide.isActive{
    display:flex;
    animation:fadeIn .45s ease;
}
@keyframes fadeIn{
    from{opacity:0;}
    to{opacity:1;}
}
.heroCopy{
    width:50%;
    padding:44px 0 0;
    position:relative;
    z-index:2;
}
.heroCopy h1,
.heroCopy h2{
    font-size:40px;
    line-height:1.12;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:-.5px;
    color:#fff;
    margin-bottom:20px;
}
.heroCopy h1 span,
.heroCopy h2 span{
    color:var(--orange);
}
.heroCopy p{
    font-size:16px;
    color:#c3c7cc;
    margin-bottom:30px;
}
.btnOrange{
    display:inline-block;
    background:var(--orange);
    color:#fff;
    padding:16px 34px;
    border-radius:5px;
    font-size:14px;
    font-weight:700;
    letter-spacing:.6px;
    transition:.2s;
}
.btnOrange:hover{
    background:var(--orange-dark);
}
.heroPhoto{
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    width:65%;
    overflow:hidden;
    z-index:1;
}
.heroPhoto::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(90deg,#050506 0%,rgba(5,5,6,.82) 8%,rgba(5,5,6,0) 27%);
    pointer-events:none;
}
.heroPhoto img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:46% 44%;
}
.heroDots{
    position:absolute;
    right:34px;
    bottom:44px;
    display:flex;
    gap:8px;
    z-index:4;
}
.heroDots button{
    width:9px;
    height:9px;
    border-radius:20px;
    background:rgba(255,255,255,.32);
    transition:.25s;
}
.heroDots button.isActive{
    width:26px;
    background:var(--orange);
}

/* pasek korzysci w banerze */
.heroUsp{
    position:absolute;
    left:60px;
    bottom:34px;
    display:flex;
    z-index:3;
}
.heroUspItem{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:flex-end;
    text-align:center;
    padding:0 24px;
    min-width:132px;
    border-left:1px solid rgba(255,255,255,.14);
}
.heroUspItem:first-child{
    border-left:none;
    padding-left:0;
}
.heroUspItem i{
    font-size:23px;
    color:var(--orange);
    margin-bottom:14px;
}
.heroUspItem b{
    font-size:11.5px;
    font-weight:700;
    letter-spacing:.6px;
    color:#fff;
    white-space:nowrap;
}
.heroUspItem small{
    font-size:11.5px;
    color:#9ba0a6;
    margin-top:2px;
    white-space:nowrap;
}

/* ===========================================
   NAGŁÓWKI SEKCJI
=========================================== */
.secHead{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:18px;
}
.secHead h2{
    font-size:23px;
    font-weight:800;
    letter-spacing:-.2px;
}
.secHead a{
    color:var(--orange);
    font-size:12.5px;
    font-weight:800;
    letter-spacing:.4px;
}
.secHead a:hover{
    text-decoration:underline;
}

/* ===========================================
   KARUZELE PRODUKTÓW
=========================================== */
.rail{
    padding:14px 0 22px;
}
.railWrap{
    position:relative;
}
.railTrack{
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:16px;
}
.railNext{
    position:absolute;
    right:-18px;
    top:50%;
    transform:translateY(-50%);
    width:38px;
    height:38px;
    border-radius:50%;
    background:#fff;
    border:1px solid var(--line);
    box-shadow:0 6px 18px rgba(0,0,0,.10);
    color:#3f444a;
    font-size:13px;
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:5;
}
.railNext:hover{
    background:var(--orange);
    border-color:var(--orange);
    color:#fff;
}

/* karta produktu */
.card{
    position:relative;
    background:var(--card);
    border:1px solid var(--line);
    border-radius:8px;
    padding:16px;
    display:flex;
    flex-direction:column;
    transition:.2s;
}
.card:hover{
    border-color:#d6dadf;
    box-shadow:0 10px 26px rgba(0,0,0,.07);
    transform:translateY(-3px);
}
.cardImg{
    height:112px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:14px;
}
.cardImg img{
    max-height:100%;
    width:auto;
    object-fit:contain;
    mix-blend-mode:multiply;
}
.card h3{
    font-size:14px;
    font-weight:600;
    line-height:1.35;
    margin-bottom:2px;
    min-height:38px;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}
.card > p{
    font-size:13px;
    color:var(--muted);
    margin-bottom:12px;
    min-height:19px;
}
.card .cardSku{
    font-size:12px;
    color:var(--muted);
    margin-bottom:8px;
}
.cardPrice{
    font-size:17px;
    font-weight:800;
    margin-bottom:8px;
}
.smart{
    display:flex;
    align-items:center;
    gap:5px;
    font-size:12px;
    color:var(--muted);
    margin-top:auto;
}
.smart b{
    font-size:11.5px;
    font-weight:800;
    color:#1b1d21;
    letter-spacing:.2px;
}
.smart i{
    color:var(--orange);
    font-size:11px;
    margin-right:2px;
}
.badge{
    position:absolute;
    top:0;
    left:0;
    background:var(--ink);
    color:#fff;
    font-size:10.5px;
    font-weight:800;
    letter-spacing:.6px;
    padding:6px 11px;
    border-radius:8px 0 8px 0;
    z-index:2;
}
.cardBuy .cardImg{
    height:120px;
    margin-top:6px;
}
.cardBtns{
    display:flex;
    gap:8px;
    margin-top:14px;
}
.btnDark{
    flex:1;
    height:42px;
    background:var(--ink);
    color:#fff;
    border-radius:5px;
    font-size:12.5px;
    font-weight:800;
    letter-spacing:.5px;
}
.btnDark:hover{
    background:var(--orange);
}
.btnFav{
    width:42px;
    height:42px;
    border:1px solid var(--line);
    border-radius:5px;
    background:#fff;
    color:#6f757c;
    font-size:15px;
}
.btnFav:hover{
    color:#e0362b;
    border-color:#f0c9c6;
}
.btnFav.isActive{
    color:#e0362b;
    border-color:#f0c9c6;
    background:#fff6f5;
}

/* ===========================================
   POPULARNE KATEGORIE
=========================================== */
.popular{
    padding:20px 0 26px;
}
.tileGrid{
    display:grid;
    grid-template-columns:repeat(8,1fr);
    gap:16px;
}
.tile{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:12px;
    font-size:13.5px;
    font-weight:500;
    text-align:center;
    color:#25282d;
    transition:.2s;
}
.tile span{
    width:100%;
    aspect-ratio:1/1;
    max-width:112px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:8px;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:.2s;
}
.tile img{
    width:44px;
    height:44px;
}
.tile:hover span{
    border-color:var(--orange);
    box-shadow:0 8px 20px rgba(0,0,0,.07);
}
.tile:hover{
    color:var(--orange);
}

/* ===========================================
   CZARNY PASEK
=========================================== */
.strip{
    padding:22px 0 26px;
}
.stripInner{
    background:var(--ink);
    border-radius:var(--radius);
    padding:30px 44px;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:24px;
}
.stripItem{
    display:flex;
    align-items:center;
    gap:18px;
    color:#fff;
}
.stripItem i{
    font-size:28px;
    color:#fff;
    flex:none;
}
.stripItem h4{
    font-size:15px;
    font-weight:700;
    margin-bottom:2px;
}
.stripItem p{
    font-size:13px;
    color:#9ea3a9;
}

/* ===========================================
   NEWSLETTER
=========================================== */
.newsletter{
    padding:6px 0 46px;
}
.newsInner{
    background:#fbfbfc;
    border:1px solid var(--line);
    border-radius:var(--radius);
    padding:26px 32px;
    display:grid;
    grid-template-columns:1fr 1.05fr .8fr;
    gap:36px;
    align-items:center;
}
.newsLeft{
    display:flex;
    align-items:center;
    gap:18px;
}
.newsIcon{
    width:54px;
    height:54px;
    flex:none;
    border-radius:8px;
    background:var(--ink);
    color:#fff;
    font-size:22px;
    display:flex;
    align-items:center;
    justify-content:center;
}
.newsLeft h2{
    font-size:19px;
    font-weight:800;
    margin-bottom:3px;
}
.newsLeft p{
    font-size:13.5px;
    color:var(--muted);
}
.newsRow{
    display:flex;
    gap:0;
}
.newsRow input{
    flex:1;
    min-width:0;
    height:48px;
    border:1px solid var(--line);
    border-right:none;
    border-radius:5px 0 0 5px;
    padding:0 16px;
    font-size:14px;
    background:#fff;
}
.newsRow input:focus{
    outline:none;
    border-color:var(--orange);
}
.newsRow button{
    padding:0 26px;
    background:var(--orange);
    color:#fff;
    border-radius:0 5px 5px 0;
    font-size:13px;
    font-weight:800;
    letter-spacing:.5px;
    white-space:nowrap;
}
.newsRow button:hover{
    background:var(--orange-dark);
}
.newsCheck{
    display:flex;
    align-items:flex-start;
    gap:8px;
    margin-top:10px;
    font-size:11.5px;
    color:#8a9097;
    cursor:pointer;
}
.newsCheck input{
    margin-top:2px;
    accent-color:var(--orange);
}
.trust{
    border-left:1px solid var(--line);
    padding-left:34px;
}
.trustTop{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:6px;
}
.trustTop b{
    font-size:16px;
    font-weight:800;
}
.trustTop img{
    height:20px;
}
.trustTop span{
    font-size:15px;
    font-weight:700;
}
.trustBottom{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    font-size:12.5px;
    color:var(--muted);
}
.trustBottom b{
    color:#1b1d21;
    font-weight:700;
    white-space:nowrap;
}
.trustBottom b i{
    color:#00b67a;
    margin-right:3px;
}

/* ===========================================
   STOPKA
=========================================== */
.footer{
    background:var(--ink);
    color:#fff;
}
.footerGrid{
    display:grid;
    grid-template-columns:1.5fr 1fr 1fr 1fr 1.35fr;
    gap:40px;
    padding:52px 0 44px;
}
.footerLogo{
    width:210px;
    margin-bottom:18px;
}
.footerBrand p{
    font-size:13.5px;
    color:#9ea3a9;
    line-height:1.75;
    max-width:290px;
}
.socials{
    display:flex;
    gap:10px;
    margin-top:22px;
}
.socials a{
    width:36px;
    height:36px;
    border-radius:50%;
    border:1px solid rgba(255,255,255,.2);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:14px;
    transition:.2s;
}
.socials a:hover{
    background:var(--orange);
    border-color:var(--orange);
}
.footerCol h3{
    font-size:13px;
    font-weight:800;
    letter-spacing:.8px;
    margin-bottom:18px;
}
.footerCol li a{
    display:block;
    font-size:13.5px;
    color:#9ea3a9;
    margin-bottom:11px;
    transition:.2s;
}
.footerCol li a:hover{
    color:var(--orange);
}
.contactRow{
    display:flex;
    gap:14px;
    margin-bottom:18px;
}
.contactRow > span{
    width:36px;
    height:36px;
    flex:none;
    border-radius:50%;
    border:1px solid rgba(255,255,255,.2);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:13px;
}
.contactRow b{
    display:block;
    font-size:14px;
    font-weight:700;
    margin-bottom:2px;
}
.contactRow small{
    font-size:12.5px;
    color:#9ea3a9;
    line-height:1.6;
}
.footerBottom{
    border-top:1px solid rgba(255,255,255,.09);
    padding:20px 0;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:24px;
    font-size:12.5px;
    color:#8b9097;
}
.payments{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
}
.payments img{
    height:34px;
    opacity:.92;
    transition:.2s;
}
.payments img:hover{
    opacity:1;
}

/* ===========================================
   DO GÓRY + TOAST
=========================================== */
.whatsappFloat{
    position:fixed;
    left:24px;
    bottom:24px;
    display:flex;
    align-items:center;
    gap:9px;
    padding:13px 20px 13px 16px;
    border-radius:50px;
    background:#25d366;
    color:#fff;
    font-size:14px;
    font-weight:700;
    box-shadow:0 10px 24px rgba(37,211,102,.4);
    z-index:890;
    transition:.2s;
}
.whatsappFloat:hover{
    background:#1fb955;
    color:#fff;
    transform:translateY(-2px);
}
.whatsappFloat i{
    font-size:22px;
}
.toTop{
    position:fixed;
    right:24px;
    bottom:24px;
    width:46px;
    height:46px;
    border-radius:50%;
    background:var(--orange);
    color:#fff;
    font-size:15px;
    box-shadow:0 10px 24px rgba(255,106,0,.38);
    opacity:0;
    visibility:hidden;
    transform:translateY(12px);
    z-index:890;
}
.toTop.visible{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}
.toTop:hover{
    background:var(--orange-dark);
}
.toast{
    position:fixed;
    left:50%;
    bottom:28px;
    transform:translate(-50%,16px);
    background:var(--ink);
    color:#fff;
    padding:13px 24px;
    border-radius:8px;
    font-size:13.5px;
    font-weight:600;
    box-shadow:0 16px 36px rgba(0,0,0,.28);
    opacity:0;
    visibility:hidden;
    transition:.28s;
    z-index:950;
}
.toast.visible{
    opacity:1;
    visibility:visible;
    transform:translate(-50%,0);
}

@media (prefers-reduced-motion:reduce){
    *{
        animation:none !important;
        transition:none !important;
    }
}

/* ===========================================
   Slajd główny - warstwy
   ===========================================
   Zdjęcie, przyciemnienie i napisy to trzy osobne warstwy. Podmiana grafiki
   to zmiana `--foto` w jednym miejscu w szablonie - bez grafika, bez
   przycinania i bez wypalania napisów w obrazek.

   Maska jest po to, żeby tekst został czytelny na DOWOLNYM zdjęciu, także
   jasnym. Dlatego przyciemnienie jest mocne przy lewej krawędzi (tam stoją
   napisy) i schodzi do zera po prawej, gdzie zdjęcie ma być widoczne.
   =========================================== */
.heroSlide--warstwy{
    display:none;
    position:relative;
    align-items:center;
    min-height:470px;
    height:100%;
    padding:0 0 118px;
    overflow:hidden;
}
.heroSlide--warstwy.isActive{
    display:flex;
    animation:fadeIn .45s ease;
}
.hero__foto{
    position:absolute;
    inset:0;
    background-image:var(--foto);
    background-size:cover;
    background-position:center right;
    background-repeat:no-repeat;
    z-index:0;
}
.hero__maska{
    position:absolute;
    inset:0;
    z-index:1;
    pointer-events:none;
    background:
        /* pion: czytelny pasek benefitów u dołu */
        linear-gradient(0deg,
            rgba(0,0,0,.88) 0%,
            rgba(0,0,0,0) 34%),
        /* poziom: mocno przy napisach, przezroczyście nad zdjęciem */
        linear-gradient(90deg,
            rgba(0,0,0,1) 0%,
            rgba(0,0,0,.94) 30%,
            rgba(0,0,0,.55) 55%,
            rgba(0,0,0,.15) 78%,
            rgba(0,0,0,0) 100%);
}
.hero__tresc{
    position:relative;
    z-index:2;
    max-width:62%;
    padding-left:62px;
    padding-right:24px;
}
.hero__tresc h1{
    font-size:44px;
    line-height:1.1;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:-.5px;
    color:#fff;
    margin-bottom:18px;
    /* Delikatny cień - ratuje nagłówek, gdyby ktoś wstawił bardzo jasne zdjęcie. */
    text-shadow:0 2px 10px rgba(0,0,0,.45);
}
.hero__tresc h1 span{
    color:var(--orange);
}
.hero__tresc p{
    font-size:16px;
    line-height:1.6;
    color:#d3d7dc;
    margin-bottom:28px;
    text-shadow:0 1px 6px rgba(0,0,0,.4);
}
.hero__akcje{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}
/* Drugi przycisk - sam obrys, żeby nie konkurował z głównym. */
.btnObrys{
    display:inline-block;
    padding:16px 34px;
    border:1.5px solid rgba(255,255,255,.7);
    border-radius:5px;
    color:#fff;
    font-size:14px;
    font-weight:700;
    letter-spacing:.6px;
    transition:.2s;
}
.btnObrys:hover{
    background:rgba(255,255,255,.12);
    border-color:#fff;
}
