﻿/* ========================================
   娴锋槉鍑哄彛缃?- 涓绘牱寮忚〃
   ChuKou Trading - Main Stylesheet
   ======================================== */

/* Variables */
:root {
    --primary: #e94560;
    --primary-dark: #d63850;
    --secondary: #1a1a2e;
    --accent: #16213e;
    --success: #4caf50;
    --warning: #ff9800;
    --error: #f44336;
    --info: #2196f3;
    --text-dark: #1a1a2e;
    --text-light: #666;
    --text-muted: #999;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border: #e0e0e0;
    --shadow: 0 2px 10px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
}

/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-light);
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* Container */
.container { max-width: 1400px; margin: 0 auto; padding: 0 15px; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-secondary { background: var(--secondary); color: #fff; }
.btn-outline { border: 1px solid var(--border); background: transparent; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-outline.active { background: #dc2626; border-color: #dc2626; color: #fff; }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: var(--bg-light); }
.btn-lg { padding: 14px 36px; font-size: 16px; }
.btn-block { width: 100%; display: block; }

/* ========================================
   TOP BAR
   ======================================== */
.top-bar {
    background: var(--secondary);
    color: #fff;
    font-size: 12px;
    padding: 8px 0;
}
.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-links, .auth-links, .user-menu {
    display: flex;
    gap: 16px;
    align-items: center;
}
.top-links a, .auth-links a, .user-menu a {
    color: rgba(255,255,255,0.8);
}
.top-links a:hover, .auth-links a:hover, .user-menu a:hover { color: #fff; }

/* Language Switcher 鈥?now lives inside .region-controls */

/* ========================================
   TOP BAR 鈥?Region Controls (currency + language unified)
   ======================================== */
.top-actions {
    display: flex;
    align-items: center;
    gap: 0;
}

.region-controls {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 3px 6px;
    border: 1px solid rgba(255,255,255,0.12);
    transition: background 0.2s, border-color 0.2s;
}
.region-controls:hover {
    background: rgba(255,255,255,0.13);
    border-color: rgba(255,255,255,0.2);
}

/* Currency Switcher inside region-controls */
.currency-switcher {
    position: relative;
}
.currency-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    border-radius: 20px;
    background: transparent;
    color: rgba(255,255,255,0.85);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
    border: none;
    white-space: nowrap;
}
.currency-btn:hover { background: rgba(255,255,255,0.1); color: #fff; }
.currency-btn i.fa-coins { font-size: 11px; color: rgba(255,255,255,0.6); }
.currency-btn i.fa-chevron-down { font-size: 9px; color: rgba(255,255,255,0.5); transition: transform 0.25s; }
.currency-switcher.open .currency-btn i.fa-chevron-down { transform: rotate(180deg); }

.currency-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    min-width: 170px;
    overflow: hidden;
    z-index: 9999;
    display: none;
    animation: dropdownFadeIn 0.18s ease;
    border: 1px solid rgba(0,0,0,0.06);
}
.currency-switcher.open .currency-dropdown { display: block; }

@keyframes dropdownFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.currency-dropdown-header {
    padding: 10px 14px 6px;
    font-size: 11px;
    color: #bbb;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 4px;
}
.currency-dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 14px;
    font-size: 13px;
    color: #444;
    cursor: pointer;
    transition: background 0.12s, color 0.12s;
    border-radius: 0;
}
.currency-dropdown-item:hover { background: #f5f6f8; color: #222; }
.currency-dropdown-item.active { background: #fff5f7; color: var(--primary); font-weight: 600; }
.currency-dropdown-item .curr-code { font-weight: 600; font-size: 12px; }
.currency-dropdown-item .curr-symbol { color: #aaa; font-size: 12px; margin-left: auto; padding-left: 12px; }
.currency-dropdown-item.active .curr-symbol { color: var(--primary); opacity: 0.7; }

/* Divider between currency and language */
.region-divider {
    width: 1px;
    height: 18px;
    background: rgba(255,255,255,0.15);
    margin: 0 4px;
    flex-shrink: 0;
}

/* Language Switcher inside region-controls */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 20px;
}
.lang-switcher a {
    color: rgba(255,255,255,0.65);
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
    padding: 2px 4px;
}
.lang-switcher a:hover { color: #fff; background: rgba(255,255,255,0.1); border-radius: 6px; }
.lang-switcher a.active { color: #fff; font-weight: 600; }
.lang-switcher .lang-slash { color: rgba(255,255,255,0.3); font-size: 12px; user-select: none; }

/* ========================================
   HEADER
   ======================================== */
.header {
    background: #fff;
    padding: 16px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.logo-icon { font-size: 32px; }
.logo-main {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary);
    display: block;
}
.logo-sub {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.header-search { flex: 1; max-width: 600px; }
.search-form {
    display: flex;
    border: 2px solid var(--primary);
    border-radius: 25px;
    overflow: hidden;
}
.search-form input {
    flex: 1;
    padding: 10px 20px;
    border: none;
    outline: none;
    font-size: 14px;
}
.search-form button {
    padding: 10px 24px;
    background: var(--primary);
    color: #fff;
    transition: var(--transition);
}
.search-form button:hover { background: var(--primary-dark); }

.header-cart { position: relative; }
.cart-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 25px;
    background: var(--bg-light);
    transition: var(--transition);
    white-space: nowrap;
}
.cart-link:hover { background: #eee; }
.cart-link i { font-size: 20px; color: var(--secondary); }
.cart-count {
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    right: 8px;
}
.cart-count.hidden { display: none; }

/* ========================================
   NAVIGATION
   ======================================== */
.main-nav {
    background: #fff;
    border-bottom: 1px solid var(--border);
}
.nav-content {
    display: flex;
    align-items: center;
}

.nav-categories {
    position: relative;
    width: 260px;
}
.categories-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: var(--secondary);
    color: #fff;
    cursor: pointer;
    border-radius: var(--radius) var(--radius) 0 0;
    font-weight: 500;
    white-space: nowrap;
}
.categories-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 var(--radius) var(--radius);
    display: none;
    z-index: 100;
    box-shadow: var(--shadow-lg);
}
.nav-categories:hover .categories-dropdown { display: block; }
.category-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    transition: var(--transition);
    white-space: nowrap;
}
.category-item:hover { background: var(--bg-light); color: var(--primary); }
.cat-icon { font-size: 18px; }

.nav-links {
    display: flex;
    margin-left: 20px;
    flex-wrap: nowrap;
    white-space: nowrap;
}
.nav-links li a {
    display: inline-block;
    padding: 16px 20px;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    white-space: nowrap;
}
.nav-links li a:hover, .nav-links li a.active { color: var(--primary); }
.nav-links li a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px 3px 0 0;
}

/* ========================================
   HERO SLIDER
   ======================================== */
.hero-section {
    position: relative;
    height: 500px;
    overflow: hidden;
}
.hero-slider { height: 100%; }
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,26,46,0.85) 0%, rgba(102,126,234,0.7) 100%);
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 100px auto;
    text-align: center;
    color: #fff;
}
.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}
.hero-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
}
.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10;
}
.slider-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}
.slider-btn:hover { background: rgba(255,255,255,0.3); }
.slider-dots { display: flex; gap: 8px; }
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--transition);
}
.dot.active {
    width: 30px;
    border-radius: 5px;
    background: #fff;
}

