/* V7.7.4 — Centre des offres */
#offers .panel{background:transparent;border:0;box-shadow:none;padding:0}
#offers .offer-tabs{display:inline-flex;padding:5px;background:#f3efe5;border:1px solid #e3dac6;border-radius:14px;gap:5px;margin-bottom:18px}
#offers .offer-tabs .secondary{border:0;background:transparent;min-width:132px;border-radius:10px;color:#52615b}
#offers .offer-tabs .active{background:#123f34;color:#fff;box-shadow:0 3px 10px rgba(18,63,52,.12)}
.offers-overview-v774{display:flex;gap:12px;margin-bottom:14px}.offers-overview-v774>div{display:flex;align-items:baseline;gap:7px;padding:9px 13px;border:1px solid #e5ddce;border-radius:12px;background:#fff}.offers-overview-v774 strong{font-family:Fraunces,serif;font-size:20px;color:#123f34}.offers-overview-v774 span{font-size:12px;color:#727a75}.offers-overview-v774 .has-action{border-color:#d3ad59;background:#fbf7ec}.offers-overview-v774 .has-action strong{color:#936d1f}
.offers-list-v774{display:grid;gap:12px}.offer-card-v774{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(190px,.45fr) minmax(230px,auto);gap:20px;align-items:center;padding:18px;border:1px solid #e2ded3;border-radius:18px;background:#fff;transition:border-color .18s ease,transform .18s ease}.offer-card-v774.needs-action{border-color:#d4b05d;box-shadow:inset 4px 0 0 #c9a34e}.offer-vehicle-v774{display:flex;align-items:center;gap:15px;min-width:0;text-align:left;background:none;border:0;padding:0;color:inherit;cursor:pointer}.offer-thumb-v774{width:112px;height:78px;border-radius:13px;overflow:hidden;background:#edf0ec;display:grid;place-items:center;flex:0 0 auto}.offer-thumb-v774 img{width:100%;height:100%;object-fit:cover}.offer-no-photo-v774{font-size:28px}.offer-vehicle-copy-v774{display:grid;gap:4px;min-width:0}.offer-vehicle-copy-v774>small{font-size:10px;text-transform:uppercase;letter-spacing:.08em;font-weight:800;color:#9a7a35}.offer-vehicle-copy-v774>strong{font-size:16px;color:#173e34}.offer-vehicle-copy-v774>span{font-size:12px;color:#777f7a}.offer-vehicle-copy-v774>b{font-size:12px;color:#4b5752;font-weight:650}.offer-summary-v774{display:grid;gap:5px;padding-left:18px;border-left:1px solid #ece7dc}.offer-summary-v774>small{font-size:10px;text-transform:uppercase;letter-spacing:.07em;color:#7a817d}.offer-summary-v774>strong{font-family:Fraunces,serif;font-size:25px;color:#163e34}.offer-status-v774{width:max-content;padding:5px 9px;border-radius:999px;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.offer-status-v774.is-pending{background:#f7f0df;color:#89691f}.offer-status-v774.is-counter{background:#edf1f7;color:#3f5c7c}.offer-status-v774.is-accepted{background:#e8f3ed;color:#236348}.offer-status-v774.is-refused{background:#f6eaea;color:#8a4646}.offer-waiting-v774,.offer-action-v774{font-size:10px;font-weight:750}.offer-waiting-v774{color:#777f7a}.offer-action-v774{color:#9a7020;text-transform:uppercase;letter-spacing:.04em}.offer-actions-v774{display:flex;justify-content:flex-end;gap:7px;flex-wrap:wrap}.offer-actions-v774 button{min-height:40px}.offers-empty-v774{display:grid;gap:5px;padding:34px!important;border:1px dashed #d9d1c2;border-radius:18px;background:#faf9f5}.offers-empty-v774 strong{color:#173e34}.offers-empty-v774 span{color:#777f7a;font-size:12px}
@media(hover:hover) and (pointer:fine){.offer-card-v774:hover{border-color:#c9bea8;transform:translateY(-1px)}}
@media(max-width:900px){.offer-card-v774{grid-template-columns:1fr auto}.offer-actions-v774{grid-column:1/-1;justify-content:flex-start;padding-top:12px;border-top:1px solid #ece7dc}.offer-summary-v774{min-width:170px}}
@media(max-width:620px){#offers .offer-tabs{display:flex;width:100%}#offers .offer-tabs .secondary{flex:1;min-width:0}.offers-overview-v774{display:grid;grid-template-columns:1fr 1fr}.offers-overview-v774>div{justify-content:center}.offer-card-v774{grid-template-columns:1fr;padding:14px;gap:14px}.offer-thumb-v774{width:92px;height:68px}.offer-summary-v774{padding:12px 0 0;border-left:0;border-top:1px solid #ece7dc;grid-template-columns:1fr auto;align-items:center}.offer-summary-v774>small,.offer-summary-v774>strong{grid-column:1}.offer-status-v774{grid-column:2;grid-row:1/3}.offer-waiting-v774,.offer-action-v774{grid-column:1/-1}.offer-actions-v774{display:grid;grid-template-columns:1fr 1fr;padding-top:12px}.offer-actions-v774 .primary,.offer-actions-v774 .offer-history-v774{grid-column:1/-1}.offer-actions-v774 button{width:100%;min-height:44px}}
@media(prefers-reduced-motion:reduce){.offer-card-v774{transition:none}}
/* V7.7.4.1 */
#offers .offers-action-count-v7741{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;margin-left:6px;border-radius:999px;background:#c59b31;color:#fff;font-size:10px;font-weight:900}
#offers .offer-tabs .active .offers-action-count-v7741{background:#fff;color:#123f34}
@media(max-width:620px){
  #offers .offer-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}
  #offers .offer-tabs .secondary{padding-inline:7px;font-size:12px}
  #modal.show:has(.offer-history-modal-v7741){padding:0!important;align-items:stretch!important}
  #modal:has(.offer-history-modal-v7741) .modal-box{width:100%!important;max-width:none!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
  #modal:has(.offer-history-modal-v7741) .modal-head{flex:0 0 auto;padding:calc(12px + env(safe-area-inset-top)) 16px 12px!important}
  #modal:has(.offer-history-modal-v7741) #modalForm{display:block!important;flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;padding:14px 14px calc(82px + env(safe-area-inset-bottom))!important}
  #modal:has(.offer-history-modal-v7741) .offer-history-modal-v7741{display:block!important;min-height:0!important}
  #modal:has(.offer-history-modal-v7741) .offer-history>div{display:grid!important;grid-template-columns:1fr!important;gap:5px!important;padding:13px!important;min-height:0!important}
  #modal:has(.offer-history-modal-v7741) .offer-history span{font-size:11px!important;line-height:1.4!important;overflow-wrap:anywhere}
  #modal:has(.offer-history-modal-v7741) .form-actions{position:static!important;display:block!important;margin:14px 0 0!important;padding:0!important;border:0!important;background:transparent!important}
  #modal:has(.offer-history-modal-v7741) .form-actions button{width:100%!important;min-height:46px!important}
}
