/* Breadcrumb */
.breadcrumb {
    padding: 10px 0;
    background-color: #f5f5f5;
}

.breadcrumb ul {
    display: block;
    white-space: normal;
}

.breadcrumb ul li {
    display: inline;
}

.breadcrumb ul li:not(:last-child) {
    position: relative;
    padding-right: 15px;
}

.breadcrumb ul li:not(:last-child)::before {
    content: '/';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 6px;
}

.breadcrumb ul li:last-child {
    color: var(--color-3);
}

/* End breadcrumb  */



/* Content cho editor  */
.noi-dung {
    font-size: 15px;
}

.noi-dung p {
    margin-bottom: 10px;
    text-align: justify;
    line-height: 1.5;
}

.noi-dung h2 {
    font-size: 20px;
    margin-bottom: 15px;
}

.noi-dung h3 {
    font-size: 17px;
    margin-bottom: 15px;
}

.noi-dung hr {
    margin: 15px 0;
}

.noi-dung table td img {
    border-radius: 20px;
}

.noi-dung table td {
    width: 50%;
}

.noi-dung blockquote {
    border-left: 5px solid var(--color-3);
    padding: 8px 15px;
    /* background: #FFF; */
    border-radius: 10px;
    margin-bottom: 15px;
}

.noi-dung blockquote h3,
.noi-dung blockquote h2,
.noi-dung blockquote p {
    margin-bottom: 0;
}

.noi-dung ul,
.noi-dung ol {
    margin-left: 30px;
    margin-bottom: 10px;
}

.noi-dung ul li,
.noi-dung ol li {
    margin-bottom: 5px;
}

.noi-dung table tr td {
    padding: 10px;
}

.noi-dung table {
    margin: 0 -10px;
}

/* end  */

/* pagination  */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    margin-top: 30px;
    gap: 6px;
}

.pagination .page-item {
    display: inline-block;
}

.pagination .page-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    /* border: 1px solid #FFF; */
    background: #000;
    color: #FFF;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease-in-out;
}

.pagination .page-link:hover {
    background: var(--color-3);
    color: #000;
    border-color: var(--color-3);
}

.pagination .page-item.active .page-link {
    background: var(--color-3);
    color: var(--color-1);
    border-color: var(--color-3);
    pointer-events: none;
}

.pagination .page-item.disabled .page-link {
    /* background: #f5f5f5;
    color: #aaa;
    border-color: #ddd; */
    pointer-events: none;
}

.highlight-item {
    border: 1px solid var(--color-3);
    position: relative;
    border-radius: 30px;
    margin-bottom: 20px;
    background: white;
    z-index: 1;
    .type {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: 10px;
        font-size: 14px;
    }

    .bage {
        position: absolute;
        top: 15px;
        left: 15px;
        background: var(--color-3);
        color: var(--color-1);
        padding: 5px 10px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 600;
        text-transform: uppercase;
        z-index: 2;

        &.sold-out {
            background: #888;
            color: white;
        }

        &.is-new {
            background: var(--color-4);
        }

        &.on-sale {
            background: var(--color-5);
            color: white;
        }
    }
    &::before {
        content: "";
        position: absolute;
        display: block;
        width: 85px;
        height: 38px;
        mask-image: url(../images/vien.png);
        mask-repeat: no-repeat;
        mask-position: bottom;
        mask-size: 100%;
        background-color: white;
        bottom: -18px;
        z-index: -2;
        left: 50%;
        transform: translateX(-50%);
    }
    &::after {
        content: "";
        position: absolute;
        display: block;
        width: 85px;
        height: 38px;
        mask-image: url(../images/line-item.png);
        mask-repeat: no-repeat;
        mask-position: bottom;
        mask-size: 100%;
        background-color: var(--color-3);
        bottom: -35px;
        left: 50%;
        z-index: -1;
        transform: translateX(-50%);
    }
}

.highlight-item__img {
    position: relative;
    overflow: hidden;
    z-index: 1;
    border-radius: 30px 30px 0 0;
    display: block;
    border-bottom: 1px solid var(--color-3);

    &:hover {
        img {
            opacity: 0;

            &.hover-img {
                opacity: 1;
            }
        }
    }

    img {

        object-fit: cover;
        z-index: -1;
        aspect-ratio: 1/1;
        transition: all 0.3s ease-in-out;

        &.hover-img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            z-index: 1;
            transition: all 0.3s ease-in-out;
        }
    }

}

.highlight-item__content {
    padding: 20px;
    text-align: center;

    @media (max-width: 768px) {
        padding: 10px;
    }
}

