@charset "utf-8";
/* CSS Document */
@charset "utf-8";
/* CSS Document */


#container {
    max-width: 1600px;
    padding-top: 100px;
    margin: 0 auto;
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    border-radius: 16px;
    overflow: hidden;
    background: white;
}
#map {
    width: 100%;
    height: 800px;
    border-bottom: 2px solid #eaeff5;
}
#infoPanel {
    padding: 30px 40px;
    background: linear-gradient(145deg, #ffffff 0%, #fafcff 100%);
}
.province-title {
    color: #2d3748;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}
.province-title::before {
    content: '📍';
    margin-right: 12px;
    font-size: 1.2em;
}
.shop-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(240px, 1fr));
    gap: 20px;
    padding: 15px 5px;
}
.shop-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.2s ease;
    border: 2px solid #E2E8F0; /* 添加单色边框 */
    border-left: 3px solid #EB6630; /* 保留左侧主色边框 */
    position: relative;
}
.shop-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(235, 102, 48, 0.12); /* 主色透明版 */
}
.shop-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}
.shop-index {
    width: 24px;
    height: 24px;
    background: #EB6630; /* 主色 */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 12px;
}
.shop-name {
    color: #2d3748;
    font-size: 15px;
    font-weight: 600;
    flex: 1;
}
.shop-info {
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}
.shop-detail {
    display: flex;
    align-items: center;
    margin: 8px 0;
}
.shop-detail-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    opacity: 0.8;
}
.shop-status {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #FDF0EB; /* 主色浅色版 */
    color: #EB6630; /* 主色 */
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 10px;
}

@media (max-width: 1400px) {
.shop-list {
    grid-template-columns: repeat(3, minmax(240px, 1fr));
}
}

@media (max-width: 1200px) {
.shop-list {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
}
}

/* ===== 移动端地图页面优化 ===== */
@media (max-width: 768px) {
  /* 主容器移动端优化 */
  #container {
    margin: 10px !important;
    border-radius: 12px !important;
  }
  
  /* 地图容器移动端 */
  #map {
    height: 500px !important;
  }
  
  /* 信息面板移动端 */
  #infoPanel {
    padding: 20px 15px !important;
  }
  
  /* 省份标题移动端 */
  .province-title {
    font-size: 20px !important;
    margin-bottom: 20px !important;
  }
  
  /* 门店列表移动端 */
  .shop-list {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
    padding: 10px 0 !important;
  }
  
  /* 门店卡片移动端优化 */
  .shop-card {
    padding: 18px !important;
    border-radius: 10px !important;
  }
  
  .shop-header {
    margin-bottom: 10px !important;
  }
  
  .shop-index {
    width: 22px !important;
    height: 22px !important;
    font-size: 11px !important;
    margin-right: 10px !important;
  }
  
  .shop-name {
    font-size: 14px !important;
    line-height: 1.3 !important;
  }
  
  .shop-info {
    font-size: 12px !important;
    line-height: 1.4 !important;
  }
  
  .shop-detail {
    margin: 6px 0 !important;
  }
  
  .shop-detail-icon {
    width: 14px !important;
    height: 14px !important;
    margin-right: 6px !important;
  }
  
  .shop-status {
    top: 12px !important;
    right: 12px !important;
    font-size: 10px !important;
    padding: 2px 6px !important;
  }
}

@media (max-width: 480px) {
  body {
    padding-top: 60px !important;
  }
  
  #container {
    margin: 5px !important;
    border-radius: 8px !important;
  }
  
  #map {
    height: 350px !important;
  }
  
  #infoPanel {
    padding: 15px 12px !important;
  }
  
  .province-title {
    font-size: 18px !important;
    margin-bottom: 15px !important;
  }
  
  .shop-card {
    padding: 15px !important;
    border-radius: 8px !important;
  }
  
  .shop-name {
    font-size: 13px !important;
  }
  
  .shop-info {
    font-size: 11px !important;
  }
  
  .shop-index {
    width: 20px !important;
    height: 20px !important;
    font-size: 10px !important;
  }
  
  .shop-status {
    font-size: 9px !important;
    padding: 2px 5px !important;
  }
}

/* ===== 增强版地图样式 ===== */

/* 返回按钮 */
.back-button {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #EB6630 0%, #D85B2B 100%);
    color: white;
    border: none;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(235, 102, 48, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
}

.back-button:hover {
    background: linear-gradient(135deg, #D85B2B 0%, #B91C1C 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(235, 102, 48, 0.4);
}

.back-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(235, 102, 48, 0.3);
}

/* 增强版门店卡片 */
.enhanced-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(145deg, #ffffff 0%, #fafcff 100%);
    border: 1px solid #E2E8F0;
}

.enhanced-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(235, 102, 48, 0.15);
    border-color: #EB6630;
}

