@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&family=DM+Sans:wght@500;700;800&display=swap');

:root {
    --bg-body: #121212;
    --bg-header: rgba(20, 20, 30, 0.97);
    --text-body: #f5f5f5;
    --text-sub: #999;
    --bg-card: #ffffff;
    --text-card: #222222;
    --ps-blue: #0070d1;
    --ps-blue-hover: #005bb5;
    --ps-blue-light: rgba(0,112,209,0.15);
    --amz-orange: #FF9900;
    --rakuten-red: #bf0000;
    --ribbon-red: #e60012;
    --price-red: #d32f2f;
    --sale-green: #00c853;
    --radius-s: 8px;
    --radius-m: 14px;
    --shadow-card: 0 4px 12px rgba(0,0,0,0.3);
    --shadow-card-hover: 0 12px 28px rgba(0,112,209,0.15), 0 4px 12px rgba(0,0,0,0.3);
    --shadow-float: 0 10px 30px rgba(0,0,0,0.5);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border: 1px solid rgba(255,255,255,0.08);
}
body { font-family: "DM Sans", "Noto Sans JP", sans-serif; background-color: var(--bg-body); color: var(--text-body); margin: 0; padding: 20px; -webkit-font-smoothing: antialiased; }
html { overflow-x: hidden; }

