/* Aerfortel Frontend Styles — mobile-first, clean */

/* ── Search bar ────────────────────────────────────────────────────────── */
.aerfortel-search-wrap {
    position: relative;
    max-width: 640px;
    margin: 0 auto;
}

.aerfortel-search-input {
    width: 100%;
    padding: 14px 20px;
    font-size: 16px;
    border: 1.5px solid #ddd;
    border-radius: 40px;
    outline: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.aerfortel-search-input:focus {
    border-color: #1a73e8;
    box-shadow: 0 2px 12px rgba(26,115,232,0.15);
}

.aerfortel-search-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    z-index: 1000;
    overflow: hidden;
    max-height: 420px;
    overflow-y: auto;
}

.aerfortel-search-group {
    padding: 8px 16px 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #888;
}

.aerfortel-search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    text-decoration: none;
    color: inherit;
    transition: background 0.1s;
    cursor: pointer;
}

.aerfortel-search-item:hover,
.aerfortel-search-item.is-active {
    background: #f5f9ff;
}

.aerfortel-search-icon {
    font-size: 18px;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.aerfortel-search-text {
    display: flex;
    flex-direction: column;
}

.aerfortel-search-label {
    font-size: 14px;
    font-weight: 500;
    color: #202124;
}

.aerfortel-search-sublabel {
    font-size: 12px;
    color: #70757a;
}

.aerfortel-search-loading,
.aerfortel-search-no-results {
    padding: 14px 16px;
    font-size: 14px;
    color: #70757a;
    text-align: center;
}

/* ── Breadcrumb ─────────────────────────────────────────────────────────── */
.aerfortel-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    font-size: 13px;
    color: #5f6368;
}

.aerfortel-breadcrumb a {
    color: #1a73e8;
    text-decoration: none;
}

.aerfortel-breadcrumb a:hover { text-decoration: underline; }
.aerfortel-breadcrumb__sep { color: #bbb; }

/* ── Filter pills ───────────────────────────────────────────────────────── */
.aerfortel-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.aerfortel-filter-btn {
    padding: 7px 18px;
    font-size: 14px;
    border: 1.5px solid #dadce0;
    border-radius: 20px;
    background: #fff;
    color: #3c4043;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    font-family: inherit;
}

.aerfortel-filter-btn:hover {
    background: #f1f3f4;
    border-color: #bdc1c6;
}

.aerfortel-filter-btn.is-active {
    background: #e8f0fe;
    border-color: #1a73e8;
    color: #1a73e8;
    font-weight: 500;
}

/* ── Hotel grid ─────────────────────────────────────────────────────────── */
.aerfortel-hotel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.aerfortel-hotel-grid.is-loading {
    opacity: 0.5;
    pointer-events: none;
}

.aerfortel-hotel-card {
    background: #fff;
    border: 1px solid #e8eaed;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.aerfortel-hotel-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.aerfortel-hotel-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.aerfortel-hotel-card__body {
    padding: 16px;
}

.aerfortel-hotel-card__body h3 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.aerfortel-hotel-card__body h3 a {
    color: #202124;
    text-decoration: none;
}

.aerfortel-hotel-card__body h3 a:hover { color: #1a73e8; }

.aerfortel-hotel-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 13px;
    color: #5f6368;
}

.aerfortel-stars { color: #f4a416; }

.aerfortel-score {
    font-weight: 600;
    color: #1e8e3e;
}

.aerfortel-dist::before { content: '📍 '; }

/* ── Badges ─────────────────────────────────────────────────────────────── */
.aerfortel-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.aerfortel-badge {
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 500;
    border-radius: 12px;
    background: #f1f3f4;
    color: #3c4043;
}

.aerfortel-badge--park    { background: #e6f4ea; color: #137333; }
.aerfortel-badge--shuttle { background: #e8f0fe; color: #1a73e8; }

/* ── Book button ─────────────────────────────────────────────────────────── */
.aerfortel-book-btn {
    display: inline-block;
    padding: 9px 20px;
    background: #1a73e8;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.15s;
}

.aerfortel-book-btn:hover { background: #1557b0; }

/* ── No results ──────────────────────────────────────────────────────────── */
.aerfortel-no-hotels {
    color: #70757a;
    font-size: 15px;
    padding: 20px 0;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
    .aerfortel-hotel-grid {
        grid-template-columns: 1fr;
    }
    .aerfortel-search-input { padding: 12px 16px; font-size: 15px; }
}
