/* ------------------------------------------------------------------ */
/* Extra building blocks for the product pages (/trade,               */
/* /ev-charger-monitoring). Load after home.css; scoped under .ivh.   */
/* ------------------------------------------------------------------ */

/* Two-column hero: text left, picture right */
.ivh .ivh-hero2 {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 2rem;
    align-items: center;
    text-align: left;
    padding: 2.5rem 0 1rem;
}

    .ivh .ivh-hero2 .ivh-title { margin-left: 0; max-width: none; }
    .ivh .ivh-hero2 .ivh-lead { margin-left: 0; }
    .ivh .ivh-hero2 .ivh-eyebrow { margin-top: 0; text-transform: uppercase; }

/* Buttons */
.ivh .ivh-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.25rem 0 0;
}

.ivh-hero2 .ivh-actions { justify-content: flex-start; }
.ivh-section > .ivh-actions { justify-content: center; }

.ivh a.ivh-btn {
    display: inline-block;
    padding: 0.65rem 1.2rem;
    border-radius: 999px;
    border: 1.5px solid var(--c, var(--ivh-blue));
    background: var(--c, var(--ivh-blue));
    color: #000;
    font-family: IvampRegular, var(--ivh-body);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
}

    .ivh a.ivh-btn:hover { filter: brightness(1.12); color: #000; }

.ivh a.ivh-btn.ghost {
    background: color-mix(in srgb, var(--c, var(--ivh-blue)) 18%, transparent);
    color: #fff;
}

    .ivh a.ivh-btn.ghost:hover { background: color-mix(in srgb, var(--c, var(--ivh-blue)) 38%, transparent); }

/* Grids */
.ivh-two, .ivh-three {
    display: grid;
    gap: 1rem;
    text-align: left;
}

.ivh-two { grid-template-columns: repeat(2, 1fr); }
.ivh-three { grid-template-columns: repeat(3, 1fr); }
.ivh-five { grid-template-columns: repeat(5, 1fr); }

/* A tinted band for "on the job" / "any make" */
.ivh-band {
    margin: 2.5rem 0 0.5rem;
    padding: 2rem 1.6rem;
    border-radius: 16px;
    border: 1px solid rgba(43, 140, 255, 0.35);
    background: linear-gradient(135deg, rgba(43, 140, 255, 0.12), rgba(167, 123, 255, 0.10)), #070b14;
}

    .ivh .ivh-band h3 {
        font-family: IvampRegular, var(--ivh-body);
        font-size: 1.05rem;
        color: #fff;
        margin: 0 0 0.45rem;
    }

    .ivh .ivh-band p {
        font-family: var(--ivh-body);
        color: var(--ivh-text);
        line-height: 1.6;
        margin: 0 0 0.7rem;
    }

.ivh .ivh-band ul.ivh-ticks, .ivh-band .ivh-ticks { --c: var(--ivh-green); max-width: 52em; margin: 1rem auto 0; text-align: left; }

.ivh .ivh-intro {
    font-family: var(--ivh-body);
    color: var(--ivh-muted);
    line-height: 1.6;
    max-width: 48em;
    margin: -0.5rem auto 1.25rem;
}

.ivh a { color: var(--ivh-cyan); }

.ivh .ivh-small {
    font-family: var(--ivh-body);
    font-size: 0.85rem;
    color: var(--ivh-muted);
    line-height: 1.5;
}

/* Brand chips */
.ivh-chiprow {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem 0 0;
}

    .ivh-chiprow span {
        padding: 0.35rem 0.85rem;
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, 0.25);
        background: rgba(255, 255, 255, 0.06);
        font-family: var(--ivh-body);
        font-size: 0.9rem;
        color: #fff;
    }

/* Price line */
.ivh .ivh-bigprice {
    font-family: FlowRegular, var(--ivh-body);
    font-size: 1.4rem !important;
    color: #fff !important;
    margin: 0.2rem 0 0.7rem !important;
}

