@media(max-width: 991px) {
    .abs-cart-preview-panel .abs-cart-preview-summary {
        bottom: 80px !important;
    }
}

.abs-product-attr span {
    white-space: normal;
}

.abs-news-panel .abs-news-items .abs-news-item>.panel-body .news-img {
    order: 0;
}

.to-top {
    text-align: center;
}

#scroll-to-top {
    display: none;
    position: fixed;
    bottom: 100px;
    right: 20px;
    opacity: 0.8;
}

#scroll-to-top:hover {
    opacity: 1;
}

p {
    font-size: 15px;
}

html,
body {
    scroll-behavior: smooth;
}


.abs-col-content .abs-panel-main .panel-heading a:not(.btn),
.abs-col-content .abs-panel-main .abs-grid-summary-row>.total-summary a:not(.btn) {
    color: #900c3f;
}



ul.abs-list+ul.abs-list .file-download-tile {
    display: -webkit-box;
    flex: 0 1 auto;
    height: auto;
    width: auto;
    border: none;
    margin: 0;
    text-align: center;
    padding: 0;
    position: relative;
}

div.abs-news-item .abs-news-leadin .news-img img,
div.abs-news-item .abs-news-leadin .news-intro-img img,
div.abs-news-item .abs-news-leadin .news-img-bg img {

    max-width: 100%;
    height: auto !important;
}

.user-zip-code-info {
    font-size: large;
}

.delivery-country-block em {
    font-size: large;
}


.abs-offer-gallery .abs-labels {
    position: absolute;
    display: -webkit-box;
    flex-direction: row;
    margin: 2px;
    z-index: 2;
}


.abs-offer-gallery.abs-offer-gallery-box .abs-layout-product-gallery {
    flex-grow: 1;
}




/* Etykiety na stronie g?ównej wy??czony w widoku mobilnym */
@media only screen and (max-width : 640px) {
    .abs-offer-gallery .abs-labels {
        display: none;
    }
}





@media screen and (max-width: 639px) {

    .abs-header-content-row .abs-header-content-logo .navbar-brand img {
        width: 100%;
        margin: 0
    }
}



@media screen and (max-width: 639px) {
    header.abs-header .abs-header-mobile-menu .navbar-header>ul {
        flex-grow: inherit;
    }
}


/* Widok kategorii */

.abs-categories-intro.a {
    max-height: 230px
}


/* Ukrycie kosztow dostawy wycenianej indywidualnie */

.delivery-selected-1014+#order-summary-sticky-content #payment-delivery-total-price {
    display: none;
}

.delivery-selected-1014+#order-summary-sticky-content #delivery-payment-info .abs-value::before {
    content: 'Uwaga! Koszt dostawy b?dzie wyznaczony indywidualnie po z?o?eniu zamówienia!';
    color: red;
    display: block;
    width: 160px;
    white-space: normal;
    font-size: smaller;
    padding: 5px;
    border: 1px solid #f00;
    text-align: center;
    border-radius: 5px;
}


.abs-item-price-box .abs-item-price-breakdown {
    font-size: 1.0em;
    font-weight: normal;
    color: #900c3f;
}

.abs-item-price-box .abs-item-price-reference {
    font-size: 1.0em;
    font-weight: normal;
}

img {
    max-width: 100%;
    height: auto;
}

.offer-boxes-custom {
    display: flex;
    flex-wrap: wrap;
}

.col-custom {
    max-width: 50%;
    padding: 0px 20px;
}

.offer-boxes-custom h3,
.offer-boxes-custom a {
    background: #900c3e;
    color: #fff;
    padding: 10px 4px 10px 10px;
}

.offer-boxes-custom p {
    border: 1px solid #999;
    padding: 25px;
    margin-top: -15px;
}

p.custom-home-p {
    padding: 0 20px;
}

.col-custom.height2 p {
    min-height: 244px;
}

.col-custom.heigh1 p {
    min-height: 223px;
}

