.bowim-stock-card,
.bowim-stock-card * {
    box-sizing: border-box;
}

.bowim-stock-card {
    width: min(100%, 720px);
    margin: 28px auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr .72fr;
    grid-template-areas:
        "brand quote change"
        "meta meta meta";
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(17, 24, 39, .10);
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .13);
    font-family: inherit;
    line-height: 1.2;
}

.bowim-stock-card__brand {
    grid-area: brand;
    min-width: 0;
    padding: 21px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #aa0000 0%, #d00000 100%);
    color: #fff;
}

.bowim-stock-card__eyebrow {
    margin-bottom: 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .72);
}

.bowim-stock-card__company {
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.bowim-stock-card__quote,
.bowim-stock-card__change {
    min-width: 0;
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bowim-stock-card__quote {
    grid-area: quote;
    border-right: 1px solid #eceff2;
}

.bowim-stock-card__change {
    grid-area: change;
    background: #f7f8fa;
}

.bowim-stock-card__label {
    margin-bottom: 7px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #747b86;
}

.bowim-stock-card__price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    min-width: 0;
    white-space: nowrap;
    color: #14171b;
}

.bowim-stock-card__price strong {
    font-size: clamp(30px, 4vw, 39px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.04em;
}

.bowim-stock-card__price span {
    font-size: 12px;
    font-weight: 800;
    color: #737b86;
}

.bowim-stock-card__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    min-height: 36px;
    padding: 8px 13px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.bowim-stock-card__badge.is-positive {
    background: #e7f7ed;
    color: #08783a;
}

.bowim-stock-card__badge.is-negative {
    background: #fdeaea;
    color: #b42318;
}

.bowim-stock-card__badge.is-neutral {
    background: #edf0f3;
    color: #555d68;
}

.bowim-stock-card__meta {
    grid-area: meta;
    min-width: 0;
    padding: 10px 17px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    border-top: 1px solid #eceff2;
    background: #fff;
    font-size: 10px;
    color: #8a9098;
}

.bowim-stock-card__meta strong {
    font-size: 10px;
    font-weight: 700;
    color: #5e6570;
}

@media (max-width: 767px) {
    body .bowim-stock-card {
        width: 278px !important;
        max-width: calc(100vw - 48px) !important;
        min-width: 0 !important;
        margin: 18px auto !important;
        position: relative !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        grid-template-columns: minmax(0, 1.55fr) minmax(86px, .75fr);
        grid-template-areas:
            "brand brand"
            "quote change"
            "meta meta";
        border-radius: 12px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
    }

    body .bowim-stock-card__brand {
        min-height: 44px;
        padding: 8px 12px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

    body .bowim-stock-card__company {
        order: 1;
        font-size: 14px;
        line-height: 1;
        letter-spacing: -.015em;
        white-space: nowrap;
    }

    body .bowim-stock-card__eyebrow {
        order: 2;
        margin: 0;
        font-size: 6.8px;
        line-height: 1;
        letter-spacing: .08em;
        text-align: right;
        white-space: nowrap;
        color: rgba(255, 255, 255, .78);
    }

    body .bowim-stock-card__quote,
    body .bowim-stock-card__change {
        min-height: 72px;
    }

    body .bowim-stock-card__quote {
        padding: 11px 7px 10px 12px;
        align-items: flex-start;
        border-right: 1px solid #eef0f2;
    }

    body .bowim-stock-card__change {
        padding: 11px 9px 10px 9px;
        align-items: flex-start;
        background: #fff;
    }

    body .bowim-stock-card__label {
        margin-bottom: 5px;
        font-size: 7.5px;
        line-height: 1.1;
        letter-spacing: .06em;
    }

    body .bowim-stock-card__price {
        gap: 4px;
    }

    body .bowim-stock-card__price strong {
        font-size: 28px;
        line-height: 1;
        letter-spacing: -.04em;
    }

    body .bowim-stock-card__price span {
        font-size: 9px;
    }

    body .bowim-stock-card__badge {
        min-height: 28px;
        padding: 6px 8px;
        font-size: 11.5px;
    }

    body .bowim-stock-card__meta {
        min-height: 28px;
        padding: 6px 11px;
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 4px;
        font-size: 7.4px;
        line-height: 1.1;
        white-space: nowrap;
    }

    body .bowim-stock-card__meta strong {
        font-size: 7.4px;
    }
}

@media (max-width: 340px) {
    body .bowim-stock-card {
        width: 268px !important;
        max-width: calc(100vw - 32px) !important;
    }

    body .bowim-stock-card__company {
        font-size: 13px;
    }

    body .bowim-stock-card__eyebrow {
        font-size: 6.3px;
    }

    body .bowim-stock-card__price strong {
        font-size: 26px;
    }
}