/* ========================================
   FEATURES
   ======================================== */
.features-section {
    background: #fff;
    padding: 30px 0;
    border-bottom: 1px solid var(--border);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
}
.feature-item i {
    font-size: 32px;
    color: var(--primary);
}
.feature-item h4 { font-size: 14px; font-weight: 600; }
.feature-item p { font-size: 12px; color: var(--text-muted); }

/* ========================================
   SECTIONS
   ======================================== */
.products-section, .categories-section {
    padding: 60px 0;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.section-header h2 {
    font-size: 28px;
    font-weight: 600;
    position: relative;
}
.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
}
.link-more {
    color: var(--primary);
    font-weight: 500;
}
.link-more:hover { text-decoration: underline; }

/* ========================================
   CATEGORIES GRID
   ======================================== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}
.category-card {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: var(--radius);
    transition: var(--transition);
    border: 1px solid var(--border);
}
.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.category-icon { font-size: 48px; margin-bottom: 12px; }
.category-card h3 { font-size: 14px; font-weight: 500; }

/* ========================================
   PRODUCTS GRID
   ======================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.product-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border);
}
.product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--bg-light);
    z-index: 1;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-image img { transform: scale(1.05); }

.badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
    z-index: 1;
}
.badge.new { background: var(--info); }
.badge.sale { background: var(--primary); }
.badge.hot { background: var(--error); }
.badge.rank-1 { background: #f59e0b; }
.badge.rank-2 { background: #94a3b8; }
.badge.rank-3 { background: #d97706; }

.product-sales {
    font-size: 12px;
    color: #888;
    margin-top: 4px;
}
.product-sales i {
    color: var(--error);
    margin-right: 2px;
}
.bestsellers-section .product-card {
    position: relative;
}
.bestsellers-section .product-card .rank-badge {
    position: absolute;
    top: -6px;
    left: -6px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0,0,0,.25);
}
.rank-badge.rank-1 { background: #f59e0b; }
.rank-badge.rank-2 { background: #94a3b8; }
.rank-badge.rank-3 { background: #d97706; }
.rank-badge.rank-n { background: #64748b; }

.product-actions {
    position: absolute;
    bottom: -100%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    background: rgba(255,255,255,0.95);
    transition: var(--transition);
    z-index: 2;
}
.product-card:hover .product-actions { bottom: 0; }
.product-actions button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--secondary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.product-actions button:hover { background: var(--primary); }
.product-actions button.active { background: #dc2626; color: #fff; }

.product-info { padding: 16px; }
.product-category {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.product-info h3 {
    font-size: 14px;
    font-weight: 500;
    margin: 6px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-info h3 a:hover { color: var(--primary); }
.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0;
}
.current-price {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
}
.original-price {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: line-through;
}
.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--text-muted);
}
.product-rating i { color: #ffc107; }

/* ========================================
   PROMO BANNER
   ======================================== */
