/*
Theme Name: KUAS Medical Theme
Description: 仿制EDD Health医疗平台主题
Author: KUAS Team
Version: 1.0.0
Text Domain: kuas-medical
*/

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;600;700&display=swap');

/* CSS Variables for Medical Theme */
:root {
    /* Primary Brand Colors */
    --primary-color: #00a8cc;
    --primary-hover: #0096b8;
    --primary-light: rgba(0, 168, 204, 0.1);
    --primary-dark: #007a99;
    
    --secondary-color: #00d4aa;
    --secondary-hover: #00c299;
    --secondary-light: rgba(0, 212, 170, 0.1);
    --secondary-dark: #00b088;
    
    /* Accent Colors */
    --accent-color: #ff6b6b;
    --accent-hover: #ff5252;
    --accent-light: rgba(255, 107, 107, 0.1);
    
    --success-color: #28a745;
    --success-light: rgba(40, 167, 69, 0.1);
    --warning-color: #ffc107;
    --warning-light: rgba(255, 193, 7, 0.1);
    --error-color: #dc3545;
    --error-light: rgba(220, 53, 69, 0.1);
    --info-color: #17a2b8;
    --info-light: rgba(23, 162, 184, 0.1);
    --border-inactive: #d3d3d3;
    
    /* Text Colors */
    --text-primary: #2c3e50;
    --text-secondary: #7f8c8d;
    --text-muted: #95a5a6;
    --text-light: #bdc3c7;
    --text-white: #ffffff;
    --text-dark: #1a1a1a;
    
    /* Background Colors */
    --background-white: #ffffff;
    --background-light: #f8f9fa;
    --background-gray: #e9ecef;
    --background-dark: #343a40;
    --background-overlay: rgba(0, 0, 0, 0.5);
    
    /* Border Colors */
    --border-color: #e9ecef;
    --border-light: #f1f3f4;
    --border-dark: #dee2e6;
    --border-primary: var(--primary-color);
    --border-secondary: var(--secondary-color);
    
    /* Container Widths */
    --container-max-width: 1440px;
    
    /* Shadows */
    --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 6px rgba(0, 0, 0, 0.08);
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-large: 0 8px 30px rgba(0, 0, 0, 0.2);
    --shadow-primary: 0 4px 20px rgba(0, 168, 204, 0.3);
    --shadow-secondary: 0 4px 20px rgba(0, 212, 170, 0.3);
    
    /* Border Radius */
    --border-radius-sm: 4px;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;
    --border-radius-full: 50px;
    
    /* Transitions */
    --transition-fast: all 0.15s ease;
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Font Sizes */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    
    /* Font Weights */
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    
    /* Z-index */
    --z-dropdown: 1000;
    --z-header: 1010;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-white);
    font-size: 16px;
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header - Header Styles */
.site-header {
    background: var(--background-white);
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: var(--z-header);
}

/* Top Header Bar */
.top-header-bar {
    background: var(--info-color);
    border-bottom: 1px solid var(--border-color);
    padding: var(--spacing-sm) 0;
}

.top-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo .logo-text {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-white);
    text-decoration: none;
}

/* Header Search */
.header-search {
    flex: 1;
    max-width: 500px;
    margin: 0 var(--spacing-lg);
}

.search-form {
    display: flex;
    align-items: center;
    background: var(--background-white);
    border-radius: 25px;
    overflow: hidden;
    transition: var(--transition);
    height: 40px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.search-form:focus-within {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.search-field {
    flex: 1;
    padding: 0 var(--spacing-md);
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-size: var(--font-size-base);
    outline: none;
    height: 100%;
}

.search-field::placeholder {
    color: var(--text-secondary);
}

.search-submit {
    padding: 0 var(--spacing-md);
    border: none;
    background: none !important;
    color: var(--info-color);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.search-submit:hover {
    color: var(--info-color);
    background: none !important;
}

.search-icon {
    width: 16px;
    height: 16px;
}

.header-cart {
    position: relative;
}

.cart-toggle {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--text-white);
    text-decoration: none;
    padding: var(--spacing-xs);
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
}

.cart-icon {
    width: 20px;
    height: 20px;
}

.cart-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cart-count {
    background: var(--error-color);
    color: var(--text-white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: var(--font-weight-bold);
    position: absolute;
    top: -8px;
    right: -8px;
}

.cart-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--background-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-dark);
    width: 300px;
    z-index: 1000;
    display: none;
}

.cart-dropdown.show {
    display: block;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

.cart-header h3 {
    margin: 0;
    font-size: var(--font-size-lg);
    color: var(--text-primary);
}

.cart-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-items {
    padding: var(--spacing-md);
    max-height: 300px;
    overflow-y: auto;
}

.empty-cart {
    text-align: center;
    color: var(--text-secondary);
    margin: 0;
}

.cart-footer {
    padding: var(--spacing-md);
    border-top: 1px solid var(--border-color);
}

.cart-total {
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-sm);
    text-align: right;
}

.checkout-btn {
    width: 100%;
    background: var(--primary-color);
    color: var(--text-white);
    border: none;
    padding: var(--spacing-sm);
    border-radius: var(--border-radius);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: var(--transition);
}

.checkout-btn:hover {
    background: var(--secondary-color);
}

/* Cart Item Styles */
.cart-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--border-color);
}

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

.cart-item-image img {
    border-radius: var(--border-radius-sm);
    object-fit: cover;
}

.cart-item-image .no-image {
    width: 100%;
    height: 100%;
    background: var(--background-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--text-secondary);
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-size: var(--font-size-sm);
    margin: 0 0 var(--spacing-xs) 0;
    color: var(--text-primary);
}

.cart-item-price {
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.quantity-btn {
    background: var(--background-light);
    border: 1px solid var(--border-color);
    width: 24px;
    height: 24px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.quantity-btn:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

.quantity {
    min-width: 20px;
    text-align: center;
    font-weight: var(--font-weight-medium);
}

.remove-item {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 18px;
    padding: var(--spacing-xs);
    border-radius: var(--border-radius-sm);
}

.remove-item:hover {
    background: var(--error-color);
    color: var(--text-white);
}

/* Cart Message */
.cart-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--success-color);
    color: var(--text-white);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius);
    z-index: 9999;
    box-shadow: var(--shadow-dark);
}

/* Navigation Bar */
.navigation-bar {
    background: var(--background-white);
    padding: var(--spacing-lg) 0;
    display: flex;
    justify-content: center;
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-md) 0;
    max-width: 1200px;
    margin: 0 auto;
}

/* Site Branding */
.site-branding {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.site-logo img {
    max-height: 60px;
    width: auto;
    transition: var(--transition);
}

.site-logo img:hover {
    opacity: 0.8;
}

.site-title {
    margin: 0;
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    transition: var(--transition);
}

.site-logo:hover {
    color: var(--primary-hover);
}


/* Navigation - Medical Style */
.main-navigation {
    position: relative;
}

.main-navigation ul {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--spacing-xl);
    align-items: center;
}

.main-navigation a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-sm);
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    display: block;
}

