/* ------------------------------------------------------------------
   Consignments landing page styles
   The submission form + drop-zone styles live in /consignments/form.css
   (loaded inside the enquiry-slide iframe).
   ------------------------------------------------------------------ */

/* Lazy loader spinner (mirrors artists/index.php inline styles) */
.lazy-image { opacity: 0; transition: opacity 0.3s ease-in; }
.lazy-image.loaded { opacity: 1; }

.lazy-image-wrapper {
    position: relative;
    background: #f0f0f0;
    aspect-ratio: 1 / 1;
}
.lazy-image-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px; height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid #ddd;
    border-top-color: #666;
    border-radius: 50%;
    animation: spinner 0.8s linear infinite;
}
.lazy-image-wrapper.loaded::before { display: none; }

@keyframes spinner { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------------
   Intro block
   ------------------------------------------------------------------ */
.consignment-intro {
    max-width: 960px;
    margin: 0 auto;
    padding: 60px 20px 40px;
    text-align: left;
}
.consignment-intro h1 {
    font-family: 'Open Sans Condensed', sans-serif;
    letter-spacing: 0.04em;
    margin-bottom: 20px;
}
.consignment-intro p {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 16px;
}
.consignment-intro .lede {
    font-size: 22px;
    font-weight: 500;
    color: #111;
}

/* ------------------------------------------------------------------
   Artist grid
   ------------------------------------------------------------------ */
.consignment-artists {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}
.consignment-artists h2 {
    font-family: 'Open Sans Condensed', sans-serif;
    letter-spacing: 0.04em;
    text-align: center;
    margin-bottom: 10px;
}

.consignment-artists .placeholder-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f2ec;
    aspect-ratio: 1 / 1;
}
.consignment-artists .placeholder-initials {
    font-family: 'Open Sans Condensed', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #b7a986;
    letter-spacing: 0.05em;
}
.consignment-artists .no-image::before { content: none !important; animation: none !important; }

/* ------------------------------------------------------------------
   Submission CTA (trigger button for the lightbox form)
   ------------------------------------------------------------------ */
.consignment-cta {
    max-width: 720px;
    margin: 0 auto;
    padding: 40px 20px 90px;
    text-align: center;
}
.consignment-cta h2 {
    font-family: 'Open Sans Condensed', sans-serif;
    letter-spacing: 0.04em;
    margin-bottom: 14px;
}
.consignment-cta-lede {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 16px;
    color: #555;
    max-width: 520px;
    margin: 0 auto 28px;
    line-height: 1.6;
}

.consignment-open-form {
    display: inline-block;
    min-width: 260px;
    padding: 16px 38px;
    font-family: 'Open Sans Condensed', sans-serif;
    font-size: 17px;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    background: #111;
    border: 0;
    border-radius: 3px;
    cursor: pointer;
    transition: background .18s ease, transform .12s ease, box-shadow .18s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.consignment-open-form:hover {
    background: #c1272d;  /* gallery red on hover */
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(193, 39, 45, 0.25);
}
.consignment-open-form:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.consignment-cta-fallback {
    margin: 26px 0 0;
    font-size: 13px;
    color: #888;
}
.consignment-cta-fallback a { color: #555; text-decoration: underline; }

/* ------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------ */
@media (max-width: 640px) {
    .consignment-intro { padding-left: 16px; padding-right: 16px; }
    .consignment-cta  { padding-left: 16px; padding-right: 16px; }
    .consignment-open-form { min-width: 0; width: 100%; }
}
