.products-hero {
    background: linear-gradient(to right, #020617, #1e293b);
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.product-section {
    padding: 4rem 0;
}

.product-section h2 {
    margin-bottom: 2rem;
    color: #0f172a;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 6px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.product-card h3 {
    margin-bottom: 1rem;
    color: #1e293b;
}

.product-card ul {
    padding-left: 1.2rem;
}

.product-card li {
    margin-bottom: 0.4rem;
}

.product-card.detailed {
    max-width: 900px;
}

.highlight {
    font-weight: 600;
    margin-bottom: 1rem;
}

.two-column {
    columns: 2;
}

.simple-list {
    list-style: disc;
    padding-left: 1.5rem;
}

@media (max-width: 768px) {
    .two-column {
        columns: 1;
    }
}
.product-card.interactive:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.more-info {
    display: none;
}

.product-card.active .more-info {
    display: block;
}
/* ================= PRODUCT CARD IMAGES ================= */

.product-card img {
    width: 100%;
    height: 220px;              /* Fixed visual height */
    object-fit: cover;          /* Crops without distortion */
    object-position: center;    /* Keeps subject centered */
    background-color: #f1f5f9;  /* Fallback if image fails */
    display: block;
}
/* ================= PRODUCT DETAIL PAGE ================= */

.product-detail {
    padding: 4rem 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.product-image img {
    width: 100%;
    max-height: 420px;          /* Prevents over-tall images */
    object-fit: contain;        /* Shows full equipment */
    background-color: #f8fafc;
    border-radius: 6px;
    padding: 1rem;
}
@media (max-width: 768px) {
    .product-card img {
        height: 180px;
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
    }

    .product-image img {
        max-height: 300px;
    }
}


/* ================= PRODUCT HERO ================= */

.product-hero {
    background: linear-gradient(to right, #020617, #1e293b);
    color: #ffffff;
    padding: 4rem 0;
}

.product-hero h1 {
    margin-bottom: 0.8rem;
}

.product-hero p {
    max-width: 700px;
    color: #cbd5e1;
}

/* ================= OVERVIEW ================= */

.product-overview {
    padding: 3rem 0;
}

.product-overview h2 {
    margin-bottom: 1rem;
    color: #0f172a;
}

/* ================= PRODUCT DETAIL ================= */

.product-detail {
    padding: 4rem 0;
    background: #f8fafc;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

/* Specs List */
.spec-list {
    list-style: none;
    margin-top: 1rem;
}

.spec-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.7rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.spec-list span {
    color: #475569;
}

.spec-list strong {
    color: #0f172a;
}

/* ================= APPLICATIONS ================= */

.product-applications {
    padding: 4rem 0;
}

.application-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.application-card {
    background: #ffffff;
    padding: 1.5rem;
    border-left: 4px solid #2563eb;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* CTA */
.enquire-btn {
    display: inline-block;
    margin-top: 2rem;
}

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

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

    .spec-list li {
        flex-direction: column;
        gap: 0.3rem;
    }
}

.breadcrumb {
    background: #f1f5f9;
    padding: 0.8rem 0;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #2563eb;
    text-decoration: none;
}

.breadcrumb span {
    margin: 0 0.4rem;
    color: #64748b;
}


.related-products {
    padding: 4rem 0;
    background: #f8fafc;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.related-card {
    background: #fff;
    padding: 1rem;
    text-align: center;
    text-decoration: none;
    color: #0f172a;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);
}

.related-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    margin-bottom: 0.8rem;
}
.thumbnail-row {
    display: flex;
    gap: 0.6rem;
    margin-top: 1rem;
}

.thumbnail-row img {
    width: 70px;
    height: 60px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
}

.thumbnail-row img:hover {
    border-color: #2563eb;
}


.product-enquiry {
    background: linear-gradient(to right, #020617, #1e293b);
    color: #ffffff;
    padding: 4rem 0;
    text-align: center;
}

.enquiry-box p {
    max-width: 600px;
    margin: 1rem auto 2rem;
    color: #cbd5e1;
}
.whatsapp-btn {
    display: inline-block;
    background: #25D366;
    color: #ffffff;
    padding: 0.9rem 1.6rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    margin-left: 1rem;
}

.whatsapp-btn:hover {
    background: #1ebe5d;
}
.thumbnail-row img.active-thumb {
    border-color: #2563eb;
}
.product-card.linked {
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card.linked:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.15);
}

.product-link {
    font-weight: 600;
    color: #2563eb;
}
/* ================= PRODUCTS LAYOUT ================= */

.products-layout {
    display: flex;
    align-items: flex-start;
}

/* ================= SIDEBAR ================= */

.product-sidebar {
    width: 260px;
    position: sticky;
    top: 100px;
    padding: 2rem 1.5rem;
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
    height: fit-content;
}

.product-sidebar h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #0f172a;
}

.product-sidebar ul {
    list-style: none;
    padding: 0;
}

.product-sidebar li {
    margin-bottom: 0.8rem;
}

.product-sidebar a {
    text-decoration: none;
    color: #334155;
    font-weight: 500;
}

.product-sidebar a:hover {
    color: #2563eb;
}

/* ================= MAIN CONTENT ================= */

.products-content {
    flex: 1;
}

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

@media (max-width: 1024px) {
    .product-sidebar {
        display: none;
    }

    .products-layout {
        flex-direction: column;
    }
}
html {
    scroll-behavior: smooth;
}


/* ================= SIDEBAR (ENHANCED) ================= */

.product-sidebar {
    width: 270px;
    position: sticky;
    top: 110px;
    padding: 2rem 1.5rem;
    background: linear-gradient(180deg, #f8fafc, #f1f5f9);
    border-right: 1px solid #e2e8f0;
    height: fit-content;
}

/* Title */
.product-sidebar h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: #020617;
    letter-spacing: 0.3px;
}

/* Category List */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 0.9rem;
}

/* Links */
.category-list a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: #334155;
    font-weight: 500;
    padding: 0.4rem 0;
    transition: color 0.25s ease;
    /* border-bottom: #334155 1px solid; */

}

.category-list a:hover {
    color: #2563eb;
    /* border-bottom: #2563eb 1px solid; */

}

/* Dot Indicator */
.cat-dot {
    display: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #94a3b8;
    flex-shrink: 0;
    transition: background 0.25s ease;
}

.category-list a:hover .cat-dot {
    background: #2563eb;
}

/* Divider */
.sidebar-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 1.5rem 0;
    /* border-bottom: #020617 2px dashed; */
}

/* Note */
.sidebar-note {
    display: none;
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.4;
}

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

@media (max-width: 1024px) {
    .product-sidebar {
        display: none;
    }
}
