.single-product h1 {
    font-size: 1.7em; margin-bottom: .8em;
}
.single-product .bottom_section { padding-bottom: 40px; }
.summary.entry-summary.col_wrapper {
    box-shadow: 0px 5px 24px 10px rgb(68 102 242 / 5%);
    padding: 20px;
}
.summary_contact {
    margin-top: 30px; border-top:solid 1px #ddd; padding-top: 10px;
}
.summary_contact .contact_title {
    font-weight: bold; font-size: 1.3em
}
.summary_contact > .contact {
    padding: 0; margin: 0; list-style: none; vertical-align: middle;
    margin-top: 10px; padding-bottom: 10px;
    border-bottom: solid 1px #ddd;
}
.summary_contact .contact li {
    padding-bottom: 5px; margin-top: 5px;
}
.summary_contact .contact .name {
    font-weight: bold
}
.summary_contact .contact .contact {
    display: inline-block; vertical-align: middle; line-height: 0;
    margin-right: 5px;
}
.summary_contact .contact svg {
    height: 2.4em; width: 2.4em; 
}
.summary_contact .contact .phone {
    color: #ffff;
    display: inline-block;
    padding: 0.4em 1em;
    border-radius: 4px;
    margin: 0 5px;
    vertical-align: middle;
    background: #ea3238;
    font-weight: bold;
    font-size: 1.1em;
}
.summary_contact .contact_form {
    display: inline-block;
    padding: 0.5em 1em;
    font-weight: bold;
    border-radius: 4px;
    border: solid 2px #ea3238;
    color: #ea3238;
    margin-top: 20px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
}
.col_thong_tin .woocommerce-product-details__short-description {
    text-align: justify;
}
.namlbn--with-images {
    display: block;
    flex-direction: unset;
}
.top_section.sec_product .woocommerce-product-details__short-description {
    padding-bottom: 10px;
}
.namlbn--with-images.has_nav .namlbn-for {
    flex: 100%;
    max-width: 100%;
}
.namlbn--with-images .namlbn-nav {
    flex: 0 0 100%;
    max-width: 100%;
    margin-top: 15px;
}
.namlbn--with-images .namlbn-nav .slick-list .slick-track .slick-slide {
    position: relative;
}
.namlbn--with-images .namlbn-nav .slick-list .slick-track .slick-slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.namlbn--with-images .namlbn-nav .slick-list .slick-track .slick-slide:before {
    content: '';
    display: block;
    padding-bottom: 90%;
}
.namlbn--with-images .namlbn-nav .slick-list {
    display: block;
}
.sec_product h1.product_title.entry-title {
    font-size: 27px;
    color: #000;
    font-weight: bold;
}
.col_hinh_anh {
    display: flex;
    flex-direction: column;
}
.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
    background-color: var(--main_bgr);
}
.woocommerce-product-details__short-description p {
    font-size: 16px;
    color: #000000e0;
    margin-bottom: 0;
}
.single_variation_wrap .woocommerce-variation-add-to-cart, .summary form.cart:not(.variations_form) {
    margin-top: 5px;
}
.namlbn-nav .slick-slide {
    border: 1px solid #ccc;
    margin-right: 5px;
}
.woocommerce #review_form #respond input[type="submit"] { color: #fff; }
.single-product .woocommerce-Tabs-panel { 
    box-shadow: none;
}


/* tab-woo */
.content_tab {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    left: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
}
.content_tab.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 10px 35px; }
.woocommerce div.product .woocommerce-tabs ul.tabs {
    justify-content: center;
    margin-bottom: 30px;
}
.content_ttcb { padding-top: 15px; }
p.title_content_tab {
    color: #636363;
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 15px;
}
.color_pro { margin-bottom: 30px; }
.single-product .wc-tabs li a {
    background: none;
    color: #ADADAD;
    box-shadow: none;
    text-transform: uppercase;
    font-weight: 700;
    padding: 14px 35px 14px 35px;
    font-size: 18px;
}
.single-product .wc-tabs {
    border: 1px solid #ADADAD;
}
.single-product .wc-tabs li.active a {
    color: #333333;
    background: none;
    box-shadow: none; 
}
.content_download_file button.slick-arrow {
    background: #333333;
    width: 30px;
    height: 30px;
}
.content_download_file .slick-track a.icon_down {
    text-align: center;
    padding: 10px 15px;
    color: #333;
    font-weight: 700;
}
.content_download_file .slick-prev::before, .content_tinh_nang .slick-prev::before { content: none; }
.woocommerce div.product .woocommerce-tabs .panel {
    padding: 0 30px;
}
.download_file {
    margin-bottom: 30px;
    border-bottom: 1px solid #63636357;
}
.button_project a {
    color: #fff;
    background: #787878;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 18px;
}
.button_project a:hover {
    background: var(--second_bgr);
}
/* end tab-woo */

