/* Catalog cards and note grid */

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.note-card {
    overflow: hidden;
    transition: transform .18s ease, border-color .18s ease;
}

.note-card:hover {
        transform: translateY(-3px);
        border-color: #475569;
    }

.note-top {
    min-height: 112px;
    padding: 20px;
    background: #46566e;
}

.note-top.green {
        background: #1f7a52;
    }

.note-top.blue {
        background: #3155d4;
    }

.note-top.orange {
        background: #b85a00;
    }

.note-top.purple {
        background: #5b4aa0;
    }

.note-top.gray {
        background: #4b5563;
    }

.note-top .issuer {
        text-transform: uppercase;
        font-size: 11px;
        letter-spacing: .16em;
        color: rgba(255,255,255,.7);
    }

.pick-badge {
    background: rgba(0,0,0,.22);
    border-radius: 9px;
    padding: 7px 9px;
    font-size: 12px;
    font-weight: 800;
}

.note-bottom {
    padding: 15px 20px 18px;
    background: #1e293b;
    color: #a9b6cf;
    font-size: 13px;
}

.note-bottom div {
        margin: 7px 0;
    }

.catalog-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.note-card {
    background: #1e293b;
    border: 1px solid #2e3a50;
    border-radius: 18px;
    overflow: hidden;
}

.note-image-wrap {
    height: 170px;
    background: #f3f0e6;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.note-image-wrap img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 12px;
    }

.note-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    text-align: center;
    color: #fff;
    padding: 16px;
}

.note-placeholder span {
        display: block;
        font-size: 13px;
        opacity: .85;
        font-weight: 900;
    }

.note-placeholder b {
        display: block;
        font-size: 26px;
        line-height: 1.1;
    }

.note-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.note-card-head h3 {
        margin: 0 0 5px;
        color: #fff;
        font-size: 19px;
        line-height: 1.2;
    }

.note-card-head p {
        margin: 0;
        color: #9ca3af;
        font-size: 12px;
        line-height: 1.35;
    }

.note-description {
    min-height: 38px;
    color: #cbd5e1;
    line-height: 1.45;
    margin: 12px 0;
}

.note-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0 14px;
}

.note-card-meta span {
        background: #0f172a;
        border: 1px solid #334155;
        color: #cbd5e1;
        border-radius: 999px;
        padding: 6px 9px;
        font-size: 12px;
    }

.pick-badge {
    white-space: nowrap;
}

.app,
.page,
.catalog-grid,
.note-card,
.modal,
.modal-panel,
.detail-layout,
.detail-content,
.detail-images,
.variant-list,
.variant-row {
    max-width: 100%;
    box-sizing: border-box;
}

.catalog-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important;
}

.note-card {
    background: #1e293b;
    border: 1px solid #2e3a50;
    border-radius: 18px;
    overflow: hidden;
}

.note-image-wrap {
    height: 170px;
    background: #f3f0e6;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.note-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
}

.note-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    text-align: center;
    color: #fff;
    padding: 16px;
}

.note-placeholder span {
    display: block;
    font-size: 13px;
    opacity: .85;
    font-weight: 900;
}

.note-placeholder b {
    display: block;
    font-size: 26px;
    line-height: 1.1;
}

.note-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.note-card-head h3 {
    margin: 0 0 5px;
    color: #fff;
    font-size: 19px;
    line-height: 1.2;
}

.note-card-head p {
    margin: 0;
    color: #9ca3af;
    font-size: 12px;
    line-height: 1.35;
}

.note-description {
    min-height: 38px;
    color: #cbd5e1;
    line-height: 1.45;
    margin: 12px 0;
}

.note-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0 14px;
}

.note-card-meta span {
    background: #0f172a;
    border: 1px solid #334155;
    color: #cbd5e1;
    border-radius: 999px;
    padding: 6px 9px;
    font-size: 12px;
}


