

.ntpc-wrap {
    --ntpc-border: #e5e5e5;
    --ntpc-text: #111111;
    --ntpc-muted: #6b6b6b;
    position: relative;
    width: 100%;
    margin: 32px 0;
}
.ntpc-wrap button{
    background:#fff;
    border-radius: 100%;
    border: 0px;
    height: 3rem;
    width: 3rem;
    line-height: 1rem;
}

/* ---------- Header (title + nav) ---------- */
.ntpc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.ntpc-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--ntpc-text);
    margin: 0;
}

.ntpc-nav {
    display: flex;
    gap: 8px;
}

.ntpc-prev,
.ntpc-next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #ffffff;
    border: 1px solid var(--ntpc-border);
    color: var(--ntpc-text);
    border-radius: 0; /* flat */
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
    padding: 0;
}

.ntpc-prev:hover,
.ntpc-next:hover {
    background: var(--primary-color, #111111);
    border-color: var(--primary-color, #111111);
    color: #ffffff;
}

.ntpc-prev.swiper-button-disabled,
.ntpc-next.swiper-button-disabled {
    opacity: .35;
    cursor: not-allowed;
    pointer-events: none;
}
.ntpc-prev--floating,
.ntpc-next--floating {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    z-index: 5;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
}
.ntpc-prev--floating { left: -14px; }
.ntpc-next--floating { right: -14px; }

@media (max-width: 640px) {
    .ntpc-prev--floating,
    .ntpc-next--floating {
        display: none; 
    }
}

/* ---------- Swiper container ---------- */
.ntpc-swiper {
    width: 100%;
    overflow: hidden;
}

.ntpc-slide {
    height: auto;
    /* border-radius: 1em; */
}

/* ---------- Card ---------- */
.ntpc-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
    border: 1px solid var(--ntpc-border);
    border-radius: 0; /* flat */
    overflow: hidden;
    border-radius: 15px;
    transition: box-shadow 0.2s ease;
}
.ntpc-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.ntpc-thumb {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f5f5f5;
    overflow: hidden;
}

.ntpc-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .25s ease;
}

.ntpc-card:hover .ntpc-thumb img {
    transform: scale(1.04);
}

/* ---------- Info ---------- */
.ntpc-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 14px 16px;
    flex: 1;
    font-size: 1.25em;
}

.ntpc-name {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--ntpc-text);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ntpc-name:hover {
    color: var(--primary-color, #111111);
}

.ntpc-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color, #111111);
}

.ntpc-price del {
    color: var(--ntpc-muted);
    font-weight: 400;
    margin-right: 6px;
}

.ntpc-price ins {
    text-decoration: none;
}

/* ---------- Related products section spacing ---------- */
.ntpc-related-section {
    margin-top: 48px;
}