/* Suggestions while typing in the product search field (0.85.0, includes/class-suggest.php, assets/ponodo-suggest.js) */
.pn-sug-wrap { position: relative; }
.pn-sug {
    position: absolute; left: 0; right: 0; top: 100%; z-index: 100000; margin: 4px 0 0; padding: 4px 0; list-style: none;
    background: #fff; color: #1d2327; border: 1px solid #d5d8dc; border-radius: 6px; box-shadow: 0 8px 24px rgba(0, 0, 0, .14);
    text-align: left; max-height: min(70vh, 460px); overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.pn-sug[hidden] { display: none; }
/* field "Shop suchen" of the shop directory: the box takes the place of the field in the row (0.85.8) */
.pn-shop-search .pn-sug-wrap { flex: 1 1 240px; max-width: 420px; display: block; }
.pn-shop-search .pn-sug-wrap input[type="search"] { width: 100%; max-width: none; box-sizing: border-box; }
.pn-sug li { margin: 0; padding: 0; }
.pn-sug a {
    display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 11px 14px; min-height: 44px;
    box-sizing: border-box; color: inherit; text-decoration: none; font-size: 16px; line-height: 1.35;
}
.pn-sug a:hover, .pn-sug li[aria-selected="true"] a { background: #f1f3f5; }
.pn-sug-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.pn-sug-label b { font-weight: 700; }
.pn-sug-hint { flex: 0 1 auto; max-width: 55%; overflow: hidden; text-overflow: ellipsis; font-size: 12px; color: #6b7280; white-space: nowrap; }
.pn-sug-label { flex: 0 1 auto; }
/* last row: the search through all products, clearly set apart (0.85.6) */
.pn-sug-all { margin-top: 4px; }
.pn-sug-all:first-child { margin-top: 0; }
.pn-sug-all a { justify-content: flex-start; align-items: center; gap: 10px; border-top: 1px solid #f3d6d4; background: #fdf3f2; color: #c8160f; font-weight: 600; min-height: 48px; }
.pn-sug-all:first-child a { border-top: 0; }
.pn-sug-all a:hover, .pn-sug li.pn-sug-all[aria-selected="true"] a { background: #fae4e2; }
.pn-sug-all .pn-sug-label { white-space: normal; overflow-wrap: anywhere; }
.pn-sug-all .pn-sug-label b { font-weight: 800; }
.pn-sug-ico { flex: none; }
.pn-sug:has(.pn-sug-all:last-child) { padding-bottom: 0; }
.pn-sug:has(.pn-sug-all:first-child) { padding-top: 0; }
@media (max-width: 480px) {
    .pn-sug a { padding: 12px 12px; }
    .pn-sug-hint { font-size: 11px; }
}
