/* 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: 19px;

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

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

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

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

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

.noi-dung img {
    /* border-radius: 12px; */
    display: block;
}

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

.noi-dung blockquote {
    border-left: 5px solid var(--color-3);
    padding: 8px 15px;
    background: #e5e5e5;
    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;

    &:last-child {
        margin-bottom: 0;
    }
}

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

.noi-dung ol li {
    list-style: decimal;

}

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

    @media (max-width: 992px) {
        padding: 0 5px;
    }
}

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

/* 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: 43px;
    height: 43px;
    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;

    display: -webkit-box;
    -webkit-box-orient: vertical;

    @media (min-width: 992px) {
        text-align: justify;
    }
}

.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;
    }
}


.banner-wrapper {
    position: relative;
    width: 100%;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;

    .banner-breadcrumb {
        display: none;
    }

    @media (max-width: 992px) {
        min-height: 250px;
    }
}

.banner-bg {
    position: absolute;
    inset: 0;
    filter: brightness(0.55);
    transform: scale(1.03);
    transition: transform 8s ease;
}

.banner-bg img {
    width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.banner-wrapper:hover .banner-bg {
    transform: scale(1.08);
}

/* Overlay gradient */
.banner-overlay {
    position: absolute;
    inset: 0;
    /* background: linear-gradient(to bottom,
            rgba(10, 40, 80, 0.3) 0%,
            rgba(5, 20, 50, 0.55) 100%); */
}

#category73 {
    min-height: 100vh;

    @media (max-width: 992px) {
        min-height: 250px;
    }

    .banner-overlay {
        background: linear-gradient(to bottom, #1a3f22b8, rgb(0 0 0 / 0%));
        height: 69%;
    }

    .banner-wrapper {}
}

/* Content */
.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    animation: fadeInUp 0.8s ease both;
}

.banner-title {
    font-size: clamp(1.4rem, 5vw, 3rem);
    font-weight: 600;
    text-transform: uppercase;
    text-shadow: 0 3px 20px rgba(0, 0, 0, 0.5);
    margin-top: 120px;
    color: #fff;
    font-family: "EB Garamond", sans-serif;
}

/* Decorative lines */
.banner-deco {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
    opacity: 0.8;
}

.banner-deco::before,
.banner-deco::after {
    content: '';
    display: block;
    width: 60px;
    height: 1.5px;
    background: rgba(255, 255, 255, 0.7);
}

.banner-deco span {
    font-size: 1.1rem;
    color: #f0c040;
    letter-spacing: 0.05em;
    font-weight: 400;
    font-style: italic;
}

/* Breadcrumb */
.banner-breadcrumb {
    position: absolute;
    bottom: 20px;
    /* left: 50%; */
    /* transform: translateX(-50%); */
    z-index: 2;
    /* display: flex; */
    /* align-items: center; */
    gap: 8px;
    /* font-size: 0.85rem; */
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.05em;

    @media (max-width: 992px) {
        display: none;
    }
}

.banner-breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.banner-breadcrumb a:hover {
    color: #f0c040;
}

.banner-breadcrumb .sep {
    opacity: 0.5;
}

.banner-breadcrumb .current {
    color: #fff;
    font-weight: 600;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}