/*
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.   ***************/


@font-face {
    font-family: 'Carlito';
    src: url('/wp-content/themes/flatsome-child/fonts/Carlito-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

html,
body {
    font-family: 'Carlito', sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.heading-font,
.off-canvas-center .nav-sidebar.nav-vertical>li>a {
    font-family: 'Carlito', sans-serif !important;
}

@font-face {
    font-family: 'Protest Strike';
    src: url('/wp-content/themes/flatsome-child/fonts/ProtestStrike-Regular.woff2') format('woff2'),
        url('/wp-content/themes/flatsome-child/fonts/ProtestStrike-Regular.woff') format('woff'),
        url('/wp-content/themes/flatsome-child/fonts/ProtestStrike-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.font_strike,
.font_strike>* {
    font-family: "Protest Strike", sans-serif !important;
    font-weight: 500;
}

.text_14,
.text_14>* {
    font-size: 14px;
}

.text_18,
.text_18>* {
    font-size: 18px;
}

.text_22,
.text_22>* {
    font-size: 22px;
}

.text_26,
.text_26>* {
    font-size: 26px;
}

.text_32,
.text_32>* {
    font-size: 32px;
}
.text_40,
.text_40>* {
    font-size: 40px;
}
.font_700, .font_700 >*{
    font-weight: 700;
}
.html1 a,
.html2 a {
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    gap: 10px;
}

.html1,
.html2 {
    display: flex;
}

.html1 a:hover,
.html2 a:hover {
    color: #ec2324;
}

.html1 a span {
    color: #ec2324;
}

.html1 .phone_icon::before {
    content: "";
    background-image: url(/wp-content/uploads/2025/09/phone-call.png);
    background-size: contain;
    display: block;
    position: relative;
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
}

.html1 .clock_icon::before {
    content: "";
    background-image: url(/wp-content/uploads/2025/09/clock.png);
    background-size: contain;
    display: block;
    position: relative;
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
}

.html1 .phone_icon {
    border-right: 1px solid #454545;
    padding-right: 20px;
    margin-right: 20px;
}

.html2 .chat_icon {
    border-right: 1px solid #454545;
    padding-right: 20px;
    margin-right: 20px;
}

.html2 .chat_icon::before {
    content: "";
    background-image: url(/wp-content/uploads/2025/09/chat.png);
    background-size: contain;
    display: block;
    position: relative;
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
}

.html2 .home_icon::before {
    content: "";
    background-image: url(/wp-content/uploads/2025/09/store.png);
    background-size: contain;
    display: block;
    position: relative;
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
}

.header-main {
    background-color: #000;
    border-top: 1px solid #454545;
    border-bottom: 1px solid #454545;
}

.header-main .search-field {
    border: 1px solid #454545 !important;
    border-radius: 7px !important;
    padding: 22px;
}

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

.star_header .star-rating:before {
    color: #f2b52f;
}

.star_header {
    display: flex;
    justify-content: center;
    gap: 5px;
    align-items: center;
}

.star_header p {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 700;
}

.header-main .header-search-form {
    flex: 1;
    padding-right: 90px;
}

.header .header-main .menu-item {
    margin-left: 90px !important;
}

.header-main .header-search-form .icon-search:before {
    color: #fff;
    font-size: 20px;
}

.header-main .header-search-form button {
    right: 10px;
}

.header-main .icon-shopping-cart:before {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    background-color: white;
    /* đổi màu icon */
    -webkit-mask: url('/wp-content/uploads/2025/09/cart-shopping-svgrepo-com.svg') no-repeat center;
    -webkit-mask-size: contain;
    mask: url('/wp-content/uploads/2025/09/cart-shopping-svgrepo-com.svg') no-repeat center;
    mask-size: contain;
}

.header-main .cart-item:hover .icon-shopping-cart:before {
    background-color: #ec2324;
}

.header-main .icon-user:before {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    background-color: white;
    /* đổi màu icon */
    -webkit-mask: url('/wp-content/uploads/2025/09/user-circle-svgrepo-com-1.svg') no-repeat center;
    -webkit-mask-size: contain;
    mask: url('/wp-content/uploads/2025/09/user-circle-svgrepo-com-1.svg') no-repeat center;
    mask-size: contain;
}

.header-main .account-item:hover .icon-user:before {
    background-color: #ec2324;
}

.header-main .icon-shopping-cart::after {
    background-color: #ec2324;
}

.header-main .account-link {
    border: none;
}

.header-main .account-link:hover {
    background-color: transparent;
}

.header-main .header-vertical-menu__opener {
    background-color: #ec2324;
}

.header-main .icon-angle-down {
    margin-left: 40px;
    margin-right: 0;

}

.header-nav-main .nav-top-link {
    background-color: #ec2324;
    padding: 13px 20px;
    border-radius: 8px;
    text-transform: math-auto;
    font-size: 16px;
}

.header .icon-angle-down {
    opacity: 1;
}

.s_new_ft_amlab .row>.col {
    padding-bottom: 0;
}

.mg0>* {
    margin-bottom: 0 !important;
}

.s_new_ft_amlab .r1 .ux-menu-link__text {
    color: #fff;
}

.s_new_ft_amlab .r2 .ux-menu-link__text {
    color: #808080;
    font-size: 14px;
    font-weight: 700;
}

.s_new_ft_amlab .r1 .ux-menu-link__text:hover {
    color: #ec2324;
}

.s_new_ft_amlab .r2 .ux-menu-link__text:hover {
    color: #fff;
}

.s_new_ft_amlab {
    border-bottom: 1px solid #454545;
}

.s_new_ft_amlab h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 22px;
}

.s_new_ft_amlab .tooltip {
    padding: 11px;
    background-color: #454545;
    border-radius: 8px;
}

.s_new_ft_amlab .tooltip i {
    color: #fff;
}

.s_new_ft_amlab .tooltip:hover {
    background-color: #ec2324;
}

.s_new_ft_amlab .ux-menu-link__link {
    min-height: unset;
}

.pb0 {
    padding-bottom: 0 !important;
}

.s_new_ft_amlab .col_logo .col-inner {
    padding-right: 50px;
}

.s_new_ft_amlab .col_paypal .col-inner {
    padding: 0 50px;
}

.slider_home_page .img_left {
    overflow: visible;
    padding: 0px;
    width: 433px !important;
    height: 414px;
    z-index: 6;
    position: absolute !important;
    transform: unset !important;
    display: block;
    left: -5%;
    top: 0%;
}

.slider_home_page .img_left2 {
    overflow: visible;
    padding: 0px;
    width: 136px !important;
    height: 180px;
    z-index: 6;
    position: absolute !important;
    transform: unset !important;
    top: 57%;
    display: block;
    left: -1%;
}

.slider_home_page .img_right {
    overflow: visible;
    padding: 0px;
    width: 679px !important;
    height: 589px;
    z-index: 0;
    position: absolute !important;
    display: block;

    right: 0;
    left: unset;
    bottom: 0;
    top: unset;
}

.slider_home_page .title_banner_sl,
.slider_home_page .noidung_bn,
.slider_home_page .btn_discover {
    opacity: 0;
    transform: translateY(50px);
}

.slider_home_page .animate-slide .title_banner_sl {
    animation: slideUp 0.8s ease forwards 0.3s;
}

.slider_home_page .animate-slide .noidung_bn {
    animation: slideUp 0.8s ease forwards 0.8s;
}

.slider_home_page .animate-slide .btn_discover {
    animation: slideUp 0.8s ease forwards 1.4s;
}

.slider_home_page .animate-slide .btn_discover {
    border-radius: 7px;
    padding: 10px 35px;
    color: #111;
    text-transform: math-auto;
    background-color: #fff;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Trạng thái ban đầu */
.slider_home_page .img_left,
.slider_home_page .img_left2,
.slider_home_page .img_right {
    opacity: 0;
    transform: translateX(0) !important;
    /* reset để tránh giật */
}

.slider_home_page .animate-slide .img_left {
    animation: slideLeft 0.8s ease forwards 0.2s;
}

.slider_home_page .animate-slide .img_left2 {
    animation: slideLeft 0.8s ease forwards 0.7s;
}

.slider_home_page .animate-slide .img_right {
    animation: slideRight 0.8s ease forwards 1.2s;
}

/* Keyframes */
@keyframes slideLeft {
    from {
        opacity: 0;
        transform: translateX(-80px) !important;
        /* dịch sang trái */
    }

    to {
        opacity: 1;
        transform: translateX(0) !important;
    }
}

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(80px) !important;
        /* dịch sang phải */
    }

    to {
        opacity: 1;
        transform: translateX(0) !important;
    }
}

.title_banner_sl h2 {
    font-size: 80px;
    font-weight: 400 !important;
    color: rgb(255, 255, 255);
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0px;
    line-height: 86px;
}

.banner_shop .title_banner h2 {
    font-size: 60px;
    font-weight: 400;
    color: rgb(255, 255, 255);
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0px;
    line-height: 65px;
}

.slider_home_page .text-box {
    z-index: 10;
}

.img_cate_home .box {
    overflow: hidden;
}

.img_cate_home .box-text {
    position: absolute;
    top: 5%;
    left: 5%;
}

.img_cate_home .img {
    position: absolute !important;
    width: 220px !important;
    height: 180px;
    top: 22%;
    right: 0%;
    z-index: 0 !important;
}

.img_cate_home .box-image {
    border-radius: 10px;
}

.img_cate_home .button {
    background-color: #fff;
    color: #111;
    text-transform: math-auto;
    position: relative;
    bottom: 75px;
    left: 6%;
    overflow: hidden;
    border: none;
}

.img_cate_home .button::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(315deg, #fff 50%, #ec2324 50%);
    background-size: 300%;
    background-position: bottom right;
    /* bắt đầu từ góc dưới phải */
    transition: background-position 0.3s ease-in-out;
    z-index: -1;
}

/* hover: đẩy gradient chạy về góc trên trái */
.img_cate_home .button:hover::before {
    background-position: top left;
}

/* đổi màu chữ khi hover */
.img_cate_home .button:hover {
    color: #fff;
}

.btn_toblack {
    background-color: #ec2324;
    color: #fff !important;
    position: relative;
    overflow: hidden;
    border: none;
    z-index: 1;
    padding: 10px 30px;
    font-size: 16px;
}

.btn_toblack::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(315deg, #000 50%, #ec2324 50%);
    background-size: 300%;
    background-position: top left;
    /* mặc định hiển thị nền trắng */
    transition: background-position 0.3s ease-in-out;
    z-index: -1;
}

.btn_toblack:hover::before {
    background-position: bottom right;
    /* trượt sang đỏ */
}

.btn_toblack:hover {
    color: #fff !important;
    /* chữ trắng khi hover */
}

.btn_tored {
    background-color: #fff;
    color: #222 !important;
    position: relative;
    overflow: hidden;
    border: none;
    z-index: 1;
    padding: 10px 30px;
    font-size: 16px;
}

.btn_tored::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(315deg, #ec2324 50%, #fff 50%);
    background-size: 300%;
    background-position: top left;
    /* mặc định hiển thị nền trắng */
    transition: background-position 0.3s ease-in-out;
    z-index: -1;
}

.btn_tored:hover::before {
    background-position: bottom right;
    /* trượt sang đỏ */
}

.btn_tored:hover {
    color: #fff !important;
    /* chữ trắng khi hover */
}

.img_cate_home .move1,
.img_cate_home .move2,
.img_cate_home .move3,
.img_cate_home .move4,
.img_cate_home .movetoleft {
    transition: transform 0.8s ease;
    position: relative;
    z-index: 1;
}

/* Hover trên .box bên trong .img_cate_home */
.img_cate_home .col-inner:hover .move1 {
    transform: translateX(40px);
    transition-delay: 0s;
}

.img_cate_home .col-inner:hover .move2 {
    transform: translateX(40px);
    transition-delay: 0.15s;
}

.img_cate_home .col-inner:hover .move3 {
    transform: translateX(40px);
    transition-delay: 0.3s;
}

.img_cate_home .col-inner:hover .move4 {
    transform: translateX(40px);
    transition-delay: 0.45s;
}

.img_cate_home .col-inner:hover .movetoleft {
    transform: translateX(-30px);
    transition-delay: 0s;
}

.img_cate_home .tile_save h2 {
    font-size: 54px;
    text-transform: uppercase;
    line-height: 1.1em;
    margin-bottom: 10px;
}

.amlab_slider .col {
    flex-basis: 25%;
    max-width: 25%;
}

.amlab_slider .flickity-page-dots .dot,
.amlab_slider_blog .flickity-page-dots .dot {
    border-radius: 99%;
    height: 9px;
    width: 9px;
    border: 3px solid #ddd;
    background-color: #ddd;
    opacity: 1;
}

.amlab_slider .flickity-page-dots .dot.is-selected,
.amlab_slider_blog .flickity-page-dots .dot.is-selected {
    background-color: #ec2324;
    opacity: 1 !important;
    border-color: #ec2324;
    width: 28px;
    border-radius: 10px;
}

.amlab_slider .box-text {
    position: relative;
    background-color: #000;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    overflow: hidden;
    padding-left: 30px;
}

.amlab_slider .box-text::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100%;
    background-color: #ec2324;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 40% 100%);
}

.amlab_slider .box-text::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 35px;
    width: 20px;
    height: 20px;
    background: url("/wp-content/uploads/2025/09/right-arrow-1.png") no-repeat center;
    background-size: contain;
    transform: translateY(-50%);
    z-index: 2;
}

.amlab_slider .flickity-page-dots {
    bottom: -20px;
}

.amlab_slider .box-image img {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.row_contact_home .col1 {
    border-right: 1px solid #ddd;
}

.icon_red .icon-angle-right:before {
    content: "";
    font-size: 22px;
    font-weight: 500;
    color: #ec2324;
}

.row_contact_home .button {
    color: #222;
}

.row_contact_home .button:hover {
    color: #ec2324;
}

.amlab_slider_choose_car .col {
    flex-basis: 16.66%;
    max-width: 16.66%;
}

.slider_choose_car .box-image {
    height: 155px;
}

.slider_choose_car .box-image>* {
    display: flex;
    justify-content: center;
}

.slider_choose_car .box-image img {
    width: 120px;
    height: 60px;
    z-index: 1;
    position: relative;
    top: 60px;
}

.slider_choose_car .box-image>*::before {
    content: "";
    position: absolute;
    display: block;
    width: 120px;
    height: 120px;
    border-radius: 100%;
    background-color: white;
    z-index: 1;
}

.slider_choose_car .box {
    background-color: #F0EEFA;
    padding: 40px 0;
    border-radius: 10px;
}

.slider_choose_car .box:hover {
    background-color: #ec2324;
}

.slider_choose_car .box-text {
    padding: 0;
}

.slider_choose_car .box-text h3 {
    width: fit-content;
    margin: 0 auto;
    position: relative;
    display: inline-block;
    overflow: hidden;
}


.slider_choose_car .box h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    /* bắt đầu từ phải */
    height: 1px;
    width: 0;
    background: #fff;
    /* line màu trắng */
    transition: width 0.4s ease, right 0.4s ease;
}

.slider_choose_car .box:hover h3::after {
    width: 100%;
    right: auto;
    left: 0;
    /* chạy qua trái */
}

.slider_choose_car .box:hover h3 {
    color: #fff !important;
}

.slider_choose_car .flickity-button {
    opacity: 1;
    top: unset;
    aspect-ratio: 1 / 1;
    min-height: unset;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 40px;
    bottom: 50%;
}

.slider_choose_car .flickity-button .flickity-button-icon {
    width: 32px;
    height: 32px;
}

.pb0 {
    padding-bottom: 0 !important;
}

.img_cate_home {
    max-height: 290px;
}

.banner_shop .banner-bg,
.banner_shop {
    border-radius: 10px;
}

.banner_shop:hover .text-box {
    transform: translateY(-40px);
    transition: transform 0.5s ease;
}

.banner_shop .text-box {
    transition: transform 0.5s ease;
}

/* Mặc định */
.slider_home_page .banner-bg img {
    transform: scale(1);
    transition: none;
}

/* Hiệu ứng zoom chậm */
.slider_home_page .banner-bg img.zoom-animate {
    animation: zoomIn 10s ease-in-out forwards;
}

@keyframes zoomIn {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}


.amlab_slider_blog .from_the_blog_excerpt {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;


    @supports (-webkit-line-clamp: 2) {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: initial;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
}

.amlab_slider_blog .is-divider {
    display: none;
}

.amlab_slider_blog .post-title a {
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 700;
    color: #222;

    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;


    @supports (-webkit-line-clamp: 1) {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: initial;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
    }
}

.amlab_slider_blog .is-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 700;
    text-transform: math-auto;
    font-size: 14px;
}

.amlab_slider_blog .is-link::after {
    content: "";
    background-image: url(/wp-content/uploads/2025/09/right-arrow-2.png);
    background-size: contain;
    display: block;
    background-repeat: no-repeat;
    width: 14px;
    height: 14px;
}

.amlab_slider_blog .post-item {
    min-height: 440px;
}

.amlab_slider_blog .box-image img {
    border-radius: 10px;
}

.pro_count-down .product-small img {
    width: 110px;
    height: 110px;
    border-radius: 10px;
}

.pro_count-down .product-small {
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #ddd;
}

.pro_count-down .col_pro>.col-inner {
    padding: 30px;
    border: 2px solid #ec2324;
    border-radius: 10px;
}

.pro_count-down .product-small .box-text {
    padding: 0 20px;
    vertical-align: unset;
    text-align: left;
}

.pro_count-down .box-vertical .box-image {
    width: 35%;
}

.pro_count-down .product-title a {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    line-height: 24px;
}

.salling_pro .product-small img {
    border-radius: 10px;
}

.salling_pro .box-image {
    width: 33%;
}

.salling_pro .product-small {
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #ddd;
}

.salling_pro ul.nav ,.trending_pro  ul.nav{
    gap: 40px;
}

.salling_pro ul.nav li.tab a::after ,.trending_pro ul.nav li.tab a::after{
    position: absolute;
    content: "/";
    right: -25px;
    color: #666666;
}

.salling_pro ul.nav li.tab:last-child a::after,.trending_pro ul.nav li.tab:last-child a::after {
    content: none;
}

.shop-page-title .breadcrumbs a {
    text-transform: math-auto;
}

.shop-page-title .breadcrumbs a.active {
    color: #222;
}

.product-main h1.product-title {
    color: #222;
    font-size: 32px;
}

.product-main .product-info .amount bdi {
    color: #ec2324;
    font-size: 32px;
    font-weight: 700;
}
.product-main .product-info  del .amount bdi {
    color: #666;
    font-size: 24px;
    font-weight: 500;
}
.content_under_title_pro {
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
    font-weight: 700;
}

.content_under_title_pro .brand-name {
    color: #222;
}

.product-main .is-divider {
    display: none;
}

.woocommerce-product-rating .star-rating span:before {
    color: #FFCE20 !important;
}

.woocommerce #reviews .star-rating span:before {
    color: #FFCE20 !important;
}