@media only screen and (max-width: 768px) {
    p.custom-home-p {
        padding: 0;
    }

    .col-custom {
        max-width: 100%;
        padding: 0px 0px;
    }

    .offer-boxes-custom h3 a {
        color: #fff;
        padding: 0;
    }

}


h1,
h2,
h3,
h4,
h6 {
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 0;
    line-height: 1.42857
}


.abs-catalog-index,
.abs-contractor-index,
.abs-product-name-attr,
.abs-product-attr {
    color: #98a2b5;
    font-size: 15px;
}

.product-header .product-subname {
    font-size: 15px;
    margin-bottom: 0;
    line-height: 1.5em;
    overflow-wrap: break-word;
    opacity: 0.8;
}


#tabCommonDescription>section>div.panel-body>div {
    a {
        font-weight: bold
    }
}

.panel.abs-panel.abs-news-item .abs-news-content a {
    font-weight: bold;
}

.abs-description.abs-simple-panel a {
    font-weight: bold;
}

.multiselect-container.dropdown-menu label[title="Data (od najnowszych)"],
.multiselect-container.dropdown-menu label[title="Data (od najstarszych)"] {
    display: none;
}

/* usuni?cie daty z sortowania */

.abs-attributes-values-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.abs-attributes-values-list li {
    border: 1px solid #900c3f;
    padding: 12px;
    border-radius: 8px;
    background: #fff;
    transition: all 0.2s ease;
}

.abs-attributes-values-list li:hover {
    border-color: #000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ramki przy producentach  */

span.abs-product-hidden-price {
    color: #900c3f;
}

.carousel-control.left,
.carousel-control.right {
    background-image: none !important;
}

[data-panel-id="slideshow-6"] .slick-slider .slick-slide .item a {
    display: block;
    width: 100%;
}

[data-panel-id="slideshow-7"] .slick-dotted.slick-slider,
[data-panel-id="slideshow-6"] .slick-dotted.slick-slider {
    margin-bottom: 0;
}

[data-panel-id="slideshow-7"] .slick-dots,
[data-panel-id="slideshow-6"] .slick-dots {
    display: none !important;
    bottom: 0;
}

[data-panel-id="slideshow-7"] .carousel-fx-wrapper .slick-track {
    margin: 0;
}


.abs-catalog-index,
.abs-contractor-index,
.abs-product-name-attr,
.abs-product-attr,
.abs-order-pos-attr {
    font-size: 15px;
}

/* co? tu */


#storeList #storesContent table.abs-attribute-table {
    border-collapse: separate !important;
    border-spacing: 0 2px !important;
}

#storeList #storesContent table.abs-attribute-table>tbody>tr>td {
    border-top: 1px solid #d6d6d6 !important;
    border-bottom: 1px solid #d6d6d6 !important;
    padding-top: 7px !important;
    padding-bottom: 7px !important;
}

#storeList #storesContent table.abs-attribute-table>tbody>tr>td:first-child {
    border-left: 1px solid #d6d6d6 !important;
    border-radius: 3px 0 0 3px !important;
}

#storeList #storesContent table.abs-attribute-table>tbody>tr>td:last-child {
    border-right: 1px solid #d6d6d6 !important;
    border-radius: 0 3px 3px 0 !important;
}

/* wyró?nienie sumy magazynów */
#storeList #storesContent table.abs-attribute-table>tbody>tr:first-child>td {
    border-color: #900c3f !important;
    background: #f8f1f4 !important;
    font-weight: 600 !important;
}

/* tabelka dostepno?ci */