.promo-banner {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    padding: 60px 0;
    margin: 40px 0;
}
.promo-content {
    text-align: center;
    color: #fff;
}
.promo-text h2 { font-size: 36px; margin-bottom: 12px; }
.promo-text p { font-size: 18px; opacity: 0.8; margin-bottom: 24px; }

/* ========================================
   NEWSLETTER
   ======================================== */
.newsletter-section {
    background: var(--primary);
    padding: 60px 0;
    color: #fff;
    text-align: center;
}
.newsletter-content h2 { font-size: 28px; margin-bottom: 8px; }
.newsletter-content p { opacity: 0.9; margin-bottom: 24px; }
.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 30px;
    overflow: hidden;
}
.newsletter-form input {
    flex: 1;
    padding: 14px 24px;
    border: none;
    outline: none;
    font-size: 14px;
}
.newsletter-form .btn {
    background: var(--secondary);
    color: #fff;
    padding: 14px 30px;
}
.newsletter-form .btn:hover { background: var(--accent); }

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--secondary);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.footer-logo .logo-icon { font-size: 28px; }
.footer-logo .logo-text { font-size: 18px; font-weight: 600; color: #fff; }
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}
.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); }
.footer-col h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.7); transition: var(--transition); }
.footer-col ul li a:hover { color: #fff; padding-left: 5px; }
.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-size: 13px;
    overflow: hidden;
}
.payment-methods { display: flex; gap: 10px; font-size: 20px; align-items: center; flex-shrink: 0; }
.payment-methods i { opacity: 0.6; }
.payment-methods img { width: 28px; height: auto; border-radius: 3px; opacity: 0.6; }

/* ========================================
   TOAST
   ======================================== */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--secondary);
    color: #fff;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 14px;
    z-index: 9999;
    opacity: 0;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-lg);
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast.success { background: var(--success); }
.toast.error { background: var(--error); }

/* ========================================
   PAGINATION
   ======================================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 40px 0;
}
.pagination a {
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-dark);
    transition: var(--transition);
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination a.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ========================================
   FORMS
   ======================================== */
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}
.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    transition: var(--transition);
}
.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(233,69,96,0.1);
}
.form-control.error { border-color: var(--error); }
.error-text { color: var(--error); font-size: 12px; margin-top: 4px; }

.form-row { display: flex; gap: 20px; }
.form-row .form-group { flex: 1; }

/* ========================================
   PAGE HEADERS
   ======================================== */
.page-header {
    background: var(--secondary);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}