/* === ヒーローセクション === */
.hero-section { max-width: 1200px; margin: 0 auto 12px; padding: 40px 32px 36px; position: relative; overflow: hidden; border-radius: var(--radius-m); background: linear-gradient(135deg, #1a1a2e 0%, #16213e 60%, #0f3460 100%); border: 1px solid rgba(0,112,209,0.2); }
.hero-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--ps-blue) 0%, #4fc3f7 50%, #00bcd4 100%); }
.hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; position: relative; z-index: 1; }
.hero-main { flex: 1; }
.app-logo { height: 56px; width: auto; object-fit: contain; display: block; margin-bottom: 2px; }
.app-logo-text { display: none; font-size: 20px; font-weight: 800; color: #fff; letter-spacing: -0.5px; }
.hero-title { font-size: 24px; font-weight: 900; color: #fff; margin: 10px 0 6px; line-height: 1.4; letter-spacing: -0.5px; }
.hero-desc { font-size: 14px; color: rgba(255,255,255,0.7); margin: 0; line-height: 1.6; }
.hero-badges { margin-top: 14px; display: flex; gap: 10px; flex-wrap: wrap; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; background: var(--ps-blue-light); border: 1px solid rgba(0,112,209,0.2); border-radius: 20px; color: var(--ps-blue); font-size: 13px; font-weight: 700; }
.hero-articles-link { display: inline-block; padding: 8px 18px; background: rgba(233,30,99,0.08); border: 1px solid rgba(233,30,99,0.25); border-radius: 20px; color: #e91e63; text-decoration: none; font-size: 14px; font-weight: 700; transition: background .2s, color .2s; }
.hero-articles-link:hover { background: #e91e63; color: #fff; }
.hero-stats { display: flex; gap: 16px; flex-shrink: 0; }
.hero-stat { text-align: center; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 14px 20px; min-width: 105px; }
.hero-stat-num { display: block; font-size: 26px; font-weight: 800; color: #fff; line-height: 1; }
.hero-stat-label { display: block; font-size: 11px; color: rgba(255,255,255,0.5); margin-top: 5px; font-weight: 500; }

/* === 新着記事バナー === */
.news-bar { display: flex; align-items: center; gap: 12px; background: rgba(233,30,99,0.08); border: 1px solid rgba(233,30,99,0.3); border-radius: 8px; padding: 10px 16px; margin: 0 auto 12px; max-width: 1200px; flex-wrap: wrap; box-sizing: border-box; }
.news-bar-label { font-size: 12px; font-weight: 700; color: #e91e63; white-space: nowrap; flex-shrink: 0; }
.news-bar-items { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.news-bar-item { font-size: 13px; color: #e0e0e0; text-decoration: none; padding: 2px 10px; background: rgba(255,255,255,0.06); border-radius: 4px; transition: background .2s, color .2s; display: inline-block; align-self: flex-start; }
.news-bar-item:hover { background: rgba(233,30,99,0.2); color: #fff; }
.news-bar-more { font-size: 12px; color: #e91e63; text-decoration: none; white-space: nowrap; flex-shrink: 0; }
.news-bar-more:hover { text-decoration: underline; }

/* === フィルターバー === */
.filter-container { position: sticky; top: 20px; z-index: 100; background: var(--bg-header); padding: 14px 22px; box-shadow: var(--shadow-float); max-width: 1200px; margin: 0 auto 28px auto; border-radius: var(--radius-m); display: flex; gap: 12px; align-items: center; flex-wrap: wrap; backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.06); border-top: 3px solid var(--ps-blue); }
.filter-row { display: flex; gap: 12px; align-items: center; width: 100%; flex-wrap: wrap; }
.search-wrapper { flex: 1; min-width: 180px; }
.search-wrapper input { width: 100%; box-sizing: border-box; padding: 9px 14px; border: var(--border); border-radius: var(--radius-s); font-size: 14px; font-family: inherit; background: #fff; transition: border-color 0.2s, box-shadow 0.2s; }
.search-wrapper input:focus { outline: none; border-color: var(--ps-blue); box-shadow: 0 0 0 3px rgba(0,112,209,0.08); }
#genreFilter { padding: 9px 12px; border: var(--border); border-radius: var(--radius-s); font-size: 14px; font-family: inherit; background: #fff; min-width: 140px; }
select { font-family: inherit; }
input { font-family: inherit; }
.price-range-wrap { display: flex; align-items: center; gap: 6px; }
.price-range-label { font-size: 13px; color: #ccc; font-weight: 500; }
.price-range-wrap input[type="number"] { width: 80px; padding: 9px 8px; border: var(--border); border-radius: var(--radius-s); font-size: 14px; font-family: inherit; background: #fff; }
.price-range-wrap input[type=number]::-webkit-outer-spin-button,
.price-range-wrap input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.price-range-wrap input[type=number] { -moz-appearance: textfield; }
.price-range-sep { color: #bbb; }
.checkbox-row { display: flex; gap: 14px; flex-wrap: wrap; }
.sale-filter-label { font-size: 13px; color: var(--price-red); cursor: pointer; display: flex; align-items: center; gap: 4px; font-weight: 500; }
.sale-filter-label input { accent-color: var(--ps-blue); }
.action-btns { display: flex; gap: 8px; margin-left: auto; }
#searchBtn { padding: 9px 20px; background: var(--ps-blue); color: #fff; border: none; border-radius: var(--radius-s); font-size: 14px; font-weight: 700; cursor: pointer; font-family: inherit; transition: background 0.2s; }
#searchBtn:hover { background: var(--ps-blue-hover); }
.clear-btn { padding: 9px 16px; background: #fff; color: #666; border: var(--border); border-radius: var(--radius-s); font-size: 14px; cursor: pointer; font-family: inherit; transition: background 0.2s; }
.clear-btn:hover { background: var(--bg-body); }
button { font-family: inherit; }

/* === ページレイアウト === */
.page-layout { max-width: 1200px; margin: 0 auto; display: flex; gap: 24px; align-items: flex-start; }
.page-main { flex: 1; min-width: 0; }
.sidebar { width: 240px; flex-shrink: 0; position: sticky; top: 100px; }
.sidebar-section { background: #1a1a2e; border-radius: var(--radius-m); padding: 16px; border: 1px solid rgba(255,255,255,0.06); }
.sidebar-title { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.sidebar-loading { color: #666; font-size: 13px; text-align: center; padding: 20px 0; }
.sidebar-rec-card { display: flex; gap: 10px; padding: 8px 4px; border-bottom: 1px solid rgba(255,255,255,0.05); text-decoration: none; transition: background 0.15s; border-radius: 6px; }
.sidebar-rec-card:hover { background: rgba(255,255,255,0.04); }
.sidebar-rec-card:last-of-type { border-bottom: none; }
.sidebar-rec-img-wrap { width: 56px; height: 56px; flex-shrink: 0; border-radius: 6px; overflow: hidden; background: #222; }
.sidebar-rec-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-rec-info { flex: 1; min-width: 0; }
.sidebar-rec-name { font-size: 12px; color: #ccc; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sidebar-rec-price { font-size: 13px; font-weight: 700; color: #4fc3f7; margin-top: 4px; }

/* === カードグリッド === */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.loading { grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: #aaa; font-size: 15px; }
.card { background: var(--bg-card); border-radius: var(--radius-m); overflow: hidden; cursor: pointer; transition: var(--transition); box-shadow: var(--shadow-card); border: 1px solid #eee; position: relative; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); border-color: var(--ps-blue); }
.card-img-wrapper { width: 100%; aspect-ratio: 1 / 1; background: #f0f0f3; overflow: hidden; }
.card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card:hover .card-img { transform: scale(1.03); }
.card-content { padding: 14px; color: var(--text-card); }
.genre { font-size: 11px; color: var(--ps-blue); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.title { font-size: 14px; font-weight: 700; margin: 4px 0; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--text-card); }
.release-date { font-size: 12px; color: #aaa; margin-bottom: 8px; }
.price-container { border-top: 1px solid #f0f0f0; padding-top: 8px; }
.price-row-ps { display: flex; justify-content: space-between; font-size: 13px; color: #888; margin-bottom: 4px; }
.price-row-lowest { display: flex; justify-content: space-between; align-items: baseline; }
.lowest-label { font-size: 12px; color: #aaa; font-weight: 500; }
.lowest-val { font-size: 18px; font-weight: 800; color: var(--ps-blue); letter-spacing: -0.5px; }
.original-price { color: #bbb; font-size: 12px; }
.sale-price { color: var(--price-red); font-weight: 700; }
.sale-badge { position: absolute; top: 10px; left: 10px; background: var(--sale-green); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px; z-index: 2; box-shadow: 0 2px 8px rgba(0,200,83,0.25); }
.ribbon { position: absolute; top: 10px; right: -30px; background: var(--ribbon-red); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 36px; transform: rotate(45deg); z-index: 2; }

/* === ページャー === */
.pager { display: flex; justify-content: center; align-items: center; gap: 10px; padding: 20px 0; flex-wrap: wrap; position: relative; }
.pager-info { font-size: 13px; color: #999; width: 100%; text-align: center; margin-bottom: 4px; }
.pager-btns { display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; }
.pager-btns button { padding: 8px 14px; border: 1px solid #444; background: #1e1e1e; color: #ccc; border-radius: 6px; cursor: pointer; font-size: 13px; font-family: inherit; transition: all 0.15s; }
.pager-btns button:hover:not(:disabled) { background: #2a2a2a; color: #fff; }
.pager-btns button.active { background: var(--ps-blue); border-color: var(--ps-blue); color: #fff; font-weight: 700; }
.pager-btns button:disabled { opacity: 0.35; cursor: default; }
.sort-select { position: absolute; right: 0; top: 50%; transform: translateY(-50%); padding: 8px 12px; border: 1px solid #444; background: #1e1e1e; color: #ccc; border-radius: 6px; font-size: 13px; font-family: inherit; cursor: pointer; }
.sort-select:hover { background: #2a2a2a; color: #fff; }
.sort-select:focus { outline: none; border-color: var(--ps-blue); }

/* === モーダル === */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); z-index: 1000; align-items: center; justify-content: center; backdrop-filter: blur(8px); opacity: 0; transition: opacity 0.3s; }
.modal.show { display: flex; opacity: 1; }
.modal-content { background: #ffffff; color: var(--text-card); width: 95%; max-width: 1100px; height: 92vh; border-radius: var(--radius-m); overflow: hidden; display: flex; position: relative; box-shadow: 0 30px 60px rgba(0,0,0,0.5); animation: modalSlide 0.3s ease-out; }
@keyframes modalSlide { from { transform: translateY(30px) scale(0.98); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }
.close-btn { position: absolute; top: 20px; right: 20px; width: 40px; height: 40px; background: #f0f0f0; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #333; z-index: 100; font-size: 20px; transition: var(--transition); border: none; }
.close-btn:hover { background: #e0e0e0; transform: rotate(90deg); color: #000; }
.modal-left { width: 65%; background: #000; display: flex; flex-direction: column; position: relative; }
.main-view-area { flex-grow: 1; position: relative; display: flex; align-items: center; justify-content: center; background: #000; overflow: hidden; }
.main-view-img { max-width: 100%; max-height: 100%; object-fit: contain; }
.nav-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.1); color: white; border: none; width: 48px; height: 48px; border-radius: 50%; font-size: 20px; cursor: pointer; z-index: 10; display: flex; align-items: center; justify-content: center; transition: all 0.2s; backdrop-filter: blur(4px); }
.nav-btn:hover { background: rgba(255,255,255,0.3); transform: translateY(-50%) scale(1.1); }
.nav-prev { left: 20px; }
.nav-next { right: 20px; }
.thumb-area { height: 90px; width: 100%; background: #111; display: flex; align-items: center; gap: 10px; overflow-x: auto; padding: 0 20px; box-sizing: border-box; border-top: 1px solid #333; }
.thumb-item { height: 60px; width: auto; aspect-ratio: 16/9; object-fit: cover; cursor: pointer; opacity: 0.5; border-radius: 4px; border: 2px solid transparent; transition: all 0.2s; flex-shrink: 0; }
.thumb-item:hover { opacity: 0.8; }
.thumb-item.active { opacity: 1; border-color: var(--ps-blue); }
.modal-right { width: 35%; padding: 0; overflow: hidden; background: white; display: flex; flex-direction: column; box-sizing: border-box; position: relative; }
.modal-right-body { flex: 1; overflow-y: auto; padding: 40px 30px 20px 30px; box-sizing: border-box; }
.modal-tag { display: inline-block; background: var(--ps-blue); color: white; font-size: 10px; font-weight: 700; padding: 5px 12px; border-radius: 20px; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 1px; }
.modal-title { font-size: 24px; font-weight: 800; margin-bottom: 25px; line-height: 1.4; color: var(--text-card); }
.info-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-bottom: 30px; }
.info-table th { text-align: left; color: #888; font-weight: normal; padding: 8px 0; width: 90px; vertical-align: top; border-bottom: 1px solid #eee; }
.info-table td { padding: 8px 0; color: #333; font-weight: 500; border-bottom: 1px solid #eee; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }
.modal-price-area { margin-bottom: 25px; padding: 20px; background: #f8f9fa; border-radius: var(--radius-s); text-align: center; border: 1px solid #eee; }
.modal-price-note { font-size: 12px; color: #888; margin-bottom: 8px; font-weight: bold; }
.modal-price { font-size: 32px; font-family: 'DM Sans', sans-serif; font-weight: 700; color: var(--price-red); line-height: 1; }
.modal-price.clickable { cursor: pointer; position: relative; display: inline-block; transition: transform 0.2s, color 0.2s; border-bottom: 2px solid transparent; }
.modal-price.clickable:hover { transform: scale(1.05); border-bottom-color: var(--price-red); opacity: 0.8; }
.modal-price.clickable::after { content: "↗ サイトへ移動"; position: absolute; top: -20px; right: -10px; font-size: 10px; background: #333; color: white; padding: 2px 6px; border-radius: 4px; opacity: 0; transition: opacity 0.2s; pointer-events: none; }
.modal-price.clickable:hover::after { opacity: 1; }
.modal-price-sub { font-size: 13px; color: #999; margin-top: 4px; }

/* セール情報エリア */
.sale-info-area { margin-bottom: 15px; padding: 15px; background: linear-gradient(135deg, #fff5f5, #ffe8e8); border: 1px solid #ffcccc; border-radius: var(--radius-s); text-align: center; }
.sale-info-badge { display: inline-block; background: linear-gradient(135deg, #e60012, #ff4444); color: white; font-size: 13px; font-weight: 800; padding: 5px 14px; border-radius: 20px; margin-bottom: 10px; letter-spacing: 0.5px; }
.sale-price-detail { font-size: 16px; margin-bottom: 6px; }
.sale-original { color: #999; font-size: 14px; }
.sale-arrow { color: var(--price-red); font-weight: bold; margin: 0 6px; }
.sale-current { color: var(--price-red); font-size: 20px; font-weight: 800; font-family: 'DM Sans', sans-serif; }
.sale-end { font-size: 12px; color: #888; margin-top: 4px; }

/* ショップボタン */
.shop-btn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.shop-btn { display: flex; align-items: center; justify-content: center; padding: 11px 8px; border-radius: var(--radius-s); font-size: 13px; font-weight: 700; text-decoration: none; color: #fff; text-align: center; transition: opacity 0.2s, transform 0.15s; }
.shop-btn:hover { opacity: 0.85; transform: translateY(-1px); }
.shop-btn[style*="display: none"], .shop-btn[style*="display:none"] { display: none !important; }
.btn-ps { background: var(--ps-blue); }
.btn-amz { background: var(--amz-orange); }
.btn-rakuten { background: var(--rakuten-red); }
.btn-yamada { background: linear-gradient(135deg, #4caf50, #43a047) !important; color: #fff !important; }
.btn-yamada:hover { background: linear-gradient(135deg, #43a047, #388e3c) !important; }
.btn-bic { background: linear-gradient(135deg, #0068b7, #005a9e) !important; color: #fff !important; }
.btn-bic:hover { background: linear-gradient(135deg, #005a9e, #004c87) !important; }
.btn-yodobashi { background: linear-gradient(135deg, #ff6600, #e55b00) !important; color: #fff !important; }
.btn-yodobashi:hover { background: linear-gradient(135deg, #e55b00, #cc5000) !important; }
.btn-disabled { background: #e0e0e0 !important; color: #999 !important; cursor: default; box-shadow: none; }

/* 詳細ページリンク */
.detail-page-link { display: block; text-align: center; padding: 12px 0; color: var(--ps-blue); font-size: 14px; font-weight: 600; text-decoration: none; border-top: 1px solid #f0f0f0; margin-top: auto; transition: color 0.2s; }
.detail-page-link:hover { color: var(--ps-blue-hover); }

/* シェアボタン */
.share-container { display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid #f0f0f0; }
.share-label { font-size: 12px; color: #aaa; font-weight: 500; }
.share-buttons { display: flex; gap: 6px; }
.share-btn-sns { width: 34px; height: 34px; border-radius: 50%; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform 0.15s; }
.share-btn-sns:hover { transform: scale(1.1); }
.share-btn-sns svg { width: 16px; height: 16px; }
.share-btn--x { background: #000; }
.share-btn--line { background: #06c755; }
.share-btn--fb { background: #1877f2; }
.share-btn--hatena { background: #00a4de; }
.share-btn--copy { background: #e8e8e8; }
.share-toast { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(20px); background: #333; color: #fff; padding: 10px 20px; border-radius: 8px; font-size: 13px; opacity: 0; transition: opacity 0.3s, transform 0.3s; z-index: 999; pointer-events: none; }
.share-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* 説明文パネル */
.desc-toggle-btn { background: #f0f4f8; border: none; border-radius: 0; border-top: 1px solid #e0e0e0; padding: 0 24px; height: 48px; line-height: 48px; color: #555; font-size: 13px; font-weight: 600; cursor: pointer; flex-shrink: 0; text-align: center; display: flex; align-items: center; justify-content: center; width: 100%; box-sizing: border-box; }
.desc-toggle-btn:hover { background: #e6ecf2; color: #333; }
.desc-panel { position: absolute; top: 0; bottom: 0; left: auto; right: 0; width: 35%; background: #fff; display: flex; flex-direction: column; padding: 40px 30px 0 30px; box-sizing: border-box; transform: translateY(100%); transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1); z-index: 20; overflow: hidden; }
.desc-panel.open { transform: translateY(0); }
.desc-close-btn { margin-top: auto; background: #f0f4f8; border: none; border-radius: 0; border-top: 1px solid #e0e0e0; padding: 0 24px; height: 48px; line-height: 48px; color: #555; font-size: 13px; font-weight: 600; cursor: pointer; flex-shrink: 0; text-align: center; display: flex; align-items: center; justify-content: center; width: calc(100% + 60px); margin-left: -30px; margin-right: -30px; box-sizing: border-box; }
.desc-close-btn:hover { background: #e6ecf2; color: #333; }
.desc-area { font-size: 14px; line-height: 1.8; color: #444; white-space: pre-wrap; overflow-y: auto; flex: 1; }

/* === フッター === */
.site-footer { max-width: 1200px; margin: 48px auto 0; padding: 28px 20px; border-top: 1px solid #333; text-align: center; font-size: 12px; color: #888; line-height: 2; }
.footer-links { margin-top: 8px; }
.footer-links a { color: #888; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-links span { margin: 0 8px; color: #555; }

/* === レスポンシブ === */
@media (max-width: 768px) {
    body { padding: 10px; }
    .hero-section { padding: 24px 16px; border-radius: 10px; }
    .hero-inner { flex-direction: column; text-align: center; }
    .hero-title { font-size: 19px; }
    .hero-stats { justify-content: center; }
    .hero-stat { min-width: 85px; padding: 12px 14px; }
    .hero-stat-num { font-size: 22px; }
    .hero-badges { justify-content: center; }
    .app-logo { display: none; }
    .app-logo-text { display: block; flex-basis: auto; margin-bottom: 4px; color: #fff; }
    .filter-container { position: sticky; top: 0; border-radius: var(--radius-s); padding: 10px 12px; margin-bottom: 16px; }
    .filter-row { flex-direction: column; align-items: stretch; gap: 10px; }
    .search-wrapper { min-width: 100%; }
    .search-wrapper input { width: 100%; }
    #genreFilter { flex: 1; min-width: 100px; width: 100%; }
    .price-range-wrap { width: 100%; }
    .price-range-wrap input[type="number"] { flex: 1; min-width: 0; }
    .checkbox-row { flex-direction: row; gap: 20px; flex-wrap: wrap; padding: 4px 0; }
    .action-btns { width: 100%; margin-left: 0; }
    .action-btns button { flex: 1; height: 44px; }
    .grid { grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 10px; }
    .page-layout { flex-direction: column; }
    .sidebar { width: 100%; position: static; }
    .modal-content { flex-direction: column; width: 100vw; max-width: 100vw; height: 100dvh; border-radius: 0; overflow: hidden; }
    .modal-left { width: 100%; height: 36vh; flex-shrink: 0; }
    .thumb-area { height: 70px; }
    .thumb-item { height: 50px; }
    .modal-right { width: 100%; flex: 1; min-height: 0; padding: 0; overflow: hidden; box-sizing: border-box; }
    .modal-right-body { padding: 14px 18px; overflow-y: auto; }
    .modal-title { font-size: 18px; margin-bottom: 14px; }
    .modal-price { font-size: 24px; }
    .shop-btn-grid { grid-template-columns: 1fr; }
    .sort-select { position: static; transform: none; width: 100%; margin-top: 4px; }
    .pager { flex-direction: column; }
    .desc-panel { left: 0 !important; right: 0 !important; width: 100% !important; padding: 14px 18px 0 18px; }
    .desc-toggle-btn { width: 100%; margin-left: 0; margin-right: 0; }
    .desc-close-btn { width: calc(100% + 36px); margin-left: -18px; margin-right: -18px; }
    .close-btn { top: 12px; right: 12px; z-index: 200; background: rgba(0,0,0,0.5); color: white; }
    .close-btn:hover { background: rgba(0,0,0,0.7); color: white; }
    .share-btn-sns { width: 34px; height: 34px; }
    .share-btn-sns svg { width: 16px; height: 16px; }
    .news-bar { padding: 8px 12px; }
    .news-bar-item { max-width: 200px; }
}