/* ----------------------------------------------------
   KOSTKOLAND - CUSTOM THEME OVERRIDES (LESS/CSS COMPILATION)
   ---------------------------------------------------- */

/* Base resets & helper styles */
html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: clip !important;
}

html {
    background-color: #04050a !important;
}

.wrap, .wrap.rwd {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: clip !important;
    margin: 0 !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.box-sizing {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.btn.btn-red {
    border-radius: 1rem !important;
}


/* Clear floats for legacy grids and resets */
.products::before,
.products::after,
.productlist::before,
.productlist::after,
.innerbox::before,
.innerbox::after {
    display: none !important;
    content: none !important;
}

.products.viewphot .product .prodimage span {
    min-height: 180px;
    max-height: 180px;
}

.products.viewphot .product .buttons .quickview {
    display: none;
}

.menu .innermenu .menu-list > li > h3 > a span,
.menu .innermenu .menu-list > li > .menu-heading > a span {
    font-weight: bold;
}

.shop-gallery .shop-gallery-skin .shop-gallery-title {
    display: none;
}


/* ----------------------------------------------------
   NEW CUSTOM STYLING (MATCHING MOCKUP DESIGN PRECISELY)
   ---------------------------------------------------- */

/* --- 1. HEADER CUSTOM STYLING --- */
header.header-custom,
.header-custom,
header.row,
header#header,
header.header,
body > .wrap > header {
    position: relative !important;
    z-index: 5000 !important;
    background: #ffffff !important;
    border-bottom: 1px solid #f0f0f0;
    padding: 15px 0;
    margin: 0;
}

.header-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
}

.header-logo {
    display: block;
    max-width: 300px;
}
.header-logo img {
    max-height: 80px;
    width: auto;
    display: block;
}

.header-search {
    flex-grow: 1;
    max-width: 500px;
    margin: 0 30px;
    position: relative;
}
.header-search .search-form {
    display: flex;
    align-items: center;
    background: #f5f6f9;
    border-radius: 30px;
    padding: 3px 3px 3px 20px;
    border: 1px solid #e1e4e8;
    transition: all 0.3s ease;
}
.header-search .search-form:hover, 
.header-search .search-form:focus-within {
    border-color: #04BBFF;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(4, 187, 255, 0.15);
}

.header-search .search-input {
    flex-grow: 1;
    border: none !important;
    background: transparent !important;
    outline: none !important;
    font-size: 14px;
    color: #333333;
    padding: 8px 0;
    box-shadow: none !important;
}
.header-search .search-input::placeholder {
    color: #9e9e9e;
}

.header-search .search-btn {
    background: #000000;
    border: none;
    outline: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.header-search .search-btn:hover {
    background: #7b00ff;
    transform: scale(1.04);
}
.header-search .search-btn img {
    width: 22px;
    height: 22px;
    filter: invert(1); /* changes SVG to white icon */
}

.header-icons {
    display: flex !important;
    align-items: center !important;
    gap: 28px;
    margin: 0;
    padding: 0;
}

.header-icon-item {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    min-width: 50px !important;
    height: auto !important;
    float: none !important;
}

.header-icon-item > a,
.header-icon-item.basket > a.count {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    color: #1a1a1a !important;
    transition: color 0.3s ease, transform 0.3s ease !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    height: auto !important;
    border: none !important;
    background: none !important;
    box-shadow: none !important;
    line-height: normal !important;
}

.header-icon-item:hover > a,
.header-icon-item.basket:hover > a.count {
    color: #7b00ff !important;
}

.header-icon-item .icon-img {
    width: 24px !important;
    height: 24px !important;
    margin: 0 0 6px 0 !important;
    display: block !important;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    object-fit: contain;
}

.header-icon-item:hover .icon-img {
    transform: translateY(-3px) scale(1.05) !important;
}

.header-icon-item .icon-label {
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    color: inherit !important;
    text-align: left !important;
    white-space: nowrap !important;
    letter-spacing: 0.2px;
    margin: 0 !important;
    padding: 0 !important;
}

/* User dropdown submenu on hover with smooth transition */
.user-submenu {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    right: -10px !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
    padding: 8px 0 !important;
    min-width: 160px !important;
    z-index: 1000 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(10px) scale(0.96) !important;
    transform-origin: top right !important;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s !important;
    border: 1px solid #e8ecf1 !important;
}

.user-submenu::before {
    content: '' !important;
    position: absolute !important;
    top: -12px !important;
    left: 0 !important;
    width: 100% !important;
    height: 12px !important;
    background: transparent !important;
}

.user-item:hover .user-submenu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) scale(1) !important;
}

.user-submenu a {
    display: block !important;
    padding: 10px 20px !important;
    color: #2c3e50 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: all 0.2s ease !important;
}

.user-submenu a:hover {
    background: #f4f6fb !important;
    color: #7b00ff !important;
    padding-left: 24px !important;
}

/* Shopping Cart Badge & dropdown reset and alignment */
header .logo-bar .basket,
.header-icon-item.cart-item,
.header-icon-item.basket {
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    background: none !important;
    border: none !important;
    min-width: unset !important;
    width: auto !important;
    height: auto !important;
    line-height: normal !important;
    box-shadow: none !important;
    cursor: pointer !important;
    user-select: none !important;
    -webkit-user-select: none !important;
}

.basket .count,
header .logo-bar .basket > a.count,
.header-icon-item.cart-item > a,
.header-icon-item.basket > a {
    background: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    min-width: unset !important;
    border: none !important;
    line-height: normal !important;
    box-shadow: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    z-index: 1002 !important;
    cursor: pointer !important;
    text-decoration: none !important;
    pointer-events: auto !important;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease !important;
    transform-origin: center center !important;
}

.basket .count::before,
.basket .count::after,
header .logo-bar .basket > a.count::before,
header .logo-bar .basket > a.count::after {
    display: none !important; /* Hide legacy icon font pseudo elements */
    content: none !important;
}

.basket .count img,
header .logo-bar .basket img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.cart-icon-wrapper {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
    margin: 0 0 6px 0 !important;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    transform-origin: center center !important;
}

.cart-icon-wrapper .icon-img {
    margin: 0 !important;
    width: 24px !important;
    height: 24px !important;
    transform-origin: center bottom !important;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

/* Pulsing ripple ring on click */
.cart-icon-wrapper::after {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 32px !important;
    height: 32px !important;
    margin-top: -16px !important;
    margin-left: -16px !important;
    border-radius: 50% !important;
    background: radial-gradient(circle, rgba(4, 187, 255, 0.55) 0%, rgba(4, 187, 255, 0.15) 50%, transparent 75%) !important;
    opacity: 0 !important;
    transform: scale(0.3) !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

.header-icon-item.cart-item.cart-clicked .cart-icon-wrapper::after,
.header-icon-item.basket.cart-clicked .cart-icon-wrapper::after,
.header-icon-item.cart-item:active .cart-icon-wrapper::after,
.header-icon-item.basket:active .cart-icon-wrapper::after {
    animation: klCartRippleEffect 0.45s cubic-bezier(0.2, 0.8, 0.4, 1) forwards !important;
}

@keyframes klCartRippleEffect {
    0% {
        opacity: 0.9;
        transform: scale(0.4);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.6);
    }
    100% {
        opacity: 0;
        transform: scale(2.3);
    }
}

.cart-badge {
    position: absolute !important;
    top: -7px !important;
    right: -11px !important;
    background: linear-gradient(135deg, #04BBFF 0%, #0088cc 100%) !important;
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    min-width: 18px !important;
    height: 18px !important;
    border-radius: 9px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 2px 5px rgba(4, 187, 255, 0.4) !important;
    z-index: 5 !important;
    line-height: 1 !important;
    padding: 0 3px !important;
    box-sizing: border-box !important;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease !important;
    transform-origin: center center !important;
}

/* =========================================================
   ANIMACJA NAJECHANIA ("jak się najedzie")
   ========================================================= */
.header-icon-item.cart-item:hover,
.header-icon-item.basket:hover {
    color: #04bbff !important;
}

.header-icon-item.cart-item:hover > a,
.header-icon-item.basket:hover > a {
    color: #04bbff !important;
}

/* Przyjazne, płynne bujanie i powiększenie ikony koszyka */
.header-icon-item.cart-item:hover .cart-icon-wrapper .icon-img,
.header-icon-item.basket:hover .cart-icon-wrapper .icon-img {
    animation: klCartHoverWiggle 0.65s cubic-bezier(0.36, 0.07, 0.19, 0.97) both !important;
}

@keyframes klCartHoverWiggle {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    18% {
        transform: translateY(-4px) rotate(-12deg) scale(1.15);
    }
    36% {
        transform: translateY(-5px) rotate(10deg) scale(1.18);
    }
    54% {
        transform: translateY(-4px) rotate(-7deg) scale(1.14);
    }
    72% {
        transform: translateY(-3px) rotate(4deg) scale(1.11);
    }
    88% {
        transform: translateY(-3px) rotate(-1deg) scale(1.09);
    }
    100% {
        transform: translateY(-3px) rotate(0deg) scale(1.08);
    }
}

/* Wyskakujący i świecący badge z ilością produktów */
.header-icon-item.cart-item:hover .cart-badge,
.header-icon-item.basket:hover .cart-badge {
    transform: scale(1.25) translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(4, 187, 255, 0.65), 0 0 6px rgba(4, 187, 255, 0.3) !important;
}

/* Napis pod ikoną zmienia kolor na żywy błękit */
.header-icon-item.cart-item:hover .icon-label,
.header-icon-item.basket:hover .icon-label {
    color: #04bbff !important;
    font-weight: 700 !important;
    transition: color 0.2s ease !important;
}

/* =========================================================
   ANIMACJA KLIKNIĘCIA ("i kliknie")
   ========================================================= */
/* Efekt wciśnięcia (sprężyste ugięcie) */
.header-icon-item.cart-item:active > a,
.header-icon-item.basket:active > a,
.header-icon-item.cart-item.cart-clicked > a,
.header-icon-item.basket.cart-clicked > a {
    transform: scale(0.86) translateY(3px) !important;
    transition: transform 0.1s cubic-bezier(0.2, 0.8, 0.4, 1) !important;
}

.header-icon-item.cart-item:active .cart-icon-wrapper .icon-img,
.header-icon-item.basket:active .cart-icon-wrapper .icon-img,
.header-icon-item.cart-item.cart-clicked .cart-icon-wrapper .icon-img,
.header-icon-item.basket.cart-clicked .cart-icon-wrapper .icon-img {
    animation: none !important;
    transform: scale(0.82) rotate(-6deg) !important;
    transition: transform 0.1s ease !important;
}

.header-icon-item.cart-item:active .cart-badge,
.header-icon-item.basket:active .cart-badge,
.header-icon-item.cart-item.cart-clicked .cart-badge,
.header-icon-item.basket.cart-clicked .cart-badge {
    transform: scale(0.88) !important;
    box-shadow: 0 1px 3px rgba(4, 187, 255, 0.5) !important;
    transition: transform 0.1s ease !important;
}

/* Cart dropdown with 0.5s smooth fade & slide transition */
@media (min-width: 769px) {
    .header-icons {
        position: relative !important;
        z-index: 5001 !important;
    }
}

.header-icon-item.cart-item,
.header-icon-item.basket {
    position: relative !important;
    z-index: 5002 !important;
}

.cart-item .basket-contain,
.header-icon-item.basket .basket-contain,
.basket-contain {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    max-width: calc(100vw - 20px) !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14), 0 0 1px rgba(0,0,0,0.1) !important;
    border: 1px solid #eef1f6 !important;
    width: 340px !important;
    height: auto !important;
    overflow: visible !important;
    padding: 18px !important;
    z-index: 5010 !important;
    display: block !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(10px) scale(0.97) !important;
    transform-origin: top right !important;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s !important;
    box-sizing: border-box !important;
}

/* Eliminacja fałszywego obszaru hover po bokach koszyka */
.header-icon-item.cart-item::after,
.header-icon-item.basket::after {
    display: none !important;
    content: none !important;
    pointer-events: none !important;
}

/* Mostek hover powyżej rozwijanego okna koszyka - aktywny TYLKO gdy koszyk jest otwarty i tylko w strefie ikony koszyka */
.cart-item .basket-contain::before,
.header-icon-item.basket .basket-contain::before {
    content: '' !important;
    position: absolute !important;
    top: -15px !important;
    right: 0 !important;
    left: auto !important;
    width: 80px !important;
    height: 15px !important;
    background: transparent !important;
    z-index: 5005 !important;
    pointer-events: auto !important;
}

@media (min-width: 981px) {
    .cart-item:hover .basket-contain,
    .cart-item:focus-within .basket-contain,
    .header-icon-item.basket:hover .basket-contain,
    .header-icon-item.basket:focus-within .basket-contain,
    .cart-item.open .basket-contain,
    .cart-item.active .basket-contain,
    .cart-item.kl-cart-open .basket-contain,
    .header-icon-item.basket.open .basket-contain,
    .header-icon-item.basket.active .basket-contain,
    .header-icon-item.basket.kl-cart-open .basket-contain,
    .basket-contain:hover {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(0) scale(1) !important;
        display: block !important;
        height: auto !important;
        overflow: visible !important;
    }
}

@media (max-width: 980px) {
    .header-icon-item.cart-item::after,
    .header-icon-item.basket::after,
    .cart-item .basket-contain,
    .header-icon-item.basket .basket-contain,
    .basket-contain,
    .cart-item:hover .basket-contain,
    .cart-item:focus-within .basket-contain,
    .header-icon-item.basket:hover .basket-contain,
    .header-icon-item.basket:focus-within .basket-contain,
    .cart-item.open .basket-contain,
    .cart-item.active .basket-contain,
    .cart-item.kl-cart-open .basket-contain,
    .header-icon-item.basket.open .basket-contain,
    .header-icon-item.basket.active .basket-contain,
    .header-icon-item.basket.kl-cart-open .basket-contain,
    .basket-contain:hover {
        display: none !important;
        content: none !important;
        pointer-events: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        overflow: hidden !important;
    }
}

.cart-item .basket-contain .basket-products,
.header-icon-item.basket .basket-contain .basket-products {
    padding: 0 !important;
    border: none !important;
    background: none !important;
}

.cart-item .basket-contain .basket-product-list {
    max-height: 270px;
    overflow-y: auto;
    margin: 0;
    padding: 0 4px 0 0;
    list-style: none;
}

/* Custom scrollbar for cart products list */
.cart-item .basket-contain .basket-product-list::-webkit-scrollbar {
    width: 5px;
}
.cart-item .basket-contain .basket-product-list::-webkit-scrollbar-track {
    background: #f1f3f7;
    border-radius: 3px;
}
.cart-item .basket-contain .basket-product-list::-webkit-scrollbar-thumb {
    background: #c5cbd5;
    border-radius: 3px;
}
.cart-item .basket-contain .basket-product-list::-webkit-scrollbar-thumb:hover {
    background: #9aa2b1;
}

.cart-item .basket-contain .basket-product-list li {
    display: grid !important;
    grid-template-columns: 52px 1fr auto !important;
    grid-template-rows: auto auto !important;
    column-gap: 12px !important;
    row-gap: 6px !important;
    align-items: center !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid #f0f2f5 !important;
    position: relative !important;
    transition: background-color 0.2s ease !important;
}

.cart-item .basket-contain .basket-product-list li:last-child {
    border-bottom: none !important;
}

.cart-item .basket-contain .basket-product-list li img {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    display: block !important;
    width: 52px !important;
    height: 52px !important;
    border-radius: 8px !important;
    object-fit: cover !important;
    margin: 0 !important;
    visibility: visible !important;
    border: 1px solid #eef1f5 !important;
}

.cart-item .basket-contain .basket-product-list li .product-name {
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #1f2937 !important;
    line-height: 1.35 !important;
    text-decoration: none !important;
    margin: 0 !important;
    width: 100% !important;
    white-space: normal !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    align-self: center !important;
    transition: color 0.2s ease !important;
}

.cart-item .basket-contain .basket-product-list li .product-name:hover {
    color: #7b00ff !important;
}

.cart-item .basket-contain .basket-product-list li .product-name .product-variant {
    display: block !important;
    font-size: 11px !important;
    color: #6b7280 !important;
    font-weight: normal !important;
    margin-top: 2px !important;
}

.cart-item .basket-contain .basket-product-list li .product-info {
    grid-column: 3 !important;
    grid-row: 1 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    display: block !important;
    text-align: right !important;
    white-space: nowrap !important;
    padding: 0 !important;
}

.cart-item .basket-contain .basket-product-list li .product-info span {
    display: inline !important;
}

.cart-item .basket-contain .basket-product-list li .remove-product {
    grid-column: 3 !important;
    grid-row: 2 !important;
    position: relative !important;
    top: auto !important;
    right: auto !important;
    display: block !important;
    text-align: right !important;
    margin-top: 2px !important;
}

.cart-item .basket-contain .basket-product-list li .remove-product a {
    color: #ef4444 !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-decoration: none !important;
    transition: color 0.2s ease, opacity 0.2s ease !important;
}

.cart-item .basket-contain .basket-product-list li .remove-product a:hover {
    color: #dc2626 !important;
    text-decoration: underline !important;
}

.cart-item .basket-contain .basket-summery {
    margin-top: 14px !important;
    padding-top: 14px !important;
    border-top: 1px solid #eef1f6 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-direction: row-reverse !important;
    background: none !important;
}

.cart-item .basket-contain .basket-summery a {
    background: linear-gradient(135deg, #7b00ff 0%, #04BBFF 100%) !important;
    color: #ffffff !important;
    padding: 9px 24px !important;
    border-radius: 22px !important;
    font-size: 0 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    float: none !important;
    border: none !important;
    width: auto !important;
    height: auto !important;
    line-height: normal !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12), 0 1px 3px rgba(0, 0, 0, 0.06) !important;
    cursor: pointer !important;
}

.cart-item .basket-contain .basket-summery a::after {
    content: 'Kasa' !important;
    font-size: 13px !important;
    display: inline-block !important;
    letter-spacing: 0.5px !important;
}

.cart-item .basket-contain .basket-summery a:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.16), 0 2px 4px rgba(0, 0, 0, 0.08) !important;
    filter: brightness(1.05) !important;
}

.cart-item .basket-contain .basket-summery .basket-price {
    text-align: left !important;
    float: none !important;
    width: auto !important;
    background: none !important;
    padding: 0 !important;
    border: none !important;
}

.cart-item .basket-contain .basket-summery .basket-price .price-total {
    font-size: 13px !important;
    color: #4b5563 !important;
    font-weight: 500 !important;
    display: flex !important;
    align-items: baseline !important;
    gap: 6px !important;
}

.cart-item .basket-contain .basket-summery .basket-price .price-total strong {
    font-size: 16px !important;
    color: #04BBFF !important;
    font-weight: 800 !important;
}


/* --- 2. NAVIGATION MENU CUSTOM STYLING --- */
.menu,
.menu.row {
    background: #000000 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18) !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    position: relative !important;
    z-index: 1000 !important;
}

.menu::before,
.menu::after,
.innermenu::before,
.innermenu::after {
    display: none !important;
}

.innermenu,
.innermenu.row.container {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    height: 56px !important;
    float: none !important;
    box-sizing: border-box !important;
    position: relative !important;
    z-index: 1001 !important;
}

.menu-list {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    height: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    list-style: none !important;
    width: auto !important;
    float: none !important;
    border: none !important;
    overflow: visible !important;
}

.menu-list li.home-link-menu-li {
    display: none !important; /* Hide legacy home icon button */
}

.menu-list > li {
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    position: relative !important;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.menu-list > li > h3,
.menu-list > li > .menu-heading {
    margin: 0 !important;
    padding: 0 !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: normal !important;
}

.menu-list > li > h3 > a,
.menu-list > li > .menu-heading > a {
    color: #f3f4f6 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    height: 100% !important;
    position: relative !important;
    padding: 0 16px !important;
    transition: color 0.3s ease, background-color 0.3s ease !important;
    border-radius: 6px !important;
}

.menu-list > li > h3 > a span,
.menu-list > li > .menu-heading > a span {
    position: relative !important;
    padding-bottom: 2px !important;
    transition: color 0.3s ease !important;
}

.menu-list > li > h3 > a span::after,
.menu-list > li > .menu-heading > a span::after {
    content: '' !important;
    position: absolute !important;
    bottom: -4px !important;
    left: 50% !important;
    width: 0 !important;
    height: 2.5px !important;
    background: linear-gradient(90deg, #7b00ff, #04BBFF) !important;
    border-radius: 2px !important;
    transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1), left 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.menu-list > li > h3 > a:hover span::after,
.menu-list > li > h3 > a.fx-active span::after,
.menu-list > li.current > h3 > a span::after,
.menu-list > li.active-menu > h3 > a span::after,
.menu-list > li > .menu-heading > a:hover span::after,
.menu-list > li > .menu-heading > a.fx-active span::after,
.menu-list > li.current > .menu-heading > a span::after,
.menu-list > li.active-menu > .menu-heading > a span::after {
    width: 100% !important;
    left: 0 !important;
}

.menu-list > li > h3 > a:hover, 
.menu-list > li > h3 > a.fx-active,
.menu-list > li.current > h3 > a,
.menu-list > li.active-menu > h3 > a,
.menu-list > li > .menu-heading > a:hover, 
.menu-list > li > .menu-heading > a.fx-active,
.menu-list > li.current > .menu-heading > a,
.menu-list > li.active-menu > .menu-heading > a {
    color: #04BBFF !important;
    text-decoration: none !important;
}

/* Category Submenu Styling with Smooth Transitions */
/* Reset wrapper div .submenu so it does not render background/border duplicate */
.menu-list > li .submenu,
.menu-list > li > div.submenu {
    position: absolute !important;
    top: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 1002 !important;
    display: block !important;
    pointer-events: none !important;
}

/* Reset default Shopper legacy ::after/::before on parent:hover */
.innermenu .parent:hover::after,
.innermenu .parent.opened::after,
.menu-list > li.parent::after {
    display: none !important;
    content: none !important;
}

/* Style the actual category list ul.level1 */
.menu-list > li .submenu > ul,
.menu-list > li > div > ul,
.innermenu .parent:hover > div > ul,
.innermenu .parent.opened > div > ul {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    transform: translateY(12px) scale(0.96) !important;
    transform-origin: top center !important;
    background: #ffffff !important;
    border-radius: 14px !important;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.16), 0 0 1px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid #eef1f6 !important;
    min-width: 220px !important;
    width: max-content !important;
    max-width: 320px !important;
    padding: 10px 0 !important;
    margin: 8px 0 0 0 !important;
    list-style: none !important;
    display: block !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s !important;
}

/* Invisible bridge on the ul so mouse hover from menu link to submenu is seamless */
.menu-list > li .submenu > ul::before,
.menu-list > li > div > ul::before {
    content: '' !important;
    position: absolute !important;
    top: -16px !important;
    left: 0 !important;
    width: 100% !important;
    height: 16px !important;
    background: transparent !important;
    border: none !important;
    transform: none !important;
}

/* Open submenu on hover */
.menu-list > li.parent:hover > .submenu,
.menu-list > li:hover > .submenu,
.menu-list > li .submenu:hover {
    pointer-events: auto !important;
}

.menu-list > li.parent:hover > .submenu > ul,
.menu-list > li.parent:hover > div > ul,
.menu-list > li:hover > .submenu > ul,
.menu-list > li .submenu > ul:hover {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) scale(1) !important;
}

.menu-list > li .submenu li {
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    position: relative !important;
}

.menu-list > li .submenu li h3 {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    display: block !important;
}

.menu-list > li .submenu li h3 a,
.menu-list > li .submenu li a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: left !important;
    padding: 10px 22px !important;
    color: #374151 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: 0.2px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    background: transparent !important;
    height: auto !important;
}

.menu-list > li .submenu li h3 a:hover,
.menu-list > li .submenu li a:hover {
    background: #f4f6fc !important;
    color: #7b00ff !important;
    padding-left: 22px !important;
}


/* --- 3. CUSTOM HERO BANNER --- */
.custom-hero-banner {
    background: radial-gradient(circle at 85% 50%, rgba(123, 0, 255, 0.28), transparent 45%), 
                radial-gradient(circle at 65% 50%, rgba(4, 187, 255, 0.22), transparent 45%), 
                #050c1e;
    position: relative;
    padding: 80px 0 120px 0;
    color: #ffffff;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 5;
}

.hero-badge {
    background: linear-gradient(90deg, rgba(123, 0, 255, 0.15), rgba(4, 187, 255, 0.15));
    border: 1px solid rgba(4, 187, 255, 0.3);
    color: #04BBFF;
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 54px;
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 20px;
    color: #ffffff;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 60%, #04BBFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.5;
    color: #a5b4fc;
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(90deg, #7b00ff, #04BBFF);
    color: #ffffff !important;
    font-size: 15px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 16px 35px;
    border-radius: 30px;
    text-decoration: none !important;
    box-shadow: 0 4px 20px rgba(123, 0, 255, 0.4);
    transition: all 0.3s ease;
}
.hero-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(123, 0, 255, 0.6);
    background: linear-gradient(90deg, #8c1aff, #1ad1ff);
}
.hero-cta-btn:hover .arrow-icon {
    transform: translateX(4px);
}
.hero-cta-btn .arrow-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.hero-features {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 50px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.hero-feature-item .feature-icon {
    color: #04BBFF;
    font-size: 20px;
}
.hero-feature-item .feature-text {
    display: flex;
    flex-direction: column;
}
.hero-feature-item .feature-text strong {
    font-size: 12px;
    font-weight: bold;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.hero-feature-item .feature-text span {
    font-size: 11px;
    color: #a5b4fc;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 450px;
    max-width: 500px;
}

.neon-ring {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 3px solid rgba(4, 187, 255, 0.7);
    box-shadow: 0 0 25px rgba(4, 187, 255, 0.8), 
                inset 0 0 25px rgba(4, 187, 255, 0.8),
                0 0 50px rgba(123, 0, 255, 0.5),
                inset 0 0 50px rgba(123, 0, 255, 0.5);
    animation: rotateRing 15s linear infinite;
    z-index: 1;
}

.neon-ring-glow {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: radial-gradient(circle, transparent 60%, rgba(123, 0, 255, 0.2));
}

@keyframes rotateRing {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 3D Rubik's Cube representation */
.rubiks-cube-wrapper {
    position: absolute;
    perspective: 800px;
    z-index: 2;
}

.rubiks-cube {
    width: 150px;
    height: 150px;
    position: relative;
    z-index: 10;
    transform-style: preserve-3d;
    transform: rotateX(-25deg) rotateY(45deg);
    animation: floatCube 4s ease-in-out infinite;
}

@keyframes floatCube {
    0%, 100% { transform: rotateX(-25deg) rotateY(45deg) translateY(0); }
    50% { transform: rotateX(-25deg) rotateY(45deg) translateY(-15px); }
}

/* 3D JS Rubiks Cube */
.rubiks-cube {
    width: 150px;
    height: 150px;
    position: relative;
    z-index: 10;
    transform-style: preserve-3d;
    transform: rotateX(-25deg) rotateY(45deg);
    animation: floatCube 4s ease-in-out infinite;
}

#cube-shaker {
    position: absolute;
    top: 0;
    left: 0;
    width: 150px;
    height: 150px;
    transform-style: preserve-3d;
    transform-origin: 75px 75px 0;
}

.pivot {
    position: absolute;
    top: 0;
    left: 0;
    width: 150px;
    height: 150px;
    transform-style: preserve-3d;
    transform-origin: 50% 50% 0;
}

.cubie {
    position: absolute;
    width: 50px;
    height: 50px;
    top: 50px;
    left: 50px;
    transform-style: preserve-3d;
    /* Transition removed to prevent scattering; rotation is handled by the pivot */
}

.cubie-face {
    position: absolute;
    width: 50px;
    height: 50px;
    margin: 0;
    background-color: #050505;
    border-radius: 6px;
    border: 3px solid #050505;
    box-sizing: border-box;
    backface-visibility: visible;
}

.cubie-face::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 2px;
    background-color: var(--sticker-bg, transparent);
    backface-visibility: hidden;
}

.cubie-face-U { transform: rotateX(90deg) translateZ(25px); }
.cubie-face-D { transform: rotateX(-90deg) translateZ(25px); }
.cubie-face-F { transform: translateZ(25px); }
.cubie-face-B { transform: rotateY(180deg) translateZ(25px); }
.cubie-face-R { transform: rotateY(90deg) translateZ(25px); }
.cubie-face-L { transform: rotateY(-90deg) translateZ(25px); }

.cube-shadow {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 30px;
    background: radial-gradient(ellipse, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 70%);
    z-index: 1;
}

/* Curved cutoff path at the bottom of hero banner */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 60px;
    overflow: hidden;
    line-height: 0;
    z-index: 4;
}
.hero-wave svg {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}


/* --- 4. CUSTOM USPs BAR --- */
.custom-usps-bar {
    background: #ffffff;
    padding: 30px 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    z-index: 6;
    margin-top: -30px;
}

.usps-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
@media (max-width: 980px) {
    .usps-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }
}

.usp-item {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 180px;
}
.usp-item .usp-icon {
    color: #7b00ff;
    font-size: 24px;
    background: #f5f0ff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.usp-item:hover .usp-icon {
    background: #7b00ff;
    color: #ffffff;
    transform: translateY(-3px);
}
.usp-item .usp-text {
    display: flex;
    flex-direction: column;
}
.usp-item .usp-text strong {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 2px;
}
.usp-item .usp-text span {
    font-size: 11px;
    color: #777777;
}


/* --- 5. PRODUCTS CARDS CUSTOM STYLE --- */
.main {
    background: #ffffff !important;
}

.box {
    margin-bottom: 50px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.boxhead,
.box .boxhead {
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
    width: 100%;
}
.boxhead span, .boxhead h1, .boxhead h2, .boxhead .category-name {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    border: none;
    padding: 0;
    margin: 0;
    background: none;
    display: inline-block;
}
.boxhead::after {
    display: none !important; /* Hide old background borders */
}

/* Home page module headers - CLEAN & BOLD (NO BORDER) */
body.shop_index .boxhead,
body.shop_index .box .boxhead,
.box-recommended-dark .boxhead {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: left !important;
    border: none !important;
    padding: 0 !important;
    margin: 36px auto 20px auto !important;
    background: transparent !important;
}

body.shop_index .boxhead span,
body.shop_index .boxhead h1,
body.shop_index .boxhead h2,
body.shop_index .boxhead h3,
body.shop_index .boxhead .category-name,
.box-recommended-dark .boxhead h1,
.box-recommended-dark .boxhead h2 {
    margin: 0 auto !important;
    display: inline-block !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    font-size: 24px !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: none !important;
}

body.shop_index .boxhead img.px1,
body.shop_index .boxhead img {
    display: none !important;
}

/* Hide all "Zobacz wszystkie" pseudo-elements and buttons from boxes */
body.shop_index #box_bestsellers .boxhead::before,
body.shop_index #box_lastadded .boxhead::before,
body.shop_index #box_mainproducts .boxhead::before,
body.shop_index [id^="box_recommendations"] .boxhead::before,
[id^="box_recommendations"] .boxhead::before,
.box-recommended-dark .boxhead::before,
.boxhead .see-all-btn,
.boxhead .see-all-link {
    display: none !important;
    content: none !important;
}

/* Center column boxhead header adjustments on list pages */
body.shop_product_list .s-grid-9 .boxhead,
body.shop_product_list #center .boxhead {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
}
body.shop_product_list .s-grid-9 .boxhead h1,
body.shop_product_list #center .boxhead h1 {
    margin: 0;
}

/* Let's style the product grid and items */
div.products, ul.products, div.productlist, ul.productlist, .products:not(table), .productlist:not(table) {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.slider .products, .slider .productlist {
    display: block !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
}

/* Custom cards styling */
.product, .productlist .product, #box_mainproducts .products .product, #box_lastadded .product {
    background: #ffffff !important;
    border: 1px solid #f0f0f0 !important;
    border-radius: 12px !important;
    padding: 20px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02) !important;
    transition: all 0.3s ease !important;
    width: calc(20% - 16px); /* 5 cards in row */
    min-width: 190px;
    position: relative;
    overflow: hidden;
    margin: 0;
    float: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Fix for slider items to prevent wrapping and breaking script calculations */
