/*
Theme Name:   Astra Child
Theme URI:    https://example.com
Description:  Дочерняя тема для Astra
Author:       Ваше имя или компания
Author URI:   https://example.com
Template:     astra
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  astra-child
*/

/* Дальше пишите свои CSS-правила */

.sh-drop-cat-item[data-idx="4"] {
    display: none;
}

.custom-related-products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 15px 0;
}

/* Адаптивность - на мобильных 1 колонка */
@media (max-width: 768px) {
    .custom-related-products {
        grid-template-columns: 1fr;
    }
}


.custom-related-product-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
        flex-direction: column;
}

.custom-related-product-item:hover {
    border-color: #0073aa;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.related-product-name {
    font-weight: 600;
    font-size: 10px;
    color: #333;
    text-align:center;
}

.related-product-price {
    font-weight: 700;
    font-size: 10px;
    color: #0073aa;
}

.related-product-price .amount {
    font-size: 10px;
}

/* Стили для Select2 */
.select2-container--default .select2-selection--multiple {
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: #0073aa !important;
    box-shadow: 0 0 2px rgba(0,115,170,.8) !important;
}