.searchbar-tour .input-wrapper {
    background: var(--bg-light);
    border: 1px solid var(--btn-border-color);
    border-radius: 8px;
    min-height: 64px;
    position: relative;
}

.searchbar-tour .input-wrapper:focus-within {
    border-color: var(--secondary);
    background: var(--white);
}

.searchbar-tour .input-group-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    min-height: 64px;
    padding: 0 16px;
    cursor: pointer;
}

.searchbar-tour .input-content {
    flex: 1;
}

.searchbar-tour .search-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    display: block;
    margin-bottom: 2px;
}

.searchbar-tour .search-input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    width: 100%;
    padding: 0;
    cursor: pointer;
}

.searchbar-tour .search-input::placeholder {
    color: var(--text-placeholder);
    font-weight: 400;
}

.searchbar-tour .search-icon {
    color: var(--text-placeholder);
    font-size: 18px;
    margin-left: 12px;
}

.searchbar-tour .search-btn {
    font-size: 14px;
    font-weight: 700;
    min-height: 64px;
    border-radius: 8px;
}

/* Widget Base Styles */
.searchbar-tour .destination-widget,
.searchbar-tour .tour-period-widget {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    min-width: 400px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 30px 74px 0 rgba(67, 12, 12, 0.14);
    z-index: 1050;
    display: none;
}

.searchbar-tour .destination-widget.active,
.searchbar-tour .tour-period-widget.active {
    display: block;
}

/* Widget Content */
.searchbar-tour .widget-content {
    padding: 0;
}

.searchbar-tour .section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary);
    padding: 16px;
    border-bottom: 1px solid var(--bg-light);
}

/* Tags Inner */
.searchbar-tour .tags-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--btn-border-color);
}

/* .tour-tag - Uses .tag from common.css */

/* Categories Section */
.searchbar-tour .categories-section {
    padding: 16px;
}

.searchbar-tour .categories-section .section-title {
    padding: 0;
    margin-bottom: 12px;
    border-bottom: none;
}

.searchbar-tour .categories-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.searchbar-tour .theme-link {
    font-size: 14px;
    color: var(--text-dark);
    padding: 8px 0;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.searchbar-tour .theme-link:hover {
    color: var(--primary);
}

.searchbar-tour .theme-link i {
    font-size: 10px;
    color: var(--text-placeholder);
}

/* Tour Period List */
.searchbar-tour .tour-period-list {
    display: flex;
    flex-direction: column;
    max-height: 400px;
    overflow-y: auto;
}

.searchbar-tour .tour-period-item {
    display: flex;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--bg-light);
    cursor: pointer;
    gap: 12px;
}

.searchbar-tour .tour-period-item:last-child {
    border-bottom: none;
}

.searchbar-tour .tour-period-item:hover {
    background: var(--bg-light);
}

.searchbar-tour .tour-period-item input[type="radio"] {
    display: none;
}

.searchbar-tour .tour-period-item .custom-radio {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    border: 2px solid var(--secondary);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.searchbar-tour .tour-period-item input[type="radio"]:checked + .custom-radio {
    background: var(--secondary);
}

.searchbar-tour .tour-period-item input[type="radio"]:checked + .custom-radio::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--white);
    font-size: 12px;
}

.searchbar-tour .tour-period-item .period-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

/* Autocomplete Results */
.searchbar-tour .autocomplete-results {
    max-height: 400px;
    overflow-y: auto;
}

.searchbar-tour .suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--bg-light);
    cursor: pointer;
    text-decoration: none;
    color: var(--text-dark);
    transition: background 0.15s;
}

.searchbar-tour .suggestion-item:hover {
    background: var(--bg-light);
    color: var(--primary);
}

.searchbar-tour .suggestion-item i {
    font-size: 16px;
    color: var(--primary);
    flex-shrink: 0;
}

.searchbar-tour .suggestion-item span {
    font-size: 14px;
    font-weight: 500;
}

.searchbar-tour .no-results {
    padding: 16px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

/* Search Box - Hidden on Desktop */
.searchbar-tour .search-box {
    display: none;
}

/* Body fixed when overlay is open */
body.tour-overlay-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
}

/* Mobile Styles */
@media (max-width: 991px) {
    .searchbar-tour .search-btn {
        min-height: 56px;
    }

    .searchbar-tour .input-group-inner {
        min-height: 56px;
    }
}

@media (max-width: 767px) {
    /* Full Screen Widgets */
    .searchbar-tour .destination-widget,
    .searchbar-tour .tour-period-widget {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        min-width: 100%;
        max-width: 100%;
        border-radius: 0;
        z-index: 999999;
        display: none;
        flex-direction: column;
    }

    .searchbar-tour .destination-widget.active,
    .searchbar-tour .tour-period-widget.active {
        display: flex;
    }

    /* Search Box - Visible on Mobile */
    .searchbar-tour .search-box {
        display: block;
        padding: 16px;
        flex-shrink: 0;
        border-bottom: 1px solid var(--btn-border-color);
    }

    .searchbar-tour .search-box .inner {
        position: relative;
        display: flex;
        align-items: center;
    }

    .searchbar-tour .search-box .icon {
        position: absolute;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        width: 40px;
        z-index: 9;
        cursor: pointer;
    }

    .searchbar-tour .search-box .icon.back {
        left: 0;
    }

    .searchbar-tour .search-box .icon.close {
        right: 0;
    }

    .searchbar-tour .search-box .icon i {
        font-size: 18px;
        color: var(--text-placeholder);
    }

    .searchbar-tour .search-box input {
        font-size: 14px;
        padding: 18px 12px;
        padding-left: 42px;
        padding-right: 40px;
        outline: none;
        border-radius: 8px;
        border: 1px solid var(--btn-border-color);
        background: var(--bg-light);
        width: 100%;
    }

    .searchbar-tour .search-box input:focus {
        background: var(--white);
        border-color: var(--secondary);
    }

    .searchbar-tour .search-box input::placeholder {
        color: var(--text-light);
        font-weight: 400;
    }

    /* Widget Content */
    .searchbar-tour .widget-content {
        flex: 1;
        overflow-y: auto;
    }

    .searchbar-tour .section-title {
        padding: 12px 16px;
    }

    /* Tour Period List */
    .searchbar-tour .tour-period-list {
        max-height: none;
        flex: 1;
    }

    /* Hide desktop section title in period widget */
    .searchbar-tour .tour-period-widget .section-title {
        display: none;
    }
}

/* Searchbar inside mobile-search panel */
.mobile-search .searchbar-tour .row {
    flex-direction: column;
}

.mobile-search .searchbar-tour .row > [class*="col-"] {
    width: 100%;
    max-width: 100%;
    flex: none;
    margin-bottom: 12px;
}

.mobile-search .searchbar-tour .row > [class*="col-"]:last-child {
    margin-bottom: 0;
}

.mobile-search .searchbar-tour .input-wrapper {
    min-height: 56px;
}

.mobile-search .searchbar-tour .input-group-inner {
    min-height: 56px;
}

.mobile-search .searchbar-tour .search-btn {
    min-height: 56px;
    width: 100%;
}
