/*
Theme Name: Porto Child
Theme URI: https://www.portotheme.com/wordpress/porto
Author: P-THEMES
Author URI: https://www.portotheme.com/
Description: Porto Responsive WordPress + eCommerce Theme.
Version: 1.1
Template: porto
License: Commercial
License URI: http://themeforest.net/licenses/regular_extended
Tags: woocommerce, corporate, ecommerce, responsive, blue, black, green, white, light, dark, red, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
*/

/*************** ADD YOUR CUSTOM CSS HERE  ***************/

/*.page-header-1 {
    margin-bottom: 20px;
}*/

a {
    text-decoration: none;
}

.main-menu-wrap {
    padding: 0;
}

.gridlist-toggle {
    display: none !important;
}

#main.wide.column1 .main-content {
    padding-top: 35px;
    padding-bottom: 40px;
}

.woocommerce form #billing_country_field {
    display: none !important;
}

/*p.price:nth-child(4){
    display: none !important;
}*/

.products .product-category .thumb-info-title {
    background: rgba(23, 23, 23, 0.8);
}

.vc_btn3-container.btn-orange a {
    background-color: #f90 !important;
    border-color: #f90 !important;
    color: #fff !important;
}

.vc_btn3-container.btn-orange a:active,
.vc_btn3-container.btn-orange a:hover {
    color: #f2f2f2 !important;
    border-color: #d68100 !important;
    background-color: #d68100 !important;
}

.archive-products form.cart {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.archive-products .qib-button.qib-button-wrapper {
    margin-right: 0;
}

.archive-products .quantity.wqpmb_quantity {
    display: block !important;
}

.woocommerce-ordering select {
    width: 180px;
}
@media (max-width: 991px) {
    .shop-loop-before select {
        max-width: 180px;
    }
}

.woocommerce.widget_product_categories {
    border: 1px solid var(--porto-gray-5);
    border-radius: 3px;
    background: #fbfbfb;
    position: relative;
    padding: 0 !important;
    font-size: 0.9825em;
    letter-spacing: -0.0325em;
}

.woocommerce.widget_product_categories .widget-title {
    background: #f5f5f5;
    border-bottom: 1px solid var(--porto-gray-5);
    border-radius: 6px 6px 0 0;
    font-size: 1.06em;
    color: #21293c;
    font-weight: 600;
    line-height: 1.4;
    padding: 0.7143em 1.0714em;
    margin: 0;
    text-transform: uppercase;
    position: relative;
}

.woocommerce.widget_product_categories .widget-title .toggle {
    display: none !important;
}

.woocommerce.widget_product_categories .product-categories {
    padding: 0.7143em 1.0714em;
    margin: 0;
    border-bottom: 1px solid var(--porto-gray-5);
}

.woocommerce.widget_product_categories .product-categories .cat-item a {
    line-height: 1.825em;
}

.woocommerce.widget_product_categories .product-categories .cat-item.current > a + .toggle {
    color: #996500;
}

.woocommerce.widget_product_categories .product-categories .cat-item.current > a {
    color: #996500;
}

.woocommerce.widget_product_categories .product-categories .cat-item .children {
    padding-left: 0.9725em;
}

ul.products .category-list,
ul.products .woocommerce-loop-product__title,
.widget_shopping_cart .buttons .wc-forward,
.widget_shopping_cart .buttons .checkout {
    white-space: unset;
}

.archive-products .add-links-wrap {
    display: flex;
    justify-content: center;
}
.archive-products .add-links-wrap .add-links {
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin: 0 auto;
}
.archive-products .qib-button-wrapper {
    margin-top: 0;
    margin-right: 0;
}

.product-summary-wrap .qib-button-wrapper {
    margin: 0;
}

.woocommerce-form-login .login-btn,
.woocommerce-form-register .register-btn,
.single_add_to_cart_button {
    background: #996500;
}

.woocommerce-form-login .login-btn:hover,
.woocommerce-form-register .register-btn:hover {
    background: #815700;
}

.single_add_to_cart_button, .view-cart-btn {
    height: 2.6rem !important;
    line-height: normal;
    max-height: 40px;
}

.widget_shopping_cart .qib-button-wrapper .qib-button {
    height: 28px;
    padding: 0;
    min-width: 28px;
}
.widget_shopping_cart .qib-button-wrapper .quantity {
    height: auto !important;
}
.widget_shopping_cart .qib-button-wrapper .quantity input.qty {
    height: 28px !important;
    font-size: 12px !important;
    padding: 0 !important;
}

.qib-button-wrapper .quantity button.minus,
.qib-button-wrapper .quantity button.plus,
.shop_table .quantity button.minus,
.shop_table .quantity button.plus,
.woocommerce-cart-form .quantity button.minus,
.woocommerce-cart-form .quantity button.plus,
.mini_cart .quantity button.minus,
.mini_cart .quantity button.plus,
form.cart .quantity button.minus,
form.cart .quantity button.plus {
    display: none;
}

.shop_table.cart-table .quantity,
.single-product .product-summary-wrap .quantity {
    margin-right: 0;
}

.archive-products div.quantity {
    margin-right: 0;
}
.single-product .entry-summary .quantity {
    width: auto !important;
}

.product-image {
    padding: 0.2481em;
}
li.product:hover .product-image {
    box-shadow: unset;
    border-color: #805400;
}
.wapl-label .product-label {
    color: #805400;
}
ul.products .add-links div.quantity {
    margin-bottom: 0;
}
li.product-default:hover .add-links.no-effect .add_to_cart_button::before {
    font-size: 0.9375rem;
    margin-right: 5px;
}

#yith-wacp-popup .yith-wacp-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
#yith-wacp-popup .yith-wacp-content .info-box {
    display: flex;
    flex-direction: column;
}
#yith-wacp-popup .yith-wacp-content .yith-wacp-cart-info {
    margin-top: auto;
}
#yith-wacp-popup .yith-wacp-content .yith-wacp-message:not(.not-show-icon)::before {
    width: 20px;
    height: 20px;
}
#yith-wacp-popup .yith-wacp-content .yith-wacp-message {
    margin-bottom: 20px;
    padding: 4px 2px;
}
#yith-wacp-popup .yith-wacp-content .yith-wacp-message h3 {
    font-size: 14px;
}