.product-main .cart {
    flex-wrap: unset;
}

.product-main .cart .single_add_to_cart_button {
    width: 83%;
    background-color: #ec2324;
    border-radius: 8px;
    height: 56px;
}

.product-main .cart .buttons_added {
    width: 17%;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.product-main .cart .buttons_added input {
    border: none;
    text-shadow: none;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: unset;
    padding: 0 10px;
}

.product-main .cart .buttons_added .input-text {
    border: none;
    box-shadow: none;
    max-width: unset;
    width: 100%;
    height: 100%;
}

.product-main .cart .single_add_to_cart_button span {
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
    text-transform: capitalize;
}

.product-main .cart .single_add_to_cart_button span::after {
    content: "";
    background-image: url(/wp-content/uploads/2025/09/cart-shopping-svgrepo-com.svg);
    width: 20px;
    height: 20px;
    display: block;
    background-size: contain;
    background-repeat: no-repeat;
    position: relative;
}

.product-footer .nav-line>li>a:before {
    display: none;
}

.product-footer .nav-line>li>a {
    background-color: #fff;
    color: #666;
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.product-footer .nav-line>li.active>a {
    background-color: #222;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
}

.product-footer .woocommerce-tabs {
    border: none;
}

div#reviews.woocommerce-Reviews {
    margin: 10px 0 30px 0;
}

.devvn_prod_cmt {
    margin: 0 0 30px 0;
}

.woocommerce #reviews #comments h2 {
    margin-bottom: 30px;
}

