body.template-catalogsearch .page-container,
body.template-storeindexpage .page-container,
body.template-productindexpage .page-container {
    padding: 0 10px 20px 10px;
    max-width: 1280px;
    min-height: 600px;
}

body.template-productpage .page-container {
    padding: 0 10px 20px 10px;
}

body.template-catalogsearch .content,
body.template-productindexpage .content,
body.template-storeindexpage .content,
body.template-productpage .content {
    max-width: 100%;
    width: 960px;
    padding: 20px 10px 20px 10px;
}

body.template-storeindexpage .content,
body.template-productindexpage .content {
    display: table-cell;
    min-width: 460px;
}

body.template-basketpage .content {
    overflow: visible;
    padding-bottom: 60px;
}

body.catalog .right-block {
    display: table-cell;
}

body.template-productpage .product-page-content h1 {
    text-transform: initial;
}

@media (max-width: 1280px) {
    body.catalog .right-block {
        display: none;
    }
}

@media (max-width: 1024px) {
    body.catalog .content {
        width: auto;
    }
}

@media (max-width: 767px) {
    body.template-catalogsearch .content,
    body.template-storeindexpage .content,
    body.template-productindexpage .content,
    body.template-productpage .content {
        min-height: 480px;
        min-width: 280px;
    }
}

/* Левый блок со списком категорий */
.catalog-left-block {
    display: table-cell;
    font-size: 16px;
    width: 240px;
    min-width: 240px;
    max-width: 240px;
    padding: 20px 30px 20px 10px;
}

.categories-block {
    padding: 0 20px;
}

.catalog-left-block .category-list-title {
    font-weight: bold;
    margin-bottom: 20px;
}

.catalog-left-block ul,
.catalog-left-block li {
    list-style-type: none;
}

.catalog-left-block ul.category-list {
    margin-top: 10px;
}

.catalog-left-block ul.category-list li {
    margin-bottom: 15px;
}

body.template-productindexpage .catalog-left-block ul.category-list li.category-item {
    margin: 0 0 10px 10px;
    font-size: 15px;
}

.catalog-left-block ul.category-list li.category-parent-item {
    margin-top: 15px;
}

.catalog-left-block ul.category-list li a {
    text-decoration: none;
}

.catalog-left-block ul.category-list li.category-root-item a {
    color: #18843b;
    margin-left: -15px;
    font-weight: bold;
}

.catalog-left-block ul.category-list li.category-parent-item a {
    color: #18843b;
    font-weight: bold;
}

.catalog-left-block ul.category-list li.category-current-item a {
    color: white;
    background: #41ac00;
    display: block;
    font-weight: bold;
    padding: 4px;
    width: fit-content;
    width: -moz-fit-content;
    margin-left: -4px;
}

.catalog-left-block ul.category-list i.category-icon {
    position: absolute;
    margin-left: -22px;
    line-height: 20px;
    color: red;
    font-size: 18px;
}

.catalog-left-block ul.category-list img.category-icon {
    position: absolute;
    height: 20px;
    line-height: 20px;
    margin-left: -25px;
    width: 20px;
}

.catalog-left-block ul.category-list li.category-current-item i.category-icon {
    margin-left: -24px;
}

.catalog-left-block ul.category-list li.category-parent-item a:hover {
    color: #41ac00;
}

.catalog-left-block ul.category-list li .selected {
    color: white;
    background: #41ac00;
    display: block;
    font-weight: bold;
    padding: 4px;
    width: fit-content;
    width: -moz-fit-content;
    margin-left: -4px;
}

.catalog-left-block .articles-block {
    margin-top: 30px;
}

.articles-bottom-block-new .articles-block-1,
.catalog-left-block .articles-block-1 {
    background: url("/static/images/left-block-articles-bg-1.684425b4f5ad.png") repeat-x top;
}

.articles-bottom-block-new .articles-block-2,
.catalog-left-block .articles-block-2 {
    background: url("/static/images/left-block-articles-bg-2.c6ed2ecadf4b.png") repeat-x top;
}

.articles-bottom-block-new .articles-block-3,
.catalog-left-block .articles-block-3 {
    background: url("/static/images/left-block-articles-bg-3.924c29756c94.png") repeat-x top;
}

.catalog-left-block .article-item {
    margin-top: 20px;
    border: 1px solid #dff1d6;
    width: 238px;
}

.catalog-left-block .article-item-image {
    margin-top: 12px;
    text-align: center;
}

.catalog-left-block .article-item-image img {
    max-height: 147px;
    max-width: 238px;
}

.catalog-left-block .article-item h3 {
    font-size: 22px;
    line-height: 1.1em;
    padding: 10px 20px;
    margin: 0;
    text-align: center;
    text-align: -moz-center;
    text-align: -webkit-center;
    text-transform: uppercase;
}

.articles-bottom-block-new .article-item h3 a,
.catalog-left-block .article-item h3 a,
.articles-bottom-block-new .article-item h3 a:hover,
.catalog-left-block .article-item h3 a:hover,
.articles-bottom-block-new .article-item h3 a:active,
.catalog-left-block .article-item h3 a:active {
    text-decoration: none;
    color: #000000;
}

.articles-bottom-block-new .article-item-intro,
.catalog-left-block .article-item-intro {
    font-size: 14px;
    padding: 10px 20px 20px;
}

.feedback-block {
    max-width: 480px;
    margin: 30px auto 10px auto;
    padding: 35px 0;
    border: 1px solid #dff1d6;
    background: url("/static/images/rightblock-pochta-bg.4a4bd9f0d226.png") no-repeat top;
}

.feedback-block h4 {
    text-align: center;
    text-transform: uppercase;
    margin: 0 0 1.33em;
    padding: 0 20px;
    font-size: 20px;
    color: #000;
}

.feedback-block .feedback-item {
    overflow: hidden;
}

.feedback-block .feedback-client-info {
    font-weight: bold;
}

.feedback-block .feedback-client-info {
    padding: 0 20px;
}

.feedback-block .feedback-date {
    color: #cccccc;
    font-size: 14px;
}

.feedback-block .feedback-message,
.feedback-block .feedback-response {
    padding: 20px;
}

.feedback-block .feedback-message {
    font-family: 'Neucha', cursive;
    font-size: 18px;
    color: #647ea7;
}

.feedback-block .feedback-response {
    background: #edf3e9;
}

.feedback-block .feedback-kroliki {
    position: relative;
    height: 145px;
    background: url("/static/images/right-block-kroliki.78d92faac136.png") no-repeat top 20px left 30px;
}

.feedback-block a.feedback-link {
    position: absolute;
    bottom: 5px;
    right: 20px;
}

.feedback-block .feedback-add-link a {
    margin: 20px auto 0;
}

/* Корневая страница каталога */

.catalog-banner {
    width: calc(100vw - 360px);
    max-width: 968px;
    max-height: 296px;
    /*margin: 0 auto;*/
    /*margin-left: 20px;*/
    position: relative;
    margin-bottom: 10px;
}

.catalog-slider {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
    -webkit-transition: opacity 0.5s ease;
}

.catalog-slider.slick-initialized {
    visibility: visible;
    opacity: 1;
}

.catalog-banner .catalog-slider-image-item {
    width: 100%;
    position: relative;
    display: block;
    max-height: 296px;
    margin: auto 4px;
    background: 50% 50% no-repeat;
    cursor: pointer;
}

.catalog-banner .catalog-slider-dots {
    position: relative;
    height: 60px;
    display: none;
}

.catalog-banner .catalog-slider-dots .slick-dots {
    padding: 0;
}

.store-index-page-content .category-block {
    margin-bottom: 30px;
}

.store-index-page-content h1 {
    margin: 0.25em 0 0.5em;
}

