/*
 * HorecaDepot CSS migration.
 * Source of truth: local WoodMart Theme Settings backup dated 2026-07-14.
 * Structural migration only; declarations and selectors are preserved.
 */


/* WoodMart implicit wrapper for desktop. */
@media (min-width: 1025px) {
/* ============================================================
   🔍 HORECA DEPOT - LUXURY DARK SEARCH DESIGN (MATCHING CART)
   ============================================================ */

/* 1. ГЛАВЕН КОНТЕЙНЕР (Следва дизайна на страничната количка) */
.wd-dropdown-results {
    background-color: #131921 !important; /* Същото тъмно като количката */
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 8px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5) !important;
    overflow: hidden !important;
    padding: 0 !important;
}

/* Скролбарът вътре в търсачката */
.wd-dropdown-results .wd-scroll-content::-webkit-scrollbar {
    width: 4px !important;
}
.wd-dropdown-results .wd-scroll-content::-webkit-scrollbar-thumb {
    background: rgba(253, 185, 19, 0.3) !important;
    border-radius: 4px !important;
}

/* 2. ИСТОРИЯ НА ТЪРСЕНИЯТА (HEADER-А НА ТЪРСАЧКАТА) */
.wd-search-history {
    background-color: #0c0f14 !important; /* По-тъмен хедър */
    padding: 15px 20px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.wd-search-history .wd-search-title {
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.wd-sh-clear {
    color: rgba(255, 255, 255, 0.4) !important;
    font-size: 10px !important;
    text-transform: uppercase !important;
}

/* 3. ОТДЕЛНИТЕ ПРОДУКТИ (SUGGESTIONS) */
.wd-suggestion {
    display: flex !important;
    align-items: center !important;
    padding: 15px 20px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
    transition: background 0.3s ease !important;
    gap: 15px !important;
}

.wd-suggestion:hover {
    background: rgba(255, 255, 255, 0.03) !important;
}

/* Снимка на продукта */
.wd-suggestion-thumb img {
    width: 55px !important;
    height: 55px !important;
    object-fit: cover !important;
    border-radius: 6px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Заглавие на продукта */
.wd-suggestion .wd-entities-title {
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    margin-bottom: 5px !important;
}

/* 4. ЦЕНИТЕ (ЗЛАТНИ КАТО В КОЛИЧКАТА) */
.wd-suggestion .price,
.wd-suggestion .price .amount,
.wd-suggestion .price bdi {
    color: #fdb913 !important; /* Основно златно */
    font-weight: 800 !important;
    font-size: 14px !important;
}

/* Втората цена (лв.) */
.wd-suggestion .price .amount-bgn,
.wd-suggestion .price .amount-bgn bdi {
    color: rgba(253, 185, 19, 0.7) !important; /* По-бледо златно */
    font-size: 11px !important;
    font-weight: 500 !important;
}

/* 5. БУТОН "ВИЖТЕ ВСИЧКИ РЕЗУЛТАТИ" (FOOTER-А) */
.wd-all-results {
    background: #0c0f14 !important;
    color: #fdb913 !important; /* Златен текст */
    padding: 15px !important;
    text-align: center !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    font-size: 12px !important;
    letter-spacing: 1px !important;
    border-top: 2px solid rgba(253, 185, 19, 0.3) !important;
    transition: all 0.3s ease !important;
    display: block !important;
}

.wd-all-results:hover {
    background: #fdb913 !important;
    color: #131921 !important; /* Инверсия при ховър */
}

/* ФИКС ЗА "NO RESULTS FOUND" */
.wd-search-no-results {
    padding: 30px !important;
    color: #fdb913 !important;
    background: #131921 !important;
    text-align: center !important;
    font-weight: 700 !important;
}

}

/* WoodMart implicit wrapper for mobile. */
@media (max-width: 576px) {
/* ============================================================
   🔍 HORECA DEPOT - MOBILE SEARCH DESIGN (MATCHING CART)
   ============================================================ */

/* 1. КОНТЕЙНЕР НА РЕЗУЛТАТИТЕ */
.wd-dropdown-results {
    background-color: #131921 !important;
    border: none !important;
    border-top: 2px solid #fdb913 !important; /* Златен акцент горе */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8) !important;
}

/* 2. ИСТОРИЯ НА ТЪРСЕНИЯТА - КОМПАКТНА */
.wd-search-history {
    background-color: #0c0f14 !important;
    padding: 10px 15px !important;
}

.wd-search-history .wd-search-title {
    font-size: 11px !important;
    color: rgba(255, 255, 255, 0.6) !important;
}

.wd-sh-clear {
    color: #fdb913 !important;
    font-size: 9px !important;
}

/* 3. ПРОДУКТИТЕ В СПИСЪКА (MOBILE OPTIMIZED) */
.wd-suggestion {
    padding: 12px 15px !important;
    gap: 12px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* Снимка - леко по-малка за мобилен */
.wd-suggestion-thumb img {
    width: 50px !important;
    height: 50px !important;
    border-radius: 4px !important;
}

/* Заглавие на продукта */
.wd-suggestion .wd-entities-title {
    font-size: 12px !important;
    line-height: 1.2 !important;
    color: #ffffff !important;
    margin-bottom: 3px !important;
}

/* 4. ЦЕНИТЕ - ЯСНИ И ЗЛАТНИ */
.wd-suggestion .price {
    font-size: 13px !important;
    color: #fdb913 !important;
}

.wd-suggestion .price .amount-bgn {
    font-size: 10px !important;
    color: rgba(253, 185, 19, 0.6) !important;
    margin-left: 2px !important;
}

/* 5. БУТОН "ВИЖТЕ ВСИЧКИ РЕЗУЛТАТИ" */
.wd-all-results {
    background-color: #fdb913 !important; /* Правим го изцяло златен за мобилен */
    color: #131921 !important; /* Тъмен текст */
    padding: 12px !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    border: none !important;
}

/* ФИКС ЗА СЪОБЩЕНИЕТО ПРИ ЛИПСА НА РЕЗУЛТАТИ */
.wd-search-no-results {
    background-color: #131921 !important;
    color: #fdb913 !important;
    font-size: 14px !important;
    padding: 25px 15px !important;
}

/* Изчистване на сивия фон, който темата понякога слага на мобилен */
.wd-dropdown-results .wd-scroll-content {
    background-color: #131921 !important;
}

}