.bypostauthor {}

.p-dis{
    display: none!important;
}

.vag-hide {
    display: none !important;
}

#billing_country {
    display: none;
}

#footer .widget > div > ul, #footer .widget > ul {
    font-size: 1.1em;
}

#footer .widget p {
    font-size: 1.1em;
}


/* cf7 */
/* Обёртка формы */
.cf7-form-wrap {
    max-width: 500px;
    /*margin: 0 auto;*/
    font-family: inherit;
}

/*  */
.cf7-form-wrap .cf7-field {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.cf7-form-wrap .cf7-field.cf7-submit {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.cf7-form-wrap .cf7-field.cf7-submit span.wpcf7-spinner {
    position: relative;
}

/* Лейблы */
.cf7-form-wrap .cf7-label {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 500;
    color: #222;
}

/* Инпуты и textarea */
.cf7-form-wrap .cf7-input,
.cf7-form-wrap input[type="text"],
.cf7-form-wrap input[type="tel"],
.cf7-form-wrap input[type="email"],
.cf7-form-wrap textarea {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    background: #fff;
    box-sizing: border-box;
    transition: border-color .2s, box-shadow .2s;
    color: #333;
}

.cf7-form-wrap .cf7-input:focus,
.cf7-form-wrap input:focus,
.cf7-form-wrap textarea:focus {
    border-color: #996500;
    box-shadow: 0 0 0 3px rgba(153, 101, 0, 0.15);
    outline: none;
}

/* Textarea - фиксируем высоту и запрещаем растягивание по горизонтали */
.cf7-form-wrap .cf7-textarea {
    min-height: 110px;
    resize: vertical;
    font-family: inherit;
    line-height: 1.5;
}

/* Красная звёздочка у обязательных полей */
.cf7-form-wrap .cf7-required {
    color: #e04a4a;
    margin-left: 2px;
}

/* Чекбокс согласия — в одну строку с текстом */
.cf7-form-wrap .cf7-checkbox {
    flex-direction: row;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    color: #555;
    line-height: 1.4;
}

.cf7-form-wrap .cf7-checkbox .wpcf7-acceptance {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.cf7-form-wrap .cf7-checkbox .wpcf7-acceptance .wpcf7-list-item {
    margin-right: 0;
}

.cf7-form-wrap .cf7-checkbox input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    cursor: pointer;
}

.cf7-form-wrap .cf7-checkbox label {
    margin: 0;
    cursor: pointer;
}

/* Кнопка */
.cf7-form-wrap .cf7-button,
.cf7-form-wrap input[type="submit"] {
    display: inline-block;
    padding: 13px 28px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background .2s, transform .1s;
    align-self: flex-start;
}

/*.cf7-form-wrap .cf7-button:hover,
.cf7-form-wrap input[type="submit"]:hover {
    background: #2a63d8;
}*/

.cf7-form-wrap .cf7-button:active,
.cf7-form-wrap input[type="submit"]:active {
    transform: translateY(1px);
}

/* Сообщения об ошибках/успехе */
.cf7-form-wrap .wpcf7-not-valid-tip {
    color: #e04a4a;
    font-size: 13px;
    margin-top: 5px;
}

.cf7-form-wrap .wpcf7-response-output {
    margin: 15px 0 0;
    padding: 12px 15px;
    border-radius: 6px;
    font-size: 14px;
}