
/* ========== BỘ LỌC DESKTOP ========== */
.hotel-filter {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 18px;
    margin-top: 15px;
}
.filter-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 18px;
    color: #222;
}
.filter-group {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f1f1;
}
.filter-group:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.filter-group h5 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
}
.filter-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 8px;
    line-height: 1.4;
}
.filter-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #ff7a00;
    flex-shrink: 0;
}
.clear-filter {
    display: block;
    text-align: center;
    margin-top: 14px;
    font-size: 13px;
    color: #666;
    text-decoration: none;
}
.clear-filter:hover {
    color: #ff7a00;
}
input[type="checkbox"] + label:before,
input[type="checkbox"] + span:before {
    content: none !important;
}

/* ========== LOADING ========== */
.loading-overlay {
    display: none;
    text-align: center;
    padding: 60px 20px;
}
.loading-overlay.active {
    display: block;
}
.spinner {
    width: 48px;
    height: 48px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #ff7a00;
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
    margin: 0 auto 15px;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.loading-text {
    font-size: 16px;
    color: #555;
    font-weight: 500;
}
#product-list-wrapper {
    display: none;
}
#product-list-wrapper.show {
    display: block;
}

/* ========== MOBILE FILTER POPUP ========== */
.mobile-filter-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9998;
    background: #ff7a00;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 14px 22px;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255,122,0,0.4);
    cursor: pointer;
    align-items: center;
    gap: 6px;
}
.mobile-filter-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9997;
}
.mobile-filter-overlay.active {
    display: block;
}
.mobile-filter-panel {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    max-height: 85vh;
    background: #fff;
    border-radius: 20px 20px 0 0;
    z-index: 9999;
    transition: bottom 0.35s ease;
    box-shadow: 0 -5px 25px rgba(0,0,0,0.15);
    overflow-y: auto;
}
.mobile-filter-panel.active {
    bottom: 0;
}
.mobile-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 10;
}
.mobile-filter-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}
.mobile-filter-close {
    background: none;
    border: none;
    font-size: 26px;
    color: #666;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}
.mobile-filter-body {
    padding: 20px;
}

/* Responsive */
@media (max-width: 991px) {
    .mobile-filter-btn {
        display: flex;
    }
    /* Ẩn bộ lọc desktop trên mobile */
    .hotel-filter {
        display: none !important;
    }
}

/* R23: Hotel-only sidebar; preserve product cards and non-Hotel archives. */
.eh-sf-box,.eh-sf-support{background:#fff;border:1px solid #dce5ed;border-radius:12px;padding:16px;margin-bottom:14px;color:#17314d}
.eh-sf-box h2{font-size:17px;margin:0 0 14px;text-transform:none}
.eh-sf-support{display:flex;flex-direction:column;gap:8px;font-size:13px}.eh-sf-support a{color:#245773}
.eh-sf-group{padding:12px 0;border-top:1px solid #edf1f5}.eh-sf-group summary{font-size:14px;font-weight:600;cursor:pointer;margin-bottom:10px}.eh-sf-group p{font-size:12px;color:#63778b;margin:0 0 10px}
.eh-sf-form .filter-item{min-height:32px}.eh-sf-description{font-size:13px;line-height:1.6}
.eh-sf-chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}.eh-sf-chips a{padding:6px 10px;border:1px solid #dce5ed;border-radius:20px;background:#fff;color:#17314d;font-size:12px;text-decoration:none}
.eh-sf-form .eh-hotel-filter-apply{width:100%;min-height:44px;border:0;border-radius:8px;background:#e97608;color:#fff;font-weight:700;cursor:pointer}
@media(max-width:991px){.eh-hotel-catalog .eh-sf-sidebar{display:none!important}}

/* R24: Keep native submit fallback; screen-reader status and fetch state. */
.eh-sf-status{font-size:13px;color:#476477;margin:0 0 10px}.eh-sf-status:empty{display:none}.eh-sf-status a{color:#17517d;text-decoration:underline}
#product-list-wrapper[aria-busy=true]{opacity:.6}
