/* --- Products Page Parent Chain --- */

.products-page .prod-section {
    padding: 80px 0px;
    background-color: var(--bg);
}

.products-page .prod-page-intro {
    text-align: center;
    margin-bottom: 60px;
}

.products-page .prod-page-intro .prod-title {
    font-size: 40px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
}

.products-page .prod-page-intro .prod-subtitle {
    font-size: 16px;
    color: var(--text-body);
    margin-bottom: 40px;
}

/* Tab Chain */
.products-page .prod-page-intro .prod-filter-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.products-page .prod-filter-row .ptab {
    padding: 10px 24px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-body);
    cursor: pointer;
    transition: 0.3s ease;
}

.products-page .prod-filter-row .ptab.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Product Card Chain (Single Box) */
.products-page .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.products-page .products-grid .product-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    /* padding: 30px; */
    position: relative;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}
.products-page .products-grid .product-card .content-box{
    padding:0 30px 30px;
}
.products-page .products-grid .product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.products-page .product-card .pc-tag {
    /* position: absolute;
    top: 20px;
    right: 20px; */
    background: var(--bg-alt);
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    align-self: flex-start;
    display: inline-block;
}

.products-page .product-card .img-box {
    width: 100%;
    height: 184px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    margin-bottom: 15px;
    overflow: hidden;
}

.products-page .product-card .img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.products-page .product-card .content-box {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.products-page .product-card .pc-icon {
    font-size: 32px;
    color: var(--accent);
    margin-bottom: 20px;
}

.products-page .product-card .pc-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    margin-top: 8px;
}

.products-page .product-card .pc-comp {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 22px;
    margin-bottom: 25px;
    flex-grow: 1;
}

.products-page .product-card .pc-btn {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: 0.3s;
}

.products-page .product-card .pc-btn:hover {
    background: var(--primary-dark);
}
.products-page .product-card .d-bact{
    max-width: 280px;
}
/* Tablet & Mobile Adjustments */
@media (max-width: 768px) {
    .products-page .prod-page-intro .prod-title {
        font-size: 32px;
    }
    .products-page .products-grid {
        grid-template-columns: 1fr;
    }
}

.products-page .pdf-download-section {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin-top: 80px;
}

.products-page .color-primary {
    color: var(--primary);
}

.products-page .btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    padding: 12px 30px;
    font-weight: 600;
    transition: 0.3s;
}

.products-page .btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Ensure cards have a transition for the tab switching */
.products-page .product-card {
    transition: opacity 0.4s ease, transform 0.3s ease;
}

/* PDF Section Styling */
.pdf-section {
    padding: 60px 0;
    background-color: var(--bg);
}

.pdf-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.pdf-title {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.75rem;
    margin-bottom: 10px;
}

.pdf-desc {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 0;
}

/* Buttons */
.pdf-btn-main {
    background: var(--primary);
    color: #fff !important;
    padding: 12px 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.pdf-btn-main:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.pdf-btn-alt {
    background: #fff;
    color: var(--text-body);
    border: 1px solid var(--border);
    padding: 12px 18px;
    border-radius: 8px;
    display: inline-flex;
    text-decoration: none;
    margin-left: 10px;
    transition: 0.3s;
}

.pdf-btn-alt:hover {
    background: var(--bg-alt);
}

/* Viewer Wrapper */
.pdf-viewer-box {
    margin-top: 30px;
    height: 600px;
    display: none; /* JS will show this */
}

.pdf-iframe {
    width: 100%;
    height: 100%;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.pdf-footer {
    text-align: center;
    margin-top: 25px;
}

.pdf-toggle-link {
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    font-size: 0.95rem;
}
/* ================================================================
   PRODUCTS HERO
   ================================================================ */
.products-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #1e8fad 100%);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}




/* Left content */
.products-hero-inner {
    position: relative;
    z-index: 2;
}

.products-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.22);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 7px 18px;
    border-radius: 30px;
    margin-bottom: 24px;
    backdrop-filter: blur(6px);
}

.products-hero-title {
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 20px;
}

.products-hero-title span {
    color: #6de8d0;
}

.products-hero-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.75;
    margin-bottom: 32px;
    max-width: 480px;
}

.products-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.products-hero-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,0.65);
}

.products-hero-breadcrumb a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: color 0.2s;
}

.products-hero-breadcrumb a:hover {
    color: #fff;
}

.products-hero-breadcrumb i {
    font-size: 10px;
    color: rgba(255,255,255,0.4);
}

.products-hero-breadcrumb span {
    color: #6de8d0;
    font-weight: 700;
}

/* Right visual card */
.products-hero-visual {
    display: flex;
    justify-content: flex-end;
    position: relative;
    z-index: 2;
}

.phv-card {
    background: rgba(255,255,255,0.97);
    border-radius: 20px;
    padding: 28px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.22);
}

.phv-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
}

.phv-header-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.phv-header-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--primary);
}

.phv-header-sub {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Category rows */
.phv-categories {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.phv-cat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: var(--bg);
    border-radius: 10px;
    border: 1px solid var(--border);
    transition: all 0.25s ease;
}

.phv-cat-item:hover {
    border-color: var(--accent);
    background: #edfaf7;
    transform: translateX(4px);
}

.phv-cat-more {
    background: var(--bg-alt);
}

.phv-cat-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

.phv-cat-name {
    flex: 1;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.phv-cat-count {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    background: rgba(23, 165, 137, 0.1);
    padding: 3px 10px;
    border-radius: 20px;
}

.ahc-cert {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 13px 16px;
}
 .ahc-cert .ahc-cert-icon {
    width: 36px;
    height: 36px;
    background: var(--accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0;
}

 .ahc-cert .ahc-cert-lbl {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
}

 .ahc-cert .ahc-cert-val {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--text);
}

/* Responsive */
@media (max-width: 991px) {
    .products-hero {
        padding: 80px 0 60px;
    }

    .products-hero-visual {
        justify-content: center;
        margin-top: 40px;
    }

    .phv-card {
        max-width: 100%;
    }
}

@media (max-width: 575px) {
    .products-hero-actions {
        flex-direction: column;
    }

    .products-hero-actions .btn-main,
    .products-hero-actions .btn-ghost {
        text-align: center;
        justify-content: center;
    }
}