/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: May 20 2026 | 10:43:01 */
/* 1. Текст, метки, отступы */
mark {
    background-color: #fff;
    color: #000;
}
.woocommerce div.product .woocommerce-tabs ul.tabs {
    visibility: hidden;
}
.woocommerce div.product div.summary {
    margin-bottom: -3em;
}
.term-description {
    margin-left: 14px;
}

/* 2. Мета-блок (категории/метки как кнопки) */
.product_meta {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #e0e0e0;
}
.product_meta > span {
    display: block;
}
.product_meta .posted_in > span,
.product_meta .tagged_as > span {
    font-weight: 400;
    font-size: 14px;
    display: block;
    margin-bottom: 10px;
}
.product_meta a {
    display: inline-block;
    padding: 3px 7px;
    background: #00acee;
    color: white !important;
    text-decoration: none;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    margin: 0 8px 8px 0;
    transition: all 0.3s ease;
    border: 1px solid #00acee;
}
.product_meta a:hover {
    background: white !important;
    color: #00acee !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 172, 238, 0.3);
}
.product_meta a:after {
    display: none !important;
}

/* 3. Выравнивание высоты карточек */
.products .product,
.woocommerce .products .product,
.woocommerce-page .products .product {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}
.woocommerce-LoopProduct-link {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    text-decoration: none !important;
    color: inherit !important;
}
.woocommerce-LoopProduct-link img {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    max-height: 270px !important;
    object-fit: contain !important;
    object-position: center !important;
}
.woocommerce-loop-product__title {
    flex-shrink: 0 !important;
    font-weight: 700 !important;
/*     min-height: 80px !important; */
    margin: 10px 0 5px 0 !important;
    font-size: 16px !important;
    line-height: 1.3 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}
.product-main-info {
    flex-shrink: 0 !important;
    margin: 5px 0 !important;
    min-height: 40px !important;
}
.product-category-fields {
    flex-grow: 1 !important;
    margin: 10px 0 !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    font-weight: 400 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
}
.category-application,
.category-materials {
    margin-bottom: 5px !important;
    line-height: 1.3 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
}
.product .button,
.shopengine-quickview-trigger,
.shopengine_comparison_add_to_list_action {
    flex-shrink: 0 !important;
    margin-top: auto !important;
}
.product > a:not(.woocommerce-LoopProduct-link),
.product > .button {
    margin-top: 10px !important;
    align-self: flex-start !important;
}

/* 4. Внутренние отступы для элементов внутри карточки */
.woocommerce .products li.product {
    padding: 20px 15px !important; /* это внутренний отступ карточки */
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background: #fff;
    transition: all 0.3s ease;
    box-sizing: border-box !important;
}

/* Внутренние отступы для контента */
.woocommerce .products li.product .woocommerce-LoopProduct-link {
    padding: 0 !important;
    gap: 8px;
}

.woocommerce-loop-product__title {
    margin: 10px 0 5px 0 !important;
    padding: 0 !important;
}

.product-category-fields {
    margin: 10px 0 !important;
    padding: 0 !important;
}

.category-application,
.category-materials {
    margin: 0 0 5px 0 !important;
    padding: 0 !important;
}

.woocommerce .products li.product .button {
    margin-top: 15px !important;
    margin-bottom: 0 !important;
    padding: 10px 15px !important;
}

/* Переопределяем отступы темы */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    margin: 0 15px 20px 0 !important;
    width: calc(25% - 15px) !important;
}

/* Убираем отступ у каждой 4-й карточки */
.woocommerce ul.products li.product:nth-child(4n),
.woocommerce-page ul.products li.product:nth-child(4n) {
    margin-right: 0 !important;
}

/* Жёсткое ограничение описания в карточке категории */
.category-application,
.category-materials {
    -webkit-line-clamp: 2 !important;
    max-height: 2.6em !important;
    overflow: hidden !important;
}

.woocommerce .products li.product {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.woocommerce .products li.product:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.woocommerce .products li.product .button {
    transition: all 0.25s ease-in-out;
}

.woocommerce .products li.product .button:hover {
    transform: translateY(-2px);
    background: #00acee;
}

/* Планшет: 2 колонки */
@media (min-width: 641px) and (max-width: 1024px) {
    .woocommerce ul.products li.product,
    .woocommerce-page ul.products li.product {
        width: calc(50% - 15px) !important;
        margin-right: 15px !important;
    }
    
    .woocommerce ul.products li.product:nth-child(2n),
    .woocommerce-page ul.products li.product:nth-child(2n) {
        margin-right: 0 !important;
    }
}

/* Телефон: 1 колонка */
@media (max-width: 640px) {
    .woocommerce ul.products li.product,
    .woocommerce-page ul.products li.product {
        width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 20px !important;
        float: none !important;
        clear: both !important;
    }
    
    .woocommerce ul.products {
        display: block !important;
        padding: 0 10px !important;
    }
}

/* Кнопка "Подробнее" на карточке товара */
.woocommerce .products li.product .button {
    background: #fff !important;
    color: #007FB0 !important;
    border: none !important;
    transition: none !important;
}

/* Кружок со стрелкой */
.woocommerce .products li.product .button::after {
    content: '→';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-left: 10px;
    background: #007FB0;
   	border-radius: 50%;
    font-size: 8px;
    font-weight: bold;
    color: #fff;
    
}


/* Убираем изменения при наведении */
.woocommerce .products li.product .button:hover,
.woocommerce .products li.product .button:hover::after {
    background: #fff !important;
    color: #007FB0 !important;
    
}

.woocommerce .products li.product .button:hover::after {
    background: #007FB0 !important;
    color: #fff !important;
}

/* При наведении: подъём вверх и поворот на 45° */
.woocommerce .products li.product .button:hover::after {
    transform: translateY(-4px) rotate(-45deg);
}

/* Мета-блок карточки товара */
.product_meta {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

/* Бордер после цены */
.product-meta-price-row {
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 15px;
}

/* Отступы между строками */
.product_meta .posted_in {
    display: block;
    margin-bottom: 10px;
    line-height: 1.5;
}

/* Последняя строка без нижнего отступа */
.product_meta .posted_in:last-of-type {
    margin-bottom: 0;
}

.woocommerce-loop-category__title{
	color: #007FB0;
}