.kvit-archive-section {
    padding-top: 20px;
    padding-bottom: 40px;
}

h1.product_title {
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
}

.ks-style .price {
    display: inline-block;
    font-size: 14px;
    margin-bottom: 20px;
    color: #757575;
}

.ks-style .price::before {
    content: '';
    position: absolute;
    right: 0;
    top: 6px;
    width: 15px;
    height: 15px;
}
.price del {
    display: inline-block;
    margin-right: 33px;
}
.entry-summary .product_meta {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
}
.entry-summary .product_meta * {
    font-size: 12px;
    font-weight: 400;
    text-decoration: none;
}
.price * {
    text-decoration: none;
}
.price del .woocommerce-Price-amount {
    text-decoration: line-through;
}

.ks-style .quantity {
    display: none;
    position: absolute;
    opacity: 0;
    z-index: -1;
    pointer-events: none;
}

.ks-style .quantity label {
    display: none;
}

.ks-style .quantity input {
    width: 40px;
    padding: 5px 5px 5px 5px;
    text-align: center;
    -webkit-appearance: none;
    appearance: none;
    -moz-appearance:textfield;
}

.ks-style .quantity .minus,
.ks-style .quantity .plus {
    font-size: 25px;
    line-height: 1;
}

/*Убрать стандартные стрелочки*/
.ks-style .quantity input::-webkit-outer-spin-button,
.ks-style .quantity input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0;
    /* <-- Apparently some margin are still there even though it's hidden */
}

.ks-style button[type="submit"],
.wc-proceed-to-checkout a,
#order_review button {
    background-color: #000;
    border: none;
    color: #fff;
    padding: 7px 20px;
    margin-top: 0px;
    margin-bottom: 10px;
    transition: all 0.3s;
    font-size: 12px;
    line-height: 20px;
    min-width: 140px;
}

.ks-style button[type="submit"]:hover,
.wc-proceed-to-checkout a:hover,
#order_review button:hover {
    background-color: #444;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.2);
}

.ks-style .woocommerce-variation-add-to-cart {
    padding-top: 20px;
    padding-bottom: 20px;
    display: flex;
    align-items: center;
}

.kvit-product .button.product_type_variation {
    display: none!important;
}
/*=============Фото товара=============*/
.ks-style ol.flex-control-nav {
    margin: 5px 0px 10px 0px;
    padding: 0;
    list-style-type: none;
    display: flex;
    justify-content: space-between;
}

.ks-style ol.flex-control-nav li {
    flex-grow: 1;
    flex-basis: 0; 
    flex-shrink: 1;
    margin-right: 2px;
    cursor: pointer;
    transition: all 0.4s;
}

.ks-style ol.flex-control-nav li:hover {
    opacity: 0.7;
}

.ks-style ol.flex-control-nav li:last-child {
    margin-right: 0px;
}

form.cart {
    margin-bottom: 15px;
}
/*==========Стили цены==========*/
.ks-style .woocommerce-variation-price .price {
    /*font-size: 25px;*/
}

.ks-style .woocommerce-variation-price .price del {
    margin-right: 10px;
    color: #929292;
    text-decoration: none;
    position: relative;
}
.ks-style .woocommerce-variation-price .price ins {
    text-decoration: none;
}


/*Стили атрибутов вариаций*/
#primary .ks-style #pa_razmer + .thwvsf-wrapper-ul li.thwvsf-tooltip,
#primary .ks-style #pa_sostav + .thwvsf-wrapper-ul li.thwvsf-tooltip {
    box-shadow: 0px 0px 0px rgba(0,0,0,0.0);
    font-size: 12px!important;
    width: auto!important;
    padding: 0 5px;
    background-color: transparent;
    border-radius: 0px;
    margin-right: 10px;
    border: 1px solid #d1d5db;
}
#primary .ks-style #pa_razmer + .thwvsf-wrapper-ul li.thwvsf-tooltip:hover,
#primary .ks-style #pa_sostav + .thwvsf-wrapper-ul li.thwvsf-tooltip:hover {
    border-color: #000;
}
#primary .ks-style #pa_razmer + .thwvsf-wrapper-ul li.thwvsf-selected,
#primary .ks-style #pa_sostav + .thwvsf-wrapper-ul li.thwvsf-selected { 
    box-shadow: none
    font-weight: 700;
    text-decoration: none;
    border-color: #000;
}
#primary .ks-style #pa_razmer + .thwvsf-wrapper-ul li {
    margin-top: 0;
}
.thwvsf-wrapper-ul .thwvsf-wrapper-item-li {
    border-radius: 0px;
}
.thwvsf-wrapper-ul .thwvsf-item-span.item-span-text {
    font-size: 12px!important;
}

