/* === KOSTKOLAND PRODUCT DETAILS PAGE STYLES === */

/* =======================================================
   PRODUCT DETAILS PAGE (#box_productfull) REDESIGN
   ======================================================= */

/* Main Product Card Container */
#box_productfull {
    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: 30px auto 50px auto !important;
    max-width: 1240px !important;
    overflow: hidden !important;
}

#box_productfull .boxhead {
    display: none !important;
}

#box_productfull .boxhead h1.name {
    display: none !important;
}

#box_productfull .innerbox.product-main-box {
    padding: 36px 40px !important;
}

/* Two-column layout: Gallery (Left) & Buy Box (Right) */
#box_productfull .maininfo .f-row {
    display: flex !important;
    flex-direction: row !important;
    gap: 48px !important;
    align-items: flex-start !important;
}

#box_productfull .maininfo .f-row .f-grid-6 {
    flex: 1 1 0 !important;
    width: auto !important;
    float: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* 1. Gallery Styling */
#box_productfull .prodimage,
#box_productfull .mainimgsize {
    background: #f8fafc !important;
    border-radius: 20px !important;
    border: 1px solid #f1f5f9 !important;
    padding: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    position: relative !important;
}

#box_productfull .prodimage img,
#box_productfull .mainimgsize img {
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    transition: transform 0.3s ease !important;
}

#box_productfull .prodimage:hover img {
    transform: scale(1.03) !important;
}

/* Thumbnails (managed by modern carousel below) */

/* Force .addtofav to NOT be absolute at top left */
#box_productfull .addtofav,
#box_productfull a.addtofav,
#box_productfull .maininfo .addtofav,
#box_productfull .productimg .addtofav,
#box_productfull .favourite .addtofav,
#box_productfull ul.links-q li.favourite a,
.product_page #box_productfull .addtofav {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    float: none !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 10px 22px !important;
    border-radius: 30px !important;
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    color: #475569 !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    z-index: 1 !important;
}

#box_productfull .addtofav:hover,
#box_productfull a.addtofav:hover,
#box_productfull ul.links-q li.favourite a:hover {
    background: #ffffff !important;
    border-color: #04bbff !important;
    color: #04bbff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(4, 187, 255, 0.18) !important;
}

/* Ensure text says "Dodaj do ulubionych" and has heart */
#box_productfull .addtofav::before,
#box_productfull a.addtofav::before,
#box_productfull ul.links-q li.favourite a::before {
    content: '♡' !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    color: #ff3366 !important;
    margin-right: 4px !important;
}

#box_productfull .addtofav span {
    font-size: 0 !important;
    display: inline !important;
}

#box_productfull .addtofav span::after {
    content: 'Dodaj do ulubionych' !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
}

/* 2. Grey Summary Info Bar (Dostępność, Dostawa, Producent) */
#box_productfull .product-details-summary,
#box_productfull .availability.row,
#box_productfull .maininfo .availability.row {
    background: #f8fafc !important;
    border: 1px solid #f1f5f9 !important;
    border-radius: 16px !important;
    padding: 16px 20px !important;
    margin: 0 0 24px 0 !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-around !important;
    align-items: center !important;
    gap: 12px !important;
    text-align: left !important;
    box-sizing: border-box !important;
    width: 100% !important;
    float: none !important;
}

#box_productfull .product-details-summary .pds-col,
#box_productfull .availability .pds-col {
    flex: 1 1 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: left !important;
    gap: 6px !important;
    padding: 0 10px !important;
    border-right: 1px solid #e2e8f0 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    float: none !important;
    width: auto !important;
}

#box_productfull .product-details-summary .pds-col:last-child,
#box_productfull .availability .pds-col:last-child {
    border-right: none !important;
}

#box_productfull .product-details-summary .pds-col .first,
#box_productfull .availability .pds-col .first {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #64748b !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: block !important;
}

#box_productfull .product-details-summary .pds-col .second,
#box_productfull .availability .pds-col .second {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
}

#box_productfull .product-details-summary .pds-stock .second,
#box_productfull .availability .pds-stock .second {
    background: #dcfce7 !important;
    color: #15803d !important;
    padding: 3px 10px !important;
    border-radius: 20px !important;
    font-size: 12.5px !important;
    font-weight: 800 !important;
}

#box_productfull .product-details-summary .pds-brand a.brand,
#box_productfull .availability .pds-brand a.brand {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    text-decoration: none !important;
}

#box_productfull .product-details-summary .pds-shipping,
#box_productfull .availability .pds-shipping {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

#box_productfull .product-details-summary .pds-shipping a,
#box_productfull .product-details-summary .pds-shipping a.showShippingCost,
#box_productfull .availability .showShippingCost,
#box_productfull a.showShippingCost {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    color: #04bbff !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
    padding: 0 !important;
    margin: 2px 0 0 0 !important;
    border: none !important;
    box-shadow: none !important;
    height: auto !important;
    width: auto !important;
    display: inline !important;
    line-height: normal !important;
    border-radius: 0 !important;
}

#box_productfull a.showShippingCost:hover {
    color: #009de0 !important;
}

/* 3. Price & Loyalty Points Badge */
#box_productfull .basket .price {
    margin: 20px 0 !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 14px !important;
}

#box_productfull .basket .price .price-name {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #64748b !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
}

#box_productfull .basket .price em.main-price {
    font-size: 38px !important;
    font-weight: 900 !important;
    color: #04bbff !important;
    line-height: 1 !important;
    font-style: normal !important;
    letter-spacing: -0.5px !important;
}

/* Product Details Page - RED PROMO PRICE */
#box_productfull .basket .price em.color,
#box_productfull .basket .price em.main-price.color,
#box_productfull.custom-promo-product .basket .price em,
.product_page #box_productfull .basket .price em.color {
    color: #ef4444 !important;
    font-weight: 900 !important;
}

#box_productfull .basket .price .price__regular {
    margin: 0 0 0 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    font-size: 14px !important;
    color: #94a3b8 !important;
}

#box_productfull .basket .price .price__regular del {
    font-size: 20px !important;
    color: #94a3b8 !important;
    text-decoration: line-through !important;
    font-weight: 600 !important;
    margin-left: 6px !important;
}

/* ENLARGED LOYALTY POINTS BADGE */
#box_productfull .loyalty_points,
#box_productfull span.loyalty_points,
#box_productfull .basket .loyalty_points {
    display: inline-flex !important;
    align-items: center !important;
    background: #ecfdf5 !important;
    border: 1.5px solid #a7f3d0 !important;
    border-radius: 30px !important;
    padding: 8px 18px !important;
    font-size: 14.5px !important;
    font-weight: 800 !important;
    color: #059669 !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.12) !important;
    margin: 6px 0 !important;
    gap: 4px !important;
    width: auto !important;
    float: none !important;
}

#box_productfull .loyalty_points .points,
#box_productfull span.loyalty_points .points {
    font-size: 16px !important;
    font-weight: 900 !important;
    color: #047857 !important;
    margin: 0 4px !important;
}

#box_productfull .loyalty_points .tooltip_pointer,
#box_productfull span.loyalty_points .tooltip_pointer {
    color: #10b981 !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    margin-left: 2px !important;
    font-size: 14px !important;
}

#box_productfull .js__omnibus-price-container {
    font-size: 13px !important;
    color: #94a3b8 !important;
    margin-top: 6px !important;
    line-height: 1.4 !important;
    width: 100% !important;
}

/* 4. Quantity Stepper & Add to Basket */
#box_productfull .basket .addtobasket-wrap,
#box_productfull .basket form {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 16px !important;
    margin-top: 24px !important;
    flex-wrap: wrap !important;
}

#box_productfull .quantity_wrap,
#box_productfull .quantity-stepper {
    display: inline-flex !important;
    align-items: center !important;
    border-radius: 14px !important;
    border: 2px solid #e2e8f0 !important;
    background: #f8fafc !important;
    overflow: hidden !important;
    height: 56px !important;
    box-sizing: border-box !important;
}

#box_productfull input.short,
#box_productfull .quantity_wrap input {
    width: 60px !important;
    height: 100% !important;
    border: none !important;
    background: transparent !important;
    text-align: left !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    outline: none !important;
    padding: 0 !important;
}

#box_productfull .quantity-stepper button,
#box_productfull .quantity_wrap .btn {
    width: 44px !important;
    height: 100% !important;
    background: #f1f5f9 !important;
    border: none !important;
    color: #475569 !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
}

#box_productfull .quantity-stepper button:hover,
#box_productfull .quantity_wrap .btn:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

/* Main Add To Cart Button */
#box_productfull button.addtobasket,
#box_productfull .btn.addtobasket,
#box_productfull .basket button[type="submit"] {
    height: 56px !important;
    border-radius: 14px !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: 17px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border: none !important;
    box-shadow: 0 8px 25px rgba(123, 0, 255, 0.35) !important;
    padding: 0 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: background-position 0.6s ease-in-out, transform 0.25s ease, box-shadow 0.25s ease !important;
    flex: 1 !important;
    min-width: 220px !important;
}

#box_productfull button.addtobasket:hover,
#box_productfull .btn.addtobasket:hover,
#box_productfull .basket button[type="submit"]:hover {
    transform: translateY(-2px) scale(1.01) !important;
    background-position: 100% 0% !important;
    box-shadow: 0 12px 28px rgba(4, 187, 255, 0.45) !important;
    transition: background-position 0.6s ease-in-out, transform 0.25s ease, box-shadow 0.25s ease !important;
}

#box_productfull button.addtobasket img {
    display: none !important;
}

/* 5. Center all 3 links together below the buy box */
#box_productfull .productdetails-more-details,
#box_productfull .links-q,
#box_productfull ul.links-q {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    padding: 0 !important;
    margin: 24px auto 0 auto !important;
    list-style: none !important;
    float: none !important;
    width: 100% !important;
    flex-wrap: wrap !important;
    clear: both !important;
    border: none !important;
}

#box_productfull ul.links-q li {
    display: inline-flex !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
}

/* Reset stylu przycisku dla "Zapytaj o produkt" */
#box_productfull ul.links-q li.question button,
#box_productfull ul.links-q li.question button.question {
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    line-height: inherit;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

#box_productfull ul.links-q li.question a,
#box_productfull ul.links-q li.question button,
#box_productfull ul.links-q li.comment a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 10px 22px !important;
    border-radius: 30px !important;
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    color: #475569 !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
}

#box_productfull ul.links-q li.question a:hover,
#box_productfull ul.links-q li.question button:hover,
#box_productfull ul.links-q li.comment a:hover {
    background: #ffffff !important;
    border-color: #04bbff !important;
    color: #04bbff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(4, 187, 255, 0.18) !important;
}

#box_productfull ul.links-q li.question a::before,
#box_productfull ul.links-q li.question button::before {
    content: '✉' !important;
    font-size: 15px !important;
    color: #04bbff !important;
    margin-right: 4px !important;
}

#box_productfull ul.links-q li.comment a::before {
    content: '💬' !important;
    font-size: 14px !important;
    color: #04bbff !important;
    margin-right: 4px !important;
}

#box_productfull ul.links-q img {
    display: none !important;
}

/* 6. Variant Selectors / Options */
#box_productfull .variant,
#box_productfull .option {
    margin-bottom: 20px !important;
}

#box_productfull .variant label,
#box_productfull .option label {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #334155 !important;
    margin-bottom: 8px !important;
    display: block !important;
}

#box_productfull .variant select,
#box_productfull .option select {
    width: 100% !important;
    height: 50px !important;
    border-radius: 12px !important;
    border: 2px solid #e2e8f0 !important;
    background: #f8fafc !important;
    padding: 0 16px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    outline: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

#box_productfull .variant select:focus,
#box_productfull .option select:focus {
    border-color: #04bbff !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(4, 187, 255, 0.15) !important;
}

/* 6. Tabs & Description Cards Below */
#box_description,
#box_productdata,
#box_productcomments,
#box_productdeliveries,
#box_productsafety,
#box_productgallery {
    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: 30px auto !important;
    max-width: 1240px !important;
    overflow: hidden !important;
    padding: 40px !important;
}

#box_description h2,
#box_description h3,
#box_productdata h2,
#box_productdata h3,
#box_productcomments h2,
#box_productcomments h3 {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 20px !important;
    padding-bottom: 12px !important;
    border-bottom: 2px solid #f1f5f9 !important;
    text-align: center !important;
}

#box_description h1,
#box_description h2,
#box_description h3,
#box_description h4,
#box_description h5,
#box_description h6,
#box_description .resetcss :is(h1, h2, h3, h4, h5, h6),
#box_description .fr-view :is(h1, h2, h3, h4, h5, h6),
#box_description .kl-desc-intro :is(h1, h2, h3, h4, h5, h6) {
    text-align: center !important;
}

#box_description .resetcss,
#box_description .fr-view {
    font-size: 16px !important;
    line-height: 1.8 !important;
    color: #334155 !important;
}

#box_description .resetcss p,
#box_description .fr-view p {
    margin-bottom: 16px !important;
}

/* Product Specification Table in Tabs */
#box_productdata table {
    width: 100% !important;
    border-collapse: collapse !important;
}

#box_productdata table tr:nth-child(even) td {
    background: #f8fafc !important;
}

#box_productdata table td {
    padding: 14px 20px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #334155 !important;
}

#box_productdata table td:first-child {
    font-weight: 700 !important;
    color: #0f172a !important;
    width: 35% !important;
}

/* Mobile Responsiveness for Product Page */
@media (max-width: 900px) {
    #box_productfull .maininfo .f-row {
        flex-direction: column !important;
        gap: 32px !important;
    }
    
    #box_productfull .boxhead {
        padding: 24px 20px 16px 20px !important;
    }
    
    #box_productfull .boxhead h1.name {
        font-size: 22px !important;
    }
    
    #box_productfull .innerbox.product-main-box,
    #box_description,
    #box_productdata,
    #box_productcomments {
        padding: 24px 16px !important;
    }
    
    #box_productfull .basket .addtobasket-wrap,
    #box_productfull .basket form {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    
    #box_productfull button.addtobasket {
        width: 100% !important;
    }
}
/* RESTORED BASKET STYLES FROM SAVE BUILD 3 */
#box_basketlist {
    background: #ffffff !important;
    border: 1px solid #eef2f6 !important;
    border-radius: 20px !important;
    padding: 24px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03) !important;
    margin-bottom: 30px !important;
}

#box_basketlist .boxhead {
    margin-bottom: 20px !important;
    border-bottom: 2px solid #f8fafc !important;
    padding-bottom: 12px !important;
}
#box_basketlist .boxhead h3 {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
}

/* 2. Product Table (Tabela produktów) */
#box_basketlist table.productlist {
    display: table !important;
    border-collapse: separate !important;
    border-spacing: 0 10px !important;
    width: 100% !important;
    table-layout: fixed !important;
    border: none !important;
    margin: 0 0 24px 0 !important;
}

