/* Product list page CSS */
/* Independent class namespace: nwpl- */

.nwpl-page {
    width: 100%;
    background: #ffffff;
}

.nwpl-container {
    width: 100%;
    max-width: var(--nw-container);
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.nwpl-hero {
    width: 100%;
    padding: 68px 0;
    background:
        radial-gradient(circle at 12% 20%, rgba(252, 200, 3, 0.24), transparent 32%),
        linear-gradient(135deg, #111827 0%, #1f2937 100%);
    color: #ffffff;
    overflow: hidden;
}

.nwpl-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 520px;
    gap: 48px;
    align-items: center;
}

.nwpl-hero-copy {
    min-width: 0;
}

.nwpl-hero-title {
    margin: 0;
    max-width: 780px;
    color: #ffffff;
    font-size: clamp(38px, 4.2vw, 68px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.nwpl-hero-text {
    max-width: 680px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 17px;
    line-height: 1.8;
}

.nwpl-hero-panel {
    display: grid;
    gap: 14px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(12px);
}

.nwpl-hero-number {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    min-width: 0;
    padding: 17px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
}

.nwpl-hero-number strong {
    color: var(--nw-primary);
    font-size: 28px;
    line-height: 1;
    font-weight: 800;
}

.nwpl-hero-number span {
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    line-height: 1.6;
}

.nwpl-main {
    width: 100%;
    padding: 72px 0 84px;
    background: #f6f7f9;
}

.nwpl-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 34px;
    align-items: start;
}

.nwpl-filter {
    position: sticky;
    top: 24px;
    min-width: 0;
    padding: 24px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid var(--nw-border);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
}

.nwpl-filter-title {
    margin: 0 0 18px;
    color: #111827;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 800;
}

.nwpl-filter-list {
    display: grid;
    gap: 10px;
}

.nwpl-filter-btn {
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid var(--nw-border);
    border-radius: 12px;
    background: #ffffff;
    color: #111827;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.nwpl-filter-btn::after {
    content: "";
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
    opacity: 0.45;
}

.nwpl-filter-btn:hover,
.nwpl-filter-btn[data-current="true"],
.nwpl-filter-btn[aria-current="page"] {
    border-color: var(--nw-primary);
    background: rgba(252, 200, 3, 0.13);
    color: #111827;
}

.nwpl-filter-card {
    margin-top: 22px;
    padding: 18px;
    border-radius: 16px;
    background: #111827;
    color: #ffffff;
}

.nwpl-filter-card h3 {
    margin: 0;
    color: #ffffff;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 800;
}

.nwpl-filter-card p {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    line-height: 1.65;
}

.nwpl-filter-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    margin-top: 14px;
    padding: 0 16px;
    border-radius: 999px;
    background: var(--nw-primary);
    color: #111827;
    font-size: 13px;
    font-weight: 800;
}

.nwpl-products {
    min-width: 0;
}

.nwpl-products-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 26px;
}

.nwpl-products-title {
    margin: 0;
    color: #111827;
    font-size: 34px;
    line-height: 1.22;
    font-weight: 800;
    letter-spacing: -0.6px;
}

.nwpl-products-text {
    max-width: 520px;
    margin: 0;
    color: #6b7280;
    font-size: 15px;
    line-height: 1.7;
}

.nwpl-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.nwpl-card {
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #edf0f3;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.nwpl-card:hover {
    transform: translateY(-6px);
    border-color: rgba(252, 200, 3, 0.78);
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.13);
}


.nwpl-card-media {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f8fafc;
    border-bottom: 1px solid #edf0f3;
}

.nwpl-card-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.35s ease;
}

.nwpl-card:hover .nwpl-card-img {
    transform: none;
}

.nwpl-card-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding: 22px;
}

.nwpl-card-title {
    min-height: 54px;
    margin: 0;
    color: #111827;
    font-size: 19px;
    line-height: 1.42;
    font-weight: 800;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nwpl-card-desc {
    flex: 1 1 auto;
    margin: 12px 0 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nwpl-card-link {
    width: fit-content;
    margin-top: 18px;
    color: #111827;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 800;
    border-bottom: 2px solid var(--nw-primary);
}

.nwpl-guide {
    width: 100%;
    padding: 74px 0;
    background: #ffffff;
}

.nwpl-guide-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    gap: 42px;
    align-items: start;
}

.nwpl-guide-copy {
    min-width: 0;
}

.nwpl-guide-title {
    margin: 0;
    color: #111827;
    font-size: 34px;
    line-height: 1.22;
    font-weight: 800;
    letter-spacing: -0.6px;
}

.nwpl-guide-text {
    margin: 16px 0 0;
    color: #6b7280;
    font-size: 15px;
    line-height: 1.78;
}

.nwpl-guide-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.nwpl-guide-item {
    min-width: 0;
    padding: 22px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid var(--nw-border);
}

.nwpl-guide-item strong {
    display: block;
    color: #111827;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 800;
}

.nwpl-guide-item span {
    display: block;
    margin-top: 8px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.65;
}

.nwpl-contact {
    width: 100%;
    padding: 64px 0;
    background: var(--nw-primary);
}

.nwpl-contact-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
}

.nwpl-contact-title {
    margin: 0;
    color: #111827;
    font-size: 32px;
    line-height: 1.22;
    font-weight: 800;
}

.nwpl-contact-text {
    margin: 12px 0 0;
    color: rgba(17, 24, 39, 0.78);
    font-size: 15px;
    line-height: 1.7;
}

.nwpl-contact-btn {
    flex: 0 0 auto;
    min-width: 170px;
    height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    background: #111827;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(17, 24, 39, 0.18);
}

