/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
:root {
    --primary: #00a6a3
}
@font-face {
    font-family: "TiktokDisplay";
    src: url("https://grandx.com.vn/wp-content/uploads/2024/12/TikTokDisplay-Medium.otf") format("truetype");
    font-weight: 500;
    font-style: normal;
}

.product-footer {
    display: block;
    clear: both;
    margin-top: 30px;
}

.tabbed-content {
    display: flex;
    flex-flow: row wrap;
}

.tabbed-content .nav,
.tabbed-content .tab-panels {
    width: 100%;
}

.product-footer ul.product-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-column-gap: 10px;
}

.product-footer ul.product-tabs li {
    text-align: center;
    list-style: none;
}

.product-footer ul.product-tabs li:first-child {
    border-left: none;
}

.product-footer ul.product-tabs li a {
    font-size: 20px;
    color: #494949;
    width: 100%;
    display: inline;
    position: relative;
    font-weight: 500;
    padding-bottom: 5px;
}

.product-footer ul.product-tabs li.active a {
    color: var(--primary);
}

.product-footer ul.product-tabs li.active a::after {
    content: "";
    border-bottom: 3px solid var(--primary);
    position: absolute;
    height: 3px;
    width: 70%;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    -o-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
}

.product-footer .container {
    width: 100%;
}

.tab-panels {
    padding-top: 30px;
}

.box_content .title__Tt,
.product-footer .title__Tt {
    display: block !important;
}

.banner_tabs {
    margin-bottom: 35px;
    margin-top: 10px;
}

.tab-panels .row_location:nth-child(2n) .box_content {
    padding-right: 40px;
}

.title__Tt {
    font-size: 38px;
    color: var(--primary);
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 25px;
    font-weight: 500;
}

.row_location .title__Tt {
    font-size: 22px;
    color: var(--primary);
    text-transform: unset;
    text-align: left;
    margin-bottom: 10px;
    margin-top: 30px;
}

.rt_text_rg {
    max-height: 324px;
    overflow: hidden;
    display: block;
}

.des {
    font-size: 14px;
}

.tab-panels .row_location:nth-child(2n + 1) .col:nth-child(1) {
    order: 2;
    max-width: 45%;
    margin: 0 auto;
    display: flex;
}

.tab-panels .row_location:nth-child(2n + 1) .col:nth-child(2) {
    order: 1;
}

.xem_table {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
}

.table_center {
    max-height: 575px;
    overflow: hidden;
}

table tr:nth-child(2n - 1),
table tbody>tr:nth-child(odd)>td,
table tbody>tr:nth-child(odd)>th {
    background-color: white !important;
}

table tr td {
    padding-left: 10px !important;
    color: #333;
    font-size: 19px;
    opacity: 1;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-right: 15px !important;
}

table tr:nth-child(2n) {
    background: #ddd !important;
}

table tr td,
table tr th {
    border: 0 !important;
}

.single-product #main {
    max-width: 1410px !important
}

.anh_chung_nhan {
    position: relative;
    margin-bottom: 50px;
}

.khung {
/*     width: 239px;
    height: 391px; */
	width: 100%;
	height: 100%;
    margin: 0px auto 0;
    z-index: 1;
    position: relative;
    padding-top: 28px;
    cursor: pointer;
}

/* .anh_chung_nhan::after {
    content: "";
    top: 0;
    left: 50%;
    position: absolute;
    background: url(/wp-content/uploads/2025/05/KHUNG-ANH.png) no-repeat;
    width: 297px;
    height: 398px;
    background-size: contain;
    transform: translateX(-50%);
    -o-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    z-index: 0;
} */


.xem_tc_hd {
    text-align: left;
    margin-top: 25px;
    height: 39px;
    display: flex;
    justify-content: center;
}

.table-sp .mo_rong.rt_xemthem img {
    display: none;
}

