/* 酒店频道首页样式 - 参照机票频道首页 */

.hotel-channel .banner {
    width: 100%;
    height: 380px; /* 酒店搜索框通常较高，所以比机票稍微高一点 */
    position: relative;
    background: url(/content/Styles/images/banner5.jpg) no-repeat;
    background-position: 50% 50%;
    background-size: cover;
    display: block;
}

.hotel-channel .banner-inner {
    width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

@media (max-width: 1240px) {
    .hotel-channel .banner-inner {
        width: 100%;
        padding: 0 20px;
    }
}

.hotel-channel .channel-search {
    width: 560px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    position: relative;
    z-index: 10;
}

/* 酒店搜索面板特定调整 */
.hotel-channel .search-panel {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: transparent;
    box-shadow: none;
}

/* 搜索胶囊按钮组 */
.hotel-channel .btn-group-capsule {
    display: inline-flex;
    border: 1px solid #ddd;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: #f8f9fa;
    box-shadow: var(--shadow-xs);
    margin-bottom: 16px;
    align-self: flex-start;
}

.hotel-channel .btn-group-capsule .btn {
    border: none !important;
    border-radius: 0 !important;
    font-weight: 500;
    color: #666;
    padding: 8px 20px;
    min-width: 64px;
    background: transparent;
    font-size: 14px;
}

.hotel-channel .btn-group-capsule .btn-check:checked + .btn {
    background: var(--brand-accent) !important;
    color: #fff !important;
    font-weight: 600;
}

.hotel-channel .btn-group-capsule .btn:hover {
    background: #f0f0f0;
    color: #333;
}

.hotel-channel .form-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    width: 100%;
}

/* 酒店城市/关键词占据整行 */
.hotel-channel .form-grid > .float-label-group:nth-child(1) {
    grid-column: 1 / -1;
}

.hotel-channel .form-grid > .swap-wrapper:nth-child(2) {
    display: none;
}

.hotel-channel .form-grid > .float-label-group:nth-child(3) {
    grid-column: 1 / -1;
}

.hotel-channel .form-grid > .float-label-group:nth-child(4) {
    grid-column: 1 / 2;
}

.hotel-channel .hotel-day-diff-wrapper:nth-child(5) {
    grid-column: 2 / 3;
    align-self: center;
}

.hotel-channel .form-grid > .float-label-group:nth-child(6) {
    grid-column: 3 / 4;
}

.hotel-channel .float-label-group {
    position: relative;
    width: 100%;
    height: 54px;
}

.hotel-channel .float-input {
    width: 100%;
    height: 100%;
    padding: 24px 12px 8px 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    font-size: 15px;
    background: #fff; /* 去掉透明度，改为纯白以保证文字清晰 */
    transition: all 0.3s;
    box-sizing: border-box;
}

.hotel-channel .float-input:focus {
    outline: none;
    border-color: var(--brand-accent);
    box-shadow: 0 0 0 3px rgba(255, 154, 3, 0.15);
}

.hotel-channel .float-label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #999;
    pointer-events: none;
    transition: all 0.3s;
}

.hotel-channel .float-input:not(:placeholder-shown) ~ .float-label,
.hotel-channel .float-input:focus ~ .float-label {
    top: 10px;
    font-size: 12px;
    color: var(--brand-accent);
    font-weight: 500;
}

/* 区县标签样式优化 */
.hotel-channel .district-tag {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-color);
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    pointer-events: none;
    z-index: 5;
    white-space: nowrap;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 134, 246, 0.2);
    display: none; /* 由 JS 控制显示 */
}

.hotel-channel .hotel-day-diff-wrapper {
    align-self: center;
    background: #f8f9fa;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    color: #666;
    border: 1px solid #eee;
    margin: 0 4px;
}

.hotel-channel .form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
}

.hotel-channel .search-btn {
    height: 46px;
    width: 100%;
    background: var(--brand-accent);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
}

.hotel-channel .search-btn:hover {
    background: var(--brand-accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 154, 3, 0.2);
}

/* 主内容容器 - 限制 1200px 宽度并居中 */
.hotel-channel .container-main {
    width: 1200px;
    margin: 0 auto;
    position: relative;
}

@media (max-width: 1240px) {
    .hotel-channel .container-main {
        width: 100%;
        padding: 0 20px;
    }
}

/* 特色服务区域 */
.hotel-channel .features-section {
    background: #fff;
    padding: 40px 0;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(0,0,0,0.02);
}

.hotel-channel .feature-list {
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    margin: 0 auto;
    width: 1200px;
}

