a { color: #222; }

.containerbox {
	margin: 0 auto;
	padding: 0 20px;
	max-width: 1120px;
}

.category-header { margin: 40px 0 20px; }
.category-header h2 { font-size: 24px; font-weight: 700; color: #222; }
.category-header p { font-size: 16px; font-weight: 600; color: #757575; }

.category-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px 12px;
	justify-content: center;
}
@media (min-width: 768px) {
	.category-grid { grid-template-columns: repeat(4, 262px); gap: 24px 16px; }
	.shop-item img { width: 262px; height: 262px; }
}

.vertical-menu {
	display: flex;
	overflow-x: auto;
	white-space: nowrap;
	gap: 8px;
	margin: 20px 0;
}
.vertical-menu::-webkit-scrollbar { display: none; }
.vertical-menu-item {
	flex: 0 0 auto;
	padding: 8px 20px;
	border-radius: 100px;
	border: 1px solid #E0E0E0;
	font-size: 16px;
	font-weight: 600;
	white-space: nowrap;
}
.vertical-menu-item.select_on { border-color: #EF4044; color: #EF4044; }

.shop-item {
	display: flex;
	flex-direction: column;
	cursor: pointer;
	text-align: start;
	position: relative;
}
.shop-item .img-wrapper { position: relative; }
.shop-item img {
	width: 100%;
	height: auto;
	border-radius: 8px;
	display: block;
}
.soldout-overlay {
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 100%;
	background: rgba(0,0,0,0.6);
	display: flex;
	justify-content: center;
	align-items: center;
	color: white;
	font-size: 20px;
	font-weight: bold;
	border-radius: 8px;
}

.product-name-2line {
	width: 100%;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: normal;
	word-break: break-word;
}

.price-wrap {
	margin-top: 8px;
	display: flex;
	flex-direction: column;
	width: 100%;
}
.std-price {
	color: #757;
	font-size: 12px;
	font-weight: 500;
}
.std-price.is-discounted {
	text-decoration: line-through;
	color: #b0b0b0;
}

.sale-row {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 2px;
}
.dc-rate {
	font-size: 16px;
	font-weight: 700;
	color: #EF4044;
	line-height: 1;
}
.sale-price {
	font-size: 16px;
	font-weight: 700;
	color: #222;
	line-height: 1;
}

.item-desc {
	margin-top: 8px;
	font-size: 13px;
	color: #757575;
	line-height: 18px;
	white-space: pre-line;
	overflow-wrap: anywhere;
	word-break: break-word;
	--desc-lines: 3;
	max-height: calc(18px * var(--desc-lines));
	overflow: hidden;
}
.item-desc br { display: block; content: ""; margin-top: 2px; }
