/*
Theme Name: Barrel22 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  ***************/
.textfieldall {
    width: 100%;
    max-height: 150px;
    min-height: 80px;
    resize: vertical;
    overflow-y: auto;
}
/* Заголовок таблицы */
.product-table-title {
    color: #e30713;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #e30713;
}

/* Таблица */
.product-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    overflow: hidden;
}

.product-table thead th {
    background: #e30713;
    color: #ffffff;
    padding: 14px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 16px;
    border: none;
}

.product-table tbody td {
    border-bottom: 1px solid #eef0f2;
    font-size: 15px;
    color: #333333;
}

.product-table tbody tr:last-child td {
    border-bottom: none;
}

.product-table tbody tr:hover {
    background: #fff5f5;
}


/* Ссылки в таблице */
.product-table .product-link {
    color: #333333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.product-table .product-link:hover {
    color: #e30713;
}

/* Пагинация */
.pagination-wrapper {
    text-align: left;
    margin-top: 25px;
    display: flex;
    justify-content: left;
    align-items: flex-start;
    gap: 6px;
    flex-wrap: wrap;
}

.pagination-btn,
.pagination-number {
    padding: 8px 16px;
    background: #f5f5f5;
    color: #333333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    border: 1px solid #e0e0e0;
    display: inline-block;
}

.pagination-btn:hover,
.pagination-number:hover {
    background: #e30713;
    color: #ffffff;
    border-color: #e30713;
}

.pagination-number.active {
    background: #e30713;
    color: #ffffff;
    border-color: #e30713;
    font-weight: 700;
    cursor: default;
}


/* Информация о количестве */
.product-table-info {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
    color: #888888;
}

.product-table-info span {
    color: #e30713;
    font-weight: 600;
}

/* Адаптивность */
@media (max-width: 768px) {

    .product-table thead th,
    .product-table tbody td {
        font-size: 14px;
    }

    .pagination-btn,
    .pagination-number {
        padding: 6px 12px;
        font-size: 13px;
    }

    .product-table-title {
        font-size: 20px;
    }
}

#header .main-menu .popup {
    left: 0px;
    right: auto;
}

.wpc-filter-chips-list li,
body .wpc-filter-chips-list li.wpc-filter-chip,
li.wpc-filter-chip {
    margin: 0 7px 0px 0 !important;
}

.service_name {
    font-size: 15px;
    color: #232323;
    font-weight: 600;
}

.price-item {
    font-size: 15px;
    color: #232323;
    font-weight: 600;
}

body .wpc-filter-chips-list li.wpc-chip-reset-all a {
    border-color: #e7e7e7;
}

.wpc-filter-chips-list a,
body .wpc-filter-chips-list li.wpc-filter-chip a {
    border-radius: 8px !important;
    border: 1px solid #d8d8d8;
}

body .wpc-filter-chips-list li.wpc-filter-chip:not(.wpc-chip-reset-all) a {
    border-color: #212121;
}

#side-nav-panel .share-links {
    display: none !important;
}

.page-top {
    padding-top: 5px;
    padding-bottom: 0px;
}

.sidebar-content,
.woocommerce-page.archive .sidebar-content {
    padding: 15px 15px;
    border-radius: 8px;
}

#mini-cart.simple .cart-items {
    box-shadow: none !important;
}

.wpc-filters-widget-content select {
    border: 1px solid #e7e7e7 !important;
}

.porto-narrow-sub-menu,
.porto-narrow-sub-menu ul.sub-menu {
    border: 1px solid #e7e7e7 !important;
    margin-top: 8px;
    border-radius: 5px !important;
    box-shadow: none;
}

.menu-flat .porto-narrow-sub-menu {
    border-radius: 5px !important;
}

#header .main-menu .narrow.pos-right .popup {
    right: -78px;
    left: auto;
}

#header .main-menu>li.menu-item>a {
    border: 1px solid #e7e7e7;
    border-radius: 5px;
}

#header .main-menu>li.menu-item>a {
    border-radius: 5px !important;
}

.price-only-label {
    display: grid;
    gap: 1px;
}

.price-only-label .sale-price-only-label {
    color: #fff;
    font-size: 9px;
    padding: .175em 1.2em;
    position: relative;
    transform: rotate(2deg);
    white-space: nowrap;
    background: #dd3333;
    width: fit-content;
    left: 0px;
    top: 0px;
}

.price-only-label .woocommerce-Price-amount {
    font-size: 1.125rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #222529;
    border-bottom: 0px;
    text-decoration: none !important;
}

.price-only-label ins {
    text-decoration: none !important;
}

.tab-content [style*="font-family: Cambria"] {
    font-family: inherit !important;
}

.tab-content table td [style*="font-family: Cambria"] {
    font-family: inherit !important;
}

.elementor-element.elementor-widget-porto_cp_description [style*="font-family: Cambria"] {
    font-family: inherit !important;
}

.elementor-widget-porto_cp_description table {
    width: 100%;
    border-collapse: collapse;
}

.elementor-widget-porto_cp_description table td,
.elementor-widget-porto_cp_description table th {
    border: 1px solid #ccc;
    padding: 8px 12px;
    text-align: left;
}


.elementor-widget-porto_cp_description table {
    border: 1px solid #ccc;
}

.elementor-element.elementor-widget-porto_cp_description table [style*="font-family: Cambria"] {
    font-family: inherit !important;
}

.wpc-filters-widget-content select {
    padding: 15px 16px !important;
    border-radius: 7px;
}

.wpc-filters-section {
    margin-bottom: 15px !important;
}

.product-inner {
    background: #fff;
    border-radius: 8px;
    text-align: left;
    box-sizing: border-box;
    transition: box-shadow .2s ease-out;
    padding: 15px;
    border: 1px solid #e7e7e7;
}

li.product:hover .product-image {
    box-shadow: none;
}

.product-image img {
    border-radius: 5px;
}

.add-links-wrap {
    display: none;
}

.thumb-info img {
    border-radius: 8px;
}

.thumb-info-wrapper {
    border-radius: 8px;
}

ul.products .woocommerce-loop-product__title {
    white-space: normal;
    overflow: auto;
    text-overflow: ellipsis;
}

ul.products h3 {
    font-weight: 700;
}

ul.products h3 {
    font-weight: 500;
    color: #605f5c;
}

.product-content {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.product-loop-title {
    align-self: flex-start;
    width: 100%;
}

ul.products .price {
    display: block;
    font-size: 1.125rem;
    margin-bottom: 0rem;
}

.price {
    background-color: #fff000;
    padding: 5px 12px;
    margin-top: 0px;
    border-radius: 5px;
}

.product-image .labels {
    text-transform: inherit;
}

.product-image .labels .onhot,
.product-image .labels .onnew,
.product-image .labels .onsale {
    border-radius: 5px;
}

.price del {
    color: #cb0000;
    font-size: 0.8em;
}