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

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

body {
    font-size: 16px;
    line-height: 1.3;
}
body p {
    text-align: justify;
}

h1 {
    font-size: 40px;
    line-height: 1.4;
    text-align: left;
    margin: 0 0 20px;
}
h2 {
    font-size: 36px;
    line-height: 1.3;
    text-align: left;
    margin: 0 0 20px;
}
h3 {
    font-size: 32px;
    line-height: 1.3;
    text-align: left;
    margin: 0 0 20px;
}
h4 {
    font-size: 28px;
    line-height: 1.3;
    text-align: left;
    margin: 0 0 20px;
}
h5 {
    font-size: 24px;
    line-height: 1.3;
    text-align: left;
    margin: 0 0 20px;
}
h6 {
    font-size: 20px;
    line-height: 1.3;
    text-align: left;
    margin: 0 0 20px;
    opacity: 1;
}
#wrapper h1,
#wrapper h2,
#wrapper h3,
#wrapper h4,
#wrapper h6,
#wrapper h6 {
    text-align: inherit;
}
.uppercase, h6, span.widget-title, th {
    letter-spacing: 0;
    line-height: 1.3;
}
h6, span.widget-title, th {
    text-transform: inherit;
}
blockquote, dl, figure, ol, p, pre, ul {
    margin: 0 0 20px;
}
form {
    margin: 0;
}
.image-width-auto img {
    width: auto;
}
.icon-box-img img, .icon-box-img svg {
    padding-top: 0;
}
.icon-box-text p {
    margin-bottom: 0;
}
.image-auto-width img {
    width: auto;
}
a.button {
    font-weight: 700;
}
.button, button, input[type=button], input[type=reset], input[type=submit] {
    font-size: 16px;
    font-weight: 400;
}
.left-center,
.right-center,
.align-items-center {
    align-items: center;
}
.button.white span {
    color: var(--fs-color-primary);
}

.section-title b {
    background-color: var(--fs-color-primary);
    opacity: 1;
}

.row.col-border-right > .col {
    padding-bottom: 0;
}
.row.col-border-right > .col:first-child {
    border-right: 2px solid var(--primary-color);
}
.col.col-tables {
    /*overflow-x: auto;*/
    padding-bottom: 10px;
}
.col.col-tables > .col-inner {
    border-top: 1px #4D4D4D solid;
    border-left: 1px #4D4D4D solid;
    /*min-width: 600px;*/
}
.col.col-tables > .col-inner .row {
    margin: 0;
}
.col.col-tables > .col-inner .col {
    padding: 0;
    border-right: 1px #4D4D4D solid;
    border-bottom: 1px #4D4D4D solid;
}

.col.col-tables > .col-inner > .row > .col > .col-inner {
    padding: 20px 20px 0 20px;
    vertical-align: middle;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.col.col-tables > .col-inner .col .col-inner div,
.col.col-tables > .col-inner .col .col-inner p {
    width: 100%;
}
.col.col-tables .image-social p {
    /*display: flex;*/
    /*align-items: center;*/
    /*justify-content: center;*/
}
.col.col-tables .image-social img {
    display: inline-block;
    width: 32px;
    margin: 10px;
}
.section-title .section-title-main {
    text-transform: uppercase;
}
@media only screen and (max-width: 640px) {
    .col.col-tables > .col-inner > .row > .col > .col-inner {
        padding: 15px 10px 0 10px;
    }
    .col.col-tables > .col-inner >.row .col:first-child p {
        font-size: 16px;
    }
    .col.col-tables > .col-inner >.row .col:first-child h6 {
        font-size: 14px !important;
    }
}

/* Header */
#main #content {
    padding-top: 0;
}
.header-wrapper .header-top {
    background: none !important;
}
.header-wrapper .header-main {
    background: transparent !important;
}
.header-wrapper .header-main .header-inner {
    position: relative;
}
.header-wrapper .info-top {
    display: flex;
}
.header-wrapper .info-top .info-item {
    display: flex;
    align-items: center;
    margin-right: 24px;
}
.header-wrapper .info-top .info-item a {
    color: #ffffff;
}
.header-wrapper .info-top .info-item:last-child {
    margin-right: 0;
}
.header-wrapper .info-top .info-item img {
    width: 15px;
    min-width: 15px;
    margin-right: 12px;
}
.header-wrapper .top-bar-nav.nav-right .header-button-1 a.button {
    min-height: auto;
    line-height: 1.3;
    padding: 2px 16px;
    font-size: 14px;
    font-weight: 700;
}
.header-wrapper .top-bar-nav.nav-right .header-button-1 a.button:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: var(--fs-color-primary);
}
.header-wrapper .top-bar-nav.nav-right .account-item a:after,
.header-wrapper .top-bar-nav.nav-right .cart-item a:after {
    display: none;
}
.nav.nav-small>li>a.header-cart-link {
    padding: 0;
}
.nav.nav-small>li>a.header-cart-link span {
    margin: 0;
}
.nav-small .image-icon img.cart-img-icon {
    height: 20px;
    width: auto;
}
.header-wrapper .top-bar-nav.nav-right .account-item > a {
    display: inline-block;
    width: 18px;
    height: 20px;
    background-image: url("https://ruoumam.com.vn/wp-content/uploads/2025/06/icon-user.svg");
    background-size: contain;
    background-repeat: no-repeat;
}
.header-wrapper .top-bar-nav.nav-right .account-item a > i,
.header-wrapper .top-bar-nav.nav-right .header-search a > i {
    display: none;
}
.account-item .nav-dropdown > li {
    padding-left: 20px;
}
.account-item .nav-dropdown > li:first-child {
    padding-left: 0;
}
.nav-dropdown-default .nav-column li>a,
.nav-dropdown.nav-dropdown-default>li>a {
    margin: 0;
}
#login-form-popup .account-login-inner h3,
#login-form-popup .account-login-inner p,
#login-form-popup .account-login-inner label {
    color: #161616;
}
.header-wrapper .top-bar-nav.nav-right .header-search a {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url("https://ruoumam.com.vn/wp-content/uploads/2025/06/icon-search.svg");
    background-size: contain;
    background-repeat: no-repeat;
}
.header-nav-main.nav {
    justify-content: flex-end;
}
.header-nav-main.nav>li {
    width: 16.666667%;
    min-width: 16.666667%;
    margin: 0 !important;
    padding: 0 !important;
    border-right: 1px #ffffff solid;
    text-align: center;
}
.header-nav-main.nav li:first-child {
    padding-left: 0 !important;
}
.header-nav-main.nav li:last-child {
    padding-right: 0 !important;
    border-right: none;
}
.header-nav-main.nav>li>a {
    font-size: 18px;
    line-height: 1.3;
    background: none !important;
    text-transform: uppercase;
}
.header-nav-main.nav-box > li.active > a,
.header-nav-main.nav-pills > li.active > a {
    font-weight: 700;
}

@media only screen and (min-width: 850px) {
    #top-bar .html.html_topbar_right a {
        display: inline-block;
        width: 80px;
        height: 40px;
    }
    .header-wrapper .header-main .header-inner .flex-left {
        min-width: 100%;
        padding-left: 90px;
    }
    .header-wrapper .header-main #logo {
        margin: 0;
        position: absolute;
        top: -41px;
        left: 15px;
    }
    .header-wrapper .header-main #logo img {
        width: 80px;
        max-height: none !important;
    }
}

