/**
* 2007-2021 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2021 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/

/*
#attachments .row {
    color: #000;
}
*/

/* 
    lista produktów 
*/

ul.product_list.grid #additional-info {
    display: none;
}

#products.catelog #additional-info {
    margin-top: 15px;
}

#products.catelog #additional-info .info-row {
    border-bottom: 0px;
    font-size: 14px;
    color: #000;
    padding-bottom: 0px;
}

#products.catelog #additional-info .info-row-atribute {
    padding-left: 0px !important;
}
#products.catelog .product-info-wrapper {
    display: flex;
    flex-wrap: wrap;
}
#products.catelog .product-info {
    flex: 0 0 75%;
    max-width: 75%;
}
#products.catelog .product-info-actions {
    flex: 0 0 25%;
    max-width: 25%;
}
#products.catelog .product-info .product-title a {
    font-size: 20px;
}
#products.catelog .product-info-price .price {
    font-size: 20px;
}
#products.catelog .product-info-buttons {
    margin-top: 20px;
}
#products.catelog .product-actions-wrapper {
    display: flex;
    flex-wrap: wrap;
}
#products.catelog .product-actions-wrapper .qty {
    width: 50px;
}

#products.catelog .product-actions-wrapper .add {
    height: 40px;
    flex: auto;
}

#products.catelog .product-info-price #send_aap_button {
    font-size: 20px;
}

ul.product_list .product-info-price #send_aap_button {
    color: #e34330;
}

ul.product_list .product-info-price #send_aap_button:hover {
    color: #000;
}


@media (min-width:1700px) {
    #products.catelog .product-actions-wrapper .btn {
        height: 40px;
        width: 100%;
        padding: 0;
        border-radius: 0 5px 5px 0;
        -webkit-border-radius: 0 5px 5px 0;
        -khtml-border-radius: 0 5px 5px 0;
        -moz-border-radius: 0 5px 5px 0;
    }

}
@media (max-width:1699px) {
    #products.catelog .product-actions-wrapper .btn {
        height: 40px;
        width: 50px;
        padding: 0;
        border-radius: 0 5px 5px 0;
        -webkit-border-radius: 0 5px 5px 0;
        -khtml-border-radius: 0 5px 5px 0;
        -moz-border-radius: 0 5px 5px 0;
    }
    #products.catelog .product-actions-wrapper .add-to-cart-btn-label {
        display: none;
    }
}
#products.catelog .product-info-manufacturer {
    margin-top: 20px;
}
#products.catelog .product-info-manufacturer img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 70%;
}
/* ukrycie szybkich przycisków */
#products.catelog .thumbnail-container .product-actions {
    display: none;
}

ul.product_list.grid {
    display: flex;
    flex-wrap: wrap;
}

ul.product_list.grid .product-info-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

ul.product_list.grid .product-info-price {
    width: 70%;
    text-align: left;
    padding-left: 10px;
}

ul.product_list.grid .product-availability-group {
    width: 30%;
    text-align: right;
}

ul.product_list.grid .product-availability-description {
    display: none;
}

ul.product_list.grid #product-availability {
    height: 37px;
}


ul.product_list.grid .product-miniature {
    height: 100%;
}

ul.product_list.grid .product-info-manufacturer {
    display: none;
}
ul.product_list.grid .product-actions-wrapper {
    display: none;
}
ul.product_list.grid .product-without-taxes,
ul.product_list.grid .regular-price,
ul.product_list.grid .discount-percentage {
    font-size: 12px;
}
ul.product_list.grid .price {
    font-size: 13px;
}
ul.product_list.grid .regular-price {
    margin-bottom: 0;
    margin-left: 0;
    color: #999999;
    font-weight: 500;
}


ul.product_list.grid .thumbnail-container .product-actions {
    position: absolute;
    z-index: 1;
}
/* usunięcie głupiego przycisku */
ul.product_list.grid li:first-child .input-group {
    display: none;
}