/*==========Увеличение картинки кнопка=========*/
.ks-style .woocommerce-product-gallery {
    position: relative;
}

.ks-style .woocommerce-product-gallery__trigger {
    position: absolute;
    right: 0px;
    top: 0px;
    width: 40px;
    height: 40px;
    z-index: 5;
    text-decoration: none;
    /*  position: relative;*/
}

.ks-style .woocommerce-product-gallery__trigger::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(https://www.katerinakvit.com/wp-content/uploads/2019/10/icons-serch.png) no-repeat;
    background-position: center;
    -webkit-background-size: 70%;
    background-size: 70%;
    background-color: #f1f1f1;
}

/*==========Увеличение картинки кнопка//=========*/

/*Сообщение после добавления товара в корзину*/
/*.woocommerce-notices-wrapper {
    padding: 15px 0px 15px;
}*/

.woocommerce-message a,
.shop_table .coupon button,
.shop_table .actions button,
.ks-form-cupon button {
    display: inline-block;
    padding: 3px 10px;
    border: 1px solid #000;
    text-decoration: none;
    background-color: #fff;
    transition: all 0.4s;
    margin-right: 15px;
    color: #000;
}

@media (min-width: 990px) {
    .woocommerce-message a:hover,
    .shop_table .coupon button:hover,
    .shop_table .actions button:hover,
    .ks-form-cupon button:hover {
        color: #fff;
        background-color: #000;
    }
}


/*+++++++*/


.ks-style .onsale {
    margin-top: 10px;
    padding-bottom: 0px;
    border-bottom: 2px solid #000;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 10px;
    font-size: 18px;
}

.ks-block-breadcrumb {
    padding-top: 20px;
    padding-bottom: 10px;
}

/*===========Выбор ввариаций===========*/

.ks-style table.variations {
    margin-bottom: 0px;
    position: relative;
}
.ks-style table.variations .label {
    padding-right: 20px;
    width: 130px;
    text-align: left;
}

.ks-style table.variations .value select {
    border-color: #a2a2a2;
    padding: 3px;
}

.ks-style table.variations td {
    padding-bottom: 0px;
}

.variations .value {
    position: relative;
}
.ks-style table.variations .reset_variations {
    display: none!important;
    margin-top: 5px;
    padding-left: 0px;
    background-color: transparent;
    outline: none;
    border: none;
    text-decoration: none;
    padding: 0px 0px 0px 0px;
    color: #8e8e8e;
    transition: all 0.4s;
}

.ks-style table.variations .reset_variations:hover {
    color: #000;
}


/*==================Табы==================*/
.ks_my_tabss {
    margin-top: 30px;
}

.ks_my_tabss .tabs__caption {
    display: flex;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.ks_my_tabss .tabs__caption li {
    padding: 10px 20px;
    border: 1px solid #ececec;
    border-bottom: none;
    background-color: #fff;
    margin: 0;
    transition: all 0.4s;
    cursor: pointer;
}

.ks_my_tabss .tabs__caption li:hover {
    background-color: #ececec;
}

.ks_my_tabss .tabs__caption li.active {
    background-color: #ececec;
}

.ks_my_tabss .tabs__content {
    border: 1px solid #ececec;
    padding: 15px;
}

.ks_my_tabss .tabs__content h2 {
    display: none;
}

.ks_my_tabss .shop_attributes p {
    margin-bottom: 0px;
}

.ks_my_tabss .shop_attributes th,
.ks_my_tabss .shop_attributes td {
    padding-bottom: 5px;
}

.ks_my_tabss .shop_attributes th {
    padding-right: 10px;
}


/* Детали товара Атрибуты */
#details-ks {
    margin: 0px;
}
#details-ks * {
    font-size: 12px;
    font-weight: 400;
}
#details-ks th {
    font-weight: 400;
}
#details-ks h2 {
     display: none;
}
#details-ks table.shop_attributes td {
    vertical-align: middle;
    padding: 3px 10px;
}
#details-ks table.shop_attributes td p {
    margin: 0px;
}