.main-navigation a:hover {
    color: var(--primary-color);
    background-color: var(--primary-light);
}

.main-navigation a.cta-button {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-white);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius-full);
    font-weight: var(--font-weight-semibold);
}

.main-navigation a.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
    background: linear-gradient(135deg, var(--primary-hover), var(--secondary-hover));
}

/* Mega Menu Styles */
.main-navigation .mega-menu-item {
    position: relative;
}

.main-navigation .mega-menu-item > a::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid currentColor;
    margin-left: 4px;
    transition: transform 0.3s ease;
    display: inline-block;
    vertical-align: middle;
}

.main-navigation .mega-menu-item:hover > a::after {
    transform: rotate(180deg);
}

/* Mega Menu Dropdown - Full Width */
.main-navigation .mega-menu-dropdown {
    position: fixed;
    top: 120px; /* 调整为header高度 + top-header-bar高度 */
    left: 0;
    right: 0;
    width: 100vw;
    background: var(--background-white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: var(--z-dropdown);
}

.main-navigation .mega-menu-item:hover .mega-menu-dropdown {
    opacity: 1;
    visibility: visible;
}

/* Mega Menu Container - Centered Content */
.main-navigation .mega-menu-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-lg);
}

/* Mega Menu Content Layout */
.main-navigation .mega-menu-content {
    display: flex;
    gap: var(--spacing-lg);
}

.main-navigation .mega-menu-left {
    flex: 1;
}

.main-navigation .mega-menu-right {
    flex: 1;
    background: var(--background-white);
}

/* Mega Menu Header */
.mega-menu-header {
    margin-bottom: var(--spacing-xl);
}

.mega-menu-header .section-title {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin: 0 0 var(--spacing-sm) 0;
    line-height: 1.2;
}

.mega-menu-header .section-subtitle {
    font-size: var(--font-size-lg);
    color: #999;
    margin: 0 0 var(--spacing-md) 0;
    font-weight: var(--font-weight-normal);
}

.title-decoration {
    width: 120px;
    height: 4px;
    background: linear-gradient(to right, #ff6b35 0%, #ff6b35 50%, #20b2aa 50%, #20b2aa 100%);
    border-radius: 2px;
}

/* Articles Section */
.articles-section {
    background: #f8f9fa;
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
}

.articles-title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
}

.articles-list .article-item {
    padding: 5px var(--spacing-lg) 0 var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    border-radius: var(--border-radius);
    background: var(--background-light);
    transition: var(--transition);
}

.articles-list .article-item:last-child {
    margin-bottom: 0;
}

/* TOP Number */
.top-number {
    display: inline-block;
    margin-right: var(--spacing-sm);
    padding: 2px 6px;
    background: #ff6b35;
    color: white;
    font-size: 11px;
    font-weight: var(--font-weight-bold);
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 32px;
    text-align: center;
}

/* Article Content */
.article-item .article-title {
    margin: 0 0 var(--spacing-sm) 0;
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.article-item .article-content {
    flex: 1;
}

.article-item .title-text {
    margin: 0 0 var(--spacing-xs) 0;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    line-height: 1.4;
}

.article-item .title-text a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.article-item .title-text a:hover {
    color: var(--primary-color);
}

.article-excerpt {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    line-height: 1.5;
    margin: 0 0 var(--spacing-md) 0;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--font-size-xs);
    color: #999;
}

.article-meta .source,
.article-meta .date {
    font-weight: var(--font-weight-medium);
}

/* Sub Menu Grid - Two Columns */
.main-navigation .sub-menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg) var(--spacing-2xl);
}

.main-navigation .sub-menu-item {
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.main-navigation .sub-menu-item:hover {
    background-color: var(--primary-light);
}

.main-navigation .sub-menu-item a {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    padding: 0;
}

.main-navigation .sub-menu-item a:hover {
    color: var(--primary-color);
    background: none;
}

.main-navigation .sub-menu-item i {
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
}

/* Right Side Content */
.main-navigation .menu-section-title {
    margin-bottom: var(--spacing-lg);
}

.main-navigation .menu-section-title h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.main-navigation .menu-subtitle {
    font-size: 16px;
    color: #999;
    margin: 0 0 12px 0;
    font-weight: 400;
}

.main-navigation .title-decoration {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b35 0%, #f7931e 50%, #00bcd4 100%);
    border-radius: 2px;
}

.main-navigation .menu-articles-container {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 0;
    overflow: hidden;
}

.main-navigation .articles-header {
    background: #e8e8e8;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    border-bottom: 1px solid #ddd;
}

.main-navigation .menu-articles {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.main-navigation .menu-article {
    position: relative;
    padding-left: 60px;
    line-height: 1.5;
}

.main-navigation .article-tag {
    position: absolute;
    left: 0;
    top: 0;
    display: inline-block;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    color: white;
    min-width: 45px;
    text-align: center;
}

.main-navigation .article-tag.top1 {
    background: #ff4757;
}

.main-navigation .article-tag.top2 {
    background: #ff9f43;
}

.main-navigation .article-tag.top3 {
    background: #10ac84;
}

.main-navigation .menu-article h4 {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.main-navigation .article-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #999;
}

.main-navigation .article-source {
    color: #666;
}

.main-navigation .article-date {
    color: var(--text-muted);
    font-size: var(--font-size-xs);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: none;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    transition: var(--transition);
}

.menu-toggle:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

.menu-icon {
    width: 20px;
    height: 2px;
    background: currentColor;
    position: relative;
    transition: var(--transition);
}

.menu-icon::before,
.menu-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: currentColor;
    transition: var(--transition);
}

.menu-icon::before {
    top: -6px;
}

.menu-icon::after {
    bottom: -6px;
}

/* Mobile Menu Styles */
.main-navigation.toggled ul {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--background-white);
    box-shadow: var(--shadow-medium);
    border-radius: var(--border-radius);
    margin-top: var(--spacing-sm);
    padding: var(--spacing-md);
    z-index: var(--z-dropdown);
}

.main-navigation.toggled ul li {
    margin-bottom: var(--spacing-sm);
}

.main-navigation.toggled ul li:last-child {
    margin-bottom: 0;
}

/* Mobile Mega Menu */
@media (max-width: 767px) {
    .main-navigation .mega-menu-dropdown {
        position: static;
        width: 100%;
        transform: none;
        left: auto;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background: var(--primary-light);
        margin-top: var(--spacing-xs);
        border-radius: var(--border-radius);
        display: none;
    }
    
    .main-navigation .mega-menu-item.mobile-open .mega-menu-dropdown {
        display: block;
    }
    
    .main-navigation .mega-menu-item > a::after {
        content: ' +';
        float: right;
        font-size: 16px;
        transform: none;
    }
    
    .main-navigation .mega-menu-item.mobile-open > a::after {
        content: ' -';
    }
    
    .main-navigation .mega-menu-container {
        padding: var(--spacing-md);
    }
    
    .main-navigation .mega-menu-content {
        flex-direction: column;
        gap: var(--spacing-lg);
    }
    
    .main-navigation .sub-menu-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .main-navigation .sub-menu-item {
        padding: var(--spacing-sm);
        margin-left: var(--spacing-md);
        border-left: 2px solid var(--primary-color);
    }
    
    .main-navigation .menu-section-title {
        display: none;
    }
    
    .main-navigation .menu-articles {
        display: none;
    }
}

