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


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

    /*************** ADD MOBILE ONLY CSS HERE  ***************/
    .fixed-button {
        display: none !important;
    }

    .fixed-button-mobile {
        position: fixed;
        left: 0;
        bottom: 0;
        z-index: 1000;
        width: 100%;
        background: #fff;
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 8px 0;
        box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
    }

    .fixed-button-mobile img {
        height: 40px;
        width: 40px;
        object-fit: contain;
    }
    #product-sidebar{
        display: block !important;
    }
}

@media only screen and (min-width: 48em) {
    .fixed-button-mobile {
        display: none;
    }
}

.fixed-button {
    position: fixed;
    right: 0;
    bottom: 160px;
    z-index: 9;
    display: flex;
    flex-direction: column;
    padding: 25px 10px;
    align-items: center;
    border-radius: 20px 0px 0px 20px;
    background: #FFF;
    box-shadow: -2px 2px 4px 0px rgb(0 0 0 / 29%);
}

.fixed-button a {
    margin-bottom: 25px;
}

.fixed-button img {
    width: 32px;
    height: 33px;
}

#phone-ring-ring {
    position: relative;
}

#phone-ring-ring img {
    background: #21216d;
    border-radius: 50%;
    padding: 5px;
    border: 1px solid #fff;
    animation: phone-vr-circle-fill 1s infinite ease-in-out;
}

#phone-ring-ring::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    border-radius: 50%;
    -webkit-animation: shockwave 1s 0.5s ease-out infinite;
    animation: shockwave 1s 0.5s ease-out infinite;
    width: 30px;
    height: 30px;
    transform-origin: 50% 50%;
    margin: auto;
}

@keyframes phone-vr-circle-fill {
    0% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
    }

    10% {
        -webkit-transform: rotate(-25deg) scale(1) skew(1deg);
    }

    20% {
        -webkit-transform: rotate(25deg) scale(1) skew(1deg);
    }

    30% {
        -webkit-transform: rotate(-25deg) scale(1) skew(1deg);
    }

    40% {
        -webkit-transform: rotate(25deg) scale(1) skew(1deg);
    }

    50% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
    }

    100% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
    }
}

@keyframes shockwave {
    0% {
        box-shadow: 0 0 0 0 rgb(69 159 223 / 46%), 0 0 0 1px rgb(34 147 215 / 39%), 0 0 0 3px rgb(29 155 217 / 32%), 0 0 0 5px rgb(74 153 255 / 44%);
    }

    100% {
        box-shadow: 0 0 0 0 rgb(82 161 229 / 30%), 0 0 0 4px rgb(250 202 70 / 0%), 0 0 0 20px rgba(250, 202, 70, 0), 0 0 0 25px rgba(250, 202, 70, 0);
    }
}

.gototop {
    margin-bottom: 0 !important;
    opacity: 1;
    transform: unset !important;
}

.gototop img {
    height: 33px;
    width: 34px;
    background: #fff;
    box-shadow: -1px 2px 4px 0px rgb(0 0 0 / 29%);
    border-radius: 50%;
    padding: 8px;
}

.absolute-footer {
    display: none;
}

.infor-footer ul {
    list-style: none;
}

.infor-footer ul li {
    display: flex;
    align-items: start;
    margin-left: 0;
    line-height: 1;
}

.infor-footer ul li img {
    width: 20px;
    height: 20px;
    margin-right: 4px;
}

.infor-footer ul li span {
    line-height: 1.2;
}

.ft-title {
    font-size: 16px;
}

.s-title h2 {
    position: relative;
}

.s-title h2::before {
    content: "";
    border-bottom: 1px solid #21216d;
    border-top: 0px solid #21216d;
    display: table;
    top: 55%;
    width: 100%;
    position: absolute;
    z-index: 8;
}

.s-title h2::after {
    content: "";
    border-bottom: 1px solid #21216d;
    display: table;
    top: 63%;
    width: 100%;
    position: absolute;
    z-index: 8;
}

.s-title a {
    z-index: 9;
    padding: 0px 15px;
    font-size: 20px;
    position: relative;
    color: #21216d;
    background: #fff;
    text-transform: uppercase;
}