.slider .product {
    width: 100%;
    min-width: 0 !important;
    margin: 0 !important;
    margin-right: 20px !important;
    display: inline-flex !important;
    vertical-align: top !important;
    box-sizing: border-box !important;
}

.leftcol .slider .product,
.rightcol .slider .product {
    margin-right: 0 !important;
}

/* Ukrycie rozpychających tekstów omnibus na kafelkach sliderów */
.slider .product .price__omnibus,
.box.slider .product .price__omnibus,
.slider-wrap .product .price__omnibus,
#box_bestsellers .product .price__omnibus,
#box_specialoffer .product .price__omnibus,
#box_newproducts .product .price__omnibus,
[id^="box_recommendations"] .product .price__omnibus,
#box_recent .product .price__omnibus,
#box_productoftheday .product .price__omnibus,
#kl-acc-slider .product .price__omnibus {
    display: none !important;
}

/* Wyrównanie cen promocyjnych w sliderach - cena przekreślona obok ceny promocyjnej, równa wysokość kart */
.slider .product .price,
.box.slider .product .price,
.slider-wrap .product .price,
#box_bestsellers .product .price,
#box_specialoffer .product .price,
#box_newproducts .product .price,
[id^="box_recommendations"] .product .price,
#box_recent .product .price,
#box_productoftheday .product .price,
#kl-acc-slider .product .price {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: baseline !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 8px !important;
    width: 100% !important;
    margin-top: auto !important;
    padding: 10px 0 0 0 !important;
    min-height: 34px !important;
    box-sizing: border-box !important;
    border-top: 1px solid #f1f5f9 !important;
}

.slider .product .price p,
.box.slider .product .price p,
.slider-wrap .product .price p,
#box_bestsellers .product .price p,
#box_specialoffer .product .price p,
#box_newproducts .product .price p,
[id^="box_recommendations"] .product .price p,
#box_recent .product .price p,
#box_productoftheday .product .price p,
#kl-acc-slider .product .price p {
    display: inline-flex !important;
    align-items: baseline !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    max-width: none !important;
    float: none !important;
}

.slider .product .price em,
.box.slider .product .price em,
#box_bestsellers .product .price em,
#box_specialoffer .product .price em,
#box_newproducts .product .price em,
[id^="box_recommendations"] .product .price em,
#box_recent .product .price em,
#box_productoftheday .product .price em,
#kl-acc-slider .product .price em {
    display: inline-block !important;
    margin: 0 !important;
    font-size: 17px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    vertical-align: baseline !important;
}

.slider .product .price em.color,
.box.slider .product .price em.color,
#box_bestsellers .product .price em.color,
#box_specialoffer .product .price em.color,
#box_newproducts .product .price em.color,
[id^="box_recommendations"] .product .price em.color,
#box_recent .product .price em.color,
#box_productoftheday .product .price em.color,
#kl-acc-slider .product .price em.color {
    color: #ef4444 !important;
}

.slider .product .price del,
.slider .product .price .promo-old-price,
.slider .product .price span.promo-old-price,
.box.slider .product .price del,
.box.slider .product .price .promo-old-price,
.box.slider .product .price span.promo-old-price,
#box_bestsellers .product .price del,
#box_bestsellers .product .price .promo-old-price,
#box_bestsellers .product .price span.promo-old-price,
#box_specialoffer .product .price del,
#box_specialoffer .product .price .promo-old-price,
#box_specialoffer .product .price span.promo-old-price,
#box_newproducts .product .price del,
#box_newproducts .product .price .promo-old-price,
#box_newproducts .product .price span.promo-old-price,
[id^="box_recommendations"] .product .price del,
[id^="box_recommendations"] .product .price .promo-old-price,
[id^="box_recommendations"] .product .price span.promo-old-price,
#box_recent .product .price del,
#box_recent .product .price .promo-old-price,
#box_recent .product .price span.promo-old-price,
#box_productoftheday .product .price del,
#box_productoftheday .product .price .promo-old-price,
#box_productoftheday .product .price span.promo-old-price,
#kl-acc-slider .product .price del,
#kl-acc-slider .product .price .promo-old-price,
#kl-acc-slider .product .price span.promo-old-price {
    display: inline-block !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #94a3b8 !important;
    text-decoration: line-through !important;
    margin: 0 !important;
    vertical-align: baseline !important;
    line-height: 1.2 !important;
}

.owl-item .product {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 auto !important;
}

/* Stylizacja strzałek dla wszystkich sliderów na stronie głównej */
.slider {
    position: relative !important;
}
.slider .innerbox {
    overflow: hidden !important;
    position: relative !important;
}
.slider .slider-wrap {
    white-space: nowrap !important;
    font-size: 0 !important;
    position: relative !important;
}
.slider .slider-nav-left,
.slider .slider-nav-right,
.box.slider .slider-nav-left,
.box.slider .slider-nav-right {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 44px !important;
    height: 44px !important;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 50% !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12) !important;
    cursor: pointer !important;
    z-index: 50 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    margin: 0 !important;
    opacity: 0.95 !important;
    visibility: visible !important;
}
.slider .slider-nav-left[style*="display: none"],
.slider .slider-nav-right[style*="display: none"],
.box.slider .slider-nav-left[style*="display: none"],
.box.slider .slider-nav-right[style*="display: none"] {
    display: none !important;
}
.slider .slider-nav-left:hover,
.slider .slider-nav-right:hover,
.box.slider .slider-nav-left:hover,
.box.slider .slider-nav-right:hover {
    background: #04BBFF !important;
    border-color: #04BBFF !important;
    opacity: 1 !important;
    transform: translateY(-50%) scale(1.1) !important;
    box-shadow: 0 8px 24px rgba(4, 187, 255, 0.4) !important;
}
.slider .slider-nav-left,
.box.slider .slider-nav-left {
    left: -15px !important;
}
.slider .slider-nav-right,
.box.slider .slider-nav-right {
    right: -15px !important;
}
.slider .slider-nav-left::before,
.box.slider .slider-nav-left::before {
    content: '\f104' !important;
    font-family: FontAwesome !important;
    font-size: 20px !important;
    color: #1e293b !important;
    line-height: 1 !important;
    display: block !important;
}
.slider .slider-nav-right::before,
.box.slider .slider-nav-right::before {
    content: '\f105' !important;
    font-family: FontAwesome !important;
    font-size: 20px !important;
    color: #1e293b !important;
    line-height: 1 !important;
    display: block !important;
}
.slider .slider-nav-left:hover::before,
.slider .slider-nav-right:hover::before,
.box.slider .slider-nav-left:hover::before,
.box.slider .slider-nav-right:hover::before {
    color: #ffffff !important;
}

@media (max-width: 1200px) {
    .product:not(.slider .product), .productlist .product, #box_mainproducts .products .product, #box_lastadded:not(.slider) .product {
        width: calc(25% - 15px) !important;
    }
}
@media (max-width: 980px) {
    .product:not(.slider .product), .productlist .product, #box_mainproducts .products .product, #box_lastadded:not(.slider) .product {
        width: calc(33.33% - 14px) !important;
    }
}
@media (max-width: 768px) {
    .product:not(.slider .product), .productlist .product, #box_mainproducts .products .product, #box_lastadded:not(.slider) .product {
        width: calc(50% - 10px) !important;
    }
}
@media (max-width: 480px) {
    .product:not(.slider .product), .productlist .product, #box_mainproducts .products .product, #box_lastadded:not(.slider) .product {
        width: 100% !important;
    }
}

.product:hover, .productlist .product:hover, #box_mainproducts .products .product:hover, #box_lastadded .product:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.06) !important;
    border-color: #e1e4e8 !important;
    z-index: 10;
}

/* Center the image */
.product a {
    text-align: center;
    display: block;
    margin-bottom: 15px;
    text-decoration: none !important;
}

.product .boximgsize, .product .prodimage {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 180px !important;
    margin: 0 auto 15px auto !important;
    width: 100% !important;
}
.product .boximgsize span, .product .prodimage span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
}
.product .boximgsize img, .product .prodimage img {
    max-height: 180px !important;
    max-width: 100% !important;
    height: auto !important;
    width: auto !important;
    object-fit: contain !important;
    transition: transform 0.3s ease;
}
.product:hover .boximgsize img, .product:hover .prodimage img {
    transform: scale(1.05);
}

/* Product title styling - max 2 full wrapping lines with ellipsis */
.product .productnamewrap,
.product a .productnamewrap {
    display: block !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    margin: 8px auto !important;
    padding: 0 !important;
    width: 100% !important;
    text-align: center !important;
    overflow: hidden !important;
}

.product .productname,
.product .prodname,
.product a .productname,
.product a.row .productnamewrap .productname,
[id^="box_recommendations"] .product .productname,
#box_mainproducts .product .productname {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    line-height: 1.35 !important;
    height: 36px !important;
    max-height: 36px !important;
    min-height: 36px !important;
    text-align: center !important;
    text-decoration: none !important;
    word-break: break-word !important;
    margin: 0 auto !important;
    padding: 0 !important;
    white-space: normal !important;
    width: 100% !important;
}

/* Price wrapper layout - wyśrodkowana cena w całym sklepie */
.product .price {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: baseline !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 8px !important;
    margin-top: auto !important;
    padding: 10px 0 0 0 !important;
    border-top: 1px solid #f1f5f9 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    min-height: 34px !important;
}

.product .price::before,
.product .price::after {
    display: none !important;
}

.product .price > span:not(.promo-old-price),
.product .price > div > span:not(.promo-old-price) {
    display: none !important; /* Ukryj zbędny tekst "Cena:" */
}

.product .price p,
.product .price p.promo-price-row,
.product .price > div {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: baseline !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 8px !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

.product .price .price__regular {
    display: none !important; /* Ukryj powieloną cenę regularną na kafelkach */
}

.product .price .price__omnibus {
    display: block !important;
    text-align: center !important;
    justify-content: center !important;
    margin: 4px auto 0 auto !important;
    font-size: 11.5px !important;
    color: #94a3b8 !important;
    width: 100% !important;
}

/* Regular Price - Cyan */
.product .price em {
    font-size: 17px !important;
    font-weight: 900 !important;
    color: #04bbff !important;
    font-style: normal !important;
    text-align: center !important;
    display: inline-block !important;
    margin: 0 !important;
    float: none !important;
}

/* Promotion Price - RED */
.product .price em.color,
.product.custom-promo-product .price em,
.product .price p em.color,
.product .price p.promo-price-row em,
.custom-promo-product .price em,
#box_specialoffer .product .price em,
.product .price .color {
    color: #ef4444 !important;
    font-weight: 900 !important;
}

.product .price del,
.product .price .promo-old-price,
.product .price span.promo-old-price {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #94a3b8 !important;
    text-decoration: line-through !important;
    margin: 0 !important;
    text-align: center !important;
    display: inline-block !important;
    float: none !important;
}

/* Shopping basket button inside card on center under price */
.product .basket-box, .product form.basket {
    margin: 10px auto 0 auto !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    position: static !important;
}
.product button.addtobasket,
.product input[type="submit"].addtobasket,
.product .addtobasket,
.product a.btn.btn-red,
.product button.btn-red,
.slider .product .addtobasket,
.slider .product button.addtobasket,
.box.slider .product .addtobasket,
.box.slider .product button.addtobasket {
    width: 100% !important;
    max-width: 100% !important;
    height: 42px !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #7b00ff 0%, #04BBFF 50%, #7b00ff 100%) !important;
    background-size: 200% 100% !important;
    background-position: 0% 0% !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(123, 0, 255, 0.28) !important;
    padding: 0 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    transition: background-position 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s ease, box-shadow 0.25s ease !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    position: static !important;
    line-height: 1 !important;
    text-decoration: none !important;
}

.product button.addtobasket::before,
.product input[type="submit"]::before,
.product .addtobasket::before,
.slider .product .addtobasket::before {
    content: '' !important;
    background: url('../images/user/cart.svg') no-repeat center !important;
    background-size: 15px !important;
    width: 15px !important;
    height: 15px !important;
    display: inline-block !important;
    filter: brightness(0) invert(1) !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
}

.product button.addtobasket span,
.product .addtobasket span,
.product a.btn.btn-red span,
.slider .product .addtobasket span {
    display: inline-block !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    line-height: 1 !important;
    margin: 0 !important;
}

.product button.addtobasket img,
.product .addtobasket img {
    display: none !important;
}

.product button.addtobasket:hover,
.product input[type="submit"].addtobasket:hover,
.product .addtobasket:hover,
.product a.btn.btn-red:hover,
.slider .product .addtobasket:hover,
.slider .product button.addtobasket:hover,
.box.slider .product .addtobasket:hover,
.box.slider .product button.addtobasket:hover {
    background-position: 100% 0% !important;
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 8px 24px rgba(4, 187, 255, 0.45) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

.product button.addtobasket:hover::before,
.product input[type="submit"]:hover::before,
.product .addtobasket:hover::before {
    filter: brightness(0) invert(1) !important;
}

.product button.addtobasket:active,
.product input[type="submit"].addtobasket:active,
.product .addtobasket:active,
.product a.btn.btn-red:active,
.slider .product .addtobasket:active,
.box.slider .product .addtobasket:active {
    transform: translateY(0) scale(0.98) !important;
    box-shadow: 0 2px 8px rgba(123, 0, 255, 0.3) !important;
}

/* Disable legacy pseudo-element badges (replaced by .custom-product-badges) */
.product::after,
#box_lastadded .product::after,
#box_bestsellers .product::after,
#box_specialoffer .product::after {
    display: none !important;
    content: none !important;
}


/* --- 6. "POLECANE PRODUKTY" SECTION STYLE --- */
[id^="box_recommendations"],
#box_mainproducts {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 40px 0 !important;
}

[id^="box_recommendations"] .product,
#box_mainproducts .product {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    text-align: center !important;
}

[id^="box_recommendations"] .product .productnamewrap,
#box_mainproducts .product .productnamewrap {
    display: block !important;
    text-align: center !important;
    width: 100% !important;
    margin: 8px auto !important;
}

[id^="box_recommendations"] .product .productname,
#box_mainproducts .product .productname {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    text-align: center !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    height: 38px !important;
    max-height: 38px !important;
    min-height: 38px !important;
    margin: 0 auto !important;
}

[id^="box_recommendations"] .product .price,
#box_mainproducts .product .price {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: baseline !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 8px !important;
    width: 100% !important;
    margin-top: auto !important;
    padding-top: 10px !important;
    border-top: 1px solid #f1f5f9 !important;
    min-height: 34px !important;
    box-sizing: border-box !important;
}

[id^="box_recommendations"] .product .price > div,
#box_mainproducts .product .price > div,
[id^="box_recommendations"] .product .price p,
#box_mainproducts .product .price p {
    display: inline-flex !important;
    align-items: baseline !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 8px !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

[id^="box_recommendations"] .product .price em,
#box_mainproducts .product .price em {
    text-align: center !important;
    display: inline-block !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    color: #04bbff !important;
}

[id^="box_recommendations"] .product .price del,
#box_mainproducts .product .price del {
    text-align: center !important;
    display: inline-block !important;
    margin: 0 !important;
}


/* --- 7. NEWSLETTER SECTION STYLING --- */
#box_newsletter,
.box#box_newsletter,
.custom-newsletter-box {
    background: radial-gradient(circle at 10% 20%, rgba(4, 187, 255, 0.12), transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(123, 0, 255, 0.15), transparent 40%),
                #0b0f24 !important; /* Deep stylish dark navy */
    border-radius: 18px !important;
    padding: 30px 36px !important;
    margin: 20px auto 45px auto !important;
    max-width: 1160px !important;
    width: 100% !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
    box-sizing: border-box !important;
    position: relative !important;
}
#box_newsletter .boxhead, .custom-newsletter-box .boxhead {
    display: none !important; /* Hide old newsletter header */
}
#box_newsletter .innerbox, .custom-newsletter-box .innerbox {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 30px !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
@media (max-width: 980px) {
    #box_newsletter .innerbox, .custom-newsletter-box .innerbox {
        flex-direction: column;
        text-align: center;
    }
}

#box_newsletter .boxintro, .custom-newsletter-box .boxintro {
    flex: 1;
    min-width: 300px;
    font-size: 16px !important;
    color: #ffffff !important;
    font-weight: 500;
    margin: 0 !important;
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 20px;
}
#box_newsletter .boxintro::before, .custom-newsletter-box .boxintro::before {
    content: '' !important;
    display: inline-block !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2304BBFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'%3E%3C/path%3E%3Cpolyline points='22,6 12,13 2,6'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    background-color: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
}
@media (max-width: 980px) {
    #box_newsletter .boxintro, .custom-newsletter-box .boxintro {
        flex-direction: column;
        gap: 10px;
    }
}

#box_newsletter form, .custom-newsletter-box form {
    flex: 1.2;
    max-width: 600px;
    width: 100%;
    margin: 0;
}

#box_newsletter .newsletter-input-container, .custom-newsletter-box .newsletter-input-container {
    display: flex !important;
    align-items: center !important;
    background: rgba(255, 255, 255, 0.07) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 30px !important;
    padding: 6px 6px 6px 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
}
#box_newsletter .newsletter-input-container:focus-within, .custom-newsletter-box .newsletter-input-container:focus-within {
    border-color: #04BBFF !important;
    background: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 0 15px rgba(4, 187, 255, 0.3) !important;
}

#box_newsletter .newsletter-input, .custom-newsletter-box .newsletter-input {
    flex-grow: 1;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    color: #ffffff !important;
    font-size: 14px;
    padding: 10px 15px !important;
    width: 100%;
}
#box_newsletter .newsletter-input::placeholder, .custom-newsletter-box .newsletter-input::placeholder {
    color: rgba(255,255,255,0.4);
}

/* Newsletter consent checkbox */
#box_newsletter .newsletter-consent,
.custom-newsletter-box .newsletter-consent {
    display: block !important;
    margin-top: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
#box_newsletter .newsletter-consent-label,
.custom-newsletter-box .newsletter-consent-label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    cursor: pointer !important;
    margin: 0 !important;
    text-align: left !important;
}
#box_newsletter .newsletter-consent-checkbox,
.custom-newsletter-box .newsletter-consent-checkbox {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    margin-top: 2px !important;
    cursor: pointer !important;
    accent-color: #04bbff !important;
}
#box_newsletter .newsletter-consent-text,
.custom-newsletter-box .newsletter-consent-text {
    font-size: 11.5px !important;
    color: rgba(255, 255, 255, 0.75) !important;
    line-height: 1.4 !important;
    font-weight: 400 !important;
}
#box_newsletter .newsletter-consent-text a,
.custom-newsletter-box .newsletter-consent-text a {
    color: #04bbff !important;
    text-decoration: underline !important;
    transition: color 0.2s ease !important;
}
#box_newsletter .newsletter-consent-text a:hover,
.custom-newsletter-box .newsletter-consent-text a:hover {
    color: #38bdf8 !important;
}

#box_newsletter form fieldset:not(.newsletter-input-container),
.custom-newsletter-box form fieldset:not(.newsletter-input-container) {
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    display: none !important;
}

#box_newsletter .btn-red, #box_newsletter button[type="submit"],
.custom-newsletter-box .btn-red, .custom-newsletter-box button[type="submit"] {
    background: linear-gradient(135deg, #7b00ff, #04BBFF) !important;
    border: none !important;
    color: #ffffff !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    margin: 0 !important;
    box-shadow: 0 4px 15px rgba(123, 0, 255, 0.35) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
}
#box_newsletter button[type="submit"] img,
#box_newsletter button[type="submit"] span,
.custom-newsletter-box button[type="submit"] img,
.custom-newsletter-box button[type="submit"] span {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    font-size: 0 !important;
}
#box_newsletter .btn-red::after, #box_newsletter button[type="submit"]::after,
.custom-newsletter-box .btn-red::after, .custom-newsletter-box button[type="submit"]::after {
    content: '' !important;
    display: block !important;
    width: 19px !important;
    height: 19px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='22' y1='2' x2='11' y2='13'%3E%3C/line%3E%3Cpolygon points='22 2 15 22 11 13 2 9 22 2'%3E%3C/polygon%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    margin: 0 !important;
    position: absolute !important;
    top: 50% !important;
    left: 48% !important;
    transform: translate(-50%, -50%) !important;
}
#box_newsletter .btn-red:hover, #box_newsletter button[type="submit"]:hover,
.custom-newsletter-box .btn-red:hover, .custom-newsletter-box button[type="submit"]:hover {
    opacity: 0.92 !important;
    transform: scale(1.05) !important;
}


/* --- 8. BOTTOM TRUST BAR --- */
.custom-trust-bar {
    background: #f8f9fa;
    padding: 35px 0;
    border-top: 1px solid #e1e4e8;
    border-bottom: 1px solid #e1e4e8;
}

.trust-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
@media (max-width: 980px) {
    .trust-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 220px;
}
.trust-item .trust-icon {
    color: #4a5568;
    width: 32px;
    height: 32px;
    display: block;
    flex-shrink: 0;
}
.trust-item .trust-text {
    display: flex;
    flex-direction: column;
}
.trust-item .trust-text strong {
    font-size: 13px;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 2px;
    text-transform: uppercase;
}
.trust-item .trust-text span {
    font-size: 11px;
    color: #718096;
}


/* --- 9. CUSTOM FOOTER DESIGN --- */
.footer-custom,
footer,
footer.footer-custom {
    background: #070913; /* Elegant deep black-blue footer background */
    color: #ffffff;
    padding: 60px 0 0 0;
    font-family: inherit;
    border-top: 3px solid #7b00ff;
    margin-bottom: 0 !important;
}

.footer-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 28px !important;
    max-width: 1240px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 20px 40px 20px !important;
    box-sizing: border-box !important;
    flex-wrap: nowrap !important;
}

.footer-col {
    flex: 1 !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

.brand-col {
    flex: 1.35 !important;
    min-width: 210px !important;
    max-width: 270px !important;
}

.links-col {
    flex: 1 !important;
    min-width: 140px !important;
}

.contact-col {
    flex: 1.15 !important;
    min-width: 180px !important;
}

@media (max-width: 1024px) {
    .footer-container {
        flex-wrap: wrap !important;
        gap: 32px 20px !important;
    }
    .brand-col {
        flex: 1 1 100% !important;
        max-width: 100% !important;
        margin-bottom: 10px !important;
    }
    .links-col,
    .footer-col {
        flex: 1 1 calc(50% - 20px) !important;
        min-width: 140px !important;
    }
    .contact-col {
        flex: 1 1 calc(50% - 20px) !important;
        min-width: 180px !important;
    }
}

.footer-logo {
    display: block;
    margin-bottom: 20px;
}
.footer-logo img {
    max-height: 40px;
    width: auto;
}

.brand-desc {
    font-size: 13px;
    line-height: 1.6;
    color: #94a3b8;
    margin-bottom: 25px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    background: rgba(255,255,255,0.05);
    color: #ffffff !important;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.2s ease;
    text-decoration: none !important;
    border: 1px solid rgba(255,255,255,0.08);
}
.social-icon:hover {
    background: #7b00ff;
    color: #ffffff !important;
    transform: translateY(-3px);
    border-color: #7b00ff;
}

.footer-title {
    font-size: 14px;
    font-weight: bold;
    color: #ffffff;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}
.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #04BBFF;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links-list li {
    margin-bottom: 12px;
}
.footer-links-list li a {
    color: #94a3b8 !important;
    font-size: 13px;
    line-height: 1.45 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    display: inline-block !important;
    transition: all 0.2s ease;
}
.footer-links-list li a:hover {
    color: #04BBFF !important;
    transform: translateX(4px);
    padding-left: 0 !important;
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}
.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 13px;
    color: #94a3b8;
}
.footer-contact-list li a {
    color: #94a3b8 !important;
    text-decoration: none !important;
    transition: color 0.2s;
}
.footer-contact-list li a:hover {
    color: #04BBFF !important;
}

.contact-icon {
    width: 16px;
    height: 16px;
    color: #04BBFF;
    flex-shrink: 0;
}

.footer-contact-btn {
    display: inline-block;
    background: #ffffff;
    color: #070913 !important;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 10px 25px;
    border-radius: 20px;
    text-decoration: none !important;
    transition: all 0.2s ease;
    border: 1px solid #ffffff;
    letter-spacing: 0.5px;
    text-align: center;
    width: 100%;
    max-width: 180px;
}
.footer-contact-btn:hover {
    background: transparent;
    color: #ffffff !important;
}

/* Footer Copyright Bottom Bar */
.footer-bottom {
    background: #04050a;
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 0 !important;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    flex-wrap: wrap;
    gap: 15px;
}
@media (max-width: 768px) {
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }
}

.copyright {
    font-size: 12px;
    color: #64748b;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}
.footer-bottom-links a {
    color: #64748b !important;
    font-size: 12px;
    text-decoration: none !important;
    transition: color 0.2s;
}
.footer-bottom-links a:hover {
    color: #ffffff !important;
}

/* Back to top button styling */
.up {
    position: fixed !important;
    bottom: 30px !important;
    left: 30px !important;
    right: auto !important;
    width: 46px !important;
    height: 46px !important;
    z-index: 9999 !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(20px) scale(0.8) !important;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.35s ease !important;
}
.up.is-visible,
.up.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) scale(1) !important;
}
/* Reset stylu przycisku "Do góry" */
.up button {
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    line-height: inherit;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

/* Reset stylu przycisku dla lupy w menu mobilnym */
#activ-search button,
.menu-mobile-li.small-search button {
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    line-height: inherit;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.up a,
.up button {
    background: #7b00ff !important;
    color: #ffffff !important;
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(123, 0, 255, 0.4) !important;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    outline: none !important;
}
.up a::before,
.up button::before {
    font-size: 18px !important;
    line-height: 1 !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    width: auto !important;
}
.up a:hover,
.up button:hover {
    background: #04BBFF !important;
    transform: translateY(-3px) scale(1.08) !important;
    box-shadow: 0 6px 20px rgba(4, 187, 255, 0.55) !important;
}
.up a:active,
.up button:active {
    transform: translateY(0) scale(0.95) !important;
    box-shadow: 0 2px 8px rgba(4, 187, 255, 0.4) !important;
}
@media (max-width: 767px) {
    .up {
        bottom: 20px !important;
        left: 20px !important;
    }
}

/* ----------------------------------------------------
   RESPONSIVE DESIGN CORRECTIONS
   ---------------------------------------------------- */
@media (max-width: 980px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    .header-search {
        margin: 10px 0;
        width: 100%;
        max-width: 100%;
    }
    .menu-list {
        justify-content: center;
        height: auto;
        padding: 10px 0;
        flex-wrap: wrap;
        gap: 15px;
    }
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    .hero-title {
        font-size: 38px;
    }
    .hero-features {
        justify-content: center;
    }
}

/* ==========================================================================
   ELEGANT & MODERN CATEGORY PAGE STYLING (PODSTRONA KATEGORII)
   ========================================================================== */

/* 1. Ścieżka nawigacyjna (Breadcrumbs) */
.breadcrumbs,
#breadcrumbs,
.breadcrumbs.large {
    background: #ffffff !important;
    border-bottom: 1px solid #f1f5f9 !important;
    padding: 12px 0 !important;
    margin-bottom: 25px !important;
}

.breadcrumbs .innerbreadcrumbs,
#breadcrumbs .innerbreadcrumbs {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

.breadcrumbs .breadcrumb-home,
.breadcrumbs a,
.breadcrumbs .path a {
    color: #64748b !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    transition: color 0.2s ease !important;
}

.breadcrumbs a:hover,
.breadcrumbs .path a:hover {
    color: #04BBFF !important;
}

.breadcrumbs .path {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.breadcrumbs .path li {
    display: inline-flex !important;
    align-items: center !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #94a3b8 !important;
    font-size: 13px !important;
}

.breadcrumbs .path li .raq {
    margin-right: 8px !important;
    color: #cbd5e1 !important;
    font-size: 14px !important;
}

.breadcrumbs .path li.last span,
.breadcrumbs .path li:last-child span {
    color: #0f172a !important;
    font-weight: 700 !important;
}

/* 2. Filtry górne ("Opcje przeglądania" / #box_filter / #box_productfilter) */
#box_filter,
#box_productfilter,
.category-filters,
.filter.category-filters,
.sort-and-view {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 24px 28px !important;
    margin-bottom: 30px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
    position: relative !important;
    overflow: visible !important;
    z-index: 500 !important;
}

#box_filter .innerbox,
#box_productfilter .innerbox,
#box_filter .dropdown,
#box_productfilter .dropdown,
#box_filter .drop,
#box_productfilter .drop,
#box_filter .options,
#box_productfilter .options,
#box_filter .group,
#box_productfilter .group,
#box_filter .select-custom,
#box_productfilter .select-custom {
    z-index: 1000 !important;
}

#box_filter .boxhead,
#box_productfilter .boxhead,
.category-filters .boxhead {
    border-bottom: 2px solid #f8fafc !important;
    margin-bottom: 20px !important;
    padding-bottom: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: left !important;
}

#box_filter .boxhead span,
#box_productfilter .boxhead span,
.category-filters .boxhead span,
#box_filter .boxhead h3,
#box_productfilter .boxhead h3 {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    letter-spacing: -0.4px !important;
    margin: 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: left !important;
}

#box_filter .innerbox,
#box_productfilter .innerbox,
.category-filters .innerbox {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    align-items: center !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
    overflow: visible !important;
    position: relative !important;
    z-index: 101 !important;
}

/* Pola w opcjach przeglądania (1. Sortowanie, 2. Cena, 3. Producent) */
@media (min-width: 769px) {
    #box_filter .innerbox > .multiselect,
    #box_filter .innerbox > .group,
    #box_filter .innerbox > .group-filter,
    #box_filter .innerbox > div,
    #box_productfilter .innerbox > .multiselect,
    #box_productfilter .innerbox > .group,
    #box_productfilter .innerbox > .group-filter,
    #box_productfilter .innerbox > div {
        flex: 1 1 200px !important;
        min-width: 180px !important;
        max-width: 32% !important;
        width: auto !important;
        margin: 0 !important;
        float: none !important;
        box-sizing: border-box !important;
        position: relative !important;
        overflow: visible !important;
        z-index: 105 !important;
    }
}

@media (max-width: 768px) {
    #box_filter .innerbox > .multiselect,
    #box_filter .innerbox > .group,
    #box_filter .innerbox > .group-filter,
    #box_filter .innerbox > div {
        max-width: 100% !important;
        flex: 1 1 100% !important;
        width: 100% !important;
    }
}

/* Kolejność: 1. Sortowanie (Domyślne) [lewa], 2. Cena [środek], 3. Producent [prawa] */
#box_filter .innerbox > *,
#box_productfilter .innerbox > * {
    order: 10 !important;
}

#box_filter #filter_custom_sort,
#box_filter .group-sort-custom,
#box_productfilter #filter_custom_sort,
#box_productfilter .group-sort-custom {
    order: 1 !important;
    z-index: 30 !important;
}

#box_filter [id*="price"],
#box_filter [data-provider*="Price"],
#box_filter #filter_price,
#box_filter .pricegroup,
#box_productfilter .pricegroup,
#box_productfilter [id*="price"] {
    order: 2 !important;
    z-index: 20 !important;
}

#box_filter [id*="producer"],
#box_filter [id*="producers"],
#box_filter [data-provider*="Producer"],
#box_filter #filter_producer,
#box_filter .producergroup,
#box_productfilter .producergroup,
#box_productfilter [id*="producer"] {
    order: 3 !important;
    z-index: 10 !important;
}

