/*  */
/* Header */
@media (min-width: 1440px) {
    .header-wrapper {
        /* padding: 0 3% !important; */
    }
    
}

/*  */
.section-product-line .box.skin-care-box .box-text-inner {
    width: 50%;
}
.section-product-line .box.skin-care-box .text {
    margin-bottom: 20px;
}
.section-product-line .box.skin-care-box .col-inner img {
    box-shadow: 0 2px 3px hsl(0deg 0% 0% / 35%);
}
.section-product-line .box.skin-care-box .col-inner p {
    margin-bottom: 8px;
}
.section-product-line .product-line-title .box {
    display: flex;
    justify-content: center;
    align-items: center;
}
.section-product-line .product-line-title .box .box-image {
    margin: 0;
}
.section-product-line .product-line-title p {
    margin-bottom: 0;
    font-size: 18px;
}
.section-product-line .product-line-title .box-text {
    text-transform: capitalize;
    padding: 0 0 0 20px;
    width: fit-content;
    margin: 0;
}

.section.parentBlog-banner .row {
    position: relative;
}
.parentBlog-banner .col.breadcrumb {
    position: absolute;
    top: 5%;
    left: 5%;
    z-index: 99;
}
.parentBlog-banner .text-box-content .text {
    text-transform: uppercase;
}

.section.new-feed .new-feed-row {
    background: #9CAE88;
    align-items: center;
}
.section.new-feed .new-feed-row .col.new-feed-item {
    padding: 0 3% 0 5% !important;
}
.new-feed-row .col.post-item .box {
    display: flex;
    align-items: center;
}
.col.new-feed-item {
    padding-left: 5%;
}
.new-feed-row .col.post-item .box .box-image {
    min-width: 39%;
}
.new-feed-row .col.post-item .box .box-text {
    background: #fff;
    padding: 10px 20px;
}
.new-feed-row .col.post-item .box .box-text .cat-label {
    font-size: 14px;
    color: #9CAE88;
    opacity: 1;
    text-transform: none;
    border-bottom: 1px solid;
    width: fit-content;
    line-height: normal;
}
.custom-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.col.post-item .box .box-text .post-title a {
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box;
}
.col.post-item .box .box-text .is-divider {
    display: none;
}
.col.post-item .box .box-text p.from_the_blog_excerpt {
    font-size: 15px;
    line-height: normal;
    margin-top: 14px;
}
.row-full-width .col.post-item .col-inner {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/*  */
.magazinePage .container {
    max-width: 1440px;
}
.magazinePage-category ul {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 20px;
    width: 100%;
    margin: 40px 0 20px !important;
}
.magazinePage-category ul li {
    list-style: none;
}
.magazinePage-category ul li a {
    background: rgba(217, 217, 217, 0.3);
    padding: 7px 25px;
    border-radius: 5px;
    color: #9CAE88;
    font-size: 20px;
    font-weight: 600;
}
.magazinePage-category ul li a:hover {
    text-decoration: underline;
    background: #9CAE88;
    color: #000;
}

.row.list-categories .grid-posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin: 0 !important;
}
.new-label {
    color: #CD2229;
    font-size: 14px;
    background: #D9D9D9;
    width: fit-content;
    padding: 0 10px;
    border-radius: 3px;
    font-weight: 500;
    animation: blink 1s infinite alternate;
}
@keyframes blink {
    0% { opacity: 1; }
    100% { opacity: 0.6; }
}

.row.list-categories .category-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 15px 0 10px;
}
.row.list-categories .category-title .title {
    max-width: 70%;
    font-size: 26px;
    text-transform: uppercase;
    padding-left: 15px;
    position: relative;
}
.row.list-categories .category-title .title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: #9CAE88;
}
.item-category a {
    width: fit-content;
    text-align: right;
    background: #9CAE88;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    text-decoration: underline;
    padding: 5px 20px 8px;
    border-radius: 5px;
}
.item-category a:hover {
    color: #000;
}