#box_basketlist table.productlist thead {
    display: table-header-group !important;
}
#box_basketlist table.productlist tbody {
    display: table-row-group !important;
    border-bottom: none !important;
}
#box_basketlist table.productlist thead tr,
#box_basketlist table.productlist tbody tr {
    display: table-row !important;
}

#box_basketlist table.productlist thead td {
    display: table-cell !important;
    background: transparent !important;
    border: none !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    color: #64748b !important;
    padding: 12px 8px !important;
    border-bottom: 2px solid #eef2f6 !important;
    white-space: nowrap !important;
    text-align: left !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
}
#box_basketlist table.productlist thead td.name {
    text-align: left !important;
    padding-left: 0 !important;
}

/* Explicit widths applied to BOTH thead and tbody */
#box_basketlist table.productlist .img {
    width: 75px !important;
    text-align: left !important;
    box-sizing: border-box !important;
}
#box_basketlist table.productlist .name {
    width: auto !important;
    text-align: left !important;
    box-sizing: border-box !important;
}
#box_basketlist table.productlist .time {
    width: 105px !important;
    text-align: left !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}
#box_basketlist table.productlist .quantity {
    width: 140px !important;
    text-align: left !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}
#box_basketlist table.productlist .price {
    width: 110px !important;
    text-align: left !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}
#box_basketlist table.productlist .sum {
    width: 115px !important;
    text-align: left !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}
#box_basketlist table.productlist .actions {
    width: 55px !important;
    text-align: left !important;
    box-sizing: border-box !important;
}

/* Row styling */
#box_basketlist table.productlist tbody tr {
    background: #f8fafc !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02) !important;
    border-radius: 12px !important;
    transition: background 0.2s ease !important;
}
#box_basketlist table.productlist tbody tr:hover {
    background: #f1f5f9 !important;
}
#box_basketlist table.productlist tbody tr td {
    display: table-cell !important;
    border: none !important;
    padding: 14px 8px !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
}
#box_basketlist table.productlist tbody tr td:first-child {
    border-radius: 12px 0 0 12px !important;
    padding-left: 12px !important;
}
#box_basketlist table.productlist tbody tr td:last-child {
    border-radius: 0 12px 12px 0 !important;
    padding-right: 12px !important;
}

#box_basketlist table.productlist tbody td.img img {
    border-radius: 8px !important;
    max-width: 60px !important;
    max-height: 60px !important;
    object-fit: contain !important;
    mix-blend-mode: multiply !important;
    display: block !important;
    margin: 0 auto !important;
}

#box_basketlist table.productlist tbody td.name a {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    text-decoration: none !important;
    display: block !important;
    margin-bottom: 4px !important;
    line-height: 1.35 !important;
    word-break: break-word !important;
}
#box_basketlist table.productlist tbody td.name a:hover {
    color: #04bbff !important;
}
#box_basketlist table.productlist tbody td.name .variant {
    font-size: 12px !important;
    color: #64748b !important;
    display: block !important;
}

#box_basketlist table.productlist tbody td.time {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    vertical-align: middle !important;
}

/* Quantity Stepper styling */
#box_basketlist table.productlist tbody td.quantity {
    vertical-align: middle !important;
    text-align: left !important;
}
#box_basketlist table.productlist .quantity-stepper {
    display: inline-flex !important;
    align-items: center !important;
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 10px !important;
    padding: 2px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    vertical-align: middle !important;
}
#box_basketlist table.productlist .quantity-stepper .btn-qty {
    width: 28px !important;
    height: 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border: none !important;
    border-radius: 6px !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
    user-select: none !important;
}
#box_basketlist table.productlist .quantity-stepper .btn-qty:hover {
    background: #04bbff !important;
    color: #ffffff !important;
}
#box_basketlist table.productlist .quantity-stepper input {
    width: 36px !important;
    height: 28px !important;
    border: none !important;
    background: transparent !important;
    text-align: left !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    padding: 0 !important;
    margin: 0 !important;
    outline: none !important;
    box-shadow: none !important;
}
#box_basketlist table.productlist .quantity-stepper .shaded_inputwrap {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-block !important;
    vertical-align: middle !important;
}
#box_basketlist table.productlist tbody td.quantity .unit-name {
    font-size: 12px !important;
    color: #64748b !important;
    margin-left: 6px !important;
    vertical-align: middle !important;
    display: inline-block !important;
    font-weight: 600 !important;
}

#box_basketlist table.productlist tbody td.price {
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: #334155 !important;
    text-align: left !important;
    vertical-align: middle !important;
    line-height: 1.2 !important;
}
#box_basketlist table.productlist tbody td.price .color_dim.line-through {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #94a3b8 !important;
    display: block !important;
    margin-bottom: 2px !important;
}

#box_basketlist table.productlist tbody td.sum {
    font-size: 15.5px !important;
    font-weight: 800 !important;
    color: #04bbff !important;
    text-align: left !important;
    vertical-align: middle !important;
    line-height: 1.2 !important;
}
#box_basketlist table.productlist tbody td.sum em,
#box_basketlist table.productlist tbody td.sum em.color {
    font-style: normal !important;
    color: #04bbff !important;
    font-size: 15.5px !important;
    font-weight: 800 !important;
    display: inline-block !important;
    vertical-align: middle !important;
    line-height: 1.2 !important;
    position: static !important;
    top: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

#box_basketlist table.productlist tbody td.actions {
    text-align: left !important;
    vertical-align: middle !important;
}
#box_basketlist table.productlist tbody td.actions .prodremove {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 50% !important;
    color: #94a3b8 !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    float: none !important;
    margin: 0 auto !important;
    cursor: pointer !important;
}
#box_basketlist table.productlist tbody td.actions .prodremove:hover {
    background: #fee2e2 !important;
    border-color: #fca5a5 !important;
    color: #ef4444 !important;
    transform: scale(1.1) !important;
}
#box_basketlist table.productlist tbody td.actions .prodremove span {
    display: none !important;
}
#box_basketlist table.productlist tbody td.actions .prodremove i {
    font-size: 13px !important;
    border: none !important;
    padding: 0 !important;
    color: inherit !important;
}

/* 3. Cart Options Container (Layout dolny) */
#box_basketlist #cart-options {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 24px !important;
    margin-top: 24px !important;
}

/* Columns for Delivery and Payment */
#box_basketlist .delivery-container,
#box_basketlist .payment-container {
    flex: 1 1 calc(50% - 15px) !important;
    width: calc(50% - 15px) !important;
    max-width: calc(50% - 15px) !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    background: #f8fafc !important;
    border-radius: 16px !important;
    padding: 20px !important;
    border: 1px solid #eef2f6 !important;
}

#box_basketlist .delivery-container h5,
#box_basketlist .payment-container h5 {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-bottom: 16px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-bottom: 1px solid #eef2f6 !important;
    padding-bottom: 8px !important;
}

/* Delivery/Payment Items (Radio Buttons as Cards) */
#box_basketlist .delivery,
#box_basketlist .payment {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: #ffffff !important;
    border: 2px solid transparent !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    margin-bottom: 8px !important;
    cursor: pointer !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.02) !important;
    transition: all 0.2s ease !important;
}
#box_basketlist .delivery:hover,
#box_basketlist .payment:hover {
    border-color: #bae6fd !important;
}
#box_basketlist .delivery.selected,
#box_basketlist .payment.selected {
    border-color: #04bbff !important;
    background: #f0f9ff !important;
}

/* Inactive / Disabled cards */
#box_basketlist .delivery.disabled,
#box_basketlist .payment.disabled,
#box_basketlist .delivery.disabled-fallback,
#box_basketlist .payment.disabled-fallback {
    opacity: 0.35 !important;
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    box-shadow: none !important;
    filter: grayscale(1) !important;
}
#box_basketlist .delivery.disabled *,
#box_basketlist .payment.disabled *,
#box_basketlist .delivery.disabled-fallback *,
#box_basketlist .payment.disabled-fallback * {
    cursor: not-allowed !important;
    color: #94a3b8 !important;
}
#box_basketlist .delivery,
#box_basketlist .payment,
#box_basketlist .delivery *,
#box_basketlist .payment * {
    pointer-events: auto !important;
    cursor: pointer !important;
}

#box_basketlist .delivery .name,
#box_basketlist .payment .name {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #334155 !important;
}
#box_basketlist .delivery .value {
    font-size: 13px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
}

/* Custom Radio button styling */
#box_basketlist .radio-wrap {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    margin: 0 !important;
}

#box_basketlist .radio-wrap input[type="radio"] {
    position: absolute !important;
    opacity: 0 !important;
    width: 100% !important;
    height: 100% !important;
    cursor: pointer !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 2 !important;
}

#box_basketlist .radio-wrap label {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    border: 2px solid #cbd5e1 !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
    position: relative !important;
    cursor: pointer !important;
    margin: 0 !important;
    padding: 0 !important;
}

#box_basketlist .delivery:hover:not(.disabled) .radio-wrap label,
#box_basketlist .payment:hover:not(.disabled) .radio-wrap label {
    border-color: #04bbff !important;
}

#box_basketlist .delivery.selected .radio-wrap label,
#box_basketlist .payment.selected .radio-wrap label,
#box_basketlist .radio-wrap input[type="radio"]:checked + label {
    border-color: #04bbff !important;
    background: #ffffff !important;
}

#box_basketlist .delivery.selected .radio-wrap label::after,
#box_basketlist .payment.selected .radio-wrap label::after,
#box_basketlist .radio-wrap input[type="radio"]:checked + label::after {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    background: #04bbff !important;
    display: block !important;
    box-shadow: 0 0 6px rgba(4, 187, 255, 0.4) !important;
}

/* 4. Summary Container */
#box_basketlist .summary-container {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    clear: both !important;
    box-sizing: border-box !important;
    margin-top: 16px !important;
    background: #ffffff !important;
    border-radius: 18px !important;
    padding: 24px !important;
    border: 2px solid #04bbff !important;
    box-shadow: 0 8px 24px rgba(4, 187, 255, 0.1) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    text-align: left !important;
}

/* Promocode */
#box_basketlist .promocode {
    background: #f8fafc !important;
    border-radius: 12px !important;
    padding: 14px !important;
    display: block !important;
}
#box_basketlist .promocode .checkbox-wrap {
    display: inline-flex !important;
    align-items: center !important;
    vertical-align: middle !important;
}
#box_basketlist .promocode .checkbox-wrap input[type="checkbox"] {
    display: inline-block !important;
    width: 16px !important;
    height: 16px !important;
    margin: 0 8px 0 0 !important;
    opacity: 1 !important;
    position: static !important;
    accent-color: #04bbff !important;
}
#box_basketlist .promocode .checkbox-wrap label {
    display: none !important; /* hide fake shoper checkbox */
}
#box_basketlist .promocode .desc {
    display: inline-block !important;
    vertical-align: middle !important;
}
#box_basketlist .promocode .desc label {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #334155 !important;
    cursor: pointer !important;
}
#box_basketlist .promocode .input {
    display: block !important;
    margin-top: 10px !important;
}
#box_basketlist .promocode .input input {
    width: 100% !important;
    padding: 10px 12px !important;
    border-radius: 8px !important;
    border: 1px solid #cbd5e1 !important;
    font-size: 13px !important;
    box-sizing: border-box !important;
}
#box_basketlist .promocode .action {
    display: block !important;
}
#box_basketlist .promocode .action .btn {
    background: #0f172a !important;
    color: #fff !important;
    padding: 10px 16px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    width: 100% !important;
    margin-top: 8px !important;
    text-transform: uppercase !important;
    font-size: 12px !important;
    border: none !important;
    transition: background 0.2s !important;
}
#box_basketlist .promocode .action .btn:hover {
    background: #1e293b !important;
}

/* Recount (Przelicz koszyk) */
#box_basketlist .recount {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    padding: 8px 0 !important;
    border-bottom: 1px dashed #eef2f6 !important;
}
#box_basketlist .recount > span {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
}
#box_basketlist .recount .desc {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #64748b !important;
}
#box_basketlist .recount .sum em {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    font-style: normal !important;
}
#box_basketlist .recount .button,
#box_basketlist .recount #recalc {
    display: block !important;
    width: 100% !important;
    margin: 0 0 6px 0 !important;
}
#box_basketlist .recount #recalc button,
#box_basketlist .recount .button .btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 10px 16px !important;
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}
#box_basketlist .recount #recalc button:hover,
#box_basketlist .recount .button .btn:hover {
    background: #04bbff !important;
    border-color: #04bbff !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(4, 187, 255, 0.25) !important;
}

/* Delivery cost line */
#box_basketlist .deliveryhead {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 8px 0 !important;
    border-bottom: 1px dashed #eef2f6 !important;
}
#box_basketlist .deliveryhead .cost {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #64748b !important;
}
#box_basketlist .deliveryhead .value em {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    font-style: normal !important;
}

/* To pay (Do zapłaty) */
#box_basketlist .summary-container .sum {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-bottom: none !important;
    background: #f0f9ff !important;
    margin: 8px -24px -24px -24px !important;
    padding: 20px 24px !important;
    border-radius: 0 0 14px 14px !important;
}
#box_basketlist .sum .desc {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    text-transform: uppercase !important;
}
#box_basketlist .sum .value {
    font-size: 24px !important;
    font-weight: 900 !important;
    color: #04bbff !important;
}

/* 5. Buttons Row */
#box_basketlist .buttons {
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: 16px !important;
    gap: 16px !important;
}

/* Kontynuuj zakupy */
#box_basketlist .buttons .back .btn {
    background: transparent !important;
    border: 2px solid #e2e8f0 !important;
    color: #64748b !important;
    padding: 14px 24px !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    transition: all 0.2s ease !important;
}
#box_basketlist .buttons .back .btn:hover {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

/* Zamawiam */
#box_basketlist .buttons .forward .btn {
    background: #04bbff !important;
    color: #ffffff !important;
    padding: 16px 40px !important;
    border-radius: 12px !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    border: none !important;
    box-shadow: 0 8px 20px rgba(4, 187, 255, 0.3) !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}
#box_basketlist .buttons .forward .btn:hover {
    transform: translateY(-2px) !important;
    background: #009de0 !important;
    box-shadow: 0 12px 24px rgba(4, 187, 255, 0.4) !important;
}

/* Quick Fixes from previous session */
.product .tags { display: none !important; }
.product::after { z-index: 3 !important; }
.product .basket-box, .product .product-options, .product .options { z-index: 10 !important; }
.product .price del + em, .product .price.promo em { color: #ef4444 !important; }
/* RESTORED BASKET STYLES FROM SAVE BUILD 3 */
#box_basketlist {
    background: #ffffff !important;
    border: 1px solid #eef2f6 !important;
    border-radius: 20px !important;
    padding: 24px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03) !important;
    margin-bottom: 30px !important;
}

#box_basketlist .boxhead {
    margin-bottom: 20px !important;
    border-bottom: 2px solid #f8fafc !important;
    padding-bottom: 12px !important;
}
#box_basketlist .boxhead h3 {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
}

