.global-search-form {
    min-width: 220px;
    width: min(100%, 360px);
    max-width: 420px;
}

.guest-country-form {
    width: 100%;
    max-width: 260px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.guest-country-form .form-select {
    flex: 1 1 auto;
    min-width: 0;
}

.guest-country-form .btn {
    flex: 0 0 auto;
    white-space: nowrap;
    padding-left: 0.9rem;
    padding-right: 0.9rem;
}

@media (max-width: 1199.98px) and (min-width: 992px) {
    .guest-country-form {
        max-width: none;
        width: 100%;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(92px, auto);
        align-items: stretch;
    }

    .guest-country-form .form-select,
    .guest-country-form .btn {
        min-height: 42px;
    }

    .guest-country-form .btn {
        width: 100%;
    }
}

.typeahead-results {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 12px;
    padding: 0.5rem;
    display: none;
    max-height: 360px;
    overflow-y: auto;
    z-index: 1050;
}

.typeahead-item {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    padding: 0.5rem;
    border-radius: 10px;
    text-decoration: none;
    color: #111827;
}

.typeahead-item:hover {
    background: rgba(59, 130, 246, 0.08);
}

.typeahead-thumb {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    background: #f3f4f6;
}

.typeahead-meta {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.typeahead-title {
    font-weight: 600;
    font-size: 0.95rem;
}

.typeahead-subtitle {
    font-size: 0.8rem;
    color: #6b7280;
}

.typeahead-price {
    font-size: 0.85rem;
    font-weight: 600;
    color: #2563eb;
}

.typeahead-empty {
    padding: 0.75rem;
    color: #6b7280;
    font-size: 0.85rem;
}

@media (max-width: 991.98px) {
    .global-search-form {
        min-width: 0;
        max-width: none;
        width: 100%;
        margin-right: 0 !important;
        margin-bottom: 0.75rem;
    }

    .global-search-form .form-control,
    .global-search-form .btn {
        min-height: 44px;
    }

    .global-search-form .form-control {
        font-size: 1rem;
    }

    .guest-country-form {
        max-width: none;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(92px, auto);
        align-items: stretch;
    }

    .guest-country-form .form-select {
        width: 100%;
        min-width: 0;
        min-height: 44px;
    }

    .guest-country-form .btn {
        min-height: 44px;
        width: 100%;
    }

    .typeahead-results {
        max-height: 50vh;
    }
}

@media (max-width: 420px) {
    .guest-country-form {
        grid-template-columns: 1fr;
    }

    .guest-country-form .btn {
        width: 100%;
    }
}
