.reference-seller-note {
  position: fixed;
  z-index: 80;
  right: 12px;
  top: 50%;
  translate: 0 -50%;
  width: clamp(164px, calc((100vw - 940px) / 2 - 12px), 240px);
  max-height: calc(100dvh - 120px);
  overflow: auto;
  box-sizing: border-box;
  padding: 28px 17px 18px;
  border: 1px solid #c2b6a0;
  background: #fff;
  color: #232323;
  box-shadow: 0 8px 30px rgb(0 0 0 / .08);
  font: 400 16px/normal Manrope, Arial, sans-serif;
  animation: reference-seller-note-in .65s ease-out both;
}
body .reference-seller-note.seller-offer > h2 {
  margin: 0 0 16px;
  font: 400 20px/1.3 Manrope, Arial, sans-serif;
  letter-spacing: -.035em;
}
body .reference-seller-note.seller-offer > p { margin: 0 0 15px; font-size: 12px; line-height: 1.7; }
body .reference-seller-note.seller-offer > .seller-offer-eyebrow { margin-bottom: 12px; color: #8d7b60; font-size: 9px; line-height: 1.6; letter-spacing: .12em; }
body .reference-seller-note .seller-offer-deadline { white-space: normal; }
.reference-seller-note .seller-offer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid #e2ddd5;
  color: inherit;
  font: 12px/1.5 Inter, Arial, sans-serif;
  text-decoration: none;
  white-space: nowrap;
}
.reference-seller-note .seller-offer-link span { color: #c2b6a0; font-size: 24px; line-height: 1; }
.reference-seller-note .seller-offer-link:hover { text-decoration: underline; }
.reference-seller-note .seller-offer-close {
  position: absolute;
  top: 3px;
  right: 4px;
  width: 28px;
  height: 28px;
  padding: 1px 6px;
  border: 0;
  background: transparent;
  color: #777;
  cursor: pointer;
  font-size: 21px;
}
.reference-seller-note :focus-visible { outline: 2px solid #826e4c; outline-offset: 3px; }
@keyframes reference-seller-note-in {
  from { opacity: 0; transform: translateX(calc(100% + 20px)); }
}
@media (min-width: 1200px) and (max-width: 1399px) {
  body .reference-seller-note.seller-offer > h2 { font-size: 18px; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .reference-seller-note { top: auto; bottom: 20px; translate: none; width: 230px; }
}
@media (max-width: 1023px) {
  .reference-seller-note {
    top: calc(12px + env(safe-area-inset-top));
    translate: none;
    z-index: 1400;
    background: rgb(255 255 255 / .97);
    box-shadow: 0 6px 24px #00000016;
    width: min(320px, calc(100vw - 24px));
    max-height: min(60dvh, calc(100dvh - 28px - env(safe-area-inset-top)));
    padding: 24px 16px 12px;
  }
  body .reference-seller-note.seller-offer > h2 { margin-bottom: 10px; font-size: 18px; }
  body .reference-seller-note.seller-offer > p { margin-bottom: 10px; line-height: 1.5; }
  body .reference-seller-note.seller-offer > p.seller-offer-eyebrow { margin-bottom: 10px; line-height: 1.5; }
  body .reference-seller-note .seller-offer-deadline { white-space: nowrap; }
  .reference-seller-note .seller-offer-link { padding-top: 9px; }
  .reference-seller-note .seller-offer-close { width: 32px; height: 32px; right: 2px; top: 0; font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) { .reference-seller-note { animation: none; } }