.page-header h1 { font-size: 36px; margin-bottom: 10px; }
.page-header p { opacity: 0.8; }
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 13px;
    margin-top: 16px;
    list-style: none;
    padding: 0;
    margin-left: 0;
}
.breadcrumb li {
    display: flex;
    align-items: center;
    gap: 6px;
}
.breadcrumb a {
    opacity: 0.75;
    transition: opacity 0.2s;
    text-decoration: none;
}
.breadcrumb a:hover {
    opacity: 1;
    text-decoration: underline;
}
.breadcrumb .separator {
    opacity: 0.35;
    font-size: 11px;
    margin: 0 2px;
    user-select: none;
}
.breadcrumb .current {
    opacity: 0.9;
    font-weight: 500;
}

/* ========================================
   AUTH PAGES
   ======================================== */
.auth-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
}
.auth-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 420px;
    padding: 40px;
}
.auth-card h2 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 8px;
}
.auth-card .subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 30px;
}
.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-muted);
}
.auth-footer a { color: var(--primary); font-weight: 500; }
.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    color: var(--text-muted);
    font-size: 13px;
}
.auth-divider::before, .auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* ========================================
   CART
   ======================================== */
.cart-page {
    padding: 60px 0;
}
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
}
.cart-table {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.cart-table table {
    width: 100%;
    border-collapse: collapse;
}
.cart-table th {
    background: var(--bg-light);
    padding: 16px;
    text-align: left;
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.cart-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}
.cart-product {
    display: flex;
    align-items: center;
    gap: 16px;
}
.cart-product img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius);
}
.cart-product h4 { font-size: 14px; font-weight: 500; }
.cart-product p { font-size: 12px; color: var(--text-muted); }
.cart-qty {
    display: flex;
    align-items: center;
    gap: 8px;
}
.cart-qty button {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.cart-qty button:hover { border-color: var(--primary); color: var(--primary); }
.cart-qty input {
    width: 50px;
    text-align: center;
    padding: 6px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.cart-price {
    font-weight: 600;
    color: var(--primary);
}
.cart-remove {
    color: var(--text-muted);
    font-size: 18px;
    transition: var(--transition);
}
.cart-remove:hover { color: var(--error); }

.cart-summary {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 30px;
    height: fit-content;
    position: sticky;
    top: 100px;
}
.cart-summary h3 { margin-bottom: 20px; }
.cart-summary .summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}
.cart-summary .total {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
    border: none;
    padding-top: 20px;
}

/* ========================================
   CHECKOUT
   ======================================== */
.checkout-section { padding: 60px 0; }
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 40px;
}
.checkout-form {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 30px;
}
.checkout-form h3 { margin-bottom: 24px; }
.checkout-summary {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 30px;
    height: fit-content;
    position: sticky;
    top: 100px;
}
.checkout-summary h3 { margin-bottom: 20px; }
.checkout-items { margin-bottom: 20px; }
.checkout-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}
.checkout-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius);
}
.checkout-item-info h4 { font-size: 13px; font-weight: 500; }
.checkout-item-info p { font-size: 12px; color: var(--text-muted); }

/* Payment Methods */
.payment-methods-list { display: flex; flex-direction: column; gap: 12px; }
.payment-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}
.payment-option:hover { border-color: var(--primary); }
.payment-option.selected { border-color: var(--primary); background: rgba(233,69,96,0.05); }
.payment-option input { display: none; }
.payment-option .radio {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.payment-option.selected .radio {
    border-color: var(--primary);
}
.payment-option.selected .radio::after {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
}
.payment-option i { font-size: 24px; color: var(--text-muted); }

/* ========================================
   PRODUCT DETAIL
   ======================================== */
.product-detail-section { padding: 60px 0; }
.product-detail {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 40px;
    min-width: 0;
}
.product-gallery { 
    position: relative; 
    width: fit-content;
}
.product-main-image {
    max-width: 500px;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease;
}
.product-main-image:hover {
    transform: translateY(-2px);
}
.product-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}
.product-thumbnails img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}
.product-thumbnails img:hover, .product-thumbnails img.active { border-color: var(--primary); }