#ks_apsel {
    margin: 30px 0px;
}
.summary .product_meta {
    margin-bottom: 10px;
}
.summary .sku_wrapper {
    margin-bottom: 10px;
}

/*==========================Оформление одного продукта конец==========================*/

/***************************************************************************
**************************************************************************
**************************************************************************
**************************************************************************
**************************************************************************
***************************************************************************/

/*==========================Страница вывода товаров==========================*/

/*Плагин переключения валюты*/
#ks-woo-price {
    margin: 0px 0px 5px;
}
.currency-activ {
    font-weight: 700;
}
#ks-woo-price a {
    display: inline-block;
    margin-right: 15px;
    text-decoration: none;
    font-size: 12px;
}
#ks-woo-price .dd-selected-image, #ks-woo-price .dd-option-image  {
    max-width: 20px;
    height: auto;
    margin: 0 5px 0 0;
}
#ks-woo-price label {
    line-height: 1.3!important;
    font-size: 13px;
}
#ks-woo-price .dd-selected, #ks-woo-price .dd-option {
    padding: 5px;
    padding-right: 10px;
    display: flex;
    align-items: center;
}
#ks-woo-price .dd-pointer {
    right: 6px;
}
#ks-woo-price .dd-options li {
    margin-bottom: 0px;
}
#ks-header .menu-open #ks-woo-price label {
    color: #000!important;
}

/*===========Оформление пагинации===========*/
.woocommerce-pagination .page-numbers {
    padding: 0;
    margin: 0;
    list-style-type: none;
    display: flex;
    align-items: flex-start;
}

.product-div .onsale {
    display: none!important;
}

#page-ks .social-block {
    flex-direction: column;
}

#page-ks .language {
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    margin-top: 3px;
    margin-bottom: 55px;
}

.serch {
    font-size: 18px;
    padding-top: 5px;
    padding-bottom: 5px;
}

#page-ks .cart-menu {
    text-transform: uppercase;
    font-size: 18px;
    margin-top: 10px;
    margin-bottom: 33px;
}

/*=====================Меню категорий=====================*/
.categori-menu {
    position: relative;
}

/*Конец полоски между колонками*/

.categori-menu ul {
    padding-top: 10px;
    padding-bottom: 10px;
    margin-bottom: 10px;
    padding-left: 0;
    -moz-column-count: 3; /* Firefox */
    -webkit-column-count: 3; /* Safari and Chrome */
    column-count: 3;
}

.categori-menu ul li {
    margin-bottom: 0px;
    position: relative;
    list-style-type: none;
}

.categori-menu ul a {
    color: #000;
    font-size: 12px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 400;
    display: inline-block;
    position: relative;
    padding: 5px;
    line-height: 1.6;
}

.categori-menu ul a::before {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 5px;
    right: 5px;
    background-color: #a3a3a3;
    transition: all 0.4s;
    transform: scaleX(0);
    width: 94%;
    height: 1px;
    transform-origin: 0%;
}

.categori-menu ul a:hover::before {
    transform: scaleX(1);
}

/*Стили для активного пункта категорий*/
.categori-menu .categori-active {
    background-color: #000;
    color: #fff;
}

.categori-menu .categori-active::before {
    display: none;
}

@media (max-width: 1200px) {
    .categori-linea-1 {
        left: 225px;
    }

    .categori-linea-2 {
        left: 452px;
    }
}

@media (max-width: 480px) {
    .categori-menu ul {
        -moz-column-count: 2; /* Firefox */
        -webkit-column-count: 2; /* Safari and Chrome */
        column-count: 2;

    }
}

/*=====================Меню категорий конец стилей=====================*/

/*Слайдер категорий*/
.categori-slaid {
    min-height: 260px;
    position: relative;
}

.categori-slaid * {
    color: #fff;
}

.categori-title {
    font-size: 36px;
    text-align: center;
    text-transform: uppercase;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
}
.categori-title a {
    font-weight: 300;
    text-decoration: none;
    outline: none;
}
.categori-title a:hover {
    color: #fff;
}

.categori-link {
    position: absolute;
    left: 0px;
    bottom: 20px;
    width: 100%;
    text-align: center;
}

