#footer-section {
    border-top: none !important;
}

/* =========================================================== */
/* ========================== HEADER ========================= */
/* =========================================================== */

#header-section.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
}
#header-section.fixed > .inside {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
}
#header-section > .inside,
#header-main-section {
    background: none ;
}
#header-section > .inside {
    -webkit-backdrop-filter: saturate(100%) blur(50px);
    backdrop-filter: saturate(100%) blur(50px);
    background-color: rgba(0,0,0,0.2);
    transition: all 1s ease;
}
#header-section.fixed.fixing > .inside {
    background-color: rgba(0,0,0,1);
}

/* =========================================================== */
/* =========================== BANNER ======================== */
/* =========================================================== */

#main-banner-section-home {
    z-index: 1;
}
#main-banner-section-home .banner-section-inside .banner-item::before,
#main-banner-section-home .banner-section-inside .banner-item::after {
    position: absolute;
    content: '';
    width: 100%;
    height: 0;
    bottom: 0;
    /* border: 1px solid salmon; */
    z-index: 2;
    transition: all 0.3s ease;
}
#main-banner-section-home .banner-section-inside .banner-item::before {
    background-image: linear-gradient(to top, rgba(0,0,0, 1) 5%, rgba(0,0,0, 0));
}
#main-banner-section-home .banner-section-inside .banner-item::before {
    /* -webkit-backdrop-filter: saturate(100%) blur(40px);
    backdrop-filter: saturate(100%) blur(40px); */
    -webkit-mask: linear-gradient(to top, black 50%, transparent);
    mask: linear-gradient(to top, black 50%, transparent);
}
#main-banner-section-home.scrolling .banner-section-inside .banner-item::before,
#main-banner-section-home.scrolling .banner-section-inside .banner-item::after {
    height: 500px;
}

/* #highlight-banner-section-home:before {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255,255,255,1);
    z-index: 1;
} */

#highlight-banner-section-home {
    margin-top: 50px;
}
.card-hl-banner-slide,
.card-hl-banner-item {
    position: relative;
}
.card-hl-banner-slide {
    /* padding-bottom: 35px; */
    z-index: 2;
}
.card-hl-banner-slide .splide-pagination {
    position: absolute;
    bottom: 0;
}

/* item */
.card-hl-banner-item {
    border-radius: 20px;
    overflow: hidden;
}
.card-hl-banner-item .img-banner {
    position: relative;
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;
}
.card-hl-banner-item .text-on-banner {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex-wrap: wrap;
    width: 100%;
    height: 60%;
    left: 0;
    right: 0;
    bottom: 0;
    line-height: 25px;
    text-shadow: 0 0 2px rgba(0,0,0,0.3);
    color: rgba(255,255,255,1);
    background: linear-gradient(180deg,transparent,rgba(0,0,0,.8));
    padding: 0 20px 15px 20px;
    z-index: 2;
}
.card-hl-banner-item .text-on-banner > div {
    width: 100% !important;
}
.card-hl-banner-item .text-on-banner > .title {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.2px;
}
.card-hl-banner-item .text-on-banner > .description {
    font-size: 14px;    
}

/* =========================================================== */
/* ===================== PRODUCT CATEGORY ==================== */
/* =========================================================== */

#menu-product-category-section-home {
    position: relative;
    background-color: rgba(0,0,0,1);
    padding: 80px 0 80px 0;
    z-index: 2;
}
#menu-product-category-section-home .menu-product-category {
    color: rgba(255,255,255,1) !important;
}
#menu-product-category-section-home #menu-product-category-section {
    /* padding: 40px 0 120px 0; */
    padding-top: 40px;
}

/* =========================================================== */
/* ======================= NEW PRODUCT ======================= */
/* =========================================================== */

#new-product-section-home {
    padding: 80px 0 65px 0;
}
#highlight-banner-section-home + #new-product-section-home {
    padding-top: 40px;
}

/* =========================================================== */
/* ==================== RECOMMEND PRODUCT ==================== */
/* =========================================================== */

#recommend-product-section-home {
    padding: 65px 0;
}

/* ----- img banner ----- */

#recommend-product-img-banner-slide {
    background-color: rgba(0,0,0,1);
    z-index: 1;
}
.recommend-product-img-banner-item {
    position: relative;
}
.recommend-product-img-banner-item.has-bg-transparent:before {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    content: '';
    background-color: rgba(0,0,0,0.5);
    z-index: 2;
}
.recommend-product-img-banner-item.has-bg-transparent>.img-banner-bg {
    z-index: 1;
}

