.theme-bg {
    background-color: #87b727;
}
.fd .theme-bg {
    background-color: #1d8fce;
}
.theme-col {
    color: #87b727;
}
.fd .theme-col {
    color: #1d8fce;
}
.theme-brd {
    border-color: #87b727;
}
.fd .theme-brd {
    border-color: #1d8fce;
}
.theme-col-hov:hover {
    color: #87b727;
}
.fd .theme-col-hov:hover {
    color: #1d8fce;
}
.theme-bg-hov:hover {
    background-color: #87b727;
}
.fd .theme-bg-hov:hover {
    background-color: #1d8fce;
}
.shop {
    padding-bottom: 100px;
}
.shop-header,
.shop {
    font-size: 14px;
    text-align: justify;
    color: #4c4c4c;
}
.shop.fd .row {
    margin-top: 0;
}
.shop.fd p {
    font-size: 1em;
}
.shop img {
    max-width: 100%;
    height: auto;
}
.shop img.card-img-top,
.shop img.product-img {
    width: auto;
}
.shop-header {
    position: relative;
}
.shop-header header {
    text-align: center;
    margin-bottom: 30px;
    padding: 45px 0;
    border-top: 1px #e5e5e5 solid;
    border-bottom: 1px #e5e5e5 solid;
}
.shop-header header h2 {
    margin: 0;
    display: inline-block;
}
.shop-header .cart-icon {
    position: absolute;
    top: 60px;
    right: 50px;
    padding-left: 50px;
    padding-bottom: 30px;
}
.shop-header .badge {
    vertical-align: top;
}
.shop-header .cart-icon i {
    color: #e3e3e3;
}
.shop-header .cart-popup {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    z-index: 2;
    min-width: 350px;
    max-width: 100%;
    top: 50px;
    right: 0;
    transition: opacity 0.3s ease-out;
    border: 1px solid grey;
    text-align: center;
}
.shop-header .cart-icon:hover i {
    cursor: pointer;
}
.shop-header .cart-icon:hover .cart-popup {
    visibility: visible;
    opacity: 1;
}
.shop-header .cart-popup .header,
.shop-header .cart-popup .footer {
    padding: 20px 0;
    /*background-color: #e3e3e3;*/
}
.shop-header .cart-popup .body {
    text-align: left;
    padding: 0 20px;
    font-weight: 500;
}
.shop-header .cart-popup .body .empty {
    text-align: center;
    color: darkgrey;
}
.shop-header .cart-popup .body table .controls {
    visibility: hidden;
}
.shop-header .cart-popup .footer button {
    color: #fff;
}
.shop-header table tr.cart-item i {
    margin-left: 10px;
}
.shop-menu.regulamin {
    margin-top: 80px;
    margin-bottom: 40px;
}
.shop .intro1 {
    padding: 10px;
}
.shop .intro1 p {
    margin: 0 40px 30px 45px;
    font-weight: bold;
}
.intro1 ul {
    list-style: none;
}
.intro1 ul li {
    position: relative;
    margin-bottom: 15px;
    padding-left: 60px;
    padding-right: 50px;
}
.shop.dd .intro1 ul li:before {
    content: url("../img/arrow.png");
    position: absolute;
    left: 0;
}
.shop.fd .intro1 ul li:before {
    content: url("../img/arrow-fd.png");
    position: absolute;
    left: 0;
}
.shop .intro1 img {
    position: absolute;
    left: 0;
}
.shop .intro2 {
    margin: 20px;
}
.shop.dd .intro2 {
    background-color: #f3f8e9;
}
.shop.fd .intro2 {
    background-color: #ebf4fb;
}

