.content > .related-prices,
.related-prices {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    align-self: stretch;
    margin: 20px 0;
}

.related-prices__panel {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 0;
    overflow: hidden;
    border-radius: 10px;
    background: #fff;
}

.related-prices .related-prices__heading {
    margin: 0;
    padding: 13px 18px;
    border: 0;
    border-bottom: 1px solid #ededed;
    font-family: AGKornelia, Georgia, serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: #000;
}

.related-prices__items {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 18px 5px;
}

.related-prices__card {
    box-sizing: border-box;
    display: flex;
    width: 33.333333%;
    min-width: 0;
    margin: 0;
}

.related-prices__card + .related-prices__card {
    border-left: 1px solid #ededed;
}

.related-prices .related-prices__link {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 4px 12px 8px;
    color: #000;
    text-decoration: none;
}

.related-prices__image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 180px;
}

.related-prices__image img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.related-prices__name {
    display: block;
    margin-top: 16px;
    font-family: AGKornelia, Georgia, serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    overflow-wrap: break-word;
    transition: color .2s ease;
}

.related-prices__link:hover .related-prices__name { color: #b46a00; }
.related-prices__link:focus-visible {
    outline: 2px solid #b46a00;
    outline-offset: -3px;
    border-radius: 10px;
}

@media (max-width: 600px) {
    .related-prices__items { padding: 14px 0; }
    .related-prices__card { width: 100%; }
    .related-prices__card + .related-prices__card {
        margin-top: 14px;
        padding-top: 14px;
        border-left: 0;
        border-top: 1px solid #ededed;
    }
    .related-prices .related-prices__heading { font-size: 18px; padding: 12px 18px; }
    .related-prices__image { height: 180px; }
    .related-prices__name { font-size: 17px; }
}
