/* 门店页面横幅 */

.store-banner {
    position: relative;
    width: 100%;
    min-height: 420px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.store-banner-modal {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.36);
    z-index: 2;
}

.store-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/92685_17236201800774.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.store-banner-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.store-banner-title {
    font-size: 44px;
    line-height: 1.3;
    font-weight: bold;
    margin: 8px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.store-banner-subtitle {
    font-size: 12px;
    line-height: 1.5;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.store-logo {
    width: 42px;
    display: block;
    margin: 0 auto;
    height: auto !important;
}


/* 门店分类部分 */

.store-categories {
    padding: 80px 0;
    background-color: #fff9f3;
}

.store-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 100px;
}


/* 门店分类切换 */

.store-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.store-tab-btn {
    padding: 8px 18px;
    background-color: #fff9f3;
    color: #000;
    border: none;
    cursor: pointer;
    font-size: 14px;
    line-height: 2;
    transition: all 0.3s ease;
    border: 1px solid #000;
}

.store-tab-btn:hover {
    color: #fff;
    background: #000;
    border: 0px solid #000;
}

.store-tab-btn.active {
    color: #fff;
    background: #000;
    border: 0px solid #000;
}


/* 标签内容 */

.store-tab-content {
    display: none;
    margin-left: -15px;
    margin-right: -15px;
}

.store-tab-content.active {
    display: block;
}


/* 特色门店 */

.featured-stores {
    margin-bottom: 60px;
}

.featured-stores h3 {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 40px;
    color: #333;
}

.store-grid {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 100%;
}

.store-item {
    padding: 15px;
    margin: 0;
    width: 50%;
    position: relative;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    z-index: 1;
    text-align: center;
    height: auto !important;
}

.store-item .store-item-inner {
    background: #fff;
    text-align: center;
}

.store-image {
    position: relative;
    width: 100%;
    padding-top: 54%;
    overflow: hidden;
}

.store-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.store-item:hover .store-image img {
    transform: scale(1.05);
}

.store-info {
    padding: 15px 10px;
}

.store-name {
    font-size: 15px;
    margin: 0;
    line-height: 1.5;
    color: #333;
}


/* 分页 */

.store-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination-btn {
    padding: 8px 16px;
    background-color: #f0f0f0;
    color: #333;
    border: none;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    background-color: #e0e0e0;
}

.pagination-btn.active {
    background-color: #000;
    color: #fff;
}


/* 响应式设计 */

@media (max-width: 992px) {
    .store-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .store-item {
        width: 100%;
        padding: 0;
    }
    .store-tabs {
        flex-wrap: wrap;
        gap: 10px;
    }
    .store-tab-btn {
        font-size: 12px;
        padding: 6px 12px;
    }
    .store-container {
        padding: 0 30px;
    }
    .store-banner-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .store-banner {
        min-height: 250px;
    }
    .store-banner-title {
        font-size: 28px;
    }
    .store-banner-subtitle {
        font-size: 14px;
    }
    .store-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .store-container {
        padding: 0 20px;
    }
    .store-tabs {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }
    .store-tab-btn {
        font-size: 11px;
        padding: 5px 10px;
        white-space: nowrap;
    }
    .store-info {
        padding: 10px;
    }
    .store-name {
        font-size: 13px;
        line-height: 1.4;
    }
    .store-pagination {
        gap: 5px;
    }
    .pagination-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    .store-tab-content {
        margin-left: 0;
        margin-right: 0;
    }
}