/* iPortale – Promowane produkty: układ sidebar – v1.0.3 */
.ippp-box-2026 {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 14px;
    background: linear-gradient(180deg,#fbfcfd 0%,#f3f6f8 100%);
    border: 2px solid #9b2c2c;
    border-top: 4px solid #9b2c2c;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(31,49,61,.08);
}

.ippp-heading {
    margin: 0 0 12px;
    padding: 0 0 9px;
    border-bottom: 1px solid #d7e0e5;
    color: #23323b;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 900;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.ippp-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: stretch;
}

.ippp-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #dbe2e7;
    border-radius: 8px;
    box-sizing: border-box;
    overflow: hidden;
    box-shadow: 0 2px 9px rgba(31,49,61,.06);
}

/* Równa przestrzeń na zdjęcie. Obraz jest zachowany w całości i delikatnie powiększony,
   aby produkt nie wyglądał na zbyt mały w wąskim sidebarze. */
.ippp-photo,
.ippp-empty-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 165px;
    box-sizing: border-box;
    background: #fff;
    overflow: hidden;
}

.ippp-photo {
    text-decoration: none !important;
}

.ippp-photo img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
    object-position: center;
    padding: 0;
    box-sizing: border-box;
    transform: scale(1.22);
    transition: transform .2s ease;
}

.ippp-photo:hover img {
    transform: scale(1.27);
}

.ippp-empty-photo {
    color: #888;
    font-size: 11px;
    text-align: center;
}

.ippp-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 10px 9px 10px;
    box-sizing: border-box;
}

.ippp-name {
    min-height: 40px;
    margin: 0 0 5px;
    font-size: 12.5px;
    line-height: 1.3;
    font-weight: 700;
}

.ippp-price {
    margin: auto 0 8px;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 800;
}

.ippp-button {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 9px 5px;
    background: #d97706;
    color: #fff !important;
    text-align: center;
    text-decoration: none !important;
    font-size: 9px;
    line-height: 1.2;
    font-weight: 800;
    text-transform: uppercase;
}

.ippp-button:hover,
.ippp-button:focus {
    background: #b85f00;
    color: #fff !important;
}

@media (max-width: 420px) {
    .ippp-grid {
        grid-template-columns: 1fr;
    }

    .ippp-photo,
    .ippp-empty-photo {
        height: 190px;
    }
}


/* =========================================================
   FORMULARZ ZAMÓWIENIA – Etap 6 v1.2.1
   Spójny, szeroki i responsywny układ bez ingerencji w motyw.
   ========================================================= */

.ippp-order-box {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    color: #222;
}

.ippp-order-lead {
    margin: 0 0 8px;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 700;
}

.ippp-order-intro {
    margin: 0 0 24px;
    color: #666;
    font-size: 13px;
    line-height: 1.55;
}

.ippp-order-form {
    width: 100%;
    box-sizing: border-box;
}

.ippp-order-form h3 {
    margin: 26px 0 14px;
    padding: 0 0 8px;
    border-bottom: 2px solid #222;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 700;
}

.ippp-order-form h3:first-of-type {
    margin-top: 0;
}

.ippp-order-form p {
    margin: 0 0 15px;
}

.ippp-order-form label {
    display: block;
    width: 100%;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 600;
}

.ippp-order-form input[type="text"],
.ippp-order-form input[type="email"],
.ippp-order-form input[type="tel"],
.ippp-order-form select,
.ippp-order-form textarea {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 44px;
    margin-top: 6px;
    padding: 10px 12px;
    border: 1px solid #cfcfcf;
    border-radius: 3px;
    background: #fff;
    color: #222;
    font: inherit;
    font-size: 14px;
    line-height: 1.4;
    box-sizing: border-box;
    box-shadow: none;
}

.ippp-order-form textarea {
    min-height: 105px;
    resize: vertical;
}

.ippp-order-form input:focus,
.ippp-order-form select:focus,
.ippp-order-form textarea:focus {
    border-color: #222;
    outline: 2px solid rgba(0,0,0,.08);
    outline-offset: 0;
}

.ippp-two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
}

.ippp-two-cols p {
    min-width: 0;
}

.ippp-payment-note {
    margin: 18px 0 24px;
    padding: 14px 16px;
    border-left: 4px solid #222;
    background: #f5f5f5;
    color: #444;
    font-size: 13px;
    line-height: 1.55;
    box-sizing: border-box;
}

.ippp-checkbox {
    display: flex !important;
    align-items: flex-start;
    gap: 9px;
    font-weight: 500 !important;
    cursor: pointer;
}

.ippp-checkbox input[type="checkbox"] {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
}

.ippp-order-form .ippp-button {
    width: auto;
    min-width: 220px;
    margin-top: 8px;
    padding: 13px 24px;
    border: 0;
    border-radius: 2px;
    background: #111;
    color: #fff !important;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .02em;
    text-align: center;
    cursor: pointer;
    text-decoration: none !important;
}

.ippp-order-form .ippp-button:hover,
.ippp-order-form .ippp-button:focus {
    background: #333;
    opacity: 1;
}

.ippp-order-success {
    margin: 0 0 22px;
    padding: 14px 16px;
    border: 1px solid #b7dfbb;
    border-left: 4px solid #2e7d32;
    background: #edf8ee;
    color: #245b28;
    font-size: 13px;
    line-height: 1.5;
    box-sizing: border-box;
}

@media (max-width: 640px) {
    .ippp-two-cols {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .ippp-order-form h3 {
        font-size: 16px;
    }

    .ippp-order-form .ippp-button {
        width: 100%;
        min-width: 0;
    }
}


/* =========================================================
   PEŁNA LISTA PROMOWANYCH PRODUKTÓW + CTA – v1.2.2
   ========================================================= */

.ippp-all-products {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    box-sizing: border-box;
}

.ippp-all-products-intro {
    margin: 0 0 28px;
}

.ippp-all-products-intro h2 {
    margin: 0 0 8px;
    font-size: 28px;
    line-height: 1.2;
}

.ippp-all-products-intro p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

.ippp-all-products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.ippp-all-product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border: 1px solid #e1e1e1;
    background: #fff;
    box-sizing: border-box;
}

.ippp-all-product-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f5f5f5;
}

.ippp-all-product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ippp-all-product-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 15px;
    box-sizing: border-box;
}

.ippp-all-product-body h3 {
    margin: 0 0 8px;
    font-size: 17px;
    line-height: 1.35;
}

.ippp-all-product-body p {
    margin: 0 0 12px;
    color: #666;
    font-size: 13px;
    line-height: 1.5;
}

.ippp-all-product-price {
    margin-top: auto;
    margin-bottom: 13px;
    font-size: 16px;
    font-weight: 700;
}

.ippp-all-product-button {
    display: block;
    padding: 11px 12px;
    background: #111;
    color: #fff !important;
    text-align: center;
    text-decoration: none !important;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .02em;
}

.ippp-all-product-button:hover {
    background: #333;
}

.ippp-all-products-cta {
    margin-top: 34px;
    padding: 24px;
    text-align: center;
    border-top: 2px solid #222;
    background: #f6f6f6;
    box-sizing: border-box;
}

.ippp-all-products-cta strong,
.ippp-all-products-cta span {
    display: block;
}

.ippp-all-products-cta strong {
    margin-bottom: 6px;
    font-size: 18px;
}

.ippp-all-products-cta span {
    margin-bottom: 16px;
    color: #666;
    font-size: 13px;
}

.ippp-all-products-cta a {
    display: inline-block;
    padding: 12px 22px;
    background: #111;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 800;
}

.ippp-all-products-cta a:hover {
    background: #333;
}

/* Link sprzedażowy pod modułem w sidebarze – do użycia przez shortcode. */
.ippp-promoted-cta {
    margin: 12px 0 0;
    padding-top: 11px;
    border-top: 1px solid #ddd;
    text-align: center;
}

