/* ========== 源文件: style.css ========== */
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Header Styles */
.site-header {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h1 {
    color: #2c5aa0;
    font-size: 1.8rem;
    font-weight: 700;
}

.logo a {
    text-decoration: none;
    color: inherit;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #2c5aa0;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
}

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

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

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

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

/* Button Styles */
.btn {
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: #007cba;
    color: white;
}

.btn-primary:hover {
    background: #005a87;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #007cba;
}

.btn-outline {
    background: transparent;
    color: #007cba;
    border: 2px solid #007cba;
}

.btn-outline:hover {
    background: #007cba;
    color: white;
}

.btn-outline-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

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

.featured-products {
    padding: 4rem 0;
    background: white;
}

.section-footer {
    text-align: center;
    margin-top: 3rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #666;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.empty-state p {
    font-size: 1.1rem;
}

/* Product Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

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

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

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff6b6b;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-info {
    padding: 1.5rem;
}

.product-brand {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.product-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.product-title a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
}

.product-title a:hover {
    color: #2c5aa0;
}

.product-price {
    font-size: 1.3rem;
    color: #2c5aa0;
    font-weight: 700;
    margin-bottom: 1rem;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.stars {
    color: #ffd700;
    font-size: 1rem;
}

.rating-text {
    color: #666;
    font-size: 0.9rem;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn-primary, .btn-amazon, .btn-secondary, .btn-outline {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: #2c5aa0;
    color: white;
}

.btn-primary:hover {
    background: #1e3d6f;
}

.btn-amazon {
    background: #ff9900;
    color: white;
}

.btn-amazon:hover {
    background: #e68a00;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-outline {
    background: transparent;
    color: #2c5aa0;
    border: 2px solid #2c5aa0;
}

.btn-outline:hover {
    background: #2c5aa0;
    color: white;
}

/* Breadcrumb */
.breadcrumb {
    background: #e9ecef;
    padding: 1rem 0;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #2c5aa0;
    text-decoration: none;
}

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

/* Categories Section */
.categories-section {
    padding: 4rem 0;
    background: white;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
}

.category-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
}

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

.category-card a {
    text-decoration: none;
    color: inherit;
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #007cba;
}

.category-card h3 {
    margin-bottom: 0.5rem;
    color: #333;
    font-size: 1.2rem;
}

.category-card p {
    color: #666;
    font-size: 0.9rem;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: #f8f9fa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    display: block;
    line-height: 1;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    opacity: 0.9;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
    opacity: 1;
}

.feature-item h3 {
    margin-bottom: 1rem;
    margin-top: 0;
    color: #333;
    font-size: 1.3rem;
}

.feature-item p {
    color: #666;
    line-height: 1.6;
}

/* Newsletter Section */
.newsletter {
    padding: 4rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.newsletter-content {
    text-align: center;
}

.newsletter-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.newsletter-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    max-width: 400px;
    margin: 0 auto;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    background: #ff6b6b;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: #ff5252;
}

/* Footer */
.site-footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    color: #ecf0f1;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1rem;
    text-align: center;
    color: #95a5a6;
    font-size: 0.9rem;
}

.affiliate-disclaimer {
    font-style: italic;
}

