/* 现代化产品详情页面样式 */
:root {
    --primary-color: #667eea;
    --primary-dark: #5a67d8;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --success-color: #48bb78;
    --warning-color: #ed8936;
    --error-color: #e53e3e;
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --bg-primary: #ffffff;
    --bg-secondary: #f7fafc;
    --bg-accent: #edf2f7;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 全局样式重置 */
.modern-product-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* 产品头部区域 */
.product-hero {
    background: var(--bg-primary);
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

.product-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

.product-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 产品图片展示区 */
.product-gallery {
    position: sticky;
    top: 2rem;
}

.main-image-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-secondary);
    box-shadow: var(--shadow-xl);
    margin-bottom: 1.5rem;
}

.image-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, var(--success-color), #38a169);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: var(--shadow-md);
}

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

.main-product-image:hover {
    transform: scale(1.02);
}

.main-product-image.zoomed {
    transform: scale(1.5);
    cursor: zoom-out;
}

.image-zoom-hint {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    transition: var(--transition);
}

.main-image-container:hover .image-zoom-hint {
    opacity: 1;
}

.thumbnail-gallery {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

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

.thumbnail-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: var(--transition);
}

.thumbnail-item:hover::before {
    opacity: 1;
}

.thumbnail-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

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

/* 产品详情区域 */
.product-details {
    padding: 1rem 0;
}

.product-header {
    margin-bottom: 2rem;
}

.breadcrumb-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.breadcrumb-modern a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

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

.breadcrumb-modern .separator {
    color: var(--text-muted);
    font-weight: 300;
}

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

.modern-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin: 0 0 1.5rem 0;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-meta-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.meta-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.meta-value {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
}

.meta-value.in-stock {
    color: var(--success-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* 价格区域 */
.price-section {
    margin: 2rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-lg);
    color: white;
    position: relative;
    overflow: hidden;
}

.price-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translateX(-100%) translateY(-100%); }
    50% { transform: translateX(0) translateY(0); }
}

.price-display {
    position: relative;
    z-index: 1;
}

.price-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.price-value {
    font-size: 2.25rem;
    font-weight: 700;
    display: block;
}

.price-contact {
    font-size: 1.5rem;
    font-weight: 600;
    font-style: italic;
}

/* 描述区域 */
.description-section {
    margin: 2rem 0;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-title i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.description-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

/* 快速操作按钮 */
.quick-actions {
    display: flex;
    gap: 1rem;
    margin: 2.5rem 0;
    flex-wrap: wrap;
}

.btn-primary-modern,
.btn-secondary-modern {
    flex: 1;
    min-width: 160px;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-primary-modern {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: var(--shadow-lg);
}

.btn-primary-modern:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary-modern {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary-modern:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-icon-modern {
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-color);
}

.btn-icon-modern:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* 现代标签 */
.modern-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.modern-tag {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--bg-accent), var(--bg-secondary));
    color: var(--text-primary);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.modern-tag:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: transparent;
    transform: translateY(-1px);
}

/* 标签页区域 */
.product-tabs-section {
    background: var(--bg-primary);
    padding: 3rem 0;
    margin-top: 2rem;
}

.tabs-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.tab-nav {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
    overflow-x: auto;
    padding-bottom: 0;
}

.tab-btn {
    padding: 1rem 2rem;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
    position: relative;
}

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

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background: var(--bg-secondary);
}