/* Footer */
.footer-wrapper .row > .col {
    padding-bottom: 20px !important;
}
.footer-wrapper .col-flex .col {
    padding-bottom: 0 !important;
}
.footer-wrapper .icon-box-img {
    margin-bottom: 0;
}
.footer-wrapper .icon-box-footer-top .icon-box-img {
    margin-bottom: 0;
}
.footer-wrapper .icon-box-footer-top .icon-box-text h6 {
    font-weight: 400;
}
.footer-wrapper .ux-menu .ux-menu-link {
    padding-bottom: 15px;
}
.footer-wrapper .ux-menu .ux-menu-link:last-child {
    padding-bottom: 0;
}
.footer-wrapper .ux-menu-link .ux-menu-link__link {
    padding: 0;
    min-height: auto;
    color: #ffffff;
}
.footer-wrapper .ux-menu-link .ux-menu-link__link:hover {
    color: #ffffff;
}
.footer-wrapper .social-icons .button.icon {
    margin: 0 20px 10px 0;
    border: 5px solid #ffffff;
    border-radius: 12px !important;
    width: 40px;
    height: 40px;
    line-height: 30px;
}
.footer-wrapper .social-icons .button.icon:last-child {
    margin: 0 0 10px 0;
}
.footer-wrapper .social-icons .button.icon i {
    color: #ffffff;
    font-size: 20px;
}
.footer-wrapper .absolute-footer {
    display: none;
}
.col-social-bottom .img {
    display: inline-block;
    margin-right: 20px !important;
    width: auto !important;
}
.col-social-bottom .img:last-child {
    margin-right: 0 !important;
}
.col-social-bottom .img img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.row-social-fixed {
    position: fixed;
    width: auto;
    height: auto;
    bottom: 45px;
    right: 18px;
    z-index: 99;
    margin: 0;
    text-align: right;
}
.row-social-fixed .col {
    padding: 0;
}
.row-social-fixed .img {
    margin-bottom: 20px;
}
.row-social-fixed .img img {
    width: 50px;
    height: 50px;
}
.row-social-fixed .icon-box-social-effcet.icon-box {
    width: 50px;
    height: 50px;
    padding: 0;
    align-items: center;
    position: relative;
}
.row-social-fixed .icon-box-social-effcet.icon-box .icon-box-text {
    position: absolute;
    width: auto;
    height: auto;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    white-space: nowrap;
    background: var(--fs-color-primary);
    padding: 5px 10px;
    border-radius: 5px;
}
.row-social-fixed .icon-box-social-effcet.icon-box:hover .icon-box-text {
    right: 102%;
    opacity: 1;
    visibility: visible;
}
.row-social-fixed .icon-box.icon-box-social-effcet .icon-inner {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    background: var(--fs-color-primary);
    border-radius: 50%;
    position: relative;
    z-index: 2;
}
.row-social-fixed .icon-box.icon-box-social-effcet .icon-inner:before,
.row-social-fixed .icon-box.icon-box-social-effcet .icon-inner:after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    background: #F2777A;
    opacity: 0.2;
    transform: translate(-50%, -50%);
}
.row-social-fixed .icon-box.icon-box-social-effcet .icon-inner:before {
    animation-name: rotateCircle1;
    animation-duration: 2s;
    animation-iteration-count: infinite;
}
.row-social-fixed .icon-box.icon-box-social-effcet .icon-inner:after {
    animation-name: rotateCircle2;
    animation-duration: 2s;
    /*animation-delay: 0.5s;*/
    opacity: 0.1;
    animation-iteration-count: infinite;
}
.row-social-fixed .icon-box.icon-box-social-effcet .icon-inner img {
    position: relative;
    z-index: 2;
    border-radius: 50%;
}
@keyframes rotateCircle1 {
    0% {
        width: 0;
        height: 0;
    }

    100% {
        width: 60px;
        height: 60px;
    }
}
@keyframes rotateCircle2 {
    0% {
        width: 0;
        height: 0;
    }

    100% {
        width: 70px;
        height: 70px;
    }
}
.row-social-fixed .icon-box.phone.icon-box-social-effcet .icon-inner img {
    width: 22px;
}
.row-social-fixed .icon-box h6,
.row-social-fixed .icon-box p {
    margin: 0;
}
.row-social-fixed .icon-box.btn-open-social {
    width: 36px;
    height: 36px;
    position: absolute;
    bottom: 0;
    right: calc(100% + 22px);
}
.row-social-fixed .icon-box.btn-open-social .icon-inner {
    width: 36px;
    height: 36px;
    background: #f2777a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}
.row-social-fixed .icon-box.btn-open-social .icon-inner svg {
    width: 25px;
    height: auto;
    transition: 0.3s;
}
.row-social-fixed.active .icon-box.btn-open-social .icon-inner svg {
    transform: rotate(180deg);
}
.col-flex .col {
    padding-bottom: 0;
}
.col-flex > .col-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    flex-direction: column;
}

.wpcf7 label {
    font-size: 20px;
    font-weight: 700;
    color: #161616;
    margin: 0 0 8px;
}
.wpcf7 .select-resize-ghost,
.wpcf7 .select2-container .select2-choice,
.wpcf7 .select2-container .select2-selection,
.wpcf7 input[type=date],
.wpcf7 input[type=email],
.wpcf7 input[type=number],
.wpcf7 input[type=password],
.wpcf7 input[type=search],
.wpcf7 input[type=tel],
.wpcf7 input[type=text],
.wpcf7 input[type=url],
.wpcf7 select,
.wpcf7 textarea {
    background-color: rgba(195, 195, 195, 0.4);
    border: none;
    border-radius: 8px;
    box-shadow: none;
    outline: none;
    color: #000000;
    font-size: 16px;
    height: auto;
    padding: 12px 20px;
    margin: 0 0 20px;
}
.wpcf7 .wpcf7-checkbox {
    display: inline-block;
    margin-top: 16px;
}
.wpcf7 .wpcf7-checkbox label {
    font-size: 18px;
    font-weight: 400;
    margin: 0;
}
.wpcf7 .your-hour p {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}
.wpcf7 .your-hour label {
    font-size: 16px;
    font-weight: 400;
    margin: 0 24px 0 0;
}
.wpcf7 .your-hour input[type=text] {
    padding: 10px;
    margin: 0;
}
.wpcf7 .btn-submit {
    text-align: center;
    position: relative;
}
.wpcf7 .btn-submit input[type=submit] {
    font-size: 20px;
    font-weight: 400;
    text-transform: none;
    padding: 15px 10px;
    margin: 0 auto;
    width: 400px;
    max-width: 100%;
    min-height: auto;
    line-height: 1;
    border-radius: 15px;
}
.wpcf7 .btn-submit .wpcf7-spinner {
    position: absolute;
    top: calc(50% - 12px);
    left: calc(50% - 12px);
    margin: 0;
}