.devvn_perc_rating {
    background-color: #ec2324 !important;
}

span.star_average {
    color: #ec2324;
}

.product-main .social-icons i::before {
    color: #222;
}

.product-main .product_meta span:last-child {
    display: none;
}

.product-main .product_meta span {
    font-size: 14px;
    padding-top: 30px;
    border-top: 1px solid #ddd;
}

.product-main .product_meta .posted_in a {
    font-weight: 700;
    font-size: 14px;
    color: #222;
}

.a_home_products .product-small:hover {
    border: 1px solid #ec2324;
    box-shadow: 0 0 0 1px #ec2324 inset;
}

.a_home_products .product-small .box-text p.category {
    color: #999999;
    transition: all 0.35s ease-in-out;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4285714286;
    margin-bottom: 5px;
    text-transform: capitalize;
}

.a_home_products .product-small .box-text p.categoryhover {
    color: #ec2324;
}

.a_home_products .product-small .box-text p.name a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-transform: capitalize;
    font-weight: 700;
    line-height: 1.5;
    font-size: 18px;
    color: black;
}

.a_home_products .product-small .box-text p.name:hover a {
    color: #ec2324;
}

.add_to_cart_button .cart-text {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9px 0;
    gap: 5px;
}

.add_to_cart_button .cart-text::after {
    content: "";
    background-image: url(/wp-content/uploads/2025/09/cart-shopping-svgrepo-com.svg);
    width: 16px;
    height: 16px;
    display: block;
    background-size: contain;
    background-repeat: no-repeat;
    position: relative;
}

