 img, video, div, svg {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
}
       * { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; background-color: #f5f5f5; color: #333; line-height: 1.6; }
.header { position: fixed; top: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 500px; height: 50px; background:#3194FF;  color:#fff; text-align:center; box-shadow: 0 1px 0 rgba(0,0,0,0.05); z-index: 1000; }
.header-inner { height: 100%; padding: 0 16px; display: flex; align-items: center; justify-content: center; }
.logo { font-size: 18px; font-weight: 600; letter-spacing: -0.5px; }
.header-nav { display: flex; gap: 20px; align-items: center; }
.nav-icon { width: 24px; height: 24px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.main-wrapper { display: flex; justify-content: center; min-height: 100vh; padding-top: 50px; padding-bottom: 80px; background: #F0F2F6; }
.side-banner { width: calc((100vw - 500px) / 2); padding: 20px; display: none; }
.banner-card { margin-bottom: 16px; text-align: center; width:100%;  }

.banner-image { width: 100%; height: 120px; background: #f0f0f0; border-radius: 8px; margin-bottom: 12px; }
.banner-text { font-size: 14px; color: #666; }
img {width:100%!important}
.content { width: 100%; max-width: 500px; background: white; }
.product-hero { padding-top:0px; position: relative; width: 100%; background: #fff; overflow: hidden; }
.product-image-main { object-fit: cover; display: flex; align-items: center; justify-content: center; font-size: 18px; color: #999; }
.clickable-image { cursor: pointer; transition: transform 0.2s ease; }
.clickable-image:hover { transform: scale(1.02); }
.product-info { padding: 32px 20px; }
.product-category { font-size: 13px; color: #888; margin-bottom: 8px; letter-spacing: -0.2px; }
.product-title { font-size: 22px; font-weight: 600; line-height: 1.3; margin-bottom: 16px; letter-spacing: -0.5px; }
.product-price { font-size: 28px; font-weight: 700; margin-bottom: 24px; }
.price-original { font-size: 18px; color: #999; text-decoration: line-through; margin-right: 12px; font-weight: 400; }
.price-discount { color: #ff4757; }
.product-detail { padding: 40px 20px; }
.detail-section { margin-bottom: 48px; }
.detail-title { font-size: 18px; font-weight: 600; margin-bottom: 16px; letter-spacing: -0.3px; }
.detail-content { font-size: 15px; color: #666; line-height: 1.8; }
.detail-image { width: 100%; height: 400px; background: #f5f5f5; border-radius: 8px; margin: 24px 0; display: flex; align-items: center; justify-content: center; color: #999; }
.bottom-bar { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 500px; background: white; box-shadow: 0 -1px 10px rgba(0,0,0,0.1); z-index: 1000; }
.bottom-bar-inner { padding: 12px 16px; display: flex; gap: 8px; }
.btn { padding: 14px 24px; border: none; border-radius: 8px; font-size: 16px; font-weight: 600; cursor: pointer; transition: all 0.2s; letter-spacing: -0.2px; }
.btn-wishlist { background: #f5f5f5; color: #333; min-width: 50px; }
.btn-cart { flex: 1; background: #333; color: white; }
.btn-buy { flex: 1; background: #ff4757; color: white; }
.btn:active { transform: scale(0.98); }
.consultation-form { background: #fff; padding: 40px 20px; margin: 40px 0; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.popup-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); z-index: 2000; display: none; opacity: 0; transition: opacity 0.3s ease; }
.popup-overlay.show { display: flex; opacity: 1; align-items: center; justify-content: center; }
.popup-content { background: white; border-radius: 16px; width: 90%; max-width: 500px; max-height: 90vh; overflow-y: auto; transform: scale(0.8); transition: transform 0.3s ease; }
.popup-overlay.show .popup-content { transform: scale(1); }
.popup-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 20px 0; }
.popup-close { background: none; border: none; font-size: 24px; cursor: pointer; color: #666; padding: 5px; }
.popup-close:hover { color: #333; }
.popup-body { padding: 0 20px 20px; }
.form-title { font-size: 24px; font-weight: 600; text-align: center; margin-bottom: 30px; color: #333; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; margin-bottom: 8px; font-weight: 500; color: #555; }
.form-input, .form-textarea, .form-select { margin-bottom:15px; width: 100%; padding: 12px 16px; border: 1px solid #ddd; border-radius: 8px; font-size: 16px; transition: border-color 0.3s; }
.form-input:focus, .form-textarea:focus, .form-select:focus { outline: none; border-color: #ff4757; }
.form-textarea { height: 120px; resize: vertical; }
.form-submit { width: 100%; background: #ff4757; color: white; padding: 16px; border: none; border-radius: 8px; font-size: 18px; font-weight: 600; cursor: pointer; transition: background-color 0.3s; }
.form-submit:hover { background: #e63946; }
.form-submit:disabled { background: #ccc; cursor: not-allowed; }
.success-message { background: #d4edda; color: #155724; padding: 15px; border-radius: 8px; margin-top: 20px; text-align: center; display: none; }
.error-message { background: #f8d7da; color: #721c24; padding: 15px; border-radius: 8px; margin-top: 20px; text-align: center; display: none; }
.max440 { max-width: 440px; }
.txt16 {font-size:16px;}
.txt28 {font-size:28px;}
.pink {color:#FF8787}
.blue {color:#3194FF}
.txt24 {font-size:24px;}
.w700 {font-weight:700;}
.line15{line-height:1.5em}
.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 100%; /* 16:9 비율 */
}

.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.stat-line {
      font-size: 84px;
      font-weight: 800;
      color: #7B2FF7;
      display: flex;
      justify-content: center;
      align-items: baseline;
      gap: 8px;
      flex-wrap: wrap; line-height: 1em;
    }

    .stat-line .label {
      font-size: 42px;
      font-weight: 600;
      color: #222;
    }

    .description {
      margin-top: 10px;
      font-size: 28px;
      font-weight: 600;
      color: #222;     line-height: 1.4em; margin-bottom:50px
    }

    .highlight {
      color: #7B2FF7;
    }

    /* 숫자 애니메이션 기본값 */
    .count {
      display: inline-block;
    }

    .description {text-align:Center}

    .product-image-main {
  position: relative;
  width: 100%;
 height:70vh;
  background: #222;
  overflow: hidden;
}
.video-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.image-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  display: flex; align-items: flex-start; justify-content: flex-start;
  padding:40px 20px;
  z-index: 1;
  pointer-events: none;

}
.image-overlay img {
  max-width: 80%; width: 80%; height: auto; border-radius: 16px;
  
}


@media (min-width: 1024px) {
    .side-banner { display: block; }
    .side-banner.left { position: fixed; bottom: 100px; height: 400px; right:1030px;  }
    .side-banner.right { position: fixed;bottom: 10px;height: 400px;right: -100px;}
    .content { box-shadow: 0 0 1px rgba(0,0,0,0.1); }
}
@media (max-width: 480px) {
    .product-hero { height: auto; }
    .product-title { font-size: 20px; }
    .product-price { font-size: 24px; }
    .btn { font-size: 15px; padding: 12px 20px; }
    .consultation-form { padding: 30px 15px; }
    .form-title { font-size: 20px; }
}
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }