/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f5f5f5;
    max-width: 480px;
    margin: 0 auto;
    position: relative;
    min-height: 100vh;
    padding-bottom: 60px;
}

/* 顶部导航 */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background-color: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-left {
    display: flex;
    align-items: center;
}

.logo {
    font-weight: bold;
    margin-right: 5px;
}

.search-bar {
    flex: 1;
    display: flex;
    align-items: center;
    background-color: #f5f5f5;
    border-radius: 15px;
    padding: 5px 10px;
    margin: 0 10px;
}

.search-bar input {
    border: none;
    background: transparent;
    width: 100%;
    outline: none;
    margin-left: 5px;
    font-size: 14px;
}

.notification {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #999;
}

.notify-text {
    margin-left: 3px;
}

/* 主横幅 */
.main-banner {
    background-color: #e94842;
    color: white;
    padding: 15px;
    position: relative;
}

.banner-content {
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InJnYmEoMCwwLDAsMC4xKSIvPjwvc3ZnPg==');
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 5px;
    padding: 15px;
}

.banner-title {
    text-align: center;
}

.highlight {
    font-weight: bold;
    font-size: 1.2em;
}

.highlight-big {
    font-weight: bold;
    font-size: 1.4em;
    color: #fff;
}

.banner-subtitle {
    font-size: 0.9em;
    margin-top: 10px;
}

.banner-button {
    background-color: #ffc107;
    display: inline-flex;
    align-items: center;
    border-radius: 15px;
    padding: 5px 12px;
    margin-top: 10px;
    color: #000;
    font-size: 0.9em;
}

.banner-button i {
    margin-left: 5px;
}

/* 统计信息 */
.stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background-color: #fff;
    border-bottom: 1px solid #eee;
    font-size: 0.9em;
}

.stats-left {
    display: flex;
    align-items: center;
    color: #e94842;
}

.stats-left i {
    margin-right: 5px;
}

.stats-right {
    display: flex;
    align-items: center;
    color: #666;
}

.stats-right i {
    margin-left: 5px;
}

/* 主要功能按钮 */
.function-buttons {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    gap: 15px;
}

.function-btn {
    flex: 1;
    background-color: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.function-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
}

.function-btn.publish {
    margin-right: 10px;
    background: linear-gradient(to right, #FF9966, #FF5E62);
    color: white;
}

.btn-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.btn-content h3 {
    font-size: 1em;
}

.publish {
    border-left: 4px solid #e94842;
}

.publish .btn-content i {
    background-color: #e94842;
    color: white;
    border-radius: 50%;
    padding: 5px;
    font-size: 0.8em;
}

.find {
    border-left: 4px solid #ff9800;
}

.find .btn-content i {
    color: #ff9800;
    font-size: 1.2em;
}

.function-list {
    list-style: none;
}

.function-list li {
    display: flex;
    align-items: center;
    font-size: 0.8em;
    color: #666;
    margin-bottom: 5px;
}

.function-list i {
    font-size: 0.6em;
    margin-right: 5px;
    color: #e94842;
}

.find .function-list i {
    color: #ff9800;
}

/* 导航标签 */
.nav-tabs {
    display: flex;
    background-color: #fff;
    border-bottom: 1px solid #eee;
    position: relative;
}

.tab {
    flex: 1;
    text-align: center;
    padding: 15px 0;
    position: relative;
    font-size: 0.9em;
}

.tab.active {
    color: #e94842;
    font-weight: bold;
}

.tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30%;
    height: 3px;
    background-color: #e94842;
}

/* 筛选选项 */
.filter-options {
    display: flex;
    background-color: #fff;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.filter-item {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9em;
    color: #666;
}

.filter-item i {
    margin-left: 5px;
    font-size: 0.8em;
}

/* 筛选项选中样式 */
.filter-item.selected span {
    color: #e94842;
    font-weight: bold;
}

/* 店铺列表 */
.shop-list {
    padding: 10px 15px;
}

.shop-item {
    background-color: #fff;
    border-radius: 5px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    display: flex;
    flex-direction: column;
}

/* 添加店铺项的初始动画状态 */
.shop-item:nth-child(1) {
    transition-delay: 0.1s;
}

.shop-item:nth-child(2) {
    transition-delay: 0.2s;
}

.shop-item:nth-child(3) {
    transition-delay: 0.3s;
}

.shop-tag {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #e94842;
    color: white;
    padding: 2px 6px;
    font-size: 0.7em;
    z-index: 10;
    transform: rotate(0deg) translate(0, 0);
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
    border-radius: 0 0 5px 0;
}

.shop-content {
    display: flex;
    padding: 10px;
}