.store-index-page-content h2.category-title a,
.product-index-page-content h2.category-title a {
    color: #41ac00;
    text-decoration: none;
}

.store-index-page-content h2.category-title a:hover {
    color: #8fca00;
}

@media (max-width: 960px) {
    .catalog-banner {
        max-height: 400px;
    }

    .catalog-banner .catalog-slider-image-item {
        max-height: 400px;
        margin: 0 2px;
    }

}

@media (max-width: 767px) {

    .catalog-banner {
        width: 100vw;
        margin: 0 -20px;
    }

    .catalog-banner .catalog-slider-dots {
        display: block;
        height: 45px;
    }

    .catalog-banner .catalog-slider-image-item {
        margin: 0;
    }
    
}

@media (max-width: 296px) {
     .catalog-banner {
        width: auto;
    }
}

/* Фильтр по магазинам и сортировка по значениям */

.catalog-shop-filter {
    position: relative;
    margin-top: 20px;
    display: inline-block;
}

.catalog-shop-caption {
    display: inline-block;
    line-height: 28px;
    margin-right: 5px;
}

.catalog-shop-select {
    background: #f6f6f6;
    display: inline-block;
    font-size: 14px;
    height: 28px;
    line-height: 28px;
    border: 1px solid #cccccc;
    text-align: left;
    text-decoration: none;
    width: 140px;
}

.catalog-shop-select:hover {
    background: #dff1d6;
}

.catalog-shop-selected {
    padding: 0 8px;
    cursor: pointer;
}

.catalog-shops-popbox {
    display: none;
    background: #ffffff;
    border: 1px solid #cccccc;
    box-shadow: #aaaaaa 0 0 2px 0;
    line-height: 28px;
    position: absolute;
    text-align: left;
    top: 0;
    z-index: 99;
    width: 140px;
}

.catalog-shops-popbox a {
    display: block;
    text-decoration: none;
}

.catalog-shops-popbox .catalog-shop-item {
    cursor: pointer;
    padding: 0 8px;
}

.catalog-shops-popbox .catalog-shop-item:hover {
    background: #dff1d6;
}

.block-filter {
    display: flex;
    justify-content: space-between;
}

.catalog-sort-filter {
    display: inline-block;
    margin-top: 20px;
}

.catalog-sort-filter {
    position: relative;
    margin-top: 20px;
    display: inline-block;
}

.catalog-sort-filter .catalog-sort-item a:visited {
    color: #00853e;
}

.catalog-sort-filter .catalog-sort-item a:hover {
    color: #41ac00;;
}

.catalog-sort-caption {
    display: inline-block;
    line-height: 28px;
    margin-right: 5px;
}

.catalog-sort-select {
    background: #f6f6f6;
    display: inline-block;
    font-size: 14px;
    height: 28px;
    line-height: 28px;
    border: 1px solid #cccccc;
    text-align: left;
    text-decoration: none;
    width: 140px;
}

.catalog-sort-select:hover {
    background: #dff1d6;
}

.catalog-sort-selected {
    padding: 0 8px;
    cursor: pointer;
}

.catalog-sorts-popbox {
    display: none;
    background: #ffffff;
    border: 1px solid #cccccc;
    box-shadow: #aaaaaa 0 0 2px 0;
    line-height: 28px;
    position: absolute;
    text-align: left;
    top: 0;
    z-index: 99;
    width: 140px;
}

.catalog-sorts-popbox a {
    display: block;
    text-decoration: none;
}

.catalog-sorts-popbox .catalog-sort-item {
    cursor: pointer;
    padding: 0 8px;
}

.catalog-sorts-popbox .catalog-sort-item:hover {
    background: #dff1d6;
}

@media (max-width: 767px) {

    .store-index-page-content .catalog-shop-filter {
        margin-top: 10px;
    }
}

/* Карточки категорий и товаров */

.catalog .content .category-list {
    line-height: 30px;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

.catalog .content .category-list a {
    white-space: nowrap;
    padding-right: 10px;
}

.catalog .content .category-list .hidden {
    display: none;
}

.catalog .content .show-more-btn {
    color: #999999;
    font-weight: bold;
    font-size: 12px;
    border-bottom: dotted;
    cursor: pointer;
    width: fit-content;
    margin-top: 3px;
}

.content .products-container {
    border-top: 1px dashed #93856d;
    border-bottom: 1px dashed #93856d;
    margin-top: 20px;
    margin-bottom: 20px;
}

.content .card-grid {
    display: -webkit-box;
    display: flex;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    justify-content: center;
    justify-items: center;
    -webkit-box-align: stretch;
    align-items: stretch;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    margin: 20px auto 10px auto;
}

.content .products-container .card-grid-bottom-link {
    margin-top: -10px;
    margin-bottom: 25px;
}

.product-slider.card-grid {
    display: block;
    margin: 20px auto 0 auto;
    height: 380px;
    width: 916px;
}

.product-slider.card-grid.compact {
    height: 306px;
}

.catalog .content .card-grid {
    -webkit-box-pack: start;
    justify-content: left;
    justify-items: left;
}

.card {
    border: rgba(0, 0, 0, 0.1) 1px solid;
    overflow: hidden;
    text-align: center;
    width: 218px;
    max-width: 228px;
    margin-right: 10px;
    margin-bottom: 10px;
    min-height: 370px !important;
}

.card.compact {
    min-height: 296px !important;
    border: none;
}

.content .card {
    -webkit-box-flex: 0;
    flex: 0 0 auto;
}

.product-slider .card {
    margin: 5px;
    display: none;
}

.product-slider-dots {
    position: relative;
    height: 28px;
}

.card:hover {
    transition: 0.2s;
    box-shadow: 0 0 2px 2px rgba(223, 241, 214, 1);
}

.card .product-card {
    text-align: left;
    padding: 10px 10px 8px 10px;
    position: relative;
    max-width: 240px;
    margin: 0 auto;
}

.product-card a.product-image-link {
    display: block;
    position: relative;
    height: 172px;
    margin: auto;
}

.card.compact .product-card a.product-image-link {
    height: 172px;
}

.product-card img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 172px;
    object-fit: cover;
}

.card.compact .product-card img {
    max-height: 172px;
}

.product-card .card-body {
    margin-top: 5px;
}

.product-card .card-body > div {
    margin-top: 5px;
}

.product-card .product-is-new-block {
    position: absolute;
    z-index: 1;
    top: -3px;
    left: 0;
}

.card.compact .product-card .product-is-new-block {
    top: 2px;
    left: 4px;
}

.product-card .product-is-new-block .product-is-new {
    background: #41ac00;
    color: #ffffff;
    padding: 3px 3px;
    font-size: 9px;
}

.product-card .product-is-sale-block {
    position: absolute;
    z-index: 1000;
    top: -3px;
    left: 0;
}

.card.compact .product-card .product-is-sale-block {
    top: 2px;
    left: 4px;
}

.product-card .product-is-sale-block .discount-percent {
    background: #ff7800;
    color: #ffffff;
    padding: 0 3px 0 4px;
    font-size: 12px;
    font-weight: bold;
}

.product-card .product-price {
    color: #ff7800;
    font-weight: bold;
    position: relative;
    min-height: 42px;
}

.product-card .product-price.price-variation:before {
    font-family: inherit !important;
    content: 'от ';
    font-size: 14px;
}

.product-card .choose-variation i {
    display: none;
}

.card.compact .product-card .choose-variation i {
    display: inline-block;
}

.product-card .product-price .price {
    font-size: 20px;
}

.product-card .product-price .discount {
    display: block;
    text-align: left;
    font-size: 14px;
}