.icon-box-footer-bottom .icon-inner {
    width: 40px;
    height: 40px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.icon-box-footer-bottom .icon-inner img {
    width: 50%;
}
.footer-wrapper a,
.footer-wrapper a:hover {
    color: #ffffff;
}
.footer-wrapper a.back-to-top {
    color: #f2777a;
}
.footer-wrapper a.back-to-top:hover {
    background-color: #f2777a;
    border-color: #f2777a;
    color: #fff;
}


/* Chi tiết sản phẩm */
.product-breadcrumb-container,
.rank-math-breadcrumb p {
    padding: 20px 0;
    margin: 0;
    border-bottom: 1px solid rgb(242, 119, 122);
}
.rank-math-breadcrumb a,
.rank-math-breadcrumb span,
.product-breadcrumb-container .breadcrumbs a,
.product-breadcrumb-container .breadcrumbs span {
    font-size: 20px;
    opacity: 1;
}
/*.rank-math-breadcrumb a:hover,*/
/*.product-breadcrumb-container .breadcrumbs a:hover {*/
    /*color: var(--fs-color-primary);*/
/*}*/
.single-product .product_meta {
    margin: 0 0 20px;
}
.single-product .product_meta > span {
    display: none;
    padding: 0;
    border: none;
}
.single-product .meta-cat .product_meta .posted_in {
    display: block;
    font-size: 0;
}
.single-product .meta-cat .product_meta .posted_in a {
    display: none;
}
.single-product .meta-cat .product_meta .posted_in a:first-child {
    display: inline-block;
    font-size: 18px;
    text-transform: uppercase;
}
.single-product .meta-sku .product_meta {
    margin: 0;
}
.single-product .meta-sku .product_meta .sku_wrapper {
    display: block;
    font-size: 18px;
}
.single-product .meta-sku .product_meta .sku_wrapper .sku {
    color: var(--fs-color-primary);
}
.single-product .product-title-container .product-title {
    font-size: 28px;
}
.single-product .product-title-container .is-divider {
    display: none;
}
.mam-product-meta {
    display: flex;
    align-items: center;
    font-size: 18px;
    color: #44AF20;
    font-style: italic;
    font-weight: 700;
}
.mam-product-meta span {
    font-style: normal;
    font-weight: 400;
}
.mam-product-meta span img {
    padding-right: 8px;
}
.single-product .product-price-container span.amount {
    font-size: 40px;
    font-weight: 700;
    color: var(--fs-color-primary);
}
.single-product .product-price-container del {
    text-decoration: none;
}
.single-product .product-price-container del span.amount {
    font-size: 28px;
    color: rgba(126, 126, 126, 0.4);
    opacity: 1;
    text-decoration: line-through;
}
.button.alt, .button.checkout, .checkout-button {
    background-color: var(--fs-color-primary);
}
.single_add_to_cart_button {
    border-radius: 8px;
    padding-left: 48px;
    background-image: url("assets/img/icon-cart.png");
    background-repeat: no-repeat;
    background-position: 19px center;
    /*box-shadow: none !important;*/
}
.single-product .product-gallery-slider .woocommerce-product-gallery__image {
    padding-left: 90px;
    padding-right: 90px;
}
.single-product .product-gallery-slider .woocommerce-product-gallery__image a {
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.single-product .product-gallery-slider img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.single-product .product-thumbnails a {
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px #eeeeee solid;
}
.single-product .product-thumbnails .is-nav-selected a,
.single-product .product-thumbnails a:hover {
    border-color: var(--fs-color-primary);
}
.single-product .product-thumbnails img {
    margin: 0;
    opacity: 1;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.single-product .product-thumbnails .is-nav-selected a img,
.single-product .product-thumbnails a:hover img {
    transform: translateY(0);
}
.image-tools {
    opacity: 1;
}
.image-tools .button.icon.wishlist-button {
    margin: 0;
    min-width: auto;
    line-height: 1;
    color: #000000;
    padding: 0;
    border: none;
}
.image-tools .wishlist-popup {
    display: none !important;
}
.image-tools .button.wishlist-button {
    width: 29px;
    height: 27px;
    min-height: auto;
    background-image: url("https://ruoumam.com.vn/wp-content/uploads/2025/06/icon-wish.svg");
    background-position: center;
    background-size: 27px;
    background-repeat: no-repeat;
}
.image-tools .button.wishlist-button i {
    display: none;
}
.image-tools .button.wishlist-button:hover,
.image-tools .button.wishlist-button.wishlist-added {
    background-color: transparent;
    background-image: url("https://ruoumam.com.vn/wp-content/uploads/2025/06/icon-wish2.svg");
}
.mam-product-featured {
    position: absolute;
    bottom: auto;
    top: 9px;
    left: auto !important;
    right: 55px !important;
    width: 32px !important;
    max-width: 32px;
    height: 32px;
}
.mam-product-gallery-single {
    position: relative;
}
.single-product .mam-product-gallery-single .mam-product-featured {
    top: 0;
    left: 0 !important;
    right: auto !important;
}
.single-product .image-tools {
    padding: 0 20px 0 0;
}
.mam-product-featured span.label-word {
    display: inline-block;
    white-space: nowrap;
    padding: 2px 2px 1px 12px;
    background: var(--fs-color-primary);
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 0 99px 99px 0;
    position: absolute;
    width: auto;
    top: 50%;
    left: calc(100% - 10px);
    transform: translateY(-50%);
    overflow: hidden;
}

.mam-product-featured img {
    position: relative;
    z-index: 2;
}
.single-product .button.icon.wishlist-button i {
    font-size: 42px;
}
.col-social-product {
    padding-bottom: 0;
}
.col-social-product .col-inner {
    display: flex;
    align-items: center;
    justify-content: center;
}
.col-social-product .col-inner p {
    margin: 0 32px 0 0;
    white-space: nowrap;
}
.col-social-product .social-icons .button.icon {
    display: inline-block;
    margin: 0 16px 0 0;
    min-width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 12px !important;
    line-height: 38px;
}
.col-social-product .social-icons .button.icon:last-child {
    margin: 0;
}
.col-social-product .social-icons .button.icon i {
    font-size: 22px;
}
.mam-tabs-content-product .accordion-title {
    border-top: none;
    display: inline-block;
    width: 430px;
    max-width: 100%;
    font-size: 28px;
    line-height: 1;
    padding: 16px 46px 16px 0;
    position: relative;
    background: none !important;
    color: var(--fs-color-primary);
    border-bottom: 4px solid var(--fs-color-primary);
}
.accordion .toggle {
    border-radius: 0;
    height: 100%;
    left: auto;
    right: 0;
    margin: 0;
    top: 5px;
    width: 50px;
    min-height: auto;
    font-size: 20px;
}
.accordion-inner {
    padding: 0;
}
.accordion-inner .product-tabs,
.accordion-inner .woocommerce-Tabs-panel--reviews,
.mam-product-review .product-tabs,
.mam-product-review .tab-panels .panel.woocommerce-Tabs-panel--description {
    display: none !important;
}
.mam-product-review .tab-panels .panel.woocommerce-Tabs-panel--reviews {
    height: auto;
    opacity: 1;
    visibility: visible;
}
.single-product .woocommerce-Reviews-title,
.single-product .comment-reply-title {
    font-size: 24px;
}
.related-products-wrapper .product-section-title-related {
    display: none;
}

.mam-products-filter .product-small.col {
    padding: 0;
}
.search-results .woocommerce-breadcrumb,
.search-results .woocommerce-breadcrumb a,
.search-results .woocommerce-breadcrumb span {
    color: #ffffff;
    pointer-events: none;
    opacity: 1;
}
.search-results .row.category-page-row {
    padding-top: 0;
}
.product-small.col,
.product-small.col .col-inner,
.product-small.col .col-inner > .product-small {
    height: 100%;
}
.col-inner > .product-small {
    padding: 0;
    /*border-radius: 15px;*/
    overflow: hidden;
    transition: 0.3s;
    text-align: left;
    background: none;
}
/*.product_cat-mam-mini-collection.product-small .col-inner {*/
    /*padding: 0;*/
    /*border: none;*/
    /*border-radius: 0;*/
    /*overflow: hidden;*/
    /*transition: 0.3s;*/
    /*text-align: left;*/
/*}*/
/*.product_cat-mam-mini-collection.product-small .col-inner .image-tools.top.right {*/
    /*top: 20px;*/
    /*padding: 0 20px 0 0;*/
    /*z-index: 9;*/
/*}*/
.product_cat-mam-mini-collection .image-tools .button.icon.wishlist-button {
    color: #ffffff;
}
.product_cat-mam-mini-collection .image-tools .button.wishlist-button:hover,
.product_cat-mam-mini-collection .image-tools .button.wishlist-button.wishlist-added {
    background: none;
    color: var(--fs-color-primary);
}
.badge-container {
    left: 20px;
    margin: 20px 0 0;
}
.badge-container .badge {
    width: 43px;
    height: 43px;
    font-size: 16px;
    font-weight: 400;
    margin: 0;
}
.badge-container .badge .on-sale {
    padding: 0;
    font-weight: 400;
}
.col-inner > .product-small .image-tools {
    padding: 20px 20px 0 0;
}
.button.icon.wishlist-button i,
.single-product .button.icon.wishlist-button i {
    font-size: 26px;
}
.col-inner > .product-small .box-image a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 320px;
    background: #ffffff;
    /*border-radius: 15px;*/
    overflow: hidden;
    position: relative;
    border: 1px solid var(--fs-color-primary);
}
.col-inner > .product-small .box-image a:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: var(--fs-color-primary);
    opacity: 0;
    transition: 0.3s;
}
.col-inner > .product-small:hover .box-image a:after {
    opacity: 0.8;
}
.col-inner > .product-small .box-image img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.col-inner > .product-small .box-text {
    font-size: 16px;
    padding: 12px 0 0;
    transition: 0.3s;
}
.col-inner > .product-small .title-wrapper .category {
    margin-bottom: 8px;
    color: #ffffff;
    transition: 0.3s;
}
.col-inner > .product-small:hover .title-wrapper .category {
    color: #161616;
}
.col-inner > .product-small .title-wrapper .product-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: left;
}
.col.featured .col-inner > .product-small  .title-wrapper .product-title {
    padding-right: 90px;
}
.col-inner > .product-small .title-wrapper .product-title a {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    transition: 0.3s;
}
.col-inner > .product-small:hover .title-wrapper .product-title a {
    color: var(--fs-color-primary);
}
.col-inner > .product-small .mam-product-info {
    position: absolute;
    left: 20px;
    bottom: calc(100% + 20px);
    opacity: 0;
    visibility: hidden;
    color: #ffffff;
    transition: 0.3s;
    z-index: 2;
}
.col-inner > .product-small .mam-product-info p {
    color: #ffffff;
    text-align: left;
}
.col-inner > .product-small:hover .mam-product-info {
    opacity: 1;
    visibility: visible;
}
.col-inner > .product-small:hover .mam-product-info {
    color: #161616;
}
.col-inner > .product-small .mam-product-info p {
    margin: 0 0 9px;
}
.col-inner > .product-small .mam-product-info p:last-child {
    margin: 0;
}
.col-inner > .product-small .price-wrapper {
    margin-bottom: 0;
}
.price-wrapper .price {
    color: var(--fs-color-primary);
    text-align: left;
}
.product-small .price-wrapper .price {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 2px;
    max-width: calc(100% - 60px);
    background: var(--fs-color-primary);
    border-radius: 5px;
    color: #ffffff;
    text-align: left;
}
.price-wrapper .price del {
    order: 2;
    text-decoration-color: #ffffff;
}
.price-wrapper .price ins {
    order: 1;
}
del span.amount {
    margin-right: 0;
    margin-left: 10px;
}
.col-inner > .product-small span.amount {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}
.col-inner > .product-small del span.amount {
    font-size: 16px;
    font-weight: 400;
}
.box-image .out-of-stock-label {
    background: rgba(171,33,36,1);
    color: #ffffff;
}
.col-inner > .product-small .box-text .button {
    display: block;
    margin: 0;
    padding: 0 11px;
    font-size: 0;
    font-weight: 400;
    color: var(--fs-color-primary);
    border: none;
    border-radius: 0;
    position: absolute;
    width: 50px;
    height: 42px;
    right: 10px;
    bottom: 0;
    background-image: url("https://ruoumam.com.vn/wp-content/uploads/2025/06/icon-cart2.svg");
    background-size: 26px;
    background-repeat: no-repeat;
    background-position: right bottom;
}
.col-inner > .product-small .box-text .button:hover {
    /*color: #ffffff;*/
    background-color: transparent;
}
/*.col-inner > .product-small .box-text .button.add_to_cart_button:before {*/
    /*content: "";*/
    /*position: absolute;*/
    /*width: 22px;*/
    /*height: 22px;*/
    /*top: calc(50% - 11px);*/
    /*left: calc(50% - 110px);*/
    /*background-image: url("https://mamdistillery.erasvietnam.com/wp-content/uploads/2025/05/icon-cart2.png");*/
    /*background-repeat: no-repeat;*/
    /*background-position: center;*/
    /*background-size: contain;*/
