:root{
    --status-available: #1e90ff;
    --status-reserved: #ffb300;
    --status-sold: #9e9e9e;
}
a.item-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex: 1;
    gap: 0.6rem;
}

.item-thumb-wrap {
    width: 100px;
    height: 100px;
    border-radius: 2px;
    overflow: hidden;
    background: #eee;
    flex-shrink: 0;
}

.item-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.item-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.item-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .5rem;
}

.item-id {
    font-size: 0.75rem;
    color: #777;
}

.item-title {
    font-size: 0.88rem;
    /* font-weight: 600; */
    margin-top: 0.1rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.item-price {
    font-size: 18px;
    font-weight: 700;
}

.item-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}


.item-new {
    font-size: 0.7rem;
    padding: 0 0.35rem;
    border-radius: 2px;
    background: #ff5252;
    color: #fff;
    font-weight: 600;
    height: 20px;
    line-height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    justify-content: flex-end;
    /* 左寄せにしたければ flex-start */
}

.item-tags-wrap {
    display: flex;
    flex-wrap: nowrap;
    /* 改行させない */
    gap: 0.25rem;
    overflow-x: auto;
    /* 横スクロール */
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    /* 親の中で収まるように */
    /* position: relative; */
}

.item-tags-wrap::-webkit-scrollbar {
    display: none;
}

.item-tag {
    font-size: 0.72rem;
    padding: 0 0.45rem;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 2px;
    border: 1px solid #ddd;
    background: #fafafa;
}


.status-badge {
    font-size: 0.8rem;
    padding: 0.15rem 0.75rem;
    border-radius: 2px;
    color: #fff;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.status-available {
    background: var(--status-available);
}

.status-reserved {
    background: var(--status-reserved);
}

.status-sold {
    background: var(--status-sold);
}