VVIP °¡°Ý Ä«µå - °³¹ßÀÚ Àü´Þ¿ë

JS ¾øÀÌ HTML Á¶°¢ + CSS¸¸ »óǰ »ó¼¼ ÅÛÇø´¿¡ ³ÖÀ¸¸é µË´Ï´Ù.
¹Ì¸®º¸±â -> º¹»çÇÒ HTML -> º¹»çÇÒ CSS -> ³ÖÀ» À§Ä¡/°ª ¼ø¼­·Î º¸¼¼¿ä.

1. ¿Ï¼º ¸ð½À

685,000¿ø
548,000¿ø
VVIP ¸â¹ö½Ê ÇýÅð¡ 548,000¿ø
ÇýÅà ±Ý¾× -137,000¿ø

2. HTML (°¡°ÝÇ¥ ¹Ù·Î ¾Æ·¡¿¡ »ðÀÔ)

<div class="sm-vc-row">
  <span class="sm-vc-emblem" aria-hidden="true"></span>
  <div class="sm-vc-info">
    <span class="sm-vc-label">VVIP ¸â¹ö½Ê ÇýÅð¡</span>
    <span class="sm-vc-price">548,000¿ø</span>       <!-- ÆÇ¸Å°¡ -->
  </div>
  <span class="sm-vc-save">
    <span class="sm-vc-save-label">ÇýÅà ±Ý¾×</span>
    <span class="sm-vc-save-num">-137,000¿ø</span>  <!-- Á¤°¡-ÆÇ¸Å°¡ -->
  </span>
</div>

3. CSS (½ºÅ¸ÀÏ½ÃÆ® ¶Ç´Â <style>¿¡ Ãß°¡)

±Û¾¾ Å©±â´Â ÁÖ¼® ´Þ¸° font-size ¼ýÀÚ¸¸ ¹Ù²Ù¸é µË´Ï´Ù.

.sm-vc-row { display:flex; align-items:center; gap:14px; padding:18px 20px; margin:10px 0;
  background:linear-gradient(135deg,#fff5f6 0%,#ffe9ec 100%); border:1.5px solid #f4c5c9;
  border-radius:14px; box-sizing:border-box; }

.sm-vc-emblem { flex-shrink:0; position:relative; width:44px; height:50px;
  background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 46'><defs><linearGradient id='b' x1='0' y1='0' x2='0' y2='1'><stop offset='0' stop-color='%232a2c33'/><stop offset='1' stop-color='%2314161a'/></linearGradient></defs><path d='M 20 2.5 C 30 2.5, 37 9, 37 19 C 37 31, 26 43.5, 20 43.5 C 14 43.5, 3 31, 3 19 C 3 9, 10 2.5, 20 2.5 Z' fill='url(%23b)' stroke='%23e7c876' stroke-opacity='0.6' stroke-width='0.9'/></svg>") center / contain no-repeat;
  filter:drop-shadow(0 4px 10px rgba(20,22,26,.22)); }
.sm-vc-emblem::before { content:"S"; position:absolute; inset:0; display:flex; align-items:center;
  justify-content:center; padding-bottom:5px; font-family:Georgia,serif; font-style:italic;
  font-size:21px; color:#e7c876; }

.sm-vc-info { display:flex; flex-direction:column; gap:4px; min-width:0; }
.sm-vc-label { color:#c41020; font-size:17px; font-weight:normal; letter-spacing:-0.2px; white-space:nowrap; }
.sm-vc-price { color:#c41020; font-size:34px; font-weight:500; letter-spacing:-0.8px; line-height:1.05; }

.sm-vc-save { margin-left:auto; flex-shrink:0; padding:10px 16px; border-radius:14px;
  background:#ec0d2e; color:#fff; text-align:center; white-space:nowrap; }
.sm-vc-save-label { display:block; font-size:14px; font-weight:500; letter-spacing:-0.2px; }
.sm-vc-save-num { display:block; margin-top:2px; font-size:18px; font-weight:600; letter-spacing:-0.3px; }

@media (max-width:520px){
  .sm-vc-row{ padding:14px 14px; gap:10px; }
  .sm-vc-price{ font-size:28px; }
}

4. ³ÖÀ» À§Ä¡ & ¹é¿£µå °ª

¡¤ À§Ä¡: »óǰ »ó¼¼ ÅÛÇø´ÀÇ ÆÇ¸Å°¡°Ý Ç¥½Ã ¹Ù·Î ¾Æ·¡.
¡¤ °ª (2°÷¸¸):
  - sm-vc-price = ÆÇ¸Å°¡ (¿¹: 548,000¿ø)
  - sm-vc-save-num = Á¤°¡ - ÆÇ¸Å°¡ (¿¹: 685,000 - 548,000 = -137,000¿ø)
    Á¤°¡(ÇÒÀÎ) ¾ø´Â »óǰÀ̸é sm-vc-save Åë°·Î »©¸é µÊ.
¡¤ ³ëÃâ Á¶°Ç: VVIP ȸ¿ø + Ȱ¼º ¸â¹ö½ÊÀÏ ¶§¸¸. Àû¿ë Á¦¿Ü »óǰ(ºê·£µå NPP/MAP, À§Å¹/Áß°í/Àü½Ãǰ)Àº ¹Ì³ëÃâ.
¡¤ ÀÎÄÚµù: ÅÛÇø´¿¡ EUC-KR ±×´ë·Î ÀÛ¼º - ÆäÀÌÁö¿Í °°Àº ÀÎÄÚµùÀ̶ó ÇÑ±Û ¾È ±úÁü.
¡¤ Ŭ·¡½º¸í: sm-vc- Á¢µÎ»ç¶ó ±âÁ¸ ½ºÅ¸Àϰú Ãæµ¹ ¾øÀ½.

5. Âü°í

°°Àº Æú´õÀÇ 07-vvip-card-only.js´Â PHP¸¦ ¸ø °íÄ¡´Â »óÅ¿¡¼­ ºÏ¸¶Å¬¸´À¸·Î ¹Ì¸®º¸±âÇϱâ À§ÇÑ µ¥¸ðÀÔ´Ï´Ù. (ÆäÀÌÁö¿¡¼­ ÆÇ¸Å°¡/Á¤°¡¸¦ ÀÚµ¿À¸·Î Àоî Ä«µå¸¦ ³¢¿ö³ÖÀ½)
½ÇÁ¦ Àû¿ëÀº À§ HTML+CSS¸¦ ÅÛÇø´¿¡ Á÷Á¢ ³Ö´Â °ÍÀÌ Á¤¼®À̸ç, ±×·¯¸é JS ÀÇÁ¸¼º/ÀÎÄÚµù À̽´°¡ ÀüºÎ »ç¶óÁý´Ï´Ù.