/* 2. Product Table (Tabela produktów) */
#box_basketlist table.productlist {
    display: table !important;
    border-collapse: separate !important;
    border-spacing: 0 10px !important;
    width: 100% !important;
    table-layout: fixed !important;
    border: none !important;
    margin: 0 0 24px 0 !important;
}

#box_basketlist table.productlist thead {
    display: table-header-group !important;
}
#box_basketlist table.productlist tbody {
    display: table-row-group !important;
}
#box_basketlist table.productlist thead tr,
#box_basketlist table.productlist tbody tr {
    display: table-row !important;
}

#box_basketlist table.productlist thead td {
    display: table-cell !important;
    background: transparent !important;
    border: none !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    color: #64748b !important;
    padding: 12px 8px !important;
    border-bottom: 2px solid #eef2f6 !important;
    white-space: nowrap !important;
    text-align: left !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
}
#box_basketlist table.productlist thead td.name {
    text-align: left !important;
    padding-left: 0 !important;
}

/* Explicit widths applied to BOTH thead and tbody */
#box_basketlist table.productlist .img {
    width: 75px !important;
    text-align: left !important;
    box-sizing: border-box !important;
}
#box_basketlist table.productlist .name {
    width: auto !important;
    text-align: left !important;
    box-sizing: border-box !important;
}
#box_basketlist table.productlist .time {
    width: 105px !important;
    text-align: left !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}
#box_basketlist table.productlist .quantity {
    width: 140px !important;
    text-align: left !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}
#box_basketlist table.productlist .price {
    width: 110px !important;
    text-align: left !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}
#box_basketlist table.productlist .sum {
    width: 115px !important;
    text-align: left !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}
#box_basketlist table.productlist .actions {
    width: 55px !important;
    text-align: left !important;
    box-sizing: border-box !important;
}

/* Row styling */
#box_basketlist table.productlist tbody tr {
    background: #f8fafc !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02) !important;
    border-radius: 12px !important;
    transition: background 0.2s ease !important;
}
#box_basketlist table.productlist tbody tr:hover {
    background: #f1f5f9 !important;
}
#box_basketlist table.productlist tbody tr td {
    display: table-cell !important;
    border: none !important;
    padding: 14px 8px !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
}
#box_basketlist table.productlist tbody tr td:first-child {
    border-radius: 12px 0 0 12px !important;
    padding-left: 12px !important;
}
#box_basketlist table.productlist tbody tr td:last-child {
    border-radius: 0 12px 12px 0 !important;
    padding-right: 12px !important;
}

#box_basketlist table.productlist tbody td.img img {
    border-radius: 8px !important;
    max-width: 60px !important;
    max-height: 60px !important;
    object-fit: contain !important;
    mix-blend-mode: multiply !important;
    display: block !important;
    margin: 0 auto !important;
}

#box_basketlist table.productlist tbody td.name a {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    text-decoration: none !important;
    display: block !important;
    margin-bottom: 4px !important;
    line-height: 1.35 !important;
    word-break: break-word !important;
}
#box_basketlist table.productlist tbody td.name a:hover {
    color: #04bbff !important;
}
#box_basketlist table.productlist tbody td.name .variant {
    font-size: 12px !important;
    color: #64748b !important;
    display: block !important;
}

#box_basketlist table.productlist tbody td.time {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    vertical-align: middle !important;
}

/* Quantity Stepper styling */
#box_basketlist table.productlist tbody td.quantity {
    vertical-align: middle !important;
    text-align: left !important;
}
#box_basketlist table.productlist .quantity-stepper {
    display: inline-flex !important;
    align-items: center !important;
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 10px !important;
    padding: 2px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    vertical-align: middle !important;
}
#box_basketlist table.productlist .quantity-stepper .btn-qty {
    width: 28px !important;
    height: 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border: none !important;
    border-radius: 6px !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
    user-select: none !important;
}
#box_basketlist table.productlist .quantity-stepper .btn-qty:hover {
    background: #04bbff !important;
    color: #ffffff !important;
}
#box_basketlist table.productlist .quantity-stepper input {
    width: 36px !important;
    height: 28px !important;
    border: none !important;
    background: transparent !important;
    text-align: left !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    padding: 0 !important;
    margin: 0 !important;
    outline: none !important;
    box-shadow: none !important;
}
#box_basketlist table.productlist .quantity-stepper .shaded_inputwrap {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-block !important;
    vertical-align: middle !important;
}
#box_basketlist table.productlist tbody td.quantity .unit-name {
    font-size: 12px !important;
    color: #64748b !important;
    margin-left: 6px !important;
    vertical-align: middle !important;
    display: inline-block !important;
    font-weight: 600 !important;
}

#box_basketlist table.productlist tbody td.price {
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: #334155 !important;
    text-align: left !important;
    vertical-align: middle !important;
    line-height: 1.2 !important;
}
#box_basketlist table.productlist tbody td.price .color_dim.line-through {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #94a3b8 !important;
    display: block !important;
    margin-bottom: 2px !important;
}

#box_basketlist table.productlist tbody td.sum {
    font-size: 15.5px !important;
    font-weight: 800 !important;
    color: #04bbff !important;
    text-align: left !important;
    vertical-align: middle !important;
    line-height: 1.2 !important;
}
#box_basketlist table.productlist tbody td.sum em,
#box_basketlist table.productlist tbody td.sum em.color {
    font-style: normal !important;
    color: #04bbff !important;
    font-size: 15.5px !important;
    font-weight: 800 !important;
    display: inline-block !important;
    vertical-align: middle !important;
    line-height: 1.2 !important;
    position: static !important;
    top: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

#box_basketlist table.productlist tbody td.actions {
    text-align: left !important;
    vertical-align: middle !important;
}
#box_basketlist table.productlist tbody td.actions .prodremove {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 50% !important;
    color: #94a3b8 !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    float: none !important;
    margin: 0 auto !important;
    cursor: pointer !important;
}
#box_basketlist table.productlist tbody td.actions .prodremove:hover {
    background: #fee2e2 !important;
    border-color: #fca5a5 !important;
    color: #ef4444 !important;
    transform: scale(1.1) !important;
}
#box_basketlist table.productlist tbody td.actions .prodremove span {
    display: none !important;
}
#box_basketlist table.productlist tbody td.actions .prodremove i {
    font-size: 13px !important;
    border: none !important;
    padding: 0 !important;
    color: inherit !important;
}

/* 3. Cart Options Container (Layout dolny) */
#box_basketlist #cart-options {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 24px !important;
    margin-top: 24px !important;
}

/* Columns for Delivery and Payment */
#box_basketlist .delivery-container,
#box_basketlist .payment-container {
    flex: 1 1 calc(50% - 15px) !important;
    width: calc(50% - 15px) !important;
    max-width: calc(50% - 15px) !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    background: #f8fafc !important;
    border-radius: 16px !important;
    padding: 20px !important;
    border: 1px solid #eef2f6 !important;
}

#box_basketlist .delivery-container h5,
#box_basketlist .payment-container h5 {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-bottom: 16px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-bottom: 1px solid #eef2f6 !important;
    padding-bottom: 8px !important;
}

/* Delivery/Payment Items (Radio Buttons as Cards) */
#box_basketlist .delivery,
#box_basketlist .payment {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: #ffffff !important;
    border: 2px solid transparent !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    margin-bottom: 8px !important;
    cursor: pointer !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.02) !important;
    transition: all 0.2s ease !important;
}
#box_basketlist .delivery:hover,
#box_basketlist .payment:hover {
    border-color: #bae6fd !important;
}
#box_basketlist .delivery.selected,
#box_basketlist .payment.selected {
    border-color: #04bbff !important;
    background: #f0f9ff !important;
}

/* Inactive / Disabled cards */
#box_basketlist .delivery.disabled,
#box_basketlist .payment.disabled,
#box_basketlist .delivery.disabled-fallback,
#box_basketlist .payment.disabled-fallback {
    opacity: 0.35 !important;
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    box-shadow: none !important;
    filter: grayscale(1) !important;
}
#box_basketlist .delivery.disabled *,
#box_basketlist .payment.disabled *,
#box_basketlist .delivery.disabled-fallback *,
#box_basketlist .payment.disabled-fallback * {
    cursor: not-allowed !important;
    color: #94a3b8 !important;
}
#box_basketlist .delivery,
#box_basketlist .payment,
#box_basketlist .delivery *,
#box_basketlist .payment * {
    pointer-events: auto !important;
    cursor: pointer !important;
}

#box_basketlist .delivery .name,
#box_basketlist .payment .name {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #334155 !important;
}
#box_basketlist .delivery .value {
    font-size: 13px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
}

/* Custom Radio button styling */
#box_basketlist .radio-wrap {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    margin: 0 !important;
}

#box_basketlist .radio-wrap input[type="radio"] {
    position: absolute !important;
    opacity: 0 !important;
    width: 100% !important;
    height: 100% !important;
    cursor: pointer !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 2 !important;
}

#box_basketlist .radio-wrap label {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    border: 2px solid #cbd5e1 !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
    position: relative !important;
    cursor: pointer !important;
    margin: 0 !important;
    padding: 0 !important;
}

#box_basketlist .delivery:hover:not(.disabled) .radio-wrap label,
#box_basketlist .payment:hover:not(.disabled) .radio-wrap label {
    border-color: #04bbff !important;
}

#box_basketlist .delivery.selected .radio-wrap label,
#box_basketlist .payment.selected .radio-wrap label,
#box_basketlist .radio-wrap input[type="radio"]:checked + label {
    border-color: #04bbff !important;
    background: #ffffff !important;
}

#box_basketlist .delivery.selected .radio-wrap label::after,
#box_basketlist .payment.selected .radio-wrap label::after,
#box_basketlist .radio-wrap input[type="radio"]:checked + label::after {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    background: #04bbff !important;
    display: block !important;
    box-shadow: 0 0 6px rgba(4, 187, 255, 0.4) !important;
}

/* 4. Summary Container */
#box_basketlist .summary-container {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    clear: both !important;
    box-sizing: border-box !important;
    margin-top: 16px !important;
    background: #ffffff !important;
    border-radius: 18px !important;
    padding: 24px !important;
    border: 2px solid #04bbff !important;
    box-shadow: 0 8px 24px rgba(4, 187, 255, 0.1) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    text-align: left !important;
}

/* Promocode */
#box_basketlist .promocode {
    background: #f8fafc !important;
    border-radius: 12px !important;
    padding: 14px !important;
    display: block !important;
}
#box_basketlist .promocode .checkbox-wrap {
    display: inline-flex !important;
    align-items: center !important;
    vertical-align: middle !important;
}
#box_basketlist .promocode .checkbox-wrap input[type="checkbox"] {
    display: inline-block !important;
    width: 16px !important;
    height: 16px !important;
    margin: 0 8px 0 0 !important;
    opacity: 1 !important;
    position: static !important;
    accent-color: #04bbff !important;
}
#box_basketlist .promocode .checkbox-wrap label {
    display: none !important; /* hide fake shoper checkbox */
}
#box_basketlist .promocode .desc {
    display: inline-block !important;
    vertical-align: middle !important;
}
#box_basketlist .promocode .desc label {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #334155 !important;
    cursor: pointer !important;
}
#box_basketlist .promocode .input {
    display: block !important;
    margin-top: 10px !important;
}
#box_basketlist .promocode .input input {
    width: 100% !important;
    padding: 10px 12px !important;
    border-radius: 8px !important;
    border: 1px solid #cbd5e1 !important;
    font-size: 13px !important;
    box-sizing: border-box !important;
}
#box_basketlist .promocode .action {
    display: block !important;
}
#box_basketlist .promocode .action .btn {
    background: #0f172a !important;
    color: #fff !important;
    padding: 10px 16px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    width: 100% !important;
    margin-top: 8px !important;
    text-transform: uppercase !important;
    font-size: 12px !important;
    border: none !important;
    transition: background 0.2s !important;
}
#box_basketlist .promocode .action .btn:hover {
    background: #1e293b !important;
}

/* Recount (Przelicz koszyk) */
#box_basketlist .recount {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    padding: 8px 0 !important;
    border-bottom: 1px dashed #eef2f6 !important;
}
#box_basketlist .recount > span {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
}
#box_basketlist .recount .desc {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #64748b !important;
}
#box_basketlist .recount .sum em {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    font-style: normal !important;
}
#box_basketlist .recount .button,
#box_basketlist .recount #recalc {
    display: block !important;
    width: 100% !important;
    margin: 0 0 6px 0 !important;
}
#box_basketlist .recount #recalc button,
#box_basketlist .recount .button .btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 10px 16px !important;
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}
#box_basketlist .recount #recalc button:hover,
#box_basketlist .recount .button .btn:hover {
    background: #04bbff !important;
    border-color: #04bbff !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(4, 187, 255, 0.25) !important;
}

/* Delivery cost line */
#box_basketlist .deliveryhead {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 8px 0 !important;
    border-bottom: 1px dashed #eef2f6 !important;
}
#box_basketlist .deliveryhead .cost {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #64748b !important;
}
#box_basketlist .deliveryhead .value em {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    font-style: normal !important;
}

/* To pay (Do zapłaty) */
#box_basketlist .summary-container .sum {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-bottom: none !important;
    background: #f0f9ff !important;
    margin: 8px -24px -24px -24px !important;
    padding: 20px 24px !important;
    border-radius: 0 0 14px 14px !important;
}
#box_basketlist .sum .desc {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    text-transform: uppercase !important;
}
#box_basketlist .sum .value {
    font-size: 24px !important;
    font-weight: 900 !important;
    color: #04bbff !important;
}

/* 5. Buttons Row */
#box_basketlist .buttons {
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: 16px !important;
    gap: 16px !important;
}

/* Kontynuuj zakupy */
#box_basketlist .buttons .back .btn {
    background: transparent !important;
    border: 2px solid #e2e8f0 !important;
    color: #64748b !important;
    padding: 14px 24px !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    transition: all 0.2s ease !important;
}
#box_basketlist .buttons .back .btn:hover {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

/* Zamawiam */
#box_basketlist .buttons .forward .btn {
    background: #04bbff !important;
    color: #ffffff !important;
    padding: 16px 40px !important;
    border-radius: 12px !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    border: none !important;
    box-shadow: 0 8px 20px rgba(4, 187, 255, 0.3) !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}
#box_basketlist .buttons .forward .btn:hover {
    transform: translateY(-2px) !important;
    background: #009de0 !important;
    box-shadow: 0 12px 24px rgba(4, 187, 255, 0.4) !important;
}

/* =========================================
   PRODUCT PAGE FIXES (Antigravity v2)
========================================= */