.enhanced-card .shop-location {
    color: #64748b;
    font-size: 12px;
    margin-left: auto;
    background: #F1F5F9;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 500;
}

.enhanced-card .shop-status.direct {
    background: linear-gradient(135deg, #DCFCE7 0%, #BBF7D0 100%);
    color: #16A34A;
    font-weight: 600;
    border: 1px solid #86EFAC;
}

.enhanced-card .shop-status.franchise {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    color: #D97706;
    font-weight: 600;
    border: 1px solid #FBBF24;
}

/* 服务标签 */
.shop-services {
    margin: 12px 0 8px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.service-tag {
    background: linear-gradient(135deg, #F1F5F9 0%, #E2E8F0 100%);
    color: #475569;
    padding: 4px 10px;
    border-radius: 14px;
    font-size: 11px;
    font-weight: 500;
    border: 1px solid #CBD5E1;
    transition: all 0.2s ease;
}

.service-tag:hover {
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    color: #2563EB;
    border-color: #93C5FD;
}

/* 门店操作按钮 */
.shop-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #E2E8F0;
}

.action-btn {
    flex: 1;
    padding: 10px 14px;
    border: none;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    position: relative;
    overflow: hidden;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.action-btn:hover::before {
    left: 100%;
}

.locate-btn {
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    color: #2563EB;
    border: 1px solid #93C5FD;
}

.locate-btn:hover {
    background: linear-gradient(135deg, #DBEAFE 0%, #BFDBFE 100%);
    color: #1D4ED8;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.2);
}

.call-btn {
    background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
    color: #16A34A;
    border: 1px solid #86EFAC;
}

.call-btn:hover {
    background: linear-gradient(135deg, #DCFCE7 0%, #BBF7D0 100%);
    color: #15803D;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(22, 163, 74, 0.2);
}

/* 门店详情弹窗优化 */
.store-detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.store-detail-modal.show {
    opacity: 1;
    visibility: visible;
}

.store-detail-modal .modal-content {
    background: linear-gradient(145deg, #ffffff 0%, #fafcff 100%);
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
    border: 1px solid #E2E8F0;
    display: flex;
    flex-direction: column;
}

.store-detail-modal.show .modal-content {
    transform: scale(1) translateY(0);
}

.modal-header {
    padding: 28px 28px 20px;
    border-bottom: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
    border-radius: 20px 20px 0 0;
    flex-shrink: 0;
    z-index: 2;
}

.modal-header h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #2D3748;
    flex: 1;
}

.modal-header .store-status {
    position: static;
    margin: 0;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
}

.close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: #F3F4F6;
    border: none;
    font-size: 18px;
    color: #6B7280;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    background: #E5E7EB;
    color: #374151;
    transform: scale(1.1);
}

.modal-body {
    padding: 28px;
    position: relative;
    z-index: 1;
    background: white;
    overflow-y: auto;
    flex: 1;
}

.store-info-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 28px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    transition: all 0.2s ease;
}

.info-item:hover {
    border-color: #EB6630;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(235, 102, 48, 0.1);
}

.info-item i {
    width: 20px;
    height: 20px;
    color: #EB6630;
    margin-top: 2px;
    font-size: 16px;
}

.info-item div label {
    display: block;
    font-size: 12px;
    color: #6B7280;
    font-weight: 600;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item div span {
    color: #2D3748;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
}

.services-section label {
    display: block;
    font-size: 16px;
    color: #2D3748;
    font-weight: 700;
    margin-bottom: 16px;
}

.services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.services-list .service-tag {
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
    color: #0369A1;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #7DD3FC;
    transition: all 0.2s ease;
}

.services-list .service-tag:hover {
    background: linear-gradient(135deg, #0369A1 0%, #0284C7 100%);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(3, 105, 161, 0.3);
}

.modal-footer {
    padding: 20px 28px 28px;
    display: flex;
    justify-content: center;
    gap: 20px;
    position: relative;
    z-index: 2;
    background: white;
    flex-shrink: 0;
    border-top: 1px solid #F1F5F9;
}

/* 地图页面专用btn样式 */
.map-page .btn,
.map-btn {
    flex: 0 0 auto;
    min-width: 140px;
    padding: 14px 24px;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    min-height: 44px; /* 确保按钮有足够高度 */
}

.map-page .btn::before,
.map-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.map-page .btn:hover::before,
.map-btn:hover::before {
    left: 100%;
}

.map-page .btn-primary,
.map-btn.btn-primary {
    background: linear-gradient(135deg, #EB6630 0%, #D85B2B 100%);
    color: white;
    border: 1px solid #D85B2B;
}

.map-page .btn-primary:hover,
.map-btn.btn-primary:hover {
    background: linear-gradient(135deg, #D85B2B 0%, #B91C1C 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(235, 102, 48, 0.3);
}

.map-page .btn-secondary,
.map-btn.btn-secondary {
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
    color: #475569;
    border: 1px solid #CBD5E1;
}

.map-page .btn-secondary:hover,
.map-btn.btn-secondary:hover {
    background: linear-gradient(135deg, #F1F5F9 0%, #E2E8F0 100%);
    border-color: #94A3B8;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(71, 85, 105, 0.1);
}

/* 导航选择弹窗优化 */
.navigation-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.navigation-modal.show {
    opacity: 1;
    visibility: visible;
}

.navigation-modal .modal-content {
    background: linear-gradient(145deg, #ffffff 0%, #fafcff 100%);
    border-radius: 20px;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
    border: 1px solid #E2E8F0;
}

.navigation-modal.show .modal-content {
    transform: scale(1) translateY(0);
}

.navigation-options {
    display: grid;
    gap: 16px;
    padding: 20px;
}

.nav-option {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    text-decoration: none;
    color: #2D3748;
    transition: all 0.3s ease;
    cursor: pointer;
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
    position: relative;
    overflow: hidden;
}

.nav-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(235, 102, 48, 0.1), transparent);
    transition: left 0.5s ease;
}

.nav-option:hover::before {
    left: 100%;
}

.nav-option:hover {
    border-color: #EB6630;
    background: linear-gradient(135deg, #FDF2F0 0%, #FEF2F2 100%);
    color: #2D3748;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(235, 102, 48, 0.15);
}

.nav-icon {
    font-size: 28px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
    border-radius: 12px;
    border: 1px solid #CBD5E1;
    transition: all 0.3s ease;
}

.nav-option:hover .nav-icon {
    background: linear-gradient(135deg, #EB6630 0%, #D85B2B 100%);
    border-color: #D85B2B;
    transform: scale(1.1);
}

.nav-info h4 {
    margin: 0 0 6px 0;
    font-size: 16px;
    font-weight: 700;
    color: #2D3748;
}

.nav-info p {
    margin: 0;
    font-size: 13px;
    color: #6B7280;
    font-weight: 500;
}

/* 消息提示优化 */
.toast-message {
    position: fixed;
    top: 24px;
    right: 24px;
    background: linear-gradient(135deg, #2D3748 0%, #1A202C 100%);
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    z-index: 10002;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
    box-shadow: 0 8px 16px rgba(45, 55, 72, 0.3);
    border: 1px solid #4A5568;
}

.toast-message.show {
    opacity: 1;
    transform: translateX(0);
}

/* 无门店提示样式 */
.no-shop {
    text-align: center;
    padding: 40px 20px;
    color: #6B7280;
    font-size: 16px;
    font-weight: 500;
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
    border-radius: 12px;
    border: 2px dashed #CBD5E1;
}

/* 移动端适配优化 */
@media (max-width: 768px) {
    .store-detail-modal .modal-content {
        width: 95%;
        margin: 10px;
        border-radius: 16px;
    }
    
    .modal-header {
        padding: 24px 20px 16px;
        border-radius: 16px 16px 0 0;
    }
    
    .modal-header h3 {
        font-size: 20px;
    }
    
    .modal-body {
        padding: 24px 20px;
    }
    
    .store-info-grid {
        gap: 16px;
    }
    
    .info-item {
        padding: 14px;
    }
    
    .modal-footer {
        padding: 16px 20px 24px;
        flex-direction: column;
    }
    
    .map-page .btn,
    .map-btn {
        padding: 16px 20px;
    }
    
    .navigation-modal .modal-content {
        width: 95%;
        border-radius: 16px;
    }
    
    .nav-option {
        padding: 16px;
    }
    
    .nav-icon {
        width: 44px;
        height: 44px;
        font-size: 24px;
    }
    
    .back-button {
        top: 12px;
        left: 12px;
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .shop-actions {
        flex-direction: column;
    }
    
    .action-btn {
        padding: 12px 14px;
    }
}

@media (max-width: 480px) {
    .enhanced-card .shop-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .enhanced-card .shop-location {
        margin-left: 0;
        font-size: 11px;
    }
    
    .shop-services {
        margin: 10px 0;
    }
    
    .service-tag {
        font-size: 10px;
        padding: 3px 8px;
    }
    
    .modal-header h3 {
        font-size: 18px;
    }
    
    .info-item div span {
        font-size: 13px;
    }
    
    .toast-message {
        right: 12px;
        top: 12px;
        padding: 12px 18px;
        font-size: 13px;
    }
    
    .back-button {
        padding: 8px 12px;
        font-size: 12px;
    }
}