.heading {
    margin-bottom: 40px;

    @media (max-width: 576px) {
        margin-bottom: 20px;
    }
}

.heading__subtitle {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;

    @media (max-width: 640px) {
        font-size: 12px;
    }
}

.swal2-container {
    z-index: 99999 !important;
}

.fancybox-slide--iframe .fancybox-content {
    max-width: 1200px !important;
}

.heading__title {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-1);
    text-transform: uppercase;

    @media (max-width: 576px) {
        font-size: 24px;
    }
}

.heading__more {
    display: inline-block;
    padding: 10px 25px;
    background: linear-gradient(198deg, var(--color-3) 0%, var(--color-4) 100%);
    color: #fff;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 14px;
}

.heading__more:hover {
    background: linear-gradient(198deg, var(--color-1) 0%, var(--color-2) 100%);
    transform: translateY(-2px);
}

.heading--flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    margin-bottom: 40px;
    gap: 15px;
}

.common-title02 {
    font-size: 42px;
    font-weight: 800;
    color: var(--color-1);
    margin-bottom: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    margin-bottom: 25px;
}

.common-title02::before,
.common-title02::after {
    content: "";
    height: 1px;
    background: var(--color-1);
    opacity: .32;
    flex-grow: 1;
}

@media (max-width: 768px) {
    .common-title02 {
        font-size: 24px;
        margin-bottom: 15px;
    }
}

/* Common Slick Arrows */
.slick-arrow-common .slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 50%;
    border: 1px solid #eaeaea;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 10;
    cursor: pointer;
    font-size: 0;
    color: transparent;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.slick-arrow-common .slick-arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--color-3, var(--color-4));
    border-right: 2px solid var(--color-3, var(--color-4));
}

.slick-arrow-common .slick-prev {
    left: -20px;
}

.slick-arrow-common .slick-prev::before {
    transform: translate(-30%, -50%) rotate(-135deg);
}

.slick-arrow-common .slick-next {
    right: -20px;
}

.slick-arrow-common .slick-next::before {
    transform: translate(-70%, -50%) rotate(45deg);
}

.slick-arrow-common:hover .slick-arrow {
    opacity: 1;
    visibility: visible;
}

.slick-arrow-common .slick-arrow:hover {
    background: var(--color-3, var(--color-4));
    border-color: var(--color-3, var(--color-4));
}

/* ─── EMPTY DATA STATE ──────────────────────────────────── */
.empty-data {
    padding: 80px 20px;
    text-align: center;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
    width: 100%;
    max-width: 100%;
}

.empty-data__icon {
    width: 140px;
    height: 140px;
    margin: 0 auto 30px;
    color: #cbd5e1;
}

.empty-data__icon svg {
    width: 100%;
    height: 100%;
    animation: empty-float 3s ease-in-out infinite;
}

.empty-data__text {
    font-size: 18px;
    color: #64748b;
    font-weight: 600;
    line-height: 1.6;
}

@keyframes empty-float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.slick-arrow-common .slick-arrow:hover::before {
    border-color: #fff;
}

/* ─── BREADCRUMB ─────────────────────────────────────────── */
.breadcrumb {
    position: relative;
    padding: 100px 0 50px;
    min-height: 400px;
    /* margin-bottom: 50px; */
    overflow: hidden;
    background: #333;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
}

.breadcrumb-title {
    font-size: 3.2rem;
    color: #fff;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    text-transform: uppercase;
    /* max-width: 900px; */
    margin: 0 auto 10px;

}

.breadcrumb-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    margin: 0;
}

.breadcrumb-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block !important;
}

.breadcrumb-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
}

.breadcrumb .ctnr {
    position: relative;
    z-index: 1;
    text-align: center;
}

.breadcrumb-list ul {
    display: inline-flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #fff;
    font-weight: 500;
}

.breadcrumb-list li a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: .9;
}

.breadcrumb-list li a:hover {
    opacity: 1;
    color: var(--color-3, var(--color-4));
}

.breadcrumb-list li::after {
    content: '';
    width: 7px;
    height: 7px;
    border-top: 1.5px solid #fff;
    border-right: 1.5px solid #fff;
    transform: rotate(45deg);
    margin: 0 15px;
    opacity: .9;
}

.breadcrumb-list li:last-child::after {
    display: none;
}

.breadcrumb-list li.active a {
    color: #fff;
    font-weight: 700;
    opacity: 1;
    pointer-events: none;
}

@media (max-width: 768px) {
    .breadcrumb {
        padding: 60px 0 20px;
        min-height: 300px;
    }

    .breadcrumb-list li {
        font-size: 13px;
    }

    .breadcrumb-list li::after {
        margin: 0 10px;
    }

    .breadcrumb-title {
        font-size: 2.4rem;
    }
}

/* Button Loading State */
.btn-loading {
    position: relative !important;
    color: transparent !important;
    pointer-events: none !important;
}

.btn-loading::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    top: 50%;
    left: 50%;
    margin-top: -9px;
    margin-left: -9px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: btn-spin 0.6s linear infinite;
}

@keyframes btn-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ─── PRODUCT CARD (Global Component) ─────────────────────── */
.home-products__item {
    margin-bottom: 20px;
    padding: 0 10px;
}

