/* ========== 商品カード共通CSS ========== */

.wrapper.grid {
    display: grid;
    gap: 1.5rem 1rem;
    grid-template-columns: repeat(2, 1fr);
    text-align: center;
}

.item {
    text-align: center;
}

.item img {
    aspect-ratio: 1 / 1;
    object-fit: contain;
    width: 100%;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #ddd;
}

.item p {
    font-size: 0.875rem;
    line-height: 1.6;
    margin-top: 0.5rem;
    color: #393939;
}

.price {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 0.4em;
    margin-top: 0.3em;
}

.price strong {
    font-size: 1.1em;
    color: #d00;
    font-weight: bold;
    line-height: 1;
}

.price img.offer-icon {
    height: 1.4em;
    width: auto;
    display: inline-block;
    border: none;
    border-radius: 0;
    background: transparent;
    margin-bottom: -0.1em;
}

@media (min-width: 768px) {
    .wrapper.grid {
        gap: 3rem 2rem;
        grid-template-columns: repeat(4, 1fr);
    }

    .item img {
        margin-bottom: 0.5rem;
    }

    .item p {
        font-size: 0.875rem;
        min-height: 2em;
    }
}