/* 1. Tytuł produktu – owalna, delikatna ramka zgodna z UI sklepu */
body.shop_product h1.name,
#box_productfull h1.name {
    text-align: center !important;
    font-size: 26px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    line-height: 1.35 !important;
    margin: 0 0 20px 0 !important;
    padding: 14px 24px !important;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 32px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02) !important;
    width: 100% !important;
    box-sizing: border-box !important;
    display: block !important;
    letter-spacing: -0.2px !important;
}

/* 2. Dostępność / Dostawa / Producent */
#box_productfull .product-details-summary,
#box_productfull .availability {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    border: none !important;
    background: #f8fafc !important;
    padding: 20px !important;
    border-radius: 12px !important;
    margin-bottom: 30px !important;
}
#box_productfull .product-details-summary .pds-col,
#box_productfull .availability .pds-col {
    border: none !important; /* Usunięcie kresek */
    flex: 1 1 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}
/* Odpowiednia kolejność */
#box_productfull .pds-stock { order: 1 !important; }
#box_productfull .pds-shipping { order: 2 !important; }
#box_productfull .pds-brand { order: 3 !important; }


/* Kolejność linków akcji */
#box_productfull ul.links-q li.favourite { order: 1 !important; }
#box_productfull ul.links-q li.question { order: 2 !important; }
#box_productfull ul.links-q li.comment { order: 3 !important; }

/* Linki akcji – inline pills w jednym rzędzie */
#box_productfull ul.links-q li a,
#box_productfull ul.links-q li button {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 30px !important;
    padding: 10px 22px !important;
    height: auto !important;
    box-sizing: border-box !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #475569 !important;
    text-decoration: none !important;
    background: #f8fafc !important;
    transition: all 0.2s ease !important;
    gap: 8px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}
#box_productfull ul.links-q li a:hover,
#box_productfull ul.links-q li button:hover {
    background: #ffffff !important;
    border-color: #04bbff !important;
    color: #04bbff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(4, 187, 255, 0.18) !important;
}
#box_productfull ul.links-q li a img,
#box_productfull ul.links-q li a::before,
#box_productfull ul.links-q li button::before {
    margin-right: 4px !important;
    margin-bottom: 0 !important;
    font-size: 15px !important;
}

/* Ukrycie Ocena i Producent pod koszem – teraz w info-barze */
#box_productfull .productdetails-more .evaluation,
#box_productfull .productdetails-more .manufacturer,
#box_productfull .productdetails-more .code,
#box_productfull .productdetails-more-details > .productdetails-more {
    display: none !important;
}

/* "dodaj opinię" – nowy rząd, wyśrodkowany */
#box_productfull ul.links-q li.comment {
    flex-basis: 100% !important;
    display: flex !important;
    justify-content: center !important;
}

/* ============================================
   AKCESORIA SLIDER - Kostkoland
============================================ */
.kl-accessories-slider-wrap {
    margin: 40px 0;
    padding: 32px 0;
    border-top: 2px solid #f1f5f9;
    border-bottom: 2px solid #f1f5f9;
    min-height: 380px;
    box-sizing: border-box;
}
.shop_basket .kl-accessories-slider-wrap {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    padding: 28px 16px !important;
    margin: 32px 0 40px 0 !important;
}
.kl-accessories-header {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    margin-bottom: 24px !important;
    width: 100% !important;
}
.kl-accessories-title {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: center !important;
}
.kl-accessories-viewall {
    position: absolute !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #04bbff !important;
    text-decoration: none !important;
    padding: 8px 18px !important;
    border: 1.5px solid #04bbff !important;
    border-radius: 20px !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
}
.kl-accessories-viewall:hover {
    background: #04bbff !important;
    color: #fff !important;
}

/* Przycisk Do koszyka w sliderze akcesoriów - spójny z całym sklepem */
.kl-acc-buy-btn {
    margin-top: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 40px !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: 12.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 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !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;
    box-sizing: border-box !important;
    line-height: 1 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.kl-acc-buy-btn::before {
    content: '' !important;
    background: url('../images/user/cart.svg') no-repeat center !important;
    background-size: 14px !important;
    width: 14px !important;
    height: 14px !important;
    display: inline-block !important;
    filter: brightness(0) invert(1) !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
}

.kl-acc-buy-btn span {
    display: inline-block !important;
    color: #ffffff !important;
    font-size: 12.5px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    line-height: 1 !important;
    margin: 0 !important;
    white-space: nowrap !important;
}

.kl-acc-buy-btn img {
    display: none !important;
}

.kl-acc-buy-btn: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;
    color: #ffffff !important;
    text-decoration: none !important;
}

.kl-acc-buy-btn:active {
    transform: translateY(0) scale(0.98) !important;
    box-shadow: 0 4px 12px rgba(123, 0, 255, 0.3) !important;
}

/* Slider container */
.kl-accessories-slider {
    position: relative;
    overflow: hidden;
}

/* Sliding track */
.kl-acc-track {
    display: flex;
    gap: 16px;
    transition: transform 0.35s cubic-bezier(.4,0,.2,1);
    will-change: transform;
}

/* Individual product card */
.kl-acc-item {
    flex: 0 0 calc(20% - 13px);
    min-width: 160px;
    max-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
    box-sizing: border-box;
}
.kl-acc-item:hover {
    background: #fff;
    border-color: #04bbff;
    box-shadow: 0 4px 20px rgba(4,187,255,0.12);
    transform: translateY(-3px);
}
.kl-acc-img-wrap {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}
.kl-acc-img-wrap img {
    max-width: 100%;
    max-height: 110px;
    object-fit: contain;
    mix-blend-mode: multiply;
    border-radius: 8px;
}
.kl-acc-cat {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 5px;
    display: block;
}
.kl-acc-name {
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
    margin-bottom: 8px;
    display: block;
    flex: 1;
}
.kl-acc-price {
    font-size: 15px;
    font-weight: 900;
    color: #04bbff;
    display: block;
}

/* Navigation buttons */
.kl-acc-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #e2e8f0;
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    transition: all 0.2s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 0;
}
.kl-acc-nav:hover {
    background: #04bbff;
    border-color: #04bbff;
    color: #fff;
    box-shadow: 0 4px 14px rgba(4,187,255,0.25);
}
.kl-acc-prev { left: 0; }
.kl-acc-next { right: 0; }

/* Fade edge effect */
.kl-accessories-slider::before,
.kl-accessories-slider::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50px;
    z-index: 5;
    pointer-events: none;
}
.kl-accessories-slider::before {
    left: 0;
    background: linear-gradient(to right, #fff 0%, transparent 100%);
}
.kl-accessories-slider::after {
    right: 0;
    background: linear-gradient(to left, #fff 0%, transparent 100%);
}

/* Padding for nav buttons not to cover cards */
.kl-acc-track {
    padding: 8px 50px;
}
/* REWRITE PRICE LAYOUT */
#box_productfull .price,
#box_productfull .basket .price {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    box-sizing: border-box !important;
    float: none !important;
    clear: both !important;
    margin: 16px 0 8px 0 !important;
    padding: 0 !important;
}
#box_productfull .price > span {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #475569 !important;
    text-transform: uppercase !important;
}
#box_productfull .price p {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}
#box_productfull .main-price {
    font-size: 38px !important;
    font-weight: 900 !important;
    color: #04bbff !important;
    line-height: 1 !important;
}
#box_productfull .loyalty_points {
    display: inline-flex !important;
    align-items: center !important;
    background: #ecfdf5 !important;
    border: 1.5px solid #a7f3d0 !important;
    color: #047857 !important;
    padding: 5px 14px !important;
    border-radius: 20px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.12) !important;
    box-sizing: border-box !important;
}
#box_productfull .loyalty_points label.tooltip { display: none !important; }

/* Force omnibus and regular price to next line if needed, or hide them if empty */
#box_productfull .price__regular, 
#box_productfull .js__omnibus-price-container {
    width: 100% !important;
    text-align: left !important;
    margin-top: 8px !important;
    color: #94a3b8 !important;
    font-size: 13px !important;
}

.kl-cell-badge {
    background: #dcfce7 !important;
    color: #15803d !important;
    padding: 3px 12px !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    display: inline-block !important;
    margin-top: 2px !important;
}

.kl-cell-badge.kl-badge-oos {
    background: #fee2e2 !important;
    color: #dc2626 !important;
}

/* KOSZYK BUTTON & QUANTITY */
#box_productfull .basket form,
#box_productfull form.form-basket {
    width: 100% !important;
}

#box_productfull .addtobasket-container {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px !important;
    margin: 24px auto !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    border: none !important;
    padding: 0 !important;
}

#box_productfull .addtobasket-container.none,
#box_productfull .addtobasket-container.is-hidden,
#box_productfull .addtobasket-container[style*="display: none"],
#box_productfull.product-out-of-stock .addtobasket-container,
.product-out-of-stock .addtobasket-container,
.bundle-fixed-cart-container.none,
.bundle-fixed-cart-container.is-hidden {
    display: none !important;
}

#box_productfull .quantity_wrap {
    display: inline-flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
}

#box_productfull .quantity_name,
#box_productfull .quantity_wrap .unit,
#box_productfull .quantity_wrap span.unit {
    display: none !important;
}

#box_productfull inpost-izi-button {
    display: none !important;
}

#box_productfull .button_wrap {
    display: inline-flex !important;
    flex: 1 1 auto !important;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    max-width: 340px !important;
}

#box_productfull .button_wrap button.addtobasket {
    width: 100% !important;
    flex: 1 !important;
}
#box_productfull .quantity_wrap input,
#box_productfull .kl-qty-stepper input,
#box_productfull input[name="quantity"] {
    width: 52px !important;
    height: 100% !important;
    border: none !important;
    background: transparent !important;
    text-align: center !important;
    font-size: 19px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    outline: none !important;
    padding: 0 !important;
    margin: 0 auto !important;
    -moz-appearance: textfield !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    display: block !important;
}
#box_productfull .quantity_wrap input::-webkit-outer-spin-button,
#box_productfull .quantity_wrap input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

#box_productfull .addtobasket,
#box_productfull button.addtobasket,
#box_productfull .btn.addtobasket,
#box_productfull .basket button[type="submit"] {
    height: 56px !important;
    background: linear-gradient(135deg, #7b00ff 0%, #04BBFF 50%, #7b00ff 100%) !important;
    background-size: 200% 100% !important;
    background-position: 0% 0% !important;
    color: white !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    padding: 0 40px !important;
    border-radius: 14px !important;
    border: none !important;
    box-shadow: 0 8px 25px rgba(123, 0, 255, 0.35) !important;
    transition: background-position 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s ease, box-shadow 0.25s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
}
#box_productfull .addtobasket:hover,
#box_productfull button.addtobasket:hover,
#box_productfull .btn.addtobasket:hover,
#box_productfull .basket button[type="submit"]:hover {
    transform: translateY(-2px) scale(1.01) !important;
    background-position: 100% 0% !important;
    box-shadow: 0 12px 28px rgba(4, 187, 255, 0.45) !important;
    transition: background-position 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s ease, box-shadow 0.25s ease !important;
}
#box_productfull .addtobasket:active,
#box_productfull button.addtobasket:active,
#box_productfull .btn.addtobasket:active {
    transform: translateY(0) scale(0.98) !important;
    box-shadow: 0 4px 12px rgba(123, 0, 255, 0.3) !important;
    transition: background-position 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s ease, box-shadow 0.25s ease !important;
}

/* TABELKA 6 PÓL (INFO BOX) - PERFEKCYJNE, JEDNOLITE LINIE */
table.kl-info-table-6 {
    width: 100% !important;
    table-layout: fixed !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    margin: 0 0 24px 0 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02) !important;
}

table.kl-info-table-6 td.kl-table-cell {
    width: 33.3333% !important;
    padding: 13px 8px !important;
    text-align: center !important;
    vertical-align: middle !important;
    border-right: 1px solid #e2e8f0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    box-sizing: border-box !important;
    background: transparent !important;
}

table.kl-info-table-6 tr td.kl-table-cell:last-child {
    border-right: none !important;
}

table.kl-info-table-6 tr:last-child td.kl-table-cell {
    border-bottom: none !important;
}

.kl-table-cell-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    width: 100% !important;
}

/* Podział kolumn na desktopie: zdjęcie po lewej (42%), dane produktu po prawej (58%) */
@media (min-width: 901px) {
    #box_productfull .maininfo .f-row {
        display: flex !important;
        flex-direction: row !important;
        gap: 32px !important;
        align-items: flex-start !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    #box_productfull .maininfo .f-row > .productimg {
        flex: 0 0 42% !important;
        max-width: 42% !important;
        width: 42% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
    #box_productfull .maininfo .f-row > .f-grid-6 {
        flex: 1 1 0 !important;
        max-width: calc(58% - 32px) !important;
        width: calc(58% - 32px) !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
}

/* Obramówka zdjęcia głównego zaokrąglona i proporcjonalnie zmniejszona */
#box_productfull .productimg .mainimg {
    position: relative !important;
    max-width: 380px !important;
    margin: 0 auto 16px auto !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    border: 1.5px solid #e2e8f0 !important;
    background: #ffffff !important;
}

/* Tagi produktów w lewym górnym rogu zdjęcia – ułożone jeden pod drugim */
#box_productfull ul.tags,
#box_productfull .productimg .tags,
#box_productfull .productimg .mainimg .tags,
.productimg .mainimg .tags,
.productimg .tags {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    position: absolute !important;
    top: 14px !important;
    left: 14px !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 20 !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 6px !important;
    pointer-events: none !important;
    max-width: 160px !important;
}

#box_productfull ul.tags li,
#box_productfull .productimg .tags li,
.productimg .mainimg .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;
}

#box_productfull ul.tags li.potd,
#box_productfull ul.tags li.custom-category-tag--potd,
#box_productfull ul.tags li.custom-product-badge--potd,
#box_productfull .tags .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;
}

#box_productfull ul.tags li.bestseller,
#box_productfull ul.tags li.custom-category-tag--bestseller,
#box_productfull ul.tags li.custom-product-badge--bestseller,
#box_productfull .tags .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;
}

#box_productfull ul.tags li.promo,
#box_productfull ul.tags li.custom-category-tag--promo,
#box_productfull ul.tags li.custom-product-badge--promo,
#box_productfull .tags .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;
}

#box_productfull ul.tags li.new,
#box_productfull ul.tags li.custom-category-tag--new,
#box_productfull ul.tags li.custom-product-badge--new,
#box_productfull .tags .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;
}

#box_productfull ul.tags li.maglev,
#box_productfull ul.tags li.custom-category-tag--maglev,
#box_productfull ul.tags li.custom-product-badge--maglev,
#box_productfull .tags .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;
}

#box_productfull ul.tags li.magnetic,
#box_productfull ul.tags li.custom-category-tag--magnetic,
#box_productfull ul.tags li.custom-product-badge--magnetic,
#box_productfull .tags .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;
}

#box_productfull ul.tags li.smart,
#box_productfull ul.tags li.custom-category-tag--smart,
#box_productfull ul.tags li.custom-product-badge--smart,
#box_productfull .tags .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;
}

