/* ARTBUILD Listing View v2 — scoped frontend only */

.artbuild-plugin.abp-lv,
.artbuild-plugin.abp-lv * {
    box-sizing: border-box;
}

.artbuild-plugin.abp-lv {
    max-width: 1180px;
    margin: 0 auto;
    padding: 24px;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(31,111,255,.22), transparent 34%),
        linear-gradient(135deg, #071b2b, #061827);
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 28px;
    overflow: hidden;
}

.abp-lv a {
    text-decoration: none !important;
}

.abp-lv-hero {
    margin-bottom: 22px;
}

.abp-lv-kicker,
.abp-lv-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 900;
}

.abp-lv-kicker {
    padding: 8px 13px;
    background: rgba(31,111,255,.12);
    color: #7db6ff;
    font-size: 12px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.abp-lv-hero h2 {
    margin: 14px 0 10px;
    color: #ffffff;
    font-size: clamp(34px,5vw,58px);
    line-height: .96;
    font-weight: 950;
    letter-spacing: -.045em;
}

.abp-lv-hero p {
    max-width: 760px;
    margin: 0;
    color: rgba(255,255,255,.66);
    font-size: 16px;
    line-height: 1.55;
}

.abp-lv-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 18px;
}

.abp-lv-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035)),
        #092033;
    border: 1px solid rgba(255,255,255,.09);
    box-shadow: 0 24px 70px rgba(0,0,0,.18);
    overflow: hidden;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.abp-lv-card:hover {
    transform: translateY(-3px);
    border-color: rgba(77,163,255,.38);
    box-shadow: 0 28px 90px rgba(31,111,255,.14);
}

.abp-lv-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #061827;
    overflow: hidden;
}

.abp-lv-image img,
.abp-lv-single-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.abp-lv-placeholder {
    width: 100%;
    height: 100%;
    min-height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.44);
    font-weight: 950;
    letter-spacing: .08em;
    background:
        radial-gradient(circle at top left, rgba(31,111,255,.20), transparent 34%),
        #061827;
}

.abp-lv-placeholder-large {
    min-height: 440px;
}

.abp-lv-card-body {
    padding: 18px;
}

.abp-lv-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.abp-lv-pill {
    padding: 7px 11px;
    font-size: 12px;
}

.abp-lv-pill-info {
    background: rgba(31,111,255,.12);
    color: #7db6ff;
}

.abp-lv-pill-verified {
    background: rgba(35,195,120,.12);
    color: #7ff0b7;
}

.abp-lv-card h3 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 22px;
    line-height: 1.12;
    font-weight: 950;
    letter-spacing: -.02em;
}

.abp-lv-card h3 a {
    color: #ffffff !important;
}

.abp-lv-location,
.abp-lv-excerpt {
    margin: 0 0 10px;
    color: rgba(255,255,255,.66);
    font-size: 14px;
    line-height: 1.45;
}

.abp-lv-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
}

.abp-lv-price {
    color: #ffffff;
    font-size: 20px;
    font-weight: 950;
}

.abp-lv-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 18px;
    border-radius: 15px;
    background: linear-gradient(135deg, #1f6fff, #0f58d6);
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 900;
    transition: transform .18s ease;
}

.abp-lv-button:hover {
    transform: translateY(-2px);
}

.abp-lv-button-secondary {
    background: rgba(255,255,255,.075);
    border: 1px solid rgba(255,255,255,.12);
}

.abp-lv-empty {
    padding: 22px;
    border-radius: 22px;
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.72);
    border: 1px solid rgba(255,255,255,.09);
}

/* Single */

.abp-lv-single-grid {
    display: grid;
    grid-template-columns: minmax(0,1.35fr) minmax(300px,.65fr);
    gap: 22px;
}

.abp-lv-single-media {
    min-height: 420px;
    border-radius: 26px;
    overflow: hidden;
    background: #061827;
    border: 1px solid rgba(255,255,255,.09);
}

.abp-lv-single-panel,
.abp-lv-description {
    border-radius: 26px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035)),
        #092033;
    border: 1px solid rgba(255,255,255,.09);
    box-shadow: 0 24px 70px rgba(0,0,0,.18);
}

.abp-lv-single-panel {
    padding: 24px;
}

.abp-lv-single-panel h1 {
    margin: 12px 0 18px;
    color: #ffffff;
    font-size: clamp(32px,4vw,52px);
    line-height: 1;
    font-weight: 950;
    letter-spacing: -.045em;
}

.abp-lv-single-price {
    display: inline-flex;
    padding: 12px 18px;
    margin-bottom: 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, #1f6fff, #0f58d6);
    color: #ffffff;
    font-size: 28px;
    font-weight: 950;
}

.abp-lv-single-actions {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.abp-lv-description {
    margin-top: 22px;
    padding: 24px;
}

.abp-lv-description h2 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 28px;
    font-weight: 950;
}

.abp-lv-description,
.abp-lv-description p,
.abp-lv-description li {
    color: rgba(255,255,255,.76);
    font-size: 16px;
    line-height: 1.6;
}

@media (max-width: 1100px) {
    .abp-lv-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media (max-width: 820px) {
    .artbuild-plugin.abp-lv {
        padding: 18px;
        border-radius: 22px;
    }

    .abp-lv-grid,
    .abp-lv-single-grid {
        grid-template-columns: 1fr;
    }

    .abp-lv-single-media {
        min-height: 300px;
    }
}

@media (max-width: 560px) {
    .abp-lv-grid {
        grid-template-columns: 1fr;
    }

    .abp-lv-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .abp-lv-button {
        width: 100%;
    }
}
