/*
Theme Name: cosmetic
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

@font-face {
    font-family: 'Google Sans';
    src: url('fonts/GoogleSans-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Google Sans';
    src: url('fonts/GoogleSans-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Google Sans';
    src: url('fonts/GoogleSans-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Fz JHW Monoline Signature';
    src: url('fonts/Fz-JHW-Monoline-Signature.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Fz Photograph';
    src: url('fonts/Fz-Photograph.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Fz Ruthligos';
    src: url('fonts/Fz-Ruthligos.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Fz Yustine Signature';
    src: url('fonts/Fz-Yustine-Signature.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nunito';
    src: url('fonts/Nunito-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nunito';
    src: url('fonts/Nunito-Italic-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Nunito', sans-serif !important;
    font-weight: bold
}

body,
html {
    font-family: 'Nunito', sans-serif !important;
    font-weight: normal
}

.header-nav li a,
.nav-top-link,
.header-main .nav > li > a,
.header-bottom .nav > li > a,
.nav-vertical > li > a,
.off-canvas .nav-vertical > li > a,
.mobile-nav a,
.sidebar .widget,
.is-divider,
p, span, a, li, td, th, input, select, textarea, label,
.button, button,
.nav-line-bottom > li > a,
.breadcrumbs,
.breadcrumb-row,
.checkout-breadcrumbs a,
.widget-title,
.product-title,
.cart-item,
.woocommerce,
.shop-page-title,
.category-title,
.section-title,
.badge,
.price {
    font-family: 'Nunito', sans-serif !important;
}

.header-main .nav>li>a {
    line-height: 16px;
    font-size: 16px;
}

.nav-line-bottom>li>a:before {
    background: #e3a24a;
    max-width: 67px;
}

#logo img {
    background: white;
    padding: 10px;
    box-shadow: 0 10px 20px 0 rgb(227 162 74 / 16%);
    border-radius: 6px;
    max-height: 81px;
}

/* .nav-dropdown li:first-child — xem dòng ~1406 (9px) */

.nav-dropdown-default .nav-column li>a:hover {
    color: #e3a24a
}

.nav-dropdown-default .nav-column li>a {
    margin: 0;
    border-bottom: none;
    font-size: 14px;
    padding: 8px 0px;
    color: #737271;
    line-height: 1.38;
    font-weight: normal;
}

.nav-dropdown-default li {
    margin: 0
}

.header-nav-main.nav-left li {
    margin: 0 18px
}

.header-nav-main.nav-right li a {
    color: #E2047F !important;
}

.header-nav-main.nav-right li {
    margin: 0 9px
}

.nav-dropdown .menu-item-has-children>a,
.nav-dropdown .title>a,
.nav-dropdown .nav-dropdown-col>a {
    text-transform: none;
    font-size: 15px !important;
    font-weight: bold;
    color: #645f57;
}

.nav-dropdown.nav-dropdown-default>li>a {
    border-bottom: none;
}

.nav-dropdown.nav-dropdown-default>li>a:hover {
    color: #e3a24a
}

.flickity-page-dots .dot {
    display: inline-block;
    width: 10px;
    height: 10px;
}

.img {
    margin-bottom: 0 !important
}

.stuck .header-main {
    border-bottom: 3px solid #e3a24a;
    background: white
}

.stuck #logo img {
    max-height: 85px !important;
}

.header-wrapper.stuck {
    box-shadow: none
}

.section1 .slider .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    opacity: 1;
    width: 25% !important
}

.nav-line-bottom>li.active>a:before {
    display: None
}

.product-small .product-title a:hover {
    color: #e3a24a;
}

.product-small .price-wrapper .price {
    margin-top: 6px;
    display: flex;
    flex-direction: column;
}

.product-small .price del {
    order: 0
}

.product-small .price ins {
    order: -1
}

.product-small .price del span {
    color: #474747;
    font-weight: bold;
    font-size: 14px;
}

.product-small .box-text {
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
}

.product-small .box-text .title-wrapper {
    order: 1
}

.product-small .box-text .box-excerpt {
    order: 2
}

.product-small .box-text .price-wrapper {
    order: 3
}

.section1 .slider .flickity-slider {
    left: 12.5% !important
}

.section1 .slider .row .col {
    padding: 0 7px 15px
}

.nut-xem-them {
    margin: 0;
    font-weight: 500;
    letter-spacing: 0;
    color: black !important;
    border: 1px solid black !important;
    padding: 1px 10px;
}

.product-category.col .box-image {
    padding: 0 15px 5px 15px
}

.product-category.col .header-title:hover {
    color: #e3a24a
}

.product-category.col .header-title {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
}

.product-category.col:hover .box-image {
    transform: scale(1.06)
}

.section1 .flickity-page-dots {
    bottom: -15px
}

.section2 {
    padding-bottom: 0 !important
}

.section2 .col {
    padding-bottom: 0
}

.product-category.col .box-text {
    padding-bottom: 0
}

.badge-container {
    margin: 10px;
}

.badge-container .badge-inner {
    width: 49px;
    text-align: center;
    border-radius: 4px;
    background-color: #b7273d;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    color: #fff;
}

.badge {
    height: 25px
}

.product-small .price ins bdi {
    color: #e3a24a;
    font-size: 20px
}

.product-small .price del,
.product-small .price ins {
    margin-bottom: 6px;
    display: block;
}

.product-small.box {
    border: solid 1px #e0e0e0;
    border-radius: 6px;
    padding: 10px;
}

.product-small .product-title a {
    font-size: 16px;
    font-weight: bold;
    line-height: 1.38;
    color: #2e2b27;
    text-decoration: none;
}

.product-small .product-title {
    margin-bottom: 10px
}