/*}*/
/*.col-inner > .product-small .box-text .button.add_to_cart_button:hover:before {*/
    /*background-image: url("https://mamdistillery.erasvietnam.com/wp-content/uploads/2025/05/icon-cart.png");*/
/*}*/
.product-small.outofstock .col-inner .box-text .button,
.product-small.outofstock .col-inner .box-text .button:hover {
    /*color: rgba(135, 134, 134, 1);*/
    /*border: 3px solid rgba(85, 85, 85, 1);*/
    /*background: rgba(85, 85, 85, 1);*/
    /*color: #ffffff;*/
    opacity: 0.5;
}
.button, button, input[type=button], input[type=reset], input[type=submit] {
    letter-spacing: 0;
}
a.added_to_cart {
    display: none;
}
.related-products-wrapper.product-section {
    border-top: none;
}

.flickity-prev-next-button {
    width: 40px !important;
    height: 40px !important;
    box-shadow: none !important;
    background: none !important;
    top: calc(50% - 20px) !important;
    bottom: auto !important;
    transform: none !important;
    opacity: 1 !important;
    border: 1px #430C0D solid;
    border-radius: 50%;
}
.slider-nav-outside.slider-nav-circle .previous {
    margin-right: 0;
}
.slider-nav-outside.slider-nav-circle .next {
    margin-left: 0;
}
.slider-nav-light .flickity-prev-next-button {
    border-color: var(--fs-color-primary);
}
.slider-nav-light .flickity-prev-next-button:hover {
    border-color: var(--fs-color-primary);
}
.flickity-prev-next-button svg {
    left: calc(50% - 12px);
    padding: 0;
    top: calc(50% - 12px);
    transform: none;
    transition: all .3s;
    width: 24px;
    height: 24px;
    margin: 0 !important;
    fill: #430C0D;
}
.slider-nav-reveal .flickity-prev-next-button.previous {
    left: 20px !important;
}
.slider-nav-reveal .flickity-prev-next-button.next {
    right: 20px!important;
}
.post-item .box-vertical .box-text {
    padding: 0 0 0 20px;
    vertical-align: top;
}
.post-item .box-vertical .box-text-inner {
    display: flex;
    flex-direction: column;
}
.post-item .box-vertical .cat-label {
    opacity: 1;
    order: 2;
    font-size: 18px;
    text-transform: none;
    text-align: inherit;
    margin: 0 0 20px;
}
.post-item .box-vertical .post-meta {
    order: 3;
    font-size: 18px;
    padding-left: 36px;
    background-image: url("https://ruoumam.com.vn/wp-content/uploads/2025/05/icon-date.png");
    background-position: left center;
    background-size: contain;
    background-repeat: no-repeat;
}
.post-item .box-vertical .post-title {
    order: 1;
    font-size: 28px;
    margin: 0 0 20px;
}
.post-item .box-vertical .post-title a {
    margin: 0;
}
.post-item .post-title a {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.post-item .box-vertical .is-divider {
    display: none;
}
.woocommerce-Reviews > .col {
    flex-basis: 100%;
    max-width: 100%;
}
.mam-product-content {
    padding-top: 24px;
}
.woocommerce-product-rating .star-rating {
    margin: 0;
}
.star-rating:before,
.woocommerce-page .star-rating:before,
.star-rating span:before,
.stars a.active:after,
.stars a:hover:after {
    color: #E2AA6B;
}
.comment-no-login {
    margin-bottom: 30px;
}
.comment-no-login .box-image img {
    min-height: 190px;
}
.woocommerce-Reviews {
    display: none;
}
.single-product .woocommerce-Reviews {
    display: block;
}
.woocommerce-Reviews .commentlist,
.woocommerce-Reviews #review_form_wrapper,
.single-post.logged-in .comment-no-login,
.single-product.logged-in .comment-no-login {
    display: none;
}
.logged-in .woocommerce-Reviews .commentlist,
.logged-in .woocommerce-Reviews #review_form_wrapper {
    display: block;
}
ul.links {
    font-size: 1em;
}
.nav-pagination>li>a, .nav-pagination>li>span {
    border: 1px solid;
    border-radius: 5px;
}

/* Trang sản phẩm */
@media (min-width: 850px) {
    .tabs-products.tabbed-content .nav-vertical {
        width: 250px;
    }
    .tabs-products.tabbed-content .tab-panels {
        width: calc(100% - 250px);
    }
}
.archive.woocommerce-page .category-page-row {
    padding-top: 0;
}
.related-products-wrapper .flickity-viewport,
.tabs-products .flickity-viewport {
    min-height: 405px;
}
.tabs-products .nav>li {
    margin-bottom: 32px;
}
.tabs-products .nav>li:last-child {
    margin-bottom: 0;
}
.tabs-products .nav-vertical>li+li {
    border-top: none;
}
.tabs-products .nav>li>a {
    font-size: 20px;
    color: #ffffff;
    padding: 0;
    line-height: 1.3em;
}
.tabs-products .nav>li>a:hover {
    color: var(--fs-color-primary);
}
.tabs-products .nav>li.active>a {
    color: var(--fs-color-primary);
    font-weight: 700;
}
.tabs-products.tabbed-content .tab-panels {
    border: none;
    padding: 0;
}

#filter-form select {
    border: none;
    background-color: rgba(219, 219, 219, 0.4);
    border-radius: 8px;
    font-size: 18px;
    color: #ffffff;
    line-height: 1.3;
    background-image: url("https://ruoumam.com.vn/wp-content/uploads/2025/05/arrow-down.png");
    background-size: 15px;
    outline: none !important;
    box-shadow: none !important;
    height: 38px;
}
#filter-form select option {
    color: #161616;
}
#filter-form .cat-name {
    /*width: auto;*/
    /*display: inline-block;*/
    margin: 0;
    /*padding: 10px 24px;*/
    /*background: var(--fs-color-primary);*/
    /*border-radius: 8px;*/
    color: #ffffff;
}
#filter-form .sort-by {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 36px;
}
#filter-form .sort-by .select-sort {
    width: 204px;
    height: 38px;
    background-image: url("assets/img/icon-sort.png");
    background-repeat: no-repeat;
    background-position: 10px center;
    background-size: 19px;
}
#filter-form .sort-by select {
    padding-left: 41px;
    background-color: var(--fs-color-primary);
}
#filter-form .filter-field {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}
#filter-form .filter-field select {
    width: 204px;
    margin-left: 30px;
}
#filter-form .filter-field label {
    margin: 0 0 1em;
}
#filter-form .filter-field label img {
    padding-right: 6px;
}
.mam-button-loader {
    text-align: center;
}
.mam-button-loader .mam-loadmore {
    display: inline-block;
    padding: 1px 60px;
    background: var(--fs-color-primary);
    border-radius: 9px;
    color: #ffffff;
    margin: 0;
}
.mam-button-loader .mam-loadmore.disabled {
    display: none;
}

