/**
 * 가격표 섹션 스타일 v4.0 - 가로 배치 레이아웃
 * 2026-01-28 (12개 제품 이미지 4배 확대 + 가로 배치)
 */

/* ========================================
   가격표 섹션 스타일
   ======================================== */

.price-table-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e3eaf2 50%, #c3cfe2 100%);
}

.price-table-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

.price-table-title {
    text-align: center;
    margin-bottom: 80px;
}

.price-table-title h2 {
    font-size: 4.5rem; /* 3배 확대 */
    color: #2d5016;
    margin-bottom: 25px;
    font-family: 'Noto Serif KR', serif;
    font-weight: 900;
    text-shadow: 0 4px 20px rgba(45, 80, 22, 0.2);
}

.price-table-title p {
    font-size: 2rem; /* 2배 확대 */
    color: #666;
    font-weight: 500;
}

/* ========================================
   가격표 가로 배치 레이아웃 (이미지 4배 확대)
   ======================================== */

.price-table-wrapper {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* 각 제품 행 */
.price-table-row {
    display: grid;
    grid-template-columns: 450px 1fr; /* 이미지 영역 450px, 정보 영역 나머지 */
    gap: 80px;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.98) 100%);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.1);
    border: 4px solid transparent;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.price-table-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 124, 30, 0.05) 0%, rgba(45, 80, 22, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.price-table-row:hover::before {
    opacity: 1;
}

.price-table-row:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(240, 247, 255, 1) 100%);
    box-shadow: 0 25px 80px rgba(45, 80, 22, 0.2);
    transform: translateY(-10px);
    border-color: #4a7c1e;
}

