/* ========================================
   广东艺而亿科技有限公司商城平台 - 定制产品搜索页面
   设计理念：现代化定制商品平台 + 红色主题
   主色调：#D32F2F（鲜红色）+ #FBC02D（明亮黄）
======================================== */

/* 全局重置和基础设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #333333;
    background: linear-gradient(135deg, #F5F5F5 0%, #FAFAFA 100%);
    font-size: 14px;
    scroll-behavior: smooth;
}

/* 容器布局 */
.zh_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.zh_main-wrapper {
    min-height: calc(100vh - 200px);
    padding-bottom: 60px;
}

/* ========================================
   Hero搜索区域样式
======================================== */
.zh_search-hero {
    background: linear-gradient(135deg, #D32F2F 0%, #B71C1C 50%, #D32F2F 100%);
    color: white;
    padding: 40px 0 60px;
    position: relative;
    overflow: hidden;
}

.zh_search-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: zh_float 6s ease-in-out infinite;
}

.zh_hero-content {
    position: relative;
    z-index: 2;
}

.zh_breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.zh_breadcrumb-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.zh_breadcrumb-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.zh_breadcrumb-arrow {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

.zh_breadcrumb-current {
    color: #FBC02D;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(251, 192, 45, 0.2);
    padding: 6px 16px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.zh_search-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.zh_summary-main {
    flex: 1;
    max-width: 600px;
}

.zh_search-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.zh_search-title i {
    color: #FBC02D;
    font-size: 36px;
}

.zh_search-stats {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 18px;
    margin-bottom: 20px;
}

.zh_stats-text, .zh_stats-unit {
    opacity: 0.95;
}

.zh_stats-number {
    font-size: 36px;
    font-weight: bold;
    color: #FBC02D;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: zh_pulse 2s ease-in-out infinite;
}

.zh_search-keyword-display {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.zh_keyword {
    color: #FBC02D;
    font-weight: 600;
    font-size: 16px;
}

.zh_summary-bg {
    position: absolute;
    right: -100px;
    top: -50px;
    width: 300px;
    height: 300px;
    opacity: 0.1;
    pointer-events: none;
}

.zh_bg-pattern {
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="white" stroke-width="2"/><circle cx="50" cy="50" r="25" fill="none" stroke="white" stroke-width="1"/><circle cx="50" cy="50" r="10" fill="white"/></svg>') no-repeat center;
    background-size: contain;
    animation: zh_rotate 20s linear infinite;
}

/* ========================================
   智能筛选区域样式
======================================== */
.zh_smart-filter-section {
    margin: -30px 0 40px;
    position: relative;
    z-index: 3;
}

.zh_filter-card {
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(211, 47, 47, 0.1);
    overflow: hidden;
}

.zh_filter-header {
    background: linear-gradient(135deg, #FFFFFF 0%, #FAFAFA 100%);
    padding: 24px 32px;
    border-bottom: 2px solid #F5F5F5;
}

.zh_filter-title {
    font-size: 20px;
    font-weight: 600;
    color: #333333;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}

.zh_filter-title i {
    color: #D32F2F;
    font-size: 18px;
}

.zh_filter-desc {
    color: #666666;
    font-size: 14px;
}

.zh_filter-content {
    padding: 32px;
}

.zh_filter-row {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #F0F0F0;
}

.zh_filter-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.zh_filter-label {
    min-width: 120px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #333333;
    font-size: 15px;
}

.zh_filter-label i {
    color: #D32F2F;
    font-size: 16px;
}

.zh_filter-options {
    flex: 1;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.zh_filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 20px;
    border: 2px solid #E5E5E5;
    border-radius: 25px;
    text-decoration: none;
    color: #666666;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.zh_filter-chip::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(211, 47, 47, 0.1), transparent);
    transition: left 0.5s ease;
}

.zh_filter-chip:hover::before {
    left: 100%;
}

.zh_filter-chip:hover {
    border-color: #D32F2F;
    color: #D32F2F;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(211, 47, 47, 0.2);
}

.zh_filter-chip.zh_active {
    background: linear-gradient(135deg, #D32F2F, #B71C1C);
    border-color: #D32F2F;
    color: white;
    box-shadow: 0 4px 16px rgba(211, 47, 47, 0.3);
}

.zh_filter-chip i {
    font-size: 13px;
}

.zh_price-arrow {
    margin-left: 4px;
    font-size: 11px;
}

/* 价格筛选区域 */
.zh_price-range-container {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 20px;
}

.zh_price-inputs {
    display: flex;
    align-items: center;
    gap: 16px;
}

.zh_input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.zh_input-prefix {
    position: absolute;
    left: 16px;
    color: #D32F2F;
    font-weight: 600;
    z-index: 2;
}

.zh_price-input {
    width: 140px;
    padding: 12px 16px 12px 32px;
    border: 2px solid #E5E5E5;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: #FFFFFF;
}

.zh_price-input:focus {
    outline: none;
    border-color: #D32F2F;
    box-shadow: 0 0 0 4px rgba(211, 47, 47, 0.1);
}

.zh_range-divider {
    color: #D32F2F;
    font-weight: bold;
    font-size: 16px;
}

.zh_apply-filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #D32F2F, #B71C1C);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(211, 47, 47, 0.3);
}

.zh_apply-filter-btn:hover {
    background: linear-gradient(135deg, #B71C1C, #D32F2F);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(211, 47, 47, 0.4);
}

/* ========================================
   产品展示区域样式
======================================== */
.zh_products-showcase {
    margin-bottom: 60px;
}

.zh_products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 32px;
    margin-bottom: 50px;
}

/* 产品卡片 */
.zh_product-card {
    background: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid #F0F0F0;
    position: relative;
}

.zh_product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.03), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.zh_product-card:hover::before {
    opacity: 1;
}

.zh_product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 64px rgba(211, 47, 47, 0.15);
    border-color: rgba(211, 47, 47, 0.2);
}

/* 产品图片展示 */
.zh_product-media {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #F8F8F8, #F0F0F0);
}

.zh_media-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.zh_image-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.zh_product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.zh_product-card:hover .zh_product-image {
    transform: scale(1.1);
}

.zh_image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(211, 47, 47, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    opacity: 0;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
}

.zh_product-card:hover .zh_image-overlay {
    opacity: 1;
}

/* 产品标签组 */
.zh_product-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 3;
}

.zh_badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    animation: zh_slideInLeft 0.6s ease-out;
}

.zh_badge-gift {
    background: linear-gradient(135deg, #FBC02D, #F9A825);
    color: #333333;
}

.zh_badge-hot {
    background: linear-gradient(135deg, #FF5722, #E64A19);
}

.zh_badge-stock {
    background: linear-gradient(135deg, #FF9800, #F57C00);
}

.zh_badge i {
    font-size: 11px;
}

/* 快捷操作工具栏 */
.zh_quick-actions {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    gap: 8px;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.4s ease;
    z-index: 3;
}

.zh_product-card:hover .zh_quick-actions {
    opacity: 1;
    transform: translateX(0);
}

.zh_quick-btn {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #666666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.zh_quick-btn:hover {
    background: #D32F2F;
    color: white;
    transform: scale(1.1);
}

.zh_collect-btn.zh_collected {
    background: #D32F2F;
    color: white;
}

/* 产品信息详情 */
.zh_product-details {
    padding: 24px;
    position: relative;
    z-index: 2;
}

.zh_product-header {
    margin-bottom: 20px;
}

.zh_product-title {
    margin-bottom: 8px;
}

.zh_title-link {
    color: #333333;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.zh_title-link:hover {
    color: #D32F2F;
}

.zh_title-link mark {
    background: rgba(211, 47, 47, 0.15);
    color: #D32F2F;
    padding: 2px 4px;
    border-radius: 4px;
}

.zh_product-description {
    color: #666666;
    font-size: 14px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 价格展示区域 */
.zh_pricing-section {
    margin-bottom: 20px;
    padding: 16px;
    background: linear-gradient(135deg, #FFF5F5, #FFEBEE);
    border-radius: 12px;
    border: 1px solid rgba(211, 47, 47, 0.1);
}

.zh_price-main {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 8px;
}

.zh_currency {
    color: #D32F2F;
    font-size: 18px;
    font-weight: 600;
}

.zh_price-current {
    color: #D32F2F;
    font-size: 28px;
    font-weight: bold;
}

.zh_price-unit {
    color: #666666;
    font-size: 14px;
    margin-left: 4px;
}

.zh_price-compare {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #999999;
}

.zh_price-label {
    font-size: 11px;
}

.zh_price-market {
    text-decoration: line-through;
}

.zh_discount-rate {
    background: #FBC02D;
    color: #333333;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 11px;
}

/* 服务商信息 */
.zh_vendor-info {
    margin-bottom: 24px;
}

.zh_vendor-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #F0F0F0;
    transition: all 0.3s ease;
    background: #FAFAFA;
}

.zh_vendor-link:hover {
    border-color: #D32F2F;
    background: rgba(211, 47, 47, 0.05);
    transform: translateY(-2px);
}

.zh_vendor-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #D32F2F, #B71C1C);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

.zh_vendor-details {
    flex: 1;
}

.zh_vendor-name {
    display: block;
    font-weight: 600;
    color: #333333;
    margin-bottom: 2px;
    font-size: 14px;
}

.zh_vendor-label {
    font-size: 12px;
    color: #666666;
}

.zh_vendor-arrow {
    color: #D32F2F;
    font-size: 12px;
    opacity: 0.7;
}

/* 操作按钮区域 */
.zh_action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.zh_action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    min-height: 48px;
}

.zh_cart-btn {
    background: #FFFFFF;
    color: #D32F2F;
    border: 2px solid #D32F2F;
}

.zh_cart-btn:hover {
    background: #D32F2F;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.3);
}

.zh_contact-btn {
    background: linear-gradient(135deg, #D32F2F, #B71C1C);
    color: white;
}

.zh_contact-btn:hover {
    background: linear-gradient(135deg, #B71C1C, #D32F2F);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(211, 47, 47, 0.4);
}

.zh_notify-btn {
    background: linear-gradient(135deg, #FBC02D, #F9A825);
    color: #333333;
    grid-column: 1 / -1;
}

.zh_notify-btn:hover {
    background: linear-gradient(135deg, #F9A825, #FBC02D);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 192, 45, 0.4);
}

.zh_action-btn i {
    font-size: 14px;
}

/* ========================================
   空状态展示样式
======================================== */
.zh_empty-state {
    text-align: center;
    padding: 100px 20px;
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.zh_empty-content {
    max-width: 600px;
    margin: 0 auto;
}

.zh_empty-illustration {
    position: relative;
    margin-bottom: 40px;
    display: inline-block;
}

.zh_empty-illustration i {
    font-size: 100px;
    color: #E0E0E0;
    position: relative;
    z-index: 2;
}

.zh_empty-circles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.zh_empty-circles div {
    position: absolute;
    border: 2px solid rgba(211, 47, 47, 0.1);
    border-radius: 50%;
    animation: zh_ripple 2s infinite;
}

.zh_circle-1 {
    width: 120px;
    height: 120px;
    top: -60px;
    left: -60px;
    animation-delay: 0s;
}

.zh_circle-2 {
    width: 160px;
    height: 160px;
    top: -80px;
    left: -80px;
    animation-delay: 0.5s;
}

.zh_circle-3 {
    width: 200px;
    height: 200px;
    top: -100px;
    left: -100px;
    animation-delay: 1s;
}

.zh_empty-title {
    font-size: 32px;
    color: #333333;
    margin-bottom: 16px;
    font-weight: 600;
}

.zh_empty-desc {
    color: #666666;
    margin-bottom: 40px;
    font-size: 16px;
    line-height: 1.6;
}

.zh_suggestion-section {
    margin-bottom: 40px;
    padding: 32px;
    background: #F8F9FA;
    border-radius: 16px;
}

.zh_suggestion-title {
    font-size: 18px;
    color: #333333;
    margin-bottom: 20px;
    font-weight: 600;
}

.zh_suggestion-tags {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.zh_suggestion-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #FFFFFF;
    color: #666666;
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    border: 2px solid #E5E5E5;
    transition: all 0.3s ease;
}

.zh_suggestion-tag:hover {
    background: #D32F2F;
    color: white;
    border-color: #D32F2F;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.3);
}

.zh_empty-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.zh_action-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.zh_action-link.zh_primary {
    background: linear-gradient(135deg, #D32F2F, #B71C1C);
    color: white;
}

.zh_action-link.zh_primary:hover {
    background: linear-gradient(135deg, #B71C1C, #D32F2F);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(211, 47, 47, 0.4);
}

.zh_action-link.zh_secondary {
    background: #FFFFFF;
    color: #666666;
    border: 2px solid #E0E0E0;
}

.zh_action-link.zh_secondary:hover {
    border-color: #D32F2F;
    color: #D32F2F;
    transform: translateY(-3px);
}

/* ========================================
   分页样式
======================================== */
.zh_pagination-section {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid #F0F0F0;
}

.zh_pagination-wrapper {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid #F0F0F0;
}

.zh_pagination-wrapper .pagination {
    display: flex;
    padding-left: 0;
    margin: 0;
    list-style: none;
    gap: 8px;
}

.zh_pagination-wrapper .pagination li {
    display: inline-block;
    margin: 0;
}

.zh_pagination-wrapper .pagination li a,
.zh_pagination-wrapper .pagination li span {
    position: relative;
    display: block;
    padding: 14px 18px;
    margin: 0;
    line-height: 1.2;
    text-decoration: none;
    border: 2px solid #E5E5E5;
    border-radius: 12px;
    color: #666666;
    background-color: #FFFFFF;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    min-width: 52px;
    text-align: center;
}

.zh_pagination-wrapper .pagination li a:hover {
    background: #D32F2F;
    border-color: #D32F2F;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.3);
}

/* 当前页样式 */
.zh_pagination-wrapper .pagination li.active span,
.zh_pagination-wrapper .pagination li span.currentpage {
    background: linear-gradient(135deg, #D32F2F, #B71C1C);
    border-color: #D32F2F;
    color: white;
    cursor: default;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.3);
}

/* 禁用状态 */
.zh_pagination-wrapper .pagination li.disabled span {
    color: #ccc;
    background-color: #f8f8f8;
    border-color: #e5e5e5;
    cursor: not-allowed;
    opacity: 0.6;
}

/* 隐藏不需要的分页元素 */
.zh_pagination-wrapper .pagination li:first-child {
    display: none !important; /* 隐藏 "共X条记录 第X页/共X页" */
}

.zh_pagination-wrapper .pagination li:nth-child(2) {
    display: none !important; /* 隐藏 "首页" */
}

.zh_pagination-wrapper .pagination li:last-child {
    display: none !important; /* 隐藏跳转页面的输入框区域 */
}

.zh_pagination-wrapper .pagination li:nth-last-child(2) {
    display: none !important; /* 隐藏 "尾页" */
}

/* 优化分页按钮间距 */
.zh_pagination-wrapper .pagination {
    justify-content: center;
    align-items: center;
}

/* 显示包含上一页下一页符号的按钮 */
.zh_pagination-wrapper .pagination li span,
.zh_pagination-wrapper .pagination li a {
    display: block;
}

/* 特殊处理：显示数字页码和上下页按钮 */
.zh_pagination-wrapper .pagination li:not(:first-child):not(:nth-child(2)):not(:last-child):not(:nth-last-child(2)) {
    display: inline-block !important;
}

/* ========================================
   最近浏览轮播样式
======================================== */
.zh_recent-carousel-section {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
    border: 1px solid #F0F0F0;
}

.zh_carousel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.zh_header-content {
    flex: 1;
}

.zh_carousel-title {
    font-size: 28px;
    color: #333333;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.zh_carousel-title i {
    color: #D32F2F;
    font-size: 24px;
}

.zh_carousel-subtitle {
    color: #666666;
    font-size: 14px;
}

.zh_carousel-controls {
    display: flex;
    gap: 8px;
}

.zh_carousel-btn {
    width: 48px;
    height: 48px;
    border: 2px solid #E5E5E5;
    border-radius: 50%;
    background: #FFFFFF;
    color: #666666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.zh_carousel-btn:hover:not(:disabled) {
    border-color: #D32F2F;
    color: #D32F2F;
    background: rgba(211, 47, 47, 0.05);
}

.zh_carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.zh_carousel-container {
    overflow: hidden;
    border-radius: 16px;
}

.zh_carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease;
}

.zh_carousel-item {
    flex-shrink: 0;
    width: 200px;
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border: 1px solid #F0F0F0;
    transition: all 0.3s ease;
}

.zh_carousel-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 32px rgba(211, 47, 47, 0.15);
}

.zh_carousel-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.zh_carousel-image {
    height: 160px;
    overflow: hidden;
    background: #F8F8F8;
}

.zh_carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.zh_carousel-item:hover .zh_carousel-image img {
    transform: scale(1.05);
}

.zh_carousel-info {
    padding: 16px;
    text-align: center;
}

.zh_carousel-name {
    font-size: 14px;
    color: #333333;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
    font-weight: 500;
}

.zh_carousel-price {
    font-size: 16px;
    color: #D32F2F;
    font-weight: bold;
}

/* ========================================
   响应式设计
======================================== */
@media (max-width: 768px) {
    .zh_container {
        padding: 0 16px;
    }
    
    .zh_search-hero {
        padding: 30px 0 40px;
    }
    
    .zh_search-title {
        font-size: 28px;
    }
    
    .zh_search-title i {
        font-size: 24px;
    }
    
    .zh_stats-number {
        font-size: 24px;
    }
    
    .zh_search-summary {
        flex-direction: column;
        text-align: center;
    }
    
    .zh_summary-bg {
        display: none;
    }
    
    .zh_filter-content {
        padding: 24px 20px;
    }
    
    .zh_filter-row {
        flex-direction: column;
        gap: 16px;
    }
    
    .zh_filter-label {
        min-width: auto;
    }
    
    .zh_price-range-container {
        flex-direction: column;
        gap: 16px;
    }
    
    .zh_price-inputs {
        justify-content: space-between;
        width: 100%;
    }
    
    .zh_price-input {
        width: 120px;
    }
    
    .zh_products-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 20px;
    }
    
    .zh_product-details {
        padding: 20px;
    }
    
    .zh_action-buttons {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .zh_empty-state {
        padding: 80px 20px;
    }
    
    .zh_empty-illustration i {
        font-size: 80px;
    }
    
    .zh_empty-title {
        font-size: 24px;
    }
    
    .zh_suggestion-tags {
        flex-direction: column;
        align-items: center;
    }
    
    .zh_empty-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .zh_carousel-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .zh_carousel-item {
        width: 160px;
    }
    
    .zh_carousel-image {
        height: 140px;
    }
}

@media (max-width: 480px) {
    .zh_search-hero {
        padding: 20px 0 30px;
    }
    
    .zh_search-title {
        font-size: 24px;
        flex-direction: column;
        gap: 8px;
    }
    
    .zh_search-stats {
        font-size: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .zh_stats-number {
        font-size: 20px;
    }
    
    .zh_products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .zh_product-media {
        height: 240px;
    }
    
    .zh_empty-illustration i {
        font-size: 60px;
    }
    
    .zh_empty-title {
        font-size: 20px;
    }
    
    .zh_carousel-title {
        font-size: 22px;
    }
    
    .zh_carousel-item {
        width: 140px;
    }
    
    .zh_carousel-image {
        height: 120px;
    }
}

/* ========================================
   动画效果
======================================== */
@keyframes zh_float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes zh_rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes zh_pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes zh_slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zh_ripple {
    0% {
        opacity: 1;
        transform: scale(0);
    }
    100% {
        opacity: 0;
        transform: scale(1);
    }
}

/* 购物车飞行动画 */
.zh_cart-fly-animation {
    position: fixed;
    width: 24px;
    height: 24px;
    background: #D32F2F;
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.6);
}

/* 加载状态 */
.zh_loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px;
    color: #666666;
}

.zh_loading i {
    animation: fa-spin 1s infinite linear;
    margin-right: 12px;
    font-size: 20px;
    color: #D32F2F;
}

/* 高亮搜索词 */
.zh_title-link em {
    color: #D32F2F;
    font-style: normal;
    font-weight: 700;
    background: rgba(211, 47, 47, 0.1);
    padding: 2px 4px;
    border-radius: 4px;
}

/* 提升性能的优化 */
.zh_product-card,
.zh_product-image,
.zh_quick-btn,
.zh_filter-chip {
    will-change: transform;
}

.zh_product-card:hover {
    will-change: auto;
}

/* 焦点样式优化 */
.zh_filter-chip:focus,
.zh_price-input:focus,
.zh_apply-filter-btn:focus,
.zh_action-btn:focus {
    outline: 3px solid rgba(211, 47, 47, 0.3);
    outline-offset: 2px;
}

/* 暗黑模式支持 */
@media (prefers-color-scheme: dark) {
    /* 暗黑模式下的样式可以在这里添加 */
}

/* 打印样式 */
@media print {
    .zh_quick-actions,
    .zh_action-buttons,
    .zh_pagination-section,
    .zh_carousel-controls {
        display: none !important;
    }
    
    .zh_product-card {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    }
    
    .zh_search-hero {
        background: white !important;
        color: black !important;
    }
}

/* 无障碍访问优化 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 高对比度模式 */
@media (prefers-contrast: high) {
    .zh_filter-chip,
    .zh_action-btn {
        border-width: 3px;
    }
    
    .zh_product-card {
        border-width: 2px;
    }
}