.custom-related-wrapper .cart-wrapper a {
    display: flex;
    margin-right: 0;
    justify-content: center;
    border-radius: 8px;
    text-transform: capitalize;
    background-color: #ec2324;
    font-size: 14px;
}

.custom-related-wrapper .cart-wrapper a:hover {
    background-color: #000;
}

.section-title.font_strike {
    color: #222;
    font-size: 28px;
}

.custom-related-wrapper .product .extra-wrapper {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.custom-related-wrapper .product:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.custom-related-wrapper .product:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.custom-related-wrapper .product:hover .extra-wrapper {
    opacity: 1;
    max-height: 300px;
    display: block;
}
.custom-related-wrapper .product-small .box-text{
        padding-bottom: 0;
    min-height: 131px !important;
}
.r_trend_pro .product-small .box-text{
    padding-bottom: 0;
    min-height: 135px !important;
}
.custom-related-wrapper .product:hover {
    box-shadow: 0 4px 45px 0 rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
    border-radius: 8px;
}


.custom-related-wrapper {
    min-height: 700px;
}

.custom-related-wrapper .row {
    align-items: flex-start;
}

.custom-related-wrapper .product-small.col {
    min-height: 540px;
}

.custom-related-wrapper .col-inner {
    display: block;
    height: 100%;
}


.custom-product-row {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.custom-related-wrapper .product-title a {
    font-size: 16px;
    font-weight: 700;
    text-transform: capitalize;
    color: #222;

     display: -webkit-box;
        -webkit-line-clamp: 2;
        /* số dòng muốn giới hạn */
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: normal;
}

.custom-related-wrapper .amount bdi {
    font-size: 20px;
    color: #ec2324;
    font-weight: 700;
}

.custom-related-wrapper del span.amount bdi {
    font-size: 16px;
    color: #999;
    font-weight: 500;
}

.custom-related-wrapper .content_under_price .col {
    padding: 5px 15px;
}

.custom-related-wrapper .price-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.custom-related-wrapper .price-wrapper .star-rating {
    order: 1;
    margin-right: 20px;
}

.custom-related-wrapper .price-wrapper .price {
    width: 100%;
    order: 3;
}

.custom-related-wrapper .price-wrapper .rating-stock {
    order: 2;
}
.custom-related-wrapper .box-image img {
    border-radius: 8px;
}
.related.related-products-wrapper{
    display: none;
}

.tab_trend_pro .r_trend_pro {
  position: relative;
  display: flex;
  flex-wrap: wrap;
}

/* Viền ngoài + bo góc */
.tab_trend_pro .r_trend_pro::before {
  content: "";
  position: absolute;
  inset: 0; /* full */
  border: 1px solid #ddd;
  border-radius: 8px;
  pointer-events: none; /* không chặn chuột */
}

/* Đường ngang chia 2 hàng */
.tab_trend_pro .r_trend_pro::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  border-top: 1px solid #ddd;
  pointer-events: none;
}

.tab_trend_pro .r_trend_pro .product-small.col {
    width: 25%;
    position: relative;
    padding: 0;
    border-bottom: 1px solid #ddd;
}
.tab_trend_pro .r_trend_pro .product-small.col>.col-inner{
    padding: 20px;
}
.tab_trend_pro .r_trend_pro .product-small.col:nth-child(5) {
    border-bottom-left-radius: 8px;
}

.tab_trend_pro .r_trend_pro .product-small.col:nth-child(8) {
    border-bottom-right-radius: 8px;
}

.tab_trend_pro .box-image img,.product-small .box-image img{
    border-radius: 8px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/* Kẻ vạch dọc giữa các col */
.tab_trend_pro .r_trend_pro .product-small.col:not(:nth-child(4n))::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  border-right: 1px solid #ddd;
  pointer-events: none;
}
.products .product-small .extra-wrapper,.extra-wrapper{
    display: none;
    overflow: hidden;
    transition: all 0.3s ease;
}
.tab_trend_pro .r_trend_pro .product-small.col:hover .extra-wrapper,.products .product-small.col:hover .extra-wrapper{
    display: block;
}
.tab_trend_pro .r_trend_pro .product-small.col:hover>.col-inner{
    position: absolute;
    border: 1px solid #ddd;
    background-color: #fff;
    z-index: 10;
    border-radius: 8px;
    box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.1);
}