.nwpl-empty{
text-align: center;
    margin-top: 30px;
    font-weight: 600;
    color: #fcc803;
}

@media (max-width: 1440px) and (min-width: 1025px) {
    .nwpl-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .nwpl-hero-inner {
        grid-template-columns: minmax(0, 1fr) 440px;
        gap: 34px;
    }

    .nwpl-layout {
        grid-template-columns: 280px minmax(0, 1fr);
        gap: 28px;
    }

    .nwpl-grid {
        gap: 18px;
    }

    .nwpl-card-body {
        padding: 20px;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .nwpl-container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .nwpl-hero-inner {
        grid-template-columns: 1fr;
    }

    .nwpl-layout {
        grid-template-columns: 1fr;
    }

    .nwpl-filter {
        position: static;
    }

    .nwpl-filter-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .nwpl-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nwpl-guide-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nwpl-container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .nwpl-hero {
        padding: 44px 0;
    }

    .nwpl-hero-inner {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .nwpl-hero-title {
        font-size: 34px;
        line-height: 1.12;
    }

    .nwpl-hero-text {
        font-size: 15px;
    }

    .nwpl-hero-panel {
        padding: 16px;
        border-radius: 18px;
    }

    .nwpl-hero-number {
        grid-template-columns: 90px minmax(0, 1fr);
        padding: 14px;
    }

    .nwpl-hero-number strong {
        font-size: 23px;
    }

    .nwpl-main {
        padding: 46px 0 58px;
    }

    .nwpl-layout {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .nwpl-filter {
        position: static;
        padding: 18px;
        border-radius: 18px;
    }

    .nwpl-filter-list {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .nwpl-filter-list::-webkit-scrollbar {
        display: none;
    }

    .nwpl-filter-btn {
        flex: 0 0 auto;
        width: auto;
        white-space: nowrap;
    }

    .nwpl-filter-btn::after {
        display: none;
    }

    .nwpl-filter-card {
        display: none;
    }

    .nwpl-products-head {
        display: block;
        margin-bottom: 20px;
    }

    .nwpl-products-title {
        font-size: 28px;
        text-align: center;
    }

    .nwpl-products-text {
        margin-top: 10px;
        font-size: 14px;
        text-align: center;
    }

    .nwpl-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .nwpl-card {
        border-radius: 10px;
    }

    .nwpl-card-body {
        min-height: 190px;
        padding: 18px;
    }

    .nwpl-card-title {
        min-height: auto;
        font-size: 18px;
    }

    .nwpl-card-desc {
        font-size: 14px;
    }

    .nwpl-guide {
        padding: 48px 0;
    }

    .nwpl-guide-inner {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .nwpl-guide-title {
        font-size: 28px;
    }

    .nwpl-guide-list {
        grid-template-columns: 1fr;
    }

    .nwpl-contact {
        padding: 46px 0;
    }

    .nwpl-contact-inner {
        display: block;
    }

    .nwpl-contact-title {
        font-size: 27px;
    }

    .nwpl-contact-btn {
        width: 100%;
        margin-top: 20px;
    }
}

@media (max-width: 390px) {
    .nwpl-container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .nwpl-hero-title {
        font-size: 30px;
    }

    .nwpl-hero-number {
        grid-template-columns: 78px minmax(0, 1fr);
    }

    .nwpl-card-body {
        padding: 16px;
    }
}


/* Product list v2 adjustment */
.nwpl-card-img {
    transition: none;
}

.nwpl-card:hover .nwpl-card-img {
    transform: none;
}

.nwpl-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 38px;
}

.nwpl-page-num,
.nwpl-page-dots,.page-num {
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--nw-border);
    background: #ffffff;
    color: #111827;
    font-size: 14px;
    line-height: 1;
    font-weight: 800;
}
.page-num-current{
        border-color: var(--nw-primary);
    background: var(--nw-primary);
    color: #111827;
    transform: translateY(-2px);
}

.nwpl-page-num {
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.nwpl-page-num:hover,
.nwpl-page-num[data-current="true"],.page-num:hover{
    border-color: var(--nw-primary);
    background: var(--nw-primary);
    color: #111827;
    transform: translateY(-2px);
}

.nwpl-page-num svg {
    width: 18px;
    height: 18px;
}

.nwpl-page-dots {
    border-color: transparent;
    background: transparent;
    color: #6b7280;
}

@media (max-width: 768px) {
    .nwpl-card-link {
        display: none;
    }

    .nwpl-pagination {
        gap: 7px;
        margin-top: 28px;
    }

    .nwpl-page-num,
    .nwpl-page-dots {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 13px;
    }
}

@media (max-width: 390px) {
    .nwpl-pagination {
        gap: 5px;
    }

    .nwpl-page-num,
    .nwpl-page-dots {
        min-width: 32px;
        height: 32px;
        padding: 0 8px;
    }
}


/* Product list v4 adjustment */
@media (min-width: 1025px) {
    .nwpl-layout {
        grid-template-columns: 350px minmax(0, 1fr);
    }
}

@media (max-width: 1440px) and (min-width: 1025px) {
    .nwpl-layout {
        grid-template-columns: 350px minmax(0, 1fr);
    }
}

@media (max-width: 768px) {
    .nwpl-card-body {
        min-height: auto;
        padding: 16px 18px 18px;
    }

    .nwpl-card-title {
        min-height: auto;
        margin-bottom: 0;
    }

    .nwpl-card-desc {
        flex: 0 0 auto;
        margin-top: 10px;
        margin-bottom: 0;
        -webkit-line-clamp: 2;
    }

    .nwpl-card-link {
        display: none !important;
    }
}

@media (max-width: 390px) {
    .nwpl-card-body {
        min-height: auto;
        padding: 15px 16px 17px;
    }
}

