﻿.top-\[60vh\] {
    top: 60vh;
}

.top-\[70vh\] {
    top: 70vh;
}

.top-\[75vh\] {
    top: 75vh;
}

@media screen and (min-width: 426px) and (max-width: 800px) {
    #floating-button .top-\[75vh\] {
        top: 80vh;
    }
}

@media screen and (min-width: 1px) and (max-width: 400px) {
    #floating-button .top-\[75vh\] {
        top: 80vh;
    }

    #floating-button .left-12 {
        left: 2.5rem;
    }

    #calltrap-btn {
        left: 18rem !important;
    }

    .tooltiptext {
        bottom: 45px !important;
        right: 125px !important;
    }
}

@media (min-width: 960px) {
    #home-news h3 {
        font-size: 1.5rem;
        line-height: 2rem;
    }

    #functions h3 {
        font-size: 1.5rem;
        line-height: 2rem;
        height: 2rem;
        text-align: center;
    }

    #banner-detail-page {
        height: 400px;
    }

        #banner-detail-page.search-page {
            height: auto;
        }
}

.logo > a > img {
    height: 25px;
}

.brand-name {
    height: 25px;
}

    .brand-name h1 {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }

    .brand-name b {
        font-size: 1.25rem;
        line-height: 100%;
    }

.category-product h1 {
    font-size: 40px;
    line-height: 60px;
}

.category-product h2 {
    font-size: 1.875rem;
}

.category-product .heading {
    padding-top: 0;
}

#product-detail-main-desktop h1 {
    font-size: 1.5rem;
    line-height: 2rem;
}

#product-detail-main-desktop h2 {
    font-size: inherit;
    font-weight: normal;
}

.contact-info {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: bold;
}

#other-news h2 {
    font-size: inherit;
}

#other-news h3 {
    font-size: 1.5rem;
}

#footer-banner-container {
    transform: rotateY(180deg);
}

    #footer-banner-container .container {
        transform: rotateY(180deg);
    }

#banner-detail-page .title-background {
    width: 60%;
}

#banner-detail-page .text-transparent {
    height: 3.75rem;
    display: block;
}

#banner-tra-gop-page .title-background {
    width: 60%;
}

#banner-tra-gop-page .text-transparent {
    height: 3.75rem;
    display: block;
}

#product-detail-main-desktop .title-background {
    width: 60%;
}

#product-detail-main-desktop .text-transparent {
    height: 3.75rem;
    display: block;
}

.show-product {
}

    .show-product table {
        width: 99%;
        margin: 0 auto;
        border-collapse: collapse;
    }

        .show-product table th {
            font-weight: normal;
        }

        .show-product table tr td, .show-product table tr:first-child th {
            padding: 5px;
            border: 1px solid #dedede;
        }

        .show-product table tr td, .show-product table tr:first-child th {
            padding: 5px;
            border: 1px solid #dedede;
            text-align: center;
        }

        .show-product table tr:last-child td {
            font-weight: 700;
            color: red;
        }

#scroll-on-top {
    opacity: 0; /* Đặt opacity ban đầu */
    visibility: hidden; /* Ẩn nút ban đầu */
    transition: opacity 0.3s ease, visibility 0.3s ease; /* Hiệu ứng mượt khi ẩn/hiện */
    cursor: pointer;
}

    #scroll-on-top img {
        width: 40px;
        /*height: 30px;*/
    }

    #scroll-on-top.show {
        opacity: 1; /* Hiện nút khi thêm lớp 'show' */
        visibility: visible; /* Đảm bảo nút có thể thấy được */
    }

.thumbnail_container h3 {
    min-height: 72px;
}

.leading-9 {
    min-height: 72px;
}

.product-photo-gallery {
    height: 550px;
    width: 100%;
}

    .product-photo-gallery .swiper-slide .slide-item {
        width: 100%;
        display: flex;
        flex-direction: column-reverse;
        height: 100%;
        justify-content: flex-end;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        --tw-text-opacity: 1;
        color: rgb(255 255 255 / var(--tw-text-opacity));
        flex-direction: column;
        justify-content: center;
    }

        .product-photo-gallery .swiper-slide .slide-item .subtitle {
            font-size: 1.25rem;
            line-height: 1.75rem;
            font-weight: 400;
            font-size: 2.25rem;
            line-height: 2.5rem;
        }

.product-photo-gallery-thumbs {
    height: 100%;
    width: 100%;
}

    .product-photo-gallery-thumbs .swiper-slide {
        opacity: 0.3;
    }

    .product-photo-gallery-thumbs .swiper-slide-thumb-active {
        opacity: 1;
    }