.product-small .price-wrapper{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.product-small .price-wrapper .star-rating{
    margin-right: 10px;
}
.product-small .price-wrapper .price{
    width: 100%;
    order: 3;
}
.s_find_contact{
    z-index: 1;
}
.s_trend_pro{
    z-index: 10;
}
.extra-wrapper .col{
    padding: 15px;
}
.tab_trend_pro .cart-wrapper a ,.product-small .cart-wrapper a {
    width: 100%;
    background-color: #ec2324;
    border-radius: 8px;
    margin: 0;
    text-transform: capitalize;
    font-size: 16px;
}
.tab_trend_pro .cart-wrapper a:hover,.product-small  .cart-wrapper a:hover{
    background-color: #000;
}
 p.category{
    font-size: 14px;
    font-weight: 700;
    color: #999;
    text-transform: capitalize;
}
.tab_trend_pro .product-title a ,.products .product-title a{
    font-size: 16px;
    font-weight: 700;
    color: #222;

    display: -webkit-box;
    -webkit-line-clamp: 2;       /* giới hạn 2 dòng */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;            /* điều chỉnh chiều cao dòng */
    max-height: calc(1.4em * 2); /* đúng bằng 2 dòng */
}

.r_trend_pro .amount bdi ,.product-small .amount bdi {
    font-size: 20px;
    line-height: 1.2;
    font-weight: 700;
    color: #ec2324;
}
.r_trend_pro del .amount bdi,.product-small del .amount bdi{
    color: #999;
    font-size: 16px;
    font-weight: 500;
}
.salling_pro .product-small .box-text{
    vertical-align: top;
}
.shop-container .term-description{
    display: none;
}
#wrapper .shop-page-title{
    display: none;
}
.subcategories-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.subcategories-list li {
    position: relative;
    margin: 0;
    margin-left: 10px !important;
}
.subcategories-list li:not(:last-child)::after {
    content: "/";
    margin-left: 10px;
    color: #999;
}
.shop-container .product-small {
    padding: 0;
    position: relative;
}
.shop-container .product-small > .col-inner{
    padding: 20px;
    border: 1px solid #ddd;
    background-color: #fff;
}
.shop-container .product-small:hover > .col-inner{
    position:absolute;
      z-index: 10;
    box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.1);
}
.shop-container .product-small:last-child > .col-inner{
    position: relative;
}
.shop-container .products>.product-small:last-child{
    min-height: 680px; 
}
.products .product-small .box-text{
    min-height: 160px;
}
#wrapper .head-title{  
    padding-bottom: 0;
}
.woocommerce-pagination{
    padding-top: 30px;
}
.nav-pagination>li>.current, .nav-pagination>li>a:hover, .nav-pagination>li>span:hover {
        background-color: unset;
    border-color: unset;
    color: #000;
}
.nav-pagination > li{
    position: relative;
}
.nav-pagination > li > .current::after,
.nav-pagination > li > a:hover::after,
.nav-pagination > li > span:hover::after {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 8px;
    height: 1px;
    background-color: #000;
}
.nav-pagination > li .prev:hover::after ,.nav-pagination > li .next:hover::after ,li .dots:hover::after{
    display: none;
}
.nav-pagination>li>a, .nav-pagination>li>span {
    border: none;
    font-size: 18px;
    font-weight: 500;
}
.img_cate_home.mega_menu_sp {
    max-height: unset;
}
.mega_menu_sp .box-image {
    border-radius: 0px;
}
.img_cate_home.mega_menu_sp .button {
        bottom: 15%;
    position: absolute;
    left: 15%;
}
.mega_menu_sp .box-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0); 
  transition: background 0.3s ease;
}

