.pagination-wrap {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.pagination-wrap .pagination {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
}

.pagination-wrap .page-item .page-link {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    color: #000;
    text-decoration: none;
    transition: all 0.2s;
    background: #fff;
}

.pagination-wrap .page-item.active .page-link {
    background: #000;
    color: #fff;
    border-color: #000;
}

.pagination-wrap .page-item.disabled .page-link {
    color: #ccc;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .pagination-wrap .page-item .page-link {
        padding: 5px 10px;
        border-radius: 4px;
        font-size: 14px;
    }

    .pagination-wrap .pagination {
        gap: 6px;

    }
}

/* --- Breadcrumb styles --- */
.breadcrumb {
    overflow: hidden;
    padding: 10px 0 25px;
    border-radius: 0;
    background: transparent;
    /* display: flex;
    flex-wrap: wrap; */
}

.breadcrumb li {
    display: inline;
    align-items: center;
    /* color: #333; */
    font-size: 13px;
}

.breadcrumb li a {
    color: #333;
    font-size: 14px;
    text-decoration: none;
}

.breadcrumb li a:hover {
    text-decoration: underline;
}

.breadcrumb li a i {
    font-size: 18px;
}

.breadcrumb>li+li:before {
    padding: 0 8px;
    color: #999;
    content: ">";
}

/* ==========================================================================
   CK-CONTENT Ã¢â‚¬â€ NÃ¡Â»â„¢i dung bÃƒÂ i viÃ¡ÂºÂ¿t / tin tÃ¡Â»Â©c tÃ¡Â»Â« CKEditor
   ÃƒÂp dÃ¡Â»Â¥ng class .ck-content lÃƒÂªn wrapper chÃ¡Â»Â©a HTML tÃ¡Â»Â« CKEditor
   ========================================================================== */

