/* products: page-specific styles. */
.menu-list-wal {
	background-color: var(--theme-gray-100);
	padding: 2% 3% 2% 3%;
	height: auto;
	display: flex;
	align-items: center;
}

.swiper {
	width: 68%;
	user-select: none;
}

/* Draw the hover border inside each thumbnail without changing its size. */
.menu-list-wal .product-img::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 3;
	box-sizing: border-box;
	border: 1px solid transparent;
	pointer-events: none;
	transition: border-color var(--theme-duration-interaction);
}

.menu-list-wal .product-img:hover::after,
.menu-list-wal .product-img:focus-visible::after {
	border-color: var(--theme-color-brand);
}

.wal2 {
	width: 12.5rem;
}

.title1 a,
.title2 a {
	transition: 0.5s;
}

.pageTitle .title2 {
	margin-bottom: 0.6rem;
}

.menu-list-wal .pageTitle {
	width: 28%;
	float: left;
	padding: 0 4% 0 0;
	margin: 0;
	position: relative;
	min-height: 1.7rem;
}

.menu-list-wal {
	margin-bottom: 0.4rem;
	transition: var(--theme-duration-interaction);
}

.menu-list-wal:last-child {
	margin-bottom: 0;
}

.menu-list-wal:hover {
	box-shadow: var(--theme-shadow-card);
}

.menu-list-wal .title1 a {
	color: var(--theme-color-brand);
}

.menu-list-wal .title2 a {
	color: inherit;
}

.menu-list-wal .title1 a:hover {
	color: var(--theme-color-brand-hover);
}

.menu-list-wal .title2 a:hover {
	color: var(--theme-gray-900);
}

.view-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 0.5rem;
	flex: 1 1 auto;
	left: 55%;
	bottom: 0;
	padding: 0 0.17rem 0 0.17rem;
	/* 文字、边框与箭头保持同色。 */
	color: var(--theme-gray-700);
	border: 2px solid currentColor;
	font-size: var(--theme-font-size-0-14rem-2);
	font-weight: var(--theme-font-weight-bold);
	line-height: var(--theme-line-height-1);
	text-align: center;
	text-transform: uppercase;
	position: absolute;
	overflow: hidden;
	transition: 0.3s;
	cursor: pointer;
	user-select: none;
}

.view-button span {
	display: inline-block;
	position: relative;
	line-height: var(--theme-line-height-1);
	transition: padding-right 0.5s;
}

.view-button span:after {
	content: '';
	position: absolute;
	width: .9em;
	height: .75em;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 1l4 4-4 4m6-8l4 4-4 4' fill='none' stroke='white' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 1l4 4-4 4m6-8l4 4-4 4' fill='none' stroke='white' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
	opacity: 0;
	top: 50%;
	transform: translateY(-50%);
	right: -20px;
	transition: right 0.5s, opacity 0.5s;
}

.view-button:hover span {
	padding-right: 0.25rem;
}

.view-button:hover span:after {
	opacity: 1;
	right: 0;
}

@media screen and (max-width:1004px) {
	.pageTitle {
		min-height: 1.8rem;
		height: auto;
		display: flex;
		flex-direction: column;
		position: relative;
	}

	.view-button {
		position: absolute;
		bottom: 0;
	}

	.view-button span {
		padding-right: 0.25rem;
	}

	.view-button span:after {
		opacity: 1;
		right: 0;
	}

	.menu-list-wal:hover {
		transform: none;
	}

	.wal2 {
		width: 90%;
	}

	.swiper {
		height: 100%;
	}
}

@media screen and (max-width:800px) {
	.wal2 {
		width: 100%;
	}

	.menu-list-wal {
		display: block;
	}

	.menu-list-wal .pageTitle {
		width: 100%;
		min-height: 0;
		display: grid;
		grid-template-columns: 1fr auto;
		grid-template-rows: auto auto;
		margin-bottom: 2%;
		column-gap: 0;
	}

	.pageTitle .title1 {
		font-size: var(--theme-font-size-0-3rem-2);
		grid-column: 1;
		grid-row: 1;
	}

	.pageTitle .title2 {
		font-size: var(--theme-font-size-0-25rem);
		margin-bottom: 0;
		grid-column: 1;
		grid-row: 2;
	}

	.view-button {
		position: relative;
		grid-column: 2;
		grid-row: 1/3;
		bottom: 0;
		align-self: center;
		left: 0;
	}

	.swiper {
		width: 100%;
	}
}