.product-detail-info { min-width: 0; }
.product-detail-info h1 { font-size: 28px; margin-bottom: 12px; overflow-wrap: break-word; word-wrap: break-word; word-break: break-word; }
.product-detail-info .product-meta {
    display: flex;
    gap: 20px;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
}
.product-detail-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}
.product-detail-price .original {
    font-size: 20px;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: 12px;
}
.product-detail-info .description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}
.product-options { margin-bottom: 30px; }
.product-options .option-label {
    font-weight: 500;
    margin-bottom: 10px;
}
.product-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
    align-items: center;
}
.product-detail-actions .qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    flex-shrink: 0;
}
.product-detail-actions .qty-selector button {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 12px;
}
.product-detail-actions .qty-selector button:hover { background: var(--bg-light); }
.product-detail-actions .qty-selector input {
    width: 50px;
    text-align: center;
    border: none;
    font-size: 14px;
    font-weight: 600;
}
.product-detail-actions .btn { 
    padding: 8px 12px; 
    white-space: nowrap;
    min-width: auto;
    font-size: 13px;
    flex-shrink: 0;
}
.product-detail-actions .btn-primary,
.product-detail-actions .btn-secondary {
    flex: 0 0 auto;
    min-width: auto;
}
.product-detail-actions .btn i {
    margin-right: 4px !important;
    font-size: 12px;
}

.product-tabs { margin-top: 60px; }
.tabs-nav {
    display: flex;
    border-bottom: 2px solid var(--border);
    margin-bottom: 30px;
}
.tabs-nav button {
    padding: 14px 24px;
    font-weight: 500;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: var(--transition);
}
.tabs-nav button.active { color: var(--primary); border-color: var(--primary); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ========================================
   ACCOUNT
   ======================================== */
.account-section { padding: 60px 0; }
.account-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
}
.account-sidebar {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 30px 20px;
    height: fit-content;
}
.account-sidebar .user-info {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
}
.account-sidebar .avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}
.account-sidebar .nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: var(--radius);
    color: var(--text-light);
    transition: var(--transition);
}
.account-sidebar .nav-link:hover, .account-sidebar .nav-link.active {
    background: var(--bg-light);
    color: var(--primary);
}

.orders-table {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.orders-table table { width: 100%; border-collapse: collapse; }
.orders-table th {
    background: var(--bg-light);
    padding: 14px 16px;
    text-align: left;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
}
.orders-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); }
.order-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}
.order-status.pending { background: #fff3e0; color: #e65100; }
.order-status.processing { background: #e3f2fd; color: #1565c0; }
.order-status.shipped { background: #e8f5e9; color: #2e7d32; }
.order-status.delivered { background: #e8f5e9; color: #1b5e20; }
.order-status.cancelled { background: #ffebee; color: #c62828; }

/* ========================================
   PRODUCTS LISTING
   ======================================== */
.products-listing { padding: 60px 0; }
.products-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}
.filter-sidebar {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: 100px;
}
.filter-section { margin-bottom: 30px; }
.filter-section h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}
.filter-options { display: flex; flex-direction: column; gap: 8px; }
.filter-options label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
}
.filter-options input[type="checkbox"] { accent-color: var(--primary); }

.price-range {
    display: flex;
    gap: 10px;
    align-items: center;
}
.price-range input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
}

.products-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding: 6px 16px;
    background: #fff;
    border-radius: var(--radius);
}
.products-toolbar .results { color: var(--text-muted); }
.products-toolbar select {
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-section { padding: 60px 0; }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}
.contact-info-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 40px;
}
.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 30px;
}
.contact-info-item i {
    width: 48px;
    height: 48px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    flex-shrink: 0;
}
.contact-info-item h4 { font-size: 16px; margin-bottom: 4px; }
.contact-info-item p { color: var(--text-muted); font-size: 14px; }