.ck-content {
    font-size: 15px;
    line-height: 1.5;
    /* word-break: break-word; */
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Headings Ã¢â€â‚¬Ã¢â€â‚¬ */
.ck-content h1,
.ck-content h2,
.ck-content h3,
.ck-content h4,
.ck-content h5,
.ck-content h6 {
    font-weight: 700;
    line-height: 1.35;
    margin-top: 12px;
    margin-bottom: 8px;
}

.ck-content h1 {
    font-size: 32px;
}

.ck-content h2 {
    font-size: 22px;
    /* border-bottom: 2px solid #e2e8f0; */
    padding-bottom: 8px;
    color: var(--color-3);
}

.ck-content h3 {
    font-size: 18px;
    color: var(--color-3);
}

.ck-content h4 {
    font-size: 16px;
}

.ck-content h5,
.ck-content h6 {
    font-size: 14px;
    color: #4a5568;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Paragraph Ã¢â€â‚¬Ã¢â€â‚¬ */
.ck-content p {
    margin: 0 0 12px;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Links Ã¢â€â‚¬Ã¢â€â‚¬ */
.ck-content a {
    color: #000;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.ck-content a:hover {
    color: #000;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Strong / Em Ã¢â€â‚¬Ã¢â€â‚¬ */
.ck-content strong {
    font-weight: 700;
    /* color: #1a1a1a; */
}

.ck-content em {
    font-style: italic;
    color: #FFF;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Unordered & Ordered Lists Ã¢â€â‚¬Ã¢â€â‚¬ */
.ck-content ul,
.ck-content ol {
    padding-left: 26px;
    margin: 0 0 15px 10px;
}

.ck-content ul {
    list-style: none;
    padding-left: 0;
}

.ck-content ul li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 7px;
}

.ck-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 5px;
    height: 5px;
    background-color: #000;
    border-radius: 50%;
}

.ck-content ol {
    list-style: decimal;
}

.ck-content ol li {
    margin-bottom: 7px;
    padding-left: 5px;
}

.ck-content li>ul,
.ck-content li>ol {
    margin-top: 6px;
    margin-bottom: 0;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Blockquote Ã¢â€â‚¬Ã¢â€â‚¬ */
.ck-content blockquote {
    margin: 20px 0;
    padding: 0px 0 0px 15px;
    border-left: 4px solid var(--color-3);
    background-color: transparent;
    border-radius: 0 8px 8px 0;
    /* color: #fff; */
    font-style: italic;
    font-size: 16px;
    line-height: 1.6;
}

.ck-content blockquote p {
    margin: 0;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ HÃƒÂ¬nh Ã¡ÂºÂ£nh Ã¢â€â‚¬Ã¢â€â‚¬ */
.ck-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 10px auto;
}

.ck-content figure.image {
    margin: 29px auto;
    text-align: center;
}

.ck-content figure.image figcaption {
    font-size: 13px;
    color: #718096;
    margin-top: 8px;
    font-style: italic;
    text-align: center;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Table Ã¢â€â‚¬Ã¢â€â‚¬ */
.ck-content .table {
    overflow-x: auto;
    margin: 29px 0;
    -webkit-overflow-scrolling: touch;
}

.ck-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14.5px;

}

.ck-content table th,
.ck-content table td {
    border: 1px solid #e2e8f0;
    padding: 10px 14px;
    text-align: left;
    vertical-align: top;
}

.ck-content table th {
    background-color: #000;
    color: #ffffff;
    font-weight: 700;
    font-size: 13.5px;
    letter-spacing: 0.02em;
}

.ck-content table tr:nth-child(even) td {
    background-color: #f8fafc;
}

.ck-content table tr:hover td {
    background-color: #e8f4f6;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Code & Pre Ã¢â€â‚¬Ã¢â€â‚¬ */
.ck-content code {
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 13.5px;
    background-color: #f1f5f9;
    color: #c53030;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
}

.ck-content pre {
    background-color: #1e293b;
    color: #e2e8f0;
    padding: 18px 20px;
    border-radius: 10px;
    overflow-x: auto;
    font-size: 13.5px;
    line-height: 1.7;
    margin: 26px 0;
}

.ck-content pre code {
    background: none;
    color: inherit;
    border: none;
    padding: 0;
    font-size: inherit;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Horizontal Rule Ã¢â€â‚¬Ã¢â€â‚¬ */
.ck-content hr {
    border: none;
    border-top: 2px solid #e2e8f0;
    margin: 32px 0;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Media (video embed, iframe) Ã¢â€â‚¬Ã¢â€â‚¬ */
.ck-content .media,
.ck-content .raw-html-embed {
    margin: 29px 0;
}

.ck-content iframe {
    max-width: 100%;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Responsive Mobile Ã¢â€â‚¬Ã¢â€â‚¬ */
@media (max-width: 768px) {
    .ck-content {
        font-size: 15px;
        line-height: 1.8;
    }

    .ck-content h1 {
        font-size: 25px;
    }

    .ck-content h2 {
        font-size: 20px;
    }

    .ck-content h3 {
        font-size: 16px;
    }

    .ck-content blockquote {
        padding: 12px 16px 12px 18px;
        font-size: 15px;
    }

    .ck-content table th,
    .ck-content table td {
        padding: 8px 10px;
        font-size: 13px;
    }

    .ck-content pre {
        font-size: 12.5px;
        padding: 14px 16px;
    }
}


/* --- Reusable Global Section Title --- */
.section-title-center {
    text-align: center;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 100%;
}

.section-title-center .title-gold {
    font-size: clamp(22px, 2vw, 28px);
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 45px;
    /* letter-spacing: 1.5px; */
    /* margin: 0 0 10px 0; */
    /* font-family: 'Montserrat', sans-serif; */
}

/* Left and right thin gold lines */
/* .section-title-center .title-gold::before,
.section-title-center .title-gold::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 1px;
    background: var(--color-5);
}

.section-title-center .title-gold::before {
    left: 0;
}

.section-title-center .title-gold::after {
    right: 0;
} */

/* Bottom decorative line that fades at ends */
/* .section-title-center::after {
    content: '';
    display: block;
    width: 280px;
    height: 1px;
    background: linear-gradient(to right, rgba(212, 167, 84, 0) 0%, rgba(212, 167, 84, 0.7) 15%, rgba(212, 167, 84, 1) 50%, rgba(212, 167, 84, 0.7) 85%, rgba(212, 167, 84, 0) 100%);
    position: relative;
    margin-top: 5px;
} */

/* Bottom decorative center diamond dot */
/* .section-title-center::before {
    content: '';
    position: absolute;
    bottom: -3.5px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 7px;
    height: 7px;
    background: var(--color-5);
    z-index: 2;
    box-shadow: 0 0 6px rgba(212, 167, 84, 0.8);
} */


.news-card {
    position: relative;
    border-radius: 10px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #01295c24;
    margin-bottom: 24px;
}

.news-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.news-link:hover {
    text-decoration: none;
}

.news-image {
    width: 100%;
    height: 220px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    overflow: hidden;
    position: relative;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(17, 17, 17, 0.8);
    border-radius: 5px;
    padding: 8px 12px;
    text-align: center;
    backdrop-filter: blur(5px);
}

.n-day {
    display: block;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 2px;
}

.n-month {
    display: block;
    color: #fff;
    font-size: 11px;
}

.news-info {
    padding: 18px;
}

.news-title {
    font-size: 18px;
    margin: 0 0 10px 0;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 50px;
}

.news-desc {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 67px;
    color: #000;
}

.news-info .pt_view_detail {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--color-5);
    font-weight: 500;
}

.news-info .pt_view_detail svg {
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .section-title-center {
        margin-bottom: 30px;
    }
}


/* pagination  */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    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: #fff;
    color: #000;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease-in-out;
}

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

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

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

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

    .sidebar-wrap {
        order: 1;
    }
}

.sidebar-left {
    position: sticky;
    top: 97px;
}

.item-product {
    background-color: var(--color-2);
    border-radius: 5px;
    border: 1px solid #f4f4f4;
    padding: 10px;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.item-product .discount {
    background: linear-gradient(93.01deg, #ff2310 15.48%, #d31100 92.66%);
    border-radius: 5px 5px 0px 5px;
    padding: 0px 10px;
    color: #fff;
    position: absolute;
    right: 5px;
    top: 5px;
    height: 24px;
    line-height: 24px;
    text-align: center;
}

.item-product .discount::before {
    content: "";
    position: absolute;
    right: 0;
    top: 22px;
    border-left: 10px solid transparent;
    border-bottom: 0px solid transparent;
    border-top: 10px solid #d31100;
}

.item-product .wrap-img {
    position: relative;
    height: 0;
    overflow: hidden;
    display: block;
    padding-bottom: 100%;
}

.item-product .wrap-img img {
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: all 0.5s ease 0s;
}

.item-product .wrap-img .image1 {
    transform: translateY(0);
}

.item-product .wrap-img .image2 {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
}

.item-product:hover .image1 {
    opacity: 0;
    transform: translateY(100%);
}

.item-product:hover .has-one .image1 {
    opacity: 1;
    transform: translateY(0%);
}

.item-product:hover .image2 {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.item-product .name {
    font-size: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    height: 39px;
}

.item-product .des {
    margin-top: 10px;
    display: none;
}

.item-product .des ul {
    margin-left: 18px;
}

.item-product .price-wrap {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3px 8px;
}

.item-product .price-new {
    font-size: 15px;
    color: #d60505;
    font-weight: 700;
}

.item-product .price-old {
    color: #8a919b;
    font-size: 12px;
}

.item-product .price-wrap .hot img {
    width: 35px;
}

.item-product .quick-view {
    display: flex;
}

.item-product .quick-view svg {
    width: 24px;
    height: 24px;
}

.item-product .add-cart-ajax {
    background-color: var(--color-5);
    color: var(--color-2);
    padding: 5px 15px;
    border-radius: 5px;
    display: inline-block;
    font-weight: 700;
}

.item-product .view-detail-btn {
    background-color: var(--color-3);
    color: var(--color-2);
    padding: 5px 15px;
    border-radius: 5px;
    display: inline-block;
    font-weight: 700;
}

.item-product .add-cart-ajax:hover {
    background-color: var(--color-3);
}

.item-product .product-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    padding-top: 12px;
    gap: 4px;
    width: 100%;
}

.item-product .product-info {
    background-color: var(--color-2);
    position: relative;
    z-index: 2;
    transition: .3s;
    padding-top: 10px;
}

.item-product:hover .product-info {
    transform: translateY(-45px);
}

.shopping-day {
    position: absolute;
    bottom: 5px;
    right: 5px;
    z-index: 1;
}

.shopping-day img {
    width: 40px;
}

.item-product .product-thumb .brand {
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 1;
}

.item-product .product-thumb .brand img {
    max-width: 60px;
}

.stars {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 5px;
}

.stars ul li {
    list-style: none;
    display: flex;
}

.stars ul {
    display: inline-flex;
}

.stars ul li svg {
    width: 20px;
    height: 20px;
}

.item-product .product-thumb {
    position: relative;
}

.flash-sale .item-product .productcount {
    display: block;
}

.item-product.sale {
    border: 5px solid var(--color-5);
}


.item-product .productcount {
    margin-top: 15px;
    margin-bottom: 5px;
    min-height: 17px;
    display: none;
}

.item-product .productcount .countitem {
    background-color: #ffe8e6;
    border-radius: 10px;
    position: relative;
    height: 17px;
}

.item-product .productcount .fire {
    position: absolute;
    width: 22px;
    height: 22px;
    top: -9px;
    left: 0;
    z-index: 1;
}

.item-product .productcount .countdown {
    position: absolute;
    border-radius: 10px;
    background: linear-gradient(to right, #c8103d, #f4b631);
    z-index: 0;
    left: 0;
    top: 0;
    height: 17px;
}

.item-product .productcount .number {
    font-size: 12px;
    position: absolute;
    top: 0;
    z-index: 3;
    color: var(--color-2);
    line-height: 17px;
    left: 50%;
    min-width: 70px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
    transform: translateX(-50%);
}


.slick-dots li {
    height: 12px;
    width: 12px;
    border: none;
    background-color: #bbb;
}

.slick-dots li button {
    font-size: 24px;
}

.slick-dots li.slick-active {
    background-color: var(--color-3);
}

.slick-dots li button:before {
    display: none;
}

/* áº¨n hĂ¬nh dáº¡ng gá»‘c cá»§a SVG */
.jq-ry-group svg polygon {
    display: none;
}

/* Ăp hĂ¬nh SVG má»›i cho má»—i SVG */
.jq-ry-group svg {
    width: 17px !important;
    height: 17px !important;
    background-size: contain;
    background-repeat: no-repeat;

    /* Thay SVG cá»§a báº¡n á»Ÿ Ä‘Ă¢y */
    -webkit-mask: url('../images/star-yellow.svg') no-repeat center;
    mask: url('../images/star-yellow.svg') no-repeat center;

    background-color: gray;
    /* sao rá»—ng */
}

/* Sao Ä‘Ă£ Ä‘Ă¡nh giĂ¡ */
.jq-ry-rated-group svg {
    background-color: #ffcc00;
    /* mĂ u vĂ ng */
}

/* .jq-ry-container > .jq-ry-group-wrapper > .jq-ry-group.jq-ry-rated-group {
	z-index: 1 !important;
} */


@media (max-width: 768px) {

    .slick-dots li {
        height: 12px;
        width: 12px;
    }

    .item-product .product-button {
        position: unset;
        padding-top: 5px;
    }

    .item-product:hover .product-info {
        transform: translateY(0px);
    }

    .item-product .add-cart-ajax {
        font-size: 12px;
        padding: 5px;
        min-width: 100px;
    }

    .product-category .product-block {
        border-top: none;
    }

    .product-category .title {
        position: relative;
        margin-bottom: 10px;
    }

    .product-category .title::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: var(--color-3);
    }

    .ck-content table {
        display: block;
        overflow-x: auto;
    }
}

@media (max-width: 550px) {





    .product-category .title {
        font-size: 20px;
    }

    .product-category .inner {
        padding: 15px 10px;
        margin-top: 20px;
    }

    .product-category .clm,
    .flash-sale .clm,
    .product-list .clm {
        padding: 0px 4px;
    }

    .product-category .row,
    .flash-sale .row,
    .product-list .row {
        padding: 0px -4px;
    }

    .product-block {
        margin-top: 8px;
    }

    .product-block>.row {
        row-gap: 8px;
    }

    .item-product .des {
        font-size: 13px;
    }

    .product-category .category-child {
        margin-bottom: 10px;
    }

    .product-category .banner-category {
        margin-top: 15px;
    }

    .flash-sale .inner {
        padding: 15px 10px;
        position: relative;
    }

    .flashsale-slider .slick-slide {
        margin: 0 4px;
    }

    .flashsale-slider .slick-list {
        margin: 0 -4px;
    }

    .item-product .price-wrap {
        margin-top: 10px;
    }

    .flash-sale .see-all {
        position: absolute;
        top: 26px;
        right: 12px;
    }

    .flashsale-slider .slick-dots {
        bottom: -5px;
    }

    .flash-sale {
        margin-top: 5px;
    }

    .flash-sale .time-sale span {
        display: none;
    }

    .flash-sale .title-wrap {
        display: block;
        text-align: center;
    }

    .flash-sale .time-sale .time {
        display: flex;
        gap: 5px;
        align-items: center;
        width: unset;
    }

    .flash-sale .time-sale {
        background: var(--color-3);
        justify-content: center;
        border-radius: 5px;
        font-size: 16px;
        gap: 10px 15px;
        margin-top: 10px;
    }

    .flash-sale .time-sale .type {
        font-size: 14px;
        transform: translateY(1px);
    }

    .item-product .view-detail-btn {
        font-size: 12px;
    }

    .btn-show-all {
        display: block;
        grid-column: 1 / -1;
    }

    .flash-sale .title {
        font-size: 16px;
        line-height: 33px;
        margin-left: 0px;
    }

    .item-product .price-new {
        font-size: 14px;
    }

    .item-product .price-old {
        font-size: 10px;
    }
}