/* Chi tiết tin tức */
.mam-banner-post {
    position: relative;
    /*height: 560px;*/
}
.mam-banner-post:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.4);
}
.mam-banner-post img {
    width: 100%;
    /*height: 100%;*/
    object-fit: cover;
}
.row.row-large {
    max-width: 1220px !important;
}
.row-large>.col, .row-large>.flickity-viewport>.flickity-slider>.col {
    margin-bottom: 0;
    padding: 0 15px 30px !important;
}
.widget-area .post-item .box-vertical .post-title {
    font-size: 18px;
}
.widget-area .widget-title  {
    display: block;
    font-size: 28px;
    margin-bottom: 24px;
}
.widget-area .widget > .is-divider  {
    display: none;
}
.widget-area .widget .cat-item a {
    font-size: 18px;
    padding: 9px 0;
}
.blog-single .entry-content {
    text-align: justify;
    padding: 0;
}
.blog-single .post {
    padding: 0;
    margin: 0;
}
.entry-header-text .entry-title {
    font-size: 50px;
    margin: 20px 0 40px;
}
.entry-header-text .entry-meta {
    font-size: 20px;
    font-weight: 700;
    color: #7E7E7E;
    margin-bottom: 20px;
}
.entry-header-text .entry-meta .posted-on {
    display: block;
    margin-bottom: 10px;
    position: relative;
    padding-left: 41px;
    background-image: url("assets/img/icon-clock.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center left;
    font-size: 0;
}
.entry-header-text .entry-meta a {
    pointer-events: none;
    font-size: 20px;
    color: #7E7E7E;
}
.entry-header-text-top {
    padding-bottom: 10px;
    border-bottom: 1px #4D4D4D dotted;
    margin-bottom: 30px;
}
.post-like-share {
    text-align: right;
}
.post-like-share .fb-like,
.post-like-share .fb-like span,
.post-like-share .fb-like iframe {
    width: 112px !important;
    margin-left: auto;
    overflow: hidden;
}
.post-view-comments {
    padding-top: 20px;
    border-top: 1px #4D4D4D dotted;
}
.post-view-comments .post-view-share {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.post-view-comments .post-view-share .posted-view {
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
}
.post-view-comments .post-view-share .posted-view img {
    padding-right: 9px;
}
#comments .comment-respond {
    background-color: transparent;
    margin-top: 15px;
    padding: 15px 0 0;
}
#comments .comments-title {
    font-size: 24px;
}
#comments .comment-list,
#comments .comment-respond {
    display: none;
}
.logged-in #comments .comment-list,
.logged-in #comments .comment-respond {
    display: block;
}

/* Trang tin tức */
.mam-post-cat ul {
    margin: 0;
}
.mam-post-cat ul li {
    display: inline-block;
    margin: 0 24px 20px 0;
}
.mam-post-cat ul li:last-child {
    margin-right: 0;
}
.mam-post-cat ul li a {
    display: inline-block;
    font-size: 24px;
    line-height: 1.3em;
    padding: 10px 16px;
    border-radius: 10px;
}
.mam-post-cat ul li a:hover,
.mam-post-cat ul li.active a {
    color: #ffffff;
    background: var(--fs-color-primary);
}
.mam-post-cat ul li.active a {
    font-weight: 700;
}

.blog-wrapper .article-inner .entry-image {
    margin-bottom: 24px;
}
.blog-wrapper .article-inner .entry-image a {
    display: block;
    position: relative;
    padding-top: 100%;
}
.blog-wrapper .article-inner .entry-image a img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
}
.blog-wrapper #post-list .article-inner .entry-title a {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.blog-wrapper #post-list .article-inner p {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}
.blog-wrapper .article-inner .entry-bottom div {
    display: inline-block;
}
.blog-wrapper .article-inner .entry-bottom img {
    padding-right: 10px;
}
.blog-wrapper .article-inner .entry-bottom .post-date {
    padding-right: 25px;
    /*margin-right: 20px;*/
    border-right: 1px #ffffff solid;
}

/* Trang chủ */
.slider-banner-image .img-inner {
    padding-top: 0 !important;
    height: 100vh;
}
.slider-banner-image .img-inner img {
    height: 100%;
    object-fit: cover;
}
.slider-nav-circle .flickity-prev-next-button {
    border: 1px #430C0D solid;
    border-radius: 10px;
}
.flickity-prev-next-button.previous {
    left: 25px;
}
.flickity-prev-next-button.next {
    right: 25px;
}
.slider-nav-circle.slider-nav-light .flickity-prev-next-button {
    border-color: #ffffff;
}
.slider-nav-circle .flickity-prev-next-button:hover {
    background: var(--fs-color-primary) !important;
    border-color: var(--fs-color-primary);
}
.slider-nav-circle .flickity-prev-next-button svg {
    border: none;
    background: none !important;
}
.slider-nav-push:not(.slider-nav-reveal) .flickity-prev-next-button {
    margin-top: 0;
}
.banner-home {
    text-align: center;
}
.banner-home1 h1 {
    text-transform: uppercase;
}
.banner-home1 .box-image img {
    min-height: 550px;
    object-fit: cover;
}
.btn-contact-banner {
    position: absolute;
    width: 270px;
    max-width: calc(100% - 30px);
    left: 50%;
    bottom: 45px;
    transform: translateX(-50%);
    font-weight: 700;
    margin: 0;
    padding: 6px 10px 6px 10px !important;
}
.section-cooperate .col {
    padding-bottom: 0;
}
.section-cooperate .section-bg {
    height: calc(100% - 100px);
    top: 50px;
}
.col-shadow > .col-inner {
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.25);

}

/* Trang về chúng tôi */
.text-vision {
    padding-left: 20px;
    border-left: 2px var(--fs-color-primary) solid;
}
.text-vision strong {
    position: relative;
}
.text-vision strong:before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--fs-color-primary);
    top: -2px;
    left: -26px;
}
.flickity-prev-next-button .arrow,
.flickity-prev-next-button svg,
.slider-nav-dark .flickity-prev-next-button .arrow,
 .slider-nav-dark .flickity-prev-next-button svg {
     fill: #430C0D;
 }
.slider-nav-light .flickity-prev-next-button .arrow,
.slider-nav-light .flickity-prev-next-button svg {
    fill: #ffffff;
}
.slider-custom-style1 .slider {
    padding: 0;
}
.slider-custom-style1 .slider .row {
    margin: 0;
    opacity: 1;
}
.slider-custom-style1 .slider .col {
    padding-bottom: 0;
}
.slider-custom-style1 .slider .col h6 {
    margin-bottom: 10px;
}
.slider-custom-style1 .slider .col p {
    margin-bottom: 0;
}
.slider-custom-style1 .flickity-slider .img {
    padding: 0;
}
.slider-custom-style1 .flickity-slider .img .img-inner {
    padding-top: 0 !important;
    border: 1px solid transparent;
    border-radius: 10px;
    transition: 0.3s;
}
.slider-custom-style1 .flickity-slider .row:hover .img .img-inner {
    border-color: var(--fs-color-primary);
}
.custom-title-cat h4 {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-height: 90px;
    padding-bottom: 16px;
    border-bottom: 3px solid transparent;
    transition: 0.3s;
}
.custom-title-cat h4:hover {
    color: var(--fs-color-primary);
    border-color: var(--fs-color-primary);
}

.social-style2.social-icons .button.icon {
    display: inline-block;
    margin: 0 16px 0 0;
    min-width: 36px;
    height: 36px;
    max-height: 36px;
    min-height: auto;
    padding: 0;
    border-radius: 0 !important;
    line-height: 35px;
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
.social-style2.social-icons .button.icon:last-child {
    margin: 0;
}
.social-style2.social-icons .button.icon i {
    font-size: 22px;
    display: none;
}
.social-style2.social-icons .button.icon.facebook {
    background-image: url("https://ruoumam.com.vn/wp-content/uploads/2025/06/icon-fb.svg");
}
.social-style2.social-icons .button.icon.instagram {
    background-image: url("https://ruoumam.com.vn/wp-content/uploads/2025/06/icon-ig.svg");
}
.social-style2.social-icons .button.icon.tiktok {
    background-image: url("https://ruoumam.com.vn/wp-content/uploads/2025/06/icon-tt.svg");
}
.mam-history-formation > .col-inner {
    position: relative;
}
.mam-history-formation > .col-inner:before {
    content: "";
    position: absolute;
    top: -22px;
    left: calc(50% - 10px);
    border-bottom: 25px solid var(--fs-color-primary);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
}
.mam-history-formation > .col-inner:after {
    content: "";
    position: absolute;
    width: 4px;
    height: 100%;
    top: 0;
    left: calc(50% - 2px);
    background: var(--fs-color-primary);
}
.mam-history-formation .icon-box {
    padding-right: 60px;
}
.mam-history-formation .col {
    padding-bottom: 0;
}
.mam-history-formation > .col-inner .row:nth-child(even) .icon-box {
    padding-left: 60px;
    padding-right: 0;
}
.mam-history-formation .icon-box .icon-box-text {
    padding-top: 50px;
    position: relative;
    border-top: 1px var(--fs-color-primary) solid;
    margin-top: 25px;
}
.mam-history-formation .icon-box .icon-box-text:before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    top: -6px;
    left: 0;
    background: var(--fs-color-primary);
    border-radius: 50%;
}
.mam-history-formation .icon-box .icon-box-text:after {
    content: "";
    position: absolute;
    width: 1px;
    height: 115px;
    top: -8px;
    right: -28px;
    background: var(--fs-color-primary);
    transform: rotate(151deg);
}
.mam-history-formation .icon-box .icon-box-text p {
    margin-bottom: 0;
}
.mam-history-formation .icon-box .icon-box-text h6 {
    position: absolute;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    top: 90px;
    right: -105px;
    background: var(--fs-color-primary);
    border-radius: 50%;
    z-index: 5;
}
.mam-history-formation > .col-inner .row:nth-child(even) .icon-box .icon-box-text h6 {
    right: auto;
    left: -105px;
}
.mam-history-formation > .col-inner .row:nth-child(even) .icon-box .icon-box-text:before {
    left: auto;
    right: 0;
}
.mam-history-formation > .col-inner .row:nth-child(even) .icon-box .icon-box-text:after {
    right: auto;
    left: -28px;
    transform: rotate(-151deg);
}
.mam-client .img {
    margin: 0 !important;
}