/* Podniesienie aktywnego/otwartego filtra ponad pozostałe przyciski */
#box_filter .innerbox > div:hover,
#box_filter .innerbox > .multiselect:hover,
#box_filter .innerbox > div:focus-within,
#box_filter .innerbox > .multiselect:focus-within,
#box_filter .innerbox > div.selected,
#box_filter .innerbox > .multiselect.selected,
#box_filter .innerbox > div.active-drop,
#box_filter .innerbox > .multiselect.active-drop,
#box_filter .innerbox > div:has(.selected),
#box_filter .innerbox > div:has(.active-drop),
#box_filter .innerbox > div:has([aria-expanded="true"]),
#box_filter .innerbox > .multiselect:has([aria-expanded="true"]),
#box_filter .innerbox > div:has(ul:not([style*="display: none"])),
#box_filter .innerbox > div:has(ul:not([style*="display:none"])),
#box_filter #filter_custom_sort.selected,
#box_filter #filter_custom_sort.active-drop,
#box_productfilter .innerbox > div:hover,
#box_productfilter .innerbox > .multiselect:hover,
#box_productfilter .innerbox > div:focus-within,
#box_productfilter .innerbox > .multiselect:focus-within,
#box_productfilter .innerbox > div.selected,
#box_productfilter .innerbox > .multiselect.selected,
#box_productfilter .innerbox > div.active-drop,
#box_productfilter .innerbox > .multiselect.active-drop {
    z-index: 1000 !important;
}

/* Ukrycie filtrów Nowość i Promocje */
#box_filter [id*="news"],
#box_filter [id*="new"],
#box_filter [data-provider*="New"],
#box_filter [id*="novelties"],
#box_filter [id*="promo"],
#box_filter [id*="promotion"],
#box_filter [data-provider*="Promo"] {
    display: none !important;
}

/* Pigułkowy styl nagłówków filtrów (.multiselect) */
#box_filter .multiselect,
#box_productfilter .multiselect,
#box_filter #filter_custom_sort,
#box_productfilter #filter_custom_sort,
#filter_custom_sort {
    height: 48px !important;
    line-height: 46px !important;
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 24px !important;
    padding: 0 38px 0 20px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    cursor: pointer !important;
    margin: 0 !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-sizing: border-box !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2304BBFF' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 18px center !important;
    background-size: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left !important;
}

#box_filter .multiselect > span,
#box_productfilter .multiselect > span,
#box_filter #filter_custom_sort > span,
#box_filter #filter_custom_sort .sort-title,
#box_productfilter #filter_custom_sort > span,
#box_productfilter #filter_custom_sort .sort-title,
#filter_custom_sort > span,
#filter_custom_sort .sort-title {
    padding: 0 !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    display: inline-block !important;
    width: 100% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: inherit !important;
}

#box_filter .multiselect:hover,
#box_filter .multiselect.selected,
#box_filter .multiselect.active-drop,
#box_productfilter .multiselect:hover,
#box_productfilter .multiselect.selected,
#box_productfilter .multiselect.active-drop,
#box_filter #filter_custom_sort:hover,
#box_filter #filter_custom_sort.selected,
#box_filter #filter_custom_sort.active-drop,
#box_productfilter #filter_custom_sort:hover,
#box_productfilter #filter_custom_sort.selected,
#box_productfilter #filter_custom_sort.active-drop,
#filter_custom_sort:hover,
#filter_custom_sort.selected,
#filter_custom_sort.active-drop {
    border-color: #04BBFF !important;
    background-color: #ffffff !important;
    color: #04BBFF !important;
    box-shadow: 0 4px 16px rgba(4, 187, 255, 0.18) !important;
    transform: translateY(-2px) !important;
}

#box_filter .multiselect:hover > span,
#box_filter .multiselect.selected > span,
#box_filter .multiselect.active-drop > span,
#box_productfilter .multiselect:hover > span,
#box_productfilter .multiselect.selected > span,
#box_productfilter .multiselect.active-drop > span,
#box_filter #filter_custom_sort:hover > span,
#box_filter #filter_custom_sort:hover .sort-title,
#box_filter #filter_custom_sort.selected > span,
#box_filter #filter_custom_sort.selected .sort-title,
#box_filter #filter_custom_sort.active-drop > span,
#box_filter #filter_custom_sort.active-drop .sort-title,
#box_productfilter #filter_custom_sort:hover > span,
#box_productfilter #filter_custom_sort:hover .sort-title,
#box_productfilter #filter_custom_sort.selected > span,
#box_productfilter #filter_custom_sort.selected .sort-title,
#box_productfilter #filter_custom_sort.active-drop > span,
#box_productfilter #filter_custom_sort.active-drop .sort-title,
#filter_custom_sort:hover > span,
#filter_custom_sort:hover .sort-title,
#filter_custom_sort.selected > span,
#filter_custom_sort.selected .sort-title,
#filter_custom_sort.active-drop > span,
#filter_custom_sort.active-drop .sort-title {
    color: #04BBFF !important;
}

/* Rozwijana lista (dropdown) po kliknięciu na filtr */
#box_filter .multiselect ul,
#box_productfilter .multiselect ul,
#box_filter #filter_custom_sort ul,
#box_productfilter #filter_custom_sort ul,
#filter_custom_sort ul,
#filter_custom_sort .sort-dropdown-list {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    min-width: 250px !important;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 18px !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14) !important;
    padding: 16px !important;
    z-index: 99999 !important;
    max-height: 320px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
}

#box_filter .multiselect ul li,
#box_productfilter .multiselect ul li,
#box_filter #filter_custom_sort ul li,
#box_productfilter #filter_custom_sort ul li,
#filter_custom_sort ul li,
#filter_custom_sort .sort-dropdown-list li {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 4px 0 !important;
    border-radius: 8px !important;
    line-height: normal !important;
    background: transparent !important;
}

#box_filter .multiselect ul li a,
#box_productfilter .multiselect ul li a,
#box_filter #filter_custom_sort ul li a,
#box_productfilter #filter_custom_sort ul li a,
#filter_custom_sort ul li a,
#filter_custom_sort .sort-dropdown-list li a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 9px 12px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #334155 !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
}

#box_filter .multiselect ul li a:hover,
#box_filter .multiselect ul li.selected a,
#box_productfilter .multiselect ul li a:hover,
#box_productfilter .multiselect ul li.selected a,
#box_filter #filter_custom_sort ul li a:hover,
#box_filter #filter_custom_sort ul li.selected a,
#box_productfilter #filter_custom_sort ul li a:hover,
#box_productfilter #filter_custom_sort ul li.selected a,
#filter_custom_sort ul li a:hover,
#filter_custom_sort ul li.selected a,
#filter_custom_sort .sort-dropdown-list li a:hover,
#filter_custom_sort .sort-dropdown-list li.selected a {
    background-color: rgba(4, 187, 255, 0.08) !important;
    color: #04BBFF !important;
}

/* Pola wprowadzania ceny (od - do) w dropdownie ceny - nowoczesny, czytelny układ */
#box_filter .multiselect ul li.priceinput,
.group-filter .multiselect ul li.priceinput,
li.priceinput {
    padding: 6px 4px !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    float: none !important;
}

#box_filter .multiselect ul li.priceinput br,
li.priceinput br {
    display: none !important;
}

/* Wiersz z etykietą i polem input */
#box_filter .multiselect ul li.priceinput .price-row,
#box_filter .multiselect ul li.priceinput .fromto-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    width: 100% !important;
}

#box_filter .multiselect ul li.priceinput .fromto,
li.priceinput .fromto {
    display: inline-block !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #475569 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    min-width: 32px !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

#box_filter .multiselect ul li.priceinput input[type="text"],
#box_filter .multiselect ul li.priceinput #filterprice1,
#box_filter .multiselect ul li.priceinput #filterprice2,
li.priceinput input[type="text"],
#filterprice1,
#filterprice2 {
    display: inline-block !important;
    width: calc(100% - 44px) !important;
    height: 38px !important;
    line-height: 38px !important;
    border-radius: 10px !important;
    border: 1.5px solid #e2e8f0 !important;
    background: #f8fafc !important;
    padding: 0 12px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    box-sizing: border-box !important;
    outline: none !important;
    margin: 0 !important;
    float: right !important;
    transition: all 0.2s ease !important;
}

#box_filter .multiselect ul li.priceinput input[type="text"]:focus,
#box_filter .multiselect ul li.priceinput #filterprice1:focus,
#box_filter .multiselect ul li.priceinput #filterprice2:focus,
li.priceinput input:focus,
#filterprice1:focus,
#filterprice2:focus {
    border-color: #04BBFF !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(4, 187, 255, 0.15) !important;
}

#box_filter .multiselect ul li.priceinput .bottombuttons,
li.priceinput .bottombuttons {
    width: 100% !important;
    margin-top: 6px !important;
    padding: 0 !important;
    clear: both !important;
    float: none !important;
}

#box_filter .multiselect ul li.priceinput .btn,
#box_filter .multiselect ul li.priceinput button#filterprice {
    width: 100% !important;
    height: 38px !important;
    background: linear-gradient(135deg, #7b00ff 0%, #04BBFF 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 20px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12) !important;
    transition: all 0.25s ease !important;
}

#box_filter .multiselect ul li.priceinput .btn:hover,
#box_filter .multiselect ul li.priceinput button#filterprice:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.16) !important;
    filter: brightness(1.06) !important;
}

#box_filter .multiselect ul li.priceinput .btn .px1,
#box_filter .multiselect ul li.priceinput .btn img {
    display: none !important;
}

/* Stylizacja filtru sortowania (Domyślne) wewnątrz Opcji Przeglądania - spójna pigułka identyczna z Cena i Producent */
#box_filter #filter_custom_sort,
#box_productfilter #filter_custom_sort,
#filter_custom_sort {
    height: 48px !important;
    line-height: 46px !important;
    background-color: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 24px !important;
    padding: 0 38px 0 20px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    cursor: pointer !important;
    margin: 0 !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-sizing: border-box !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2304BBFF' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 18px center !important;
    background-size: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left !important;
    position: relative !important;
}

#box_filter #filter_custom_sort:hover,
#box_filter #filter_custom_sort.selected,
#box_filter #filter_custom_sort.active-drop,
#box_productfilter #filter_custom_sort:hover,
#box_productfilter #filter_custom_sort.selected,
#box_productfilter #filter_custom_sort.active-drop,
#filter_custom_sort:hover,
#filter_custom_sort.selected,
#filter_custom_sort.active-drop {
    border-color: #04BBFF !important;
    background-color: #ffffff !important;
    color: #04BBFF !important;
    box-shadow: 0 4px 16px rgba(4, 187, 255, 0.18) !important;
    transform: translateY(-2px) !important;
}

#box_filter #filter_custom_sort > span,
#box_filter #filter_custom_sort .sort-title,
#box_productfilter #filter_custom_sort > span,
#box_productfilter #filter_custom_sort .sort-title,
#filter_custom_sort > span,
#filter_custom_sort .sort-title {
    padding: 0 !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    display: inline-block !important;
    width: 100% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: inherit !important;
    transition: color 0.25s ease !important;
}

#box_filter #filter_custom_sort:hover > span,
#box_filter #filter_custom_sort:hover .sort-title,
#box_filter #filter_custom_sort.selected > span,
#box_filter #filter_custom_sort.selected .sort-title,
#box_filter #filter_custom_sort.active-drop > span,
#box_filter #filter_custom_sort.active-drop .sort-title,
#box_productfilter #filter_custom_sort:hover > span,
#box_productfilter #filter_custom_sort:hover .sort-title,
#box_productfilter #filter_custom_sort.selected > span,
#box_productfilter #filter_custom_sort.selected .sort-title,
#box_productfilter #filter_custom_sort.active-drop > span,
#box_productfilter #filter_custom_sort.active-drop .sort-title,
#filter_custom_sort:hover > span,
#filter_custom_sort:hover .sort-title,
#filter_custom_sort.selected > span,
#filter_custom_sort.selected .sort-title,
#filter_custom_sort.active-drop > span,
#filter_custom_sort.active-drop .sort-title {
    color: #04BBFF !important;
}

/* Rozwijana lista sortowania (#filter_custom_sort ul) */
#box_filter #filter_custom_sort ul,
#box_productfilter #filter_custom_sort ul,
#filter_custom_sort ul,
#filter_custom_sort .sort-dropdown-list {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    min-width: 220px !important;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 18px !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14) !important;
    padding: 12px 8px !important;
    z-index: 99999 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    list-style: none !important;
}

#box_filter #filter_custom_sort ul li,
#box_productfilter #filter_custom_sort ul li,
#filter_custom_sort ul li,
#filter_custom_sort .sort-dropdown-list li {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 4px 0 !important;
    border-radius: 8px !important;
    line-height: normal !important;
    background: transparent !important;
}

#box_filter #filter_custom_sort ul li:last-child,
#box_productfilter #filter_custom_sort ul li:last-child,
#filter_custom_sort ul li:last-child {
    margin-bottom: 0 !important;
}

#box_filter #filter_custom_sort ul li a,
#box_productfilter #filter_custom_sort ul li a,
#filter_custom_sort ul li a,
#filter_custom_sort .sort-dropdown-list li a {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 9px 14px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #334155 !important;
    text-decoration: none !important;
    border-radius: 10px !important;
    transition: all 0.2s ease !important;
    background: transparent !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

#box_filter #filter_custom_sort ul li a:hover,
#box_filter #filter_custom_sort ul li.selected a,
#box_productfilter #filter_custom_sort ul li a:hover,
#box_productfilter #filter_custom_sort ul li.selected a,
#filter_custom_sort ul li a:hover,
#filter_custom_sort ul li.selected a,
#filter_custom_sort .sort-dropdown-list li a:hover,
#filter_custom_sort .sort-dropdown-list li.selected a {
    background-color: rgba(4, 187, 255, 0.08) !important;
    color: #04BBFF !important;
    font-weight: 600 !important;
}

#box_filter .sort-and-view,
#box_filter .sortlinks,
#box_filter .form-sort,
#box_productfilter .sort-and-view,
#box_productfilter .sortlinks,
#box_productfilter .form-sort,
#filter_custom_sort .sort-and-view,
#filter_custom_sort .sortlinks,
#filter_custom_sort .form-sort {
    margin: 0 !important;
    width: 100% !important;
    display: block !important;
}

#box_filter .gotourl,
#box_filter select.gotourl,
#box_productfilter .gotourl,
#box_productfilter select.gotourl,
#filter_custom_sort select,
#filter_custom_sort select.gotourl {
    display: block !important;
    width: 100% !important;
    height: 48px !important;
    background-color: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 24px !important;
    padding: 0 38px 0 20px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2304BBFF' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 18px center !important;
    background-size: 14px !important;
    outline: none !important;
    box-sizing: border-box !important;
}

#box_filter .gotourl:hover,
#box_filter .gotourl:focus,
#box_productfilter .gotourl:hover,
#box_productfilter .gotourl:focus,
#filter_custom_sort select:hover,
#filter_custom_sort select:focus {
    background-color: #ffffff !important;
    border-color: #04BBFF !important;
    color: #04BBFF !important;
    box-shadow: 0 4px 16px rgba(4, 187, 255, 0.18) !important;
}

/* Ukrycie oryginalnego kontenera sortowania pod nagłówkiem kategorii, ale NIE gdy jest w #filter_custom_sort */
.centercol .boxhead .sort-and-view:not(#filter_custom_sort .sort-and-view) {
    display: none !important;
}

/* 3. Pasek nagłówka kategorii i sortowanie (.categoryhead / .sort-and-mode) */
.centercol .boxhead,
.categoryhead,
body.shop_product_list .s-grid-9 .boxhead,
body.shop_product_list #center .boxhead,
#box_mainproducts .boxhead {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    position: relative !important;
    z-index: 1 !important;
    gap: 16px !important;
    margin-bottom: 24px !important;
    padding-bottom: 14px !important;
    border-bottom: 2px solid #f1f5f9 !important;
}

.centercol .boxhead h1,
.categoryhead h1,
.category-name,
body.shop_product_list .s-grid-9 .boxhead h1,
body.shop_product_list #center .boxhead h1,
#box_mainproducts .boxhead h1,
#box_mainproducts .category-name {
    font-size: 26px !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    letter-spacing: -0.6px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: left !important;
    display: block !important;
    width: 100% !important;
}

/* Sortowanie po lewej stronie */
.sort-and-view,
.sort-and-mode,
.centercol .sort-and-mode,
.sortlinks {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 12px auto 0 0 !important; /* aligned to the left */
    position: relative !important;
    left: 0 !important;
    right: auto !important;
}

.sort-and-mode select,
.sortlinks select,
.form-sort select,
.sort-and-view select,
.gotourl {
    height: 42px !important;
    background-color: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 22px !important;
    padding: 0 36px 0 16px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2304BBFF' stroke-width='2.2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 14px !important;
}

.sort-and-mode select:hover,
.sort-and-mode select:focus,
.sortlinks select:hover,
.sortlinks select:focus,
.form-sort select:hover,
.gotourl:hover,
.gotourl:focus {
    border-color: #04BBFF !important;
    color: #04BBFF !important;
    outline: none !important;
    box-shadow: 0 3px 12px rgba(4, 187, 255, 0.15) !important;
    transform: translateY(-1px) !important;
}

/* 4. Główna siatka produktów w kategorii (Center column) */
.centercol .products.viewphot,
.centercol .products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(235px, 1fr)) !important;
    gap: 24px !important;
    margin: 20px 0 40px 0 !important;
    width: 100% !important;
}

/* Pojedyncza nowoczesna karta produktu */
.centercol .products.viewphot .product,
.centercol .products .product {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    float: none !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    background: #ffffff !important;
    border: 1px solid #eaebf0 !important;
    border-radius: 18px !important;
    padding: 18px !important;
    box-sizing: border-box !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
    min-height: 380px !important;
}

.centercol .products.viewphot .product:hover,
.centercol .products .product:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 16px 36px rgba(4, 187, 255, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    border-color: #04BBFF !important;
}

/* Zdjęcie produktu */
.centercol .products.viewphot .product .prodimage,
.centercol .products .product .boximgsize {
    width: 100% !important;
    height: 190px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 14px !important;
    overflow: hidden !important;
    position: relative !important;
}

.centercol .products.viewphot .product .prodimage img,
.centercol .products .product .boximgsize img {
    max-width: 100% !important;
    max-height: 180px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.centercol .products.viewphot .product:hover .prodimage img,
.centercol .products .product:hover .boximgsize img {
    transform: scale(1.08) !important;
}

/* Tytuł produktu w kategoriach */
.centercol .products.viewphot .product .productnamewrap,
.centercol .products.viewphot .product .productname,
.centercol .products .product .productnamewrap,
.centercol .products .product .productname,
.centercol .products .product .prodname {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    color: #1e293b !important;
    text-decoration: none !important;
    margin: 0 auto 12px auto !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    height: 38px !important;
    max-height: 38px !important;
    width: 100% !important;
    text-align: center !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    word-wrap: normal !important;
    transition: color 0.2s ease !important;
}

.centercol .products.viewphot .product:hover .productname,
.centercol .products .product:hover .productname {
    color: #04BBFF !important;
}

/* Dolna linia ceny i koszyka - wyśrodkowana w kategoriach */
.centercol .products.viewphot .product .price,
.centercol .products .product .price,
.products.viewphot .product .price,
.products .product .price,
#box_mainproducts .product .price {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: baseline !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 8px !important;
    margin-top: auto !important;
    padding-top: 12px !important;
    border-top: 1px solid #f1f5f9 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    min-height: 34px !important;
}

/* Ukrycie napisów "Cena:" oraz zdublowanej ceny regularnej */
.centercol .products.viewphot .product .price > span,
.centercol .products .product .price > span,
.products.viewphot .product .price > span,
.products .product .price > span,
.product .price > span:first-child,
.product .price .price__regular {
    display: none !important;
}

/* Wyśrodkowanie wiersza cen (zwykła oraz promocyjna) */
.centercol .products.viewphot .product .price p,
.centercol .products.viewphot .product .price p.promo-price-row,
.centercol .products .product .price p,
.centercol .products .product .price p.promo-price-row,
.products.viewphot .product .price p,
.products.viewphot .product .price p.promo-price-row,
.products .product .price p,
.products .product .price p.promo-price-row,
.centercol .products.viewphot .product .price > div,
.centercol .products .product .price > div,
.products .product .price > div {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: baseline !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 8px !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

.centercol .products.viewphot .product .price em,
.centercol .products .product .price em,
.products.viewphot .product .price em,
.products .product .price em,
.product .price em {
    font-size: 19px !important;
    font-weight: 900 !important;
    color: #04BBFF !important;
    font-style: normal !important;
    letter-spacing: -0.3px !important;
    text-align: center !important;
    display: inline-block !important;
    margin: 0 !important;
    float: none !important;
}

/* Category Listing - RED PROMO PRICE */
.centercol .products.viewphot .product .price em.color,
.centercol .products.viewphot .product .price em.promo-price,
.centercol .products .product .price em.color,
.centercol .products .product .price em.promo-price,
.products.viewphot .product .price em.color,
.products.viewphot .product .price em.promo-price,
.products .product .price em.color,
.products .product .price em.promo-price {
    color: #ef4444 !important;
    font-weight: 900 !important;
}

.centercol .products.viewphot .product .price del,
.centercol .products.viewphot .product .price .promo-old-price,
.centercol .products.viewphot .product .price span.promo-old-price,
.centercol .products .product .price del,
.centercol .products .product .price .promo-old-price,
.products.viewphot .product .price del,
.products.viewphot .product .price .promo-old-price,
.products .product .price del,
.products .product .price .promo-old-price {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #94a3b8 !important;
    text-decoration: line-through !important;
    margin: 0 !important;
    text-align: center !important;
    display: inline-block !important;
    float: none !important;
}

.centercol .products.viewphot .product .price .price__omnibus,
.products.viewphot .product .price .price__omnibus,
.products .product .price .price__omnibus {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    margin: 4px auto 0 auto !important;
    font-size: 11.5px !important;
    color: #94a3b8 !important;
    float: none !important;
}

/* Przycisk koszyka na karcie w kategoriach */
.centercol .products.viewphot .product form.basket,
.centercol .products .product form.basket {
    width: 100% !important;
    margin: 10px 0 0 0 !important;
}

.centercol .products.viewphot .product .addtobasket,
.centercol .products .product .addtobasket,
.centercol .products.viewphot .product button.addtobasket {
    width: 100% !important;
    max-width: 100% !important;
    height: 44px !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #7b00ff 0%, #04BBFF 50%, #7b00ff 100%) !important;
    background-size: 200% 100% !important;
    background-position: 0% 0% !important;
    color: #ffffff !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(123, 0, 255, 0.28) !important;
    padding: 0 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    transition: background-position 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s ease, box-shadow 0.25s ease !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    position: static !important;
    line-height: 1 !important;
}

.centercol .products.viewphot .product .addtobasket:hover,
.centercol .products .product .addtobasket:hover,
.centercol .products.viewphot .product button.addtobasket:hover {
    background-position: 100% 0% !important;
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 8px 24px rgba(4, 187, 255, 0.45) !important;
    border-color: transparent !important;
    color: #ffffff !important;
}

.centercol .products.viewphot .product .addtobasket:active,
.centercol .products .product .addtobasket:active,
.centercol .products.viewphot .product button.addtobasket:active {
    transform: translateY(0) scale(0.98) !important;
    box-shadow: 0 2px 8px rgba(123, 0, 255, 0.3) !important;
}

/* 5. Lewy sidebar (.leftcol / aside) */
.leftcol,
.leftcol.s-grid-3 {
    box-sizing: border-box !important;
}

/* Każdy boks w sidebarze jako nowoczesna biała karta */
.leftcol .box {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 18px 20px !important;
    margin-bottom: 24px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
    overflow: hidden !important;
}

/* === KL-SIDEBAR-EMPTY-BOX-FIX START: Całkowite ukrycie pustych boksów, boksów XHR i bannerów bez zawartości === */
.box-xhr,
.leftcol .box-xhr,
.leftcol .box-xhr.box {
    display: none !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Pokaż .box-xhr tylko gdy faktycznie załadował boks z zawartością */
.box-xhr:has(.boxhead, .product, .innerbox, .slider, .productlist),
.leftcol .box-xhr:has(.boxhead, .product, .innerbox, .slider, .productlist) {
    display: block !important;
    height: auto !important;
    max-height: none !important;
    margin-bottom: 24px !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Jeśli .box-xhr jest wrapperem dla wewnętrznego .box (np. #box_recent), sam wrapper pozostaje przezroczysty */
.leftcol .box-xhr:has(> .box) {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    margin-bottom: 24px !important;
}

/* Ukrycie każdego pustego boksu w sidebarze */
.leftcol .box:empty,
.leftcol .box:not(:has(*)),
.leftcol .box:not(:has(img, a, input, form, p, ul, ol, div, span, h1, h2, h3, h4, h5, h6)),
.leftcol .box_banner:empty,
.leftcol .box_banner:not(:has(img, a, object, embed)),
.leftcol .box_banner:has(a[style*="display: none"]:only-child),
.leftcol .box_banner:has(a[style*="display:none"]:only-child),
.leftcol .box:has(> :only-child:empty),
.box:empty,
.box-xhr:empty {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
/* === KL-SIDEBAR-EMPTY-BOX-FIX END === */

.leftcol .box .boxhead,
.leftcol .boxhead {
    font-size: 14px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    color: #0f172a !important;
    margin: 0 0 14px 0 !important;
    padding-bottom: 10px !important;
    border-bottom: 2px solid #f1f5f9 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.leftcol .box .boxhead span,
.leftcol .boxhead span,
.leftcol .box .boxhead h3,
.leftcol .boxhead h3 {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ====================================================
   KL-CATEGORY-SOLVER-CARD: Karta Solver 3D w lewym sidebarze
   ==================================================== */
.leftcol .box.kl-category-solver-promo-box,
.kl-category-solver-promo-box {
    background: linear-gradient(135deg, #091224 0%, #1c2541 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px !important;
    padding: 22px 18px !important;
    color: #ffffff !important;
    text-align: left !important;
    box-shadow: 0 8px 24px rgba(9, 18, 36, 0.18) !important;
    margin-bottom: 24px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

.kl-category-solver-promo-box .kl-solver-promo-badge {
    display: inline-block !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
    background: rgba(56, 189, 248, 0.15) !important;
    border: 1px solid rgba(56, 189, 248, 0.3) !important;
    color: #38bdf8 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    margin-bottom: 10px !important;
    line-height: 1.2 !important;
}

.leftcol .box.kl-category-solver-promo-box h3.kl-solver-promo-title,
.kl-category-solver-promo-box .kl-solver-promo-title {
    margin: 0 0 8px 0 !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 1.3 !important;
    text-align: left !important;
    border: none !important;
    padding: 0 !important;
}

.kl-category-solver-promo-box .kl-solver-promo-desc {
    margin: 0 0 14px 0 !important;
    font-size: 12.5px !important;
    color: #cbd5e1 !important;
    line-height: 1.5 !important;
    text-align: left !important;
}

.kl-category-solver-promo-box .kl-solver-promo-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 9px 18px !important;
    background: #0284c7 !important;
    color: #ffffff !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    border-radius: 9px !important;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.35) !important;
    transition: background 0.15s ease, transform 0.15s ease !important;
}

.kl-category-solver-promo-box .kl-solver-promo-btn:hover {
    background: #0369a1 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    transform: translateY(-1px) !important;
}

/* Drzewo kategorii w lewym sidebarze (#box_menu) */
.leftcol #box_menu .innerbox,
.leftcol #box_menu ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.leftcol #box_menu li {
    list-style: none !important;
    margin-bottom: 3px !important;
    padding: 0 !important;
    border: none !important;
}

.leftcol #box_menu li a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 9px 12px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    text-decoration: none !important;
    border-radius: 10px !important;
    transition: all 0.2s ease !important;
}

.leftcol #box_menu li a:hover {
    background-color: #f1f5f9 !important;
    color: #04BBFF !important;
    padding-left: 16px !important;
}

/* Aktywna kategoria */
.leftcol #box_menu li.current > a,
.leftcol #box_menu li.active > a {
    background: linear-gradient(90deg, rgba(4, 187, 255, 0.12), rgba(123, 0, 255, 0.04)) !important;
    color: #0284c7 !important;
    font-weight: 800 !important;
    border-left: 3px solid #04BBFF !important;
    border-radius: 0 10px 10px 0 !important;
}

/* Podkategorie (2x2x2, 3x3x3, 4x4x4...) */
.leftcol #box_menu li.has-submenu > a {
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative !important;
}

.leftcol #box_menu li .toggle-submenu {
    font-size: 12px !important;
    color: #64748b !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease !important;
    margin-left: 8px !important;
    padding: 4px 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
}

.leftcol #box_menu li.expanded > a .toggle-submenu,
.leftcol #box_menu li.expanded > .toggle-submenu {
    transform: rotate(180deg) !important;
    color: #04BBFF !important;
}

.leftcol #box_menu li ul {
    padding-left: 12px !important;
    margin: 4px 0 6px 8px !important;
    border-left: 2px solid #e2e8f0 !important;
    transition: all 0.3s ease !important;
}

.leftcol #box_menu li ul li a {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #64748b !important;
    padding: 6px 10px !important;
}

.leftcol #box_menu li ul li a:hover {
    color: #04BBFF !important;
    background: #f8fafc !important;
}

/* Moduły produktowe i slidery w lewym sidebarze (Nowości, Bestsellery, Zestawy) */
.leftcol .products,
.leftcol .products.viewphot,
.leftcol .productlist,
.leftcol .slider-wrapper {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    height: auto !important;
}

.leftcol .box.slider {
    position: relative !important;
    overflow: visible !important;
}

.leftcol .box.slider .innerbox {
    overflow: hidden !important;
    position: relative !important;
    width: 100% !important;
    height: auto !important;
}

.leftcol .box.slider .slider-wrap {
    display: block !important;
    position: relative !important;
    white-space: nowrap !important;
    font-size: 0 !important;
    margin: 0;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
    transition: height 0.3s ease;
}

.leftcol .product:not(.slider .product):not(.slider-wrap .product),
.leftcol .products .product:not(.slider .product):not(.slider-wrap .product),
.leftcol .products.viewphot .product:not(.slider .product):not(.slider-wrap .product) {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    float: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: space-between !important;
    text-align: left !important;
    padding: 16px 12px !important;
    margin: 0 0 14px 0 !important;
    background: #ffffff !important;
    border: 1px solid #eef1f6 !important;
    border-radius: 14px !important;
    box-sizing: border-box !important;
    min-height: unset !important;
    height: auto !important;
    position: relative !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.25s ease !important;
}

.leftcol .slider .product,
.leftcol .box.slider .product,
.leftcol .slider .slider-wrap .product,
.leftcol .box.slider .slider-wrap .product,
.rightcol .slider .product,
.rightcol .box.slider .product,
.rightcol .slider .slider-wrap .product,
.rightcol .box.slider .slider-wrap .product,
.shop_basket .leftcol .slider .product,
.shop_basket .leftcol .box.slider .product {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: space-between !important;
    vertical-align: top !important;
    white-space: normal !important;
    font-size: 14px !important;
    margin: 0 !important;
    padding: 16px 12px !important;
    background: #ffffff !important;
    border: 1px solid #eef1f6 !important;
    border-radius: 14px !important;
    box-sizing: border-box !important;
    min-height: unset !important;
    position: relative !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02) !important;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease !important;
    width: 100%;
    max-width: 100%;
    min-width: 0 !important;
}

.leftcol .product:hover {
    background: #ffffff !important;
    border-color: #04BBFF !important;
    box-shadow: 0 6px 18px rgba(4, 187, 255, 0.12) !important;
    transform: translateY(-2px) !important;
}

.leftcol .product .boximgsize,
.leftcol .product .prodimage {
    width: 100% !important;
    height: 140px !important;
    min-height: 140px !important;
    max-height: 140px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 10px auto !important;
    position: relative !important;
    overflow: hidden !important;
}

.leftcol .product .boximgsize img,
.leftcol .product .prodimage img {
    max-height: 130px !important;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    display: block !important;
}

