/*
Theme Name: TuPasuje Shop
Theme URI: https://tupasuje.pl/
Author: TuPasuje
Description: Dedykowany motyw WooCommerce dla TuPasuje.pl. Nowoczesny sklep z praktycznymi, dopasowanymi rozwiązaniami.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: tupasuje
License: GPL-2.0-or-later
*/

:root{
  --tp-bg:#ffffff;
  --tp-surface:#f5f7f8;
  --tp-surface-2:#eef3f1;
  --tp-text:#1f2730;
  --tp-muted:#66717b;
  --tp-line:#dfe5e8;
  --tp-green:#009d77;
  --tp-green-dark:#007d60;
  --tp-green-soft:#e6f6f1;
  --tp-charcoal:#202831;
  --tp-radius:14px;
  --tp-shadow:0 8px 30px rgba(24,37,44,.08);
  --tp-max:1440px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--tp-bg);color:var(--tp-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;line-height:1.5;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
button,input,textarea,select{font:inherit}
.container{width:min(var(--tp-max),calc(100% - 48px));margin-inline:auto}
.tp-section{padding:54px 0}
.tp-section--tight{padding:34px 0}
.tp-section--soft{background:var(--tp-surface)}
.tp-section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:22px}
.tp-section-head h2,.tp-section h2{font-size:clamp(28px,3vw,44px);line-height:1.08;margin:0;letter-spacing:-.035em}
.tp-section-head p{margin:6px 0 0;color:var(--tp-muted)}
.tp-link{font-weight:700;color:var(--tp-green);white-space:nowrap}
.tp-link:hover{color:var(--tp-green-dark)}
.tp-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:0 22px;border-radius:9px;border:1px solid transparent;background:var(--tp-green);color:#fff;font-weight:750;cursor:pointer;transition:.2s ease}
.tp-btn:hover{background:var(--tp-green-dark);transform:translateY(-1px)}
.tp-btn--ghost{background:#fff;color:var(--tp-text);border-color:#bfc8cd}
.tp-btn--ghost:hover{background:var(--tp-surface);color:var(--tp-text)}
.tp-eyebrow{font-weight:800;color:var(--tp-green);text-transform:uppercase;letter-spacing:.08em;font-size:13px}

/* utility bar */
.tp-utility{background:var(--tp-charcoal);color:#fff;font-size:13px}
.tp-utility .container{min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.tp-utility-left,.tp-utility-right{display:flex;align-items:center;gap:26px}
.tp-utility-item{display:flex;align-items:center;gap:8px;opacity:.95}
.tp-utility svg{width:17px;height:17px}
.tp-utility a:hover{color:#fff;text-decoration:underline}

/* header */
.tp-header{background:#fff;border-bottom:1px solid #edf0f2;position:sticky;top:0;z-index:50}
.admin-bar .tp-header{top:32px}
.tp-header-row{min-height:82px;display:grid;grid-template-columns:240px 1fr minmax(260px,430px) auto;gap:24px;align-items:center}
.tp-logo{display:flex;align-items:center;max-width:220px}
.tp-logo img{width:100%;max-height:64px;object-fit:contain;object-position:left center}
.tp-nav{display:flex;align-items:center;gap:26px;font-weight:700;font-size:14px}
.tp-nav a{position:relative;padding:30px 0}
.tp-nav a:after{content:"";position:absolute;left:0;right:0;bottom:18px;height:2px;background:var(--tp-green);transform:scaleX(0);transition:.2s}
.tp-nav a:hover:after{transform:scaleX(1)}
.tp-search{display:flex;align-items:center;border:1px solid #d7dfe3;border-radius:9px;background:#fff;overflow:hidden}
.tp-search input{width:100%;border:0;outline:0;padding:12px 14px;background:transparent;font-size:14px}
.tp-search button{border:0;background:transparent;padding:0 14px;cursor:pointer;color:var(--tp-text)}
.tp-actions{display:flex;align-items:center;gap:16px}
.tp-action{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:11px;position:relative;min-width:40px}
.tp-action svg{width:23px;height:23px}
.tp-cart-count{position:absolute;right:0;top:-5px;min-width:18px;height:18px;border-radius:20px;background:var(--tp-green);color:#fff;font-size:10px;display:grid;place-items:center;font-weight:800}
.tp-mobile-toggle{display:none;background:none;border:0;padding:8px}

/* hero */
.tp-hero{background:linear-gradient(90deg,#f8fafb 0%,#f8fafb 49%,#eef3f1 100%);overflow:hidden}
.tp-hero-grid{min-height:472px;display:grid;grid-template-columns:1.02fr .98fr;align-items:stretch}
.tp-hero-copy{padding:42px 64px 42px 0;display:flex;flex-direction:column;justify-content:center}
.tp-hero h1{font-size:clamp(45px,5vw,76px);line-height:.98;letter-spacing:-.055em;margin:0 0 20px;max-width:760px}
.tp-hero h1 strong{display:block;color:var(--tp-green)}
.tp-hero-copy>p{font-size:20px;color:#45505a;max-width:700px;margin:0 0 28px}
.tp-hero-cta{display:flex;gap:12px;flex-wrap:wrap}
.tp-hero-benefits{
    display:grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:18px;
    margin-top:28px;
}
.tp-benefit{display:flex;gap:10px;align-items:center;font-size:13px;font-weight:700}
.tp-benefit-icon{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--tp-green-soft);color:var(--tp-green)}
.tp-hero-visual{
    position:relative;
    min-height:470px;
    padding:24px 0 24px 32px;
    display:grid;
    align-items:center;
}
.tp-hero-products{position:relative;height:430px}
.tp-hero-product{position:absolute;background:#fff;border-radius:20px;box-shadow:0 18px 42px rgba(22,38,46,.16);overflow:hidden;border:1px solid rgba(255,255,255,.85)}
.tp-hero-product img{width:100%;height:100%;object-fit:cover;object-position:center;background:#fff;padding:0;}
.tp-hero-product:nth-child(1){width:52%;height:66%;left:3%;top:19%;transform:rotate(-5deg);z-index:2}
.tp-hero-product:nth-child(2){width:44%;height:54%;right:2%;top:4%;transform:rotate(5deg);z-index:3}
.tp-hero-product:nth-child(3){width:40%;height:48%;right:10%;bottom:0;transform:rotate(-2deg);z-index:4}
.tp-hero-fallback{height:100%;border-radius:32px;background:radial-gradient(circle at 30% 30%,#d8efe7 0 14%,transparent 15%),linear-gradient(135deg,#e7efec,#f9fbfa);position:relative;overflow:hidden}
.tp-hero-fallback:before,.tp-hero-fallback:after{content:"";position:absolute;border:36px solid var(--tp-charcoal);border-radius:28px;transform:rotate(30deg)}
.tp-hero-fallback:before{width:180px;height:180px;left:18%;top:18%}
.tp-hero-fallback:after{width:120px;height:120px;border-color:var(--tp-green);right:12%;bottom:12%}
.tp-hero-note{position:absolute;right:0;top:36px;font-size:22px;line-height:1.25;font-weight:750;transform:rotate(-4deg);max-width:180px;color:#263039}
.tp-hero-note:after{content:"";display:block;width:110px;height:4px;border-radius:5px;background:var(--tp-green);margin-top:8px;transform:rotate(-3deg)}

/* categories */
.tp-category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.tp-category-card{background:#fff;border:1px solid var(--tp-line);border-radius:var(--tp-radius);overflow:hidden;transition:.2s;box-shadow:0 2px 7px rgba(0,0,0,.02)}
.tp-category-card:hover{transform:translateY(-4px);box-shadow:var(--tp-shadow)}
.tp-category-media{height:210px;background:linear-gradient(135deg,#eef5f2,#f7f9f8);overflow:hidden;display:grid;place-items:center}
.tp-category-media img{width:100%;height:100%;object-fit:cover}
.tp-category-fallback{width:84px;height:84px;border-radius:22px;background:#fff;color:var(--tp-green);display:grid;place-items:center;box-shadow:0 10px 30px rgba(0,157,119,.12)}
.tp-category-fallback svg{width:44px;height:44px}
.tp-category-body{padding:20px}
.tp-category-title{display:flex;gap:10px;align-items:center;font-size:19px;font-weight:800;margin-bottom:8px}
.tp-category-title svg{width:24px;height:24px;color:var(--tp-green)}
.tp-category-body p{color:var(--tp-muted);font-size:14px;min-height:42px;margin:0 0 14px}

/* products */
.tp-products{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}
.tp-product-card{border:1px solid var(--tp-line);border-radius:12px;background:#fff;padding:12px;display:flex;flex-direction:column;min-width:0;transition:.2s}
.tp-product-card:hover{box-shadow:var(--tp-shadow);transform:translateY(-2px)}
.tp-product-thumb{aspect-ratio:1/1;border-radius:10px;background:#f7f8f9;display:grid;place-items:center;overflow:hidden;margin-bottom:12px}
.tp-product-thumb img{width:100%;height:100%;object-fit:contain;padding:5px}
.tp-product-name{font-weight:800;font-size:15px;line-height:1.25;min-height:56px;margin-bottom:6px}
.tp-product-meta{font-size:12px;color:var(--tp-muted);min-height:36px;margin-bottom:8px}
.tp-price{font-size:19px;font-weight:850;color:var(--tp-text);margin-top:auto;margin-bottom:10px}
.tp-price del{font-size:13px;color:#9aa2a8;font-weight:500}
.tp-price ins{text-decoration:none;color:var(--tp-green)}
.tp-product-card .tp-btn{min-height:41px;padding:0 10px;font-size:13px;width:100%}

/* story */
.tp-story{background:linear-gradient(110deg,#f4f7f8 0 70%,#eef8f5 70%)}
.tp-story-grid{display:grid;grid-template-columns:280px 1.2fr .9fr;align-items:stretch;gap:30px}
.tp-story-image{min-height:270px;border-radius:18px;overflow:hidden;background:linear-gradient(135deg,#d8e8e3,#fafafa);display:grid;place-items:center}
.tp-story-image img{width:100%;height:100%;object-fit:cover}
@media (min-width: 769px) {
    .tp-story-image img {
        width: 70%;
        height: 70%;
        object-fit: contain;
    }
}
.tp-story-copy{padding:24px 0;align-self:center}
.tp-story-copy h2{font-size:clamp(30px,3.1vw,48px)}
.tp-story-copy h2 strong{color:var(--tp-green)}
.tp-story-copy p{color:#4f5a64;font-size:16px;max-width:760px}
.tp-story-list{padding:30px 0;align-self:center;display:grid;gap:16px}
.tp-story-point{display:flex;align-items:center;gap:12px;font-weight:750}
.tp-check{width:24px;height:24px;border-radius:50%;background:var(--tp-green);color:#fff;display:grid;place-items:center;flex:0 0 auto}

/* fit search */
.tp-fit{display:grid;grid-template-columns:2.2fr 1fr;gap:22px}
.tp-fit-box,.tp-request-box{background:linear-gradient(135deg,#f8fafb,#eef5f3);border:1px solid #e2e9e7;border-radius:16px;padding:28px}
.tp-fit-box h2{font-size:32px;margin-bottom:5px}
.tp-fit-box p,.tp-request-box p{color:var(--tp-muted);margin-top:0}
.tp-fit-form{display:flex;gap:0;margin-top:20px}
.tp-fit-form input{flex:1;min-width:0;height:52px;border:1px solid #ccd7d4;border-right:0;border-radius:9px 0 0 9px;padding:0 16px;outline:none;background:#fff}
.tp-fit-form button {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    padding: 0;
    border: 0;
    border-radius: 0 9px 9px 0;
    background: var(--tp-green);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tp-fit-form button svg {
    width: 22px;
    height: 22px;
}
.tp-request-box{display:flex;flex-direction:column;justify-content:center}
.tp-request-box h3{font-size:22px;margin:0 0 8px}

/* newsletter */
.tp-newsletter{background:#f3f7f6;border-top:1px solid #e5ebe9;border-bottom:1px solid #e5ebe9}
.tp-newsletter .container{display:grid;grid-template-columns:1.2fr 1.1fr;align-items:center;gap:30px;min-height:120px}
.tp-news-copy{display:flex;gap:14px;align-items:center}
.tp-news-copy strong{display:block;font-size:19px}
.tp-news-copy span{color:var(--tp-muted);font-size:14px}
.tp-newsletter form{display:flex}
.tp-newsletter input{flex:1;height:48px;border:1px solid #cfd8dc;border-radius:9px 0 0 9px;padding:0 15px}
.tp-newsletter button{border-radius:0 9px 9px 0;min-width:150px;border:0;background:var(--tp-green);color:#fff;font-weight:800}

/* footer */
.tp-footer{background:#202a33;color:#fff;padding:54px 0 22px}
.tp-footer-grid{display:grid;grid-template-columns:1.4fr repeat(4,1fr);gap:42px}
.tp-footer-logo{max-width:200px;background:#fff;border-radius:8px;padding:7px 10px;margin-bottom:16px}
.tp-footer h4{font-size:14px;margin:0 0 14px}
.tp-footer ul{list-style:none;margin:0;padding:0;display:grid;gap:9px;color:#d7dde0;font-size:14px}
.tp-footer a:hover{color:#fff}
.tp-footer-brand p{color:#bac4c9;font-size:13px;max-width:260px}
.tp-footer-bottom{margin-top:38px;padding-top:20px;border-top:1px solid #39434b;display:flex;align-items:center;justify-content:space-between;gap:20px;color:#aeb9bf;font-size:12px}
.tp-payment-badges{display:flex;gap:8px;flex-wrap:wrap}
.tp-badge{background:#fff;color:#222;border-radius:6px;padding:6px 9px;font-size:11px;font-weight:800}

/* pages */
.tp-page-hero{padding:52px 0 28px;background:var(--tp-surface)}
.tp-page-hero h1{font-size:clamp(36px,4vw,62px);letter-spacing:-.04em;margin:0}
.tp-content{padding:42px 0 70px;max-width:900px}
.tp-content h2,.tp-content h3{margin-top:34px}
.tp-content a{color:var(--tp-green);text-decoration:underline}

/* WooCommerce */
.woocommerce .woocommerce-breadcrumb{margin:18px 0 26px;color:var(--tp-muted)}
.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,1fr);gap:18px;margin:0!important}
.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}
.woocommerce ul.products li.product{width:auto!important;margin:0!important;border:1px solid var(--tp-line);border-radius:12px;padding:14px;background:#fff;transition:.2s}
.woocommerce ul.products li.product:hover{box-shadow:var(--tp-shadow);transform:translateY(-2px)}
.woocommerce ul.products li.product a img{border-radius:9px;background:#f7f8f9;margin-bottom:14px!important}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:16px!important;line-height:1.3;padding:0!important;color:var(--tp-text)}
.woocommerce ul.products li.product .price{color:var(--tp-green)!important;font-weight:800;font-size:17px!important}
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit{background:var(--tp-green)!important;color:#fff!important;border-radius:8px!important;font-weight:800!important}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover{background:var(--tp-green-dark)!important}
.woocommerce div.product{padding:38px 0}
.woocommerce div.product div.images img{border-radius:14px}
.woocommerce div.product .product_title{font-size:clamp(32px,4vw,52px);letter-spacing:-.04em}
.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--tp-green);font-size:28px;font-weight:850}
.woocommerce-message,.woocommerce-info{border-top-color:var(--tp-green)}
.woocommerce-message:before,.woocommerce-info:before{color:var(--tp-green)}

/* notices */
.tp-setup-note{border:1px dashed #b6c7c1;background:#f3faf7;padding:14px 16px;border-radius:10px;color:#476057;font-size:13px;margin-top:14px}

@media (max-width:1200px){
  .tp-header-row{grid-template-columns:210px 1fr auto}.tp-search{grid-column:1/-1;grid-row:2;margin-bottom:16px}.tp-nav{justify-content:center}.tp-products{grid-template-columns:repeat(3,1fr)}.tp-category-grid{grid-template-columns:repeat(2,1fr)}.tp-story-grid{grid-template-columns:240px 1fr}.tp-story-list{grid-column:1/-1;grid-template-columns:repeat(4,1fr);padding-top:0}.tp-footer-grid{grid-template-columns:1.4fr repeat(2,1fr)}
}
@media (max-width:900px){
  .container{width:min(100% - 30px,var(--tp-max))}.tp-utility-right{display:none}.tp-header-row{grid-template-columns:1fr auto auto;min-height:70px;gap:10px}.tp-logo{max-width:175px}.tp-mobile-toggle{display:block}.tp-nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;padding:12px 20px 18px;border-bottom:1px solid var(--tp-line);flex-direction:column;align-items:flex-start;gap:0;box-shadow:0 10px 20px rgba(0,0,0,.06)}.tp-nav.is-open{display:flex}.tp-nav a{padding:11px 0;width:100%}.tp-nav a:after{bottom:4px}.tp-search{display:none}.tp-action span:not(.tp-cart-count){display:none}.tp-hero-grid{grid-template-columns:1fr}.tp-hero-copy{padding:46px 0 26px}.tp-hero-visual{min-height:370px;padding:15px 0 35px}.tp-hero-products{height:340px}.tp-category-grid{grid-template-columns:1fr 1fr}.tp-products{grid-template-columns:repeat(2,1fr)}.tp-story-grid{grid-template-columns:1fr}.tp-story-image{min-height:240px}.tp-story-list{grid-template-columns:1fr 1fr}.tp-fit{grid-template-columns:1fr}.tp-newsletter .container{grid-template-columns:1fr;padding-block:26px}.tp-footer-grid{grid-template-columns:1fr 1fr}.woocommerce ul.products{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:560px){
  .tp-utility-left{gap:12px;font-size:11px}.tp-utility-left .tp-utility-item:nth-child(2){display:none}.tp-header-row{grid-template-columns:auto 1fr auto}.tp-logo{max-width:150px}.tp-actions{
    gap:7px;
    transform:translateX(14px);
}.tp-hero h1{font-size:43px}.tp-hero-copy>p{font-size:17px}.tp-hero-cta{display:grid;grid-template-columns:1fr}.tp-hero-benefits{gap:14px}.tp-benefit{width:calc(50% - 7px)}.tp-hero-note{font-size:16px;right:6px}.tp-category-grid{grid-template-columns:1fr}.tp-category-media{height:180px}.tp-products{grid-template-columns:1fr 1fr;gap:10px}.tp-product-card{padding:9px}.tp-product-name{font-size:13px;min-height:50px}.tp-product-meta{display:none}.tp-price{font-size:16px}.tp-product-card .tp-btn{font-size:11px;padding:0 5px}.tp-story-list{grid-template-columns:1fr}.tp-fit-box,.tp-request-box{padding:20px}.tp-newsletter form{display:grid;grid-template-columns:1fr}.tp-newsletter input,.tp-newsletter button{border-radius:8px;width:100%;min-height:48px}.tp-footer-grid{grid-template-columns:1fr 1fr;gap:28px}.tp-footer-brand{grid-column:1/-1}.tp-footer-bottom{align-items:flex-start;flex-direction:column}.woocommerce ul.products{grid-template-columns:1fr 1fr;gap:10px}.woocommerce ul.products li.product{padding:9px}.woocommerce ul.products li.product .button{font-size:11px;padding:9px 6px}.tp-section{padding:38px 0}.tp-section-head{align-items:flex-start;flex-direction:column}.tp-section-head h2,.tp-section h2{font-size:31px}
}
/* ===== ZIELONY KAFEL "ZOBACZ ROZWIĄZANIA" ===== */

/* ===== TELEFON ===== */
@media (max-width: 600px) {

    .tp-hero-cta > .tp-btn:not(.tp-btn-ghost) {
        height: auto !important;
        min-height: 110px !important;
        padding: 18px 30px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 20px !important;
    }

    .tp-hero-cta > .tp-btn:not(.tp-btn-ghost) svg {
        width: 68px !important;
        height: 68px !important;
        min-width: 68px !important;
        flex: 0 0 68px !important;
    }
}
/* ===== MNIEJSZY NAGŁÓWEK HERO NA KOMPUTERZE ===== */
@media (min-width: 901px) {
    .tp-hero h1 {
        font-size: clamp(42px, 4.2vw, 66px) !important;
    }
}
/* ===== MNIEJSZY NAGŁÓWEK HERO NA TELEFONIE ===== */
@media (max-width: 600px) {
    .tp-hero h1 {
        font-size: 40px !important;
        line-height: 1.02 !important;
    }
}

/* ===== POPRAWA ZDJĘĆ W HERO - KOMPUTER ===== */
@media (min-width: 901px) {

    /* cieńsza biała ramka wokół zdjęć */
    .tp-hero-product img {
        padding: 7px !important;
    }

    /* dolne / większe zdjęcie */
    .tp-hero-product:nth-child(1) {
        width: 50% !important;
        height: 62% !important;
        left: 3% !important;
        top: 24% !important;
    }

    /* górne zdjęcie z filtrami - przesuwamy w dół */
    .tp-hero-product:nth-child(2) {
        width: 41% !important;
        height: 52% !important;
        right: 3% !important;
        top: 24% !important;
    }

    /* napis nad zdjęciami */
    .tp-hero-note {
        top: 28px !important;
        right: 4% !important;
        z-index: 10 !important;
    }
}

/* ===== ZDJĘCIA HERO - TELEFON ===== */
@media (max-width: 600px) {

    /* cała prawa sekcja ze zdjęciami */
    .tp-hero-visual {
        min-height: 380px !important;
        padding: 20px 15px 20px !important;
    }

    /* napis "Praktyczne rozwiązania na co dzień" */
    .tp-hero-note {
        top: 18px !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) rotate(-4deg) !important;
        width: max-content !important;
        max-width: 90% !important;
        font-size: 18px !important;
        line-height: 1.15 !important;
        text-align: center !important;
        z-index: 10 !important;
    }

    /* obszar ze zdjęciami */
    .tp-hero-products {
        height: 290px !important;
    }

    /* dużo cieńsza biała ramka */
    .tp-hero-product img {
        padding: 6px !important;
    }

    /* zdjęcie z czarnym elementem */
    .tp-hero-product:nth-child(1) {
        width: 55% !important;
        height: 58% !important;
        left: 3% !important;
        top: 30% !important;
        transform: rotate(-5deg) !important;
    }

    /* zdjęcie filtrów */
    .tp-hero-product:nth-child(2) {
        width: 43% !important;
        height: 52% !important;
        right: 3% !important;
        top: 22% !important;
        transform: rotate(5deg) !important;
    }
}

/* ===== MNIEJSZE LOGO W SEKCJI STORY - TELEFON ===== */
@media (max-width: 600px) {
    .tp-story-image img {
        width: 65% !important;
        height: auto !important;
        object-fit: contain !important;
    }
}

/* ===== USUNIĘCIE TŁA WOKÓŁ LOGO - TELEFON ===== */
@media (max-width: 600px) {
    .tp-story-image {
        background: transparent !important;
    }
}

/* ===== SEKCJA Z LOGO - TELEFON ===== */
@media (max-width: 600px) {

    /* mniejszy odstęp całej sekcji od góry */
    .tp-story {
        padding-top: 28px !important;
        padding-bottom: 28px !important;
    }

    /* mniejszy odstęp między logo a tekstem */
    .tp-story-grid {
        gap: 22px !important;
    }

    /* biały kafelek na całą szerokość */
   .tp-story-image {
    width: 100% !important;
    min-height: 0 !important;
    height: 145px !important;

    padding: 12px 16px !important;
    margin: 0 !important;

    background: #ffffff !important;
    border-radius: 18px !important;

    display: grid !important;
    place-items: center !important;
}

.tp-story-image img {
    width: auto !important;
    height: 135px !important;
    max-width: 80% !important;
    object-fit: contain !important;
    display: block !important;
}
/* ===== MOBILE – KORZYŚCI POD HERO ===== */
@media (max-width: 768px) {

    .tp-hero-benefits {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px 12px !important;
        width: 100% !important;
    }

    .tp-hero-benefits .tp-benefit {
        width: auto !important;
        min-width: 0 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;

        gap: 8px !important;
    }

    .tp-hero-benefits .tp-benefit svg {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;

        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
        flex-shrink: 0 !important;
    }
}