.shop .intro2 p {
    margin: 20px 40px 30px 45px;
    font-weight: bold;
}
.shop .intro2 img {
    margin-top: 25px;
}
.shop.dd .intro2 ul,
.product-details.dd .diet-details ul {
    list-style-image: url('../img/bullet-green.png');
}
.shop.fd .intro2 ul,
.product-details.fd .diet-details ul {
    list-style-image: url('../img/bullet-blue.png');
}
.shop .intro2 ul li {
    margin-bottom: 15px;
}
.shop .intro1 p.green-underline:after,
.shop .intro2 p.green-underline:after {
    width: 100%;
}
.shop .group-title {
    margin: 30px 0;
    text-align: center;
}
.shop .group-title.green-underline:after,
.shop .group-title.blue-underline:after {
    width: 100%;
    bottom: 0;
}
.shop .group-title p {
    display: inline-block;
    margin-bottom: 0;
    padding: 10px 30px;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
}
.shop .group-title a {
    color: #fff;
}
.shop .all-cards {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    float: left
}
.shop .card {
    width: 350px;
    margin: 0 15px 30px 15px;
    padding: 30px 0 40px;
}
.shop.fd .card {
    min-width: 340px;
}
.shop .card .card-body {
    padding: 10px 15px;
}
.shop .card .product-name {
    color: #4c4c4c
}
.shop .card .product-name .name {
    display: inline-block;
    max-width: 320px;
}
.shop .card .secondary_name {
    font-weight: 600;
    min-height: 40px;
}
.shop.fd .card .secondary_name {
    min-height: 51px;
}
.shop .retail-price {
    margin: 20px 5px;
    font-size: 18px;
}
.shop .retail-price span {
    position: relative;
    display: inline-block;
    padding: 7px 15px 7px 35px;
    border-radius: 10px;
}
.shop .retail-price span .del {
    color: red;
    text-decoration: none;
    position: relative;
}
.shop .retail-price span .del:before {
     content: " ";
     display: block;
     width: 100%;
     border-top: 2px solid red;
     height: 12px;
     position: absolute;
     bottom: 0;
     left: 0;
     transform: rotate(-7deg);
 }
