
.oc-content-wrap {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	width: 100%;
    box-sizing: border-box;
    padding: 20px;
}

.product-card {
	background: white;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	border: 1px solid #f0f0f0;
}

.product-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.product-image-wrapper {
	position: relative;
	width: 100%;
	padding-bottom: 100%; /* 정사각형 비율 유지 */
	overflow: hidden;
	background: #f8f9fa;
}
img.thumnail_layered_image.left_top {
    top: 0;
    left: 0;
}
img.thumnail_layered_image.left_top {
    width: 30%!important;
    height: 30%!important;
    position: absolute;
    object-fit: contain;
}
.sale-badge {
	position: absolute;
	top: 15px;
	left: 15px;
	background: #479BFF;
	color: white;
	padding: 6px 14px;
	border-radius: 20px;
	font-weight: 700;
	font-size: 13px;
	z-index: 1;
	animation: pulse 2s infinite;
}
img.hover-image {
    display: none;
}
span.cart_bt {
    width: 30px;
    height: 30px;
    border-radius: 4px;
    background-color: #fff;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 15px;
    right: 8px;
    font-size: 16px;
    transition: .3s;
    opacity: 0;
    z-index: 1000;
}
@keyframes pulse {
	0%, 100% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.05);
	}
}

.product-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.product-card:hover .product-image {
	transform: scale(1.1);
}

.product-content {
	padding: 20px;
}

.product-title {
	font-size: 18px;
	font-weight: 700;
	color: #1a1a1a;
	margin-bottom: 8px;
	line-height: 1.3;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.product-subtitle {
	font-size: 14px;
	color: #6c757d;
	margin-bottom: 16px;
	line-height: 1.5;
	font-weight: 400;
}

.price-section {
	display: flex;
	align-items: center;
	gap: 10px;
}

.original-price {
	font-size: 20px;
	font-weight: 700;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.sale-price {
	font-size: 14px;
	color: #adb5bd;
	text-decoration: line-through;
	font-weight: 400;
}

.discount-percentage {
	background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
	color: white;
	padding: 2px 8px 4px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.3;
}

/* 두 번째 카드 스타일 */
.product-card.style-2 .sale-price {
	background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* 세 번째 카드 스타일 */
.product-card.style-3 .sale-price {
	background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* 네 번째 카드 스타일 */
.product-card.style-4 .sale-price {
	background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}
img.hover-image {
	display: none;
}
.hover-image:hover .hover-image {
	display: block;
}
.hover-image:hover .cover-image{
	display: none;
}

@media (max-width: 1280px) {
	.oc-content-wrap{
		gap: 10px;
	}
	.original-price{
		font-size: 16px;
	}
	.sale-price{
		font-size: 16px;
	}
}

@media (max-width: 1024px) {
    .oc-content-wrap {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

@media (max-width: 480px) {
    .oc-content-wrap {
        padding: 0;
    }
	.product-card{
		box-shadow: none;
		border-radius: 12px;
	}
	.product-card:hover{
		transform: translateY(0);
		box-shadow: none;
	}
    
    .product-title {
        font-size: 16px;
    }
    
    .sale-price {
        font-size: 16px;
		margin-bottom: 5px;
    }

	.price-section{
		flex-direction: column;
		gap: 0;
	}

	.sale-badge{
		font-size: 11px;
		padding: 6px 12px 8px;
		top: 10px;
		left: 10px;
	}

	.product-content{
		padding: 20px 15px;
	}
}