.mega_menu_sp .col_box_cate .col-inner:hover .box-image::after {
  background: rgba(0, 0, 0, 0.3); 
}
.col_box_cate .col-inner:hover .image-zoom img {
    transform: scale(1.1);
}
.is-divider{
    display: none;
}
#post-list .box-image img{
    border-radius: 10px;
}
#post-list  h5.post-title{
    font-size: 26px;
    font-family: "Protest Strike", sans-serif !important;
    font-weight: 500;
    color: #222;

}
#post-list  h5.post-title a{
      overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;       /* Giới hạn 2 dòng */
    -webkit-box-orient: vertical
}
#post-list  p.from_the_blog_excerpt {
    font-size: 16px;
}
.page-header-custom{
    padding-bottom: 50px;
}
.page-header-custom h1.page-title{
    font-size: 54px;
    color: #000;
    font-weight: 500;
    margin-bottom: 0;
}
.blog-archive .archive-page-header{
    display: none;
}
.page-header-custom .breadcrumb span,.page-header-custom .breadcrumb a{
    color: #000;
}
.page-header-custom .breadcrumb a:hover{
    color: #ec2324;
}
.page-header-custom .breadcrumb a:hover .dashicons-admin-home:before{
    color: #ec2324;
}
.mega_menu_sp .large-7 .ux-menu-link__link{
    border: none !important;
    min-height: unset;
    padding: 0;
}
.mega_menu_sp  h4 {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    min-height: 30px;
}
.mega_menu_sp .box-image img{
    height: 490px;
    object-fit: cover;
}
.mega_menu_sp .ux-menu-link--active .ux-menu-link__link, .mega_menu_sp .ux-menu-link:hover .ux-menu-link__link {
    color: #ec2324;
}
.mega_menu_sp .large-3 .ux-menu-link__text{
    padding: 0;
    min-height: unset;
}
.mega_menu_sp .large-3 .ux-menu-link__icon{
        order: 2;
    position: absolute;
    right: 10%;
}
.mega_menu_sp .large-3 .col-inner{
    border-right: 1px solid #ddd;
    height: 100%;
}
.mega_menu_sp .large-3 a.ux-menu-link__link{
        border-bottom: 1px solid #ddd !important;
}
.mega_menu_sp .box-text {
    top: unset;
    bottom: 33%;
    left: 15%;
}
.s_new_ft_amlab ._2lqg{
    display: none;
}

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

    /*************** ADD MOBILE ONLY CSS HERE  ***************/

