/**
 * ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 * ⚡ NanoBanana Renewal v2.1 — Templates CSS
 * ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 * 📁 파일명: /new/_acc/css/templates.css
 * 📌 버전: v1.2
 * 📅 작성일: 2026-02-22
 * 📝 설명: ★ [v1.2] frontend-preview.html에서 분리
 * ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 */

/* ===== Templates CSS (바나나 라인 적용 — 카테고리 그리드 2열 + 갤러리 패턴) ===== */
.templates-view { position: relative; }
.templates-header { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.templates-header h2 { font-size: 24px; font-weight: 700; color: var(--banana-text); }
.templates-header h2 i { color: var(--accent); }
.pro-badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; background: linear-gradient(135deg, #f59e0b 0%, #FF6B35 100%); color: white; border-radius: 6px; font-size: 11px; font-weight: 700; }
/* 섹션 라벨 */
.tpl-section-label { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; color: var(--banana-text); margin-bottom: 16px; }
.tpl-section-label i { color: var(--accent); font-size: 14px; }
/* tpl-cat-grid 제거됨 — cat-grid 그대로 사용 */
/* 갤러리 카드 클릭 인터랙션 */
#tplGalleryGrid .gallery-card-placeholder { transition: transform 0.15s, box-shadow 0.15s; }
#tplGalleryGrid .gallery-card-placeholder:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(255, 107, 53, 0.18); }
[data-theme="dark"] #tplGalleryGrid .gallery-card-placeholder:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.35); }
/* 기존 호환용 유지 */
.btn-open-in-studio { display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; background: linear-gradient(135deg, #f59e0b 0%, #FF6B35 100%); color: white; border: none; border-radius: 8px; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; transition: all 0.2s; }
.btn-open-in-studio:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3); }
.templates-lock-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.6); z-index: 300; display: flex; align-items: center; justify-content: center; }
.lock-content { background: var(--bg); border: 1px solid var(--banana-border); border-radius: 16px; padding: 40px; text-align: center; max-width: 400px; width: 90%; box-shadow: 0 8px 32px rgba(0,0,0,0.2); }
.lock-icon { font-size: 48px; color: var(--accent); display: block; margin-bottom: 16px; }
.lock-content h3 { font-size: 20px; font-weight: 700; color: var(--banana-text); margin-bottom: 8px; }
.lock-content p { font-size: 14px; color: var(--text-secondary); margin-bottom: 20px; }
.btn-upgrade { display: inline-flex; align-items: center; gap: 6px; padding: 12px 28px; background: linear-gradient(135deg, #f59e0b 0%, #FF6B35 100%); color: white; border: none; border-radius: 8px; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; }
[data-theme="dark"] .lock-content { background: var(--surface); }