.tab-content {
    position: relative;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

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

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 规格网格 */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.spec-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.spec-name {
    font-weight: 600;
    color: var(--text-primary);
}

.spec-value {
    color: var(--text-secondary);
    font-weight: 500;
}

/* 特性网格 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.feature-item i {
    color: var(--success-color);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.feature-item span {
    color: var(--text-secondary);
    font-weight: 500;
}

/* 护理说明 */
.care-instructions {
    display: grid;
    gap: 1.5rem;
}

.care-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.care-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.care-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.care-item h4 {
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
    font-weight: 600;
}

.care-item p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 相关产品区域 */
.related-products {
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 2rem 0;
    text-align: center;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.related-products .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.related-products .product-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.related-products .product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.related-products .product-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

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

.related-products .product-card:hover .product-image img {
    transform: scale(1.1);
}

.related-products .product-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.related-products .product-card:hover .product-overlay {
    opacity: 1;
}

.btn-view {
    padding: 0.75rem 1.5rem;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
}

.btn-view:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.related-products .product-info {
    padding: 1.5rem;
}

.related-products .product-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
}

.related-products .product-description {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.related-products .btn-inquiry {
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
}

.related-products .btn-inquiry:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .product-hero-content {
        gap: 3rem;
    }
    
    .modern-title {
        font-size: 2rem;
    }
}

@media (max-width: 968px) {
    .product-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-gallery {
        position: static;
    }
    
    .main-product-image {
        height: 400px;
    }
    
    .modern-title {
        font-size: 1.75rem;
    }
    
    .quick-actions {
        flex-direction: column;
    }
    
    .btn-primary-modern,
    .btn-secondary-modern {
        flex: none;
    }
}

@media (max-width: 768px) {
    .product-hero {
        padding: 1rem 0;
    }
    
    .product-hero-content {
        padding: 0 1rem;
    }
    
    /* 移动端图片区域优化 */
    .product-gallery {
        margin-bottom: 2rem;
        position: relative;
    }
    
    .main-image-container {
        position: relative;
        margin-bottom: 1rem;
    }
    
    .main-image-container::after {
        content: '';
        position: absolute;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 4px;
        background: linear-gradient(90deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0.3) 100%);
        border-radius: 2px;
        animation: autoSwitchIndicator 4s infinite;
    }
    
    @keyframes autoSwitchIndicator {
        0% { width: 0; opacity: 0.5; }
        50% { opacity: 1; }
        100% { width: 60px; opacity: 0.5; }
    }
    
    .thumbnail-gallery {
        display: flex;
        gap: 0.5rem;
        overflow-x: auto;
        padding: 0.5rem 0;
        scrollbar-width: none;
        -ms-overflow-style: none;
        justify-content: center;
    }
    
    .thumbnail-gallery::-webkit-scrollbar {
        display: none;
    }
    
    .thumbnail-item {
        flex-shrink: 0;
        width: 60px;
        height: 60px;
        position: relative;
        transition: all 0.3s ease;
    }
    
    .thumbnail-item.active {
        transform: scale(1.1);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    }
    
    .thumbnail-item.active::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 50%;
        transform: translateX(-50%);
        width: 8px;
        height: 8px;
        background: var(--primary-color);
        border-radius: 50%;
        animation: pulse 1.5s infinite;
    }
    
    @keyframes pulse {
        0%, 100% { transform: translateX(-50%) scale(1); opacity: 1; }
        50% { transform: translateX(-50%) scale(1.2); opacity: 0.7; }
    }
    
    /* 触摸滑动提示 */
    .main-product-image {
        position: relative;
    }
    
    .main-product-image::before {
        content: '← Swipe to browse →';
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(0, 0, 0, 0.7);
        color: white;
        padding: 8px 16px;
        border-radius: 20px;
        font-size: 0.8rem;
        opacity: 0;
        animation: swipeHint 3s ease-in-out 2s;
        pointer-events: none;
    }
    
    @keyframes swipeHint {
        0%, 90%, 100% { opacity: 0; }
        10%, 80% { opacity: 1; }
    }
    
    /* 移动端产品头部优化 */
    .product-header {
        margin-bottom: 1.5rem;
        padding: 1rem;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-md);
        border: 1px solid rgba(102, 126, 234, 0.1);
    }
    
    .modern-title {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 1rem;
        text-align: center;
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        font-weight: 800;
    }
    
    .product-meta-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        padding: 1rem;
        background: white;
        border-radius: var(--radius-md);
        border: 1px solid var(--border-color);
        box-shadow: var(--shadow-sm);
    }
    
    .meta-item {
        padding: 0.75rem;
        background: linear-gradient(135deg, var(--bg-secondary) 0%, white 100%);
        border-radius: var(--radius-sm);
        border-left: 3px solid var(--primary-color);
        transition: var(--transition);
    }
    
    .meta-item:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-sm);
        border-left-color: var(--accent-color);
    }
    
    .meta-label {
        font-size: 0.7rem;
        font-weight: 700;
        color: var(--text-muted);
        text-transform: uppercase;
        letter-spacing: 0.8px;
        margin-bottom: 0.25rem;
    }
    
    .meta-value {
        font-size: 0.85rem;
        font-weight: 600;
        color: var(--text-primary);
        line-height: 1.2;
    }
    
    .meta-value.in-stock {
        color: var(--success-color);
        font-weight: 700;
    }
    
    .meta-value.in-stock i {
        font-size: 0.8rem;
        margin-right: 0.25rem;
    }
    
    .main-product-image {
        height: 300px;
    }
    
    .price-section {
        padding: 1.5rem;
    }
    
    .price-value {
        font-size: 1.75rem;
    }
    
    .tabs-container {
        padding: 0 1rem;
    }
    
    .tab-btn {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
    
    .related-products {
        margin: 2rem 1rem 0;
        padding: 2rem 1rem;
    }
    
    .related-products .products-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .modern-title {
        font-size: 1.25rem;
    }
    
    .thumbnail-gallery {
        justify-content: center;
    }
    
    .thumbnail-item {
        width: 60px;
        height: 60px;
    }
    
    .quick-actions {
        gap: 0.75rem;
    }
    
    .btn-primary-modern,
    .btn-secondary-modern {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .specs-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* 动画和过渡效果 */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-details > * {
    animation: slideInUp 0.6s ease-out;
}

.product-details > *:nth-child(2) { animation-delay: 0.1s; }
.product-details > *:nth-child(3) { animation-delay: 0.2s; }
.product-details > *:nth-child(4) { animation-delay: 0.3s; }
.product-details > *:nth-child(5) { animation-delay: 0.4s; }

/* 新加载评论的动画效果 */
.review-item.new-loaded {
    animation: slideInUp 0.6s ease-out;
}

.review-item.new-loaded:nth-child(1) { animation-delay: 0.1s; }
.review-item.new-loaded:nth-child(2) { animation-delay: 0.2s; }
.review-item.new-loaded:nth-child(3) { animation-delay: 0.3s; }
.review-item.new-loaded:nth-child(4) { animation-delay: 0.4s; }
.review-item.new-loaded:nth-child(5) { animation-delay: 0.5s; }

/* 滚动条样式 */
.tab-nav::-webkit-scrollbar {
    height: 4px;
}

.tab-nav::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

.tab-nav::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 2px;
}

.tab-nav::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* 客户评论区域样式 */
.customer-reviews {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
    margin-top: 3rem;
}

.customer-reviews .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.customer-reviews .section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.customer-reviews .section-title i {
    color: #ffd700;
    font-size: 2rem;
}

.reviews-summary {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.rating-overview {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.average-rating {
    text-align: center;
}

.rating-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.average-rating .stars {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.average-rating .stars i {
    color: #ffd700;
    font-size: 1.5rem;
}

.review-count {
    color: var(--text-secondary);
    font-size: 1rem;
}

.rating-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.rating-bar {
    display: grid;
    grid-template-columns: 80px 1fr 60px;
    align-items: center;
    gap: 1rem;
}

.rating-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.bar-container {
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffd700, #ffed4e);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.rating-percent {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: right;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.review-item {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    animation: slideInUp 0.6s ease-out forwards;
}

.review-item.loaded {
    opacity: 1;
}

.review-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.reviewer-details h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.reviewer-title {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
    display: block;
}

.review-meta {
    text-align: right;
}

.review-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
    justify-content: flex-end;
}

.review-rating i {
    color: #ffd700;
    font-size: 1rem;
}

.review-rating .far {
    color: #ddd;
}

.review-date {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.review-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
    margin: 0;
    font-style: italic;
}

.review-actions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.review-helpful {
    background: none;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.review-helpful:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.review-actions-footer {
    text-align: center;
    margin-top: 3rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-load-more,
.btn-write-review {
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-load-more {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-load-more:hover:not(:disabled) {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-load-more:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.btn-load-more.no-more {
    background: #f8f9fa;
    color: #6c757d;
    border-color: #dee2e6;
}

.btn-load-more .fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.btn-write-review {
    background: var(--primary-color);
    color: white;
}

.btn-write-review:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

/* 图片模态框样式 */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    animation: fadeIn 0.4s ease;
}

.modal-info {
    text-align: center;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    margin: 0 auto;
}

.modal-info h3 {
    margin: 0 0 0.75rem 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.modal-info p {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    line-height: 1.4;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1200px;
    height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.modal-close {
    position: fixed;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.modal-close:hover,
.modal-close:active {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

/* 移动端优化 */
@media (max-width: 768px) {
    .modal-close {
        top: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 32px;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(15px);
        border: 2px solid rgba(255, 255, 255, 0.3);
    }
    
    .modal-close:hover,
     .modal-close:active {
         background: rgba(0, 0, 0, 0.8);
         border-color: rgba(255, 255, 255, 0.5);
     }
 }

.modal-image {
    max-width: 100%;
    max-height: calc(100% - 120px);
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
    cursor: grab;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    user-select: none;
    flex-shrink: 0;
}

.modal-image:active {
    cursor: grabbing;
}

.modal-image.dragging {
    transition: transform 0.1s ease-out;
}

.modal-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.modal-nav-btn {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 24px;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    z-index: 10001;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.modal-nav-btn.prev {
    left: 20px;
}

.modal-nav-btn.next {
    right: 20px;
}

.modal-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.modal-info {
    text-align: center;
    color: white;
    margin-top: 1rem;
}

.modal-info h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.modal-info p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* 分享区域样式 */
.share-section {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-top: 2rem;
    box-shadow: var(--shadow-md);
}

.share-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.share-title i {
    color: var(--primary-color);
}

.share-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    color: white;
}

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

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.linkedin {
    background: #0077b5;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn.email {
    background: #ea4335;
}

.share-btn.copy {
    background: var(--text-secondary);
}

/* 手风琴样式增强 */
.product-info-accordion {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-top: 2rem;
    position: relative;
    z-index: 10;
}

.accordion-item {
    border-bottom: 1px solid var(--border-color);
}

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

.accordion-header {
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    position: relative;
    z-index: 11;
}

.accordion-header:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    transform: translateX(4px);
}

.accordion-item.active .accordion-header {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-bottom: 1px solid var(--border-color);
    border-left: 4px solid var(--primary-color);
}

.accordion-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.accordion-title i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.accordion-icon {
    color: var(--text-secondary);
    transition: transform 0.3s ease;
    font-size: 1rem;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 10px;
}

.accordion-content.active {
    max-height: 1000px;
}

.accordion-content-inner {
    padding: 0 1.5rem 1.5rem 1.5rem;
    background: white;
    position: relative;
    z-index: 11;
}

/* Product Description Styles */
.description-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 400;
    text-align: justify;
}

.description-highlights {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.03) 100%);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 2px solid rgba(102, 126, 234, 0.15);
    margin-top: 1.5rem;
    position: relative;
    overflow: hidden;
}

.description-highlights::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

.description-highlights h4 {
    margin: 0 0 1rem 0;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.description-highlights h4 i {
    color: var(--success-color);
    font-size: 1rem;
}

.description-highlights ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.description-highlights li {
    position: relative;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.5;
    padding-left: 1.5rem;
}

.description-highlights li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    font-size: 0.9rem;
}

/* Details Grid Styles */
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.8) 100%);
    border-radius: var(--radius-lg);
    border: 2px solid rgba(102, 126, 234, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.detail-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.detail-item:hover {
    background: white;
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
    border-color: rgba(102, 126, 234, 0.3);
}

.detail-item:hover::before {
    transform: scaleY(1);
}

.detail-label {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    letter-spacing: 0.3px;
}

.detail-label i {
    color: var(--primary-color);
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.detail-value {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 600;
    text-align: right;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Shipping Info Styles */
.shipping-info {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.shipping-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.75rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
    border-radius: var(--radius-lg);
    border: 2px solid rgba(102, 126, 234, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.shipping-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(135deg, var(--success-color) 0%, #38a169 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.shipping-item:hover {
    background: white;
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
    border-color: rgba(102, 126, 234, 0.25);
}

.shipping-item:hover::before {
    transform: scaleY(1);
}

.shipping-item i {
    font-size: 1.75rem;
    color: var(--success-color);
    flex-shrink: 0;
    margin-top: 0.25rem;
    width: 40px;
    text-align: center;
    background: linear-gradient(135deg, rgba(72, 187, 120, 0.1) 0%, rgba(56, 161, 105, 0.05) 100%);
    border-radius: 50%;
    padding: 0.75rem;
    border: 2px solid rgba(72, 187, 120, 0.2);
}

.shipping-item h4 {
    margin: 0 0 0.75rem 0;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.3px;
}

.shipping-item p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
    font-weight: 400;
}


.shipping-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.shipping-item:hover {
    background: white;
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.shipping-item:hover:before {
    transform: scaleY(1);
}

.shipping-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 0.25rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.shipping-item h4 {
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
}

.shipping-item p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* B2B Services Styles */
.b2b-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, white 0%, var(--bg-secondary) 100%);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.service-item:hover {
    background: white;
    box-shadow: var(--shadow-xl);
    transform: translateY(-6px);
    border-color: var(--primary-color);
}

.service-item:hover:before {
    transform: scaleY(1);
}

.service-item i {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-top: 0.25rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.service-item h4 {
    margin: 0 0 0.75rem 0;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
}

.service-item p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.service-highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.75rem;
    display: inline-block;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.content-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.content-item h4 i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.content-item p {
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* 响应式设计增强 */
@media (max-width: 768px) {
    .customer-reviews .container {
        padding: 0 1rem;
    }
    
    .customer-reviews .section-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .reviews-summary {
        padding: 1.5rem;
    }
    
    .rating-overview {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .rating-number {
        font-size: 3rem;
    }
    
    .review-item {
        padding: 1.5rem;
    }
    
    .review-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .review-meta {
        text-align: left;
    }
    
    .review-rating {
        justify-content: flex-start;
    }
    
    .review-actions-footer {
        flex-direction: column;
        align-items: center;
    }
    
    .modal-content {
        max-width: 95vw;
        max-height: 95vh;
    }
    
    .modal-close {
        top: -40px;
        font-size: 1.5rem;
        width: 35px;
        height: 35px;
    }
    
    .modal-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .share-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .customer-reviews {
        padding: 2rem 0;
    }
    
    .customer-reviews .section-title {
        font-size: 1.75rem;
    }
    
    .reviews-summary {
        padding: 1rem;
    }
    
    .rating-bar {
        grid-template-columns: 60px 1fr 50px;
        gap: 0.5rem;
    }
    
    .rating-number {
        font-size: 2.5rem;
    }
    
    .review-item {
        padding: 1rem;
    }
    
    .reviewer-avatar {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .modal-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        z-index: 10002;
        display: flex !important;
    }
    
    .modal-nav-btn.prev {
        left: 10px;
    }
    
    .modal-nav-btn.next {
        right: 10px;
    }
    
    .share-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Toast 消息样式 */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
    min-width: 300px;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
}

.toast-success {
    border-left: 4px solid #28a745;
}

.toast-success .fas {
    color: #28a745;
}

.toast-error {
    border-left: 4px solid #dc3545;
}

.toast-error .fas {
    color: #dc3545;
}

.toast-info {
    border-left: 4px solid var(--primary-color);
}

.toast-info .fas {
    color: var(--primary-color);
}

/* Review Modal Styles */
.review-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.review-modal.show {
    opacity: 1;
}

.review-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.review-modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.review-modal.show .review-modal-content {
    transform: scale(1);
}

.review-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 0;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 24px;
}

.review-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.review-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.review-modal-close:hover {
    background: #f8f9fa;
    color: var(--text-dark);
}

.review-form {
    padding: 0 24px 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

/* Error styles for input fields */
.form-group input.error,
.form-group textarea.error {
    border-color: #e74c3c !important;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1) !important;
    background-color: #fdf2f2;
}

.form-group input.error:focus,
.form-group textarea.error:focus {
    border-color: #e74c3c !important;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.2) !important;
}

/* Field error message */
.field-error {
    color: #e74c3c;
    font-size: 0.75rem;
    margin-top: 4px;
    animation: slideInError 0.3s ease-out;
}

/* Error animation */
@keyframes slideInError {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

/* Rating Input Styles */
.rating-input {
    display: flex;
    flex-direction: row-reverse;
    gap: 4px;
    justify-content: flex-end;
}

.rating-input input[type="radio"] {
    display: none;
}

.rating-input label {
    cursor: pointer;
    font-size: 24px;
    color: #dee2e6;
    transition: color 0.2s ease;
    margin-bottom: 0;
}

.rating-input label:hover,
.rating-input label:hover ~ label {
    color: #ffc107;
}

.rating-input input[type="radio"]:checked ~ label {
    color: #ffc107;
}

/* Checkbox Styles */
.checkbox-group {
    margin-top: 16px;
    position: relative;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-weight: normal !important;
    margin-bottom: 0 !important;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;

}



.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 22px;
    height: 22px;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    margin-right: 12px;
    margin-top: 2px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    background-color: #ffffff;
    display: inline-block;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.checkbox-label:hover .checkmark {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

/* Error message styles for checkbox */
.checkbox-group .error-message {
    color: #e74c3c;
    font-size: 0.75rem;
    margin-top: 8px;
    padding: 6px 12px;
    background: #fdf2f2;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    animation: slideInError 0.3s ease-out;
}

.checkbox-group.error .checkbox-label {
    border-color: #e74c3c;
}

/* Privacy Notice Styles */
.privacy-notice {
    margin-top: 20px;
    padding: 12px 16px;
    background: #f8f9fa;
    border-left: 4px solid var(--primary-color);
    border-radius: 0 8px 8px 0;
}

.privacy-text {
    font-size: 0.75rem;
    line-height: 1.4;
    color: #6c757d;
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.privacy-text i {
    color: var(--primary-color);
    margin-top: 2px;
    flex-shrink: 0;
}

.privacy-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.privacy-text a:hover {
    text-decoration: underline;
}

/* Checkbox label links styling */
.checkbox-label a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}

.checkbox-label a:hover {
    color: #0056b3;
    border-bottom-color: #0056b3;
    text-decoration: none;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.btn-cancel,
.btn-submit {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.btn-cancel {
    background: #f8f9fa;
    color: var(--text-muted);
    border: 1px solid #dee2e6;
}

.btn-cancel:hover {
    background: #e9ecef;
    color: var(--text-dark);
}

.btn-submit {
    background: var(--primary-color);
    color: white;
    min-width: 140px;
    justify-content: center;
}

.btn-submit:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Review Modal Responsive Design */
@media (max-width: 768px) {
    .review-modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .review-modal-header,
    .review-form {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-cancel,
    .btn-submit {
        width: 100%;
        justify-content: center;
    }
}