/* Trang đại lý */
.mam-agency-inner {
    padding: 20px;
    background: #eeeeee;
    /*border: 1px var(--fs-color-primary) solid;*/
    max-height: 600px;
    overflow-y: auto;
}
.mam-agency-inner select {
    font-size: 28px;
    font-weight: 700;
    color: #161616;
    border: 1px #A3A3A3 solid;
    border-radius: 10px;
    height: auto;
    padding: 9px 15px;
    background-color: transparent;
    outline: none;
    line-height: 1.3;
    /*background-image: url("https://mamdistillery.erasvietnam.com/wp-content/uploads/2025/05/arrow-down.png");*/
    background-size: 25px;
}
.mam-agency-inner select option {
    font-size: 18px;
    color: #161616;
}
.agency-list .agency-item {
    padding: 20px;
    border: 1px #ffffff solid;
    border-radius: 20px;
    box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.25);
    margin-top: 30px;
    cursor: pointer;
    transition: 0.3s;
}
.agency-list .agency-item:hover,
.agency-list .agency-item.active {
    border-color: var(--fs-color-primary);
    background: #ffffff;
}
.agency-list .agency-item .entry-title {
    padding-bottom: 10px;
    border-bottom: 1px #eeeeee solid;
    margin: 0;
    transition: 0.3s;
}
.agency-list .agency-item:hover .entry-title,
.agency-list .agency-item.active .entry-title {
    border-color: var(--fs-color-primary);
    color: var(--fs-color-primary);
}
.agency-info div {
    display: flex;
    align-items: center;
    margin-top: 16px;
    transition: 0.3s;
}
.agency-list .agency-item:hover .agency-info div,
.agency-list .agency-item.active .agency-info div {
    color: #161616;
}
.agency-info div img {
    width: 15px;
    margin-right: 15px;
    transition: 0.3s;
}
/*.agency-list .agency-item:hover .agency-info div img,*/
/*.agency-list .agency-item.active .agency-info div img {*/
    /*filter: brightness(0) invert(1);*/
    /*-webkit-filter: brightness(0) invert(1);*/
/*}*/
.slider .post-item .post-title {
    font-size: 28px;
    margin: 0 0 24px;
}
.slider .post-item .is-divider {
    display: none;
}
#agency-map iframe {
    width: 100% !important;
    height: 600px !important;
}

#powerTip {
    width: 360px;
    max-width: calc(100vw - 30px);
    padding: 20px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 5px 5px 0px 0px rgba(171, 33, 36, 1);
    font-size: 14px;
    color: #161616;
}
#powerTip.s:before {
    border-bottom: 10px solid #ffffff;
}
#powerTip.n::before {
    border-top: 10px solid #ffffff;
}
#powerTip h4 {
    font-size: 24px;
    color: var(--fs-color-primary);
    padding-left: 42px;
    background-image: url("https://ruoumam.com.vn/wp-content/uploads/2025/05/icon_pin-location.svg");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 36px;
    margin: 0 0 10px;
}
#powerTip h6 {
    color: #161616;
    margin: 0 0 10px;
}
#powerTip p {
    font-size: 14px;
    color: #161616;
    margin: 0 0 10px;
}
#powerTip p a {
    display: inline-block;
    margin-left: auto;
    color: var(--fs-color-primary);
    padding-right: 20px;
    background-image: url("https://ruoumam.com.vn/wp-content/uploads/2025/05/arrow-right.png");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 6px;
}
.pins_animation.ihotspot_pulse {
    border-left-color: #44AF20 !important;
    border-right-color: #44AF20 !important;
    border-top-color: #44AF20 !important;
    box-shadow: #44AF20 0px 0px 59.7622px 0px !important;
    border-bottom-color: #44AF20 !important;
    -moz-animation: Ani 1.5s infinite !important;
    -webkit-animation: Ani 1.5s infinite !important;
    animation: Ani 1.5s infinite !important;
}

.row-col-border-right > .col {
    padding-bottom: 0;
    border-right: 1px #ffffff solid;
}
.row-col-border-right > .col:last-child {
    border-right: none;
}
body.woocommerce-page #main {
    padding-top: 60px;
}
body.woocommerce-page.archive #main {
    padding-top: 0;
    padding-bottom: 30px;
}
body.woocommerce-page.single-product #main {
    padding-top: 0;
}
.slider .flickity-slider .product-small {
    padding-bottom: 0 !important;
}

.woocommerce-cart .row.row-main,
.woocommerce-checkout .row.row-main {
    max-width: none;

}
body.woocommerce-page.woocommerce-cart #main,
body.woocommerce-page.woocommerce-checkout #main {
    padding-top: 0;
    background: #EAEAEA;
    color: #161616;
}
body.woocommerce-page .input-text.qty {
    height: 40.41px;
}
.woocommerce-cart .row.row-main > .col,
.woocommerce-checkout .row.row-main > .col {
    padding: 0;
}
.woocommerce-cart td.product-thumbnail img {
    border: 1px #AB2124 solid;
    border-radius: 10px;
}
.woocommerce-checkout h2,
.woocommerce-checkout h3,
.woocommerce-checkout h4,
.woocommerce-checkout h5,
.woocommerce-checkout h6,
.woocommerce-checkout p,
.woocommerce-checkout label {
    color: #161616;
}
.woocommerce-checkout #customer_details .woocommerce-input-wrapper,
.woocommerce-checkout #customer_details input,
.woocommerce-checkout #customer_details textarea,
.woocommerce-checkout #customer_details label {
    width: 100%;
    color: #161616;
}
.woocommerce-checkout .woocommerce span {
    color: #161616;
}
.variations_form th,
.variations_form td {
    width: 100%;
    padding: 0;
    display: block;
}
.variations_form th {
    font-size: 20px;
}
.variations_form table.variations .value {
    width: 315px;
    max-width: 100%;
    position: relative;
}
.variations_form table.variations select {
    outline: none !important;
    box-shadow: none !important;
}
.variations_form .woocommerce-variation-price {
    padding: 20px 0;
}
.variations_form .woocommerce-Price-amount.amount {
    font-size: 28px;
    color: var(--fs-color-primary);
}
.variations_form .reset_variations {
    color: red;
    font-size: 14px;
    padding-bottom: 5px;
}


#popup-canh-bao.lightbox-content {
    border-radius: 20px;
    overflow: hidden;
}
.mfp-close-btn-in #popup-canh-bao .mfp-close {
    color: currentColor;
    top: auto !important;
}
.mfp-ready #popup-canh-bao .mfp-close {
    opacity: 1;
}
.mfp-content #popup-canh-bao .mfp-close {
    position: relative;
}
.mfp-content #popup-canh-bao .mfp-close {
    -webkit-backface-visibility: hidden;
    box-shadow: none;
    color: #fff;
    cursor: pointer;
    font-family: inherit;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    height: auto;
    padding: 12px 5px;
    border-radius: 8px;
    line-height: 1.6;
    width: 176px;
    max-width: 100%;
    text-align: center;
    margin: 0 !important;
    min-height: 0;
    mix-blend-mode: difference;
    opacity: 1;
    outline: none;
    position: relative;
    right: auto;
    text-decoration: none;
    top: auto;
    transition: opacity .6s, transform .3s;
    transition-delay: .15s;
    z-index: 1;
}
.mfp-content #popup-canh-bao .mfp-close.duoi-18 {
    padding: 11px 5px;
}
#popup-canh-bao .col .mfp-close.is-outline {
    color: var(--fs-color-secondary);
    border-color: var(--fs-color-secondary);
}
#popup-canh-bao .col .mfp-close.is-outline:hover {
    color: #ffffff;
}
.mfp-close-btn-in #popup-quang-cao .mfp-close {
    color: #ffffff;
    opacity: 1;
    mix-blend-mode: inherit;
}
#popup-quang-cao.lightbox-content {
border-radius: 20px;
overflow: hidden;
}