.categori-link a {
    transition: all 0.4s;
    text-decoration: none;
}

.categori-link a:hover {
    color: #fff;
    opacity: 0.8;
    text-decoration: none;
}

.categori-link i {
    font-size: 12px;
}

.categori-slaid img {
    /*position: absolute;
    top: 0;
    left: 0;*/
    height: 100%;
    width: 100%;
    /*object-fit: cover;*/
}

.categori-overlay {
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=0);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.z-top {
    z-index: 10;
}

/*===============Стрелочки===============*/
.slick-slider .arrow {
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
    z-index: 10;
    width: 65px;
    height: 65px;
    border: none;
    transition: all 0.3s;
    color: #fff;
    background-color: #000;
    font-size: 28px;
}

.slick-slider .arrow:focus {
    border: none;
    outline: none;
}

.slick-slider .arrow:hover {
    opacity: 0.5;
}

.slick-slider .prev {
    left: 0px;
}

.slick-slider .next {
    right: 1px;
}

/*Стрелочки*/


/*=========================Страница товаров=========================*/
.categori-head {
    padding-top: 15px;
    padding-bottom: 15px;
    display: grid; 
    grid-template-columns: 1fr 2fr 1fr;
    grid-gap: 10px;
    align-items: center;
}

@media (max-width: 768px) {
    .categori-head {
        grid-template-columns: 1fr 1fr;
    }   
    .title-product-categori {
        grid-column-start: 1;
        grid-column-end: 3;
        grid-row-start: 2;
        grid-row-end: 3;
    }
}

.go-beck a {
    font-size: 16px;
    color: #000;
    font-weight: 400;
    display: block;
    padding-top: 0px;
}

.go-beck a:hover {
    text-decoration: none;
    color: #343434;
}
.go-beck i {
    font-size: 14px;
    display: inline-block; 
    margin-right: 5px;
}

.title-product-categori h1 {
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 0px;
}

/*=========Ячейки товаров=========*/
.product-table .col-md-4 {
    margin-bottom: 20px;
}

.product-div {
    display: flex;
    align-items: center;
    flex-direction: column;
    position: relative;
    padding-top: 17px;
    padding-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.7s;
    border: 1px solid transparent;
}

.product-div .add_to_cart_button {
    display: none;
}

.product-div:hover {
    cursor: pointer;
}

.product-div *,
h2.woocommerce-loop-product__title {
    font-size: 14px;
}

h2.woocommerce-loop-product__title {
    text-align: left;
    font-size: 14px;
    font-weight: 400;
}

h3 {
    font-weight: 400;
}

.product-div .star-rating {
    display: none;
}

@media (max-width: 768px) {
    h2.woocommerce-loop-product__title {
        font-size: 12px;
    }   
    /*.product-div .price * {
        font-size: 12px!important;
    }*/
    .up-sells h2, 
    .related h2 {
        text-align: center;
    }
    #main section.up-sells,
    #main section.related {
        padding: 40px 15px;
    }

}
/*Контейнер для заголовка и цены карточка товара*/
.title_price_wrap {
    display: flex;
}
.title_price_wrap > h2 {
    width: 50%;
    padding-right: 10px;
    text-transform: uppercase;

}
.title_price_wrap .woocs_price_code {
    display: flex;
    flex-direction: column
}
.title_price_wrap .price {
    text-align: right;
    width: 50%;
}
.title_price_wrap .price {
    color: #7E7D7B;
}
@media (max-width: 480px) {
    .title_price_wrap {
        flex-direction: column;
    }
    .title_price_wrap > h2 {
        width: 100%;
        padding-right: 0px;
    }
    .title_price_wrap .price {
        width: 100%;
        text-align: left;
    }
    .title_price_wrap .price * {
        font-size: 12px!important;
    }
    .title_price_wrap .woocs_price_code {
        flex-direction: row;
    }
}
/*Стили цены*/
.price {
    font-weight: 700;
    position: relative;
}