/* napis promocja */
#aldomprodukty-promocja {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;    
}
.aldomprodukty-promocja {
    display: table;
    letter-spacing: normal;
    line-height: normal;
    color: #e34330;
    font-size: 11px;
    
    margin-left: 5px;
    margin-top: 5px;
    padding: 0px 5px;

    border: #e34330 2px solid;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    -moz-border-radius: 5px;
}

#product .product-info-header {
    display: flex;
    margin-bottom: 15px;
}

#product .product-manufacturer {
    margin-bottom: 0;
    width: 50%;
}

/* usunięcie diva z przyciskami z miniaturek produktów w przypadku jeśli lista jest w produktach współpracujących */
#product .pstaccessories-grid .product-info-buttons {
    display: none;
}

#product .product-info-buttons {
    width: 50%;
}

#product .productpage_title {
    font-size: 20px;
}


#product .product-price .current-price {
    margin-bottom: 0;
}
#product .product-price .current-price span {
    text-transform: none;
}
#product .product-price {
    margin-bottom: 0;
}

/* ukrycie napisu brutto */
#product .product-price .current-price .tax-shipping-delivery-label,
#category .product-price .current-price .tax-shipping-delivery-label {

    display: none;
}

#category .product-actions {
    margin-top: 20px;
}

#product .product-actions .control-label {
    width: 80px;
}
#category .product-actions .control-label {
    width: 60px;
}

#category .product-discount .regular-price,
#category .product-discount .discount-percentage {
    vertical-align: baseline;
}

#category .product-prices-container > div:first-child {
    height: 40%;
}
#category .product-prices-container > div {
    height: 20%;
}



#product .product-actions .product-quantity,
#category .product-actions .product-quantity {
    display: flex;
}
#product .product-actions .product-quantity .qty,
#category .product-actions .product-quantity .qty {
    margin: 0;
}
#category .product-actions .product-quantity .add {
    margin: 0;
    width: 60%;
}
#product .product-actions .product-quantity .add .btn,
#category .product-actions .product-quantity .add .btn {
    height: 40px;
    width: 100%;
    padding: 0;
}

#category #aldom-category-content #subcategories>ul {
    display: flex;
    flex-wrap: wrap;
}


/* Ukrycie informacji o produkcie poniżej tab ze specyfikacją i plikami*/
#product #aldom-product-content #product-details {
    display: none;
}

/*
.product-availability #product-availability {
    margin: 0 10px 0;
}
*/

#product-availability .product-availability-max {
    background-image: url('/modules/aldomprodukty/views/img/availability-max.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom;
    margin-right: 0;
    width: 37px;
    height: 100%;
}
#product-availability .product-availability-avg {
    background-image: url('/modules/aldomprodukty/views/img/availability-avg.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom;
    margin-right: 0;
    width: 37px;
    height: 100%;
}
#product-availability .product-availability-min {
    background-image: url('/modules/aldomprodukty/views/img/availability-min.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom;
    margin-right: 0;
    width: 37px;
    height: 100%;
}
#product-availability .product-availability-last {
    background-image: url('/modules/aldomprodukty/views/img/availability-last.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom;
    margin-right: 0;
    width: 37px;
    height: 100%;
}
#product-availability .product-availability-out {
    background-image: url('/modules/aldomprodukty/views/img/availability-out.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom;
    margin-right: 0;
    width: 37px;
    height: 100%;
}

/* .product-prices {
    display: flex;
    flex-wrap: nowrap;
    border-bottom: 1px solid rgba(0,0,0,.1);
} */


.product-prices .product-prices-container {
    display: flex;
    flex-direction: column;
    width: 40%;
}