#wrapper > .shop-page-title,
.shop-page-title .is-large,
.shop-page-title .woocommerce-breadcrumb {
    display: none;
}
.archive.woocommerce-page .category-page-row > .large-9 {
    border-left: 1px var(--fs-color-primary) solid;
}
.archive.woocommerce-page .products.row .product-small.col {
    padding-bottom: 30px;
}
@media screen and (min-width: 850px) {
    .archive.woocommerce-page .category-page-row > .large-9 {
        flex-basis: 78%;
        max-width: 78%;
    }
    .archive.woocommerce-page .category-page-row > .large-9 .shop-page-title,
    .archive.woocommerce-page .category-page-row > .large-9 .shop-container {
        padding-left: 15px;
    }
    .archive.woocommerce-page .category-page-row > .large-3 {
        flex-basis: 22%;
        max-width: 22%;
    }
    .archive.woocommerce-page .products.row {
        margin-left: -15px;
        margin-right: -15px;
    }
    .archive.woocommerce-page .products.row .product-small.col {
        padding: 0 15px 30px;
    }
    #shop-sidebar {
        padding-right: 15px;
    }
}
.shop-page-title .page-title-inner {
    padding: 0;
    margin-bottom: 30px;
    position: relative;
}
.shop-page-title .page-title-inner:after {
    content: "";
    position: absolute;
    width: calc(100% + 30px);
    height: 1px;
    bottom: 0;
    left: -30px;
    background: var(--fs-color-primary);
}
.shop-page-title .shop-page-title {
    font-size: 40px;
}
.woocommerce-ordering select {
    border: none;
    background-color: var(--fs-color-primary);
    border-radius: 8px;
    font-size: 18px;
    color: #ffffff;
    line-height: 1.3;
    background-image: url(https://ruoumam.com.vn/wp-content/uploads/2025/05/arrow-down.png);
    background-size: 15px;
    outline: none !important;
    box-shadow: none !important;
    height: 38px;
    margin: 0 0 20px;
}
#shop-sidebar .widget-title {
    display: block;
    font-size: 22px;
    text-transform: uppercase;
    text-align: left;
    margin: 0 0 40px;
}
#shop-sidebar .is-divider {
    display: none;
}
#shop-sidebar .product-categories .cat-item {
    margin-bottom: 20px;
    border: none;
}
#shop-sidebar .product-categories .cat-item:last-child {
    margin-bottom: 0;
}
#shop-sidebar .product-categories .cat-item a {
    font-size: 20px;
    text-transform: uppercase;
    padding: 0;
}
#shop-sidebar .product-categories .cat-item a:hover,
#shop-sidebar .product-categories .cat-item.current-cat>a {
    color: var(--fs-color-primary);
}
#shop-sidebar ul.children {
    margin: 20px 0 0;
    border: none;
}
.widget ul.children>li.has-child {
    align-items: center;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}
#shop-sidebar ul.children .cat-item a {
    font-size: 18px;
    text-transform: capitalize;
}
#shop-sidebar .widget .toggle i {
    opacity: 1;
    display: none;
}
#shop-sidebar .widget .cat-item > .toggle {
    background-image: url("assets/img/icon-plus.svg");
    background-size: 62px;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    overflow: hidden;
    transition: 0.3s;
}
#shop-sidebar .widget .cat-item.active > .toggle {
    background-image: url("assets/img/icon-minus.svg");
}

.woocommerce-wishlist .yith_wcwl_wishlist_footer {
    display: none;
}
.woocommerce-view-order span.amount,
.woocommerce-wishlist span.amount,
.woocommerce-orders span.amount {
    color: var(--fs-color-primary);
}
.related-products-wrapper {
    padding-left: 40px;
    padding-right: 40px;
}
.related-products-wrapper .slider-nav-reveal {
    overflow: visible;
}
.related-products-wrapper .flickity-prev-next-button {
    border: 1px var(--fs-color-primary) solid;
    border-radius: 5px;
}
.related-products-wrapper .flickity-prev-next-button:hover {
    border-color: var(--fs-color-primary);
}
.related-products-wrapper .flickity-prev-next-button svg,
.related-products-wrapper .flickity-prev-next-button .arrow {
    fill: var(--fs-color-primary);
}
.related-products-wrapper .flickity-prev-next-button:hover svg,
.related-products-wrapper .flickity-prev-next-button:hover .arrow {
    fill: var(--fs-color-primary);
}
.related-products-wrapper .slider-nav-reveal .flickity-prev-next-button.previous {
    left: -40px !important;
}
.related-products-wrapper .slider-nav-reveal .flickity-prev-next-button.next {
    right: -40px !important;
}
#lightbox-popup-form-register .account-container {
    padding: 10px 0 0;
}
#lightbox-popup-form-register,
#login-form-popup:not(:has(.account-register-inner)) {
    margin-right: calc((100vw - 1060px) / 2);
    max-width: 360px;
    padding: 10px 0 0;
    min-height: calc(100vh - 60px);
    background: none;
}
@media only screen and (max-width: 1280px) {
    #lightbox-popup-form-register,
    #login-form-popup:not(:has(.account-register-inner)) {
        margin-right: 100px;
    }
}
.mfp-content #login-form-popup > .woocommerce,
.mfp-content .mam-customer_login .account-register-inner {
    padding: 20px;
    background: #ffffff;
}
#login-form-popup > .woocommerce .woocommerce-notices-wrapper .message-container,
#login-form-popup > .woocommerce .woocommerce-notices-wrapper,
#login-form-popup > .woocommerce .inner-padding {
    padding: 0;
}
#login-form-popup .account-container.lightbox-inner>.account-login-inner {
    padding-left: 0;
    padding-right: 0;
}
.mam-customer_login .account-register-inner h3,
.mam-customer_login .account-login-inner h3 {
    font-size: 24px;
}
.mam-customer_login .form-row {
    display: block;
    margin: 0;
}
.woocommerce-form-row .password-input {
    width: 100%;
}
.account-login-inner .form-row label {
    width: 100%;
}
.mam-customer_login .woocommerce-LostPassword {
    margin: 1em 0;
}
.slider-nav-outside .flickity-prev-next-button.previous {
    left: auto;
    right: 100%;
}
.slider-nav-outside .flickity-prev-next-button.next {
    left: 100%;
    right: auto;
}
.row-quy-trinh .col {
    padding-bottom: 0;
    margin-top: -20px;
}
.col-luu-y.col {
    padding-bottom: 0;
}
/*.rd-20 > .col-inner {*/
    /*border-radius: 20px;*/
    /*overflow: hidden;*/
/*}*/
.quy-trinh-nau:after {
    content: "";
    position: absolute;
    width: 1px;
    height: 100%;
    top: 0;
    left: 50%;
    background: #ffffff;
}
.quy-trinh-nau .row {
    margin-bottom: 40px;
}
.quy-trinh-nau .row .col {
    padding-bottom: 0;
}
.quy-trinh-nau .row .col .img:before {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: calc(50% - 8px);
    left: -72px;
    border: 1px #ffffff solid;
    border-radius: 50%;
    z-index: 2;
}
.quy-trinh-nau .row .col .img:after {
    content: "";
    position: absolute;
    width: 57px;
    height: 1px;
    top: 50%;
    right: 100%;
    z-index: 2;
    background: #ffffff;
}
.quy-trinh-nau .row .col:first-child .img:before {
    left: auto;
    right: -72px;
}
.quy-trinh-nau .row .col:first-child .img:after {
    right: auto;
    left: 100%;
}
.quy-trinh-nau .row .col .img .img-inner {
    overflow: visible;
}
.quy-trinh-nau .row .col .img .img-inner:before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    top: calc(50% - 5px);
    left: -69px;
    background: #ffffff;
    border-radius: 50%;
    z-index: 2;
}
.quy-trinh-nau .row .col:first-child .img .img-inner:before {
    left: auto;
    right: -69px;
}
.quy-trinh-nau div.text p {
    text-align: justify;
}
aside .post-item .box-vertical {
    display: table;
    width: 100%;
}
.row.row-small {
    max-width: 1220px;
}
.container .row-small:not(.row-collapse),
.row .row-small:not(.row-collapse) {
    margin-left: -15px;
    margin-right: -15px;
}
.row-small>.col, .row-small>.flickity-viewport>.flickity-slider>.col {
    margin-bottom: 0;
    padding: 0 15px 30px;
}
.wishlist_table .item-details .product-name h3 {
    font-size: 16px;
}
.contact-form-contact-us label {
    font-size: 16px;
}
.wpcf7 .contact-form-contact-us .wpcf7-checkbox {
    margin: 0 0 12px;
}
.wpcf7 .contact-form-contact-us .btn-submit,
.wpcf7 .contact-form-contact-us .btn-submit p {
    text-align: right;
}
.wpcf7 .contact-form-contact-us textarea {
    max-height: 150px;
}
.wpcf7 .contact-form-contact-us input[type="file"],
.wpcf7 .contact-form-contact-us input[type="text"],
.wpcf7 .contact-form-contact-us input[type="email"],
.wpcf7 .contact-form-contact-us input[type="tel"],
.wpcf7 .contact-form-contact-us textarea {
    width: 100%;
    padding: 10px 15px;
    background: none;
    border-radius: 0;
    border: 1px #918c8c solid;
}
.wpcf7 .contact-form-contact-us .btn-submit input {
    background: var(--fs-color-primary);
    border-color: var(--fs-color-primary);
    border-radius: 99px;
    text-transform: uppercase;
}
.col-form-border > .col-inner {
    border-left: 1px var(--fs-color-primary) solid;
}
.mam-customer_login .woocommerce-privacy-policy-text {
    display: none;
}
.mam-customer_login input {
    padding-left: 25px !important;
    background-image: url("https://ruoumam.com.vn/wp-content/uploads/2025/06/user_icon.svg");
    background-repeat: no-repeat;
    background-size: 15px;
    background-position: 0 center;
    margin-bottom: 10px;
}
.mam-customer_login input[type=password] {
    background-image: url("https://ruoumam.com.vn/wp-content/uploads/2025/06/closed_lock_icon.svg") !important;
}
.mam-customer_login input.input-text-phone {
    background-image: url("https://ruoumam.com.vn/wp-content/uploads/2025/06/phone-icon.svg");
}
.mam-customer_login input[type=email] {
    background-image: url("https://ruoumam.com.vn/wp-content/uploads/2025/06/message-icon.svg");
}
.mam-btn-popup1,
.woocommerce-form-login__submit {
    min-width: 200px;
    border-radius: 99px;
    margin: 10px 0 0;
}
.mfp-content .not-user,
.mfp-content .mam-btn-login-register {
    display: block;
    text-align: center;
}
p.dacotk {
    margin-bottom: 5px;
}
.woocommerce-billing-fields__field-wrapper #billing_first_name_field {
    float: none;
    width: 100%;
    margin-right: 0;
}
.woocommerce-checkout #customer_details #ship-to-different-address label {
    display: flex;
    text-align: left;
    justify-content: flex-start;
    align-items: center;
}
.woocommerce-checkout #customer_details #ship-to-different-address label input {
    width: auto;
}

