@media only screen and (max-width:1640px) {
    .fill_in_li {
        max-width: 80%;
    }

    .payment > label {
        width: calc(33.3333333333333% - 8px);
    }
}

@media only screen and (max-width:1240px) {
    .fill_in_li {
        max-width: 100%;
    }
}





@media only screen and (max-width:1800px) {
    .deliver_goods {
        grid-template-columns: repeat(auto-fill, minmax(calc(50% - 6px), 1fr));
    }
}

@media only screen and (max-width:1360px) {

    html,
    body {
        font-size: 12px;
    }

    .cart_left,
    .delivery_address,
    .payment_method {
        width: 100%;
    }

    .cart_right {
        bottom: 20px;
        top: auto;
        width: 300px;
        gap: 15px;
    }

    .settlement_img ul > li {
        width: 44px;
        height: 44px;
    }

    .coupon_box > ul,
    .coupon_top,
    .coupon_more {
        display: none;
    }

    .settlement > label,
    .settlement_img,
    .settlement_ul {
        display: none;
    }

    .total > .span_label i {
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .coupon_boxmore {
        display: flex;
    }

    .login_box {
        min-height: auto;
    }

    .right_box.login_coupon,
    .right_box.ldollar {
        display: none;
    }

        .right_box.login_coupon.open,
        .right_box.ldollar.open {
            display: block;
        }

    .right_box.settlement.open .settlement > label,
    .right_box.settlement.open .settlement_img {
        display: block;
    }

    .right_box.settlement.open .settlement_ul {
        display: flex;
    }

    /*20260122*/
    .coupons_title {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

        .coupons_title > span {
            font-size: 1rem;
            color: var(--color-light_brown);
            display: flex;
            align-items: center;
            gap: 5px;
            cursor: pointer;
            transition: var(--all-transition);
        }

            .coupons_title > span:hover {
                opacity: 0.8;
            }

            .coupons_title > span::before {
                width: 14px;
                height: 14px;
                content: "";
                background: var(--cart_exchange_icon) no-repeat;
                background-size: 14px;
            }
    /*20260122*/

}

@media only screen and (max-width:900px) {

    .quantity-input,
    .quantity-btn {
        width: 30px;
        height: 30px;
    }

    .counter-container {
        min-width: 110px;
    }

    .product_name > a {
        -webkit-line-clamp: 4;
    }

    .product_li,
    .product_content {
        gap: 10px;
    }

    .more_discounts {
        position: absolute;
        left: 0;
        bottom: 0;
    }

    .product_attribute,
    .product_price {
        min-width: 120px;
    }
}





/* 活動產品列表彈窗響應式-開始 */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .drawer {
        width: 70vw;
        right: -70vw;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .drawer {
        width: 85vw;
        right: -85vw;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
}
/* 活動產品列表響應式-結束 */