.product-small .box-excerpt {
    margin-bottom: 10px;
    margin-top: 0;
    font-size: 14px;
    line-height: 1.43;
    color: #2e2b27;
    height: 40px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.product-small .add-to-cart-button a {
    background-image: url(/wp-content/uploads/2022/05/234.png);
    background-color: #E2047F;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    background-position-x: center;
    background-position-y: center;
    background-repeat: no-repeat;
    background-size: 23px;
}

.product-small .add-to-cart-button:hover a {
    background-color: black
}

.product-small .add-to-cart-button {
    position: absolute;
    bottom: 6px;
    right: 0;
    order: 4
}

.section3 .flickity-button {
    margin-top: 0 !important
}

.tabbed-content li a {
    padding: 0 40px;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Nunito', sans-serif;
    color: black;
    line-height: 40px;
    border-bottom: 1px solid #7d7d7d;
}

.tabbed-content li.active a {
    border-bottom: 3px solid #e3a24a;
}

.tab-panels {
    padding-top: 20px;
}

.nut-xem-them2 {
    letter-spacing: 0;
    font-size: 16px;
    line-height: 45px;
    margin-bottom: 0
}

.section5 .large-3 .col-inner {
    min-height: 545px
}

.section5 .cot3 .col-inner {
    background: #fdf7ea url(/wp-content/uploads/2022/05/bg_social.png) no-repeat right center;
}

.section5 .col {
    padding-bottom: 0
}

.section5 {
    padding-bottom: 0 !important
}

.list-post .post-item .box-text {
    background: white;
    padding: 15px 10px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px
}

.list-post .post-item .post-title,
.blog-archive .post-item .post-title {
    text-decoration: none;
    margin-bottom: 10px;
    margin-top: 0;
    font-size: 16px;
    line-height: 1.43;
    color: #2e2b27;
    height: 44px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.box-blog-post .is-divider {
    display: none
}

.list-post .post-item .from_the_blog_excerpt {
    font-size: 14px;
    line-height: 1.43;
    margin-top: 10px;
    margin-bottom: 10px;
}

.list-post .post-item .post-meta {
    font-size: 12px;
    line-height: 1.5;
    color: #8b8b8a;
}

.list-post .post-item .box-image {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px
}

.list-post .post-item .post-title:hover {
    color: #e3a24a
}

.section6 .flickity-prev-next-button {
    margin-top: -50px !important
}

.list-post .post-item {
    padding-bottom: 0 !important
}

.section7 .col {
    padding-bottom: 0
}

.section7 .flickity-prev-next-button {
    top: 24%;
}

.top-footer {
    background: #E2047F;
}

.top-footer .large-3 .large-3 {
    flex-basis: 20%;
    max-width: 20%
}

.top-footer .large-3 .large-3 .img:hover {
    transform: scale(1.04)
}

.form-lien-he .row-info {
    display: inline-block;
    width: 100%;
    clear: both
}

.form-lien-he .row-info .left {
    display: inline-block;
    width: 80%;
    padding-right: 6px;
    float: left
}

.form-lien-he .row-info .right {
    display: inline-block;
    width: 20%;
    padding-left: 6px;
}

form {
    margin-bottom: 0
}

.form-lien-he input[type=email] {
    height: 50px;
    border-radius: 5px;
    background: #ffffff87;
    box-shadow: none;
    border: none;
    margin-bottom: 0
}

.wpcf7-spinner {
    display: none
}

.footer1 .col {
    padding-bottom: 0
}

.footer-secondary {
    padding: 0;
}

.footer1 {
    padding-bottom: 0 !important;
    font-size: 14px;
}

.absolute-footer {
    font-size: 14px;
    color: rgb(0 0 0);
}

.footer1 ul li a:hover {
    text-decoration: underline;
    color: #e3a24a
}

a.back-to-top {
    background: #e3a24a !important;
    color: white !important;
    border: none !important;
}

.footer1 ul {
    font-size: 14px;
    margin-bottom: 0
}

.footer1 ul li {
    list-style: none;
}

.footer1 ul li a {
    color: black;
}

.top-footer .col {
    padding-bottom: 10px
}

.form-lien-he input[type=submit] {
    margin: 0;
    width: 100%;
    background: white;
    color: #e3a24a;
    text-transform: none;
    letter-spacing: 0;
    font-weight: bold;
    height: 50px;
    border-radius: 6px;
}

.title-block {
    margin-bottom: 25px;
    background: #E2047F;
    width: 100%;
    padding: 12px 30px;
    text-align: center;
}

.page-wrapper {
    padding-top: 0;
    padding-bottom: 0;
}

.title-block ul {
    max-width: 1400px;
    margin: 0 auto;
}

.title-block ul li {
    margin-bottom: 0;
    list-style: none;
    display: inline-block;
}

.title-block ul li a:hover {
    color: black;
}

.blog-archive h1.page-title {
    line-height: 25px;
    margin: 0;
    letter-spacing: 0;
    font-size: 15px;
    font-weight: normal;
    color: white;
}

.title-block ul li a {
    font-size: 15px;
    text-transform: uppercase;
    color: white;
    border-left: 1px solid #fff;
    padding-left: 10px;
    padding-right: 10px;
    line-height: 10px;
}

.title-block ul li:first-child a {
    border-left: none
}

.blog-archive .post-item:first-child {
    flex-basis: 100%;
    max-width: 100%
}

.blog-archive .post-item:first-child .box {
    display: flex;
    width: 100%;
    flex-direction: row;
}

.blog-archive .post-item:first-child .box .box-image {
    width: 50%;
}

.blog-archive .post-item:first-child .post-title {
    font-size: 32px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.25;
    letter-spacing: normal;
    color: #2e2b27;
    text-decoration: none;
    margin-bottom: 10px;
}

.blog-archive .post-item:first-child .from_the_blog_excerpt {
    font-size: 16px
}

.blog-archive .post-item .box-text {
    border: 1px solid #dedede;
    padding: 13px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.blog-archive .post-item .post-title:hover {
    color: #e3a24a
}

.nav-pagination li a {
    border: 1px solid #ababab
}

.blog-archive .post-item:hover img {
    transform: scale(1.1)
}

.blog-single .entry-title {
    font-size: 32px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.14;
    letter-spacing: normal;
    color: #2e2b27;
}

.is-divider {
    display: none
}

.blog-archive .post-item .from_the_blog_excerpt {
    max-height: 123px;
    overflow: hidden;
    font-size: 14px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.5;
    letter-spacing: normal;
    color: #2e2b27;
    margin-top: 15px;
}

.blog-archive .post-item .post-meta {
    font-size: 12px;
    margin-top: 10px;
}

.blog-archive .post-item:first-child .post-meta {
    font-size: 14px;
    margin-top: 10px;
}

.blog-archive .post-item .post-title {
    font-size: 16px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.38;
    letter-spacing: normal;
    color: #2e2b27;
    text-decoration: none;
}

.blog-archive .post-item:first-child .box .box-text {
    width: 50%;
    padding: 25px;
    background: #fdf7ea
}

.entry-header-text {
    padding: 0;
}

.xem-them .tieu-de-xem-them {
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
    font-size: 25px;
    color: black;
}

.xem-them ul li {
    margin-bottom: 3px;
}

.xem-them ul li a {
    font-weight: 700;
    font-size: 16px;
    color: black
}

.xem-them ul li a:hover {
    text-decoration: underline;
}

.danh-muc {
    margin-bottom: 15px;
}

.danh-muc span.title,
.the-tim-kiem span.title {
    border-radius: 4px;
    background: #e3a24a;
    padding: 4px 10px;
    color: white;
    margin-right: 5px;
}

.danh-muc a,
.the-tim-kiem a {
    line-height: 32px;
    border-radius: 4px;
    margin-bottom: 10px;
    padding: 4px 10px;
    background: #dedede;
    color: #464646;
}

.danh-muc a:hover,
.the-tim-kiem a:hover {
    background: #000000;
    color: white;
}

.bai-viet-lien-quan {
    margin-top: 15px;
}

.bai-viet-lien-quan h3 {
    font-size: 25px;
    color: black;
}

.bai-viet-lien-quan ul {
    margin-bottom: 0;
    display: inline-block;
    width: 100%;
}

.bai-viet-lien-quan ul li {
    list-style: none;
    width: 33.33%;
    color: graytext;
    float: left;
    padding-left: 4px;
    padding-right: 5px;
}

.bai-viet-lien-quan ul li .box-image img {
    height: 200px;
    border-radius: 0;
    object-fit: cover;
    object-position: center;
}

.bai-viet-lien-quan h4 {
    font-size: 16px;
    color: black;
    line-height: 19px;
    padding-top: 7px;
    height: 46px;
    overflow: hidden;
}

.blog-single .blog-share {
    text-align: left
}

.blog-single .entry-meta {
    font-size: 15px;
    color: #777;
    letter-spacing: 0;
    text-transform: none;
}

.bai-viet-lien-quan h4:hover {
    color: #e3a24a
}

.blog-single .large-3 {
    padding-left: 0
}

.entry-content h2,
.page-right-sidebar .page-inner h2 {
    font-size: 23px
}

.entry-content h3,
.page-right-sidebar .page-inner h3 {
    font-size: 22px
}

.entry-content h4,
.page-right-sidebar .page-inner h4 {
    font-size: 21px
}

.entry-content h5,
.page-right-sidebar .page-inner h5 {
    font-size: 20px
}

.blog-single .entry-content p {
    text-align: justify;
    font-size: 16px
}

span.widget-title {
    font-size: 20px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.1;
    letter-spacing: normal;
    text-transform: uppercase;
    color: #e3a24a;
    display: block;
    margin-bottom: 15px;
}

.widget_categories ul li {
    background-image: url(/wp-content/uploads/2022/05/d_pro_arrow.png);
    background-repeat: no-repeat;
    background-size: 8px;
    background-position-y: center;
    padding-left: 15px;
}

.recent-blog-posts a {
    font-weight: 600
}

.flatsome_recent_posts .badge {
    height: 54px;
    width: 4.8em;
}

.widget img {
    width: 100%
}

.lien-he-1 .col {
    padding-bottom: 0
}

.lien-he-1 {
    background: linear-gradient(110deg, #cc0f6f 0%, #ea268c 45%, #f58cc3 100%);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.he-thong-1 {
    background-image: url(/wp-content/uploads/2022/05/Bannerweb_1920x251_C.png);
    background-repeat: no-repeat;
    background-position-x: center
}

.he-thong-2 .icon-box img {
    background: #fff1d6;
    padding: 10px;
    border-radius: 99%;
}

.he-thong-2 .icon-box h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 0;
}

.he-thong-2 .icon-box {
    margin-bottom: 20px;
    border: 1px solid #e3e3e3;
    padding: 15px 10px;
    border-radius: 5px;
}

.he-thong-2 .icon-box:hover h3 {
    color: #e3a24a
}

.lien-he-2 .icon-box svg {
    background: #fdf7ea;
    color: #e3a24a;
    padding: 10px;
    border-radius: 99%;
}

.lien-he-2 .icon-box {
    margin-bottom: 10px
}

.lien-he-2 .icon-box h3 {
    font-size: 18px;
    padding-top: 8px
}

.gui-lien-he {
    background: rgb(253, 247, 234);
    padding: 30px;
    border-radius: 10px;
}

.gui-lien-he h3 {
    font-size: 28px;
    text-align: center;
    text-transform: uppercase;
}

.gui-lien-he .box-form {
    background: #fff;
    border-radius: 10px;
    padding: 20px
}

.gui-lien-he input[type=submit] {
    margin: 0;
    background: #b81010;
}

.gui-lien-he input,
.gui-lien-he textarea {
    border-radius: 4px;
    box-shadow: none;
    font-size: 14px;
}

.widget_categories ul li a {
    padding: 10px 0;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 500;
}

.he-thong-2 .icon-box .icon-box-text {
    font-weight: normal
}

blockquote ul li {
    font-size: 16px;
    font-style: normal;
}

.woof_redraw_zone {
    width: 100%;
    display: inline-block;
    clear: both
}

.woof_redraw_zone div {
    margin-right: 5px;
    margin-bottom: 0;
    display: inline-block;
    float: left;
    clear: initial;
}

.woof_redraw_zone .button {
    background: none;
    color: black;
    border: none;
    text-transform: none;
    letter-spacing: 0;
    line-height: 0;
    padding-left: 10px;
    min-height: 16px;
    padding-right: 5px;
    margin-right: 0;
    margin-bottom: 0;
}

.chosen-container-single .chosen-single {
    border: none;
    box-shadow: none;
    background: white;
    border-bottom: 2px solid gray;
    border-radius: 0;
    height: 38px !important;
    line-height: 34px !important;
}

.woof_container_overlay_item {
    padding: 0
}

.WOOF_Widget .widget,
.WOOF_Widget {
    margin-bottom: 0px
}

.woof_products_top_panel li span {
    font-size: 15px
}

.woocommerce-result-count {
    display: none
}

.category-page-row {
    padding-top: 0;
}

.woocommerce-ordering select {
    border: none;
    background: white;
    border-bottom: 2px solid gray;
    box-shadow: none;
    font-size: 15px;
}

.page-title-inner {
    padding-top: 0;
}

.archive .shop-container {
    margin-top: 15px
}

.archive h1.shop-page-title {
    margin-bottom: 10px
}

.danh-muc-sp {
    padding: 25px;
    background: #E2047F
}

.danh-muc-sp ul {
    text-align: center;
    margin-bottom: 0;
    display: inline-block;
    width: 100%;
    clear: both
}

.shop-page-title {
    margin-top: 10px;
}

#shop-sidebar {
    margin-top: 20px
}

.danh-muc-sp ul li {
    margin: 0 10px;
    display: inline-block;
    list-style: none;
}

.danh-muc-sp ul li a {
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0;
    color: white
}

.danh-muc-sp ul li a:hover {
    color: black
}

.sidebar-block .large-12 .col-inner {
    background: #fff9ef;
    padding: 20px;
    border-radius: 5px;
}

.sidebar-block .icon-box .icon-box-text {
    padding: 0 30px;
    font-weight: 500;
    font-size: 16px
}

.sidebar-block .icon-box {
    padding-bottom: 15px;
    border-bottom: 1px dashed #c97d16;
    padding-top: 10px;
}

.sidebar-block .icon-box:last-child {
    border-bottom: none
}

.star-rating span:before {
    color: #f5b735;
}

.product-info .product-title {
    margin-bottom: 5px;
    color: #393939;
    font-size: 35px;
}

.product-main {
    padding: 20px 0;
}

.devvn_single_price .row-info {
    display: inline-block;
    width: 100%;
    clear: both
}

.devvn_single_price .row-info .left {
    display: inline-block;
    float: left;
    margin-right: 10px
}

.devvn_single_price .row-info .right {
    display: inline-block;
    float: left
}

.devvn_single_price .row-info .left bdi {
    font-size: 32px;
    color: #e3a24a;
}

.devvn_single_price .row-info .right {
    font-size: 15px;
}

.devvn_single_price .gia-km,
.devvn_single_price .gia-km span.amount {
    color: #cb1515 !important
}

.d_pro_info_dt {
    margin-top: 45px;
    border: 1px solid #f8c868;
    border-radius: 5px;
    padding: 0 20px 0px 20px;
    margin-bottom: 20px;
}

.d_pro_info_dt .info_dt_ttl {
    margin-top: -16px;
}

.d_pro_info_dt .info_dt_ttl span {
    border-radius: 3px;
    background-color: #f8c868;
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: center;
    color: #fff;
    line-height: 32px;
    padding: 0 23px;
}

.d_pro_info_dt ul li {
    background: url(/wp-content/uploads/2022/05/d_pro_arrow.png) no-repeat 0 6px;
    background-size: 7px;
    list-style: none;
    margin-left: 0;
    padding: 0 0 0 20px;
    font-size: 16px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    letter-spacing: normal;
    text-align: left;
    color: #2e2b27;
    margin-top: 12px;
}

.product-summary .quantity {
    margin-bottom: 0;
    font-size: 21px;
}

.product_meta>span {
    display: block;
    border-top: 0;
    padding: 0;
    font-size: 15px;
}

.product-footer .woocommerce-tabs {
    padding: 10px 0;
    border-top: 0;
}

.single-product .tabbed-content li a {
    padding: 0 40px;
    font-size: 16px;
    font-weight: bold;
    font-family: 'Nunito', sans-serif;
    color: black;
    line-height: 40px;
    border-bottom: none;
    background: #f6f6f6;
    font-size: 16px;
    border: none;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    padding: 4px 59px;
}

.d_pro_info_dt ul {
    margin-bottom: 0
}

.single_add_to_cart_button {
    padding: 6px 20px;
    border-radius: 5px;
    font-size: 17px;
}

.buy_now_button {
    padding: 6px 20px;
    border-radius: 5px;
    background: #be0000;
    margin-left: 15px
}

.single-product .tabbed-content li.active a {
    background: #c97d16;
    color: white
}

.single-product .tabbed-content .tabs {
    border-bottom: 3px solid #c97d16;
}

.tabbed-content .nav-tabs>li {
    margin: 0 7px;
    margin-bottom: 0;
}

.nav-tabs+.tab-panels {
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px
}

.product-section {
    border-top: 0;
}

.related h3 {
    text-align: center;
    font-size: 30px;
    letter-spacing: 0;
}

.woocommerce #reviews #comments h2 {
    font-size: 28px;
}

div#reviews.woocommerce-Reviews {
    margin-top: 25px
}

