.nt-category-showcase {
    padding: 84px 0 96px;
    overflow: visible !important;
    position: relative;
}

.nt-category-showcase::before,
.nt-category-showcase::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 20%;
    pointer-events: none;
    z-index: 0;
}

.nt-category-showcase::before {
    left: 0;
    background: radial-gradient(circle at left center, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 68%);
}

.nt-category-showcase::after {
    right: 0;
    background: radial-gradient(circle at right center, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 68%);
}

.nt-catks__container {
    position: relative;
    z-index: 1;
    max-width: 1780px;
    margin: 0 auto;
    padding: 0 20px;
}

.nt-catks__title {
    max-width: 1040px;
    margin: 0 auto 34px;
    text-align: center;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.nt-catks__subtitle {
    max-width: 860px;
    margin: -12px auto 34px;
    text-align: center;
    font-weight: 500;
    line-height: 1.5;
    opacity: 0.92;
}

.nt-catks__tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 0 auto 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.nt-catks__tabs::-webkit-scrollbar {
    display: none;
}

.nt-catks__tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 0;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    box-sizing: border-box;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.nt-catks__tab span {
    display: inline-block;
    line-height: 1;
}

.nt-catks__tab:hover {
    transform: translateY(-1px);
}

.nt-catks__tab.is-active {
    box-shadow: 0 14px 28px rgba(18, 8, 42, 0.22);
}

.nt-catks__carousel-wrap {
    position: relative;
    max-width: 1780px;
    margin: 0 auto;
    padding: 40px 88px 40px;
    z-index: 1;
}

.nt-catks__carousel-wrap::before,
.nt-catks__carousel-wrap::after {
    content: "";
    position: absolute;
    top: 120px;
    width: 38px;
    height: 294px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0.1) 100%);
    filter: blur(8px);
    opacity: 0.9;
    z-index: 0;
}

.nt-catks__carousel-wrap::before {
    left: 54px;
}

.nt-catks__carousel-wrap::after {
    right: 54px;
}

.nt-catks__panels {
    position: relative;
    z-index: 1;
}

.nt-catks__panel-shell {
    display: none;
}

.nt-catks__panel-shell.is-active {
    display: block;
}

.nt-catks__container {
    display: block;
    overflow: visible !important;
}

.nt-catks__panel-shell.is-active,
.nt-catks__panel,
.nt-catks__swiper,
.nt-catks__swiper .swiper-wrapper,
.nt-catks__swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible !important;
}

.nt-catks__swiper .swiper-wrapper {
    display: flex;
    align-items: center;
    padding-bottom: 20px;
}

.nt-catks__panel-shell.is-loading {
    min-height: 540px;
}

.nt-catks__panel--placeholder {
    display: block;
}

.nt-catks__swiper {
    overflow: visible;
}

.nt-catks__swiper .swiper-slide {
    width: 340px;
    padding: 0 8px;
    transition: opacity 0.6s ease, transform 0.6s ease;
    opacity: 0.2;
    z-index: 1;
}

.nt-catks__card {
    min-height: 480px;
    border-radius: 26px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 24px 54px rgba(22, 9, 54, 0.24);
    transform: scale(0.9);
    transition: transform 0.6s ease, box-shadow 0.6s ease, opacity 0.6s ease;
    opacity: 0.75;
}

.nt-catks__card--placeholder {
    min-height: 500px;
    justify-content: center;
    align-items: center;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(244, 246, 252, 0.9) 100%);
}

.nt-catks__loading {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 700;
    color: #4a2292;
}

.nt-catks__loading-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 0 rgba(74, 34, 146, 0.3);
    animation: nt-catks-pulse 1.4s ease-in-out infinite;
}

.nt-catks__swiper .swiper-slide-active {
    opacity: 1;
    z-index: 4;
}

.nt-catks__swiper .swiper-slide-prev,
.nt-catks__swiper .swiper-slide-next {
    opacity: 1;
    z-index: 3;
}