/* ----- text banner ----- */

#recommend-product-text-banner-slide {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
}

.recommend-product-text-banner-item {
    display: flex;
    overflow: hidden;
}
.recommend-product-text-banner-item>.container,
.recommend-product-text-banner-container {
    height: 100%;
}
.recommend-product-text-banner-item>.container {
    display: flex;
}
.recommend-product-text-banner-container {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;   
    flex-direction: column;
    text-align: center;
    width: 100%;
    padding: 30px 0;
    /* background-color: rgba(255,255,0,0.2); */
}
.recommend-product-text-banner-container .recommend-product-text-banner-group {
    width: 100%;
    position: relative;
}
.recommend-product-text-banner-item[class*="format-width-half-"]>.container>.recommend-product-text-banner-container {
    width: 50%;
}
.recommend-product-text-banner-item.format-width-half-left>.container {
    justify-content: flex-start;
}
.recommend-product-text-banner-item.format-width-half-right>.container {
    justify-content: flex-end;
}

.recommend-product-text-banner-item .text-on-banner-group>.content-row + .btn-row {
    margin-top: 30px;
}
.recommend-product-text-banner-item .text-on-banner-group .description {
    margin-top: 10px;
}

/* text on banner */
#recommend-product-text-banner-slide {
    /* height: calc( 100% + 100px );   */
    height: 100%;
}
.recommend-product-text-banner-item {
    margin-bottom: 90px;
}
.recommend-product-text-banner-container.has-img-on-banner {
    padding: 30px 0 50px 0;
}
.recommend-product-text-banner-item .text-on-banner-group,
.recommend-product-text-banner-item .img-on-banner-group {
    position: relative;
    width: 100%;
}
.recommend-product-text-banner-item .text-on-banner-group {
    text-shadow: 2px 2px 10px rgb(0,0,0,0.5);
    z-index: 2;
}
.recommend-product-text-banner-item .text-on-banner-group .btn-outline:hover {
    text-shadow: none !important;
}
.recommend-product-text-banner-item .img-on-banner-group {
    margin-bottom: 10px;
    z-index: 1;
}
.recommend-product-text-banner-item .img-on-banner-group {}
.recommend-product-text-banner-item .img-on-banner-group>.img-product {
    /* position: absolute; */
    width: 350px;
    height: 350px;
    /* bottom: -90px; */
    margin: 0 auto;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    /* background-color: rgba(0,0,0,0.5); */
    transform: scale(1);
    transition: transform 0.3s ease;
    -webkit-transition: transform 0.3s ease;
    -moz-transition: transform 0.3s ease;
    -ms-transition: transform 0.3s ease;
    -o-transition: transform 0.3s ease;
}
.recommend-product-text-banner-item:hover .img-on-banner-group>.img-product {
    transform: scale(1.1);
}

/* #recommend-product-text-banner-slide .splide-arrow {
    transform: translateY(-70px);
} */

/* =========================================================== */
/* ====================== CATEGORY USAGE ===================== */
/* =========================================================== */