.row.list-categories .grid-posts .post-inner .entry-thumb a {
    display: block;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-bottom: 1px solid #ddd;
}
.row.list-categories .grid-posts .post-inner .entry-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    background: #f4f4f4;
}
.row.list-categories .grid-posts .post-inner .entry-content {
    background: #F4F4F4;
    padding: 5px 20px 20px;
    overflow-y: auto;
}
.entry-cat {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin: 0 0 10px 0;
    gap: 10px;
}
.entry-cat .cate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}
.entry-cat .cate a {
    font-size: 14px;
    color: #9CAE88;
    font-weight: 500;
    text-decoration: underline;
}
.row.list-categories .grid-posts .post-inner .entry-content::-webkit-scrollbar-track {
	-webkit-box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.3);
	background-color: #F5F5F5;
	border-radius: 10px;
}
.row.list-categories .grid-posts .post-inner .entry-content::-webkit-scrollbar {
	width: 4px;
	background-color: #F5F5F5; 
}
.row.list-categories .grid-posts .post-inner .entry-content::-webkit-scrollbar-thumb {
	background-color: #807d7d;
	border-radius: 4px;
}
.entry-content .entry-title {
    line-height: normal;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box;
    min-height: 52px;
    font-size: 18px;
}

/* Category */
.custom-archivePage {
    margin-top: -30px;
}
.category-newFeed {
    padding: 5% 0;
    position: relative;
}
.category-newFeed::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 75%;
    height: 100%;
    background-color: #9CAE88;
}
.category-newFeed::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 25%;
    height: 100%;
    background-color: rgba(156, 174, 136, 0.15);
}
.category-newFeed .row-items {
    max-width: 1220px;
    margin: 0 auto;
    position: relative;
    z-index: 9;
    display: flex;
    align-items: center;
    gap: 60px;
}
.newFeed-box-left .rank-math-breadcrumb a:hover {
    color: #fff;
}
.newFeed-box-left .heading {
    text-transform: uppercase;
}
.newFeed-box-left .heading h2.magazine-title {
    font-size: 46px;
    color: #fff;
    margin: 5% 0 5px;
}
.newFeed-box-left .heading h1.category-title {
    font-size: 36px;
    font-weight: 500;
    font-style: italic;
}
.newFeed-box-left {
    width: 70%;
}
.newFeed-box-left .newFeed-item {
    display: flex;
    align-items: center;
    background-color: #fff;
}
.newFeed-box-left .newFeed-item .box-image {
    max-width: 35%;
    max-height: 190px;
}
.newFeed-box-left .newFeed-item  .box-content {
    padding: 0 20px;
}
.newFeed-box-right {
    width: 40%;
}
.newFeed-box-right img {
    width: 100%;
}
.newFeed-box-left .newFeed-item  .box-content .title a {
    line-height: normal;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box;
    font-size: 20px;
    text-transform: uppercase;
}

.custom-archivePage .archive-description {
    position: relative;
    width: fit-content;
    max-width: 1200px;
    margin: 40px auto;
    padding-left: 80px;
}
.custom-archivePage .archive-description::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background-image: url(../../../assets/img/531.png);
    width: 60px;
    height: 60px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.custom-archivePage .archive-description h2,
.custom-archivePage .archive-description h3,
.custom-archivePage .archive-description h4,
.custom-archivePage .archive-description h5 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 0px;
}
.custom-archivePage .archive-description p {
    font-size: 16px;
}

.poster-image img {
    height: 420px !important;
    margin: 0 !important;
}
.grid-item .box-content {
    background: #f4f4f4;
    padding: 10px 20px 15px;
}

/* Detail */
.entry-content.single-page.custom-postDetail {
    max-width: 1200px;
    margin: 0 auto;
}
body.single.single-post .blog-wrapper.blog-single .rank-math-breadcrumb {
    max-width: 1200px;
    margin: 0 auto 25px;
    font-size: 95%;
}

.custom-postDetail .relatedpost .post-inner .entry-thumb img {
    height: 250px;
    width: 100%;
    object-fit: cover;
}
.custom-postDetail .relatedpost .post-inner .entry-content {
    background: #f4f4f4;
    padding: 15px 20px;
}