.leftcol .product::after {
    display: none !important;
    content: none !important;
}

.leftcol .product .productname,
.leftcol .product .prodname,
.leftcol .product .productnamewrap {
    font-size: 12.5px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    text-decoration: none !important;
    line-height: 1.35 !important;
    margin-bottom: 6px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    height: 34px !important;
    max-height: 34px !important;
    width: 100% !important;
    text-align: center !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    word-wrap: normal !important;
}

.leftcol .product .price {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #04BBFF !important;
    margin-bottom: 6px !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
    border: none !important;
    padding: 0 !important;
}

.leftcol .product .price em {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #04BBFF !important;
    text-align: center !important;
}

.leftcol .product form.basket {
    width: 100% !important;
    margin: 8px auto 0 auto !important;
}

.leftcol .product .addtobasket,
.leftcol .product button.addtobasket {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 38px !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #7b00ff 0%, #04BBFF 50%, #7b00ff 100%) !important;
    background-size: 200% 100% !important;
    background-position: 0% 0% !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border: none !important;
    box-shadow: 0 3px 12px rgba(123, 0, 255, 0.25) !important;
    padding: 0 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    transition: background-position 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s ease, box-shadow 0.25s ease !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    line-height: 1 !important;
}

.leftcol .product .addtobasket span,
.leftcol .product button.addtobasket span {
    display: inline-block !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 800 !important;
}

.leftcol .product .addtobasket:hover,
.leftcol .product button.addtobasket:hover {
    background-position: 100% 0% !important;
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 6px 18px rgba(4, 187, 255, 0.4) !important;
    border-color: transparent !important;
    color: #ffffff !important;
}

.leftcol .product .addtobasket:active,
.leftcol .product button.addtobasket:active {
    transform: translateY(0) scale(0.98) !important;
    box-shadow: 0 2px 6px rgba(123, 0, 255, 0.3) !important;
}

/* Strzałki nawigacji slidera w sidebarze */
.leftcol .slider .slider-nav-left,
.leftcol .slider .slider-nav-right,
.leftcol .box.slider .slider-nav-left,
.leftcol .box.slider .slider-nav-right {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 32px !important;
    height: 32px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12) !important;
    cursor: pointer !important;
    z-index: 10 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    margin: 0 !important;
    opacity: 0.9;
}

.leftcol .slider .slider-nav-left:hover,
.leftcol .slider .slider-nav-right:hover,
.leftcol .box.slider .slider-nav-left:hover,
.leftcol .box.slider .slider-nav-right:hover {
    background: #04BBFF !important;
    border-color: #04BBFF !important;
    color: #ffffff !important;
    opacity: 1 !important;
    transform: translateY(-50%) scale(1.1) !important;
}

.leftcol .slider .slider-nav-left,
.leftcol .box.slider .slider-nav-left {
    left: 4px !important;
}

.leftcol .slider .slider-nav-right,
.leftcol .box.slider .slider-nav-right {
    right: 4px !important;
}

.leftcol .slider .slider-nav-left::before,
.leftcol .box.slider .slider-nav-left::before {
    content: '\f104' !important;
    font-family: FontAwesome !important;
    font-size: 16px !important;
    color: #1e293b !important;
    line-height: 1 !important;
    display: block !important;
}

.leftcol .slider .slider-nav-right::before,
.leftcol .box.slider .slider-nav-right::before {
    content: '\f105' !important;
    font-family: FontAwesome !important;
    font-size: 16px !important;
    color: #1e293b !important;
    line-height: 1 !important;
    display: block !important;
}

.leftcol .slider .slider-nav-left:hover::before,
.leftcol .slider .slider-nav-right:hover::before,
.leftcol .box.slider .slider-nav-left:hover::before,
.leftcol .box.slider .slider-nav-right:hover::before {
    color: #ffffff !important;
}

/* Usunięcie boksu Paczkomaty InPost z całego sklepu */
#box_paczkomaty,
.box_paczkomaty,
.box#box_paczkomaty,
.leftcol #box_paczkomaty,
.leftcol .box_paczkomaty,
[id="box_paczkomaty"] {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

/* Wyszukiwarka w sidebarze */
.leftcol #box_search input[type="text"],
.leftcol .box_search input[type="text"] {
    width: 100% !important;
    height: 40px !important;
    border-radius: 10px !important;
    border: 1.5px solid #e2e8f0 !important;
    background: #f8fafc !important;
    padding: 0 38px 0 14px !important;
    font-size: 13px !important;
    box-sizing: border-box !important;
}

.leftcol #box_search .btn,
.leftcol .box_search .btn {
    position: absolute !important;
    right: 8px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: transparent !important;
    border: none !important;
    color: #64748b !important;
    cursor: pointer !important;
}

/* 5. Okno logowania / Panel użytkownika w sidebarze (#box_loginsmall) */
#box_loginsmall,
.leftcol #box_loginsmall {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 22px !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04) !important;
    margin-bottom: 25px !important;
}

#box_loginsmall .boxhead,
.leftcol #box_loginsmall .boxhead {
    border-bottom: 2px solid #f8fafc !important;
    margin-bottom: 16px !important;
    padding-bottom: 12px !important;
    text-align: left !important;
}

#box_loginsmall .boxhead span,
.leftcol #box_loginsmall .boxhead span {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
}

#box_loginsmall .innerbox,
.leftcol #box_loginsmall .innerbox {
    padding: 0 !important;
}

/* Stan zalogowany: Powitanie */
#box_loginsmall .hello,
.leftcol #box_loginsmall .hello {
    font-size: 14px !important;
    color: #64748b !important;
    margin: 0 0 16px 0 !important;
    text-align: left !important;
    line-height: 1.4 !important;
}

#box_loginsmall .hello b,
#box_loginsmall .hello strong,
.leftcol #box_loginsmall .hello b {
    color: #0f172a !important;
    font-weight: 800 !important;
    font-size: 15.5px !important;
}

/* Przycisk: Moje konto */
#box_loginsmall a.myaccount,
.leftcol #box_loginsmall a.myaccount {
    width: 100% !important;
    height: 44px !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #04bbff, #009de0) !important;
    color: #ffffff !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(4, 187, 255, 0.3) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    margin-bottom: 10px !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
}

#box_loginsmall a.myaccount:hover,
.leftcol #box_loginsmall a.myaccount:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(4, 187, 255, 0.45) !important;
    filter: brightness(1.05) !important;
}

#box_loginsmall a.myaccount span,
.leftcol #box_loginsmall a.myaccount span {
    color: #ffffff !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
}

/* Przycisk: Wyloguj */
#box_loginsmall a.logout,
.leftcol #box_loginsmall a.logout {
    width: 100% !important;
    height: 40px !important;
    border-radius: 12px !important;
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    color: #ef4444 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    margin-bottom: 0 !important;
    transition: all 0.25s ease !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
}

#box_loginsmall a.logout:hover,
.leftcol #box_loginsmall a.logout:hover {
    background: #fee2e2 !important;
    border-color: #fca5a5 !important;
    color: #dc2626 !important;
    transform: translateY(-1px) !important;
}

#box_loginsmall a.logout span,
.leftcol #box_loginsmall a.logout span {
    color: inherit !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

#box_loginsmall a.logout img,
#box_loginsmall a.myaccount img {
    display: none !important;
}

/* Stan niezalogowany: Pola formularza i przyciski */
#box_loginsmall label,
.leftcol #box_loginsmall label {
    font-size: 12.5px !important;
    font-weight: 700 !important;
    color: #475569 !important;
    margin-bottom: 4px !important;
    display: block !important;
}

#box_loginsmall input[type="text"],
#box_loginsmall input[type="email"],
#box_loginsmall input[type="password"],
.leftcol #box_loginsmall input[type="text"],
.leftcol #box_loginsmall input[type="email"],
.leftcol #box_loginsmall input[type="password"] {
    width: 100% !important;
    height: 42px !important;
    border-radius: 12px !important;
    border: 1.5px solid #e2e8f0 !important;
    background: #f8fafc !important;
    padding: 0 14px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    margin-bottom: 12px !important;
    box-sizing: border-box !important;
    outline: none !important;
    transition: all 0.2s ease !important;
}

#box_loginsmall input:focus,
.leftcol #box_loginsmall input:focus {
    border-color: #04bbff !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(4, 187, 255, 0.15) !important;
}

#box_loginsmall .btn.login,
#box_loginsmall button[type="submit"],
.leftcol #box_loginsmall .btn.login,
.leftcol #box_loginsmall button[type="submit"] {
    width: 100% !important;
    height: 44px !important;
    background: linear-gradient(135deg, #04bbff, #009de0) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 13.5px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-radius: 12px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    margin-top: 4px !important;
    margin-bottom: 12px !important;
    box-shadow: 0 4px 14px rgba(4, 187, 255, 0.3) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#box_loginsmall .btn.login:hover,
#box_loginsmall button[type="submit"]:hover,
.leftcol #box_loginsmall .btn.login:hover,
.leftcol #box_loginsmall button[type="submit"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(4, 187, 255, 0.45) !important;
    filter: brightness(1.05) !important;
}

#box_loginsmall a.remind,
#box_loginsmall a.register,
.leftcol #box_loginsmall a.remind,
.leftcol #box_loginsmall a.register {
    font-size: 12.5px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    text-decoration: none !important;
    display: block !important;
    margin-bottom: 6px !important;
    text-align: left !important;
    transition: color 0.2s ease !important;
}

#box_loginsmall a.remind:hover,
#box_loginsmall a.register:hover,
.leftcol #box_loginsmall a.remind:hover,
.leftcol #box_loginsmall a.register:hover {
    color: #04bbff !important;
    text-decoration: underline !important;
}

/* 6. Paginacja (.paginator) - idealnie okrągłe przyciski bez kresek */
.paginator,
.pagination,
.floatcenterwrap .paginator {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 45px auto 25px auto !important;
    padding: 0 !important;
    list-style: none !important;
}

.paginator li,
.pagination li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
}

/* Ukrycie separatorów i kresek pionowych w paginacji */
.paginator .sep,
.pagination .sep,
.paginator .stick,
.pagination .stick,
.paginator li.stick,
.paginator li.has-stick,
.paginator li:empty,
.pagination li:empty {
    display: none !important;
    content: none !important;
}

.paginator li::before,
.paginator li::after,
.pagination li::before,
.pagination li::after {
    display: none !important;
    content: none !important;
}

.paginator a,
.paginator span,
.pagination a,
.pagination span,
.paginator .selected,
.paginator li a,
.paginator li span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    padding: 0 !important;
    margin: 0 3px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    color: #334155 !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03) !important;
    box-sizing: border-box !important;
    line-height: normal !important;
}

.paginator a:hover,
.pagination a:hover,
.paginator li a:hover {
    background: #f8fafc !important;
    border-color: #04BBFF !important;
    color: #04BBFF !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(4, 187, 255, 0.2) !important;
}

.paginator .selected span,
.paginator .selected,
.paginator .active a,
.pagination .active a,
.pagination .selected,
.paginator li.selected span,
.paginator li.selected a {
    background: linear-gradient(135deg, #7b00ff 0%, #04BBFF 100%) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 14px rgba(4, 187, 255, 0.35) !important;
}

/* ==========================================================================
   MODAL / POPUP DODANIA DO KOSZYKA NA ŚRODKU EKRANU
   ========================================================================== */
.modal,
.modal.modal-visible,
#box_productdeliveries.modal,
.modal.modal-shipping {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;
    width: 92% !important;
    max-width: 780px !important;
    min-width: 320px !important;
    min-height: auto !important;
    height: auto !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    background: #ffffff !important;
    border-radius: 24px !important;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.35), 0 0 1px rgba(0,0,0,0.15) !important;
    border: 1px solid #eef1f6 !important;
    padding: 32px 36px !important;
    z-index: 100005 !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
}

.modal.modal-not-visible,
.modal.none,
.modal.modal-hidden {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Nagłówek modala */
.modal-header,
.modal .modal-header {
    background: transparent !important;
    padding: 0 0 18px 0 !important;
    border-bottom: 2px solid #f1f5f9 !important;
    margin-bottom: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    color: #0f172a !important;
    width: 100% !important;
    flex-shrink: 0 !important;
}

.modal-header h3,
.modal .modal-header h3,
.modal .modal-header > * {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.modal .modal-header .modal-close,
.modal-header .modal-close,
.modal-close {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
    border-radius: 50% !important;
    background: #f1f5f9 !important;
    border: 1.5px solid #e2e8f0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    color: transparent !important;
    font-size: 0 !important;
    transition: all 0.2s ease !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-basis: auto !important;
    position: relative !important;
    box-sizing: border-box !important;
    text-indent: -9999px !important;
    overflow: hidden !important;
}

.modal .modal-header .modal-close::before,
.modal-header .modal-close::before,
.modal-close::before,
.modal .modal-header .modal-close::after,
.modal-header .modal-close::after,
.modal-close::after {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 14px !important;
    height: 2px !important;
    background-color: #64748b !important;
    border-radius: 2px !important;
    text-indent: 0 !important;
    display: block !important;
    transition: background-color 0.2s ease !important;
}

.modal .modal-header .modal-close::before,
.modal-header .modal-close::before,
.modal-close::before {
    transform: translate(-50%, -50%) rotate(45deg) !important;
}

.modal .modal-header .modal-close::after,
.modal-header .modal-close::after,
.modal-close::after {
    transform: translate(-50%, -50%) rotate(-45deg) !important;
}

.modal-close:hover {
    background: #e2e8f0 !important;
    transform: scale(1.08) !important;
}

.modal-close:hover::before,
.modal-close:hover::after {
    background-color: #0f172a !important;
}

/* Ciało modala */
.modal-body,
.modal .modal-body {
    padding: 0 !important;
    margin: 0 0 24px 0 !important;
    width: 100% !important;
    overflow: visible !important;
    display: block !important;
}

/* Kontener produktu i podsumowania koszyka */
.ajax-basket-container,
.modal .ajax-basket-container {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 24px !important;
    align-items: stretch !important;
    width: 100% !important;
    position: static !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
    transform: none !important;
}

@media (max-width: 680px) {
    .ajax-basket-container,
    .modal .ajax-basket-container {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}

/* Blok dodanego produktu */
.modal .ajax-basket-container .ajax-product-block {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 18px !important;
    background: #f8fafc !important;
    border-radius: 18px !important;
    padding: 18px !important;
    border: 1.5px solid #eef1f6 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}

.modal .ajax-basket-container .ajax-product-block img {
    max-height: 120px !important;
    min-height: 80px !important;
    max-width: 110px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    padding: 6px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
    border: 1px solid #f1f5f9 !important;
    flex-shrink: 0 !important;
    float: none !important;
    margin: 0 !important;
}

.modal .ajax-basket-container .ajax-product-block .ajax-product-block-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    flex-grow: 1 !important;
    text-align: left !important;
}

.modal .ajax-basket-container .ajax-product-block .ajax-product-block-info h3 {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin: 0 !important;
    line-height: 1.35 !important;
    max-width: 100% !important;
}

.modal .ajax-basket-container .ajax-product-block .ajax-product-block-info span {
    font-size: 14px !important;
    color: #64748b !important;
    line-height: 1.4 !important;
    margin: 0 !important;
}

.modal .ajax-basket-container .ajax-product-block .ajax-product-block-info span strong {
    color: #04BBFF !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    margin-left: 4px !important;
}

/* Blok stanu koszyka (ilość + wartość) */
.ajax-cart-block,
.modal .ajax-basket-container .ajax-cart-block {
    position: static !important;
    background: #f8fafc !important;
    border-radius: 18px !important;
    padding: 22px 24px !important;
    border: 1.5px solid #eef1f6 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 12px !important;
    margin: 0 !important;
    transform: none !important;
    box-shadow: none !important;
    min-height: auto !important;
    max-height: none !important;
}

.modal .ajax-basket-container .ajax-cart-block span {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    font-size: 14.5px !important;
    color: #475569 !important;
    font-weight: 600 !important;
    margin: 0 !important;
    line-height: 1.4 !important;
    border-bottom: 1px dashed #e2e8f0 !important;
    padding-bottom: 8px !important;
}

.modal .ajax-basket-container .ajax-cart-block span:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.modal .ajax-basket-container .ajax-cart-block span strong {
    font-size: 18px !important;
    color: #04BBFF !important;
    font-weight: 900 !important;
    margin-left: 8px !important;
}

/* Stopka modala z przyciskami */
.modal-footer,
.modal .modal-footer {
    padding: 20px 0 16px 0 !important;
    margin: 0 !important;
    border-top: 2px solid #f1f5f9 !important;
    display: flex !important;
    width: 100% !important;
    flex-shrink: 0 !important;
    overflow: visible !important;
}

.modal-footer .ajax-product-block,
.modal .modal-footer .ajax-product-block {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 16px !important;
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    padding: 0 0 14px 0 !important;
    margin: 0 !important;
    overflow: visible !important;
}

@media (max-width: 600px) {
    .modal-footer .ajax-product-block,
    .modal .modal-footer .ajax-product-block,
    .modal-footer,
    .modal .modal-footer {
        flex-direction: column-reverse !important;
        gap: 12px !important;
    }
}

/* Przycisk Kontynuuj zakupy w modalu */
.modal .btn,
.modal a.continue,
.modal button.continue,
.modal .modal-close-btn,
.modal-footer .ajax-product-block a.btn:not(.btn-red),
.modal .modal-footer .btn:not(.btn-red) {
    background: #f1f5f9 !important;
    border: 1.5px solid #e2e8f0 !important;
    color: #475569 !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 13px 28px !important;
    border-radius: 30px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-align: left !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 !important;
    width: auto !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
    margin: 0 !important;
}

.modal .btn:hover,
.modal a.continue:hover,
.modal-footer .ajax-product-block a.btn:not(.btn-red):hover,
.modal .modal-footer .btn:not(.btn-red):hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
}

/* Przycisk Przejdź do koszyka / Do kasy w modalu */
.modal .btn-red,
.modal .btn.btn-red,
.modal a[href*="basket"],
.modal button.forward,
.modal .btn.forward,
.modal-footer .ajax-product-block a.btn.btn-red,
.modal .modal-footer .btn.btn-red {
    background: linear-gradient(135deg, #7b00ff 0%, #04BBFF 100%) !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    padding: 14px 32px !important;
    border-radius: 30px !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 
        0 4px 14px rgba(123, 0, 255, 0.28),
        0 8px 22px rgba(4, 187, 255, 0.24),
        0 12px 32px rgba(123, 0, 255, 0.16),
        0 16px 42px rgba(4, 187, 255, 0.12) !important;
    text-align: left !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1.2 !important;
    width: auto !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
    margin: 0 !important;
}

.modal .btn-red:hover,
.modal a[href*="basket"]:hover,
.modal button.forward:hover,
.modal-footer .ajax-product-block a.btn.btn-red:hover,
.modal .modal-footer .btn.btn-red:hover {
    transform: translateY(-2px) !important;
    box-shadow: 
        0 6px 18px rgba(123, 0, 255, 0.36),
        0 12px 28px rgba(4, 187, 255, 0.32),
        0 18px 40px rgba(123, 0, 255, 0.22),
        0 22px 50px rgba(4, 187, 255, 0.15) !important;
    filter: brightness(1.05) !important;
    color: #ffffff !important;
}

/* Przyciemniający overlay tła */
.mask,
.modal-overlay {
    background: rgba(5, 12, 30, 0.65) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    z-index: 10000 !important;
}

/* Responsywność strony kategorii */
@media (max-width: 980px) {
    .centercol .products.viewphot,
    .centercol .products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
}

@media (max-width: 600px) {
    .centercol .products.viewphot,
    .centercol .products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    .centercol .products.viewphot .product,
    .centercol .products .product {
        padding: 12px !important;
        min-height: 310px !important;
    }
    
    .centercol .products.viewphot .product .prodimage,
    .centercol .products .product .boximgsize {
        height: 135px !important;
    }
    
    .centercol .products.viewphot .product .price em,
    .centercol .products .product .price em {
        font-size: 16px !important;
    }
}
/* --- END OF CUSTOM SHOPER THEME STYLES --- */

/* =========================================
   ALERTS
========================================= */
.alert {
    position: relative !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1) !important;
    border: none !important;
    padding: 16px 110px !important;
    font-weight: 600 !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
    width: 100% !important;
}


/* Note: Login page styles consolidated in MODERN LOGIN & REGISTER PAGE section */
/* Note: Register page styles consolidated in REGISTER PAGE — Full Modern Styling section above */

/* =======================================================
   ALL SUBPAGES MODERN UI PACK (KOSTKOLAND)
   ======================================================= */

/* -------------------------------------------------------
   1. GLOBAL SUBPAGE CARD BASE
   ------------------------------------------------------- */
#box_article,
.box_infopage,
#box_orders,
#box_order,
#box_favourites,
#box_404,
#box_passremind,
#box_basketshipping,
#box_basketsummary,
#box_basketfinal,
#box_articlelist,
#box_news {
    background: #ffffff !important;
    border-radius: 24px !important;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08) !important;
    border: 1px solid #f1f5f9 !important;
    margin: 40px auto 20px auto !important;
    max-width: 1200px !important;
    overflow: hidden !important;
}

#box_contact .innerbox,
#box_article .innerbox,
.box_infopage .innerbox,
#box_orders .innerbox,
#box_order .innerbox,
#box_favourites .innerbox,
#box_404 .innerbox,
#box_passremind .innerbox,
#box_basketshipping .innerbox,
#box_basketsummary .innerbox,
#box_basketfinal .innerbox,
#box_articlelist .innerbox,
#box_news .innerbox {
    padding: 40px !important;
}

/* Common Headings on all Subpages */
#box_contact .boxhead,
#box_article .boxhead,
.box_infopage .boxhead,
#box_orders .boxhead,
#box_404 .boxhead,
#box_passremind .boxhead,
#box_basketshipping .boxhead,
#box_basketsummary .boxhead,
#box_basketfinal .boxhead,
#box_articlelist .boxhead,
#box_news .boxhead {
    background: transparent !important;
    border-bottom: 2px solid #f1f5f9 !important;
    padding: 24px 40px 18px 40px !important;
    margin: 0 !important;
}

#box_contact .boxhead h3,
#box_contact .boxhead span,
#box_article .boxhead h3,
#box_article .boxhead span,
.box_infopage .boxhead span,
#box_orders .boxhead span,
#box_404 .boxhead h3,
#box_passremind .boxhead span,
#box_basketfinal .boxhead span {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
}

#box_contact .boxhead img,
#box_article .boxhead img,
.box_infopage .boxhead img,
#box_orders .boxhead img,
#box_favourites .boxhead img,
#box_404 .boxhead img,
#box_passremind .boxhead img,
#box_basketfinal .boxhead img {
    display: none !important;
}

/* -------------------------------------------------------
   2. CONTACT PAGE (#box_contact) - NOWOCZESNY I WYCENTROWANY
   ------------------------------------------------------- */
#box_contact {
    max-width: 740px !important;
    margin: 25px auto 20px auto !important;
    background: #ffffff !important;
    border-radius: 20px !important;
    border: 1.5px solid #e2e8f0 !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05) !important;
    overflow: hidden !important;
    text-align: left !important;
    float: none !important;
    clear: both !important;
}

#box_contact .boxhead {
    background: #ffffff !important;
    border-bottom: 1px solid #f1f5f9 !important;
    padding: 24px 30px 18px 30px !important;
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 !important;
}

#box_contact .boxhead h3 {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
    text-align: center !important;
}

#box_contact .boxhead img {
    display: none !important;
}

#box_contact .innerbox {
    padding: 36px 40px 42px 40px !important;
}

#box_contact form {
    width: 100% !important;
    max-width: 660px !important;
    margin: 0 auto !important;
}

#box_contact .f-row::before,
#box_contact .f-row::after {
    display: none !important;
    content: none !important;
}

#box_contact .f-row [class*='grid'] {
    float: none !important;
    margin-left: 0 !important;
}

#box_contact .f-row {
    display: grid !important;
    grid-template-columns: 160px 1fr !important;
    gap: 18px !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin-bottom: 22px !important;
    width: 100% !important;
    float: none !important;
    clear: both !important;
    box-sizing: border-box !important;
}

#box_contact .f-row:has(textarea),
#box_contact .f-row:has(.labe-message) {
    align-items: flex-start !important;
}

#box_contact .f-grid-3,
#box_contact .labe-name,
#box_contact .labe-address,
#box_contact .labe-message {
    width: 100% !important;
    max-width: 160px !important;
    min-width: 0 !important;
    text-align: left !important;
    display: block !important;
    padding: 0 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    float: none !important;
}

#box_contact .labe-message {
    padding-top: 12px !important;
}

#box_contact label {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    text-align: left !important;
    display: block !important;
    width: 100% !important;
    cursor: pointer !important;
}

#box_contact .f-grid-9 {
    width: 100% !important;
    padding: 0 !important;
    text-align: left !important;
    box-sizing: border-box !important;
    float: none !important;
}

#box_contact input[type="text"],
#box_contact input[type="email"] {
    width: 100% !important;
    height: 48px !important;
    border-radius: 12px !important;
    border: 1.5px solid #e2e8f0 !important;
    background: #f8fafc !important;
    padding: 0 16px !important;
    font-size: 14.5px !important;
    font-weight: 500 !important;
    color: #0f172a !important;
    text-align: left !important;
    outline: none !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

#box_contact input[type="text"]::placeholder,
#box_contact input[type="email"]::placeholder,
#box_contact textarea::placeholder {
    color: #94a3b8 !important;
    font-weight: 400 !important;
    text-align: left !important;
}

#box_contact textarea {
    width: 100% !important;
    min-height: 140px !important;
    border-radius: 12px !important;
    border: 1.5px solid #e2e8f0 !important;
    background: #f8fafc !important;
    padding: 14px 16px !important;
    font-size: 14.5px !important;
    font-weight: 500 !important;
    color: #0f172a !important;
    font-family: inherit !important;
    text-align: left !important;
    outline: none !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
    resize: vertical !important;
}

#box_contact input[type="text"]:focus,
#box_contact input[type="email"]:focus,
#box_contact textarea:focus {
    border-color: #04bbff !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(4, 187, 255, 0.12) !important;
}

#box_contact em.color,
#box_contact span.color {
    color: #ef4444 !important;
    font-style: normal !important;
    font-weight: 800 !important;
}

#box_contact ul.error {
    margin: 6px 0 0 0 !important;
    padding: 0 !important;
    list-style: none !important;
    color: #ef4444 !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    text-align: left !important;
}

#box_contact .kl-contact-mandatory,
#box_contact form fieldset > div:not(.f-row):not(.bottombuttons) {
    text-align: center !important;
    margin: 8px auto 22px auto !important;
    width: 100% !important;
    display: block !important;
    color: #64748b !important;
    font-size: 13.5px !important;
}

#box_contact .bottombuttons {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    text-align: center !important;
    margin: 10px auto 0 auto !important;
    float: none !important;
    clear: both !important;
}

#box_contact .bottombuttons .f-grid-12 {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    float: none !important;
}

#box_contact .bottombuttons button.btn,
#box_contact .bottombuttons button.send {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    height: 50px !important;
    min-width: 250px !important;
    padding: 0 32px !important;
    background: #008ecc !important;
    color: #ffffff !important;
    font-size: 15.5px !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 4px 16px rgba(0, 142, 204, 0.35) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.25s ease !important;
    margin: 14px auto 0 auto !important;
}

#box_contact .bottombuttons button.btn:hover,
#box_contact .bottombuttons button.send:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px rgba(4, 187, 255, 0.45) !important;
    background: linear-gradient(135deg, #0099db 0%, #008ecc 100%) !important;
}

/* Kafelki kontaktowe (Góra strony kontaktowej) */
.kl-contact-pillars {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    margin-bottom: 34px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.kl-contact-page .kl-pillar-card {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 18px !important;
    padding: 24px 20px !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    justify-content: flex-start !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    width: auto !important;
    transition: all 0.25s ease !important;
}

.kl-contact-page .kl-pillar-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08) !important;
    border-color: #cbd5e1 !important;
}

.kl-contact-page .kl-pillar-card h3 {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 4px auto 8px auto !important;
    text-align: center !important;
    width: 100% !important;
}

.kl-contact-page .kl-pillar-card p,
.kl-contact-page .kl-pillar-card p a {
    font-size: 15.5px !important;
    font-weight: 700 !important;
    text-align: center !important;
    width: 100% !important;
    display: block !important;
}

/* -------------------------------------------------------
   3. PASSWORD REMINDER (#box_passremind, #box_passchange)
   ------------------------------------------------------- */
#box_passremind,
#box_passchange {
    max-width: 600px !important;
}

#box_passremind .innerbox,
#box_passchange .innerbox {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

#box_passremind form,
#box_passchange form {
    width: 100% !important;
    max-width: 440px !important;
}

#box_passremind label,
#box_passchange label {
    display: block !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #334155 !important;
    margin-bottom: 10px !important;
    text-align: left !important;
}

#box_passremind input[type="text"],
#box_passremind input[type="email"],
#box_passchange input[type="password"] {
    width: 100% !important;
    height: 52px !important;
    border-radius: 12px !important;
    border: 2px solid #e2e8f0 !important;
    background: #f8fafc !important;
    padding: 0 16px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    outline: none !important;
    box-sizing: border-box !important;
    text-align: left !important;
    transition: all 0.25s ease !important;
}

#box_passremind input:focus,
#box_passchange input:focus {
    border-color: #04bbff !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(4, 187, 255, 0.15) !important;
}

#box_passremind .bottombuttons,
#box_passchange .bottombuttons {
    display: flex !important;
    justify-content: center !important;
    margin-top: 24px !important;
}

#box_passremind .bottombuttons .btn,
#box_passchange .bottombuttons .btn.passchange {
    width: 100% !important;
    height: 52px !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #04bbff, #009de0) !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    border: none !important;
    box-shadow: 0 8px 25px rgba(4, 187, 255, 0.35) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

#box_passremind .bottombuttons .btn:hover,
#box_passchange .bottombuttons .btn.passchange:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 30px rgba(4, 187, 255, 0.45) !important;
}

/* =========================================================
   ADDRESSES LIST & EDIT (#box_addresses, #box_address)
   ========================================================= */

#box_addresses,
#box_address {
    background: #ffffff !important;
    border: 1px solid #eaebf0 !important;
    border-radius: 24px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
    overflow: hidden !important;
    max-width: 1160px !important;
    margin: 30px auto 60px auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

#box_addresses .boxhead,
#box_address .boxhead {
    background: #ffffff !important;
    border-bottom: 1px solid #f1f5f9 !important;
    padding: 26px 30px !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

#box_addresses .boxhead span,
#box_addresses .boxhead h1,
#box_addresses .boxhead .boxhead-title,
#box_address .boxhead span,
#box_address .boxhead h1,
#box_address .boxhead .boxhead-title {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #0b0f24 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-align: center !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
}

#box_addresses .boxhead img.px1,
#box_addresses .boxhead img,
#box_address .boxhead img.px1,
#box_address .boxhead img {
    display: none !important;
}

#box_addresses .innerbox,
#box_address .innerbox {
    padding: 36px 30px !important;
}

/* Empty State on Address List */
.kl-empty-state {
    text-align: center !important;
    padding: 40px 20px 20px 20px !important;
    max-width: 540px !important;
    margin: 0 auto !important;
}

.kl-empty-icon {
    width: 76px !important;
    height: 76px !important;
    border-radius: 50% !important;
    background: rgba(4, 187, 255, 0.1) !important;
    color: #04bbff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 32px !important;
    margin: 0 auto 20px auto !important;
}

.kl-empty-state h3 {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 10px 0 !important;
}

.kl-empty-state p {
    font-size: 14.5px !important;
    color: #64748b !important;
    line-height: 1.6 !important;
    margin: 0 0 24px 0 !important;
}

/* Bottom Actions on Address List */
.kl-addresses-bottom-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px !important;
    margin-top: 30px !important;
    flex-wrap: wrap !important;
}

