/*
-------------------------------------------------------------------------------------------- 1024    ----------------------
 */
@media screen and (max-width: 1200px) {
    /*--------------------
  Product Section
  --------------- */
    .product-bottom a {
        font-size: 0.7rem;
    }
    .bottom-caption p {
        font-size: 0.6rem;
        line-height: 0.3vw;
    }
}


/*
-------------------------------------------------------------------------------------------- 1024    ----------------------
 */
@media screen and (max-width: 1024px) {

    /*--------------------
Service Section
--------------- */
    .icon-img {
        width: 120px;
        height: 120px;
    }

    .service-text a {
        font-size: 12px;
        color: #e1b257;
    }

    .service-text p {
        font-size: 10px;
        text-align: left;
        place-items: unset;
        color: white;
    }

    .card {
        width: 48%;
        padding-left: 1%;
        padding-right: 1%;
        padding-top: 8%;
    }


}


/*
---------------------------------------------------------------------------------------------  768  -----------------------------------------------------------------------------------------
 */
@media (max-width: 768px) {

    .header-content {
        height: 60px;
    }

    .cart {
        display: none;
    }

    .cart2 {
        display: block;
    }

    .cart2 img {

        float: right;
        width: 42px;
        position: fixed;
        right: 20px; /* 距离右侧的距离 */
        bottom: 180px; /* 距离底部的距离 */
        border-radius: 50%;
        box-shadow: 0 0 5px #fffefe;
    }

    .logo img {
        margin-top: 1px;
        margin-left: 10%;
    }

    .profile img {
        margin-top: 10px;
        width: 40px;
    }

    .menu-toggle {
        align-items: start;
        display: block;

    }

    .menu-toggle:hover.active {
        background: #c10040;
    }

    .menu {
        display: none;
        position: fixed;
        background-color: rgba(7, 38, 51, 0.87);
        flex-direction: column;
        text-align: center;
        margin-left: -40%;
        width: 70%;

    }

    .menu.active {
        display: flex;
        left: 30%;
        font-size: 20px;
        bottom: 0;
    }

    .menu li {
        width: 95%;
        border-bottom: 1px inset rgba(255, 254, 254, 0.58);
    }

    .menu li a {
        color: #fffefe;
    }


    .main-container {
        width: 90%;
        margin-left: 5%;
    }





    .banner-box {
        height: 300px;
    }

    .banner {
        height: 300px;
    }

    .banner-pic img {
        margin-top: 70px;
        height: 220px;
    }

    .banner-text {
        top: 70px;
        position: relative;
    }


    .show-cards {
        width: 100%;
    }

    .s-cards {
        width: 50%;
    }

    .c-content {
        width: 100%;
        height: 40px;
    }


    /*--------------------
    Service Section
    --------------- */
    .icon-img {
        width: 90px;
        height: 90px;
    }

    /*--------------------
    Product Section
    --------------- */
    .product-bottom a {
        font-size: 0.7rem;
        line-height: 0.2vw;
    }
    .bottom-caption p {
        font-size: 0.7rem;
        line-height: 0.2vw;
    }



    .become {
        width: 100%;
    }

    .footer a {
        color: white;
        font-size: 12px;
    }

    .footer-card img {
        width: 15px;

    }

    .footer-logo img {
        width: 70%;
    }

    .footer-bottom p {
        font-size: 12px;
    }

}