.related-products-footer {
    display: none; 
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #9CAE88;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 1440px;
}
.related-products-footer .box-text.box-text-products {
    display: none;
}
.related-products-footer ul.products-itemFooter {
    display: flex;
    margin: 0;
}
.related-products-footer .box-image a {
    width: 90px;
    height: 90px;
}
.related-products-footer .product-small.box .wishlist-icon,
.related-products-footer .callout.badge.badge-frame,
.related-products-footer .custom-product-labels {
    display: none;
}
.related-products-footer .product-small {
    margin-bottom: 0;
    padding: 0 5px;
}
.related-products-footer .image-tools.grid-tools.text-center.hide-for-small.bottom.hover-slide-in.show-on-hover {
    position: absolute;
    top: 0;
    bottom: 100%;
}
.related-products-footer a.quick-view.quick-view-added {
    background: transparent !important;
    font-size: 0;
}
.related-products-footer h3.title-head {
    text-transform: uppercase;
    margin-bottom: 0;
    padding-left: 50px;
}

.related-products-footer ul.products-itemFooter .product-more {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 20px;
    z-index: 9;
    font-size: 22px;
    font-weight: bold;
    width: 90px;
    height: 90px;
    line-height: 90px;
    text-align: center;
}
.related-products-footer ul.products-itemFooter .product-more a {
    color: #fff;
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
    background: rgba(0, 0, 0, 0.15);
}
.grid-item.poster-image p.has-block {
    margin-bottom: 0;
}
  

  



/* ---- Responsive ----- */
@media (max-width: 1366px) {
    .new-feed-row .col.post-item .box .box-image {
        min-width: 47%;
    }
    .section-product-line .row.skin-care-box-right .box-image img {
        width: 128px;
        height: 128px;
    }
    .related-products-footer {
        width: 100%;
    }
    .related-products-footer h3.title-head {
        padding-left: 20px;
    }
}

@media (max-width: 1024px) {
    .new-feed-row .col.post-item .box .box-image {
        min-width: unset;
        width: 100%;
    }
    .section-product-line .box.skin-care-box .box-text-inner {
        width: 100%;
    }
    .section-product-line .row.skin-care-box-right .box-image img {
        width: 90px;
        height: 90px;
    }
    .section-product-line .row.skin-care-box-right .box-text .text h4 {
        font-size: 14px;
    }
    .box.skin-care-box .box-image {
        height: 100%;
    }
    .box.skin-care-box .box-image .image-zoom {
        height: 100%;
    }
    .row.row-collapse .col-inner,
    .box.skin-care-box {
        height: 100%;
    }

    .magazinePage {
        padding: 0 10px;
    }
    .magazinePage-category ul {
        margin: 25px 0 !important;
        display: block;
    }
    .magazinePage-category ul li {
        display: inline-block;
    }
    .magazinePage-category ul li a {
        padding: 5px 10px;
        font-size: 15px;
    }
    .row.list-categories .category-title .title {
        font-size: 22px;
    }
    .row.list-categories .grid-posts .post-inner .entry-thumb a {
        height: 160px;
    }
    .entry-description {
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        display: -webkit-box;
    }

    .newFeed-box-left .heading h2.magazine-title {
        font-size: 36px;
        margin: 0;
    }
    .category-newFeed {
        padding: 3% 15px;
    }
    .newFeed-box-left .heading h1.category-title {
        font-size: 26px;
    }
    .custom-archivePage .archive-description h2, .custom-archivePage .archive-description h3, .custom-archivePage .archive-description h4, .custom-archivePage .archive-description h5 {
        font-size: 20px;
    }
    .custom-archivePage .archive-description p {
        font-size: 14px;
    }
    .custom-archivePage .grid-posts {
        padding: 0 15px !important;
        gap: 15px;
    }
    .newFeed-box-left .newFeed-item .box-content .title a {
        font-size: 16px;
    }
    .newFeed-box-left .newFeed-item .box-image {
        max-width: unset;
        width: 40%;
    }
    .newFeed-box-left .newFeed-item .box-content {
        padding: 0 15px;
        width: 60%;
    }
    .box-content .description {
        font-size: 15px;
        line-height: normal;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        display: -webkit-box;
    }

    .page-wrapper {
        padding: 20px 15px !important;
    }
    .custom-postDetail .relatedpost .title-head, .related-products h3.title-head {
        font-size: 22px;
    }

    .magazinePage-category ul {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; 
        gap: 10px; 
        padding: 10px 0;
        scrollbar-width: none; 
        margin: 15px 0 !important;
    }
    
    .magazinePage-category ul::-webkit-scrollbar {
        display: none; 
    }
    
    .magazinePage-category ul li {
        flex: 0 0 auto; 
        white-space: nowrap; 
    }
      



}