/* 제품 번호 배지 */
.price-table-number {
    position: absolute;
    top: 30px;
    left: 30px;
    background: linear-gradient(135deg, #2d5016 0%, #4a7c1e 100%);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    box-shadow: 0 8px 30px rgba(45, 80, 22, 0.5);
    z-index: 10;
}

/* 이미지 영역 */
.price-table-image-wrapper {
    position: relative;
    width: 400px;
    height: 400px;
}

.price-table-product-image {
    width: 400px;  /* 100px → 400px (4배 확대) */
    height: 400px; /* 100px → 400px (4배 확대) */
    object-fit: cover;
    border-radius: 25px;
    box-shadow: 
        0 15px 60px rgba(0, 0, 0, 0.2),
        0 0 0 8px rgba(255, 255, 255, 0.8);
    transition: box-shadow 0.3s ease; /* transform 제거 */
    cursor: pointer;
}

.price-table-product-image:hover {
    /* 움직임 효과 삭제 - 그림자만 유지 */
    box-shadow: 
        0 20px 70px rgba(45, 80, 22, 0.25),
        0 0 0 10px rgba(74, 124, 30, 0.2);
}

/* 제품 정보 영역 */
.price-table-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* 제품명 */
.price-table-name {
    font-size: 3rem;
    color: #2d5016;
    font-weight: 900;
    font-family: 'Noto Serif KR', serif;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(45, 80, 22, 0.1);
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* 배지 */
.price-table-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 25px;
    border-radius: 20px;
    font-size: 1.3rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.price-table-badge.best {
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    color: white;
}

.price-table-badge.hot {
    background: linear-gradient(135deg, #ff8c00, #ff6347);
    color: white;
}

.price-table-badge.new {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
}

/* 제품 상세 정보 그리드 */
.price-table-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 10px;
}

.price-table-detail-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    border: 2px solid rgba(74, 124, 30, 0.1);
}

.price-table-detail-label {
    font-size: 1.3rem;
    color: #666;
    font-weight: 600;
}

.price-table-detail-value {
    font-size: 2rem;
    color: #2d5016;
    font-weight: 900;
}

.price-table-detail-value.price {
    font-size: 2.8rem;
    color: #000000; /* 검정색으로 변경 */
    font-weight: 900;
    text-shadow: none; /* 그림자 제거 */
}

.price-table-detail-value.category {
    font-size: 1.6rem;
    color: #4a7c1e;
    font-weight: 700;
}

/* ========================================
   반응형 디자인
   ======================================== */

@media (max-width: 1400px) {
    .price-table-row {
        grid-template-columns: 350px 1fr;
        gap: 60px;
        padding: 40px;
    }

    .price-table-image-wrapper {
        width: 350px;
        height: 350px;
    }

    .price-table-product-image {
        width: 350px;
        height: 350px;
    }

    .price-table-name {
        font-size: 2.5rem;
    }

    .price-table-detail-value {
        font-size: 1.8rem;
    }
}

@media (max-width: 1024px) {
    .price-table-section {
        padding: 80px 0;
    }

    .price-table-row {
        grid-template-columns: 300px 1fr;
        gap: 40px;
        padding: 30px;
    }

    .price-table-image-wrapper {
        width: 300px;
        height: 300px;
    }

    .price-table-product-image {
        width: 300px;
        height: 300px;
    }

    .price-table-number {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    .price-table-name {
        font-size: 2.2rem;
    }

    .price-table-badge {
        font-size: 1.1rem;
        padding: 8px 20px;
    }

    .price-table-details {
        gap: 20px;
    }

    .price-table-detail-value {
        font-size: 1.6rem;
    }

    .price-table-detail-value.price {
        font-size: 2.3rem;
    }
}

@media (max-width: 768px) {
    .price-table-section {
        padding: 60px 0;
    }

    .price-table-container {
        padding: 0 20px;
    }

    .price-table-title h2 {
        font-size: 3rem;
    }

    .price-table-title p {
        font-size: 1.5rem;
    }

    .price-table-wrapper {
        gap: 40px;
    }

    .price-table-row {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 20px;
    }

    .price-table-image-wrapper {
        width: 100%;
        height: auto;
        max-width: 400px;
        margin: 0 auto;
    }

    .price-table-product-image {
        width: 100%;
        height: auto;
        aspect-ratio: 1/1;
    }

    .price-table-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        top: 20px;
        left: 20px;
    }

    .price-table-name {
        font-size: 2rem;
        justify-content: center;
        text-align: center;
    }

    .price-table-badge {
        font-size: 1rem;
        padding: 6px 15px;
    }

    .price-table-details {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .price-table-detail-item {
        padding: 15px;
    }

    .price-table-detail-label {
        font-size: 1.1rem;
    }

    .price-table-detail-value {
        font-size: 1.5rem;
    }

    .price-table-detail-value.price {
        font-size: 2rem;
    }

    .price-table-detail-value.category {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .price-table-section {
        padding: 40px 0;
    }

    .price-table-title h2 {
        font-size: 2.5rem;
    }

    .price-table-title p {
        font-size: 1.2rem;
    }

    .price-table-wrapper {
        gap: 30px;
    }

    .price-table-row {
        padding: 20px 15px;
    }

    .price-table-name {
        font-size: 1.8rem;
    }

    .price-table-badge {
        font-size: 0.9rem;
        padding: 5px 12px;
    }
}

/* ========================================
   애니메이션
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.price-table-row {
    animation: fadeInUp 0.8s ease-out backwards;
}

.price-table-row:nth-child(1) { animation-delay: 0.1s; }
.price-table-row:nth-child(2) { animation-delay: 0.2s; }
.price-table-row:nth-child(3) { animation-delay: 0.3s; }
.price-table-row:nth-child(4) { animation-delay: 0.4s; }
.price-table-row:nth-child(5) { animation-delay: 0.5s; }
.price-table-row:nth-child(6) { animation-delay: 0.6s; }
.price-table-row:nth-child(7) { animation-delay: 0.7s; }
.price-table-row:nth-child(8) { animation-delay: 0.8s; }
.price-table-row:nth-child(9) { animation-delay: 0.9s; }
.price-table-row:nth-child(10) { animation-delay: 1.0s; }
.price-table-row:nth-child(11) { animation-delay: 1.1s; }
.price-table-row:nth-child(12) { animation-delay: 1.2s; }

/* 황금빛 반짝임 효과 */
@keyframes goldenShine {
    0%, 100% {
        text-shadow: 
            0 2px 10px rgba(212, 175, 55, 0.3),
            0 0 20px rgba(212, 175, 55, 0.2);
    }
    50% {
        text-shadow: 
            0 2px 10px rgba(212, 175, 55, 0.6),
            0 0 40px rgba(212, 175, 55, 0.4);
    }
}

.price-table-detail-value.price {
    animation: goldenShine 3s ease-in-out infinite;
}
