/* Default search overlay — trending sections (Pornhub-style) */
.search-overlay-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0.5rem;
    flex-shrink: 0;
}

.search-overlay-top form {
    flex: 1;
    min-width: 0;
}

.search-cancel-btn {
    flex-shrink: 0;
    color: #a1a1aa;
    font-size: 0.9375rem;
    font-weight: 500;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem 0.25rem;
    white-space: nowrap;
}

.search-cancel-btn:active {
    color: #fff;
}

.search-defaults {
    padding-bottom: 1rem;
}

.search-defaults-section {
    margin-bottom: 1.75rem;
}

.search-defaults-section:last-child {
    margin-bottom: 0;
}

.search-defaults-heading {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.25rem;
    letter-spacing: -0.01em;
}

.search-trending-list,
.search-trending-models {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-trending-term {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.7rem 0;
    color: #d4d4d8;
    font-size: 0.9375rem;
    line-height: 1.35;
    background: none;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    cursor: pointer;
}

.search-trending-term:last-child {
    border-bottom: none;
}

.search-trending-term:active {
    color: #fff;
}

.search-trending-model {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.65rem 0;
    text-decoration: none;
    color: #f4f4f5;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.search-trending-model:last-child {
    border-bottom: none;
}

.search-trending-model:active {
    opacity: 0.85;
}

.search-trending-model img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.search-trending-model span {
    font-size: 0.9375rem;
    font-weight: 500;
}

/* Mobil axtarış overlay — səhifə scroll/pagination ilə qarışmasın */
body.ovip-mobile-search-open {
    overflow: hidden;
    position: fixed;
    left: 0;
    right: 0;
}

body.ovip-mobile-search-open #pagination-container,
body.ovip-mobile-search-open #scroll-to-top {
    pointer-events: none !important;
}

body.ovip-mobile-search-open #scroll-to-top {
    opacity: 0 !important;
    visibility: hidden !important;
}

#mobile-search-overlay {
    min-height: 0;
}

#mobile-search-results-container {
    min-height: 0;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}

.mobile-search-scroll-sentinel {
    height: 1px;
    width: 100%;
    pointer-events: none;
}
