.grelated_products_list>.item {
    width: 100%;
    float: left;
    border-top: 1px solid #ccc;
    margin-bottom: 5px;
}

.grelated_products_list>.item:first-child {
    border-top: none;
}

.grelated_products_list .lnk_img.product-image {
    float: left;
}

.grelated_products_image {
    float: left;
    width: 15%;
}

.grelated_products_des {
    float: left;
    width: 50%;
    padding: 5px;
    box-sizing: border-box;
}

.grelated_products_price {
    float: left;
    /*width: 15%;*/ /* SJ MODIFICATION - 04.10.2024 - opis wchodzi na cenę */
    text-align: center;
}

.crossseling_extra_label {
    position: absolute;
    top: 0;
    right: 0;
}

.freeshipping_tag,
.discountval_tag {
    clear: both;
    float: right;
}

.grelated_products {
    width: 100%;
    clear: both;
    float: left;
}

#cms .grelated_products {
    float: none;
}

.grelated_products_image img {
    max-width: 100%;
}

#blockcart-modal.hascros .modal-body {
    /*float: left;*/
}

.grelated_products_submit_bt {
    /* width: 20%; */
    float: left;
}

.product-price-and-shipping .price {
    font-weight: bold;
}

.grelated_products_list .item:hover {
    background: #fcfcfc;
}

.grelated_products .product_grid article.item.product-miniature.js-product-miniature {
    float: left;
    margin: 0 .625rem;
}

#cms .grelated_products .product_grid article.item.product-miniature.js-product-miniature {
    float: none;
    display: inline-block;
    margin: 0 .625rem;
}

#blockcart-modal.hascros .modal-body {
    max-width: 100%;
    overflow: hidden;
}

.grelated_products_list .product-price-and-shipping {
    padding: 5px;
}

.grelated_products_list .grelated_products_submit_bt {
    padding: 5px;
}

.grelated_products .discount-product {
    background: #f39d72;
    padding: 3px;
    color: #fff;
    text-transform: uppercase;
    min-width: 3.125rem;
    min-height: 1.875rem;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, .2);
}

.grelated_products .regular-price {
    color: #7a7a7a;
    text-decoration: line-through;
    font-size: .875rem;
    font-weight: bold;
}

.grelated_products .owl_slider .owl-item div,
.grelated_products .owl_slider .owl-item img {
    max-width: 100% !important;
}

table.table.ggroup_product {
    border: 1px solid #ccc;
}

table.table.ggroup_product tr td {
    border-top: 1px solid #ccc;
}

.ggroup_product .ggroup_product_checkbox {
    vertical-align: middle;
}

.grelated_products_action .pull-right {
    float: right;
}

.ggroup_product2 .item {
    float: left;
    max-width: 125px;
    margin-left: 20px;
    margin-bottom: 20px;
    position: relative;
}

.ggroup_product2 .item:first-child {
    margin-left: 0;
}

.ggroup_product2 .item:before {
    content: "+";
    font-size: 20px;
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
}

.ggroup_product2 .item:first-child:before {
    content: "";
}

.grelated_products_list_group2 {
    width: 100%;
    float: left;
}

.grelated_products_list_group2 .ggroup_product2 {
    width: 70%;
    float: left;
}

.grelated_products_list_group2 .grelated_products_action {
    width: 30%;
    float: left;
}

.grelated_products_list_group2 .grelated_products_action {
    text-align: center;
}

.gtotal_price {
    font-weight: bold;
}

@media only screen and (max-width: 575px) {
    .grelated_products_image,
    .grelated_products_price,
    .grelated_products_submit_bt {
        width: 50%;
    }
    .grelated_products_price {
        clear: left;
    }
}

.grelated_products .products-section-title,
.grelated_products .page-product-heading {
    text-align: center;
    padding: 10px;
    text-transform: uppercase;
}

.grelated_products .owl_slider {
    overflow: hidden;
    width: 100%;
}

.clear {
    clear: both;
}

.grelated_products_price_wp {
    width: 35%;
    float: left;
    text-align: center;
}

.grelated_products_grid2 .grelated_products_price_wp {
    width: 100%;
    float: left;
    text-align: center;
}

.grelated_products_grid2>.item {
    width: 49%;
    float: left;
    background: #fff;
    margin-bottom: 10px;
}

.grelated_products_grid2>.item:nth-child(2n+1) {
    margin-right: 1%;
    clear: left;
}

.grelated_products_grid2>.item:nth-child(2n) {
    margin-left: 1%;
}

.grelated_products_grid2 .grelated_products_image {
    float: left;
    width: 30%;
}

.grelated_products_grid2 .grelated_products_des {
    float: left;
    width: 70%;
    padding: 7px;
}

.grelated_products_price_wp>div {
    width: 50%;
    float: left;
    text-align: center;
}

.grelated_products_grid2 .product-desc {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-height: 21px;
    max-height: 48px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.grelated_products_grid2 .product-title {
    text-transform: uppercase;
    font-weight: normal;
    font-size: .875rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-height: 21px;
    max-height: 24px;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.grelated_products_grid2 .grelated_products_price {
    text-align: left;
}

@media only screen and (max-width: 991px) {
    .grelated_products_grid2>.item {
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 10px !important;
    }
}

.product-information .grelated_products_grid2 .item {
    width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 7px;
}

/* GCROSSELLING template List SJ MODIFICATION */
/* Ewentualnie ten krótki opis to powinien być raczej pod zdjęciem - tylko to już nie w css */

div.grelated_products_des a.product-thumbnail {
    font-weight: bold !important;
    background-color: transparent !important;
}

div.grelated_products_list div.grelated_products_submit_bt {
    float: right !important;
}

@media (max-width: 385px) {
    div.grelated_products_submit_bt button.add-to-cart {
        font-size: 12px;
    }
}

@media (min-width: 576px) {
    div.grelated_products_list div.grelated_products_submit_bt {
        width: 35%;
        display: flex;
        align-self: flex-start;
    }

    div.grelated_products_list div.grelated_products_submit_bt > form {
        display: flex;
    }
}

@media (min-width: 768px) and (max-width: 930px) {
    div.grelated_products_list div.grelated_products_submit_bt button.add-to-cart {
        font-size: 12px;
        padding: 8px 10px;
    }
}

/* productlist_list_noaddtocart.tpl */
.grelated_products_list_noaddtocart>.item {
    width: 100%;
    float: left;
    border-top: 1px solid #ccc;
    margin-bottom: 5px;
    display: flex;
    gap: 10px;
}

.grelated_products_list_noaddtocart>.item:first-child {
    border-top: none;
}

.grelated_products_list_noaddtocart .lnk_img.product-image {
    float: left;
}

.grelated_products_list_noaddtocart .item:hover {
    background: #fcfcfc;
}

.grelated_products_list_noaddtocart>.item .grelated_products_image {
    width: 20%;
}

.grelated_products_list_noaddtocart>.item .grelated_products_des {
    display: flex;
    width: 80%;
    flex-direction: column;
    align-items: flex-start;
}

.grelated_products_list_noaddtocart>.item .grelated_products_price {
    text-align: left;
}