/* MOBILE ? magazyn i dost?pno?? obok siebie */
@media (max-width: 767px) {

    #storeList #storesContent table.abs-attribute-table {
        width: 100% !important;
        max-width: 100% !important;
        border-collapse: separate !important;
        border-spacing: 0 2px !important;
        table-layout: fixed !important;
    }

    #storeList #storesContent table.abs-attribute-table>tbody>tr {
        display: table-row !important;
    }

    #storeList #storesContent table.abs-attribute-table>tbody>tr>td {
        display: table-cell !important;
        vertical-align: middle !important;
        padding: 8px 6px !important;
        border-top: 1px solid #d6d6d6 !important;
        border-bottom: 1px solid #d6d6d6 !important;
        font-size: 13px !important;
        line-height: 1.25 !important;
    }

    /* nazwa magazynu */
    #storeList #storesContent table.abs-attribute-table>tbody>tr>td:first-child {
        width: 47% !important;
        border-left: 1px solid #d6d6d6 !important;
        border-radius: 3px 0 0 3px !important;
        text-align: left !important;
    }

    /* dost?pno?? */
    #storeList #storesContent table.abs-attribute-table>tbody>tr>td:last-child {
        width: 53% !important;
        border-right: 1px solid #d6d6d6 !important;
        border-radius: 0 3px 3px 0 !important;
        text-align: left !important;
    }

    /* ?eby element dost?pno?ci nie rozpycha? komórki */
    #storeList .abs-split-layout-simple {
        display: block !important;
        width: auto !important;
    }

    #storeList .stock-info,
    #storeList .stock-presentation {
        white-space: normal !important;
    }

    /* wyró?nienie SUMY */
    #storeList #storesContent table.abs-attribute-table>tbody>tr:first-child>td {
        background: #f8f1f4 !important;
        border-color: #900c3f !important;
        font-weight: 600 !important;
    }
}


.abs-description img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block;
}


