
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            background-color: #f8f9fa;
            color: #333;
            line-height: 1.6;
        }
        
        /* 页眉样式 - 固定白色背景，无透明和滚动效果 */
        header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            padding: 15px 50px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 1000;
            background: #ffffff; /* 固定白色背景 */
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1); /* 固定阴影效果 */
        }
        
        .logo {
            font-size: 1.8rem;
            font-weight: 700;
            color: #2c3e50;
            text-decoration: none;
        }
        
        .logo span {
            color: #3498db;
        }
        
        nav ul {
            display: flex;
            list-style: none;
            align-items: center;
        }
        
        nav ul li {
            margin-left: 30px;
        }
        
        nav ul li a {
            text-decoration: none;
            color: #2c3e50; /* 固定黑色文字 */
            font-weight: 500;
            font-size: 1.1rem;
            padding: 8px 0;
            position: relative;
            transition: 0.3s;
        }
        
        nav ul li a:hover {
            color: #3498db;
        }
        
        nav ul li a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            background: #3498db;
            bottom: 0;
            left: 0;
            transition: 0.3s;
        }
        
        nav ul li a:hover::after {
            width: 100%;
        }
        
        /* 购物车图标样式 */
        .cart-icon {
            position: relative;
            display: flex;
            align-items: center;
        }
        
        .cart-icon a {
            display: flex;
            align-items: center;
            text-decoration: none;
            color: #2c3e50;
            font-weight: 500;
            font-size: 1.1rem;
            padding: 8px 0;
            transition: 0.3s;
        }
        
        .cart-icon a:hover {
            color: #3498db;
        }
        
        .cart-count {
            position: absolute;
            top: -8px;
            right: -8px;
            background: #e74c3c;
            color: white;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: 600;
        }
        
        /* 移动端菜单样式 */
        .menu-toggle {
            display: none;
            cursor: pointer;
            font-size: 2rem;
            color: #2c3e50; /* 固定黑色 */
        }
        
        /* 响应式设计 */
        @media (max-width: 768px) {
            header {
                padding: 15px 30px;
                background: #ffffff; /* 移动端也保持白色背景 */
            }
            
            .menu-toggle {
                display: block;
                color: #2c3e50; /* 移动端菜单图标为黑色 */
            }
            
            .logo {
                font-size: 1.2rem;
                font-weight: 700;
                color: #2c3e50;
                text-decoration: none;
            }
            
            nav {
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background: #ffffff; /* 移动端导航背景为白色 */
                box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
                padding: 0;
                max-height: 0;
                overflow: hidden;
                transition: 0.5s;
            }
            
            nav.active {
                max-height: 300px;
                padding: 20px 0;
            }
            
            nav ul {
                flex-direction: column;
                align-items: center;
            }
            
            nav ul li {
                margin: 10px 0;
            }
            
            nav ul li a {
                color: #2c3e50; /* 移动端导航文字为黑色 */
                font-size: 1.1rem;
                padding: 8px 20px;
            }
            
            .cart-icon {
                margin: 10px 0;
            }
        }
        
        /* WhatsApp Floating Button Styles */
        .whatsapp-float {
            position: fixed;
            width: 60px;
            height: 60px;
            bottom: 40px;
            right: 40px;
            background-color: #25D366;
            color: #FFF;
            border-radius: 50px;
            text-align: center;
            font-size: 30px;
            box-shadow: 2px 2px 3px #999;
            z-index: 100;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .whatsapp-float:hover {
            background-color: #128C7E;
            transform: scale(1.1);
            box-shadow: 2px 2px 10px #666;
        }
        
        .whatsapp-float i {
            margin-top: 5px;
        }
        
        /* Tooltip text */
        .whatsapp-float .tooltip-text {
            visibility: hidden;
            width: 120px;
            background-color: #555;
            color: #fff;
            text-align: center;
            border-radius: 6px;
            padding: 5px;
            position: absolute;
            z-index: 1;
            bottom: 125%;
            left: 50%;
            margin-left: -60px;
            opacity: 0;
            transition: opacity 0.3s;
            font-size: 14px;
        }
        
        .whatsapp-float:hover .tooltip-text {
            visibility: visible;
            opacity: 1;
        }
        
        /* 购物车浮动按钮样式 */
        .cart-float {
            position: fixed;
            width: 60px;
            height: 60px;
            bottom: 110px;
            right: 40px;
            background-color: #ff9f43;
            color: #FFF;
            border-radius: 50px;
            text-align: center;
            font-size: 30px;
            box-shadow: 2px 2px 3px #999;
            z-index: 100;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .cart-float:hover {
            background-color: #ff8300;
            transform: scale(1.1);
            box-shadow: 2px 2px 10px #666;
        }
        
        .cart-float .tooltip-text {
            visibility: hidden;
            width: 120px;
            background-color: #555;
            color: #fff;
            text-align: center;
            border-radius: 6px;
            padding: 5px;
            position: absolute;
            z-index: 1;
            bottom: 125%;
            left: 50%;
            margin-left: -60px;
            opacity: 0;
            transition: opacity 0.3s;
            font-size: 14px;
        }
        
        .cart-float:hover .tooltip-text {
            visibility: visible;
            opacity: 1;
        }
        
        /* 移动端响应式调整 */
        @media (max-width: 768px) {
            .whatsapp-float {
                width: 50px;
                height: 50px;
                bottom: 20px;
                right: 20px;
                font-size: 25px;
            }
            
            .cart-float {
                width: 50px;
                height: 50px;
                bottom: 90px;
                right: 20px;
                font-size: 25px;
            }
        }

        /* 主体内容样式 */
        .container {
            max-width: 1200px;
            margin: 100px auto 30px;
            padding: 0 20px;
        }
        
        .cart-container {
            background: white;
            border-radius: 12px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            padding: 30px;
            margin-bottom: 30px;
        }
        
        .cart-title {
            font-size: 28px;
            font-weight: 700;
            margin-bottom: 25px;
            color: #222;
            border-bottom: 2px solid #f0f0f0;
            padding-bottom: 15px;
        }
        
        .cart-empty {
            text-align: center;
            padding: 60px 20px;
        }
        
        .cart-empty-icon {
            font-size: 80px;
            color: #bdc3c7;
            margin-bottom: 20px;
        }
        
        .cart-empty-text {
            font-size: 20px;
            color: #7f8c8d;
            margin-bottom: 30px;
        }
        
        .continue-shopping-btn {
            display: inline-block;
            padding: 12px 30px;
            background: #4a6cf7;
            color: white;
            text-decoration: none;
            border-radius: 6px;
            font-weight: 600;
            transition: all 0.3s;
        }
        
        .continue-shopping-btn:hover {
            background: #3a5ce5;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(74, 108, 247, 0.3);
        }
        
        .cart-items {
            width: 100%;
            border-collapse: collapse;
        }
        
        .cart-items th {
            text-align: left;
            padding: 15px 10px;
            border-bottom: 2px solid #f0f0f0;
            font-weight: 600;
            color: #555;
        }
        
        .cart-items td {
            padding: 20px 10px;
            border-bottom: 1px solid #f0f0f0;
            vertical-align: middle;
        }
        
        .product-info {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .product-image {
            width: 80px;
            height: 80px;
            border-radius: 8px;
            overflow: hidden;
            background-color: #f5f5f5;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .product-image img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }
        
        .product-details {
            flex: 1;
        }
        
        .product-name {
            font-weight: 600;
            margin-bottom: 5px;
        }
        
        .product-name a {
            color: #333;
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .product-name a:hover {
            color: #4a6cf7;
        }
        
        .product-price {
            font-weight: 600;
            color: #4a6cf7;
        }
        
        .quantity-controls {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .quantity-btn {
            width: 32px;
            height: 32px;
            border: 1px solid #ddd;
            background: white;
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .quantity-btn:hover {
            background: #f5f5f5;
            border-color: #ccc;
        }
        
        .quantity-input {
            width: 50px;
            height: 32px;
            border: 1px solid #ddd;
            border-radius: 4px;
            text-align: center;
            font-weight: 600;
        }
        
        .remove-btn {
            background: none;
            border: none;
            color: #e74c3c;
            cursor: pointer;
            font-size: 18px;
            transition: color 0.3s;
        }
        
        .remove-btn:hover {
            color: #c0392b;
        }
        
        .cart-summary {
            background: white;
            border-radius: 12px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            padding: 25px;
            margin-top: 30px;
        }
        
        .summary-title {
            font-size: 20px;
            font-weight: 700;
            margin-bottom: 20px;
            color: #222;
        }
        
        .summary-row {
            display: flex;
            justify-content: space-between;
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px solid #f0f0f0;
        }
        
        .summary-label {
            color: #666;
        }
        
        .summary-value {
            font-weight: 600;
        }
        
        .total-row {
            font-size: 18px;
            font-weight: 700;
            color: #222;
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }
        
        .checkout-btn {
            display: block;
            width: 100%;
            padding: 15px;
            background: #4a6cf7;
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            margin-top: 20px;
        }
        
        .checkout-btn:hover {
            background: #3a5ce5;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(74, 108, 247, 0.3);
        }
        
        .action-buttons {
            display: flex;
            gap: 15px;
            margin-top: 30px;
        }
        
        .clear-cart-btn {
            padding: 12px 24px;
            background: #e74c3c;
            color: white;
            border: none;
            border-radius: 6px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .clear-cart-btn:hover {
            background: #c0392b;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
        }
        
        @media (max-width: 768px) {
            .cart-items thead {
                display: none;
            }
            
            .cart-items tr {
                display: block;
                margin-bottom: 20px;
                border: 1px solid #f0f0f0;
                border-radius: 8px;
                padding: 15px;
            }
            
            .cart-items td {
                display: block;
                padding: 10px 0;
                border-bottom: none;
            }
            
            .cart-items td:before {
                content: attr(data-label);
                font-weight: 600;
                display: inline-block;
                width: 100px;
                color: #666;
            }
            
            .product-info {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .action-buttons {
                flex-direction: column;
            }
        }
