/* Подсказки поиска */
.search-suggestions {
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    max-width: 400px;
    width: 100%;
    z-index: 1000;
    margin-top: 2px;
}
.search-suggestion-item {
    display: flex;
    padding: 8px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}
.search-suggestion-item:hover {
    background-color: #f5f5f5;
}
.suggestion-img {
    flex: 0 0 60px;
    margin-right: 10px;
}
.suggestion-img img {
    max-width: 60px;
    max-height: 60px;
    object-fit: contain;
}
.suggestion-info {
    flex: 1;
}
.suggestion-name {
    font-weight: bold;
    margin-bottom: 4px;
    font-size: 0.9rem;
}
.suggestion-price .old-price {
    text-decoration: line-through;
    color: #999;
    margin-right: 8px;
    font-size: 0.85rem;
}
.suggestion-price .current-price {
    font-weight: bold;
    color: #2a3ecf;
    font-size: 1rem;
}
.in-stock {
    color: green;
    font-size: 0.8rem;
    margin-left: 8px;
}
.out-of-stock {
    color: rgb(114, 111, 111);
    font-size: 0.8rem;
    margin-left: 8px;
}
.suggestion-dimensions {
    font-size: 0.75rem;
    color: #666;
    margin-top: 2px;
}
.search-suggestion-empty {
    padding: 10px;
    text-align: center;
    color: #666;
}

/* Подсказки поиска */
.search-suggestions {
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    max-width: 400px;
    width: 100%;
    z-index: 1000;
    margin-top: 2px;
    max-height: 500px;
    overflow-y: auto;
}
.search-suggestion-item {
    display: flex;
    padding: 8px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}
.search-suggestion-item:hover {
    background-color: #f5f5f5;
}
.suggestion-img {
    flex: 0 0 60px;
    margin-right: 10px;
}
.suggestion-img img {
    max-width: 60px;
    max-height: 60px;
    object-fit: contain;
}
.suggestion-info {
    flex: 1;
}
.suggestion-name {
    font-weight: bold;
    margin-bottom: 4px;
    font-size: 0.9rem;
}
.suggestion-price .old-price {
    text-decoration: line-through;
    color: #999;
    margin-right: 8px;
    font-size: 0.85rem;
}
.suggestion-price .current-price {
    font-weight: bold;
    color: #d9534f;
    font-size: 1rem;
}
.in-stock {
    color: green;
    font-size: 0.8rem;
    margin-left: 8px;
}
.out-of-stock {
    color: red;
    font-size: 0.8rem;
    margin-left: 8px;
}
.suggestion-dimensions {
    font-size: 0.75rem;
    color: #666;
    margin-top: 2px;
}
.search-suggestion-empty {
    padding: 10px;
    text-align: center;
    color: #666;
}

/* Стили для формы расширенного поиска */
.dis-search-adv-filters {
    padding: 10px;
    background: #f9f9f9;
    border-radius: 5px;
}
.dis-search-adv-filters .row {
    margin-bottom: 15px;
}
.dis-search-adv-filters .control-label {
    font-weight: bold;
    font-size: 13px;
    margin-bottom: 5px;
    display: block;
}
.dis-search-adv-filters .input-group {
    width: 100%;
}
.dis-search-adv-filters .search-adv-field {
    border-radius: 4px 0 0 4px;
    height: 34px;
}
.dis-search-adv-filters .input-group-btn .close {
    /*padding: 6px 12px;*/
    font-size: 20px;
    line-height: 1.2;
    background-color: #f2f2f2;
    border: 1px solid #ccc;
    border-left: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    color: red;
    /*opacity: 0.7;*/
    display: inline-block !important;
    visibility: visible !important;
    opacity: 0.6;
}
.dis-search-adv-filters .input-group-btn .close:hover {
    opacity: 1;
    background-color: #e6e6e6;
}
.dis-search-adv-filters .form-inline label {
    margin-right: 8px;
}
.dis-search-adv-filters .form-inline input {
    margin-right: 5px;
}
.dis-search-adv-filters button[type="submit"] {
    background-color: #da6139;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
}
.dis-search-adv-filters button[type="submit"]:hover {
    background-color: #b04d2c;
}
.dis-search-adv-filters {
    display: none;
}
.dis-search-adv-filters.visible {
    display: block;
}
/* Горизонтальное меню с картинками */
.dropdown-large .dropdown-menu {
    min-width: 400px;
    max-width: 800px;
    padding: 10px;
}
.dropdown-submenu {
    position: relative;
}
.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
    margin-left: -1px;
}
.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}
.dropdown-submenu > a:after {
    content: "\f0da";
    font-family: FontAwesome;
    float: right;
    margin-right: 10px;
}
.menu-img {
    width: 30px;
    height: 30px;
    object-fit: cover;
    margin-right: 8px;
    border-radius: 4px;
}
.badge {
    background-color: #da6139;
    margin-left: 5px;
    font-size: 10px;
}

/* карточка товара название блоков */
/* Общий стиль для заголовков блоков */
.block-header {
    font-size: 1.2em;
    font-weight: bold;
    border-bottom: 2px solid #da6139; /* цвет подчеркивания как у меню */
    padding-bottom: 6px;
    margin: 20px 0 15px 0;
    display: inline-block;
}
/* Ссылка внутри заголовка (если есть) */
.block-header a {
    color: #0d4680;
    text-decoration: none;
}
.block-header a:hover {
    text-decoration: underline;
}
/* Выравнивание вывода карточек в шаблоне _section_card.html */
.row-equal-height {
    display: flex;
    flex-wrap: wrap;
}
.row-equal-height .card1 {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.row-equal-height .card1 .styleLikeH4 {
    flex-grow: 1;
    /* Если нужно, добавить отступ снизу для красоты */
    margin-bottom: 10px;
}