/* Tabele wy??cznie w tre?ciach i opisach */
:is(.abs-article-page-content,
    .abs-news-content,
    .abs-news-leadin,
    #tabCommonDescription .preserveFormatting,
    .abs-description.preserveFormatting) table {
    width: 100%;
    table-layout: auto !important;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

/* Komórki */
:is(.abs-article-page-content,
    .abs-news-content,
    .abs-news-leadin,
    #tabCommonDescription .preserveFormatting,
    .abs-description.preserveFormatting) table> :is(thead, tbody, tfoot)>tr> :is(th, td) {
    padding: 12px 16px;
    border: 1px solid #ddd;
    text-align: left;
    vertical-align: top;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

/* Nag?ówki */
:is(.abs-article-page-content,
    .abs-news-content,
    .abs-news-leadin,
    #tabCommonDescription .preserveFormatting,
    .abs-description.preserveFormatting) table> :is(thead, tbody, tfoot)>tr>th {
    background-color: #f0f0f0;
    font-weight: 700;
}

/* Naprzemienne t?o wierszy */
:is(.abs-article-page-content,
    .abs-news-content,
    .abs-news-leadin,
    #tabCommonDescription .preserveFormatting,
    .abs-description.preserveFormatting) table>tbody>tr:nth-child(even)>td {
    background-color: #fafafa;
}

/* Akapity w komórkach */
:is(.abs-article-page-content,
    .abs-news-content,
    .abs-news-leadin,
    #tabCommonDescription .preserveFormatting,
    .abs-description.preserveFormatting) table> :is(thead, tbody, tfoot)>tr> :is(th, td)>p {
    margin: 0;
}

:is(.abs-article-page-content,
    .abs-news-content,
    .abs-news-leadin,
    #tabCommonDescription .preserveFormatting,
    .abs-description.preserveFormatting) table> :is(thead, tbody, tfoot)>tr> :is(th, td)>p+p {
    margin-top: 8px;
}

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

    :is(.abs-article-page-content,
        .abs-news-content,
        .abs-news-leadin,
        #tabCommonDescription .preserveFormatting,
        .abs-description.preserveFormatting) table {
        font-size: 13px;
    }

    :is(.abs-article-page-content,
        .abs-news-content,
        .abs-news-leadin,
        #tabCommonDescription .preserveFormatting,
        .abs-description.preserveFormatting) table> :is(thead, tbody, tfoot)>tr> :is(th, td) {
        padding: 9px 10px;
    }
}


.faq {
    max-width: 800px;
    margin: 24px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.faq h2 {
    text-align: center;
    margin: 0 0 20px;
}

.faq #faqSearch {
    width: 100%;
    padding: 10px;
    font-size: 1em;
    margin: 0 0 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.faq details {
    margin-bottom: 10px;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #f9f9f9;
}

.faq summary {
    position: relative;
    padding-left: 25px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::before {
    content: "+";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.2em;
    line-height: 1.2;
}

.faq details[open]>summary::before {
    content: "?";
}

.faq p {
    margin: 8px 0 0;
}

.faq .highlight {
    background: yellow;
    font-weight: 700;
}

/* Stopka ? uk?ad kolumn */
.lubar-footer-info {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 24px 32px !important;
    width: 100% !important;
    padding: 24px 0 !important;
    margin: 0 !important;
    box-sizing: border-box;
}

.lubar-footer-info > .lubar-footer-info__column {
    display: block !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
}

/* Ka?dy link w osobnym wierszu */
.lubar-footer-info .lubar-footer-info__column > a {
    display: block !important;
    width: fit-content;
    max-width: 100%;
    margin: 0 0 14px !important;
    padding: 0 !important;
    color: inherit;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
    white-space: normal !important;
    overflow-wrap: break-word;
}

.lubar-footer-info .lubar-footer-info__column > a:last-child {
    margin-bottom: 0 !important;
}

.lubar-footer-info a:hover {
    text-decoration: underline;
}

/* P?atno?ci i logo */
.lubar-footer-info .lubar-footer-info__column > a.lubar-footer-info__payment {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.lubar-footer-info .lubar-footer-info__payment img {
    display: block !important;
    width: 100px !important;
    height: auto !important;
    max-width: 100%;
    margin: 0 !important;
}

/* Tablet */
@media (max-width: 1000px) {
    .lubar-footer-info {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* Telefon */
@media (max-width: 540px) {
    .lubar-footer-info {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        padding: 20px 0 !important;
    }
}

/* Producenci ? siatka 3 kolumn */
.abs-attributes-values-page ul[data-attr-eid="PRODUCER"] {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto !important;
    padding: 30px 0 !important;
    list-style: none;
    box-sizing: border-box;
}

.abs-attributes-values-page ul[data-attr-eid="PRODUCER"] > li {
    display: block !important;
    float: none !important;
    width: auto !important;
    min-width: 0;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

.abs-attributes-values-page ul[data-attr-eid="PRODUCER"] > li > a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    height: 160px !important;
    margin: 0 !important;
    padding: 20px !important;
    box-sizing: border-box;
    border: 1px solid #900c3f;
    border-radius: 8px;
    background: #fff;
    text-align: center;
    text-decoration: none;
    transition: border-color .2s ease,
                box-shadow .2s ease,
                transform .2s ease;
}

.abs-attributes-values-page ul[data-attr-eid="PRODUCER"] > li > a:hover {
    border-color: #cfcfcf;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .08);
    transform: translateY(-2px);
}

.abs-attributes-values-page ul[data-attr-eid="PRODUCER"] > li > a img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 240px !important;
    max-height: 110px !important;
    margin: 0 !important;
    object-fit: contain;
}

@media (max-width: 900px) {
    .abs-attributes-values-page ul[data-attr-eid="PRODUCER"] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 500px) {
    .abs-attributes-values-page ul[data-attr-eid="PRODUCER"] {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}
/* Logo producenta w cechach produktu */
.abs-attribute-table [data-attr-eid="PRODUCER"] a {
    display: inline-flex !important;
    align-items: center;
    max-width: 100%;
}

.abs-attribute-table [data-attr-eid="PRODUCER"] img.attribute-image {
    display: block !important;
    width: 140px !important;
    height: 70px !important;
    max-width: 100% !important;
    max-height: none !important;
    margin: 0 !important;
    object-fit: contain;
    object-position: left center;
}