.shop.dd .retail-price span {
    background-color: #ebf0e1;
}
.shop.fd .retail-price span {
    background-color: #e1eef8;
}
.shop .retail-price img.icon {
    position: absolute;
    top: -6px;
    left: -15px;
}
.shop button.add-to-cart {
    padding: 10px 35px;
    border-radius: 10px;
    color: #fff;
    background-color: #ababab;
    border: none;
    font-size: 14px;
    font-weight: bold;
}
.shop .card:hover {
    background-color: #f6f6f6;
}
.cart-confirm {
    display: none;
    padding: 10px 0;
    margin-bottom: -40px;
}
.shop.dd .cart-confirm span,
.shop.dd .cart-confirm i {
    color: #516d17;
    font-weight: bold;
}
.shop.fd .cart-confirm span,
.shop.fd .cart-confirm i {
    color: #17516D;
    font-weight: bold;
}
.cart-confirm .show-cart {
    margin-left: 25px;
}
.shop .about-owner {
    margin-top: 60px;
}
.shop .about-owner .show-more {
    color: #fff;
    padding: 5px 12px;
    float: right;
    margin-left: 20px;
    cursor: pointer;
    font-size: 12px;
}
.shop .about-me .show-more i {
    margin-left: 5px;
}
.shop .user-photo {
    border-width: 3px;
    border-style: solid;
    text-align: center;
}
.shop .username {
    margin: 0;
    padding: 10px 0;
    color: #fff;
    text-align: center;
}
.shop .user-text {
    margin-top: 15px;
}
.shop .user-text .about-me {
    margin-top: 30px;
    padding-left: 10px;
    border-left-width: 4px;
    border-left-style: solid;
}
.products-list {
    margin: 40px 0;
}
.products-list .premise_filter {
    text-align: left;
}
.products-list .premise_filter h5 {
    padding-left: 15px;
}
.products-list .premise_filter button {
    margin: 0 5px;
}
.products-list .premise_filter button.filter {
    background-image: none;
    width: 140px;
}
.products-list .card {
    border: 1px #ebebeb solid;
}
.products-list .card .view img {

}
.product-details {
    font-size: 15px;
}
.product-details .category {
    margin: 0 0 30px 0;
}
.product-details .category .green-underline,
.product-details .category .blue-underline {
    display: inline-block;
}
.product-details .category a {
    color: #4c4c4c;
}
.product-details .product-img {
    margin-bottom: 30px;
    border-width: 4px;
    border-style: solid;
}
.product-info {
    padding-right: 30px;
    padding-bottom: 20px;
}
.product-info h4.title {
    margin-top: 0;
    margin-left: 40px;
    margin-bottom: 30px;
}
.product-info ul {
    list-style: none;
}
.product-info .preview {
    position: relative;
    width: 85%;
    padding: 25px 30px 0 30px;
}
.product-info .preview .preview-element {
    width: 100px;
    height: 140px;
}
.product-info .preview .owl-controls .owl-prev {
    position: absolute;
    left: 0;
    top: 80px;
}
.product-info .preview .owl-controls .owl-next {
    position: absolute;
    right: 0;
    top: 80px;
}
.product-info ul.details > li {
    padding-bottom: 15px;
    padding-left: 25px;
    background-position: left 5px;
    background-repeat: no-repeat;
}
.shop.dd .product-info ul.details > li {
    background-image: url('../img/dots-green.png');
}
.shop.fd .product-info ul.details > li {
    background-image: url('../img/dots-blue.png');
}
.product-info ul.preview > li {
    display: inline-block;
    padding-bottom: 15px;
    padding-right: 25px;
}
.product-info span {
    display: inline-block;
}
.product-info span.name {
    width: 45%;
    text-align: left;
    font-weight: bold;
}
.product-info span.name.wide {
    width: 100%;
}
.product-info span.badge {
    position: relative;
    display: inline-block;
    padding: 7px 15px 7px 35px;
    border-radius: 10px;
    color: #000;
    font-size: 14px;
    font-weight: normal;
}
.shop.dd .product-info span.badge {
    background-color: #f3f8e9;
}
.shop.fd .product-info span.badge {
    background-color: #e1eef8;
}
.product-info span.badge.rejected_products {
    background-color: #f8e5e6;
}
.product-info span.disease {
    margin-top: 25px;
    margin-right: 25px;
}
.product-info img.icon {
    position: absolute;
    top: -1px;
    left: -10px;
}
.product-info .cart-confirm {
    margin-left: 40px;
}
.shop .tab-title li a {
    padding: 0;
}
.shop .tab-title li p {
    display: inline-block;
    margin-bottom: 0;
    padding: 10px 30px;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
}
.shop .tab-title li.active p {
    color: #fff;
}
.diet-details {
    padding: 20px 60px 40px 60px;
    overflow:auto;
    line-height: 25px;
}
.shop.dd .diet-details {
    background-color: #f9fbf4;
}
.shop.fd .diet-details {
    background-color: #f5f9fd;
}
.diet-details p {
    margin-top: 25px;
}
.diet-details li {
    margin-bottom: 15px;
}
.diet-details .diet-details-image img {
    margin-top: 40px;
    margin-left: 20px;
}
.add-product {
    display: inline-block;
    margin: 30px 20px 5px 40px;
    padding: 8px 10px 8px 20px;
    border-width: 2px;
    border-style: solid;
    border-radius: 8px;
}
.add-product .retail-price {
    display: inline;
}
.cart-summary {
    margin-bottom: 50px;
    padding: 30px 15px;
    min-height: 100%;
}
.cart-summary .cart,
.cart-summary .cart-totals {
    padding: 0 25px;
}
.cart-summary table {
    width: 100%;
    margin-bottom: 50px;
}
.cart-summary tbody {
    font-size: 15px;
}
.cart-summary tr,
.cart-summary td {
  padding: 15px;
  text-align: left;
}
.cart-summary thead th {
    padding-bottom: 5px;
}
.cart-summary th:first-child,
.cart-summary td:first-child {
    padding-left: 0;
    max-width: 250px;
}
.cart-summary tr {
    border-bottom: 1px solid #ececec;
}
.cart-summary tr.shipping {
    /*color: #bdbdbd;*/
}
.cart-summary .title .quantity {
    display: none;
}
.cart-summary .controls {
    padding-left: 0;
}
.cart-summary .controls span {
    visibility: hidden;
}
.cart-summary .controls.active span {
    visibility: visible;
    padding: 0.5em;
    border: 1px solid #ddd;
}
.cart-summary .controls.active span.change_qty {
    background-color: #f7f7f7;
    cursor: pointer;
}
.cart-summary .price {
    padding-left: 0;
}
.cart-summary .delete-item {
    cursor: pointer;
}
.cart-summary .delete-item i {
    color: #878787;
}
.cart-summary .btn-back {
    display: inline-block;
    margin-left: 25px;
    margin-top: 10px;
    margin-bottom: 50px;
    border-width: 2px;
    border-style: solid;
    background-color: transparent;
    padding: 8px 20px;
    font-weight: bold;
}
.cart-summary .btn-back:hover {
    color: #fff;
    text-decoration: none;
}
.cart-summary .proceed-to-checkout button {
    width: 100%;
    padding: 10px 20px;
    color: #fff;
}
.cart-summary .proceed-to-checkout button:disabled {
    background-color: lightgrey;
    cursor: not-allowed;
}
.cart-summary .row > .col-xs-12 + .col-xs-12 {
    border-left: 1px solid #ececec;
}
.order-form .row {
    margin-bottom: 40px;
}
.order-form .order-data {
    padding: 0 30px;
}
.order-form .address-fields {
    padding-bottom: 10px ;
}
.order-form h4 {
    padding: 20px 0;
}
.order-form .form-group {
    margin-top: 30px;
}
.order-form label {
    font-weight: bold;
}
.order-form table .controls,
.order-form table .delete-item {
    display: none;
}
.order-form span.badge {
    display: none;
}
.order-form thead tr th.product-name,
.order-form thead tr th.product-total {
    border-bottom: 1px solid #ececec;
}
.order-form tr,
.order-form td {
  padding: 15px 20px 15px 0;
  /*text-align: left;*/
}
.order-form button.checkout {
    width: 100%;
    margin: 15px 0;
    padding: 10px 20px;
    color: #fff;
}
.order-form button.checkout:disabled {
    background-color: lightgrey;
    cursor: not-allowed;
}
.order-form .payment_method_tpay {
    padding: 30px 0;
}
.order-form .payment_method_tpay img {
    margin-left: 5px
}