/*Понравившиеся товары*/
.product-div .tinv-wraper {
    position: absolute;
    top: 20px;
    right: 10px;
    opacity: 0;
    transition: all 0.3s;
}
.product-div .tinv-wraper a {
    margin-top: 0px!important;
}
.product-div:hover .tinv-wraper {
    opacity: 1;
}
.hed-icon {
    display: flex; 
    justify-content: flex-end;
}
.tinv-wishlist .product-action button, .tinvwl-to-right button {
    border: none;
    white-space: nowrap;
    background-color: #000;
    color: #fff;
    transition: all 0.4s;
    padding: 5px 20px;
}
.tinv-wishlist .product-action button:hover, .tinvwl-to-right button:hover {
    background-color: #585858;
    color: #fff;
    transition: all 0.4s;
}
.tinv-header {
    display: none;
}


.product-separ {
    height: 30px;
}

/*Кнопка добавить в корзину на странице каталога*/
.product-div .add_to_cart_button,
.product-div .added_to_cart, 
.product-div a.button.product_type_external,
.product-div a.button.product_type_variable,
.product-div a.button.product_type_simple {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 35px;
    height: 35px;
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    padding-right: 5px;
    background: url(../img/add-to-card.png) no-repeat;
    background-size: 65%;
    background-position: center;
    background-color: #000;
}

/*Кнопка товара добавленного в корзину*/
.product-div .added_to_cart {
    font-size: 1px;
    color: transparent;
    background: url(../img/on-card.png) no-repeat;
    background-position: center;
    background-size: 70%;
    background-color: #000;
}

.ks_product_img {
    position: relative;
    margin-bottom: 20px;
}

.product-div img.secondary-image {
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: 0.2s;
}
.product-div img.secondary-image:hover {
    opacity: 1;
}

.product-div .sku {
    margin-bottom: 0px;
}

