.favorite[aria-pressed="true"] { color: #7b4938; }
.favorite[aria-pressed="true"] svg { fill: currentColor; }
.offer-photo-placeholder {
  display: flex; width: 100%; height: 100%; min-height: 66px; align-items: center;
  justify-content: center; flex-direction: column; gap: 7px;
  color: #57655a; background: #e8e8dd; text-align: center; font: 500 11px/1.25 Outfit, sans-serif;
}
.detail-page {
  --detail-ink: #233a31; --detail-muted: #626a61; --detail-line: #d8d8cb;
  width: min(1210px, calc(100% - 80px)); margin: 0 auto; padding: 40px 0 94px;
  color: var(--detail-ink); font-family: Outfit, Arial, sans-serif;
}
.detail-back {
  display: inline-flex; gap: 9px; align-items: center; color: var(--detail-muted);
  font-size: .94rem; text-decoration: none;
}
.detail-back:hover, .detail-back:focus-visible { text-decoration: underline; }
.detail-back span { color: var(--detail-ink); }
.offer-body, .detail-heading > div { min-width: 0; }
.offer-body h3, .detail-heading h1 { overflow-wrap: anywhere; }
.detail-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 35px 0 30px; }
.detail-location, .detail-price-label, .detail-demo { color: var(--detail-muted); }
.detail-location { margin: 0 0 9px; font-size: .98rem; }
.detail-page h1, .detail-page h2, .detail-price { font-family: 'Bricolage Grotesque', Outfit, sans-serif; }
.detail-page h1 { margin: 0; max-width: 930px; font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 550; letter-spacing: -.05em; line-height: 1.05; }
.detail-page .favorite {
  display: grid; place-items: center; width: 45px; height: 45px; flex: 0 0 auto;
  border: 1px solid var(--detail-line); border-radius: 50%; background: transparent; cursor: pointer;
}
.detail-columns { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .85fr); gap: clamp(30px, 5vw, 76px); align-items: start; }
.detail-main { min-width: 0; }
.detail-visual { display: block; position: relative; width: 100%; padding: 0; border: 0; overflow: hidden; aspect-ratio: 1.7; border-radius: 7px; background: #e8e8dd; }
button.detail-visual { cursor: zoom-in; }
.detail-current-photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.detail-visual-empty .offer-photo-placeholder { gap: 12px; font-size: .95rem; }
.detail-visual-empty svg { width: 34px; height: 34px; }
.detail-zoom-label { position: absolute; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 6px; padding: 6px 10px; color: #fff; background: #1b2b23d9; border-radius: 3px; font: 500 .77rem/1.3 Outfit, sans-serif; }
.detail-thumbnails { display: flex; gap: 9px; overflow-x: auto; padding: 10px 2px 2px; }
.detail-thumbnails button { width: 69px; height: 49px; padding: 2px; border: 1px solid transparent; background: transparent; cursor: pointer; }
.detail-thumbnails button[aria-pressed=true] { border-color: var(--detail-ink); }
.detail-thumbnails img { display: block; width: 100%; height: 100%; object-fit: cover; }
.detail-lightbox { max-width: 95vw; max-height: 95dvh; padding: 12px; border: 0; color: white; background-color: #182820; }
.detail-lightbox::backdrop { background: #101613e8; }
.detail-lightbox img { display: block; max-width: 88vw; max-height: 78dvh; margin: auto; object-fit: contain; }
.detail-lightbox-close { display: flex; align-items: center; justify-content: space-between; margin: 0 0 8px auto; gap: 10px; padding: 8px 12px; border: 0; border-radius: 3px; color: inherit; background: #34453c; font: inherit; cursor: pointer; }
.detail-copy { margin: 34px 0 0; }
.detail-copy h2 { margin: 0 0 12px; font-size: 1.6rem; letter-spacing: -.035em; }
.detail-copy p, .detail-copy li { color: #48564d; font-size: 1.02rem; line-height: 1.7; }
.detail-copy p { margin: 0; white-space: pre-line; }
.detail-copy ul { padding-inline-start: 1.3em; margin: 14px 0 0; }
.detail-dossier { padding: 6px 0 0; min-width: 0; }
.detail-price-label { margin: 0 0 4px; font-size: .9rem; }
.detail-price { font-size: clamp(1.7rem, 3vw, 2.5rem); letter-spacing: -.055em; font-weight: 620; line-height: 1.18; }
.detail-dossier dl { margin: 25px 0; }
.detail-dossier dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 10px 0; border-top: 1px solid var(--detail-line); }
.detail-dossier dl div:last-child { border-bottom: 1px solid var(--detail-line); }
.detail-dossier dt { color: var(--detail-muted); }
.detail-dossier dd { margin: 0; text-align: right; font-weight: 500; }
.detail-request summary, .detail-request button {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  box-sizing: border-box; width: 100%; border: 0; border-radius: 4px; padding: 13px 16px;
  color: #fff; background: #273f32; font: 500 .95rem/1.4 Outfit, Arial, sans-serif; cursor: pointer; text-align: left;
}
.detail-request summary::-webkit-details-marker { display: none; }
.detail-request summary:hover, .detail-request button:hover { background: #365442; }
.detail-request-form { margin-top: 15px; }
.detail-request-form p, .detail-demo { font-size: .85rem; line-height: 1.55; }
.detail-request-form p { color: var(--detail-muted); }
.detail-request-form label { display: block; margin-bottom: 13px; font-size: .89rem; font-weight: 500; }
.detail-request-form small { color: var(--detail-muted); font-weight: 400; }
.detail-request-form input, .detail-request-form textarea { display: block; width: 100%; box-sizing: border-box; padding: 10px; margin-top: 4px; color: var(--detail-ink); background: #fff; border: 1px solid #a9b1a6; border-radius: 3px; font: inherit; }
.detail-request-form textarea { resize: vertical; }
.detail-request button { justify-content: center; }
.detail-request-status:empty { display: none; }
.detail-demo { margin: 15px 0 0; }
.detail-page :focus-visible { outline: 2px solid #a66143; outline-offset: 3px; }
.detail-missing h1 { margin-top: 36px; }
@media (max-width: 760px) {
  .detail-page { width: calc(100% - 36px); padding: 26px 0 60px; }
  .detail-columns { display: flex; flex-direction: column; gap: 30px; }
  .detail-main, .detail-dossier { width: 100%; }
  .detail-heading { margin: 27px 0 20px; gap: 12px; }
  .detail-heading .favorite { width: 40px; height: 40px; }
  .detail-copy { margin-top: 24px; }
}
@media (max-width: 420px) {
  .offer-photo-placeholder span { font-size: 10px; }
}