.order-details {
    margin: 40px 15px;
    padding: 15px 30px 30px;
    border-width: 2px;
    border-style: solid;
}
.order-details tr.product-total,
.order-details td.price {
    width: 90px;
}
.order-details .checkbox {
    margin-bottom: 25px;
}
.order-form ul.errorlist {
    padding-left: 0;
    list-style: none;
    color: darkred;
}
.order-form .cart td.controls {
    display: none;
}
.order-confirmation {
    text-align: center;
}
.order-confirmation p {
    font-weight: bold;
}
.order-confirmation .info a {
    padding: 10px 20px;
    border-width: 2px;
    border-style: solid;
}
.order-summary .info {
    text-align: center;
}
.order-summary .info p {
    font-size: larger;
    font-weight: bold;
}
.order-summary .order-details {
    font-size: larger;
}
.order-summary .order-details h4 {
    margin-bottom: 20px;
}
.order-summary .order-details span {
    font-weight: bold;
}


.shop-header.dd .cart-icon:hover i {
    color: #87b727;
}
.shop.dd button.add-to-cart:hover {
    background-color: #87b727;
}
.shop.dd .tab-title li p {
    background-color: #dbe9be;
}
.shop.dd .tab-title li.active p {
    background-color: #87b727;
}
.cart-summary.dd .btn-back:hover {
    background-color: #87b727;
}