#menu-product-category-section-home + #category-usage-section-home,
#recommend-product-banner-section-home + #category-usage-section-home {
    padding-top: 80px;
}
/* #category-usage-section-home {
    background-color: rgba(0,0,0,1);
    color: rgba(255,255,255,1);
} */
#category-usage-slide {
    position: relative;
    margin-top: 50px;
}
.category-usage-item {
    position: relative;
    display: block !important;
    overflow: hidden !important;
    cursor: pointer !important;
    border-radius: 20px;
}
.category-usage-item > .category-usage-item-img {
    position: relative;
    z-index: 1;
}
.category-usage-item > .category-usage-item-detail {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: rgba(255,255,255,1);
    background-color: rgba(0,0,0,0.5);
    text-shadow: 0 2px 3px rgba(0,0,0,0.5);
    z-index: 2;
    transition: background-color 0.3s ease;
    -webkit-transition: background-color 0.3s ease;
    -moz-transition: background-color 0.3s ease;
    -ms-transition: background-color 0.3s ease;
    -o-transition: background-color 0.3s ease;
}
.category-usage-item:hover > .category-usage-item-detail {
    background-color: rgba(0,0,0,0.6);
}
.category-usage-item > .category-usage-item-detail .category-usage-item-title {
    position: relative;
    padding: 0 15px;
    z-index: 2;
}
.category-usage-item > .category-usage-item-detail .category-usage-item-title.en {
    /* font-family: 'Rubik';
    font-size: 40px;
    line-height: 50px;
    font-weight: 700;
    letter-spacing: 2px; */
    font-family: 'Montserrat';
    font-size: 40px;
    line-height: 50px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.category-usage-item > .category-usage-item-detail .category-usage-item-title.th {
    font-size: 18px;
    line-height: 25px;
}
.category-usage-item > .category-usage-item-detail .category-usage-item-btn {
    position: absolute;
    width: 100%;
    left: 0;
    right: 0;
    bottom: 0;
    padding:200px 20px 20px 20px;
    border-radius: 10px;
    background: linear-gradient(180deg,transparent,rgba(0,0,0,.9));
    opacity: 0;
    transition: opacity 0.3s ease;
    -webkit-transition: opacity 0.3s ease;
    -moz-transition: opacity 0.3s ease;
    -ms-transition: opacity 0.3s ease;
    -o-transition: opacity 0.3s ease;
    z-index: 1;
}
.category-usage-item:hover > .category-usage-item-detail .category-usage-item-btn {
    opacity: 1;
}

/* =========================================================== */
/* ========================== BRANDS ========================= */
/* =========================================================== */

#brands-logo-slide .brands-logo-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    /* background-color: rgba(0,0,0,0.1); */
}
/* #brands-logo-slide .brands-logo-item .img-bg {
    opacity: 0.8;
} */


/* =========================================================== */
/* =========================== BLOG ========================== */
/* =========================================================== */

#blog-img-banner-slide {
    z-index: 1;
}
#blog-text-banner-slide {
    position: absolute !important;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
}
#blog-text-banner-slide:before {
    position: absolute;
    content: "";
    width: 60%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to left,rgba(0,0,0,0),rgba(0,0,0,0.95));
}

#blog-text-banner-slide .blog-text-banner-item {
    position: relative;
}
#blog-text-banner-slide .blog-text-banner-item > .container {
    display: flex;
    align-items: center;
    height: 100%;
}
#blog-text-banner-slide .blog-text-banner-container {
    position: relative;
    width: 400px;
}
#blog-text-banner-slide .blog-text-banner-container .title {
    max-height: 120px;
    text-shadow: 0 2px 3px rgba(0,0,0,0.5);
}
#blog-text-banner-slide .blog-text-banner-container .description {
    max-height: 75px;
    text-shadow: 0 2px 2px rgba(0,0,0,0.3);
}
#blog-text-banner-slide .blog-text-banner-container .content-row + .btn-row {
    margin-top: 30px;
}
#blog-text-banner-slide .blog-text-banner-container .title + .description {
    margin-top: 20px;
}
#blog-text-banner-slide .blog-text-banner-container .title + .post-status-detail,
#blog-text-banner-slide .blog-text-banner-container .description + .post-status-detail {
    margin-top: 10px;    
}

/* progress bar autoplay */
#blog-text-banner-slide .splide-pagination-progress {
    position: absolute;
    list-style: none !important;
    margin: 0;
    display: flex;
    flex-wrap: nowrap;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: none !important;
}
#blog-text-banner-slide .splide-pagination-progress-page {
    position: relative;
    width: 100%;
    list-style: none !important;
    margin: 0;
    padding: 0;
    background: none !important;
    outline: none !important;
    border: none !important;
    color: rgba(255,255,255,1) !important;
}
#blog-text-banner-slide .splide-pagination-progress > li + li {
    margin-left: 15px !important;
}
#blog-text-banner-slide .splide-pagination-progress-page > .progress-bar-autoplay,
#blog-text-banner-slide .splide-pagination-progress-page > .progress-bar-autoplay > .load {
    height: 2px;
}
#blog-text-banner-slide .splide-pagination-progress-page > .progress-bar-autoplay {
    position: relative;
    width: 100%;
    background-color: rgba(255,255,255,0.3);
    background-color: rgba(0,0,0,0.5);
}
#blog-text-banner-slide .splide-pagination-progress-page > .progress-bar-autoplay > .load {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 0;
    background-color: rgba(255,255,255,1);
    background-color: rgb(255,255,0,1);
}
#blog-text-banner-slide .splide-pagination-progress-page > .text {
    position: relative;
    width: 100%;
    line-height: 25px;
    max-height: 25px;
    text-align: left;
    margin-top: 5px;
    text-shadow: 0 0 10px rgba(0,0,0,0.4);
}

