/* CSS of taxonomy-danh-muc-san-pham-mai-kim-loai-cach-nhiet.php, moved verbatim
   from its inline <style> blocks, in source order. Still inline in the template: declarations built from
   ACF values. Loaded last in <head> by kosmos_category_template_css() (functions/actions.php). */

/* taxonomy-danh-muc-san-pham-mai-kim-loai-cach-nhiet.php, <style> at line 1211 */
:root {
    --primary-color: #E31937
}
.field-tab-container {
    width: 100%;
    clear: both;
}
.field-tabs {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 5px;
    margin-bottom: 40px;
    flex-direction: row;
}
.field-tab {
    border: 1px solid var(--primary-color);
    border-radius: 99px;
    background: #fff;
    color: var(--primary-color);
    cursor: pointer;
    font-weight: 700;
    line-height: 1.4;
    padding: 9px 22px;    
    border-radius: 9px;
}

.cau-tao-tam-op .field-tab {
    border: 1px solid var(--primary-color);
    border-radius: 99px;
    background: #fff;
    color: var(--primary-color);
    cursor: pointer;
    font-weight: 700;
    line-height: 1.4;
    padding: 9px 22px;    
    width: 50%;    
    border-radius: 9px;
}

.field-tab.active,
.field-tab:hover {
    background: var(--primary-color);
    color: #fff;
}
.field-tab-content {
    display: none;
}
.field-tab-content.active {
    display: block;
}
.cau-tao-tab-container .grid-cau-tao {
    max-width: 100%;
    padding: 0;
}
#tieuchuan-kythuat-section .field-tab-content table,
#tieuchuan-kythuat-section .field-tab-content img {
    max-width: 100%;
}
#dac-diem-noi-bat .dac-diem-noi-bat.grid-container {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 100px !important;
    max-width: 1200px !important;
    margin-bottom: 0;
}
form#prod_search path,
.rate_slide path,
.contact_fix_btn path {
    fill: #E31937 !important;
}

.prod_2 .sec_des .sec_link path,
.view_more_products2 path {
    stroke: #E31937;
}

form#prod_search {
    display: none;
}

.mau-tam-op .tab p {
    margin-bottom: 1em;
    color: #fff;
}
.prod_2 {
    position: relative;
    overflow: hidden;
}

.prod_2 > .grid-container {
    position: relative;
    z-index: 1;
    padding-left: calc(100% / 12);
    padding-right: calc(100% / 12);
    box-sizing: border-box;
}
.mau-tam-op .tab-container,
.cau-tao-tam-op,
#huongdan-thicong {
    padding-left: calc(100% / 12);
    padding-right: calc(100% / 12);
    box-sizing: border-box;
}

#baogia {
    padding-left: calc(100% / 12 * 2);
    padding-right: calc(100% / 12 * 2);
    box-sizing: border-box;
}

.so-sanh-section{
    padding-top:30px;
}

.so-sanh-section,
#tieuchuan-kythuat-section {
    padding-left: calc(100% / 12 * 2);
    padding-right: calc(100% / 12 * 2);
    box-sizing: border-box;
}

#dac-diem-noi-bat .sec_title h2{
    font-size: 70px;    line-height: 75px;color:#fff;
}


@media (max-width: 650px) {
.section_heading > .sec_title p {
    margin: 0;
    font-size: 26px;
}
.grid-cau-tao ol{
    margin-left: 20px;
}

.section-ung-dung .tax_container-gallery.tax_container--2-items .item:nth-child(n + 3),
.section-ung-dung .tax_container-gallery.tax_container--2-items .item:nth-child(-n + 2),
.section-ung-dung .tax_container-gallery.tax_container--2-items .item {
    width: 100%!important;
}
    .mau-tam-op .tabs {
        justify-content: center;
    }
    /* Mobile: ghi đè font-size inline (90px/40px) đang quá to làm tiêu đề đè lên bảng */
    .bao-gia .title-bao-gia h2,
    .bao-gia .title-bao-gia h2 span {
        line-height: 1.25 !important;
        height: auto !important;
    }
    .bao-gia .title-bao-gia h2 span:first-child {
        font-size: 34px !important;
    }
    .bao-gia .title-bao-gia h2 span:last-child {
        font-size: 20px !important;
    }
    /* Mobile: bỏ overlap -94px để bảng giá không đè lên tiêu đề */
    .table-bao-gia {
        margin-top: 0;
        padding-top: 15px;
    }
    .grid-cau-tao .grid-100 {
        padding-left: 0!important;
    }
    
    #dac-diem-noi-bat .dac-diem-noi-bat.grid-container {
        gap: 45px 20px !important;
    }



