/* Breadcrumb */
.breadcrumb {
    min-height: 300px;
    position: relative;
    /* border-radius: 0px 0px 20px 20px; */
    /* margin-top: -20px; */
    display: flex;
    align-items: end;
    text-align: center;
    overflow: hidden;
}

.breadcrumb::before {
    content: '';
    background-color: rgba(0, 0, 0, .5);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.breadcrumb h1 {
    font-size: 40px;
    color: #FFF;
    margin-bottom: 8px;
}

.breadcrumb ul {
    display: block;
    white-space: normal;
    position: relative;
    z-index: 2;
    padding-bottom: 15px;
}

.breadcrumb ul li {
    display: inline;
    color: rgba(255, 255, 255, .7);
}

.breadcrumb ul li a {
    color: rgba(255, 255, 255, .7);
}

.breadcrumb ul li a:hover {
    color: rgba(255, 255, 255, 1);
}

.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;
    color: #FFF;
}

/* End breadcrumb  */



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

.cs-row img {
    border-radius: 10px;
}

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

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

.noi-dung h2 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--color-3);
}

.noi-dung h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--color-3);
}

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

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

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

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

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

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

.image-caption {
    margin-bottom: 10px;
}

/* end  */

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

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

.btn-disabled {
    opacity: .3;
    cursor: not-allowed;
}

.pagination .page-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--color-3);
    background: #FFF;
    color: var(--color-3);
    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;
}

.noi-dung ul li {
    list-style: disc;
}

.btn-web {
    min-width: 168px;
    height: 51px;
    color: #fff;
    background: #1e1e1e;
    border: 1px solid #1e1e1e;
    border-radius: 1px;
    outline: none;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    transition: all .4s;
}

.btn-web:before {
    background: #fff;
    border-radius: 50%;
    content: "";
    left: 50%;
    opacity: 0;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    transform-origin: center center;
    transition: all .8s;
    width: 0;
}

.btn-web:hover:before {
    opacity: 1;
    padding-top: 120%;
    width: 120%;
}

.btn-web:hover {
    color: #000;
}

.btn-web span,
.btn-web svg {
    position: relative;
    z-index: 1;
}

.btn-web.option-2 {
    border: 1px solid #252a57;
    color: #000;
    background: transparent;
}

.btn-web.option-2:before {
    background: #252a57;
}

.btn-web.option-2:hover {
    color: #FFF;
}

.btn-web.option-1 {
    border: 1px solid #f5f5f5;
    color: #fafafa;
    background: transparent;
}

.btn-web.option-1:before {
    background: #ffffff;
}

.btn-web.option-1:hover {
    color: #000;
}

.service-card .card-img {
    padding-bottom: 100%;
}

.service-card .card-name {
    font-size: 18px;
    margin: 5px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    height: 47px;
}

.service-card .price-wrap {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 12px;
}

.service-card .price-wrap .price {
    font-size: 16px;
    font-weight: 500;
    color: #F00;
}

.service-card .price-wrap .price-old {
    color: #999;
}

.service-card {
    position: relative;
    background: #FFF;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 3px 12px;
    padding: 15px;
    border-radius: 8px;
    text-align: left;
}

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

.service-card .button-gr {
    margin-top: 10px;
}

.service-card .button-gr .add-to-cart {
    background-color: #252a57;
    color: #FFF;
    font-size: 14px;
    padding: 6px 16px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.service-card .button-gr .add-to-cart:hover {
    background-color: #000;
}

.service-card .button-gr .buy-now {
    background-color: transparent;
    color: #252a57;
    font-size: 14px;
    padding: 6px 16px;
    border-radius: 5px;
    border: 1px solid #252a57;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.service-card .button-gr .buy-now:hover {
    background-color: #252a57;
    color: #FFF;
}

.service-card .compare {
    position: absolute;
    text-decoration: underline;
    top: 15px;
    left: 15px;
    font-size: 16px;
}

.service-card .hethang {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    text-align: center;
    font-size: 20px;
    padding: 12px 40px;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(2px);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    letter-spacing: 0.5px;
    pointer-events: none;
}

.news-card {
    border-radius: 12px;
    overflow: hidden;
    background-color: #FFF;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 2px 9px;
}

.news-img {
    padding-bottom: 64%;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0, 0.2, 1);
}

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

.news-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: white;
    padding: 10px 12px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 2;
    min-width: 60px;
}

.news-date .day {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
}

.news-date .month {
    display: block;
    font-size: 13px;
    color: #252a57;
    text-transform: uppercase;
    margin-top: 4px;
}

.news-content {
    padding: 15px;
}

.news-meta {
    margin-bottom: 12px;
}

.news-cat {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #252a57;
    background: #eef0fa;
    padding: 4px 12px;
    border-radius: 4px;
}

.news-name {
    font-size: 20px;
    margin-bottom: 10px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 53px;
}

.news-text {
    color: #777;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 51px;
}

.news-readmore {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
}

.news-readmore svg {
    transition: transform 0.3s;
}

.news-readmore:hover svg {
    transform: translateX(5px);
}

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

    .noi-dung table td img {
        margin-bottom: 10px;
    }

    .breadcrumb {
        min-height: 220px;
    }

    .breadcrumb h1 {
        font-size: 26px;
    }

    .breadcrumb ul li a {
        font-size: 14px;
    }

    .breadcrumb ul li {
        font-size: 14px;
    }
}


