﻿#lastpage {
    padding-top: 30px;
}

#gridImage, #gridImageTimKiem {
    display: flex;
}

.borderimg {
    border: 2px solid;
    border-image-slice: 20;
    border-image-width: 5;
    border-image-outset: 0.5;
    border-image-repeat: round;
}

.imgwrap {
    text-align: center;
    margin-bottom: 30px;
}

    .imgwrap .danhgiasanpham {
        text-align: right;
        display: flex;
        align-items: center;
        justify-content: end;
    }

        .imgwrap .danhgiasanpham span {
            font-size: 12px;
        }

        .imgwrap .danhgiasanpham button {
            font-size: 20px;
            background-color: transparent;
            border: 0px;
            color: var(--gray);
            padding: 3px;
        }

            .imgwrap .danhgiasanpham button:hover {
                color: var(--orange);
            }

    .imgwrap > a {
        display: inline-block;
        position: relative;
        /*padding: 5px;*/
        width: calc(100% - 10px);
    }

        .imgwrap > a > img {
            width: calc(100% - 4px);
            height: auto;
            border-radius: 10px;
            object-fit: contain;
        }

    .imgwrap:hover .giabanbottom {
        visibility: visible;
        opacity: 0.9;
    }

    .imgwrap .giatrenhinh {
        background-color: var(--orange);
        border-radius: 25px;
        padding: 15px;
        opacity: 1 !important;
    }

.giabanbottom {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    visibility: hidden;
    opacity: 0;
    transition: opacity .2s, visibility .2s;
    background: rgb(0 0 0 / 0.61);
    color: #fff;
    border-radius: 10px;
}

    .giabanbottom > div {
        position: absolute;
        top: 40%;
        left: 50%;
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        text-align: center;
    }

.giaban {
    text-decoration: line-through;
    margin-right: 10px;
    color: var(--gray);
}

.giagiam {
    font-size: 23px;
    text-shadow: -1px -1px 0 var(--gray);
    white-space: nowrap;
}

/*.tenbang {
    font-size: 25px;
    padding-top: 50px;
}*/

.giagiam2 {
    font-size: 18px;
    color: #f6821f;
    text-shadow: -1px -1px 0 #f1f1f1;
}

.tensanpham2 {
    font-size: 13px;
    padding-left: 10px;
    text-align: left;
}

    .tensanpham2:hover {
        color: var(--orange);
    }

.tensanpham {
    display: block;
    font-size: 13px;
    text-align: left;
    padding-left: 5px;
}

    .tensanpham > div:nth-child(2) {
        text-align: right;
        padding-right: 5px;
    }

#btnLoadMore, #btnLoadMoreTimKiem {
    background-color: #f6821f;
}

#lastpage {
    text-align: center;
}

@media (max-width: 961px) {
    .imgwrap > a.tensanpham2 {
        display: none;
    }

    .giatrenhinh {
        display: none;
    }
}

@media (min-width: 961px) {
    .tensanpham {
        display: none;
    }
}

#stickies > div:hover{
    cursor: pointer;
}
