/* ============================================================
   PRODUCT CATEGORY — Product Listing Section
   ============================================================ */

/* Section wrapper */
.pcat-section {
    padding: 30px 0 40px;
    background-color: #ffffff;
}

/* ---- Section Header ---- */
.pcat-header {
    text-align: center;
    margin-bottom: 52px;
}

.pcat-title {
    font-size: clamp(24px, 3.5vw, 34px);
    font-weight: 700;
    color: var(--color-3);
    margin: 0 0 14px 0;
    line-height: 1.3;
}

/* Green underline accent */
.pcat-divider {
    width: 50px;
    height: 3px;
    background-color: var(--color-3);
    border-radius: 2px;
    margin: 0 auto 18px auto;
}

.pcat-subtitle {
    font-size: 15px;
    color: #666;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ---- Product Grid ---- */
.pcat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* ---- Product Card ---- */
.pcat-card {
    background-color: #ffffff;
    border: 1px solid #e8edf0;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

/* Image Area */
.pcat-card-img-wrap {
    position: relative;
    background-color: #edf2ee;
    /* display: flex;
    align-items: center;
    justify-content: center; */
    /* padding: 32px 24px; */
    /* min-height: 200px; */
}

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

.pcat-card-img {
    width: auto;
    max-width: 100%;
    /* max-height: 160px; */
    object-fit: contain;
    display: block;
}

/* Badge */
.pcat-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: #f26e1f;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
    letter-spacing: 0.2px;
}

/* Card Body */
.pcat-card-body {
    padding: 22px 22px 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
    border-top: 1px solid #edf2ee;
}

.pcat-card-name {
    font-size: 18px;
    font-weight: 700;
    /* color: #1a1a1a; */
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.pcat-card-desc {
    font-size: 13.5px;
    color: #666;
    line-height: 1.65;
    margin: 0 0 18px 0;
    flex: 1;
}

/* Specs List */
.pcat-card-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 22px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid #f0f0f0;
    padding-top: 16px;
}

.pcat-card-specs li {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: #444;
    line-height: 1.4;
}

.pcat-card-specs li svg {
    color: var(--color-3);
    flex-shrink: 0;
    margin-top: 1px;
}

/* CTA Button */
.pcat-card-btn {
    display: inline-block;
    background-color: var(--color-3);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    padding: 11px 28px;
    border-radius: 6px;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
    align-self: flex-start;
}

.pcat-card-btn:hover {
    background-color: #006f37;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 139, 70, 0.28);
    transform: translateY(-1px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet: 2 columns */
@media (max-width: 992px) {
    .pcat-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 22px;
    }

    .pcat-header {
        margin-bottom: 40px;
    }
}

/* Mobile: 1 column */
@media (max-width: 768px) {
    .pcat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }

    .pcat-header {
        margin-bottom: 32px;
    }

    .pcat-card-body {
        padding: 18px 18px 22px;
    }

    .pcat-card-name {
        font-size: 17px;
    }


    .pcat-card-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 500px) {
    .pcat-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 16px;
    }
}

/* ============================================================
   PRODUCT CATEGORY — Key Features & Benefits Section
   ============================================================ */

.pcat-features {
    padding: 45px 0;
    background-color: #f4f7f9;
}

/* ---- Features Header ---- */
.pcat-features-header {
    text-align: center;
    margin-bottom: 52px;
}

.pcat-features-title {
    font-size: clamp(24px, 3.5vw, 34px);
    font-weight: 700;
    color: var(--color-3);
    margin: 0 0 14px 0;
    line-height: 1.3;
}

.pcat-features-divider {
    width: 50px;
    height: 3px;
    background-color: var(--color-3);
    border-radius: 2px;
    margin: 0 auto 18px auto;
}

.pcat-features-subtitle {
    font-size: 15px;
    color: #5a6b7c;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ---- Feature Cards Grid ---- */
.pcat-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* ---- Feature Card ---- */
.pcat-feat-card {
    background-color: #ffffff;
    border-radius: 12px;
    border-top: 3px dashed var(--color-3);
    padding: 40px 28px 36px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pcat-feat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 139, 70, 0.1);
}

/* Icon */
.pcat-feat-icon {
    color: var(--color-3);
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
}

.pcat-feat-icon svg {
    width: 100%;
    height: 100%;
}

/* Title */
.pcat-feat-name {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 14px 0;
}