.main-navigation.toggled .menu-icon {
    background: transparent;
}

.main-navigation.toggled .menu-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.main-navigation.toggled .menu-icon::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* Desktop Navigation */
@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }
    
    .main-navigation ul {
        display: flex !important;
        position: static;
        background: none;
        box-shadow: none;
        margin: 0;
        padding: 0;
    }
    
    .main-navigation ul li {
        margin: 0;
    }
}

/* Hero Section - Medical Style */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-white);
    padding: var(--spacing-3xl) 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: rgba(0,150,136,0.3);
    border-radius: 50%;
    z-index: 1;
    border: 3px solid rgba(255,255,255,0.2);
    box-shadow: 0 0 50px rgba(0,150,136,0.2);
}

.hero-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -100px;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    z-index: 1;
    transform: translateY(-50%);
}

.hero-wrapper::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: 30%;
    width: 250px;
    height: 250px;
    background: rgba(0,150,136,0.2);
    border-radius: 50%;
    z-index: 1;
    border: 2px solid rgba(255,255,255,0.1);
}

.hero-content::before {
    content: '';
    position: absolute;
    top: 20%;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    z-index: 1;
}

.hero-wrapper {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
    min-height: 500px;
}

.hero-content {
    text-align: left;
}

.hero-image {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: var(--border-radius-lg);
}

.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    margin-left: 10px;
}

.hero-description {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
    font-weight: var(--font-weight-normal);
    line-height: 1.6;
    margin-left: 10px;
}

.hero-tags {
    font-size: var(--font-size-sm);
    opacity: 0.8;
    font-weight: var(--font-weight-normal);
    margin-left: 10px;
}

/* Hero Search */
.hero-search {
    margin-bottom: var(--spacing-xl);
}

/* Treatment Methods Section */
.treatment-methods-section {
    padding: var(--spacing-3xl) 0;
    background: #f8f9fa;
}

.treatment-title {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
}

.treatment-description {
    font-size: var(--font-size-lg);
    text-align: center;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto var(--spacing-2xl);
    line-height: 1.6;
}

.treatment-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-2xl);
}

.treatment-tab {
    padding: var(--spacing-sm) var(--spacing-lg);
    background: white;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--border-radius-full);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-sm);
    margin: 0 var(--spacing-xs);
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.treatment-tab:hover,
.treatment-tab.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    text-decoration: none;
}

.treatment-content {
    position: relative;
}

.treatment-tab-content {
    display: none;
}

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

.treatment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

@media (max-width: 1200px) {
    .treatment-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .treatment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .treatment-grid {
        grid-template-columns: 1fr;
    }
}

.treatment-card {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.treatment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.treatment-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.treatment-card-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.treatment-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.treatment-card:hover .treatment-card-image img {
    transform: scale(1.05);
}

.treatment-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: var(--spacing-xl) var(--spacing-lg) var(--spacing-lg);
}

.treatment-card-title {
    color: white;
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.treatment-cta {
    text-align: center;
}

.treatment-cta-button {
    display: inline-block;
    padding: var(--spacing-md) var(--spacing-2xl);
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-md);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.treatment-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    color: white;
}

.no-posts-message {
    text-align: center;
    padding: var(--spacing-3xl);
    color: var(--text-secondary);
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.no-posts-message p {
    margin: 0;
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-medium);
}

.view-category-link {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius-md);
    transition: all 0.3s ease;
}

.view-category-link:hover {
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .treatment-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: var(--spacing-md);
    }
    
    .treatment-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: var(--spacing-sm);
    }
    
    .treatment-tab {
        flex-shrink: 0;
    }
}

.banner-search-form {
    max-width: 500px;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius-full);
    padding: 4px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-field {
    flex: 1;
    border: none;
    background: transparent;
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: var(--font-size-base);
    color: var(--text-primary);
    outline: none;
    border-radius: var(--border-radius-full);
}

.search-field::placeholder {
    color: #666;
    opacity: 0.8;
}

.banner-search-submit {
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.banner-search-submit:hover {
    background: var(--primary-hover);
    transform: scale(1.05);
}

.banner-search-submit svg {
    width: 20px;
    height: 20px;
}

/* Product Page Wrapper */
.product-page-wrapper {
    display: flex;
    gap: var(--spacing-xl);
    align-items: flex-start;
}

.product-container.sidebar-left .product-page-wrapper {
    flex-direction: row-reverse;
}

.product-container.sidebar-right .product-page-wrapper {
    flex-direction: row;
}

.product-layout {
    flex: 1;
}

.product-content {
    flex: 1;
    display: flex;
    gap: var(--spacing-xl);
}

.product-sidebar {
    width: 300px;
    flex-shrink: 0;
}

.product-sidebar.sticky {
    position: sticky;
    top: 160px;
    align-self: flex-start;
}

.sidebar-module {
    background: var(--background-white);
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sidebar-module:last-child {
    margin-bottom: 0;
}

.module-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--primary-color);
}

/* Related Products Module */
.related-products-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

/* Sidebar Module Spacing */
.sidebar-module + .sidebar-module {
    margin-top: var(--spacing-2xl);
}

.sidebar-product-item {
    display: block;
    transition: var(--transition);
}

.sidebar-product-item:hover {
    transform: translateY(-2px);
}

.sidebar-product-item .product-link {
    display: flex;
    gap: var(--spacing-sm);
    text-decoration: none;
    color: inherit;
}

.sidebar-product-item .product-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.sidebar-product-item .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-product-item .product-info {
    flex: 1;
}

.sidebar-product-item .product-name {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-product-item .product-price {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.sidebar-product-item .product-rating {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: var(--font-size-xs);
}

.sidebar-product-item .stars {
    display: flex;
    gap: 1px;
}

.sidebar-product-item .star {
    color: #ddd;
    font-size: 12px;
}

.sidebar-product-item .star.filled {
    color: #ffc107;
}

.sidebar-product-item .rating-count {
    color: var(--text-secondary);
}

/* Recommended Articles Module */
.recommended-articles-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.sidebar-article-item {
    display: block;
    transition: var(--transition);
}

.sidebar-article-item:hover {
    transform: translateY(-2px);
}

.sidebar-article-item .article-link {
    display: flex;
    gap: var(--spacing-sm);
    text-decoration: none;
    color: inherit;
}

.sidebar-article-item .article-image {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.sidebar-article-item .article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-article-item .no-image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--background-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.sidebar-article-item .article-info {
    flex: 1;
}



.sidebar-article-item .article-excerpt {
    font-size: 14px;
    color: #000;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .product-layout {
        flex-direction: column;
    }
    
    .product-container.sidebar-left .product-layout,
    .product-container.sidebar-right .product-layout {
        flex-direction: column;
    }
    
    .product-sidebar {
        width: 100%;
        order: 2;
    }
    
    .product-content {
        order: 1;
    }
}

@media (max-width: 768px) {
    .product-content {
        flex-direction: column;
    }
    
    .sidebar-module {
        padding: var(--spacing-md);
    }
    
    .related-products-list,
    .recommended-articles-list {
        gap: var(--spacing-sm);
    }
}

.hero-cta {
    display: inline-flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    justify-content: flex-start;
}

.btn-primary {
    background: var(--background-white);
    color: var(--primary-color);
    border: none;
    border-radius: var(--border-radius-full);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-base);
    text-decoration: none;
    transition: var(--transition);
    align-items: center;
    gap: var(--spacing-sm);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    color: var(--primary-color);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    padding: var(--spacing-md) var(--spacing-xl);
    border: 2px solid var(--text-white);
    border-radius: var(--border-radius-full);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-base);
    text-decoration: none;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--background-white);
    color: var(--primary-color);
}