.ippp-promoted-cta a {
    display: block;
    padding: 9px 8px;
    color: #222 !important;
    text-decoration: none !important;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.ippp-promoted-cta a:hover {
    text-decoration: underline !important;
}

@media (max-width: 900px) {
    .ippp-all-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .ippp-all-products-grid {
        grid-template-columns: 1fr;
    }

    .ippp-all-products-intro h2 {
        font-size: 23px;
    }
}


/* v1.2.2 – linki sprzedażowe pod modułem */
.ippp-promoted-links{margin-top:10px;padding-top:8px;border-top:1px solid #ddd}
.ippp-promoted-links a{display:block;text-align:center;text-decoration:none!important;box-sizing:border-box}
.ippp-all-products-link{padding:7px 4px;color:#222!important;font-size:11px;line-height:1.3;font-weight:800}
.ippp-order-product-link{margin-top:4px;padding:10px 8px;background:#d97706;color:#fff!important;font-size:11px;line-height:1.3;font-weight:900;text-transform:uppercase;border-radius:5px}
.ippp-order-product-link:hover{background:#b85f00}

.ippp-all-products{width:100%;max-width:1100px;margin:0 auto;box-sizing:border-box}
.ippp-all-products-intro{margin:0 0 28px}
.ippp-all-products-intro h2{margin:0 0 8px;font-size:28px;line-height:1.2}
.ippp-all-products-intro p{margin:0;color:#666;line-height:1.6}
.ippp-all-products-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.ippp-all-product-card{display:flex;flex-direction:column;min-width:0;border:1px solid #e1e1e1;background:#fff;box-sizing:border-box}
.ippp-all-product-image{display:block;width:100%;aspect-ratio:4/3;overflow:hidden;background:#f5f5f5}
.ippp-all-product-image img{display:block;width:100%;height:100%;object-fit:cover}
.ippp-all-product-body{display:flex;flex-direction:column;flex:1;padding:15px;box-sizing:border-box}
.ippp-all-product-body h3{margin:0 0 8px;font-size:17px;line-height:1.35}
.ippp-all-product-body p{margin:0 0 12px;color:#666;font-size:13px;line-height:1.5}
.ippp-all-product-price{margin-top:auto;margin-bottom:13px;font-size:16px;font-weight:700}
.ippp-all-product-button{display:block;padding:11px 12px;background:#111;color:#fff!important;text-align:center;text-decoration:none!important;font-size:11px;font-weight:800}
.ippp-all-product-button:hover{background:#333}
.ippp-all-products-cta{margin-top:34px;padding:24px;text-align:center;border-top:2px solid #222;background:#f6f6f6;box-sizing:border-box}
.ippp-all-products-cta strong,.ippp-all-products-cta span{display:block}
.ippp-all-products-cta strong{margin-bottom:6px;font-size:18px}
.ippp-all-products-cta span{margin-bottom:16px;color:#666;font-size:13px}
.ippp-all-products-cta a{display:inline-block;padding:12px 22px;background:#111;color:#fff!important;text-decoration:none!important;font-size:12px;font-weight:800}
.ippp-empty-products{padding:18px;background:#f6f6f6;text-align:center;color:#666}
@media(max-width:900px){.ippp-all-products-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.ippp-all-products-grid{grid-template-columns:1fr}.ippp-all-products-intro h2{font-size:23px}}


/* =========================================================
   v1.3.0 – formularz z linkiem produktu + regulamin
   ========================================================= */

.ippp-url-help{
    margin:0 0 18px;
    padding:15px 17px;
    border:1px solid #ddd;
    border-left:4px solid #222;
    background:#f7f7f7;
    color:#444;
    font-size:13px;
    line-height:1.55;
    box-sizing:border-box;
}
.ippp-url-help strong{display:block;margin-bottom:7px;color:#222}
.ippp-url-help ol{margin:7px 0 8px 20px;padding:0}
.ippp-url-help p{margin:7px 0 0}
.ippp-url-help code{font-size:12px;word-break:break-all}

.ippp-regulations{
    width:100%;
    max-width:900px;
    margin:0 auto;
    color:#222;
    font-size:14px;
    line-height:1.65;
}
.ippp-regulations h2{
    margin:0 0 6px;
    font-size:28px;
    line-height:1.2;
}
.ippp-regulations>p:first-of-type{
    margin:0 0 28px;
    color:#666;
}
.ippp-regulations h3{
    margin:28px 0 10px;
    padding-bottom:7px;
    border-bottom:1px solid #ddd;
    font-size:18px;
    line-height:1.3;
}
.ippp-regulations p{margin:0 0 10px}
.ippp-regulations-note{
    margin-top:30px!important;
    padding:14px 16px;
    background:#f6f6f6;
    border-left:3px solid #222;
}
.ippp-checkbox a{color:#222;text-decoration:underline}
@media(max-width:600px){
    .ippp-regulations h2{font-size:23px}
}


/* =========================================================
   v1.4.0 – pakiety cenowe i wiele produktów
   ========================================================= */

.ippp-package-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px;
    margin:0 0 16px;
}
.ippp-package-card{
    position:relative;
    display:flex;
    flex-direction:column;
    min-width:0;
    padding:15px;
    border:1px solid #d8d8d8;
    background:#fff;
    cursor:pointer;
    box-sizing:border-box;
    transition:border-color .15s ease,box-shadow .15s ease;
}
.ippp-package-card:hover{border-color:#777}
.ippp-package-card.is-selected{border:2px solid #111;padding:14px;box-shadow:0 2px 8px rgba(0,0,0,.06)}
.ippp-package-card input{position:absolute;opacity:0;pointer-events:none}
.ippp-package-name{font-size:12px;font-weight:800;letter-spacing:.06em}
.ippp-package-days{margin-top:4px;font-size:21px;font-weight:800}
.ippp-package-products{margin:7px 0 13px;color:#555;font-size:12px;line-height:1.4}
.ippp-package-net{font-size:17px;font-weight:800}
.ippp-package-net small{font-size:11px;font-weight:500}
.ippp-package-tax{margin-top:4px;color:#666;font-size:11px}
.ippp-package-gross{margin-top:9px;padding-top:8px;border-top:1px solid #eee;font-size:12px;font-weight:700}
.ippp-package-summary{
    display:flex;
    flex-wrap:wrap;
    justify-content:space-between;
    gap:6px 15px;
    margin:0 0 24px;
    padding:13px 15px;
    background:#f4f4f4;
    border-left:4px solid #111;
    font-size:13px;
    line-height:1.5;
}
.ippp-product-url-row{margin-bottom:13px}
.ippp-required-marker{color:#555}
.ippp-replacement-info{
    margin:17px 0;
    padding:13px 15px;
    background:#f7f7f7;
    border:1px solid #ddd;
    font-size:12px;
    line-height:1.55;
}
@media(max-width:900px){
    .ippp-package-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
    .ippp-package-grid{grid-template-columns:1fr}
    .ippp-package-days{font-size:19px}
    .ippp-package-summary{display:block}
    .ippp-package-summary>span{display:block;margin-top:4px}
}


/* v1.4.1 – czytelniejszy cennik */
.ippp-package-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px;
    margin-bottom:14px;
}
.ippp-package-card{
    position:relative;
    display:flex;
    flex-direction:column;
    min-height:145px;
    padding:15px 14px;
    border:1px solid #d5d5d5;
    background:#fff;
    cursor:pointer;
    box-sizing:border-box;
    transition:border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.ippp-package-card:hover{border-color:#888}
.ippp-package-card.is-selected{
    border:2px solid #222;
    box-shadow:0 2px 9px rgba(0,0,0,.09);
}
.ippp-package-card.is-best{
    border:2px solid #222;
}
.ippp-package-card.is-best:before{
    content:"NAJLEPSZA OFERTA";
    position:absolute;
    top:-10px;
    right:8px;
    padding:3px 7px;
    background:#222;
    color:#fff;
    font-size:8px;
    line-height:1;
    font-weight:800;
    letter-spacing:.03em;
}
.ippp-package-card input[type="radio"]{
    position:absolute;
    opacity:0;
    pointer-events:none;
}
.ippp-package-name{
    display:block;
    margin-bottom:3px;
    font-size:11px;
    font-weight:800;
    letter-spacing:.04em;
}
.ippp-package-days{
    display:block;
    margin-bottom:8px;
    font-size:20px;
    line-height:1.05;
    font-weight:900;
}
.ippp-package-products{
    display:block;
    min-height:31px;
    margin-bottom:9px;
    font-size:11px;
    line-height:1.35;
}
.ippp-package-net{
    display:block;
    font-size:15px;
    line-height:1.25;
    font-weight:900;
}
.ippp-package-net small{
    font-size:10px;
    font-weight:600;
}
.ippp-package-tax,
.ippp-package-gross{
    display:block;
    font-size:10px;
    line-height:1.4;
}
.ippp-package-gross{font-weight:800}
.ippp-package-summary{
    display:flex;
    flex-wrap:wrap;
    justify-content:space-between;
    gap:6px 16px;
    align-items:center;
    margin:0 0 22px;
    padding:12px 15px;
    border-left:4px solid #222;
    background:#f3f3f3;
    font-size:12px;
    line-height:1.4;
}
.ippp-package-summary strong{font-size:13px}
.ippp-package-summary #ippp-selected-gross{font-size:15px}
@media(max-width:900px){
    .ippp-package-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
    .ippp-package-grid{grid-template-columns:1fr}
    .ippp-package-card{min-height:0}
    .ippp-package-summary{display:block}
    .ippp-package-summary>span{display:block;margin-top:5px}
}


/* =========================================================
   v1.5.0 – Panel Klienta
   ========================================================= */

.ippp-client-panel{width:100%;max-width:980px;margin:0 auto;color:#222;font-size:14px;line-height:1.55}
.ippp-client-card{max-width:560px;margin:0 auto;padding:28px;border:1px solid #ddd;background:#fff;box-sizing:border-box}
.ippp-client-panel h2{margin:0 0 7px;font-size:28px;line-height:1.2}
.ippp-client-panel h3{margin:0 0 14px;font-size:18px;line-height:1.3}
.ippp-client-muted{color:#666}
.ippp-client-form p{margin:0 0 15px}
.ippp-client-form label{display:block;margin-bottom:5px;font-weight:700}
.ippp-client-form input{display:block;width:100%;padding:10px 11px;border:1px solid #ccc;background:#fff;box-sizing:border-box;font:inherit}
.ippp-client-button{display:block;width:100%;padding:11px 15px;border:0;background:#111;color:#fff;cursor:pointer;font-size:12px;font-weight:800}
.ippp-client-button-light{background:#555}
.ippp-client-button:hover{background:#333}
.ippp-client-reset-link{margin-top:18px;text-align:center}
.ippp-client-reset-link a{color:#222;text-decoration:underline}
.ippp-client-reset{margin-top:22px;padding-top:20px;border-top:1px solid #ddd}
.ippp-client-reset h3{font-size:16px}
.ippp-client-alert{margin:0 0 18px;padding:11px 13px;border-left:4px solid #222;background:#f4f4f4}
.ippp-client-alert-error{background:#fafafa}
.ippp-client-alert-success{background:#f4f4f4}
.ippp-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.ippp-client-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px;padding-bottom:15px;border-bottom:2px solid #222}
.ippp-client-head h2{margin-bottom:3px}
.ippp-client-head p{margin:0;color:#666}
.ippp-client-logout{padding:8px 12px;background:#111;color:#fff!important;text-decoration:none!important;font-size:11px;font-weight:800}
.ippp-client-section{margin-bottom:25px}
.ippp-client-campaign{border:1px solid #ddd;background:#fff;margin-bottom:15px}
.ippp-client-campaign-top{display:flex;justify-content:space-between;padding:13px 15px;background:#f4f4f4;border-bottom:1px solid #ddd}
.ippp-client-campaign-status{padding:10px 15px;font-weight:700}
.ippp-client-product{display:grid;grid-template-columns:100px 1fr auto;gap:12px;align-items:center;padding:12px 15px;border-top:1px solid #eee}
.ippp-client-product>a{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#222}
.ippp-client-product button{padding:7px 9px;border:1px solid #ccc;background:#eee;color:#666;font-size:10px;font-weight:700}
.ippp-client-order{display:grid;grid-template-columns:1.1fr 1fr 1fr 1fr 1fr;gap:10px;padding:12px 14px;border:1px solid #ddd;border-bottom:0;background:#fff;font-size:12px}
.ippp-client-order:last-child{border-bottom:1px solid #ddd}
.ippp-client-company{display:grid;gap:4px;padding:15px;border:1px solid #ddd;background:#fff}
@media(max-width:700px){
    .ippp-client-card{padding:20px}
    .ippp-client-head{display:block}
    .ippp-client-logout{display:inline-block;margin-top:12px}
    .ippp-client-product{grid-template-columns:1fr}
    .ippp-client-product>a{white-space:normal;word-break:break-word}
    .ippp-client-order{grid-template-columns:1fr 1fr}
}


/* v1.5.1 – bezpieczne ustawianie hasła i panel klienta */
.ippp-client-button{box-sizing:border-box;text-align:center;text-decoration:none!important}
.ippp-client-alert-success{border-left-color:#222}

/* v1.5.2 – ukrycie pól antybotowych; nigdy nie pokazuj ich klientowi */
.ippp-client-panel .ippp-hp,
.ippp-client-panel .ippp-hp label,
.ippp-client-panel .ippp-hp input{
    position:absolute !important;
    left:-10000px !important;
    top:auto !important;
    width:1px !important;
    height:1px !important;
    max-width:1px !important;
    max-height:1px !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    overflow:hidden !important;
    opacity:0 !important;
    pointer-events:none !important;
}
.ippp-client-login{margin-top:8px}
.ippp-client-card{box-shadow:0 2px 12px rgba(0,0,0,.05)}


/* =========================================================
   PANEL KLIENTA – v1.5.4
   Czytelny układ B2B, bez technicznych statusów i długich URL-i.
   ========================================================= */
.ippp-client-panel{max-width:100%;margin:0;color:#222}
.ippp-client-head{background:#fff;border:1px solid #ddd;padding:18px 20px;margin-bottom:22px;border-bottom:3px solid #222}
.ippp-client-head h2{font-size:24px;margin:0 0 5px}
.ippp-client-head p{font-size:13px}
.ippp-client-logout{background:#111;padding:9px 14px}

.ippp-client-section{margin-bottom:28px}
.ippp-client-section>h3{font-size:19px;padding:0 0 9px;margin:0 0 12px;border-bottom:2px solid #222}

.ippp-client-campaign{border:1px solid #d8d8d8;margin-bottom:18px;background:#fff;box-shadow:0 1px 5px rgba(0,0,0,.04)}
.ippp-client-campaign-top{padding:14px 17px;background:#f3f3f3}
.ippp-client-campaign-top strong{font-size:15px}
.ippp-client-campaign-top span{font-weight:700;color:#555}

.ippp-client-campaign-status{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:12px 17px;background:#fafafa;border-bottom:1px solid #e5e5e5}
.ippp-client-status-label{font-size:11px;color:#777;text-transform:uppercase;font-weight:700;letter-spacing:.04em}
.ippp-client-campaign-status strong{font-size:12px}

.ippp-client-product{display:grid;grid-template-columns:90px minmax(0,1fr) auto;gap:15px;align-items:center;padding:14px 17px;border-top:1px solid #eee}
.ippp-client-product-number{font-size:10px;font-weight:800;color:#777}
.ippp-client-product-link{min-width:0}
.ippp-client-product-link a{display:block;color:#222!important;font-size:13px;font-weight:800;text-decoration:none!important}
.ippp-client-product-link a:hover{text-decoration:underline!important}
.ippp-client-product-link small{display:block;margin-top:3px;color:#888;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ippp-client-product button{white-space:nowrap;padding:8px 10px;border:1px solid #ccc;background:#f1f1f1;color:#888;font-size:10px;font-weight:800;border-radius:2px}

.ippp-client-order{display:grid;grid-template-columns:1.1fr 1fr 1fr 1fr;gap:0;border:1px solid #ddd;border-bottom:0;background:#fff;padding:14px}
.ippp-client-order:last-child{border-bottom:1px solid #ddd}
.ippp-client-order>div{padding:0 13px;border-right:1px solid #eee}
.ippp-client-order>div:first-child{padding-left:0}
.ippp-client-order>div:last-child{border-right:0}
.ippp-client-order-label{display:block;margin-bottom:4px;color:#777;font-size:10px;text-transform:uppercase;font-weight:700;letter-spacing:.03em}

.ippp-client-company{padding:17px;border:1px solid #ddd;background:#fff}
.ippp-client-company strong{display:block;font-size:15px;margin-bottom:7px}
.ippp-client-company span{display:block;color:#555;font-size:13px}

.ippp-client-card{max-width:620px;padding:30px;border:1px solid #ddd;background:#fff;box-shadow:0 2px 12px rgba(0,0,0,.05)}
.ippp-client-card h2{font-size:25px}
.ippp-client-form input{min-height:44px;border-radius:2px}
.ippp-client-button{padding:12px 15px}
.ippp-client-reset-link{font-size:12px}

@media(max-width:700px){
    .ippp-client-order{grid-template-columns:1fr 1fr;gap:12px}
    .ippp-client-order>div{border-right:0;padding:0!important}
    .ippp-client-product{grid-template-columns:1fr}
    .ippp-client-product button{width:100%;white-space:normal}
    .ippp-client-campaign-status{display:block}
}


/* v1.5.7 – uporządkowany panel klienta + jednoznaczny login e-mail */
.ippp-client-panel{box-sizing:border-box;width:100%;max-width:100%!important}
.ippp-client-login{width:100%;max-width:100%;margin:0 auto}
.ippp-client-login .ippp-client-card{width:100%;max-width:620px;margin:0 auto;box-sizing:border-box}
.ippp-client-field-note{display:block;margin-top:5px;color:#777;font-size:11px;line-height:1.4}
.ippp-client-form input[type=email],.ippp-client-form input[type=password]{font-size:14px}
.ippp-client-form input:focus{outline:2px solid rgba(0,0,0,.12);outline-offset:1px}
.ippp-client-head{box-sizing:border-box}
@media(max-width:700px){
 .ippp-client-login .ippp-client-card{max-width:none;padding:20px}
 .ippp-client-head{padding:15px}
}

/* Etap 7. Formularz zamówienia: niewykorzystane pola są ukryte także bez JavaScript. */
.ippp-order-form .ippp-product-url-row[hidden],
.ippp-order-form .ippp-product-url-row.ippp-row-hidden { display:none !important; }


/* v1.6.4 – niezależny od JavaScript podgląd formularza zamówienia */
.ippp-order-form .ippp-product-url-row[hidden],
.ippp-order-form .ippp-product-url-row.ippp-row-hidden { display:none !important; }
.ippp-order-form .ippp-preview-one:disabled { opacity:.45; cursor:not-allowed; }
.ippp-order-preview-wrap{margin:18px 0 24px;padding:16px;border:1px solid #d8d8d8;background:#fff;box-sizing:border-box}
.ippp-order-preview-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:14px;padding-bottom:12px;border-bottom:2px solid #222}
.ippp-order-preview-head strong{display:block;font-size:16px;line-height:1.3}
.ippp-order-preview-head span{display:block;margin-top:4px;color:#666;font-size:12px;line-height:1.45}
.ippp-preview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.ippp-preview-card{display:flex;flex-direction:column;min-width:0;border:1px solid #ddd;background:#fff;box-sizing:border-box}
.ippp-preview-card-image{aspect-ratio:4/3;overflow:hidden;background:#f4f4f4;display:flex;align-items:center;justify-content:center}
.ippp-preview-card-image img{display:block;width:100%;height:100%;object-fit:cover}
.ippp-preview-no-image{color:#777;font-size:12px}
.ippp-preview-card-content{padding:12px;box-sizing:border-box;display:flex;flex-direction:column;flex:1}
.ippp-preview-card-content strong{display:block;margin-bottom:6px;font-size:14px;line-height:1.35}
.ippp-preview-card-content small{display:block;margin-bottom:7px;color:#777;font-size:11px}
.ippp-preview-card-content p{margin:0 0 10px;color:#666;font-size:12px;line-height:1.45}
.ippp-preview-card-content b{display:block;margin-top:auto;margin-bottom:10px;font-size:15px}
.ippp-preview-card-content a{display:block;padding:9px 10px;background:#111;color:#fff!important;text-align:center;text-decoration:none!important;font-size:11px;font-weight:800}
.ippp-preview-status{margin:0 0 14px;padding:10px 12px;border-left:3px solid #222;background:#f5f5f5;color:#333;font-size:12px;line-height:1.5}
.ippp-preview-status-error{border-left-color:#9b1c1c;background:#faf4f4}
@media(max-width:900px){.ippp-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ippp-order-preview-head{align-items:flex-start;flex-direction:column}}
@media(max-width:600px){.ippp-preview-grid{grid-template-columns:1fr}.ippp-order-preview-wrap{padding:12px}}

/* v1.8.3 – profesjonalny panel klienta + działająca wymiana produktów */
.ippp-client-dashboard{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 24px}
.ippp-client-stat{background:#fff;border:1px solid #ddd;padding:16px 14px;text-align:center}
.ippp-client-stat strong{display:block;font-size:25px;line-height:1.1;margin-bottom:5px}
.ippp-client-stat span{font-size:10px;color:#777;font-weight:800;letter-spacing:.05em}
.ippp-client-campaign-top{align-items:center}
.ippp-client-campaign-top>div{display:flex;align-items:center;gap:12px}
.ippp-client-campaign-top>div span{font-size:12px;color:#777}
.ippp-client-campaign-badge{padding:5px 9px;border:1px solid #ccc;border-radius:20px;font-size:10px!important;text-transform:uppercase;letter-spacing:.04em}
.ippp-client-badge-active{background:#f0f7f1;color:#19712a;border-color:#b8d9bd}
.ippp-client-badge-ended{background:#f1f1f1;color:#666}
.ippp-client-badge-paused{background:#faf4e8;color:#8a6200}
.ippp-client-campaign-period{padding:10px 17px;border-bottom:1px solid #eee;background:#fff;color:#555;font-size:12px}
.ippp-client-campaign-period b{font-size:10px;color:#888;margin-right:8px}
.ippp-client-product{grid-template-columns:78px minmax(0,1fr);gap:16px;padding:16px 17px;background:#fff}
.ippp-client-product-image{width:78px;height:68px;background:#f4f4f4;overflow:hidden;border:1px solid #eee}
.ippp-client-product-image img{width:100%;height:100%;object-fit:cover;display:block}
.ippp-client-product-main{min-width:0}
.ippp-client-product-number{margin-bottom:3px}
.ippp-client-product-name{display:block;font-size:14px;line-height:1.35}
.ippp-client-product-price{display:block;margin-top:4px;font-weight:700;font-size:12px}
.ippp-client-product-meta{display:flex;flex-wrap:wrap;gap:7px 14px;margin-top:9px;color:#777;font-size:11px}
.ippp-client-product-status{font-weight:800;color:#222}
.ippp-product-state-ended .ippp-client-product-status{color:#777}
.ippp-client-product-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.ippp-client-link,.ippp-replace-toggle{display:inline-block;padding:8px 11px;border:1px solid #222;background:#222;color:#fff!important;text-decoration:none!important;font-size:10px;font-weight:800;cursor:pointer}
.ippp-replace-toggle{background:#fff;color:#222!important}
.ippp-replace-box{margin-top:12px;padding:13px;background:#f7f7f7;border:1px solid #ddd}
.ippp-replace-form label{display:block;margin-bottom:5px;font-size:11px;font-weight:800}
.ippp-replace-form input{width:100%;box-sizing:border-box;padding:9px 10px;border:1px solid #ccc;background:#fff;font-size:12px}
.ippp-replace-form button{margin-top:8px;padding:9px 12px;border:0;background:#111;color:#fff;font-size:10px;font-weight:800;cursor:pointer}
.ippp-client-panel [hidden]{display:none!important}
@media(max-width:700px){
 .ippp-client-dashboard{grid-template-columns:1fr 1fr}
 .ippp-client-campaign-top>div{display:block}
 .ippp-client-campaign-top>div span{display:block;margin-top:3px}
 .ippp-client-product{grid-template-columns:1fr}
 .ippp-client-product-image{width:100%;height:140px}
}


/* v1.8.15 – ponowne zamówienie z panelu klienta */
.ippp-client-order-actions{grid-column:1 / -1!important;border-right:0!important;padding:10px 0 0!important;margin-top:2px;border-top:1px solid #eee!important}
.ippp-client-reorder{display:inline-block;padding:9px 13px;background:#222;color:#fff!important;text-decoration:none!important;font-size:10px;font-weight:800;line-height:1.2}
.ippp-client-reorder:hover{background:#444;color:#fff!important}
.ippp-reorder-notice{margin:15px 0!important}
@media(max-width:700px){.ippp-client-order-actions{grid-column:1 / -1!important;padding-top:10px!important}}


/* =========================================================
   v1.8.42 – PUBLIC UX ACCENT COLOR
   Zmiana wyłącznie koloru akcentowego publicznego modułu.
   Ciemna czerwień: #9b2c2c; hover: #7f1f1f.
   Logika modułu bez zmian.
   ========================================================= */

/* =========================================================
   v1.8.40 – PUBLIC UX REFINEMENT
   Tylko warstwa wizualna modułu promowanych produktów.
   Bez zmian w logice kampanii, statystyk i zamówień.
   ========================================================= */
.ippp-box-2026{
    background:linear-gradient(180deg,#ffffff 0%,#f7fafc 100%);
    border:2px solid #9b2c2c;
    border-top:4px solid #9b2c2c;
    border-radius:12px;
    box-shadow:0 6px 22px rgba(31,49,61,.09);
    padding:15px;
}
.ippp-heading{
    display:flex;
    align-items:center;
    gap:9px;
    margin:0 0 13px;
    padding:0 0 11px;
    border-bottom:1px solid #dfe7ec;
    color:#25343d;
    font-size:15px;
    letter-spacing:.045em;
}
.ippp-heading::before{
    content:"";
    display:inline-block;
    width:8px;
    height:8px;
    border-radius:50%;
    background:#9b2c2c;
    box-shadow:0 0 0 4px rgba(155,44,44,.14);
    flex:0 0 auto;
}
.ippp-card{
    position:relative;
    border:1px solid #dbe4e9;
    border-radius:10px;
    box-shadow:0 3px 12px rgba(31,49,61,.07);
    transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.ippp-card::before{
    content:"PROMOWANY";
    position:absolute;
    z-index:2;
    top:8px;
    left:8px;
    padding:4px 7px;
    border-radius:999px;
    background:rgba(155,44,44,.96);
    color:#fff;
    font-size:8px;
    line-height:1;
    font-weight:900;
    letter-spacing:.05em;
    pointer-events:none;
}
.ippp-card:hover{
    transform:translateY(-2px);
    border-color:#cbd8df;
    box-shadow:0 7px 18px rgba(31,49,61,.11);
}
.ippp-name{color:#25343d}
.ippp-price{color:#25343d}
.ippp-button{background:#9b2c2c;border-radius:5px}
.ippp-button:hover,.ippp-button:focus{background:#7f1f1f}
.ippp-promoted-links{
    margin-top:13px;
    padding-top:10px;
    border-top:1px solid #dfe7ec;
}
.ippp-all-products-link{
    color:#42515a!important;
    font-size:10.5px;
}
.ippp-order-product-link{
    background:#9b2c2c;
    box-shadow:0 3px 9px rgba(155,44,44,.18);
}
.ippp-order-product-link:hover{background:#7f1f1f}

.ippp-all-products{
    max-width:1120px;
}
.ippp-all-products-intro{
    margin:0 0 30px;
    padding:20px 22px;
    border:1px solid #e0e8ed;
    border-left:5px solid #9b2c2c;
    border-radius:12px;
    background:linear-gradient(135deg,#ffffff 0%,#f7fafc 100%);
    box-shadow:0 5px 18px rgba(31,49,61,.06);
}
.ippp-all-products-intro h2{
    margin:0 0 8px;
    color:#25343d;
    font-size:30px;
    font-weight:800;
}
.ippp-all-products-intro p{
    color:#5d6b73;
    font-size:14px;
}
.ippp-all-products-grid{gap:24px}
.ippp-all-product-card{
    position:relative;
    overflow:hidden;
    border:1px solid #dce5eb;
    border-radius:12px;
    background:#fff;
    box-shadow:0 4px 14px rgba(31,49,61,.07);
    transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.ippp-all-product-card::before{
    content:"PROMOWANY PRODUKT";
    position:absolute;
    z-index:3;
    top:12px;
    left:12px;
    padding:5px 8px;
    border-radius:999px;
    background:rgba(155,44,44,.96);
    color:#fff;
    font-size:8px;
    line-height:1;
    font-weight:900;
    letter-spacing:.04em;
}
.ippp-all-product-card:hover{
    transform:translateY(-3px);
    border-color:#cbd8df;
    box-shadow:0 9px 24px rgba(31,49,61,.12);
}
.ippp-all-product-image{
    background:#f7f9fa;
}
.ippp-all-product-body h3{
    color:#25343d;
    font-weight:800;
}
.ippp-all-product-body p{color:#5d6b73}
.ippp-all-product-price{color:#25343d}
.ippp-all-product-button{
    border-radius:6px;
    background:#9b2c2c;
    box-shadow:0 3px 8px rgba(155,44,44,.14);
}
.ippp-all-product-button:hover{background:#7f1f1f}
.ippp-all-products-cta{
    margin-top:36px;
    padding:26px;
    border:1px solid #dfe7ec;
    border-top:4px solid #9b2c2c;
    border-radius:12px;
    background:linear-gradient(135deg,#ffffff 0%,#f6f9fb 100%);
    box-shadow:0 5px 18px rgba(31,49,61,.06);
}
.ippp-all-products-cta strong{
    color:#25343d;
    font-size:20px;
}
.ippp-all-products-cta span{color:#5d6b73}
.ippp-all-products-cta a{
    border-radius:6px;
    background:#9b2c2c;
    box-shadow:0 3px 9px rgba(155,44,44,.18);
}
.ippp-all-products-cta a:hover{background:#7f1f1f}

@media(max-width:600px){
    .ippp-all-products-intro{padding:17px 16px}
    .ippp-all-products-intro h2{font-size:24px}
}
/* v1.8.43 – oznaczenie Panel Klienta jako modułu Promowane Produkty; bez zmiany URL */
.ippp-client-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 6px!important}
.ippp-client-title span{font-size:25px;line-height:1.1}
.ippp-client-title small{display:inline-block;padding:5px 9px;border-radius:4px;background:#9b2c2c;color:#fff;font-size:9px;line-height:1;font-weight:800;letter-spacing:.07em}
.ippp-client-login .ippp-client-card{border-top:4px solid #9b2c2c}
@media(max-width:600px){.ippp-client-title span{font-size:22px}.ippp-client-title small{font-size:8px}}


/* v1.8.45: identyfikacja najnowszego zamówienia */
.ippp-client-order-latest{border-left:4px solid #9b2c2c!important;background:#fffafa!important}
.ippp-client-order-new{display:inline-block;margin-left:8px;padding:3px 7px;border-radius:10px;background:#9b2c2c;color:#fff;font-size:9px;font-weight:800;letter-spacing:.04em;vertical-align:middle}
@media(max-width:600px){.ippp-client-order-new{display:block;width:max-content;margin:6px 0 0;font-size:8px}.ippp-client-order{padding:14px 12px!important}}

/* v1.8.46 — publiczne karty pokazują wyłącznie nazwę i cenę. */
.ippp-card .ippp-content{
    gap: 0;
}
.ippp-card .ippp-name{
    min-height: 0;
    margin: 0 0 10px;
}
.ippp-card .ippp-price{
    margin-top: auto;
    margin-bottom: 10px;
}
.ippp-all-product-body h3{
    margin-bottom: 10px;
}
.ippp-all-product-body .ippp-all-product-price{
    margin-top: auto;
}


/* v1.8.52 – rotacja kart: nie zmienia wyglądu, tylko ukrywa nieaktywne karty. */
.ippp-rotation-hidden {
    display: none !important;
}

.ippp-products-page-info {
    margin: 6px 0 0;
    font-size: 12px;
    color: #666;
}

.ippp-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 24px 0 10px;
}

.ippp-pagination-pages {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.ippp-pagination a,
.ippp-pagination-current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid #dbe2e7;
    box-sizing: border-box;
    background: #fff;
    color: #23323b;
    text-decoration: none !important;
    font-size: 11px;
    font-weight: 800;
}

.ippp-pagination-current {
    border-color: #9b2c2c;
    background: #9b2c2c;
    color: #fff;
}

.ippp-pagination a:hover,
.ippp-pagination a:focus {
    border-color: #9b2c2c;
    background: #9b2c2c;
    color: #fff;
}

@media (max-width: 640px) {
    .ippp-pagination {
        gap: 5px;
    }

    .ippp-pagination-pages {
        justify-content: center;
    }
}


/* =========================================================
   v1.8.55 – MODERN GOOGLE-LIKE PUBLIC UX / MEBLARSTWO.EU
   WYŁĄCZNIE WARSTWA WIZUALNA.
   Bez zmian HTML, PHP, JS, danych, rotacji, zamówień i statystyk.
   Akcent zachowany: #9b2c2c.
   ========================================================= */

:root{
    --ippp-red:#9b2c2c;
    --ippp-red-dark:#7f1f1f;
    --ippp-ink:#202124;
    --ippp-muted:#5f6368;
    --ippp-border:#dadce0;
    --ippp-soft:#f8f9fa;
    --ippp-white:#fff;
}

/* Sidebar / widget */
.ippp-box-2026{
    padding:14px;
    background:var(--ippp-white);
    border:1px solid var(--ippp-border);
    border-top:3px solid var(--ippp-red);
    border-radius:16px;
    box-shadow:0 1px 2px rgba(60,64,67,.08),0 4px 14px rgba(60,64,67,.08);
}
.ippp-heading{
    margin:0 0 14px;
    padding:0 0 12px;
    border-bottom:1px solid #e5e7eb;
    color:var(--ippp-ink);
    font-size:14px;
    line-height:1.3;
    font-weight:800;
    letter-spacing:.03em;
}
.ippp-heading::before{
    width:7px;
    height:7px;
    background:var(--ippp-red);
    box-shadow:0 0 0 4px rgba(155,44,44,.10);
}
.ippp-grid{gap:10px}
.ippp-card{
    border:1px solid #e4e7eb;
    border-radius:12px;
    box-shadow:0 1px 2px rgba(60,64,67,.06);
    transition:box-shadow .18s ease,transform .18s ease,border-color .18s ease;
}
.ippp-card::before{
    top:9px;
    left:9px;
    padding:4px 7px;
    border-radius:999px;
    background:rgba(155,44,44,.94);
    font-size:7.5px;
}
.ippp-card:hover{
    transform:translateY(-1px);
    border-color:#d5d9de;
    box-shadow:0 4px 12px rgba(60,64,67,.10);
}
.ippp-photo,.ippp-empty-photo{
    height:158px;
    background:#fff;
}
.ippp-photo img{
    transform:scale(1.16);
    transition:transform .2s ease;
}
.ippp-photo:hover img{transform:scale(1.2)}
.ippp-content{padding:10px 10px 11px}
.ippp-name{
    color:var(--ippp-ink);
    font-size:12px;
    line-height:1.35;
    font-weight:700;
}
.ippp-price{
    color:var(--ippp-ink);
    font-size:12.5px;
    font-weight:800;
}
.ippp-button{
    padding:9px 8px;
    border-radius:7px;
    background:var(--ippp-red);
    font-size:8.5px;
    letter-spacing:.02em;
    box-shadow:none;
}
.ippp-button:hover,.ippp-button:focus{background:var(--ippp-red-dark)}
.ippp-promoted-links{
    margin-top:12px;
    padding-top:10px;
    border-top:1px solid #e5e7eb;
}
.ippp-all-products-link{
    color:var(--ippp-muted)!important;
    font-size:10.5px;
    font-weight:700;
}
.ippp-order-product-link{
    border-radius:8px;
    background:var(--ippp-red);
    box-shadow:none;
}
.ippp-order-product-link:hover{background:var(--ippp-red-dark)}

/* Public product list */
.ippp-all-products{max-width:1120px}
.ippp-all-products-intro{
    margin:0 0 28px;
    padding:20px 22px;
    border:1px solid var(--ippp-border);
    border-left:4px solid var(--ippp-red);
    border-radius:16px;
    background:var(--ippp-white);
    box-shadow:0 1px 2px rgba(60,64,67,.06),0 4px 14px rgba(60,64,67,.06);
}
.ippp-all-products-intro h2{
    margin:0 0 6px;
    color:var(--ippp-ink);
    font-size:28px;
    line-height:1.2;
    font-weight:700;
    letter-spacing:-.01em;
}
.ippp-all-products-intro p{
    color:var(--ippp-muted);
    font-size:13px;
}
.ippp-all-products-grid{gap:18px}
.ippp-all-product-card{
    border:1px solid #e4e7eb;
    border-radius:14px;
    box-shadow:0 1px 2px rgba(60,64,67,.06);
    transition:box-shadow .18s ease,transform .18s ease,border-color .18s ease;
}
.ippp-all-product-card::before{
    top:11px;
    left:11px;
    padding:5px 8px;
    border-radius:999px;
    background:rgba(155,44,44,.94);
    font-size:8px;
}
.ippp-all-product-card:hover{
    transform:translateY(-2px);
    border-color:#d5d9de;
    box-shadow:0 6px 18px rgba(60,64,67,.10);
}
.ippp-all-product-image{
    background:var(--ippp-soft);
}
.ippp-all-product-body{
    padding:14px 15px 15px;
}
.ippp-all-product-body h3{
    color:var(--ippp-ink);
    font-size:16px;
    line-height:1.35;
    font-weight:700;
}
.ippp-all-product-body p{
    color:var(--ippp-muted);
    font-size:12.5px;
    line-height:1.5;
}
.ippp-all-product-price{
    color:var(--ippp-ink);
    font-size:15px;
    font-weight:800;
}
.ippp-all-product-button{
    padding:10px 12px;
    border-radius:7px;
    background:var(--ippp-red);
    font-size:10px;
    box-shadow:none;
}
.ippp-all-product-button:hover{background:var(--ippp-red-dark)}
.ippp-all-products-cta{
    margin-top:30px;
    padding:24px;
    border:1px solid var(--ippp-border);
    border-top:3px solid var(--ippp-red);
    border-radius:16px;
    background:var(--ippp-white);
    box-shadow:0 1px 2px rgba(60,64,67,.06),0 4px 14px rgba(60,64,67,.06);
}
.ippp-all-products-cta strong{
    color:var(--ippp-ink);
    font-size:19px;
    font-weight:700;
}
.ippp-all-products-cta span{
    color:var(--ippp-muted);
}
.ippp-all-products-cta a{
    border-radius:7px;
    background:var(--ippp-red);
    box-shadow:none;
}
.ippp-all-products-cta a:hover{background:var(--ippp-red-dark)}

/* Pagination */
.ippp-pagination a,.ippp-pagination-current{
    min-width:34px;
    min-height:34px;
    border:1px solid var(--ippp-border);
    border-radius:8px;
    background:#fff;
    color:var(--ippp-ink);
}
.ippp-pagination-current{
    border-color:var(--ippp-red);
    background:var(--ippp-red);
}
.ippp-pagination a:hover,.ippp-pagination a:focus{
    border-color:var(--ippp-red);
    background:var(--ippp-red);
}

/* Orders / customer panel – visual only */
.ippp-order-form h3{
    border-bottom:1px solid var(--ippp-border);
    color:var(--ippp-ink);
}
.ippp-order-form input[type="text"],
.ippp-order-form input[type="email"],
.ippp-order-form input[type="tel"],
.ippp-order-form select,
.ippp-order-form textarea{
    border-radius:8px;
    border-color:var(--ippp-border);
}
.ippp-order-form input:focus,
.ippp-order-form select:focus,
.ippp-order-form textarea:focus{
    border-color:var(--ippp-red);
    outline:2px solid rgba(155,44,44,.10);
}
.ippp-order-form .ippp-button{
    border-radius:8px;
    background:var(--ippp-red);
}
.ippp-order-form .ippp-button:hover,
.ippp-order-form .ippp-button:focus{background:var(--ippp-red-dark)}
.ippp-payment-note{
    border-left:3px solid var(--ippp-red);
    border-radius:8px;
    background:var(--ippp-soft);
}
.ippp-client-title small{
    border-radius:999px;
    background:var(--ippp-red);
}
.ippp-client-login .ippp-client-card{border-top-color:var(--ippp-red)}
.ippp-client-order-latest{border-left-color:var(--ippp-red)!important;background:#fff!important}
.ippp-client-order-new{background:var(--ippp-red)}
.ippp-client-link{border-radius:7px;background:var(--ippp-red);border-color:var(--ippp-red)}
.ippp-client-link:hover{background:var(--ippp-red-dark)}

@media(max-width:600px){
    .ippp-all-products-intro{border-radius:14px}
    .ippp-all-products-intro h2{font-size:24px}
    .ippp-all-product-card{border-radius:12px}
}

/* =========================================================
   v1.8.56 – MEBLARSTWO.EU: KATALOG FIRM VISUAL ALIGNMENT
   ZMIANA WYŁĄCZNIE WARSTWY WIZUALNEJ.
   Baza funkcjonalna: v1.8.55.
   Nie zmienia HTML, nazw pól, POST/nonce, JS, logiki kampanii,
   produktów, zamówień, statystyk, rotacji ani Panelu Klienta.
   ========================================================= */

:root{
    --ippp-red:#c41d24;
    --ippp-red-dark:#a8181e;
    --ippp-red-soft:#fdf3f3;
    --ippp-ink:#202124;
    --ippp-muted:#5f6368;
    --ippp-border:#dadce0;
    --ippp-border-soft:#e8eaed;
    --ippp-soft:#f8f9fa;
    --ippp-white:#fff;
    --ippp-shadow:0 1px 2px rgba(60,64,67,.08),0 4px 14px rgba(60,64,67,.07);
}

/* ---------------------------------------------------------
   PUBLIC SIDEBAR / PROMOWANE PRODUKTY
   Wzorowane na karcie Katalog Firm: biała karta,
   subtelna szara rama, czerwony akcent, lekki cień.
   --------------------------------------------------------- */
.ippp-box-2026{
    padding:14px;
    background:var(--ippp-white);
    border:1px solid var(--ippp-border);
    border-top:3px solid var(--ippp-red);
    border-radius:12px;
    box-shadow:var(--ippp-shadow);
}
.ippp-heading{
    display:flex;
    align-items:center;
    gap:9px;
    margin:0 0 13px;
    padding:0 0 10px;
    border-bottom:1px solid var(--ippp-border-soft);
    color:var(--ippp-ink);
    font-size:14px;
    line-height:1.3;
    font-weight:800;
    letter-spacing:.035em;
}
.ippp-heading::before{
    width:7px;
    height:7px;
    background:var(--ippp-red);
    box-shadow:0 0 0 4px rgba(196,29,36,.10);
}
.ippp-grid{gap:10px}
.ippp-card{
    border:1px solid var(--ippp-border-soft);
    border-radius:10px;
    background:#fff;
    box-shadow:0 1px 2px rgba(60,64,67,.05);
    transition:box-shadow .18s ease,transform .18s ease,border-color .18s ease;
}
.ippp-card::before{
    top:8px;
    left:8px;
    padding:4px 7px;
    border-radius:999px;
    background:var(--ippp-red);
    color:#fff;
    font-size:7.5px;
    line-height:1;
}
.ippp-card:hover{
    transform:translateY(-1px);
    border-color:#d4d8dc;
    box-shadow:0 4px 12px rgba(60,64,67,.09);
}
.ippp-photo,.ippp-empty-photo{
    height:158px;
    background:#fff;
}
.ippp-photo img{
    transform:scale(1.16);
    transition:transform .2s ease;
}
.ippp-photo:hover img{transform:scale(1.20)}
.ippp-content{padding:10px 10px 11px}
.ippp-name{
    color:var(--ippp-ink);
    font-size:12px;
    line-height:1.35;
    font-weight:700;
}
.ippp-price{
    color:var(--ippp-ink);
    font-size:12.5px;
    font-weight:800;
}
.ippp-button{
    padding:9px 8px;
    border-radius:7px;
    background:var(--ippp-red);
    color:#fff!important;
    font-size:8.5px;
    letter-spacing:.02em;
    box-shadow:none;
}
.ippp-button:hover,.ippp-button:focus{background:var(--ippp-red-dark)}
.ippp-promoted-links{
    margin-top:12px;
    padding-top:10px;
    border-top:1px solid var(--ippp-border-soft);
}
.ippp-all-products-link{
    color:var(--ippp-muted)!important;
    font-size:10.5px;
    font-weight:700;
}
.ippp-order-product-link{
    border-radius:7px;
    background:var(--ippp-red);
    box-shadow:none;
}
.ippp-order-product-link:hover{background:var(--ippp-red-dark)}

/* ---------------------------------------------------------
   PUBLIC LISTA PRODUKTÓW
   --------------------------------------------------------- */
.ippp-all-products-intro{
    padding:20px 22px;
    border:1px solid var(--ippp-border);
    border-left:4px solid var(--ippp-red);
    border-radius:12px;
    background:#fff;
    box-shadow:var(--ippp-shadow);
}
.ippp-all-products-intro h2{
    color:var(--ippp-ink);
    font-size:28px;
    font-weight:700;
}
.ippp-all-products-intro p{color:var(--ippp-muted)}
.ippp-all-product-card{
    border:1px solid var(--ippp-border-soft);
    border-radius:12px;
    background:#fff;
    box-shadow:0 1px 2px rgba(60,64,67,.05);
    transition:box-shadow .18s ease,transform .18s ease,border-color .18s ease;
}
.ippp-all-product-card::before{
    background:var(--ippp-red);
}
.ippp-all-product-card:hover{
    border-color:#d4d8dc;
    box-shadow:0 6px 18px rgba(60,64,67,.10);
}
.ippp-all-product-image{background:var(--ippp-soft)}
.ippp-all-product-body h3{color:var(--ippp-ink);font-weight:700}
.ippp-all-product-body p{color:var(--ippp-muted)}
.ippp-all-product-price{color:var(--ippp-ink);font-weight:800}
.ippp-all-product-button{
    border-radius:7px;
    background:var(--ippp-red);
    box-shadow:none;
}
.ippp-all-product-button:hover{background:var(--ippp-red-dark)}
.ippp-all-products-cta{
    padding:24px;
    border:1px solid var(--ippp-border);
    border-top:3px solid var(--ippp-red);
    border-radius:12px;
    background:#fff;
    box-shadow:var(--ippp-shadow);
}
.ippp-all-products-cta strong{color:var(--ippp-ink)}
.ippp-all-products-cta span{color:var(--ippp-muted)}
.ippp-all-products-cta a{
    border-radius:7px;
    background:var(--ippp-red);
    box-shadow:none;
}
.ippp-all-products-cta a:hover{background:var(--ippp-red-dark)}

/* ---------------------------------------------------------
   FORMULARZ ZAMÓWIENIA – styl Katalog Firm / Google-like
   Bez zmiany działania formularza.
   --------------------------------------------------------- */
.ippp-order-box{
    max-width:760px;
    color:var(--ippp-ink);
}
.ippp-order-lead{
    margin:0 0 8px;
    color:var(--ippp-ink);
    font-size:18px;
    line-height:1.35;
    font-weight:700;
}
.ippp-order-intro{
    margin:0 0 24px;
    color:var(--ippp-muted);
    font-size:13px;
    line-height:1.6;
}
.ippp-order-form h3{
    position:relative;
    margin:28px 0 14px;
    padding:11px 14px 11px 16px;
    border:1px solid var(--ippp-border);
    border-left:3px solid var(--ippp-red);
    border-bottom:1px solid var(--ippp-border);
    border-radius:10px;
    background:#fff;
    color:var(--ippp-ink);
    font-size:16px;
    line-height:1.3;
    font-weight:700;
    box-shadow:0 1px 2px rgba(60,64,67,.04);
}
.ippp-order-form h3:first-of-type{margin-top:0}
.ippp-order-form p{margin:0 0 15px}
.ippp-order-form label{
    color:var(--ippp-ink);
    font-size:12px;
    line-height:1.35;
    font-weight:700;
}
.ippp-order-form input[type="text"],
.ippp-order-form input[type="email"],
.ippp-order-form input[type="tel"],
.ippp-order-form input[type="url"],
.ippp-order-form select,
.ippp-order-form textarea{
    min-height:44px;
    margin-top:6px;
    padding:10px 12px;
    border:1px solid var(--ippp-border);
    border-radius:8px;
    background:#fff;
    color:var(--ippp-ink);
    box-shadow:inset 0 1px 2px rgba(60,64,67,.03);
    transition:border-color .15s ease,box-shadow .15s ease,background-color .15s ease;
}
.ippp-order-form input::placeholder,
.ippp-order-form textarea::placeholder{color:#9aa0a6;opacity:1}
.ippp-order-form input:hover,
.ippp-order-form select:hover,
.ippp-order-form textarea:hover{border-color:#c7c9cc}
.ippp-order-form input:focus,
.ippp-order-form select:focus,
.ippp-order-form textarea:focus{
    border-color:var(--ippp-red);
    outline:0;
    box-shadow:0 0 0 2px rgba(196,29,36,.10);
}
.ippp-order-form textarea{min-height:105px}

/* Pakiety – identyczny język kart jak w Katalogu Firm,
   ale zachowany istniejący mechanizm radio/selected. */
.ippp-package-grid{gap:12px;margin-bottom:16px}
.ippp-package-card{
    min-height:150px;
    padding:15px 14px;
    border:1px solid var(--ippp-border);
    border-radius:10px;
    background:#fff;
    box-shadow:0 1px 2px rgba(60,64,67,.04);
    transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease,background-color .15s ease;
}
.ippp-package-card:hover{
    border-color:#b8bcc1;
    box-shadow:0 3px 10px rgba(60,64,67,.08);
    transform:translateY(-1px);
}
.ippp-package-card.is-selected{
    border:2px solid var(--ippp-red);
    padding:14px 13px;
    background:var(--ippp-red-soft);
    box-shadow:0 3px 12px rgba(196,29,36,.10);
}
.ippp-package-card.is-best{border:2px solid var(--ippp-red)}
.ippp-package-card.is-best:before{
    top:-9px;
    right:8px;
    padding:4px 7px;
    border-radius:999px;
    background:var(--ippp-red);
    color:#fff;
    font-size:8px;
    letter-spacing:.03em;
}
.ippp-package-card.is-best.is-selected{background:var(--ippp-red-soft)}
.ippp-package-name{
    color:var(--ippp-ink);
    font-size:11px;
    letter-spacing:.04em;
}
.ippp-package-days{
    color:var(--ippp-ink);
    margin-bottom:8px;
    font-size:20px;
    font-weight:800;
}
.ippp-package-products{
    color:var(--ippp-muted);
    font-size:11px;
}
.ippp-package-net{
    color:var(--ippp-red);
    font-size:15px;
    font-weight:900;
}
.ippp-package-tax,.ippp-package-gross{
    color:var(--ippp-muted);
}
.ippp-package-gross{border-top-color:var(--ippp-border-soft);font-weight:800}
.ippp-package-summary{
    align-items:center;
    margin:0 0 22px;
    padding:13px 15px;
    border:1px solid var(--ippp-border);
    border-left:4px solid var(--ippp-red);
    border-radius:8px;
    background:#fff;
    color:var(--ippp-ink);
    box-shadow:0 1px 2px rgba(60,64,67,.04);
}
.ippp-package-summary strong{font-size:13px}
.ippp-package-summary #ippp-selected-gross{color:var(--ippp-red);font-size:15px}

/* Linki produktów i pomoc */
.ippp-url-help{
    margin:0 0 18px;
    padding:15px 17px;
    border:1px solid var(--ippp-border);
    border-left:4px solid var(--ippp-red);
    border-radius:9px;
    background:var(--ippp-soft);
    color:var(--ippp-muted);
    box-shadow:none;
}
.ippp-url-help strong{color:var(--ippp-ink)}
.ippp-url-help code{
    color:var(--ippp-ink);
    background:#fff;
    border:1px solid var(--ippp-border-soft);
    border-radius:5px;
    padding:1px 4px;
}
.ippp-url-action-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end}
.ippp-preview-one,
.ippp-preview-all{
    border:0!important;
    border-radius:7px!important;
    background:var(--ippp-red)!important;
    color:#fff!important;
    font-size:10px!important;
    font-weight:800!important;
    letter-spacing:.02em;
    cursor:pointer;
    box-shadow:none!important;
}
.ippp-preview-one{min-height:44px;padding:10px 14px}
.ippp-preview-all{padding:11px 15px}
.ippp-preview-one:hover,.ippp-preview-one:focus,
.ippp-preview-all:hover,.ippp-preview-all:focus{background:var(--ippp-red-dark)!important}
.ippp-order-form .ippp-preview-one:disabled{opacity:.45;cursor:not-allowed}
.ippp-product-url-row{margin-bottom:14px}
.ippp-required-marker{color:var(--ippp-red)}
.ippp-replacement-info{
    margin:17px 0;
    padding:13px 15px;
    border:1px solid var(--ippp-border);
    border-left:4px solid var(--ippp-red);
    border-radius:9px;
    background:var(--ippp-soft);
    color:var(--ippp-muted);
}

/* Podgląd produktów w formularzu */
.ippp-order-preview-wrap{
    margin:18px 0 24px;
    padding:16px;
    border:1px solid var(--ippp-border);
    border-radius:10px;
    background:#fff;
    box-shadow:0 1px 2px rgba(60,64,67,.04);
}
.ippp-order-preview-head{
    margin-bottom:14px;
    padding-bottom:12px;
    border-bottom:1px solid var(--ippp-border-soft);
}
.ippp-order-preview-head strong{color:var(--ippp-ink);font-size:15px}
.ippp-order-preview-head span{color:var(--ippp-muted)}
.ippp-preview-card{
    border:1px solid var(--ippp-border-soft);
    border-radius:9px;
    background:#fff;
    box-shadow:0 1px 2px rgba(60,64,67,.04);
    overflow:hidden;
}
.ippp-preview-card-image{background:var(--ippp-soft)}
.ippp-preview-card-content strong{color:var(--ippp-ink)}
.ippp-preview-card-content small,
.ippp-preview-card-content p{color:var(--ippp-muted)}
.ippp-preview-card-content b{color:var(--ippp-ink)}
.ippp-preview-card-content a{
    border-radius:7px;
    background:var(--ippp-red);
}
.ippp-preview-card-content a:hover{background:var(--ippp-red-dark)}
.ippp-preview-status{
    border-left-color:var(--ippp-red);
    border-radius:7px;
    background:var(--ippp-soft);
    color:var(--ippp-ink);
}
.ippp-preview-status-error{border-left-color:#b3261e;background:#fdf6f5}

/* Płatność / checkboxy / główne CTA */
.ippp-payment-note{
    margin:18px 0 24px;
    padding:14px 16px;
    border:1px solid var(--ippp-border);
    border-left:4px solid var(--ippp-red);
    border-radius:9px;
    background:var(--ippp-soft);
    color:var(--ippp-muted);
}
.ippp-checkbox{
    color:var(--ippp-ink);
}
.ippp-checkbox input[type="checkbox"]{accent-color:var(--ippp-red)}
.ippp-checkbox a{color:var(--ippp-red)}
.ippp-order-form .ippp-button{
    min-width:220px;
    margin-top:8px;
    padding:13px 24px;
    border:0;
    border-radius:8px;
    background:var(--ippp-red);
    color:#fff!important;
    font-size:11px;
    font-weight:800;
    box-shadow:0 2px 5px rgba(196,29,36,.16);
}
.ippp-order-form .ippp-button:hover,
.ippp-order-form .ippp-button:focus{
    background:var(--ippp-red-dark);
    box-shadow:0 3px 8px rgba(196,29,36,.18);
}
.ippp-order-success{
    border-left-color:#188038;
    border-radius:9px;
}

/* Panel klienta – zachowujemy funkcję, tylko harmonizujemy kolor */
.ippp-client-title small{background:var(--ippp-red)}
.ippp-client-login .ippp-client-card{border-top-color:var(--ippp-red)}
.ippp-client-order-latest{border-left-color:var(--ippp-red)!important}
.ippp-client-order-new{background:var(--ippp-red)}
.ippp-client-link{background:var(--ippp-red);border-color:var(--ippp-red)}
.ippp-client-link:hover{background:var(--ippp-red-dark)}
.ippp-client-reorder{background:var(--ippp-red)}
.ippp-client-reorder:hover{background:var(--ippp-red-dark)}

/* Stronicowanie */
.ippp-pagination a,.ippp-pagination-current{
    border-color:var(--ippp-border);
    border-radius:8px;
    color:var(--ippp-ink);
}
.ippp-pagination-current{
    border-color:var(--ippp-red);
    background:var(--ippp-red);
}
.ippp-pagination a:hover,.ippp-pagination a:focus{
    border-color:var(--ippp-red);
    background:var(--ippp-red);
}

@media(max-width:900px){
    .ippp-url-action-row{grid-template-columns:minmax(0,1fr) auto}
}
@media(max-width:640px){
    .ippp-order-lead{font-size:17px}
    .ippp-order-form h3{font-size:15px;padding:10px 12px}
    .ippp-two-cols{grid-template-columns:1fr;gap:0}
    .ippp-url-action-row{grid-template-columns:1fr}
    .ippp-preview-one{width:100%}
    .ippp-order-form .ippp-button{width:100%;min-width:0}
}
@media(max-width:600px){
    .ippp-box-2026{border-radius:10px}
    .ippp-all-products-intro{border-radius:10px;padding:17px 16px}
    .ippp-all-products-intro h2{font-size:24px}
    .ippp-all-product-card{border-radius:10px}
}


/* v1.8.57 – bezpieczne czyszczenie formularza zamówienia.
   Przycisk działa wyłącznie po stronie przeglądarki; nie usuwa zamówień ani danych zapisanych w WordPressie. */
.ippp-form-tools{
    display:flex;
    align-items:center;
    gap:10px;
    margin:0 0 16px;
    padding:10px 0;
}
.ippp-form-clear{
    appearance:none;
    border:1px solid var(--ippp-red);
    background:#fff;
    color:var(--ippp-red);
    border-radius:7px;
    padding:9px 14px;
    font-size:11px;
    font-weight:800;
    line-height:1.2;
    cursor:pointer;
    transition:background .15s ease,color .15s ease,border-color .15s ease;
}
.ippp-form-clear:hover,.ippp-form-clear:focus{
    background:var(--ippp-red);
    color:#fff;
    border-color:var(--ippp-red);
}
.ippp-form-tools span{
    color:var(--ippp-muted);
    font-size:12px;
    line-height:1.45;
}
@media(max-width:640px){
    .ippp-form-tools{
        align-items:flex-start;
        flex-direction:column;
        gap:7px;
    }
    .ippp-form-clear{
        width:auto;
    }
}

/* v1.8.68/1.8.62: opcjonalna cena produktu w formularzu zamówienia */
.ippp-price-order-help{margin:10px 0 14px;padding:11px 13px;border:1px solid #e4e4e4;border-radius:6px;background:#fafafa;color:#444;line-height:1.55}.ippp-manual-price-row{margin-top:8px;padding:8px 0}.ippp-manual-price-row label{display:block;font-size:13px;font-weight:600;margin-bottom:4px}.ippp-manual-price-row label small{font-weight:400;color:#777}.ippp-manual-price-row input{width:100%;box-sizing:border-box}.ippp-manual-price-status{margin:4px 0 0;font-size:12px;line-height:1.4;color:#6b7280}.ippp-price-missing .ippp-manual-price-status{color:#9a4b00}.ippp-preview-price-editable{display:block}


/* =========================================================
   v1.8.69 – spójny wygląd Promowanych produktów
   Dopasowanie do widgetu Katalog Firm na stronie głównej.
   Zmiany dotyczą warstwy wizualnej; mechanizm produktów pozostaje bez zmian.
   ========================================================= */
.ippp-box-2026 {
    --ippp-accent: #cf1e29;
    --ippp-accent-dark: #a91620;
    background: #fff;
    border: 1px solid #e0e6eb;
    border-top: 1px solid #e0e6eb;
    border-radius: 10px;
    box-shadow: 0 3px 14px rgba(31,49,61,.06);
    padding: 0 0 14px;
}

.ippp-box-2026 > .ippp-grid,
.ippp-box-2026 > .ippp-promoted-links {
    margin-left: 14px;
    margin-right: 14px;
}

.ippp-visual-head {
    --ippp-accent: #cf1e29;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 100%;
    margin: 0 0 14px;
    border: 1px solid #e0e6eb;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(31,49,61,.045);
}

.ippp-visual-art {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 112px;
    padding: 10px 12px;
    box-sizing: border-box;
    background: #fbf0f1;
    color: #cf1e29;
}

.ippp-visual-svg { display: block; width: 100%; max-width: 520px; height: auto; }
.ippp-svg-panel { fill:#fff; stroke:#d9e2e8; stroke-width:2; }
.ippp-svg-photo { fill:#e7eef3; stroke:#c7d7e3; stroke-width:2; }
.ippp-svg-soft { fill:#c7d7e3; }
.ippp-svg-soft-line { fill:none; stroke:#c7d7e3; stroke-width:8; stroke-linecap:round; }
.ippp-svg-accent-fill { fill:currentColor; }
.ippp-svg-accent-stroke { fill:#fff; stroke:currentColor; stroke-width:5; }
.ippp-svg-accent-line { fill:none; stroke:currentColor; stroke-width:4; stroke-linecap:round; stroke-linejoin:round; opacity:.72; }
.ippp-svg-ground { fill:none; stroke:#d2dde5; stroke-width:4; stroke-linecap:round; }

.ippp-visual-copy { padding:12px 14px 14px; box-sizing:border-box; }
.ippp-visual-kicker { margin:0 0 4px; color:#cf1e29; font-size:10px; line-height:1.2; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.ippp-visual-title { margin:0 0 7px; color:#202a30; font-size:22px; line-height:1.05; font-weight:800; letter-spacing:-.02em; text-transform:uppercase; }
.ippp-visual-title strong { color:#cf1e29; }
.ippp-visual-copy p { margin:0; color:#5f6870; font-size:12px; line-height:1.45; }

.ippp-button, .ippp-order-product-link, .ippp-all-product-button, .ippp-all-products-cta a { background:var(--ippp-accent,#cf1e29) !important; }
.ippp-button:hover, .ippp-button:focus, .ippp-order-product-link:hover, .ippp-order-product-link:focus, .ippp-all-product-button:hover, .ippp-all-product-button:focus, .ippp-all-products-cta a:hover, .ippp-all-products-cta a:focus { background:var(--ippp-accent-dark,#a91620) !important; }
.ippp-all-products { --ippp-accent:#cf1e29; }
.ippp-all-products-intro .ippp-visual-head { margin-bottom:0; }

@media (min-width:760px) {
  .ippp-all-products-intro .ippp-visual-head { flex-direction:row; align-items:stretch; }
  .ippp-all-products-intro .ippp-visual-art { flex:0 0 46%; min-height:190px; }
  .ippp-all-products-intro .ippp-visual-copy { flex:1 1 auto; display:flex; flex-direction:column; justify-content:center; padding:22px 24px; }
  .ippp-all-products-intro .ippp-visual-kicker { font-size:11px; }
  .ippp-all-products-intro .ippp-visual-title { font-size:31px; }
  .ippp-all-products-intro .ippp-visual-copy p { font-size:14px; max-width:520px; }
}

@media (max-width:420px) { .ippp-visual-title { font-size:19px; } }

/* Widget boczny – spójny z widgetem Katalog Firm.
   CTA mają taki sam kształt, wysokość i szerokość jak przyciski widgetu Katalog Firm:
   pierwszy przycisk – obrys, drugi – pełne wypełnienie akcentem portalu.
*/
.ippp-box-2026 > .ippp-visual-head {
    border: 0;
    border-radius: 10px 10px 0 0;
    box-shadow: none;
    margin-bottom: 14px;
}

.ippp-box-2026 > .ippp-visual-head .ippp-visual-art {
    border-radius: 10px 10px 0 0;
}

.ippp-box-2026 > .ippp-promoted-links {
    display: grid;
    gap: 8px;
    margin-left: 14px;
    margin-right: 14px;
}

.ippp-box-2026 > .ippp-promoted-links .ippp-all-products-link,
.ippp-box-2026 > .ippp-promoted-links .ippp-order-product-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    margin: 0;
    padding: 10px 12px;
    box-sizing: border-box;
    border-radius: 4px;
    text-align: center;
    text-decoration: none !important;
    font-size: 10.5px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: .01em;
    text-transform: uppercase;
}

.ippp-box-2026 > .ippp-promoted-links .ippp-all-products-link {
    border: 1px solid #cf1e29;
    color: #cf1e29 !important;
    background: #fff;
}

.ippp-box-2026 > .ippp-promoted-links .ippp-all-products-link:hover,
.ippp-box-2026 > .ippp-promoted-links .ippp-all-products-link:focus {
    color: #a91620 !important;
    border-color: #a91620;
    background: #fff;
}

.ippp-box-2026 > .ippp-promoted-links .ippp-order-product-link {
    border: 1px solid #cf1e29;
    color: #fff !important;
    background: #cf1e29 !important;
    box-shadow: none;
}

.ippp-box-2026 > .ippp-promoted-links .ippp-order-product-link:hover,
.ippp-box-2026 > .ippp-promoted-links .ippp-order-product-link:focus {
    color: #fff !important;
    border-color: #a91620;
    background: #a91620 !important;
}


/* 1.8.71: spójność CTA z widgetem Katalog Firm – zmiana wyłącznie wizualna. */
.ippp-box-2026 > .ippp-promoted-links .ippp-all-products-link,
.ippp-box-2026 > .ippp-promoted-links .ippp-order-product-link {
    min-height: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 10.5px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .01em;
    text-transform: uppercase;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.ippp-box-2026 > .ippp-promoted-links .ippp-all-products-link::after,
.ippp-box-2026 > .ippp-promoted-links .ippp-order-product-link::after {
    content: "→";
    display: inline-block;
    margin-left: 8px;
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
    transform: translateY(-.2px);
}
/* Przyciski na pojedynczych kartach – ten sam kształt co CTA, ale proporcjonalnie mniejsze. */
.ippp-button,
.ippp-all-product-button {
    border-radius: 4px !important;
    min-height: 30px;
    padding: 7px 9px;
    box-sizing: border-box;
    font-size: 9px;
    line-height: 1.1;
    font-weight: 800;
}


/* 1.9.26 BUDOWNICTWO — lista „Wszystkie produkty”: pełne skalowanie zdjęcia bez przycinania. Widget pozostaje bez zmian. */
.ippp-all-products .ippp-all-product-image img{
    display:block;
    width:100%;
    height:100%;
    max-width:100%;
    max-height:100%;
    object-fit:contain !important;
    object-position:center center;
    transform:none !important;
}


/* 1.10.0 – podgląd zamówienia: pełne zdjęcie bez przycinania. */
.ippp-order-preview-wrap .ippp-preview-card-image img{
    display:block;
    width:100%;
    height:100%;
    max-width:100%;
    max-height:100%;
    object-fit:contain !important;
    object-position:center center;
}
.ippp-field-help{
    margin:6px 0 0;
    padding:8px 10px;
    border-left:3px solid #d8d8d8;
    background:#fafafa;
    color:#666;
    font-size:12px;
    line-height:1.5;
}
.ippp-url-field-help{margin:7px 0 12px}


/* 1.10.1 – strona „Wszystkie produkty”: pełne zdjęcie bez kadrowania. Widget i importer bez zmian. */
.ippp-all-products .ippp-all-product-image img{
    display:block;
    width:100%;
    height:100%;
    max-width:100%;
    max-height:100%;
    object-fit:contain !important;
    object-position:center center;
    transform:none !important;
}


/* 1.10.3 — osobny, opcjonalny układ karuzeli. Domyślny moduł siatkowy bez zmian. */
.ippp-box-2026.ippp-carousel-mode {
    width: 100%;
    max-width: 100%;
    margin: 10px 0 24px;
    padding: 0 0 14px;
    box-sizing: border-box;
    overflow: hidden;
}
.ippp-box-2026.ippp-carousel-mode > .ippp-visual-head {
    margin-bottom: 12px;
}
.ippp-box-2026.ippp-carousel-mode > .ippp-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 14px 10px;
}
.ippp-box-2026.ippp-carousel-mode .ippp-carousel-hint {
    color: #69737b;
    font-size: 11px;
    line-height: 1.4;
}
.ippp-box-2026.ippp-carousel-mode .ippp-carousel-buttons {
    display: flex;
    gap: 6px;
}
.ippp-box-2026.ippp-carousel-mode .ippp-carousel-buttons button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid #cf1e29;
    border-radius: 4px;
    background: #fff;
    color: #cf1e29;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}
.ippp-box-2026.ippp-carousel-mode .ippp-carousel-buttons button:hover,
.ippp-box-2026.ippp-carousel-mode .ippp-carousel-buttons button:focus-visible {
    background: #cf1e29;
    color: #fff;
}
.ippp-box-2026.ippp-carousel-mode .ippp-carousel-track {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: stretch;
    gap: 12px;
    margin-left: 14px;
    margin-right: 14px;
    padding: 2px 2px 8px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.ippp-box-2026.ippp-carousel-mode .ippp-carousel-track::-webkit-scrollbar { display: none; }
.ippp-box-2026.ippp-carousel-mode .ippp-carousel-track > .ippp-card {
    display: flex !important;
    flex: 0 0 calc((100% - 36px) / 4);
    width: calc((100% - 36px) / 4);
    max-width: none;
    min-width: 0;
    scroll-snap-align: start;
}
.ippp-box-2026.ippp-carousel-mode .ippp-carousel-track > .ippp-card.ippp-rotation-hidden {
    display: flex !important;
}
.ippp-box-2026.ippp-carousel-mode .ippp-photo,
.ippp-box-2026.ippp-carousel-mode .ippp-empty-photo {
    height: 155px;
    flex: 0 0 auto;
}
.ippp-box-2026.ippp-carousel-mode .ippp-content { min-height: 128px; }
.ippp-box-2026.ippp-carousel-mode .ippp-name { min-height: 42px; }
.ippp-box-2026.ippp-carousel-mode > .ippp-promoted-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}
.ippp-box-2026.ippp-carousel-mode > .ippp-promoted-links > a { flex: 1 1 220px; }
.ippp-header-featured-injected { box-sizing: border-box; }
@media (max-width: 1024px) {
    .ippp-box-2026.ippp-carousel-mode .ippp-carousel-track > .ippp-card {
        flex-basis: calc((100% - 24px) / 3);
        width: calc((100% - 24px) / 3);
    }
}
@media (max-width: 700px) {
    .ippp-box-2026.ippp-carousel-mode .ippp-carousel-track > .ippp-card {
        flex-basis: calc((100% - 12px) / 2);
        width: calc((100% - 12px) / 2);
    }
    .ippp-box-2026.ippp-carousel-mode .ippp-photo,
    .ippp-box-2026.ippp-carousel-mode .ippp-empty-photo { height: 140px; }
}
@media (max-width: 460px) {
    .ippp-box-2026.ippp-carousel-mode .ippp-carousel-track > .ippp-card {
        flex-basis: 78%;
        width: 78%;
    }
    .ippp-box-2026.ippp-carousel-mode .ippp-carousel-track { gap: 10px; }
    .ippp-box-2026.ippp-carousel-mode .ippp-visual-title { font-size: 18px; }
    .ippp-box-2026.ippp-carousel-mode > .ippp-promoted-links { display: grid; }
}
@media (prefers-reduced-motion: reduce) {
    .ippp-box-2026.ippp-carousel-mode .ippp-carousel-track { scroll-behavior: auto; }
}

/* 1.10.4 — subtelna integracja Header Featured Posts.
   Reguły obejmują wyłącznie moduł przeniesiony do sekcji nagłówkowej;
   zwykły widżet, katalog produktów, importer i logika statystyk bez zmian. */
.ippp-box-2026.ippp-carousel-mode.ippp-header-featured-injected {
    width: 100%;
    max-width: 100%;
    margin: 14px auto 22px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible;
    position: relative;
}
.ippp-header-featured-injected > .ippp-visual-head {
    display: block !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
}
.ippp-header-featured-injected .ippp-visual-art { display: none !important; }
.ippp-header-featured-injected .ippp-visual-copy {
    display: block;
    padding: 0 0 5px !important;
    margin: 0;
}
.ippp-header-featured-injected .ippp-visual-kicker {
    margin: 0 0 2px;
    color: #c91e2b;
    font-size: 8px;
    line-height: 1.15;
    letter-spacing: .07em;
    font-weight: 800;
}
.ippp-header-featured-injected .ippp-visual-title {
    margin: 0;
    color: #173d5e;
    font-size: 13px;
    line-height: 1.3;
    letter-spacing: .015em;
    font-weight: 800;
}
.ippp-header-featured-injected .ippp-visual-title strong { color: #173d5e; }
.ippp-header-featured-injected .ippp-visual-title em {
    font-size: 11px;
    font-style: normal;
    font-weight: 600;
    color: #536779;
}
.ippp-header-featured-injected .ippp-visual-copy p { display: none !important; }
.ippp-box-2026.ippp-carousel-mode.ippp-header-featured-injected > .ippp-carousel-controls {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    justify-content: flex-end;
    margin: 0;
    gap: 0;
    z-index: 2;
}
.ippp-header-featured-injected .ippp-carousel-hint { display: none !important; }
.ippp-header-featured-injected .ippp-carousel-buttons { gap: 4px; }
.ippp-header-featured-injected .ippp-carousel-buttons button {
    width: 23px;
    height: 23px;
    border: 1px solid #e0e6eb;
    border-radius: 50%;
    background: #fff;
    color: #536779;
    font-size: 18px;
    box-shadow: none;
}
.ippp-header-featured-injected .ippp-carousel-buttons button:hover,
.ippp-header-featured-injected .ippp-carousel-buttons button:focus-visible {
    border-color: #b8c7d2;
    background: #f5f8fa;
    color: #173d5e;
}
.ippp-header-featured-injected .ippp-carousel-track {
    display: flex !important;
    gap: 10px;
    margin: 0 !important;
    padding: 0 0 5px !important;
    border: 0;
    background: transparent;
}
.ippp-header-featured-injected .ippp-carousel-track > .ippp-card {
    display: flex !important;
    flex: 0 0 calc((100% - 30px) / 4);
    width: calc((100% - 30px) / 4);
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible;
    transform: none !important;
}
.ippp-header-featured-injected .ippp-carousel-track > .ippp-card:hover {
    border-color: transparent !important;
    box-shadow: none !important;
    transform: none !important;
}
.ippp-header-featured-injected .ippp-card::before {
    top: 5px;
    left: 5px;
    padding: 3px 5px;
    border-radius: 2px;
    background: rgba(201, 30, 43, .9);
    font-size: 6.5px;
    letter-spacing: .025em;
}
.ippp-header-featured-injected .ippp-photo,
.ippp-header-featured-injected .ippp-empty-photo {
    height: 108px;
    border: 1px solid #edf0f2;
    border-radius: 3px;
    background: #fff;
}
.ippp-header-featured-injected .ippp-content {
    min-height: 0 !important;
    padding: 6px 1px 0 !important;
}
.ippp-header-featured-injected .ippp-name {
    min-height: 30px;
    margin: 0 0 4px;
    color: #243746;
    font-size: 10px;
    line-height: 1.3;
    font-weight: 700;
}
.ippp-header-featured-injected .ippp-price {
    margin: 0 0 5px;
    color: #4c5963;
    font-size: 9px;
    line-height: 1.25;
    font-weight: 700;
}
.ippp-header-featured-injected .ippp-button {
    min-height: 23px;
    padding: 6px 5px;
    border: 1px solid #d8a0a4;
    border-radius: 3px;
    background: #fff !important;
    color: #b21e29 !important;
    font-size: 8px;
    line-height: 1.15;
    font-weight: 700;
    box-shadow: none !important;
}
.ippp-header-featured-injected .ippp-button:hover,
.ippp-header-featured-injected .ippp-button:focus {
    border-color: #c91e2b;
    background: #fff7f7 !important;
    color: #a71924 !important;
}
.ippp-box-2026.ippp-carousel-mode.ippp-header-featured-injected > .ippp-promoted-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 5px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
}
.ippp-header-featured-injected > .ippp-promoted-links > a {
    display: inline-flex;
    flex: 0 1 auto !important;
    align-items: center;
    justify-content: center;
    min-height: 27px;
    padding: 6px 10px !important;
    border: 1px solid #dce4ea !important;
    border-radius: 3px !important;
    background: #fff !important;
    color: #244660 !important;
    font-size: 8px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    text-align: center;
    text-decoration: none !important;
    box-shadow: none !important;
}
.ippp-header-featured-injected > .ippp-promoted-links > .ippp-order-product-link {
    border-color: #d7a1a5 !important;
    color: #b21e29 !important;
}
.ippp-header-featured-injected > .ippp-promoted-links > a:hover,
.ippp-header-featured-injected > .ippp-promoted-links > a:focus-visible {
    border-color: #b8c7d2 !important;
    background: #f7f9fa !important;
}
@media (max-width: 760px) {
    .ippp-header-featured-injected .ippp-carousel-track > .ippp-card {
        flex-basis: calc((100% - 10px) / 2);
        width: calc((100% - 10px) / 2);
    }
    .ippp-header-featured-injected .ippp-photo,
    .ippp-header-featured-injected .ippp-empty-photo { height: 118px; }
}
@media (max-width: 460px) {
    .ippp-box-2026.ippp-carousel-mode.ippp-header-featured-injected { margin-top: 12px !important; }
    .ippp-header-featured-injected .ippp-visual-title { font-size: 12px; padding-right: 54px; }
    .ippp-header-featured-injected .ippp-visual-title em { font-size: 10px; }
    .ippp-header-featured-injected .ippp-carousel-track > .ippp-card {
        flex-basis: 72%;
        width: 72%;
    }
    .ippp-header-featured-injected > .ippp-promoted-links { gap: 6px; }
    .ippp-header-featured-injected > .ippp-promoted-links > a { flex: 1 1 100% !important; }
}

/* 1.10.5 — dopasowanie do szerokości treści motywu Theme Horse.
   Dotyczy wyłącznie modułu wstawionego w miejsce Header Featured Posts. */
.ippp-box-2026.ippp-carousel-mode.ippp-header-featured-injected {
    display: block;
    width: 100% !important;
    max-width: 870px !important;
    margin: 14px auto 22px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden;
}
.ippp-header-featured-injected .ippp-visual-kicker {
    color: #173d5e !important;
    font-size: 9px !important;
    font-weight: 800;
    letter-spacing: .035em;
    text-transform: uppercase;
}
.ippp-header-featured-injected .ippp-visual-title,
.ippp-header-featured-injected .ippp-visual-title strong {
    color: #173d5e !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
    font-weight: 800;
    letter-spacing: 0;
}
.ippp-header-featured-injected .ippp-visual-title em {
    color: #173d5e !important;
    font-size: 11px !important;
    font-weight: 600;
}
.ippp-header-featured-injected .ippp-carousel-track {
    gap: 14px !important;
}
.ippp-header-featured-injected .ippp-carousel-track > .ippp-card {
    flex: 0 0 calc((100% - 42px) / 4) !important;
    width: calc((100% - 42px) / 4) !important;
    min-width: 0 !important;
}
.ippp-header-featured-injected .ippp-photo,
.ippp-header-featured-injected .ippp-empty-photo {
    height: 108px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #f7f8f9 !important;
}
.ippp-header-featured-injected .ippp-name {
    color: #173d5e !important;
    font-size: 10px !important;
    line-height: 1.35 !important;
    font-weight: 700;
}
.ippp-header-featured-injected .ippp-price {
    color: #394b5a !important;
    font-size: 9px !important;
    font-weight: 700;
}
.ippp-header-featured-injected .ippp-button {
    min-height: 25px !important;
    padding: 6px 8px !important;
    border: 1px solid #cf1e29 !important;
    border-radius: 3px !important;
    background: #cf1e29 !important;
    color: #fff !important;
    font-size: 8px !important;
    font-weight: 800 !important;
    box-shadow: none !important;
}
.ippp-header-featured-injected .ippp-button:hover,
.ippp-header-featured-injected .ippp-button:focus-visible {
    border-color: #a91620 !important;
    background: #a91620 !important;
    color: #fff !important;
}
.ippp-box-2026.ippp-carousel-mode.ippp-header-featured-injected > .ippp-promoted-links {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    align-items: stretch;
    gap: 8px !important;
    width: 100%;
    margin: 8px 0 0 !important;
    padding: 0 !important;
}
.ippp-header-featured-injected > .ippp-promoted-links > a {
    display: inline-flex !important;
    flex: 1 1 calc(50% - 8px) !important;
    width: auto !important;
    min-width: 160px;
    max-width: calc(50% - 4px);
    min-height: 29px !important;
    height: auto !important;
    box-sizing: border-box !important;
    align-items: center;
    justify-content: center;
    padding: 7px 10px !important;
    border: 1px solid #d8e0e6 !important;
    border-radius: 3px !important;
    background: #fff !important;
    color: #173d5e !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    text-align: center;
    text-decoration: none !important;
    box-shadow: none !important;
}
.ippp-header-featured-injected > .ippp-promoted-links > .ippp-order-product-link {
    border-color: #cf1e29 !important;
    background: #cf1e29 !important;
    color: #fff !important;
}
.ippp-header-featured-injected > .ippp-promoted-links > .ippp-all-products-link:hover,
.ippp-header-featured-injected > .ippp-promoted-links > .ippp-all-products-link:focus-visible {
    border-color: #aebfcb !important;
    background: #f6f8fa !important;
    color: #173d5e !important;
}
.ippp-header-featured-injected > .ippp-promoted-links > .ippp-order-product-link:hover,
.ippp-header-featured-injected > .ippp-promoted-links > .ippp-order-product-link:focus-visible {
    border-color: #a91620 !important;
    background: #a91620 !important;
    color: #fff !important;
}
@media (max-width: 760px) {
    .ippp-header-featured-injected .ippp-carousel-track > .ippp-card {
        flex-basis: calc((100% - 14px) / 2) !important;
        width: calc((100% - 14px) / 2) !important;
    }
}
@media (max-width: 460px) {
    .ippp-box-2026.ippp-carousel-mode.ippp-header-featured-injected {
        margin: 12px auto 18px !important;
    }
    .ippp-header-featured-injected .ippp-carousel-track > .ippp-card {
        flex-basis: 78% !important;
        width: 78% !important;
    }
    .ippp-header-featured-injected > .ippp-promoted-links > a {
        flex: 1 1 100% !important;
        max-width: 100%;
    }
}



/* 1.10.6 — kolor przycisku „Zobacz produkt” dopasowany do portalu BUDOWNICTWO.
   Zakres ograniczony wyłącznie do karuzeli w Header Featured Posts. */
.ippp-header-featured-injected .ippp-button {
    border-color: #1769aa !important;
    background: #1769aa !important;
    color: #fff !important;
}
.ippp-header-featured-injected .ippp-button:hover,
.ippp-header-featured-injected .ippp-button:focus-visible {
    border-color: #10558a !important;
    background: #10558a !important;
    color: #fff !important;
}


/* 1.10.7 — sześć kart jednocześnie i pełna pula produktów w karuzeli nagłówkowej.
   Zasięg wyłącznie do modułu wstawionego w miejsce Header Featured Posts. */
.ippp-box-2026.ippp-carousel-mode.ippp-header-featured-injected .ippp-carousel-track {
    gap: 8px !important;
    margin-left: 8px !important;
    margin-right: 8px !important;
}
.ippp-box-2026.ippp-carousel-mode.ippp-header-featured-injected .ippp-carousel-track > .ippp-card {
    flex: 0 0 calc((100% - 40px) / 6) !important;
    width: calc((100% - 40px) / 6) !important;
    max-width: calc((100% - 40px) / 6) !important;
    min-width: 0 !important;
}
.ippp-box-2026.ippp-carousel-mode.ippp-header-featured-injected .ippp-photo,
.ippp-box-2026.ippp-carousel-mode.ippp-header-featured-injected .ippp-empty-photo {
    height: 172px !important;
}
.ippp-box-2026.ippp-carousel-mode.ippp-header-featured-injected .ippp-name {
    font-size: 9px !important;
    line-height: 1.3 !important;
    min-height: 42px !important;
}
.ippp-box-2026.ippp-carousel-mode.ippp-header-featured-injected .ippp-content {
    min-height: 106px !important;
    padding: 7px 6px 8px !important;
}
.ippp-box-2026.ippp-carousel-mode.ippp-header-featured-injected .ippp-button {
    border-color: #1769aa !important;
    background: #1769aa !important;
    color: #fff !important;
}
.ippp-box-2026.ippp-carousel-mode.ippp-header-featured-injected .ippp-button:hover,
.ippp-box-2026.ippp-carousel-mode.ippp-header-featured-injected .ippp-button:focus-visible {
    border-color: #10558a !important;
    background: #10558a !important;
    color: #fff !important;
}
@media (max-width: 760px) {
    .ippp-box-2026.ippp-carousel-mode.ippp-header-featured-injected .ippp-carousel-track > .ippp-card {
        flex: 0 0 calc((100% - 16px) / 3) !important;
        width: calc((100% - 16px) / 3) !important;
        max-width: calc((100% - 16px) / 3) !important;
    }
    .ippp-box-2026.ippp-carousel-mode.ippp-header-featured-injected .ippp-photo,
    .ippp-box-2026.ippp-carousel-mode.ippp-header-featured-injected .ippp-empty-photo { height: 192px !important; }
}
@media (max-width: 460px) {
    .ippp-box-2026.ippp-carousel-mode.ippp-header-featured-injected .ippp-carousel-track > .ippp-card {
        flex: 0 0 calc((100% - 8px) / 2) !important;
        width: calc((100% - 8px) / 2) !important;
        max-width: calc((100% - 8px) / 2) !important;
    }
}


/* 1.10.8 — ujednolicenie przycisków i nawigacji w kolorze neutralnym #4a4a4a.
   Zmiana dotyczy wyłącznie przycisków „Zobacz produkt”, strzałek karuzeli
   oraz nawigacji poprzednia/następna na publicznej stronie Promowane produkty.
   Pozostałe CTA (w szczególności „Zamów promocję produktu”), importer,
   zamówienia, rotacja i statystyki zachowują dotychczasowy wygląd i działanie. */

/* Przyciski „Zobacz produkt” w modułach / widżetach, także w Header Featured Posts. */
.ippp-box-2026 .ippp-card .ippp-button,
.ippp-box-2026 .ippp-card .ippp-button:visited {
    border-color: #4a4a4a !important;
    background: #4a4a4a !important;
    color: #fff !important;
}
/* Wymuś ten sam kolor w Header Featured Posts, którego wcześniejsze reguły mają większą specyficzność. */
.ippp-box-2026.ippp-carousel-mode.ippp-header-featured-injected .ippp-card .ippp-button,
.ippp-box-2026.ippp-carousel-mode.ippp-header-featured-injected .ippp-card .ippp-button:visited {
    border-color: #4a4a4a !important;
    background: #4a4a4a !important;
    color: #fff !important;
}
.ippp-box-2026 .ippp-card .ippp-button:hover,
.ippp-box-2026 .ippp-card .ippp-button:focus,
.ippp-box-2026 .ippp-card .ippp-button:focus-visible,
.ippp-box-2026.ippp-carousel-mode.ippp-header-featured-injected .ippp-card .ippp-button:hover,
.ippp-box-2026.ippp-carousel-mode.ippp-header-featured-injected .ippp-card .ippp-button:focus-visible {
    border-color: #3c3c3c !important;
    background: #3c3c3c !important;
    color: #fff !important;
}

/* Strzałki przewijania karuzeli — zwykłego widżetu i integracji Header Featured Posts. */
.ippp-box-2026.ippp-carousel-mode .ippp-carousel-buttons button {
    border-color: #4a4a4a !important;
    background: #fff !important;
    color: #4a4a4a !important;
}
.ippp-box-2026.ippp-carousel-mode .ippp-carousel-buttons button:hover,
.ippp-box-2026.ippp-carousel-mode .ippp-carousel-buttons button:focus,
.ippp-box-2026.ippp-carousel-mode .ippp-carousel-buttons button:focus-visible {
    border-color: #4a4a4a !important;
    background: #4a4a4a !important;
    color: #fff !important;
}

/* „Zobacz produkt” na /promowane-produkty/ — nie zmienia CTA zamówienia promocji. */
.ippp-all-products .ippp-all-product-button,
.ippp-all-products .ippp-all-product-button:visited {
    border-color: #4a4a4a !important;
    background: #4a4a4a !important;
    color: #fff !important;
}
.ippp-all-products .ippp-all-product-button:hover,
.ippp-all-products .ippp-all-product-button:focus,
.ippp-all-products .ippp-all-product-button:focus-visible {
    border-color: #3c3c3c !important;
    background: #3c3c3c !important;
    color: #fff !important;
}

/* Strzałki stronicowania katalogu produktów. Numery stron pozostają bez zmian. */
.ippp-all-products .ippp-pagination .ippp-pagination-prev,
.ippp-all-products .ippp-pagination .ippp-pagination-next {
    border-color: #4a4a4a !important;
    background: #fff !important;
    color: #4a4a4a !important;
}
.ippp-all-products .ippp-pagination .ippp-pagination-prev:hover,
.ippp-all-products .ippp-pagination .ippp-pagination-prev:focus,
.ippp-all-products .ippp-pagination .ippp-pagination-next:hover,
.ippp-all-products .ippp-pagination .ippp-pagination-next:focus {
    border-color: #4a4a4a !important;
    background: #4a4a4a !important;
    color: #fff !important;
}


@media (max-width: 760px) {
    .ippp-box-2026.ippp-carousel-mode.ippp-header-featured-injected .ippp-photo,
    .ippp-box-2026.ippp-carousel-mode.ippp-header-featured-injected .ippp-empty-photo {
        height: 192px !important;
    }
}


/* 1.10.12 — uporządkowany układ karuzeli na stronie głównej.
   Jeden, spójny zestaw reguł dla szerokości kart i wysokości zdjęć.
   Nie nadpisuje transformacji inline ustawiającej indywidualne kadrowanie produktów. */
.ippp-box-2026.ippp-carousel-mode.ippp-header-featured-injected {
    display: block !important;
    width: 100% !important;
    max-width: 870px !important;
    margin: 14px auto 22px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.ippp-box-2026.ippp-carousel-mode.ippp-header-featured-injected > .ippp-visual-head .ippp-visual-art,
.ippp-box-2026.ippp-carousel-mode.ippp-header-featured-injected .ippp-visual-art {
    display: none !important;
}

.ippp-box-2026.ippp-carousel-mode.ippp-header-featured-injected .ippp-carousel-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 8px !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 8px !important;
    padding: 2px 2px 8px !important;
    box-sizing: border-box !important;
}

.ippp-box-2026.ippp-carousel-mode.ippp-header-featured-injected .ippp-carousel-track > .ippp-card {
    display: flex !important;
    flex-direction: column !important;
    flex: 0 0 calc((100% - 40px) / 6) !important;
    width: calc((100% - 40px) / 6) !important;
    max-width: calc((100% - 40px) / 6) !important;
    min-width: 0 !important;
    height: auto !important;
    box-sizing: border-box !important;
}

.ippp-box-2026.ippp-carousel-mode.ippp-header-featured-injected .ippp-photo,
.ippp-box-2026.ippp-carousel-mode.ippp-header-featured-injected .ippp-empty-photo {
    display: flex !important;
    flex: 0 0 172px !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 172px !important;
    min-height: 172px !important;
    max-height: 172px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.ippp-box-2026.ippp-carousel-mode.ippp-header-featured-injected .ippp-photo img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    /* Celowo brak transform:none — pozostaje aktywne indywidualne kadrowanie produktu. */
}

@media (max-width: 760px) {
    .ippp-box-2026.ippp-carousel-mode.ippp-header-featured-injected .ippp-carousel-track > .ippp-card {
        flex: 0 0 calc((100% - 16px) / 3) !important;
        width: calc((100% - 16px) / 3) !important;
        max-width: calc((100% - 16px) / 3) !important;
    }
    .ippp-box-2026.ippp-carousel-mode.ippp-header-featured-injected .ippp-photo,
    .ippp-box-2026.ippp-carousel-mode.ippp-header-featured-injected .ippp-empty-photo {
        flex-basis: 192px !important;
        height: 192px !important;
        min-height: 192px !important;
        max-height: 192px !important;
    }
}

@media (max-width: 460px) {
    .ippp-box-2026.ippp-carousel-mode.ippp-header-featured-injected .ippp-carousel-track > .ippp-card {
        flex: 0 0 calc((100% - 8px) / 2) !important;
        width: calc((100% - 8px) / 2) !important;
        max-width: calc((100% - 8px) / 2) !important;
    }
}