.nt-catks__swiper .swiper-slide-active .nt-catks__card {
    transform: scale(1.01);
    box-shadow: 0 30px 70px rgba(18, 8, 42, 0.32);
    opacity: 1;
}

.nt-catks__swiper .swiper-slide-prev .nt-catks__card,
.nt-catks__swiper .swiper-slide-next .nt-catks__card {
    transform: scale(0.93);
    opacity: 0.96;
}

.nt-catks__card-head {
    text-align: center;
}

.nt-catks__card-title {
    margin: 0;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-align: center;
}

.nt-catks__card-title a {
    color: inherit;
    text-decoration: none;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    font-size: 19px !important;
    text-align: center;
}

.nt-catks__media {
    margin-top: 8px;
    min-height: 220px;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(180deg, #f8f8fb 0%, #ebeef6 100%);
    box-shadow: inset 0 0 0 1px rgba(9, 13, 28, 0.05);
}

.nt-catks__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.nt-catks__meta {
    margin-top: 12px;
    display: grid;
    gap: 14px;
}

.nt-catks__price {
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.nt-catks__button {
    min-height: 54px;
    width: 100%;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    line-height: 1.2;
    padding: 0 16px;
    box-sizing: border-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nt-catks__button:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 26px rgba(255, 107, 53, 0.24);
}

.nt-catks__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 28px rgba(18, 8, 42, 0.22);
    z-index: 6;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nt-catks__nav:hover {
    transform: translateY(-50%) scale(1.05);
}

.nt-catks__nav.is-disabled {
    opacity: 0.45;
    cursor: default;
}

.nt-catks__prev {
    left: 50%;
    margin-left: -580px;
    /* Điều chỉnh để gần hoặc xa tâm hơn */
}

.nt-catks__next {
    right: 50%;
    margin-right: -580px;
}

.nt-catks__nav span {
    display: block;
    font-size: 22px;
    line-height: 1;
}

@keyframes nt-catks-pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.7;
    }

    70% {
        transform: scale(1);
        opacity: 0;
    }

    100% {
        transform: scale(0.9);
        opacity: 0;
    }
}

@media (max-width: 1199px) {
    .nt-catks__carousel-wrap {
        padding: 12px 64px 8px;
    }

    .nt-catks__swiper .swiper-slide {
        width: 320px;
    }

    .nt-catks__card,
    .nt-catks__card--placeholder {
        min-height: 470px;
    }

    .nt-catks__prev {
        left: 46px;
    }

    .nt-catks__next {
        right: 46px;
    }
}

@media (max-width: 767px) {
    .nt-category-showcase {
        padding: 64px 0 72px;
    }

    .nt-catks__tabs {
        justify-content: flex-start;
        align-items: center;
        gap: 10px;
        margin-bottom: 28px;
        padding: 4px 20px;
        margin-left: -20px;
        margin-right: -20px;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .nt-catks__tab {
        min-height: 42px;
        padding: 0 18px;
        flex-shrink: 0;
    }

    .nt-catks__button {
        min-height: 46px;
        padding: 0 14px;
    }

    .nt-catks__carousel-wrap {
        padding: 0 6px 78px;
    }

    .nt-catks__nav {
        top: auto;
        bottom: 0;
        transform: none;
    }

    .nt-catks__prev {
        left: calc(50% - 54px);
    }

    .nt-catks__next {
        right: calc(50% - 54px);
    }

    .nt-catks__swiper .swiper-slide {
        width: 80%;
        max-width: 312px;
        opacity: 1;
    }

    .nt-catks__card {
        min-height: auto;
        transform: none;
        opacity: 1;
    }
}

/* Nút Xem tất cả mới nằm dưới slider */
.nt-catks__panel {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nt-catks__panel-footer {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 10px;
    position: relative;
    z-index: 5;
}

.nt-catks__view-all-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
    padding: 10px 28px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-sizing: border-box;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nt-catks__view-all-link:hover {
    background: #fff;
    color: #4a2292;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

@media (max-width: 767px) {
    .nt-catks__view-all-link {
        font-size: 15px;
        padding: 10px 22px;
    }
}