.product-prices .product-without-taxes,
.product-prices .regular-price,
.product-prices .discount-percentage,
.product-prices .product-last-price,
.product-price-and-shipping .product-without-taxes,
.product-price-and-shipping .regular-price,
.product-price-and-shipping .product-last-price,
.cart-item .product-price .regular-price,
.cart-item .product-price .discount-percentage {
    font-size: 12px;
    margin-bottom: 0;
    margin-left: 0;
    color: #999999;
    font-weight: 500;
    line-height: 1.3;
}
.product-prices .discount-percentage,
.cart-item .product-price .discount-percentage {
    color: #e34330;
}
.cart-item .product-price .discount-percentage {
    background-color: unset !important;
    padding: unset !important;
    vertical-align: unset !important;
}

.product-prices .product-discount {
    margin-bottom: 0;
    vertical-align: baseline;
    line-height: 1.3;
}

.product-price-and-shipping .regular-price-with-discount {
    display: flex;
}

.product-prices .product-availability {
    width: 60%;
    display: flex;
    margin-right: 0;
}
.product-prices .product-availability-description {
    margin-left: auto;
    margin-top: auto;
    margin-bottom: 0;
    font-size: 14px;
}
.product-prices #product-availability {
    margin-bottom: 5px;
}

.product-price-and-shipping .product-last-price,
.product-prices .product-last-price {
    padding-top: 5px;
}

.product-price #local_send_aap_button {
    color: #e34330;
}
.product-price #local_send_aap_button:hover {
    color: #000;
}


ul.list .product-prices .product-availability {
    width: 100%;
}
ul.list .product-prices #product-availability {
    margin: 0;
    width: 15%;
}
ul.list .product-prices .product-availability-description {
    margin-left: auto;
    margin-top: auto;
    margin-bottom: 0;
}
ul.list .product-availability-group {
    border-bottom: 1px solid rgba(0,0,0,.1);
}
ul.list .product-availability-group .product-availability {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    margin-bottom: 5px;
}
ul.list .product-availability-group .product-availability-description {
    margin-left: auto;
    margin-top: auto;
    margin-bottom: 0;
    padding-top: 25px;
    font-size: 12px;
}
ul.list .product-availability-group #product-availability {
    margin-bottom: 5px;
}
.product-info-price .discount-percentage {
    font-size: 12px !important;
    line-height: 1.3;
}



/*
ul.grid .product-availability-group {
    display: none;
}
*/



/* to chyba będzie do usunięcia */
#products.catelog .product-name-and-price-wrapper {
    display: flex;
    flex-wrap: wrap;
}
#products.catelog .product-name-and-price {
    flex: 0 0 50%;
    max-width: 50%;
}
#products.catelog .product-manufacturer {
    flex: 0 0 20%;
    max-width: 20%;
    margin-bottom: 0;
}
#products.catelog .product-buttons {
    flex: 0 0 30%;
    max-width: 30%;
}
/* koniec do usunięcia */


/* usunięcie głupiego przycisku */
#products.catelog li:first-child .input-group-btn {
    display: none;
}




#products.catelog .product-actions-wrapper #quantity_wanted {
    background-color: #ffffff;
    color: #292929;
    height: 40px;
    padding: 10px;
    width: 50px;
}


#product-specifications .row,
#attachments .row,
#additional-info .row {
    margin-left: 0px;
    margin-right: 0px;
}

#product-specifications .specification-header,
#product-accessories .accessories-header,
#attachments .attachments-header,
#additional-info .info-header,
#product-aap .aap-header,
#aldom-product-content .products-section-title {
    display: block;
    border-bottom: 2px solid #e34330;
    color: #000;
    font-size: 18px;
    font-weight: 500;
    margin: 15px 0 10px;
    text-transform: capitalize;
}

#product-specifications .specification-row,
#attachments .attachments-row {
    border-bottom: 1px solid #eee;
    font-size: 14px;
    color: #000;
    padding-top: 3px;
    padding-bottom: 3px;
}
#additional-info .info-row {
    border-bottom: 1px solid #eee;
    font-size: 14px;
    color: #000;
    padding-top: 4px;
    padding-bottom: 4px;
    line-height: 1.3;
}


#product-accessories .accessories-header {
    margin-bottom: 30px;
}

