/*
Theme Name: Kadence Child
Template: kadence
Version: 1.5.8
*/

/* ============ TOKENY ============ */
:root {
    --kc-pink: #ff4d8d;
    --kc-pink-dark: #e0266f;
    --kc-pink-deep: #7a1038;
    --kc-pink-soft: #fff0f6;
    --kc-cream: #fff7f9;
    --kc-ink: #2b0b1b;
    --kc-mint: #7de8c6;
    --kc-lemon: #ffd66b;
    --kc-lilac: #cdb4f6;
    --kc-sky: #a5e3ff;
    --kc-border: #ffd9e8;
    --kc-shadow: 0 10px 30px rgba(224, 38, 111, .12);
    --kc-radius: 22px;
}

/* ============ BAZA ============ */
body {
    color: #43202f;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--kc-cream);
    font-size: 16px;
}
h1, h2, h3, h4, h5 {
    font-family: "Nunito", "Inter", sans-serif;
    color: var(--kc-ink);
    font-weight: 900;
    letter-spacing: -0.02em;
}
a { color: var(--kc-pink-dark); }
a:hover { color: var(--kc-pink); }
.entry-content p, .entry-content li { line-height: 1.75; }

/* ============ PASEK OGŁOSZEŃ ============ */
.kc-topbar {
    background: linear-gradient(90deg, var(--kc-pink), #ff7bb0, var(--kc-pink));
    color: #fff;
    font-weight: 600;
    font-size: .85rem;
    overflow: hidden;
    white-space: nowrap;
}
.kc-topbar__inner {
    display: flex;
    justify-content: center;
    gap: 48px;
    padding: 10px 16px;
    flex-wrap: wrap;
}

/* ============ HEADER ============ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--kc-border);
}
.header-menu-container ul.menu > li > a,
.header-navigation .header-menu-container a {
    font-family: "Nunito", "Inter", sans-serif;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: .01em;
    color: var(--kc-ink);
    text-decoration: none;
}
.header-menu-container ul.menu > li > a:hover,
.header-navigation .header-menu-container a:hover { color: var(--kc-pink-dark); }
.header-menu-container ul.menu > li.current-menu-item > a { color: var(--kc-pink-dark); }

/* ============ PRZYCISKI ============ */
.button,
button.single_add_to_cart_button,
.woocommerce button.button.alt,
.woocommerce #respond input#submit,
.checkout-button,
.wc-block-components-button,
.kc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    line-height: 1.15;
    box-sizing: border-box;
    text-align: center;
    background: linear-gradient(135deg, #ff7bb0, var(--kc-pink)) !important;
    color: #fff !important;
    font-family: "Nunito", sans-serif;
    font-weight: 900 !important;
    border: 2px solid transparent !important;
    border-radius: 999px !important;
    padding: 14px 30px !important;
    box-shadow: 0 8px 22px rgba(255, 77, 141, .38);
    transition: transform .16s ease, box-shadow .16s ease;
    position: relative;
    overflow: hidden;
    vertical-align: middle;
}
.button.kc-btn-ghost {
    background: #fff !important;
    color: var(--kc-pink-deep) !important;
    border: 2px solid var(--kc-border) !important;
    box-shadow: none !important;
}
.button.kc-btn-ghost:hover { background: var(--kc-pink-soft) !important; }

/* CTA w hero: równe wymiary, bez łamania tekstu */
.kc-hero .kc-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; align-items: center; }
.kc-hero .kc-cta .button { min-width: 230px; white-space: nowrap; }

