/* home 1 */
.slide_btn_box {
    position: absolute;
    bottom: 11%;
    left: 6%;
    display: flex;
    flex-direction: column;
}

.slide_btn_box .btn-slide {
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s linear;
    gap: 5px;
}

.slide_btn_box .btn-slide:hover {
    box-shadow: none;
}

.slide_btn_box .btn-slide-1 {
    background-color: rgba(0, 0, 0, 0.2);
    border: solid 1px #fff;

}

.slide_btn_box .btn-slide-1:hover {
    transition: all 0.3s linear;
    color: #333;
    background-color: #fff;

}

.slide_btn_box .btn-slide-2 {
    background-color: #fff;
    border: solid 1px #fff;
    color: red;
}

.slide_btn_box .btn-slide-2:hover {
    background-color: red;
    border: solid 1px #fff;
    color: #fff;
}

.slide_btn_box .btn-slide-2:hover svg path {
    fill: #fff;
    transition: all 0.3s linear;
}

/*  */
.homepage_2 {
    background-image: url(./images/spnb_bg.png);
    background-size: cover;
    background-repeat: no-repeat;
    /* opacity: 0.12; */
    padding: 60px 0;
}

.section_title {
    color: var(--c-212121);
    /* font-family: "Open Sans"; */
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 40px;
    /* 125% */
    text-transform: uppercase;
}

.view_all_prd {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    gap: 5px
}

.view_all_prd a {
    color: var(--c-red);
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 28px;
    /* 175% */
    cursor: pointer;
}

.view_all_prd a:hover {
    color: var(--c-red);

}