p.name.product-title.woocommerce-loop-product__title a {
    color: #21216d !important;
    width: 100%;
    font-weight: bold;
    font-size: 16px;
}

.product-small .price del {
    margin-left: 10px;
}

.box-text-products .star-rating {
    margin-top: 0;
}

.box-text-products .price {
    display: flex;
    flex-direction: row-reverse;
    justify-content: start;
}

.product-small .badge-container {
    margin: 6px;
}

.badge-container .onsale {
    background: url(/wp-content/uploads/2024/10/sales.png);
    background-size: contain;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    width: 36px;
    height: 36px;
}

.product-small .col-inner {
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.related-products-wrapper .product-small .col-inner .box-text-products {
    padding: 10px;
}

.product-summary .is-divider {
    width: 100%;
    max-width: 100%;
    background: #000;
    height: 1px;
    margin: 8px 0;
}

.woocommerce-product-gallery__wrapper {
    border: 1px solid #eee;
}
.block-tskt{
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .1), 0 2px 6px 2px rgba(60, 64, 67, .15);
    margin-bottom: 38px;
    overflow: hidden;
    padding: 15px;
}
.technical-content {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}
.technical-content li {
    list-style: none;
    margin-left: 0 !important;
    padding: 6px;
    margin-bottom: 0;
    display: flex;
    color: #555;
}
.technical-content li:nth-child(odd) {
    background-color: #f2f2f2;
}
.technical-content{
    font-size: 14px;
    width: 100%;
}
.form-lhtv p{
    display: flex;
    position: relative;
}
.form-lhtv p .wpcf7-submit{
    position: absolute;
    right: 0;
    margin: 0;
    border-radius: 4px;
    font-weight: 500;
}
.form-lhtv .wpcf7-text{
    border-radius: 4px !important;
    background: #fff;
    border-right: 0;
}
.tuyen-dung-item {
    background-color: #f9f9f9; /* Màu nền nhạt */
    border: 1px solid #e0e0e0; /* Viền nhạt */
    border-radius: 8px; /* Góc bo tròn */
    padding: 20px; /* Khoảng cách bên trong */
    margin-bottom: 20px; /* Khoảng cách giữa các khối */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Đổ bóng nhẹ */
}

.tuyen-dung-item h3 {
    font-size: 24px; /* Kích thước chữ lớn */
    color: #333; /* Màu chữ đậm */
    margin-bottom: 15px; /* Khoảng cách dưới */
}

.tuyen-dung-item p {
    font-size: 16px; /* Kích thước chữ vừa */
    line-height: 1.6; /* Khoảng cách giữa các dòng */
    color: #555;
    margin-bottom: 8px;
}

.tuyen-dung-item p strong {
    color: #333;
}

.tuyen-dung-item .button {
    margin-top: 30px;
}
/* Ẩn phân trang khi danh mục có danh mục con */
body.has-subcategories .woocommerce-pagination {
    display: none;
}
.term-description-content {
    max-height: 100px; /* Chiều cao tối đa khi thu gọn */
    overflow: hidden;
    position: relative;
    transition: max-height 0.3s ease;
}

.term-description.expanded .term-description-content {
    max-height: none; /* Mở rộng chiều cao khi nhấn nút */
}

.read-more-btn {
    display: inline-block;
    margin-top: 10px;
    color: #0073aa;
    cursor: pointer;
    text-decoration: none;
}

.read-more-btn:hover {
    text-decoration: underline;
}

img,
.ux-img,
.ux-img img,
.woocommerce-product-gallery__image img,
.attachment-woocommerce_thumbnail,
.wp-post-image {
  border-radius: 8px !important;
}
.nav-dropdown li:hover > a {
  background-color: #22246b !important; /* màu nền xanh */
  color: #fff !important;               /* màu chữ trắng */
  border-radius: 8px !important;        /* bo góc */
  padding: 8px 12px;                    /* tùy chỉnh khoảng cách nếu cần */
  transition: all 0.2s ease;
}
.sub-menu.nav-dropdown.nav-dropdown-simple {
  border-radius: 8px !important;
  overflow: hidden; /* giúp giữ bo góc nếu có nền màu */
}