/* Product Detail Page */
.product-detail {
    padding: 2rem 0;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.main-image img {
    width: 100%;
    border-radius: 12px;
}

.gallery-images {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.gallery-thumb {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
}

.gallery-thumb:hover {
    border-color: #2c5aa0;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.key-features ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.key-features li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.purchase-section {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.buy-buttons {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.btn-amazon-primary {
    background: #ff9900;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
}

.btn-amazon-primary:hover {
    background: #e68a00;
    transform: translateY(-2px);
}

/* Section Styles */
.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.category-header {
    text-align: center;
    padding: 3rem 0;
    background: white;
    margin-bottom: 2rem;
}

.category-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .product-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .category-header h1 {
        font-size: 2rem;
    }
    
    .buy-buttons {
        flex-direction: column;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Loading States */
.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy.loaded {
    opacity: 1;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* Product Features */
.product-features {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
}

.product-features li {
    padding: 0.25rem 0;
    font-size: 0.9rem;
    color: #666;
    position: relative;
    padding-left: 1rem;
}

.product-features li:before {
    content: "✓";
    color: #28a745;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 8px;
}

/* Rich Text Content Styles for Images */
.rich-text-content img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin: 0 auto;
}

/* Override any inline width/height attributes */
.rich-text-content img[width] {
    width: auto !important;
    max-width: 100% !important;
}

.rich-text-content img[height] {
    height: auto !important;
}

/* Rich text content general styling */
.rich-text-content {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.rich-text-content h1, .rich-text-content h2, .rich-text-content h3, 
.rich-text-content h4, .rich-text-content h5, .rich-text-content h6 {
    margin: 20px 0 10px 0;
    color: #333;
}

.rich-text-content p { 
    margin-bottom: 15px; 
    line-height: 1.8;
}

.rich-text-content ul, .rich-text-content ol { 
    margin: 15px 0; 
    padding-left: 25px; 
}

.rich-text-content li { 
    margin-bottom: 8px; 
}

.rich-text-content strong { 
    font-weight: 600; 
    color: #333; 
}

.rich-text-content em { 
    font-style: italic; 
}

.rich-text-content a { 
    color: #007cba; 
    text-decoration: none; 
}

.rich-text-content a:hover { 
    text-decoration: underline; 
}

/* Mobile responsiveness for rich text images */
@media (max-width: 768px) {
    .rich-text-content img {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .rich-text-content img {
        margin: 0 auto;
    }
} 

/* ========== 源文件: amazon-style.css ========== */
/* ===================================================================
   Amazon-Inspired Modern E-commerce Design System
   Created: 2024
   Design Philosophy: Clean, Functional, Search-Driven
   =================================================================== */

/* CSS Variables - Amazon Color Palette */
:root {
    /* Primary Amazon Colors */
    --amazon-orange: #FF9900;
    --amazon-blue: #232F3E;
    --amazon-light-blue: #37475A;
    --amazon-yellow: #FEBD69;
    
    /* Background Colors */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F7F8F8;
    --bg-tertiary: #EAEDED;
    
    /* Text Colors */
    --text-primary: #0F1111;
    --text-secondary: #565959;
    --text-link: #007185;
    --text-link-hover: #C7511F;
    
    /* Border Colors */
    --border-light: #D5D9D9;
    --border-medium: #949494;
    --border-focus: #E77600;
    
    /* Success & Warning */
    --color-success: #067D62;
    --color-warning: #B12704;
    
    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    
    /* Typography */
    --font-family: "Amazon Ember", Arial, sans-serif;
    --font-size-xs: 11px;
    --font-size-sm: 13px;
    --font-size-base: 14px;
    --font-size-md: 16px;
    --font-size-lg: 18px;
    --font-size-xl: 24px;
    --font-size-xxl: 28px;
    
    /* Shadows */
    --shadow-sm: 0 2px 5px 0 rgba(213,217,217,.5);
    --shadow-md: 0 2px 5px 0 rgba(15,17,17,.15);
    --shadow-lg: 0 4px 8px 0 rgba(15,17,17,.15);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
}

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

html {
    height: 100%;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.4;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===================================================================
   HEADER & NAVIGATION - Amazon Style
   =================================================================== */

.site-header {
    background-color: var(--amazon-blue);
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.main-nav {
    display: flex;
    align-items: center;
    padding: var(--spacing-sm) 0;
    gap: var(--spacing-lg);
}

.nav-brand {
    flex-shrink: 0;
}

.nav-brand h1 {
    font-size: var(--font-size-xl);
    font-weight: 400;
    margin: 0;
}

.nav-brand a {
    color: white;
    text-decoration: none;
}

.nav-brand a:hover {
    color: var(--amazon-yellow);
}

/* Search Section */
.nav-search {
    flex: 1;
    max-width: 600px;
    position: relative;
    display: flex;
    height: 39px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.nav-search input {
    flex: 1;
    border: none;
    padding: 0 var(--spacing-md);
    font-size: var(--font-size-md);
    outline: none;
    border: 2px solid transparent;
}

.nav-search input:focus {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(231, 117, 0, 0.3);
}

.search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--border-light);
    border-top: none;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1001;
    box-shadow: var(--shadow-md);
    display: none;
}

.search-item {
    padding: var(--spacing-sm) var(--spacing-md);
    border-bottom: 1px solid var(--bg-tertiary);
    cursor: pointer;
}

.search-item:hover {
    background-color: var(--bg-secondary);
}

.search-item a {
    text-decoration: none;
    color: var(--text-primary);
    display: block;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: var(--font-size-sm);
    font-weight: 400;
    padding: var(--spacing-sm);
    border-radius: var(--radius-sm);
    transition: background-color 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: var(--amazon-light-blue);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: var(--font-size-lg);
    cursor: pointer;
    padding: var(--spacing-sm);
}

/* ===================================================================
   BREADCRUMB NAVIGATION
   =================================================================== */

.breadcrumb {
    background-color: var(--bg-secondary);
    padding: var(--spacing-sm) 0;
    font-size: var(--font-size-sm);
    border-bottom: 1px solid var(--border-light);
}

.breadcrumb-container {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.breadcrumb a {
    color: var(--text-link);
    text-decoration: none;
}

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

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

/* ===================================================================
   HERO SECTION - Minimal Amazon Style
   =================================================================== */

.hero {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 60px 0;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    padding: 0;
    padding-right: 20px;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff9f00, #ffb84d);
    color: #0f1111;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(255, 159, 0, 0.2);
}

.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.btn-premium {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ff9f00, #ffb84d);
    color: #0f1111;
    padding: 12px 24px;
    border-radius: 24px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 159, 0, 0.25);
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: #007185;
    padding: 12px 24px;
    border: 1px solid #007185;
    border-radius: 24px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

/* Modern Hero Section - Premium Design */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 159, 0, 0.05) 0%, 
        rgba(0, 113, 133, 0.08) 25%, 
        rgba(177, 39, 4, 0.03) 50%, 
        rgba(35, 47, 62, 0.1) 100%);
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 159, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(0, 113, 133, 0.1) 0%, transparent 50%);
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-content {
    padding: 0;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff9f00, #ffb84d);
    color: #0f1111;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(255, 159, 0, 0.3);
}

.hero-stats {
    display: flex;
    gap: 28px;
    margin-bottom: 36px;
    padding: 20px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 20px;
    font-weight: 700;
    color: #B12704;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 11px;
    color: #565959;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 159, 0, 0.6);
}

.btn-outline:hover {
    background: #007185;
    color: white;
}

/* Premium Product Spotlight */
.hero-product {
    position: relative;
}

.product-spotlight {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    max-width: 280px;
    margin: 0 auto;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.product-spotlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff9f00, #007185, #B12704);
}

.trending-badge {
    position: absolute;
    top: -8px;
    right: 20px;
    background: #ff6b35;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.product-visual {
    position: relative;
    text-align: center;
    margin-bottom: 24px;
}

.product-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(255, 159, 0, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.product-visual img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.product-visual:hover img {
    transform: scale(1.05) rotate(2deg);
}

.product-info-card {
    text-align: center;
}

.rating-pills {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.rating-star {
    background: #f7f7f7;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.reviews-count {
    background: #e8f4f8;
    color: #007185;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.product-name {
    margin: 0 0 16px 0;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 600;
}

.product-name a {
    color: #0f1111;
    text-decoration: none;
}

.product-name a:hover {
    color: #007185;
}

.price-display {
    margin-bottom: 24px;
}

.sale-price {
    font-size: 24px;
    font-weight: 700;
    color: #B12704;
    margin-right: 12px;
}

.regular-price {
    font-size: 16px;
    color: #565959;
    text-decoration: line-through;
    margin-right: 8px;
}

.save-amount {
    background: #e47911;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.current-price {
    font-size: 24px;
    font-weight: 700;
    color: #B12704;
    display: block;
    margin-bottom: 8px;
}

.free-shipping {
    color: #007600;
    font-size: 14px;
    font-weight: 600;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.add-to-cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ff9f00;
    color: #0f1111;
    padding: 14px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
    background: #fa8900;
    transform: translateY(-1px);
}

.view-details-btn {
    display: inline-block;
    background: transparent;
    color: #007185;
    padding: 12px 24px;
    border: 1px solid #007185;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-details-btn:hover {
    background: #007185;
    color: white;
}

/* Modern Placeholder */
.hero-placeholder-modern {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.placeholder-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.placeholder-content {
    text-align: center;
    color: #6c757d;
}

.placeholder-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.placeholder-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.placeholder-subtitle {
    font-size: 16px;
    opacity: 0.7;
}

/* ===================================================================
   BUTTON SYSTEM - Amazon Style
   =================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-size: var(--font-size-sm);
    font-weight: 400;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
    min-height: 29px;
}

.btn-primary {
    background: linear-gradient(to bottom, #f7dfa5, #f0c14b);
    border-color: #a88734 #9c7e31 #846a29;
    color: var(--text-primary);
}

.btn-primary:hover {
    background: linear-gradient(to bottom, #f5d78e, #eeb933);
    border-color: #a88734 #9c7e31 #846a29;
}

.btn-amazon {
    background: var(--amazon-orange);
    color: white;
    border-color: var(--amazon-orange);
    font-weight: 400;
}

.btn-amazon:hover {
    background: #fa8900;
    border-color: #fa8900;
}

.btn-secondary {
    background: white;
    border-color: var(--border-medium);
    color: var(--text-primary);
}

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

.btn-outline {
    background: transparent;
    border-color: var(--text-link);
    color: var(--text-link);
}

.btn-outline:hover {
    background: var(--text-link);
    color: white;
}

.btn-large {
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: var(--font-size-md);
    min-height: 37px;
}

.btn-outline-large {
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: var(--font-size-md);
    min-height: 37px;
}

/* ===================================================================
   PRODUCT GRID - Amazon Style
   =================================================================== */

.featured-products,
.category-products {
    padding: var(--spacing-lg) 0;
    background: var(--bg-primary);
}

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

.section-header h2 {
    font-size: var(--font-size-xl);
    font-weight: 400;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.section-header p {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: 1.5;
}

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

.product-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: var(--spacing-md);
    transition: all 0.2s ease;
    position: relative;
}

.product-card:hover {
    border-color: var(--border-medium);
    box-shadow: var(--shadow-sm);
}

.product-image {
    aspect-ratio: 1;
    overflow: hidden;
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
}

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

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

.product-badge {
    position: absolute;
    top: var(--spacing-sm);
    left: var(--spacing-sm);
    background: var(--color-warning);
    color: white;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 400;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.product-brand {
    font-size: var(--font-size-sm);
    color: var(--text-link);
    font-weight: 400;
    text-decoration: none;
}

.product-brand:hover {
    color: var(--text-link-hover);
    text-decoration: underline;
}

.product-title {
    font-size: var(--font-size-base);
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: var(--spacing-xs);
}

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

.product-title a:hover {
    color: var(--text-link);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-xs);
}

.stars {
    color: var(--amazon-orange);
    font-size: var(--font-size-sm);
    letter-spacing: 1px;
}

.rating-text {
    font-size: var(--font-size-sm);
    color: var(--text-link);
}

.product-price {
    margin-bottom: var(--spacing-sm);
}

.price-current {
    font-size: var(--font-size-lg);
    font-weight: 400;
    color: var(--color-warning);
}

.price-original {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    text-decoration: line-through;
    margin-left: var(--spacing-sm);
}

.product-features-preview {
    margin-bottom: var(--spacing-md);
}

.product-features-preview ul {
    list-style: none;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.product-features-preview li {
    padding: var(--spacing-xs) 0;
    position: relative;
    padding-left: var(--spacing-md);
}

.product-features-preview li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: bold;
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-top: auto;
}

/* ===================================================================
   CATEGORIES SECTION
   =================================================================== */

.categories-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.category-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: var(--spacing-lg);
    text-align: center;
    transition: all 0.2s ease;
}

.category-card:hover {
    border-color: var(--amazon-orange);
    box-shadow: var(--shadow-sm);
}

.category-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.category-icon {
    font-size: 48px;
    margin-bottom: var(--spacing-md);
    opacity: 0.8;
}

.category-card h3 {
    font-size: var(--font-size-md);
    font-weight: 400;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.category-card p {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.4;
}

/* ===================================================================
   FEATURES SECTION
   =================================================================== */

.features {
    padding: var(--spacing-xl) 0;
    background: white;
    border-top: 1px solid var(--border-light);
}

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

.feature-item {
    text-align: center;
    padding: var(--spacing-lg);
}

.feature-icon {
    font-size: 72px;
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
    display: block;
    line-height: 1;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
    opacity: 1;
}

.feature-item h3 {
    font-size: var(--font-size-md);
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    margin-top: 0;
}

.feature-item p {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ===================================================================
   FOOTER
   =================================================================== */

.site-footer {
    background: var(--amazon-blue);
    color: white;
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    margin-top: auto;
}

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

.footer-section h3,
.footer-section h4 {
    font-size: var(--font-size-md);
    font-weight: 500;
    margin-bottom: var(--spacing-md);
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: var(--spacing-xs);
}

.footer-section a {
    color: #DDD;
    text-decoration: none;
    font-size: var(--font-size-sm);
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: white;
    text-decoration: underline;
}

.footer-section p {
    font-size: var(--font-size-sm);
    color: #DDD;
    line-height: 1.5;
}

.footer-bottom {
    border-top: 1px solid var(--amazon-light-blue);
    padding-top: var(--spacing-md);
    text-align: center;
    font-size: var(--font-size-sm);
    color: #DDD;
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.social-links a {
    font-size: var(--font-size-lg);
    color: #DDD;
    transition: color 0.2s ease;
}

.social-links a:hover {
    color: var(--amazon-yellow);
}

/* ===================================================================
   RESPONSIVE DESIGN
   =================================================================== */

@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .main-nav {
        flex-wrap: wrap;
        gap: var(--spacing-md);
    }
    
    .nav-search {
        order: 3;
        flex-basis: 100%;
        max-width: none;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: var(--font-size-xl);
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: var(--spacing-sm);
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .product-controls-bar {
        top: 48px;
    }
    
    /* Mobile Hero Layout */
    .hero {
        min-height: auto;
        padding: 40px 0;
    }
    
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
    }
    
    .hero-title {
        font-size: 28px;
        margin-bottom: 16px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 24px;
        max-width: 100%;
    }
    
    .hero-stats {
        gap: 20px;
        padding: 20px 0;
        margin-bottom: 30px;
        justify-content: center;
    }
    
    .stat-number {
        font-size: 18px;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    .btn-premium, .btn-outline {
        padding: 12px 24px;
        font-size: 14px;
        text-align: center;
        justify-content: center;
    }
    
    .product-spotlight {
        padding: 20px;
        border-radius: 16px;
        max-width: 280px;
    }
    
    .product-visual img {
        width: 140px;
        height: 140px;
    }
    
    .product-glow {
        width: 160px;
        height: 160px;
    }
    
    .product-name {
        font-size: 14px;
    }
    
    .sale-price, .current-price {
        font-size: 20px;
    }
    
    .regular-price {
        font-size: 14px;
    }
    
    .hero-placeholder-modern {
        height: 300px;
        margin: 0 auto;
    }
    
    .placeholder-icon {
        font-size: 36px;
    }
    
    .placeholder-title {
        font-size: 20px;
    }
    
    .placeholder-subtitle {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .hero {
        padding: var(--spacing-lg) 0;
    }
    
    .products-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .product-card {
        padding: var(--spacing-sm);
    }
    
    .product-actions {
        gap: var(--spacing-xs);
    }
    
    .btn {
        font-size: var(--font-size-xs);
        padding: var(--spacing-xs) var(--spacing-sm);
    }
}

/* ===================================================================
   UTILITY CLASSES
   =================================================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }

.p-sm { padding: var(--spacing-sm); }
.p-md { padding: var(--spacing-md); }
.p-lg { padding: var(--spacing-lg); }

.border-light { border: 1px solid var(--border-light); }
.border-radius { border-radius: var(--radius-sm); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }

/* ===================================================================
   LOADING STATES & ANIMATIONS
   =================================================================== */

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

.fade-in {
    animation: fadeIn 0.3s ease-out;
}

.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

.empty-state {
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
}

.empty-state h3 {
    font-size: var(--font-size-lg);
    font-weight: 400;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.empty-state p {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.5;
}

.no-products {
    padding: var(--spacing-xl) 0;
}

.no-products-content {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.no-products-content h2 {
    font-size: var(--font-size-xl);
    font-weight: 400;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.no-products-content p {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.5;
}

.no-products-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    padding: var(--spacing-lg);
}

.page-link {
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-link);
    background: white;
    transition: all 0.2s ease;
}

.page-link:hover {
    background: var(--bg-secondary);
    border-color: var(--border-medium);
}

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

.section-footer {
    text-align: center;
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-light);
}

/* ===================================================================
   CATEGORY PAGE STYLES - Beautiful Amazon-inspired Design
   =================================================================== */

/* Category Hero Section */
.category-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: var(--spacing-sm) 0 var(--spacing-xs);
    border-bottom: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.category-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        var(--amazon-orange) 0%, 
        var(--amazon-blue) 50%, 
        var(--amazon-orange) 100%);
}

/* Breadcrumb Navigation */
.category-breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
    font-size: var(--font-size-sm);
}

.breadcrumb-link {
    color: var(--text-link);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-link:hover {
    color: var(--amazon-orange);
    text-decoration: underline;
}

.breadcrumb-separator {
    color: var(--text-secondary);
    font-weight: normal;
    margin: 0 var(--spacing-xs);
}

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

/* Category Content Layout */
.category-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--spacing-md);
    align-items: center;
}

.category-left {
    min-width: 0;
}

.category-title {
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 2px;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.category-description {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: 1.4;
    max-width: 500px;
    margin: 0;
}

/* Category Summary Card */
.category-right {
    display: flex;
    justify-content: flex-end;
}

.category-summary-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    min-width: 160px;
    position: relative;
    overflow: hidden;
}

.category-summary-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--amazon-orange), #ff6b35);
}

.summary-content {
    text-align: center;
}

.product-count {
    margin-bottom: var(--spacing-sm);
}

.count-number {
    display: block;
    font-size: 2rem;
    font-weight: 400;
    color: var(--amazon-orange);
    line-height: 1;
    margin-bottom: var(--spacing-xs);
}

.count-label {
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
    font-weight: 400;
}

.prime-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-sm);
    background: linear-gradient(135deg, rgba(0, 121, 107, 0.1), rgba(0, 121, 107, 0.05));
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0, 121, 107, 0.2);
}

.prime-icon {
    font-size: 1em;
    color: var(--color-success);
}

.prime-text {
    font-size: var(--font-size-xs);
    color: var(--color-success);
    font-weight: 500;
}

/* Product Controls Bar */
.product-controls-bar {
    background: #fafafa;
    border-bottom: 1px solid var(--border-light);
    padding: var(--spacing-sm) 0;
    position: sticky;
    top: 48px;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.controls-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
}

.results-info {
    flex: 1;
}

.results-count {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    font-weight: 400;
}

.controls-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.sort-section {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.sort-label {
    font-size: var(--font-size-sm);
    color: var(--text-primary);
    font-weight: 500;
    white-space: nowrap;
}

.sort-select {
    border: 1px solid var(--border-default);
    border-radius: var(--radius-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--font-size-sm);
    background: white;
    color: var(--text-primary);
    min-width: 160px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sort-select:hover {
    border-color: var(--amazon-orange);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.sort-select:focus {
    outline: none;
    border-color: var(--amazon-orange);
    box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.1);
}

/* Filter Tags (if added later) */
.active-filters {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: var(--bg-tertiary);
    color: var(--text-primary);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    border: 1px solid var(--border-light);
}

.filter-tag-remove {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0;
    font-size: var(--font-size-sm);
    line-height: 1;
}

.filter-tag-remove:hover {
    color: var(--color-warning);
}

/* ===================================================================
   CATEGORY PAGE RESPONSIVE DESIGN
   =================================================================== */

@media (max-width: 1024px) {
    .category-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .category-right {
        justify-content: center;
        margin-top: var(--spacing-sm);
    }
    
    .category-summary-card {
        max-width: 200px;
        width: 100%;
    }
    
    .controls-content {
        flex-direction: column;
        align-items: stretch;
        gap: var(--spacing-sm);
    }
    
    .controls-actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .category-hero {
        padding: var(--spacing-xs) 0 2px;
    }
    
    .category-breadcrumb {
        margin-bottom: var(--spacing-xs);
        font-size: var(--font-size-xs);
    }
    
    .category-title {
        font-size: 1.5rem;
        margin-bottom: var(--spacing-xs);
    }
    
    .category-description {
        font-size: var(--font-size-sm);
        margin-bottom: var(--spacing-sm);
    }
    
    .category-summary-card {
        padding: var(--spacing-sm);
        min-width: 160px;
    }
    
    .count-number {
        font-size: 1.75rem;
    }
    
    .product-controls-bar {
        top: 48px;
    }
    
    .sort-section {
        flex-direction: column;
        align-items: stretch;
        gap: var(--spacing-xs);
        width: 100%;
    }
    
    .sort-select {
        min-width: auto;
        width: 100%;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .category-hero {
        padding: 2px 0;
    }
    
    .category-breadcrumb {
        font-size: var(--font-size-xs);
        margin-bottom: 2px;
        flex-wrap: wrap;
    }
    
    .breadcrumb-separator {
        margin: 0 2px;
    }
    
    .category-title {
        font-size: 1.25rem;
        line-height: 1.3;
        margin-bottom: 2px;
    }
    
    .category-description {
        font-size: var(--font-size-xs);
        line-height: 1.4;
    }
    
    .category-summary-card {
        min-width: 140px;
        padding: var(--spacing-xs) var(--spacing-sm);
    }
    
    .count-number {
        font-size: 1.5rem;
    }
    
    .count-label, .prime-text {
        font-size: var(--font-size-xs);
    }
    
    .product-controls-bar {
        padding: var(--spacing-xs) 0;
        top: 48px;
    }
    
    .results-count {
        font-size: var(--font-size-xs);
        text-align: center;
    }
    
    .sort-label {
        font-size: var(--font-size-xs);
        text-align: center;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
}

/* ===================================================================
   NEWSLETTER SECTION
   =================================================================== */

.newsletter {
    background-color: var(--bg-secondary);
    padding: var(--spacing-xl) 0;
    border-top: 1px solid var(--border-light);
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.newsletter-content p {
    font-size: var(--font-size-md);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.newsletter-form {
    display: flex;
    gap: var(--spacing-sm);
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-base);
    outline: none;
}

.newsletter-form input:focus {
    border-color: var(--amazon-orange);
    box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.1);
}

@media (max-width: 480px) {
    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }
    
    .newsletter-form input {
        width: 100%;
    }
    
    /* Mobile optimization for feature icons */
    .feature-icon {
        font-size: 60px;
        margin-bottom: var(--spacing-md);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .feature-item {
        padding: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-icon {
        font-size: 64px;
    }
} 
/* Mobile optimization for feature icons */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-icon {
        font-size: 64px;
    }
}

@media (max-width: 480px) {
    .feature-icon {
        font-size: 56px;
        margin-bottom: var(--spacing-md);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .feature-item {
        padding: var(--spacing-md);
    }
}

/* ===================================================================
   CATEGORY PAGE ENHANCEMENTS
   =================================================================== */

.category-header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 20px;
}

.category-info {
    flex: 1;
}

.category-info h1 {
    font-size: 28px;
    font-weight: 700;
    color: #0f1111;
    margin: 0 0 12px 0;
}

.category-description {
    font-size: 14px;
    color: #565959;
    line-height: 1.4;
    margin: 0 0 16px 0;
    max-width: 600px;
}

.category-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 16px;
}

.results-count {
    font-size: 14px;
    color: #565959;
}

.category-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-controls label {
    font-size: 14px;
    color: #0f1111;
    font-weight: 600;
}

.sort-dropdown {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background: white;
    color: #0f1111;
    cursor: pointer;
}

.sort-dropdown:focus {
    outline: none;
    border-color: #ff9f00;
    box-shadow: 0 0 0 2px rgba(255, 159, 0, 0.2);
}

.category-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}

.stat-box {
    background: linear-gradient(135deg, #ff9f00, #ffb84d);
    color: #0f1111;
    padding: 16px 20px;
    border-radius: 8px;
    text-align: center;
    min-width: 120px;
    box-shadow: 0 4px 12px rgba(255, 159, 0, 0.3);
}

.stat-number {
    font-size: 24px;
    font-weight: 800;
    margin: 0;
    line-height: 1;
}

.stat-label {
    font-size: 12px;
    font-weight: 600;
    margin: 4px 0 0 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.prime-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #007185;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.prime-badge i {
    color: #ff9f00;
}

/* Mobile responsive styles for category page */
@media (max-width: 768px) {
    .category-header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .category-stats {
        align-items: center;
        flex-direction: row;
        justify-content: center;
    }
    
    .category-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .category-controls {
        width: 100%;
        justify-content: space-between;
    }
    
    .stat-box {
        min-width: 100px;
        padding: 12px 16px;
    }
    
    .stat-number {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .category-info h1 {
        font-size: 24px;
    }
    
    .category-description {
        font-size: 13px;
    }
    
    .category-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-box {
        width: 100%;
        max-width: 200px;
    }
}


/* ========== 源文件: product-detail.css ========== */
/* Product Detail Page - Amazon Style */


/* Product Detail Specific Styles */
.product-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    margin: var(--spacing-lg) 0;
    background: white;
    padding: var(--spacing-lg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
}

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

.main-image-container {
    width: 100%;
    aspect-ratio: 1;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-in;
    position: relative;
}

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

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

.image-gallery {
    display: flex;
    gap: var(--spacing-sm);
    overflow-x: auto;
    padding: var(--spacing-sm) 0;
}

.gallery-thumb {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-sm);
    cursor: pointer;
    object-fit: contain;
    background: white;
    transition: border-color 0.2s ease;
}

.gallery-thumb:hover,
.gallery-thumb.active {
    border-color: var(--amazon-orange);
}

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

.brand {
    font-size: var(--font-size-sm);
    color: var(--text-link);
    text-decoration: none;
    font-weight: 400;
}

.brand:hover {
    color: var(--text-link-hover);
    text-decoration: underline;
}

.product-info h1 {
    font-size: var(--font-size-xl);
    font-weight: 400;
    line-height: 1.3;
    color: var(--text-primary);
    margin: 0;
}

.price {
    font-size: var(--font-size-xxl);
    font-weight: 400;
    color: var(--color-warning);
    margin: var(--spacing-md) 0;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: var(--spacing-sm);
}

.price-original {
    font-size: var(--font-size-md);
    color: var(--text-secondary);
    text-decoration: line-through;
}

.price-discount {
    font-size: var(--font-size-sm);
    color: var(--color-warning);
    background: var(--amazon-yellow);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-weight: 500;
}

/* Key Features */
.bullet-points {
    margin: var(--spacing-lg) 0;
}

.bullet-points h3 {
    font-size: var(--font-size-md);
    font-weight: 500;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.bullet-points ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bullet-points li {
    padding: var(--spacing-xs) 0;
    position: relative;
    padding-left: var(--spacing-lg);
    font-size: var(--font-size-sm);
    line-height: 1.4;
    color: var(--text-primary);
}

.bullet-points li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: bold;
    font-size: var(--font-size-md);
}

/* Call to Action Section */
.cta-section {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
}

.btn-amazon {
    width: 100%;
    padding: var(--spacing-md);
    font-size: var(--font-size-md);
    font-weight: 500;
    text-align: center;
    background: var(--amazon-orange);
    color: white;
    border: 1px solid var(--amazon-orange);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.btn-amazon:hover {
    background: #fa8900;
    border-color: #fa8900;
}

/* Product Description Section */
.description-section {
    margin: var(--spacing-xl) 0;
    background: white;
    padding: var(--spacing-lg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
}

.description-section h3 {
    font-size: var(--font-size-lg);
    font-weight: 500;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-light);
    padding-bottom: var(--spacing-md);
}

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

.rich-text-content {
    margin: 0;
}

.rich-text-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    margin: var(--spacing-md) 0;
    border: 1px solid var(--border-light);
}

.rich-text-content h1,
.rich-text-content h2,
.rich-text-content h3 {
    font-weight: 500;
    color: var(--text-primary);
    margin: var(--spacing-lg) 0 var(--spacing-md);
}

.rich-text-content p {
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.rich-text-content ul,
.rich-text-content ol {
    margin: var(--spacing-md) 0;
    padding-left: var(--spacing-lg);
}

.rich-text-content li {
    margin-bottom: var(--spacing-xs);
    line-height: 1.5;
}

/* Related Products Section */
.related-products {
    margin: var(--spacing-xl) 0;
    background: white;
    padding: var(--spacing-lg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
}

.related-products h2 {
    font-size: var(--font-size-lg);
    font-weight: 500;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-light);
    padding-bottom: var(--spacing-md);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: var(--spacing-md);
}

.related-item {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: var(--spacing-md);
    transition: all 0.2s ease;
    background: white;
}

.related-item:hover {
    border-color: var(--border-medium);
    box-shadow: var(--shadow-sm);
}

.related-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-sm);
    background: var(--bg-secondary);
}

.related-item-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.related-item h3 {
    font-size: var(--font-size-sm);
    font-weight: 400;
    line-height: 1.3;
    color: var(--text-primary);
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.related-item .price {
    font-size: var(--font-size-md);
    font-weight: 500;
    color: var(--color-warning);
    margin: var(--spacing-xs) 0;
}

.related-item a {
    font-size: var(--font-size-sm);
    color: var(--text-link);
    text-decoration: none;
    padding: var(--spacing-xs) 0;
    border-top: 1px solid var(--border-light);
    margin-top: var(--spacing-sm);
    padding-top: var(--spacing-sm);
    text-align: center;
}

.related-item a:hover {
    color: var(--text-link-hover);
    text-decoration: underline;
}

/* Image Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: zoom-out;
}

.modal-content {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: contain;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
}

.close:hover {
    color: var(--amazon-orange);
}

/* Modal Navigation Arrows */
.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    font-size: 24px;
    padding: 15px 20px;
    cursor: pointer;
    z-index: 2001;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.modal-nav:hover {
    background: rgba(0, 0, 0, 0.9);
    color: var(--amazon-orange);
}

.modal-nav.prev {
    left: 30px;
}

.modal-nav.next {
    right: 30px;
}

.modal-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.modal-nav:disabled:hover {
    background: rgba(0, 0, 0, 0.7);
    color: white;
}

/* Modal Image Counter */
.modal-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    z-index: 2001;
}

/* Amazon-style Image Zoom Effects */
.main-image-container {
    position: relative;
    overflow: hidden;
    cursor: crosshair;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
}

.main-image-container:hover .zoom-hint {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.zoom-lens {
    position: absolute;
    border: 2px solid #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    width: 100px;
    height: 100px;
    display: none;
    pointer-events: none;
    z-index: 10;
    background: rgba(255,255,255,0.1);
}

.zoom-preview {
    position: absolute;
    top: 0;
    left: 100%;
    margin-left: 20px;
    width: 400px;
    height: 400px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    overflow: hidden;
    display: none;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 20;
}

.zoom-preview img {
    width: 800px;
    height: 800px;
    object-fit: cover;
    transform-origin: 0 0;
}

.zoom-hint {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.zoom-hint i {
    font-size: 14px;
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .zoom-preview {
        left: -420px;
        width: 350px;
        height: 350px;
    }
    
    .zoom-preview img {
        width: 700px;
        height: 700px;
    }
}

@media (max-width: 768px) {
    .main-image-container {
        cursor: pointer;
    }
    
    .zoom-lens,
    .zoom-preview {
        display: none !important;
    }
    
    .zoom-hint span {
        display: none;
    }
    
    .zoom-hint {
        width: 36px;
        height: 36px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
        bottom: 15px;
        right: 15px;
        left: auto;
        transform: none;
    }
}

/* Amazon-style Image Zoom Effects */
.main-image-container:hover .zoom-hint {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.zoom-lens {
    position: absolute;
    border: 2px solid #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    width: 100px;
    height: 100px;
    display: none;
    pointer-events: none;
    z-index: 10;
    background: rgba(255,255,255,0.1);
}

.zoom-preview {
    position: absolute;
    top: 0;
    left: 100%;
    margin-left: 20px;
    width: 400px;
    height: 400px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    overflow: hidden;
    display: none;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 20;
}

.zoom-preview img {
    width: 800px;
    height: 800px;
    object-fit: cover;
    transform-origin: 0 0;
}

.zoom-hint {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.zoom-hint i {
    font-size: 14px;
}

/* Responsive Design for Product Detail */
@media (max-width: 1024px) {
    .product-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .related-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .zoom-preview {
        left: -420px;
        width: 350px;
        height: 350px;
    }
    
    .zoom-preview img {
        width: 700px;
        height: 700px;
    }
}

@media (max-width: 768px) {
    .product-container {
        padding: var(--spacing-md);
        margin: var(--spacing-md) 0;
    }
    
    .main-image-container {
        max-width: 100%;
        cursor: pointer;
    }
    
    .image-gallery {
        justify-content: center;
    }
    
    .gallery-thumb {
        width: 50px;
        height: 50px;
    }
    
    .product-info h1 {
        font-size: var(--font-size-lg);
    }
    
    .price {
        font-size: var(--font-size-xl);
    }
    
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }
    
    .description-section,
    .related-products {
        padding: var(--spacing-md);
    }
    
    .zoom-lens,
    .zoom-preview {
        display: none !important;
    }
    
    .zoom-hint span {
        display: none;
    }
    
    .zoom-hint {
        width: 36px;
        height: 36px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
        bottom: 15px;
        right: 15px;
        left: auto;
        transform: none;
    }
}

@media (max-width: 480px) {
    .product-container {
        padding: var(--spacing-sm);
    }
    
    .gallery-thumb {
        width: 40px;
        height: 40px;
    }
    
    .bullet-points li {
        font-size: var(--font-size-xs);
    }
    
    .related-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .related-item {
        padding: var(--spacing-sm);
    }
}

/* Rating & Reviews (if you add this feature) */
.product-rating {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin: var(--spacing-md) 0;
}

.rating-stars {
    color: var(--amazon-orange);
    font-size: var(--font-size-md);
    letter-spacing: 2px;
}

.rating-text {
    font-size: var(--font-size-sm);
    color: var(--text-link);
    text-decoration: none;
}

.rating-text:hover {
    color: var(--text-link-hover);
    text-decoration: underline;
}

.rating-count {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

/* Additional Product Info */
.product-details {
    margin: var(--spacing-lg) 0;
    padding: var(--spacing-lg);
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
}

.product-details h4 {
    font-size: var(--font-size-md);
    font-weight: 500;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.product-specs {
    display: grid;
    gap: var(--spacing-sm);
}

.spec-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    padding: var(--spacing-sm);
    border-bottom: 1px solid var(--border-light);
}

.spec-row:last-child {
    border-bottom: none;
}

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

.spec-value {
    font-size: var(--font-size-sm);
    color: var(--text-primary);
} 

/* ========== 源文件: hero-balance.css ========== */
/* Hero Visual Balance Optimization - 大方版本 */

/* 调整整体布局比例 */
.hero {
    min-height: 550px !important;
    padding: 80px 0 !important;
}

.hero-layout {
    display: grid !important;
    grid-template-columns: 1.2fr 0.8fr !important;
    gap: 60px !important;
    align-items: center !important;
    position: relative !important;
    z-index: 1 !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

/* 增大产品卡片，让它更有存在感 */
.product-showcase {
    background: white !important;
    border-radius: 20px !important;
    padding: 32px !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12) !important;
    position: relative !important;
    overflow: hidden !important;
    max-width: 350px !important;
    margin: 0 auto !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

/* 大幅增大产品图片 */
.product-image-container {
    text-align: center !important;
    margin-bottom: 24px !important;
}

.product-image-container img {
    width: 200px !important;
    height: 200px !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    position: relative !important;
    z-index: 1 !important;
    transition: transform 0.3s ease !important;
}

.product-image-container:hover img {
    transform: scale(1.05) !important;
}

/* 增大deal flag */
.deal-flag {
    position: absolute !important;
    top: -8px !important;
    right: 24px !important;
    background: linear-gradient(135deg, #ff6b35, #ff8f65) !important;
    color: white !important;
    padding: 6px 16px !important;
    border-radius: 15px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    z-index: 2 !important;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4) !important;
}

/* 大幅增大文字区域 */
.hero-title {
    font-size: 48px !important;
    font-weight: 800 !important;
    color: #0f1111 !important;
    line-height: 1.1 !important;
    margin: 0 0 20px 0 !important;
    max-width: 600px !important;
    letter-spacing: -0.5px !important;
}

.hero-subtitle {
    font-size: 20px !important;
    color: #565959 !important;
    line-height: 1.4 !important;
    margin-bottom: 32px !important;
    font-weight: 400 !important;
    max-width: 520px !important;
}

/* 简洁左对齐的hero features设计 */
.hero-features {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin-bottom: 40px !important;
    padding: 0 !important;
    border: none !important;
    align-items: flex-start !important;
}

.feature-highlight {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 15px !important;
    color: #0f1111 !important;
    font-weight: 400 !important;
    text-align: left !important;
    margin: 0 !important;
}

.feature-icon {
    font-size: 16px !important;
    width: 20px !important;
    text-align: left !important;
    flex-shrink: 0 !important;
}

.feature-text {
    font-size: 15px !important;
    color: #0f1111 !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
}

/* 增大按钮尺寸 */
.btn-premium {
    padding: 16px 32px !important;
    border-radius: 30px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    box-shadow: 0 6px 20px rgba(255, 159, 0, 0.3) !important;
    transition: all 0.3s ease !important;
}

.btn-premium:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(255, 159, 0, 0.4) !important;
}

.btn-outline {
    padding: 16px 32px !important;
    border-radius: 30px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border: 2px solid #007185 !important;
}

/* 增大产品信息字体 */
.product-title {
    margin: 0 0 16px 0 !important;
    font-size: 16px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
}

.product-title a {
    color: #0f1111 !important;
    text-decoration: none !important;
}

.product-rating {
    margin-bottom: 12px !important;
    font-size: 14px !important;
    text-align: center !important;
}

.stars {
    font-size: 16px !important;
    margin-right: 8px !important;
}

.review-count {
    color: #007185 !important;
    font-size: 14px !important;
}

.price-info {
    margin-bottom: 20px !important;
    text-align: center !important;
}

/* 增大价格字体 */
.deal-price, .current-price {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #B12704 !important;
    display: block !important;
    margin-bottom: 4px !important;
}

.original-price {
    font-size: 18px !important;
    color: #565959 !important;
    text-decoration: line-through !important;
    margin-right: 8px !important;
}

.savings {
    background: #e47911 !important;
    color: white !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}

.shipping-info {
    color: #007600 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

.quick-buy-btn {
    display: inline-block !important;
    background: linear-gradient(135deg, #ff9f00, #ffb84d) !important;
    color: #0f1111 !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
    text-align: center !important;
    box-sizing: border-box !important;
    box-shadow: 0 4px 12px rgba(255, 159, 0, 0.3) !important;
}

.quick-buy-btn:hover {
    background: linear-gradient(135deg, #ffb84d, #ff9f00) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 16px rgba(255, 159, 0, 0.4) !important;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .hero {
        min-height: auto !important;
        padding: 60px 0 !important;
    }
    
    .hero-layout {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        text-align: center !important;
    }
    
    .hero-title {
        font-size: 32px !important;
        max-width: 100% !important;
        margin-bottom: 16px !important;
    }
    
    .hero-subtitle {
        font-size: 18px !important;
        max-width: 100% !important;
        margin-bottom: 24px !important;
    }
    
    .hero-features {
        gap: 10px !important;
        padding: 0 !important;
        margin-bottom: 32px !important;
        align-items: flex-start !important;
    }
    
    .feature-highlight {
        justify-content: flex-start !important;
        font-size: 14px !important;
        text-align: left !important;
    }
    
    .btn-premium, .btn-outline {
        padding: 14px 24px !important;
        font-size: 15px !important;
        width: 100% !important;
        max-width: 280px !important;
        margin: 0 auto !important;
    }
    
    .product-showcase {
        max-width: 300px !important;
        padding: 24px !important;
    }
    
    .product-image-container img {
        width: 160px !important;
        height: 160px !important;
    }
    
    .deal-price, .current-price {
        font-size: 24px !important;
    }
} 

/* ========== 源文件: product-recommendations.css ========== */
/* Product Recommendations Styles */

.product-recommendations {
    margin-top: 3rem;
}

.recommendation-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.recommendation-section h2 {
    color: #232f3e;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.recommendation-section h2 i {
    color: #ff9900;
    font-size: 1.2rem;
}

/* Frequently Bought Together Styles */
.bought-together-container {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
}

.bought-together-items {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.bought-together-item {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    min-width: 160px;
    flex: 1;
    max-width: 200px;
    transition: all 0.3s ease;
}

.bought-together-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.bought-together-item.current-product {
    border-color: #ff9900;
    background: #fff8e1;
}

.bought-together-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.bought-together-item .item-info h4 {
    font-size: 0.9rem;
    margin: 0.5rem 0;
    line-height: 1.3;
    height: 2.6rem;
    overflow: hidden;
}

.bought-together-item .item-info h4 a {
    color: #232f3e;
    text-decoration: none;
}

.bought-together-item .item-info h4 a:hover {
    color: #ff9900;
}

.bought-together-item .price {
    font-weight: 600;
    color: #B12704;
    font-size: 1rem;
}

.product-checkbox {
    margin-bottom: 0.5rem;
}

.product-checkbox input[type="checkbox"] {
    margin-right: 0.5rem;
}

.product-checkbox label {
    font-size: 0.8rem;
    color: #666;
    cursor: pointer;
}

.plus-sign {
    font-size: 1.5rem;
    font-weight: bold;
    color: #666;
    flex-shrink: 0;
}

.bought-together-summary {
    border-top: 1px solid #ddd;
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.total-price {
    font-size: 1.1rem;
    font-weight: 600;
}

.total-price .price {
    color: #B12704;
    font-size: 1.2rem;
}

.btn-add-all-to-cart {
    background: #ff9900;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-add-all-to-cart:hover {
    background: #e68900;
    transform: translateY(-1px);
}

/* Recommendation Grid Styles */
.recommendation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.recommendation-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.recommendation-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: #ff9900;
}

.recommendation-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.item-content {
    padding: 1rem;
}

.item-content h3 {
    font-size: 0.95rem;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
    height: 2.8rem;
    overflow: hidden;
}

.item-content h3 a {
    color: #232f3e;
    text-decoration: none;
}

.item-content h3 a:hover {
    color: #ff9900;
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.rating .stars {
    color: #ffa41c;
    font-size: 0.9rem;
}

.rating .rating-count {
    color: #666;
    font-size: 0.8rem;
}

.item-content .price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #B12704;
    margin-bottom: 0.75rem;
}

.view-count {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.btn-view-amazon {
    display: inline-block;
    background: #ff9900;
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
}

.btn-view-amazon:hover {
    background: #e68900;
    color: white;
    text-decoration: none;
}

/* Trending Products Specific Styles */
.trending-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.trending-item {
    position: relative;
}

.trending-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: linear-gradient(45deg, #ff6b35, #ff9900);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.trending-badge i {
    font-size: 0.6rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .recommendation-section {
        padding: 1rem;
        margin-bottom: 2rem;
    }
    
    .recommendation-section h2 {
        font-size: 1.3rem;
    }
    
    .bought-together-items {
        flex-direction: column;
        align-items: stretch;
    }
    
    .bought-together-item {
        max-width: none;
        min-width: auto;
    }
    
    .plus-sign {
        transform: rotate(90deg);
        align-self: center;
    }
    
    .bought-together-summary {
        flex-direction: column;
        text-align: center;
    }
    
    .recommendation-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .trending-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
}

@media (max-width: 480px) {
    .recommendation-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .trending-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .recommendation-item img {
        height: 150px;
    }
    
    .item-content {
        padding: 0.75rem;
    }
    
    .item-content h3 {
        font-size: 0.85rem;
        height: 2.4rem;
    }
} 

/* ========== 源文件: contact-form.css ========== */
/* 联系表单样式 */

/* 联系按钮 */
.btn-contact {
    display: block;
    width: 100%;
    background: #007185;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.btn-contact:hover {
    background: #005a6b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 113, 133, 0.3);
}

.btn-contact span {
    margin-right: 8px;
}

/* 联系模态框 */
.contact-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
}

.contact-modal-content {
    background-color: white;
    margin: 2% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-modal-header {
    background: linear-gradient(135deg, #232F3E 0%, #37475A 100%);
    color: white;
    padding: 20px 24px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-modal-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.contact-close {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: white;
    transition: color 0.3s ease;
}

.contact-close:hover {
    color: #FF9900;
}

.contact-modal-body {
    padding: 24px;
}

/* 产品信息摘要 */
.product-info-summary {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #f8f9fa;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.product-info-summary img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.product-info-summary h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: #232F3E;
}

.product-info-summary p {
    margin: 0;
    color: #B12704;
    font-weight: 600;
    font-size: 18px;
}

/* 表单样式 */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #232F3E;
    margin-bottom: 6px;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid #D5D9D9;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007185;
    box-shadow: 0 0 0 3px rgba(0, 113, 133, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group input:invalid,
.form-group select:invalid,
.form-group textarea:invalid {
    border-color: #D13212;
}

/* 表单操作按钮 */
.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #E7E7E7;
}

.btn-cancel {
    padding: 12px 24px;
    border: 2px solid #D5D9D9;
    background: white;
    color: #565959;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    border-color: #B12704;
    color: #B12704;
}

.btn-submit {
    padding: 12px 24px;
    border: none;
    background: #FF9900;
    color: white;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    min-width: 120px;
}

.btn-submit:hover {
    background: #e88900;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 153, 0, 0.3);
}

.btn-submit:disabled {
    background: #D5D9D9;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-loading {
    display: none;
}

.btn-submit.loading .btn-text {
    display: none;
}

.btn-submit.loading .btn-loading {
    display: inline-block;
}

/* 成功/错误消息 */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 500;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background: #cce7ff;
    color: #004085;
    border: 1px solid #b8daff;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .contact-modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 95vh;
    }
    
    .contact-modal-header {
        padding: 16px 20px;
    }
    
    .contact-modal-header h2 {
        font-size: 18px;
    }
    
    .contact-modal-body {
        padding: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-info-summary {
        flex-direction: column;
        text-align: center;
    }
    
    .product-info-summary img {
        width: 100px;
        height: 100px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-cancel,
    .btn-submit {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .contact-modal-content {
        width: 98%;
        margin: 2% auto;
        border-radius: 8px;
    }
    
    .contact-modal-header {
        padding: 12px 16px;
        border-radius: 8px 8px 0 0;
    }
    
    .contact-modal-body {
        padding: 16px;
    }
    
    .product-info-summary {
        padding: 12px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
    }
} 

/* ========== 源文件: mobile-product-gallery.css ========== */
/* 移动端产品图片Gallery优化 */

/* 基础移动端图片容器 */
@media (max-width: 768px) {
    .product-images {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .main-image-container {
        width: 100%;
        max-width: 100%;
        aspect-ratio: 1;
        border: 1px solid #ddd;
        border-radius: 8px;
        overflow: hidden;
        background: #f8f9fa;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        position: relative;
    }
    
    .main-image {
        width: 100%;
        height: 100%;
        object-fit: contain;
        transition: none; /* 移动端取消hover效果 */
    }
    
    /* 移动端缩略图容器 - 水平滚动 */
    .image-gallery {
        display: flex;
        gap: 0.5rem;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0.5rem 0;
        margin: 0;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE/Edge */
    }
    
    .image-gallery::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }
    
    /* 缩略图样式 */
    .gallery-thumb {
        flex-shrink: 0;
        width: 60px;
        height: 60px;
        border: 2px solid #ddd;
        border-radius: 6px;
        cursor: pointer;
        object-fit: contain;
        background: white;
        transition: border-color 0.2s ease;
    }
    
    .gallery-thumb:hover,
    .gallery-thumb.active {
        border-color: #ff9900;
    }
    
    /* 当缩略图很多时的优化 */
    .image-gallery.many-images {
        justify-content: flex-start;
    }
    
    .image-gallery.many-images .gallery-thumb {
        width: 50px;
        height: 50px;
    }
}

/* 超小屏幕优化 */
@media (max-width: 480px) {
    .product-images {
        gap: 0.75rem;
    }
    
    .main-image-container {
        border-radius: 6px;
    }
    
    .image-gallery {
        gap: 0.375rem;
        padding: 0.375rem 0;
    }
    
    .gallery-thumb {
        width: 45px;
        height: 45px;
        border-radius: 4px;
    }
    
    .image-gallery.many-images .gallery-thumb {
        width: 40px;
        height: 40px;
    }
}

/* 当有很多图片时的特殊处理 */
@media (max-width: 768px) {
    /* 超过6张图片时的样式 */
    .image-gallery[data-count="7"] .gallery-thumb,
    .image-gallery[data-count="8"] .gallery-thumb,
    .image-gallery[data-count="9"] .gallery-thumb,
    .image-gallery[data-count="10"] .gallery-thumb {
        width: 45px;
        height: 45px;
    }
    
    /* 超过10张图片时的样式 */
    .image-gallery[data-count="11"] .gallery-thumb,
    .image-gallery[data-count="12"] .gallery-thumb,
    .image-gallery[data-count="13"] .gallery-thumb,
    .image-gallery[data-count="14"] .gallery-thumb,
    .image-gallery[data-count="15"] .gallery-thumb {
        width: 40px;
        height: 40px;
    }
}

/* 滚动指示器 */
@media (max-width: 768px) {
    .gallery-scroll-indicator {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0.25rem;
        margin-top: 0.5rem;
    }
    
    .scroll-dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #ddd;
        transition: background 0.2s ease;
    }
    
    .scroll-dot.active {
        background: #ff9900;
    }
}

/* 图片计数显示 */
@media (max-width: 768px) {
    .image-counter {
        position: absolute;
        top: 10px;
        right: 10px;
        background: rgba(0, 0, 0, 0.7);
        color: white;
        padding: 4px 8px;
        border-radius: 12px;
        font-size: 12px;
        font-weight: 500;
        z-index: 10;
    }
}

/* 图片gallery的左右滚动按钮 */
@media (max-width: 768px) {
    .gallery-container {
        position: relative;
    }
    
    .gallery-scroll-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 32px;
        height: 32px;
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid #ddd;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 10;
        transition: all 0.2s ease;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    
    .gallery-scroll-btn:hover {
        background: white;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    }
    
    .gallery-scroll-btn.prev {
        left: -16px;
    }
    
    .gallery-scroll-btn.next {
        right: -16px;
    }
    
    .gallery-scroll-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }
    
    .gallery-scroll-btn svg {
        width: 16px;
        height: 16px;
        fill: #333;
    }
}

/* 触摸滑动指示 */
@media (max-width: 768px) {
    .gallery-touch-hint {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 0.5rem;
        font-size: 12px;
        color: #666;
        opacity: 0.7;
    }
    
    .gallery-touch-hint svg {
        width: 14px;
        height: 14px;
        fill: currentColor;
    }
}

/* 图片加载状态 */
@media (max-width: 768px) {
    .gallery-thumb.loading {
        background: #f0f0f0;
        position: relative;
        overflow: hidden;
    }
    
    .gallery-thumb.loading::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
        animation: loading-shimmer 1.5s infinite;
    }
    
    @keyframes loading-shimmer {
        0% {
            left: -100%;
        }
        100% {
            left: 100%;
        }
    }
}

/* 图片错误状态 */
@media (max-width: 768px) {
    .gallery-thumb.error {
        background: #f8f9fa;
        border-color: #e9ecef;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #6c757d;
        font-size: 10px;
    }
    
    .gallery-thumb.error::before {
        content: '📷';
        font-size: 16px;
    }
}

/* 全屏查看模式的移动端优化 */
@media (max-width: 768px) {
    .modal {
        padding: 0;
    }
    
    .modal-content {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        margin: 0;
        border-radius: 0;
        object-fit: contain;
    }
    
    .modal-nav {
        width: 44px;
        height: 44px;
        background: rgba(0, 0, 0, 0.7);
        border: none;
        border-radius: 50%;
        color: white;
        font-size: 18px;
    }
    
    .modal-nav.prev {
        left: 20px;
    }
    
    .modal-nav.next {
        right: 20px;
    }
    
    .close {
        top: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
        background: rgba(0, 0, 0, 0.7);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        color: white;
    }
    
    .modal-counter {
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(0, 0, 0, 0.7);
        color: white;
        padding: 8px 16px;
        border-radius: 16px;
        font-size: 14px;
    }
}

/* 横屏模式优化 */
@media (max-width: 768px) and (orientation: landscape) {
    .product-container {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .main-image-container {
        aspect-ratio: 4/3;
    }
    
    .image-gallery {
        justify-content: center;
    }
    
    .gallery-thumb {
        width: 35px;
        height: 35px;
    }
}

/* 移动端全屏模态框样式 */
.mobile-gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-gallery-modal .modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
}

.mobile-gallery-modal .modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-gallery-modal img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    user-select: none;
    -webkit-user-select: none;
}

.mobile-gallery-modal .modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.mobile-gallery-modal .modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.mobile-gallery-modal .modal-prev,
.mobile-gallery-modal .modal-next {
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    transition: background 0.2s ease;
}

.mobile-gallery-modal .modal-prev:hover,
.mobile-gallery-modal .modal-next:hover {
    background: rgba(0, 0, 0, 0.9);
}

.mobile-gallery-modal .modal-prev:disabled,
.mobile-gallery-modal .modal-next:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.mobile-gallery-modal .modal-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 500;
}

/* 移动端模态框动画 */
.mobile-gallery-modal {
    animation: modalFadeIn 0.3s ease-out;
}

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

.mobile-gallery-modal img {
    animation: modalImageZoomIn 0.3s ease-out;
}

@keyframes modalImageZoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
} 

/* ========== 源文件: mobile-responsive.css ========== */
/* 移动端响应式样式 */

/* 移动端导航菜单 */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: white;
    z-index: 999;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
}

.mobile-nav-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.mobile-nav-close:hover {
    background: #e9ecef;
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-menu li {
    border-bottom: 1px solid #eee;
}

.mobile-nav-menu a {
    display: block;
    padding: 1rem;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease, color 0.3s ease;
}

.mobile-nav-menu a:hover,
.mobile-nav-menu a.active {
    background: #007cba;
    color: white;
}

.mobile-nav-menu .nav-icon {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

/* 移动端搜索 */
.mobile-search {
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

.mobile-search input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
}

/* 移动端产品卡片优化 */
@media (max-width: 768px) {
    /* 显示移动端元素 */
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    .mobile-nav {
        display: block;
    }
    
    /* 隐藏桌面端导航 */
    .nav-menu {
        display: none !important;
    }
    
    .nav-search {
        display: none !important;
    }
    
    /* 优化容器 */
    .container {
        padding: 0 1rem;
    }
    
    /* 优化导航头部 */
    .main-nav {
        padding: 1rem 0;
    }
    
    .nav-brand .logo {
        font-size: 1.2rem;
    }
    
    /* 优化英雄区域 */
    .hero {
        padding: 2rem 0;
    }
    
    .hero-layout {
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem !important;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-features {
        display: none; /* 在小屏幕上隐藏特性列表 */
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }
    
    .btn-premium,
    .btn-outline {
        width: 100%;
        text-align: center;
        padding: 1rem;
    }
    
    /* 优化产品网格 */
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
        padding: 1.5rem 0;
    }
    
    .product-card {
        border-radius: 8px;
    }
    
    .product-image {
        height: 200px;
    }
    
    .product-info {
        padding: 1rem;
    }
    
    .product-title {
        font-size: 1rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }
    
    .product-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .product-actions .btn {
        width: 100%;
        text-align: center;
        padding: 0.75rem;
    }
    
    /* 优化分类网格 */
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .category-card {
        padding: 1.5rem 1rem;
        text-align: center;
    }
    
    .category-icon {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .category-card h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .category-card p {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    /* 优化特性网格 */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-item {
        text-align: center;
        padding: 1.5rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    /* 优化页脚 */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-section {
        margin-bottom: 1.5rem;
    }
    
    .footer-section h3 {
        margin-bottom: 1rem;
    }
    
    .footer-section ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .footer-section ul li {
        margin: 0;
    }
}

@media (max-width: 480px) {
    /* 超小屏幕优化 */
    .container {
        padding: 0 0.75rem;
    }
    
    .hero-title {
        font-size: 1.75rem !important;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .category-card {
        padding: 1rem;
    }
    
    .mobile-nav {
        width: 280px;
        right: -280px;
    }
    
    .footer-section ul {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* 移动端产品详情页优化 */
@media (max-width: 768px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-gallery {
        order: 1;
    }
    
    .product-details {
        order: 2;
    }
    
    .main-image {
        height: 300px;
    }
    
    .gallery-images {
        justify-content: center;
        gap: 0.5rem;
    }
    
    .gallery-thumb {
        width: 60px;
        height: 60px;
    }
    
    .product-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .buy-buttons {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .btn-amazon-primary {
        width: 100%;
        padding: 1rem;
        font-size: 1.1rem;
    }
    
    /* 推荐产品移动端优化 */
    .recommendation-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .bought-together-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .bought-together-item {
        width: 100%;
    }
    
    .bought-together-summary {
        position: sticky;
        bottom: 0;
        background: white;
        padding: 1rem;
        border-top: 1px solid #eee;
        margin-top: 1rem;
    }
    
    /* 产品图片gallery移动端优化 */
    .product-images {
        order: 1;
        margin-bottom: 1.5rem;
    }
    
    .product-info {
        order: 2;
    }
    
    /* 确保主图在移动端有合适的高度 */
    .main-image-container {
        min-height: 250px;
        max-height: 400px;
    }
    
    /* 缩略图滚动区域优化 */
    .image-gallery {
        padding-bottom: 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    /* 当图片很多时，确保滚动流畅 */
    .image-gallery.many-images {
        scroll-snap-type: x mandatory;
    }
    
    .image-gallery.many-images .gallery-thumb {
        scroll-snap-align: center;
    }
}

/* 触摸友好的按钮 */
@media (max-width: 768px) {
    .btn {
        min-height: 44px; /* iOS 推荐的最小触摸目标 */
        padding: 0.75rem 1.5rem;
    }
    
    .mobile-menu-toggle {
        min-width: 44px;
        min-height: 44px;
        padding: 0.5rem;
    }
    
    .mobile-menu-toggle span {
        width: 20px;
        height: 2px;
        margin: 3px 0;
    }
}

/* 移动端动画优化 */
@media (max-width: 768px) {
    /* 减少动画以提高性能 */
    .product-card:hover {
        transform: none;
    }
    
    .product-card:hover .product-image img {
        transform: none;
    }
    
    .feature-item:hover {
        transform: none;
    }
    
    /* 简化过渡效果 */
    * {
        transition-duration: 0.2s !important;
    }
}

/* 移动端加载优化 */
@media (max-width: 768px) {
    .lazy {
        opacity: 1; /* 移动端直接显示，减少布局抖动 */
    }
} 

/* ========== 源文件: compatibility-fixes.css ========== */
/**
 * CSS兼容性修复
 * 修复浏览器兼容性警告和问题
 */

/* 修复 -webkit-text-size-adjust 兼容性问题 */
body {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* 修复 text-align: -webkit-match-parent 兼容性问题 */
th {
    text-align: inherit;
}

/* 确保表格头部对齐 */
table th {
    text-align: left;
}

/* 修复按钮焦点样式 */
button:focus,
.btn:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* 改善可访问性 - 确保足够的颜色对比度 */
.text-muted {
    color: #6c757d !important;
}

/* 确保链接有足够的对比度 */
a {
    color: #0056b3;
}

a:hover {
    color: #004085;
}

/* 改善表单元素的可访问性 */
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* 确保禁用元素有明显的视觉反馈 */
button:disabled,
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* 改善加载状态的可访问性 */
.loading {
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 确保模态框的可访问性 */
.modal {
    z-index: 1050;
}

.modal-backdrop {
    z-index: 1040;
}

/* 改善侧边栏切换按钮的可访问性 */
.sidebar-toggle {
    background: transparent;
    border: 1px solid #dee2e6;
    padding: 0.375rem 0.75rem;
    border-radius: 0.25rem;
    transition: all 0.15s ease-in-out;
}

.sidebar-toggle:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
}

.sidebar-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* 确保表格的响应式设计 */
@media (max-width: 768px) {
    .table-responsive {
        border: 0;
    }
    
    .table-responsive table,
    .table-responsive thead,
    .table-responsive tbody,
    .table-responsive th,
    .table-responsive td,
    .table-responsive tr {
        display: block;
    }
    
    .table-responsive thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    
    .table-responsive tr {
        border: 1px solid #ccc;
        margin-bottom: 10px;
    }
    
    .table-responsive td {
        border: none;
        position: relative;
        padding-left: 50%;
    }
    
    .table-responsive td:before {
        content: attr(data-label) ": ";
        position: absolute;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        font-weight: bold;
    }
}

/* 改善打印样式 */
@media print {
    .sidebar,
    .admin-sidebar,
    .header-actions,
    .btn,
    button {
        display: none !important;
    }
    
    .admin-content {
        margin-left: 0 !important;
        width: 100% !important;
    }
    
    .card {
        border: 1px solid #000 !important;
        box-shadow: none !important;
    }
}


/* ========== header 内联样式 #1 ========== */
.site-header {
    background: #232f3e;
    color: white;
    padding: 8px 0;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand .logo {
    color: white;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
}

.nav-search {
    flex: 1;
    max-width: 600px;
    margin: 0 20px;
    position: relative;
}

.nav-search input {
    width: 100%;
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.nav-menu a:hover {
    background-color: rgba(255,255,255,0.1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-cart {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
}

.cart-badge {
    background: #ff9900;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
    position: absolute;
    top: -8px;
    right: -8px;
}

.nav-account {
    position: relative;
}

.account-greeting {
    color: white;
    font-size: 14px;
}

.account-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    min-width: 120px;
    display: none;
    z-index: 1000;
}

.nav-account:hover .account-menu {
    display: block;
}

.account-menu a {
    display: block;
    padding: 8px 12px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
}

.account-menu a:hover {
    background: #f5f5f5;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 18px;
}

@media (max-width: 768px) {
    .nav-menu, .nav-search {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }
}

/* ========== footer 内联样式 #1 ========== */
.site-footer {
    background: #232f3e;
    color: white;
    padding: 40px 0 20px;
    margin-top: 50px;
}

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

.footer-section h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    color: #ccc;
    font-size: 14px;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ========== footer 内联样式 #2 ========== */
.back-to-top {
    position: fixed;
    bottom: 22px;
    right: 92px;
    background: #ff9900;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 1000;
    transition: opacity 0.3s;
}

.back-to-top:hover {
    background: #e68900;
}

/* ============================================================
   主题统一修复层 (2026-08-04)
   修复: 导航一行放不下 13 项导致溢出 + Hero 关键类缺失
   与当前模板结构一一对应, 覆盖此前多套拼接 CSS 的冲突定义
   ============================================================ */

/* ---------- 导航: 两行式 (主行 + 分类条) ---------- */
.site-header {
    background: #232f3e !important;
    padding: 0 !important;
}

.main-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 16px !important;
    padding: 10px 0 !important;
}

.nav-brand { flex-shrink: 0 !important; }
.nav-brand .logo { font-size: 22px !important; }

.nav-search {
    flex: 1 1 auto !important;
    max-width: 560px !important;
    margin: 0 16px !important;
}

.nav-actions {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
}

.nav-cart { font-size: 13px !important; }
.cart-text { color: #fff !important; font-size: 13px !important; }

/* 分类条 (第二行) */
.nav-cat-bar {
    background: #131a22;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-cat-menu {
    display: flex !important;
    align-items: center;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 2px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    white-space: nowrap;
}

.nav-cat-menu::-webkit-scrollbar { display: none; }
.nav-cat-menu li { list-style: none; }

.nav-cat-menu a {
    display: inline-block;
    color: #ddd !important;
    font-size: 13px !important;
    text-decoration: none !important;
    padding: 9px 12px !important;
    border-radius: 3px !important;
    white-space: nowrap;
}

.nav-cat-menu a:hover,
.nav-cat-menu a.active {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.12) !important;
}

/* ---------- Hero: 左文右卡两列 ---------- */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #fff !important;
    min-height: 0 !important;
    padding: 56px 0 !important;
    display: flex !important;
    align-items: center !important;
}

.hero .container {
    display: block !important;
    text-align: left !important;
    width: 100%;
}

.hero-content {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 48px !important;
    flex: 1 !important;
    padding: 0 !important;
    text-align: left !important;
}

.hero-text {
    flex: 1.2 !important;
    min-width: 0 !important;
    text-align: left !important;
}

.hero-text h1 {
    font-size: 2.9rem !important;
    font-weight: 800 !important;
    color: #fff !important;
    line-height: 1.15 !important;
    margin: 0 0 16px !important;
    letter-spacing: -0.5px !important;
}

.hero-text p {
    font-size: 1.15rem !important;
    color: #fff !important;
    opacity: 0.92 !important;
    line-height: 1.5 !important;
    margin-bottom: 28px !important;
    max-width: 520px !important;
}

.hero-actions {
    display: flex !important;
    gap: 14px !important;
    flex-wrap: wrap !important;
    align-items: center !important;
}

.hero-product {
    flex: 0.8 !important;
    min-width: 0 !important;
    display: flex !important;
    justify-content: center !important;
}

/* 产品快速信息卡 (缺失类补全) */
.product-quick-info {
    text-align: center !important;
    padding: 0 6px !important;
}

/* Hero 占位卡 (无推荐商品时, 缺失类补全) */
.hero-placeholder-simple {
    background: rgba(255, 255, 255, 0.14);
    border: 2px dashed rgba(255, 255, 255, 0.45);
    border-radius: 16px;
    padding: 44px 36px;
    text-align: center;
    color: #fff;
    max-width: 300px;
    margin: 0 auto;
}

.hero-placeholder-simple .placeholder-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.hero-placeholder-simple .placeholder-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}

.hero-placeholder-simple .placeholder-subtitle {
    font-size: 14px;
    opacity: 0.85;
    color: #fff;
}

/* ---------- 响应式: 平板 ---------- */
@media (max-width: 1024px) {
    .hero-content { gap: 32px !important; }
    .hero-text h1 { font-size: 2.3rem !important; }
}

/* ---------- 响应式: 移动端 ---------- */
@media (max-width: 768px) {
    .main-nav { flex-wrap: wrap !important; }

    .nav-search {
        display: flex !important;
        order: 3 !important;
        flex-basis: 100% !important;
        max-width: none !important;
        margin: 6px 0 0 !important;
    }

    .nav-cat-bar { display: none !important; }
    .mobile-menu-toggle { display: block !important; }

    .hero { padding: 40px 0 !important; }

    .hero-content {
        flex-direction: column !important;
        gap: 28px !important;
        text-align: center !important;
    }

    .hero-text {
        flex: none !important;
        width: 100% !important;
        text-align: center !important;
    }

    .hero-text p {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .hero-actions { justify-content: center !important; }

    .hero-product {
        flex: none !important;
        width: 100% !important;
    }

    .product-showcase { max-width: 300px !important; }
}

/* ---------- 响应式: 小屏手机 ---------- */
@media (max-width: 480px) {
    .hero-text h1 { font-size: 1.7rem !important; }
    .hero-text p { font-size: 0.98rem !important; }

    .hero-actions {
        flex-direction: column !important;
        width: 100% !important;
    }

    .btn-premium, .btn-outline {
        width: 100% !important;
        justify-content: center !important;
    }
}

/* ============================================================
   分类页分页样式 (2026-08-05)
   ============================================================ */
.pagination-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin: 36px 0 12px;
    padding-top: 24px;
    border-top: 1px solid #e7e7e7;
}

.pagination-info {
    color: #565959;
    font-size: 13px;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid #d5d9d9;
    border-radius: 8px;
    color: #007185;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.15s ease;
}

.page-link:hover {
    background: #f0f2f2;
    border-color: #007185;
    color: #c7511f;
}

.page-link.current {
    background: #232f3e;
    border-color: #232f3e;
    color: #fff;
    font-weight: 600;
    cursor: default;
}

.page-link.disabled {
    color: #999;
    background: #f5f5f5;
    border-color: #e0e0e0;
    cursor: not-allowed;
    pointer-events: none;
}

.page-link.prev,
.page-link.next {
    font-weight: 600;
}

.page-dots {
    color: #565959;
    padding: 0 2px;
    user-select: none;
}

@media (max-width: 480px) {
    .pagination-bar {
        margin: 24px 0 8px;
    }

    .page-link {
        min-width: 32px;
        height: 32px;
        padding: 0 8px;
        font-size: 13px;
    }
}

/* ============================================================
   详情页推荐区 (2026-08-05)
   ============================================================ */
.recommendation-desc {
    color: #565959;
    font-size: 13px;
    margin: -8px 0 18px;
}

/* ============================================================
   变体选择器 (2026-08-05, 亚马逊变体逻辑)
   ============================================================ */
.variant-selector {
    margin: 14px 0 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e7e7e7;
}

.variant-label {
    font-size: 14px;
    margin-bottom: 10px;
    color: #0f1111;
}

.variant-label-text { color: #565959; }

.variant-current-name { color: #c7511f; }

.variant-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.variant-option {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border: 2px solid #d5d9d9;
    border-radius: 8px;
    text-decoration: none;
    color: #0f1111;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    min-width: 86px;
}

.variant-option img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 4px;
    background: #fff;
}

.variant-option .variant-name {
    font-size: 12px;
    color: #565959;
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.variant-option:hover {
    border-color: #007185;
}

.variant-option.current {
    border-color: #e77600;
    box-shadow: 0 0 0 1px #e77600;
}

.variant-option.current .variant-name {
    color: #c7511f;
    font-weight: 600;
}

/* ===== 亚马逊式详情页增强 ===== */
/* 真实星级 (CSS 宽度法) */
.product-rating .rating-stars { position: relative; display: inline-block; font-size: 15px; line-height: 1; white-space: nowrap; }
.product-rating .rating-stars .stars-bg { color: #ddd; }
.product-rating .rating-stars .stars-fill { position: absolute; top: 0; left: 0; overflow: hidden; white-space: nowrap; color: #e77600; }
/* 划线价与折扣 */
.price-list-row { margin-top: 4px; font-size: 12px; color: #565959; }
.price-list-row .price-list { color: #565959; }
.price-row .price-discount { color: #cc0c39; font-size: 14px; font-weight: 700; margin-left: 8px; }
/* FBT 经常一起购买 */
.fbt-section { background: #fff; border: 1px solid #e7e7e7; border-radius: 8px; padding: 20px 24px; margin: 24px 0; }
.fbt-section h2 { font-size: 20px; font-weight: 700; margin-bottom: 16px; }
.fbt-row { display: flex; align-items: stretch; justify-content: flex-start; gap: 12px; flex-wrap: wrap; }
.fbt-item { width: 150px; text-align: center; }
.fbt-item img { width: 120px; height: 120px; object-fit: contain; border: 1px solid #eee; border-radius: 6px; background: #fff; }
.fbt-item .fbt-title { display: block; font-size: 12px; color: #007185; text-decoration: none; line-height: 1.4; height: 34px; overflow: hidden; margin: 6px 0 4px; }
.fbt-item .fbt-title:hover { text-decoration: underline; color: #c7511f; }
.fbt-item .fbt-price { font-size: 14px; font-weight: 700; }
.fbt-item .fbt-ship { display: block; font-size: 11px; color: #565959; margin-top: 4px; }
.fbt-plus { display: flex; align-items: center; font-size: 24px; font-weight: 300; color: #565959; }
.fbt-total-row { border-top: 1px solid #eee; margin-top: 16px; padding-top: 16px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.fbt-total { font-size: 14px; }
.fbt-total strong { font-size: 16px; }
.fbt-add-all { width: auto !important; padding: 0 18px !important; min-height: 32px; }
.fbt-note { font-size: 12px; color: #565959; margin: 0; }
/* A+ 图文描述 */
.product-description .rich-text-content { font-size: 15px; line-height: 1.7; color: #333; }
.product-description .rich-text-content img { max-width: 100%; width: 100%; height: auto; border-radius: 8px; margin: 16px 0; }
.product-description .rich-text-content p { margin: 10px 0; }
.product-description .rich-text-content h3, .product-description .rich-text-content h4 { margin: 18px 0 8px; }
/* ===== 详情页亚马逊式紧凑布局（桌面 ≥1025px）=====
   覆盖旧版稀疏散排：两栏 42/58、无卡片包裹、间距收紧、价格深红 */
@media (min-width: 1025px) {
    .product-container {
        display: grid;
        grid-template-columns: minmax(360px, 42%) 1fr;
        gap: 24px;
        margin: 12px 0 20px;
        background: transparent;
        padding: 0;
        border: none;
        border-radius: 0;
    }
    .product-images { gap: 10px; }
    .main-image-container { border: 1px solid #e7e7e7; border-radius: 8px; }
    .image-gallery { gap: 8px; padding: 4px 0; }
    .gallery-thumb { width: 54px; height: 54px; }
    .product-info { gap: 6px; }
    .product-info h1 { font-size: 24px; font-weight: 400; line-height: 1.25; margin: 0 0 4px; }
    .brand { font-size: 13px; margin-bottom: 0; }
    .product-rating { gap: 6px; margin: 2px 0 6px; }
    .rating-text { font-size: 13px; color: #007185; }
    .rating-count { font-size: 13px; color: #565959; }
    .price-row { gap: 8px; margin: 0; }
    .price { font-size: 20px; font-weight: 600; color: #B12704; margin: 0; }
    .price-list-row { margin: 2px 0 8px; font-size: 12px; }
    .variant-selector { margin: 8px 0 4px; }
    .bullet-points { margin: 8px 0; }
    .bullet-points h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
    .bullet-points li { padding: 3px 0 3px 22px; font-size: 14px; line-height: 1.45; }
    .cta-section { margin-top: 10px; padding: 14px 16px; background: #fff; border: 1px solid #e7e7e7; border-radius: 8px; }
    .fbt-section { padding: 16px 20px; margin: 14px 0; }
    .fbt-item img { width: 100px; height: 100px; }
    .product-description { margin: 14px 0; }
    .recommendation-section { margin: 12px 0; padding: 14px 0; }
}

/* ===== 详情页三栏布局（亚马逊式：图库 | 信息 | Buy Box）===== */
@media (min-width: 1025px) {
    .product-container {
        grid-template-columns: minmax(360px, 42%) 1fr 300px;
        gap: 20px;
    }
    .product-buybox {
        position: sticky;
        top: 90px;
        align-self: start;
        background: #fff;
        border: 1px solid #e7e7e7;
        border-radius: 8px;
        padding: 16px;
    }
    .buybox-price-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 2px; }
    .buybox-price { font-size: 18px; font-weight: 600; color: #B12704; }
    .buybox-list-price { font-size: 12px; color: #565959; margin-bottom: 10px; }
    .buybox-trust { margin-top: 16px; font-size: 13px; color: #565959; }
    .buybox-trust-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
    .buybox-ship-note { margin: 12px 0 0; font-size: 12px; color: #565959; border-top: 1px solid #e7e7e7; padding-top: 10px; }
}
@media (max-width: 1024px) {
    .product-buybox { position: static; }
}

/* ===== Add to Amazon Cart 按钮 (Buy Box 主 CTA, 全局生效) ===== */
.btn-buy-now {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(180deg, #FFB53D 0%, #FF9A1F 55%, #F08804 100%);
    border: 1px solid #E07E00;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(240, 136, 4, .35), inset 0 1px 0 rgba(255, 255, 255, .5);
    color: #0F1111;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .2px;
    line-height: 1.2;
    min-height: 50px;
    padding: 0 18px;
    text-align: center;
    text-decoration: none;
    width: 100%;
    margin-bottom: 8px;
    transition: background .18s ease, box-shadow .18s ease, transform .12s ease;
}
.btn-buy-now:hover {
    background: linear-gradient(180deg, #FFC45E 0%, #FFA41C 55%, #FF8F00 100%);
    box-shadow: 0 5px 14px rgba(240, 136, 4, .45), inset 0 1px 0 rgba(255, 255, 255, .55);
    color: #0F1111;
    transform: translateY(-1px);
    text-decoration: none;
}
.btn-buy-now:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(240, 136, 4, .3);
}
.btn-buy-now .buy-icon { font-size: 19px; line-height: 1; }
.btn-buy-now .buy-arrow { margin-left: 4px; font-size: 13px; opacity: .8; transition: transform .15s ease; }
.btn-buy-now:hover .buy-arrow { transform: translateX(3px); }
.buybox-cta-hint {
    display: block;
    margin: -2px 0 10px;
    font-size: 11.5px;
    color: #565959;
    text-align: center;
}

/* ===== 紧凑产品卡片 (全站统一: 图+标题+价格, 无购买按钮) ===== */
.products-grid .product-card {
    display: block;
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 8px;
    padding: 10px;
    text-align: left;
    text-decoration: none;
    color: #0F1111;
    transition: box-shadow .18s ease, transform .12s ease;
}
.products-grid .product-card:hover {
    box-shadow: 0 4px 12px rgba(15, 17, 17, .12);
    transform: translateY(-1px);
    text-decoration: none;
}
.products-grid .product-card .product-image {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
}
.products-grid .product-card .product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.products-grid .product-card .product-title {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    margin: 8px 0 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #0F1111;
}
.products-grid .product-card .product-price { font-size: 14px; font-weight: 700; color: #B12704; margin-top: 4px; }

/* ===== 详情页推荐区左右滚动 (箭头浮动在卡片带两端) ===== */
.rec-header { display: flex; align-items: center; margin-bottom: 10px; }
/* 按钮放在卡片带两侧的空白区内, 不遮挡卡片 */
.rec-wrap { position: relative; padding: 0 48px; }
.rec-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 38px;
    height: 38px;
    border: 1px solid #d5d9d9;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .15);
    color: #0F1111;
    cursor: pointer;
    font-size: 13px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s ease, box-shadow .15s ease;
}
.rec-arrow:hover { background: #f7f8f8; box-shadow: 0 2px 8px rgba(0, 0, 0, .22); }
.rec-arrow.prev { left: 2px; }
.rec-arrow.next { right: 2px; }
@media (max-width: 768px) {
    .rec-wrap { padding: 0; }
    .rec-arrow { display: none; }
}
.rec-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.rec-scroll::-webkit-scrollbar { display: none; }
.rec-card {
    flex: 0 0 auto;
    width: 150px;
    scroll-snap-align: start;
    text-decoration: none;
    color: #0F1111;
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 8px;
    padding: 8px;
    transition: box-shadow .18s ease, transform .12s ease;
}
.rec-card:hover { box-shadow: 0 4px 12px rgba(15, 17, 17, .12); transform: translateY(-1px); text-decoration: none; }
.rec-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; display: block; }
.rec-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 12.5px;
    line-height: 1.35;
    margin: 6px 0 4px;
    color: #0F1111;
}
.rec-price { font-size: 14px; font-weight: 700; color: #B12704; }

/* ===== 站内加购成功反馈 ===== */
.btn-buy-now.added {
    background: linear-gradient(180deg, #2EBD85 0%, #1FA06B 100%);
    border-color: #1A8A5C;
    box-shadow: 0 2px 6px rgba(31, 160, 107, .4), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn-buy-now.added:hover { background: linear-gradient(180deg, #3BD095 0%, #25B57C 100%); }

/* ===== 首页 hero View Details 链接按钮 ===== */
.quick-view-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 9px 18px;
    border-radius: 8px;
    background: #0F1111;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s ease;
}
.quick-view-btn:hover { background: #232F3E; color: #fff; text-decoration: none; }

/* ============================================================
   同衡一准 计量服务平台样式层 (2026-08-07)
   顶部工具条 + 中文导航下拉 + 在线报价按钮
   ============================================================ */

/* ---------- 顶部工具条 ---------- */
.top-bar {
    background: #0a2a4a;
    color: #ddd;
    font-size: 13px;
}
.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 34px;
    padding: 4px 0;
}
.top-bar-left span,
.top-bar-right a {
    color: #ddd;
    text-decoration: none;
}
.top-bar-right a:hover { color: #ff9900; }
.top-bar-sep { margin: 0 10px; color: #556; }

/* ---------- 品牌区 ---------- */
.nav-brand .logo { color: #fff !important; }
.nav-brand .logo-sub {
    display: block;
    color: #ff9900;
    font-size: 11px;
    letter-spacing: 1px;
    margin-top: 2px;
}

/* ---------- 热线 & 在线报价 ---------- */
.nav-hotline {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 700;
    text-decoration: none !important;
}
.nav-hotline i { color: #ff9900; }
.btn-quote {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ff9900 !important;
    color: #232f3e !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    padding: 8px 16px !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    transition: background .2s;
    white-space: nowrap;
}
.btn-quote:hover { background: #e68a00 !important; color: #232f3e !important; }

/* ---------- 下拉菜单 ---------- */
.nav-cat-menu li { position: relative; }
.nav-cat-menu li.has-dropdown > a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.nav-cat-menu .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
    padding: 8px 0;
    margin: 0;
    list-style: none;
    z-index: 999;
    white-space: normal;
}
.nav-cat-menu li.has-dropdown:hover > .dropdown,
.nav-cat-menu li.has-dropdown:focus-within > .dropdown {
    display: block;
}
.nav-cat-menu .dropdown li { display: block; }
.nav-cat-menu .dropdown a {
    display: block !important;
    color: #333 !important;
    font-size: 14px !important;
    padding: 8px 16px !important;
    border-radius: 0 !important;
}
.nav-cat-menu .dropdown a:hover {
    color: #ff9900 !important;
    background: #f7f8fa !important;
}
.dropdown-wide {
    min-width: 240px;
    columns: 2;
    column-gap: 0;
}
.dropdown-wide li { break-inside: avoid; }

/* 移动端适配 */
@media (max-width: 768px) {
    .top-bar-right { display: none; }
    .hotline-text { display: none; }
    .btn-quote { padding: 6px 10px !important; font-size: 12px !important; }
}


/* ============================================================
   2026-08-07 新增: 网站地图(页脚) + 导航下拉图标 + 分类卡片图标
   ============================================================ */
.footer-sitemap {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 28px;
    margin-bottom: 28px;
}
.footer-sitemap .fs-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffc46b;
    margin-bottom: 16px;
    letter-spacing: 1px;
}
.footer-sitemap .fs-title i { margin-right: 8px; }
.footer-sitemap .fs-cols {
    display: grid;
    grid-template-columns: 1.2fr 2fr 1.4fr 1.4fr;
    gap: 28px;
}
.footer-sitemap .fs-col h4 {
    font-size: 14px;
    color: #fff;
    margin-bottom: 10px;
    font-weight: 600;
}
.footer-sitemap .fs-col ul { list-style: none; margin: 0; padding: 0; }
.footer-sitemap .fs-cats ul { column-count: 2; column-gap: 18px; }
.footer-sitemap .fs-col li { margin-bottom: 6px; break-inside: avoid; }
.footer-sitemap .fs-col a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
    display: inline-block;
    padding: 2px 0;
}
.footer-sitemap .fs-col a:hover { color: #ffc46b; }
.footer-sitemap .fs-col a i {
    width: 18px;
    text-align: center;
    margin-right: 6px;
    color: #7fa8d9;
    font-size: 12px;
}
@media (max-width: 900px) {
    .footer-sitemap .fs-cols { grid-template-columns: 1fr 1fr; }
    .footer-sitemap .fs-cats ul { column-count: 1; }
}
@media (max-width: 480px) {
    .footer-sitemap .fs-cols { grid-template-columns: 1fr; }
}

/* 导航下拉图标 */
.nav-cat-menu .dropdown li a i {
    width: 18px;
    text-align: center;
    margin-right: 8px;
    color: #ff9900;
    font-size: 13px;
}

/* 分类卡片图标统一主题色 */
.cat-card .cat-icon {
    color: #1d4e89;
}
.cat-card:hover .cat-icon {
    color: #ff9900;
}