/* Kompaktowe przyciski w kartach produktów */
ul.products li.product .button,
ul.products li.product a.button {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 9px 14px !important;
    font-size: .84rem !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.button::after,
button.single_add_to_cart_button::after,
.checkout-button::after {
    content: "";
    position: absolute;
    top: 0; left: -80%;
    width: 50%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.5), transparent);
    transform: skewX(-20deg);
    transition: left .5s ease;
}
.button:hover::after,
button.single_add_to_cart_button:hover::after,
.checkout-button:hover::after { left: 130%; }
.button:hover,
button.single_add_to_cart_button:hover,
.woocommerce button.button.alt:hover,
.checkout-button:hover,
.wc-block-components-button:hover,
.kc-btn:hover {
    background: linear-gradient(135deg, var(--kc-pink), var(--kc-pink-dark)) !important;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(224, 38, 111, .45);
    color: #fff !important;
}

/* ============ PRODUKTY / KARTY ============ */
ul.products { gap: 32px; }
ul.products li.product {
    background: #fff;
    border: 1px solid var(--kc-border);
    border-radius: var(--kc-radius);
    padding: 10px;
    transition: transform .18s ease, box-shadow .18s ease;
    box-shadow: 0 4px 16px rgba(224, 38, 111, .07);
    overflow: hidden;
}
ul.products li.product:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(224, 38, 111, .16);
}
ul.products li.product { border-radius: 22px; }
ul.products li.product img { border-radius: 16px; }
.woocommerce ul.products li.product .price { color: #E0266F; }
.woocommerce ul.products li.product .price del { color: #9A7B8A; }
ul.products li.product img {
    border-radius: 16px;
    transition: transform .35s ease;
}
ul.products li.product:hover img { transform: scale(1.05); }
ul.products li.product h2,
ul.products li.product .woocommerce-loop-product__title {
    font-family: "Nunito", sans-serif;
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--kc-ink);
    line-height: 1.3;
}
.woocommerce ul.products li.product .price {
    color: var(--kc-pink-dark);
    font-weight: 900;
    font-size: 1.08rem;
}
.woocommerce ul.products li.product .price del { color: #9CA3AF !important; font-weight: 400; }
.woocommerce span.onsale {
    background: linear-gradient(135deg, var(--kc-pink), #ff7bb0);
    border-radius: 999px;
    padding: 7px 13px;
    font-weight: 800;
    font-family: "Nunito", sans-serif;
    color: #fff;
    line-height: 1;
    box-shadow: 0 4px 10px rgba(255, 77, 141, .4);
}
.woocommerce .star-rating span::before { color: #f5a623; }

/* ============ STRONA PRODUKTU ============ */
.product_title {
    font-family: "Nunito", sans-serif;
    font-size: 2.1rem;
    font-weight: 900;
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: var(--kc-pink-dark);
    font-weight: 900;
    font-size: 1.7rem;
}
.woocommerce div.product p.price del { color: #9a7b8a; font-weight: 400; }
.woocommerce div.product form.cart div.quantity .qty {
    border-radius: 999px;
    border: 2px solid var(--kc-border);
    padding: 10px;
    width: 80px;
    font-weight: 700;
}
.woocommerce div.product form.cart { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.woocommerce div.product form.cart .single_add_to_cart_button { width: 100%; height: 56px; white-space: nowrap; margin: 0; }
.kc-atc-trust { margin-top: 6px; }
.woocommerce-product-gallery__image img { border-radius: 22px; }
.woocommerce-tabs, .product_meta { display: none; }
.kc-atc-trust {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 14px;
}
.kc-atc-trust {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 14px;
}
.kc-atc-trust span {
    background: #fff;
    border: 1px solid var(--kc-border);
    border-radius: 999px;
    padding: 7px 14px;
    font-size: .88rem;
    font-weight: 600;
    color: var(--kc-ink);
}

/* ============ SEKCJE LANDINGU ============ */
.kc-landing-sections { max-width: 880px; margin: 0 auto; padding: 0 16px; }
.kc-eyebrow {
    display: inline-block;
    font-family: "Nunito", sans-serif;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: .8rem;
    color: var(--kc-pink-dark);
    background: var(--kc-pink-soft);
    border: 1px solid var(--kc-border);
    border-radius: 999px;
    padding: 6px 16px;
    margin-bottom: 12px;
}
.kc-landing-sections h2 {
    font-size: 2rem;
    text-align: center;
    margin-top: 64px;
}
.kc-landing-sections p { font-size: 1.05rem; }

.kc-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 30px 0; }
.kc-steps .step {
    background: #fff;
    border: 1px solid var(--kc-border);
    border-radius: 24px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--kc-shadow);
    transition: transform .18s ease;
}
.kc-steps .step:hover { transform: translateY(-5px); }
.kc-steps .step .num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff7bb0, var(--kc-pink));
    color: #fff;
    font-weight: 900;
    font-size: 1.3rem;
    margin-bottom: 14px;
    box-shadow: 0 6px 14px rgba(255, 77, 141, .4);
}
.kc-steps .step h3 { margin: 0 0 8px; }
.kc-steps .step p { margin: 0; font-size: .95rem; color: #6b4253; }

.kc-benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 30px 0; }
.kc-benefits .b {
    background: #fff;
    border: 1px solid var(--kc-border);
    border-radius: 18px;
    padding: 18px 20px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--kc-ink);
    box-shadow: 0 3px 10px rgba(224, 38, 111, .06);
}

.kc-faq { max-width: 740px; margin: 0 auto; }
.kc-faq h2 { text-align: center; }
.kc-faq details {
    border: 1px solid var(--kc-border);
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 10px;
    background: #fff;
}
.kc-faq summary { cursor: pointer; font-weight: 800; font-family: "Nunito", sans-serif; color: var(--kc-ink); font-size: 1.05rem; }
.kc-faq details p { margin: 10px 0 0; font-size: .98rem; color: #5a3745; }

.kc-reviews { max-width: 880px; margin: 48px auto 0; padding: 0 16px; }
.kc-bestsellers { max-width: 1200px; margin: 48px auto 0; padding: 0 16px; }
.kc-bestsellers::before {
    content: "Najczęściej wybierane";
    display: block;
    font-family: "Nunito", sans-serif;
    font-size: 1.7rem;
    font-weight: 900;
    color: var(--kc-ink);
    text-align: center;
    margin-bottom: 26px;
}

/* ============ STRONA GŁÓWNA ============ */
.kc-hero {
    background:
        linear-gradient(180deg, #FFF3E0, #FFD9E8 55%, #FFF7F9);
    text-align: center;
    padding: 56px 20px 44px;
    position: relative;
    overflow: hidden;
}
.kc-hero .kc-badge {
    display: inline-block;
    font-family: "Nunito", sans-serif;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: .82rem;
    color: #fff;
    background: #FF4D8D;
    border-radius: 999px;
    padding: 8px 18px;
    margin-bottom: 20px;
    box-shadow: 0 6px 16px rgba(255, 77, 141, .4);
    animation: kc-pop 1s ease;
}
.kc-hero h1 {
    font-size: clamp(2.4rem, 5.4vw, 4rem);
    margin: 0 auto 16px;
    max-width: 820px;
    line-height: 1.08;
}
.kc-hero h1 em {
    font-style: normal;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    color: inherit;
}
.kc-hero .kc-sub {
    font-size: 1.18rem;
    color: #7a5163;
    max-width: 580px;
    margin: 0 auto 30px;
}
.kc-hero .kc-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.kc-hero-art {
    display: block;
    margin: 24px auto 0;
    max-width: 380px;
    width: 72%;
    border-radius: 30px;
    box-shadow: 0 24px 60px rgba(224, 38, 111, .25);
    animation: kc-float 6s ease-in-out infinite;
}
.kc-hero .kc-float {
    position: absolute;
    font-size: 2.1rem;
    opacity: .55;
    animation: kc-float 5s ease-in-out infinite;
    pointer-events: none;
}
.kc-float.f1 { top: 13%; left: 4%; animation-delay: 0s; }
.kc-float.f2 { top: 21%; right: 4%; animation-delay: 1.3s; }
.kc-float.f3 { bottom: 16%; left: 10%; animation-delay: 2.2s; }
.kc-float.f4 { bottom: 22%; right: 10%; animation-delay: .7s; }
@keyframes kc-float {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-18px) rotate(6deg); }
}
@keyframes kc-pop {
    0% { transform: scale(.6); opacity: 0; }
    70% { transform: scale(1.08); }
    100% { transform: scale(1); opacity: 1; }
}

.kc-trust {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 1100px;
    margin: -30px auto 0;
    padding: 0 16px;
    position: relative;
}
.kc-trust .t {
    background: #fff;
    border: 1px solid var(--kc-border);
    border-radius: 18px;
    padding: 18px 14px;
    text-align: center;
    font-weight: 800;
    font-family: "Nunito", sans-serif;
    color: var(--kc-ink);
    box-shadow: 0 10px 26px rgba(224, 38, 111, .12);
    font-size: .95rem;
}
.kc-trust .t .ico { font-size: 1.7rem; display: block; margin-bottom: 8px; }

.kc-section { max-width: 1200px; margin: 72px auto 0; padding: 0 16px; }
.kc-section > h2 { text-align: center; font-size: 2rem; margin-bottom: 10px; }
.kc-section > .kc-lead { text-align: center; color: #7a5163; margin-bottom: 30px; }

/* Kolekcje — światy */
.kc-worlds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.kc-worlds a {
    display: block;
    text-align: center;
    border-radius: 26px;
    padding: 32px 12px;
    text-decoration: none;
    font-family: "Nunito", sans-serif;
    font-weight: 900;
    font-size: 1.05rem;
    color: var(--kc-ink);
    border: 2px solid rgba(255, 255, 255, .7);
    box-shadow: 0 8px 22px rgba(224, 38, 111, .10);
    transition: transform .18s ease, box-shadow .18s ease;
}
.kc-worlds a:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: 0 16px 34px rgba(224, 38, 111, .18); color: var(--kc-ink); }
.kc-worlds .em { font-size: 3.4rem; display: block; margin-bottom: 10px; }
.kc-worlds .sub { display: block; font-family: "Inter", sans-serif; font-weight: 500; font-size: .82rem; color: #7a5163; margin-top: 4px; }
.kc-world-1 { background: linear-gradient(160deg, #ffe3b3, var(--kc-lemon)); }
.kc-world-2 { background: linear-gradient(160deg, #c9f2ff, var(--kc-sky)); }
.kc-world-3 { background: linear-gradient(160deg, #fff3b8, #ffe58a); }
.kc-world-4 { background: linear-gradient(160deg, #fbd7ee, var(--kc-lilac)); }

/* Bento DIY spotlight */
.kc-diy-spot {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 26px;
    align-items: center;
    background: linear-gradient(135deg, #ff7bb0, var(--kc-pink-dark));
    border-radius: 32px;
    padding: 44px 40px;
    color: #fff;
    box-shadow: 0 22px 50px rgba(224, 38, 111, .35);
    margin-top: 72px;
}
.kc-diy-spot h2 { color: #fff; font-size: 2.1rem; margin: 0 0 12px; }
.kc-diy-spot p { color: #ffe3ee; font-size: 1.05rem; margin: 0 0 22px; }
.kc-diy-spot .button {
    background: #fff !important;
    color: var(--kc-pink-dark) !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .18) !important;
}
.kc-diy-spot img {
    border-radius: 24px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .22);
    transform: rotate(2deg);
}

/* USP */
.kc-usps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.kc-usps .u {
    background: #fff;
    border: 1px solid var(--kc-border);
    border-radius: 22px;
    padding: 24px 22px;
    box-shadow: 0 4px 14px rgba(224, 38, 111, .07);
}
.kc-usps .u .ico { font-size: 2rem; display: block; margin-bottom: 10px; }
.kc-usps .u h3 { margin: 0 0 6px; font-size: 1.1rem; }
.kc-usps .u p { margin: 0; color: #6b4253; font-size: .95rem; }

.kc-home-faq { max-width: 760px; margin: 72px auto 0; padding: 0 16px; }
.kc-home-faq h2 { text-align: center; font-size: 2rem; margin-bottom: 26px; }

.kc-newsletter {
    margin: 72px auto 0;
    max-width: 1200px;
    padding: 0 16px;
}
.kc-newsletter .in {
    background: linear-gradient(135deg, #fff0f6, #fff);
    border: 2px dashed var(--kc-border);
    border-radius: 32px;
    padding: 44px 30px;
    text-align: center;
}
.kc-newsletter h2 { margin: 0 0 8px; font-size: 1.9rem; }
.kc-newsletter p { color: #7a5163; margin: 0 0 20px; }

/* ============ ANIMACJE (scroll reveal) ============ */
.kc-anim { opacity: 1; transform: none; }
.js .kc-anim { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .kc-anim.kc-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .kc-anim, .js .kc-anim { opacity: 1; transform: none; transition: none; }
    .kc-topbar__inner, .kc-hero-art, .kc-float { animation: none; }
}

/* ============ SORTOWANIE (sklep) ============ */
.woocommerce-ordering select {
    border: 2px solid var(--kc-border);
    border-radius: 999px;
    padding: 9px 38px 9px 18px;
    font-family: "Nunito", sans-serif;
    font-weight: 700;
    color: var(--kc-ink);
    background-color: #fff;
    cursor: pointer;
}
.woocommerce-result-count { color: #7a5163; }

/* ============ LOGO ============ */
.site-branding a.has-logo-image .site-title-wrap { display: none; }
.site-branding a.has-logo-image img.custom-logo { max-height: 52px; width: auto; }
.site-branding .site-title, .site-branding a {
    font-family: "Nunito", sans-serif;
    font-weight: 900;
    font-size: 1.7rem;
    color: var(--kc-ink);
    letter-spacing: -0.02em;
}
.site-branding a:hover { color: var(--kc-ink); }
.site-branding .site-title::after { content: "."; color: var(--kc-pink); }

/* ============ STOPKA ============ */
.kc-footer { max-width: 1200px; margin: 0 auto; padding: 10px 16px; }
.kc-footer-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    text-align: left;
    margin-bottom: 18px;
}
.kc-fcol { display: flex; flex-direction: column; gap: 6px; }
.kc-fcol strong { font-family: "Nunito", sans-serif; font-size: 1rem; color: var(--kc-ink); margin-bottom: 4px; }
.kc-fcol a { color: #6b4253; font-size: .92rem; text-decoration: none; }
.kc-fcol a:hover { color: var(--kc-pink-dark); }
.kc-fcol span { color: #6b4253; font-size: .92rem; }
.kc-footer-pay {
    text-align: center;
    font-weight: 700;
    color: var(--kc-ink);
    letter-spacing: .04em;
    font-size: .9rem;
    margin-bottom: 8px;
}
.kc-footer-legal { text-align: center; color: #8a6a78; font-size: .85rem; }
@media (max-width: 640px) {
    .kc-footer-cols { grid-template-columns: 1fr; text-align: center; }
}

/* ============ STICKY ATC ============ */
.kc-sticky-atc {
    display: none;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    background: #fff;
    border-top: 1px solid var(--kc-border);
    padding: 10px 16px;
    align-items: center;
    gap: 12px;
    z-index: 9999;
    box-shadow: 0 -4px 16px rgba(255, 77, 141, .18);
}
.kc-sticky-atc__price { font-weight: 900; font-family: "Nunito", sans-serif; color: var(--kc-pink-dark); font-size: 18px; flex-shrink: 0; }
.kc-sticky-atc__price del { color: #c39aa9; font-weight: 400; font-size: 14px; }
.kc-sticky-atc__btn {
    flex: 1;
    display: block;
    text-align: center;
    background: linear-gradient(135deg, #ff7bb0, var(--kc-pink));
    color: #fff;
    font-family: "Nunito", sans-serif;
    font-weight: 900;
    padding: 14px;
    border-radius: 999px;
    text-decoration: none;
}
.kc-sticky-atc__btn:hover { background: linear-gradient(135deg, var(--kc-pink), var(--kc-pink-dark)); color: #fff; }

@media (max-width: 1024px) {
    .kc-sticky-atc { display: flex; }
    body { padding-bottom: 78px; }
    .kc-trust { grid-template-columns: repeat(2, 1fr); }
    .kc-worlds { grid-template-columns: repeat(2, 1fr); }
    .kc-usps { grid-template-columns: 1fr; }
    .kc-diy-spot { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .kc-steps { grid-template-columns: 1fr; }
    .kc-benefits { grid-template-columns: 1fr; }
}

/* Pasek darmowej dostawy w koszyku */
.kc-ship-bar {
    background: #fff;
    border: 1px solid var(--kc-border);
    border-radius: 18px;
    padding: 16px 20px;
    margin: 0 0 24px;
}
.kc-ship-bar p { margin: 0 0 10px; font-weight: 700; color: var(--kc-ink); font-size: .95rem; }
.kc-ship-bar p strong { color: #E0266F; }
.kc-ship-track { height: 10px; background: #FBE3EE; border-radius: 999px; overflow: hidden; }
.kc-ship-fill { height: 100%; background: linear-gradient(90deg, #FF7BB0, #FF4D8D); border-radius: 999px; transition: width .4s ease; }
/* Ikony platnosci przy przycisku kasy */
.kc-pay-note { text-align: center; font-size: .85rem; color: #7A5163; margin-top: 10px; font-weight: 600; }

/* ============ KC UX FIXES 2026-10-26 ============ */
/* PDP: force 2-col gallery|summary; full-width content below (fixes narrow/vertical description) */
.single-product div.product {
    display: grid !important;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    column-gap: 40px;
    row-gap: 28px;
    align-items: start;
}
.single-product div.product > .woocommerce-product-gallery {
    grid-column: 1;
    grid-row: 1;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
}
.single-product div.product > .summary.entry-summary {
    grid-column: 2;
    grid-row: 1;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
}
.single-product div.product > .woocommerce-tabs,
.single-product div.product > .product_meta,
.single-product div.product > .kc-landing-sections,
.single-product div.product > .kc-bestsellers,
.single-product div.product > .related,
.single-product div.product > .upsells {
    grid-column: 1 / -1;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    clear: both;
}
.single-product div.product .kc-landing-sections,
.single-product div.product .kc-landing-sections h2,
.single-product div.product .kc-landing-sections p,
.single-product div.product .kc-landing-sections li {
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    word-break: normal;
    overflow-wrap: anywhere;
}
.woocommerce-tabs { display: none !important; }

/* Shop grid: never hide product images */
ul.products li.product a img,
ul.products li.product img.attachment-woocommerce_thumbnail,
ul.products li.product img.wp-post-image {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    width: 100%;
    height: auto;
    min-height: 160px;
    object-fit: cover;
    background: #fff0f6;
}

/* Mobile topbar: one scrolling row instead of tall stack */
@media (max-width: 640px) {
    .kc-topbar__inner {
        flex-wrap: nowrap !important;
        justify-content: flex-start;
        gap: 28px;
        padding: 8px 14px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .kc-topbar__inner::-webkit-scrollbar { display: none; }
    .kc-topbar__inner > span {
        flex: 0 0 auto;
        white-space: nowrap;
        font-size: .78rem;
    }
    .kc-worlds { grid-template-columns: 1fr !important; }
    .kc-trust { grid-template-columns: 1fr 1fr; }
}

/* Floating Caddy compass vs sticky ATC */
@media (max-width: 1024px) {
    body.single-product .cc-compass {
        bottom: 92px !important;
        right: 16px !important;
        z-index: 10001;
    }
    .kc-sticky-atc {
        z-index: 10000;
        padding-right: 16px;
    }
}
@media (min-width: 1025px) {
    .single-product div.product {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    }
}
@media (max-width: 768px) {
    .single-product div.product {
        grid-template-columns: 1fr !important;
    }
    .single-product div.product > .woocommerce-product-gallery,
    .single-product div.product > .summary.entry-summary {
        grid-column: 1;
        grid-row: auto;
    }
}

/* ============ KC Q4 BANNER + TRUST 2026-10-26 ============ */
.kc-q4-banner {
    background: linear-gradient(90deg, #2b0b1b, #7a1038, #2b0b1b);
    color: #fff;
}
.kc-q4-banner__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
}
.kc-q4-banner__inner strong { color: #ffd66b; font-family: "Nunito", sans-serif; }
.kc-q4-banner__inner span { opacity: .95; }
.kc-atc-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}
.kc-atc-trust span {
    background: #fff0f6;
    border: 1px solid var(--kc-border);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: .78rem;
    font-weight: 700;
    color: #5a2a3d;
}
@media (max-width: 640px) {
    .kc-q4-banner__inner { font-size: .8rem; text-align: center; justify-content: center; }
}

/* ============ KARTY PRODUKTÓW — emoji w tytułach + równe kafelki (1.5.4) ============ */
/* WP zamienia emoji z nazw produktów na <img class="emoji">; reguła „never hide product images”
   rozciągała je do 16x160 px i rozjeżdżała kafelki. */
img.emoji,
ul.products li.product a img.emoji,
.single-product .product_title img.emoji {
    display: inline !important;
    width: 1em !important;
    height: 1em !important;
    min-height: 0 !important;
    margin: 0 .1em 0 0 !important;
    vertical-align: -0.12em !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
    transform: none !important;
    object-fit: contain !important;
}
ul.products li.product {
    display: flex !important;
    flex-direction: column;
}
ul.products li.product .woocommerce-loop-image-link img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
ul.products li.product .product-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}
ul.products li.product .woocommerce-loop-product__title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
ul.products li.product .price { margin-top: auto; }

/* Telefon: 2 kolumny produktów (Kadence daje 2 kolumny dopiero od 544 px) (1.5.5) */
@media (max-width: 767px) {
    ul.products,
    .woocommerce ul.products.grid-cols {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }
    ul.products li.product { padding: 6px; border-radius: 16px; }
    ul.products li.product img { border-radius: 12px; }
    ul.products li.product .product-details { padding: 8px 4px 6px !important; }
    ul.products li.product .woocommerce-loop-product__title { font-size: .86rem !important; line-height: 1.25; }
    .woocommerce ul.products li.product .price { font-size: .92rem; }
    .woocommerce ul.products li.product .price del { font-size: .78rem; }
    .woocommerce ul.products li.product span.onsale { font-size: .66rem; padding: 4px 8px; top: 10px; right: 10px; }
    ul.products li.product:hover { transform: none; }
}

/* Kwadratowe zdjęcia w siatce bez przycinania: min-height 160px rozciągał kafelek 120 px na 120×160 (1.5.6) */
ul.products li.product a img:not(.emoji) {
    min-height: 0 !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    object-fit: contain !important;
}

/* Informacje prawne na karcie produktu (cena końcowa, importer, sprzedawca) */
.kc-product-legal {
    margin: 10px 0 14px;
    font-size: 12.5px;
    line-height: 1.5;
    color: #6b6b7b;
}
.kc-product-legal p { margin: 0 0 3px; }

/* Baner płatności Autopay w stopce */
.kc-footer-pay img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

/* Hero: przycisk CTA na telefonie zawija tekst zamiast go ucinać */
@media (max-width: 480px) {
    .kc-hero .kc-cta .button {
        min-width: 0;
        width: 100%;
        white-space: normal;
        text-align: center;
    }
}
