@media (max-width: 768px) {
    .size-1 {
        font-size: var(--size-f-3);
    }

    .size-2 {
        font-size: var(--size-1);
    }

    .size-3 {
        font-size: var(--size-2);
    }

    .size-5 {
        font-size: var(--size-3);
    }

    .mobile-nav .nav-icon.has-icon a {
        background-color: #045E3A;
        width: 40px;
        height: 40px;
        border-radius: 8px;
        padding: 0px;
        justify-content: center;
    }

    .mobile-nav .nav-icon.has-icon .icon-menu {
        color: white;
    }

    .theme-flatsome .dark .mfp-content {
        background-color: var(--color-primary-1) !important;
    }

    .theme-flatsome .nav-sidebar .header-block .header-block-block-2 {
        width: 100%;
        padding: 12px;
    }

    .theme-flatsome .nav-sidebar #menu-main-menu-mobile li {
        padding: 0;
        margin: 0;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .theme-flatsome .nav-sidebar #menu-main-menu-mobile li.has-child .sub-menu {
        padding-left: 12px;
        flex-basis: 100%;
        max-width: 100%;
    }

    .theme-flatsome .nav-sidebar #menu-main-menu-mobile li a {
        padding: 8px;
        font-size: 12px;
        text-transform: none;
        font-weight: 400;
        line-height: 1.5;
        display: flex;

    }

    .sec_chan_doan .row {
        margin: 0 !important;
    }

    .sec_chan_doan .col-L {
        max-width: 100%;
        flex-basis: 100%;
    }

    .sec_chan_doan .col-R {
        display: none;
    }

    .sec_chan_doan .col-L .cdct-filter {
        flex-wrap: wrap;
        gap: 0;
    }

    .sec_chan_doan .col-L .cdct-filter .group {
        padding-bottom: var(--size-1);
    }

    .sec_chan_doan .col-L .cdct-filter .group:first-child {
        padding-right: var(--size-1);
    }

    .sec_chan_doan .col-L .cdct-filter .group:first-child,
    .sec_chan_doan .col-L .cdct-filter .group:nth-child(2) {
        max-width: 50%;
        flex-basis: 50%;
    }

    .sec_chan_doan .col-L .cdct-filter button {
        margin: auto;
    }

    .theme-flatsome .slider.slider-nav-outside .flickity-page-dots {
        bottom: -32px;
    }

    .theme-flatsome .slider.slider-nav-outside .flickity-page-dots .dot {
        background-color: #005130;
        border: none;
    }

    .theme-flatsome .product.col {
        padding: 0 8px 16px;
    }

    .archive .product-section {
        margin-bottom: 16px;
    }

    .archive .product-section .row {
        align-items: stretch;
    }

    /* Card Product */
    /* .theme-flatsome .product.col {
        height: auto;
    } */

    .theme-flatsome .product.col .col-inner {
        height: 100%;
    }

    .theme-flatsome .product .box {
        display: grid;
        grid-template-rows: auto 1fr;
    }

    .theme-flatsome .product .box .box-text {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .theme-flatsome .product .box .add_to_cart_button:not(.added) .txt,
    .theme-flatsome .product .box .added_to_cart .txt {
        display: none;
    }

    .theme-flatsome .product .box .add_to_cart_button:not(.added),
    .theme-flatsome .product .box .added_to_cart {
        min-height: 40px;
        padding: 0px;
        margin-top: 16px;
    }

    .theme-flatsome .product .box .add_to_cart_button:not(.added) img,
    .theme-flatsome .product .box .added_to_cart img {
        width: 24px;
    }

    .theme-flatsome .product .box .box-text .product-price,
    .theme-flatsome .product .box .box-text .product-price .amount {
        font-weight: 700;
    }

    .theme-flatsome .ts-product-tabs-wrapper .ts-head {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: var(--size-1);
    }

    .theme-flatsome .ts-product-tabs-wrapper .ts-head .section-title {
        font-size: var(--size-2);
    }

    .theme-flatsome .ts-product-tabs-wrapper .ts-head .ts-tabs {
        flex-wrap: wrap;
        gap: 8px;
    }

    .theme-flatsome .ts-product-tabs-wrapper .ts-head .ts-tabs li {
        padding: 4px 12px;
        font-size: 12px;
    }

    .ts-attr-filter .attr-item {
        max-width: 120px;
        flex-basis: 120px;
        padding: 4px;
    }

    .ts-attr-filter .attr-item span {
        font-size: var(--size-f-3);
    }

    .sec_chan_doan .col-L p {
        font-size: var(--size-f-3);
    }

    .sec_chan_doan .col-L .cdct-filter {
        margin-top: var(--size-0);
    }

    .theme-flatsome #breadcrumbs .rank-math-breadcrumb>p {
        flex-wrap: wrap;
        gap: 8px;
    }

    .category .sec__featured_post .featured-posts {
        grid-template-columns: 1fr;
    }

    .single-post #content .post .entry-title {
        font-size: 24px;
    }

    .single-post #content .post .entry-content * {
        font-size: 14px !important;
    }

    .single-post .related-posts {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .single-post .related-posts .box .box-image,
    .single-post .related-posts .box .box-image .entry-image-attachment,
    .single-post .related-posts .box .box-image img {
        aspect-ratio: 16/9;
        border-radius: 12px 12px 0 0;
    }

    .single-post .related-posts .box {
        margin: 0px;
        background-color: white;
    }

    .single-post .related-posts .box>a {
        grid-template-columns: 1fr;
    }

    /* Home */
    .theme-flatsome .sec__phan_hoi .section-content>.row {
        margin-left: 0px !important;
    }

    .theme-flatsome .sec__phan_hoi .section-content>.row .col--L,
    .theme-flatsome .sec__phan_hoi .section-content>.row .col--R {
        max-width: 100%;
        flex-basis: 100%;
        margin-bottom: 16px;
    }

    .theme-flatsome .sec__phan_hoi .row.blog_posts,
    .theme-flatsome .sec__blogs .row-slider {
        margin: 0 !important;
    }

    .theme-flatsome .slick-dotted.slick-slider {
        padding-bottom: 0px;
    }

    .theme-flatsome .ts-bao-chi-slider .slick-slide,
    .ts-cert-slider .slick-slide {
        padding: 8px 8px 24px;
    }

    .theme-flatsome .ts-bao-chi-item img {
        aspect-ratio: 16/9;
        object-fit: cover;
    }

    .theme-flatsome .video_slider .slick-slide.slick-center,
    .theme-flatsome .video_slider .slick-slide {
        width: 100% !important;
        height: auto;
        padding: 8px 0px 24px;
    }

    /* about */
    .theme-flatsome .highlight-text {
        font-size: var(--size-f);
        margin-bottom: 64px;
    }

    .theme-flatsome .sec__usp .img,
    .theme-flatsome .sec__usp .img img {
        border-radius: 12px;
    }

    .theme-flatsome .row__video .highlight-text {
        margin-bottom: 0;
    }

    .theme-flatsome .row__tamnhin .stack-row {
        flex-wrap: wrap;
        padding: 0 64px;
    }

    .theme-flatsome .row__tamnhin .stack-row .icon-box .icon-box-img {
        margin: 0 auto 16px;
    }

    .theme-flatsome .row__tamnhin .stack-row .icon-box {
        flex-basis: 100%;
        max-width: 100%;
    }

    .theme-flatsome .row__tamnhin .stack-row .icon-box br {
        display: none;
    }

    .theme-flatsome .row__tamnhin .stack-row .icon-box .title {
        min-height: fit-content;
        text-align: center;
    }

    .ts-cert-slider .slick-center .ts-cert-slide img,
    .ts-cert-slider .slick-slide .ts-cert-slide img {
        height: 280px;
    }
    .single-product .row__chinh_sach .col .icon-box{
        flex-direction: column;
        gap: 8px
    }
    .theme-flatsome .btn_contacts .ts-btn-zalo,
    .theme-flatsome .btn_contacts a.hotline-btn{
        flex-basis: 50%;
        max-width: 50%;
    }
    .single-product .ts-accordion .ts-accordion-item .ts-accordion-header{
        text-align: left;
    }
    .single-product .ts-accordion .ts-accordion-item.active .ts-accordion-content *{
        font-size: 12px !important;
    }
    .single-product .ts-related-slider{
        padding-bottom: 32px;
    }
}