/* Grid of Address Cards */
.kl-addresses-list-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
    gap: 24px !important;
    margin-bottom: 20px !important;
}

.kl-address-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 18px !important;
    padding: 24px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
}

.kl-address-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 26px rgba(4, 187, 255, 0.1) !important;
    border-color: #04bbff !important;
}

.kl-address-badges {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-bottom: 14px !important;
}

.kl-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 5px 12px !important;
    border-radius: 20px !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
}

.kl-badge--billing {
    background: #ecfeff !important;
    color: #0891b2 !important;
    border: 1px solid #cffafe !important;
}

.kl-badge--shipping {
    background: #f0fdf4 !important;
    color: #15803d !important;
    border: 1px solid #dcfce7 !important;
}

.kl-address-card-body p {
    margin: 0 0 6px 0 !important;
    font-size: 14px !important;
    color: #334155 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.kl-address-card-body p.name {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
}

.kl-address-card-body p i {
    color: #04bbff !important;
    font-size: 14px !important;
    width: 16px !important;
    text-align: center !important;
}

.kl-address-card-footer {
    margin-top: 18px !important;
    padding-top: 16px !important;
    border-top: 1px solid #f1f5f9 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.kl-default-triggers {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}

/* Common button styles in addresses list & edit */
#box_addresses .btn,
#box_addresses a.btn,
#box_address .btn,
#box_address button.btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    height: 44px !important;
    padding: 0 24px !important;
    border-radius: 12px !important;
    font-size: 12.5px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-sizing: border-box !important;
    line-height: 1 !important;
}

#box_addresses a.add,
#box_address .btn.save {
    background: linear-gradient(135deg, #7b00ff 0%, #04BBFF 50%, #7b00ff 100%) !important;
    background-size: 200% 100% !important;
    background-position: 0% 0% !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(123, 0, 255, 0.28) !important;
}

#box_addresses a.add:hover,
#box_address .btn.save:hover {
    background-position: 100% 0% !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(4, 187, 255, 0.4) !important;
    color: #ffffff !important;
}

#box_addresses a.undo,
#box_addresses a.default,
#box_addresses a.shipping,
#box_address .btn.undo {
    background: #f8fafc !important;
    color: #475569 !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: none !important;
}

#box_addresses a.undo:hover,
#box_addresses a.default:hover,
#box_addresses a.shipping:hover,
#box_address .btn.undo:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
    transform: translateY(-2px) !important;
}

#box_addresses a.edit {
    background: #eff6ff !important;
    color: #2563eb !important;
    border: 1px solid #dbeafe !important;
}

#box_addresses a.edit:hover {
    background: #2563eb !important;
    color: #ffffff !important;
    border-color: #2563eb !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25) !important;
}

#box_addresses a.remove {
    background: #fff1f2 !important;
    color: #e11d48 !important;
    border: 1px solid #ffe4e6 !important;
}

#box_addresses a.remove:hover {
    background: #e11d48 !important;
    color: #ffffff !important;
    border-color: #e11d48 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25) !important;
}

/* Edit Address Form Table */
#box_address table.address-handler {
    width: 100% !important;
    max-width: 680px !important;
    margin: 0 auto 30px auto !important;
    border-collapse: separate !important;
    border-spacing: 0 14px !important;
}

#box_address table.address-handler td.label {
    width: 220px !important;
    text-align: right !important;
    padding-right: 20px !important;
    vertical-align: middle !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #334155 !important;
}

#box_address table.address-handler td.input {
    vertical-align: middle !important;
}

#box_address input[type="text"],
#box_address select {
    width: 100% !important;
    max-width: 380px !important;
    height: 44px !important;
    padding: 0 16px !important;
    border-radius: 12px !important;
    border: 1.5px solid #e2e8f0 !important;
    font-size: 14px !important;
    color: #0f172a !important;
    background: #f8fafc !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}

#box_address input[type="text"]:focus,
#box_address select:focus {
    border-color: #04bbff !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(4, 187, 255, 0.15) !important;
    outline: none !important;
}

#box_address .bottombuttons {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px !important;
    margin-top: 30px !important;
}

/* -------------------------------------------------------
   6. 404 NOT FOUND PAGE (#box_404)
   ------------------------------------------------------- */
#box_404 {
    max-width: 700px !important;
    text-align: left !important;
}

#box_404 .innerbox {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 60px 40px !important;
}

#box_404 .innerbox p {
    font-size: 16px !important;
    color: #475569 !important;
    line-height: 1.6 !important;
    margin-bottom: 24px !important;
}

#box_404 form {
    width: 100% !important;
    max-width: 460px !important;
    margin: 10px auto 30px auto !important;
}

#box_404 input.fadingtext {
    width: 100% !important;
    height: 52px !important;
    border-radius: 12px !important;
    border: 2px solid #e2e8f0 !important;
    background: #f8fafc !important;
    padding: 0 20px !important;
    font-size: 15px !important;
    text-align: left !important;
    margin-bottom: 14px !important;
    box-sizing: border-box !important;
}

#box_404 input.fadingtext:focus {
    border-color: #04bbff !important;
    background: #ffffff !important;
}

#box_404 button.btn {
    width: 100% !important;
    height: 52px !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #04bbff, #009de0) !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    border: none !important;
    box-shadow: 0 8px 25px rgba(4, 187, 255, 0.35) !important;
    cursor: pointer !important;
}

#box_404 .innerbox a {
    color: #04bbff !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    text-decoration: underline !important;
}

/* -------------------------------------------------------
   7. BASKET FINAL / THANK YOU PAGE (#box_basketfinal)
   ------------------------------------------------------- */
#box_basketfinal:not(:has(.kl-done-wrapper)) {
    max-width: 800px !important;
    text-align: left !important;
}

#box_basketfinal .kl-done-wrapper,
#box_basketfinal .kl-done-hero,
#box_basketfinal .kl-done-title,
#box_basketfinal .kl-done-subtitle {
    text-align: center !important;
}

#box_basketfinal:not(:has(.kl-done-wrapper)) .innerbox {
    padding: 60px 40px !important;
    font-size: 16px !important;
    color: #334155 !important;
    line-height: 1.7 !important;
}

/* Mobile adjustments for subpages */
@media (max-width: 768px) {
    #box_contact .innerbox,
    #box_orders .innerbox,
    #box_favourites .innerbox,
    .box_infopage .innerbox {
        padding: 24px 16px !important;
    }
}

@media (max-width: 500px) {
    #box_contact .f-row {
        grid-template-columns: 120px 1fr !important;
        gap: 12px !important;
    }
    #box_contact .f-grid-3,
    #box_contact .labe-name,
    #box_contact .labe-address,
    #box_contact .labe-message,
    #box_contact label {
        font-size: 13.5px !important;
        max-width: 120px !important;
    }
    #box_contact .labe-message {
        padding-top: 12px !important;
    }
}


/* =======================================================
   PRODUCT BADGES & TAGS (NOWOŚĆ, PROMOCJA, BESTSELLER, ETC.)
   ======================================================= */

.product,
.products .product,
.products.viewphot .product,
.product-main-wrap {
    position: relative !important;
    z-index: 1 !important;
}

/* Badge Container on Product Cards - HORIZONTAL ROW */
.custom-product-badges {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    right: 10px !important;
    z-index: 2 !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 5px !important;
    pointer-events: none !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Base Badge Pill Style */
.custom-product-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 4px 9px !important;
    border-radius: 20px !important;
    font-size: 10.5px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    line-height: 1.2 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
    border: none !important;
    white-space: nowrap !important;
}

/* Specific Badge Color Themes - identyczne gradienty i cienie jak na karcie produktu */
.custom-product-badge--potd,
.custom-category-tag--potd,
.tags li.potd,
.tags .potd {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%) !important;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.35) !important;
    color: #ffffff !important;
}

.custom-product-badge--bestseller,
.custom-category-tag--bestseller,
.tags li.bestseller,
.tags .bestseller {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35) !important;
    color: #ffffff !important;
}

.custom-product-badge--promo,
.custom-category-tag--promo,
.tags li.promo,
.tags .promo {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35) !important;
    color: #ffffff !important;
}

.custom-product-badge--new,
.custom-category-tag--new,
.tags li.new,
.tags .new {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35) !important;
    color: #ffffff !important;
}

.custom-product-badge--maglev,
.custom-category-tag--maglev,
.tags li.maglev,
.tags .maglev {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%) !important;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.35) !important;
    color: #ffffff !important;
}

.custom-product-badge--magnetic,
.custom-category-tag--magnetic,
.tags li.magnetic,
.tags .magnetic {
    background: linear-gradient(135deg, #0052ff 0%, #0038b8 100%) !important;
    box-shadow: 0 4px 12px rgba(0, 82, 255, 0.35) !important;
    color: #ffffff !important;
}

.custom-product-badge--smart,
.custom-category-tag--smart,
.tags li.smart,
.tags .smart {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35) !important;
    color: #ffffff !important;
}

/* Legacy / Default Shoper .tags list fallback - HORIZONTAL ROW */
.tags {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    right: 10px !important;
    z-index: 2 !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
    pointer-events: none !important;
}

.tags li {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 4px 10px !important;
    border-radius: 20px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    line-height: 1.2 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.14) !important;
    border: none !important;
    white-space: nowrap !important;
}


/* ==========================================================================
   NOWE ZADANIA (Kostkoland Enhancements)
   ========================================================================== */

/* === 1. TOP ANNOUNCEMENT BAR (Pasek odliczania do wysyłki na samej górze) === */
.kl-top-announcement-bar {
    background: #0b0f24 !important;
    border-bottom: 1px solid rgba(4, 187, 255, 0.22) !important;
    color: #ffffff !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    padding: 9px 15px !important;
    text-align: center !important;
    position: relative !important;
    z-index: 9999 !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18) !important;
    letter-spacing: 0.2px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}
.kl-top-bar-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
}
.kl-top-bar-icon {
    font-size: 15px !important;
    animation: klPulse 1.8s infinite ease-in-out !important;
}
@keyframes klPulse {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.25); opacity: 1; }
}
.kl-top-bar-text {
    color: #f8fafc !important;
}
.kl-top-bar-timer {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(4px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    padding: 2px 9px !important;
    border-radius: 20px !important;
    color: #38bdf8 !important;
    font-family: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    letter-spacing: 1px !important;
    display: inline-block !important;
    margin: 0 4px !important;
}

/* === 2. Niedostępne produkty na końcu listingów === */
.products.viewphot,
.products.viewfull,
.products.viewdesc,
.centercol .products {
    display: flex !important;
    flex-wrap: wrap !important;
}
.products .product.kl-product-out-of-stock,
.products .product_inactive {
    order: 9999 !important;
    opacity: 0.8 !important;
}
.products .product.kl-product-out-of-stock:hover {
    opacity: 1 !important;
}

/* === 3. Nowoczesny baner cookies (UI spójne ze sklepem) === */
#cookie.kl-cookie-modal {
    position: fixed !important;
    bottom: 24px !important;
    right: 24px !important;
    left: auto !important;
    max-width: 460px !important;
    width: calc(100% - 48px) !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(12px) !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.18), 0 4px 12px rgba(0, 82, 255, 0.08) !important;
    border: 1px solid #e2e8f0 !important;
    padding: 22px 24px !important;
    z-index: 999999 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    animation: klSlideUp 0.4s ease-out !important;
}
@keyframes klSlideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.kl-cookie-inner {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    position: relative !important;
}
.kl-cookie-content {
    display: flex !important;
    align-items: flex-start !important;
    gap: 14px !important;
}
.kl-cookie-icon {
    font-size: 28px !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
}
.kl-cookie-text strong {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    display: block !important;
    margin-bottom: 4px !important;
}
.kl-cookie-text p {
    font-size: 12.5px !important;
    line-height: 1.5 !important;
    color: #64748b !important;
    margin: 0 !important;
}
.kl-cookie-text a {
    color: #0052ff !important;
    text-decoration: underline !important;
    font-weight: 600 !important;
}
.kl-cookie-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 12px !important;
}
.kl-cookie-btn-accept {
    background: linear-gradient(135deg, #04BBFF 0%, #0052ff 100%) !important;
    color: #ffffff !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    padding: 10px 22px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 12px rgba(0, 82, 255, 0.25) !important;
}
.kl-cookie-btn-accept:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(0, 82, 255, 0.35) !important;
}
.kl-cookie-close-x {
    position: absolute !important;
    top: -10px !important;
    right: -10px !important;
    width: 26px !important;
    height: 26px !important;
    background: #f1f5f9 !important;
    color: #64748b !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    font-size: 12px !important;
    transition: all 0.2s ease !important;
}
.kl-cookie-close-x:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}
@media (max-width: 600px) {
    #cookie.kl-cookie-modal {
        bottom: 12px !important;
        right: 12px !important;
        left: 12px !important;
        width: auto !important;
    }
}

/* === 4. Pasek darmowej dostawy w koszyku === */
.kl-free-shipping-bar {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 18px 22px !important;
    margin-bottom: 24px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
}
.kl-fs-header {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 12px !important;
}
.kl-fs-icon {
    font-size: 20px !important;
}
.kl-fs-text {
    font-size: 14.5px !important;
    color: #1e293b !important;
}
.kl-fs-highlight {
    color: #0052ff !important;
    font-weight: 800 !important;
}
.kl-fs-success {
    color: #15803d !important;
    font-weight: 800 !important;
}
.kl-fs-progress-bg {
    width: 100% !important;
    height: 12px !important;
    background: #f1f5f9 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    position: relative !important;
    border: 1px solid #e2e8f0 !important;
}
.kl-fs-progress-fill {
    height: 100% !important;
    background: linear-gradient(90deg, #04BBFF 0%, #0052ff 100%) !important;
    border-radius: 10px !important;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
}
.kl-fs-badge {
    position: absolute !important;
    right: 4px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 9px !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    line-height: 1 !important;
}

/* === 5. Przycisk "Dodaj opinię" na pomarańczowo === */
.kl-btn-review:hover,
#box_productfull .kl-action-btns a[href*="comment"]:hover,
#box_productfull a.addcomment:hover {
    background: #fffbeb !important;
    border-color: #f59e0b !important;
    color: #f59e0b !important;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.25) !important;
    transform: translateY(-2px) !important;
}
.kl-btn-review:hover img,
.kl-btn-review:hover span,
#box_productfull .kl-action-btns a[href*="comment"]:hover span {
    color: #f59e0b !important;
    filter: drop-shadow(0 0 1px #f59e0b) !important;
}

/* === 6. Licznik ulubionych i czerwony hover na serduszku w nagłówku === */
.fav-item .fav-icon-wrapper {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.fav-item .fav-badge {
    position: absolute !important;
    top: -6px !important;
    right: -10px !important;
    background: #ef4444 !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    min-width: 18px !important;
    height: 18px !important;
    border-radius: 9px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 4px !important;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4) !important;
    line-height: 1 !important;
}
.fav-item:hover a img,
.fav-item a:hover img {
    filter: invert(32%) sepia(85%) saturate(2250%) hue-rotate(338deg) brightness(98%) contrast(92%) !important;
    transform: scale(1.15) !important;
    transition: all 0.2s ease !important;
}
.fav-item:hover .icon-label,
.fav-item a:hover .icon-label {
    color: #ef4444 !important;
    transition: color 0.2s ease !important;
}

/* === 7. Jasny, nowoczesny przycisk Zamknij w modalu dodania do koszyka === */
.ajaxbasket {
    border-radius: 20px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15) !important;
}
.ajaxbasket .bottombuttons button:not(.important),
.ajaxbasket .close,
.modal.modal-shipping .modal-close {
    background: #f1f5f9 !important;
    color: #334155 !important;
    border: 1px solid #cbd5e1 !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    padding: 10px 20px !important;
    transition: all 0.2s ease !important;
    text-shadow: none !important;
    box-shadow: none !important;
}
.ajaxbasket .bottombuttons button:not(.important):hover,
.ajaxbasket .close:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
    border-color: #94a3b8 !important;
}
.ajaxbasket .bottombuttons .important {
    background: linear-gradient(135deg, #04BBFF 0%, #0052ff 100%) !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 14px rgba(0, 82, 255, 0.25) !important;
    border: none !important;
}

/* === 8. Usunięcie pytajnika / tooltipa z kosztami płatności === */
.shipping-costs .hint,
.shipping-costs .hint__content,
.shipping-costs .icon-help,
#box_productfull .hint,
#box_productfull .icon-help {
    display: none !important;
}

/* === 12. Wyśrodkowanie tytułów produktów na wszystkich listingach i sliderach === */
.product .productnamewrap,
.product .productnamewrap a {
    display: block !important;
    text-align: center !important;
    width: 100% !important;
    margin: 8px auto !important;
    padding: 0 !important;
}

.product .productname,
.product .prodname,
.product a.prodname,
.centercol .products .product .productname,
.centercol .products.viewphot .product .productname,
.slider .product .productname,
.box.slider .product .productname,
.kl-accessories-slider .kl-acc-name {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    text-align: center !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    height: 36px !important;
    max-height: 36px !important;
    min-height: 36px !important;
    color: #1e293b !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    word-break: break-word !important;
    white-space: normal !important;
}

/* === 13. Koszyk - wyśrodkowana ilość, wartość i spójna tabela === */
#box_basketlist .productlist td.quantity,
#box_basketlist .productlist th.quantity,
#box_basketlist .productlist thead td.quantity {
    text-align: center !important;
}
#box_basketlist .productlist td.quantity .shaded_inputwrap {
    display: inline-flex !important;
    justify-content: center !important;
    margin: 0 auto !important;
}
#box_basketlist .productlist td.quantity input {
    text-align: center !important;
}
#box_basketlist .productlist td.sum,
#box_basketlist .productlist th.sum,
#box_basketlist .productlist thead td.sum {
    text-align: center !important;
}
#box_basketlist table.productlist {
    border-collapse: collapse !important;
    width: 100% !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}
#box_basketlist table.productlist thead td,
#box_basketlist table.productlist thead th {
    background: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding: 14px 16px !important;
    font-weight: 800 !important;
    color: #1e293b !important;
    font-size: 13.5px !important;
}
#box_basketlist table.productlist tbody tr {
    border-bottom: 1px solid #f1f5f9 !important;
}
#box_basketlist table.productlist tbody td {
    padding: 16px !important;
    vertical-align: middle !important;
}

/* ==========================================================================
   NOWOCZESNY BANER COOKIES / RODO (.consents) DOPASOWANY DO UI STRONY
   ========================================================================== */
.consents__mask {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(15, 23, 42, 0.45) !important;
    backdrop-filter: blur(4px) !important;
    z-index: 999998 !important;
}

.consents__wrapper {
    position: fixed !important;
    bottom: 24px !important;
    left: 0 !important;
    right: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 999999 !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
    pointer-events: none !important;
}

.consents__modal {
    pointer-events: auto !important;
    background: #ffffff !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(226, 232, 240, 0.8) !important;
    padding: 26px 30px !important;
    width: 100% !important;
    max-width: 1060px !important;
    box-sizing: border-box !important;
    border: 1px solid #e2e8f0 !important;
    animation: klSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@keyframes klSlideUp {
    from { transform: translateY(16px); }
    to { transform: translateY(0); }
}

.consents__basic-view {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}

.consents__heading {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 8px 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    letter-spacing: -0.3px !important;
}

.consents__content {
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    color: #475569 !important;
}

.consents__content p {
    margin: 0 0 8px 0 !important;
}

.consents__link {
    color: #0052ff !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
}
.consents__link:hover {
    color: #04bbff !important;
}

.consents__buttons {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 12px !important;
    margin-top: 6px !important;
    flex-wrap: wrap !important;
}

/* Przycisk akceptacji wszystkich – gradientowy brand blue */
.consents__buttons .btn.btn-red.js__accept-all-consents,
.consents__buttons .btn.js__accept-all-consents,
.consents__advanced-buttons .btn.btn-red.js__save-consents {
    background: linear-gradient(135deg, #0052ff 0%, #04bbff 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 12px 28px !important;
    font-weight: 800 !important;
    font-size: 13.5px !important;
    box-shadow: 0 4px 15px rgba(0, 82, 255, 0.3) !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    outline: none !important;
}
.consents__buttons .btn.btn-red.js__accept-all-consents:hover,
.consents__buttons .btn.js__accept-all-consents:hover,
.consents__advanced-buttons .btn.btn-red.js__save-consents:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 82, 255, 0.4) !important;
    filter: brightness(1.05) !important;
}

/* Przyciski poboczne – dostosuj, tylko niezbędne */
.consents__buttons .btn.js__accept-necessary,
.consents__buttons .btn.js__show-advanced-view,
.consents__advanced-buttons .btn.js__show-basic-view {
    background: #f8fafc !important;
    color: #475569 !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 50px !important;
    padding: 11px 22px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03) !important;
    outline: none !important;
}
.consents__buttons .btn.js__accept-necessary:hover,
.consents__buttons .btn.js__show-advanced-view:hover,
.consents__advanced-buttons .btn.js__show-basic-view:hover {
    background: #ffffff !important;
    border-color: #04bbff !important;
    color: #04bbff !important;
    box-shadow: 0 4px 12px rgba(4, 187, 255, 0.15) !important;
}

/* Widok zaawansowany ustawień zgód */
.consents__advanced-view {
    max-height: 75vh !important;
    overflow-y: auto !important;
    padding: 6px !important;
}
.consents__consent {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 14px 18px !important;
    margin-bottom: 12px !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 14px !important;
    transition: all 0.2s ease !important;
}
.consents__consent:hover {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
}
.consents__consent-description label {
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    cursor: pointer !important;
}
.consents__consent-description p {
    font-size: 12.5px !important;
    color: #64748b !important;
    line-height: 1.5 !important;
    margin: 4px 0 0 0 !important;
}
.consents__advanced-buttons {
    display: flex !important;
    justify-content: flex-end !important;
    gap: 12px !important;
    margin-top: 20px !important;
    padding-top: 15px !important;
    border-top: 1px solid #e2e8f0 !important;
}

/* Ukrycie pytajnika / podpowiedzi obok Kosztów dostawy na karcie produktu */
#box_productdeliveries .hint,
#box_productdeliveries .icon-help,
#box_productdeliveries .js__tooltip-trigger {
    display: none !important;
}

/* Podświetlenie przycisku Dodaj opinię na pomarańczowo bez rozmywania czcionki */
.kl-action-btn.kl-btn-review:hover {
    background: #fff7ed !important;
    border-color: #f97316 !important;
    color: #ea580c !important;
    transform: none !important;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.22) !important;
}
.kl-action-btn.kl-btn-review:hover span,
.kl-action-btn.kl-btn-review:hover .kl-btn-icon-review {
    color: #ea580c !important;
}

/* ==========================================================================
   BARDZIEJ WIDOCZNA RAMKA KAFELKÓW (INFO BOX 6 PÓL)
   ========================================================================== */
table.kl-info-table-6 {
    border: 2px solid #cbd5e1 !important;
    border-radius: 18px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04) !important;
    border-collapse: separate !important;
    overflow: hidden !important;
}

/* ==========================================================================
   KOMPLEKSOWA RESPONSYWNOŚĆ MOBILNA (MOBILE RWD OPTIMIZATION)
   Dedykowane reguły dla smartfonów i tabletów (<= 900px, <= 768px, <= 640px, <= 480px)
   Gwarancja nienaruszalności układu desktopowego (> 900px).
   ========================================================================== */

/* 1. Globalne zapobieganie poziomemu rozjeżdżaniu się strony (Anti-Overflow & Viewport) */
@media (max-width: 900px) {
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
        -webkit-text-size-adjust: 100% !important;
    }
    .wrap, .wrap.rwd {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }
    .container, .innermain, .main.row {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    img, video, iframe {
        max-width: 100% !important;
        height: auto;
    }
    /* Zapobieganie auto-zoomowi na iOS Safari */
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="tel"],
    input[type="search"],
    input[type="number"],
    select,
    textarea {
        font-size: 16px !important;
    }
}

/* 2. Nowoczesny nagłówek na telefonach (Header Mobile UX) */
@media (max-width: 768px) {
    /* Ukrycie starego, zdublowanego paska Shoper RWD */
    ul.menu-mobile,
    .rwd ul.menu-mobile,
    .rwd .menu-mobile,
    .rwd .rwd-show-medium.menu-mobile,
    ul.menu-mobile.rwd-show-medium,
    .wrap.rwd .menu-mobile {
        display: none !important;
    }

    /* Pasek odliczania do wysyłki (Top Announcement Bar) */
    .kl-top-announcement-bar {
        padding: 6px 10px !important;
        min-height: 32px !important;
    }
    .kl-top-bar-inner {
        font-size: 12px !important;
        line-height: 1.35 !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 6px !important;
    }
    .kl-top-bar-icon,
    .kl-top-announcement-bar .kl-top-bar-icon {
        display: none !important;
    }
    .kl-top-bar-timer {
        font-size: 12px !important;
        padding: 2px 9px !important;
        min-width: 74px !important;
        width: auto !important;
        max-width: none !important;
        text-align: center !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }

    /* Główny kontener nagłówka */
    .header-custom {
        padding: 8px 0 10px 0 !important;
        background: #ffffff !important;
        border-bottom: 1px solid #f1f5f9 !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
    }
    .header-container {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0 12px !important;
        gap: 8px 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Logo po lewej stronie */
    .link-logo.header-logo {
        order: 1 !important;
        max-width: 140px !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
    }
    .link-logo.header-logo img {
        max-height: 38px !important;
        width: auto !important;
        display: block !important;
    }

    /* Ikony po prawej stronie (Konto, Ulubione, Koszyk) */
    .header-icons {
        order: 2 !important;
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        margin: 0 !important;
    }
    .header-icons .header-icon-item {
        margin: 0 !important;
    }
    .header-icons .header-icon-item a {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-decoration: none !important;
        position: relative !important;
    }
    .header-icons .icon-img {
        width: 24px !important;
        height: 24px !important;
    }
    .header-icons .icon-label {
        font-size: 10px !important;
        font-weight: 700 !important;
        color: #475569 !important;
        margin-top: 2px !important;
    }
    .header-icons .fav-badge,
    .header-icons .cart-badge {
        font-size: 10px !important;
        min-width: 16px !important;
        height: 16px !important;
        line-height: 16px !important;
        padding: 0 4px !important;
    }

    /* Wyszukiwarka na pełną szerokość pod logo i ikonami */
    .header-search {
        order: 3 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 6px 0 0 0 !important;
        position: relative !important;
        z-index: 5010 !important;
    }
    .header-search .search-form {
        display: flex !important;
        align-items: center !important;
        background: #f1f5f9 !important;
        border: 1.5px solid #e2e8f0 !important;
        border-radius: 24px !important;
        height: 42px !important;
        padding: 0 5px 0 16px !important;
        box-sizing: border-box !important;
        width: 100% !important;
    }
    .header-search .search-input {
        flex: 1 1 auto !important;
        border: none !important;
        background: transparent !important;
        font-size: 16px !important; /* Prevents iOS Safari auto-zoom on focus */
        color: #1e293b !important;
        height: 38px !important;
        padding: 0 !important;
    }
    .header-search .search-btn {
        width: 34px !important;
        height: 34px !important;
        border-radius: 50% !important;
        background: #04bbff !important;
        border: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        cursor: pointer !important;
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: transparent !important;
    }
    .header-search .search-btn img {
        width: 15px !important;
        height: 15px !important;
        filter: brightness(0) invert(1) !important;
        pointer-events: none !important;
    }

    /* Pasek kategorii na mobile - nowoczesny poziomy pasek z przewijanymi pigułkami */
    .menu,
    .menu.row,
    .wrap .menu.row,
    .wrap.rwd .menu.row {
        background: #0b0f19 !important;
        padding: 8px 0 !important;
        margin: 0 !important;
        height: auto !important;
        min-height: 48px !important;
        line-height: normal !important;
        border: none !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
        overflow: visible !important;
        position: relative !important;
        z-index: 1000 !important;
        width: 100% !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }
    .innermenu,
    .innermenu.row.container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        line-height: normal !important;
        border: none !important;
        justify-content: flex-start !important;
        overflow: visible !important;
        position: relative !important;
        box-sizing: border-box !important;
    }
    .menu-list,
    .menu .menu-list,
    .wrap.rwd .menu-list {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 8px !important;
        padding: 2px 14px 4px 14px !important;
        margin: 0 !important;
        height: auto !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        overscroll-behavior-x: contain !important;
        scrollbar-width: none !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .menu-list::-webkit-scrollbar {
        display: none !important;
    }
    .menu-list > li {
        flex: 0 0 auto !important;
        display: inline-block !important;
        margin: 0 !important;
        position: static !important;
        float: none !important;
    }
    .menu-list > li > h3,
    .menu-list > li > .menu-heading {
        margin: 0 !important;
        padding: 0 !important;
        line-height: normal !important;
    }
    .menu-list > li > h3 > a,
    .menu-list > li > .menu-heading > a {
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        padding: 7px 14px !important;
        background: #162032 !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        border-radius: 20px !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        color: #e2e8f0 !important;
        white-space: nowrap !important;
        text-decoration: none !important;
        transition: all 0.2s ease !important;
        box-sizing: border-box !important;
        user-select: none !important;
        -webkit-tap-highlight-color: transparent !important;
    }
    .menu-list > li > h3 > a .kl-cat-chevron,
    .menu-list > li > .menu-heading > a .kl-cat-chevron {
        display: inline-block !important;
        font-size: 9px !important;
        transition: transform 0.25s ease !important;
        opacity: 0.75 !important;
    }
    .menu-list > li.kl-active > h3 > a,
    .menu-list > li.current > h3 > a,
    .menu-list > li.kl-active > .menu-heading > a,
    .menu-list > li.current > .menu-heading > a {
        background: #04bbff !important;
        border-color: #04bbff !important;
        color: #ffffff !important;
        box-shadow: 0 2px 10px rgba(4, 187, 255, 0.35) !important;
    }
    .menu-list > li.kl-active > h3 > a .kl-cat-chevron,
    .menu-list > li.kl-active > .menu-heading > a .kl-cat-chevron {
        transform: rotate(180deg) !important;
        opacity: 1 !important;
    }
    .menu-list li.home-link-menu-li {
        display: none !important;
    }

    /* Ukrycie surowych podkategorii wewnątrz menu-list, aby nie rozbijały flexboxa */
    .menu-list > li > .submenu,
    .menu-list > li > div.submenu,
    .menu-list > li ul.level1 {
        display: none !important;
    }

    /* Panel rozwijany w dół na telefonie (Mobile Dropdown) */
    .kl-mobile-dropdown-panel {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        width: 100% !important;
        max-width: 100vw !important;
        background: #0f172a !important;
        border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
        border-bottom: 2px solid #04bbff !important;
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55) !important;
        padding: 16px !important;
        box-sizing: border-box !important;
        z-index: 1000 !important;
        display: none;
        animation: klSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    .kl-mobile-dropdown-panel.kl-show {
        display: block !important;
    }
    @keyframes klSlideDown {
        from { opacity: 0; transform: translateY(-8px); }
        to { opacity: 1; transform: translateY(0); }
    }
    .kl-m-drop-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding-bottom: 12px !important;
        margin-bottom: 12px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    }
    .kl-m-drop-title {
        font-size: 13.5px !important;
        font-weight: 800 !important;
        color: #ffffff !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
    }
    .kl-m-drop-all {
        font-size: 12px !important;
        font-weight: 700 !important;
        color: #04bbff !important;
        text-decoration: none !important;
        padding: 4px 10px !important;
        border-radius: 12px !important;
        background: rgba(4, 187, 255, 0.12) !important;
        transition: all 0.2s ease !important;
    }
    .kl-m-drop-all:hover {
        background: #04bbff !important;
        color: #ffffff !important;
    }
    .kl-m-drop-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        max-height: 55vh !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding-right: 4px !important;
    }
    .kl-m-drop-link {
        display: flex !important;
        align-items: center !important;
        padding: 10px 14px !important;
        background: #1e293b !important;
        border: 1px solid rgba(255, 255, 255, 0.06) !important;
        border-radius: 10px !important;
        color: #f1f5f9 !important;
        font-size: 12.5px !important;
        font-weight: 600 !important;
        text-decoration: none !important;
        transition: all 0.15s ease !important;
        box-sizing: border-box !important;
    }
    .kl-m-drop-link:hover, .kl-m-drop-link:active {
        background: #04bbff !important;
        color: #ffffff !important;
        border-color: #04bbff !important;
    }
    /* Backdrop when open - ukryte, aby nie nakładało tła na menu i pozwalało klikać kategorie */
    .kl-mobile-backdrop,
    .kl-mobile-backdrop.kl-show {
        display: none !important;
        pointer-events: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
}

