:root {
    /* Brand palette */
    --cozzicotton-primary: #B89658;
    --cozzicotton-primary-hover: #947844;
    --cozzicotton-gold: #d4af37;
}

/* === In-Demand Section (cards under hero) === */
.in-demand {
    background: #fff;
    padding: 60px 0 40px;
}

.in-demand__head h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 800;
    font-size: 42px;
    margin: 0 0 10px;
    color: #1a1a1a;
}

.in-demand__head p {
    font-size: 16px;
    color: #6b7280; /* muted gray */
    margin-bottom: 30px;
}

/* Card */
.art-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
    transition: box-shadow .25s ease, transform .2s ease;
    position: relative;
}


.art-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
}

.art-card__media {
    position: relative;
    overflow: hidden;
    height: 260px; /* close to your mock’s image height */
}

.art-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform .6s ease;
}

.art-card:hover .art-card__media img {
    transform: scale(1.08);
}

/* Badges */
.art-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-weight: 700;
    font-size: 11px;
    line-height: 1;
    color: #fff;
    padding: 6px 10px;
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
}

.art-card__badge--red {
    background: #e53935;
}

.art-card__badge--green {
    background: #2e7d32;
}

.art-card__body {
    padding: 14px 16px 18px;
    position: relative;
    z-index: 2;
}

.art-card__title {
    margin: 0 0 2px;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a; /* slightly richer than #111 */
}

.art-card__title a {
    color: #1a1a1a;
    text-decoration: none;
}

.art-card__title a:hover,
.art-card:hover .art-card__title a {
    color: var(--cozzicotton-primary-hover);
    text-decoration: none;
}

.art-card__meta {
    margin: 0;
    font-size: 13px;
    color: #6b7280;
}

/* Author link inside meta: black base, orange + underline on hover */
.art-card__meta a {
    color: #000;
    text-decoration: none;
    transition: color .15s ease, text-decoration-color .15s ease;
}

.art-card__meta a:hover,
.art-card__meta a:focus {
    color: var(--cozzicotton-primary);          /* your signature orange */
    text-decoration: underline;
    text-underline-offset: 2px;
}

.art-card__meta a:active {
    color: var(--cozzicotton-primary-hover);          /* slightly darker on press */
}

.art-card__price {
    margin: 6px 0 0;
    font-size: 20px;
    font-weight: 700;
    /*color: var(--cozzicotton-primary);*/
    color: var(--cozzicotton-gold);
}

.art-card__hint {
    margin: 4px 0 0;
    font-size: 12px;
    color: #9aa3ad;
}

/* Cozzi Cotton orange pill button */
.btn-flare {
    background: var(--cozzicotton-primary);
    border-color: var(--cozzicotton-primary);
    color: #fff !important;
    font-weight: 700;

    /* Make it thinner and center the label both ways */
    display: flex; /* overrides Bootstrap .btn inline-block */
    align-items: center; /* vertical centering */
    justify-content: center; /* horizontal centering */

    height: 30px; /* thinner than before (was 44px) */
    padding: 0 20px !important; /* remove tall default .btn padding */
    line-height: 1; /* avoid extra baseline space */
    font-size: 16px;

    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(233, 132, 26, .30);
    transition: background .2s ease, box-shadow .2s ease, transform .06s ease;

    margin-top: 15px;
}

.btn-flare:hover,
.btn-flare:focus {
    background: var(--cozzicotton-primary-hover);
    border-color: var(--cozzicotton-primary-hover);
    box-shadow: 0 14px 30px rgba(233, 132, 26, .38);
}

.btn-flare:active {
    transform: translateY(1px);
    box-shadow: 0 8px 18px rgba(233, 132, 26, .28);
}

/* Small screens: slightly shorter images so cards don’t get too tall */
@media (max-width: 767px) {
    .art-card__media {
        height: 220px;
    }
}

/* Full-card invisible link to PDP */
.art-card__link-overlay {
    position: absolute;
    inset: 0; /* top/right/bottom/left: 0 */
    z-index: 1; /* sits under body (z=2) so buttons/links work */
    text-indent: -9999px; /* hide text if any */
}

.art-card__link-overlay:focus {
    outline: 2px solid var(--cozzicotton-primary-hover);
    outline-offset: 2px;
}