.woocommerce-account .woocommerce-message.message-wrapper a,
.woocommerce-account .woocommerce-MyAccount-content > p:nth-child(2) a {
    color: #ad1a27;
    font-weight: 700;
}

@media only screen and (min-width: 850px) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
    .title-quy-trinh {
        position: relative;
    }
    .title-quy-trinh:before {
        content: "";
        position: absolute;
        width: 1px;
        height: 71px;
        top: 100%;
        left: 70px;
        background: #ffffff;
    }
    .title-quy-trinh:after {
        content: "";
        position: absolute;
        width: calc(100% - 40px);
        height: 1px;
        top: calc(100% + 71px);
        left: 70px;
        background: #ffffff;
    }
}
@media only screen and (min-width: 550px) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
    .block-form-contact .col-left {
        position: relative;
        z-index: 9;
    }
    .block-form-contact .col-right > .col-inner {
        position: relative;
    }
    .block-form-contact .col-right > .col-inner:after {
        content: "";
        position: absolute;
        width: 150%;
        height: 100%;
        top: 0;
        right: 0;
        background: var(--fs-color-primary);
        z-index: -1;
    }
    .quy-trinh-nau .row .col:first-child > .col-inner {
        padding-right: 50px;
    }
    .quy-trinh-nau .row .col:last-child > .col-inner {
        padding-left: 50px;
    }
    #powerTip.power-tip-left.s {
        left: 0 !important;
    }
    #powerTip.power-tip-right.s {
        left: calc(100% - 360px) !important;
    }
    .banner-home1 .box-image img {
        object-position: center right;
    }
}
@media only screen and (min-width: 550px) and (max-width: 1110px) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
    .title-block-form br {
        display: none;
    }
}
@media only screen and (max-width: 1280px) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
    .banner-home1 .slider-nav-outside .flickity-prev-next-button.previous {
        right: calc(100% - 51px);
        filter: brightness(0) invert(1);
        -webkit-filter: brightness(0) invert(1);
    }
    .banner-home1 .slider-nav-outside .flickity-prev-next-button.next {
        left: calc(100% - 51px);
        filter: brightness(0) invert(1);
        -webkit-filter: brightness(0) invert(1);
    }

}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
    .section-title b {
        display: none;
    }
    .section-title .section-title-main {
        margin: 0 auto;
    }

}
@media only screen and (max-width: 549px) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/

    .row-text-left > .col {
        order: 2;
    }
    .row-text-left > .col:nth-child(2) {
        order: 1;
    }
    .post-item .box-vertical .box-text {
        padding: 20px 0 0;
    }
    .quy-trinh-nau .row .col > .col-inner {
        padding-left: 50px;
    }
    .quy-trinh-nau:after {
        left: 37px;
    }
    .quy-trinh-nau .row .col .img:before {
        left: -51px !important;
        right: auto !important;
    }
    .quy-trinh-nau .row .col .img:after {
        width: 37px;
        right: 100% !important;
        left: auto !important;
    }
    .quy-trinh-nau .row .col .img .img-inner:before {
        left: -48px !important;
        right: auto !important;
    }
    #powerTip {
        padding: 20px;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    #powerTip:before,
    #powerTip:after {
        display: none !important;
    }
    .mam-history-formation .icon-box .icon-box-text p {
        text-align: right !important;
    }
    /*body p {*/
        /*text-align: center;*/
    /*}*/
    /*.container .row:not(.row-collapse), .lightbox-content .row:not(.row-collapse), .row .gallery, .row .row:not(.row-collapse) {*/
        /*margin-left: -30px;*/
        /*margin-right: -30px;*/
    /*}*/
    /*.row-small>.col, .row-small>.flickity-viewport>.flickity-slider>.col,*/
    /*.col, .columns, .gallery-item,*/
    /*.container {*/
        /*padding-left: 30px;*/
        /*padding-right: 30px;*/
    /*}*/

    /*.row, .container .row:not(.row-collapse), .lightbox-content .row:not(.row-collapse), .row .gallery, .row .row:not(.row-collapse) {*/
        /*padding-left: 15px;*/
        /*padding-right: 15px;*/
    /*}*/
    /*.row .row {*/
        /*padding-left: 0;*/
        /*padding-right: 0;*/
    /*}*/

    .row.category-page-row,
    section .section-content > .row {
        padding-left: 15px;
        padding-right: 15px;
    }
    section.banner-home1 .section-content > .row {
        padding-left: 0;
        padding-right: 0;
    }
    .woocommerce-page .page-wrapper > .row > .large-12,
    .container {
        padding-left: 30px;
        padding-right: 30px;
    }
    .blog-archive > .archive-page-header > .row > .large-12,
    .blog-wrapper > .row > .col {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
    .rank-math-breadcrumb p {
        text-align: left;
    }

    /*.row-large>.col, .row-large>.flickity-viewport>.flickity-slider>.col {*/
        /*padding-left: 30px !important;*/
        /*padding-right: 30px !important;*/
    /*}*/
    /*.slider-custom-style1 .slider .row {*/
        /*margin: 0 ;*/
    /*}*/
    /*.slider-custom-style1 .slider .col {*/
        /*padding: 0 !important;*/
    /*}*/
    .row-col-border-right {
        padding: 0 20px;
    }
    .row-col-border-right > .col {
        padding: 0 10px;
    }
    .row-social-fixed {
        right: 21px;
        bottom: 36px;
    }
    .row-social-fixed .icon-box-img {
        width: 35px !important;
        height: 35px !important;
    }
    .row-social-fixed .icon-box.icon-box-social-effcet .icon-inner,
    .row-social-fixed .icon-box-social-effcet.icon-box,
    .row-social-fixed .icon-box.icon-box-social-effcet .icon-inner img {
        width: 35px;
        height: 35px;
    }
    .not-user,
    .mam-btn-login-register {
        display: block;
        text-align: center;
    }

}
/*.slider .flickity-slider > .row:not(.row-collapse) {*/
    /*margin: 0 !important;*/
/*}*/
/*.slider .flickity-slider > .row:not(.row-collapse) > .col {*/
    /*padding-left: 0 !important;*/
    /*padding-right: 0 !important;*/
/*}*/
@media screen and (min-width: 850px) {
    .container .row-large:not(.row-collapse), .row .row-large:not(.row-collapse) {
        margin-left: -15px;
        margin-right: -15px;
    }
}

#powerTip:before,
#powerTip:after {
    display: none !important;
}
.return-to-shop {
    text-align: center;
    margin: 0;
}
.return-to-shop a.button {
    margin: 15px 0 0;
}
.widget_shopping_cart .return-to-shop a.button {
    margin: 0;
}