.ivh .ivh-box p + p { margin-top: 0.7rem; }

/* Reading-card illustration (EV hero) */
.ivh-mock {
    max-width: 380px;
    margin: 0 auto;
    padding: 1.2rem 1.3rem;
    border-radius: 18px;
    border: 1px solid rgba(54, 194, 90, 0.5);
    background: linear-gradient(160deg, rgba(54, 194, 90, 0.18), rgba(43, 140, 255, 0.08)), #08101a;
    box-shadow: 0 0 40px rgba(54, 194, 90, 0.18);
    font-family: var(--ivh-body);
    text-align: left;
}

.ivh-mock-head { display: flex; justify-content: space-between; color: var(--ivh-muted); font-size: 0.9rem; }
.ivh-mock-live { color: var(--ivh-green); font-weight: 700; }
.ivh-mock-value { font-size: 3rem; font-weight: 700; color: #fff; margin-top: 0.4rem; line-height: 1.1; }
    .ivh-mock-value small { font-size: 1.1rem; color: var(--ivh-muted); font-weight: 600; }
.ivh-mock-sub { color: var(--ivh-green); font-weight: 600; }
.ivh-mock-bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.1); margin: 0.8rem 0 1rem; overflow: hidden; }
    .ivh-mock-bar span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #36c25a, #2fd3a6); }
.ivh-mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
    .ivh-mock-stats b { display: block; color: #fff; font-size: 0.95rem; }
    .ivh-mock-stats span { color: var(--ivh-muted); font-size: 0.75rem; }

/* Table */
.ivh-tablewrap { overflow-x: auto; margin: 0 0 1rem; }

.ivh-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--ivh-body);
    font-size: 0.93rem;
    text-align: left;
    color: var(--ivh-text);
}

    .ivh-table th, .ivh-table td { padding: 0.7rem 0.8rem; border-bottom: 1px solid rgba(255, 255, 255, 0.12); vertical-align: top; }
    .ivh-table th { color: var(--ivh-cyan); font-weight: 600; background: rgba(52, 211, 240, 0.08); }
    .ivh-table strong { color: #fff; }

/* FAQ */
.ivh-faq { max-width: 52em; margin: 0 auto; text-align: left; font-family: var(--ivh-body); }

    .ivh-faq details {
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 12px;
        background: #0b0d12;
        margin: 0 0 0.6rem;
        padding: 0.2rem 1rem;
    }

    .ivh-faq summary { cursor: pointer; padding: 0.7rem 0; color: #fff; font-weight: 600; }
    .ivh-faq p { color: var(--ivh-text); line-height: 1.55; margin: 0 0 0.8rem; }

/* Copy-and-paste kit */
.ivh-kit {
    text-align: left;
    border: 1px solid rgba(167, 123, 255, 0.4);
    border-radius: 14px;
    background: #0b0d12;
    padding: 1rem 1.1rem;
    font-family: var(--ivh-body);
}

.ivh-kit-head { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }
    .ivh .ivh-kit-head h3 { margin: 0; font-family: IvampRegular, var(--ivh-body); font-size: 1rem; color: var(--ivh-purple); }

.ivh-kit pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: var(--ivh-body);
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--ivh-text);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    padding: 0.8rem 0.9rem;
    margin: 0.7rem 0 0;
}

.ivh-copy {
    border: 1px solid var(--ivh-purple);
    background: rgba(167, 123, 255, 0.18);
    color: #fff;
    border-radius: 999px;
    padding: 0.3rem 0.9rem;
    font-family: var(--ivh-body);
    font-size: 0.85rem;
    cursor: pointer;
}

    .ivh-copy:hover { background: rgba(167, 123, 255, 0.35); }

/* Responsive */
@media (max-width: 1100px) {
    .ivh-five { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
    .ivh .ivh-hero2 { grid-template-columns: 1fr; }
    .ivh-two, .ivh-three, .ivh-five { grid-template-columns: 1fr; }
}