#comments a.btn-reviews-now {
    background-color: #f5b735;
}

span.devvn_num_reviews {
    color: #000000;
    font-size: 15px;
}

.devvn_cmt_input textarea {
    box-shadow: none
}

button#devvn_cmt_submit,
button#devvn_cmt_replysubmit {
    background: #f5b735;
    color: white
}

.woocommerce #review_form #respond p.form-submit input#submit,
.woocommerce #reviews #comments ol.commentlist #respond p.form-submit input#submit {
    background: #f5b735;
}

span.btn-attach {
    color: #ce9319;
}

.devvn_review_bottom .reply a {
    color: #e3a24a;
}

.nav-dropdown li:first-child {
    margin-left: 9px !important
}

/* Title script style */
.titlehome .section-title {
    border-bottom: none;
    margin-bottom: 0;
}

.titlehome .section-title b {
    display: none;
}

.titlehome .section-title-main {
    font-family: 'Fz Yustine Signature', 'Fz Ruthligos', 'Fz Photograph', 'Fz JHW Monoline Signature', cursive !important;
    font-size: 45px;
    font-weight: 400 !important;
    line-height: 1.1;
    letter-spacing: 0;
    text-transform: none !important;
    color: #ea268c;
    padding: 0;
    margin: 0;
    display: block;
    width: 100%;
    text-align: center;
}