/* 5. Listingi kategorii i boczny pasek na telefonach */
@media (max-width: 900px) {
    /* Ukrycie pustego/rozsuwanego boksu menu z lewej kolumny */
    #box_menu {
        display: none !important;
    }
    .leftcol {
        width: 100% !important;
        float: none !important;
    }
    .centercol {
        width: 100% !important;
        float: none !important;
    }
    /* Tytuły produktów na listingach - czytelne 2 linie */
    .centercol .products .product .productnamewrap,
    .centercol .products .product .productname,
    .centercol .products .product .prodname {
        font-size: 13px !important;
        line-height: 1.35 !important;
        height: 42px !important;
        max-height: 42px !important;
    }
}

/* 6. Sekcja Hero i Belka zaufania (USP) na telefonach */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column !important;
        text-align: center !important;
        gap: 24px !important;
        padding: 24px 14px 40px 14px !important;
    }
    .hero-title {
        font-size: 28px !important;
        line-height: 1.25 !important;
    }
    .hero-subtitle {
        font-size: 14px !important;
        line-height: 1.5 !important;
        margin-bottom: 20px !important;
    }
    .hero-cta-btn {
        width: 100% !important;
        max-width: 280px !important;
        margin: 0 auto !important;
        justify-content: center !important;
        height: 48px !important;
        font-size: 14px !important;
    }
    .hero-features {
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
        margin-top: 24px !important;
        padding-top: 18px !important;
    }
    .hero-feature-item {
        width: auto !important;
        justify-content: center !important;
    }
    .hero-visual {
        height: 280px !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }
    .neon-ring {
        width: 240px !important;
        height: 240px !important;
    }
}

@media (max-width: 768px) {
    /* Belka zaufania (USP) – estetyczny układ 2x2 bez pustych komórek */
    .custom-trust-bar {
        padding: 24px 0 !important;
    }
    .custom-trust-bar .trust-container::before,
    .custom-trust-bar .trust-container::after,
    .trust-container::before,
    .trust-container::after {
        display: none !important;
        content: none !important;
    }
    .custom-trust-bar .trust-container {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 16px 14px !important;
        padding: 0 16px !important;
        align-items: start !important;
    }
    .custom-trust-bar .trust-item {
        min-width: 0 !important;
        width: 100% !important;
        flex: none !important;
        float: none !important;
        margin: 0 !important;
        gap: 10px !important;
        display: flex !important;
        align-items: flex-start !important;
        box-sizing: border-box !important;
    }
    .custom-trust-bar .trust-item .trust-icon {
        width: 24px !important;
        height: 24px !important;
        flex-shrink: 0 !important;
    }
    .custom-trust-bar .trust-item .trust-text strong {
        font-size: 11.5px !important;
        line-height: 1.25 !important;
        display: block !important;
    }
    .custom-trust-bar .trust-item .trust-text span {
        font-size: 10px !important;
        line-height: 1.3 !important;
        display: block !important;
    }

    /* Stopka sklepu na telefonie */
    .footer-container {
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        gap: 24px !important;
        padding: 0 16px 30px 16px !important;
    }
    .footer-col, .brand-col, .contact-col, .links-col {
        min-width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 100% !important;
    }
    .footer-title {
        margin-bottom: 12px !important;
    }
}

/* Responsywne slidery na telefonach i tabletach */
@media (max-width: 768px) {
    .box.slider,
    .slider {
        overflow: hidden !important;
    }
    .slider .slider-nav-left,
    .box.slider .slider-nav-left {
        left: 4px !important;
    }
    .slider .slider-nav-right,
    .box.slider .slider-nav-right {
        right: 4px !important;
    }
}


/* ==========================================================================
   Globalny reset szerokości i eliminacja przesunięcia w prawo na telefonach
   ========================================================================== */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
        margin: 0 !important;
        padding: 0 !important;
        position: relative !important;
    }
    .wrap, .wrap.rwd {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    .main, .main.row {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }
    .innermain, .innermain.container {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        box-sizing: border-box !important;
    }
    .centercol, .centercol.s-grid-12, .s-row {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    .box.slider, .box-slider, .slider, .pageslider {
        max-width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }
    .custom-hero-banner, .hero-wave {
        max-width: 100vw !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }
    .hero-visual {
        max-width: 100vw !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }
    .hero-wave svg {
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
    }
    #box_productfull,
    #box_productfull .maininfo,
    #box_productfull .maininfo .f-row {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    #box_productfull .productimg,
    #box_productfull .f-grid-6 {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
}

/* Całkowite ukrycie mobilnych elementów na komputerach (Desktop) */
@media (min-width: 769px) {
    .kl-cat-chevron,
    .kl-mobile-dropdown-panel,
    .kl-mobile-backdrop {
        display: none !important;
    }
}


/* ==========================================================================
   DODATKOWE POPRAWKI MOBILNE (Kostkoland Mobile Polish)
   ========================================================================== */

/* 1. Pliki cookies - poprawka "Dostosuj zgody" */
.consents__basic-view.none,
.consents__advanced-view.none {
    display: none !important;
}
.consents__modal {
    max-height: 88vh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
}
.consents__advanced-content {
    max-height: 52vh !important;
    overflow-y: auto !important;
}
@media (max-width: 768px) {
    .consents__advanced-buttons {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        width: 100% !important;
        margin-top: 16px !important;
    }
    .consents__advanced-buttons .btn {
        width: 100% !important;
        height: 44px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

/* 2. Kompaktowy nagłówek mobilny (Logo po lewej, konto na środku, ulubione i koszyk po prawej, lupa pod spodem) */
@media (max-width: 768px) {
    .header-custom {
        padding: 8px 0 !important;
        background: #ffffff !important;
        border-bottom: 1px solid #f1f5f9 !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
    }
    .header-container {
        position: relative !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        padding: 0 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .link-logo.header-logo {
        order: 1 !important;
        position: relative !important;
        left: auto !important;
        margin-left: 12% !important;
        margin-right: auto !important;
        max-width: 105px !important;
        display: flex !important;
        align-items: center !important;
        height: 38px !important;
        flex: 0 0 auto !important;
    }
    .link-logo.header-logo img {
        max-height: 32px !important;
        width: auto !important;
        display: block !important;
    }
    .header-icons {
        order: 2 !important;
        position: absolute !important;
        left: calc(50% - 22px) !important;
        top: 0px !important;
        height: 38px !important;
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        margin: 0 !important;
        padding: 0 !important;
        z-index: 5001 !important;
        flex: 0 0 auto !important;
    }
    .header-icons .header-icon-item {
        position: static !important;
        transform: none !important;
        width: 44px !important;
        margin: 0 !important;
    }
    .header-icons .header-icon-item.user-item {
        position: static !important;
        transform: none !important;
        left: auto !important;
        top: auto !important;
        width: 44px !important;
        display: block !important;
    }
    .header-icons .header-icon-item.fav-item {
        margin: 0 !important;
    }
    .header-icons .header-icon-item.cart-item {
        margin: 0 !important;
    }
    .header-icons .header-icon-item a {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 2px !important;
        text-decoration: none !important;
        position: relative !important;
    }
    .header-icons .icon-img {
        width: 20px !important;
        height: 20px !important;
    }
    .header-icons .icon-label {
        font-size: 9.5px !important;
        font-weight: 600 !important;
        color: #475569 !important;
        margin-top: 1px !important;
    }
    .header-icons .fav-badge,
    .header-icons .cart-badge {
        font-size: 10px !important;
        min-width: 16px !important;
        height: 16px !important;
        line-height: 16px !important;
        padding: 0 4px !important;
    }
    .header-search {
        order: 3 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 4px 0 0 0 !important;
        position: relative !important;
        z-index: 5010 !important;
    }
    .header-search .search-form {
        display: flex !important;
        align-items: center !important;
        background: #f1f5f9 !important;
        border: 1.5px solid #e2e8f0 !important;
        border-radius: 24px !important;
        height: 38px !important;
        padding: 0 4px 0 14px !important;
        box-sizing: border-box !important;
        width: 100% !important;
    }
    .header-search .search-input {
        flex: 1 1 auto !important;
        border: none !important;
        background: transparent !important;
        font-size: 16px !important; /* Prevents iOS Safari auto-zoom on focus */
        color: #1e293b !important;
        height: 34px !important;
        padding: 0 !important;
    }
    .header-search .search-btn {
        width: 32px !important;
        height: 32px !important;
        border-radius: 50% !important;
        background: #04bbff !important;
        border: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        cursor: pointer !important;
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: transparent !important;
    }
    .header-search .search-btn img {
        width: 14px !important;
        height: 14px !important;
        filter: brightness(0) invert(1) !important;
        pointer-events: none !important;
    }
}

/* 3. Sekcja Hero i Animacja Kostki Rubika na telefonach */
@media (max-width: 768px) {
    .custom-hero-banner {
        height: auto !important;
        min-height: auto !important;
        padding-top: 14px !important;
        padding-bottom: 40px !important;
    }
    .hero-container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        height: auto !important;
        padding: 0 12px 10px 12px !important;
        gap: 0 !important;
    }
    .hero-content {
        display: contents !important;
    }
    .hero-badge {
        order: 1 !important;
        margin-top: 0 !important;
        margin-bottom: 8px !important;
        font-size: 11px !important;
        padding: 4px 14px !important;
    }
    .hero-title {
        order: 2 !important;
        font-size: 26px !important;
        line-height: 1.2 !important;
        text-align: center !important;
        margin: 0 0 6px 0 !important;
    }
    .hero-subtitle {
        order: 3 !important;
        font-size: 13px !important;
        line-height: 1.4 !important;
        text-align: center !important;
        margin: 0 0 12px 0 !important;
    }
    .hero-visual {
        order: 4 !important;
        display: flex !important;
        flex: none !important;
        width: 100% !important;
        height: 180px !important;
        position: relative !important;
        margin: 5px auto 12px auto !important;
        overflow: visible !important;
        justify-content: center !important;
        align-items: center !important;
    }
    .neon-ring {
        position: absolute !important;
        width: 170px !important;
        height: 170px !important;
    }
    .rubiks-cube-wrapper {
        position: absolute !important;
        width: 110px !important;
        height: 110px !important;
        transform: translate(-10px, -24px) scale(0.75) !important;
    }
    .hero-cta-btn {
        order: 5 !important;
        width: 100% !important;
        max-width: 260px !important;
        margin: 0 auto !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        height: 44px !important;
        font-size: 13px !important;
        box-sizing: border-box !important;
        box-shadow: 0 4px 20px rgba(0, 82, 255, 0.4) !important;
    }
    .hero-features {
        order: 6 !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 12px 18px !important;
        margin-top: 16px !important;
        padding-top: 14px !important;
        width: 100% !important;
        border-top: 1px solid rgba(255,255,255,0.1) !important;
    }
    .hero-feature-item {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        width: auto !important;
        justify-content: center !important;
    }
    .hero-feature-item .feature-icon {
        font-size: 17px !important;
        color: #04bbff !important;
    }
    .hero-feature-item .feature-text strong {
        font-size: 12.5px !important;
        font-weight: 700 !important;
        display: block !important;
        color: #ffffff !important;
        letter-spacing: 0.2px !important;
    }
    .hero-feature-item .feature-text span {
        font-size: 11px !important;
        color: #cbd5e1 !important;
        display: block !important;
    }
}

/* 4. Belka zaufania (USP) - wyśrodkowany napis Premium jakość i siatka 2x2 */
@media (max-width: 768px) {
    .custom-usps-bar {
        padding: 24px 0 !important;
        margin-top: -20px !important;
        position: relative !important;
        z-index: 10 !important;
    }
    .usps-container {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 20px 16px !important;
        padding: 0 16px !important;
        justify-items: center !important;
        align-items: start !important;
    }
    .usps-container .usp-item {
        min-width: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 8px !important;
    }
    .usps-container .usp-item .usp-text {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    .usps-container .usp-item:first-child {
        grid-column: 1 / -1 !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        margin: 0 auto 12px auto !important;
        width: auto !important;
    }
}

/* 5. Karta produktu - pełna szerokość i większe ramki przycisków Ulubione, Zapytaj, Opinia oraz odstępy ilości */
@media (max-width: 768px) {
    #box_productfull .price {
        margin-bottom: 16px !important;
    }
    #box_productfull .quantity_wrap {
        margin: 20px 0 18px 0 !important;
        padding: 6px 0 !important;
        display: flex !important;
        align-items: center !important;
    }
    #box_productfull .button_wrap {
        margin-top: 14px !important;
    }
    .kl-action-buttons-wrap,
    #box_productfull .kl-action-buttons-wrap {
        width: 100% !important;
        margin: 20px auto 0 auto !important;
    }
    .kl-action-row,
    #box_productfull .kl-action-row {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 10px !important;
        height: auto !important;
        max-height: none !important;
        box-sizing: border-box !important;
    }
    .kl-action-btn,
    #box_productfull .kl-action-btn,
    #box_productfull .kl-action-row .kl-action-btn {
        flex: 0 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        box-sizing: border-box !important;
        height: 46px !important;
        min-height: 46px !important;
        padding: 0 16px !important;
        font-size: 13.5px !important;
        font-weight: 600 !important;
        color: #334155 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        border-radius: 12px !important;
        border: 1.5px solid #cbd5e1 !important;
        background: #f8fafc !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
        transition: all 0.2s ease !important;
    }
    #box_productfull .price,
    #box_productfull .price__container,
    #box_productfull .kl-price-main-wrap {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
        margin: 2px auto 4px auto !important;
    }
    #box_productfull .kl-price-left {
        display: inline-flex !important;
        align-items: baseline !important;
        justify-content: center !important;
        gap: 6px !important;
        margin: 0 auto !important;
        text-align: center !important;
    }
    #box_productfull .kl-points-qty-row {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 14px !important;
        width: 100% !important;
        margin: 4px auto 8px auto !important;
    }
    #box_productfull .kl-points-qty-row .loyalty_points {
        display: inline-flex !important;
        align-items: center !important;
        margin: 0 !important;
        float: none !important;
        background: #ecfdf5 !important;
        border: 1px solid #a7f3d0 !important;
        color: #065f46 !important;
        padding: 6px 12px !important;
        border-radius: 20px !important;
        font-size: 12px !important;
        font-weight: 700 !important;
    }
    #box_productfull .kl-points-qty-row .quantity_wrap {
        display: inline-flex !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
        width: auto !important;
        float: none !important;
    }
    #box_productfull .kl-points-qty-row .quantity_wrap .quantity_name,
    #box_productfull .kl-points-qty-row .quantity_wrap .unit {
        display: none !important;
    }
    #box_productfull .kl-points-qty-row .kl-qty-stepper {
        margin: 0 !important;
    }

    /* Delikatne podświetlenie przycisków akcji */
    .kl-action-btn.kl-btn-fav:hover,
    .kl-action-btn.kl-btn-fav:active,
    #box_productfull .kl-action-btn.kl-btn-fav:hover,
    #box_productfull .kl-action-btn.kl-btn-fav:active {
        border-color: #ef4444 !important;
        color: #ef4444 !important;
        background: #fef2f2 !important;
        box-shadow: 0 0 12px rgba(239, 68, 68, 0.25) !important;
    }
    .kl-action-btn.kl-btn-fav:hover span,
    .kl-action-btn.kl-btn-fav:hover .kl-btn-icon-fav,
    .kl-action-btn.kl-btn-fav:active span,
    .kl-action-btn.kl-btn-fav:active .kl-btn-icon-fav,
    #box_productfull .kl-action-btn.kl-btn-fav:hover span,
    #box_productfull .kl-action-btn.kl-btn-fav:hover .kl-btn-icon-fav,
    #box_productfull .kl-action-btn.kl-btn-fav:active span,
    #box_productfull .kl-action-btn.kl-btn-fav:active .kl-btn-icon-fav {
        color: #ef4444 !important;
    }

    .kl-action-btn.kl-btn-ask:hover,
    .kl-action-btn.kl-btn-ask:active,
    #box_productfull .kl-action-btn.kl-btn-ask:hover,
    #box_productfull .kl-action-btn.kl-btn-ask:active {
        border-color: #0052ff !important;
        color: #0052ff !important;
        background: #eff6ff !important;
        box-shadow: 0 0 12px rgba(0, 82, 255, 0.25) !important;
    }
    .kl-action-btn.kl-btn-ask:hover span,
    .kl-action-btn.kl-btn-ask:active span,
    #box_productfull .kl-action-btn.kl-btn-ask:hover span,
    #box_productfull .kl-action-btn.kl-btn-ask:active span {
        color: #0052ff !important;
    }

    .kl-action-btn.kl-btn-review:hover,
    .kl-action-btn.kl-btn-review:active,
    #box_productfull .kl-action-btn.kl-btn-review:hover,
    #box_productfull .kl-action-btn.kl-btn-review:active {
        border-color: #f97316 !important;
        color: #f97316 !important;
        background: #fff7ed !important;
        box-shadow: 0 0 12px rgba(249, 115, 22, 0.25) !important;
    }
    .kl-action-btn.kl-btn-review:hover span,
    .kl-action-btn.kl-btn-review:hover .kl-btn-icon-review,
    .kl-action-btn.kl-btn-review:active span,
    .kl-action-btn.kl-btn-review:active .kl-btn-icon-review,
    #box_productfull .kl-action-btn.kl-btn-review:hover span,
    #box_productfull .kl-action-btn.kl-btn-review:hover .kl-btn-icon-review,
    #box_productfull .kl-action-btn.kl-btn-review:active span,
    #box_productfull .kl-action-btn.kl-btn-review:active .kl-btn-icon-review {
        color: #f97316 !important;
    }
}

/* 5b. Opcje przeglądania w kategoriach wycentrowane i dopasowane na telefonach */
@media (max-width: 768px) {
    #box_filter,
    #box_productfilter,
    .category-filters,
    .filter.category-filters,
    .sort-and-view {
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 16px 14px !important;
        margin: 0 0 20px 0 !important;
        overflow: visible !important;
    }
    #box_filter .innerbox,
    #box_productfilter .innerbox,
    .category-filters .innerbox {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    #box_filter .innerbox > div,
    #box_filter .innerbox > .multiselect,
    #box_filter .innerbox > .group,
    #box_filter .innerbox > .group-filter,
    #box_productfilter .innerbox > div,
    #box_productfilter .innerbox > .multiselect {
        flex: 1 1 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        width: 100% !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
        display: flex !important;
        justify-content: center !important;
        position: relative !important;
        overflow: visible !important;
    }
    #box_filter .multiselect,
    #box_filter #filter_custom_sort,
    #box_productfilter .multiselect,
    #box_productfilter #filter_custom_sort,
    #filter_custom_sort {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: 48px !important;
        min-height: 48px !important;
        line-height: 46px !important;
        border-radius: 24px !important;
        box-sizing: border-box !important;
        padding: 0 40px 0 20px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }
    #box_filter .multiselect > span,
    #box_filter #filter_custom_sort > span,
    #box_filter #filter_custom_sort .sort-title,
    #box_productfilter .multiselect > span,
    #box_productfilter #filter_custom_sort > span,
    #box_productfilter #filter_custom_sort .sort-title,
    #filter_custom_sort > span,
    #filter_custom_sort .sort-title {
        font-size: 13.5px !important;
        font-weight: 600 !important;
        display: block !important;
        width: auto !important;
        max-width: calc(100% - 40px) !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        text-align: center !important;
        margin: 0 auto !important;
    }
    #box_filter .multiselect ul,
    #box_filter #filter_custom_sort ul,
    #box_productfilter .multiselect ul,
    #box_productfilter #filter_custom_sort ul {
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        box-sizing: border-box !important;
    }
}

/* Furgonetka Map Modal i Wybór punktu */
#furgonetka-modal-root,
div[id*="furgonetka"],
.modal-overlay,
.furgonetka-map,
div[class*="modal-overlay"],
#widget-modal__map,
.easypack-widget {
    z-index: 999999999 !important;
    position: fixed !important;
}

/* Ukrycie dublującego wiersza wtyczki Furgonetki */
tr:has(#fbiz_btn_select_point):not(#kl_pickup_row) {
    display: none !important;
}

#fbiz_btn_select_point,
.fbiz_btn_select_point,
#kl_btn_select_inpost,
#kl_btn_select_dpd,
.kl-btn-pickup {
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    height: auto !important;
    min-height: 42px !important;
    padding: 10px 16px !important;
    line-height: 1.4 !important;
    white-space: normal !important;
    text-align: center !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    display: inline-flex;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    background: #ef4444 !important;
    background-color: #ef4444 !important;
    background-image: none !important;
    color: #ffffff !important;
    border: 1px solid #dc2626 !important;
}

#fbiz_btn_select_point:hover,
.fbiz_btn_select_point:hover,
#kl_btn_select_inpost:hover,
#kl_btn_select_dpd:hover,
.kl-btn-pickup:hover {
    background: #dc2626 !important;
    background-color: #dc2626 !important;
    background-image: none !important;
    color: #ffffff !important;
}

#kl_btn_select_inpost.is-hidden,
#kl_btn_select_dpd.is-hidden,
.kl-btn-pickup.is-hidden {
    display: none !important;
}

#fbiz_btn_select_point.point-selected,
.fbiz_btn_select_point.point-selected,
#kl_btn_select_inpost.point-selected,
#kl_btn_select_dpd.point-selected,
.kl-btn-pickup.point-selected {
    background: #10b981 !important;
    background-color: #10b981 !important;
    background-image: none !important;
    border: 1px solid #059669 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    height: auto !important;
    min-height: 44px !important;
    padding: 10px 16px !important;
    line-height: 1.4 !important;
    white-space: normal !important;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25) !important;
}

#fbiz_btn_select_point.point-selected:hover,
.fbiz_btn_select_point.point-selected:hover,
#kl_btn_select_inpost.point-selected:hover,
#kl_btn_select_dpd.point-selected:hover,
.kl-btn-pickup.point-selected:hover {
    background: #059669 !important;
    background-color: #059669 !important;
    background-image: none !important;
    color: #ffffff !important;
}

#fbiz_btn_select_point.point-selected::before,
#fbiz_btn_select_point.point-selected::after,
.fbiz_btn_select_point.point-selected::before,
.fbiz_btn_select_point.point-selected::after,
#kl_btn_select_inpost.point-selected::before,
#kl_btn_select_inpost.point-selected::after,
#kl_btn_select_dpd.point-selected::before,
#kl_btn_select_dpd.point-selected::after,
.kl-btn-pickup.point-selected::before,
.kl-btn-pickup.point-selected::after {
    display: none !important;
    content: none !important;
    background: none !important;
    background-image: none !important;
}

/* Always keep standard order button visible in basket action row */
#box_basketlist .buttons button[name="button2"].order,
#box_basketlist .buttons .forward .btn.order,
#box_basketlist .buttons .btn.order.hidden-by-autopay,
#box_basketlist .buttons .btn.order.none {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}




/* === KL-SPEED-4 START: Przeniesiono style 3D solvera i algorytmów (3540 linii) do styles/guides-solver.css === */
/* === KL-SPEED-4 END === */
/* ==========================================================================
   HIDE SHOPER PŁATNOŚCI / BLUE MEDIA PROMOTIONAL BANNERS EVERYWHERE
   ========================================================================== */
#box_slider_50,
#box_slider_51,
#box_slider_53,
.box_slider_50,
.box_slider_51,
.box_slider_53,
.box-slider:has([data-image*="d98f0089d3ca6a96a04156574c70b8f6"]),
.box-slider:has([data-image*="311a0e70bbcd9280c0a7d846035857ce"]),
.box-slider:has([data-image*="dc38bfbf36f0c5479a59d2d4f617d8d3"]),
.box-slider:has(img[src*="d98f0089d3ca6a96a04156574c70b8f6"]),
.box-slider:has(img[src*="311a0e70bbcd9280c0a7d846035857ce"]),
.box-slider:has(img[src*="dc38bfbf36f0c5479a59d2d4f617d8d3"]),
li[data-image*="d98f0089d3ca6a96a04156574c70b8f6"],
li[data-image*="311a0e70bbcd9280c0a7d846035857ce"],
li[data-image*="dc38bfbf36f0c5479a59d2d4f617d8d3"],
img[src*="d98f0089d3ca6a96a04156574c70b8f6"],
img[src*="311a0e70bbcd9280c0a7d846035857ce"],
img[src*="dc38bfbf36f0c5479a59d2d4f617d8d3"],
img[src*="shoper_platnosci"],
img[src*="shoper-platnosci"],
img[src*="blue_media"],
img[src*="bluemedia"],
img[alt*="Shoper Płatności"],
img[alt*="Płatności Shoper"],
img[alt*="Blue Media"],
a.banner[href*="platnosci"],
a.banner[href*="bluemedia"],
.box_banner:has([data-image*="d98f0089d3ca6a96a04156574c70b8f6"]),
.box_banner:has([data-image*="311a0e70bbcd9280c0a7d846035857ce"]),
.box_banner:has([data-image*="dc38bfbf36f0c5479a59d2d4f617d8d3"]),
.box_banner:has(img[src*="d98f0089d3ca6a96a04156574c70b8f6"]),
.box_banner:has(img[src*="311a0e70bbcd9280c0a7d846035857ce"]),
.box_banner:has(img[src*="dc38bfbf36f0c5479a59d2d4f617d8d3"]),
.box_banner:has(img[src*="shoper_platnosci"]),
.box_banner:has(img[src*="shoper-platnosci"]),
.box_banner:has(img[src*="blue_media"]),
.box_banner:has(img[src*="bluemedia"]),
.box_banner:has(a.banner[href*="platnosci"]),
.box_banner:has(a.banner[href*="bluemedia"]) {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    overflow: hidden !important;
    visibility: hidden !important;
}

/* ==========================================================================
   CENY PRODUKTÓW PROMOCYJNYCH W KATEGORIACH (CZERWONA CENA DLA PROMOCJI)
   ========================================================================== */
#box_mainproducts .product.custom-promo-product .price em,
#box_mainproducts .custom-promo-product .price em,
#box_mainproducts .product .price em.promo-price,
#box_mainproducts .product .price em.color,
#box_mainproducts .product .price p.promo-price-row em,
#box_mainproducts .product .price:has(del) em,
#box_mainproducts .product .price:has(.promo-old-price) em,
#box_mainproducts .product:has(.custom-product-badge--promo) .price em,
[id^="box_recommendations"] .product.custom-promo-product .price em,
[id^="box_recommendations"] .custom-promo-product .price em,
[id^="box_recommendations"] .product .price em.promo-price,
[id^="box_recommendations"] .product .price em.color,
[id^="box_recommendations"] .product .price p.promo-price-row em,
[id^="box_recommendations"] .product .price:has(del) em,
[id^="box_recommendations"] .product .price:has(.promo-old-price) em,
[id^="box_recommendations"] .product:has(.custom-product-badge--promo) .price em,
.centercol .products .product.custom-promo-product .price em,
.centercol .products .custom-promo-product .price em,
.centercol .products .product .price em.promo-price,
.centercol .products .product .price em.color,
.centercol .products .product .price p.promo-price-row em,
.centercol .products .product .price:has(del) em,
.centercol .products .product .price:has(.promo-old-price) em,
.centercol .products .product:has(.custom-product-badge--promo) .price em,
.products .product.custom-promo-product .price em,
.products .custom-promo-product .price em,
.products .product .price em.promo-price,
.products .product .price em.color,
.products .product .price p.promo-price-row em,
.products .product .price:has(del) em,
.products .product .price:has(.promo-old-price) em,
.products .product:has(.custom-product-badge--promo) .price em,
.product.custom-promo-product .price em,
.custom-promo-product .price em,
.product .price em.promo-price,
.product .price em.color,
.product .price p.promo-price-row em,
.product .price:has(del) em,
.product .price:has(.promo-old-price) em,
.product:has(.custom-product-badge--promo) .price em {
    color: #ef4444 !important;
    font-weight: 900 !important;
}

#box_mainproducts .product .price del,
#box_mainproducts .product .price .promo-old-price,
#box_mainproducts .product .price span.promo-old-price,
[id^="box_recommendations"] .product .price del,
[id^="box_recommendations"] .product .price .promo-old-price,
[id^="box_recommendations"] .product .price span.promo-old-price {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #94a3b8 !important;
    text-decoration: line-through !important;
    margin: 0 !important;
}

/* ==========================================================================
   POPRAWKI UI: PRZENIKANIE SLIDERA, WYŚRODKOWANIE SLIDERÓW I NEWSLETTERA,
   JEDNOLITY NAGŁÓWEK TABELI PC
   ========================================================================== */

/* 1. Slider akcesoriów - eleganckie przenikanie (fade) z obu stron bez obcinania kart */
.kl-accessories-slider {
    position: relative !important;
    overflow: hidden !important;
}
.kl-acc-track {
    -webkit-mask-image: none !important;
    mask-image: none !important;
}
.kl-accessories-slider::before,
.kl-accessories-slider::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 60px !important;
    z-index: 6 !important;
    pointer-events: none !important;
    display: block !important;
}
.kl-accessories-slider::before {
    left: 0 !important;
    background: linear-gradient(to right, #ffffff 0%, rgba(255, 255, 255, 0.85) 20px, rgba(255, 255, 255, 0) 100%) !important;
}
.kl-accessories-slider::after {
    right: 0 !important;
    background: linear-gradient(to left, #ffffff 0%, rgba(255, 255, 255, 0.85) 20px, rgba(255, 255, 255, 0) 100%) !important;
}
.kl-acc-nav {
    z-index: 10 !important;
}
@media (max-width: 768px) {
    .kl-accessories-slider::before,
    .kl-accessories-slider::after {
        width: 36px !important;
    }
}

/* 2. Wyśrodkowanie i estetyczne dopasowanie sliderów (Promocje, Bestsellery) na mobile */
@media (max-width: 768px) {
    .box.slider,
    #box_specialoffer,
    #box_bestsellers {
        width: 100% !important;
        max-width: 100% !important;
        margin: 20px auto 30px auto !important;
        box-sizing: border-box !important;
        text-align: center !important;
        float: none !important;
        clear: both !important;
    }
    .box.slider .boxhead,
    #box_specialoffer .boxhead,
    #box_bestsellers .boxhead {
        text-align: center !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 0 auto 16px auto !important;
    }
    .box.slider .boxhead span,
    #box_specialoffer .boxhead span,
    #box_bestsellers .boxhead span {
        text-align: center !important;
        margin: 0 auto !important;
    }
    .box.slider .innerbox,
    #box_specialoffer .innerbox,
    #box_bestsellers .innerbox {
        overflow: hidden !important;
        position: relative !important;
        width: 100% !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }
    .box.slider .slider-nav-left,
    #box_specialoffer .slider-nav-left,
    #box_bestsellers .slider-nav-left {
        left: 6px !important;
        width: 38px !important;
        height: 38px !important;
        z-index: 20 !important;
    }
    .box.slider .slider-nav-right,
    #box_specialoffer .slider-nav-right,
    #box_bestsellers .slider-nav-right {
        right: 6px !important;
        width: 38px !important;
        height: 38px !important;
        z-index: 20 !important;
    }
}