.shop-image {
    width: 110px;
    height: 80px;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    margin-right: 10px;
}

.shop-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.shop-title {
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 0.9em;
}

.shop-description {
    color: #666;
    font-size: 0.8em;
    margin-bottom: 5px;
}

.shop-price {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.price-transfer {
    color: #e94842;
    font-weight: bold;
    font-size: 0.85em;
}

.price-rent {
    color: #666;
    font-size: 0.85em;
}

.shop-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75em;
    color: #666;
    padding: 8px 10px;
    border-top: 1px solid #eee;
    background-color: #f9f9f9;
}

.shop-stats-left {
    display: flex;
    align-items: center;
}

.shop-stats-left i {
    color: #ff9800;
    margin-right: 5px;
}

.shop-stats-right {
    background-color: #e94842;
    color: white;
    padding: 4px 8px;
    border-radius: 15px;
    font-size: 0.9em;
}

/* 底部导航 */
/* 将底部导航相关的样式移除，注释掉 */
/*
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    border-top: 1px solid #eee;
    max-width: 480px;
    margin: 0 auto;
}

.footer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.8em;
    color: #666;
    text-decoration: none;
    position: relative;
}

.footer-item i {
    margin-bottom: 3px;
    font-size: 1.5em;
}

.footer-item.active {
    color: #e94842;
}

.footer-item.active::after {
    display: none;
}

.publish-btn {
    position: relative;
}

.publish-circle {
    width: 40px;
    height: 40px;
    background-color: #e94842;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -20px;
    color: white;
}
*/

/* 浮动客服按钮 */
/*
.floating-service {
    position: fixed;
    bottom: 80px;
    right: 15px;
    z-index: 100;
}

.service-circle {
    width: 50px;
    height: 50px;
    background-color: rgba(233, 72, 66, 0.9);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 0.8em;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
*/

/* 发布选择框 */
/*
.publish-options {
    position: fixed;
    bottom: -300px;
    left: 0;
    right: 0;
    background-color: white;
    max-width: 480px;
    margin: 0 auto;
    border-radius: 10px 10px 0 0;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: bottom 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.publish-options.active {
    bottom: 0;
}

.publish-option-item {
    display: flex;
    align-items: center;
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 10px;
}

.publish-option-item:first-child {
    border-bottom: 1px solid #eee;
}

.publish-option-item:last-child {
    margin-top: 10px;
}

.option-icon {
    margin-right: 15px;
}

.publish-option-item:first-child .option-icon i {
    width: 40px;
    height: 40px;
    background-color: #e94842;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.2em;
}

.publish-option-item:last-child .option-icon i {
    width: 40px;
    height: 40px;
    background-color: #4285f4;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.option-content h3 {
    font-size: 1em;
    font-weight: bold;
    margin-bottom: 5px;
}

.option-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.option-list li {
    display: flex;
    align-items: center;
    font-size: 0.8em;
    color: #999;
    margin: 3px 0;
}

.publish-option-item:first-child .option-list i {
    color: #e94842;
    font-size: 0.6em;
    margin-right: 5px;
}

.publish-option-item:last-child .option-list i {
    color: #4285f4;
    font-size: 0.6em;
    margin-right: 5px;
}
*/

/* 响应式设计 */
@media (max-width: 375px) {
    .function-list li, .shop-description {
        font-size: 0.75em;
    }
    
    .btn-content h3 {
        font-size: 0.9em;
    }
}

/* Toast样式 */
.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px 15px;
    border-radius: 4px;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.toast.show {
    opacity: 1;
}