#product-accessories .pstaccessories-grid .product_item {
    margin-bottom: 15px;
}

#product-accessories .pstaccessories-grid .regular-price {
    vertical-align: baseline;
}






#attachments .attachments-row-atribute {
    float: left;
/*    margin-left: 20px; */
}

#attachments .attachments-row-value {
    float: left;
/*    margin-left: 20px; */
}

/* korekta wyglądu paska nad filtrami na stronie produktów dla urządzeń mobilnych */
@media (max-width: 991px) {
    .products-selection .display {
        display: none;
    }
}
@media (min-width: 992px) {
    .products-selection .display {
        display: block;
    }
}




@media (max-width: 543px) {

}
@media (min-width: 544px) and (max-width: 767px) {

}
@media (min-width: 768px) and (max-width: 1299px) {
    #products .products-selection .total-products {
        float: left;
        position: relative;
        min-height: 1px;
        padding-right: 15px;
        padding-left: 15px;
        margin: 0 0;
        width: 50%;
    }
    #products .products-selection .sort-select {
        float: left;
        position: relative;
        min-height: 1px;
        padding-right: 15px;
        padding-left: 15px;
        width: 50%;
    }

}
@media (min-width: 1300px) and (max-width: 1699px) {
    #products .products-selection .total-products {
        float: left;
        position: relative;
        min-height: 1px;
        padding-right: 15px;
        padding-left: 15px;
        margin: 0 0;
        width: 67%;
    }
    #products .products-selection .sort-select {
        float: left;
        position: relative;
        min-height: 1px;
        padding-right: 15px;
        padding-left: 15px;
        width: 33%;
    }

}
@media (min-width: 1700px) {
    #products .products-selection .total-products {
        float: left;
        position: relative;
        min-height: 1px;
        padding-right: 15px;
        padding-left: 15px;
        margin: 0 0;
        width: 75%;
    }
    #products .products-selection .sort-select {
        float: left;
        position: relative;
        min-height: 1px;
        padding-right: 15px;
        padding-left: 15px;
        width: 25%;
    }

}




/* korekta wyglądu zawartości zakładek na karcie produktu dla urządzeń mobilnych */
@media (max-width: 543px) {

    #product .info-row .info-row-atribute {
        float: left;
        position: relative;
        min-height: 1px;
        padding-left: 0;
        padding-right: 15px;
        width: 100%;
    }
    #product .info-row .info-row-value {
        float: left;
        position: relative;
        min-height: 1px;
        padding-left: 15px;
        padding-right: 0;
        width: 100%;
    }
    .product-tabcontent ul.nav-tabs {
        display: flex;
        justify-content: center;
        flex-direction: row-reverse;
        flex-wrap: wrap;
    }    
    #product-tabcontent .tabs .tab-pane {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }
    #product-tabcontent .container {
        margin-left: 0px !important;
        margin-right: 0px !important;
    }
    #product-specifications .specification-row-atribute {
        float: left;
        padding-left: 0px;
        position: relative;
        min-height: 1px;
        padding-right: 15px;
        width: 100%;
    }
    #product-specifications .specification-row-value {
        float: left;
        position: relative;
        min-height: 1px;
        padding-left: 15px;
        padding-right: 0px;
        width: 100%;        
    }

}
@media (min-width: 544px) and (max-width: 991px) {

    #product .info-row .info-row-atribute {
        float: left;
        padding-left: 0;
        position: relative;
        min-height: 1px;
        padding-right: 15px;
        width: 33.33333%;
    }
    #product .info-row .info-row-value {
        float: left;
        position: relative;
        min-height: 1px;
        padding-right: 0;
        width: 66.66667%;
    }
    .product-tabcontent ul.nav-tabs {
        display: flex;
        justify-content: center;
        flex-direction: row-reverse;
    }
    #product-tabcontent .tabs .tab-pane {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }
    #product-tabcontent .container {
        margin-left: 0px !important;
        margin-right: 0px !important;
    }
    #product-specifications .specification-row-atribute {
        float: left;
        padding-left: 0px;
        position: relative;
        min-height: 1px;
        padding-right: 15px;
        width: 25%;
    }
    #product-specifications .specification-row-value {
        float: left;
        position: relative;
        min-height: 1px;
        padding-left: 15px;
        padding-right: 0px;
        width: 75%;        
    }
}
@media (min-width: 992px) {

    #product .info-row .info-row-atribute {
        float: left;
        padding-left: 0;
        position: relative;
        min-height: 1px;
        padding-right: 15px;
        width: 33.33333%;
    }
    #product .info-row .info-row-value {
        float: left;
        position: relative;
        min-height: 1px;
        padding-right: 0;
        width: 66.66667%;
    }
    .product-tabcontent ul.nav-tabs {
        display: flex;
        justify-content: center;
        flex-direction: row-reverse;
    }    
    #product .product-actions .product-quantity .add {
        margin: 0;
        width: 60%;
    }
    #product-specifications .specification-row-atribute {
        float: left;
        position: relative;
        min-height: 1px;
        padding-right: 15px;
        padding-left: 15px;
        width: 25%;
    }
    #product-specifications .specification-row-value {
        float: left;
        position: relative;
        min-height: 1px;
        padding-left: 15px;
        padding-right: 15px;
        width: 75%;        
    }
}