/* 3. Wyśrodkowanie i dopasowanie sekcji Newsletter na mobile */
@media (max-width: 768px) {
    .bottom-footer,
    .rwd .bottom-footer {
        margin: 0 auto !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .bottom-footer .container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    #box_newsletter,
    .box#box_newsletter,
    .custom-newsletter-box {
        padding: 24px 16px !important;
        margin: 20px auto 30px auto !important;
        width: calc(100% - 24px) !important;
        max-width: calc(100% - 24px) !important;
        border-radius: 16px !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }
    #box_newsletter .innerbox,
    .custom-newsletter-box .innerbox {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        gap: 16px !important;
        margin: 0 auto !important;
        text-align: center !important;
    }
    #box_newsletter .boxintro,
    .custom-newsletter-box .boxintro {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        justify-content: center !important;
        width: 100% !important;
        min-width: 0 !important;
        font-size: 13.5px !important;
        margin: 0 auto !important;
        gap: 10px !important;
    }
    #box_newsletter .boxintro::before,
    .custom-newsletter-box .boxintro::before {
        margin: 0 auto 4px auto !important;
        display: block !important;
    }
    #box_newsletter form,
    .custom-newsletter-box form {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    #box_newsletter .newsletter-input-container,
    .custom-newsletter-box .newsletter-input-container {
        width: 100% !important;
        max-width: 400px !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }
    #box_newsletter .newsletter-consent,
    .custom-newsletter-box .newsletter-consent {
        width: 100% !important;
        max-width: 400px !important;
        margin: 12px auto 0 auto !important;
    }
    #box_newsletter .newsletter-consent-label,
    .custom-newsletter-box .newsletter-consent-label {
        justify-content: center !important;
        text-align: left !important;
    }
}

/* 4. Desktop (PC): Nowoczesna, jednolita belka nagłówkowa tabeli koszyka */
@media (min-width: 769px) {
    #box_basketlist table.productlist {
        border-collapse: separate !important;
        border-spacing: 0 8px !important;
    }
    #box_basketlist table.productlist thead {
        display: table-header-group !important;
    }
    #box_basketlist table.productlist thead tr {
        background: #f1f5f9 !important;
        border-radius: 12px !important;
    }
    #box_basketlist table.productlist thead tr td,
    #box_basketlist table.productlist thead td,
    #box_basketlist table.productlist thead th {
        background: #f1f5f9 !important;
        padding: 13px 14px !important;
        font-size: 12px !important;
        font-weight: 800 !important;
        color: #475569 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.6px !important;
        border: none !important;
        border-top: 1.5px solid #e2e8f0 !important;
        border-bottom: 1.5px solid #e2e8f0 !important;
        vertical-align: middle !important;
        line-height: 1.2 !important;
        box-sizing: border-box !important;
        border-radius: 0 !important;
        margin: 0 !important;
    }
    #box_basketlist table.productlist thead tr td:first-child,
    #box_basketlist table.productlist thead td:first-child {
        border-left: 1.5px solid #e2e8f0 !important;
        border-top-left-radius: 12px !important;
        border-bottom-left-radius: 12px !important;
    }
    #box_basketlist table.productlist thead tr td:last-child,
    #box_basketlist table.productlist thead td:last-child {
        border-right: 1.5px solid #e2e8f0 !important;
        border-top-right-radius: 12px !important;
        border-bottom-right-radius: 12px !important;
    }

    #box_basketlist table.productlist thead td.img {
        width: 70px !important;
        text-align: center !important;
    }
    #box_basketlist table.productlist thead td.name {
        text-align: left !important;
        padding-left: 14px !important;
        border-radius: 0 !important;
    }
    #box_basketlist table.productlist thead td.time {
        width: 140px !important;
        text-align: center !important;
        background: #f1f5f9 !important;
        border-top: 1.5px solid #e2e8f0 !important;
        border-bottom: 1.5px solid #e2e8f0 !important;
        border-radius: 0 !important;
    }
    #box_basketlist table.productlist thead td.time .kl-th-dispatch {
        font-size: 12px !important;
        font-weight: 800 !important;
        color: #475569 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.6px !important;
        display: inline-block !important;
        text-align: center !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }
    #box_basketlist table.productlist thead td.quantity {
        width: 155px !important;
        text-align: center !important;
        border-radius: 0 !important;
    }
    #box_basketlist table.productlist thead td.price {
        width: 125px !important;
        text-align: center !important;
        border-radius: 0 !important;
    }
    #box_basketlist table.productlist thead td.sum {
        width: 130px !important;
        text-align: center !important;
        border-radius: 0 !important;
        margin: 0 !important;
        background: #f1f5f9 !important;
        border-top: 1.5px solid #e2e8f0 !important;
        border-bottom: 1.5px solid #e2e8f0 !important;
    }
    #box_basketlist table.productlist thead td.actions {
        width: 44px !important;
        padding: 13px 14px !important;
        text-align: center !important;
        background: #f1f5f9 !important;
        border-top: 1.5px solid #e2e8f0 !important;
        border-bottom: 1.5px solid #e2e8f0 !important;
        border-right: 1.5px solid #e2e8f0 !important;
        border-top-right-radius: 12px !important;
        border-bottom-right-radius: 12px !important;
    }
}

/* Dopasowanie i wyśrodkowanie powiadomień / alertów na mobile */
@media (max-width: 768px) {
    .alert,
    .alert-info,
    .alert-success,
    .alert-warning,
    .alert-error,
    .kl-empty-cart-alert {
        width: calc(100% - 24px) !important;
        max-width: calc(100% - 24px) !important;
        margin: 8px auto 14px auto !important;
        padding: 10px 80px 10px 14px !important;
        border-radius: 12px !important;
        font-size: 12px !important;
        line-height: 1.35 !important;
        box-sizing: border-box !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        min-height: auto !important;
    }

    .alert:not(:has(.close)),
    .alert-info:not(:has(.close)),
    .alert-success:not(:has(.close)),
    .alert-warning:not(:has(.close)),
    .alert-error:not(:has(.close)) {
        padding: 10px 14px !important;
    }

    .alert p,
    .alert-info p,
    .alert-success p,
    .alert-error p,
    .alert .row p,
    .alert-info .row p,
    .kl-empty-cart-alert p {
        font-size: 12px !important;
        line-height: 1.35 !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: center !important;
        width: 100% !important;
    }

    .alert p a,
    .alert-info p a {
        font-size: 12px !important;
        color: #04bbff !important;
        text-decoration: underline !important;
    }

    .alert .close,
    .alert-info .close,
    .alert-success .close,
    .alert-warning .close,
    .alert-error .close,
    .alert button.close {
        position: absolute !important;
        right: 10px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        padding: 4px 10px !important;
        font-size: 10px !important;
        font-weight: 700 !important;
        border-radius: 12px !important;
        background: rgba(255, 255, 255, 0.15) !important;
        color: #ffffff !important;
        border: 1px solid rgba(255, 255, 255, 0.25) !important;
        letter-spacing: 0.4px !important;
        white-space: nowrap !important;
        width: auto !important;
        height: auto !important;
        box-shadow: none !important;
    }
}

/* === KL-SPEED-4 START: Przeniesiono style layoutu poradników i banera (910 linii) do styles/guides-solver.css === */
/* === KL-SPEED-4 END === */
/* ====================================================
   KOSTKOLAND - CATEGORY SEO ACCORDION / EXPANDABLE BOX
   ==================================================== */
.kl-category-seo-section,
.categorydesc-bottom,
.centercol > .categorydesc:last-of-type {
    position: relative !important;
    margin: 32px 0 24px 0 !important;
    padding: 0 !important;
    clear: both !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.kl-seo-accordion-box {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 16px !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04) !important;
    overflow: hidden !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.kl-seo-accordion-box:hover {
    border-color: #cbd5e1 !important;
    box-shadow: 0 6px 20px -2px rgba(123, 0, 255, 0.07) !important;
}

.kl-seo-accordion-box.is-open {
    border-color: #c084fc !important;
    box-shadow: 0 6px 22px -2px rgba(123, 0, 255, 0.1) !important;
}

/* Header bar with title and toggle button */
.kl-seo-accordion-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 18px 24px !important;
    background: #ffffff !important;
    cursor: pointer !important;
    user-select: none !important;
    gap: 16px !important;
    transition: background-color 0.2s ease !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

.kl-seo-accordion-header:hover {
    background-color: #fcfaff !important;
}

.kl-seo-accordion-box.is-open .kl-seo-accordion-header {
    border-bottom: 1px solid #f1f5f9 !important;
    background-color: #faf5ff !important;
}

/* Title inside header */
.kl-seo-accordion-title {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    line-height: 1.35 !important;
    letter-spacing: -0.25px !important;
    text-align: left !important;
    flex: 1 1 auto !important;
}

/* Toggle pill badge in header */
.kl-seo-accordion-toggle {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    background: #f8fafc !important;
    color: #7b00ff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 999px !important;
    padding: 7px 16px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
}

.kl-seo-accordion-header:hover .kl-seo-accordion-toggle {
    background: linear-gradient(135deg, #7b00ff 0%, #04bbff 100%) !important;
    color: #ffffff !important;
    border-color: #7b00ff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 3px 10px rgba(123, 0, 255, 0.2) !important;
}

.kl-seo-accordion-box.is-open .kl-seo-accordion-toggle {
    background: linear-gradient(135deg, #7b00ff 0%, #04bbff 100%) !important;
    color: #ffffff !important;
    border-color: #7b00ff !important;
}

.kl-seo-toggle-icon {
    display: inline-block !important;
    width: 8px !important;
    height: 8px !important;
    min-width: 8px !important;
    min-height: 8px !important;
    border-right: 2.5px solid currentColor !important;
    border-bottom: 2.5px solid currentColor !important;
    transform: rotate(45deg) !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    flex-shrink: 0 !important;
    position: relative !important;
    top: -2px !important;
}

.kl-seo-accordion-box.is-open .kl-seo-toggle-icon {
    transform: rotate(-135deg) !important;
    top: 2px !important;
}

/* Accordion Body */
.kl-seo-accordion-body {
    display: block !important;
    padding: 0 24px 18px 24px !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

.kl-seo-accordion-box.is-open .kl-seo-accordion-body {
    padding: 20px 24px 22px 24px !important;
}

.kl-seo-content-wrap {
    position: relative !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Collapsed content: ~3 lines visible */
.kl-seo-accordion-box:not(.is-open) .kl-seo-content-wrap {
    max-height: 76px !important;
    overflow: hidden !important;
}

.kl-seo-accordion-box.is-open .kl-seo-content-wrap {
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
}

/* Fade overlay in collapsed state */
.kl-seo-fade-overlay {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 48px !important;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.95) 75%, #ffffff 100%) !important;
    pointer-events: none !important;
    transition: opacity 0.25s ease !important;
}

.kl-seo-accordion-box.is-open .kl-seo-fade-overlay {
    display: none !important;
    opacity: 0 !important;
}

/* Bottom Action Bar */
.kl-seo-bottom-actions,
.kl-seo-bottom-btn {
    display: none !important;
}

@media (max-width: 768px) {
    .kl-category-seo-section,
    .categorydesc-bottom,
    .centercol > .categorydesc:last-of-type {
        margin: 20px 0 16px 0 !important;
    }
    .kl-seo-accordion-header {
        padding: 14px 16px !important;
        gap: 10px !important;
    }
    .kl-seo-accordion-title {
        font-size: 15px !important;
    }
    .kl-seo-accordion-toggle {
        padding: 6px 12px !important;
        font-size: 12px !important;
    }
    .kl-seo-accordion-body {
        padding: 0 16px 16px 16px !important;
    }
    .kl-seo-accordion-box.is-open .kl-seo-accordion-body {
        padding: 16px 16px 18px 16px !important;
        max-height: none !important;
        height: auto !important;
        overflow: visible !important;
    }
    .kl-seo-accordion-box.is-open .kl-seo-content-wrap {
        max-height: none !important;
        height: auto !important;
        overflow: visible !important;
    }
}

/* === KL-SPEED-4 START: Przeniesiono osadzone moduły algorytmów (486 linii) do styles/guides-solver.css === */
/* === KL-SPEED-4 END === */
/* === KL-INTRO-COLLAPSE START === */
.kl-desc-intro {
    position: relative !important;
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 18px !important;
    padding: 24px 28px !important;
    margin: 0 0 36px 0 !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important;
    box-sizing: border-box !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
}

.kl-desc-intro:hover {
    border-color: #cbd5e1 !important;
    box-shadow: 0 6px 20px rgba(123, 0, 255, 0.06) !important;
}

.kl-desc-intro h2,
.kl-desc-intro h1,
.kl-desc-intro h3 {
    margin-top: 0 !important;
    margin-bottom: 16px !important;
    padding-bottom: 12px !important;
    border-bottom: 2px solid #f1f5f9 !important;
    text-align: center !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.kl-intro-btn-wrap {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 8px 0 0 0 !important;
    width: 100% !important;
}

.kl-intro-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    min-height: 44px !important;
    padding: 0 28px !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, #7b00ff 0%, #04bbff 100%) !important;
    background-size: 200% 100% !important;
    background-position: 0% 0% !important;
    color: #ffffff !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    border: none !important;
    box-shadow: 0 6px 18px rgba(123, 0, 255, 0.3) !important;
    cursor: pointer !important;
    user-select: none !important;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-position 0.4s ease !important;
}

.kl-intro-toggle:hover {
    background-position: 100% 0% !important;
    transform: translateY(-1.5px) !important;
    box-shadow: 0 8px 24px rgba(123, 0, 255, 0.42) !important;
    color: #ffffff !important;
}

.kl-intro-toggle:active {
    transform: translateY(0) scale(0.98) !important;
    box-shadow: 0 3px 10px rgba(123, 0, 255, 0.25) !important;
}

.kl-intro-toggle:focus-visible {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(4, 187, 255, 0.5), 0 6px 18px rgba(123, 0, 255, 0.3) !important;
}

.kl-intro-toggle-arrow {
    display: inline-block !important;
    font-size: 14px !important;
    line-height: 1 !important;
    transition: transform 0.25s ease !important;
}

.kl-intro-collapsible .kl-intro-content {
    display: grid !important;
    grid-template-rows: 0fr !important;
    opacity: 0 !important;
    visibility: hidden !important;
    margin-top: 0 !important;
    transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.28s ease, margin-top 0.35s ease, visibility 0.35s !important;
}

.kl-intro-collapsible.is-expanded .kl-intro-content {
    grid-template-rows: 1fr !important;
    opacity: 1 !important;
    visibility: visible !important;
    margin-top: 20px !important;
}

.kl-intro-collapsible .kl-intro-content-inner {
    overflow: hidden !important;
    min-height: 0 !important;
}

.kl-intro-collapsible .kl-intro-content-inner > :last-child {
    margin-bottom: 0 !important;
}

@media (max-width: 768px) {
    .kl-desc-intro {
        padding: 18px 16px !important;
        border-radius: 16px !important;
        margin-bottom: 28px !important;
    }
    .kl-desc-intro h2,
    .kl-desc-intro h1,
    .kl-desc-intro h3 {
        font-size: 19px !important;
        margin-bottom: 14px !important;
        padding-bottom: 10px !important;
    }
    .kl-intro-toggle {
        width: 100% !important;
        min-height: 46px !important;
        font-size: 14px !important;
        padding: 0 16px !important;
    }
}
/* === KL-INTRO-COLLAPSE END === */

/* === KL-SPEED-4b START: Przeniesione style globalne ze styles/basket-summary.css === */

/* 1. Tytuły sliderów wyśrodkowane WSZĘDZIE (desktop i mobile) */
.boxhead, .box .boxhead, #box_left .boxhead, .column .boxhead {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
}
.boxhead > span, .boxhead > h3, .boxhead > h2, .boxhead > h1,
.box.slider .boxhead span, #box_specialoffer .boxhead span, #box_bestsellers .boxhead span {
    display: block !important;
    text-align: center !important;
    width: 100% !important;
}

/* 2. Nowoczesny Alert na górze */
.alert, .alert-info, .alert-success, .alert-error {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    color: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 16px 110px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    position: relative !important;
    margin-bottom: 24px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    box-sizing: border-box !important;
    width: 100% !important;
}
.alert a, .alert-info a, .alert-success a {
    color: #04bbff !important;
    font-weight: 700 !important;
}

/* Wyśrodkowanie komunikatów we wszystkich powiadomieniach */
.kl-empty-cart-alert,
.alert:not(:has(.close)),
.alert-info:not(:has(.close)),
.alert-success:not(:has(.close)),
.alert-error:not(:has(.close)) {
    justify-content: center !important;
    text-align: center !important;
    flex-direction: row !important;
    padding: 16px 20px !important;
}

.alert .row, .alert-info .row, .alert-success .row, .alert-error .row {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    margin: 0 auto !important;
}

.alert p, .alert-info p, .alert-success p, .alert-error p,
.alert .row p, .alert-info .row p, .alert-success .row p, .alert-error .row p,
.kl-empty-cart-alert p {
    text-align: center !important;
    margin: 0 auto !important;
    width: 100% !important;
    line-height: 1.5 !important;
}
.alert .close, .alert-info .close, .alert-success .close, .alert-error .close {
    background: rgba(255,255,255,0.1) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 20px !important;
    padding: 8px 16px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: auto !important;
    text-indent: 0 !important;
    position: absolute !important;
    right: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
}
.alert .close:hover, .alert-info .close:hover, .alert-success .close:hover, .alert-error .close:hover {
    background: #ef4444 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3) !important;
    transform: translateY(calc(-50% - 1px)) !important;
}

/* Dopasowanie i wyśrodkowanie powiadomień / alertów na mobile */
@media (max-width: 768px) {
    .alert,
    .alert-info,
    .alert-success,
    .alert-warning,
    .alert-error,
    .kl-empty-cart-alert {
        width: calc(100% - 24px) !important;
        max-width: calc(100% - 24px) !important;
        margin: 8px auto 14px auto !important;
        padding: 10px 80px 10px 14px !important;
        border-radius: 12px !important;
        font-size: 12px !important;
        line-height: 1.35 !important;
        box-sizing: border-box !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        min-height: auto !important;
    }

    .alert:not(:has(.close)),
    .alert-info:not(:has(.close)),
    .alert-success:not(:has(.close)),
    .alert-warning:not(:has(.close)),
    .alert-error:not(:has(.close)) {
        padding: 10px 14px !important;
    }

    .alert p,
    .alert-info p,
    .alert-success p,
    .alert-error p,
    .alert .row p,
    .alert-info .row p,
    .kl-empty-cart-alert p {
        font-size: 12px !important;
        line-height: 1.35 !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: center !important;
        width: 100% !important;
    }

    .alert p a,
    .alert-info p a {
        font-size: 12px !important;
        color: #04bbff !important;
        text-decoration: underline !important;
    }

    .alert .close,
    .alert-info .close,
    .alert-success .close,
    .alert-warning .close,
    .alert-error .close,
    .alert button.close {
        position: absolute !important;
        right: 10px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        padding: 4px 10px !important;
        font-size: 10px !important;
        font-weight: 700 !important;
        border-radius: 12px !important;
        background: rgba(255, 255, 255, 0.15) !important;
        color: #ffffff !important;
        border: 1px solid rgba(255, 255, 255, 0.25) !important;
        letter-spacing: 0.4px !important;
        white-space: nowrap !important;
        width: auto !important;
        height: auto !important;
        box-shadow: none !important;
    }
}

/* Slider akcesoriów - eleganckie przenikanie (fade) z obu stron bez obcinania kart */
.kl-accessories-slider {
    position: relative !important;
    overflow: hidden !important;
}
.kl-acc-track {
    -webkit-mask-image: none !important;
    mask-image: none !important;
}
.kl-accessories-slider::before,
.kl-accessories-slider::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 60px !important;
    z-index: 6 !important;
    pointer-events: none !important;
    display: block !important;
}
.kl-accessories-slider::before {
    left: 0 !important;
    background: linear-gradient(to right, #ffffff 0%, rgba(255, 255, 255, 0.85) 20px, rgba(255, 255, 255, 0) 100%) !important;
}
.kl-accessories-slider::after {
    right: 0 !important;
    background: linear-gradient(to left, #ffffff 0%, rgba(255, 255, 255, 0.85) 20px, rgba(255, 255, 255, 0) 100%) !important;
}
.kl-acc-nav {
    z-index: 10 !important;
}
@media (max-width: 768px) {
    .kl-accessories-slider::before,
    .kl-accessories-slider::after {
        width: 36px !important;
    }
}

/* Wyśrodkowanie i estetyczne dopasowanie sliderów (Promocje, Bestsellery) na mobile */
@media (max-width: 768px) {
    .box.slider,
    #box_specialoffer,
    #box_bestsellers {
        width: 100% !important;
        max-width: 100% !important;
        margin: 20px auto 30px auto !important;
        box-sizing: border-box !important;
        text-align: center !important;
        float: none !important;
        clear: both !important;
    }
    .box.slider .boxhead,
    #box_specialoffer .boxhead,
    #box_bestsellers .boxhead {
        text-align: center !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 0 auto 16px auto !important;
    }
    .box.slider .boxhead span,
    #box_specialoffer .boxhead span,
    #box_bestsellers .boxhead span {
        text-align: center !important;
        margin: 0 auto !important;
    }
    .box.slider .innerbox,
    #box_specialoffer .innerbox,
    #box_bestsellers .innerbox {
        overflow: hidden !important;
        position: relative !important;
        width: 100% !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }
    .box.slider .slider-nav-left,
    #box_specialoffer .slider-nav-left,
    #box_bestsellers .slider-nav-left {
        left: 6px !important;
        width: 38px !important;
        height: 38px !important;
        z-index: 20 !important;
    }
    .box.slider .slider-nav-right,
    #box_specialoffer .slider-nav-right,
    #box_bestsellers .slider-nav-right {
        right: 6px !important;
        width: 38px !important;
        height: 38px !important;
        z-index: 20 !important;
    }
}

/* Wyśrodkowanie i dopasowanie sekcji Newsletter na mobile */
@media (max-width: 768px) {
    .bottom-footer,
    .rwd .bottom-footer {
        margin: 0 auto !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .bottom-footer .container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    #box_newsletter,
    .box#box_newsletter,
    .custom-newsletter-box {
        padding: 24px 16px !important;
        margin: 20px auto 30px auto !important;
        width: calc(100% - 24px) !important;
        max-width: calc(100% - 24px) !important;
        border-radius: 16px !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }
    #box_newsletter .innerbox,
    .custom-newsletter-box .innerbox {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        gap: 16px !important;
        margin: 0 auto !important;
        text-align: center !important;
    }
    #box_newsletter .boxintro,
    .custom-newsletter-box .boxintro {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        justify-content: center !important;
        width: 100% !important;
        min-width: 0 !important;
        font-size: 13.5px !important;
        margin: 0 auto !important;
        gap: 10px !important;
    }
    #box_newsletter .boxintro::before,
    .custom-newsletter-box .boxintro::before {
        margin: 0 auto 4px auto !important;
        display: block !important;
    }
    #box_newsletter form,
    .custom-newsletter-box form {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    #box_newsletter .newsletter-input-container,
    .custom-newsletter-box .newsletter-input-container {
        width: 100% !important;
        max-width: 400px !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }
    #box_newsletter .newsletter-consent,
    .custom-newsletter-box .newsletter-consent {
        width: 100% !important;
        max-width: 400px !important;
        margin: 12px auto 0 auto !important;
    }
    #box_newsletter .newsletter-consent-label,
    .custom-newsletter-box .newsletter-consent-label {
        justify-content: center !important;
        text-align: left !important;
    }
}
/* === KL-SPEED-4b END === */

/* === KL-SPEED-6 START: Animation pause and GPU compositing === */
.kl-paused-anim,
.kl-paused-anim * {
    animation-play-state: paused !important;
}

@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
/* === KL-SPEED-6 END === */

/* === KL-SPEED2-1 START: YouTube Facade styles === */
.kl-youtube-facade {
    position: relative;
    width: 100%;
    max-width: 560px;
    aspect-ratio: 16 / 9;
    background: #000000;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    margin: 15px auto;
}
.kl-youtube-facade img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.kl-youtube-facade:hover img {
    transform: scale(1.02);
    opacity: 0.92;
}
.kl-youtube-facade .kl-youtube-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    background: rgba(33, 33, 33, 0.85);
    border: none;
    border-radius: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: background 0.2s ease, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}
.kl-youtube-facade:hover .kl-youtube-play-btn {
    background: #ff0000;
    transform: translate(-50%, -50%) scale(1.12);
}
/* === KL-SPEED2-1 END === */

/* === KL-SPEED2-4 START: Prevent iOS zoom on inputs when user-scalable is enabled === */
@media screen and (max-width: 768px) {
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    input[type="search"],
    input[type="tel"],
    select,
    textarea {
        font-size: 16px !important;
    }
}
/* === KL-SPEED2-4 END === */

/* === KL-SPEED2-5 START: GPU compositing for product slider and 3D cube banner === */
.slider-wrap,
#cube-shaker,
.pivot,
.rubiks-cube,
.cubie {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}
/* === KL-SPEED2-5 END === */

/* === KL-SEO3-1 START: Visually hidden text for accessible SEO headings === */
.kl-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
/* === KL-SEO3-1 END === */

/* === KL-SEO3-FIX START: Centrowanie nagłówka Polecane produkty na stronie głównej === */
body.shop_index #box_mainproducts .boxhead,
body.shop_index #box_mainproducts .category-name,
body.shop_index #box_mainproducts .boxhead h1,
body.shop_index #box_mainproducts .boxhead h2 {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
    margin: 0 auto 20px auto !important;
}
/* === KL-SEO3-FIX END === */

/* === KL-DESKTOP-SQUARE-FIX START: Całkowite usunięcie kwadracika i reliktów nad zakładkami na karcie produktu === */
.tab-container::before,
.tab-container::after,
.tab-container nav::before,
.tab-container nav::after,
.product-modules::before,
.product-modules::after,
.product-modules nav::before,
.product-modules nav::after,
.kl-accessories-slider-wrap::before,
.kl-accessories-slider-wrap::after,
.tab-container nav ul::before,
.tab-container nav ul::after,
.tab-container nav ul li::before,
.tab-container nav ul li::after,
.tab-container nav ul li .boxhead::before,
.tab-container nav ul li .boxhead::after,
.product-modules nav ul li .boxhead::before,
.product-modules nav ul li .boxhead::after,
.tab-container .boxhead::before,
.tab-container .boxhead::after,
.product-modules .boxhead::before,
.product-modules .boxhead::after {
    display: none !important;
    content: none !important;
    border: none !important;
    outline: none !important;
    width: 0 !important;
    height: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

.kl-accessories-slider-wrap {
    overflow: hidden !important;
}

.modal-shipping-close,
.modal-shipping,
.tab-container *[class*="modal-close"],
.tab-container *[class*="shipping-close"],
.tab-container *[class*="tooltip"],
.tab-container *[class*="hint"],
.tab-container .icon-help,
.product-modules *[class*="modal-close"],
.product-modules *[class*="shipping-close"],
.product-modules *[class*="tooltip"],
.product-modules *[class*="hint"],
.product-modules .icon-help,
#box_productdeliveries .modal-close,
#box_productdeliveries .modal-shipping-close,
#box_productdeliveries_tab .modal-close,
#box_productdeliveries_tab .modal-shipping-close,
#box_productdeliveries_tab .hint,
#box_productdeliveries_tab .icon-help,
.tab-container .modal-close,
.tab-container .modal-shipping-close,
.product-modules .modal-close,
.product-modules .modal-shipping-close,
.tab-container nav .modal-close,
.tab-container nav .modal-shipping-close,
.product-modules nav .modal-close,
.product-modules nav .modal-shipping-close,
.tab-container > .boxhead,
.tab-container nav ~ .boxhead,
.product-modules > .boxhead,
.tab-container nav ul li .boxhead.active::after,
.tab-container nav ul li .boxhead.active::before,
.tab-container > :empty:not(nav):not(.product-tabs),
.product-modules > :empty:not(nav):not(.product-tabs),
.tab-container nav > :not(ul),
.product-modules nav > :not(ul),
.tab-container > :not(nav):not(.tab):not(.box):not(.product-tabs),
.product-modules > :not(nav):not(.tab):not(.box):not(.product-tabs) {
    display: none !important;
    visibility: hidden !important;
    content: none !important;
    border: none !important;
    outline: none !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    clip: rect(0, 0, 0, 0) !important;
}
/* === KL-DESKTOP-SQUARE-FIX END === */

/* KL-FIX-2d START: WCAG AA 4.5:1 text contrast enhancements */
/* HTML5 Main Landmark */
main, main.main {
    display: block !important;
}

/* 1. USPs secondary text on light backgrounds (was #777 4.47:1, now #595959 7.0:1) */
.usp-item .usp-text span {
    color: #595959 !important;
}

/* 2. Trust bar secondary text on #f8f9fa background (was #718096 3.8:1, now #475569 5.5:1) */
.trust-item .trust-text span,
.custom-trust-bar .trust-item .trust-text span {
    color: #475569 !important;
}

/* 3. Footer bottom copyright & links on #04050a dark background (was #64748b 4.27:1, now #94a3b8 7.2:1) */
.footer-bottom .copyright,
.footer-bottom-links a,
.footer-custom .footer-bottom-links a {
    color: #94a3b8 !important;
}

/* 4. Product badges: premium gradients matching product card across homepage, categories and product page */
.custom-product-badge--new,
.custom-category-tag--new,
.tags li.new,
.tags .new,
#box_productfull ul.tags li.new,
#box_productfull ul.tags li.custom-product-badge--new,
#box_productfull .tags .custom-category-tag--new {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35) !important;
    color: #ffffff !important;
}

.custom-product-badge--promo,
.custom-category-tag--promo,
.tags li.promo,
.tags .promo,
#box_productfull ul.tags li.promo,
#box_productfull ul.tags li.custom-product-badge--promo,
#box_productfull .tags .custom-category-tag--promo {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35) !important;
    color: #ffffff !important;
}

.custom-product-badge--bestseller,
.custom-category-tag--bestseller,
.tags li.bestseller,
.tags .bestseller,
#box_productfull ul.tags li.bestseller,
#box_productfull ul.tags li.custom-product-badge--bestseller,
#box_productfull .tags .custom-category-tag--bestseller {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35) !important;
    color: #ffffff !important;
}

.custom-product-badge--potd,
.custom-category-tag--potd,
.tags li.potd,
.tags .potd,
#box_productfull ul.tags li.potd,
#box_productfull ul.tags li.custom-product-badge--potd,
#box_productfull .tags .custom-category-tag--potd {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%) !important;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.35) !important;
    color: #ffffff !important;
}

.custom-product-badge--magnetic,
.custom-category-tag--magnetic,
.tags li.magnetic,
.tags .magnetic,
#box_productfull ul.tags li.magnetic,
#box_productfull ul.tags li.custom-product-badge--magnetic,
#box_productfull .tags .custom-category-tag--magnetic {
    background: linear-gradient(135deg, #0052ff 0%, #0038b8 100%) !important;
    box-shadow: 0 4px 12px rgba(0, 82, 255, 0.35) !important;
    color: #ffffff !important;
}

.custom-product-badge--maglev,
.custom-category-tag--maglev,
.tags li.maglev,
.tags .maglev,
#box_productfull ul.tags li.maglev,
#box_productfull ul.tags li.custom-product-badge--maglev,
#box_productfull .tags .custom-category-tag--maglev {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%) !important;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.35) !important;
    color: #ffffff !important;
}

.custom-product-badge--smart,
.custom-category-tag--smart,
.tags li.smart,
.tags .smart,
#box_productfull ul.tags li.smart,
#box_productfull ul.tags li.custom-product-badge--smart,
#box_productfull .tags .custom-category-tag--smart {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35) !important;
    color: #ffffff !important;
}

/* Ensure badges inside inactive product cards keep full contrast */
.product_inactive .custom-product-badges,
.kl-product-out-of-stock .custom-product-badges {
    opacity: 1 !important;
}

/* 5. Product card prices restored to brand vibrant cyan & red */
.product .price em:not(.color),
.product_view-extended .product-inner-wrap .price em:not(.color),
.products .product .price em:not(.color) {
    color: #04bbff !important;
}

