/* /chevaux-a-vendre — annonces de vente des élevages. */
.cav-page { padding: 28px 0 60px; }
.cav-head { text-align: center; max-width: 640px; margin: 0 auto 22px; }
.cav-head h1 { font-family: Fraunces, Georgia, serif; margin: 6px 0; }
.cav-head p { color: var(--muted, #6b7280); }
.cav-filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 auto 26px; }
.cav-filters select, .cav-filters input { min-width: 0; flex: 1 1 150px; max-width: 220px; padding: 10px 12px; border: 1px solid #E2D9C8; border-radius: 10px; background: #fff; font: inherit; }
.cav-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); }
.cav-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #EEE6D8; border-radius: 16px; overflow: hidden; color: inherit; text-decoration: none;
            transition: transform .2s ease, box-shadow .2s ease; animation: cavIn .45s ease both; animation-delay: calc(var(--i, 0) * 40ms); }
.cav-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(23,38,64,.1); }
@keyframes cavIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.cav-card-ph { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(135deg, #EFE4CF, #F8F3EA); display: grid; place-items: center; font-size: 3rem; }
.cav-card-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cav-card-b { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 3px; }
.cav-card-b b { font-family: Fraunces, Georgia, serif; font-size: 1.02rem; color: #172640; }
.cav-card-b span { color: #9C6F2A; font-weight: 700; }
.cav-card-b small { color: #8a8f99; }
.cav-badge { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: .76rem; font-weight: 700; background: #FBF1DD; color: #9C6F2A; }
.cav-card-ph .cav-badge { position: absolute; top: 10px; left: 10px; }
.cav-badge.sold { background: #eee; color: #555; }
.cav-empty { text-align: center; font-size: 2.6rem; padding: 40px 10px; }
.cav-empty p { font-size: 1rem; }
.cav-crumb { margin: 0 0 14px; font-size: .9rem; }
.cav-top { display: grid; gap: 26px; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; }
.cav-main { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; display: block; }
.cav-noph { display: grid; place-items: center; font-size: 4rem; background: linear-gradient(135deg, #EFE4CF, #F8F3EA); }
.cav-thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; }
.cav-thumbs img { width: 84px; height: 62px; object-fit: cover; border-radius: 10px; display: block; }
.cav-info h1 { font-family: Fraunces, Georgia, serif; font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 6px 0 4px; }
.cav-price { font-size: 1.5rem; font-weight: 700; color: #9C6F2A; margin-bottom: 14px; }
.cav-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; margin: 0 0 14px; }
.cav-specs div { background: #FAF7F1; border-radius: 10px; padding: 8px 10px; min-width: 0; }
.cav-specs dt { font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; color: #8a8f99; }
.cav-specs dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.cav-seller { color: #4b5563; }
.cav-form { display: flex; flex-direction: column; gap: 6px; }
.cav-form label { font-size: .84rem; font-weight: 600; }
.cav-form textarea, .cav-form input { width: 100%; padding: 10px 12px; border: 1px solid #E2D9C8; border-radius: 10px; font: inherit; box-sizing: border-box; }
.cav-form .btn { margin-top: 6px; }
.cav-sent { background: #E4EFE7; color: #15573C; padding: 12px 14px; border-radius: 12px; }
.cav-block { margin-top: 36px; }
.cav-block h2 { font-family: Fraunces, Georgia, serif; font-size: 1.35rem; }
.cav-desc { line-height: 1.6; max-width: 760px; }
@media (max-width: 760px) { .cav-top { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .cav-card { animation: none; transition: none; } }