/* Przesunięcie przycisku specyfikacja na początek */


.product-tabcontent ul.nav-tabs li.nav-item {
    width: 160px;
}

/* ustawienia główne strony produktu */
#aldom-product-content {
    padding-left: 0;
    padding-right: 0;
}
.aldom-product-content-wrapper {
    padding-left: 0;
    padding-right: 0;
}

.aldom-product-content-wrapper .product-thumbnails-column {
    padding-left: 0;
}
.aldom-product-content-wrapper .images-container .product-images > li.thumb-container {
    margin-bottom: 5px;
}
.aldom-product-content-wrapper .images-container .product-images > li.thumb-container > .thumb {
    margin-right: 0;
    margin-bottom: 0;
    width: 100%;
}

/* strona produktu - wyrównanie lewej strony */
.layout-left-column #content-wrapper {
    padding-left: 0px !important;
}    


/* W przypadku jeśli klient ma rabat - ukrycie normalnej ceny i informacji o obniżce */
/*
.aldom-product-content-wrapper .product-discount {
    display: none !important;
}
.aldom-product-content-wrapper .discount {
    display: none !important;
}
*/


/* Polityka prywatności w koszyku pod podsumowaniem (prawa strona) */
.blockreassurance_product {
    display: flex;
    flex-direction: column;    
    margin-top: 25px;
    border: 1px solid #f5f5f5;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    -moz-border-radius: 5px;
}
.blockreassurance_product .header-title {
    margin-top: 5px;
    margin-left: 10px;
}
.blockreassurance_product a.block-title {
    margin-left: 30px;
}
.blockreassurance_product a.block-title:hover {
    color: #e34330;
}

/* Koszyk */
.cart-item .product-price .price {
    font-size: 1rem;
}
.cart-item .product-price {
    margin-top: 5px;
}
.cart-item .aldom-product-state-info {
    color: #e34330;
}


@media (min-width: 992px) {
    #product .product-actions .product-quantity .add {
        margin: 0;
        width: 60%;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    #product .product-actions .product-quantity .add {
        margin: 0;
        width: 60%;
    }
}

@media (max-width: 767px) {
    #product .product-actions .product-quantity button.add-to-cart i {
        margin-right: 0px;
    }
    #product .product-actions .product-quantity .btn-add-to-cart-caption {
        display: none;
    }

    #product .product-actions .product-quantity .add {
        margin: 0;
        width: 20%;
    }

    .tabs .nav-tabs a.nav-link {
        padding: 8px 16px !important;
        width: 95% !important;
    }


}



