.rounded-8 {
    border-radius: 8px !important;
}

.header-top-01 > .container > .row > div {
    display: flex;
    align-items: center;
}

.header-top-01 > .container > .row > div:last-child {
    justify-content: flex-end;
}

.field {
    position: relative;
    width: min(560px,90vw);
}

.field .typing {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #9aa0a6;
    font-family: ui-monospace, monospace;
    white-space: nowrap;
    border-right: 2px solid currentColor;
    overflow: hidden;
    opacity: 0;
}

.field input:placeholder-shown + .typing {
    opacity: 1;
    animation: typingLoop 6s steps(16) infinite, blink 1s steps(1) infinite;
}

.field input:not(:placeholder-shown) + .typing {
    opacity: 0;
    animation: none;
}

@keyframes typingLoop {
    0% {
        width: 0ch;
    }

    40% {
        width: 16ch;
    }

    60% {
        width: 16ch;
    }

    100% {
        width: 0ch;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

.search-section .input-group .form-control {
    background: transparent;
    border-radius: 3px !important;
    border: 1px solid;
    height: 3.6rem;
}

.search-section .input-group .btn-submit {
    position: absolute;
    background: none;
    border: 0;
    right: 0;
    z-index: 4;
    color: black;
    font-size: 18px;
    padding: 4px 15px;
    border-left: 1px solid;
    height: 4rem;
}

.member-header a i {
    font-size: 22px;
}

.member-header a {
    color: black !important;
    font-size: 16px;
}

.btn_gr_call {
    padding: 5px 30px 5px 5px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 0 rgb(0 115 255 / 90%);
    animation: pulse 2s infinite;
    background-color: var(--color-highlight);
}

.btn_group_hotline_pdf {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
}

.btn_group_hotline_pdf img {
    height: 40px;
    width: 40px;
    object-fit: contain;
}

.btn_gr_call_img {
    background: #fff;
    border-radius: 50px;
    margin-right: 10px;
    height: 45px;
    width: 45px;
    align-items: center;
    justify-content: center;
    display: flex;
}

.btn_gr_call a {
    color: #fff;
    font-size: 21px;
    font-weight: bold;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgb(0 115 255 / 90%);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

@keyframes pulse_red {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 #cc333394;
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

@keyframes pulse2 {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
    }
}

.box-highlight .item .img {
    flex: 0 0 50px;
    height: 50px;
    border-radius: 110px;
    border: 1px solid #ddd;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.box-highlight .item .img img {
    width: 30px;
}

.box-highlight .item {
    display: flex;
    align-items: center;
}

.box-highlight .item .info .name {
    font-weight: 600;
}

.box-highlight {
    margin: 20px 0 50px 0;
}

.flex-title-link-sp {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.img-banner-sp img {
    width: 100%;
    max-height: 25rem;
    object-fit: cover;
}

.img-banner-sp {
    margin: 30px 0 30px 0;
}

.btn-xem-them a {
    background-color: var(--color-highlight);
    color: white;
    padding: 5px 15px 6px 15px;
    border: 1px solid;
    border-radius: 5px;
    text-transform: capitalize;
    font-weight: bold;
}

.btn-xem-them a:hover {
    background-color: white;
    color: var(--color-highlight);
    border: 1px solid;
}

.btn-xem-them-article {
    text-align: right;
}

.btn-xem-them-article a {
    color: var(--color-highlight);
}

.slider-customer-reviews {
    background: var(--bg-gradient);
    padding: 25px;
    border-radius: 12px;
}

.slider-customer-reviews .item {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
}

.slider-customer-reviews .item .top {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.slider-customer-reviews .item .top .icon img {
    width: 100px;
    height: 100px;
    border-radius: 100%;
}

.slider-customer-reviews .item .top .icon {
    margin-right: 15px;
}

.slider-customer-reviews .item .note {
    margin-bottom: 10px;
}

.slider-customer-reviews .item .description-short {
    height: 84px;
    overflow: hidden;
}

.box-customer-reviews .info-title .title-section {
    font-size: 4rem;
    margin-bottom: 20px;
}

.box-customer-reviews .info-title .dsc {
    font-size: 20px;
}

.box-customer-reviews .info-title i {
    font-size: 70px;
}

.slider-customer-reviews {
    background: linear-gradient(to right, #5489c7, #5489c7);
    padding: 25px;
    border-radius: 12px;
}

.title-newsletter {
    font-size: 3.4rem;
    color: var(--color-highlight);
    line-height: 1;
    font-weight: bold;
}

.title-newsletter span {
    font-size: 2.1rem;
    font-weight: 300;
    color: var(--color-main);
    display: block;
}

.form-newsletter .form-group, .service-check label {
    max-width: 100%;
    width: 100%;
}

.form-newsletter .newsletter--submit {
    height: 7.8rem;
    background: var(--color-highlight);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    font-weight: 700;
    border: 1px solid var(--color-highlight);
}

.form-control {
    display: block;
    width: 100%;
    height: 3.4rem;
    padding: 0.6rem 1.2rem;
    line-height: 1.42857143;
    color: var(--color-input);
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 2px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}

.widget-wrap iframe {
    max-height: 30rem;
    width: 100%;
    overflow: hidden;
}

footer {
    background-color: #f1f5f9;
}

.footer-menu-section ul li a {
    color: black;
    font-size: 1.5rem;
    font-weight: 600;
}

.menu-horizontal .footer-menu-section ul li {
    display: inline-block;
    margin-bottom: 0;
}

.menu-horizontal .footer-menu-section ul li a {
    padding: 0 0 1.5rem 0;
    margin-right: 1.5rem;
}

.title-footer {
    font-size: 1.8rem;
    color: var(--color-highlight);
    font-weight: 600;
}

.contact-left, .contact-right {
    position: fixed;
    left: 15px;
    bottom: 15px;
    z-index: 9999;
}

.contact-right {
    right: 15px;
    left: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.call-now-btn {
    margin-top: 1rem;
    display: block;
}

.call-now-btn img {
    width: 3rem;
    height: 3rem;
    margin-right: 0.75rem;
    object-fit: cover;
    background-color: white;
    padding: 4px;
    border-radius: 50%;
}

.call-now-btn .contact-phone {
    border-radius: 25px;
    display: flex;
    align-items: center;
    transition: all .3s ease;
}

.call-now-btn .contact-phone#tuVan {
    color: black;
    font-size: 1.6rem;
    font-weight: 700;
    padding: 0 0.75rem;
    animation: bounceY 1s infinite ease-in-out;
}

.call-now-btn .contact-phone#tuVan:hover {
    color: var(--color-highlight);
}

@keyframes bounceY {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.call-now-btn .contact-phone#phone {
    background: var(--color-highlight);
    padding: 0.5rem 1.5rem 0.5rem 0.75rem;
    color: var(--white);
    font-size: 1.8rem;
    transition: transform .25s ease;
}

.call-now-btn .contact-phone#phone:hover {
    transform: scale(1.05);
    transition: transform .25s ease;
}

.call-now-btn i {
    margin-right: 0.75rem;
    height: 3.6rem;
    width: 3.6rem;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-highlight);
    font-size: 2rem;
}

.social-float {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    position: relative;
}

.tooltip {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    left: -130%;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-highlight);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 4px;
    white-space: nowrap;
    transition: all .3s ease;
    min-width: 5.2rem;
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -18px;
    transform: translateY(-50%);
    border-width: 10px;
    border-style: solid;
    border-color: transparent transparent transparent var(--color-highlight);
}

.social-float:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

.title-form {
    font-size: 1.8rem;
    background-color: var(--blue-light);
}

.form-registration {
    background-color: #f8f8f8;
}

.quote-popup {
    bottom: 0;
    right: 0;
    top: unset;
    left: unset;
    width: auto;
    height: auto;
}

.quote-popup button.close {
    position: absolute;
    top: 0;
    right: 0;
    width: 3rem;
    height: 3rem;
    background-color: var(--white);
    opacity: 1;
}

.quote-popup button.close:hover, .quote-popup button.close:focus {
    background-color: var(--blue-light);
    opacity: 1 !important;
    color: var(--white);
}

.quote-popup .invalid-feedback {
    color: #FFD700;
    font-size: 1.2rem;
}

.quote-popup .modal-body {
    background-color: var(--color-highlight);
}

.btn-seeMore {
    padding: 1rem 3rem;
    background: var(--red);
    color: var(--white);
}

.quote-form .btn-seeMore {
    padding: 0;
    width: 100%;
    height: 3.4rem;
}

.button-group {
    background-color: var(--color-highlight);
    transition: background-color .25s ease;
}

.btn-buy {
    text-align: center;
    background-image: linear-gradient(to right, #f6504c, #f12c3f);
    background-color: var(--blue-light);
    font-size: 1.8rem;
    width: 100%;
    display: inline-block;
}

.logo-qr-code img {
    width: 130px;
}

.product-action-detail .btn-cart-buy {
    flex-basis: calc(100% - 60px);
    max-width: calc(100% - 60px);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.product-action-detail .btn-cart-buy a.add-to-cart {
    flex-basis: calc(50% - 10px);
    display: inline-flex;
    text-align: center;
    justify-content: center;
    border-radius: 8px;
}

.product-action-detail .btn-product-action {
    border-radius: 8px;
    border-color: #ddd;
}

.box-product-image-detail {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
}

.box-product-info-detail, .box-description-detail, .product-content-detail .social-share, .product-detail-footer {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
}

.product-detail-head {
    margin-bottom: 30px;
}

.product-content-detail .social-share .list-social .btn-social a {
    border: 1px solid #ddd;
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #000;
}

.product-content-detail .social-share .list-social .btn-social {
    padding-left: 10px;
    padding-right: 10px;
}

.product-content-detail .social-share .list-social {
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
}

.product-content-detail .social-share .share-title {
    display: inline-block;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
}

.product-action-detail {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.box-rating-vm {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
}

.title-rating-cm {
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 20px;
}

.comment-section {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
}

.box-cart-info {
    border: 1px solid var(--color-highlight);
    border-radius: 8px;
    font-size: 14px;
    overflow: hidden;
}

.file .post-date img {
    max-height: 3rem;
    object-fit: contain;
}

.article-item .article-title .view-pdf {
    color: #fff;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    line-height: 30px;
}

.file .article-title {
    background: #ec1e2b;
}

.cus-tab-tailieu .article-item {
    background: #f4f5f8;
    border-radius: 8px;
}

.cus-tab-tailieu .image {
    width: 128px;
    height: 146px;
    background: var(--color-highlight);
    display: flex;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    border-radius: 8px 0 0 8px;
}

.cus-tab-tailieu .image img {
    height: 8rem;
}

.article-item .article-title {
    margin-bottom: 0;
    font-size: 16px;
    font-weight: 500;
}

.cus-tab-tailieu .inner-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px;
}

.box-suggest input, .box-suggest botton {
    height: 4rem;
}

.box-cart-info .responsive-table thead th {
    background-color: var(--color-highlight);
    border: 1px solid var(--color-highlight);
}

.title-child {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    row-gap: 1rem;
}

.title-child .view-all {
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #444;
    float: right;
    font-size: 13px;
    height: 34px;
    white-space: nowrap;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
}

.title-child .view-all:hover {
    border-color: var(--color-highlight);
}

@media (max-width: 768px) {
    .flex-title-link-sp {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
    }

    .img-banner-sp {
        display: none;
    }

    .title-child {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-behavior: smooth;
        padding-bottom: 5px;
        margin-bottom: 10px;
    }

    .btn-action-header {
        padding: 0;
        padding-left: 1rem;
    }

    .header-action .btn-action-header .span-11 {
        display: none;
    }

    .member-header a i {
        font-size: 1.8rem;
    }

    .btn_group_hotline_pdf {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
        margin: 30px 0;
        flex-direction: row;
        align-content: center;
    }

    .btn_gr_call a {
        font-size: 13px;
    }

    .btn_group_hotline_pdf img {
        height: 30px;
        width: 30px;
    }

    .btn_gr_call_img {
        margin-right: 5px;
        height: 35px;
        width: 35px;
    }

    .box-highlight .item {
        margin-bottom: 15px;
    }

    .btn-xem-them a {
        padding: 5px 10px 5px 10px;
        display: inline-block;
        text-align: center;
        white-space: nowrap;
    }

    .box-customer-reviews .info-title .title-section {
        font-size: 3rem;
    }

    .contact-left, .contact-right {
        bottom: 80px;
    }

    .form-newsletter .newsletter--submit {
        height: 4rem;
    }

    .title-newsletter {
        font-size: 2.4rem;
        line-height: 1.5;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .field {
        width: min(360px, 90vw);
    }

    .menu-section > ul > li > a {
        padding: 4px 4px 4px 4px;
    }
}

@media (min-width: 768px) and (max-width: 900px) {
    .field {
        width: min(300px, 90vw);
    }

    .header-top-02 > .container > .row > div {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .form-newsletter .form-group, .service-check label {
        max-width: 90%;
    }

    .box-highlight .item {
        align-items: flex-start;
    }
}

@media (min-width: 1200px) and (max-width: 1400px) {
    .search-section .input-group .form-control {
        height: 4rem;
    }

    .menu-section > ul > li > a {
        /* padding: 5px 10px 5px 10px; */
    }
}
