.wpw-stores {
	--wpw-store-black: #000;
	--wpw-store-orange: #cb5219;
	color: var(--wpw-store-black);
	font-family: "Noto Serif TC", serif;
}

.wpw-stores__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 30px;
}

.wpw-stores__tab {
	min-width: 158px;
	padding: 8px 32px;
	border: 1.5px solid #999;
	border-radius: 999px;
	background: transparent !important;
	color: #999;
	font: inherit;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.1;
	cursor: pointer;
	transition: border-color .2s ease, color .2s ease;
}

.wpw-stores__tab:hover,
.wpw-stores__tab:focus-visible {
	border-color: #999;
	background: transparent !important;
	color: #999;
}

.wpw-stores__tab.is-active,
.wpw-stores__tab.is-active:hover,
.wpw-stores__tab.is-active:focus-visible {
	border-color: var(--wpw-store-black);
	background: transparent !important;
	color: var(--wpw-store-black);
}

.wpw-stores__tab:focus-visible {
	outline: 2px solid var(--wpw-store-orange);
	outline-offset: 3px;
}

.wpw-stores__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px 48px;
}

.wpw-store-card {
	position: relative;
	display: flex;
	min-height: 200px;
	padding: 20px 20px 16px;
	flex-direction: column;
	border: 1.5px solid var(--wpw-store-orange);
	border-radius: 28px;
	background: transparent;
}

.wpw-store-card__title {
	margin: 0 52px 5px 0;
	color: var(--wpw-store-black);
	font: inherit;
	font-size: 21px;
	font-weight: 500;
	letter-spacing: .08em;
	line-height: 1.35;
}

.wpw-store-card__details {
	margin-bottom: 16px;
	font-size: 17px;
	line-height: 1.65;
}

.wpw-store-card__details a {
	color: inherit;
	text-decoration: none;
}

.wpw-store-card__socials {
	position: absolute;
	top: 20px;
	right: 20px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.wpw-store-card__socials a {
	display: grid;
	width: 22px;
	height: 22px;
	place-items: center;
	border-radius: 5px;
	background: var(--wpw-store-black);
	color: #fff;
}

.wpw-store-card__socials svg {
	display: block;
	width: 17px;
	height: 17px;
	fill: currentColor;
}

.wpw-store-card__actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-top: auto;
}

.wpw-store-card__button {
	display: flex;
	min-height: 42px;
	padding: 7px 12px;
	align-items: center;
	justify-content: center;
	color: #fff !important;
	font-size: 20px;
	line-height: 1.2;
	text-align: center;
	text-decoration: none !important;
	transition: opacity .2s ease;
}

.wpw-store-card__button:hover,
.wpw-store-card__button:focus-visible {
	opacity: .8;
}

.wpw-store-card__button--map {
	background: var(--wpw-store-black);
}

.wpw-store-card__button--order {
	background: var(--wpw-store-orange);
}

@media (max-width: 767px) {
	.wpw-stores__tabs {
		gap: 8px;
	}

	.wpw-stores__tab {
		min-width: 0;
		flex: 1 1 120px;
		font-size: 20px;
	}

	.wpw-stores__grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.wpw-store-card {
		min-height: 0;
		border-radius: 22px;
	}
}