@media (max-width: 767px) {
    .new-feed-row .col.post-item .box {
        display: block;
        width: 105%;
    }
    .section.new-feed .new-feed-row {
        padding-top: 20px;
    }
    .section.new-feed .new-feed-row .col.new-feed-item {
        padding: 0 2% 0 5% !important;
    }
    .section-product-line .product-line-title .box {
        display: block; 
    }
    .section-product-line .product-line-title .box .box-image {
        width: 60px !important;
        margin: 20px auto 5px;
    }
    .section-product-line .product-line-title .box .box-text h4 {
        font-size: 20px;
        text-align: center;
        line-height: normal;
        margin-bottom: 10px;
    }
    .section-product-line .product-line-title p {
        font-size: 15px;
        text-align: center;
    }
    .box.skin-care-box .box-text-inner .text h3 {
        margin-bottom: 10px;
    }
    .box.skin-care-box .box-text {
        padding: 20px 15px;
    }
    .row.home-skin-type .row.row-small .small-12 {
        flex-basis: 50%;
        max-width: 50%;
    }
    .box.skin-care-box .col-inner p {
        margin-bottom: 4px !important;
    }

    .magazinePage-category ul li {
        display: inline-block;
        margin-bottom: 5px;
    }
    .magazinePage-category ul li a {
        font-size: 14px;
    }
    .row.list-categories .category-title .title {
        font-size: 16px;
        max-width: fit-content;
        margin-bottom: 0;
    }
    .item-category a {
        font-size: 14px;
        padding: 5px 10px 8px;
    }
    .row.list-categories .grid-posts {
        display: block;
    }
    .row.list-categories .grid-posts .post-inner .entry-thumb a {
        height: 250px;
    }
    .row.list-categories .grid-posts .post-inner {
        margin-bottom: 25px;
    }
    .row.list-categories .grid-posts .post-inner .entry-content {
        padding: 5px 15px 10px;
        height: auto;
    }

    .category-newFeed::before {
        width: 100%;
        height: 70%;
    }
    .category-newFeed .row-items {
        display: block;
    }
    .newFeed-box-left {
        width: 100%;
    }
    .newFeed-box-left .heading h2.magazine-title {
        font-size: 30px;
    }
    .newFeed-box-left .heading h1.category-title {
        font-size: 20px;
    }
    .box-content .description {
        display: none;
    }
    .newFeed-box-right {
        width: 90%;
        margin: 0 auto;
        padding-top: 30px;
    }
    .category-newFeed::after {
        top: unset;
        bottom: 0;
        width: 100%;
    }
    .category-newFeed {
        padding: 3% 15px 6%;
    }
    .custom-archivePage .archive-description {
        display: inline-block;
        width: 100%;
        padding: 0;
        margin: 20px auto 0;
    }
    .custom-archivePage .archive-description::before {
        width: 100%;
    }
    .custom-archivePage .archive-description h2, .custom-archivePage .archive-description h3, .custom-archivePage .archive-description h4, .custom-archivePage .archive-description h5 {
        font-size: 18px;
        line-height: normal;
        margin-top: 70px;
        padding: 0 15px;
    }
    .custom-archivePage .archive-description p {
        padding: 0 15px;
        line-height: normal;
    }
    .custom-archivePage .grid-posts {
        grid-template-columns: repeat(1, 1fr);
        padding: 0 !important;
    }
    .grid-posts > * {
        margin-bottom: 15px;
    }
    .related-products-footer h3.title-head {
        padding-left: 15px;
        font-size: 14px;
    }
    .col.post-item .box .box-text .post-title a {
        font-size: 16px;
    }
    .custom-postDetail .session-1 .session-content .title {
        font-size: 18px;
        line-height: normal;
    }
    .newFeed-box-left .newFeed-item .box-content .title a {
        font-size: 14px;
    }
    .new-label {
        font-size: 12px;
        padding: 0 5px;
    }
    .newFeed-box-left .newFeed-item .box-content {
        padding: 0 10px;
    }
    

}