/*
 * 딜레이다 - 상품 카드 v2 스타일
 * nosearch.com 스타일의 미니멀한 상품 카드 디자인
 * PC 반응형 전용
 */

/* ========================================
   상품 카드 v2 - 메인 스타일
   ======================================== */
.product-card-v2 {
    display: block;
    height: 100%;
}

.product-card-v2 .card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    border-radius: var(--radius-md);
    background: var(--bg-white);
    overflow: hidden;
    transition: var(--transition);
}

.product-card-v2 .card-link:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

/* ========================================
   이미지 래퍼
   ======================================== */
.product-card-v2 .card-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--bg-gray);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.product-card-v2 .card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.product-card-v2 .card-link:hover .card-image {
    transform: scale(1.05);
}

/* ========================================
   찜하기 버튼
   ======================================== */
.product-card-v2 .card-favorite {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    z-index: 10;
}

.product-card-v2 .card-favorite:hover {
    background: var(--bg-light);
    box-shadow: var(--shadow-md);
}

.product-card-v2 .card-favorite img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* ========================================
   콘텐츠 영역
   ======================================== */
.product-card-v2 .card-content {
    flex: 1;
    padding: 12px;
    display: flex;
    flex-direction: column;
}

/* ========================================
   브랜드
   ======================================== */
.product-card-v2 .card-brand {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========================================
   상품명
   ======================================== */
.product-card-v2 .card-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: keep-all;
}

/* ========================================
   가격 영역
   ======================================== */
.product-card-v2 .card-price-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.product-card-v2 .card-discount {
    font-size: 0.875rem;
    font-weight: 700;
    color: #d32f2f;
    flex-shrink: 0;
}

.product-card-v2 .card-price {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
    flex-shrink: 0;
}

/* ========================================
   정가 (취소선)
   ======================================== */
.product-card-v2 .card-original-price {
    font-size: 0.75rem;
    color: var(--text-light);
    text-decoration: line-through;
}

/* ========================================
   모바일 숨김 (1023px 이하)
   ======================================== */
@media (max-width: 1023px) {
    .product-card-v2 {
        display: none;
    }
}