@media (max-width: 991px) {
    .cart-icon {
        opacity: 1;
    }

    .categori-head {
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .product-div .tinv-wraper {
        opacity: 1;
        top: 20px;
    }
}

@media (max-width: 767px) {
   .product-div *,
    h2.woocommerce-loop-product__title {
    text-align: left;
    }
    .product-div .woocs_price_code {
        display: flex;
        flex-direction: column;
    }

    .product-div img {
        width: 100%;
    }
    .hed-icon {
        right: 10px;
    }
    /*Уменьшение стрелок слайдера*/
    .slick-slider .arrow {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }

    .categori-title {
        font-size: 30px;
    }
    .product-div .add_to_cart_button {
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .categori-slaider .arrow {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .categori-title {
        font-size: 24px;
        padding-left: 40px;
        padding-right: 40px;
    }
    .product-table .col-md-4 {
        margin-bottom: 0px;
        padding: 0px;
    }
    .product-table .col-md-4:nth-child(odd) {
        padding-right: 5px;
    }
    .product-table .col-md-4:nth-child(even) {
        padding-left: 5px;
    }
    .product-table .col-md-4:nth-child(odd) h2.woocommerce-loop-product__title, .product-table .col-md-4:nth-child(odd) .price {
        padding-left: 10px;
        display: block!important;
    }
    .product-table .col-md-4:nth-child(even) h2.woocommerce-loop-product__title, .product-table .col-md-4:nth-child(even) .price {
        padding-right: 10px;
        display: block!important;
    }
}

.product-div .price ins {
    text-decoration: none;
}

.product-div .price del {
    display: inline-block;
    margin-right: 0px;
}

.woocommerce-ordering .orderby {
    padding: 5px 8px;
    outline: none;
    border-color: #000;
}

.go-beck a {
    text-decoration: none;
    display: inline-block;
    width: auto;
    position: relative;
    padding-bottom: 5px;
}
.go-beck a::before {
    content: '';
    width: 100%;
    height: 1px;
    position: absolute;
    bottom: 0;
    left: 0;
    transform: scale(0);
    opacity: 0;
    transition: all 0.3s;
    background-color: #000;
    transform-origin: 100%;
}
.go-beck a:hover::before {
    opacity: 1;
    transform: scale(1);
}


/*****************************************Корзина*****************************************/

/*****************************************Корзина*****************************************/

/*****************************************Корзина*****************************************/
.shop_table {
    width: 100%;
}

.shop_table tr {
    border: 1px solid #efefef;
}

.shop_table td {
    padding: 5px 15px;
}

.shop_table th {
    padding: 15px 15px;
}

/*Убрать товар*/
.shop_table .product-remove {
    padding-left: 25px;
}

.shop_table .product-remove a {
    text-decoration: none;
    font-size: 24px;
}


.shop_table .product-thumbnail img {
    width: 80px;
    height: auto;
    min-width: 80px;
}
.shop_table .product-name {
    min-width: 200px;
}

.shop_table .product-name a {
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.4s;
}

/*Добавление товара плюс минус*/
.shop_table .product-quantity .quantity {
    display: flex;
}

.shop_table .product-quantity .quantity input {
    padding: 5px;
    width: 35px;
    height: 36px;
    text-align: center;
}

.shop_table .product-quantity .quantity label {
    display: none;
}

/*Добавление товара плюс минус==========*/

/*Купон*/
.shop_table .coupon {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.shop_table .actions button {
    color: #000;
    margin-bottom: 15px;
}

.shop_table .coupon label {
    display: none;
}

.shop_table .coupon button {
    margin-left: 20px;
    padding: 10px 20px;
    height: 48px;
    margin-bottom: 0px;
}

.shop_table .coupon input {
    border: 1px solid #dedede;
    height: 50px;
}

/*...........Купон...........*/

/*==========Итог заказа==========*/
.cart-collaterals {
    margin-top: 30px;
}

.cart-collaterals h2 {
    font-size: 30px;
}

.wc-proceed-to-checkout {
    margin-top: 20px;
}

.wc-proceed-to-checkout a {
    text-decoration: none;
    padding: 10px 20px;
}

.cart_totals .shop_table {
    width: 100%;
}

/*.cart_totals .shop_table th,
.cart_totals .shop_table td {
    width: 50%;
}*/

/*===================Таблица корзины===================*/
table.shop_table_responsive thead {
    display: none;
}

table.shop_table_responsive tbody th {
    display: none;
}

table.shop_table_responsive tr td {
    display: block;
    text-align: right;
    clear: both;
}

table.shop_table_responsive tr td::before {
    content: attr(data-title) ": ";
    float: left;
}

table.shop_table_responsive tr td.product-remove a {
    text-align: left;
}

table.shop_table_responsive tr td.product-remove::before {
    display: none;
}

table.shop_table_responsive tr td.actions::before,
table.shop_table_responsive tr td.download-actions::before {
    display: none;
}

table.shop_table_responsive tr td.download-actions .button {
    display: block;
    text-align: center;
}
@media screen and (min-width: 48em) {

    table.shop_table_responsive thead {
        display: table-header-group;
    }

    table.shop_table_responsive tbody th {
        display: table-cell;
    }

    table.shop_table_responsive tr th,
    table.shop_table_responsive tr td {
        text-align: left;
    }

    table.shop_table_responsive tr td {
        display: table-cell;
    }

    table.shop_table_responsive tr td::before {
        display: none;
    }
}
@media (max-width: 768px) {
    .shop_table_responsive .variation {
        display: flex;
        justify-content: space-between;
        margin-bottom: 0px;
    }
    .shop_table_responsive .variation * {
        margin-bottom: 0px;
    }
    .product-thumbnail::before {
        display: none;
    }
    .product-thumbnail a {
        text-align: center;
        display: block;
    }
    .shop_table .product-remove {
        padding-right: 20px;
    }
    .shop_table .product-thumbnail img {
        width: 80px;
        height: 100px;
        min-width: 80px;
    }

    .shop_table .product-name a {
        font-size: 16px;
    }

    .shop_table .product-name {
        min-width: 90px;
    }
    .shop_table .product-quantity .quantity {
        justify-content: flex-end;
    }
}
@media (max-width: 480px) {
    .shop_table .coupon {
        flex-direction: column;
        align-items: flex-start;
    }
    .shop_table .coupon input {
        width: 100%;
    }
    .shop_table .coupon button {
        margin: 0px;
        white-space: nowrap;
    }
}
.woocommerce-checkout-review-order-table .product-name {
    min-width: 200px;
}
/*@media (max-width: 580px) {
    .woocommerce-cart-form,
    .cart_totals {
        overflow: auto;
    }

    .woocommerce-cart-form .shop_table {
        min-width: 540px;
    }
}*/


/*Страница подтверждения заказа*/
#content-ks .woocommerce .woocommerce-billing-fields {
    width: 100%;
}

#customer_details .form-row {
    display: flex;
    flex-direction: column;
}

#customer_details .form-row label {
    padding-left: 5px;
    display: inline-block;
}

/*Закрыть две точки под звездочкой*/
#customer_details .form-row label abbr {
    position: relative;
}

