/* Product pages (moved from product_detail.html) */
.product-detail-section {
    padding: 4rem 0;
    background-color: var(--light-background);
}

.product-sidebar {
    position: sticky;
    top: 120px;
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 8px 25px var(--shadow-light);
}

.product-sidebar h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 3px solid var(--primary-color);
}

.product-sidebar .nav-link {
    color: var(--text-dark);
    padding: 0.8rem 1.2rem;
    margin-bottom: 0.5rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.product-sidebar .nav-link:hover {
    background-color: var(--light-background);
    color: var(--primary-color);
}

.product-sidebar .nav-link.active {
    background-color: var(--primary-color);
    color: white;
    font-weight: 700;
}

.product-content {
    background-color: var(--bg-white);
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: 0 8px 25px var(--shadow-light);
}

.product-image-container {
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-medium);
    margin-bottom: 1.5rem;
}

.product-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: left;
}

.product-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    text-align: left;
}

.product-nav-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2.5rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2.5rem;
}

.product-nav-buttons .btn {
    font-size: 1.1rem;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
}

.product-nav-buttons .btn.active {
    background: var(--dark-background);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px var(--shadow-medium);
}

.product-info-section {
    padding-top: 5rem;
    scroll-margin-top: 120px;
}

.product-info-section h3 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.product-info-section h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.product-info-section p,
.product-info-section ul,
.spec-table {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.product-key-points {
    list-style: none;
    padding-left: 0;
}

.product-key-points li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.product-key-points .fa-check-circle {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.application-card-container {
    perspective: 1500px;
}

.application-card {
    width: 100%;
    min-height: 250px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.application-card-container:hover .application-card {
    transform: rotateY(180deg);
}

.application-card-front,
.application-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 1.5rem;
    box-shadow: 0 8px 25px var(--shadow-light);
    padding: 2rem;
    text-align: center;
}

.application-card-front {
    background: var(--dark-background);
    color: white;
}

.application-card-back {
    background-color: var(--bg-white);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    transform: rotateY(180deg);
}

.application-card .card-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.application-card h4 {
    color: inherit;
    font-size: 1.8rem;
}

.spec-table {
    border: 1px solid var(--border-color);
    text-align: center;
}

.spec-table thead th {
    background-color: var(--dark-background);
    color: var(--text-light);
}

.spec-table td:first-child {
    font-weight: 600;
    text-align: left;
    color: var(--text-dark);
}

.enquire-btn-wrapper {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

/* ---------- Added for server-rendered product pages ---------- */
.product-hero-facts { display:flex; flex-wrap:wrap; gap:.5rem; margin:1rem 0 1.25rem; }
.product-hero-facts .fact { background:var(--light-background, #f3f8f1); border:1px solid rgba(0,0,0,.06); border-radius:2rem; padding:.35rem .9rem; font-size:.92rem; font-weight:600; }
.product-cta-row { display:flex; flex-wrap:wrap; gap:.75rem; }
.btn-whatsapp { background:#25D366; color:#fff; border:none; border-radius:2rem; padding:.7rem 1.4rem; font-weight:600; }
.btn-whatsapp:hover { background:#1ebe5a; color:#fff; }
.crop-chips { display:flex; flex-wrap:wrap; gap:.5rem; list-style:none; padding:0; }
.crop-chips li { background:#fff; border:1px solid var(--primary-color, #2e7d32); color:var(--primary-color, #2e7d32); border-radius:2rem; padding:.3rem .9rem; font-size:.92rem; }
.apply-card { background:var(--light-background, #f3f8f1); border-radius:1rem; padding:1.25rem 1.5rem; height:100%; }
.apply-card h3 { font-size:1.1rem; margin-bottom:.5rem; }
.apply-card i { color:var(--primary-color, #2e7d32); margin-right:.4rem; }
.quote-box { background:#fff; border:1px solid var(--border-color); border-radius:1.5rem; padding:2rem; scroll-margin-top:120px; }
.quote-box h2 { font-size:1.6rem; }
.faq-section .accordion-button { font-weight:600; }
.faq-section .accordion-button:not(.collapsed) { background:var(--light-background, #f3f8f1); color:var(--text-dark, #222); }
.product-card { background:#fff; border-radius:1.25rem; box-shadow:0 6px 20px rgba(0,0,0,.07); overflow:hidden; height:100%; display:flex; flex-direction:column; transition:transform .2s ease, box-shadow .2s ease; }
.product-card:hover { transform:translateY(-4px); box-shadow:0 12px 30px rgba(0,0,0,.12); }
.product-card img { width:100%; aspect-ratio:4/3; object-fit:cover; background:#f6f6f6; }
.product-card .body { padding:1.1rem 1.25rem 1.4rem; display:flex; flex-direction:column; flex:1; }
.product-card h3 { font-size:1.08rem; margin-bottom:.35rem; }
.product-card h3 a { color:inherit; text-decoration:none; }
.product-card p { font-size:.93rem; color:var(--text-gray, #666); flex:1; }
.product-card .spec { font-size:.85rem; font-weight:600; color:var(--primary-color, #2e7d32); margin-bottom:.75rem; }
.category-block { margin-bottom:3.5rem; }
.seo-copy h2 { font-size:1.45rem; margin-top:2rem; }
.seo-copy p { line-height:1.8; }
.product-sidebar .nav-link.sub { font-size:.93rem; padding:.45rem 1rem; }
.pgr-note { font-size:.9rem; background:#f2f1ec; border-left:4px solid #a3b18a; padding:.75rem 1rem; border-radius:.5rem; }
@media (max-width: 991.98px) {
  .product-sidebar { position:static; }
  .product-content { padding:1.5rem; }
  .quote-box { padding:1.25rem; }
}
.trust-strip { list-style:none; padding:0; margin:1rem 0 0; display:grid; grid-template-columns:repeat(auto-fit, minmax(130px, 1fr)); gap:.75rem; }
.trust-strip li { background:#fff; border:1px solid rgba(0,0,0,.08); border-radius:1rem; padding:.8rem 1rem; text-align:center; }
.trust-strip strong { display:block; font-size:1.25rem; color:var(--primary-color, #2e7d32); }
.trust-strip span { font-size:.85rem; color:var(--text-gray, #666); }