/* =========================================================== */
/* ===================== NEWS AND EVENTS ===================== */
/* =========================================================== */

.hl-news-row {
    margin-top: 25px;
}

.card-block-row.hl-news {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    width: calc(100% + 20px);
    margin-left: -10px;
    margin-right: -10px;
}
.card-block.hl-news {
    position: relative;
    width: calc(100% / 3);
    padding: 0 10px;
}
.card-block.hl-news>.inside {
    position: relative;
}
.card-block.hl-news>.inside>.card-cover {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    background-color: #ccc;
    z-index: 1;
}
.card-block.hl-news>.inside>.card-detail {
    position: absolute;
    width: 100%;
    padding: 0 20px;
    margin: 30px 20px;
    z-index:2;
    /* background-color: rgba(0,0,0,0.2); */
}
.card-block.hl-news>.inside>.card-detail .icon-arrow {
    position: absolute;
    top: -5px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: rgba(0,0,0,1);
    color: rgba(255,255,255,1);
    border-radius: 100%;
    box-shadow: 0 0 0 5px rgba(255,255,255,1);
}
.card-block.hl-news>.inside>.card-detail .title {
    display: block;
    max-height: 60px;
    overflow: hidden;
}
.card-block.hl-news>.inside>.card-detail .description {
    margin-top: 10px;
    max-height: 50px;
    overflow: hidden;
}
.card-block.hl-news>.inside>.card-detail .post-status-detail {
    margin-top: 10px;
}

.card-block-row.hl-news > .card-block.hl-news:nth-child(odd) > .inside>.card-detail {
    top: 0;
    left: 100%;
}
.card-block-row.hl-news > .card-block.hl-news:nth-child(odd) > .inside>.card-detail .icon-arrow {
    left: -40px;
}
.card-block-row.hl-news > .card-block.hl-news:nth-child(even) > .inside>.card-detail {
    bottom: 0;
    right: 100%;
}
.card-block-row.hl-news > .card-block.hl-news:nth-child(even) > .inside>.card-detail .icon-arrow {
    right: -40px;
    top: auto;
    bottom: -5px;
}

/* =========================================================== */
/* ======================== POPUP AUTO ======================= */
/* =========================================================== */

.highlight-popup-auto {}
.highlight-popup-auto .modal-dialog {
    max-width: 400px;
    /* margin-top: 60px; */
}
.highlight-popup-auto .modal-content {
    border-radius: 10px;
    border: none !important;
    margin-top: 30px;
}
.highlight-popup-auto .modal-body {
    padding: 50px;
}
.highlight-popup-container {
    position: relative;
    text-align: center;
    padding-top: 30px;
}
.highlight-popup-container .qr-code {
    width: 200px;
    height: 200px;
    margin: 20px auto;
    border: 1px solid rgba(0,0,0,0.1);
    background-image: url(../../images/sites/qrcode-line-bike.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
}
.highlight-popup-container .logo {
    position: absolute;
    top: -90px;
    left: 50%;
    margin-left: -45px;
    width: 90px;
    height: 90px;
    background-image:url(../../images/logo/twine-hide.png);
	background-image:url(../../images/logo/twine-hide.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 70%;
    background-color: rgba(0,0,0,1);
    overflow: hidden;
    border-radius: 100%;
    border: 10px solid rgba(255,255,255,1);
}


/* xxl */
@media (min-width: 1400px) {}

/* xxl - more 1  */
@media (min-width: 1600px) and (max-width:1799.98px) {

/* =========================================================== */
/* ==================== RECOMMEND PRODUCT ==================== */
/* =========================================================== */

/* ----- text banner ----- */

.recommend-product-text-banner-item .text-on-banner-group>.content-row + .btn-row {
    margin-top: 15px;
}
.recommend-product-text-banner-item .img-on-banner-group>.img-product {
    width: 300px;
    height: 300px;
}
.recommend-product-text-banner-item .text-on-banner-group>.content-row + .btn-row {
    margin-top: 20px;
}

}

/* xxl - more 2  */
@media (min-width: 1400px) and (max-width:1599.98px) {

/* =========================================================== */
/* ==================== RECOMMEND PRODUCT ==================== */
/* =========================================================== */

#recommend-product-section-home {
    padding: 50px 0;
}


/* ----- text banner ----- */

/* .recommend-product-text-banner-container.has-img-on-banner {
    padding-top: 30px;
    padding-bottom: 180px;
} */
.recommend-product-text-banner-item .text-on-banner-group .description {
    margin-top: 5px;
}
.recommend-product-text-banner-item .img-on-banner-group>.img-product {
    width: 270px;
    height: 270px;
}
.recommend-product-text-banner-item .text-on-banner-group>.content-row + .btn-row {
    margin-top: 20px;
}
.recommend-product-text-banner-item .text-on-banner-group .main-title {
    font-size: 25px;
    line-height: 30px;
}

}

/* xl */
@media (min-width: 1200px) and (max-width: 1399.98px) {

/* =========================================================== */
/* ======================= NEW PRODUCT ======================= */
/* =========================================================== */

#new-product-section-home {
    padding: 50px 0 25px 0;
}
#highlight-banner-section-home + #new-product-section-home {
    padding-top: 30px;
}