#customer_details .form-row label abbr::after {
    content: '';
    position: absolute;
    right: 0px;
    bottom: 0px;
    background-color: #fcfaf7;
    width: 6px;
    height: 5px;
}

/*Закрыть две точки под звездочкой*/


#customer_details .woocommerce-input-wrapper input {
    width: 100%;
}

#customer_details .woocommerce-input-wrapper {
    width: 100%;
}

#billing_country_field label {
    margin-bottom: 10px;
}

#billing_country_field .woocommerce-input-wrapper {
    height: 50px;
}

/*Купон на странице подтверждения*/
.ks-form-cupon input {
    width: 500px;
}


.woocommerce-additional-fields .notes textarea {
    width: 100%;
}

#order_review {
    margin-top: 15px;
    margin-bottom: 20px;
}

#order_review table {
    margin-bottom: 20px;
    background-color: #fff;
}

@media (max-width: 768px) {

    #customer_details .woocommerce-input-wrapper,
    .ks-form-cupon input {
        width: 100%;
    }
}

.woocommerce-customer-details {
    margin-top: 20px;
}


/*===================Комментарии ===================*/
.comment_container {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.comment_container img {
    border-radius: 50%;
    margin-right: 10px;
}

.comment_container .description {
    padding: 10px;
    background-color: #ececec;
    width: 100%;
}

.comment_container .description p {
    margin-bottom: 0px;
}

.comment_container .comment-text {
    width: 100%;
}

/*===============Оставить отзыв===============*/
.comment-respond #reply-title {
    font-size: 18px;
    font-weight: 700;
}

.comment-respond .stars a {
    text-decoration: none;
    display: inline-block;
    margin-right: 10px;
}

.cart-contents {
    text-decoration: none;
}



#payment {
    background-color: #f5f5f5;
    padding: 20px;
}

#payment .payment_methods {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

/*Страница результатов поиска*/
.search-ks article {
    margin-bottom: 25px;
    border-bottom: 1px solid #ececec;
    padding-bottom: 20px;
}
.search-ks article h2 {
    font-size: 28px;
}
.search-ks article .entry-header a {
    text-decoration: none;
}
.serch-img {
    display: flex;
    justify-content: center;
    align-items: center;
}
.serch-img img {
    transition: all 0.4s;
}
.serch-img img:hover {
    opacity: 0.7;
}
.ks-btn {
    background-color: #000;
    border: none;
    color: #fff;
    padding: 7px 30px;
    margin-top: 10px;
    margin-bottom: 10px;
    transition: all 0.3s;
    display: inline-block;
    text-decoration: none;
}
.ks-btn:hover {
    color: #fff;
    text-decoration: none;
    background-color: #444;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.2);
}
@media (max-width: 768px) {
    .serch-img {
        margin-bottom: 20px;
    }
    .search-text * {
        text-align: center;
    }
    .search-text {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}



/*Оформление заказа*/
.form-row input {
    max-width: 800px;
}
.woocommerce-input-wrapper {
    display: block;
}
.selection .select2-selection {
    outline: none;
}

#shipping_method {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
#shipping_method input {
    margin-right: 5px;
    display: inline-block;
}
@media (max-width: 480px) {
    #shipping_method {
        clear: both;
        padding-top: 10px;
    }
    #shipping_method li {
        display: flex; 
        align-items: center;
        text-align: left;
    }
    #shipping_method input {
        margin-right: 10px;
    }
    #shipping_method li label {
        width: calc(100% - 23px);
    }
}
.woocommerce-error {
    border: 2px solid red;
    padding: 15px;
    list-style-type: none;
}
.woocommerce-shipping-destination {
    display: none!important;
}

.woocommerce-cart-form .product-price,
.woocommerce-cart-form .product-subtotal {
    white-space: nowrap
}

.woocommerce-invalid {
    border: 2px solid red;
    padding: 10px 15px;
}

ul.woocommerce-error li:last-child {
    margin-bottom: 0;
}


.ks-style .variations th,
.ks-style .variations td {
    padding-top: 5px;
    padding-bottom: 5px;
}