﻿h3.p-title-product-win {
    margin: 0;
    font-size: 33px;
    color: #1757b1;
    font-family: 'MonB';
    text-transform: uppercase;
    font-weight: normal;
    line-height: 115%;
    text-align: center;
}

a.p-btn-more-win span {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: 14px;
    font-family: 'MonR';
    text-transform: uppercase;
    padding: 11px 16px;
    width: max-content;
    background: #f3f3f3;
    border: 1px solid #fff;
    border-radius: 50px;
    overflow: hidden;
    color: #1757b1;
    border-color: #1757b1;
    transition: all .3s;
}

.decor-linee img {
    text-align: center;
    margin: auto;
    pointer-events: none;
}

.decor-linee {
    margin-top: 6px;
}

.decor-linee {
    position: relative;
    width: max-content;
    margin: auto;
    margin-top: 20px;
}

    .decor-linee:before {
        content: "";
        position: absolute;
        background: url(/Design/img/HungThinh/decor2.png);
        width: 21px;
        height: 19px;
        background-size: cover;
        background-repeat: no-repeat;
        left: 0;
        right: 0;
        margin: auto;
        top: -14px;
    }

a.p-btn-more-win span img {
    margin-left: 8px;
    position: relative;
    top: -1px;
}

a.p-btn-more-win span {
    position: relative;
}

a.p-btn-more-win.win-decor-btn {
    margin-right: 12px;
}

a.p-btn-more-win span:before {
    content: "";
    position: absolute;
    height: 0%;
    left: 50%;
    top: 50%;
    width: 600%;
    background: var(--default-color-1);
    -webkit-transform: translateX(-50%) translateY(-50%) rotate(60deg);
    -ms-transform: translateX(-50%) translateY(-50%) rotate(60deg);
    transform: translateX(-50%) translateY(-50%) rotate(60deg);
    z-index: -1;
    -webkit-transition: 0.7s ease;
    transition: 0.7s ease;
}

a.p-btn-more-win span:hover:before {
    height: 560%;
}

a.p-btn-more-win span:hover {
    color: #fff !important;
    border-color: #fff !important;
}

    a.p-btn-more-win span:hover img {
        filter: invert(96%) sepia(62%) saturate(10%) hue-rotate(278deg) brightness(103%) contrast(100%);
    }

a.p-btn-more-win.win-decor-btn span {
    color: #7d7d7d;
    border-color: #7d7d7d;
}

a.p-btn-more-win span:hover {
    background: transparent;
}

.home-product-win-container {
    padding: 28px 0;
}

ul.home-product-list-win.rs {
    display: grid;
    grid-auto-rows: minmax(min-content, max-content);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 18px;
    row-gap: 20px;
}

.p-product-img-win img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 13px;
}

.p-product-img-win:before {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    content: "";
    background: #ffffff1a;
    opacity: 0;
    z-index: 1;
    transition: all .5s ease-out 0s;
}

.p-product-img-win:after {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    content: "";
    background: #ffffff1a;
    opacity: 0;
    z-index: 1;
    transition: all .5s ease-out 0s;
}

a.p-product-item-win:hover .p-product-img-win:before {
    opacity: 1;
    top: 50%;
    bottom: 50%;
}

a.p-product-item-win:hover .p-product-img-win:after {
    opacity: 1;
    left: 50%;
    right: 50%;
}

a.p-product-item-win:hover .p-product-title-win {
    color: #1757b1;
}

.p-product-img-win {
    height: 250px;
    border-radius: 13px;
    position: relative;
}

a.p-product-item-win {
    padding: 10px;
    border: 1px solid #d5d5d5;
    border-radius: 20px;
    background: #fff;
}

.star-icon-pro-win {
    color: #f6bf42;
    font-size: 13px;
    margin-bottom: 13px;
    margin-top: 3px;
}

.p-product-price-win span {
    color: #da0000;
    font-size: 14px;
    font-family: 'Monm';
    display: block;
    font-weight: normal;
}

.p-product-title-win {
    font-size: 16px;
    color: #313131;
    font-family: 'monSB';
    font-weight: normal;
    line-height: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}

.p-product-content-win {
    margin-top: 20px;
    padding-bottom: 4px;
}

.content-top-pro-win {
    text-align: center;
}

.home-product-wrap-win {
    margin-top: 26px;
}

.banners-side-home a, .banners-side-home a img {
    display: block;
    width: 100%;
    height: 100%;
}

    .banners-side-home a img {
        object-fit: cover;
    }

.home-product-win {
    background: #f3f3f3;
    padding-top: 31px;
    padding-bottom: 31px;
}

.b-top-product-h-win {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
}

.t-c-product-h-win {
    padding-bottom: 5px;
}

.home-product-win-bb {
    background: #e8e8e8;
    padding-bottom: 31px;
    padding-top: 31px;
}

@media(max-width:1023px) {
    h3.p-title-product-win {
        font-size: 24px;
    }

    ul.home-product-list-win.rs {
        display: grid;
        grid-auto-rows: minmax(min-content, max-content);
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 10px;
        row-gap: 10px;
    }
}

@media(min-width:740px) and (max-width:1023px) {
}

@media(max-width: 739px) {
    h3.p-title-product-win {
        font-size: 21px;
    }

    a.p-btn-more-win span img {
        margin-left: 8px;
        position: relative;
        top: 0px;
    }

    .b-top-product-h-win {
        flex-flow: wrap;
    }

    a.p-btn-more-win {
        margin-bottom: 10px;
    }

        a.p-btn-more-win span {
            font-size: 13px;
            padding: 10px 12px;
        }

        a.p-btn-more-win.win-decor-btn {
            margin-right: 7px;
        }

    ul.home-product-list-win.rs {
        display: grid;
        grid-auto-rows: minmax(min-content, max-content);
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 10px;
        row-gap: 10px;
    }

    a.p-product-item-win {
        padding: 6px;
    }

    .p-product-img-win {
        height: 185px;
    }

    .p-product-title-win {
        font-size: 14px;
    }

    .star-icon-pro-win {
        font-size: 11px;
    }

    .p-product-price-win span {
        font-size: 13px;
    }

    .home-product-win-bb {
        padding: 15px 0;
    }

    .home-product-win {
        padding: 15px 0;
    }
}