@media(max-width:3840px) {
    :root {
        --skyblue-pink-color: linear-gradient(to right, #83cbff, #df56ec) 1;
    }

    .web-content {
        width: 100%;
        display: flex;
        flex-direction: row;
        gap: 30px;
        justify-content: center;
    }

    .product-info {
        font-size: 15px;
    }

    .apple-idbox {
        position: relative;
        top: 30px;
    }

    .pay-box {
        display: block;
    }

    .pay-header {
        font-size: 15px;
    }

    .pay-input {
        height: 50px;
    }

    .input-type {
        color: black;
        background-color: white;
        font-size: 18px;
        margin: 20px 0px 20px 0px;
        border: 2px solid black;
        border-radius: 8px;
        margin-left: 8px;
    }

    .input-type:hover {
        transition: 0.6s;
        transform: scale(1.1);
        border-color: var(--skyblue-pink-color);
    }

    /* 加减按钮 + 数量输入框 */
    .pay-button {
        color: black;
        background-color: white;
        border: 2px solid black;
        border-radius: 8px;
        margin: 20px 5px 20px 5px;
        text-align: center;
        width: 40px;       /* ✅ 加减按钮宽度拉长 */
        height: 30px;
        font-size: 18px;
        cursor: pointer;
        transition: 0.6s; /* ✅ transition写在这里，移入移出都有动画 */
    }

    /* 数量输入框单独宽一点 */
    .pay-input-num {
        width: 60px;
    }

    .pay-button:hover {
        transform: scale(1.1);
    }

    .pay-button-3 {
        color: black;
        background-color: white;
        border: 2px solid rgb(0, 0, 0);
        font-size: 15px;
        border-radius: 8px;
        width: 150px;
        height: 30px;
        margin: 20px 0px 20px 120px;
        transition: 0.6s;
    }

    .pay-button-3:hover {
        transform: scale(1.1);
    }
}

/* 手机响应式适配 */
@media(max-width:500px) {
    .web-content {
        display: grid;
        grid-template-columns: auto;
    }
}

