/* ==========================================
   品牌/店铺详情页样式
   Brand/Store Detail Page Styles
   ========================================== */

/* 页面基础设置 */
.zh_brand_page {
    min-height: 100vh;
    background: #f8f9fa;
    padding-top: 120px;
}

/* ==========================================
   店铺头部横幅区域
   ========================================== */
.zh_brand_hero {
    position: relative;
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #749F06 0%, #638708 50%, #18813f 100%);
    overflow: hidden;
    margin-bottom: 50px;
}

.zh_brand_bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

/* 店铺头部信息 */
.zh_brand_header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.zh_brand_icon {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.zh_brand_icon i {
    font-size: 56px;
    color: #749F06;
}

.zh_brand_info {
    flex: 1;
}

.zh_brand_name {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 15px 0;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.zh_brand_badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.zh_brand_badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.zh_brand_badge i {
    font-size: 18px;
}

/* 店铺统计卡片 */
.zh_brand_stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    position: relative;
    z-index: 1;
}

.zh_stat_card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.zh_stat_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.zh_stat_icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #749F06 0%, #638708 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.zh_stat_icon i {
    font-size: 32px;
    color: #ffffff;
}

.zh_stat_content {
    flex: 1;
}

.zh_stat_label {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 8px;
    font-weight: 500;
}

.zh_stat_value {
    font-size: 24px;
    font-weight: 700;
    color: #212529;
    line-height: 1.2;
}

/* ==========================================
   商品列表区域
   ========================================== */
.zh_brand_products_section {
    padding: 60px 0;
    background: #ffffff;
}

/* 区域标题 */
.zh_section_header {
    text-align: center;
    margin-bottom: 50px;
}

.zh_section_title {
    font-size: 36px;
    font-weight: 700;
    color: #212529;
    margin: 0 0 15px 0;
    position: relative;
    display: inline-block;
}

.zh_section_title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #749F06 0%, #638708 100%);
    border-radius: 2px;
}

.zh_section_subtitle {
    font-size: 16px;
    color: #6c757d;
    margin: 20px 0 0 0;
}

/* 商品网格布局 */
.zh_brand_products_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* 商品卡片 */
.zh_brand_product_item {
    opacity: 0;
    transform: scale(0.95);
}

.zh_brand_product_item[data-aos].aos-animate {
    opacity: 1;
    transform: scale(1);
}

.zh_brand_product_card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
}

.zh_brand_product_card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(116, 159, 6, 0.2);
    border-color: #749F06;
}

/* 商品图片区域 */
.zh_brand_product_img_wrap {
    position: relative;
    width: 100%;
    padding-top: 75%;
    overflow: hidden;
    background: #f8f9fa;
    display: block;
}

.zh_brand_product_img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.zh_brand_product_card:hover .zh_brand_product_img {
    transform: scale(1.1);
}