#huong-dan-su-dung h2,
#section_97 h2,
.sec_title h2,
.sec_title h2 span {
    font-size: 40px !important;
    line-height: 45px !important;
    font-weight: 700;
}

#huong-dan-su-dung h2 {
    font-size: 40px !important;
    line-height: 45px !important;
    font-weight: 800 !important;
}

#huong-dan-su-dung h2 > span:first-of-type {
    font-size: 40px !important;
    line-height: 45px !important;
    color: #292d34 !important;
}

#huong-dan-su-dung h2 > span:nth-of-type(2) {
    display: inline-block;
    font-size: 26px !important;
    line-height: 32px !important;
    color: #e31937 !important;
}

.sec_title h2 > span:nth-of-type(2) {
    font-size: 26px !important;
    line-height: 32px !important;
    color: #e31937 !important;
}

    .prod_2 > .grid-container {
        position: relative;
        z-index: 1;
        padding-left: unset;
        padding-right: unset;
        box-sizing: border-box;
    }
    .grid-container {
        max-width: calc(100% - 1rem);
    }

    .so-sanh-section,
    .mau-tam-op .tab-container, .cau-tao-tam-op, #baogia, #tieuchuan-kythuat-section, #huongdan-thicong {
        padding-left: unset;
        padding-right: unset;
        box-sizing: border-box;
    }
    .ol-cau-tao > li:nth-child(4) {
        break-before: unset;
        -webkit-column-break-before: unset;
    }
    #dac-diem-noi-bat {
        padding-left: unset;
        padding-right: unset;
        padding-top: 30px !important;
        padding-bottom: 30px !important;
        padding-left: 10px;
        padding-right: 10px;
    }

.tax_container-gallery,
.box-icon-container,
    .prod_2 .sec_des, .prod_2 .sec_video {
        padding: 0 10px !important;
    }

    #huong-dan-su-dung .dac-diem-noi-bat .grid-25 {
        padding: 40px 10px 20px 10px;
    }


    /* Mobile: bỏ thụt cột khi 2 cột xếp dọc full width */
    #dac-diem-noi-bat > .grid-50:first-child,
    #dac-diem-noi-bat > .grid-50.dac-diem-noi-bat {
        padding-left: 0;
        padding-right: 0;
    }
    #dac-diem-noi-bat .sec_title {
        line-height: 41px;
        margin-bottom: 61px;
    }

    #tieuchuan-kythuat-section {
        padding-top: 30px;
        display: block;
        clear: both;
    }
    #section_6 .chung-chi-left .sec_title {
        line-height: 40px;
        color: #292d34;
    }
    #section_6.chung-chi-section > .grid-container {
        padding-left: unset;
        padding-right: unset;
    }
    .item-number-0 .slick-track span {
        padding: 0 7%;
    }
    #huongdan-thicong .sec_title
    #huongdan-thicong .sec_title h2,
    #huongdan-thicong .sec_title p span,
    {   font-size: 40px!important;
        text-align: left;
        line-height: 40px;
    }
    /* #huong-dan-su-dung {
        padding-left: unset;
        padding-right: unset;;
    } */

    #section-ung-dung h2 span{      
        font-size: 40px!important;
        line-height: 45px;
    }

    .grid-cau-tao .grid-100 {
        padding: 0;
    }    
    #huong-dan-su-dung {
        padding: 30px 15px!important;
    }
    .section-ung-dung .tax_container .item {
        width: 100%!important;
    }
    .section_heading > .sec_title{
        line-height: 46px!important;
        text-align: center!important;
        gap: 0;        margin-bottom: 30px;
    }

    .section_heading .sec_des{
        font-size: 26px;
    }

    .section_heading .sec_des sec_cont{
        font-size: 14px!important;
    }



.grid-container.review-wrapper {
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
}
    #con-so-an-tuong .box-icon-container {
        gap: 90px 20px !important;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    #con-so-an-tuong .box-icon-item {
        width: 100%;
        padding: 60px 10px 10px;
    }
    #huongdan-thicong span{
        font-size: 40px!important;
    }
    #con-so-an-tuong .grid-container {
        padding: 0!important;
    }
    .reviewer {
        text-align: left;
        color: #fff;
    }
    blockquote {
        text-align: left;    
        padding: 0 5px;
    }
    #quote-carousel .avatar img {
        width: 100px;
    }
    section h2 span:nth-of-type(2) {
        font-size: 26px !important;
        line-height: 26px !important;
        display: block;
    }

}
