
/* v1.2 — wrap sem quebrar layout */
.f100-search-wrap {
    position: relative;
    display: inline-flex;
    width: 100%;
    max-width: 100%;
}
.f100-search-wrap input {
    width: 100% !important;
    flex: 1;
}

.f100-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    min-width: 300px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,.18);
    z-index: 999999;
    overflow: hidden;
    max-height: 70vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.f100-dropdown.show { display: block; animation: f100fade .15s ease; }
@keyframes f100fade { from{opacity:0;transform:translateY(-5px)} to{opacity:1;transform:translateY(0)} }

.f100-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px;
    padding: 10px 14px;
    cursor: pointer;
    text-decoration: none !important;
    color: #222 !important;
    border-bottom: 1px solid #f5f5f5;
    transition: background .1s;
}
.f100-item:hover, .f100-item.f100-active { background: #fff5f5 !important; }

.f100-img {
    width: 48px; height: 48px; flex-shrink: 0;
    border-radius: 8px; object-fit: contain;
    border: 1px solid #f0f0f0; background: #fafafa; padding: 2px;
}
.f100-info { flex: 1; min-width: 0; }
.f100-name {
    font-size: 13px !important; font-weight: 600 !important; color: #222 !important;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.f100-badges { display: flex; gap: 5px; margin-top: 4px; flex-wrap: wrap; }
.f100-badge { font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 10px; text-transform: uppercase; }
.f100-promo   { background: #c0392b; color: #fff; }
.f100-stock   { background: #e8f5e9; color: #2e7d32; }
.f100-nostock { background: #fce4ec; color: #c62828; }

.f100-price { text-align: right; flex-shrink: 0; min-width: 75px; }
.f100-cur { font-size: 14px; font-weight: 700; color: #c0392b; display: block; }
.f100-old { font-size: 11px; color: #aaa; text-decoration: line-through; display: block; }

.f100-ver-todos {
    display: block !important; padding: 12px 14px;
    font-size: 13px; color: #c0392b !important; font-weight: 600;
    text-align: center; text-decoration: none !important;
    background: #fff8f8; border-top: 1px solid #f0e0e0;
}
.f100-ver-todos:hover { background: #ffe8e8 !important; }
.f100-loading, .f100-empty { padding: 22px; text-align: center; font-size: 13px; color: #aaa; }