.product-card .product-price .discount-percent {
    background: #ff7800;
    color: #ffffff;
    padding: 0 3px 0 5px;
    font-size: 12px;
    font-weight: bold;
}

.product-card .product-price .full-price {
    color: #999999;
    text-decoration: line-through;
    margin-right: 5px;
}

.product-card .product-title-block {
    height: 54px;
    overflow: hidden;
}

.product-card a.product-title-link {
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    margin: 5px auto 10px;
}

.product-card .product-title {
    display: -webkit-box;
    max-height: 36px;
    line-height: 18px;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-card .product-title em {
    color: #ff7800;
}

.product-card .product-author {
    height: 18px;
    line-height: 18px;
    font-size: 14px;
    color: #999999;
    overflow: hidden;
    white-space: nowrap;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
}

.product-card .product-basket-button {
    text-align: center;
    text-align: -moz-center;
    text-align: -webkit-center;
}

.product-card .product-basket-button .button {
    margin: 5px auto;
    text-align: center;
    border-radius: 4px;
    padding: 0 12px;
    font-size: 14px;
    height: 32px;
    line-height: 32px;
}

.card.compact .product-card .product-basket-button .button {
    position: absolute;
    right: 15px;
    top: 196px;
    font-size: 14px;
    min-width: 24px;
    height: 24px;
    line-height: 24px;
    margin: 0;
    padding: 0 4px;
}

.product-card .product-bottom-block {
    padding-left: 15px;
}

.product-card .product-bottom-block.choose-variation-block {
    padding-left: 0;
}

.product-card .product-basket-button .button-icon {
    display: none;
}

.card.compact .product-card .product-basket-button .button-icon {
    display: inline-block;
}

.card.compact .product-card .product-basket-button .button-text {
    display: none;
}

.product-card .product-available {
    font-size: 14px;
}

.product-card .shipping-date {
    color: #999999;
    font-size: 12px;
    line-height: 14px;
}

.product-card .choose-variation-block .shipping-date {
    padding-left: 15px;
}

.card.compact .product-card .product-available,
.card.compact .product-card .shipping-date {
    display: none;
}

.product-card .shipping-date a {
    text-decoration: none;
}

@media (max-width: 1023px) {
    .product-slider.card-grid {
        width: 692px;
    }
}

@media (max-width: 767px) {

    body.template-storeindexpage .content,
    body.template-productindexpage .content {
        display: block;
    }

    .content .card-grid {
        /*grid-template-columns: repeat(auto-fill, minmax(240px, 50%));*/
        -webkit-box-pack: center;
        justify-items: center;
        justify-content: center;
        margin: 20px -20px;
    }

    body.template-storeindexpage .content .card-grid,
    body.template-productindexpage .content .card-grid {
        -webkit-box-pack: start;
        justify-items: flex-start;
        justify-content: flex-start;
    }

    .product-slider.card-grid {
        width: 460px;
        margin: 0 auto;
    }

    .product-slider.card-grid.compact {
        width: 585px;
    }

    .content .card {
        border-left: none;
        width: calc((1 / 3) * 100% - 1px);
        margin: 0;
        max-width: 100%;
    }

    .content .card.compact {
        max-width: 200px;
    }

    .content .card:nth-child(3n) {
        border-right: none;
    }

    .content .card:not(:first-child):not(:nth-child(2)):not(:nth-child(3)) {
        border-top: none;
    }

    .card:hover {
        box-shadow: initial;
        color: initial;
        opacity: initial;
    }

    .catalog-left-block {
        display: none;
    }

    .product-card .product-bottom-block {
        padding-left: 0;
    }

    .product-card .product-is-new-block {
        left: 4px;
        top: 1px;
    }

    .product-card .product-is-sale-block {
        left: 4px;
        top: 1px;
    }

    .product-slider .product-card .product-is-new-block {
        left: 4px;
        top: 4px;
    }

    .product-slider .product-card .product-is-sale-block {
        left: 4px;
        top: 4px;
    }
}

@media (max-width: 670px) {
    .product-slider.card-grid.compact {
        width: 380px;
    }
}

@media (max-width: 600px) {

    .catalog-shop-filter {
        float: unset;
    }

    .content .card {
        border-left: none;
        width: calc(50% - 2px);
        margin: 0;
    }

    .content .card-grid {
        -webkit-box-pack: start;
        justify-items: flex-start;
        justify-content: flex-start;
    }

    .content .products-container .card-grid {
        -webkit-box-pack: center;
        justify-items: center;
        justify-content: center;
    }

    .content .card:nth-child(3) {
        border-top: none;
    }

    .content .card:nth-child(3n) {
        border-right: rgba(0, 0, 0, 0.1) 1px solid;
    }

    .content .card:nth-child(2n) {
        border-right: none;
    }

    .content .card.compact {
        border: none;
    }
}

@media (max-width: 565px) {
    .catalog .content .category-title {
        margin-bottom: 0;
    }

    .catalog .content .category-list {
        line-height: 24px;
        font-size: 14px;
    }
}

@media (max-width: 520px) {
    .product-slider-dots {
        height: 50px;
    }
}

@media (max-width: 460px) {

    .product-slider.card-grid {
        width: 100%;
        margin: 0 auto;
    }

    .product-slider.card-grid .card {
        border-right: none;
        margin: 0;
    }
}

@media (max-width: 420px) {
    .product-slider.card-grid.compact {
        width: 318px;
    }
}

@media (max-width: 380px) {

    .product-slider.card-grid {
        height: 370px !important;
    }

    .product-slider.card-grid.compact {
        height: 306px !important;
    }

    .product-slider.card-grid .card {
        min-height: 370px !important;
    }

    .product-slider.card-grid.compact .card {
        min-height: 306px !important;
    }

    .product-card .product-price .price {
        font-size: 18px;
    }

    .product-card a.product-title-link {
        font-size: 14px;
    }

    .product-card .product-price .full-price,
    .product-card .product-price .discount-percent {
        font-size: 12px;
    }

    .product-card .product-basket-button .button {
        font-size: 14px;
    }

}

@media (max-width: 360px) {

    .product-card .shipping-date {
        font-size: 10px;
    }

    .product-slider.card-grid.compact {
        width: 278px;
    }

    .card.compact .product-card .product-basket-button .button {
        right: 15px;
        top: 189px;
        font-size: 12px;
        min-width: 20px;
        height: 20px;
        line-height: 20px;
        padding: 0 2px;
    }

    .block-filter {
    margin: 0 -10px;
    }
}

/*@media (max-width: 320px) {*/
/*.product-slider.card-grid .card {*/
/*width: 159px !important;*/
/*min-width: 159px !important;*/
/*max-width: 159px !important;*/
/*}*/
/*}*/

/** Страница товара **/
.product-page-content h3 {
    font-size: 1.125em;
    color: #6db33f;
    font-weight: normal;
}

.product-page-content h1 {
    margin: 0.5em 0 0.25em -2px;
}

.product-page-content .product-id {
    color: #666666;
    font-size: 13px;
}

.product-page-content .product-detail {
    margin-top: 30px;
}

.product-page-content .product-media {
    position: relative;
    float: left;
    width: 47%;
}

.product-page-content .product-images {
    text-align: center;
    font-size: 0;
    content: "";
}

.product-page-content .product-image-slider-for {
    width: 90%;
    max-width: 399px;
    max-height: 440px;
    /*max-height: 90%;*/
    margin: 0 auto;
    position: relative;
    visibility: hidden;
    transition: opacity 0.5s ease;
    -webkit-transition: opacity 0.5s ease;
}

.product-page-content .product-image-slider-for.fullscreen {
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.8);
    /*background: #ffffff;*/
}