/* Galeria miniatur pod zdjęciem - Nowoczesny poziomy karuzelowy slider w stylu KOSTKOLAND UI */
#box_productfull .smallgallery {
    margin-top: 14px !important;
    width: 100% !important;
    display: block !important;
}

#box_productfull .smallgallery .innersmallgallery,
#box_productfull .smallgallery .kl-thumbnails-carousel-wrap {
    width: 100% !important;
    max-width: 100% !important;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 24px !important;
    padding: 7px 8px !important;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    gap: 6px !important;
}

#box_productfull .kl-thumb-btn {
    flex: 0 0 32px !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    color: #64748b !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06) !important;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 2 !important;
    outline: none !important;
}

#box_productfull .kl-thumb-btn:hover {
    background: #04bbff !important;
    border-color: #04bbff !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(4, 187, 255, 0.35) !important;
    transform: scale(1.08) !important;
}

#box_productfull .kl-thumb-btn:active {
    transform: scale(0.95) !important;
}

#box_productfull .smallgallery ul,
#box_productfull .kl-thumbnails-track {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    gap: 8px !important;
    margin: 0 4px !important;
    padding: 3px 2px !important;
    list-style: none !important;
    align-items: center !important;
    justify-content: flex-start !important;
    transform: none !important;
    width: auto !important;
}

#box_productfull .smallgallery ul::-webkit-scrollbar,
#box_productfull .kl-thumbnails-track::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

#box_productfull .smallgallery li,
#box_productfull .kl-thumb-item {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    width: 54px !important;
    height: 54px !important;
    margin: 0 !important;
    border-radius: 12px !important;
    border: 1.5px solid #e2e8f0 !important;
    background: #ffffff !important;
    overflow: hidden !important;
    cursor: pointer !important;
    padding: 3px !important;
    box-sizing: border-box !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    align-items: center !important;
    justify-content: center !important;
}

#box_productfull .smallgallery li a,
#box_productfull .kl-thumb-item a {
    display: flex !important;
    width: 100% !important;
    height: 100% !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    outline: none !important;
}

#box_productfull .smallgallery li img,
#box_productfull .kl-thumb-item img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 8px !important;
    display: block !important;
    transition: transform 0.2s ease !important;
}

#box_productfull .smallgallery li:hover,
#box_productfull .kl-thumb-item:hover {
    border-color: #04bbff !important;
    box-shadow: 0 4px 12px rgba(4, 187, 255, 0.2) !important;
    transform: translateY(-2px) !important;
}

#box_productfull .smallgallery li:hover img,
#box_productfull .kl-thumb-item:hover img {
    transform: scale(1.05) !important;
}

#box_productfull .smallgallery li.current,
#box_productfull .smallgallery li:has(a.current),
#box_productfull .smallgallery li a.current,
#box_productfull .kl-thumb-item.current,
#box_productfull .kl-thumb-item:has(a.current) {
    border-color: #04bbff !important;
    box-shadow: 0 0 0 1.5px #04bbff, 0 4px 12px rgba(4, 187, 255, 0.25) !important;
    background: #f0f9ff !important;
}

#box_productfull .smallgallery nav,
#box_productfull .smallgallery .smallgallery-left,
#box_productfull .smallgallery .smallgallery-right {
    display: none !important;
}

/* Powiększone zdjęcie (modal galerii) - PEŁNY NOWOCZESNY REDESIGN W STYLU KOSTKOLAND UI */
.mask,
.modal-overlay {
    background: rgba(15, 23, 42, 0.75) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    cursor: pointer !important;
    z-index: 100004 !important;
}

.shop-gallery,
.shop-gallery.active,
div.shop-gallery {
    z-index: 100005 !important;
}

.shop-gallery .shop-gallery-skin {
    z-index: 100006 !important;
    background: #ffffff !important;
    border-radius: 24px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.35) !important;
    padding: 24px !important;
    position: relative !important;
    overflow: visible !important;
}

.shop-gallery .shop-gallery-skin .shop-gallery-inner {
    border: none !important;
    margin: 0 !important;
    position: relative !important;
}

.shop-gallery .shop-gallery-skin .shop-gallery-img-container {
    padding: 0 !important;
    margin: 0 auto !important;
    text-align: center !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff !important;
}

.shop-gallery .shop-gallery-skin .shop-gallery-img-container .shop-gallery-img {
    border-radius: 16px !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
}

/* Przycisk zamknięcia - nowoczesny okrągły przycisk X */
.shop-gallery .shop-gallery-close {
    position: absolute !important;
    right: 16px !important;
    top: 16px !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: #f1f5f9 !important;
    color: #475569 !important;
    border: 1.5px solid #e2e8f0 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 50 !important;
}

.shop-gallery .shop-gallery-close::after {
    content: "✕" !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #64748b !important;
    line-height: 1 !important;
    margin: 0 !important;
    transition: color 0.2s ease !important;
}

.shop-gallery .shop-gallery-close:hover {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
    transform: rotate(90deg) scale(1.1) !important;
    box-shadow: 0 6px 18px rgba(239, 68, 68, 0.45) !important;
}

.shop-gallery .shop-gallery-close:hover::after {
    color: #ffffff !important;
}

