#shop_title {
    padding: 15px;
    font-size: 30px;
    border-bottom: black 1px solid;
}

.shop-header-title {
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    position: absolute;
    width: 100%;
    padding-left: 5%;
    padding-right: 5%;
    height: 100%;
    font-size: 5vmax;
    animation: fadeIn ease 2s;
    animation-fill-mode: forwards;
}

.shop-subtext {
    width: fit-content;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 0.5rem;
    margin: 5rem auto 0 auto;
    color: white;
    font-size: 2vmax;
    border-radius: 1rem;
}


@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translate3d(0, -50%, 0);
    }

    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.shop-banner {
    height: 240px;
    position: relative;
}

.shop-swiper {
    height: 100%;
    max-width: 978px;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.shop-swiper .swiper-pagination-bullet {
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
    color: #000;
    opacity: 1;
    background: rgba(0, 0, 0, 0.2);
}

.shop-swiper .swiper-pagination-bullet-active {
    color: #fff;
    background: #2f6481;
}

.buy-ways-title {
    margin-top: 15px;
    font-size: 30px;
}

.model-list {
    display: flex;
    justify-content: space-around;
}

.model-list a {
    text-decoration: none;
    color: black;
}

.model-list a:hover {
    color: black;
}

.model-box {
    text-align: center;
    width: 100%;
    margin: 2rem;
    /* border: 3px #000 solid; */
    padding: 2rem 0;
    border-radius: 4px;
    box-shadow: 0px 0px 20px 0px rgb(0 0 0 / 10%);
}

.model-box a {
    text-decoration: none;
    color: black;
}

.model-box a:hover {
    color: black;
}

.model-box-con {
    margin-top: 1rem;
    font-size: 20px;
}

.model-box:hover {
    cursor: pointer;
}

.productSwiper {
    max-width: 300px;

}

.hot-shop,
.type-shop {
    margin-top: 3em;
    margin-bottom: 3em;
}

.title-shop {
    background-color: #d4d4d4;
    display: inline-block;
    padding: 10px 25px;
    font-size: 25px;
}

.list-shop {
    display: grid;
    /* grid-template-columns: repeat(auto-fit, minmax(100%/3, 1fr)); */
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 3em;
}

.product {
    max-width: 100%;
    border: #000 1px solid;
    padding: 1rem;
    margin: 1rem;
    border-radius: 10px;
}

.product_img {
    display: block;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
}

.product_img img {
    height: 250px;
    width: 100%;
    overflow: hidden;
}

.product .product_title_1,
.product .product_title_2 {
    display: flex;
    justify-content: space-between;
    font-family: "Inter", sans-serif;
}

.product .product_title_1 {
    font-size: 18px;
}

.product .product_title_2 {
    font-size: 15px;
}

.product_title_color {
    width: 40%;
    text-align: right;
}

.swiper-pagination-bullet{
    background: black;
    opacity:1;
}

.swiper-pagination-bullet-active{
    background: var(--mfs);
}


@media only screen and (max-width: 1374px) {
    .list-shop {
        grid-template-columns: 1fr 1fr;
    }
}

@media only screen and (max-width: 992px) {
    .product_img img {
        height: 200px;
        width: 100%;
        overflow: hidden;
    }

    .productSwiper {
        max-width: 200px;

    }

    .model-box {
        margin: 0.5rem;

    }
}

@media only screen and (max-width: 768px) {

    .list-shop {
        grid-gap: 1em;
    }

    .product {
        padding: 0.5rem;
        margin: 0.5rem;
    }
}

@media only screen and (max-width: 600px) {
    .list-shop {
        grid-gap: 0em;
    }

    .product_img img {
        height: 150px;
        width: 100%;
        overflow: hidden;
    }

    .productSwiper {
        max-width: 150px;

    }

    .model-list {
        flex-direction: column;
    }

    .model-box {
        width: auto;
        margin: 1rem;

    }

    .product .product_title_1 {
        font-size: 14px;
    }

    .product .product_title_2 {
        font-size: 12px;
    }

    .product_price {

        text-align: right;
    }
}