.amlab_slider_blog .post-title a {
    font-size: 18px;

    display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
}

.mobile-nav .icon-menu{
    color: #fff;
}
.mobile-sidebar .menu-item a{
    padding: 0 0 15px 20px !important;
    text-transform: capitalize;
    font-size: 16px;
    color: #000;
}

.shop-container .products>.product-small:last-child{
    min-height: 500px; 
}
.tab_trend_pro .cart-wrapper a, .product-small .cart-wrapper a {
    font-size: 11px;
}
.products .product-small .box-text {
    min-height: 133px;
    padding-bottom: 0;
}
.tab_trend_pro .amount bdi{
    font-size: 20px;
    line-height: 1.2;
    font-weight: 700;
    color: #ec2324;
}
.tab_trend_pro .price del bdi{
    color: #999;
    font-size: 14px;
    font-weight: 500;
}
.tab_trend_pro .flickity-prev-next-button{
    display: none;
}
.tab_trend_pro .content_under_price .col {
    padding: 10px 15px;
}
.tab_trend_pro .extra-wrapper{
        display: block;
    }
.custom-cate33-wrapper .product-small.col{
    width: 50%;
}
  .custom-related-wrapper .flickity-prev-next-button{
        display: none;
    }
.custom-related-wrapper  .flickity-page-dots{
        bottom: -50px;
    }