/* ========== Home Collection Section =========== */
.home-collection-section {
    padding: 60px 0;
    background-color: #fff;
    overflow: hidden;
    position: relative;
}

.home-collection-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .4);
}

.home-collection-section .slick-arrow:hover svg path {
    fill: #fff;
}

.collection-header {
    text-align: center;
    margin-bottom: 35px;
    color: #FFF;
}

.collection-title {
    font-size: clamp(24px, 4vw, 44px);
    font-weight: 600;
    margin-bottom: 22px;
    display: inline-block;
    position: relative;
    padding-bottom: 24px;
}


.collection-divider {
    display: none;
}

.collection-desc {
    max-width: 650px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.6;
}

.collection-inner .slick-slide {
    margin: 0 7px;
}

.collection-inner .slick-list {
    margin: 0 -7px;
}

.collection-inner:not(.slick-initialized) {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.collection-box {
    position: relative;
    overflow: hidden;
    flex: 0 0 25%;
    max-width: 25%;
}

.collection-inner.slick-initialized .collection-box {
    flex: none;
    max-width: none;
}

.collection-img {
    padding-bottom: 142%;
}

.collection-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.collection-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
    opacity: 0.4;
    transition: all 0.5s ease;
    z-index: 2;
}

.collection-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 3;
    color: #fff;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}


.collection-box:hover .collection-overlay {
    opacity: 0.7;
    background: linear-gradient(180deg, rgba(200, 169, 110, 0.2) 0%, rgba(0, 0, 0, 0.9) 100%);
}

.collection-box:hover .collection-content {
    opacity: 1;
    transform: translateY(0);
}

.collection-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.collection-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
    line-height: 1.5;
}

.collection-btn {
    display: inline-block;
    padding: 10px 25px;
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .home-collection-section {
        padding: 40px 0;
    }

    .collection-header {
        margin-bottom: 35px;
    }
}

@media (max-width: 575px) {
    .collection-content {
        padding: 12px;
    }

    .collection-name {
        font-size: 14px;
    }
}


/* ========== Home Features Section =========== */
.home-features-section {
    overflow: visible !important;
    position: relative;
    padding: 50px 0 50px;
}

.home-features-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(37 42 87 / 50%);
}

.features-header {
    text-align: center;
}

.features-title {
    font-size: clamp(24px, 4vw, 44px);
    font-weight: 600;
    color: #ffffff;
    display: inline-block;
    position: relative;
    padding: 0 0 24px;
}


.features-divider {
    display: none;
}

.features-grid {
    overflow: visible;
    /* Quan trọng: cho phép shadow/transform hiển thị */
    padding: 20px 25px 0px;
    /* Tránh bị cắt khi hover translateY */
}

.features-grid {
    margin: 0 44px;
    /* Tăng từ 22px lên 44px — bằng đúng kích thước nút */
}

/* Wrapper bên ngoài cần overflow visible */
.home-features-section .ctnr {
    overflow: visible !important;
}

.features-grid.slick-initialized .slick-slide {
    display: flex;
    flex-direction: column;
    gap: 20px
}

.features-grid .feature-box {
    margin-bottom: 30px;
}

.features-grid.slick-initialized .slick-slide .feature-box {
    margin-bottom: 24px !important;
}

.features-grid.slick-initialized .slick-slide .feature-box:last-child {
    margin-bottom: 0 !important;
}

.features-grid.slick-initialized .feature-box {
    margin: 0;
    height: auto;
}

.features-grid.slick-initialized .slick-slide {
    padding: 10px 12px;
}

/* Slick arrows for features grid moved to global */

.feature-box {
    background: #0000004f;
    padding: 40px 25px;
    text-align: center;
    border-radius: 15px;
    /* box-shadow: 0 15px 40px rgba(0, 0, 0, 0.03); */
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid #252a57;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, rgba(200, 169, 110, 0.05) 0%, rgba(200, 169, 110, 0) 100%);
    transition: all 0.5s ease;
    z-index: -1;
}

.feature-box:hover::before {
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-10px);
    border-color: rgba(200, 169, 110, 0.3);
    box-shadow: 0 25px 50px rgba(200, 169, 110, 0.12);
}

.feature-img {
    padding: 22px;
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    overflow: hidden;
    border-radius: 50%;
    background: #252a57;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f1e6d0;
    transition: all 0.5s ease;
}

.feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1); */
}

.feature-img:hover img {
    transform: rotate(360deg);
}

.feature-box:hover .feature-img {
    border-color: #FFFFFF;
    box-shadow: 0 10px 20px rgba(200, 169, 110, 0.15);
}

.feature-name {
    font-size: 26px;
    font-weight: 700;
    color: #FFF;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 1em;
}

.feature-desc {
    font-size: 18px;
    line-height: 1.7;
    color: #FFF;
    margin: 0;
    transition: all 0.3s ease;
}


#featuresSlider .slick-dots {
    margin-top: 12px;
}

/* Responsive */
@media (max-width: 1200px) {
    .features-grid {
        gap: 20px;
        margin: 0;
        padding: 20px 0 0;
    }
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .home-features-section {
        padding: 40px 0;
    }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-box {
        padding: 35px 20px;
    }

    .feature-img {
        width: 90px;
        height: 90px;
        margin-bottom: 25px;
    }

    .features-grid.slick-initialized .slick-slide {
        padding: 10px 0;
        margin: 0 6px;
    }

    .features-grid.slick-initialized .slick-list {
        padding: 0;
        margin: 0 -6px;
    }
}