/* SaveDeals shared deal-card title + merchant refinement.
   Scoped to deal cards so unrelated site components are unaffected. */
.deal-card .deal-store {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-width: 0;
    max-width: 100%;
    color: #4b5563;
    font-size: .78rem;
    font-weight: 600;
    line-height: 1.2;
}

.deal-card .deal-store:hover,
.deal-card .deal-store:focus-visible {
    color: #111827;
    text-decoration: none;
}

.deal-card .deal-store-logo {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    object-fit: contain;
    display: block;
    border-radius: 4px;
    background: #fff;
}

.deal-card .deal-store-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.deal-card .card-title {
    margin: 0 0 .5rem;
    font-size: 15px;
    line-height: 1.32;
    font-weight: 600;
    letter-spacing: -0.008em;
}

.deal-card .card-title a {
    color: #202124;
    text-decoration: none;
}

.deal-card .card-title a:hover,
.deal-card .card-title a:focus-visible {
    color: #111827;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

/* Keep card height consistent while preserving the complete title in HTML. */
.deal-card .card-title a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

@media (max-width: 575.98px) {
    .deal-card .deal-store {
        font-size: .75rem;
        gap: .4rem;
    }

    .deal-card .deal-store-logo {
        width: 18px;
        height: 18px;
        flex-basis: 18px;
    }

    .deal-card .card-title {
        font-size: 14px;
        line-height: 1.32;
        letter-spacing: -0.006em;
    }
}