.zh_brand_product_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(116, 159, 6, 0.9) 0%, rgba(99, 135, 8, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.zh_brand_product_card:hover .zh_brand_product_overlay {
    opacity: 1;
}

.zh_brand_quick_view {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.zh_brand_product_card:hover .zh_brand_quick_view {
    transform: translateY(0);
}

.zh_brand_quick_view i {
    font-size: 32px;
}

.zh_brand_quick_view span {
    font-size: 16px;
    font-weight: 600;
}

/* 商品信息区域 */
.zh_brand_product_details {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.zh_brand_product_name {
    font-size: 18px;
    font-weight: 600;
    color: #212529;
    margin: 0 0 15px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 50px;
}

.zh_brand_product_name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.zh_brand_product_name a:hover {
    color: #749F06;
}

/* 评分显示 */
.zh_brand_product_rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.zh_brand_stars {
    display: flex;
    gap: 3px;
}

.zh_brand_stars i {
    font-size: 14px;
    color: #ffc107;
}

.zh_brand_rating_num {
    font-size: 14px;
    color: #6c757d;
    font-weight: 600;
}

/* 价格区域 */
.zh_brand_product_pricing {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 20px;
}

.zh_brand_price_now {
    font-size: 28px;
    font-weight: 700;
    color: #749F06;
    line-height: 1;
}

.zh_brand_price_old {
    font-size: 16px;
    color: #adb5bd;
    text-decoration: line-through;
}

/* 操作按钮 */
.zh_brand_product_actions {
    margin-top: auto;
}

.zh_brand_btn_detail {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #749F06 0%, #638708 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.zh_brand_btn_detail:hover {
    background: linear-gradient(135deg, #638708 0%, #18813f 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(116, 159, 6, 0.3);
}

.zh_brand_btn_detail i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.zh_brand_btn_detail:hover i {
    transform: translateX(5px);
}

/* 分页区域 */
.zh_brand_pagination_area {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #e9ecef;
}

/* ==========================================
   响应式设计
   ========================================== */

/* 大屏幕 */
@media (max-width: 1200px) {
    .zh_brand_products_grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 25px;
    }

    .zh_brand_name {
        font-size: 36px;
    }

    .zh_brand_icon {
        width: 100px;
        height: 100px;
    }

    .zh_brand_icon i {
        font-size: 48px;
    }
}

/* 平板 */
@media (max-width: 992px) {
    .zh_brand_page {
        padding-top: 100px;
    }

    .zh_brand_hero {
        padding: 60px 0 50px;
    }

    .zh_brand_header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .zh_brand_name {
        font-size: 32px;
    }

    .zh_brand_stats {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .zh_stat_card {
        padding: 25px;
    }

    .zh_brand_products_grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 20px;
    }

    .zh_section_title {
        font-size: 30px;
    }
}

/* 手机横屏 */
@media (max-width: 768px) {
    .zh_brand_page {
        padding-top: 80px;
    }

    .zh_brand_hero {
        padding: 40px 0 30px;
        margin-bottom: 30px;
    }

    .zh_brand_icon {
        width: 80px;
        height: 80px;
    }

    .zh_brand_icon i {
        font-size: 40px;
    }

    .zh_brand_name {
        font-size: 26px;
    }

    .zh_brand_badge {
        padding: 8px 16px;
        font-size: 14px;
    }

    .zh_brand_stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .zh_stat_card {
        padding: 20px;
    }

    .zh_stat_icon {
        width: 60px;
        height: 60px;
    }

    .zh_stat_icon i {
        font-size: 28px;
    }

    .zh_stat_value {
        font-size: 20px;
    }

    .zh_brand_products_section {
        padding: 40px 0;
    }

    .zh_section_header {
        margin-bottom: 30px;
    }

    .zh_section_title {
        font-size: 26px;
    }

    .zh_section_subtitle {
        font-size: 14px;
    }

    .zh_brand_products_grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 15px;
    }

    .zh_brand_product_details {
        padding: 20px;
    }

    .zh_brand_product_name {
        font-size: 16px;
        min-height: 44px;
    }

    .zh_brand_price_now {
        font-size: 24px;
    }
}

/* 手机竖屏 */
@media (max-width: 576px) {
    .zh_brand_page {
        padding-top: 70px;
    }

    .zh_brand_hero {
        padding: 30px 0 25px;
        margin-bottom: 20px;
    }

    .zh_brand_icon {
        width: 70px;
        height: 70px;
    }

    .zh_brand_icon i {
        font-size: 32px;
    }

    .zh_brand_name {
        font-size: 22px;
    }

    .zh_brand_badge {
        padding: 6px 12px;
        font-size: 13px;
    }

    .zh_brand_badge i {
        font-size: 14px;
    }

    .zh_stat_card {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
    }

    .zh_stat_icon {
        width: 55px;
        height: 55px;
    }

    .zh_stat_icon i {
        font-size: 24px;
    }

    .zh_stat_label {
        font-size: 13px;
    }

    .zh_stat_value {
        font-size: 18px;
    }

    .zh_brand_products_section {
        padding: 30px 0;
    }

    .zh_section_title {
        font-size: 22px;
    }

    .zh_section_title::after {
        width: 50px;
        height: 3px;
    }

    .zh_brand_products_grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .zh_brand_product_details {
        padding: 18px;
    }

    .zh_brand_product_name {
        font-size: 15px;
    }

    .zh_brand_price_now {
        font-size: 22px;
    }

    .zh_brand_price_old {
        font-size: 14px;
    }

    .zh_brand_btn_detail {
        padding: 12px 18px;
        font-size: 14px;
    }

    .zh_brand_pagination_area {
        margin-top: 30px;
        padding-top: 20px;
    }
}