/* Ukrycie przycisku powiększenia / resize (strzałek w lewym górnym rogu) */
.shop-gallery .shop-gallery-resize,
.shop-gallery-resize {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Główne strzałki nawigacji modalem (Lewo / Prawo) */
.shop-gallery .shop-gallery-inner .shop-gallery-nav {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 46px !important;
    height: 46px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important;
    border: 1.5px solid #e2e8f0 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 30 !important;
    bottom: auto !important;
}

.shop-gallery .shop-gallery-inner .shop-gallery-nav:hover {
    background: linear-gradient(135deg, #7b00ff 0%, #04bbff 100%) !important;
    border-color: transparent !important;
    transform: translateY(-50%) scale(1.1) !important;
    box-shadow: 0 8px 25px rgba(4, 187, 255, 0.45) !important;
}

.shop-gallery .shop-gallery-inner .shop-gallery-nav.shop-gallery-nav-prev {
    left: 16px !important;
    right: auto !important;
}

.shop-gallery .shop-gallery-inner .shop-gallery-nav.shop-gallery-nav-next {
    right: 16px !important;
    left: auto !important;
}

.shop-gallery .shop-gallery-inner .shop-gallery-nav::after {
    position: static !important;
    content: "" !important;
    display: block !important;
    width: 11px !important;
    height: 11px !important;
    margin: 0 !important;
    border: solid #0f172a !important;
    border-width: 2.5px 2.5px 0 0 !important;
    transition: border-color 0.2s ease !important;
}

.shop-gallery .shop-gallery-inner .shop-gallery-nav.shop-gallery-nav-prev::after {
    transform: rotate(-135deg) !important;
    margin-left: 3px !important;
}

.shop-gallery .shop-gallery-inner .shop-gallery-nav.shop-gallery-nav-next::after {
    transform: rotate(45deg) !important;
    margin-right: 3px !important;
}

.shop-gallery .shop-gallery-inner .shop-gallery-nav:hover::after {
    border-color: #ffffff !important;
}

/* Pasek miniatur na dole modalu - wyłącznie jeden poziomy rząd bez zawijania */
.shop-gallery-preview {
    background: #ffffff !important;
    border-radius: 18px !important;
    border: 1.5px solid #e2e8f0 !important;
    margin: 20px auto 0 auto !important;
    padding: 12px 44px !important;
    height: 84px !important;
    max-height: 84px !important;
    box-sizing: border-box !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
}

.shop-gallery-preview .shop-gallery-container {
    width: 100% !important;
    height: 60px !important;
    max-height: 60px !important;
    overflow: hidden !important;
    position: relative !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.shop-gallery-preview .shop-gallery-slider {
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    width: max-content !important;
    min-width: 100% !important;
    height: 60px !important;
    align-items: center !important;
    position: relative !important;
    top: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    transition: left 0.35s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.shop-gallery-preview .shop-gallery-item-preview {
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    max-width: 58px !important;
    flex: 0 0 58px !important;
    flex-shrink: 0 !important;
    border-radius: 12px !important;
    border: 2px solid #e2e8f0 !important;
    background: #f8fafc !important;
    overflow: hidden !important;
    padding: 3px !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
    margin-right: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    vertical-align: top !important;
    cursor: pointer !important;
}

.shop-gallery-preview .shop-gallery-item-preview:last-child {
    margin-right: 0 !important;
}

.shop-gallery-preview .shop-gallery-item-preview img {
    border-radius: 8px !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
}

.shop-gallery-preview .shop-gallery-item-preview:hover,
.shop-gallery-preview .shop-gallery-item-preview.active {
    border-color: #04bbff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(4, 187, 255, 0.35) !important;
}

/* Mini strzałki paska miniatur */
.shop-gallery-preview .shop-gallery-mini-prev,
.shop-gallery-preview .shop-gallery-mini-next {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

.shop-gallery-preview .shop-gallery-mini-prev {
    left: 8px !important;
}

.shop-gallery-preview .shop-gallery-mini-next {
    right: 8px !important;
}

.shop-gallery-preview .shop-gallery-mini-prev::after,
.shop-gallery-preview .shop-gallery-mini-next::after {
    position: static !important;
    display: block !important;
    content: "" !important;
    width: 7px !important;
    height: 7px !important;
    border: solid #64748b !important;
    border-width: 2px 2px 0 0 !important;
    transition: border-color 0.2s ease !important;
    margin: 0 !important;
}

.shop-gallery-preview .shop-gallery-mini-prev::after {
    transform: rotate(-135deg) !important;
    margin-left: 2px !important;
}

.shop-gallery-preview .shop-gallery-mini-next::after {
    transform: rotate(45deg) !important;
    margin-right: 2px !important;
}

.shop-gallery-preview .shop-gallery-mini-prev:hover,
.shop-gallery-preview .shop-gallery-mini-next:hover {
    background: #04bbff !important;
    border-color: #04bbff !important;
}

.shop-gallery-preview .shop-gallery-mini-prev:hover::after,
.shop-gallery-preview .shop-gallery-mini-next:hover::after {
    border-color: #ffffff !important;
}

/* Responsive Gallery Lightbox for Mobile & Tablet */
@media screen and (max-width: 900px) {
    .mask {
        z-index: 100000 !important;
        background: rgba(15, 23, 42, 0.85) !important;
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
    }

    .shop-gallery,
    .shop-gallery.active,
    div.shop-gallery {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        height: 100% !important;
        max-height: 100% !important;
        transform: none !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 16px !important;
        box-sizing: border-box !important;
        z-index: 100005 !important;
        pointer-events: none !important;
    }

    .shop-gallery .shop-gallery-skin {
        pointer-events: auto !important;
        width: 100% !important;
        max-width: 380px !important;
        background: #ffffff !important;
        border-radius: 20px !important;
        border: 1px solid #e2e8f0 !important;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4) !important;
        padding: 16px 12px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important;
        box-sizing: border-box !important;
        margin: 0 auto !important;
        overflow: visible !important;
    }

    .shop-gallery .shop-gallery-close {
        position: absolute !important;
        top: 10px !important;
        right: 10px !important;
        width: 36px !important;
        height: 36px !important;
        border-radius: 50% !important;
        background: #f1f5f9 !important;
        border: 1.5px solid #e2e8f0 !important;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        z-index: 100 !important;
    }

    .shop-gallery .shop-gallery-close::after {
        content: "✕" !important;
        font-size: 15px !important;
        font-weight: 800 !important;
        color: #0f172a !important;
        line-height: 1 !important;
    }

    .shop-gallery .shop-gallery-skin .shop-gallery-inner {
        width: 100% !important;
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .shop-gallery .shop-gallery-skin .shop-gallery-img-container {
        width: 100% !important;
        height: 300px !important;
        max-height: 48vh !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        background: #ffffff !important;
        border-radius: 12px !important;
    }

    .shop-gallery .shop-gallery-skin .shop-gallery-img-container .shop-gallery-img {
        max-width: 100% !important;
        max-height: 100% !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
        border-radius: 10px !important;
    }

    .shop-gallery .shop-gallery-inner .shop-gallery-nav {
        width: 38px !important;
        height: 38px !important;
        background: rgba(255, 255, 255, 0.95) !important;
        border: 1.5px solid #e2e8f0 !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
        z-index: 60 !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }

    .shop-gallery .shop-gallery-inner .shop-gallery-nav.shop-gallery-nav-prev {
        left: 2px !important;
    }

    .shop-gallery .shop-gallery-inner .shop-gallery-nav.shop-gallery-nav-next {
        right: 2px !important;
    }

    .shop-gallery .shop-gallery-inner .shop-gallery-nav::after {
        width: 8px !important;
        height: 8px !important;
        border-width: 2px 2px 0 0 !important;
    }

    /* Pasek miniatur na mobile/tablecie */
    .shop-gallery .shop-gallery-preview,
    .shop-gallery .shop-gallery-preview.none {
        pointer-events: auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 380px !important;
        height: 60px !important;
        margin: 12px auto 0 auto !important;
        padding: 4px 32px !important;
        border-radius: 14px !important;
        background: rgba(255, 255, 255, 0.95) !important;
        border: 1px solid #e2e8f0 !important;
        box-sizing: border-box !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
        overflow: hidden !important;
        position: relative !important;
    }

    .shop-gallery-preview .shop-gallery-container {
        width: 100% !important;
        height: 48px !important;
        overflow: hidden !important;
        position: relative !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    .shop-gallery-preview .shop-gallery-slider {
        display: inline-flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        white-space: nowrap !important;
        width: max-content !important;
        min-width: 100% !important;
        height: 48px !important;
        align-items: center !important;
        position: relative !important;
        top: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        transition: left 0.35s cubic-bezier(0.25, 1, 0.5, 1) !important;
    }

    .shop-gallery-preview .shop-gallery-item-preview {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        max-width: 44px !important;
        flex: 0 0 44px !important;
        flex-shrink: 0 !important;
        border-radius: 8px !important;
        margin: 0 6px 0 0 !important;
        padding: 2px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: 1.5px solid #e2e8f0 !important;
        background: #f8fafc !important;
        box-sizing: border-box !important;
    }

    .shop-gallery-preview .shop-gallery-item-preview:last-child {
        margin-right: 0 !important;
    }

    .shop-gallery-preview .shop-gallery-item-preview.active,
    .shop-gallery-preview .shop-gallery-item-preview:hover {
        border-color: #04bbff !important;
        box-shadow: 0 2px 8px rgba(4, 187, 255, 0.35) !important;
    }

    .shop-gallery-preview .shop-gallery-item-preview img {
        max-width: 100% !important;
        max-height: 100% !important;
        object-fit: contain !important;
        border-radius: 6px !important;
    }

    .shop-gallery-preview .shop-gallery-mini-prev,
    .shop-gallery-preview .shop-gallery-mini-next {
        width: 26px !important;
        height: 26px !important;
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }

    .shop-gallery-preview .shop-gallery-mini-prev { left: 4px !important; }
    .shop-gallery-preview .shop-gallery-mini-next { right: 4px !important; }

    /* Ukrycie widżetu czatu gdy modal galerii jest otwarty */
    body.shop-gallery-open #smartsupp-widget-container,
    body.shop-gallery-open iframe[id*="chat"],
    body.shop-gallery-open [class*="chat-widget"],
    body.shop-gallery-open .chat-bubble,
    body.shop-gallery-open #chat-widget-container {
        display: none !important;
        visibility: hidden !important;
    }
}

@media screen and (min-width: 481px) and (max-width: 900px) {
    .shop-gallery .shop-gallery-skin {
        max-width: 500px !important;
    }
    .shop-gallery .shop-gallery-skin .shop-gallery-img-container {
        height: 420px !important;
    }
    .shop-gallery .shop-gallery-preview,
    .shop-gallery .shop-gallery-preview.none {
        max-width: 500px !important;
    }
}

@media screen and (max-width: 420px) {
    .shop-gallery .shop-gallery-skin {
        max-width: calc(100vw - 20px) !important;
        padding: 14px 10px !important;
    }
    .shop-gallery .shop-gallery-skin .shop-gallery-img-container {
        height: 270px !important;
    }
    .shop-gallery .shop-gallery-preview,
    .shop-gallery .shop-gallery-preview.none {
        max-width: calc(100vw - 20px) !important;
        height: 54px !important;
        padding: 3px 26px !important;
    }
    .shop-gallery-preview .shop-gallery-item-preview {
        width: 38px !important;
        height: 38px !important;
    }
}

/* Przycisk ulubionych na czerwono przy hover */
.kl-action-btn.kl-btn-fav:hover {
    background: #fef2f2 !important;
    border-color: #ef4444 !important;
    color: #ef4444 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.25) !important;
}
.kl-action-btn.kl-btn-fav:hover span {
    color: #ef4444 !important;
}

.kl-producer-link {
    color: #04bbff !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
}
.kl-producer-link:hover {
    color: #008ecc !important;
    text-decoration: underline !important;
}
.kl-timer-line {
    font-size: 10.5px !important;
    white-space: normal !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    line-height: 1.25 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-top: 4px !important;
    gap: 1px !important;
}
.kl-timer-label {
    color: #16a34a !important;
    font-weight: 700 !important;
    font-size: 10px !important;
    display: block !important;
    text-align: center !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
}
.kl-timer-clock {
    color: #ef4444 !important;
    font-weight: 800 !important;
    font-size: 10.5px !important;
    letter-spacing: 0 !important;
    white-space: normal !important;
    display: block !important;
    text-align: center !important;
    line-height: 1.2 !important;
    word-break: break-word !important;
}

/* Hide empty prices & non-promo prices */
#box_productfull .price__regular.none,
#box_productfull .js__omnibus-price-container.none,
#box_productfull .price__regular.kl-hide,
#box_productfull .js__omnibus-price-container.kl-hide,
#box_productfull .price__regular:empty,
#box_productfull .js__omnibus-price-container:empty {
    display: none !important;
}
#box_productfull .price__regular .price__inactive:empty {
    display: none !important;
}

/* Hide standalone addtofav outside our custom action row */
#box_productfull a.addtofav:not(.kl-action-btn),
#box_productfull .basket > a.addtofav,
#box_productfull .maininfo > a.addtofav {
    display: none !important;
}

/* ==========================================================================
   NOWOCZESNY DESIGN ZAKŁADEK PRODUKTU (Opis, Koszty dostawy, Opinie)
   ========================================================================== */
.product-modules {
    clear: both !important;
    margin-top: 30px !important;
}

.tab-container {
    margin-top: 25px !important;
}

/* Wyśrodkowanie paska nawigacji zakładek */
.tab-container nav,
.product-modules nav {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 30px auto 25px auto !important;
    width: 100% !important;
    border: none !important;
}

/* Pasek zakładek w nowoczesnym stylu Segmented Control / Pills */
.tab-container nav ul,
.tab-container nav ul[role="tablist"],
.product-modules nav ul {
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: #f1f5f9 !important;
    padding: 6px !important;
    border-radius: 50px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.04) !important;
    list-style: none !important;
    margin: 0 auto !important;
}

/* Elementy listy */
.tab-container nav ul li,
.product-modules nav ul li {
    display: inline-flex !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    list-style: none !important;
    cursor: pointer !important;
    outline: none !important;
}

/* Wewnętrzny przycisk zakładki (.boxhead) */
.tab-container nav ul li .boxhead,
.product-modules nav ul li .boxhead {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 11px 26px !important;
    border-radius: 40px !important;
    border: none !important;
    background: transparent !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    margin: 0 !important;
}

/* Usunięcie reliktów Shopera (starych kresek, pseudo-elementów, kwadracików i przezroczystych gifów) */
.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::after,
.tab-container nav ul li .boxhead::before,
.product-modules nav ul li .boxhead::after,
.product-modules nav ul li .boxhead::before,
.tab-container .boxhead::before,
.tab-container .boxhead::after,
.product-modules .boxhead::before,
.product-modules .boxhead::after,
.tab-container nav ul li .boxhead img.px1,
.product-modules nav ul li .boxhead img.px1 {
    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;
}

/* Tytuł wewnątrz zakładki (h3) */
.tab-container nav ul li .boxhead h3,
.product-modules nav ul li .boxhead h3 {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    line-height: 1.4 !important;
    letter-spacing: 0.2px !important;
    text-transform: none !important;
    transition: color 0.2s ease !important;
    white-space: nowrap !important;
}

/* Efekt najechania (hover) */
.tab-container nav ul li:hover .boxhead:not(.active) {
    background: rgba(255, 255, 255, 0.8) !important;
}
.tab-container nav ul li:hover .boxhead:not(.active) h3 {
    color: #0f172a !important;
}

/* Zakładka AKTYWNA (.active / aria-selected="true") */
.tab-container nav ul li.active .boxhead,
.tab-container nav ul li .boxhead.active,
.tab-container nav ul li[aria-selected="true"] .boxhead,
.product-modules nav ul li.active .boxhead,
.product-modules nav ul li .boxhead.active {
    background: #ffffff !important;
    box-shadow: 0 4px 14px rgba(0, 82, 255, 0.12), 0 2px 6px rgba(0, 0, 0, 0.05) !important;
}

.tab-container nav ul li.active .boxhead h3,
.tab-container nav ul li .boxhead.active h3,
.tab-container nav ul li[aria-selected="true"] .boxhead h3,
.product-modules nav ul li.active .boxhead h3,
.product-modules nav ul li .boxhead.active h3 {
    color: #0052ff !important;
    font-weight: 800 !important;
}

/* Ikony przed nazwami zakładek */
.tab-container nav ul li.box_description .boxhead h3::before,
.product-modules nav ul li.box_description .boxhead h3::before {
    content: '📄' !important;
    font-size: 14px !important;
}
.tab-container nav ul li.box_productdeliveries .boxhead h3::before,
.product-modules nav ul li.box_productdeliveries .boxhead h3::before {
    content: '🚚' !important;
    font-size: 14px !important;
}
.tab-container nav ul li.box_productcomments .boxhead h3::before,
.product-modules nav ul li.box_productcomments .boxhead h3::before {
    content: '💬' !important;
    font-size: 14px !important;
}

/* Licznik opinii (np. (0)) */
.tab-container nav ul li.box_productcomments .boxhead h3 .kl-tab-count,
.product-modules nav ul li.box_productcomments .boxhead h3 .kl-tab-count {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #e2e8f0 !important;
    color: #475569 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 1px 5px !important;
    border-radius: 10px !important;
    margin-left: 2px !important;
}
.tab-container nav ul li.box_productcomments .boxhead.active h3 .kl-tab-count,
.tab-container nav ul li[aria-selected="true"].box_productcomments .boxhead h3 .kl-tab-count,
.product-modules nav ul li.box_productcomments .boxhead.active h3 .kl-tab-count {
    background: #dbeafe !important;
    color: #0052ff !important;
}

/* Reset badge styles for non-count spans inside tab heads */
.tab-container nav ul li .boxhead h3 .kl-tab-full,
.product-modules nav ul li .boxhead h3 .kl-tab-full,
.tab-container nav ul li .boxhead h3 .kl-tab-short,
.product-modules nav ul li .boxhead h3 .kl-tab-short {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    margin: 0 !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    color: inherit !important;
}

/* Hint / tooltip przy Kosztach dostawy oraz przyciski zamykania w zakładkach i relikty Shopera */
.tab-container nav ul li .boxhead h3 .hint,
.product-modules nav ul li .boxhead h3 .hint,
.tab-container nav ul li .boxhead h3 .js__tooltip-trigger,
.tab-container nav ul li .boxhead h3 .icon-help,
.modal-shipping-close,
.modal-shipping,
.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) {
    display: none !important;
    content: none !important;
    border: none !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.tab-container nav ul li .kl-tab-short,
.product-modules nav ul li .kl-tab-short {
    display: none !important;
}
.tab-container nav ul li .kl-tab-full,
.product-modules nav ul li .kl-tab-full {
    display: inline !important;
}

@media (max-width: 768px) {
    .tab-container nav ul li .kl-tab-short,
    .product-modules nav ul li .kl-tab-short {
        display: inline !important;
    }
    .tab-container nav ul li .kl-tab-full,
    .product-modules nav ul li .kl-tab-full {
        display: none !important;
    }

    .tab-container nav,
    .product-modules nav {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 20px auto 16px auto !important;
        padding: 0 8px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .tab-container nav ul,
    .tab-container nav ul[role="tablist"],
    .product-modules nav ul {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
        max-width: 100% !important;
        background: #f1f5f9 !important;
        padding: 4px !important;
        border-radius: 40px !important;
        gap: 4px !important;
        border: 1px solid #e2e8f0 !important;
        box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.04) !important;
        box-sizing: border-box !important;
        justify-content: space-between !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }

    .tab-container nav ul::-webkit-scrollbar,
    .tab-container nav ul[role="tablist"]::-webkit-scrollbar,
    .product-modules nav ul::-webkit-scrollbar {
        display: none !important;
    }

    .tab-container nav ul li,
    .product-modules nav ul li {
        display: flex !important;
        flex: 1 1 0 !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .tab-container nav ul li .boxhead,
    .product-modules nav ul li .boxhead {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 9px 4px !important;
        border-radius: 30px !important;
        margin: 0 !important;
        transition: all 0.2s ease !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .tab-container nav ul li .boxhead h3,
    .product-modules nav ul li .boxhead h3 {
        font-size: 12.5px !important;
        font-weight: 600 !important;
        gap: 5px !important;
        white-space: nowrap !important;
        color: #64748b !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1.2 !important;
        justify-content: center !important;
        width: 100% !important;
    }

    .tab-container nav ul li.active .boxhead,
    .tab-container nav ul li .boxhead.active,
    .tab-container nav ul li[aria-selected="true"] .boxhead,
    .product-modules nav ul li.active .boxhead,
    .product-modules nav ul li .boxhead.active {
        background: #ffffff !important;
        box-shadow: 0 4px 12px rgba(0, 82, 255, 0.12), 0 2px 4px rgba(0, 0, 0, 0.05) !important;
    }

    .tab-container nav ul li.active .boxhead h3,
    .tab-container nav ul li .boxhead.active h3,
    .tab-container nav ul li[aria-selected="true"] .boxhead h3,
    .product-modules nav ul li.active .boxhead h3,
    .product-modules nav ul li .boxhead.active h3 {
        color: #0052ff !important;
        font-weight: 800 !important;
    }
}

/* Ukrycie podwójnych nagłówków wewnątrz treści zakładek */
.tab-container .box.tab > .boxhead:first-child,
.product-modules .box.tab > .boxhead:first-child {
    display: none !important;
}

/* Nowoczesne karty z zawartością zakładek */
.tab-container .box.tab,
.product-modules .box.tab {
    background: #ffffff !important;
    border-radius: 20px !important;
    padding: 30px !important;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.03) !important;
    border: 1px solid #f1f5f9 !important;
    margin-top: 15px !important;
}

/* === 9. Wyrównanie cen promocyjnych i zielone punkty lojalnościowe obok ceny === */
#box_productfull .price__container {
    text-align: left !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}
#box_productfull .basket,
#box_productfull .basket form,
#box_productfull form.form-basket,
#box_productfull .price,
#box_productfull .basket .price,
#box_productfull .price__container {
    display: block !important;
    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;
}

#box_productfull .kl-price-main-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

#box_productfull .kl-price-left {
    display: inline-flex !important;
    align-items: baseline !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 auto !important;
}

#box_productfull .price-name,
#box_productfull .price .price-name,
#box_productfull .price__container .price-name,
#box_productfull .kl-price-left .price-name,
#box_productfull .basket .price .price-name {
    min-width: 0 !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #475569 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    display: inline !important;
    float: none !important;
}

#box_productfull em.main-price,
#box_productfull .kl-price-left em.main-price,
#box_productfull .main-price {
    font-size: 38px !important;
    font-weight: 900 !important;
    color: #04bbff !important;
    line-height: 1 !important;
    font-style: normal !important;
    letter-spacing: -0.5px !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
    display: inline !important;
    float: none !important;
}

#box_productfull .loyalty_points.kl-points-inline,
#box_productfull .kl-price-main-wrap .loyalty_points,
#box_productfull .loyalty_points {
    display: inline-flex !important;
    align-items: center !important;
    background: #ecfdf5 !important;
    border: 1.5px solid #a7f3d0 !important;
    color: #047857 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    padding: 5px 14px !important;
    border-radius: 20px !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.12) !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
}
#box_productfull .loyalty_points.kl-points-inline .points,
#box_productfull .kl-price-main-wrap .loyalty_points .points {
    font-size: 14.5px !important;
    font-weight: 900 !important;
    color: #047857 !important;
    margin: 0 3px !important;
}
#box_productfull .loyalty_points.kl-points-inline .tooltip_pointer,
#box_productfull .kl-price-main-wrap .loyalty_points .tooltip_pointer,
.loyalty_points .kl-loyalty-link,
.loyalty_points a.tooltip_pointer {
    color: #10b981 !important;
    font-weight: 800 !important;
    margin-left: 2px !important;
    cursor: pointer !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: transform 0.2s ease, color 0.2s ease !important;
}
#box_productfull .loyalty_points.kl-points-inline .tooltip_pointer:hover,
#box_productfull .kl-price-main-wrap .loyalty_points .tooltip_pointer:hover,
.loyalty_points .kl-loyalty-link:hover,
.loyalty_points a.tooltip_pointer:hover {
    color: #047857 !important;
    transform: scale(1.2) !important;
    text-decoration: none !important;
}
#box_productfull .button_wrap .loyalty_points {
    display: none !important;
}

