/* オトナセールカタログ フロントスタイル */
.osc-catalog { --osc-accent:#e60012; --osc-dark:#222; --osc-border:#ddd; font-size:15px; color:var(--osc-dark); }
.osc-catalog * { box-sizing:border-box; }

/* 絞り込みフォーム */
.osc-filters { border:1px solid var(--osc-border); border-radius:8px; padding:12px 16px; margin-bottom:12px; background:#fafafa; }
.osc-filter-group { border:none; margin:0 0 10px; padding:0; }
.osc-filter-group legend { font-weight:700; margin-bottom:6px; }
.osc-genre-list { display:flex; flex-wrap:wrap; gap:6px; }
.osc-genre-chip { display:inline-block; cursor:pointer; }
.osc-genre-chip input { position:absolute; opacity:0; pointer-events:none; }
.osc-genre-chip span { display:inline-block; padding:4px 10px; border:1px solid var(--osc-border); border-radius:999px; background:#fff; font-size:13px; }
.osc-genre-chip input:checked + span { background:var(--osc-accent); border-color:var(--osc-accent); color:#fff; }
.osc-genre-chip input:focus-visible + span { outline:2px solid var(--osc-accent); outline-offset:2px; }
.osc-filter-row { display:flex; flex-wrap:wrap; gap:12px; align-items:end; }
.osc-filter-row label { display:flex; flex-direction:column; gap:4px; font-size:13px; font-weight:600; }
.osc-filter-row select { padding:6px 8px; border:1px solid var(--osc-border); border-radius:6px; background:#fff; min-width:140px; }

/* ボタン */
.osc-btn { display:inline-block; padding:8px 18px; border-radius:6px; border:1px solid var(--osc-border); background:#fff; color:var(--osc-dark); text-decoration:none; font-weight:700; cursor:pointer; }
.osc-btn-primary { background:var(--osc-accent); border-color:var(--osc-accent); color:#fff; }
.osc-btn-primary:hover { opacity:.88; color:#fff; }

/* 選択中チップ */
.osc-chips { display:flex; flex-wrap:wrap; gap:6px; align-items:center; margin:8px 0 12px; }
.osc-chips-label { font-size:13px; font-weight:700; }
.osc-chip { padding:4px 10px; border-radius:999px; background:#333; color:#fff; font-size:13px; text-decoration:none; }
.osc-chip:hover { background:#000; color:#fff; }
.osc-chip-clear { background:#fff; color:var(--osc-accent); border:1px solid var(--osc-accent); }
.osc-chip-clear:hover { background:var(--osc-accent); color:#fff; }

.osc-count { font-weight:700; margin:8px 0; }

/* グリッド */
.osc-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); gap:16px; }
.osc-card { border:1px solid var(--osc-border); border-radius:8px; overflow:hidden; background:#fff; display:flex; flex-direction:column; }
.osc-card-image { position:relative; background:#f2f2f2; aspect-ratio:147/200; overflow:hidden; }
.osc-card-image img { width:100%; height:100%; object-fit:cover; display:block; }
.osc-badge { position:absolute; top:8px; left:8px; background:var(--osc-accent); color:#fff; font-weight:800; font-size:13px; padding:3px 8px; border-radius:4px; z-index:1; }
.osc-card-title { font-size:14px; line-height:1.5; margin:10px 10px 4px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.osc-card-review { margin:0 10px 4px; font-size:12px; color:#666; }
.osc-stars { color:#f5a623; letter-spacing:1px; }
.osc-card-price { margin:0 10px 8px; }
.osc-list-price { color:#999; font-size:13px; margin-right:6px; }
.osc-price { color:var(--osc-accent); font-weight:800; font-size:18px; }
.osc-card-cta { margin:auto 10px 12px; }
.osc-card-cta .osc-btn { display:block; text-align:center; }

.osc-empty { border:1px dashed var(--osc-border); border-radius:8px; padding:24px; text-align:center; }
.osc-note { font-size:12px; color:#777; margin-top:16px; }

/* ページネーション */
.osc-pagination { display:flex; flex-wrap:wrap; gap:6px; margin:20px 0; }
.osc-page { padding:6px 12px; border:1px solid var(--osc-border); border-radius:6px; text-decoration:none; color:var(--osc-dark); background:#fff; }
.osc-page.current { background:var(--osc-accent); border-color:var(--osc-accent); color:#fff; font-weight:700; }

/* APIクレジット */
.osc-api-credit { font-size:12px; color:#777; text-align:center; }
.osc-api-credit a { color:#777; }

/* サマリー（[otona_summary]） */
.osc-summary { font-size:16px; font-weight:700; color:var(--osc-dark,#222); background:#fff7f7; border:1px solid #f3c2c6; border-radius:8px; padding:10px 14px; margin:0 0 16px; text-align:center; }

/* プラグインテンプレート共通（個別ページ／アーカイブ） */
.osc-page .osc-catalog { --osc-accent:#e60012; --osc-dark:#222; --osc-border:#ddd; max-width:1080px; margin:0 auto; padding:16px; }
.osc-breadcrumb { display:flex; flex-wrap:wrap; gap:6px; align-items:center; font-size:13px; color:#666; margin-bottom:12px; }
.osc-breadcrumb a { color:#666; }
.osc-breadcrumb-current { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:60%; }

/* 作品個別ページ */
.osc-single-title { font-size:22px; line-height:1.4; margin:0 0 16px; }
.osc-single-body { display:flex; gap:24px; align-items:flex-start; }
.osc-single-image { position:relative; flex:0 0 320px; max-width:320px; background:#f2f2f2; border:1px solid var(--osc-border); border-radius:8px; overflow:hidden; }
.osc-single-image img { width:100%; height:auto; display:block; }
.osc-single-info { flex:1; min-width:0; }
.osc-single-review { margin:0 0 8px; font-size:14px; }
.osc-single-price { margin:0 0 16px; }
.osc-single-price .osc-price { font-size:28px; }
.osc-single-price .osc-list-price { font-size:16px; }
.osc-discount-label { display:inline-block; background:var(--osc-accent); color:#fff; font-weight:800; font-size:13px; padding:3px 8px; border-radius:4px; margin-left:8px; vertical-align:middle; }
.osc-single-cta { margin:0 0 20px; }
.osc-single-cta .osc-btn { display:inline-block; padding:12px 36px; font-size:16px; }
.osc-single-meta { margin:0 0 16px; border-top:1px solid var(--osc-border); }
.osc-meta-row { display:flex; gap:12px; padding:8px 0; border-bottom:1px solid var(--osc-border); font-size:14px; }
.osc-meta-row dt { flex:0 0 72px; font-weight:700; color:#555; }
.osc-meta-row dd { margin:0; }
.osc-meta-row a { color:#0b5cad; }
.osc-related { margin-top:32px; }
.osc-related-title { font-size:18px; margin:0 0 12px; }
.osc-related-more { margin-top:12px; font-size:14px; }

/* タクソノミーアーカイブ */
.osc-archive-title { font-size:22px; margin:0 0 8px; }
.osc-archive-intro { font-size:14px; color:#444; line-height:1.7; margin:0 0 16px; }
.osc-archive .navigation.pagination { display:flex; flex-wrap:wrap; gap:6px; margin:20px 0; }
.osc-archive .navigation.pagination .page-numbers { padding:6px 12px; border:1px solid var(--osc-border); border-radius:6px; text-decoration:none; color:var(--osc-dark); background:#fff; }
.osc-archive .navigation.pagination .page-numbers.current { background:var(--osc-accent); border-color:var(--osc-accent); color:#fff; font-weight:700; }

@media (max-width:640px) {
	.osc-grid { grid-template-columns:repeat(2,1fr); gap:10px; }
	.osc-filter-row select { min-width:120px; }
	.osc-single-body { flex-direction:column; }
	.osc-single-image { flex:none; max-width:100%; width:100%; }
	.osc-breadcrumb-current { max-width:100%; white-space:normal; }
}
