.item-old-price {
    text-decoration: line-through;
    font-size: 0.9em;
}


.offerts-view.table-view .price-promo-badge {
    display: none;
}

.offers-page-main .modal {
    height: auto;
}


.offer-item-container .main-image {
    cursor: pointer;
}

.offer-gallery {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
    z-index: 1100;
    background: #fff;
}

.offer-gallery .close {
    position: absolute;
    top: -4px;
    right: 15px;
    cursor: pointer;
}

.offer-gallery-main {
  height: calc(100% - 80px);
}

.offer-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: scale-down;
}

.offer-gallery-thumbs {
    height: 80px;
}

.offer-gallery-thumbs-container {
  display: flex;
  justify-content: center;
  padding: 5px;
  height: 70px;
  margin: 0 auto;
}

.offer-gallery-item {
  margin-right: 2px;
  margin-left: 2px;
  cursor: pointer;
}

.offer-gallery-item img {
    max-height: 70px;
    max-width: 100px;
    cursor: pointer;
    
}

.product-card.promotion-card {
    .content {
        max-height: 80px;
        overflow: hidden;
    }
}

.price-wrapper {
    
    .offer-prices {
        .price {
            clear: both;
            width: 100%;
            display: flex;
            padding-top: 5px;
        }
        
        .price.net {
            font-size: 1.2rem;
            label {
                font-size: 0.75em;
                width: 50px;
                margin: 0;
                align-self: self-end;
            }
            .price-current {
                min-width: 120px;
                text-align: right;
                line-height: 1.2em;
                align-self: end;
            }
            .item-old-price {
                font-size: 0.75em;
                margin-left: 10px;
                align-self: end;
            }
        }
        .price.gross {
            font-size: 1rem;
            label {
                font-size: 0.75em;
                width: 50px;
                margin: 0;
                align-self: self-end;
            }
            .price-current {
                min-width: 120px;
                text-align: right;
                line-height: 1.2em;
                align-self: end;
            }
            .item-old-price {
                font-size: 0.75em;
                margin-left: 10px;
                align-self: end;
            }
        }
        
    } 
}

.product-card.logged {
    min-height: 510px;
}

@media screen and (max-width: 1200px) {
    .product-card.logged {
        min-height: 605px;
    }

    .product-card .price-wrapper {
        .offer-prices {
            .price.net {
                flex-wrap: wrap;
                overflow: hidden;
                justify-content: space-between;
                .price-current {
                    min-width: auto;
                }
                .item-old-price {
                    width: 100%;
                    text-align: right;
                }
            }
            .price.gross {
                flex-wrap: wrap;
                overflow: hidden;
                justify-content: space-between;
                .price-current {
                    min-width: auto;
                }
                .item-old-price {
                    width: 100%;
                    text-align: right;
                }
            }
        }
    }
}

@media screen and (max-width: 1000px) {
    .product-card.logged {
        min-height: 540px;
    }
}

@media screen and (max-width: 800px) {
    .product-card.logged {
        min-height: 480px;
    }
}

@media screen and (max-width: 700px) {
    .product-card.logged {
        min-height: 520px;
    }
}

@media screen and (max-width: 600px) {
    .product-card.logged {
        min-height: 500px;
    }
}

@media screen and (max-width: 500px) {
    .product-card.logged {
        min-height: 440px;
    }
}

//.promotion-section .price-wrapper {
//    top: 90px;
//}

.offerts-view.gallery-view {
    .offer-barcode {
        display: none;
    }
    
    .offer-prices {
        .price {
            clear: both;
            width: 100%;
            display: flex;
            padding-top: 5px;
        }
        
        .price.net {
            font-size: 1.2rem;
            label {
                font-size: 0.75em;
                width: 50px;
                margin: 0;
                align-self: self-end;
            }
            .price-current {
                min-width: 120px;
                text-align: right;
                line-height: 1.2em;
                align-self: end;
            }
            .item-old-price {
                font-size: 0.75em;
                margin-left: 10px;
                align-self: end;
            }
        }
        .price.gross {
            font-size: 1rem;
            label {
                font-size: 0.75em;
                width: 50px;
                margin: 0;
                align-self: self-end;
            }
            .price-current {
                min-width: 120px;
                text-align: right;
                line-height: 1.2em;
                align-self: end;
            }
            .item-old-price {
                font-size: 0.75em;
                margin-left: 10px;
                align-self: end;
            }
        }
        
    } 
}