/* tab dowload */
.icon_download a:hover { cursor: pointer; }
.bg_form_download .bg {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0);
    opacity: 0.5;
}
.bg_form_download.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}
.bg_form_download {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 99999;
    transform: scale(0);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease 0s;
}
/* end tab dowload */

/* TAB THÔNG TIN KỸ THUẬT */
p.title_tskt {
    text-transform: initial;
}
.content_tskt ul.tskt_inf {
    list-style-type: none;
    padding-left: 0;
    border: solid 1px #ddd;
}
.content_tskt li.thong_tin_tskt {
    display: flex;
    text-align: left;
    border-bottom: 1px solid #ddd;
    margin-bottom: 0;
}
.content_tskt li.thong_tin_tskt:last-child { border-bottom: none; }
.content_tskt li.thong_tin_tskt div { width: 65%; padding: 10px; }
.content_tskt li.thong_tin_tskt span { 
    margin-right: 0!important;
    width: 65%; 
    padding: 10px;
}
.content_tskt li.thong_tin_tskt b {
    width: 35%;
    padding: 10px;
    border-right: 1px solid #ddd;
}
.content_tinh_nang { margin-top: 10px; }
.content_tinh_nang .slick-track .col-tinh-nang img {
    margin: 0 auto;
    width: 70px;
}
.content_tinh_nang .slick-track .col-tinh-nang p {
    text-align: center;
    padding: 10px 15px;
    color: #333;
    font-weight: 700;
}
/* END TAB THÔNG TIN KỸ THUẬT */

/* sản phẩm liên quan  */
button.slick-arrow {
    background: #333333;
    width: 30px;
    height: 30px;
}
.namlbn-nav button.slick-arrow {
    width: 40px;
    height: 40px;
}
.slick-next:focus, .slick-next:hover, .slick-prev:focus, .slick-prev:hover {
    background: #000;
}
.namlbn-nav .slick-prev {
    left: -15px;
}
.namlbn-nav .slick-next {
    right: -15px;
}
.namlbn-nav .slick-slide { margin-right: 0; }
.bottom_section .related.products .slick-list, .sec_product .up-sells.products .slick-list {
    width: 100%;
    padding-bottom: 30px;
}
.bottom_section .related.products .slick-track, .bottom_section .up-sells.products .slick-track {
    display: flex;
    flex: auto;
    margin-left: 0;
}
.bottom_section .related.products li.product, .bottom_section .up-sells.products li.product {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    height: auto;
    flex: auto;
    max-width: unset;
}
.single-product .bottom_section .products.related .related_title {
    font-size: 36px;
    color: #333333;
    font-weight: bold;
    border-bottom: none;
    text-align: center;
    text-transform: uppercase;
}
.single-product .bottom_section .products.related {
    padding-bottom: 4em;
}

/* end sp liên quan */

/* cart */
span.pewc-cart-item-price, dt.variation-Tnhgi, dd.variation-Tnhgi {
    display: none!important;
}
dl.variation {
    margin-top: 5px;
}
td.product-name a { font-weight: 700; }
.top-position {
    margin-bottom: 0px;
}
tr.woocommerce-cart-form__cart-item.cart_item td.product-remove {
    padding: 0!important;
    padding-left: 5px!important;
}
tr.woocommerce-cart-form__cart-item.cart_item td.product-thumbnail {
    padding: 8px 0!important;
}
tr.woocommerce-cart-form__cart-item.cart_item td.product-price {
    text-align: center;
}
article.content-post h1.entry-title { color: var(--main_bgr); padding-top: 10px; }
form.woocommerce-cart-form input.minus, form.woocommerce-cart-form input.plus {
    position: absolute;
    background: none;
    border: none;
    width: 2em!important;
    height: 100%;
    font-size: 23px;
}
form.woocommerce-cart-form input.minus:hover, form.woocommerce-cart-form input.plus:hover {
    cursor: pointer;
}
form.woocommerce-cart-form .quantity .qty {
    width: 7em!important;
    border: 1px solid #000;
    height: 60px;
    padding: 0!important;
    outline: none;
    font-size: 18px;
}
form.woocommerce-cart-form input.plus {
    right: 21px;
    top: 1px;
}
.woocommerce-page table.cart td.actions .coupon .input-text+.button { color: #fff; }
.woocommerce #content table.cart td.actions .button, .woocommerce table.cart td.actions .button, .woocommerce-page #content table.cart td.actions .button, .woocommerce-page table.cart td.actions .button {
    color: #fff;
}
.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
    background: var(--main_bgr);
}
/* end-cart */