.product-page-content .slider-for-item {
    width: 100%;
    height: 420px;
    /*line-height: 420px;*/
    position: relative;
    display: block;
    margin: auto 8px;;
    background: 50% 50% no-repeat;
    background-size: contain;
    cursor: pointer;
}

.product-page-content .product-image-slider-for.fullscreen .slider-for-item {
    height: 90vh;
    max-height: 90%;
    width: 90vw;
    max-width: 90%;
    cursor: initial;
    background-color: transparent;
}

.product-page-content .slider-for-item img {
    max-width: 100%;
    max-height: 100%;
    position: absolute;
    background: #ffffff;
    top: 50%;
    left: 50%;
    margin: auto;
    transform: translate(-50%, -50%);
    object-fit: contain;
}

.product-page-content .product-image-slider-for.fullscreen .slider-for-item img {
    max-width: calc(100% - 60px);
    max-height: calc(100% - 60px);
    border: 30px solid #ffffff;
}

.product-page-content .product-image-slider-nav {
    /*display: inline-table;*/
    /*vertical-align: middle;*/
    margin: 10px auto;
    height: 150px;
    max-width: 440px;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
    -webkit-transition: opacity 0.5s ease;
}

.product-page-content .slick-initialized {
    visibility: visible;
    opacity: 1;
}

.product-page-content .product-is-new-block {
    position: absolute;
    z-index: 1000;
    top: 1px;
    padding: 0 2px;
    left: 2px;
}

.product-page-content .product-is-new-block .product-is-new {
    background: #41ac00;
    color: #ffffff;
    padding: 2px 3px;
    font-size: 10px;
    font-weight: bold;
}

.product-page-content .product-is-sale-block {
    position: absolute;
    z-index: 1000;
    top: 0;
    padding: 0 2px;
    left: 0;
}

.product-page-content .product-is-sale-block .discount-percent {
    background: #ff7800;
    color: #ffffff;
    padding: 0 3px 0 4px;
    font-size: 12px;
    font-weight: bold;
}

.product-page-content .product-images .slider-nav-item-block {
    display: none;
    /*vertical-align: middle;*/
    width: 140px;
}

.product-page-content .product-images .slider-nav-item {
    /*border: 2px solid #dadada;*/
    box-shadow: 0 0 2px 2px rgba(234, 234, 234, 1);
    padding: 5px;
    width: 120px;
    height: 120px;
    margin: 5px auto;
    cursor: pointer;
    position: relative;
}

.product-page-content .product-images .slider-nav-item img {
    /*width: 100%;*/
    max-width: 120px;
    max-height: 120px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    /*position: relative;*/
}

.product-page-content .product-video-item {
    margin-top: 20px;
}

.product-page-content .product-data {
    margin-left: 47%;
    min-height: 440px;
    padding-left: 30px;
}

.product-data .product-price .price {
    font-size: 32px;
}

.product-data .product-price .full-price {
    color: grey;
    font-size: 18px;
    text-decoration: line-through;
}

.product-data .product-price .discount-percent {
    background: #ff7800;
    color: #ffffff;
    padding: 0 3px 0 5px;
    font-size: 14px;
    font-weight: bold;
}

.product-data .product-buy {
    margin-top: 30px;
    margin-bottom: 10px;
}

#product-buy  {
        opacity: 0;
    }

#product-buy .product-buy-variations {
        margin-bottom: -70px;
    }

.product-data .product-get-discount-text {
    font-size: 14px;
    margin-bottom: -10px;
}

.product-data .product-get-discount-text a {
    text-decoration: none;
}

.product-data .product-available {
    display: table;
    font-size: 16px;
    margin-top: 20px;
}

.product-data .not-available {
    color: #cccccc;
}

.product-data .product-buy a {
    display: inline-block;
}

.product-data .shipping-date {
    /*display: table;*/
    font-size: 16px;
    /*margin-top: 10px;*/
    /*text-align: left;*/
    cursor: default;
}

.product-data .product-available.not-available {
    margin-bottom: 10px;
}

.product-data .shipping-date .fa-shipping-fast {
    font-size: 14px;
}

.product-data .shops-count {
    margin-top: 10px;
    cursor: pointer;
    display: inline-block;
    position: relative;
}

.product-data .shops-count-error {
    color: #ff0000;
    margin-top: 10px;
    font-size: 14px;
}

.product-data .shops-count-text {
    border-bottom: 1pt dashed;
}

.product-data .shops-count-popbox {
    top: 0;
    width: 260px;
    display: none;
}

.product-data .shops-count-popbox {
    display: none;
    position: absolute;
    left: 0;
    z-index: 99;
    width: 248px;
    color: rgb(0, 0, 0);
    margin: 0;
    font-weight: normal;
    border: 1px solid #a5a5a5;
    box-shadow: #a5a5a5 0 0 10px 0;
    background: #ffffff;
    cursor: default;
}

.product-data .shops-count-popbox .select-shop {
    margin: 0;
    padding: 10px;
    text-align: left;
    font-size: 18px;
    line-height: 24px;
    color: #6db33f;
}

.product-data .shop-item {
    padding: 10px;
    background-color: #ffffff;
    border-top: 1px solid #d5e5d5;
    cursor: pointer;
}

.product-data .shop-item-count {
    color: #999999;
    font-size: 14px;
    font-weight: bold;
}

.product-data .shop-item:hover {
    background: #dff1d6;
}

.product-data .shop-item-info {
    line-height: 18px;
    text-align: left;
}

.product-variation {
    padding-top: 25px;
    box-sizing: border-box;
}

.product-variation-block {
    display: inline-block;
}

.product-image-property.selected {
    outline: #6db33f 1px solid;
    display: inline-block;
    box-sizing: border-box;
}

.product-image-property img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-image-property {
    width: 95px;
    height: 95px;
    margin: 10px 5px 0 5px;
    cursor: pointer;
    display: inline-block;
    border: rgba(0, 0, 0, 0.1) 1px solid;
    box-sizing: border-box;
}

.product-image-property img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-variation .select-property {
    font-weight: bold;
    display: block;
    margin-bottom: 2px;
}

.product-property-variation-block {
    display: inline-block;
}

.product-property-values-variations-block {
    display: inline-block;
    box-sizing: border-box;
}

.product-not-main-property {
    border: rgba(0, 0, 0, 0.1) 1px solid;
    padding: 5px;
    cursor: pointer;
    margin-top: 10px;
}

.product-property-values-variations-block a {
    text-decoration: none;
}

.product-property-values-variations-block .inactive,
.product-property-values-variations-block .inactive a {
    color: #d4d4d6;
    background: #f2f2f7 !important;
    border-color: #f2f2f7;
}

.product-property-values-variations-block .selected {
    outline: #6db33f 1px solid;
    box-sizing: border-box;
}

.product-image-property.client-choice {
    outline: #6db33f 3px solid;
}

.product-property-values-variations-block .client-choice {
    outline: #6db33f 2px solid;
}

.product-not-main-property-variations.client-choice {
    pointer-events: none;
}

.not-access {
    position:relative;
}

.not-access:before {
    content:'';
    position:absolute;
    display:block;
    width:auto;
    height:auto;
    left:0;
    top:0;
    right:0;
    bottom:0;
    background: rgba(0,0,0,0) url("/static/images/cross-block.18d02d47e515.svg") no-repeat;
    background-size:100%;
}

.product-image-property.not-access img,
.product-image-property.inactive img {
    opacity: 0.4;
}

#variation_breadcrumbs {
    pointer-events: none;
    color: #999;
    text-decoration: none;
}

.product-specific-fields {
    font-size: 16px;
    margin-top: 20px;
    display: table;
    border-collapse: collapse;
    width: 100%;
}

.product-specific-fields .field {
    display: table-row;
    height: 28px;
    line-height: 28px;

}