/* Inactive / out-of-stock product price */
.kl-product-out-of-stock.product_inactive .price em,
.product_inactive .price em {
    color: #94a3b8 !important;
}

/* Promo price on white cards */
.product .price em.color,
.product.custom-promo-product .price em,
.product .price p em.color,
.promo-price,
.product .price del + em,
.product .price.promo em,
.product:has(.custom-product-badge--promo) .price em {
    color: #ef4444 !important;
}

/* Old crossed-out price on white cards */
.product .price del,
.product .price .promo-old-price,
.product .price span.promo-old-price,
del.price__inactive {
    color: #94a3b8 !important;
}

/* 6. Product detail table links & badges on #f8fafc */
.kl-producer-link {
    color: #0369a1 !important; /* 5.57:1 */
}

.kl-cell-link {
    color: #0369a1 !important; /* 5.57:1 */
}

.kl-timer-label {
    color: #15803d !important; /* 4.55:1 */
}

.kl-timer-clock {
    color: #dc2626 !important; /* 4.56:1 */
}

.kl-accessories-viewall {
    color: #0369a1 !important;
    border-color: #0369a1 !important;
}

.kl-accessories-viewall:hover {
    background: #0369a1 !important;
    color: #ffffff !important;
}

/* Inactive product tabs text on #f1f5f9 background (was #64748b 4.34:1, now #475569 5.48:1) */
.tab-container nav ul li .boxhead h3,
.product-modules nav ul li .boxhead h3,
.tab-container nav ul li .boxhead h3 .kl-tab-short,
.product-modules nav ul li .boxhead h3 .kl-tab-short,
.tab-container nav ul li .boxhead h3 .kl-tab-full,
.product-modules nav ul li .boxhead h3 .kl-tab-full {
    color: #475569 !important;
}

/* 7. Mobile category active button (was #04bbff with white text 2.19:1, now #0369a1 with white text 5.76:1) */
.menu-list > li.kl-active > h3 > a,
.menu-list > li.current > h3 > a,
.menu-list > li.kl-active > .menu-heading > a,
.menu-list > li.current > .menu-heading > a {
    background: #0369a1 !important;
    border-color: #0369a1 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(3, 105, 161, 0.35) !important;
}
/* KL-FIX-2d END */

/* === KL-NOTIFY-CENTER START: Wyśrodkowanie przycisku powiadomienia o dostępności na karcie produktu === */
#box_productfull .availability-notifier-container,
#box_productfull .availability-notifier-unsubscribe-container {
    text-align: center;
}

#box_productfull .availability-notifier-btn,
#box_productfull .availability-notifier-btn span,
#box_productfull .availability-notifier-unsubscribe-btn,
#box_productfull .availability-notifier-unsubscribe-btn span {
    text-align: center !important;
    justify-content: center !important;
}

#box_productfull .js__product-availability {
    display: none !important;
}
/* === KL-NOTIFY-CENTER END === */

/* === KL-FIX3b-3a START: Przeniesienie custom-filters-dynamic-style z JS do CSS === */
/* Nagłówek (header) i koszyk z dropdownem nad paskiem menu */
@media (min-width: 769px) {
    header.header-custom,
    .header-custom,
    header.row,
    header {
        position: relative !important;
        z-index: 5000 !important;
    }

    .header-icons {
        position: relative !important;
        z-index: 5001 !important;
    }
}

@media (max-width: 768px) {
    .header-icons {
        order: 2 !important;
        position: absolute !important;
        left: calc(50% - 22px) !important;
        top: 0px !important;
        height: 38px !important;
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        margin: 0 !important;
        padding: 0 !important;
        z-index: 5001 !important;
        flex: 0 0 auto !important;
    }
}

.header-icon-item.cart-item,
.header-icon-item.basket {
    position: relative !important;
    z-index: 5002 !important;
}

.cart-item .basket-contain,
.header-icon-item.basket .basket-contain,
.basket-contain {
    position: absolute !important;
    z-index: 5010 !important;
}

/* Menu nawigacyjne i jego rozwijane podkategorie pod nagłówkiem koszyka ale nad treścią strony */
.menu,
.menu.row,
.innermenu {
    position: relative !important;
    z-index: 1000 !important;
}

/* Zabezpieczenie przed łapaniem kategorii pod koszykiem na desktopie */
@media (min-width: 769px) {
    body:has(.header-icon-item.cart-item:hover) .menu,
    body:has(.header-icon-item.basket:hover) .menu,
    body:has(.header-icon-item.cart-item.kl-cart-open) .menu,
    body:has(.header-icon-item.basket.kl-cart-open) .menu,
    body:has(.basket-contain:hover) .menu {
        pointer-events: none !important;
    }
}

.menu-list > li .submenu,
.menu-list > li .submenu > ul,
.menu-list > li > div.submenu,
.menu-list > li > div > ul {
    z-index: 1050 !important;
}

#box_filter,
#box_productfilter {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 24px 28px !important;
    margin-bottom: 20px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
    position: relative !important;
    z-index: 10 !important;
    overflow: visible !important;
}

/* Tytuł kategorii idealnie na środku */
#box_mainproducts,
.box#box_mainproducts {
    margin: 0 0 30px 0 !important;
    padding: 0 !important;
}

#box_mainproducts .boxhead,
.centercol .boxhead,
.categoryhead,
.centercol #box_mainproducts .boxhead {
    margin: 0 auto 15px auto !important;
    padding: 0 !important;
    border: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
    float: none !important;
    min-height: 0 !important;
    height: auto !important;
}

#box_mainproducts .boxhead h1.category-name,
#box_mainproducts .category-name,
.centercol .boxhead h1,
.category-name,
h1.category-name,
.centercol h1 {
    margin: 0 auto !important;
    padding: 0 !important;
    line-height: 1.2 !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    text-align: center !important;
    width: 100% !important;
    display: block !important;
    float: none !important;
    border: none !important;
}

/* Ukrycie pustych bloków paginacji w nagłówku które tworzyły ogromną lukę */
#box_mainproducts .boxhead .paginator,
#box_mainproducts .boxhead .search-info,
#box_mainproducts .boxhead .sort-and-view,
#box_mainproducts .boxhead .floatcenterwrap,
.categorydesc:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
}

.categorydesc,
.categorydesc.resetcss {
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
}

/* Siatka produktów zaraz pod tytułem */
#box_mainproducts .innerbox {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.centercol .products,
.centercol .products.viewphot,
.centercol .productlist,
#box_mainproducts .products,
#box_mainproducts .productlist,
.products.viewphot,
.products {
    margin-top: 10px !important;
    margin-bottom: 20px !important;
    padding-top: 0 !important;
}

/* Ukrycie wszelkich kresek i pseudo-elementów */
#box_mainproducts .boxhead::after,
#box_mainproducts .boxhead::before,
.centercol .boxhead::after,
.centercol .boxhead::before,
.categoryhead::after,
.categoryhead::before {
    display: none !important;
    content: none !important;
    border: none !important;
}

/* Pola ceny */
#box_filter .multiselect ul li.priceinput {
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
}
#box_filter .multiselect ul li.priceinput .price-field-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    width: 100% !important;
}
#box_filter .multiselect ul li.priceinput .fromto {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #475569 !important;
    text-transform: uppercase !important;
    min-width: 30px !important;
}
#box_filter .multiselect ul li.priceinput input[type="text"] {
    width: calc(100% - 40px) !important;
    height: 38px !important;
    border-radius: 10px !important;
    border: 1.5px solid #e2e8f0 !important;
    background: #f8fafc !important;
    padding: 0 12px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    box-sizing: border-box !important;
    outline: none !important;
    margin: 0 !important;
}
#box_filter .multiselect ul li.priceinput input[type="text"]:focus {
    border-color: #04BBFF !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(4, 187, 255, 0.15) !important;
}
#box_filter .multiselect ul li.priceinput .bottombuttons {
    width: 100% !important;
    margin-top: 4px !important;
}
#box_filter .multiselect ul li.priceinput .btn {
    width: 100% !important;
    height: 38px !important;
    background: linear-gradient(135deg, #7b00ff 0%, #04BBFF 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 20px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12) !important;
}
#box_filter .multiselect ul li.priceinput .btn:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.16) !important;
}

/* Ukrycie ceny regularnej i najniższej ceny (Omnibus) ze wszystkich produktów */
.products .price__regular,
.products .price__omnibus,
.product .price__regular,
.product .price__omnibus,
.product-main-wrap .price__regular,
.product-main-wrap .price__omnibus,
.box:not(#box_productfull) .product .price__regular,
.box:not(#box_productfull) .product .price__omnibus,
.box:not(#box_productfull) .product .price__inactive,
.box:not(#box_productfull) .product [class*="omnibus"],
.box:not(#box_productfull) .product del,
.product .price .price__regular,
.product .price .price__omnibus,
.product .price .price__inactive {
    display: none !important;
}

/* Zmniejszenie wysokości kafelków produktów po usunięciu cen regularnych i najniższych */
.products.viewphot .product,
.products.viewphot.products_extended .product.product_view-extended,
.product.product_view-extended,
.product-main-wrap,
.s-grid-9 .products.viewphot .product,
.s-grid-12 .products.viewphot .product,
.s-grid-6 .products.viewphot .product,
.rwd .main #box_mainproducts .products .product,
#box_bestsellers .product,
#box_productoftheday .product,
#box_specialoffer .product,
#box_lastadded .product,
#box_recent .product,
[id*="box_recommendations_"] .product {
    height: auto !important;
    min-height: 0 !important;
}
/* === KL-FIX3b-3a END === */

/* ========================================================
   KL-FOOTER-CLEANUP: Usunięcie białej linii pod stopką i ukrycie linku Shoper
   ======================================================== */
footer,
.footer-custom,
footer.footer-custom,
.footer-bottom {
    margin-bottom: 0 !important;
}

#turn-classic,
.center:has(#turn-classic),
div.center:has(span#turn-classic),
#shoper-foot {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    background: #04050a !important;
}

/* ========================================================
   KL-FURGONETKA-FIX: Naprawa karty i przycisku zwrotu oraz boksu pomocy na telefonie
   ======================================================== */
.kl-furgonetka-card {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
}
.kl-furgonetka-btn {
    box-sizing: border-box !important;
    max-width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
}
@media (max-width: 768px) {
    .kl-furgonetka-card {
        align-items: stretch !important;
        padding: 20px 18px !important;
    }
    .kl-furgonetka-btn {
        width: 100% !important;
        padding: 12px 16px !important;
        white-space: normal !important;
        line-height: 1.35 !important;
    }
}
@media (max-width: 420px) {
    .kl-support-actions {
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
    }
    .kl-support-btn {
        width: 100% !important;
        flex: 1 1 100% !important;
        padding: 11px 16px !important;
        font-size: 13px !important;
        border-radius: 14px !important;
        box-sizing: border-box !important;
    }
}

/* ========================================================
   KL-LIVE-SEARCH: Inteligentna wyszukiwarka z autouzupełnianiem
   ======================================================== */
.header-search {
    position: relative !important;
}

.kl-live-search-dropdown {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    min-width: 320px !important;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 18px !important;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16), 0 4px 12px rgba(15, 23, 42, 0.08) !important;
    z-index: 99999 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    animation: klLiveSearchFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@keyframes klLiveSearchFadeIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.kl-live-search-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 16px 8px 16px !important;
    background: #f8fafc !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.kl-live-search-header-title {
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    color: #64748b !important;
}

.kl-live-search-list {
    max-height: 380px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 4px 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.kl-live-search-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 16px !important;
    text-decoration: none !important;
    transition: background 0.15s ease, transform 0.15s ease !important;
    border-bottom: 1px solid #f8fafc !important;
    cursor: pointer !important;
}

.kl-live-search-item:last-child {
    border-bottom: none !important;
}

.kl-live-search-item:hover,
.kl-live-search-item.is-selected {
    background: #f0f9ff !important;
}

.kl-live-search-thumb {
    width: 46px !important;
    height: 46px !important;
    flex-shrink: 0 !important;
    border-radius: 10px !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

.kl-live-search-thumb img {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    display: block !important;
}

.kl-live-search-info {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
}

.kl-live-search-name {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.kl-live-search-item:hover .kl-live-search-name,
.kl-live-search-item.is-selected .kl-live-search-name {
    color: #0284c7 !important;
}

.kl-live-search-price-row {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: 2px !important;
}

.kl-live-search-price {
    font-size: 14.5px !important;
    font-weight: 800 !important;
    color: #04bbff !important;
}

.kl-live-search-price.is-promo {
    color: #ef4444 !important;
}

.kl-live-search-old-price {
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #94a3b8 !important;
    text-decoration: line-through !important;
}

/* Produkty niedostępne w wyszukiwarce live - stylizowane na szaro */
.kl-live-search-item.is-out-of-stock {
    background: #fbfcfd !important;
    opacity: 0.72 !important;
}

.kl-live-search-item.is-out-of-stock:hover,
.kl-live-search-item.is-out-of-stock.is-selected {
    background: #f1f5f9 !important;
    opacity: 0.9 !important;
}

.kl-live-search-item.is-out-of-stock .kl-live-search-thumb {
    filter: grayscale(100%) !important;
    opacity: 0.6 !important;
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
}

.kl-live-search-item.is-out-of-stock .kl-live-search-name {
    color: #64748b !important;
}

.kl-live-search-item.is-out-of-stock .kl-live-search-price {
    color: #94a3b8 !important;
}

.kl-live-search-item.is-out-of-stock .kl-live-search-arrow {
    color: #e2e8f0 !important;
}

.kl-live-search-stock-tag {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    color: #64748b !important;
    background: #e2e8f0 !important;
    border-radius: 5px !important;
    padding: 1.5px 6px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
    line-height: 1.3 !important;
    margin-left: 4px !important;
}

.kl-live-search-arrow {
    flex-shrink: 0 !important;
    color: #cbd5e1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: color 0.15s ease, transform 0.15s ease !important;
}

.kl-live-search-item:hover .kl-live-search-arrow,
.kl-live-search-item.is-selected .kl-live-search-arrow {
    color: #04bbff !important;
    transform: translateX(3px) !important;
}

.kl-live-search-footer {
    padding: 8px 12px !important;
    background: #f8fafc !important;
    border-top: 1px solid #f1f5f9 !important;
}

.kl-live-search-all-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 9px 16px !important;
    background: #04bbff !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

.kl-live-search-all-btn:hover {
    background: #009de0 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(4, 187, 255, 0.35) !important;
}

.kl-live-search-loading {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 24px 16px !important;
    color: #64748b !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

.kl-live-search-spinner {
    width: 18px !important;
    height: 18px !important;
    border: 2.5px solid #e2e8f0 !important;
    border-top-color: #04bbff !important;
    border-radius: 50% !important;
    animation: klLiveSearchSpin 0.7s linear infinite !important;
}

@keyframes klLiveSearchSpin {
    to { transform: rotate(360deg); }
}

.kl-live-search-empty {
    padding: 24px 16px !important;
    text-align: center !important;
}

.kl-live-search-empty-icon {
    font-size: 24px !important;
    display: block !important;
    margin-bottom: 6px !important;
}

.kl-live-search-empty-title {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin-bottom: 4px !important;
}

.kl-live-search-empty-sub {
    font-size: 12.5px !important;
    color: #64748b !important;
}

@media (max-width: 768px) {
    .kl-live-search-dropdown {
        top: calc(100% + 6px) !important;
        max-height: 72vh !important;
        border-radius: 16px !important;
        min-width: 0 !important;
    }
    .kl-live-search-list {
        max-height: 52vh !important;
    }
    .kl-live-search-item {
        padding: 9px 12px !important;
        gap: 10px !important;
    }
    .kl-live-search-thumb {
        width: 42px !important;
        height: 42px !important;
    }
    .kl-live-search-name {
        font-size: 13px !important;
    }
    .kl-live-search-price {
        font-size: 14px !important;
    }
}

/* ==========================================================
   KL-SEO-HUB: Homepage SEO Guide & Catalog Links Directory
   ========================================================== */
.kl-home-seo-hub {
    margin: 48px auto 24px auto !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
}

.kl-seo-hub-inner {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 36px 40px !important;
    box-shadow: 0 12px 36px -12px rgba(15, 23, 42, 0.06) !important;
    box-sizing: border-box !important;
}

.kl-seo-hub-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.1) 0%, rgba(123, 0, 255, 0.08) 100%) !important;
    border: 1px solid rgba(2, 132, 199, 0.25) !important;
    color: #0284c7 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    padding: 5px 14px !important;
    border-radius: 999px !important;
    margin-bottom: 12px !important;
}

.kl-seo-hub-title {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    line-height: 1.35 !important;
    margin: 0 0 18px 0 !important;
    letter-spacing: -0.3px !important;
}

.kl-seo-hub-prose p {
    font-size: 14.5px !important;
    line-height: 1.75 !important;
    color: #334155 !important;
    margin: 0 0 16px 0 !important;
}

.kl-seo-hub-prose a {
    color: #0284c7 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(2, 132, 199, 0.35) !important;
    transition: all 0.15s ease !important;
}

.kl-seo-hub-prose a:hover {
    color: #0369a1 !important;
    border-bottom-color: #0369a1 !important;
    background: rgba(2, 132, 199, 0.06) !important;
    border-radius: 3px !important;
}

.kl-seo-subheading {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 28px 0 16px 0 !important;
    padding-top: 24px !important;
    border-top: 1px solid #f1f5f9 !important;
    clear: both !important;
    width: 100% !important;
}

.kl-seo-solvers-block,
.kl-seo-catalog-block {
    display: block !important;
    width: 100% !important;
    clear: both !important;
    float: none !important;
    box-sizing: border-box !important;
}

/* Solvers Grid - 3 columns on desktop, 2 on tablet, 1 on mobile */
.kl-seo-solvers-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 14px !important;
    width: 100% !important;
    margin-bottom: 8px !important;
    box-sizing: border-box !important;
}

.kl-seo-solver-card {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 14px 16px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    text-decoration: none !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-sizing: border-box !important;
    min-height: 72px !important;
}

.kl-seo-solver-card:hover {
    background: #ffffff !important;
    border-color: #0284c7 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px -4px rgba(2, 132, 199, 0.16) !important;
}

.kl-seo-solver-icon {
    font-size: 24px !important;
    flex-shrink: 0 !important;
    line-height: 1 !important;
}

.kl-seo-solver-info {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.kl-seo-solver-info strong {
    display: block !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.3 !important;
}

.kl-seo-solver-info span {
    display: block !important;
    font-size: 12px !important;
    color: #64748b !important;
    line-height: 1.35 !important;
    margin-top: 2px !important;
}

.kl-seo-solver-arrow {
    color: #0284c7 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    flex-shrink: 0 !important;
    transition: transform 0.15s ease !important;
}

.kl-seo-solver-card:hover .kl-seo-solver-arrow {
    transform: translateX(3px) !important;
}

/* Catalog Grid - 2x2 grid on desktop, 1 col on mobile */
.kl-seo-catalog-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.kl-seo-cat-card {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 18px 20px !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    transition: all 0.2s ease !important;
}

.kl-seo-cat-card:hover {
    border-color: #cbd5e1 !important;
    background: #ffffff !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04) !important;
}

.kl-seo-cat-title {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-bottom: 12px !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid #edf2f7 !important;
    letter-spacing: 0.2px !important;
}

.kl-seo-pills {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 7px 8px !important;
}

.kl-seo-pill {
    display: inline-flex !important;
    align-items: center !important;
    padding: 5px 12px !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    color: #1e293b !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.15s ease !important;
    line-height: 1.3 !important;
}

.kl-seo-pill:hover {
    background: #0284c7 !important;
    border-color: #0284c7 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.25) !important;
}

.kl-seo-pill-highlight {
    background: #eff6ff !important;
    border-color: #bfdbfe !important;
    color: #0284c7 !important;
    font-weight: 700 !important;
}

.kl-seo-pill-highlight:hover {
    background: #0284c7 !important;
    border-color: #0284c7 !important;
    color: #ffffff !important;
}

/* Responsive Breakpoints */
@media (max-width: 991px) and (min-width: 641px) {
    .kl-seo-solvers-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .kl-home-seo-hub {
        margin: 32px auto 16px auto !important;
        padding: 0 10px !important;
    }
    .kl-seo-hub-inner {
        padding: 24px 18px !important;
        border-radius: 16px !important;
    }
    .kl-seo-hub-title {
        font-size: 18px !important;
    }
    .kl-seo-catalog-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    .kl-seo-cat-card {
        padding: 14px 16px !important;
    }
}

@media (max-width: 640px) {
    .kl-seo-solvers-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================
   KL-CAT-PILLS: Collapsible Quick Filters Accordion ("Szybkie filtry")
   ========================================================== */
.kl-category-quick-filters {
    margin: 8px 0 16px 0 !important;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 14px !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
    overflow: hidden !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-sizing: border-box !important;
    width: 100% !important;
    clear: both !important;
}

.kl-category-quick-filters:hover {
    border-color: #cbd5e1 !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06) !important;
}

.kl-category-quick-filters.is-open {
    border-color: #cbd5e1 !important;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08) !important;
}

/* Neutralize Shoper aggressive .boxhead span rule on text labels */
.boxhead .kl-category-quick-filters .kl-qf-toggle-label,
.boxhead .kl-category-quick-filters .kl-qf-title,
.boxhead .kl-category-quick-filters .kl-category-quick-pill span {
    font-size: inherit !important;
    font-weight: inherit !important;
    color: inherit !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    display: inline !important;
}

.kl-qf-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 9px 16px !important;
    cursor: pointer !important;
    background: #ffffff !important;
    user-select: none !important;
    transition: background 0.2s ease !important;
    min-height: 44px !important;
    box-sizing: border-box !important;
}

.kl-qf-header:hover {
    background: #f8fafc !important;
}

.kl-qf-header:focus-visible {
    outline: 2px solid #0284c7 !important;
    outline-offset: -2px !important;
}

.kl-qf-header-left {
    display: inline-flex !important;
    align-items: center !important;
    gap: 9px !important;
}

.kl-qf-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
    border-radius: 6px !important;
    background: #fef3c7 !important;
    color: #d97706 !important;
    font-size: 13px !important;
    flex-shrink: 0 !important;
    line-height: 1 !important;
}

.kl-qf-title {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    letter-spacing: 0.2px !important;
    line-height: 1 !important;
}

/* Sleek brand-styled toggle button */
.kl-qf-toggle {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: #f0f9ff !important;
    color: #0284c7 !important;
    border: 1px solid #bae6fd !important;
    padding: 6px 14px !important;
    border-radius: 999px !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
    box-shadow: 0 1px 3px rgba(2, 132, 199, 0.08) !important;
    cursor: pointer !important;
}

.kl-category-quick-filters .kl-qf-toggle-label {
    font-size: 12.5px !important;
    font-weight: 600 !important;
    color: inherit !important;
    line-height: 1 !important;
    letter-spacing: 0.15px !important;
    text-transform: none !important;
    display: inline !important;
}

.kl-qf-header:hover .kl-qf-toggle {
    background: #0284c7 !important;
    color: #ffffff !important;
    border-color: #0284c7 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 3px 10px rgba(2, 132, 199, 0.22) !important;
}

.kl-category-quick-filters.is-open .kl-qf-toggle {
    background: #0284c7 !important;
    color: #ffffff !important;
    border-color: #0284c7 !important;
}

.kl-category-quick-filters .kl-qf-toggle-arrow {
    display: inline-block !important;
    width: 6px !important;
    height: 6px !important;
    border-right: 2px solid currentColor !important;
    border-bottom: 2px solid currentColor !important;
    border-top: none !important;
    border-left: none !important;
    transform: rotate(45deg) !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative !important;
    top: -1.5px !important;
    margin-left: 2px !important;
    flex-shrink: 0 !important;
}

.kl-category-quick-filters.is-open .kl-qf-toggle-arrow {
    transform: rotate(-135deg) !important;
    top: 1.5px !important;
}

/* Body container - collapsed by default */
.kl-qf-body {
    display: none !important;
    padding: 12px 14px 14px 14px !important;
    background: #f8fafc !important;
    border-top: 1px solid #f1f5f9 !important;
    box-sizing: border-box !important;
}

.kl-category-quick-filters.is-open .kl-qf-body {
    display: block !important;
    animation: klQfSlideDown 0.22s ease-out !important;
}

@keyframes klQfSlideDown {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pills inside accordion body */
.kl-category-quick-pills {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.kl-category-quick-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    padding: 6px 14px !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    color: #1e293b !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    white-space: nowrap !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03) !important;
    line-height: normal !important;
    cursor: pointer !important;
    user-select: none !important;
}

.kl-category-quick-pill:hover {
    background: #0284c7 !important;
    border-color: #0284c7 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 3px 10px rgba(2, 132, 199, 0.25) !important;
}

.kl-category-quick-pill.kl-pill-guide {
    background: #eff6ff !important;
    border-color: #bfdbfe !important;
    color: #0284c7 !important;
    font-weight: 700 !important;
}

.kl-category-quick-pill.kl-pill-guide:hover {
    background: #0284c7 !important;
    border-color: #0284c7 !important;
    color: #ffffff !important;
}

.kl-category-quick-pill.kl-pill-faq {
    background: #fefce8 !important;
    border-color: #fde047 !important;
    color: #854d0e !important;
    font-weight: 700 !important;
}

.kl-category-quick-pill.kl-pill-faq:hover {
    background: #eab308 !important;
    border-color: #eab308 !important;
    color: #ffffff !important;
}

@media (max-width: 768px) {
    .kl-category-quick-filters {
        margin: 6px 0 12px 0 !important;
        border-radius: 12px !important;
    }
    .kl-qf-header {
        padding: 8px 12px !important;
        min-height: 38px !important;
    }
    .kl-qf-title {
        font-size: 13px !important;
    }
    .kl-qf-toggle {
        font-size: 11.5px !important;
        padding: 4px 10px !important;
    }
    .kl-qf-body {
        padding: 10px 10px 12px 10px !important;
    }
    .kl-category-quick-pills {
        gap: 6px !important;
    }
    .kl-category-quick-pill {
        font-size: 11.5px !important;
        padding: 5px 10px !important;
    }
}

/* === KL-CAT-FAQ: Collapsible FAQ Accordion under Category Products === */
.kl-category-faq-wrapper {
    margin: 28px 0 24px 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 16px !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04) !important;
    box-sizing: border-box !important;
    clear: both !important;
    width: 100% !important;
    overflow: hidden !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
    text-align: left !important;
}

.kl-category-faq-wrapper:hover {
    border-color: #cbd5e1 !important;
    box-shadow: 0 6px 20px -2px rgba(123, 0, 255, 0.07) !important;
}

.kl-category-faq-wrapper.is-open {
    border-color: #c084fc !important;
    box-shadow: 0 6px 22px -2px rgba(123, 0, 255, 0.1) !important;
}

.kl-cat-faq-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 18px 24px !important;
    cursor: pointer !important;
    user-select: none !important;
    background: #ffffff !important;
    transition: background-color 0.2s ease !important;
    gap: 16px !important;
    margin: 0 !important;
}

.kl-cat-faq-header:hover {
    background-color: #fcfaff !important;
}

.kl-category-faq-wrapper.is-open .kl-cat-faq-header {
    border-bottom: 1px solid #f1f5f9 !important;
    background-color: #faf5ff !important;
}

.kl-cat-faq-header-left {
    flex: 1 !important;
    min-width: 0 !important;
}

.kl-cat-faq-badge {
    display: inline-block !important;
    background: #e0f2fe !important;
    color: #0284c7 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    padding: 3px 10px !important;
    border-radius: 999px !important;
    margin-bottom: 6px !important;
}

.kl-cat-faq-title {
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 6px 0 !important;
    line-height: 1.35 !important;
}

.kl-cat-faq-trust-bar {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 14px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #475569 !important;
}

.kl-cat-faq-trust-bar span {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
}

.kl-icon-check {
    color: #10b981 !important;
    font-style: normal !important;
    font-weight: bold !important;
}

/* Toggle button on the right */
.kl-cat-faq-toggle {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #ffffff !important;
    color: #7b00ff !important;
    border: 1.5px solid #e9d5ff !important;
    padding: 8px 16px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.2px !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    transition: all 0.2s ease !important;
}

.kl-cat-faq-header:hover .kl-cat-faq-toggle {
    background: #7b00ff !important;
    color: #ffffff !important;
    border-color: #7b00ff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 3px 10px rgba(123, 0, 255, 0.2) !important;
}

.kl-category-faq-wrapper.is-open .kl-cat-faq-toggle {
    background: linear-gradient(135deg, #7b00ff 0%, #04bbff 100%) !important;
    color: #ffffff !important;
    border-color: #7b00ff !important;
}

.kl-cat-faq-toggle-icon {
    display: inline-block !important;
    width: 8px !important;
    height: 8px !important;
    border-right: 2px solid currentColor !important;
    border-bottom: 2px solid currentColor !important;
    transform: rotate(45deg) !important;
    transition: transform 0.25s ease !important;
    flex-shrink: 0 !important;
    position: relative !important;
    top: -2px !important;
}

.kl-category-faq-wrapper.is-open .kl-cat-faq-toggle-icon {
    transform: rotate(-135deg) !important;
    top: 2px !important;
}

/* Body container - collapsed by default */
.kl-cat-faq-body {
    display: none !important;
    padding: 20px 24px 24px 24px !important;
    box-sizing: border-box !important;
    background: #f8fafc !important;
}

.kl-category-faq-wrapper.is-open .kl-cat-faq-body {
    display: block !important;
    animation: klFaqSlideDown 0.25s ease-out !important;
}

@keyframes klFaqSlideDown {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.kl-cat-faq-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.kl-cat-faq-item {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    transition: all 0.2s ease !important;
}

.kl-cat-faq-item[open] {
    border-color: #bae6fd !important;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.08) !important;
}

.kl-cat-faq-question {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 13px 18px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    cursor: pointer !important;
    user-select: none !important;
    list-style: none !important;
    gap: 12px !important;
}

.kl-cat-faq-question::-webkit-details-marker {
    display: none !important;
}

.kl-cat-faq-icon {
    display: inline-block !important;
    font-size: 13px !important;
    color: #0284c7 !important;
    transition: transform 0.2s ease !important;
    flex-shrink: 0 !important;
}

.kl-cat-faq-item[open] .kl-cat-faq-icon {
    transform: rotate(180deg) !important;
}

.kl-cat-faq-answer {
    padding: 0 18px 16px 18px !important;
    color: #334155 !important;
    font-size: 13.5px !important;
    line-height: 1.65 !important;
}

.kl-cat-faq-answer p {
    margin: 0 !important;
}

.kl-cat-faq-answer a {
    color: #0284c7 !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
}

@media (max-width: 768px) {
    .kl-category-faq-wrapper {
        margin: 20px 0 18px 0 !important;
        border-radius: 14px !important;
    }
    .kl-cat-faq-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 16px 14px !important;
        gap: 12px !important;
    }
    .kl-cat-faq-toggle {
        width: 100% !important;
        justify-content: center !important;
    }
    .kl-cat-faq-body {
        padding: 16px 14px 18px 14px !important;
    }
    .kl-cat-faq-title {
        font-size: 15px !important;
    }
    .kl-cat-faq-trust-bar {
        gap: 8px !important;
        font-size: 11px !important;
    }
    .kl-cat-faq-question {
        font-size: 13px !important;
        padding: 11px 14px !important;
    }
    .kl-cat-faq-answer {
        font-size: 12.5px !important;
        padding: 0 14px 14px 14px !important;
    }
}

/* === KL-SPEED-INP: Eliminate 300ms mobile tap delay and boost Interaction to Next Paint (INP) === */
html,
body,
a,
button,
input,
select,
textarea,
label,
summary,
[role="button"],
.btn,
.btn-red,
.btn-primary,
.addtobasket,
.kl-category-quick-pill,
.menu-list > li > .menu-heading > a,
.header-icon-item,
.product,
.kl-qf-toggle,
.kl-qf-chip {
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
}




