/* Offer popup (assets/dor-offer-pop.js). */
.sop { position: fixed; inset: 0; z-index: 10050; display: grid; place-items: center; padding: 24px; pointer-events: none; }
.sop__back { position: absolute; inset: 0; background: rgba(28, 22, 20, .55); opacity: 0; transition: opacity .45s ease; pointer-events: auto; }
.sop__card {
  position: relative; display: grid; grid-template-columns: 420px minmax(0, 1fr); width: min(860px, 100%); max-height: calc(100svh - 48px);
  background: #fff; color: #3d3d3d; box-shadow: 0 30px 80px rgba(0, 0, 0, .28); pointer-events: auto;
  opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .45s ease, transform .6s cubic-bezier(.22, 1, .36, 1);
}
.sop.is-in .sop__back { opacity: 1; }
.sop.is-in .sop__card { opacity: 1; transform: none; }
.sop__media { position: relative; overflow: hidden; background: #2b2622; }
.sop__media img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; }
.sop__body { display: flex; flex-direction: column; align-items: flex-start; padding: 48px 44px 36px; overflow: auto; }
.sop__kicker { margin: 0 0 14px !important; font: 600 11px/1.4 Montserrat, system-ui, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: #4a1420; }
.sop__title { margin: 0 0 14px !important; font-family: "EB Garamond", Georgia, serif !important; font-size: 38px !important; font-weight: 400 !important; line-height: 1.05 !important; color: #3d3d3d !important; }
.sop__text { margin: 0 0 22px !important; font-family: "EB Garamond", Georgia, serif; font-size: 18px; line-height: 1.5; color: #5c5550; }
.sop__text b { color: #3d3d3d; letter-spacing: .06em; }
.sop__code { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin-bottom: 18px; padding: 10px 10px 10px 16px; border: 1px dashed #b8aca1; background: #faf7f3; }
.sop__code span { font: 600 20px/1 Montserrat, system-ui, sans-serif; letter-spacing: .16em; color: #3d3d3d; }
.sop__copy, .sop__btn { min-height: 44px; padding: 0 18px; border: 1px solid #494949; background: transparent; color: #494949 !important; font: 600 11px/1 Montserrat, system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; text-decoration: none !important; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.sop__copy:hover, .sop__copy.is-done, .sop__btn:hover { background: #4a1420; border-color: #4a1420; color: #fff !important; }
.sop__cta { display: flex; gap: 10px; width: 100%; }
.sop__btn { display: inline-flex; flex: 1; align-items: center; justify-content: center; }
.sop__btn.is-solid { background: #494949; color: #fff !important; }
.sop__no { margin-top: 16px; padding: 6px 0; border: 0; background: none; color: #8a817a; font: 500 12px/1.4 Montserrat, system-ui, sans-serif; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.sop__no:hover { color: #4a1420; }
.sop__x { position: absolute; top: 10px; right: 10px; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: rgba(255, 255, 255, .9); color: #3d3d3d; cursor: pointer; }
.sop__x svg { width: 16px; height: 16px; }
.sop__x:hover { color: #4a1420; }
.sop__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html.sop-open .sol-chat { display: none !important; }

/* phones and small tablets: a bottom sheet over the lower part of the page, no full-screen cover */
@media (max-width: 700px) {
  .sop { place-items: end center; padding: 0; }
  .sop__back { background: rgba(28, 22, 20, .25); }
  .sop__card { grid-template-columns: 1fr; width: 100%; max-height: 70svh; transform: translateY(100%); transition: opacity .3s ease, transform .5s cubic-bezier(.22, 1, .36, 1); }
  .sop__media { display: none; }
  .sop__body { padding: 26px 20px calc(18px + env(safe-area-inset-bottom)); }
  .sop__title { font-size: 28px !important; padding-right: 36px; }
  .sop__text { font-size: 16px; margin-bottom: 16px !important; }
  .sop__no { align-self: center; margin-top: 10px; }
}
@media (prefers-reduced-motion: reduce) { .sop__back, .sop__card { transition: none; } }