.product-specific-fields .label,
.product-specific-fields .value {
    display: table-cell;
}

.product-specific-fields .label {
    font-weight: bold;
    width: 180px;
}

.product-specific-fields .brand-title-link,
.product-specific-fields .value {
    vertical-align: bottom;
}

.product-specific-fields .brand-title-link .value {
    vertical-align: initial;
}

.product-specific-fields .value {
    padding-left: 10px;
}

.product-description {
    font-size: 16px;
}

.product-preview-link {
    display: table;
    margin: 20px auto 0;
}

.product-preview-link a {
    text-decoration: none;
    border-bottom: 1pt dashed;
}

/* Форма заказа в один клик */

#oneclick-form {
    display: none;
}

.form-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 10001;
    background: #000000;
    left: 0;
    top: 0;
    opacity: .8;
}

#oneclick-form .form {
    position: fixed;
    background: #ffffff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;
    height: max-content;
    display: inline-block;
    max-height: 90%;
    width: 360px;
    max-width: 100%;
    margin: 0;
    z-index: 10002;
    border-radius: 12px;
    -moz-border-radius: 12px;
    -webkit-border-radius: 12px;
}

#oneclick-form .close-button {
    position: absolute;
    top: 6px;
    right: 6px;
    cursor: pointer;
    font-size: 22px;
    line-height: 22px;
    height: 22px;
    width: 22px;
    color: #41ac00;
}

#oneclick-form .close-button:hover {
    color: #8fca00;
}

    #oneclick-form .shop-address {
    font-size: 22px;
    margin: 5px 10px;
    line-height: 22px;
    color: #6db33f;
    display: block;
}

#oneclick-form .shop-info {
    color: #666666;
    font-size: 14px;
    line-height: 18px;
}

#oneclick-form .basket-items {
    margin: 10px 0 0 0 !important;
}

#oneclick-form .basket-items .table .product-image {
    height: 60px !important;
}

#oneclick-form .basket-items .product-image img {
    max-height: 60px;
}

#oneclick-form .basket-items .product-title {
    max-width: 200px;
    overflow: hidden;
    padding: 5px 10px;
    line-height: 18px;
}

#oneclick-form .basket-items .product-title .title {
    display: -webkit-box;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

#oneclick-form .basket-items .price {
    font-size: 18px;
}

#oneclick-form form {
    padding: 10px 0 0;
}

#oneclick-form form input[type=submit] {
    margin: 15px 0;
}

#oneclick-form .form-agreement {
    font-size: 12px;
    line-height: 14px;
}

#oneclick-form .additional-info {
    font-size: 12px;
    text-align: initial;
    /*overflow-y: scroll;*/
    /*-ms-overflow-style: none;*/
    /*scrollbar-width: none;*/
}

#oneclick-form .additional-info p {
    margin: 5px 0;
}

/*#oneclick-form .form .additional-info::-webkit-scrollbar {*/
/*display: none;*/
/*}*/

@media (max-width: 980px) {

    .product-page-content .product-image-slider-nav {
        max-width: 330px;
    }
}

@media (max-width: 767px) {

    .product-page-content .product-detail {
        margin-top: 20px;
    }

    .product-page-content .product-media {
        position: relative;
        float: none;
        width: 100%;
        padding: 0;
    }

    .product-page-content .product-image-slider-for.fullscreen .slider-for-item {
        max-width: 100%;
        max-height: 100%;
        width: 100vw;
        height: 100vh;
        margin: 0 1px;
    }

    .product-page-content .product-image-slider-nav {
        display: none !important;
    }

    .product-page-content .product-data {
        margin: 20px auto 20px;
        overflow: unset;
        min-height: 320px;
        padding: 0;
    }

    .product-data .product-price-count {
        text-align: center;
    }

    .product-data .product-buy {
        display: inline-block;
        width: 100%;
        /*margin-top: 0;*/
    }

    #product-buy  {
        display: inline-block;
        opacity: 1;
    }

    #product-buy .product-buy-variations {
        display: inline-block;
        margin-bottom: 0;
        margin-top: 0;
    }

    .product-buy-variations .product-buy-block-hidden {
        position: fixed;
        bottom: -150px;
        transition: bottom .5s;
        -webkit-transition: bottom .5s ease 0s;
        -moz-transition: bottom .5s ease 0s;
        -o-transition: bottom .5s ease 0s;
        left: 0;
        width: 100%;
        z-index: 2;
        justify-content: space-between;
        background: #fff;
        padding: 10px;
        box-shadow: 0 2px 14px rgba(0, 0, 0, 0.16);
        text-align: center;
    }

    .product-buy-variations .product-buy-block-button {
        bottom: 0;
    }

    .product-data .product-available {
        margin: 20px auto 0;
    }

    .product-variation {
        text-align: center;
    }
}

@media (max-width: 480px) {

    .product-page-content .product-detail {
        margin-top: 10px;
    }

    .product-page-content .product-image-slider-for {
        max-width: 90%;
        line-height: 320px;
    }

    .product-page-content .slider-for-item {
        width: 90%;
        height: 320px;
        line-height: 320px;
        /*max-width: 90%;*/
    }

    .product-page-content .product-image-slider-for img {
        max-width: 100%;
        max-height: 100%;
    }

    #oneclick-form .basket-items .product-image {
        float: left;
    }

    #oneclick-form .basket-items .table td {
        height: 60px;
        line-height: 1.5em;
    }
}

@media (max-width: 489px) {
    .product-variations {
        text-align: center;
    }
}

@media (max-width: 380px) {
    #oneclick-form .form {
        max-width: calc(100% - 40px);
    }
}

/* Корзина */
.basket-items {
    /*overflow: auto;*/
    margin-top: 30px;
}

.basket-items .table {
    display: table;
    width: 100%;
    text-align: center;
}

.basket-items .table tr {
    height: 40px;
}

.basket-items .table tr a {
    margin: 0 auto;
}

.basket-items .table tr.basket-product-item {
    border-bottom: 1px dotted #18843b;
    height: 120px;
}

.basket-items .table tr.basket-product-item:first-child {
    border-top: 1px dotted #18843b;
}

.basket-items .table tr.basket-product-item:hover {
    background: #f8f8f8;
}

.basket-items .table tr.basket-total {
    height: 48px;
}

.basket-items .table .basket-total-price {
    font-size: 20px;
    font-weight: bold;
}

.basket-items .table th, td {
    vertical-align: middle;
    line-height: 24px;
    height: 24px;
    padding: 5px;
    position: relative;
}

.basket-items .table th.item-number {
    width: 20px;
}

.basket-items .table th.item-title,
.basket-items .table td.item-title {
    width: 60%;
    text-align: left;
    word-break: break-word;
}

.basket-items .table th.item-count,
.basket-items .table td.item-count {
    width: 10%;
    min-width: 110px;
}

.basket-items .table th.item-total,
.basket-items .table td.item-total {
    width: 25%;
    min-width: 85px;
    font-weight: bold;
}

.basket-items .table th.item-delete,
.basket-items .table td.item-delete {
    width: 5%;
}

.basket-items .table td.basket-product-title,
.basket-items .table td.product-info {
    padding: 5px;
    text-align: left;
}

.basket-items .table tr.basket-total td {
    vertical-align: bottom;
}

.basket-items .table .product-image {
    float: left;
    height: 80px;
    width: 60px;
    position: relative;
}

.basket-items .table .product-image img {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    max-width: 60px;
    max-height: 72px;
}

.basket-items .table .product-title {
    padding: 5px 5px 5px 75px;
}

.basket-items .table .product-id {
    font-size: 12px;
    color: #808080;
}

.basket-items .product-shop-count-error-text {
    font-size: 12px;
    line-height: 1.5em;
}