@media only screen and (max-width: 48em) {

    /*************** ADD MOBILE ONLY CSS HERE  ***************/
    .bai-viet-lien-quan ul li {
        width: 50%;
    }

    .bai-viet-lien-quan ul li .box-image img {
        height: 90px;
    }

    #logo img {
        max-height: 75px;
    }

    .header-main .icon-menu:before,
    .icon-shopping-bag:before {
        color: #e3a24a;
    }

    .off-canvas-left .mfp-content {
        min-width: 300px;
        background: #e3a24a;
    }

    .off-canvas .nav-vertical>li>a {
        padding-top: 15px;
        padding-bottom: 15px;
        font-family: 'Nunito', sans-serif;
        color: white;
        font-size: 16px;
    }

    .nav-sidebar.nav-vertical>li+li {
        border-top: 1px solid #e3c44a;
    }

    .icon-angle-down:before {
        color: #ffc107;
    }

    .active>ul.sub-menu:not(.nav-dropdown) {
        background: #bf8534;
        padding: 15px 0;
    }

    .nav-vertical li li.menu-item-has-children>a {
        color: #fff;
        text-transform: uppercase;
        font-size: 14px;
        font-weight: 600;
    }

    .off-canvas .nav-vertical li li>a {
        padding-top: 5px;
        padding-bottom: 5px;
        font-size: 15px;
        color: #ffffffbf;
    }

    .product-category.col .box-text {
        padding-top: 0;
    }

    .section1 .img,
    .section6 .img {
        width: 100% !important;
    }

    .section1 .slider .row {
        width: 100% !important;
    }

    .section1 .slider .flickity-slider {
        left: 0 !important;
    }

    .section3 .img,
    .section4 .img {
        width: 50% !important;
    }

    .tabbed-content li a {
        padding: 0 12px;
    }

    .form-lien-he .row-info .right,
    .form-lien-he .row-info .left {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .form-lien-he .row-info .left {
        margin-bottom: 10px;
    }

    .top-footer {
        background-repeat: repeat !important;
    }

    .section3 .tab-panels .row .col {
        flex-basis: 100%;
        max-width: 100%;
    }

    .section5 .large-3 .col-inner {
        min-height: auto;
    }

    .footer1 .col {
        flex-basis: 100%;
        max-width: 100%;
    }

    .footer1 .img {
        width: 59% !important;
        margin: 0 auto;
    }

    .footer1 .col {
        padding-bottom: 15px;
    }

    .footer1 .large-2 {
        flex-basis: 33.33%;
        max-width: 33.33%;
    }

    .footer1 ul li {
        margin-left: 0;
    }

    .danh-muc-sp {
        display: None;
    }

    .header-wrapper {
        box-shadow: 2px 2px 10px #e3a24a30;
    }

    .woocommerce-ordering {
        width: 100%;
        z-index: 9;
    }

    .woof_redraw_zone div {
        margin-right: 5px;
        margin-bottom: 0;
        display: block;
        float: none;
        width: 100%;
    }

    .woof_redraw_zone .button {
        float: left;
        background: #f5b735;
        width: 100%;
        padding: 20px;
        border-radius: 5px;
        color: white;
        text-transform: uppercase;
        font-size: 16px;
    }

    .archive .product-small.col {
        padding: 0 4px 8px;
    }

    .product-small .add-to-cart-button a {
        margin-right: 0;
    }

    .product-small .product-title a {
        line-height: 19px;
    }

    .product-small .price ins bdi {
        font-size: 17px;
    }

    .product-gallery {
        padding-bottom: 20px !important;
    }

    .product-info .product-title {
        color: #393939;
        font-size: 30px;
        line-height: 35px;
        margin-bottom: 15px;
    }

    .d_pro_info_dt ul li {
        margin-top: 7px;
        margin-bottom: 7px;
        font-size: 15px;
    }

    .d_pro_info_dt .info_dt_ttl span {
        font-size: 17px;
    }

    .single_add_to_cart_button {
        float: right;
        padding: 6px 10px;
    }

    .product-info {
        padding-bottom: 0;
    }

    .product-main {
        padding-bottom: 0;
    }

    .nav-tabs+.tab-panels {
        padding: 15px;
    }

    .buy_now_button {
        padding: 6px 20px;
        border-radius: 5px;
        background: #be0000;
        margin-left: 15px;
        width: 100%;
        margin: 0;
        margin-bottom: 15px;
    }

    .section5 .cot2 .col-inner,
    .section5 .cot3 .col-inner {
        padding: 20px !important;
    }

    .section6 .button {
        margin-top: 20px;
    }

    .section1 .nut-xem-them {
        margin-top: 30px;
    }

    .section2 .col {
        padding-bottom: 15px;
    }

    .single-product .tabbed-content li a {
        text-align: center;
    }

    .related h3 {
        font-size: 20px;
    }

    .related .product-small.col {
        padding: 0 5px 10px;
    }

    .woocommerce #reviews #comments h2 {
        font-size: 20px;
    }

    #comments a.btn-reviews-now {
        width: 100%;
    }

    .blog-archive .post-item:first-child .box .box-image {
        width: 100%;
    }

    .blog-archive .post-item:first-child .box {
        display: flex;
        flex-direction: column;
    }

    .blog-archive .post-item:first-child .box .box-text {
        width: 100%;
        padding: 15px;
    }

    .blog-archive .post-item:first-child .post-title {
        font-size: 17px;
    }

    .blog-archive .post-item:first-child .from_the_blog_excerpt {
        font-size: 14px;
    }

    .title-block {
        display: none;
    }

    .blog-single .large-9 {
        padding-top: 30px;
    }

    .blog-single .entry-title {
        font-size: 20px;
    }

    .entry-content h2,
    .page-right-sidebar .page-inner h2 {
        font-size: 19px;
    }

    .entry-content h3,
    .page-right-sidebar .page-inner h3 {
        font-size: 18px;
    }

    .entry-content h4,
    .page-right-sidebar .page-inner h4 {
        font-size: 17px;
    }

    .entry-content h5,
    .page-right-sidebar .page-inner h5 {
        font-size: 16px;
    }

    .xem-them .tieu-de-xem-them,
    .bai-viet-lien-quan h3 {
        font-size: 19px;
    }

    .bai-viet-lien-quan h4 {
        font-size: 15px;
        color: black;
        line-height: 17px;
        padding-top: 7px;
        height: 42px;
        overflow: hidden;
    }

    .blog-single .large-3 {
        padding-left: 15px;
    }

    .titlehome .section-title-main {
        font-size: 46px;
    }

    .he-thong-2 .col {
        padding-bottom: 0;
    }

    .gui-lien-he {
        padding: 15px;
    }

    .gui-lien-he input[type=submit] {
        width: 100%;
    }
}

