.product-info {
border: 1px solid #e0e0e0;
padding: 25px;
margin: 30px 0;
border-radius: 12px;
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.product-info img {
max-width: 100%;
height: auto;
border-radius: 8px;
margin-bottom: 20px;
}
.product-info h3 {
font-size: 1.4em;
color: #333;
margin-bottom: 15px;
line-height: 1.4;
}
.price-info {
background: #f8f9fa;
padding: 20px;
margin: 15px 0;
border-radius: 8px;
border: 1px solid #e9ecef;
}
.current-price {
font-size: 1.5em;
color: #dc3545;
font-weight: bold;
margin: 0;
}
.original-price {
color: #6c757d;
text-decoration: line-through;
margin: 5px 0;
}
.discount-rate {
color: #e65100;
font-weight: bold;
font-size: 1.1em;
margin: 5px 0;
}
.points {
color: #28a745;
margin: 5px 0;
}
.rating-info {
background: #fff8e1;
padding: 15px;
margin: 15px 0;
border-radius: 8px;
border: 1px solid #ffe0b2;
}
.rating {
color: #ff9800;
font-weight: bold;
font-size: 1.1em;
margin: 0;
}
.delivery-info {
background: #e3f2fd;
padding: 15px;
margin: 15px 0;
border-radius: 8px;
border: 1px solid #bbdefb;
color: #1976d2;
}
.product-description {
margin: 20px 0;
line-height: 1.8;
color: #555;
}
.product-description ul {
padding-left: 20px;
}
.product-description li {
margin: 8px 0;
}
.btn-goto {
text-align: center;
margin: 25px 0;
}
.btn-goto a {
display: inline-block;
padding: 15px 30px;
background: #1976d2;
color: white;
text-decoration: none;
border-radius: 8px;
font-weight: bold;
transition: all 0.3s ease;
font-size: 1.1em;
}
.btn-goto a:hover {
background: #1565c0;
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.required-info {
margin: 20px 0;
padding: 20px;
background: #fafafa;
border-radius: 8px;
border: 1px solid #f0f0f0;
}
.required-info table {
width: 100%;
border-collapse: collapse;
}
.required-info th, .required-info td {
padding: 12px;
border: 1px solid #e0e0e0;
text-align: left;
}
.required-info th {
background: #f5f5f5;
width: 30%;
}
.highlight-box {
background: #fff3e0;
padding: 20px;
margin: 20px 0;
border-radius: 8px;
border: 1px solid #ffe0b2;
}
여러분께 인사드려요! 2024년 11월, 상품 구매 전 꼭 알아야 할 팁을 공개합니다! 놓치지 말고 확인하세요.
외 BEST 4
#alert-custom::after {
content: “이 포스팅은 쿠팡 파트너스 활동의 일환으로, 이에 따른 일정액의 수수료를 제공받습니다.”;
white-space: pre-wrap;
font-family: ‘Noto Sans KR’, sans-serif;
font-size: 18px;
color: #d32f2f;
font-weight: 700;
text-align: center;
display: block;
margin-top: 40px;
padding: 15px;
border-top: 1px solid #e0e0e0;
border-bottom: 1px solid #e0e0e0;
margin-bottom: 30px;
background: #fff5f5;
}
document.addEventListener(“DOMContentLoaded”, function() {
function getCoupangAffiliateId() {
const urlParams = new URLSearchParams(window.location.search);
return urlParams.get(‘coupang’);
}
function setCoupangAffiliateIdInCookie(id) {
document.cookie = “coupangAffiliateId=” + id + “; path=/; max-age=2592000”;
}
function getCoupangAffiliateIdFromCookie() {
const name = “coupangAffiliateId=”;
const decodedCookie = decodeURIComponent(document.cookie);
const ca = decodedCookie.split(‘;’);
for(let i = 0; i {
let url = new URL(link.href);
url.searchParams.set(‘coupang’, affiliateId);
link.href = url.toString();
});
}
}
updateCoupangLinks();
const observer = new MutationObserver(() => {
updateCoupangLinks();
});
observer.observe(document.body, { childList: true, subtree: true });
});