/* ==================================
   合同会社キッチンの小物 PRODUCT CARDS
   Clean, minimalist design matching real site
   ================================== */

.itemCardList {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.itemCard--L {
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 3px;
	overflow: hidden;
	transition: all 0.2s ease;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.itemCard--L:hover {
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
	transform: translateY(-1px);
	border-color: #ddd;
}

.itemCard__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

/* Product Image Container */
.itemCard__thumb {
	position: relative;
	background: #fafafa;
	padding: 18px;
	min-height: 220px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-bottom: 1px solid #f0f0f0;
	flex-shrink: 0;
}

.itemCard__figure {
	margin: 0;
	text-align: center;
	width: 100%;
	height: 180px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.itemCard__figure img {
	max-height: 180px;
	max-width: 100%;
	object-fit: contain;
	display: block;
	margin: 0 auto;
}

/* Status Badges */
.itemCard__soldOut {
	position: absolute;
	top: 8px;
	right: 8px;
	background: #c70f0f;
	color: #fff;
	padding: 4px 12px;
	font-weight: 600;
	border-radius: 2px;
	font-size: 11px;
	letter-spacing: 0.3px;
	z-index: 10;
}

.itemCard__lowStock {
	position: absolute;
	top: 8px;
	right: 8px;
	background: #ff9800;
	color: #fff;
	padding: 4px 12px;
	font-weight: 600;
	border-radius: 2px;
	font-size: 11px;
	letter-spacing: 0.3px;
}

.itemCard__freeShipping {
	position: absolute;
	top: 8px;
	left: 8px;
	background: #4caf50;
	color: #fff;
	padding: 4px 12px;
	font-weight: 600;
	border-radius: 2px;
	font-size: 11px;
	letter-spacing: 0.3px;
}

/* Card Body Content */
.itemCard__body {
	padding: 15px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.itemCard__category {
	color: #999;
	font-size: 10px;
	text-transform: uppercase;
	margin-bottom: 6px;
	letter-spacing: 0.5px;
	font-weight: 500;
}

.itemCard__head {
	margin-bottom: 8px;
}

.itemCard__title {
	font-size: 13px;
	font-weight: 500;
	margin: 0;
	line-height: 1.5;
	color: #333;
	min-height: 38px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	word-break: break-word;
}

.itemCard__description {
	color: #999;
	font-size: 12px;
	line-height: 1.6;
	margin-bottom: 12px;
	min-height: 54px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	flex: 1;
}

.itemCard__description p {
	margin: 0;
}

/* Price Display */
.itemCard__price {
	display: flex;
	align-items: baseline;
	padding-top: 12px;
	border-top: 1px solid #f5f5f5;
	margin-top: auto;
}

.itemCard__priceLabel {
	font-size: 11px;
	color: #999;
	margin-right: 4px;
}

.itemCard__priceValue {
	font-size: 16px;
	font-weight: 600;
	color: #c70f0f;
	letter-spacing: 0.3px;
}

.itemCard__taxIncluded {
	font-size: 10px;
	color: #999;
	margin-left: 4px;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
	.itemCardList {
		grid-template-columns: repeat(3, 1fr);
	}

	.itemCard__thumb {
		min-height: 200px;
	}

	.itemCard__figure {
		height: 160px;
	}

	.itemCard__figure img {
		max-height: 160px;
	}
}

@media (max-width: 768px) {
	.itemCardList {
		grid-template-columns: repeat(2, 1fr);
	}

	.itemCard__thumb {
		min-height: 180px;
		padding: 15px;
	}

	.itemCard__figure {
		height: 140px;
	}

	.itemCard__figure img {
		max-height: 140px;
	}

	.itemCard__body {
		padding: 12px;
	}

	.itemCard__title {
		font-size: 12px;
		min-height: 34px;
	}

	.itemCard__description {
		font-size: 11px;
		min-height: 48px;
	}
}

@media (max-width: 480px) {
	.itemCardList {
		grid-template-columns: 1fr;
	}

	.itemCard__thumb {
		min-height: 220px;
		padding: 20px;
	}

	.itemCard__figure {
		height: 180px;
	}

	.itemCard__figure img {
		max-height: 180px;
	}
}
