/* 제품 상세 페이지 */
.product-details {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	margin-top: 120px; /* 상단 네비게이션 공간 확보 */
	padding: 20px;
	background-color: white;
	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
@media(min-width: 768px) {
	.product-details {
		flex-direction: row;
	}
}
.image-section {
	flex: 3;
	padding: 10px;
}
.image-section img {
	width: 100%;
	height: auto;
	border-radius: 8px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.options-section {
	flex: 2;
	padding: 10px;
}
.options-section select, 
.options-section button {
	width: 100%;
	padding: 10px;
	margin-bottom: 10px;
	font-size: 16px;
	border: 1px solid #ccc;
	border-radius: 5px;
	background-color: #fff;
	cursor: pointer;
}
.options-section button {
	background-color: #ff6347;
	color: white;
	border: none;
	font-weight: bold;
}
.options-section button:hover {
	background-color: #ff2a00;
}
.price {
	font-size: 18px;
	font-weight: bold;
	margin-top: 10px;
	color: #333;
}
.final-price {
	font-size: 20px;
	font-weight: bold;
	color: #ff6347;
	margin-top: 10px;
}
.product-description {
	margin-top: 30px;
}
.product-description img {
	width: 100%;
	height: auto;
	margin-bottom: 20px;
	opacity: 0;
	transform: translateY(100px);
	transition: opacity 1s ease-out, transform 1s ease-out;
}
.product-description img.show {
	opacity: 1;
	transform: translateY(0);
}


.product-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin-top: 170px; /* 상단 네비게이션 공간 확보 */
	margin-bottom: 100px;
}
.product-item {
	width: 100%;
	max-width: 260px;
	border: 1px solid #ddd;
	padding: 10px;
	text-align: center;
}
.product-item img {
	width: 100%;
	height: auto;
}
.product-item a {
	color: inherit;
  	text-decoration: none;
}
@media (max-width:1000px) {
	.product-grid {
		justify-content: center;
	}
}
@media (max-width: 830px) {
	.product-grid {
		margin-top: 100px;
	}
	.product-item {
		width: calc(30% - 20px);
	}
}
@media (max-width: 500px) {
	.product-item {
		width: calc(100%);
	}
}