/* ========================================
   UTILITIES
   ======================================== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.hidden { display: none; }

/* Alert */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 14px;
}
.alert-success { background: #e8f5e9; color: #2e7d32; }
.alert-error { background: #ffebee; color: #c62828; }
.alert-warning { background: #fff3e0; color: #e65100; }
.alert-info { background: #e3f2fd; color: #1565c0; }

/* Loading */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Quick View Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.modal-overlay.show { display: flex; }
.modal-content {
    background: #fff;
    border-radius: var(--radius-lg);
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}
.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 1;
}
.modal-close:hover { background: var(--error); color: #fff; }

/* ========================================
   璇勪环鏍峰紡 (Product Reviews)
   ======================================== */

/* 璇勪环鏍囩椤?*/
.tab-content { display: none; padding: 30px 0; }
.tab-content.active { display: block; }

/* 璇勪环缁熻鍖?*/
.reviews-summary {
    display: flex;
    gap: 40px;
    padding: 20px 0 30px;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
}
.reviews-avg { text-align: center; min-width: 140px; }
.avg-score { font-size: 56px; font-weight: 700; color: #1a1a2e; line-height: 1; margin-bottom: 8px; }
.avg-stars { color: #f5a623; font-size: 16px; margin-bottom: 6px; }
.out-of { font-size: 13px; color: #999; margin-left: 6px; }
.reviews-bars { flex: 1; padding-top: 10px; }
.bar-row { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.bar-label { font-size: 13px; color: #666; min-width: 50px; }
.bar-track { flex: 1; height: 8px; background: #eee; border-radius: 4px; overflow: hidden; }
.bar-fill { height: 100%; background: #f5a623; border-radius: 4px; transition: width 0.3s; }
.bar-count { font-size: 13px; color: #999; min-width: 30px; text-align: right; }

/* 璇勪环鍒楄〃 */
#reviewsList { padding-bottom: 20px; }
.review-item {
    padding: 24px 0;
    border-bottom: 1px solid #f0f0f0;
}
.review-item:last-child { border-bottom: none; }
.review-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.reviewer-name { font-weight: 600; color: #1a1a2e; }
.review-date { font-size: 13px; color: #999; }
.review-verified {
    font-size: 11px;
    color: #28a745;
    background: #e8f5e9;
    padding: 2px 8px;
    border-radius: 10px;
}
.review-stars { margin-bottom: 8px; }
.review-stars i { font-size: 14px; }
.review-title { font-size: 15px; font-weight: 600; color: #333; margin-bottom: 6px; }
.review-body { font-size: 14px; color: #555; line-height: 1.7; margin-bottom: 10px; }

/* 璇勪环鍥剧墖/瑙嗛 */
.review-media { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.review-img {
    width: 80px; height: 80px; object-fit: cover; border-radius: 8px;
    cursor: pointer; border: 1px solid #eee; transition: transform 0.2s;
}
.review-img:hover { transform: scale(1.05); }
.review-video { max-width: 300px; border-radius: 8px; border: 1px solid #eee; }

/* 绠＄悊鍛樺洖澶?*/
.review-admin-reply {
    margin-top: 12px;
    padding: 12px 16px;
    background: #f8f9fa;
    border-left: 3px solid var(--primary);
    border-radius: 0 8px 8px 0;
    font-size: 13px;
}
.review-admin-reply strong { color: var(--primary); display: block; margin-bottom: 4px; }
.review-admin-reply p { color: #555; margin: 0; line-height: 1.6; }

/* 鍔犺浇鏇村鎸夐挳 */
.load-more-reviews {
    display: block;
    width: 100%;
    padding: 12px;
    background: var(--bg-light);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
}
.load-more-reviews:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* 璇勪环鏄熺骇璇勫垎锛堣〃鍗曠敤锛?*/
.star-rating-input { display: flex; gap: 4px; flex-direction: row-reverse; justify-content: flex-end; }
.star-rating-input i {
    font-size: 28px; color: #ddd; cursor: pointer;
    transition: color 0.2s, transform 0.1s;
}
.star-rating-input i:hover,
.star-rating-input i.hovered,
.star-rating-input i.selected { color: #f5a623; transform: scale(1.15); }

/* 璇勪环鎻愪氦琛ㄥ崟 */
.review-submit-form {
    margin-top: 30px;
    padding: 24px;
    background: var(--bg-light);
    border-radius: 12px;
}
.review-submit-form h4 { margin: 0 0 16px; font-size: 16px; color: #1a1a2e; }
.review-form-row { margin-bottom: 14px; }
.review-form-row label { display: block; font-weight: 500; margin-bottom: 6px; font-size: 14px; }
.review-form-row input[type="text"],
.review-form-row textarea {
    width: 100%; padding: 10px 14px; border: 1px solid #ddd; border-radius: 8px;
    font-size: 14px; font-family: inherit; transition: border-color 0.2s;
}
.review-form-row textarea { resize: vertical; min-height: 100px; }
.review-form-row input:focus,
.review-form-row textarea:focus { border-color: var(--primary); outline: none; }

/* 鍥剧墖涓婁紶鍖?*/
.review-upload-area {
    border: 2px dashed #ddd; border-radius: 8px; padding: 20px; text-align: center;
    cursor: pointer; color: #999; transition: all 0.2s;
}
.review-upload-area:hover { border-color: var(--primary); color: var(--primary); }
.review-upload-area i { font-size: 24px; display: block; margin-bottom: 6px; }
.review-preview-images { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.preview-item { position: relative; display: inline-block; }
.preview-item img { width: 70px; height: 70px; object-fit: cover; border-radius: 6px; border: 1px solid #eee; }
.preview-item .remove-img {
    position: absolute; top: -6px; right: -6px; width: 18px; height: 18px;
    background: #e94560; color: #fff; border-radius: 50%; font-size: 12px;
    display: flex; align-items: center; justify-content: center; cursor: pointer;
}

/* 璇勪环鍥剧墖棰勮寮圭獥 */
.review-img-modal {
    position: fixed; inset: 0; background: rgba(0,0,0,0.85);
    display: none; align-items: center; justify-content: center;
    z-index: 9999; padding: 20px;
}
.review-img-modal img { max-width: 90%; max-height: 90vh; border-radius: 8px; }
.review-img-modal .close-btn {
    position: absolute; top: 20px; right: 20px; width: 40px; height: 40px;
    background: rgba(255,255,255,0.2); color: #fff; border: none; border-radius: 50%;
    font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.review-img-modal .close-btn:hover { background: rgba(255,255,255,0.3); }

/* 璁㈠崟椤佃瘎浠峰脊绐?*/
.review-modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.5);
    display: none; align-items: center; justify-content: center;
    z-index: 9999; padding: 20px;
}
.review-modal-overlay.active { display: flex; }
.review-modal {
    background: #fff; border-radius: 16px; width: 100%; max-width: 600px;
    max-height: 90vh; overflow-y: auto; padding: 30px; position: relative;
}
.review-modal-close {
    position: absolute; top: 16px; right: 16px; font-size: 28px;
    cursor: pointer; color: #999; line-height: 1; background: none; border: none;
}
.review-modal-close:hover { color: #333; }
.review-modal h3 { margin: 0 0 20px; font-size: 20px; color: #1a1a2e; }
.review-product-item {
    display: flex; align-items: center; gap: 12px; padding: 12px;
    background: #f8f9fa; border-radius: 10px; margin-bottom: 10px;
}
.review-product-item img { width: 50px; height: 50px; object-fit: cover; border-radius: 6px; }
.review-product-item .rp-info strong { font-size: 14px; color: #1a1a2e; }
.review-product-item .rp-info p { font-size: 12px; color: #999; margin: 2px 0 0; }

/* 鍚庡彴璇勪环绠＄悊椤甸潰鏍峰紡 */
.reviews-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.reviews-table th { background: #f8f9fa; padding: 14px 16px; text-align: left; font-size: 13px; font-weight: 600; color: #666; border-bottom: 1px solid #eee; }
.reviews-table td { padding: 14px 16px; font-size: 14px; color: #333; border-bottom: 1px solid #f0f0f0; vertical-align: middle; }
.reviews-table tr:hover td { background: #fafafa; }
.reviews-table .rating-stars { color: #f5a623; font-size: 13px; }
.review-status-tag { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 12px; font-weight: 500; }
.review-status-tag.pending { background: #fff7e6; color: #d48806; }
.review-status-tag.approved { background: #e8f5e9; color: #28a745; }
.review-status-tag.rejected { background: #ffebee; color: #e53935; }
.review-action-btn { padding: 5px 12px; font-size: 12px; border: none; border-radius: 6px; cursor: pointer; transition: all 0.2s; margin-right: 4px; }
.review-action-btn.approve { background: #e8f5e9; color: #28a745; }
.review-action-btn.reject { background: #ffebee; color: #e53935; }
.review-action-btn.reply { background: #e3f2fd; color: #1565c0; }
.review-action-btn:hover { opacity: 0.8; }

/* 浜у搧绛涢€?鎼滅储鐩稿叧鏍峰紡 */
.active-filters {
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #e3f2fd;
    color: #1565c0;
    border-radius: 16px;
    font-size: 13px;
}
.filter-tag i {
    cursor: pointer;
    opacity: 0.7;
}
.filter-tag i:hover { opacity: 1; }
.filter-tag.clear-all {
    background: #ffebee;
    color: #e53935;
    text-decoration: none;
    padding: 6px 14px;
}
.filter-tag.clear-all:hover {
    background: #ffcdd2;
}
/* Compare button styles */
.compare-btn {
    padding: 4px 10px;
    font-size: 12px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}
.compare-btn:hover {
    border-color: #1890ff;
    color: #1890ff;
}
.compare-btn.active {
    background: #1890ff;
    border-color: #1890ff;
    color: #fff;
}

/* ========================================
   在线客服组件样式
   ======================================== */
.chat-widget { position: fixed; bottom: 20px; right: 20px; z-index: 9999; }
.chat-toggle {
    width: 60px; height: 60px; border-radius: 50%;
    background: var(--primary, #e94560); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; cursor: pointer; box-shadow: 0 4px 15px rgba(233,69,96,0.4);
    transition: all 0.3s ease; position: relative;
}
.chat-toggle:hover { transform: scale(1.05); box-shadow: 0 6px 20px rgba(233,69,96,0.5); }
.chat-badge {
    position: absolute; top: -2px; right: -2px;
    background: #ff4757; color: #fff; font-size: 11px;
    min-width: 18px; height: 18px; border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    padding: 0 5px; font-weight: 600;
}
.chat-window {
    position: absolute; bottom: 75px; right: 0;
    width: 350px; height: 450px;
    background: #fff; border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    display: flex; flex-direction: column; overflow: hidden;
    animation: chatSlideIn 0.3s ease;
}
@keyframes chatSlideIn {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.chat-header {
    background: var(--primary, #e94560); color: #fff;
    padding: 15px 20px; display: flex;
    justify-content: space-between; align-items: center;
}
.chat-header span { font-weight: 600; font-size: 16px; }
.chat-header button {
    background: none; border: none; color: #fff;
    font-size: 24px; cursor: pointer; opacity: 0.8;
}
.chat-header button:hover { opacity: 1; }
.chat-messages {
    flex: 1; overflow-y: auto; padding: 15px;
    background: #f8f9fa; display: flex; flex-direction: column; gap: 10px;
}
.chat-message {
    max-width: 80%; padding: 10px 14px; border-radius: 16px;
    font-size: 14px; line-height: 1.5; word-wrap: break-word;
}
.chat-message.user {
    align-self: flex-end;
    background: var(--primary, #e94560); color: #fff;
    border-bottom-right-radius: 4px;
}
.chat-message.admin {
    align-self: flex-start;
    background: #fff; color: #333;
    border-bottom-left-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.chat-input {
    padding: 12px 15px; background: #fff;
    border-top: 1px solid #eee; display: flex; gap: 10px;
}
.chat-input input {
    flex: 1; padding: 10px 15px; border: 1px solid #ddd;
    border-radius: 20px; font-size: 14px; outline: none;
}
.chat-input input:focus { border-color: var(--primary, #e94560); }
.chat-input button {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--primary, #e94560); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; transition: all 0.2s;
}
.chat-input button:hover { background: var(--primary-dark, #d63850); }

/* ========================================
   首页信任亮点条
   ======================================== */
.trust-highlights {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 50px 0;
    color: #fff;
}
.trust-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 60px;
    margin-bottom: 30px;
}
.trust-stat-item {
    text-align: center;
    padding: 0 20px;
}
.trust-stat-item i {
    font-size: 32px;
    color: #e94560;
    margin-bottom: 10px;
}
.trust-stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}
.trust-stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}
.trust-cta {
    text-align: center;
    margin-top: 20px;
}
.trust-cta .btn-outline {
    border: 2px solid rgba(255,255,255,0.5);
    background: transparent;
    color: #fff;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s;
}
.trust-cta .btn-outline:hover {
    background: #e94560;
    border-color: #e94560;
    color: #fff;
}
@media (max-width: 768px) {
    .trust-stats { gap: 30px; }
    .trust-stat-item { padding: 0 10px; }
    .trust-stat-number { font-size: 28px; }
    .trust-stat-label { font-size: 12px; }
}
/* ============================================
   PC端隐藏手机抽屉菜单（修复内页菜单错位）
   .mobile-nav-panel 的定位规则仅在 mobile-only.css 的 @media(≤768px) 内定义,
   PC 端无任何规则导致菜单裸奔平铺; 此处统一隐藏, 手机端由媒体查询恢复显示
   ============================================ */
.mobile-nav-panel { display: none; }
@media (max-width: 768px) {
    .mobile-nav-panel { display: block; }
}