/* Description */
.pcat-feat-desc {
    font-size: 14px;
    color: #5a6b7c;
    line-height: 1.75;
    margin: 0;
}

/* ============================================================
   RESPONSIVE — Features Section
   ============================================================ */

@media (max-width: 992px) {
    .pcat-features {
        padding: 55px 0 65px;
    }

    .pcat-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }

    .pcat-features-header {
        margin-bottom: 40px;
    }
}

@media (max-width: 600px) {
    .pcat-features {
        padding: 44px 0 52px;
    }

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

    .pcat-features-header {
        margin-bottom: 32px;
    }

    .pcat-feat-card {
        padding: 32px 22px 28px;
    }
}

/* ============================================================
   PRODUCT CATEGORY — Thông số kỹ thuật Section
   ============================================================ */

.pcat-specs {
    padding: 72px 0 80px;
    background-color: #ffffff;
}

/* ---- Header ---- */
.pcat-specs-header {
    text-align: center;
    margin-bottom: 52px;
}

.pcat-specs-title {
    font-size: clamp(24px, 3.5vw, 34px);
    font-weight: 700;
    color: var(--color-3);
    margin: 0 0 14px 0;
    line-height: 1.3;
}

.pcat-specs-divider {
    width: 50px;
    height: 3px;
    background-color: var(--color-3);
    border-radius: 2px;
    margin: 0 auto 18px auto;
}

.pcat-specs-subtitle {
    font-size: 15px;
    color: #5a6b7c;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ---- Two-column body ---- */
.pcat-specs-body {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 52px;
    align-items: center;
}

/* ---- Left: Image / Visual panel ---- */
.pcat-specs-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pcat-specs-img-box {
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: 320px;
    background-color: #eef2f0;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.04);
}

.pcat-specs-img-box svg {
    width: 40%;
    height: auto;
}

/* ---- Right: Spec List ---- */
.pcat-specs-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ---- Spec Item ---- */
.pcat-spec-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background-color: #ffffff;
    border: 1px solid #e8edf0;
    border-left: 3px solid var(--color-3);
    border-radius: 8px;
    padding: 18px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.pcat-spec-item:hover {
    box-shadow: 0 6px 20px rgba(0, 139, 70, 0.09);
    transform: translateX(4px);
}

/* Icon */
.pcat-spec-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-color: #eef7f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-3);
    margin-top: 2px;
}

.pcat-spec-icon svg {
    width: 20px;
    height: 20px;
}

/* Text */
.pcat-spec-content {
    flex: 1;
    min-width: 0;
}

.pcat-spec-name {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.pcat-spec-desc {
    font-size: 13.5px;
    color: #5a6b7c;
    line-height: 1.65;
    margin: 0;
}

/* ============================================================
   RESPONSIVE — Specs Section
   ============================================================ */

@media (max-width: 992px) {
    .pcat-specs {
        padding: 55px 0 65px;
    }

    .pcat-specs-body {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .pcat-specs-visual {
        order: -1;
        /* image on top on tablet */
    }

    .pcat-specs-img-box {
        max-width: 260px;
        margin: 0 auto;
    }

    .pcat-specs-header {
        margin-bottom: 40px;
    }
}

@media (max-width: 600px) {
    .pcat-specs {
        padding: 44px 0 52px;
    }

    .pcat-specs-header {
        margin-bottom: 32px;
    }

    .pcat-spec-item {
        padding: 14px 16px;
    }

    .pcat-specs-img-box {
        max-width: 200px;
    }

    .pcat-spec-item:hover {
        transform: none;
    }
}

/* ============================================================
   PRODUCT CATEGORY — Ứng dụng công nghiệp Section
   ============================================================ */

.pcat-apps {
    padding: 72px 0 80px;
    background-color: #f8fafc;
}

/* ---- Header ---- */
.pcat-apps-header {
    text-align: center;
    margin-bottom: 52px;
}

.pcat-apps-title {
    font-size: clamp(24px, 3.5vw, 34px);
    font-weight: 700;
    color: var(--color-3);
    margin: 0 0 14px 0;
    line-height: 1.3;
}

.pcat-apps-divider {
    width: 50px;
    height: 3px;
    background-color: var(--color-3);
    border-radius: 2px;
    margin: 0 auto 18px auto;
}

.pcat-apps-subtitle {
    font-size: 15px;
    color: #5a6b7c;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ---- Grid ---- */
.pcat-apps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* ---- Card ---- */
.pcat-app-card {
    background-color: #ffffff;
    border: 1px solid #e8edf0;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pcat-app-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.07);
}

.pcat-app-name {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 16px 0;
    line-height: 1.4;
}

.pcat-app-desc {
    font-size: 13.5px;
    color: #666;
    line-height: 1.65;
    margin: 0 0 24px 0;
    flex-grow: 1;
}

/* ---- Checklist ---- */
.pcat-app-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: inline-flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
    max-width: 100%;
}

.pcat-app-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: #444;
    font-weight: 500;
}

.pcat-app-check {
    flex-shrink: 0;
    color: var(--color-3);
}

/* ============================================================
   RESPONSIVE — Apps Section
   ============================================================ */

@media (max-width: 992px) {
    .pcat-apps {
        padding: 55px 0 65px;
    }

    .pcat-apps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }

    .pcat-apps-header {
        margin-bottom: 40px;
    }
}

