/* =========================================================
   ハッシュタグ絞り込みグリッド — モノトーン（黒/白/グレー）
   ========================================================= */

.lmn-hashtag-grid {
	--hg-bg: #ffffff;
	--hg-text: #111111;
	--hg-text-dim: #6b6b6b;
	--hg-border: #e4e4e4;
	--hg-black: #111111;

	width: 100%;
	box-sizing: border-box;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.lmn-hashtag-grid * {
	box-sizing: border-box;
}

.lmn-hg-pills {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding: 4px 2px 18px;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.lmn-hg-pills::-webkit-scrollbar {
	display: none;
}

.lmn-hg-pill {
	flex: 0 0 auto;
	background: #fff;
	border: 1px solid var(--hg-border);
	color: var(--hg-text-dim);
	border-radius: 999px;
	padding: 9px 18px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.02em;
	white-space: nowrap;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.lmn-hg-pill:hover {
	border-color: var(--hg-black);
	color: var(--hg-black);
}

.lmn-hg-pill.is-active {
	background: var(--hg-black);
	border-color: var(--hg-black);
	color: #fff;
}

.lmn-hg-grid-items {
	position: relative;
	margin: 0 -8px;
}

.lmn-hg-grid-items .grid-item {
	width: calc(50% - 16px);
	margin: 8px;
	display: block;
	text-decoration: none;
	color: var(--hg-text);
	background: var(--hg-bg);
	border: 1px solid var(--hg-border);
	border-radius: 12px;
	overflow: hidden;
	transition: border-color 0.15s ease, transform 0.25s ease;
}

.lmn-hg-grid-items .grid-item:hover {
	border-color: var(--hg-black);
}

.lmn-hg-card-photo {
	position: relative;
	aspect-ratio: 3 / 4;
	background: #f2f2f2;
	overflow: hidden;
}

.lmn-hg-card-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.lmn-hg-card-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #eaeaea, #f7f7f7);
}

.lmn-hg-card-type {
	position: absolute;
	top: 8px;
	left: 8px;
	background: rgba(17, 17, 17, 0.78);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
	padding: 4px 9px;
	border-radius: 999px;
}

.lmn-hg-card-body {
	padding: 10px 12px 14px;
}

.lmn-hg-card-shop {
	display: block;
	font-size: 11px;
	color: var(--hg-text-dim);
	margin-bottom: 3px;
}

.lmn-hg-card-title {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
	margin: 0;
}

@media (min-width: 640px) {
	.lmn-hg-grid-items .grid-item {
		width: calc(33.333% - 16px);
	}
}

@media (min-width: 900px) {
	.lmn-hg-grid-items .grid-item {
		width: calc(25% - 16px);
	}
}

@media (min-width: 1200px) {
	.lmn-hg-grid-items .grid-item {
		width: calc(20% - 16px);
	}
}