#box_productfull .price__regular,
#box_productfull .js__omnibus-price-container,
#box_productfull .price__omnibus {
    text-align: left !important;
    margin: 4px 0 0 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: baseline !important;
    justify-content: flex-start !important;
    gap: 6px !important;
    width: 100% !important;
    max-width: 100% !important;
    font-size: 13px !important;
    color: #64748b !important;
    line-height: 1.4 !important;
    float: none !important;
    clear: both !important;
    box-sizing: border-box !important;
}

#box_productfull .price__regular del,
#box_productfull .price__regular .price__inactive {
    display: inline !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #94a3b8 !important;
    text-decoration: line-through !important;
}

#box_productfull .js__omnibus-price-container strong,
#box_productfull .js__omnibus-price-container strong.js__omnibus-price-gross,
#box_productfull .js__omnibus-price-container strong.js__omnibus-price-net,
#box_productfull .js__omnibus-price-container .price__inactive,
#box_productfull .price__omnibus strong,
#box_productfull .price__omnibus .price__inactive {
    display: inline !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #64748b !important;
    text-decoration: line-through !important;
    white-space: nowrap !important;
}

#box_productfull .kl-promo-duration,
.kl-promo-duration {
    display: none !important;
}

/* === 10. Brak produktu - ukrycie ilości i koszyka, tylko powiadomienie === */
#box_productfull .addtobasket-container.none,
#box_productfull .addtobasket-container.is-hidden,
#box_productfull.product-out-of-stock .addtobasket-container,
.product-out-of-stock .addtobasket-container {
    display: none !important;
}

.availability-notifier-container.kl-always-visible,
.product-out-of-stock .availability-notifier-container {
    display: block !important;
    width: 100% !important;
    margin-top: 10px !important;
}
.availability-notifier-container.kl-always-visible .availability-notifier-btn,
.product-out-of-stock .availability-notifier-btn {
    width: 100% !important;
    min-height: 48px !important;
    background: #0f172a !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    letter-spacing: 0.3px !important;
    transition: all 0.25s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.availability-notifier-container.kl-always-visible .availability-notifier-btn:hover,
.product-out-of-stock .availability-notifier-btn:hover {
    background: #0052ff !important;
    box-shadow: 0 4px 16px rgba(0, 82, 255, 0.3) !important;
}

/* === 11. Okno Powiadom mnie o dostępności === */
.modal:has(.availability_notify_form),
.modal.availability-notifier-modal {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 100005 !important;
    width: 92vw !important;
    max-width: 680px !important;
    height: auto !important;
    background: #ffffff !important;
    border-radius: 28px !important;
    box-shadow: 0 25px 80px rgba(15, 23, 42, 0.28), 0 0 1px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid #eef1f6 !important;
    padding: 32px 36px !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
}

.modal:has(.availability_notify_form) .modal-header,
.modal.availability-notifier-modal .modal-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 0 20px 0 !important;
    margin-bottom: 24px !important;
    border-bottom: 2px solid #f1f5f9 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.modal:has(.availability_notify_form) .modal-header h3:empty,
.modal.availability-notifier-modal .modal-header h3:empty {
    display: none !important;
}

.modal:has(.availability_notify_form) .modal-header > h3,
.modal.availability-notifier-modal .modal-header > h3 {
    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;
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex: 1 !important;
}

.modal:has(.availability_notify_form) .modal-header > h3::before,
.modal.availability-notifier-modal .modal-header > h3::before {
    content: '\f0f3' !important;
    font-family: 'Font Awesome 6 Free', 'FontAwesome' !important;
    font-weight: 900 !important;
    font-size: 16px !important;
    color: #04BBFF !important;
    background: rgba(4, 187, 255, 0.12) !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.modal:has(.availability_notify_form) .modal-header h3 h3,
.modal.availability-notifier-modal .modal-header h3 h3 {
    display: inline !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    color: inherit !important;
    margin: 0 !important;
    padding: 0 !important;
}

.modal:has(.availability_notify_form) .modal-header h3 h3::before,
.modal.availability-notifier-modal .modal-header h3 h3::before {
    display: none !important;
    content: none !important;
}

.modal:has(.availability_notify_form) .modal-close,
.modal.availability-notifier-modal .modal-close {
    width: 38px !important;
    height: 38px !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;
    transition: all 0.2s ease !important;
    position: relative !important;
    overflow: hidden !important;
    text-indent: -9999px !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
}

.modal:has(.availability_notify_form) .modal-close::before,
.modal:has(.availability_notify_form) .modal-close::after,
.modal.availability-notifier-modal .modal-close::before,
.modal.availability-notifier-modal .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;
    display: block !important;
    transition: background-color 0.2s ease !important;
}

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

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

.modal:has(.availability_notify_form) .modal-close:hover,
.modal.availability-notifier-modal .modal-close:hover {
    background: #e2e8f0 !important;
    transform: scale(1.08) !important;
}

.modal:has(.availability_notify_form) .modal-close:hover::before,
.modal:has(.availability_notify_form) .modal-close:hover::after,
.modal.availability-notifier-modal .modal-close:hover::before,
.modal.availability-notifier-modal .modal-close:hover::after {
    background-color: #0f172a !important;
}

.modal:has(.availability_notify_form) .modal-body,
.modal.availability-notifier-modal .modal-body {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.modal:has(.availability_notify_form) .modal-body .clearfix,
.modal.availability-notifier-modal .modal-body .clearfix {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    gap: 30px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.availability_notify_info {
    width: 220px !important;
    min-width: 220px !important;
    max-width: 220px !important;
    background: #f8fafc !important;
    border-radius: 20px !important;
    border: 1.5px solid #eef1f6 !important;
    padding: 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02) !important;
    flex-shrink: 0 !important;
    transition: border-color 0.2s ease !important;
    box-sizing: border-box !important;
}

.availability_notify_info:hover {
    border-color: #cbd5e1 !important;
}

.availability_notify_info img {
    max-width: 100% !important;
    max-height: 180px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 12px !important;
    transition: transform 0.35s ease !important;
}

.availability_notify_info:hover img {
    transform: scale(1.06) !important;
}

.availability_notify_form {
    flex: 1 !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.availability_notify_form h3 {
    font-size: 16.5px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    line-height: 1.35 !important;
    margin: 0 0 16px 0 !important;
    padding: 0 !important;
    letter-spacing: -0.2px !important;
    word-break: break-word !important;
    white-space: normal !important;
}

.availability_notify_form p {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.availability_notify_form p:empty,
.availability_notify_form .availability-stocks:empty,
.availability_notify_form .notify-small-font:empty {
    display: none !important;
}

.availability_notify_form > p:not(:has(input)):not(:last-child):not(:empty),
.availability_notify_form p:first-of-type:not(:empty) {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #475569 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 8px !important;
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
}

.availability_notify_form > p:not(:has(input)):not(:last-child):not(:empty)::before {
    content: '\f0e0' !important;
    font-family: 'Font Awesome 6 Free', 'FontAwesome' !important;
    font-weight: 900 !important;
    font-size: 13px !important;
    color: #04BBFF !important;
}

.availability_notify_form p:has(input) {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin-bottom: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.availability_notify_form input[type="text"],
.availability_notify_form input[type="email"] {
    display: block !important;
    width: 100% !important;
    height: 50px !important;
    border-radius: 14px !important;
    border: 1.5px solid #cbd5e1 !important;
    background: #f8fafc !important;
    padding: 0 18px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    font-family: inherit !important;
    color: #0f172a !important;
    transition: all 0.25s ease !important;
    box-sizing: border-box !important;
}

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

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

.availability_notify_form button[type="submit"],
.availability_notify_form .btn.btn-red {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 50px !important;
    border-radius: 14px !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;
    border: none !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    cursor: pointer !important;
    box-shadow: 0 8px 24px rgba(123, 0, 255, 0.3) !important;
    transition: background-position 0.5s ease-in-out, transform 0.2s ease, box-shadow 0.2s ease !important;
    margin: 0 !important;
    gap: 8px !important;
    box-sizing: border-box !important;
}

.availability_notify_form button[type="submit"]:hover,
.availability_notify_form .btn.btn-red:hover {
    background-position: 100% 0% !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 28px rgba(4, 187, 255, 0.45) !important;
}

.availability_notify_form button[type="submit"] span {
    color: #ffffff !important;
}

.availability_notify_form button[type="submit"]::after {
    content: '\f061' !important;
    font-family: 'Font Awesome 6 Free', 'FontAwesome' !important;
    font-weight: 900 !important;
    font-size: 13px !important;
    transition: transform 0.2s ease !important;
}

.availability_notify_form button[type="submit"]:hover::after {
    transform: translateX(3px) !important;
}

.availability_notify_form p:last-child {
    background: #f0fdf4 !important;
    border: 1px solid #bbf7d0 !important;
    border-radius: 14px !important;
    padding: 12px 16px !important;
    color: #166534 !important;
    font-size: 12.5px !important;
    line-height: 1.45 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    word-break: break-word !important;
    white-space: normal !important;
}

.availability_notify_form p:last-child::before {
    content: '\f058' !important;
    font-family: 'Font Awesome 6 Free', 'FontAwesome' !important;
    font-weight: 900 !important;
    font-size: 16px !important;
    color: #16a34a !important;
    flex-shrink: 0 !important;
}

@media (max-width: 640px) {
    .modal:has(.availability_notify_form),
    .modal.availability-notifier-modal {
        width: 92vw !important;
        max-width: 92vw !important;
        min-width: 0 !important;
        padding: 20px 16px !important;
        border-radius: 20px !important;
        max-height: 94vh !important;
        overflow-y: auto !important;
    }
    .modal:has(.availability_notify_form) .modal-header > h3,
    .modal.availability-notifier-modal .modal-header > h3,
    .modal:has(.availability_notify_form) .modal-header h3 h3,
    .modal.availability-notifier-modal .modal-header h3 h3 {
        font-size: 13.5px !important;
        white-space: normal !important;
        word-break: break-word !important;
        line-height: 1.25 !important;
        gap: 8px !important;
        letter-spacing: 0.2px !important;
    }
    .modal:has(.availability_notify_form) .modal-header > h3::before,
    .modal.availability-notifier-modal .modal-header > h3::before {
        width: 32px !important;
        height: 32px !important;
        font-size: 13px !important;
        border-radius: 8px !important;
    }
    .modal:has(.availability_notify_form) .modal-close,
    .modal.availability-notifier-modal .modal-close {
        width: 32px !important;
        height: 32px !important;
    }
    .modal:has(.availability_notify_form) .modal-header,
    .modal.availability-notifier-modal .modal-header {
        padding-bottom: 12px !important;
        margin-bottom: 14px !important;
    }
    .modal:has(.availability_notify_form) .modal-body .clearfix,
    .modal.availability-notifier-modal .modal-body .clearfix {
        flex-direction: column !important;
        align-items: center !important;
        gap: 14px !important;
    }
    .availability_notify_info {
        width: 140px !important;
        min-width: 140px !important;
        max-width: 140px !important;
        height: 140px !important;
        min-height: 140px !important;
        padding: 10px !important;
    }
    .availability_notify_info img {
        max-height: 120px !important;
    }
    .availability_notify_form h3 {
        text-align: center !important;
        font-size: 14px !important;
        margin-bottom: 10px !important;
    }
    .availability_notify_form > p:not(:has(input)):not(:last-child):not(:empty) {
        justify-content: center !important;
    }
}

/* === 11b. Okno Zapytaj o produkt (Modern UI) === */
.modal:has(.ask-for-product),
.modal.ask-for-product-modal {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 100005 !important;
    width: 92vw !important;
    max-width: 520px !important;
    height: auto !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    background: #ffffff !important;
    border-radius: 24px !important;
    box-shadow: 0 25px 80px rgba(15, 23, 42, 0.28), 0 0 1px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid #eef1f6 !important;
    padding: 28px 30px 32px 30px !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
}

.modal:has(.ask-for-product) .modal-header,
.modal.ask-for-product-modal .modal-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 0 18px 0 !important;
    margin-bottom: 22px !important;
    border-bottom: 1.5px solid #f1f5f9 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.modal:has(.ask-for-product) .modal-header > h3,
.modal.ask-for-product-modal .modal-header > h3 {
    font-size: 19px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex: 1 !important;
}

.modal:has(.ask-for-product) .modal-header > h3::before,
.modal.ask-for-product-modal .modal-header > h3::before {
    content: '' !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 12px !important;
    background-color: rgba(4, 187, 255, 0.12) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2304bbff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'%3E%3C/path%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.modal:has(.ask-for-product) .modal-close,
.modal.ask-for-product-modal .modal-close {
    width: 36px !important;
    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: #64748b !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    outline: none !important;
}

.modal:has(.ask-for-product) .modal-close:hover,
.modal.ask-for-product-modal .modal-close:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
    transform: scale(1.08) !important;
}

.modal:has(.ask-for-product) .modal-body,
.modal.ask-for-product-modal .modal-body {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.ask-for-product {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ask-for-product form.kl-ask-form {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.ask-for-product form.kl-ask-form fieldset {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.ask-for-product .kl-field-group {
    display: flex !important;
    flex-direction: column !important;
    margin-bottom: 18px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    float: none !important;
    clear: both !important;
}

.ask-for-product .kl-field-group label {
    display: flex !important;
    align-items: center !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin: 0 0 7px 0 !important;
    padding: 0 !important;
    cursor: pointer !important;
    text-align: left !important;
}

.ask-for-product .req-star {
    color: #ef4444 !important;
    font-weight: 800 !important;
    font-style: normal !important;
    margin-left: 3px !important;
}

.ask-for-product input[type="text"],
.ask-for-product input[type="email"] {
    display: block !important;
    width: 100% !important;
    height: 48px !important;
    border-radius: 12px !important;
    border: 1.5px solid #cbd5e1 !important;
    background: #f8fafc !important;
    padding: 0 16px !important;
    font-size: 14.5px !important;
    font-weight: 500 !important;
    font-family: inherit !important;
    color: #0f172a !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
    outline: none !important;
    margin: 0 !important;
}

.ask-for-product textarea {
    display: block !important;
    width: 100% !important;
    min-height: 120px !important;
    border-radius: 12px !important;
    border: 1.5px solid #cbd5e1 !important;
    background: #f8fafc !important;
    padding: 13px 16px !important;
    font-size: 14.5px !important;
    font-weight: 500 !important;
    font-family: inherit !important;
    color: #0f172a !important;
    line-height: 1.5 !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
    outline: none !important;
    resize: vertical !important;
    margin: 0 !important;
}

.ask-for-product input[type="text"]:focus,
.ask-for-product input[type="email"]:focus,
.ask-for-product textarea:focus {
    border-color: #04bbff !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3.5px rgba(4, 187, 255, 0.16) !important;
    outline: none !important;
}

.ask-for-product input::placeholder,
.ask-for-product textarea::placeholder {
    color: #94a3b8 !important;
    font-weight: 400 !important;
}

.ask-for-product input.error,
.ask-for-product textarea.error {
    border-color: #ef4444 !important;
    background: #fef2f2 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.14) !important;
}

.ask-for-product ul.error,
.ask-for-product ul.kl-field-error {
    margin: -10px 0 14px 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;
}

.ask-for-product .kl-ask-info-badge {
    background: #f0f9ff !important;
    border: 1px solid #bae6fd !important;
    border-radius: 12px !important;
    padding: 11px 14px !important;
    color: #0369a1 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    margin: 6px 0 12px 0 !important;
    box-sizing: border-box !important;
    text-align: left !important;
}

.ask-for-product .kl-ask-info-badge svg {
    color: #0284c7 !important;
    flex-shrink: 0 !important;
}

.ask-for-product .kl-ask-mandatory {
    font-size: 12px !important;
    color: #94a3b8 !important;
    font-weight: 500 !important;
    margin: 0 0 18px 0 !important;
    text-align: left !important;
}

.ask-for-product .kl-ask-submit-row {
    margin: 8px 0 0 0 !important;
    padding: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.ask-for-product button[type="submit"],
.ask-for-product .btn.kl-ask-submit-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    height: 50px !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, #04bbff 0%, #0052ff 100%) !important;
    color: #ffffff !important;
    border: none !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    cursor: pointer !important;
    box-shadow: 0 6px 20px rgba(0, 82, 255, 0.28) !important;
    transition: all 0.25s ease !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 24px !important;
}

.ask-for-product button[type="submit"]:hover,
.ask-for-product .btn.kl-ask-submit-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 28px rgba(0, 82, 255, 0.4) !important;
}

.ask-for-product button[type="submit"]:active,
.ask-for-product .btn.kl-ask-submit-btn:active {
    transform: translateY(0) !important;
    box-shadow: 0 4px 12px rgba(0, 82, 255, 0.25) !important;
}

.ask-for-product button[type="submit"] span,
.ask-for-product .btn.kl-ask-submit-btn span {
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    letter-spacing: 0.6px !important;
}

.ask-for-product button[type="submit"] img.px1,
.ask-for-product .btn.kl-ask-submit-btn img.px1 {
    display: none !important;
}

.ask-for-product .kl-ask-success {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 24px 16px !important;
    box-sizing: border-box !important;
}

.ask-for-product .alert,
.ask-for-product .alert-success,
.ask-for-product .alert-info,
.ask-for-product .container,
.modal:has(.ask-for-product) .alert {
    display: none !important;
}

.ask-for-product .kl-ask-success {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 12px 16px 20px 16px !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

.ask-for-product .kl-ask-success-icon {
    width: 72px !important;
    height: 72px !important;
    border-radius: 50% !important;
    background: #dcfce7 !important;
    border: 3px solid #bbf7d0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 4px auto 18px auto !important;
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.18) !important;
    flex-shrink: 0 !important;
}

.ask-for-product .kl-ask-success h4 {
    font-size: 21px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 10px 0 !important;
    text-align: center !important;
    letter-spacing: -0.2px !important;
}

.ask-for-product .kl-ask-success p {
    font-size: 14.5px !important;
    color: #475569 !important;
    line-height: 1.55 !important;
    margin: 0 auto 24px auto !important;
    max-width: 380px !important;
    text-align: center !important;
}

.ask-for-product button.kl-ask-btn-close,
.ask-for-product .btn.kl-ask-btn-close,
.modal .ask-for-product .kl-ask-btn-close {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 240px !important;
    height: 48px !important;
    min-height: 48px !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, #04bbff 0%, #0052ff 100%) !important;
    color: #ffffff !important;
    font-size: 14.5px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 6px 20px rgba(0, 82, 255, 0.28) !important;
    transition: all 0.25s ease !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
    box-sizing: border-box !important;
}

.ask-for-product button.kl-ask-btn-close:hover,
.ask-for-product .btn.kl-ask-btn-close:hover,
.modal .ask-for-product .kl-ask-btn-close:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 28px rgba(0, 82, 255, 0.4) !important;
}

.ask-for-product button.kl-ask-btn-close span,
.ask-for-product .btn.kl-ask-btn-close span,
.modal .ask-for-product .kl-ask-btn-close span {
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 14.5px !important;
    letter-spacing: 0.6px !important;
}

@media (max-width: 640px) {
    .modal:has(.ask-for-product),
    .modal.ask-for-product-modal {
        width: 94vw !important;
        max-width: 94vw !important;
        padding: 22px 18px 24px 18px !important;
        border-radius: 20px !important;
    }
    .modal:has(.ask-for-product) .modal-header > h3,
    .modal.ask-for-product-modal .modal-header > h3 {
        font-size: 16px !important;
        gap: 9px !important;
    }
    .modal:has(.ask-for-product) .modal-header > h3::before,
    .modal.ask-for-product-modal .modal-header > h3::before {
        width: 32px !important;
        height: 32px !important;
        border-radius: 10px !important;
    }
    .ask-for-product input[type="text"],
    .ask-for-product input[type="email"] {
        height: 44px !important;
        font-size: 14px !important;
    }
    .ask-for-product textarea {
        min-height: 100px !important;
        font-size: 14px !important;
    }
    .ask-for-product button[type="submit"],
    .ask-for-product .btn.kl-ask-submit-btn {
        height: 46px !important;
        font-size: 14px !important;
    }
}

/* ==========================================================================
   NOWOCZESNE OPINIE O PRODUKCIE (Modern Comments & Review Form)
   ========================================================================== */

/* Komunikat moderacji */
.kl-comments-notice,
#box_productcomments .tab-comments > p.pb-3 {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-left: 4px solid #0052ff !important;
    border-radius: 12px !important;
    padding: 14px 20px !important;
    font-size: 13.5px !important;
    color: #475569 !important;
    line-height: 1.5 !important;
    margin-bottom: 24px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}
.kl-comments-notice p {
    margin: 0 !important;
    font-size: 13.5px !important;
    color: #475569 !important;
}
.kl-notice-icon {
    font-size: 18px !important;
    flex-shrink: 0 !important;
}

/* Brak opinii (Empty state) */
.kl-no-comments {
    text-align: center !important;
    padding: 36px 20px !important;
    background: #f8fafc !important;
    border: 1.5px dashed #cbd5e1 !important;
    border-radius: 16px !important;
    margin-bottom: 24px !important;
}
.kl-no-comments-icon {
    font-size: 32px !important;
    display: block !important;
    margin-bottom: 8px !important;
}
.kl-no-comments-title {
    display: block !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-bottom: 4px !important;
}
.kl-no-comments-desc {
    font-size: 13.5px !important;
    color: #64748b !important;
    margin: 0 !important;
}

/* Karty opinii klientów */
.kl-comment-card,
.productcomment {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 20px 24px !important;
    margin-bottom: 16px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.2s ease !important;
}
.kl-comment-card:hover,
.productcomment:hover {
    border-color: #cbd5e1 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04) !important;
}
.kl-comment-header,
.productcomment .floatfix.row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 10px !important;
}
.kl-comment-author {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}
.kl-author-avatar {
    font-size: 18px !important;
}
.productcomment .reviewer {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 !important;
}
.productcomment .date {
    font-size: 12.5px !important;
    color: #94a3b8 !important;
    font-weight: 500 !important;
}
.kl-comment-body,
.productcomment .description.row {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #334155 !important;
    margin: 0 !important;
}

/* Karta formularza opinii */
.kl-comment-form-card,
#box_productcomments form#commentform {
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 18px !important;
    padding: 28px 32px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02) !important;
    margin-top: 24px !important;
    box-sizing: border-box !important;
}

.kl-form-heading {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 20px 0 !important;
    letter-spacing: -0.2px !important;
}

.kl-form-group,
#commentform .f-row {
    margin-bottom: 18px !important;
    width: 100% !important;
}

#commentform label {
    display: block !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin-bottom: 8px !important;
}

#commentform input[type="text"],
#commentform input#commentuser,
#commentform textarea,
#commentform textarea#comment {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    color: #0f172a !important;
    font-family: inherit !important;
    transition: all 0.2s ease !important;
    outline: none !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
}

