/* Grupo Dos Core - Public Styles */


/* ==========================================================================
   AJAX Search Dropdown - Opcion 2: Dark premium
   Fondo oscuro, tipografia limpia, acento coral, separadores sutiles
   ========================================================================== */

.wd-search-results {
    border-radius: 0 0 14px 14px !important;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3) !important;
    border: none !important;
    overflow: hidden !important;
    background: #1a1a1a !important;
    max-height: 580px !important;
}

.wd-search-suggestions {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 4px 0 6px !important;
}

.wd-suggestions-group {
    display: flex !important;
    flex-direction: column !important;
}

.wd-search-suggestions .wd-suggestion {
    display: flex !important;
    align-items: center !important;
    padding: 14px 20px !important;
    gap: 16px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    transition: background 0.15s ease !important;
    cursor: pointer !important;
    position: relative !important;
    background: transparent !important;
}

.wd-search-suggestions .wd-suggestion:last-of-type {
    border-bottom: none !important;
}

.wd-search-suggestions .wd-suggestion:hover,
.wd-search-suggestions .wd-suggestion.wd-active {
    background: rgba(255, 255, 255, 0.05) !important;
}

.wd-search-suggestions .wd-suggestion-thumb {
    flex: 0 0 56px !important;
    width: 56px !important;
    height: 56px !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

.wd-search-suggestions .wd-suggestion-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    padding: 4px !important;
    filter: brightness(1.1) !important;
}

.wd-search-suggestions .wd-suggestion-content {
    flex: 1 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

.wd-search-suggestions .wd-entities-title {
    font-size: 13px !important;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    line-height: 1.35 !important;
    margin: 0 !important;
    letter-spacing: 0.2px !important;
}

.wd-search-suggestions .wd-entities-title strong {
    font-weight: 600 !important;
    color: #fff !important;
}

.wd-search-suggestions .wd-suggestion-sku {
    font-size: 9px !important;
    color: rgba(255, 255, 255, 0.3) !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    font-weight: 500 !important;
}

.wd-search-suggestions .wd-suggestion .price {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
}

.wd-search-suggestions .wd-suggestion .price ins {
    text-decoration: none !important;
}

.wd-search-suggestions .wd-suggestion .price ins .woocommerce-Price-amount {
    color: #fe7757 !important;
}

.wd-search-suggestions .wd-suggestion .price del {
    font-size: 11px !important;
    color: rgba(255, 255, 255, 0.25) !important;
    font-weight: 400 !important;
    margin-right: 8px !important;
}

.wd-search-suggestions .wd-suggestion .price > .woocommerce-Price-amount {
    color: #fff !important;
}

.wd-search-suggestions .suggestion-divider-title {
    display: none !important;
}

/* View all results - subtle text link */
.wd-search-results .wd-all-results,
.wd-scroll-content > .wd-all-results,
a.wd-all-results {
    display: block !important;
    text-align: center !important;
    padding: 10px !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    color: rgba(255, 255, 255, 0.4) !important;
    background: transparent !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 0 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
    margin: 0 !important;
}

.wd-search-results .wd-all-results:hover,
.wd-scroll-content > .wd-all-results:hover,
a.wd-all-results:hover {
    color: #fe7757 !important;
}

.wd-search-suggestions .wd-not-found {
    text-align: center !important;
    padding: 32px 16px !important;
    border: none !important;
}

.wd-search-suggestions .wd-not-found-msg {
    color: rgba(255, 255, 255, 0.4) !important;
    font-size: 13px !important;
}

@media (max-width: 1024px) {
    .wd-search-suggestions .wd-suggestion {
        padding: 10px 14px !important;
        gap: 12px !important;
    }

    .wd-search-suggestions .wd-suggestion-thumb {
        flex: 0 0 46px !important;
        width: 46px !important;
        height: 46px !important;
    }

    .wd-search-suggestions .wd-entities-title {
        font-size: 12px !important;
    }
}