.btn_muangay {
    background: linear-gradient(4deg, #C7090F -30.99%, #ED3237 97.24%);
    height: 40px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    gap: 5px;
    transform: translateY(100%);
    transition: all 0.3s linear;
    position: absolute;
    left: 0;
    bottom: 0;

}

.btn_muangay svg path {
    fill: #fff;
}

.featured-products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-item {
    padding: 16px;
    border: 0.5px solid rgba(237, 50, 55, 0.16);
    background: #FFF;
    transition: all 0.3s linear;
}

.product-item .fp_thumb img {
    transform: scale(1);
    transition: all 0.3s linear;
}

.product-item img {
    width: 100%;
    transition: all 0.3s linear;

}

.product-item:hover .fp_thumb img {
    transform: scale(1.2);
    transition: all 0.3s linear;
}

.product-item:hover .btn_muangay {
    transform: translateY(0);
    transition: all 0.3s linear;
}

.fp_thumb {
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}

.product-item .product-short-description {
    text-align: center;
}


.featured-products .product-short-description {
    text-align: center;
    font-size: 14px;
}

.featured-products .product-price {
    text-align: center;
    color: var(--c-red);
}

.featured-products .product-price .contact-price {
    font-weight: 900;
}


/* Home 3 */
.homepage_3 {
    padding: 60px 0;
    background-color: rgba(249, 248, 227, 1);
}

.box_gtsp {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slide_gtsp .swiper-button-next,
.blogs_section .swiper-button-next {
    right: -40px;
}

.slide_gtsp .swiper-button-prev,
.blogs_section .swiper-button-prev {
    left: -40px;
}

.slide_gtsp .swiper-button-next,
.slide_gtsp .swiper-button-prev,
.blogs_section .swiper-button-next,
.blogs_section .swiper-button-prev,
.related-posts .swiper-button-next,
.related-posts .swiper-button-prev {
    color: var(--c-red);

}

.slide_gtsp .swiper-button-next::after,
.slide_gtsp .swiper-button-prev::after,
.blogs_section .swiper-button-prev::after,
.blogs_section .swiper-button-next::after,
.related-posts .swiper-button-next::after,
.related-posts .swiper-button-prev::after {
    font-size: 22px;

}

.slide_gtsp .swiper-pagination-bullet-active,
.blogs_section .swiper-pagination-bullet-active,
.related-posts-row .swiper-pagination-bullet-active {
    background-color: var(--c-red);
}

.slide_gtsp .swiper-pagination,
.related-posts .swiper-pagination {
    bottom: 0 !important;
    display: none;
}

.slide_gtsp .section_title {
    text-transform: inherit;
    margin-bottom: 20px;
}

.btn-style-1 {
    max-width: 180px;
    height: 44px;
    border: solid 1px var(--c-red);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    transition: all 0.3s linear;
    color: var(--c-red);
    font-weight: 400;
    margin-top: 11.2px;
}

.slide_gtsp .btn-slide {
    max-width: 180px;
    height: 44px;
    border: solid 1px var(--c-red);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    transition: all 0.3s linear;
    color: var(--c-red);
    font-weight: 400;
    margin-top: 11.2px;

}

.btn-style-1:hover {
    color: #fff;
    background-color: var(--c-red);
    transition: all 0.3s linear;
}

.slide_gtsp .btn-slide:hover {
    color: #fff;
    background-color: var(--c-red);
    transition: all 0.3s linear;

}
.box_gtsp .section_title,.box_gtsp .des,.box_gtsp .btn-slide{
     -webkit-transition: all .35s ease-out;
    transition: all .35s ease-out;
}
.slide_gtsp .swiper-slide.swiper-slide-active .gt_image {
    animation-name: fadeInRight;
    -webkit-transition: all .35s ease-out;
    transition: all .35s ease-out;
}
.slide_gtsp .swiper-slide.swiper-slide-active .section_title  {
    animation-name: fadeInDown;
    -webkit-transition: all .35s ease-out;
    transition: all .35s ease-out;
}
.slide_gtsp .swiper-slide.swiper-slide-active .des {
    animation-name: fadeInUp;
    -webkit-transition: all .35s ease-out;
    transition: all .35s ease-out;
}
.slide_gtsp .swiper-slide.swiper-slide-active .btn-slide {
    animation-name: fadeInUp;
    -webkit-transition: all .35s ease-out;
    transition: all .35s ease-out;
}
/* Home 4 */
.homepage_4 {
    padding: 60px 0;
}

.box_ts {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.box_ts .section_title {
    text-transform: inherit;
}

.homepage_4 .box_navigation {
    position: absolute;
    display: flex;
    gap: 12px;
    right: 42.5%;
    top: 78%;
    z-index: 11;
}

.homepage_4 .box_navigation .swiper-button-next,
.homepage_4 .box_navigation .swiper-button-prev {
    position: relative;
    width: 32px;
    height: 32px;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    margin-top: 0;
    color: var(--c-red);
    border: 1px solid rgba(237, 50, 55, 0.12);
    background: #FFF7F7;
    transition: all 0.3s linear;

}

.homepage_4 .box_navigation .swiper-button-next:hover,
.homepage_4 .box_navigation .swiper-button-prev:hover {
    background-color: var(--c-red);
    transition: all 0.3s linear;

}

.homepage_4 .box_navigation .swiper-button-next:hover::after,
.homepage_4 .box_navigation .swiper-button-prev:hover::after {

    color: #fff;
    transition: all 0.3s linear;

}

.homepage_4 .box_navigation .swiper-button-next::after,
.homepage_4 .box_navigation .swiper-button-prev::after {
    font-size: 16px;
}
.box_gtsp .section_title,.box_gtsp .des,.box_gtsp .btn-slide{
     -webkit-transition: all .35s ease-out;
    transition: all .35s ease-out;
}
.slide_ts .swiper-slide.swiper-slide-active .ts_image {
    animation-name: fadeInRight;
    -webkit-transition: all .35s ease-out;
    transition: all .35s ease-out;
}
.slide_ts .swiper-slide.swiper-slide-active .section_title  {
    animation-name: fadeInDown;
    -webkit-transition: all .35s ease-out;
    transition: all .35s ease-out;
}
.slide_ts .swiper-slide.swiper-slide-active .ts_des {
    animation-name: fadeInUp;
    -webkit-transition: all .35s ease-out;
    transition: all .35s ease-out;
}
.slide_ts .swiper-slide.swiper-slide-active .btn-slide {
    animation-name: fadeInUp;
    -webkit-transition: all .35s ease-out;
    transition: all .35s ease-out;
}
/* Hom 4 */

/* Home 6 */
.homepage_6 {
    /* height: 100vh; */
    position: relative;
    overflow: hidden;
}
.homepage_6::after{
    content: "";
    background-color: #FFF;
    filter: blur(20px);
    position: absolute;
       top: -40px;
    left: -50px;
   width: 300%;
    height: 100px;
    z-index: 3;
}
/* home 7 */
.homepage_7 {
    padding: 60px 0;
}

.blog_thumb {
    margin-bottom: 20px;
}

.blog_thumb img {
    width: 100%;
}

.blog_title {
    color: var(--c-212121, #212121);
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 28px;

}

.blog_des {
    color: rgba(33, 33, 33, 0.80);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* number of lines to show */
    line-clamp: 3;
    -webkit-box-orient: vertical;
    font-weight: 400;
    margin-bottom: 10px;
}

.box_meta {
    display: flex;
    justify-content: space-between;
}

.blog_date {
    color: rgba(33, 33, 33, 0.60);
    font-weight: 400;
}

.blog_btn {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--c-red);
}

.blog_btn svg path {
    color: var(--c-red);
}

.blog_btn:hover {
    color: var(--c-red);

}

@media screen and (min-width:1800px) {
    .slide_btn_box {

        bottom: 12.5%;

    }
}
@media screen and (min-width:1280px) {

}
@media screen and (min-width:990px) {
    .slide_post  .swiper-pagination {
        display: none !important;
    }
}

@media screen and (max-width:1024px) {
    .homepage_4 .box_navigation {
        right: 41%;
    }
        .slide_btn_box {
        display: none;
    }
}

@media screen and (max-width:990px) {
    .featured-products {
        grid-template-columns: repeat(3, 1fr);
    }

    .section_title {
        font-size: 26px;
    }
}

@media screen and (max-width:850px) {
    .homepage_4 {
        padding: 60px 0;
    }

    .homepage_4 .box_navigation {
        bottom: -24px;
        left: 0;
        top: auto;
        position: relative;
    }
}

@media screen and (max-width:768px) {

    .spnb_section .row div:nth-child(1),
    .slide_gtsp .row div:nth-child(2),
    .homepage_7 .row div:nth-child(1) {
        order: 1;
    }

    .spnb_section .row div:nth-child(2),
    .homepage_7 .row div:nth-child(2) {
        order: 3;
    }

    .spnb_section .row div:nth-child(3),
    .slide_gtsp .row div:nth-child(1),
    .homepage_7 .row div:nth-child(3) {
        order: 2;
    }

    .view_all_prd {
        justify-content: center;
    }

    .slide_gtsp .swiper-button-next,
    .slide_gtsp .swiper-button-prev,
    .related-posts .swiper-button-next,
    .related-posts .swiper-button-prev {
        display: none;
    }

    .slide_gtsp .swiper-pagination,
    .related-posts .swiper-pagination {
        display: unset;
    }

    .slide_gtsp .swiper-pagination {
        position: relative;
    }

    .view_all_prd {
        height: auto;
        margin-top: 10px;
    }

    .view_all_prd a {
        padding: 10px;
        background-color: transparent;
        border: solid 1px var(--c-red);
        /* color: #; */
    }

    .homepage_4 .box_navigation {
        position: relative;
        left: 0;
    }
    .slide_gtsp .section_title{
        margin-top: 10px;
    }
    .homepage_7 .swiper-pagination {
        position: relative;
    }

    .homepage_7 .view_all_prd {
        /* margin-top: 10px; */
    }
}

@media screen and (max-width:600px) {
    .featured-products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width:425px) {
    .featured-products {
        grid-template-columns: repeat(1, 1fr);
    }
}