.product-card {
    display: block;
    position: relative;
    background: #fff;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid #eaeaea;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    overflow: hidden;
}

.product-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-card__img-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
}

.product-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: opacity 0.4s ease, transform 0.4s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.product-card__img-wrap .img-main {
    opacity: 1;
}

.product-card__img-wrap .img-hover {
    opacity: 0;
}

.product-card:hover .product-card__img-wrap .img-main {
    opacity: 0;
}

.product-card:hover .product-card__img-wrap .img-hover {
    opacity: 1;
}

.product-card__price {
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.price-new {
    color: #e31d1b;
    font-weight: 700;
    font-size: 18px;
}

.price-old {
    color: #999;
    font-size: 14px;
}

.discount {
    background: #e31d1b;
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.price-contact {
    color: #e31d1b;
    font-weight: 600;
}

.product-card__body {
    padding: 15px 5px 15px;
    text-align: center;
    background: #fff;
    transition: background 0.3s ease;
    min-height: 125px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.product-card:hover .product-card__body {
    background: var(--color-3, var(--color-4));
}

.product-card__title {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card:hover .product-card__title a {
    color: #fff;
}

.product-card:hover {
    color: white;
}

.product-card:hover .price-new {
    color: inherit;
}

.product-card:hover .price-old {
    color: inherit;
}

.product-card:hover .price-contact {
    color: inherit;
}

.product-card__btn {
    display: inline-block;
    padding: 6px 20px;
    border: 1px solid #ccc;
    border-radius: 20px;
    font-size: 13px;
    color: #666;
    transition: all 0.3s ease;
    background: transparent;
}

.product-card:hover .product-card__btn {
    border-color: #fff;
    color: #fff;
}

.product-card__actions {
    display: flex;
    gap: 8px;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px;
}

.product-card__btn-buy {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 15px;
    background: #e31d1b;
    border-radius: 20px;
    font-size: 13px;
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid #e31d1b;
    cursor: pointer;
}

.product-card__btn-buy svg {
    width: 14px;
    height: 14px;
}

.product-card:hover .product-card__btn-buy {
    background: #fff;
    color: #e31d1b;
    border-color: #fff;
}

.product-card:hover .product-card__btn-buy svg {
    color: #e31d1b;
}

@media (max-width: 576px) {
    .product-card__body {
        padding: 12px 8px;
        min-height: 100px;
    }

    .product-card__title {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .product-card__btn {
        font-size: 11px;
        padding: 5px 14px;
    }
}

@media (max-width: 360px) {
    .product-card__body {
        padding: 10px 6px;
        min-height: 90px;
    }

    .product-card__title {
        font-size: 12px;
    }

    .product-card__btn {
        font-size: 10px;
        padding: 4px 12px;
    }
}

/* ─── PAGINATION ────────────────────────────────────────── */
.pagination-wrap {
    margin: 30px auto;
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 10px;
    align-items: center;
}

.pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 10px;
    color: #444;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.pagination .page-item.active .page-link {
    background: var(--color-3, var(--color-4));
    border-color: var(--color-3, var(--color-4));
    color: #fff;
    box-shadow: 0 5px 15px rgba(134, 186, 64, 0.2);
}

.pagination .page-link:hover {
    background: var(--color-3, var(--color-4));
    border-color: var(--color-3, var(--color-4));
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.pagination .page-item.disabled .page-link {
    background: #f5f5f5;
    color: #ccc;
    border-color: #eee;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.pagination .page-link svg {
    stroke-width: 2.5px;
}


@media (max-width: 576px) {
    .pagination-wrap {
        margin-top: 30px;
    }

    .pagination {
        gap: 6px;
    }

    .pagination .page-link {
        width: 36px;
        height: 36px;
        font-size: 13px;
        border-radius: 8px;
    }
}

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

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

.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 {
    &:not(:last-child) {
        margin-bottom: 10px;
    }
}

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

.noi-dung {
    /* font-size: 15px; */

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        color: var(--color-1);
        line-height: 1.2;
    }

    @media (min-width: 992px) {
        h1 {
            font-size: 28px;
        }

        h2 {
            font-size: 26px;
        }

        h3 {
            font-size: 23px;
        }

        h4 {
            font-size: 20px;
        }

        h5 {
            font-size: 18px;
        }

        h6 {
            font-size: 16px;
        }
    }
}


/* ─── MODAL CONSULT ───────────────────────────────────────── */
.modal-form-container {
    display: none;
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    padding: 25px;
    background: #fff;
}

#modal-consult {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-consult-head {
    text-align: center;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 20px;
    margin-bottom: 25px;
}

.modal-consult-head h3 {
    font-size: 2.4rem;
}

.modal-form .form-group {
    margin-bottom: 18px;
}

.modal-form label {
    font-size: 14px;
    color: #475569;
    margin-bottom: 6px;
}

.modal-form .form-control {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.modal-form .form-control:focus {
    background: #fff;
    border-color: var(--color-3);
    outline: none;
    box-shadow: 0 0 0 4px rgba(233, 120, 50, 0.1);
}

.modal-form button[type="submit"] {
    margin-top: 10px;
    height: 52px;
}



.invalid-feedback {
    color: red;
    font-size: 13px;
    font-weight: 600;
    margin-top: 5px;
}