@media (max-width: 600px) {
    .pcat-apps {
        padding: 44px 0 52px;
    }

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

    .pcat-apps-header {
        margin-bottom: 32px;
    }

    .pcat-app-card {
        padding: 30px 20px;
    }

    .pcat-app-name {
        font-size: 17px;
    }
}

/* ============================================================
   PRODUCT CATEGORY — CTA Section
   ============================================================ */
.pcat-cta {
    padding: 40px 0;
    background-color: #ffffff;
}

.pcat-cta-inner {
    background-color: var(--color-3);
    border-radius: 8px;
    padding: 70px 40px;
    text-align: center;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 139, 70, 0.15);
}

.pcat-cta-title {
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 18px 0;
    line-height: 1.35;
}

.pcat-cta-desc {
    font-size: clamp(14px, 1.8vw, 16px);
    color: rgba(255, 255, 255, 0.9);
    max-width: 760px;
    margin: 0 auto 32px auto;
    line-height: 1.75;
}

.pcat-cta-action {
    display: flex;
    justify-content: center;
    width: 100%;
}

.pcat-cta-btn {
    display: inline-block;
    background-color: #ffffff;
    color: var(--color-3);
    font-size: 15px;
    font-weight: 600;
    padding: 14px 40px;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
    border: 2px solid #ffffff;
}