.basket-items .table td.item-total .price {
    white-space: nowrap;
    font-size: 18px;
}

.basket-items .table td.item-total .full-price {
    color: #808080;
    font-size: 14px;
    text-decoration: line-through;
    white-space: nowrap;
}

.basket-items .table td.item-total .total-discount {
    background: #ff7800;
    color: #ffffff;
    padding: 0 3px 0 5px;
    font-size: 12px;
    white-space: nowrap;
}

.basket-items .table input.input-count {
    border: 0;
    outline: 0;
    font-size: 16px;
    width: 28px;
    height: 24px;
    line-height: 24px;
    margin: 5px;
    vertical-align: middle;
    text-align: center;
}

.basket-items .table input.input-count::-webkit-outer-spin-button,
.basket-items .table input.input-count::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.basket-items .table input.input-count[type=number] {
  -moz-appearance: textfield;
}

.basket-items .table td a.action {
    display: inline-block;
    text-decoration: none;
    background: #f8f8f8;
    font-size: 24px;
    width: 24px;
    height: 24px;
    line-height: 24px;
    vertical-align: middle;
    border-radius: 50%;
}

.basket-items .table td a.action.delete {
    color: #ff6f6d;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
}

.basket-items .table td .button {
    margin-right: 0;
}

.basket-items .table td .count-alert,
.basket-items .table td .discount-alert {
    color: red;
    font-size: 12px;
    line-height: 12px;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: 20px;
}

/* Форма ввода промокода */
.promocode-form {
    margin-top: -48px;
}

.promocode-form form {
    padding: 0;
    width: 290px;
}

.promocode-form form .fieldWrapper {
    display: flex;
}

.promocode-form form .promocode-label {
    float: left;
    line-height: 40px;
    font-size: 16px;
    margin-right: 10px;
}

.promocode-form form input[type=text] {

    flex: 1;
    width: 160px;
}

.promocode-form form input::placeholder {
    color: #999999;
}

.promocode-form form input:invalid {
    box-shadow: none;
}

.promocode-form form input[type=submit] {
    background: #e8f3e2;
    color: #666666;
    height: 40px;
    margin: 0;
    min-width: 100px;
    width: 100px;
    font-size: 14px;
    font-family: "Montserrat", sans-serif;
    border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
}

.promocode-form form input[type=submit]:hover {
    background: #e2f3d8;
}

.promocode-form .promocode-message {
    margin-top: 15px;
}

.promocode-form .promocode-active {
    position: relative;
    height: 40px;
    line-height: 40px;
}

.promocode-form .promocode-active a {
    text-decoration: none;
}

.promocode-form .promocode-active button {
    border: none;
    text-decoration: none;
    background: #f8f8f8;
    border-radius: 50%;
    cursor: pointer;
}

.delivery-type-select {
    text-align: right;
    line-height: 36px;
    margin: 30px 80px 30px 0;
}

.delivery-type-caption {
    display: inline-block;
    font-size: 18px;
    font-weight: bold;
    line-height: 36px;
    margin-right: 5px;
}

.delivery-type-selection {
    display: inline-block;
    position: relative;
    cursor: pointer;
    width: 264px;
    text-align: left;
    border: 1px solid #cccccc;
    background: #f6f6f6;
}

.delivery-type-selection:hover {
    background: #dff1d6;
}

.delivery-type-selected {
    padding: 0 5px;
}

.delivery-type-popbox {
    background: #ffffff;
    border: 1px solid #cccccc;
    box-shadow: #aaaaaa 0 0 2px 0;
    position: absolute;
    left: 0;
    top: -1px;
    text-align: left;
    width: 264px;
    z-index: 99;
}

.delivery-type-item {
    line-height: 36px;
    padding: 0 5px;
}

.delivery-type-item:hover {
    background: #dff1d6;
}

.delivery-type-item a {
    display: block;
    text-decoration: none;
}

.basket-count-error-text {
    margin: -10px auto 20px;
}

.basket-items .checkout-link {
    margin-right: 80px;
    text-align: right;
    margin-top: 40px;
}

.basket-items .checkout-link .button {
    display: inline-block;
    width: 240px;
}

.basket-items .checkout-link div.button {
    background: #cccccc;
}

@media (max-width: 767px) {

    .promocode-form {
        margin-top: 20px;
    }

    .promocode-form form {
        margin: 0 auto;
        width: calc(100% - 40px);
        min-width: 280px;
        max-width: 440px;
    }

    .promocode-form form .promocode-label {
        float: unset;
    }

    .promocode-form form .fieldWrapper {
        margin-right: 0;
    }

    .promocode-form .promocode-active,
    .promocode-form .promocode-info {
        text-align: center;
    }

    .delivery-type-selection {
        display: block;
        font-size: 16px;
        max-width: 436px;
        min-width: 276px;
        margin: 10px auto;
        width: calc(100% - 40px);
    }

    .delivery-type-select {
        text-align: center;
        margin: 30px auto 0;
    }

    .delivery-type-popbox {
        width: 100%;
    }

    .basket-items .checkout-link {
        margin: 40px auto 0;
        text-align: center;
        width: 100%;
    }

    .basket-items .checkout-link .button {
        width: calc(100% - 64px);
        max-width: 416px;
        min-width: 256px;
    }
}

@media (max-width: 600px) {
    .basket-items .table td a.action {
        margin: 0 2px;
    }
}

@media (max-width: 480px) {

    .basket-items .table th.item-count,
    .basket-items .table td.item-count {
        min-width: 45px;
    }

    .basket-items .table tr.basket-product-item {
        height: 140px;
    }

    .basket-items .table td {
        position: relative;
        height: 72px;
    }

    .basket-items .table tr.basket-total td,
    .basket-items .table tr.basket-discount td {
        height: 48px;
    }

    .basket-items .table .product-image {
        float: none;
    }

    .basket-items .table .product-title,
    .basket-items .table .product-id {
        padding: 0;
    }

    .basket-items .table td a.action,
    .basket-items .table td span.item-count {
        display: block;
        margin: 0 auto;
    }

    .basket-items .table td .count-control {
        position: relative;
    }

    .basket-items .table td a.action.add,
    .basket-items .table td a.action.reduce {
        position: absolute;
        left: 0;
        right: 0;
    }

    .basket-items .table td a.action.add {
        top: -25px;
    }

    .basket-items .table td a.action.reduce {
        bottom: -25px;
    }

    .basket-items .table td .count-alert {
        line-height: 16px;
        max-height: 32px;
        bottom: 5px;
    }

}

@media (max-width: 380px) {
    .basket-items {
        margin: 0 -10px;
        font-size: 14px;
    }
}

/**   Оформление заказа **/
#form #checkout-form .shipping-rate {
    max-width: 320px;
    padding: 0 5px;
    line-height: 40px;
    font-size: 16px;
    margin: 5px;
    text-align: left;
}

#form #checkout-form .submit-block .back-to-basket-link {
    margin-right: 20px;
}

/**  Блоки товаров **/
.comment-page h2,
.product-block h2,
.product-page-content h2 {
    font-size: 24px;
    color: #0e5150;
    padding-top: 10px;
    font-weight: bold;
}

/**  Избранное **/

.icon-heart {
    color: #ff7800;
    padding-left: 10px;
    font-size: 25px;
    display: inline-block;
    vertical-align: sub;
    cursor: pointer;
    background: white;
    border-radius: 50%;
}

.card.compact .icon-heart {
    position: absolute;
    right: 2px;
    top: 5px;
    font-size: 20px;
    padding: 0 4px;
}