.offerts-view.gallery-view {
    .offer-barcode {
        display: none;
    }
    
    .offer-prices {
        .price {
            clear: both;
            width: 100%;
            display: flex;
            padding-top: 5px;
        }
        
        .price.net {
            font-size: 1.2rem;
            label {
                font-size: 0.75em;
                width: 50px;
                margin: 0;
                align-self: self-end;
            }
            .price-current {
                min-width: 120px;
                text-align: right;
                line-height: 1.2em;
                align-self: end;
            }
            .item-old-price {
                font-size: 0.75em;
                margin-left: 10px;
                align-self: end;
            }
        }
        .price.gross {
            font-size: 1rem;
            label {
                font-size: 0.75em;
                width: 50px;
                margin: 0;
                align-self: self-end;
            }
            .price-current {
                min-width: 120px;
                text-align: right;
                line-height: 1.2em;
                align-self: end;
            }
            .item-old-price {
                font-size: 0.75em;
                margin-left: 10px;
                align-self: end;
            }
        }
        
    } 
}


.offerts-view.table-view {
    .offer-head { 
        align-self: start;
        width: 300px;
    }
    
    .offer-qty {
        padding: 0;
        align-self: start;
    }
    
    .progress {
        margin-left: 20px;
        width: 80px;
    }
    
    .progress-text  {
        font-size: 0.7em;
        padding-left: 20px;
    }

    .offer-actions {
        align-self: start;
        .product-item-detail {
            margin-top: 0;
        }
    }
    
    .offer-prices {
        align-self: start;
        width: 250px;
        padding-left: 10px;
        .price {
            clear: both;
            width: 100%;
            display: flex;
            padding-top: 5px;
        }
        
        .price.net {
            font-size: 1.2rem;
            label {
                font-size: 0.75em;
                width: 40px;
                margin: 0;
                align-self: self-end;
            }
            .price-current {
                min-width: 120px;
                text-align: right;
                line-height: 1.2em;
                align-self: end;
            }
            .item-old-price {
                font-size: 0.75em;
                margin-left: 10px;
                align-self: end;
            }
        }
        .price.gross {
            font-size: 1rem;
            label {
                font-size: 0.75em;
                width: 40px;
                margin: 0;
                align-self: self-end;
            }
            .price-current {
                min-width: 120px;
                text-align: right;
                line-height: 1.2em;
                align-self: end;
            }
            .item-old-price {
                font-size: 0.75em;
                margin-left: 10px;
                align-self: end;
            }
        }
        
    } 


}







.progress-text span {
  display: none;
}


.progress-text.empty::after {
  content: "Produkt niedostępny";
}

.progress-text.litte::after {
  content: "Produkt dostępny w małej ilości";
}

.progress-text.stock::after {
  content: "Produkt dostępny";
}

.progress-text.lot::after {
  content: "Produkt dostępny w dużej ilości";
}

.progress-text.full::after {
  content: "Produkt dostępny w dużej ilości";
}

.offer-barcode img {
    max-width: 70px;
}



.offerts-view.table-view .not-available .input-group,
.offerts-view.table-view .not-available .input-group-text,
.offerts-view.table-view .not-available .input-number {
    visibility: hidden;
}

.offerts-view.gallery-view .not-available {
    display: none;
}

@media (max-width: 992px) {
  .navbar-links {
    display: none !important;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background-color: white;
    padding: 10px;
    padding-bottom: 10px;
    padding-bottom: 0;
  }
}


@media (max-width: 992px) {
  .hamburger-menu {
    display: flex !important;
  }
}


