        .cartempty{
            text-align:center;
            margin:50px auto;
            font-size:30px;
        },
        .cartcontent {
            background-color: #f8f9fa;
            color: #333;
            padding: 20px;
             margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }


         .cart-container {
           
            max-width: 1200px;
            margin: 0 auto;

          
        }

        .checkout-steps {
            display: flex;
            justify-content: center;
            margin: 40px 0 60px;
            position: relative;
        }

        .step {
            display: flex;
            flex-direction: column;
            align-items: center;
            position: relative;
            z-index: 2;
            flex: 1;
            max-width: 200px;
        }

        .step.active .step-number {
            background: #bdbdbd;
            color: white;
            border-color: #bdbdbd;
        }

        .step.active .step-title {
            color: #1a2a6c;
            font-weight: 600;
        }

        .step.completed .step-number {
            background: #4CAF50;
            color: white;
            border-color: #4CAF50;
        }

        .step.completed .step-title {
            color: #4CAF50;
        }

        .step-number {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: white;
            border: 2px solid #ddd;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            margin-bottom: 10px;
            transition: all 0.3s;
            padding:0;
        }

        



        .step-title {
            font-size: 14px;
            text-align: center;
            color: #777;
        }

        .steps-connector {
            position: absolute;
            top: 20px;
            left: 25%;
            right: 25%;
            height: 2px;
            background: #ddd;
            z-index: 1;
        }

        .progress-bar {
            position: absolute;
            top: 20px;
            left: 0;
            height: 2px;
            background: #1a2a6c;
            width: 0%;
            transition: width 0.5s;
            z-index: 2;
        }

        /* 购物车标题 */
        .cart-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
            padding-bottom: 15px;
            border-bottom: 2px solid #eee;
        }

        .cart-title {
            font-size: 28px;
            color: #1a2a6c;
            display: flex;
            align-items: center;
        }

        .cart-title i {
            margin-right: 12px;
            background: #f0f4ff;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #1a2a6c;
        }

        .continue-shopping {
            color: #1a2a6c;
            text-decoration: none;
            font-weight: 500;
            display: flex;
            align-items: center;
        }

        .continue-shopping i {
            margin-right: 8px;
        }

        .continue-shopping:hover {
            text-decoration: underline;
        }

        /* 购物车表格 */
        .cart-table {
            width: 100%;
            border-collapse: collapse;
            background: white;
            border-radius: 10px;
            margin-top: 5px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        }

        .cart-table th {
            background: #f8f9ff;
            padding: 16px 20px;
            text-align: left;
            color: #1a2a6c;
            font-weight: 600;
        }

        .cart-table td {
            padding: 20px;
            border-bottom: 1px solid #f0f4ff;
        }

        .product-info {
            display: flex;
            align-items: center;
        }

        .product-image {
            width: 100px;
            height: 100px;
            border-radius: 8px;
            overflow: hidden;
            margin-right: 20px;
            background: #f9f9f9;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .product-image img {
            max-width: 90%;
            max-height: 90%;
            object-fit: contain;
        }

        .product-details {
            flex: 1;
        }

        .product-name {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 5px;
            color: #333;
        }

        .product-sku {
            color: #777;
            font-size: 14px;
            margin-bottom: 8px;
        }

        .product-attributes {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 10px;
        }

        .attribute {
            background: #f0f4ff;
            color: #1a2a6c;
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 12px;
        }

        /* 数量选择器 */
         .quantity-selector {
            display: flex;
            align-items: center;
            width: 120px;
            border: 1px solid #ddd;
            border-radius: 5px;
            overflow: hidden;
        }


        .quantity-btn {
            width: 36px;
            height: 36px;
            background: #f8f9ff;
            border: none;
            font-size: 16px;
            cursor: pointer;
            color: #555;
            transition: background 0.2s;
        }

        .quantity-btn:hover {
            background: #e6e9ff;
        }

        .quantity-input {
            width: 48px;
            height: 36px;
            border: none;
            text-align: center;
            font-size: 16px;
            border-left: 1px solid #ddd;
            border-right: 1px solid #ddd;
            /* 隐藏输入框的上下箭头 */
            -moz-appearance: textfield;
        }

        .quantity-input::-webkit-outer-spin-button,
        .quantity-input::-webkit-inner-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }

         main input[type="number"]{
            padding:0;
            border:none;
            letter-spacing:0;
            margin:0;
         }


          /* 价格 */
        .product-price {
            font-size: 18px;
            font-weight: 700;
            color: #e53935;
        }
        
        .product-subtotal {
            font-size: 16px;
            color: #666;
            margin-top: 5px;
        }

        /* 删除按钮 */
        .remove-btn {
            background: none;
            border: none;
            color: #777;
            cursor: pointer;
            font-size: 18px;
            transition: color 0.2s;
        }

        .remove-btn:hover {
            color: #e53935;
        }

        /* 购物车底部 */
        .cart-footer {
            display: flex;
            flex-wrap: wrap;
            gap: 30px;
            margin-top: 40px;
            justify-content:space-between;
        }

        .instructions-section {
            flex: 1;
            min-width: 300px;
            max-width:500px;
        }
        
        .instructions-container {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .instructions-title {
            font-size: 18px;
            color: #1a2a6c;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
        }

        .instructions-title i {
            margin-right: 10px;
        }

        .instructions-textarea {
            width: 100%;
            height: 120px;
            padding: 15px;
            border: 1px solid #ddd;
            border-radius: 8px;
            resize: none;
            font-size: 16px;
            transition: border 0.3s;
        }

        .instructions-textarea:focus {
            outline: none;
            border-color: #1a2a6c;
            box-shadow: 0 0 0 2px rgba(26, 42, 108, 0.1);
        }

        .coupon-section {
            display: flex;
            gap: 10px;
        }

        .coupon-input {
            flex: 1;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 16px;
        }

        .apply-btn {
            padding: 12px 20px;
            background: #4CAF50;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-weight: 500;
            transition: background 0.3s;
        }
        
        .apply-btn:hover {
            background: #3d8b40;
        }

        .summary-section {
            flex: 0 0 350px;
            background: white;
            border-radius: 10px;
            padding: 25px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        }

        .summary-title {
            font-size: 22px;
            color: #1a2a6c;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px solid #eee;
        }

        .summary-row {
            display: flex;
            justify-content: space-between;
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px solid #f5f5f5;
        }

        .summary-label {
            color: #555;
        }

        .summary-value {
            font-weight: 500;
        }

        .total-row {
            display: flex;
            justify-content: space-between;
            margin: 25px 0;
            font-size: 20px;
            font-weight: 700;
            color: #e53935;
        }

        .checkout-btn {
            width: 100%;
            padding: 16px;
            background: #1a2a6c;
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 18px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .checkout-btn i {
            margin-right: 10px;
        }

        .checkout-btn:hover {
            background: #0f1c4d;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(26, 42, 108, 0.3);
        }

        /* 空购物车 */
        .empty-cart {
            text-align: center;
            padding: 60px 0;
            background: white;
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        }

        .empty-cart i {
            font-size: 80px;
            color: #ddd;
            margin-bottom: 20px;
        }

        .empty-cart h3 {
            font-size: 24px;
            color: #555;
            margin-bottom: 15px;
        }

        .empty-cart p {
            color: #777;
            margin-bottom: 30px;
        }

        .shop-btn {
            padding: 12px 30px;
            background: #1a2a6c;
            color: white;
            border: none;
            border-radius: 5px;
            font-size: 16px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s;
        }

        .shop-btn:hover {
            background: #0f1c4d;
        }

        /* 响应式设计 */
        @media (max-width: 900px) {
            .cart-table {
                display: block;
                overflow-x: auto;
            }
            
            .cart-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 15px;
            }
            
            .step-title {
                font-size: 12px;
            }
        }

        @media (max-width: 768px) {
            .checkout-steps {
                margin: 20px 0 40px;
            }
            
            .step-number {
                width: 30px;
                height: 30px;
                font-size: 14px;
            }
            
            .steps-connector, .progress-bar {
                top: 15px;
            }
            
            .cart-title {
                font-size: 24px;
            }
            
            .cart-title i {
                width: 40px;
                height: 40px;
            }
            
            .cart-table th {
                padding: 12px 15px;
                font-size: 14px;
            }
            
            .cart-table td {
                padding: 15px;
            }
            
            .product-image {
                width: 70px;
                height: 70px;
                margin-right: 15px;
            }
            
            .product-name {
                font-size: 16px;
            }
            
            .quantity-selector {
                width: 100px;
            }
            
            .quantity-btn {
                width: 30px;
                height: 30px;
            }
            
            .quantity-input {
                width: 40px;
                height: 30px;
            }
        }

        @media (max-width: 480px) {
            .product-info {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .product-image {
                margin-right: 0;
                margin-bottom: 15px;
            }
            
            .cart-footer {
                flex-direction: column;
            }
            
            .summary-section {
                flex: 1;
                width: 100%;
            }
        }

       