/* ====== MERRIA PAGES ====== */

.merria-about-page .page-wrapper { padding-top: 0; }
.merria-about-page .title-block { display: none; }
.merria-about-page .row { margin-left: 0; margin-right: 0; }

/* Stats dots background */
.merria-stats-dots {
    position: relative;
}
.merria-stats-dots::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: radial-gradient(circle at 2px 2px, white 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
}

/* ====== MERRIA PRODUCT PAGE ====== */

/* --- RESET: Hide ALL Flatsome/Woo default elements --- */
.merria-product-page { font-family: 'Nunito', sans-serif; color: #1b1c1c; }
.merria-product-page .woocommerce-breadcrumb,
.merria-product-page .page-title,
.merria-product-page .title-block,
.merria-product-page .product-main,
.merria-product-page .product-footer,
.merria-product-page .product-section,
.merria-product-page .product-page-aside,
.merria-product-page .related.products,
.merria-product-page .woocommerce-tabs,
.merria-product-page .up-sells,
.merria-product-page .cross-sells,
.merria-product-page .product_meta,
.merria-product-page .share-icons,
.merria-product-page .product-next-prev-nav { display: none !important; }

/* --- AGGRESSIVE Flatsome wrapper force-overrides --- */
.single-product .page-wrapper,
.single-product .main-content,
.single-product #content,
.single-product #content > .row,
.single-product #content > .row > .col,
.single-product #content > .row > .large-12,
.single-product .product-container,
.single-product .shop-container {
    overflow: visible !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.merria-product-page {
    overflow: visible !important;
    max-width: 100% !important;
    width: 100% !important;
}
/* Remove Flatsome top padding on product pages */
.single-product .page-wrapper { padding-top: 0 !important; }
.single-product .woocommerce-breadcrumb { display: none !important; }

/* --- Full-width sections --- */
.mpp-hero-section,
.mpp-section {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    box-sizing: border-box;
}
.mpp-hero-section .container,
.mpp-section .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* --- Hero Grid --- */
.mpp-hero-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 48px;
    align-items: start;
}

/* --- Gallery --- */
.mpp-gallery__main {
    width: 100%;
    aspect-ratio: 1/1;
    background: #f6f3f2;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(27,28,28,0.04);
    margin-bottom: 16px;
}
.mpp-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.mpp-gallery__main:hover img { transform: scale(1.05); }
.mpp-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.mpp-thumb {
    aspect-ratio: 1/1;
    background: #f6f3f2;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: opacity 0.3s, border-color 0.3s;
    position: relative;
}
.mpp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mpp-thumb:hover { opacity: 0.8; }
.mpp-thumb--active { border-color: #b50065; }
.mpp-thumb--play img { opacity: 0.4; }
.mpp-play-icon {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    font-size: 24px;
    color: #1b1c1c;
}

/* --- Product Info --- */
.mpp-info { position: static; }
.mpp-badge-new {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(253,166,127,0.2);
    color: #773a1b;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.mpp-title {
    font-weight: 800 !important;
    font-size: 1.5rem !important;
    line-height: 1.25 !important;
    color: #1b1c1c !important;
    margin: 0 0 8px !important;
    letter-spacing: -0.02em;
}
.mpp-subtitle {
    color: #71717a;
    font-size: 15px;
    font-weight: 500;
    margin: 0 0 24px;
    line-height: 1.5;
}
.mpp-subtitle p { margin: 0; }

/* --- Price --- */
.mpp-price-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.mpp-price {
    font-size: 1.875rem;
    font-weight: 800;
    color: #e2047f;
}
.mpp-price .woocommerce-Price-amount { color: #e2047f; }
.mpp-price del { display: none; }
.mpp-price-old {
    font-size: 1.25rem;
    color: #a1a1aa;
    text-decoration: line-through;
}
.mpp-discount {
    background: rgba(186,26,26,0.1);
    color: #ba1a1a;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
}

/* --- Store Buttons --- */
.mpp-stores { padding-top: 16px; }
.mpp-stores__label {
    font-weight: 700;
    font-size: 14px;
    color: #1b1c1c;
    margin: 0 0 16px;
}
.mpp-stores__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}
.mpp-store-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: white !important;
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none !important;
    transition: opacity 0.3s, transform 0.15s;
    transform: scale(0.95);
}
.mpp-store-btn:hover {
    opacity: 0.9;
    color: white !important;
    text-decoration: none !important;
}
.mpp-store-btn:active { transform: scale(0.9); }
.mpp-store-btn--shopee { background: #EE4D2D; }
.mpp-store-btn--lazada { background: #00ADED; }
.mpp-store-btn--tiktok {
    background: #000;
    grid-column: span 2;
}

/* --- Add to Cart --- */
.mpp-add-to-cart-wrap { margin-bottom: 24px; }
.mpp-add-to-cart-wrap .cart,
.mpp-add-to-cart-wrap form.cart {
    display: flex !important;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}
.mpp-add-to-cart-wrap .quantity { margin-bottom: 0; }
.mpp-add-to-cart-wrap .quantity .qty {
    border-radius: 8px;
    border: 1px solid #e2bdc7;
    padding: 10px 16px;
    font-size: 15px;
    height: auto;
    width: 70px;
}
.mpp-add-to-cart-wrap .single_add_to_cart_button {
    background: linear-gradient(135deg, #b50065, #e2047f) !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 12px 32px !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    color: white !important;
    flex: 1;
    text-transform: none;
}
.mpp-add-to-cart-wrap .single_add_to_cart_button:hover { opacity: 0.9; }
.mpp-add-to-cart-wrap .buy_now_button {
    background: #1b1c1c !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 12px 32px !important;
    font-weight: 700 !important;
    color: white !important;
    flex: 1;
    margin-left: 0 !important;
}
.mpp-add-to-cart-wrap .buy_now_button:hover { background: #333 !important; }

/* --- USP Box --- */
.mpp-usp-box {
    background: #f6f3f2;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.mpp-usp-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
}

/* --- Tabs --- */
.mpp-tabs-wrapper { max-width: 960px; margin: 0 auto; }
.mpp-tabs {
    display: flex;
    border-bottom: 1px solid rgba(226,189,199,0.3);
    margin-bottom: 48px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.mpp-tabs::-webkit-scrollbar { display: none; }
.mpp-tab {
    padding: 16px 32px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    color: #71717a;
    white-space: nowrap;
    transition: color 0.3s, border-color 0.3s;
    font-family: 'Nunito', sans-serif;
}
.mpp-tab:hover { color: #e2047f; }
.mpp-tab--active {
    color: #e2047f !important;
    border-bottom-color: #e2047f;
    font-weight: 700;
}
.mpp-tab-panel { display: none; }
.mpp-tab-panel--active {
    display: block;
    animation: mppFadeIn 0.4s ease;
}
@keyframes mppFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Description Grid (Tab 0) --- */
.mpp-desc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: max-height 0.5s ease;
}
.mpp-desc-text {
    color: #5a3f48;
    line-height: 1.7;
    font-size: 15px;
}
.mpp-desc-text h2 {
    font-weight: 800 !important;
    font-size: 1.875rem !important;
    line-height: 1.25 !important;
    color: #1b1c1c !important;
    margin: 0 0 16px !important;
}
.mpp-desc-text p {
    color: #5a3f48;
    line-height: 1.7;
    margin: 0 0 16px;
}
.mpp-desc-text ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 16px !important;
}
.mpp-desc-text li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px !important;
    padding: 0 !important;
}
.mpp-desc-text strong { color: #1b1c1c; }
.mpp-desc--collapsed { max-height: 280px; }
.mpp-desc--collapsed::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 80px;
    background: linear-gradient(to bottom, transparent, #f6f3f2);
    pointer-events: none;
    z-index: 20;
}
.mpp-desc-img { position: relative; }
.mpp-desc-img img {
    border-radius: 16px;
    width: 100%;
    box-shadow: 0 20px 50px rgba(27,28,28,0.04);
}
.mpp-readmore-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 2px solid #e2047f;
    color: #e2047f;
    background: none;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    font-family: 'Nunito', sans-serif;
}
.mpp-readmore-btn:hover { background: #e2047f; color: white; }
.mpp-readmore-icon { font-size: 12px; }

/* --- Certifications --- */
.mpp-cert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.mpp-cert-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(27,28,28,0.04);
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}
.mpp-cert-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 60px rgba(27,28,28,0.08);
}
.mpp-cert-img-wrap {
    width: 100%;
    aspect-ratio: 4/3;
    background: #fafafa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* --- FAQ --- */
.mpp-faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.mpp-faq-item {
    border: 1px solid rgba(226,189,199,0.3);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s;
}
.mpp-faq-item--open { border-color: rgba(226,4,127,0.3); }
.mpp-faq-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
    color: #1b1c1c;
    text-align: left;
    transition: background 0.3s;
    font-family: 'Nunito', sans-serif;
    line-height: 1.4;
}
.mpp-faq-trigger:hover { background: #f6f3f2; }
.mpp-faq-icon {
    font-size: 12px;
    color: #888;
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 16px;
}
.mpp-faq-item--open .mpp-faq-icon { transform: rotate(180deg); }
.mpp-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 24px;
    color: #5a3f48;
    line-height: 1.7;
    font-size: 15px;
    background: white;
}
.mpp-faq-item--open .mpp-faq-answer {
    max-height: 300px;
    padding: 0 24px 24px;
}

/* --- KOL Grid --- */
.mpp-kol-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.mpp-kol-card {
    aspect-ratio: 9/16;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: #ddd;
}
.mpp-kol-card img { width: 100%; height: 100%; object-fit: cover; }
.mpp-kol-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}
.mpp-kol-card:hover .mpp-kol-overlay { background: rgba(0,0,0,0.4); }
.mpp-kol-play { color: white; font-size: 48px; opacity: 0.9; }
.mpp-kol-handle {
    position: absolute;
    bottom: 16px; left: 16px;
    color: white;
    font-size: 12px;
    font-weight: 700;
}

/* --- Testimonials --- */
.mpp-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.mpp-testimonial-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(27,28,28,0.04);
    border: 1px solid rgba(226,189,199,0.1);
    position: relative;
}
.mpp-testimonial-quote {
    position: absolute;
    top: 16px; right: 20px;
    font-size: 60px;
    line-height: 1;
    color: rgba(226,4,127,0.08);
}
.mpp-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
    font-size: 18px;
    color: #FFD700;
}
.mpp-testimonial-text {
    color: #1b1c1c;
    line-height: 1.7;
    margin: 0 0 24px;
    font-style: italic;
    font-size: 15px;
}
.mpp-testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.mpp-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