.custom-related-wrapper .flickity-page-dots .dot,.tab_trend_pro .flickity-page-dots .dot{
        border-radius: 99%;
    height: 9px;
    width: 9px;
    border: 3px solid #ddd;
    background-color: #ddd;
    opacity: 1;
}
.custom-related-wrapper .flickity-page-dots .dot.is-selected ,.tab_trend_pro .flickity-page-dots .dot.is-selected {
        background-color: #ec2324;
    opacity: 1 !important;
    border-color: #ec2324;
    width: 28px;
    border-radius: 10px;
}
.custom-related-wrapper .flickity-viewport{
    height: 530px !important;
}    
.custom-related-wrapper .product:first-child {
    border-top-left-radius: unset;
    border-bottom-left-radius: unset;
}
.custom-related-wrapper .product:last-child {
    border-top-right-radius: unset;
    border-bottom-right-radius: unset;
}
 .custom-related-wrapper .row-slider{
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: unset;
 }   
    .custom-related-wrapper {
    min-height: 630px;
        padding-bottom: 100px;
}
    .custom-related-wrapper .product-small.col {
        min-height: 540px;
        width: 50%;
        padding-bottom: 0 !important;
        border: none;
        border-right: 1px solid #ddd;
        padding: 20px !important;
    }

    .custom-related-wrapper .product-title a {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        /* số dòng muốn giới hạn */
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: normal;
        /* cho phép xuống dòng */
    }

    .custom-related-wrapper .product:hover {
        box-shadow: unset;
        border-radius: 0;
    }

    .custom-related-wrapper .product .extra-wrapper {
        opacity: 1;
        max-height: unset;
    }

    .amlab_slider .box-text .box-text-inner {
        z-index: 3;
        margin: 0;
    }

    .amlab_slider .box-text::before {
        right: 10px;
        width: 15px;
        height: 20px;
    }

    .amlab_slider .box-text::after {
        right: -10px;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 60% 100%);
    }

    .m16,
    .m16 * {
        font-size: 16px !important;
    }

    .a_home_products .price-wrapper {
        gap: 5px;
    }

    .a_home_products .product-small .box-text p.category {
        font-size: 10px;
    }

    .a_home_products .product-small .box-text p.name {
        margin-bottom: 5px;
    }

    .a_home_products .product-small .box-text p.name a {
        font-size: 14px;
    }

    .salling_pro ul.nav li a ,.trending_pro ul.nav li a{
        white-space: nowrap;
    }

    .slider-custom .banner {
        max-width: 50% !important;
        padding-top: 100px !important;
    }

    .salling_pro ul.nav ,.trending_pro ul.nav{
        display: flex;
        flex-wrap: nowrap;
        overflow: scroll;
        justify-content: flex-start;
    }

    .badge-container {
        left: 30px !important;
        top: 0px !important;
        margin-top: 20px !important;
    }

    .a_home_products .price-wrapper .price {
        margin-top: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        gap: 5px;
        align-items: flex-start;
    }

    .salling_pro .product-small {
        padding: 15px;
    }

    .html1 .phone_icon {
        border-right: none;
        padding: 0;
        margin: 0;
    }

    .header-top {
        min-height: 60px !important;
    }

    .header-main {
        height: 90px !important;
    }

    .html1 {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .banner_shop .title_banner h2 {
        font-size: 34px;
        line-height: 38px;
    }

    .banner_shop:hover .text-box {
        transform: unset;
    }

    .img_cate_home {
        max-height: unset;
    }

    .col_box_cate>.col-inner {
        max-height: 300px;
    }

    .amlab_slider_choose_car .col {
        flex-basis: 40%;
        max-width: 40%;
        padding: 0 7.5px 15px;
    }

    .slider_choose_car .box-image>*::before {
        width: 80%;
        height: 100px;
    }

    .slider_choose_car .box-image img {
        width: 100px;
        height: 50px;
        top: 50px;
    }

    .amlab_slider_choose_car .flickity-prev-next-button {
        display: none;
    }

    .img_cate_home .box-image img {
        min-height: 300px;
    }

    .slider_home_page .img_right {
        width: 260px !important;
        height: unset;
    }

    .slider_home_page .img_left2 {
        width: 50px !important;
        height: 80px;
        top: 15%;
        left: -1%;
    }

    .slider_home_page .img_left {
        width: 130px !important;
        height: 115px;
        left: -5%;
        top: -2%;
    }

    .title_banner_sl h2 {
        font-size: 32px;
        line-height: 39px;
    }

    .row_contact_home .col_post {
        padding: 0 !important;
    }

    .amlab_slider_blog .post-item {
        flex-basis: 60% !important;
        max-width: 60% !important;
        padding: 0 !important;
    }

    .row_contact_home .col .col-inner {
        padding: 0 20px !important;
    }

    .row_contact_home .col1 .col-inner {
        border-bottom: 1px solid #ddd;
        padding-bottom: 20px !important;
    }

    .row_contact_home .icon-box {
        text-align: center;
        justify-content: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 10px !important;
    }

    .row_contact_home .stack {
        justify-content: center;
    }

    .amlab_slider .box-text {
        display: flex;
        align-items: center;
        padding-left: 15px;
    }

    /* .amlab_slider .text_22{
        padding-right: 55px;
    } */
    .amlab_slider .box-text::after {
        width: 60px;
    }

    .amlab_slider .col {
        flex-basis: 50%;
        max-width: 50%;
        padding: 0 7.5px 15px;
    }

    .s_new_ft_amlab .r2>.col {
        padding-bottom: 15px !important;
    }

    .s_new_ft_amlab .r2 {
        display: flex;
        flex-direction: column;
    }

    .s_new_ft_amlab .col_paypal {
        order: 1;
        padding-bottom: 0 !important;
    }

    .s_new_ft_amlab .col_logo .col-inner {
        padding-right: 0px;
    }

    .s_new_ft_amlab .col_paypal .col-inner {
        padding: 0;
    }

    .s_new_ft_amlab .row>.col {
        padding-bottom: 30px;
    }
}