/* =========================================================== */
/* ==================== RECOMMEND PRODUCT ==================== */
/* =========================================================== */

#recommend-product-section-home {
    padding: 50px 0;
}

/* ----- text banner ----- */

.recommend-product-text-banner-item .text-on-banner-group .description {
    margin-top: 5px;
}
.recommend-product-text-banner-item .img-on-banner-group>.img-product {
    width: 200px;
    height: 200px;
}
.recommend-product-text-banner-item .text-on-banner-group>.content-row + .btn-row {
    margin-top: 20px;
}
.recommend-product-text-banner-item .text-on-banner-group .main-title {
    font-size: 22px;
    line-height: 28px;
}

/* =========================================================== */
/* ====================== CATEGORY USAGE ===================== */
/* =========================================================== */

.category-usage-item > .category-usage-item-detail .category-usage-item-title.en {
    font-size: 30px;
    line-height: 35px;
    font-weight: 600;
    letter-spacing: 1px;
}
.category-usage-item > .category-usage-item-detail .category-usage-item-title.th {
    font-size: 15px;
    line-height: 25px;
}
.category-usage-item > .category-usage-item-detail .category-usage-item-btn {
    font-size: 13px;
}

/* =========================================================== */
/* ========================= BRANDS ========================== */
/* =========================================================== */

#brands-logo-section {
    padding: 25px 0 !important;
}

/* =========================================================== */
/* ===================== NEWS AND EVENTS ===================== */
/* =========================================================== */

.card-block.hl-news>.inside>.card-detail .description {
    font-size: 14px;
    line-height: 22px;
    margin-top: 5px;
    max-height: 44px;
}
.card-block.hl-news>.inside>.card-detail {
    margin: 10px 20px;
}
.card-block-row.hl-news > .card-block.hl-news:nth-child(odd) > .inside>.card-detail .icon-arrow {
    top: 10px;
}
.card-block-row.hl-news > .card-block.hl-news:nth-child(even) > .inside>.card-detail .icon-arrow {
    bottom: 10px;
}

}

/* lg */
@media (min-width: 992px) and (max-width: 1199.98px) {

/* =========================================================== */
/* ======================= NEW PRODUCT ======================= */
/* =========================================================== */

#new-product-section-home {
    padding: 50px 0 25px 0;
}
#highlight-banner-section-home + #new-product-section-home {
    padding-top: 30px;
}

/* =========================================================== */
/* ==================== RECOMMEND PRODUCT ==================== */
/* =========================================================== */

#recommend-product-section-home {
    padding: 30px 0;
}

/* ----- text banner ----- */

.recommend-product-text-banner-item[class*="format-width-half-"]>.container>.recommend-product-text-banner-container {
    width: 60%;
}
.recommend-product-text-banner-item .text-on-banner-group>.content-row + .btn-row {
    margin-top: 20px;
}
.recommend-product-text-banner-item .text-on-banner-group .description {
    margin-top: 10px;
}
.recommend-product-text-banner-item .img-on-banner-group>.img-product {
    width: 250px;
    height: 250px;
}
.recommend-product-text-banner-item .text-on-banner-group .main-title {
    font-size: 25px;
    line-height: 30px;
}

/* =========================================================== */
/* ====================== CATEGORY USAGE ===================== */
/* =========================================================== */