@media (max-width: 767px) {

    .product-block h2 {
        padding-top: 0;
        margin-top: 0;
    }

    .card .icon-heart {
        position: absolute;
        right: 0;
        top: -2px;
        font-size: 20px;
        padding: 4px 4px;
    }

    .block-gray-bg{
        display: block;
    }

    .title-favorite {
        margin: 0.5em 0 0.25em -2px;
    }

    .lk-favorite-content .catalog-sort-filter {
        margin-top: 0;
    }

    .lk-favorite-content ul.pagination {
        margin-top: 15px;
        margin-bottom: -5px;
    }
}

/**  Комментарии и рейтинг товара **/

.page-content .button-write-comment {
    margin-top: 1.25em;
}

.page-content .comment-item,
.page-content .good-comment {
    word-break: break-word;
    overflow: hidden;
}

.comment {
    margin-top: 25px;
    border-bottom: 1px solid #e8e8e8;
    position: relative;
    max-width: 960px;
}

.page-content .answer-item-content {
    position: relative;
    vertical-align: middle;
    display: block;
    width: 100%;
    margin: 0 auto;
}

.page-content .comment-with-photo {
    margin-top: 4px;
}

.page-content .comment-with-photo .answer-item-text {
    margin-bottom: 0;
}

.page-content .hide-block {
    position: absolute;
    top: -9999px;
    left: -9999px;
}

.page-content .answer-item-content .comment-author {
    max-width: fit-content;
    margin-bottom: 10px !important;
}

.page-content .comment-answer-text p {
    margin: 0;
}

.comment .comment-with-photo-form {
     padding: 16px 0 14px 0;
}

.comment .comment-with-photo-form.comment-with-photo-without-answer {
    padding-top: 20px;
    margin-bottom: -10px;
}

.page-content .like-block {
    margin: 0 10px 14px 0;
    font-size: 12px;
    display: inline-block;
}

.my-comments .like-block,
.good-comment .like-block {
    display: block;
}

.like-block .like {
    color: #0e5150;
    width: 15px;
}

.like-block:hover .like {
    font-size: 1.125em;
}

.like-block {
    cursor: pointer;
    max-width: 140px;
}

.like-block .like-text {
    font-weight: bold;
    color: #0e5150;
}

.comment-author {
    font-size: 1.125em;
    color: #6db33f;
    font-weight: normal;
    margin: 0 !important;
    max-width: 40%;
}

.comment-top-wrap {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.comment-top-wrap .comment-created-rating {
    align-items: center;
    display: table;
    margin-left: 16px;
    text-align: right;
}

.comment-created-rating .fa-star-half,
.comment-created-rating .fa-star {
     color: #ff7800;
}

.product-comment-created .comment-created-rating {
    align-items: center;
    display: flex;
    margin-left: 16px;
}

.comment-created {
    margin-right: 16px;
    margin-left: 16px;
    color: #cccccc;
    font-size: 12px;
}

.comment-top-wrap .comment-created {
    display: table-footer-group;
}

.comment-top-wrap .fa-star-half,
.comment-top-wrap .fa-star {
    margin-bottom: 4px;
}

.comment-created-rating .fa-stack {
    height: 1.2em;
    width: 1em;
}

.product-comment-created .product-id {
    display: inline-block;
}

.product-comment-created .comment-created-rating {
    display: inline-block;
}

.product-comment-created .comment-created-rating {
    margin-left: 16px;
    font-size: 13px;
    font-weight: bold;
}

.product-comment-created a {
    border-bottom: dotted;
    color: #cccccc;
    text-decoration: none;
}

.all-good-comment-images {
    position: relative;
}

.all-good-comment-images .comment-image-item,
.comment .comment-image{
    width: 120px;
    height: 120px;
    position: relative;
    cursor: pointer;
}

.comment .comment-image {
    border: rgba(0, 0, 0, 0.1) 1px solid;
}

.all-good-comment-images .comment-image-item img,
.comment-image-item img,
.comment-image img {
    margin-top: 45px;
}

.all-good-comment-images .comment-image-item .lazyloaded,
.comment-image-item .lazyloaded,
.comment-image .lazyloaded {
    width: 120px;
    height: 120px;
    object-fit: cover;
    margin: auto;
}

.comment-images-block {
    text-align: center;
    padding: 20px;
    position: relative;
    max-width: 960px;
}

/** Слайдер для увеличенных фотографий от клиентов **/

.comment-image-slider,
.all-good-comment-images-fullscreen {
    display: none;
}

.comment-image-slider.fullscreen .slick-list,
.all-good-comment-images-fullscreen.fullscreen .slick-list {
    top: 50%;
    transform: translate(0, -50%);
}

.comment-image-slider.fullscreen .slick-prev,
.all-good-comment-images-fullscreen.fullscreen .slick-prev {
    left: 10px;
}

.comment-image-slider.fullscreen .slick-next,
.all-good-comment-images-fullscreen.fullscreen .slick-next {
    right: 10px;
}

.comment-image-slider.fullscreen .slick-close,
.all-good-comment-images-fullscreen.fullscreen .slick-close {
    font-size: 30px;
    line-height: 0;
    position: absolute;
    top: 8px;
    right: 10px;
    display: block;
    width: 30px;
    height: 30px;
    padding: 0;
    cursor: pointer;
    z-index: 10;
    color: #41ac00;
    border: none;
    outline: none;
    opacity: 0.8;
    background: transparent;
}

.comment-image-slider.fullscreen .slick-close:hover,
.all-good-comment-images-fullscreen.fullscreen .slick-close:hover {
    color: #8fca00;
    opacity: 1;
}

.comment-image-slider.fullscreen,
.all-good-comment-images-fullscreen.fullscreen {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.8);
}

.comment-image-slider.fullscreen .slider-for-item,
.all-good-comment-images-fullscreen.fullscreen .slider-for-item {
    height: 90vh;
    max-height: 90%;
    width: 90vw;
    max-width: 90%;
    cursor: initial;
    background-color: transparent;
}

.comment-image-slider.fullscreen .slider-for-item img,
.all-good-comment-images-fullscreen.fullscreen .slider-for-item img {
    max-width: calc(100% - 60px);
    max-height: calc(100% - 60px);
    border: 30px solid #ffffff;
}

/**  Форма добавления комментария к товару **/

.feedback-form-page-content .user-not-authenticated {
    margin-top: 1.875em;
}

.comment-good-image-title {
    align-items: center;
    display: flex;
    justify-content: flex-start;
    max-width: 40em;
    padding-top: 0.9375em;
}

.comment-good-image {
    width: 7.5em;
    height: auto;
    padding-right: 1.75em;
}

.comment-good-image img {
    max-height: 120px;
}

.comment-good-title {
    color: #0e5150;
    font-size: 1.25em;
    max-width: 26.25em;
}

.client-good-rating {
    padding-top: 1.5em;
}

.feedback-form-page-content .title {
    padding-bottom: 1em;
    font-weight: bold;
    padding-left: 0.3125em;
}

.client-good-rating .fa-star {
    font-size: 1.5em;
    cursor: pointer;
    color: #cccccc;
}

.feedback-form-page-content .comments {
    padding-bottom: 0;
}

.comment-good .form {
    text-align: -webkit-left;
    background: none;
    margin: 0;
    padding: 0 20px 20px 0;
}

.comment-good .form-fields {
    display: flex;
    flex-direction: column;
}

.comment-good form .fieldWrapper {
    height: inherit;
    padding-bottom: 1.25em;
}

.comment-good .fieldWrapper label {
    text-align: left;
    display: flex;
    font-weight: bold;
}

.comment-input-file-block {
    position: relative;
    margin: 0 6px 5px 4px;
    display: flex;
    order: 1;
}

