/* Nautygo Smart Search — Airbnb-like dropdown (fixed-position, body-anchored) */
.ng-smart-search { position: relative; width: 100%; }

.ng-smart-search__dropdown {
    position: fixed;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.10), 0 16px 40px rgba(0,0,0,0.14);
    max-height: 70vh;
    overflow-y: auto;
    z-index: 99999;
    display: none;
    text-align: left;
    font-family: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    /* top/left/width set via JS */
}
.ng-smart-search__dropdown.is-open { display: block; }

.ng-smart-search__section { padding: 8px 0; }
.ng-smart-search__section + .ng-smart-search__section { border-top: 1px solid #ebebeb; }

.ng-smart-search__section-title {
    padding: 12px 24px 4px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #717171;
}

.ng-smart-search__item {
    display: flex;
    align-items: center;
    padding: 12px 24px;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: background-color 120ms ease;
    gap: 14px;
}
.ng-smart-search__item:hover,
.ng-smart-search__item.is-active {
    background-color: #f7f7f7;
}

.ng-smart-search__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #f0f0f0;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #717171;
    font-size: 18px;
}
.ng-smart-search__icon.-location { background: #eef4ff; color: #2266dd; }
.ng-smart-search__icon.-tour { background: #fff4e0; color: #c97b00; }
.ng-smart-search__icon.-boat { background: #e6f7f0; color: #0a8260; }

.ng-smart-search__text { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 3px; }
.ng-smart-search__title {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: #222;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ng-smart-search__subtitle {
    display: block;
    font-size: 13px;
    color: #717171;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ng-smart-search__hint {
    padding: 16px 24px;
    color: #717171;
    font-size: 14px;
    text-align: center;
}
.ng-smart-search__highlight { background: #fff7c2; border-radius: 2px; padding: 0 2px; }

.ng-smart-search__loading {
    padding: 16px 24px;
    text-align: center;
    color: #717171;
    font-size: 13px;
}
.ng-smart-search__loading::after {
    content: '';
    display: inline-block;
    width: 14px; height: 14px;
    border: 2px solid #ddd;
    border-top-color: #717171;
    border-radius: 50%;
    margin-left: 8px;
    vertical-align: middle;
    animation: ngspin 700ms linear infinite;
}
@keyframes ngspin { to { transform: rotate(360deg); } }

@media (max-width: 600px) {
    .ng-smart-search__dropdown {
        border-radius: 14px;
        max-height: 65vh;
    }
    .ng-smart-search__section-title { padding-left: 16px; padding-right: 16px; }
    .ng-smart-search__item { padding: 10px 16px; }
    .ng-smart-search__title { font-size: 14px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}

/* Compact hero — fits in viewport */
.ng-compact-hero { padding-top: 40px; padding-bottom: 40px; min-height: auto; }
.ng-compact-hero .masthead__content { padding-top: 20px; padding-bottom: 20px; }
.ng-compact-hero .ng-unified-search .field-items { padding: 0; }
.ng-compact-hero .ng-unified-search .searchMenu-date h4 { font-size: 13px; margin-bottom: 2px; }
.ng-compact-hero .ng-unified-search .searchMenu-date .check-in-out-render { font-size: 13px; }
.ng-compact-hero .ng-smart-search__input { font-size: 14px; padding: 0; }
.ng-compact-hero__images { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-height: 360px; }
.ng-compact-hero__images > div { overflow: hidden; border-radius: 8px; }
.ng-compact-hero__images > div:first-child { grid-row: span 2; }
.ng-compact-hero__images img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 991px) {
    .ng-compact-hero { padding-top: 30px; padding-bottom: 30px; }
    .ng-compact-hero__images { grid-template-columns: repeat(3, 1fr); max-height: 140px; }
    .ng-compact-hero__images > div:first-child { grid-row: auto; }
}
@media (max-width: 600px) {
    .ng-compact-hero__images { display: none; }
}

/* === Did you mean / Quizás quisiste decir === */
.ng-smart-search__hint.-dym-hint {
    color: #1A2B48;
    font-weight: 600;
    background: linear-gradient(180deg, rgba(255,193,7,.10), rgba(255,193,7,0));
    border-radius: 10px;
    margin: 6px 8px 0;
    padding: 12px 14px;
}
.ng-smart-search__section.-dym .ng-smart-search__section-title {
    color: #b88600;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: .5px;
}