.category-usage-item > .category-usage-item-detail .category-usage-item-title.en {
    font-size: 27px;
    line-height: 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.category-usage-item > .category-usage-item-detail .category-usage-item-title.th {
    font-size: 15px;
    line-height: 25px;
}
.category-usage-item > .category-usage-item-detail .category-usage-item-btn {
    font-size: 13px;
}

/* =========================================================== */
/* ========================= BRANDS ========================== */
/* =========================================================== */

#brands-logo-section {
    padding: 25px 0 !important;
}

/* =========================================================== */
/* ===================== NEWS AND EVENTS ===================== */
/* =========================================================== */

.hl-news-row {
    margin-top: 15px;
}
.card-block.hl-news>.inside>.card-detail .title {
    font-size: 15px;
    line-height: 22px;
    max-height: 44px;
}
.card-block.hl-news>.inside>.card-detail .description {
    font-size: 13px;
    line-height: 22px;
    margin-top: 5px;
    max-height: 44px;
}
.card-block.hl-news>.inside>.card-detail .post-status-detail {
    margin-top: 5px;
}
.card-block.hl-news>.inside>.card-detail {
    margin: 15px 20px;
    padding: 0 10px;
}
.card-block.hl-news>.inside>.card-detail .icon-arrow {
    width: 35px;
    height: 35px;
    line-height: 35px;
    font-size: 12px;
    top: 10px;
}
.card-block-row.hl-news > .card-block.hl-news:nth-child(even) > .inside>.card-detail .icon-arrow {
    bottom: 10px;
}

}

/* md */
@media (min-width: 768px) and (max-width: 991.98px) {

/* =========================================================== */
/* ======================= NEW PRODUCT ======================= */
/* =========================================================== */

#new-product-section-home {
    padding: 50px 0 25px 0;
}
#highlight-banner-section-home + #new-product-section-home {
    padding-top: 30px;
}

/* =========================================================== */
/* ==================== RECOMMEND PRODUCT ==================== */
/* =========================================================== */

#recommend-product-section-home {
    padding: 30px 0;
}

/* ----- text banner ----- */

.recommend-product-text-banner-item[class*="format-width-half-"]>.container>.recommend-product-text-banner-container {
    width: 55%;
}
.recommend-product-text-banner-item .text-on-banner-group>.content-row + .btn-row {
    margin-top: 20px;
}
.recommend-product-text-banner-item .text-on-banner-group .description {
    margin-top: 10px;
}
.recommend-product-text-banner-item .img-on-banner-group>.img-product {
    width: 230px;
    height: 230px;
}
.recommend-product-text-banner-item .text-on-banner-group .main-title {
    font-size: 22px;
    line-height: 28px;
}
.recommend-product-text-banner-item .text-on-banner-group .description {
    font-size: 12px;
    line-height: 20px;
}

/* =========================================================== */
/* ====================== CATEGORY USAGE ===================== */
/* =========================================================== */

.category-usage-item > .category-usage-item-detail .category-usage-item-title.en {
    font-size: 27px;
    line-height: 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.category-usage-item > .category-usage-item-detail .category-usage-item-title.th {
    font-size: 15px;
    line-height: 25px;
}
.category-usage-item > .category-usage-item-detail .category-usage-item-btn {
    font-size: 12px;
}

/* =========================================================== */
/* ========================= BRANDS ========================== */
/* =========================================================== */

#brands-logo-section {
    padding: 25px 0 !important;
}

/* =========================================================== */
/* ===================== NEWS AND EVENTS ===================== */
/* =========================================================== */

.hl-news-row {
    margin-top: 15px;
}
.card-block.hl-news {
    width: 50%;
}
.card-block.hl-news>.inside>.card-detail {
    position: relative;
    padding: 0;
    margin: 0;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
}
.card-block.hl-news>.inside>.card-detail .icon-arrow {
    display: none !important;
}
.card-block.hl-news>.inside>.card-detail .title {
    font-size: 15px !important;
    line-height: 25px !important;
    max-height: 50px !important;
}
.card-block.hl-news>.inside>.card-detail .description  {
    font-size: 13px !important;
    line-height: 20px !important;
    max-height: 40px !important;
    margin-top: 5px;
}
.card-block.hl-news>.inside>.card-detail .post-status-detail {
    padding: 15px 0 5px 0 !important;
    margin: 0 !important;
}

}