.comment-input-file {
    position: relative;
    z-index: 1;
    width: 120px;
    height: 120px;
    min-width: 120px;
    min-height: 120px;
    cursor: pointer;
    background: #eae5e5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: 33px;
    margin-right: 6px;
    margin-left: 2px;
}

.comment-input-file span {
    font-size: 14px;
    color: #afaeaa;
    margin-top: 2px;
}

.comment-input-file input {
    opacity: 0;
    width: 120px;
    height: 120px;
    cursor: pointer;
    position: absolute;
}

.comment-input-file-block .fa-camera {
    color: #afaeaa;
}

.input-title {
    font-size: 14px;
}

.input-file-button {
    margin-left: 36px;
    align-items: center;
    justify-content: center;
    display: flex;
    cursor: pointer;
}

.comment-input-file-block:hover .input-file-button,
.comment-input-file-block:hover span,
.comment-input-file-block:hover .fa-camera {
    color: #41ac00;
}

.comment-images-form {
    margin-top: 10px;
    border: none;
    display: flex;
    flex-wrap: wrap;
}

.comment-images-form .comment-image {
    margin-left: 14px;
}

.comment-images-form .block {
    position: relative;
    border: none;
    margin-bottom: 14px;
}

.block .comment-image {
    border: none;
    width: 120px;
    height: 120px;
    object-fit: cover;
    margin: auto;
}

#form-add-comment .close-btn {
    position: absolute;
    background: white;
    border-radius: 50%;
    color: #00853e;
    margin-top: 2px;
    margin-right: 2px;
    right: 0;
    font-weight: bold;
    top: 0;
    font-size: 26px;
    line-height: 16px;
    cursor: pointer;
}

#form-add-comment .clear {
    clear: both;
}

#form-add-comment .limit-upload {
    display: none;
    color: red;
    font-size: 14px;
    padding: 7px;
}

.comment-good .button {
    margin: 20px 5px;
}

.comment-good .form-agreement {
    width: 320px;
    padding: 7px;
    margin-top: 0;
}

.rating-input:nth-of-type(1):hover ~ .rating-star:nth-of-type(1),
.rating-input:nth-of-type(2):hover ~ .rating-star:nth-of-type(-n+2),
.rating-input:nth-of-type(3):hover ~ .rating-star:nth-of-type(-n+3),
.rating-input:nth-of-type(4):hover ~ .rating-star:nth-of-type(-n+4),
.rating-input:nth-of-type(5):hover ~ .rating-star:nth-of-type(-n+5) {
    color: #ff7800;
}

.rating-input:nth-of-type(1):checked ~ .rating-star:nth-of-type(1),
.rating-input:nth-of-type(2):checked ~ .rating-star:nth-of-type(-n+2),
.rating-input:nth-of-type(3):checked ~ .rating-star:nth-of-type(-n+3),
.rating-input:nth-of-type(4):checked ~ .rating-star:nth-of-type(-n+4),
.rating-input:nth-of-type(5):checked ~ .rating-star:nth-of-type(-n+5) {
    color: #ff7800;
}

.page-content .thanks-feedback {
    display: none;
}

@media (max-width: 767px) {

    .template-newspage .comment-page #form-add-comment,
    .template-articlepage .comment-page #form-add-comment {
        margin-bottom: -10px;
    }
}

@media (max-width: 640px) {

    .client-good-rating {
        padding-left: 0;
    }

    .comment-good .form {
        display: contents !important;
    }

    .comment-good .form-fields {
        display: block !important;
    }

    .input-wrapper .input-file-button {
        margin-top: 1.5em;
        margin-bottom: 1.375em;
    }
}

@media (max-width: 520px) {
    .comment .comment-created {
        font-size: smaller;
        margin-left: 0;
    }
}

@media (max-width: 504px) {

    .comment-good-image-title {
        display: initial !important;
    }
}

@media (max-width: 412px) {

    .product-comment-created .comment-created-rating {
        display: block;
        margin-left: 0;
        margin-top: 0.5em;
    }
}

/**  Отзывы в личном кабинете  **/

.lk-comments-content h1 {
    margin: 1em 0 0.5em -2px;
}

.lk-comments-content .comment-created-rating {
    padding-top: 24px;
}

.lk-comments-content .pagination {
    margin: 0;
}

.lk-comments-content .comment {
    margin-top: 16px;
}

.lk-comments-content .comment-top-wrap {
    margin-top: 25px;
}

.lk-comments-content .comment-top-wrap .comment-created-rating {
    padding-top: 0;
    text-align: right;
}

.lk-comments-content .comment-good-title:hover {
    color: #41ac00;
}

.lk-comments-content .comment-status {
    float: right;
    font-size: 12px;
    font-weight: bold;
    margin-top: 10px;
}

.lk-comments-content .comment-status.published {
    color: #41ac00;
}

.lk-comments-content .comment-status.waiting {
    color: #ff7800;
}

.lk-comments-content .comment-status.not-published {
    color: #cccccc;
}

.comments-moderation .moderation-buttons {
    display: flex;
    justify-content: space-around;
    -webkit-align-content: space-around;
    max-width: 250px;
    margin-top: 18px;
    margin-bottom: 18px;
}

.comments-moderation .delete-comment {
    background-color: #ff7800;
}

.comments-moderation .delete-comment:hover {
    background: #ffbb33;
}

.comments-moderation .inactive-button {
    background-color: #cccccc;
    pointer-events: none;
}

.comments-moderation .delete-comment.inactive-button .button-text {
    color: #ff7800 !important;
}

.comments-moderation .approve-comment.inactive-button .button-text {
    color: #00853e !important;
}

.comments-moderation .comment-author {
    margin-bottom: 0;
}

@media (max-width: 504px) {

    .lk-comments-content .comment-top-wrap {
        margin-bottom: 10px;
    }

    .lk-comments-content .comment-status {
        margin-top: 0;
    }
}

/**  Адмистрирование/управление в личном кабинете  **/

.lk-admin-content .admin-field {
    border-top: 1px dotted #18843b;
    padding-top: 16px;
    font-size: 22px;
}

.lk-admin-content .admin-field.last {
    border-bottom: 1px dotted #18843b;
    padding-bottom: 16px;
}

.lk-admin-content .admin-field a {
    text-decoration: none;
}

.comment-good-image-title .product-title-link {
    text-decoration: none;
}

.comment-good-image-title.page-image-title {
    padding-top: 0;
}

.page-image-title .comment-good-title {
    margin: 0.5em 0 0;
}

.lk-comments-content .comment-answer {
    width: fit-content;
    color: #999999;
    font-weight: bold;
    font-size: 12px;
    border-bottom: dotted;
    cursor: pointer;
    display: inline-block;
}

.lk-comments-content .comment-answer.clicked {
    margin-bottom: 0;
}

.lk-comments-content .comment-with-new-answer form {
    padding: 0 0 12px 0;
}

.lk-comments-content .hidden-answer {
    display: none;
}

.lk-comments-content .comment-with-new-answer .like-block {
    margin-top: 14px;
}

.lk-comments-content .answer-block-with-form form {
    display: none;
    padding-top: 0;
    padding-bottom: 18px;
}

.lk-comments-content .answer-block-with-form .like-block {
    margin-bottom: 0;
}

.lk-comments-content textarea::placeholder {
    font-size: 14px;
}

.lk-comments-content form .fieldWrapper {
    display: block;
    height: inherit;
}

.lk-comments-content form .fieldWrapper textarea {
    width: 95%;
    max-width: 95%;
    margin: 0;
    font-size: 14px;
    font-family: "Montserrat", sans-serif;
    overflow-wrap: break-word;
}

.lk-comments-content .answer-block-edit form {
    display: none;
    padding-top: 0;
}

.lk-comments-content .answer-block-edit {
    margin-bottom: -13px;
}