.hotel-channel .feature-item {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
    transition: transform 0.3s;
}

.hotel-channel .feature-item:hover {
    transform: translateY(-2px);
}

.hotel-channel .feature-item .icon-box {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0, 134, 246, 0.05) 0%, rgba(0, 134, 246, 0.12) 100%);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-right: 16px;
    box-shadow: 0 4px 10px rgba(0, 134, 246, 0.05);
}

.hotel-channel .feature-item:hover .icon-box {
    background: var(--primary-color);
    color: #fff;
}

.hotel-channel .feature-item .text-box h3 {
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 4px 0;
    color: #1f2d3d;
}

.hotel-channel .feature-item .text-box p {
    font-size: 11px;
    color: #a0a0a0;
    margin: 0;
    text-transform: uppercase;
}

/* 热门酒店卡片优化 */
.hotel-channel .hotel-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.hotel-channel .hotel-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    text-decoration: none;
}

.hotel-channel .hotel-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(255, 154, 3, 0.2);
}

.hotel-channel .hotel-card .img-wrapper {
    height: 160px;
    overflow: hidden;
}

.hotel-channel .hotel-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.hotel-channel .hotel-card:hover img {
    transform: scale(1.1);
}

.hotel-channel .hotel-card .info {
    padding: 16px;
}

.hotel-channel .hotel-card .name {
    font-size: 15px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hotel-channel .hotel-card .address {
    font-size: 12px;
    color: #909399;
    margin-bottom: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hotel-channel .hotel-card .price {
    color: var(--brand-accent);
    font-size: 20px;
    font-weight: 800;
}

/* 品牌墙优化 - 不再作为全宽大背景块，而是作为内部模块 */
.hotel-channel .brand-section {
    margin-top: 32px;
    margin-bottom: 40px;
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
}

.hotel-channel .brand-section .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.hotel-channel .brand-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    background: #fff;
    padding: 24px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    justify-content: flex-start;
}

.hotel-channel .brand-item {
    flex: 0 0 calc(10% - 11px); /* 1200px 下一行显示 10 个 */
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fdfdfd;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    color: #555;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 1240px) {
    .hotel-channel .brand-item {
        flex: 0 0 calc(20% - 10px); /* 窄屏一行 5 个 */
    }
}

.hotel-channel .brand-item:hover {
    background: #fff;
    border-color: var(--brand-accent);
    color: var(--brand-accent);
    box-shadow: 0 4px 12px rgba(255, 154, 3, 0.12);
    transform: translateY(-2px);
    text-decoration: none;
}

.hotel-channel .hot-section,
.hotel-channel .faq-section {
    margin-top: 24px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 24px;
    padding: 24px 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.hotel-channel .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.hotel-channel .section-title h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: #1f2d3d;
}

.hotel-channel .section-subtitle {
    color: #8a8a8a;
    font-size: 12px;
    margin-left: 10px;
}

.hotel-channel .section-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.hotel-channel .section-tabs span {
    border: 1px solid #eee;
    background: #fff;
    color: #666;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.hotel-channel .section-tabs span:hover {
    border-color: rgba(0, 134, 246, 0.35);
    color: var(--primary-color);
    background: rgba(0, 134, 246, 0.05);
}

.hotel-channel .section-tabs span.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.hotel-channel .hotel-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

@media (max-width: 1200px) {
    .hotel-channel .hotel-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .hotel-channel .hotel-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.hotel-channel .hotel-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    transition: all 0.3s;
    text-decoration: none;
}

.hotel-channel .hotel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.hotel-channel .hotel-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.hotel-channel .hotel-card .info {
    padding: 12px;
}

.hotel-channel .hotel-card .name {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 4px;
    display: block;
}

.hotel-channel .hotel-card .price {
    color: var(--brand-accent);
    font-size: 18px;
    font-weight: 800;
}

.hotel-channel .hotel-card .price i {
    font-style: normal;
    font-size: 12px;
}

/* 常见问题 */
.hotel-channel .faq-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.hotel-channel .faq-item h3 {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 700;
    color: #222;
    padding-bottom: 8px;
    border-bottom: 2px solid #f5f5f5;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hotel-channel .faq-item h3::before {
    content: "";
    display: block;
    width: 3px;
    height: 14px;
    background: var(--primary-color);
    border-radius: 2px;
}

.hotel-channel .faq-item a {
    display: block;
    color: #666;
    text-decoration: none;
    font-size: 13px;
    line-height: 2.2;
}

.hotel-channel .faq-item a:hover {
    color: var(--primary-color);
}