/* Product cards on service pages (November 2026): Omada access points on the
   Network and Wi-Fi page. Uses the variables from service-pages.css. No prices
   are shown anywhere: every product is quoted per project. */

.products-intro { max-width: 64ch; margin-top: 14px; color: var(--muted); line-height: 1.7; }

.product-group { margin-top: 38px; }
.product-group:first-of-type { margin-top: 8px; }
.product-group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-bottom: 18px; }
.product-group-head h3 { color: var(--navy); font-size: 1.15rem; }
.product-group-head p { color: var(--muted); font-size: 0.92rem; }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

.product-card {
    display: flex; flex-direction: column; overflow: hidden;
    border: 1px solid var(--border); border-radius: var(--radius);
    background: var(--white); box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.product-photo { position: relative; border-bottom: 1px solid var(--border); background: #ffffff; }
.product-photo img {
    display: block; width: 100%; height: auto;
    aspect-ratio: 4 / 3; object-fit: contain; padding: 18px;
}
.product-badge {
    position: absolute; top: 14px; left: 14px; padding: 4px 10px; border-radius: 99px;
    background: var(--accent-soft); color: var(--accent);
    font-size: 0.7rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
}

.product-body { display: flex; flex: 1; flex-direction: column; padding: 22px; }
.product-meta { color: var(--accent); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.product-card h4 { margin-top: 8px; color: var(--navy); font-size: 1.12rem; }
.product-body > p:not(.product-meta) { margin-top: 8px; color: var(--muted); font-size: 0.9rem; line-height: 1.6; }

.product-specs { display: grid; gap: 7px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); list-style: none; }
.product-specs li { position: relative; padding-left: 18px; color: var(--text); font-size: 0.86rem; line-height: 1.45; }
.product-specs li::before {
    content: ""; position: absolute; top: 0.5em; left: 2px;
    width: 7px; height: 7px; border-radius: 50%; background: var(--teal);
}

.product-note {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px;
    margin-top: 30px; padding: 20px 24px; border-radius: var(--radius);
    background: var(--accent-soft); color: var(--navy);
}
.product-note p { flex: 1 1 320px; font-size: 0.95rem; line-height: 1.6; }

@media (max-width: 1080px) {
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .product-grid { grid-template-columns: minmax(0, 1fr); }
    .product-note .btn { width: 100%; justify-content: center; }
}