.rt_xemthem a::after,
.rt_xemthem_hover a:after {
    position: absolute;
    content: "";
    left: 0;
    top: -10px;
    text-align: center;
    background: url(img/thu_gon.png) no-repeat;
    color: #fff;
    width: 162px;
    height: 45px;
}

.xem_tc a span {
    padding: 10px;
    min-width: 150px;
    text-transform: capitalize;
    color: #fff;
    background-color: var(--primary);
    display: flex;
    min-height: 45px;
    text-align: center;
    justify-content: center;
    gap: 15px;
    border-radius: 7px;
    font-weight: bold;
    align-items: center;
}

.rt_text_hover {
    max-height: 100% !important;
    overflow: auto;
}

.rt_xemthem .viewmore {
    display: none;
}

.row_location .col {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.row_location {
    justify-content: center;
}

.rt_xemthem .hidemore {
    display: flex !important;
}

.views_image.table_center {
    max-height: auto;
}

.description p strong {
    font-size: 20px;
}

.description p,
.rt_text_rg p {
    font-size: 18px;
}

.woocommerce-page div.product div.summary {
    padding-left: 40px;
}

.woo-product-gallery-slider .wpgs-for {
    border: 1px solid #ccc;
    margin: 3px;
    margin-top: 30px;
    padding: 20px;
}

.row {
    display: flex;
    flex-flow: row wrap;
    width: 100%;
}

.col,
.columns,
.gallery-item {
    margin: 0;
    padding: 0 15px 30px;
    position: relative;
    width: 100%;
}

.small-12,
.small-columns-1 .flickity-slider>.col,
.small-columns-1>.col {
    flex-basis: 100%;
    max-width: 100%;
}

.tab_thong_so>.large-12:nth-child(1) {
    padding-bottom: 0;
}

.download-pdf {
    display: inline-block;
    margin-top: 30px;
}

.download-pdf a {
    color: #F05A22;
    padding-right: 5px;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.custom-short-description p {
    font-size: 18px;
}

.custom-short-description svg {
    position: relative;
    top: 9px;
}

.woocommerce div.product .product_title {
    color: var(--primary);
    text-transform: uppercase;
}

.tab_thong_so {
    justify-content: center;
}

.fisl {
    flex-basis: 50% !important;
    max-width: 50% !important;
}

#popupOverlay {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
}

#popupOverlay img.popupImage {
    max-width: 90%;
    max-height: 90%;
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

#popupOverlay.zoomed img.popupImage {
    transform: scale(2); /* Zoom in */
    cursor: zoom-out;
}

#popupOverlay .closePopup {
    position: absolute;
    top: 20px; right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

@media screen and (min-width: 550px) {
    .medium-6 {
        flex-basis: 50%;
        max-width: 50%;
    }
}

@media screen and (min-width: 850px) {
    .large-6 {
        flex-basis: 50%;
        max-width: 50%;
    }

    .large-4 {
        flex-basis: 33.3333333333%;
        max-width: 33.3333333333%;
    }

    .large-8 {
        flex-basis: 66.6666666667%;
        max-width: 66.6666666667%;
    }

    .gallery-columns-1 .gallery-item,
    .large-12,
    .large-columns-1 .flickity-slider>.col,
    .large-columns-1>.col {
        flex-basis: 100%;
        max-width: 100%;
    }
}

@media (max-width: 767px) {

    .product-main .tab-panels .entry-content>.row_location:nth-child(2n) .large-6:nth-child(1),
    .tab-panels .row_location:nth-child(2n + 1) .col:nth-child(1) {
        order: 2;
        max-width: 100%;
    }

    .product-footer ul.product-tabs,
    .list-ps {
        grid-template-columns: repeat(1, 1fr);
    }

    .tab-panels .row_location:nth-child(2n + 1) .col:nth-child(2) {
        order: 2;
    }

    .rt_text_rg {
        max-height: auto;
    }

    .fisl {
        flex-basis: 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 480px) {
    table tr td {
        font-size: 15px;
    }

    .title__Tt {
        font-size: 22px;
    }
}