/* NFO Product Grid 鈥?replicates the original static Elementor cards (see local-backups/baseline-static-grid-measurements.json).
 * Columns / gap / image height / colours are overridden by the widget's Elementor controls. */
.nfo-pg { --nfo-pg-text: #593B2E; --nfo-pg-btn-bg: #593B2E; --nfo-pg-btn-color: #F8F1EB; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; width: 100%; }
@media (max-width: 1024px) { .nfo-pg { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .nfo-pg { grid-template-columns: repeat(1, minmax(0, 1fr)); } }

.nfo-pg .nfo-pg__card { position: relative; display: flex; flex-direction: column; gap: 20px; min-width: 0; margin: 0; padding: 0 0 60px; }

.nfo-pg .nfo-pg__img { margin: 0; padding: 0; }
.nfo-pg .nfo-pg__img a { display: block; }
.nfo-pg .nfo-pg__img img { display: block; width: 100%; max-width: 100%; height: 326px; margin: 0; object-fit: cover; border-radius: 4px; }

.nfo-pg .nfo-pg__title { margin: 0; padding: 0; font-family: Futura, sans-serif; font-size: 14px; font-weight: 600; line-height: 1.3; letter-spacing: 1.4px; text-transform: uppercase; text-align: center; color: var(--nfo-pg-text); }

.nfo-pg .nfo-pg__sub { align-self: center; width: 67%; margin: 0; padding: 0; font-family: Futura, sans-serif; font-size: 12px; font-weight: 400; letter-spacing: normal; text-transform: capitalize; text-align: center; color: var(--nfo-pg-text); /* line-height is inherited from the theme, exactly like the original static cards */ }
.nfo-pg .nfo-pg__sub--tight { line-height: 1.4; }
@media (max-width: 1024px) { .nfo-pg .nfo-pg__sub { width: 100%; max-width: 313.68px; } }

/* button row: pinned to the bottom of the card; the text button (Add to Quote) stays centred, the add-to-cart icon sits to its right */
.nfo-pg .nfo-pg__actions { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; align-items: center; gap: 8px; }

.nfo-pg .nfo-pg__btn { flex: 0 0 auto; display: inline-block; box-sizing: border-box; height: auto; min-height: 0; margin: 0; padding: 12px 24px; border: 0; border-radius: 4px; background: var(--nfo-pg-btn-bg); color: var(--nfo-pg-btn-color); font-family: Futura, sans-serif; font-size: 12px; font-weight: 700; line-height: 12px; letter-spacing: 1.4px; text-transform: uppercase; text-align: center; text-decoration: none; box-shadow: none; -webkit-appearance: none; appearance: none; transition: all .3s; cursor: pointer; }
.nfo-pg .nfo-pg__btn, .nfo-pg .nfo-pg__btn:hover, .nfo-pg .nfo-pg__btn:focus, .nfo-pg .nfo-pg__btn:visited { text-decoration: none !important; }
.nfo-pg .nfo-pg__btn:hover, .nfo-pg .nfo-pg__btn:focus, .nfo-pg .nfo-pg__btn:visited { color: #fff; }
.nfo-pg .nfo-pg__icon.loading { opacity: .6; pointer-events: none; }
.nfo-pg .nfo-pg__icon.loading::after, .nfo-pg .nfo-pg__icon.added::after { content: none; }
.nfo-pg .added_to_cart { display: none !important; } /* WooCommerce injects a "View basket" link after AJAX add; the side cart replaces it. */

.nfo-pg .nfo-pg__icon { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; width: 36px; height: 36px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 4px; background: var(--nfo-pg-btn-bg); color: var(--nfo-pg-btn-color); box-shadow: none; transition: all .3s; cursor: pointer; }
.nfo-pg .nfo-pg__icon:hover, .nfo-pg .nfo-pg__icon:focus { background: var(--nfo-pg-btn-bg); color: #fff; }
.nfo-pg .nfo-pg__icon, .nfo-pg .nfo-pg__icon:hover, .nfo-pg .nfo-pg__icon:focus { text-decoration: none !important; }
.nfo-pg .nfo-pg__icon svg { display: block; }
