.backalley-art-page .alley-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 18px;
}

.backalley-item-card {
    background: #02060c;
    border: 1px solid #17304c;
    min-width: 0;
    overflow: hidden;
}

.backalley-item-art {
    aspect-ratio: 16 / 7;
    background: #000;
    border-bottom: 1px solid #17304c;
    overflow: hidden;
    position: relative;
}

.backalley-item-art::after {
    background: linear-gradient(to bottom, transparent 65%, rgba(0, 0, 0, 0.42));
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.backalley-item-art img {
    display: block;
    height: 100%;
    object-fit: cover;
    object-position: center;
    width: 100%;
}

.backalley-item-content {
    padding: 16px;
}

.backalley-item-content .item-name {
    font-size: 25px;
}

.backalley-item-stats {
    border-bottom: 1px solid #13243a;
    border-top: 1px solid #13243a;
    display: grid;
    margin: 15px 0 16px;
}

.backalley-item-stats > div {
    align-items: center;
    border-bottom: 1px solid #0d1b2d;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    min-width: 0;
    padding: 9px 0;
}

.backalley-item-stats > div:last-child {
    border-bottom: 0;
}

.backalley-item-stats span {
    color: #7598c7;
}

.backalley-item-stats strong {
    color: #f4f7ff;
    text-align: right;
}

.backalley-item-note {
    color: #86a7d1;
    line-height: 1.45;
    min-height: 42px;
}

.backalley-buy-row {
    grid-template-columns: 1fr;
}

.backalley-store-actions {
    display: grid;
    gap: 9px;
    grid-template-columns: minmax(0, 1fr) auto;
}

.backalley-store-actions button {
    min-width: 92px;
    white-space: nowrap;
}

.item-tag.backalley-tag-weed {
    border-color: #225f43;
    color: #4de59a;
}

.item-tag.backalley-tag-crack {
    border-color: #735816;
    color: #ffd15f;
}

.item-tag.backalley-tag-stims {
    border-color: #225d96;
    color: #69b7ff;
}

@media (max-width: 1350px) {
    .backalley-art-page .alley-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .backalley-art-page .alley-grid {
        grid-template-columns: 1fr;
    }

    .backalley-item-content {
        padding: 14px;
    }
}
