/* 門店資訊（第五版 V5Store）：三张信息卡、地图、节假日和交通两块。 */

.fm-store-facts {
	display: grid;
	gap: 18px;
}

.fm-store-fact {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 24px;
	border: 1px solid var(--fm-color-line);
	border-radius: var(--fm-radius-card);
}

.fm-store-fact__label {
	margin: 0;
	color: var(--fm-color-accent);
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
}

.fm-store-fact__value {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.6;
}

.fm-store-fact__note {
	margin: 0;
	color: var(--fm-color-text-muted);
	font-size: 15px;
}

.fm-store-map {
	padding-block: 0;

	.fm-map {
		min-height: 320px;
	}
}

.fm-store-more {
	display: grid;
	gap: 24px;
}

.fm-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 16px;

	th {
		padding: 10px 8px 10px 0;
		border-bottom: 2px solid var(--fm-color-border);
		text-align: left;
	}

	td {
		padding: 10px 8px 10px 0;
		border-bottom: 1px solid var(--fm-color-line);
		vertical-align: top;
	}

	tr:last-child td {
		border-bottom: 0;
	}
}

.fm-store-way {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.fm-store-way__label {
	margin: 0;
	color: var(--fm-color-accent);
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
}

@media (min-width: 768px) {

	.fm-store-facts {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		padding-block: 48px;
	}

	.fm-store-map {
		padding-bottom: 48px;

		.fm-map {
			min-height: 420px;
		}
	}

	.fm-store-more {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		padding-top: 0;
		padding-bottom: 64px;
	}

	.fm-store-more .fm-card {
		padding: 28px;
	}
}