/* form tư vấn */
.bg_form_download {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 99999;
    transform: scale(0);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease 0s;
}
.bg_form_download.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}
.bg_form_download .bg {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0);
    opacity: 0.5;
}
.bg_form_download .content_download {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40%;
    background-color: #fff;
    /* padding: 30px; */
}
.bg_form_download .main_form_tu_van {
    background-color: rgb(255, 255, 255);
    padding: 10px 10px;
    border-top: 3px solid var(--title);
}
.bg_form_download input {
    width: 100%;
    height: 40px;
    margin-bottom: 10px;
    text-indent: 20px;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(206, 212, 218);
    border-image: initial;
    border-radius: 20px;
}
.bg_form_download input:focus { outline: none; }
.bg_form_download input.wpcf7-form-control.wpcf7-submit {
    background: var(--main_txt);
    color: #fff;
    text-indent: 0;
}
.bg_form_download input.wpcf7-form-control.wpcf7-submit:hover {
    background: #36365C;
    cursor: pointer;
}
.bg_form_download .top_form_tu_van {
    padding: 0 0;
}
.bg_form_download .top_form_tu_van img {
    margin: 0 auto;
    width: 80%;
}
.bg_form_download h3 {
    text-align: center;
    text-transform: uppercase;
    font-size: 1.2em;
    line-height: 24px;
    color: #36365C;
    margin-top: 10px;
    margin-bottom: 10px;
}
.bg_form_download .wpcf7 form>div, .bg_form_download .wpcf7 form>p {
   margin-bottom: 00px; 
}
.icon_hotline_form i {
    padding: 10px;
    border: 1px solid var(--main_bgr);
    border-radius: 50%;
    font-size: 25px;
    margin-right: 10px;
    color: var(--main_bgr);
}
.icon_hotline_form {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--main_bgr);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 22px;
}
/* end form tư vấn */

/* bài viết liên quan tên sản phẩm */
.post_pro {
    padding-bottom: 30px;
}
.post_pro ul {
    list-style-type: none;
    padding: 0;
}
.post_pro ul li a {
    color: inherit;
}
.post_pro ul li a:hover {
    color: var(--main_txt);
}
.post_pro h2 {
    font-size: 1.5em;
    margin-bottom: 1em;
    border-bottom: solid 1px var(--main_bgr);
    color: var(--main_bgr);
}
.post_pro {
    padding-left: 7px;
    padding-right: 7px;
}
/* end bài viết liên quan tên sản phẩm */

.product_form {
    display: flex; justify-content: center; align-items: center;
}
.product_form.show {
    opacity: 1; visibility: visible; transition: .5s;
}
.product_form .popup_content {
    width: auto; background: white; padding:40px 30px; border-radius: 2px;
    max-height: 80vh; height: auto;
}
.product_form .popup_content form br {
    display: none
}
.product_form .popup_content form .wpcf7-form-control-wrap {
    display: block; margin-top: 5px;
}
.product_form .popup_content .close_popup {
    position: absolute;top:0; right: 0; font-size: 40px;
    width: 1.05em; height: 1.05em; display: flex;
    justify-content: center; align-items: center;
}
.product_form .popup_content input,
.product_form .popup_content textarea {
    width: 400px; font-size: inherit; padding:.5em 1em; display: block;
    border: none; background: #f3f3f3dd; border-radius: 2px;
}

