 iframe {
        width: 1200px;
        height: 650px;
        margin: auto;
        border-radius: 10px;
    }

    .cart-container-box {
        width: 1200px;
        margin: auto;
    }

    /* 购物车整体样式 */
    #cart-container {
        width: 920px;
        margin: auto;
        margin-left: 280px;
        margin-top: 20px;
        font-family: 'Inter', Arial, sans-serif;
        /* border: 1px solid; */
        border-radius: 16px;
        padding: 25px;
        background: #f8f8f8;
    }

    button {
        padding: 0px 5px;
        border: 1px solid;
        border-radius: 6px;
        margin: 0 10px;
    }

    /* 购物车头部样式 */
    .cart-header {
        display: flex;
        padding: 10px 0;
        border-bottom: 2px solid #eee;
        font-weight: bold;
        text-align: center;
        /* display: none; */
    }

    .cart-header>div {
        flex: 1;
        padding: 0 5px;
    }

    .header-title {
        /* text-align: left; */
        flex: 2.5 !important;
    }

    .header-total {
        text-align: right;
    }

    .header-image {
        flex: 0 0 80px !important;
    }

    .header-actions {
        flex: 0 0 100px !important;
    }

    /* 购物车项样式 */
    .cart-items {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .cart-item {
        display: flex;
        align-items: center;
        padding: 15px 0;
        border-bottom: 1px solid #eee;
        text-align: center;
    }

    .cart-item[data-is-bundle="true"] {
        /* background-color: #e8f5e8;
        border-left: 3px solid #4CAF50; */
    }

    .cart-item[data-is-component="true"] {
        background-color: #f0f8ff;
        border-left: 3px solid #2196F3;
    }

    .cart-item>div {
        flex: 1;
        padding: 0 5px;
    }

    .cart-item-image {
        flex: 0 0 80px !important;
        position: relative;
    }

    .cart-item-image img {
        max-width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }

    .cart-item-title {
        text-align: left;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-weight: 600;
        flex: 2.5 !important;
    }

    .cart-item-actions {
        flex: 0 0 100px !important;
    }

    /* 按钮样式 */
    .remove-item {
        background: #ff4444;
        color: white;
        border: none;
        padding: 5px 10px;
        border-radius: 3px;
        cursor: pointer;
        font-size: 14px;
    }

    .cart-item-total {
        text-align: right;
    }

    .remove-item:hover {
        background: #cc0000;
    }

    /* 购物车底部样式 */
    .cart-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        /* margin-top: 20px; */
        padding-top: 20px;
        /* border-top: 2px solid #eee; */
        border-top: 1px solid #eee;
    }

    .cart-total {
        font-weight: 500;
        font-size: 1.2em;
    }

    .cart-total span {
        padding-left: 15px;
        font-size: 24px;
        font-weight: 600;
    }

    #checkout-temp-cart {
        background: #171717;
        color: white;
        border: none;
        padding: 10px 25px;
        border-radius: 25px;
        cursor: pointer;
        font-weight: 400;
        font-size: 16px;
        border: 2px solid transparent;
    }

    #checkout-temp-cart:hover {
        background: white;
        color: #171717;
        border: 2px solid;
    }

    /* 响应式设计 */
    @media (max-width: 768px) {
        .cart-header {
            display: none;
        }

        .cart-item {
            flex-wrap: wrap;
            position: relative;
            padding: 15px 0;
        }

        .cart-item>div {
            flex: 1 1 50%;
            text-align: left;
            padding: 5px 10px;
        }

        .cart-item-image {
            flex: 0 0 60px !important;
            position: relative;
        }

        .cart-item-actions {
            position: absolute;
            right: 10px;
            top: 15px;
            flex: 0 0 auto !important;
        }

        .cart-item::before {
            content: attr(data-label);
            font-weight: bold;
            flex: 0 0 80px;
            padding-right: 10px;
        }

        .cart-footer {
            flex-direction: column;
            align-items: flex-end;
        }

        #checkout-temp-cart {
            width: 100%;
            margin-top: 10px;
        }

        .cart-actions {
            display: flex;
            gap: 10px;
        }

        .clear-all-btn {
            background: #ff4444;
            color: white;
            border: none;
            padding: 10px 15px;
            border-radius: 25px;
            cursor: pointer;
            font-weight: 400;
            font-size: 14px;
            border: 2px solid transparent;
        }

        .clear-all-btn:hover {
            background: white;
            color: #ff4444;
            border: 2px solid #ff4444;
        }
    }

    .dev-div {
        width: 1200px;
        margin: auto;
        margin-top: 50px;
        border: 1px solid;
        border-radius: 16px;
        font-size: 14px;
        padding: 20px;
        background-color: yellow;
    }

    .dev-div h5 {
        font-size: 24px;
        text-align: center;
    }

    .dev-div button {
        border: none;
        background-color: #cc0000;
        color: white;
        padding: 5px 10px;
        margin: 10px;
    }

    #generate-pdf {
        background-color: #007bff;
        color: white;
        padding: 8px 15px;
        border-radius: 4px;
        font-weight: bold;
        transition: background-color 0.3s;
    }

    #generate-pdf:hover {
        background-color: #0056b3;
    }

    .dev-div span {
        float: right;
        font-size: 12px;
        color: slategray;
    }

    /* Bundle角标样式 */
    .bundle-badge {
        position: absolute;
        top: 0;
        right: 8px;
        background-color: #c50904;
        color: white;
        padding: 2px 3px;
        font-size: 8px;
        font-weight: bold;
        border-radius: 0 0 0 4px;
        box-shadow: -2px 2px 4px rgba(0, 0, 0, 0.2);
        z-index: 10;
    }