/* ===========================================================
   Products page — modern product cards, unified with the site
   design (white rounded cards, per-product accent, icon chips,
   "Zjistit více" CTA). Hover uses shadow only (no transform) so
   Safari never re-samples the logos.
   =========================================================== */

.products { background: #ffffff; }
.products--service { background: #f1f1f1; }

.products .section-head { text-align: left; margin-bottom: 40px; }
.products .section-head h2 { margin: 0; color: var(--evo-navy, #11213a); }
.products .section-head .accent-line {
    display: block;
    width: 46px;
    height: 4px;
    margin: 16px 0 0;
    background-color: var(--evo-blue, #2f55b8);
    border-radius: 2px;
}

.product-card {
    position: relative;
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 44px;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e3ebf6;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15, 45, 70, 0.05);
    padding: 34px 40px 34px 46px;
    margin-bottom: 24px;
    overflow: hidden;
    text-decoration: none;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.product-card:last-child { margin-bottom: 0; }
.product-card:hover {
    box-shadow: 0 18px 44px rgba(15, 45, 70, 0.13);
    border-color: #cdddf3;
}

/* accent bar on the left edge */
.product-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: var(--accent, var(--evo-blue, #2f55b8));
}

.product-card-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
}
.product-card-logo img {
    max-width: 190px;
    max-height: 92px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.product-card-body p {
    margin: 0 0 20px;
    color: var(--evo-text, #44546a);
    font-size: 1.06rem;
    line-height: 1.65;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}
.product-features li {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 13px;
    background: #eef3fb;
    color: var(--accent, var(--evo-blue, #2f55b8));
    font-size: 1.28rem;
}

.product-more {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-weight: 700;
    font-size: 1.06rem;
    color: var(--accent, var(--evo-blue, #2f55b8));
}
.product-more i { transition: transform 0.2s ease; }
.product-card:hover .product-more i { transform: translateX(4px); }

/* per-product accent colours (galaxii/flexii/evoDWH mirror the homepage) */
.product-galaxii { --accent: #560591; }
.product-flexii  { --accent: #21b184; }
.product-dwh     { --accent: #0c5b9e; }
.product-guard   { --accent: #14a098; }
.product-athena  { --accent: #2f55b8; }
.product-redmine { --accent: #b0130d; }

@media (max-width: 767px) {
    .product-card {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 26px 22px 26px 26px;
        text-align: center;
    }
    .product-card-logo { padding: 6px; }
    .product-features { justify-content: center; }
}