.product_form .popup_content .wpcf7-submit {
    width: fit-content;
    background: #ea3238;
    color: white;
    margin-top: 15px;
    cursor: pointer;
    margin: 15px auto;
}
.product_form .popup_content form {
    position: relative; max-width: 400px;
}
.product_form .wpcf7-spinner {
    position: absolute; top:0; left: 0; width: 100%; height: 100%;
    display: flex; justify-content: center; align-items: center;
    border-radius: 0; padding-right: 12px; margin: 0
}
.product_form .submitting .wpcf7-spinner  {
    background: #dddd;
}
.product_form .wpcf7-spinner::before {
    position: initial;
}
.product_form .popup_content textarea {
    max-height: 8em;
}
.product_form .popup_content .popup_title,
.product_form .popup_content .popup_desc {
    text-align: center;
}
.product_form .popup_content .popup_title {
    font-weight: bold; font-size: 1.4em;
}
.wpcf7 form .wpcf7-response-output {
    margin:15px 0 0;
}
.product_info {
    display: flex; justify-content: center;
}
.product_info .entry-content {
    max-width: 1061px; text-align: justify;
}
@media (max-width: 1024px){
    .bg_form_download .content_download { width: 40%; }
    section.related.products .slick-prev {
        left: 0;
    }
    section.related.products .slick-prev::before {
        content: none;
    }
    section.related.products .slick-next {
        right: 0;
    }
}

@media (max-width: 768px){
    .bg_form_download .content_download { width: 55%; }
    .sec_product h1.product_title.entry-title {
        font-size: 24px;
        margin: 0px 0 5px;
        padding-bottom: 5px;
    }
    .col_thong_tin form.cart {
        margin-bottom: 10px!important;
    }
    ul.pewc-product-extra-groups {
        margin-bottom: 0px;
        margin-top: 0px;
    }
    .sec_product .quantity .qty {
        width: 6em;
        height: 50px;
        font-size: 16px;
    }
    .sec_product button.single_add_to_cart_button.button.alt {
        width: 13em;
        height: 50px;
    }
    .woocommerce-cart.woocommerce-page .entry-content .woocommerce .woocommerce-cart-form {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }
    .woocommerce-cart.woocommerce-page .entry-content .woocommerce .cart-collaterals {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }
    .single-product .top_section .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }
    .namlbn-product-image-view:before {
        padding-bottom: 100%;
    }
    .namlbn--with-images .namlbn-nav .slick-list .slick-track .slick-slide:before {
        padding-bottom: 55%;
    }
    .namlbn--with-images .namlbn-nav .slick-list .slick-track .slick-slide img {
        object-fit: contain;
    }
    .col-6.contact_form_download {
        margin-top: 15px;
    }
    .button_project {
        padding-bottom: 25px;
    }
    .single-product h1 {
        font-size: 1.4em; margin-top: .5em;
    }
    .single-product .bottom_section .products.related .related_title {
        font-size: 1.4em
    }
    .single-product .row {
        margin:0;
    }
}

@media (max-width: 667px){
    .product_form .popup_content input,
    .product_form .popup_content textarea,
    .product_form .popup_content form {
        width: 400px; max-width: 80vw;
    }
    .namlbn--with-images .namlbn-nav .slick-list .slick-track .slick-slide:before {
        padding-bottom: 65%;
    }
    .namlbn-nav .slick-prev { left: 0 }
    .namlbn-nav .slick-next { right: 0 }
    .single-product .top_section .col-6 { padding: 0 18px   ; }
    .bg_form_download .content_download { width: 93%; }
    .bg_form_download .top_form_tu_van {
        padding: 5px 0;
    }
    form.woocommerce-cart-form input.plus {
        right: 0px;
        top: 1px;
    }
    .col_hinh_anh, .col_thong_tin {
        padding: 0 5px;
    }
    .bg_form_download h3 {
        font-size: 1.5em;
        margin: 0;
    }
    .bg_form_download input { height: 35px; }
}

@media (max-width: 500px){
    .woocommerce div.product .woocommerce-tabs ul.tabs li a {
        padding: 15px 18px;
    }
    .bg_form_download h3 {
        font-size: 1.2em;
    }
    .icon_hotline_form {
        font-size: 18px;
    }
}

@media (max-width: 425px){
    .woocommerce div.product .woocommerce-tabs ul.tabs li a {
        padding: 10px 7px;
        font-size: 16px;
    }
    .bg_form_download .content_download {
        width: 97%;
    }
    .bg_form_download .main_form_tu_van {
        padding: 10px 5px;
    }
    .summary_contact > .contact {
        font-size: 14px;
    }
}
@media (max-width: 330px){
    .product_form .popup_content {
        padding: 40px 10px;
    }
    .product_form .popup_content input,
    .product_form .popup_content textarea,
    .product_form .popup_content form {
        width: 400px; max-width: 90vw;
    }
}