/* --- Related Products --- */
.mpp-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.mpp-product-card {
    background: white;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(27,28,28,0.04);
    text-decoration: none !important;
    color: inherit !important;
    transition: transform 0.3s, box-shadow 0.3s;
    display: block;
}
.mpp-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 60px rgba(27,28,28,0.08);
    text-decoration: none !important;
    color: inherit !important;
}
.mpp-product-img {
    aspect-ratio: 1/1;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
}
.mpp-product-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.mpp-product-card:hover .mpp-product-img img { transform: scale(1.05); }
.mpp-product-card h3 {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #1b1c1c !important;
    margin: 0 0 4px !important;
    line-height: 1.4 !important;
}
.mpp-product-price {
    font-weight: 700;
    color: #e2047f;
    font-size: 15px;
}

/* --- MOBILE RESPONSIVE --- */
@media only screen and (max-width: 48em) {
    .mpp-hero-section { padding: 30px 0 !important; }
    .mpp-hero-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .mpp-info { position: static; }
    .mpp-title { font-size: 1.5rem !important; }
    .mpp-gallery__thumbs { gap: 8px; }
    .mpp-stores__grid { grid-template-columns: 1fr; }
    .mpp-store-btn--tiktok { grid-column: span 1; }

    .mpp-section { padding: 40px 0 !important; }
    .mpp-desc-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .mpp-desc-img { order: -1; }
    .mpp-tabs { gap: 0; }
    .mpp-tab { padding: 12px 16px; font-size: 13px; }

    .mpp-cert-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .mpp-kol-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .mpp-testimonials-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .mpp-testimonial-card { padding: 24px; }
    .mpp-related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .mpp-product-card { padding: 12px; }
    .mpp-faq-trigger { padding: 16px 20px; font-size: 14px; }
}
/* end of Merria product page CSS */


/* ========================================================================
   MERRIA NEWS PAGE — Trang Tin Tức
   ======================================================================== */

/* --- Text Gradient Utility --- */
.merria-text-gradient {
    background: linear-gradient(45deg, #b50065, #e2047f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Editorial Shadow Utility --- */
.merria-editorial-shadow {
    box-shadow: 0 20px 40px -20px rgba(181, 0, 101, 0.1);
}

/* --- Hero Featured Post --- */
.merria-news-hero {
    position: relative;
    overflow: hidden;
    border-radius: 2.5rem;
    background: #f6f3f2;
    aspect-ratio: 21 / 9;
    display: flex;
    align-items: center;
}

.merria-news-hero__img-wrap {
    position: absolute;
    inset: 0;
}

.merria-news-hero__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: transform 0.7s;
}

.merria-news-hero:hover .merria-news-hero__img-wrap img {
    transform: scale(1.05);
}

.merria-news-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.6), rgba(0,0,0,0.2), transparent);
}

.merria-news-hero__content {
    position: relative;
    z-index: 10;
    padding: 0 3rem;
    max-width: 42rem;
    color: #fff;
}

.merria-news-hero__badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    background: #e2047f;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.merria-news-hero__title {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Nunito', sans-serif;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: #fff;
}

.merria-news-hero__desc {
    font-size: 1.125rem;
    color: #d4d4d8;
    margin-bottom: 2rem;
    font-weight: 300;
    line-height: 1.6;
}

.merria-news-hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #fff;
    color: #b50065;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    font-size: 1rem;
}