.highlight-item__title {
    margin-bottom: 10px;
    font-size: 20px;

    @media (max-width: 768px) {
        font-size: 16px;
    }
}

.highlight-item__price {
    color: var(--color-3);
    display: flex;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
    font-weight: 700;
    position: relative;
    margin-bottom: 20px;
    font-size: 17px;

    &::before {
        content: '';
        background-color: currentColor;
        width: 60px;
        height: 1px;
        position: absolute;
        bottom: -11px;
        left: 50%;
        transform: translateX(-50%);
    }


}
.highlight-item__link{
    margin-top: 10px;
    color: var(--color-3);
    display: block;
}
.highlight-item__addcart {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    background: transparent;
    color: var(--color-1);
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
    margin: 15px auto 0;
    gap: 5px;
    font-size: 16px;
    position: absolute;
    left: 50%;
    width: 85px;
    height: 24px;
    bottom: 0;
    transform: translate(-50%, 50%);
    

    @media (max-width: 992px) {
        font-size: 14px;
        padding: 5px 14px;
        width: fit-content;
    }

    svg {
        width: 20px;
        height: 20px;
        transition: all 0.3s ease-in-out;
        stroke: currentColor;
    }

    &:hover {
        color: var(--color-3);
        svg{
            transform: scale(1.09);
        }
    }
}

.news-item {
    position: relative;
    padding-left: 0;
}

.news-item:hover .news-item__img-child img {
    transform: scale(1.2)
}

.news-item__img {
    position: relative
}

.news-item__img-child {
    position: relative;
    overflow: hidden;
    border-radius: 6px 6px 0 0
}

.news-item__img-child:before {
    content: "";
    padding-top: 65%;
    display: block
}

.news-item__img-child img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 3s ease 0
}

.news-item__area {
    width: 56px;
    height: 56px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 12px
}

.news-item__area span {
    font-weight: 700;
    position: relative;
    padding-top: 3px
}

.news-item__area span:before {
    content: "";
    width: 30px;
    height: 1px;
    background: currentColor;
    top: 1px;
    left: 50%;
    transform: translate(-50%);
    position: absolute
}

.news-item__cate {
    position: absolute;
    left: -30px;
    top: 0;
    writing-mode: vertical-lr;
    text-align: center;
    background: #fff;
    width: 30px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    box-shadow: 0 .15rem .35rem #00000013;
    color: #2860aa;
    text-transform: uppercase
}

.news-item__cate span {
    transform: rotate(180deg);
    display: inline-block
}

.news-item__ttl {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px
}

.news-item__ct {
    background: #fff;
    padding: 10px;
    box-shadow: 0 0 3px #0000001f;
    border-radius: 0 0 6px 6px
}

.news-item__desc {
    overflow: hidden;
    -webkit-line-clamp: 3;
    color: #595959;
    font-size: 15px;
    line-height: 1.4;
    text-align: justify;
    margin-bottom: 10px;
    min-height: 63px;
    height: 63px
}

.news-item__ttl a {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    font-size: 17px;
    -webkit-box-orient: vertical
}
.news-item__redmore{
    color: var(--color-3);
}
.news-item__redmore:hover{
    color: #333;
    .icon{
        transform: translate(5px, 5px);
    }
}
.news-item__redmore .icon {
    display: inline-block;
    transform: translateY(5px);
    transition: all .3s ease-in-out;
}

.news-item__redmore .icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor
}

.news-item__redmore .icon svg path,
.news-item__redmore .icon svg line {
    stroke: currentColor
}

.hover-effect_1 {
    position: relative;
    overflow: hidden;
    display: flex;
    margin-bottom: 10px
}

.hover-effect_1::after {
    position: absolute;
    width: 200%;
    height: 0;
    left: 50%;
    top: 50%;
    background-color: hsla(0, 0%, 100%, .3);
    transform: translate(-50%, -50%) rotate(-45deg);
    content: "";
    z-index: 1
}
.noi-dung ul li {
    list-style: disc;
}
.hover-effect_1:hover::after {
    height: 250%;
    transition: all .6s linear;
    background-color: transparent
}

@media (max-width: 1100px) {
    .noi-dung table tr td {
        width: 50%;
    }

    .noi-dung img {
        max-width: 100%;
    }
}

@media (max-width: 992px) {
    .noi-dung table tr td {
        width: 100% !important;
        display: block;
    }
}

@media (max-width: 768px) {
    .pagination .page-link {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }

    .noi-dung h2 {
        font-size: 18px;
    }

    .noi-dung h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }
}