.shop-header.fd .cart-icon:hover i {
    color: #1d8fce;
}
.shop.fd button.add-to-cart:hover {
    background-color: #1d8fce;
}
.shop.fd .tab-title li p {
    background-color: #b8daef;
}
.shop.fd .tab-title li.active p {
    background-color: #1d8fce;
}
.cart-summary.fd .btn-back:hover {
    background-color: #1d8fce;
}
.parent-category-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 50px;
}
.parent-category {
    display: inline-block;
    width: 400px;
    max-width: 100%;
    margin: 10px 10px 40px 10px;
    padding-bottom: 20px;
}
.shop.fd .parent-category {
    width: 390px;
}
.parent-category:hover {
    border: 2px solid #c3c3c3;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.parent-category a {
    text-decoration: none;
}
.shop.dd .parent-category:hover h4.theme-bg-hov {
    background-color: #87b727;
}
.shop.dd .parent-category:hover p.theme-col-hov {
    color: #87b727;
}
.shop.fd .parent-category:hover h4.theme-bg-hov {
    background-color: #1d8fce;
}
.shop.fd .parent-category:hover p.theme-col-hov {
    color: #1d8fce;
}
.parent-category img {
    margin-bottom: 20px;
}
.parent-category h4 {
    display: inline-block;
    color: #fff;
    padding: 8px 25px;
    border-radius: 15px;
    background-color: #c3c3c3;
}
.parent-category p {
    font-size: 16px;
    color: #c3c3c3;
}
.category-list ul {
    list-style: none;
    padding: 30px 0;
}
.category-list ul li {
    margin: 0;
    padding: 0 20px;
    background: none;
    width: 25%;
    float: left;
    text-align: center;
    font-size: 1.3em;
    opacity: 1;
    line-height: 1.2em;
}
.category-list ul li:hover {
    opacity: .6;
}

.review-item label {
    min-width: 200px;
}
.review-item textarea, .review-item input[type=text] {
    max-width: 400px;
}
.review-item button {
    color: #fff;
}

:root {
    --star-size: 20px;
    --star-color: grey;
    --star-background: #fc0;
}

.stars {
    --percent: calc(var(--rating) / 5 * 100%);
    display: inline-block;
    font-size: var(--star-size);
    font-family: "Open Sans";
    line-height: 1;
}
.stars::before {
    content: "★★★★★";
    letter-spacing: 3px;
    background: linear-gradient(90deg, var(--star-background) var(--percent), var(--star-color) var(--percent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.reviews .more {
    padding-left: 10px;
}
.response-text {
    margin: 16px 0 0 0;
    border-left: 1px solid #E0E0E0;
    padding: 8px 0 8px 20px;
    line-height: 16px;
}
.response-text p {
    margin-top: 10px;
}
.subreviews {
    padding-top: 20px;
}
.subreviews label {
    min-width: 180px;
}

@media (max-width: 767px) {
    .category-list ul li {
        width: 50%;
    }
    .diet-intro {
        display: none;
    }
    .product-info h4.title {
        margin-left: 0
    }
    .product-info ul {
        padding-left: 0;
    }
    .shop .card {
        width: 100%;
        min-width: auto;
    }
    .add-product {
        margin-left: 0;
    }
    .shop button.add-to-cart {
        margin-top: 20px;
    }
    .shop .diet-details {
        padding: 20px 5px 40px 5px;
    }
    .product-info span.name {
        display: block;
    }
    .product-info span.badge {
        margin: 10px;
    }
    .diet-details .diet-details-image img {
        margin-left: 0
    }
    .product-details {
        padding-left: 8px;
        padding-right: 8px;
    }
    .product-details .tab-title {
        padding: 0;
    }
    .shop .tab-title li p {
        padding: 7px 5px;
        font-size: 11px;
        font-weight: normal;
    }
    .shop-header .cart-popup {
        min-width: 270px;
        right: -50px;
    }
    .cart-summary .cart th {
        text-align: center;
    }
    .cart-summary .cart, .cart-summary .cart-totals {
        padding: 0;
    }
    .order-form .order-data {
        padding: 0;
    }
    .order-details {
        margin: 40px 0;
        padding: 15px 10px 10px;
    }

}