.am-marketMore{position:fixed;z-index:35;padding:10px 16px;border:0;border-radius:12px;background:#557a45;color:white;min-height:44px}
.am-marketDialog{box-sizing:border-box;width:min(460px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:28px;border:0;border-radius:20px;background:#fffdf8;color:#3f332a;overflow:auto}
.am-marketDialog::backdrop{background:#0006}.am-marketDialog img{max-width:100%;max-height:220px;object-fit:contain}.am-marketDialog button,.am-marketDialog a{min-height:44px;padding:10px;margin:6px;border-radius:12px}.am-marketClose{position:absolute;right:8px;top:8px;border:0;background:transparent;font-size:24px}
.am-marketDialog h2{margin-top:0;padding-right:28px}.am-marketDialog button img{width:80px;height:80px;display:block}
.am-marketSeason{flex-basis:100%;padding:10px 12px;color:#5d664e;background:#ffffffb3;border-radius:12px;font-size:13px;line-height:1.6}

.am-marketSeason{text-align:center;color:#b54232;white-space:pre-line}

.am-marketShopName{display:block;text-align:right;margin:8px 24px 8px 0;color:#777}

.am-marketDialog{background:#fff;border:1px solid #b9d8ad}
.am-marketDialog .am-marketClose{display:grid;place-items:center;width:40px;height:40px;min-height:40px;padding:0;margin:0;color:#3f332a;line-height:1;background:transparent;outline:none}
.am-marketDialog .am-marketClose:focus-visible{outline:none;text-decoration:underline;text-underline-offset:5px}
.am-marketDialog img{width:220px;height:220px;max-width:100%;object-fit:contain;background:transparent}
.am-marketProducts{display:flex;justify-content:center;flex-wrap:wrap}
.am-marketProducts button{background:#fff;border:1px solid #b9d8ad;text-align:center}
.am-marketDialog .am-marketVisit{display:block;margin-left:auto;background:#fff;border:1px solid #b9d8ad}
.am-marketDialog .am-marketProducts img{width:80px;height:80px;object-fit:contain;background:transparent}
.am-marketSeason{color:#d56b32;margin-bottom:12px}
.am-marketDialog .am-marketProducts button,.am-marketDialog .am-marketVisit{color:#3f332a}

/* PO 19:14: 상세의 상점 이동과 외부 이동 확인을 간결하게 표시한다. */
.am-marketDialog .am-marketBack{display:inline-flex;align-items:center;gap:4px;padding:0;margin:0 34px 14px 0;max-width:calc(100% - 34px);text-align:left;border:0;background:none;color:#406d3e;font:inherit}
.am-marketBack svg{width:20px;height:20px;flex:none}.am-marketBack span{overflow-wrap:anywhere}
.am-marketDialog .am-marketClose{border:0;box-shadow:none}
.am-marketDialog .am-marketBuy,.am-marketDialog .am-marketVisit{display:block;width:max-content;max-width:100%;margin:16px 0 0 auto;padding:10px 28px;border:0;border-radius:999px;background:#6e9e67;color:#fff}
.am-marketDialog .am-marketProducts button{border-width:2px}
.am-marketConfirm{width:min(330px,calc(100vw - 32px));padding:24px;text-align:center}
.am-marketConfirm p{margin:0 0 18px;line-height:1.6}
.am-marketConfirmActions{display:flex;justify-content:center;gap:10px}
.am-marketConfirmActions>a,.am-marketConfirmActions>button{display:flex;align-items:center;justify-content:center;box-sizing:border-box;flex:1;min-width:0;min-height:44px;margin:0;padding:10px 12px;text-align:center;text-decoration:none;border:0;border-radius:999px;font:inherit}
.am-marketConfirmActions>a{background:#6e9e67;color:#fff}.am-marketConfirmActions>button{background:#eef2eb;color:#3f332a}
.am-marketSeason{margin:0;padding:6px 8px;white-space:pre-line;line-height:1.5}
.am-marketSelected .am-pickerSheet{gap:6px;padding-bottom:12px}
.am-marketSelected .am-row{margin-top:0}

/* 상품 상단의 뒤로/상점명과 닫기 중심선을 맞춘다. */
.am-marketDialog[data-view=product]{padding-top:12px}
.am-marketDialog[data-view=product] .am-marketBack{height:44px;min-height:44px;margin:0 44px 14px 0;max-width:calc(100% - 44px)}
.am-marketDialog[data-view=product] .am-marketClose{top:12px;right:12px;width:44px;height:44px;min-height:44px}
.am-marketDialog[data-view=product] img{display:block;margin-left:auto;margin-right:auto}
.am-marketDialog[data-view=product] h2,.am-marketDialog[data-view=product] p{text-align:left}
