/* 제품 상세보기 페이지 스타일 */
.product-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background: #fff;
}

.product-detail-header {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
}

.product-image-section {
    flex: 1;
    max-width: 500px;
}

.product-main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.product-info-section {
    flex: 1;
    padding: 20px 0;
}

.category-badge {
    display: inline-block;
    background: #141B54;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(66, 153, 225, 0.3);
}

.product-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 20px;
    line-height: 1.2;
}

.product-tags {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.product-tag {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 14px;
    color: #4a5568;
    font-weight: 500;
}

.product-tag.patent {
    background: #f7fafc;
    border-color: #cbd5e0;
}

.product-tag.vegan {
    background: #f0fff4;
    border-color: #9ae6b4;
    color: #2d7738;
}

.separator-line {
    width: 100%;
    height: 1px;
    background: #e2e8f0;
    margin: 18px 0 0 0;
}

.product-details {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    row-gap: 6px;
    margin-top: 15px;
}

.detail-label {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    padding: 8px 0;
}

.detail-value {
    font-size: 16px;
    color: #4a5568;
    line-height: 1.6;
    padding: 0 0 8px 0;
}

.product-description {
    grid-column: 1 / -1;
}

.product-description .detail-value {
    line-height: 1.8;
    white-space: pre-line;
}

.key-features {
    grid-column: 1 / -1;
}

.key-features .detail-value {
    line-height: 1.8;
    white-space: pre-line;
}

.inci-info {
    grid-column: 1 / -1;
}

.inci-info .detail-value {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    background: #f7fafc;
    padding: 12px;
    border-radius: 6px;
    border-left: 4px solid #141B54;
}

.brand-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo-detail {
    max-width: 80px;
    max-height: 30px;
    object-fit: contain;
}

.brand-name-fallback {
    display: inline-block;
    padding: 6px 16px;
    background: #ffc107;
    color: #333;
    font-size: 14px;
    font-weight: bold;
    border-radius: 6px;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #141B54;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s;
    margin-top: 40px;
}

.back-button:hover {
    background: #3182ce;
    color: white;
    text-decoration: none;
}

.back-button::before {
    content: "←";
    font-size: 18px;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .product-detail-container {
        padding: 20px 15px;
    }
    
    .product-detail-header {
        flex-direction: column;
        gap: 30px;
    }
    
    .product-image-section {
        max-width: 100%;
    }
    
    .product-main-image {
        height: 300px;
    }
    
    .category-badge {
        font-size: 12px;
        padding: 6px 12px;
        margin-bottom: 15px;
    }
    
    .product-title {
        font-size: 24px;
    }
    
    .product-details {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .detail-label {
        font-size: 14px;
        font-weight: 700;
    }
    
    .detail-value {
        font-size: 14px;
    }
    
    .product-tags {
        gap: 8px;
    }
    
    .product-tag {
        font-size: 12px;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .product-detail-container {
        padding: 15px 10px;
    }
    
    .product-main-image {
        height: 250px;
    }
    
    .category-badge {
        font-size: 11px;
        padding: 5px 10px;
        margin-bottom: 12px;
    }
    
    .product-title {
        font-size: 20px;
    }
    
    .separator-line {
        margin: 20px 0;
    }
}
