.vip-card-grid {
    display: grid;
    grid-template-columns: repeat(var(--vip-columns, 3), 1fr);
    gap: 20px;
    margin: 24px 0;
}

@media (max-width: 700px) {
    .vip-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 460px) {
    .vip-card-grid {
        grid-template-columns: 1fr;
    }
}

.vip-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.vip-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.14);
}

.vip-card__image-wrap {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #eee;
}
.vip-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.vip-card__image--blurred {
    filter: blur(14px) brightness(0.8);
    transform: scale(1.1);
}

.vip-card__unlock-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #d4af37;
    color: #14161a;
    border: none;
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
}
.vip-card__unlock-btn:hover {
    background: #c19b2e;
}
.vip-card__unlock-btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

.vip-card__title {
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.vip-card--unlocked .vip-card__image-wrap::after {
    content: "✓ Unlocked";
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(20,22,26,0.85);
    color: #d4af37;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 999px;
}

/* Search form */
.vip-card-search {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}
.vip-card-search input[type="text"],
.vip-card-search select {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}
.vip-card-search button {
    padding: 8px 18px;
    background: #14161a;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}
.vip-card-search button:hover {
    background: #d4af37;
    color: #14161a;
}

.vip-card-meta {
    margin-top: 16px;
    padding: 14px;
    background: #f7f7f7;
    border-radius: 8px;
}
.vip-card-meta p {
    margin: 4px 0;
}

/* ==========================================================================
   v2 additions — Collection page, unlock box, progress bar, preview gallery
   ========================================================================== */

.vip-card__photo-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(20,22,26,0.85);
    color: #fff;
    font-size: 12px;
    padding: 3px 9px;
    border-radius: 999px;
}

.vip-preview-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
    margin: 24px 0;
}
.vip-preview-gallery__img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 8px;
}

.vip-unlock-box {
    background: #14161a;
    color: #fff;
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
    text-align: center;
    max-width: 420px;
}

.vip-unlock-box__status {
    font-size: 14px;
    margin-bottom: 12px;
    color: #ddd;
}

.vip-unlock-box__insufficient {
    color: #e8b84b;
    font-weight: 700;
    letter-spacing: 0.05em;
    font-size: 13px;
}

.vip-progress-bar {
    width: 100%;
    height: 8px;
    background: #2a2d33;
    border-radius: 999px;
    overflow: hidden;
    margin: 10px 0;
}
.vip-progress-bar__fill {
    height: 100%;
    background: linear-gradient(90deg, #d4af37, #e8c96a);
    border-radius: 999px;
    transition: width 0.3s ease;
}

.vip-unlock-box__balance {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 16px;
}

.vip-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #d4af37;
    color: #14161a;
    font-weight: 700;
    padding: 12px 22px;
    border-radius: 999px;
    border: none;
    text-decoration: none;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s ease;
}
.vip-download-btn:hover {
    background: #e8c96a;
    color: #14161a;
}
.vip-download-btn--get-points {
    background: #2a2d33;
    color: #fff;
}
.vip-download-btn--get-points:hover {
    background: #3a3d45;
    color: #fff;
}

.vip-buy-full-box {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #2a2d33;
}
.vip-buy-full-box__label {
    font-size: 13px;
    color: #999;
    margin-bottom: 8px;
}
.vip-buy-full-box__price {
    display: block;
    color: #d4af37;
    font-weight: 700;
    text-decoration: none;
    font-size: 16px;
}
.vip-buy-full-box__price:hover {
    text-decoration: underline;
}