/* sm - xs */
@media (max-width: 767.98px) {

/* =========================================================== */
/* ==================== RECOMMEND PRODUCT ==================== */
/* =========================================================== */

/* ----- text banner ----- */

.recommend-product-text-banner-item {
    margin: 0 !important;
}
.recommend-product-text-banner-container {
    flex-direction: column-reverse;
    padding: 30px 0 !important;
}
.recommend-product-text-banner-item[class*="format-width-half-"]>.container>.recommend-product-text-banner-container {
    width: 100%;
}
.recommend-product-text-banner-item .img-on-banner-group {
    position: relative;
}

/* =========================================================== */
/* =========================== BLOGS ========================= */
/* =========================================================== */

#blog-text-banner-slide:before {
    position: absolute;
    content: "";
    width: 100%;
    height: 500px;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom,rgba(0,0,0,0),rgba(0,0,0,0.95));
}
#blog-text-banner-slide .blog-text-banner-item {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    right: 0;
    height: auto !important;
}
#blog-text-banner-slide .blog-text-banner-container {
    width: 100%;
    padding: 0 0 60px 0 !important;
    text-align: center;
}
#blog-text-banner-slide .blog-text-banner-container ul.slot-text-group.wrap,
#blog-text-banner-slide .blog-text-banner-container .btn-group {
    justify-content: center;
}
#blog-text-banner-slide .blog-text-banner-container .btn-row {
    display: none !important;
}

/* =========================================================== */
/* ===================== NEWS AND EVENTS ===================== */
/* =========================================================== */

.card-block-row.hl-news {
    display: block !important;
}
.card-block.hl-news {
    width: 100%;
}
.card-block.hl-news+.card-block.hl-news {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0,0,0,0.05);
}
.card-block.hl-news>.inside>.card-detail {
    position: relative;
    padding: 0;
    margin: 0;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
}
.card-block.hl-news>.inside {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    background: none !important;
}
.card-block.hl-news>.inside>.card-detail .icon-arrow {
    display: none !important;
}
.card-block.hl-news>.inside>.card-detail .post-status-detail {
    padding: 0 0 5px 0 !important;
    margin: 0 !important;
}

}

/* sm */
@media (min-width: 576px) and (max-width: 767.98px) {

/* =========================================================== */
/* ======================= NEW PRODUCT ======================= */
/* =========================================================== */

#new-product-section-home {
    padding: 40px 0 30px 0;
}
#highlight-banner-section-home + #new-product-section-home {
    padding-top: 20px;
}

/* =========================================================== */
/* ==================== RECOMMEND PRODUCT ==================== */
/* =========================================================== */

#recommend-product-section-home {
    padding: 30px 0;
}

/* ----- text banner ----- */

.recommend-product-text-banner-item .img-on-banner-group>.img-product {
    width: 300px;
    height: 300px;
}
.recommend-product-text-banner-item .main-title {
    font-size: 25px;
    line-height: 40px;
}
.recommend-product-text-banner-item .text-on-banner-group>.content-row + .btn-row {
    margin-top: 20px;
}
/* =========================================================== */
/* ====================== CATEGORY USAGE ===================== */
/* =========================================================== */

.category-usage-item > .category-usage-item-detail .category-usage-item-title.en {
    font-size: 22px;
    line-height: 25px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.category-usage-item > .category-usage-item-detail .category-usage-item-title.th {
    font-size: 15px;
    line-height: 25px;
}
.category-usage-item > .category-usage-item-detail .category-usage-item-btn {
    display: none !important;
}

/* =========================================================== */
/* ========================= BRANDS ========================== */
/* =========================================================== */

#brands-logo-section {
    padding: 20px 0 !important;
}

/* =========================================================== */
/* ===================== NEWS AND EVENTS ===================== */
/* =========================================================== */

.hl-news-row {
    margin-top: 15px;
}
.card-block.hl-news>.inside>.card-cover {
    width: 130px;
}
.card-block.hl-news>.inside>.card-detail {
    width: calc(100% - 130px) !important;
    padding: 5px 0 5px 20px !important;
}
.card-block.hl-news>.inside>.card-detail .title {
    font-size: 15px !important;
    line-height: 25px !important;
    max-height: 50px !important;
}
.card-block.hl-news>.inside>.card-detail .description  {
    font-size: 13px !important;
    line-height: 22px !important;
    max-height: 44px !important;
    margin-top: 3px;
}

}

