.iam-related-stores {
    box-sizing: border-box;
    width: 100%;
    margin: 28px 0 36px;
    padding: 26px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(17, 24, 39, 0.055);
}

.iam-related-stores *,
.iam-related-stores *::before,
.iam-related-stores *::after {
    box-sizing: border-box;
}

.iam-related-stores__intro {
    margin-bottom: 20px;
}

.iam-related-stores__eyebrow {
    display: inline-block;
    margin-bottom: 5px;
    color: #6d7f0d;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.iam-related-stores__intro h2 {
    margin: 0 0 6px;
    font-size: clamp(22px, 2vw, 30px);
    line-height: 1.2;
}

.iam-related-stores__intro p {
    margin: 0;
    color: #667085;
    font-size: 15px;
}

.iam-related-stores__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.iam-related-stores__card {
    display: flex;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e8eaed;
    border-radius: 13px;
    background: #fafafa;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.iam-related-stores__card:hover {
    transform: translateY(-2px);
    border-color: #d9ddbf;
    box-shadow: 0 8px 20px rgba(17, 24, 39, .08);
}

.iam-related-stores__image-link {
    flex: 0 0 94px;
    min-height: 132px;
    background: #f1f2f3;
}

.iam-related-stores__image-link img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 132px;
    object-fit: cover;
}

.iam-related-stores__card-body {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    padding: 15px;
}

.iam-related-stores__card-body h3 {
    margin: 0 0 6px;
    font-size: 17px;
    line-height: 1.3;
}

.iam-related-stores__card-body h3 a {
    color: #1f2937;
    text-decoration: none;
}

.iam-related-stores__card-body p {
    margin: 0 0 12px;
    color: #667085;
    font-size: 13px;
    line-height: 1.5;
}

.iam-related-stores__button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    align-self: flex-start;
    margin-top: auto;
    color: #6d7f0d;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.iam-related-stores__button:hover,
.iam-related-stores__button:focus {
    color: #4f5f07;
    text-decoration: underline;
}

@media (max-width: 640px) {
    .iam-related-stores {
        margin: 20px 0 28px;
        padding: 18px;
        border-radius: 12px;
    }

    .iam-related-stores__grid {
        grid-template-columns: 1fr;
    }

    .iam-related-stores__image-link {
        flex-basis: 84px;
        min-height: 120px;
    }

    .iam-related-stores__image-link img {
        min-height: 120px;
    }
}

/* v1.0.2: keep the related-store panel grouped with IAM Follow Artist. */
.iam-related-stores.iam-related-stores--after-follow {
    margin-top: 14px;
    margin-bottom: 22px;
}

/* v1.0.3: deterministic placement directly beneath the live IAM Follow Artist card. */
.iam-related-stores[data-iam-ras-placement="follow"] {
    clear: both;
    width: 100%;
    margin-top: 14px;
    margin-bottom: 22px;
}