.offer-item-container {
    .offer-qty.offer {
        flex-direction: column;
        
        .progress {
            width: 80%;
            max-width: 200px;
            align-self: flex-start;
        }
        
        .progress-text {
            width: 80%;
            max-width: 200px;
            align-self: flex-start;
        }
        
        .product-price {
            align-self: flex-start;
            .price {
                clear: both;
                width: 100%;
                display: flex;
                padding-top: 5px;
                font-size: 1rem;
            }
        
            .price.net {
                font-size: 1.1rem;
                flex-wrap: wrap;
                label {
                    font-size: 0.75em;
                    width: 40px;
                    margin: 0;
                    align-self: self-end;
                }
                .price-current {
                    font-size: 1.5em;
                    min-width: 120px;
                    text-align: right;
                    line-height: 1.2em;
                    align-self: end;
                }
                .item-old-price {
                    width: 100%;
                    font-size: 0.75em;
                    margin-left: 0px;
                    align-self: end;
                    text-decoration: none;
                    .price-ori-container {
                        margin-left: 3px;
                    }
                    .price-ori {
                        text-decoration: line-through;
                    }
                    .price-discount {
                        margin-left: 5px;
                        color: #880000;
                        font-weight: 700;
                    }
                }
            }
            .price.gross {
                font-size: 1rem;
                flex-wrap: wrap;
                label {
                    font-size: 0.75em;
                    width: 40px;
                    margin: 0;
                    align-self: self-end;
                }
                .price-current {
                    font-size: 1.5em;
                    min-width: 120px;
                    text-align: right;
                    line-height: 1.2em;
                    align-self: end;
                }
                .item-old-price {
                    width: 100%;
                    font-size: 0.75em;
                    margin-left: 0px;
                    align-self: end;
                    text-decoration: none;
                    .price-ori {
                        margin-left: 3px;
                        text-decoration: line-through;
                    }
                    .price-discount {
                        margin-left: 5px;
                        color: #880000;
                        font-weight: 700;
                    }
                }
            }
        }
    }
}

.image.main-image {
  height: 408px;
  width: 408px;    
  img {
    width: 100%;
    max-height: 100%;
  }
}

.offers-left-side {
  width: 30%;
}


.modal-content {
    
    .cart-photo {
        width: 25%;
        height: auto;
        min-width: 75px;
    }
    
    .product-text-wrapper {
        width: 75%;
        max-width: 100%;
        flex-direction: column;
        justify-content: start;
        .prod-name {
            width: 100%;
            max-width: 100%;
        }
    }
}

@media screen and (max-width: 700px) {
    .cart-item .product-qty-wrapper {
        margin-right: 0px;
    }
}



.paginator {
    min-width: 220px; 
    margin-top: 15px;
    display: flex;
    justify-content: center;

    .rb-page {
        border: 1px solid #101010;
        color: #101010;
        background: transparent;
        width: 40px;
        height: 40px;
        min-width: 40px;
    }
    
    .rb-page.active{
        color: #fff;
        background: #101010;;
    }
    
}

.paginator.top {
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}



.freebie-view {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #001E28;
    padding: 10px 0;
    flex-wrap: wrap;
    font-size: 0.9rem;
    line-height: 1rem;
    width: 100%;
    
    .ribbon {
        font-size: 1rem;
        color: #fafcf7;
        background: #68a030;
        padding: 5px 10px;
    }
    
    .info {
        padding: 5px 0;
        color: rgb(119, 119, 119);
        
        span {
            display: block;
            float: left;
            margin-right: 3px;
        }
    }
    
    .price {
        color: #68a030;
        font-size: 1rem;
        align-self: flex-start;
        clear: left;
    }
    
    
    #68a030
}

#START .carousel.brand-slide {
    margin: 0;
}

.carousel.brand-slide .carousel-indicator {
    border: 1px solid #101010;
}

.carousel.brand-slide .carousel-item.active img {
    max-width: 17%;
    margin: 0 1% 0 1%;
    height: 60%;
}

.carousel.brand-slide .carousel-inner {
    height: 270px;
}

.shop-category-card .image-wrapper .image,
.promotion-card .image-wrapper .image,
.offer-head .image {
    background: #FFFFFF;
    display: flex;
    align-items: center;
}

.shop-category-card .image-wrapper img,
.promotion-card .image-wrapper img,
.offer-head img {
    height: auto;
    width: auto;
    margin: auto;
}

.progress-bar.empty {
    width: 0;
    background-color: #e0e0e0;
}

.progress-bar.litte {
    width: 20%;
    background-color: #ff6666;
}

.progress-bar.stock {
    width: 40%;
    background-color: #ffcc66;
}

.progress-bar.lot {
    width: 70%;
    background-color: #99cc00;
}

.progress-bar.full {
    width: 100%;
    background-color: #66cc66;
}