#commentform input[type="text"]:focus,
#commentform input#commentuser:focus,
#commentform textarea:focus,
#commentform textarea#comment:focus {
    background: #ffffff !important;
    border-color: #0052ff !important;
    box-shadow: 0 0 0 3.5px rgba(0, 82, 255, 0.12) !important;
}

#commentform textarea,
#commentform textarea#comment {
    min-height: 120px !important;
    resize: vertical !important;
}

.kl-form-actions {
    margin-top: 20px !important;
}

/* Nowoczesny przycisk wyślij opinię */
#commentform button[type="submit"],
#commentform button.kl-btn-submit-review,
#commentform button.btn {
    background: linear-gradient(135deg, #0052ff 0%, #04bbff 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 12px 36px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 4px 15px rgba(0, 82, 255, 0.3) !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    outline: none !important;
}

#commentform button[type="submit"]:hover,
#commentform button.kl-btn-submit-review:hover,
#commentform button.btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 82, 255, 0.42) !important;
    filter: brightness(1.05) !important;
}

#commentform button.btn img.px1,
#commentform button[type="submit"] img.px1 {
    display: none !important;
}

/* 3. Karta produktu na telefonach (Product Page RWD) */
@media (max-width: 900px) {
    #box_productfull .maininfo .f-row {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    #box_productfull .maininfo .f-row > .productimg {
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    #box_productfull .maininfo .f-row > .f-grid-6 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    #box_productfull .productimg .mainimg {
        max-width: 320px !important;
        width: 100% !important;
        margin: 0 auto 16px auto !important;
        border-radius: 18px !important;
        border: 1.5px solid #e2e8f0 !important;
    }
    #box_productfull .productimg .mainimg img {
        width: 100% !important;
        height: auto !important;
        max-height: 320px !important;
        object-fit: contain !important;
    }
    .kl-thumb-carousel {
        max-width: 340px !important;
        margin: 0 auto !important;
        padding: 4px 34px !important;
    }
    #box_productfull .boxhead {
        padding: 0 0 12px 0 !important;
        border-bottom: 1px solid #f1f5f9 !important;
    }
    #box_productfull .boxhead h1.name {
        font-size: 20px !important;
        line-height: 1.35 !important;
        font-weight: 800 !important;
        color: #0f172a !important;
        margin: 0 0 8px 0 !important;
        word-break: break-word !important;
    }
    #box_productfull .innerbox.product-main-box {
        padding: 16px 12px !important;
        border-radius: 16px !important;
    }
}

@media (max-width: 640px) {
    /* Tabela 6 pól (Info Box) na telefonach */
    table.kl-info-table-6 {
        margin: 10px 0 6px 0 !important;
        border-radius: 14px !important;
        border: 1.5px solid #cbd5e1 !important;
        width: 100% !important;
    }
    table.kl-info-table-6 td.kl-table-cell {
        padding: 8px 4px !important;
    }
    .kl-table-cell-content {
        gap: 2px !important;
    }
    .kl-cell-label {
        font-size: 9.5px !important;
        letter-spacing: 0.2px !important;
    }
    .kl-cell-value {
        font-size: 11.5px !important;
        line-height: 1.25 !important;
    }
    .kl-cell-value strong {
        font-size: 11.5px !important;
    }
    .kl-badge-availability {
        font-size: 10px !important;
        padding: 2px 6px !important;
    }
    .kl-timer-line {
        font-size: 9.5px !important;
        white-space: normal !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 3px !important;
        gap: 1px !important;
    }
    .kl-timer-label {
        font-size: 9.5px !important;
        display: block !important;
        text-align: center !important;
    }
    .kl-timer-clock {
        font-size: 9.5px !important;
        letter-spacing: 0 !important;
        white-space: normal !important;
        display: block !important;
        text-align: center !important;
        word-break: break-word !important;
        line-height: 1.15 !important;
    }

    /* Sekcja cenowa */
    #box_productfull .basket .price em {
        font-size: 26px !important;
    }
    .kl-price-regular-row,
    .kl-price-omnibus-row {
        font-size: 12.5px !important;
        flex-wrap: wrap !important;
    }

    /* Kontroler ilości i przycisk zakupu */
    #box_productfull .basket .addtobasket-wrap,
    #box_productfull .basket form,
    #box_productfull .button_wrap {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
        margin-top: 8px !important;
        width: 100% !important;
    }
    #box_productfull .quantity_wrap,
    #box_productfull .quantity-stepper {
        width: 100% !important;
        height: 48px !important;
        justify-content: space-between !important;
        border-radius: 12px !important;
    }
    #box_productfull input.short,
    #box_productfull .quantity_wrap input {
        width: 70px !important;
        text-align: center !important;
        font-size: 18px !important;
        font-weight: 800 !important;
    }
    #box_productfull .quantity-stepper button,
    #box_productfull .quantity_wrap .btn {
        width: 48px !important;
        height: 100% !important;
        font-size: 20px !important;
    }
    #box_productfull button.addtobasket,
    #box_productfull .addtobasket {
        width: 100% !important;
        height: 52px !important;
        font-size: 16px !important;
        font-weight: 800 !important;
        border-radius: 14px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 6px 20px rgba(0, 82, 255, 0.3) !important;
    }

    /* Przyciski dodatkowe pod koszykiem */
    #box_productfull .additional-buttons,
    .f-row.product-buttons-row {
        display: flex !important;
        flex-direction: row !important;
        gap: 8px !important;
        width: 100% !important;
        margin-top: 12px !important;
    }
    #box_productfull .additional-buttons a,
    #box_productfull .additional-buttons button {
        flex: 1 1 50% !important;
        min-height: 42px !important;
        font-size: 12px !important;
        padding: 8px 10px !important;
        text-align: center !important;
        justify-content: center !important;
        border-radius: 10px !important;
    }

    /* Slider powiązanych akcesoriów - likwidacja nakładania się tytułu na przycisk */
    .kl-accessories-header {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 8px !important;
        position: static !important;
        margin-bottom: 16px !important;
    }
    .kl-accessories-title {
        font-size: 20px !important;
        text-align: center !important;
    }
    .kl-accessories-viewall {
        position: static !important;
        transform: none !important;
        margin: 4px auto 0 auto !important;
        display: inline-block !important;
        font-size: 12px !important;
        padding: 6px 14px !important;
    }
    .kl-acc-track {
        padding: 8px 36px !important;
        gap: 12px !important;
    }
    .kl-acc-item {
        flex: 0 0 160px !important;
        min-width: 150px !important;
        max-width: 170px !important;
        padding: 12px 8px !important;
    }
    .kl-acc-nav {
        width: 34px !important;
        height: 34px !important;
        font-size: 18px !important;
    }

    /* Zakładki produktu (Opis, Dostawa, Opinie) */
    #box_description,
    #box_productdata,
    #box_productcomments {
        padding: 18px 12px !important;
        border-radius: 16px !important;
    }
    #box_productdata table {
        display: block !important;
        overflow-x: auto !important;
        width: 100% !important;
    }
}

