/* 사진 보정 상세 (retouch.html) — 액자 상세와 같은 구성. 휴대폰 우선, PC 는 가운데 760px */
.rtp-page .rt-wrap{display:none}
.rtp{max-width:760px;margin:0 auto;padding:0 0 120px}
.rtp-gallery{position:relative;background:#f2f5fb}
.rtp-shots{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.rtp-shots::-webkit-scrollbar{display:none}
.rtp-shots img{flex:0 0 100%;width:100%;height:auto;aspect-ratio:1;object-fit:cover;scroll-snap-align:start;display:block}
.rtp-count{position:absolute;right:14px;top:14px;padding:4px 10px;border-radius:999px;background:rgb(0 0 0/.5);color:#fff;font-size:12px;font-weight:600}
.rtp-thumbs{display:flex;gap:8px;overflow-x:auto;padding:12px 20px;background:#fff;scrollbar-width:none}
.rtp-thumbs button{flex:0 0 64px;height:64px;padding:0;border:2px solid transparent;border-radius:10px;overflow:hidden;background:none;cursor:pointer}
.rtp-thumbs button[aria-current]{border-color:#005dff}
.rtp-thumbs img{width:100%;height:100%;object-fit:cover;display:block}
.rtp-info{padding:20px 20px 28px;border-bottom:8px solid #f2f4f6}
.rtp-info h1{margin:0;font-size:22px;font-weight:700;letter-spacing:-.03em;line-height:1.35;color:#191f28}
.rtp-info h1 small{display:block;margin-top:4px;font-size:14px;font-weight:500;color:#6b7684}
.rtp-checks{margin:18px 0 0;padding:0;list-style:none}
.rtp-checks li{position:relative;padding:5px 0 5px 26px;font-size:15.5px;color:#333d4b}
.rtp-checks li::before{content:"";position:absolute;left:4px;top:11px;width:11px;height:6px;border-left:2.5px solid #005dff;border-bottom:2.5px solid #005dff;transform:rotate(-45deg)}
.rtp-checks b{color:#005dff}
.rtp-price{margin:20px 0 0;padding-top:18px;border-top:1px solid #eceff3}
.rtp-price strong{font-size:30px;font-weight:800;letter-spacing:-.03em;color:#191f28}
.rtp-price span{margin-left:2px;font-size:15px;font-weight:600;color:#4e5968}
.rtp-kinds{margin:14px 0 0;padding:0;list-style:none;border:1px solid #e5e8eb;border-radius:12px}
.rtp-kinds li{display:grid;grid-template-columns:1fr auto;gap:2px 10px;padding:12px 14px}
.rtp-kinds li+li{border-top:1px solid #f2f4f6}
.rtp-kinds b{font-size:15px;color:#191f28}
.rtp-kinds span{font-size:15px;font-weight:700;color:#191f28}
.rtp-kinds small{grid-column:1/-1;font-size:12.5px;color:#8b95a1}
.rtp-links{display:flex;flex-wrap:wrap;gap:6px 18px;margin-top:16px}
.rtp-links a{font-size:14px;color:#6b7684;text-decoration:underline;text-underline-offset:3px}
.rtp-tabs{position:sticky;top:var(--wf-store-header-height,110px);z-index:30;display:flex;background:#fff;border-bottom:1px solid #e5e8eb}
.rtp-tabs a{flex:1;display:grid;place-items:center;min-height:50px;font-size:15px;font-weight:700;color:#8b95a1;text-decoration:none;border-bottom:2px solid transparent}
.rtp-tabs a[aria-current]{color:#191f28;border-bottom-color:#191f28}
.rtp-detail img{display:block;width:100%;height:auto}
.rtp-detail,.rtp-flow{scroll-margin-top:calc(var(--wf-store-header-height,110px) + 56px)}
.rtp-flow{padding:36px 20px;border-top:8px solid #f2f4f6;border-bottom:8px solid #f2f4f6}
.rtp-flow h2{margin:0 0 18px;font-size:20px;font-weight:800;color:#191f28}
.rtp-flow ol{margin:0;padding:0;list-style:none;counter-reset:s}
.rtp-flow li{position:relative;padding:0 0 18px 44px;counter-increment:s}
.rtp-flow li::before{content:counter(s);position:absolute;left:0;top:-2px;width:28px;height:28px;border-radius:50%;background:#005dff;color:#fff;font-size:14px;font-weight:700;display:grid;place-items:center}
.rtp-flow b{display:block;font-size:16px;color:#191f28}
.rtp-flow span{display:block;margin-top:3px;font-size:13.5px;color:#6b7684}
.rtp-bar{position:fixed;z-index:80;left:0;right:0;bottom:0;display:grid;grid-template-columns:58px minmax(0,1fr);gap:10px;max-width:760px;margin:0 auto;padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px));background:#fff;border-top:1px solid #e6e6e6}
.rtp-bar-ask{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:52px;font-size:10px;color:#191f28;text-decoration:none}
.rtp-bar-ask svg{width:24px;height:24px}
.rtp-bar-buy{height:52px;border:0;border-radius:4px;background:#005dff;color:#fff;font:inherit;font-size:16px;font-weight:700;cursor:pointer}
.rtp-sheet{width:100%;max-width:760px;max-height:88vh;margin:auto auto 0;padding:0 16px calc(16px + env(safe-area-inset-bottom,0px));border:0;border-radius:18px 18px 0 0;background:#fff;overflow-y:auto}
.rtp-sheet::backdrop{background:rgb(0 0 0/.5)}
.rtp-sheet[open]{animation:rtp-up .25s ease-out}
@keyframes rtp-up{from{transform:translateY(40px);opacity:.4}to{transform:none;opacity:1}}
.rtp-sheet-head{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;align-items:center;padding:16px 0 10px;background:#fff}
.rtp-sheet-head h2{margin:0;font-size:18px;font-weight:800}
.rtp-sheet-head button{width:40px;height:40px;border:0;background:none;font-size:26px;color:#191f28;cursor:pointer}
.rtp-sheet .rt-card{margin:0 0 12px}
/* 휴대폰 아래 메뉴 줄(홈 · 카테고리 …)이 있으면 그 위로 */
@media (max-width:760px){
  body.rtp-page .wf-mobile-bottom{display:none!important}
  body.rtp-page .wf-store-footer{padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))!important}
}