.pcat-cta-btn:hover {
    background-color: #e6f3ec;
    color: #006f37;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Responsive CTA styles */
@media (max-width: 992px) {
    .pcat-cta-inner {
        padding: 55px 30px;
    }
}

@media (max-width: 768px) {
    .pcat-cta-inner {
        padding: 45px 24px;
    }

    .pcat-cta-title {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .pcat-cta-desc {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .pcat-cta-btn {
        padding: 12px 30px;
        font-size: 14px;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {


    .pcat-cta-inner {
        padding: 35px 20px;
        border-radius: 6px;
    }

    .pcat-cta-title {
        font-size: 20px;
    }
}

/* ============================================================
   PRODUCT PAGE SIDEBAR LAYOUT (LIKE DESIGN IMAGE)
   ============================================================ */

.product-page-layout {
    display: flex;
    /* gap: 40px; */
    /* padding: 30px 0 60px; */
    align-items: flex-start;
}

/* Left Sidebar */
.product-page-layout .left {
    width: 260px;
    flex-shrink: 0;
    padding-right: 20px;
    padding-top: 25px;
    /* background: #fff; */
    /* border-radius: 8px; */
}

.pcat-sidebar-group {
    margin-bottom: 28px;
}

.pcat-sidebar-group:last-child {
    margin-bottom: 0;
}

.pcat-sidebar-title {
    font-size: 14px;
    font-weight: 500;
    color: #000;
    text-transform: uppercase;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.pcat-sidebar-title.active {
    color: #0065c9;
}

.pcat-sidebar-title-line {
    width: 100%;
    height: 2px;
    background-color: #000;
    margin-bottom: 12px;
}

.pcat-sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pcat-sidebar-item {
    border-bottom: 1px solid #e9ecef;
}

.pcat-sidebar-item:last-child {
    border-bottom: none;
}

.pcat-sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    color: #333;
    font-size: 15px;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.2s ease;
}

.pcat-sidebar-link:hover,
.pcat-sidebar-item.active .pcat-sidebar-link {
    color: #0065c9;
    font-weight: 700;
}

.pcat-sidebar-bullet {
    display: inline-block;
    width: 7px;
    height: 7px;
    background-color: #333;
    flex-shrink: 0;
}

.pcat-sidebar-item.active .pcat-sidebar-bullet,
.pcat-sidebar-link:hover .pcat-sidebar-bullet {
    background-color: #0065c9;
}

/* Right Content Area */
.product-page-layout .right {
    flex: 1;
    min-width: 0;
    padding: 50px;
    background-color: #FFF;
}

.pcat-main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.pcat-main-title {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin: 0;
    line-height: 1.2;
}

/* Download Center Slanted Parallelogram Button */
.btn-download-center {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #0065c9;
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 600;
    padding: 16px 28px;
    text-decoration: none !important;
    transform: skewX(-15deg);
    border-radius: 2px;
    transition: background-color 0.25s ease, transform 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 101, 201, 0.25);
}

.btn-download-center span {
    transform: skewX(15deg);
    display: inline-block;
}

.btn-download-center:hover {
    background-color: #004e9c;
    transform: skewX(-15deg) translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 101, 201, 0.35);
}

/* Product Cards Grid */
.pcat-products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.pcat-product-card {
    text-decoration: none;
    display: block;
    transition: transform 0.3s ease;
}

.pcat-product-card:hover {
    transform: translateY(-4px);
}

.pcat-product-card-img {
    background-color: #f7f7f7;
    border-radius: 4px;
    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.pcat-product-card-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.pcat-product-card:hover .pcat-product-card-img img {
    transform: scale(1.05);
}

.pcat-product-card-title {
    margin-top: 14px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.pcat-product-card:hover .pcat-product-card-title {
    color: #0065c9;
}

.pcat-product-card-desc {
    margin-top: 6px;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    line-clamp: 2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive adjustments */
@media (max-width: 992px) {

    .product-page-layout {
        flex-direction: column;
        gap: 20px;
    }

    .product-page-layout .left {
        width: 100%;
        display: none;
    }

    .product-page-layout .right {
        padding: 30px 24px;
        border-radius: 8px;
    }

    .pcat-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .product-page-layout .right {
        padding: 20px 16px;
    }

    .pcat-main-title {
        font-size: 24px;
        text-align: left;
    }

    .btn-download-center {
        font-size: 14px;
        padding: 12px 20px;
        box-sizing: border-box;
        text-align: center;
    }

    .inputs-section-title {
        font-size: 24px;
        margin: 35px 0 20px;
    }

    .inputs-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 576px) {
    .product-page-layout .right {
        padding: 16px 12px;
    }

    .pcat-main-title {
        font-size: 20px;
    }

    .pcat-products-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pcat-product-card-img {
        padding: 24px 15px;
    }

    .pcat-product-card-title {
        font-size: 16px;
        margin-top: 10px;
    }

    .input-card-header {
        padding: 18px 18px 0;
    }

    .input-card-title {
        font-size: 17px;
    }

    .input-card-img {
        min-height: 160px;
        padding: 10px 15px 15px;
    }

    .input-card-img img {
        max-height: 150px;
    }

    .input-card-body {
        padding: 0 18px 18px;
    }

    .inputs-section-title {
        font-size: 20px;
        margin: 28px 0 16px;
    }
}

.product.service-page {
    background-color: #f6f6f6;
    padding-bottom: 50px;
}

@media (max-width: 992px) {
    .product.service-page {
        padding: 20px 0 40px;
    }
}

/* ============================================================
   INPUT CARDS SECTION & ACCORDION (LIKE DESIGN IMAGE)
   ============================================================ */

.inputs-section-title {
    font-size: 32px;
    font-weight: 700;
    color: #0065c9;
    text-align: center;
    margin: 50px 0 30px;
    line-height: 1.2;
}

.inputs-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    align-items: flex-start;
}

.input-card-box {
    border: 1px solid #eaeaea;
    border-radius: 6px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.input-card-box:hover {
    border-color: #dcdcdc;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.input-card-header {
    padding: 24px 24px 0;
}

.input-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #0065c9;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.input-card-line {
    width: 45px;
    height: 3px;
    background-color: #0065c9;
    margin-bottom: 20px;
}

.input-card-img {
    padding: 10px 20px 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 220px;
}

.input-card-img img {
    max-height: 200px;
    width: auto;
    object-fit: contain;
}

.input-card-body {
    padding: 0 24px 20px 24px;
    display: none;
}

.input-card-box.expanded .input-card-body {
    display: block;
}

.input-card-subheading {
    font-size: 14px;
    font-weight: 700;
    color: #444;
    margin: 0 0 10px 0;
}

.input-card-specs {
    font-size: 13.5px;
    color: #666;
    line-height: 1.75;
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.input-card-specs>li {
    position: relative;
    padding-left: 14px;
    margin-bottom: 4px;
}

.input-card-specs>li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #666;
}

.input-card-specs ul {
    list-style: none;
    padding-left: 14px;
    margin: 4px 0;
}

.input-card-specs ul>li {
    position: relative;
    padding-left: 14px;
    margin-bottom: 2px;
}

.input-card-specs ul>li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #666;
}

.input-card-footer {
    border-top: 1px solid #f0f0f0;
    background: #ffffff;
    text-align: center;
    padding: 12px 0;
    margin-top: auto;
}

.btn-toggle-input-details {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0065c9;
    font-size: 20px;
    font-weight: 400;
    text-decoration: none;
    cursor: pointer;
    border: none;
    background: transparent;
    padding: 0;
    transition: color 0.2s ease;
}

.btn-toggle-input-details:hover {
    color: #004e9c;
}

.btn-toggle-input-details .chevron-icon {
    transition: transform 0.3s ease;
}

.input-card-box.expanded .btn-toggle-input-details .chevron-icon {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .inputs-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* ── SEARCH PAGE TABS & UI ── */
.psearch-wrap {
    padding: 60px 0 60px;
    background-color: #f8fafc;
    min-height: 500px;
}

.psearch-wrap .ctnr {
    max-width: 1050px;
}

.psearch-box-wrap {
    margin-bottom: 25px;
}

.psearch-box {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 14px 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.psearch-box svg {
    color: #94a3b8;
    flex-shrink: 0;
    margin-right: 12px;
}

.psearch-input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 16px;
    color: #1e293b;
    background: transparent;
}

.psearch-tabs-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 30px;
    padding-bottom: 0;
}

.psearch-tab-btn {
    background: none;
    border: none;
    padding: 12px 0 14px 0;
    font-size: 15px;
    font-weight: 500;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    position: relative;
    transition: color 0.2s ease;
}

.psearch-tab-btn:hover {
    color: #0065c9;
}

.psearch-tab-btn.active {
    color: #0065c9;
}

.psearch-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #0065c9;
    border-radius: 2px 2px 0 0;
}

.psearch-keyword-title {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 25px;
}

.psearch-tab-pane {
    display: none;
}

.psearch-tab-pane.active {
    display: block;
}

.psearch-products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.psearch-product-card {
    /* background: #ffffff;
    border-radius: 6px;
    border: 1px solid #f1f5f9; */
    padding: 24px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    display: block;
}

/* .psearch-product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
} */

.psearch-product-img-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    overflow: hidden;
}

.psearch-product-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.psearch-product-card:hover .psearch-product-img-wrap img,
.psearch-product-img-wrap:hover img {
    transform: scale(1.08);
}

.psearch-product-name {
    font-size: 18px;
    font-weight: 500;
    /* color: #334155; */
}

.psearch-table-wrap {
    width: 100%;
    overflow-x: auto;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
}

.psearch-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.psearch-table th {
    background-color: #eaedef;
    color: #1e293b;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 20px;
    border: 1px solid #cbd5e1;
}

.psearch-table th:first-child {
    width: 45%;
}

.psearch-table td {
    padding: 16px 20px;
    font-size: 13.5px;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.psearch-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.psearch-download-btn:hover {
    color: #0065c9;
}

@media (max-width: 991px) {
    .psearch-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 600px) {
    /* .psearch-products-grid {
        grid-template-columns: 1fr;
    } */

    .psearch-product-card {
        padding: 0px;
    }

    .psearch-tabs-nav {
        gap: 16px;
        overflow-x: auto;
        overflow-y: hidden;
    }

    .psearch-product-name {
        font-size: 16px;
    }

    .psearch-tab-btn {
        white-space: nowrap;
    }

    .psearch-wrap {
        padding: 30px 0;
    }
}
