/* Portfolio sale details share the existing site's green and warm neutral palette. */
.site-for-sale .pair-images { overflow: hidden; }
.sale-ribbon {
  position: absolute;
  z-index: 4;
  top: 24px;
  right: -43px;
  width: 190px;
  padding: 8px 0;
  transform: rotate(35deg);
  background: #145c3f;
  color: #fff;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.3;
  box-shadow: 0 3px 10px #16201d26;
  pointer-events: none;
}
.sale-info {
  position: relative;
  z-index: 3;
  padding: 5px 18px;
  background: #f7f3e9;
  border-top: 1px solid #e4dece;
  cursor: default;
}
.sale-question {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: #145c3f;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.sale-question-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 21px;
  height: 21px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.8rem;
  text-decoration: none;
}
.sale-question:focus-visible, .sale-tooltip a:focus-visible, .sale-dialog a:focus-visible, .sale-dialog button:focus-visible {
  outline: 3px solid #a77522;
  outline-offset: 4px;
}
.sale-tooltip {
  position: fixed;
  z-index: 10000;
  width: min(355px, calc(100vw - 24px));
  padding: 18px 20px;
  border: 1px solid #d6dfd6;
  border-radius: 10px;
  background: #fffef9;
  color: #16201d;
  box-shadow: 0 12px 40px #16201d26;
  font-size: 1rem;
  line-height: 1.6;
}
.sale-tooltip[hidden] { display: none; }
.sale-tooltip p { margin: 0 0 12px; }
.sale-tooltip a { display: inline-block; color: #145c3f; font-weight: 800; text-underline-offset: 3px; }
.sale-dialog {
  box-sizing: border-box;
  width: min(550px, calc(100vw - 32px));
  max-height: calc(100dvh - 40px);
  margin: auto;
  padding: clamp(24px, 5vw, 42px);
  overflow: auto;
  border: 1px solid #d6dfd6;
  border-radius: 14px;
  background: #fffef9;
  color: #16201d;
  box-shadow: 0 24px 100px #16201d40;
  text-align: start;
}
.sale-dialog::backdrop { background: #12271fe0; backdrop-filter: blur(4px); }
.sale-dialog-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-inline-start: auto;
  margin-top: -12px;
  margin-inline-end: -12px;
  border: 1px solid #d6dfd6;
  border-radius: 50%;
  background: #fff;
  color: #145c3f;
  font: inherit;
  font-size: 1.7rem;
  cursor: pointer;
}
.sale-dialog-label { margin: 12px 0 8px; color: #145c3f; font-weight: 800; }
.sale-dialog h2 { margin: 0 0 18px; font-size: clamp(1.6rem, 5vw, 2rem); line-height: 1.2; }
.sale-dialog-description { margin: 0; color: #47594f; font-size: 1.15rem; line-height: 1.7; }
.sale-dialog-site { margin: 22px 0; padding-block: 16px; border-block: 1px solid #d6dfd6; font-size: 1.05rem; }
.sale-dialog-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 6px;
  background: #145c3f;
  color: #fff;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
}
.sale-dialog-cta:hover { background: #0d432c; }
body.sale-dialog-open { overflow: hidden; }
@media (max-width: 600px) {
  .sale-ribbon { top: 18px; right: -47px; width: 170px; padding-block: 6px; font-size: 0.72rem; }
  .sale-info { padding-inline: 12px; }
  .sale-question { font-size: 0.9rem; }
}