/* Services Section */
.services-section {
    padding: var(--spacing-3xl) 0;
    background: var(--background-light);
}

.section-title {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.section-subtitle {
    text-align: center;
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

.service-card {
    background: var(--background-white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.service-icon {
    font-size: var(--font-size-5xl);
    margin-bottom: var(--spacing-md);
    display: block;
    line-height: 1.6;
}

.service-title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.service-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Main Content */
.site-main {
    min-height: calc(100vh - 200px);
}

/* Footer - Medical Style */
.site-footer {
    background: var(--text-primary);
    color: var(--text-white);
    padding: var(--spacing-2xl) 0 var(--spacing-md);
    margin-top: var(--spacing-3xl);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-section h3 {
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
}

.footer-section p,
.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    line-height: 1.8;
    font-size: var(--font-size-sm);
}

.footer-section a:hover {
    color: var(--secondary-color);
    transition: var(--transition);
}

/* Product Page Styles */
.product-main {
    padding: var(--spacing-xl) 0;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    margin-bottom: var(--spacing-lg);
}

.breadcrumb-container {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    padding-left: var(--spacing-2xl);
    margin-top: 30px;
}

.breadcrumb-item {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb-item:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.breadcrumb-separator {
    color: var(--text-muted);
    margin: 0 var(--spacing-xs);
}

.breadcrumb-current {
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
}

.product-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Product Content Layout */
.product-content {
    padding: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

/* Product Images Section */
.product-images-section {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.main-image-container {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    background: var(--background-light);
    aspect-ratio: 1;
}

.product-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.thumbnail-gallery {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.thumbnail-item {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.thumbnail-item.active,
.thumbnail-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-primary);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Info Section */
.product-info-section {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    gap: var(--spacing-sm);
}

/* Product Badges */
.product-badges {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.badge {
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.featured {
    background: var(--secondary-color);
    color: var(--text-white);
}

.badge.prescription {
    background: var(--info-color);
    color: var(--text-white);
}

/* Product Title Section */
.product-title-section {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-xs);
}

/* Product Title */
.product-title {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin: 0;
    line-height: 1.2;
    flex: 1;
}

/* Product Price */
.product-price {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    color: #ff0000;
    margin-bottom: 20px;
}

/* List Product Price (for shop page) */
.list-product-price {
    font-size: 16px;
    font-weight: var(--font-weight-bold);
    color: red;
    margin-bottom: 15px;
}

.list-product-price .price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.list-product-price .woocommerce-Price-amount {
    font-weight: var(--font-weight-bold);
}

.list-product-price del {
    color: #999;
    font-size: 0.9em;
}

.list-product-price ins {
    text-decoration: none;
    color: #e74c3c;
}

/* 首页产品服务样式 */
.services-grid .service-card .product-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.services-grid .service-card .product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 15px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-grid .service-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.services-grid .service-card:hover .product-image img {
    transform: scale(1.05);
}

.services-grid .service-card .service-title {
    margin: 15px 0 10px 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
}

.services-grid .service-card .list-product-price {
    margin: 10px 0;
    font-size: 16px;
    font-weight: bold;
    color: red;
}

.services-grid .service-card .service-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-top: 10px;
}

/* 首页广告语区域样式 */
.hero-banner-section {
    margin: 2rem 0;
}

.hero-banner-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.hero-banner-left {
    flex: 1;
    max-width: 60%;
}

.hero-banner-title {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-banner-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 0;
    opacity: 0.9;
}

.hero-banner-right {
    flex: 1;
    max-width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-banner-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-banner-buttons .hero-btn {
    min-width: 180px;
    text-align: center;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.hero-banner-buttons .btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.hero-banner-buttons .btn-primary:hover {
    background: var(--primary-color-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}


.hero-banner-image {
    width: 100%;
    max-width: 600px;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.hero-banner-image:hover {
    transform: scale(1.02);
}

.hero-banner-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        min-height: auto;
    }
    
    .hero-banner-left,
    .hero-banner-right {
        max-width: 100%;
    }
    
    .hero-banner-title {
        font-size: 2rem;
    }
    
    .hero-banner-description {
        font-size: 1.1rem;
    }
    
    .hero-banner-buttons .hero-btn {
        min-width: 160px;
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* 健康资讯两列布局样式 */
.health-news-section {
    margin: 3rem 0;
    padding: 2rem 0;
    background: white;
}

.health-news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.health-news-column-title {
    font-size: 1.3rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1.5rem;
    color: #00bcd4;
    position: relative;
}

.health-news-latest {
    position: relative;
}

.health-news-latest .health-news-column-title {
    color: #00bcd4;
}

.health-news-latest .more-news-link {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 0.9rem;
    color: #999;
    text-decoration: none;
    cursor: pointer;
}

.health-news-latest .more-news-link:hover {
    color: #00bcd4;
}

.health-news-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.health-news-item {
    display: flex;
    gap: 1rem;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    transition: none;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 1rem;
}

.health-news-item:hover {
    transform: none;
    box-shadow: none;
}

.health-news-item.featured-item {
    border-left: none;
}

.health-news-item.latest-item {
    border-left: none;
}

.news-thumbnail {
    flex-shrink: 0;
    width: 120px;
    height: 80px;
}

.news-thumbnail img {
    width: 120px !important;
    height: 80px !important;
    object-fit: cover;
    border-radius: 6px;
}

.news-content {
    flex: 1;
}

.news-title {
    font-size: 1rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 0.8rem;
    line-height: 1.4;
    color: #333;
}

.news-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: #00bcd4;
}

.news-meta {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    font-size: 0.8rem;
    color: #999;
}

.news-source {
    color: #999;
    font-weight: normal;
}

.news-date {
    color: #999;
}

/* 最新文章列表样式 */
.health-news-latest .health-news-item {
    gap: 0;
    padding: 0.8rem 0;
}

.health-news-latest .news-content {
    padding-left: 0;
}

.health-news-latest .news-title {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.health-news-latest .news-meta {
    font-size: 0.75rem;
}

.more-news {
    margin-top: 1.5rem;
    text-align: right;
}

.more-news-link {
    color: #4caf50;
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.more-news-link:hover {
    color: #388e3c;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .health-news-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .health-news-column-title {
        font-size: 1.3rem;
    }
    
    .health-news-item {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .news-thumbnail {
        align-self: center;
    }
    
    .news-meta {
        flex-direction: row;
        gap: 1rem;
    }
}

/* 资讯页面样式 */
.news-page-container {
    padding: 2rem 0;
    background: #f8f9fa;
    min-height: 80vh;
}

/* 分类导航样式 */
.news-categories-nav {
    display: flex;
    gap: 0;
    background: white;
    padding: 0;
    overflow: hidden;
    border-bottom: 1px solid #e0e0e0;
}

.category-tab {
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: #666;
    font-weight: var(--font-weight-medium);
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    background: white;
    font-size: 14px;
}

.category-tab:last-child {
    border-right: none;
}

.category-tab:hover {
    color: #00bcd4;
    background: #f8f9fa;
}

.category-tab.active {
    color: #00bcd4;
    border-bottom-color: #00bcd4;
    background: white;
}

.category-count {
    font-size: 0.8rem;
    color: #999;
    margin-left: 0.3rem;
}

/* 页面内容布局 */
.news-page-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
}

/* 左侧文章列表 */
.news-articles-section {
    display: flex;
    flex-direction: column;
}

.news-article-card {
    display: flex;
    gap: 1.5rem;
    background: white;
    padding: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.news-articles-section .news-article-card:last-of-type {
    border-bottom: none !important;
}

.article-thumbnail {
    flex-shrink: 0;
    width: 200px;
    height: 120px;
    border-radius: 6px;
    overflow: hidden;
}

.article-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-thumbnail:hover .article-image {
    transform: scale(1.05);
}

.article-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.article-title {
    font-size: 1.2rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.article-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-title a:hover {
    color: #00bcd4;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #999;
    font-size: 0.9rem;
}


/* 右侧边栏 */
.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-section {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
}

.sidebar-title {
    font-size: 1.3rem;
    color: #515151;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed #f1f1f1;
    text-align: center;
}

.latest-news-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.latest-news-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.news-number {
    flex-shrink: 0;
    width: 16px;
    height: 20px;
    background: url('assets/images/categories/tub.png') no-repeat center center;
    background-size: contain;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: var(--font-weight-semibold);
    transition: background-image 0.3s ease;
}

.latest-news-item:hover .news-number {
    background-image: url('assets/images/categories/newsIcon_sel.png');
    color: white;
}

.news-link {
    color: #333;
    text-decoration: none;
    line-height: 1.4;
    font-size: 14px;
    transition: color 0.3s ease;
}

.news-link:hover {
    color: #00bcd4;
}

/* 分页样式 */
.news-pagination {
    margin-top: 2rem;
    text-align: center;
}

.news-pagination .page-numbers {
    display: inline-block;
    padding: 0.6rem 1rem;
    margin: 0 0.2rem;
    color: #666;
    text-decoration: none;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 14px;
    min-width: 40px;
    text-align: center;
}

.news-pagination .page-numbers:hover {
    background: #e9ecef;
    color: #333;
}

.news-pagination .page-numbers.current {
    background: #00bcd4;
    color: white;
    border-color: #00bcd4;
}

.news-pagination .page-numbers.prev,
.news-pagination .page-numbers.next {
    font-size: 16px;
    padding: 0.6rem 0.8rem;
}

/* 无文章状态 */
.no-articles {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.no-articles p {
    color: #999;
    font-size: 1.1rem;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .news-page-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .news-categories-nav {
        flex-wrap: wrap;
    }
    
    .category-tab {
        flex: 1;
        min-width: 120px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .news-article-card {
        flex-direction: column;
        gap: 1rem;
    }
    
    .article-thumbnail {
        width: 100%;
        height: 200px;
    }
    
    .news-categories-nav {
        flex-direction: column;
    }
    
    .category-tab {
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .category-tab:last-child {
        border-bottom: none;
    }
}

/* 文章页面布局样式 */
.article-main-content {
    width: 100%;
    max-width: none;
}

.article-title-section {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.article-title {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    gap: 2rem;
    font-size: 0.9rem;
    color: #666;
}

.article-author,
.article-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-label {
    font-weight: var(--font-weight-medium);
}

.article-body {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5,
.article-body h6 {
    margin: 2rem 0 1rem 0;
    color: var(--text-primary);
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.article-body ul,
.article-body ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-body li {
    margin-bottom: 0.5rem;
}

.article-body blockquote {
    border-left: 4px solid #00bcd4;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #666;
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .article-title {
        font-size: 1.5rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 768px) {
    .article-title {
        font-size: 1.3rem;
    }
    
    .article-body {
        font-size: 0.95rem;
    }
}

/* 搜索结果页面样式 */
.search-page {
    padding: var(--spacing-2xl) 0;
    min-height: 60vh;
}

.search-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid #e0e0e0;
}

.search-title {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.search-info {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
}

.search-form-container {
    max-width: 600px;
    margin: 0 auto var(--spacing-2xl) auto;
}

.search-form {
    display: flex;
    gap: var(--spacing-sm);
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    padding: var(--spacing-xs);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s ease;
}

.search-form:focus-within {
    border-color: var(--primary-color);
}

.search-field {
    flex: 1;
    border: none;
    outline: none;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: 1rem;
    background: transparent;
}

.search-submit {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    padding: var(--spacing-sm) var(--spacing-xl);
    font-size: 1rem;
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-submit:hover {
    background: var(--primary-dark);
}

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
}

.search-result-item {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.search-result-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.result-type-badge {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background: var(--primary-color);
    color: white;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    font-weight: var(--font-weight-medium);
    z-index: 2;
}

/* 产品卡片样式（继承现有样式） */
.search-result-item.product-card .product-image,
.search-result-item.product-card .product-info,
.search-result-item.product-card .product-title,
.search-result-item.product-card .product-description,
.search-result-item.product-card .list-product-price,
.search-result-item.product-card .product-actions {
    /* 继承现有的产品卡片样式 */
}

/* 内容卡片样式 */
.content-card .content-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.content-card .content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.content-card:hover .content-image img {
    transform: scale(1.05);
}

.content-info {
    padding: var(--spacing-lg);
}

.content-title {
    font-size: 1.2rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
}

.content-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.content-title a:hover {
    color: var(--primary-color);
}

.content-meta {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.post-date,
.post-category {
    padding: var(--spacing-xs) var(--spacing-sm);
    background: #f5f5f5;
    border-radius: var(--border-radius);
}

.post-category {
    background: var(--accent-color);
    color: white;
}

.content-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
}

.content-actions {
    display: flex;
    gap: var(--spacing-sm);
}

/* 分页样式 */
.search-pagination {
    display: flex;
    justify-content: center;
    margin-top: var(--spacing-2xl);
}

.search-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-lg);
    margin: 0 var(--spacing-xs);
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.search-pagination .page-numbers:hover,
.search-pagination .page-numbers.current {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* 无搜索结果样式 */
.no-search-results {
    text-align: center;
    padding: var(--spacing-2xl);
}

.no-results-content {
    max-width: 600px;
    margin: 0 auto;
}

.no-results-content h2 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
}

.no-results-content > p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-2xl);
}

.search-suggestions {
    background: #f8f9fa;
    border-radius: var(--border-radius);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
    text-align: left;
}

.search-suggestions h3 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
}

.search-suggestions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-suggestions li {
    padding: var(--spacing-xs) 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: var(--spacing-lg);
}

.search-suggestions li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.recommended-content {
    text-align: left;
}

.recommended-content h3 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
}

.recommended-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.recommended-item {
    display: flex;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.recommended-item:hover {
    transform: translateY(-2px);
}

.recommended-image {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.recommended-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recommended-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.recommended-info h4 {
    margin: 0 0 var(--spacing-xs) 0;
    font-size: 0.9rem;
    line-height: 1.3;
}

.recommended-info h4 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.recommended-info h4 a:hover {
    color: var(--primary-color);
}

.recommended-type {
    font-size: 0.8rem;
    color: var(--text-secondary);
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 3px;
    align-self: flex-start;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .search-results-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .search-title {
        font-size: 1.5rem;
    }
    
    .search-form {
        flex-direction: column;
        border-radius: var(--border-radius);
    }
    
    .search-field {
        padding: var(--spacing-lg);
    }
    
    .search-submit {
        border-radius: var(--border-radius);
        padding: var(--spacing-lg);
    }
    
    .recommended-grid {
        grid-template-columns: 1fr;
    }
    
    .content-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Product Specifications */
.product-specifications {
    margin: var(--spacing-md) 0;
}

.spec-label {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.spec-options {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.spec-option {
    display: inline-flex;
    align-items: center;
    padding: var(--spacing-xs) var(--spacing-md);
    border: 1px solid var(--border-inactive);
    cursor: pointer;
    transition: var(--transition);
    background: transparent;
    color: var(--text-secondary);
    font-size: 12px;
    position: relative;
}

.spec-option:hover {
    border-color: #00bcd4;
    color: #00bcd4;
}

.spec-option.active {
    border-color: #00bcd4;
    color: #00bcd4;
}

.spec-option.active::after {
    content: '✓';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 18px;
    height: 18px;
    background: #4caf50;
    color: white;
    font-size: 10px;
    font-weight: bold;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding-right: 2px;
    padding-bottom: 2px;
    line-height: 1;
    clip-path: polygon(100% 0%, 0% 100%, 100% 100%);
    text-shadow: 0 0 2px rgba(0,0,0,0.3);
}

.spec-dosage {
    font-weight: var(--font-weight-semibold);
}

.spec-desc {
    font-size: var(--font-size-xs);
    margin-left: var(--spacing-xs);
    opacity: 0.8;
}

.spec-check {
    display: none; /* 隐藏原来的勾选，使用伪元素代替 */
}

.spec-option.active .spec-check {
    opacity: 0;
}

.shipping-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-sm);
}

.shipping-label {
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
}

.info-icon {
    color: var(--info-color);
    font-weight: var(--font-weight-bold);
}

.shipping-text {
    color: var(--text-secondary);
}

/* Purchase Area */
.purchase-area {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.quantity-section {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.quantity-label {
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    font-size: var(--font-size-base);
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.qty-decrease,
.qty-increase {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    background: var(--background-white);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    transition: var(--transition);
}

.qty-decrease:hover,
.qty-increase:hover {
    background: var(--primary-color);
    color: var(--text-white);
    border-color: var(--primary-color);
}

.qty-input {
    width: 80px;
    height: 40px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
}

.stock-info {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

/* Purchase Buttons */
.purchase-buttons {
    display: flex;
    gap: var(--spacing-md);
}

.btn-add-to-cart {
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--info-color);
    color: var(--text-white);
    border: none;
    border-radius: var(--border-radius);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: var(--transition);
}

.btn-add-to-cart:hover {
    background: #138496;
    transform: translateY(-2px);
    box-shadow: var(--shadow-secondary);
}

.btn-buy-now {
    padding: var(--spacing-md) var(--spacing-lg);
    background: transparent;
    color: var(--info-color);
    border: 2px solid var(--info-color);
    border-radius: var(--border-radius);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: var(--transition);
}

.btn-buy-now:hover {
    background: var(--info-color);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-secondary);
}

/* Product Details Tabs */
.product-details-tabs {
    overflow: hidden;
    margin-bottom: var(--spacing-2xl);
}

.tabs-navigation {
    display: flex;
    align-items: center;
    background: var(--background-light);
    border-bottom: 1px solid var(--border-color);
    font-size: 16px;
}

.tab-btn {
    padding: var(--spacing-sm) var(--spacing-xl);
    background: transparent;
    border: none;
    font-size: var(--font-size-sm);
    color: var(--info-color);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
}

.tab-btn.active {
    background: var(--info-color);
    color: var(--text-white);
    border-bottom-color: transparent;
}

.tab-btn.active:hover {
    background: var(--info-color);
    color: var(--text-white);
    border-bottom-color: transparent;
}


.tab-content {
    padding-top: var(--spacing-xl);
    padding-left: 5px;
    padding-right: 5px;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.product-description {
    font-size: var(--font-size-base);
    line-height: 1.8;
    color: var(--text-primary);
}

/* AJAX评论弹窗样式 */
.comment-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.comment-modal {
    background: var(--background-white);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: var(--shadow-dark);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-icon {
    font-size: 48px;
    margin-bottom: var(--spacing-md);
    font-weight: bold;
}

.modal-success .modal-icon {
    color: #28a745;
}

.modal-error .modal-icon {
    color: #dc3545;
}

.modal-message {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
}

.modal-close-btn {
    background: var(--info-color);
    color: var(--text-white);
    border: none;
    padding: var(--spacing-sm) var(--spacing-xl);
    border-radius: var(--border-radius-sm);
    font-size: var(--font-size-base);
    cursor: pointer;
    transition: var(--transition);
}

.modal-close-btn:hover {
    background: var(--primary-color);
    transform: translateY(-1px);
}

.product-description p {
    margin-bottom: var(--spacing-md);
}

/* Related Products */
.related-products-section {
    background: var(--background-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    padding: var(--spacing-2xl);
}

.section-title {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.section-banner {
    margin-bottom: var(--spacing-lg);
}

.section-banner-image {
    max-height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

/* Mega Menu Feature Image */
.mega-menu-content {
    position: relative;
}

.mega-menu-feature {
    position: absolute;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100%;
    z-index: 10;
}

/* On large screens, push the feature box so its right edge touches the viewport edge */
@media (min-width: 1200px) {
  .mega-menu-feature {
    right: calc((100vw - 1200px) / -2);
  }
}

.feature-image-container {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.feature-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Left-to-right white fade to transparent to match reference */
    background: linear-gradient(90deg,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.9) 10%,
        rgba(255, 255, 255, 0.7) 22%,
        rgba(255, 255, 255, 0.45) 35%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.0) 65%
    );
    pointer-events: none;
}


/* Shop Page Styles */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.shop-header {
    text-align: center;
    margin-bottom: 40px;
}

.shop-header .page-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.page-description {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.shop-filters {
    margin-bottom: 40px;
    text-align: center;
}

.filter-tabs {
    display: inline-flex;
    gap: 8px;
    background: #f5f5f5;
    padding: 8px;
    border-radius: 12px;
}

.filter-btn {
    padding: 12px 20px;
    border: none;
    background: transparent;
    color: #666;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: #00a8cc;
    color: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.product-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    color: #666;
    font-size: 0.9rem;
}

.product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.product-badges .badge {
    background: #00a8cc;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
}

.product-info {
    padding: 20px;
}

.product-title {
    margin: 0 0 12px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.product-title a {
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.product-title a:hover {
    color: #00a8cc;
}

.product-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 12px;
}

.product-price {
    margin-bottom: 20px;
}

.current-price,
.sale-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #00a8cc;
}

.regular-price {
    font-size: 1rem;
    color: #666;
    text-decoration: line-through;
    margin-left: 8px;
}

.product-actions {
    display: flex;
    gap: 12px;
}

.btn {
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    font-size: 0.9rem;
}

.btn-primary {
    background: #00a8cc;
    color: white;
}

.btn-primary:hover {
    background: #0096b8;
}

.btn-secondary {
    background: transparent;
    color: #00a8cc;
    border: 1px solid #00a8cc;
}

.btn-secondary:hover {
    background: #00a8cc;
    color: white;
}

.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #666;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .filter-tabs {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .product-actions {
        flex-direction: column;
    }
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.related-product-item {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.related-product-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.product-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.related-product-item .product-image {
    aspect-ratio: 1;
    overflow: hidden;
}

.related-product-item .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.related-product-item .product-info {
    padding: 20px;
}

.related-product-item .product-name {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
}

.related-product-item .product-price {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        padding: var(--spacing-lg);
    }
    
    .product-title {
        font-size: var(--font-size-2xl);
    }
    
    .product-price {
        font-size: var(--font-size-3xl);
    }
    
    .purchase-buttons {
        flex-direction: column;
    }
    
    .tabs-navigation {
        flex-direction: column;
        align-items: stretch;
        gap: var(--spacing-sm);
    }
    
    
    .related-products-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    .product-container {
        padding: 0 var(--spacing-md);
    }
    
    .thumbnail-gallery {
        justify-content: center;
    }
    
    .thumbnail-item {
        width: 60px;
        height: 60px;
    }
    
    
    .action-btn {
        font-size: var(--font-size-xs);
        padding: var(--spacing-xs) var(--spacing-sm);
    }
    
    .quantity-controls {
        justify-content: center;
    }
}

/* Comment Form Styles */
.comment-respond {
    margin-top: var(--spacing-2xl);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.comment-reply-title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: var(--spacing-sm);
}

.comment-notes {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.5;
}

.comment-form-author,
.comment-form-email,
.comment-form-comment {
    margin-bottom: var(--spacing-md);
}

.comment-form-author label,
.comment-form-email label,
.comment-form-comment label {
    display: block;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
    font-size: var(--font-size-base);
}

.required {
    color: var(--error-color);
}

.comment-form-author input,
.comment-form-email input,
.comment-form-comment textarea {
    width: 100%;
    padding: var(--spacing-sm);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: var(--font-size-base);
    font-family: inherit;
    transition: var(--transition);
    background: var(--background-white);
}

.comment-form-author input:focus,
.comment-form-email input:focus,
.comment-form-comment textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.comment-form-comment textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-comment-btn {
    background: var(--info-color);
    color: var(--text-white);
    border: none;
    border-radius: var(--border-radius);
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: var(--transition);
    margin-top: var(--spacing-md);
}

.submit-comment-btn:hover {
    background: #138496;
    transform: translateY(-1px);
    box-shadow: var(--shadow-secondary);
}

/* Comment List Styles */
.commentlist {
    list-style: none;
    padding: 0 5px;
    margin: var(--spacing-xl) 0;
}

.comment {
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-lg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--background-white);
}

.comment-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--spacing-md);
}

.comment-author {
    display: flex;
    align-items: center;
    flex: 1;
}

.comment-author .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: var(--spacing-sm);
    flex-shrink: 0;
}

.comment-author-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.comment-author-top {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.comment-author .fn {
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    font-size: var(--font-size-base);
    text-decoration: none;
}

.comment-author .fn:hover {
    color: var(--primary-color);
}

.comment-rating {
    display: flex;
    align-items: center;
    gap: 2px;
}

.comment-rating .star {
    color: #ff6b35;
    font-size: 14px;
}

.comment-meta {
    margin: 0;
}

.comment-metadata {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.comment-metadata a {
    color: var(--text-secondary);
    text-decoration: none;
}

.comment-metadata a:hover {
    color: var(--primary-color);
}

.comment-content {
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
    color: var(--text-primary);
}

.comment-content p {
    margin-bottom: var(--spacing-sm);
}

.reply {
    text-align: right;
}

.comment-reply-link {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-sm);
    background: var(--info-light);
    color: var(--info-color);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    transition: var(--transition);
}

.comment-reply-link:hover {
    background: var(--info-color);
    color: var(--text-white);
}

/* Child Comments */
.children {
    list-style: none;
    margin-left: var(--spacing-xl);
    margin-top: var(--spacing-lg);
    padding-left: var(--spacing-lg);
    border-left: 3px solid var(--border-color);
}

.children .comment {
    margin-bottom: var(--spacing-lg);
}

/* Comment Count */
.comments-title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid var(--border-dark);
    padding-top: var(--spacing-md);
    text-align: center;
    color: var(--text-muted);
    font-size: var(--font-size-sm);
}

/* Additional Medical Theme Styles */
.medical-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: var(--primary-light);
    color: var(--primary-color);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius-full);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--spacing-md);
}

.stats-section {
    background: var(--background-white);
    padding: var(--spacing-2xl) 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
    text-align: center;
}

.stat-item {
    padding: var(--spacing-md);
}

.stat-number {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    display: block;
    margin-bottom: var(--spacing-sm);
}

.stat-label {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: var(--font-weight-medium);
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInLeft 0.6s ease forwards;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* Shop Banner Slider Styles */
.shop-banner-slider {
    position: relative;
    width: 100%;
    height: 400px;
    margin-bottom: 40px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.banner-slides {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.banner-slide {
    position: relative;
    width: 100%;
    height: 100%;
    flex-shrink: 0;
}


.banner-slide a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 40px 30px 30px;
    text-align: left;
}

.banner-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-subtitle {
    font-size: 1.1rem;
    margin: 0;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
    background: white;
    transform: scale(1.2);
}

.banner-prev,
.banner-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
}

.banner-prev {
    left: 20px;
}

.banner-next {
    right: 20px;
}

.shop-banner-slider:hover .banner-prev,
.shop-banner-slider:hover .banner-next {
    opacity: 1;
    visibility: visible;
}

.banner-prev:hover,
.banner-next:hover {
    background: rgba(0, 0, 0, 0.6);
    transform: translateY(-50%) scale(1.1);
}

/* Mobile responsive for banner */
@media (max-width: 768px) {
    .shop-banner-slider {
        height: 250px;
        margin-bottom: 30px;
    }
    
    .banner-content {
        padding: 20px 20px 20px;
    }
    
    .banner-title {
        font-size: 1.5rem;
    }
    
    .banner-subtitle {
        font-size: 1rem;
    }
    
    .banner-prev,
    .banner-next {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .banner-prev {
        left: 10px;
    }
    
    .banner-next {
        right: 10px;
    }
}

/* Flash Sale Module Styles */
.flash-sale-section {
    background: rgba(11,162,154,.1);
    border-radius: 8px;
    margin-bottom: 30px;
    overflow: hidden;
}

.flash-sale-header {
    color: black;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flash-sale-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.flash-sale-title h2 {
    margin: 0;
    font-size: 1.8rem;
    color: #333;
}

.countdown-timer {
    display: flex;
    align-items: center;
    gap: 0;
}

.timer-label {
    background: red;
    color: white;
    padding: 6px 8px;
    font-size: 0.9rem;
    font-weight: bold;
    height: 32px;
    display: flex;
    align-items: center;
}

.countdown {
    border: 2px solid #ff4757;
    color: #ff4757;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    font-size: 0.9rem;
    background: transparent;
    height: 32px;
    box-sizing: border-box;
}

.time-unit {
    display: flex;
    align-items: center;
}

.time-value {
    min-width: 18px;
    text-align: center;
}

.time-label {
    margin: 0 2px;
}

.flash-sale-products {
    position: relative;
    padding: 20px;
}

.flash-products-slider {
    position: relative;
    overflow: hidden;
}

.flash-products-container {
    display: flex;
    transition: transform 0.3s ease;
}

.flash-product-item {
    flex: 0 0 calc(16.666% - 15px);
    margin-right: 18px;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.flash-product-link {
    text-decoration: none !important;
    color: inherit;
}

.flash-product-link:hover {
    text-decoration: none !important;
}

.flash-product-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.flash-product-image {
    position: relative;
    width: 100%;
    height: 120px;
    overflow: hidden;
}

.flash-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}

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

.flash-product-discount {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #e74c3c;
    color: white;
    padding: 2px 6px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: bold;
}

.flash-product-info {
    padding: 12px;
}

.flash-product-name {
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 8px;
    line-height: 1.3;
    height: 2.6em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #000 !important;
    text-decoration: none !important;
}

.flash-product-title{
    color: #000 !important;
    text-decoration: none !important;
}
.flash-product-item:hover .flash-product-name {
    color: #000 !important;
    text-decoration: none !important;
}

.flash-product-item a,
.flash-product-item a:hover,
.flash-product-item a:visited,
.flash-product-item a:focus {
    text-decoration: none !important;
}

.flash-product-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.flash-current-price {
    color: #e74c3c;
    font-weight: bold;
    font-size: 0.9rem;
}

.flash-original-price {
    color: #999;
    text-decoration: line-through;
    font-size: 0.8rem;
}

.flash-sale-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.3);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.2s ease;
    opacity: 0;
    visibility: hidden;
}

.flash-products-slider:hover .flash-sale-nav {
    opacity: 1;
    visibility: visible;
}

.flash-sale-nav:hover {
    background: rgba(0,0,0,0.6);
    transform: translateY(-50%) scale(1.1);
}

.flash-sale-prev {
    left: 10px;
}

.flash-sale-next {
    right: 10px;
}

.flash-sale-footer {
    padding: 15px 20px;
    background: #f8f9fa;
    text-align: center;
}

.flash-sale-more {
    color: #007cba;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.flash-sale-more:hover {
    color: #005a87;
    text-decoration: underline;
}

/* Responsive Flash Sale Styles */
@media (max-width: 1200px) {
    .flash-product-item {
        flex: 0 0 calc(20% - 15px);
    }
}

@media (max-width: 992px) {
    .flash-product-item {
        flex: 0 0 calc(25% - 15px);
    }
    
    .flash-sale-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .flash-product-item {
        flex: 0 0 calc(33.333% - 12px);
        margin-right: 12px;
    }
    
    .flash-sale-title {
        font-size: 1.3rem;
    }
    
    .countdown-timer {
        gap: 6px;
    }
    
    .countdown-item {
        min-width: 30px;
        padding: 4px 6px;
    }
    
    .countdown-number {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .flash-product-item {
        flex: 0 0 calc(50% - 10px);
        margin-right: 10px;
    }
    
    .flash-sale-header {
        padding: 15px;
    }
    
    .flash-sale-products {
        padding: 15px;
    }
    
    .flash-product-image {
        height: 100px;
    }
    
    .flash-product-info {
        padding: 10px;
    }
}

/* 产品详情页秒杀价格样式 */
.flash-sale-price-container {
    margin: 10px 0;
    padding: 15px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    border-radius: 8px;
    color: white;
}

.flash-sale-badge {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 8px;
    background: rgba(255,255,255,0.2);
    padding: 4px 8px;
    border-radius: 4px;
}

.price-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.flash-sale-current-price {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
}

.flash-sale-original-price {
    font-size: 1.2rem;
    text-decoration: line-through;
    color: rgba(255,255,255,0.7);
}

.flash-sale-discount {
    background: #e74c3c;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* 产品详情页倒计时样式 */
.single-product-flash-sale {
    margin: 15px 0;
    padding: 15px;
    background: #f8f9fa;
    border: 2px solid #ff6b6b;
    border-radius: 8px;
}

.flash-sale-countdown-single {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.countdown-label {
    font-weight: bold;
    color: #370904;
    font-size: 1rem;
}

.countdown-timer-single {
    display: flex;
    align-items: center;
    gap: 8px;
}

.countdown-timer-single .countdown-item {
    background: #e74c3c;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    text-align: center;
    min-width: 50px;
}

.countdown-timer-single .countdown-number {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1;
}

.countdown-timer-single .countdown-unit {
    display: block;
    font-size: 0.8rem;
    line-height: 1;
    margin-top: 2px;
}

.countdown-separator {
    font-size: 1.2rem;
    font-weight: bold;
    color: #e74c3c;
}

/* 产品详情页秒杀响应式样式 */
@media (max-width: 768px) {
    .flash-sale-current-price {
        font-size: 1.5rem;
    }
    
    .flash-sale-original-price {
        font-size: 1rem;
    }
    
    .flash-sale-countdown-single {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .countdown-timer-single .countdown-item {
        min-width: 40px;
        padding: 6px 8px;
    }
    
    .countdown-timer-single .countdown-number {
        font-size: 1rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .main-navigation ul {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        width: 100%;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* 结账页面样式 */
.checkout-page {
    margin-top: 50px;
}

/* 只隐藏结账页面的错误提示，保留成功消息 */
.woocommerce-error,
.woocommerce .woocommerce-error {
    display: none !important;
}