.merria-news-hero__btn:hover {
    background: #b50065;
    color: #fff;
}

.merria-news-hero__btn .material-symbols-outlined {
    transition: transform 0.3s;
}

.merria-news-hero__btn:hover .material-symbols-outlined {
    transform: translateX(4px);
}

/* --- Category Filter --- */
.merria-news-categories {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.merria-news-cat-list {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.merria-news-cat-list::-webkit-scrollbar {
    display: none;
}

.merria-news-cat-btn {
    padding: 0.625rem 1.5rem;
    border-radius: 9999px;
    background: #eae7e7;
    color: #1b1c1c;
    font-weight: 500;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    font-size: 0.9375rem;
}

.merria-news-cat-btn:hover {
    background: #ffd9e3;
}

.merria-news-cat-btn--active {
    background: #b50065;
    color: #fff;
}

.merria-news-cat-btn--active:hover {
    background: #8d004d;
}

.merria-news-sort {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #a1a1aa;
    font-size: 0.875rem;
    font-weight: 500;
}

/* --- Main Content Layout --- */
.merria-news-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 64em) {
    .merria-news-layout {
        grid-template-columns: 2fr 1fr;
    }
}

/* --- Blog Post Grid --- */
.merria-news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 48em) {
    .merria-news-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- Blog Post Card --- */
.merria-news-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.merria-news-card__img {
    aspect-ratio: 4 / 3;
    border-radius: 1.5rem;
    overflow: hidden;
    background: #f0eded;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.merria-news-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.merria-news-card:hover .merria-news-card__img img {
    transform: scale(1.05);
}

.merria-news-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.merria-news-card__meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.merria-news-card__cat {
    color: #e2047f;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.merria-news-card__date {
    color: #a1a1aa;
    font-size: 0.75rem;
    font-weight: 500;
}

.merria-news-card__title {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
    line-height: 1.35;
    color: #1b1c1c;
    transition: color 0.3s;
    cursor: pointer;
    margin: 0;
}

.merria-news-card__title:hover {
    color: #b50065;
}

.merria-news-card__excerpt {
    color: #52525b;
    font-weight: 300;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

/* --- Load More Button --- */
.merria-news-loadmore {
    margin-top: 5rem;
    display: flex;
    justify-content: center;
}

.merria-news-loadmore__btn {
    padding: 1rem 3rem;
    border-radius: 9999px;
    border: 2px solid #e2047f;
    color: #e2047f;
    font-weight: 700;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

.merria-news-loadmore__btn:hover {
    background: #e2047f;
    color: #fff;
}

.merria-news-loadmore .page-numbers {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.merria-news-loadmore .page-numbers li a,
.merria-news-loadmore .page-numbers li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    height: 2.75rem;
    padding: 0 0.75rem;
    border-radius: 9999px;
    border: 2px solid #e2047f;
    color: #e2047f;
    font-weight: 700;
    background: transparent;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.9375rem;
}

.merria-news-loadmore .page-numbers li a:hover {
    background: #e2047f;
    color: #fff;
}

.merria-news-loadmore .page-numbers li span.current {
    background: #e2047f;
    color: #fff;
}

/* --- Sidebar --- */
.merria-news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* --- Popular / Most Read --- */
.merria-news-popular {
    background: #f6f3f2;
    padding: 2rem;
    border-radius: 2rem;
}

.merria-news-popular__heading {
    font-size: 1.25rem;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.merria-news-popular__line {
    display: inline-block;
    width: 2rem;
    height: 2px;
    background: #b50065;
}

.merria-news-popular__list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.merria-news-popular__item {
    display: flex;
    gap: 1rem;
    cursor: pointer;
}

.merria-news-popular__num {
    font-size: 2.25rem;
    font-weight: 900;
    color: rgba(181, 0, 101, 0.1);
    font-family: 'Nunito', sans-serif;
    line-height: 1;
}

.merria-news-popular__title {
    font-weight: 700;
    color: #1b1c1c;
    line-height: 1.35;
    transition: color 0.3s;
    font-size: 0.9375rem;
    margin: 0;
}

.merria-news-popular__item:hover .merria-news-popular__title {
    color: #b50065;
}

.merria-news-popular__views {
    font-size: 0.75rem;
    color: #a1a1aa;
    margin-top: 0.5rem;
}

/* --- Newsletter Card --- */
.merria-news-newsletter {
    background: #b50065;
    color: #fff;
    padding: 2.5rem;
    border-radius: 2rem;
    position: relative;
    overflow: hidden;
}

.merria-news-newsletter__inner {
    position: relative;
    z-index: 10;
}

.merria-news-newsletter__title {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
    margin-bottom: 1rem;
    line-height: 1.3;
    color: #fff;
}

.merria-news-newsletter__desc {
    color: rgba(255,255,255,0.8);
    font-size: 0.875rem;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.merria-news-newsletter__form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.merria-news-newsletter__input {
    width: 100%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 0.75rem;
    padding: 0.75rem 1.5rem;
    color: #fff;
    font-size: 0.9375rem;
    outline: none;
    box-sizing: border-box;
}

.merria-news-newsletter__input::placeholder {
    color: rgba(255,255,255,0.5);
}

.merria-news-newsletter__input:focus {
    border-color: rgba(255,255,255,0.4);
    box-shadow: 0 0 0 3px rgba(255,255,255,0.1);
}

.merria-news-newsletter__submit {
    width: 100%;
    background: #fff;
    color: #b50065;
    font-weight: 700;
    padding: 0.75rem;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 1rem;
}

.merria-news-newsletter__submit:hover {
    background: #f4f4f5;
}

.merria-news-newsletter__blob {
    position: absolute;
    bottom: -2.5rem;
    right: -2.5rem;
    width: 10rem;
    height: 10rem;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    filter: blur(3rem);
}

/* --- Social / Instagram Grid --- */
.merria-news-social__heading {
    font-size: 1.25rem;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
    margin-bottom: 1.5rem;
}

.merria-news-social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.merria-news-social-grid__item {
    aspect-ratio: 1;
    background: #e4e2e1;
    border-radius: 0.5rem;
    overflow: hidden;
    cursor: pointer;
    transition: opacity 0.3s;
}

.merria-news-social-grid__item:hover {
    opacity: 0.8;
}

.merria-news-social-grid__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Quote Block --- */
.merria-news-quote {
    position: relative;
    padding: 5rem 3rem;
    border-radius: 3rem;
    background: #fff;
    overflow: hidden;
}

.merria-news-quote__icon {
    position: absolute;
    top: -2.5rem;
    left: -2.5rem;
    font-size: 9rem;
    color: rgba(181, 0, 101, 0.1);
    transform: rotate(12deg);
    line-height: 1;
}

.merria-news-quote__icon .material-symbols-outlined {
    font-variation-settings: 'FILL' 1;
    font-size: inherit;
    color: inherit;
}

.merria-news-quote__inner {
    position: relative;
    z-index: 10;
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
}

.merria-news-quote__text {
    font-size: 1.875rem;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    color: #b50065;
    font-style: italic;
    line-height: 1.35;
    margin-bottom: 2rem;
}

.merria-news-quote__author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.merria-news-quote__avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: #fda67f;
}

.merria-news-quote__author-info {
    text-align: left;
}

.merria-news-quote__author-name {
    font-weight: 700;
    color: #1b1c1c;
    margin: 0;
}

.merria-news-quote__author-role {
    font-size: 0.75rem;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    margin: 0;
}

/* --- Container helper for news page --- */
.merria-news-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 2rem;
}

.merria-news-section--mt-12 {
    margin-top: 3rem;
}

.merria-news-section--mt-16 {
    margin-top: 4rem;
}

.merria-news-section--mt-32 {
    margin-top: 8rem;
}

.merria-news-section--mb-12 {
    margin-bottom: 3rem;
}

/* --- Responsive: News Page --- */

/* Tablet + Mobile: sidebar stacks below grid */
@media only screen and (max-width: 64em) {
    .merria-news-layout {
        grid-template-columns: 1fr;
    }

    .merria-news-hero__title {
        font-size: 2.25rem;
    }

    .merria-news-hero__desc {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .merria-news-hero__btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
    }

    .merria-news-container {
        padding: 0 1rem;
    }

    .merria-news-quote__text {
        font-size: 1.5rem;
    }
}

/* Mobile only */
@media only screen and (max-width: 48em) {
    /* Hero */
    .merria-news-hero {
        aspect-ratio: 4 / 3;
        border-radius: 1.25rem;
        min-height: 320px;
    }

    .merria-news-hero__img-wrap img {
        opacity: 0.8;
    }

    .merria-news-hero__overlay {
        background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.2), transparent);
    }

    .merria-news-hero__content {
        padding: 1.25rem;
        max-width: 100%;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
    }

    .merria-news-hero__badge {
        font-size: 0.625rem;
        padding: 0.2rem 0.75rem;
        margin-bottom: 0.75rem;
    }

    .merria-news-hero__title {
        font-size: 1.375rem;
        margin-bottom: 0.75rem;
        line-height: 1.25;
    }

    .merria-news-hero__desc {
        font-size: 0.8125rem;
        margin-bottom: 1rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .merria-news-hero__btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.8125rem;
        gap: 0.5rem;
    }

    .merria-news-hero__btn .material-symbols-outlined {
        font-size: 18px;
    }

    /* Category Filter */
    .merria-news-categories {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .merria-news-cat-list {
        gap: 0.5rem;
        padding-bottom: 0.75rem;
        -webkit-overflow-scrolling: touch;
    }

    .merria-news-cat-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
    }

    .merria-news-sort {
        display: none;
    }

    /* Grid */
    .merria-news-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .merria-news-card__img {
        border-radius: 1rem;
    }

    .merria-news-card__title {
        font-size: 1.125rem;
    }

    .merria-news-card__excerpt {
        font-size: 0.875rem;
        -webkit-line-clamp: 2;
    }

    /* Pagination */
    .merria-news-loadmore {
        margin-top: 3rem;
    }

    .merria-news-loadmore__btn {
        padding: 0.75rem 2rem;
        font-size: 0.875rem;
    }

    .merria-news-loadmore .page-numbers li a,
    .merria-news-loadmore .page-numbers li span {
        min-width: 2.25rem;
        height: 2.25rem;
        font-size: 0.8125rem;
    }

    /* Sidebar */
    .merria-news-sidebar {
        gap: 2rem;
    }

    .merria-news-popular {
        padding: 1.5rem;
        border-radius: 1.5rem;
    }

    .merria-news-popular__heading {
        font-size: 1.125rem;
        margin-bottom: 1.5rem;
    }

    .merria-news-popular__num {
        font-size: 1.75rem;
    }

    .merria-news-popular__title {
        font-size: 0.875rem;
    }

    .merria-news-popular__list {
        gap: 1.5rem;
    }

    /* Newsletter */
    .merria-news-newsletter {
        padding: 1.5rem;
        border-radius: 1.5rem;
    }

    .merria-news-newsletter__title {
        font-size: 1.25rem;
    }

    .merria-news-newsletter__desc {
        font-size: 0.8125rem;
        margin-bottom: 1.25rem;
    }

    .merria-news-newsletter__input {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }

    .merria-news-newsletter__submit {
        padding: 0.625rem;
        font-size: 0.875rem;
    }

    /* Social Grid */
    .merria-news-social__heading {
        font-size: 1.125rem;
        margin-bottom: 1rem;
    }

    .merria-news-social-grid {
        gap: 0.375rem;
    }

    /* Quote */
    .merria-news-quote {
        padding: 2.5rem 1.25rem;
        border-radius: 1.5rem;
    }

    .merria-news-quote__icon {
        font-size: 5rem;
        top: -1.5rem;
        left: -1.5rem;
    }

    .merria-news-quote__text {
        font-size: 1.125rem;
        margin-bottom: 1.5rem;
    }

    .merria-news-quote__avatar {
        width: 2.5rem;
        height: 2.5rem;
    }

    .merria-news-quote__author-name {
        font-size: 0.875rem;
    }

    .merria-news-quote__author-role {
        font-size: 0.625rem;
    }

    /* Spacing overrides */
    .merria-news-section--mt-12 {
        margin-top: 1.5rem;
    }

    .merria-news-section--mt-16 {
        margin-top: 2rem;
    }

    .merria-news-section--mt-32 {
        margin-top: 3rem;
    }

    .merria-news-section--mb-12 {
        margin-bottom: 1.5rem;
    }
}
/* end of Merria news page CSS */

/* ═══════════════════════════════════════════════════════
   MERRIA HOMEPAGE — Danh Mục Sản Phẩm & Sản Phẩm Nổi Bật
   ═══════════════════════════════════════════════════════ */

/* ── Section Headers ── */
.merria-home-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.merria-home-section-label {
    display: block;
    color: #b50065;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 12px;
    margin-bottom: 16px;
}

.merria-home-section-title {
    font-weight: 800 !important;
    font-size: clamp(2rem, 4vw, 3rem) !important;
    color: #1b1c1c !important;
    margin: 0 !important;
    text-transform: uppercase;
    line-height: 1.2;
}

.merria-home-section-title--pink {
    color: #e2047f !important;
}

/* ── Product Categories Grid ── */
.merria-home-categories {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Defensive: neutralize any wpautop-injected <p> and <br> tags */
.merria-home-categories > p,
.merria-home-categories > br,
.merria-home-section-header > p,
.merria-home-section-header > br {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
}

.merria-home-cat-card {
    display: block;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.merria-home-cat-card:hover {
    transform: translateY(-6px);
}

.merria-home-cat-img {
    background: #f0eded;
    border-radius: 24px;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    margin-bottom: 16px;
    position: relative;
    transition: box-shadow 0.3s ease;
}

.merria-home-cat-card:hover .merria-home-cat-img {
    box-shadow: 0 20px 40px -8px rgba(226, 4, 127, 0.15);
}

.merria-home-cat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.merria-home-cat-card:hover .merria-home-cat-img img {
    transform: scale(1.08);
}

/* Overlay gradient on hover */
.merria-home-cat-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.15), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 24px;
}

.merria-home-cat-card:hover .merria-home-cat-img::after {
    opacity: 1;
}

.merria-home-cat-name {
    text-align: center;
    font-weight: 700 !important;
    color: #1b1c1c;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    font-size: 15px;
    margin: 0;
    transition: color 0.3s ease;
}

.merria-home-cat-card:hover .merria-home-cat-name {
    color: #e2047f;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .merria-home-categories {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 16px;
    }

    .merria-home-section-header {
        margin-bottom: 32px;
    }
}

@media (max-width: 575px) {
    .merria-home-categories {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }

    .merria-home-cat-img {
        border-radius: 16px;
    }

    .merria-home-cat-img::after {
        border-radius: 16px;
    }

    .merria-home-cat-name {
        font-size: 13px;
    }

    .merria-home-section-header {
        margin-bottom: 24px;
    }

    .merria-home-section-label {
        font-size: 11px;
        letter-spacing: 2px;
    }
}

