
/* Product cards on the home page. The grid supports nine cards (3 x 3) on desktop. */
.products-section { padding: 88px 0; background: var(--paper); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.product-view-more-wrap { display: flex; justify-content: center; margin-top: 32px; }
.product-card { position: relative; display: flex; flex-direction: column; overflow: visible; background: var(--white); border: 1px solid var(--paper-dim); border-radius: var(--radius); box-shadow: 0 8px 22px rgba(18,24,31,.05); }
.product-badge { position: absolute; z-index: 1; top: 14px; left: 14px; padding: 5px 9px; color: var(--white); background: var(--ink); border-radius: 999px; font: 600 11px var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }
.product-img-wrap { display: grid; place-items: center; aspect-ratio: 1 / 1; overflow: hidden; background: linear-gradient(135deg, #f7f8f5, var(--paper)); border-radius: var(--radius) var(--radius) 0 0; }
.product-img-wrap img { width: 100%; height: 100%; object-fit: contain; padding: 22px; }
.product-img-placeholder { color: var(--signal-dark); }
.product-img-placeholder svg { width: 108px; height: 108px; fill: rgba(255,90,31,.1); stroke: currentColor; stroke-width: 1.3; }
.product-content { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.product-category { color: var(--signal-dark); font: 600 11px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.product-title { margin: 8px 0; font-size: 20px; }
.product-desc { color: var(--steel); font-size: 14.5px; }
.product-specs { margin: 18px 0; padding-top: 14px; border-top: 1px solid var(--paper-dim); color: var(--steel); font-size: 13px; }
.product-specs li + li { margin-top: 7px; }
.product-specs strong { color: var(--ink); }
.product-actions { display: flex; gap: 10px; margin-top: auto; }
.btn-sm { padding: 10px 13px; font-size: 13px; }
.product-actions > .btn { flex: 1; }
.hover-enquiry-wrapper { position: relative; flex: 1; }
.btn-enquire { width: 100%; }
.hover-form-popover { position: absolute; z-index: 20; right: 0; bottom: calc(100% + 10px); width: min(310px, calc(100vw - 36px)); padding: 16px; background: var(--white); border: 1px solid var(--paper-dim); border-radius: 9px; box-shadow: 0 16px 38px rgba(18,24,31,.2); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s ease, transform .18s ease, visibility .18s ease; }
.hover-enquiry-wrapper.is-open .hover-form-popover { opacity: 1; visibility: visible; transform: translateY(0); }
.popover-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.popover-header h4 { margin: 0; font-size: 15px; }
.close-btn { width: 28px; height: 28px; border: 0; border-radius: 50%; background: var(--paper); color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; }
.quick-item-label { margin: 8px 0 10px; color: var(--steel); font-size: 12px; }
.form-group-sm { margin-bottom: 8px; }
.form-group-sm input, .form-group-sm textarea { width: 100%; padding: 9px 10px; border: 1px solid var(--paper-dim); border-radius: 6px; font: 13px var(--font-body); }
.form-group-sm textarea { resize: vertical; }
.quick-form-feedback { min-height: 0; margin: 8px 0 0; color: var(--ready); font-size: 12px; }
@media (max-width: 900px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
    .products-section { padding: 64px 0; }
    .product-grid { grid-template-columns: 1fr; }
    .product-actions { flex-direction: column; }
    .product-actions > .btn { width: 100%; }
}
