/* Express checkout (Apple Pay / Google Pay) from the listing page: entry buttons + modal. */
.sos-xp-btn { display: none; box-sizing: border-box; width: 100%; height: 36px; margin-top: 10px; padding: 0 14px; border-radius: 999px; border: 2px solid var(--sos-teal, #0c9cbe); background: var(--sos-teal, #0c9cbe); color: #fff; font-family: var(--sos-font-body); font-weight: 600; font-size: 0.86rem; line-height: 1.2; cursor: pointer; align-items: center; justify-content: center; white-space: nowrap; transition: background .15s, border-color .15s, transform .15s; }
.sos-xp-btn:not([style*="none"]) { display: flex; }
.sos-xp-btn { box-shadow: 0 6px 16px rgba(12, 156, 190, .26); }
.sos-xp-btn:hover { background: var(--sos-teal-hover, #0a89a6); border-color: var(--sos-teal-hover, #0a89a6); transform: translateY(-1px); box-shadow: 0 10px 22px rgba(12, 156, 190, .32); }
.sos-xp-label { font-weight: 600; letter-spacing: .01em; }
.sos-xp-sep { width: 1px; height: 18px; background: rgba(255, 255, 255, .55); margin: 0 10px; flex: none; }
.sos-xp-marks { display: inline-flex; align-items: center; gap: 8px; line-height: 1; }
.sos-xp-apple { width: 17px; height: 17px; display: block; margin-top: -2px; }
.sos-xp-google { width: 15px; height: 15px; display: block; }
.sos-xp-cash { width: 17px; height: 17px; display: block; border-radius: 4px; }
.sos-xp-pay { font-weight: 700; letter-spacing: .01em; }
.sos-xp-slash { font-weight: 300; opacity: .8; margin: 0 6px; }
.sos-mbar__btns { display: flex; flex-direction: column; gap: 6px; flex-shrink: 0; }
.sos-mbar__btns .sos-mbar__btn { width: 100%; }
.sos-mbar__xp { display: none; box-sizing: border-box; width: 100%; margin: 0; padding: 12px 24px; border-radius: var(--sos-radius-md); border: 0; background: var(--sos-teal, #0c9cbe); color: #fff; font-family: var(--sos-font-body); font-weight: 500; font-size: 0.88rem; line-height: 1.5; letter-spacing: 0.5px; text-transform: uppercase; cursor: pointer; align-items: center; justify-content: center; white-space: nowrap; }
.sos-mbar__xp:not([style*="none"]) { display: flex; }
.sos-mbar__xp { padding-left: 10px; padding-right: 10px; }
.sos-mbar__xp .sos-xp-label--m { font-weight: 500; }
.sos-mbar__xp .sos-xp-sep { margin: 0 8px; height: 16px; }
.sos-mbar__xp .sos-xp-marks { gap: 5px; }
.sos-mbar__xp .sos-xp-marks svg { width: 16px; height: 16px; }
.sos-mbar__xp .sos-xp-google { width: 14px; height: 14px; }

body.sos-xp-open { overflow: hidden; }
.sos-xp { position: fixed; inset: 0; z-index: 100000; display: none; align-items: center; justify-content: center; padding: 16px; font-family: var(--sos-font-body); color: var(--sos-slate-800, #1a3a3f); }
.sos-xp.is-open { display: flex; }
.sos-xp__backdrop { position: absolute; inset: 0; background: rgba(8, 24, 28, .62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.sos-xp__card { position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); animation: sosXpIn .3s cubic-bezier(.2, .8, .2, 1); -webkit-overflow-scrolling: touch; }
@keyframes sosXpIn { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
.sos-xp__close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: #1a3a3f; display: grid; place-items: center; font-size: 16px; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
.sos-xp__head { display: flex; gap: 14px; align-items: center; padding: 18px 20px; background: linear-gradient(135deg, #e6f6fa, #fff3dd); }
.sos-xp__img { width: 88px; height: 66px; object-fit: cover; border-radius: 12px; flex: none; }
.sos-xp__eye { font-size: 0.7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--sos-orange, #f8a41e); }
.sos-xp__name { margin: 2px 0 2px; font-size: 1.1rem; font-weight: 800; line-height: 1.2; }
.sos-xp__meta { font-size: 0.82rem; color: var(--sos-gray-600, #4f6a70); font-weight: 500; }
.sos-xp__body { padding: 6px 20px 20px; }
.sos-xp__sec { padding: 16px 0; border-bottom: 1px solid var(--sos-sand-200, #c2dfe2); }
.sos-xp__sec:last-child { border-bottom: 0; }
.sos-xp__sectitle { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 0.95rem; margin-bottom: 8px; }
.sos-xp__sectitle i { font-size: 20px; color: var(--sos-teal, #0c9cbe); }
.sos-xp__hint { margin: 0 0 10px; font-size: 0.82rem; color: var(--sos-gray-600, #4f6a70); line-height: 1.45; }
.sos-xp__tp { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sos-xp__tpopt { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1.5px solid var(--sos-sand-200, #c2dfe2); border-radius: 12px; cursor: pointer; font-size: 0.86rem; font-weight: 600; }
.sos-xp__tpopt:has(input:checked) { border-color: var(--sos-teal, #0c9cbe); background: rgba(12, 156, 190, .08); }
.sos-xp__tpopt input { accent-color: var(--sos-teal, #0c9cbe); margin: 0; }
.sos-xp__terms { max-height: 170px; overflow: auto; padding: 12px 14px; border: 1.5px solid var(--sos-sand-200, #c2dfe2); border-radius: 12px; font-size: 0.78rem; line-height: 1.5; color: #334155; background: #fafdfe; }
.sos-xp__terms h1, .sos-xp__terms h2, .sos-xp__terms h3 { font-size: 0.86rem; margin: 10px 0 4px; }
.sos-xp__terms p { margin: 0 0 8px; }
.sos-xp__acks { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.sos-xp__ack { display: flex; gap: 10px; align-items: flex-start; font-size: 0.8rem; line-height: 1.4; cursor: pointer; }
.sos-xp__ack input { width: 18px; height: 18px; flex: none; margin: 1px 0 0; accent-color: var(--sos-teal, #0c9cbe); }
.sos-xp__ack--sms { margin-top: 12px; color: var(--sos-gray-600, #4f6a70); }
.sos-xp__padwrap { position: relative; border: 2px dashed #c8dce8; border-radius: 12px; background: #fafdfe; overflow: hidden; touch-action: none; }
.sos-xp__padwrap.is-active { border-style: solid; border-color: var(--sos-teal, #0c9cbe); background: #fff; }
.sos-xp__pad { display: block; width: 100%; height: 160px; cursor: crosshair; touch-action: none; }
.sos-xp__padph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #9bb4be; font-style: italic; font-size: 0.85rem; pointer-events: none; }
.sos-xp__padwrap.is-active .sos-xp__padph { display: none; }
.sos-xp__padacts { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 6px; font-size: 0.74rem; color: var(--sos-gray-600, #4f6a70); flex-wrap: wrap; }
.sos-xp__clear { border: 0; background: none; color: var(--sos-teal, #0c9cbe); font-weight: 700; font-size: 0.8rem; cursor: pointer; padding: 4px 0; font-family: inherit; }
.sos-xp__total { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.9rem; font-weight: 600; color: var(--sos-gray-600, #4f6a70); }
.sos-xp__total b { font-size: 1.35rem; color: var(--sos-slate-800, #1a3a3f); transition: opacity .2s; }
.sos-xp__total b.is-updating { opacity: .45; }
.sos-xp__breakdown { margin: 6px 0 12px; font-size: 0.76rem; color: var(--sos-gray-500, #7c8f93); }
.sos-xp__breakdown div { display: flex; justify-content: space-between; padding: 2px 0; }
.sos-xp__payhost { position: relative; min-height: 54px; }
.sos-xp__lock { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; background: rgba(255, 255, 255, .78); backdrop-filter: blur(1.5px); -webkit-backdrop-filter: blur(1.5px); font-size: 0.82rem; font-weight: 700; color: #7c8f93; cursor: pointer; text-align: center; padding: 8px; }
.sos-xp__lock i { font-size: 18px; color: var(--sos-orange, #f8a41e); }
.sos-xp__lock.is-off { display: none; }
.sos-xp__nowallet { padding: 12px 14px; border-radius: 12px; background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; font-size: 0.82rem; }
.sos-xp__nowallet a, .sos-xp__fine a { color: var(--sos-teal, #0c9cbe); font-weight: 700; }
.sos-xp__msg { margin-top: 10px; padding: 10px 12px; border-radius: 10px; font-size: 0.84rem; font-weight: 600; background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.sos-xp__msg--ok { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.sos-xp__fine { margin: 10px 0 0; font-size: 0.74rem; color: var(--sos-gray-600, #4f6a70); line-height: 1.45; }
.sos-xp__fine i { color: #10b981; }
.sos-xp__test { margin-top: 10px; display: inline-block; font-size: 0.68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #b45309; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 999px; padding: 4px 10px; }
.is-nudge { outline: 3px solid rgba(248, 164, 30, .6); outline-offset: 4px; border-radius: 12px; transition: outline-color .3s; }
.sos-xp__busy { position: absolute; inset: 0; z-index: 4; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: rgba(255, 255, 255, .9); font-weight: 700; color: var(--sos-slate-800, #1a3a3f); }
.sos-xp__busy.is-on { display: flex; }
.sos-xp__busy i { font-size: 34px; color: var(--sos-teal, #0c9cbe); }
.sos-xp__done { text-align: center; padding: 26px 6px 10px; }
.sos-xp__doneicon i { font-size: 56px; color: #10b981; }
.sos-xp__done h3 { margin: 8px 0 4px; font-size: 1.3rem; }
.sos-xp__done p { margin: 0 0 14px; color: var(--sos-gray-600, #4f6a70); }
.sos-xp__donegrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; text-align: left; margin: 0 0 14px; }
.sos-xp__donegrid div { background: #f6fbfc; border-radius: 10px; padding: 10px 12px; }
.sos-xp__donegrid small { display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: .06em; color: #7c8f93; font-weight: 700; }
.sos-xp__donebtn { display: inline-block; margin-top: 6px; padding: 12px 26px; border-radius: 999px; background: var(--sos-orange, #f8a41e); color: #fff; font-weight: 700; text-decoration: none; }
@media (max-width: 640px) {
  .sos-xp { padding: 0; align-items: flex-end; }
  .sos-xp__card { max-width: none; max-height: 96vh; border-radius: 22px 22px 0 0; }
  .sos-xp__tp { grid-template-columns: 1fr; }
  .sos-xp__donegrid { grid-template-columns: 1fr 1fr; }
}

.sos-xp__ack[hidden] { display: none; }
#sos-xp-fraud48 { background: #fff7e8; border: 1px solid #f6dfae; border-radius: 8px; padding: 8px 10px; }

/* Trip bag mode (2026-10-13): the bag's Express Pay pill opens the popup for every home in the bag. */
.sos-xp__homelist { display: flex; flex-direction: column; gap: 8px; }
.sos-xp__home { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1.5px solid var(--sos-sand-200, #c2dfe2); border-radius: 12px; background: #fff; }
.sos-xp__homeimg { width: 64px; height: 48px; flex: none; border-radius: 8px; object-fit: cover; background: #e6f6fa; }
.sos-xp__hometext { flex: 1; min-width: 0; }
.sos-xp__homename { font-weight: 800; font-size: 0.9rem; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sos-xp__homesels { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.sos-xp__sel { appearance: auto; -webkit-appearance: menulist; height: 30px; padding: 0 8px; border: 1.5px solid var(--sos-sand-200, #c2dfe2); border-radius: 8px; background: #fff; color: var(--sos-slate-800, #1a3a3f); font: inherit; font-size: 0.78rem; font-weight: 600; cursor: pointer; }
.sos-xp__sel:focus { outline: none; border-color: var(--sos-teal, #0c9cbe); }
.sos-xp__homeprice { flex: none; font-weight: 800; font-size: 0.92rem; min-width: 70px; text-align: right; transition: opacity .2s; }
.sos-xp__homeprice.is-updating { opacity: .45; }
.sos-xp__homeprice.is-error { color: #b91c1c; font-size: 0.78rem; }
.sos-xp__donelist { margin: 0 0 14px; text-align: left; border: 1.5px solid var(--sos-sand-200, #c2dfe2); border-radius: 12px; overflow: hidden; }
.sos-xp__donelist div { display: flex; justify-content: space-between; gap: 10px; padding: 9px 12px; font-size: 0.86rem; border-top: 1px solid var(--sos-sand-200, #c2dfe2); }
.sos-xp__donelist div:first-child { border-top: 0; }
.sos-xp__donelist b { color: var(--sos-teal, #0c9cbe); white-space: nowrap; }
.sos-bag__wallet.is-busy { opacity: .6; pointer-events: none; }
@media (max-width: 560px) {
  .sos-xp__home { flex-wrap: wrap; }
  .sos-xp__homeprice { width: 100%; text-align: left; padding-left: 76px; margin-top: -4px; }
}