/* 筛选弹出层 */
.filter-panel {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    max-width: 480px;
    margin: 0 auto;
    background-color: #fff;
    z-index: 200;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    max-height: 80vh;
    overflow-y: auto;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.filter-panel.active {
    transform: translateY(0);
}

.filter-header {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 10;
}

.filter-reset {
    color: #888;
    border: none;
    background: none;
    font-size: 0.9em;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.filter-reset:active {
    background-color: #f0f0f0;
}

.filter-title {
    font-weight: bold;
    font-size: 1.05em;
}

.filter-confirm {
    color: #e94842;
    border: none;
    background: none;
    font-weight: bold;
    font-size: 0.9em;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.filter-confirm:active {
    background-color: #ffeeee;
}

.filter-section {
    display: none;
    padding: 15px;
}

.filter-section.active {
    display: block;
}

.filter-section-title {
    font-weight: bold;
    margin: 15px 0 10px;
    font-size: 0.9em;
}

.filter-section-content {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-option {
    padding: 8px 15px;
    background-color: #f5f5f5;
    border-radius: 20px;
    font-size: 0.85em;
    color: #666;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.filter-option:active {
    transform: scale(0.97);
}

.filter-option.active {
    background-color: #ffeeee;
    color: #e94842;
    border: 1px solid rgba(233, 72, 66, 0.3);
}

.filter-mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 150;
    display: none;
}

.filter-mask.active {
    display: block;
}

.filter-types {
    margin-bottom: 20px;
}

.filter-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding: 15px 0;
}

.filter-reset-btn, .filter-confirm-btn {
    width: 48%;
    padding: 12px 0;
    border-radius: 25px;
    border: none;
    font-size: 0.95em;
    transition: all 0.2s ease;
}

.filter-reset-btn {
    background-color: #f5f5f5;
    color: #666;
    border: 1px solid #e0e0e0;
}

.filter-reset-btn:active {
    background-color: #e8e8e8;
}

.filter-confirm-btn {
    background-color: #e94842;
    color: white;
    box-shadow: 0 2px 8px rgba(233, 72, 66, 0.3);
}

.filter-confirm-btn:active {
    background-color: #d43c36;
    transform: translateY(1px);
}

/* 字母索引样式 */
.letter-index {
    position: sticky;
    top: 50px;
    right: 0;
    width: 20px;
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 5;
    padding: 5px 0;
    font-size: 0.7em;
    color: #333;
}

.letter-item {
    padding: 2px 0;
    font-weight: bold;
}

.letter-item.active {
    color: #e94842;
}

/* 区域列表样式 */
.area-list {
    display: flex;
    width: 100%;
}

.area-content {
    flex: 1;
}

.area-group {
    margin-bottom: 10px;
}

.area-letter {
    padding: 5px 10px;
    background-color: #f5f5f5;
    font-weight: bold;
    font-size: 0.8em;
}

.area-items {
    padding: 10px;
}

.area-item {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.area-item:last-child {
    border-bottom: none;
}

/* 行业筛选样式 */
.industry-container {
    display: flex;
    width: 100%;
    height: 70vh;
    max-height: 500px;
}

.industry-main {
    width: 40%;
    overflow-y: auto;
    border-right: 1px solid #f1f1f1;
}

.industry-sub {
    width: 60%;
    overflow-y: auto;
}

.industry-item {
    padding: 12px 15px;
    font-size: 0.9em;
    color: #333;
    border-bottom: 1px solid #f5f5f5;
}

.industry-item.active {
    color: #e94842;
    font-weight: bold;
}

.industry-main .industry-item:first-child {
    color: #e94842;
}

.industry-main .industry-item {
    position: relative;
}

.industry-sub .industry-item {
    padding-left: 20px;
}

.industry-sub-group {
    display: none;
}

.industry-sub-group.active {
    display: block;
}

/* 城市选择页面 */
.city-selector {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    z-index: 300;
    display: none;
    flex-direction: column;
    max-width: 480px;
    margin: 0 auto;
}

.city-selector.active {
    display: flex;
}

.city-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 10;
}

.city-title {
    font-weight: bold;
    font-size: 1.1em;
}

.city-close {
    padding: 5px;
    cursor: pointer;
}

.city-content {
    flex: 1;
    display: flex;
    overflow: hidden;
    position: relative;
}

.city-list {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 60px;
}

.city-group {
    margin-bottom: 10px;
}

.city-letter-header {
    padding: 8px 15px;
    background-color: #f5f5f5;
    font-weight: bold;
    font-size: 0.9em;
    color: #666;
}

.city-item {
    padding: 12px 15px;
    border-bottom: 1px solid #f5f5f5;
    font-size: 0.95em;
}

.letter-index-bar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    padding: 10px 5px;
    background-color: transparent;
    z-index: 15;
}

.letter-item {
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3px;
    font-size: 12px;
    color: #333;
    font-weight: bold;
    text-align: center;
    margin: 1px 0;
}

.letter-item.active {
    color: #fff;
    background-color: #007bff;
    border-radius: 50%;
}

.letter-header {
    padding: 5px;
    background-color: #f5f5f5;
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 0.8em;
}

.city-mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 250;
    display: none;
}

.city-mask.active {
    display: block;
}

/* 找店信息样式 */
.find-shop-item {
    border-left: 3px solid #4285f4;
}

.find-shop-info {
    padding: 5px 0;
}

.find-shop-area {
    color: #4285f4;
    font-size: 0.85em;
    margin-bottom: 5px;
    font-weight: bold;
}

.find-shop-btn {
    background-color: #4285f4;
}

/* 去掉链接下划线 */
a {
    text-decoration: none;
}

.shop-item a {
    text-decoration: none;
    color: inherit;
    display: block;
} 