/* AI 사진관 스타일 상세 페이지 */
.st-page { padding: 96px 0 96px; background: #fff; color: var(--text-dark); }
.st-breadcrumb { font-size: .9rem; color: var(--text-readable); margin-bottom: 20px; }
.st-breadcrumb a { color: var(--secondary-color); text-decoration: underline; text-underline-offset: 3px; }
.st-breadcrumb strong { color: var(--text-dark); }

.st-grid { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: 48px; align-items: start; }
.st-visual { position: sticky; top: 90px; }

/* 원본 ↔ AI 그림 비교 슬라이더 */
.st-compare { position: relative; aspect-ratio: 2 / 3; border-radius: 16px; overflow: hidden; background: var(--bg-light); box-shadow: var(--shadow-md); touch-action: pan-y; }
.st-compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.st-compare .st-after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.st-compare-line { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 6px rgba(0,0,0,.4); pointer-events: none; }
.st-compare-knob { position: absolute; top: 50%; left: var(--pos, 50%); width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: #fff; color: var(--secondary-color); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); pointer-events: none; font-size: 14px; }
.st-compare input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.st-compare input[type=range]:focus-visible ~ .st-compare-knob { outline: 3px solid var(--primary-color); outline-offset: 2px; }
.st-tag { position: absolute; bottom: 12px; padding: 4px 12px; border-radius: 999px; background: rgba(15,42,82,.88); color: #fff; font-size: .85rem; font-weight: 600; pointer-events: none; }
.st-tag-l { left: 12px; } .st-tag-r { right: 12px; }
.st-single { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-md); background: var(--bg-light); }
.st-single img { width: 100%; height: auto; display: block; }
.st-note { margin-top: 10px; font-size: .85rem; color: var(--text-readable); }

.st-eyebrow { font-size: .95rem; font-weight: 600; color: var(--secondary-color); margin-bottom: 8px; }
.st-info h1 { font-size: 2.3rem; line-height: 1.25; color: var(--secondary-color); margin-bottom: 14px; }
.st-lead { font-size: 1.15rem; line-height: 1.6; margin-bottom: 22px; }
.st-features { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.st-features li { position: relative; padding: 12px 16px 12px 44px; background: var(--bg-light); border-radius: 10px; line-height: 1.5; }
.st-features li::before { content: "\2713"; position: absolute; left: 16px; top: 12px; font-weight: 700; color: var(--secondary-color); }
.st-for { margin-bottom: 20px; line-height: 1.6; }
.st-price { display: inline-block; padding: 10px 16px; border: 2px solid var(--secondary-color); border-radius: 10px; font-weight: 700; color: var(--secondary-color); margin-bottom: 18px; }

.st-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.st-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 12px; background: var(--secondary-color); color: #fff; font-weight: 700; font-size: 1.05rem; text-decoration: none; border: 2px solid var(--secondary-color); }
.st-cta:hover, .st-cta:focus-visible { background: var(--accent-color); }
.st-cta-ghost { background: #fff; color: var(--secondary-color); }
.st-cta-ghost:hover, .st-cta-ghost:focus-visible { background: var(--bg-light); }
.st-cond { margin-top: 10px; font-size: .9rem; color: var(--text-readable); }

.st-chips { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.st-chips li { padding: 5px 12px; border-radius: 999px; background: var(--bg-light); color: var(--text-readable); font-size: .85rem; }

.st-faq { margin-top: 64px; max-width: 800px; }
.st-faq h2 { font-size: 1.5rem; color: var(--secondary-color); margin-bottom: 16px; }
.st-faq details { border-bottom: 1px solid #dfe4ea; padding: 14px 0; }
.st-faq summary { cursor: pointer; font-weight: 600; }
.st-faq details p { margin-top: 10px; line-height: 1.6; color: var(--text-readable); }
.st-ai-notice { margin-top: 32px; font-size: .85rem; color: var(--text-readable); }

.st-sticky { display: none; }
@media (max-width: 860px) {
    .st-grid { grid-template-columns: 1fr; gap: 28px; }
    .st-visual { position: static; max-width: 440px; margin: 0 auto; width: 100%; }
    .st-info h1 { font-size: 1.8rem; }
    .st-page { padding-bottom: 120px; }
    .st-sticky { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px 84px 10px 16px; background: rgba(255,255,255,.96); box-shadow: 0 -2px 12px rgba(0,0,0,.12); }
    .st-sticky .st-cta { width: 100%; }
}

/* 카드 그리드 · 허브 · 분류 */
.st-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.st-card a { display: block; height: 100%; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s; }
.st-card a:hover, .st-card a:focus-visible { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.st-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; background: var(--bg-light); }
.st-card-body { padding: 12px 14px 14px; }
.st-card h3 { font-size: 1.02rem; color: var(--secondary-color); margin-bottom: 4px; line-height: 1.35; }
.st-card p { font-size: .88rem; color: var(--text-readable); line-height: 1.45; }
.st-card-t { display: inline-block; margin-top: 8px; padding: 2px 10px; border-radius: 999px; background: var(--bg-light); color: var(--text-readable); font-size: .78rem; }
.st-cats { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.st-cats .st-card img { aspect-ratio: 3 / 2; }
.st-hub-head { margin-bottom: 36px; max-width: 820px; }
.st-hub-head h1 { font-size: 2.3rem; line-height: 1.25; color: var(--secondary-color); margin-bottom: 12px; }
.st-h2 { font-size: 1.5rem; color: var(--secondary-color); margin: 40px 0 16px; }
.st-search input { width: 100%; max-width: 520px; min-height: 48px; padding: 0 16px; border: 2px solid #b8c2cc; border-radius: 12px; font-size: 1rem; }
.st-search input:focus-visible { outline: 3px solid var(--primary-color); outline-offset: 1px; border-color: var(--secondary-color); }
.st-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.st-chips-btn { margin-top: 14px; }
.st-chips-btn button { padding: 6px 14px; border-radius: 999px; border: 1px solid #b8c2cc; background: #fff; color: var(--text-dark); font-size: .88rem; cursor: pointer; min-height: 36px; }
.st-chips-btn button[aria-pressed="true"] { background: var(--secondary-color); border-color: var(--secondary-color); color: #fff; }
.st-count { margin: 18px 0 6px; font-size: .9rem; color: var(--text-readable); }
.st-group { margin-top: 28px; }
.st-group h3.st-gh { font-size: 1.2rem; color: var(--secondary-color); margin-bottom: 4px; }
.st-group .st-gd { font-size: .92rem; color: var(--text-readable); margin-bottom: 14px; }
.st-empty { margin-top: 24px; color: var(--text-readable); }
.st-chips a { color: inherit; text-decoration: none; }
.st-chips li:has(a) { padding: 0; }
.st-chips li a { display: block; padding: 5px 12px; }
.st-cat-head { margin-bottom: 8px; }
.st-link { color: var(--secondary-color); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.st-more { margin-top: 56px; }
.st-more h2 { font-size: 1.5rem; color: var(--secondary-color); margin-bottom: 16px; }
.st-more > p { margin-top: 16px; }
.st-cta-list { display: grid; gap: 10px; }
.st-cta-list .st-cta { justify-content: flex-start; }
.st-pick { font-weight: 600; margin-bottom: 8px; }

/* 이름이 비슷한 스타일 비교 */
.st-similar { margin-top: 56px; max-width: 900px; }
.st-similar h2 { font-size: 1.5rem; color: var(--secondary-color); margin-bottom: 6px; }
.st-similar > p { color: var(--text-readable); margin-bottom: 14px; }
.st-similar ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.st-similar li { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; padding: 10px 14px; border-radius: 12px; background: var(--bg-light); line-height: 1.45; }
.st-similar li.st-self { border: 2px solid var(--secondary-color); background: #fff; }
.st-similar img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.st-similar strong a, .st-similar strong { color: var(--secondary-color); }
.st-similar em { font-style: normal; font-size: .8rem; color: var(--text-readable); margin-left: 6px; }
@media (max-width: 860px) { .st-hub-head h1 { font-size: 1.8rem; } .st-cards { grid-template-columns: repeat(2, 1fr); gap: 12px; } .st-cats { grid-template-columns: 1fr; } }