/* xs */
@media (max-width: 575.98px) {

/* =========================================================== */
/* ==================== HIGHLIGHT SLIDE ====================== */
/* =========================================================== */

.card-hl-banner-slide {
    padding-bottom: 0;
}
.card-hl-banner-item {
    width: 345px;
    max-width: 100%;
}

/* =========================================================== */
/* ======================= NEW PRODUCT ======================= */
/* =========================================================== */

#new-product-section-home {
    padding: 10px 0 20px 0;
}
#highlight-banner-section-home + #new-product-section-home {
    padding-top: 30px;
}

/* =========================================================== */
/* ==================== RECOMMEND PRODUCT ==================== */
/* =========================================================== */

#recommend-product-section-home {
    padding: 40px 0 20px 0;
}


/* ----- text banner ----- */

#recommend-product-text-banner-slide {
    height: 100% !important;
}
.recommend-product-text-banner-item .img-on-banner-group>.img-product {
    width: 180px;
    height: 180px;
}
.recommend-product-text-banner-item .main-title {
    font-size: 20px;
    line-height: 30px;
}
.recommend-product-text-banner-item .text-on-banner-group>.content-row + .btn-row {
    margin-top: 10px;
}

/* =========================================================== */
/* ====================== CATEGORY USAGE ===================== */
/* =========================================================== */

#category-usage-slide {
    margin-top: 20px;
}
.category-usage-item {
    border-radius: 10px;
}
.category-usage-item > .category-usage-item-detail .category-usage-item-title.en {
    font-size: 20px;
    line-height: 25px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.category-usage-item > .category-usage-item-detail .category-usage-item-title.th {
    font-size: 12px;
    line-height: 20px;
}
.category-usage-item > .category-usage-item-detail .category-usage-item-btn {
    display: none !important;
}

/* =========================================================== */
/* ======================== BRANDS =========================== */
/* =========================================================== */

#brands-logo-section {
    padding: 20px 0 !important;
}

/* =========================================================== */
/* ========================== BLOGS ========================== */
/* =========================================================== */

#blog-banner-section-home {
    /* margin-bottom: 80px !important; */
}
#blog-text-banner-slide {
    /* height: 80px !important;
    top: auto !important;
    bottom: -80px !important; */
    height: 200px !important;
    top: auto !important;
    bottom: 0 !important;
}
#blog-text-banner-slide:before {
    height: 100%;
}
/* #blog-text-banner-slide .splide-pagination {
    justify-content: flex-start;
    padding: 0 30px !important;
} */
#blog-text-banner-slide .blog-text-banner-item > .container {
    padding: 0 !important;
}
#blog-text-banner-slide .blog-text-banner-container {
    width: 100%;
    /* background-color: rgba(0,0,0,1) !important; */
    padding: 0 30px 50px 30px !important;
}
#blog-text-banner-slide .blog-text-banner-container .description,
#blog-text-banner-slide .blog-text-banner-container .btn-row {
    display: none !important;
}
#blog-text-banner-slide .blog-text-banner-container .sub-title {
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 25px !important;
    max-height: 25px;
}
#blog-text-banner-slide .blog-text-banner-container .description + .post-status-detail {
    margin-top: 0;
}


/* =========================================================== */
/* ===================== NEWS AND EVENTS ===================== */
/* =========================================================== */

.hl-news-row {
    margin-top: 15px;
}
.card-block.hl-news>.inside>.card-cover {
    width: 120px;
}
.card-block.hl-news>.inside>.card-detail {
    width: calc(100% - 120px) !important;
    padding: 7px 0 7px 15px !important;
}
.card-block.hl-news>.inside>.card-detail .title {
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 22px !important;
    max-height: 44px !important;
}
.card-block.hl-news>.inside>.card-detail .description  {
    font-size: 12px !important;
    line-height: 20px !important;
    max-height: 40px !important;
    margin-top: 3px;
}

/* =========================================================== */
/* ===================== PRODUCT CATEGORY ==================== */
/* =========================================================== */

#menu-product-category-section-home {
    background-color: rgba(0,0,0,1) !important;
    padding: 50px 0 50px 0 !important;
}
#menu-product-category-section-home #menu-product-category-section,
#menu-product-category-section-home .menu-product-category {
    background: none !important;
    padding: 0 !important;
}
#menu-product-category-section-home .menu-product-category {
    color: rgba(255,255,255,1) !important;
    height: auto !important;
}
#menu-product-category-section-home #menu-product-category-section {
    padding-top: 20px;
}
#menu-product-category-section-home .menu-product-category .img-product-category {
    margin: 0 auto 10px auto;
}

}

/* xs custom */
@media (max-width: 399.98px) {}
