.product_select_wrap {
  padding: 60px 0;
  background: #f8f9fa;
}

.product_select_wrap .inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.product_select_container {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
  align-items: stretch;
}

/* 좌측 영역 */
.product_select_left {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.product_select_title {
  margin-bottom: 30px;
}

.product_select_title h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  font-family: "Pretendard", "S-Core Dream", sans-serif;
}

.product-cards-select {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.product-card-select {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 24px 28px;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.product-card-select:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: #d0d0d0;
  transform: translateY(-2px);
}

.product-card-select.selected {
  border-color: #597dff;
  background: #f8f9ff;
  box-shadow: 0 4px 12px rgba(89, 125, 255, 0.15);
}

.product-card-select.highlight {
  background: #ffffff;
}

.product-card-select.highlight.selected {
  background: #f8f9ff;
}

.product-card-content {
  flex: 1;
  min-width: 0;
}

.product-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.product-name {
  font-family: "Pretendard", "S-Core Dream", sans-serif;
  font-size: 1.25rem;
  color: #1a1a1a;
  font-weight: 700;
  line-height: 1.4;
}

.product-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.product-badge-item {
  font-family: "Pretendard", "S-Core Dream", sans-serif;
  font-size: 0.85rem;
  padding: 6px 12px;
  border-radius: 8px;
  background: #f5f5f5;
  color: #666;
  font-weight: 500;
  border: none;
  line-height: 1.4;
  white-space: nowrap;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.product-badge-item.badge-recommend {
  background: #597dff;
  color: #fff;
  font-weight: 600;
}

.product-info {
  text-align: left;
}

.product-rate-text {
  font-family: "Pretendard", "S-Core Dream", sans-serif;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 4px;
  font-weight: 400;
  line-height: 1.5;
}

.product-rate-text .rate-number {
  font-size: 1.1rem;
  color: #1a1a1a;
  font-weight: 700;
}

.product-rate-text .rate-number.event-rate {
  color: #597dff;
  font-weight: 700;
}

.product-note {
  font-family: "Pretendard", "S-Core Dream", sans-serif;
  font-size: 0.75rem;
  color: #999;
  margin: 0;
  line-height: 1.4;
}


/* 우측 영역 */
.product_select_right {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.investment_title {
  margin-bottom: 30px;
}

.investment_title h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  font-family: "Pretendard", "S-Core Dream", sans-serif;
}

.investment_calculator {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  flex: 1;
  display: flex;
  flex-direction: column;
}


/* 투자 상품 가입 금액 헤더 */
.investment_header {
  margin-bottom: 24px;
}

.investment_main_title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 8px 0;
  font-family: "Pretendard", "S-Core Dream", sans-serif;
}

.investment_subtitle {
  font-size: 0.875rem;
  font-weight: 400;
  color: #999;
  margin: 0;
  font-family: "Pretendard", "S-Core Dream", sans-serif;
}

/* 금액 입력 컨테이너 (만원 단위) */
.amount_input_wrapper {
  margin-bottom: 24px;
}

.amount_input_container {
  position: relative;
  display: flex;
  align-items: center;
  padding: 16px 20px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.amount_input_field {
  flex: 1;
  font-size: 1.125rem;
  font-weight: 600;
  color: #1a1a1a;
  border: none;
  background: transparent;
  outline: none;
  font-family: "Pretendard", "S-Core Dream", sans-serif;
  padding-right: 10px;
}

.amount_input_field::placeholder {
  color: #ccc;
  font-weight: 400;
}

/* Clear 버튼 */
.clear_input_btn {
  position: absolute;
  right: 70px;
  width: 20px;
  height: 20px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}

.clear_input_btn:hover {
  opacity: 0.7;
}

.clear_input_btn svg {
  display: block;
}

.amount_unit_label {
  font-size: 1rem;
  font-weight: 500;
  color: #666;
  flex-shrink: 0;
  font-family: "Pretendard", "S-Core Dream", sans-serif;
}

.amount_korean_wrapper {
  display: flex;
  justify-content: flex-end;
  padding: 8px 12px 0;
}

.amount_korean_display {
  font-size: 0.9rem;
  font-weight: 500;
  color: #999;
  font-family: "Pretendard", "S-Core Dream", sans-serif;
}

/* 빠른 금액 선택 버튼 */
.quick_amount_buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.quick_amount_btn {
  flex: 1;
  min-width: calc(20% - 8px);
  padding: 12px 16px;
  background: #ffffff;
  border: 2px solid #e5e5e5;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: "Pretendard", "S-Core Dream", sans-serif;
}

.quick_amount_btn:hover {
  border-color: #333;
  color: #333;
}

.quick_amount_btn.active {
  background: #ffffff;
  border-color: #1a1a1a;
  color: #1a1a1a;
  font-weight: 700;
}

.investment_slider_wrap {
  margin-bottom: 24px;
  position: relative;
  padding: 10px 0;
}

.slider_track {
  position: absolute;
  top: 10px;
  left: 0;
  width: 100%;
  height: 12px;
  background: linear-gradient(90deg, #e8ecf5 0%, #f0f3f9 100%);
  border-radius: 12px;
  z-index: 1;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

.slider_fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, #667eea 0%, #597dff 50%, #4a69ff 100%);
  border-radius: 12px;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  box-shadow: 0 2px 8px rgba(89, 125, 255, 0.4);
}

.investment_slider {
  position: relative;
  width: 100%;
  border-radius: 12px;
  background: transparent;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  z-index: 2;
  margin: 0;
  cursor: pointer;
}

.investment_slider::-webkit-slider-runnable-track {
  height: 12px;
  background: transparent;
}

.investment_slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
  border: 4px solid #597dff;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(89, 125, 255, 0.5),
    0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 3;
  margin-top: -8px;
  /* (thumb 28px - track 12px) / 2 = 8px */
}

.investment_slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 6px 20px rgba(89, 125, 255, 0.6),
    0 3px 8px rgba(0, 0, 0, 0.15);
  border-width: 5px;
}

.investment_slider::-webkit-slider-thumb:active {
  transform: scale(1.1);
}

.investment_slider::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
  border: 4px solid #597dff;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(89, 125, 255, 0.5),
    0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 3;
}

.investment_slider::-moz-range-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 6px 20px rgba(89, 125, 255, 0.6),
    0 3px 8px rgba(0, 0, 0, 0.15);
  border-width: 5px;
}

.investment_slider::-moz-range-thumb:active {
  transform: scale(1.1);
}

.investment_slider_labels {
  display: flex;
  justify-content: space-between;
  margin-top: 25px;
}

.slider_label {
  font-size: 0.9rem;
  color: #6b7280;
  font-weight: 600;
  font-family: "Pretendard", "S-Core Dream", sans-serif;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  backdrop-filter: blur(4px);
}

/* 투자 금액 안내 */
.investment_notice {
  margin-top: 20px;
  padding: 0;
}

.investment_notice p {
  font-size: 0.85rem;
  color: #666;
  margin: 6px 0;
  line-height: 1.5;
  font-family: "Pretendard", "S-Core Dream", sans-serif;
}

.investment_input_display {
  margin-bottom: 24px;
}

.input_wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px 20px;
  background: #ffffff;
  border: 2px solid #e8e8e8;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
}

.investment_amount_input {
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #1a1a1a 0%, #374151 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  border: none;
  background-color: transparent;
  width: 100%;
  font-family: "Pretendard", "S-Core Dream", sans-serif;
  letter-spacing: -0.03em;
  outline: none !important;
  box-shadow: none !important;
  transition: all 0.3s ease;
}

.investment_amount_input:focus {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
  transform: scale(1.02);
}

.investment_amount_input::placeholder {
  background: linear-gradient(135deg, #d1d5db 0%, #9ca3af 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}


.investment_unit {
  font-size: 1.5rem;
  background: linear-gradient(135deg, #667eea 0%, #597dff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  flex-shrink: 0;
}

.expected_profit_section {
  margin-top: auto;
  padding-top: 32px;
  border-top: 2px solid #f0f0f0;
  animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.profit_header {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 24px;
}

.profit_header h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  font-family: "Pretendard", "S-Core Dream", sans-serif;
}

.profit_subtitle {
  font-size: 0.85rem;
  color: #999;
  font-weight: 500;
  font-family: "Pretendard", "S-Core Dream", sans-serif;
}

.profit_info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.profit_item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: #f8f9fa;
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.profit_item:hover {
  background: #f0f4ff;
  transform: translateX(4px);
}

.profit_item.highlight {
  background: linear-gradient(135deg, #f0f4ff 0%, #ffffff 100%);
  border: 2px solid #597dff;
  box-shadow: 0 4px 12px rgba(89, 125, 255, 0.15);
}

.profit_icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(89, 125, 255, 0.1);
  border-radius: 10px;
}

.profit_item.highlight .profit_icon {
  background: rgba(89, 125, 255, 0.2);
}

.profit_content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.profit_label {
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
  font-family: "Pretendard", "S-Core Dream", sans-serif;
}

.profit_value {
  font-size: 1.4rem;
  font-weight: 800;
  color: #1a1a1a;
  font-family: "Pretendard", "S-Core Dream", sans-serif;
  letter-spacing: -0.02em;
  animation: countUp 0.5s ease;
}

.profit_value_detail {
  font-size: 1.2rem;
  line-height: 1.5;
  word-break: keep-all;
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.profit_item.highlight .profit_value {
  color: #597dff;
  font-size: 1.6rem;
}

.profit_item.highlight .profit_value_detail {
  font-size: 1.3rem;
}

.investment_submit_wrap {
  margin-top: 30px;
}

.btn_submit_investment {
  width: 100%;
  padding: 20px;
  background: linear-gradient(135deg, #597dff 0%, #4a69ff 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: "Pretendard", "S-Core Dream", sans-serif;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(89, 125, 255, 0.3);
}

.btn_submit_investment:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(89, 125, 255, 0.4);
  background: linear-gradient(135deg, #4a69ff 0%, #3b5aef 100%);
}

.btn_submit_investment:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(89, 125, 255, 0.3);
}

.btn_submit_investment:disabled {
  background: linear-gradient(135deg, #d1d5db 0%, #9ca3af 100%);
  cursor: not-allowed;
  box-shadow: none;
}


/* 모바일 버전 */
@media (max-width: 768px) {
  .product_select_wrap {
    padding: 40px 0;
  }

  .product_select_wrap .inner {
    padding: 0 16px;
  }

  .product_select_container {
    flex-direction: column;
    gap: 30px;
  }

  .product_select_title {
    text-align: left;
    margin-bottom: 20px;
  }

  .product_select_title h2 {
    font-size: 1.25rem;
  }

  .product-cards-select {
    flex-direction: column;
    gap: 12px;
  }

  .product-card-select {
    padding: 18px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .product-name {
    font-size: 1.1rem;
  }

  .product-badge-item {
    font-size: 0.75rem;
    padding: 5px 10px;
    min-height: 24px;
  }

  .product-rate-text {
    font-size: 0.85rem;
  }

  .product-rate-text .rate-number {
    font-size: 1rem;
  }

  .investment_title {
    margin-bottom: 20px;
  }

  .investment_calculator {
    position: static;
    padding: 24px 18px;
  }

  .investment_title h2 {
    font-size: 1.25rem;
  }

  .investment_header {
    margin-bottom: 20px;
  }

  .investment_main_title {
    font-size: 1rem;
  }

  .investment_subtitle {
    font-size: 0.8rem;
  }

  .amount_input_wrapper {
    margin-bottom: 20px;
  }

  .amount_input_container {
    padding: 14px 16px;
  }

  .amount_input_field {
    font-size: 1rem;
    padding-right: 8px;
  }

  .clear_input_btn {
    right: 50px;
    width: 18px;
    height: 18px;
  }

  .amount_unit_label {
    font-size: 0.9rem;
  }

  .amount_korean_wrapper {
    padding: 6px 10px 0;
  }

  .amount_korean_display {
    font-size: 0.8rem;
  }

  .quick_amount_buttons {
    gap: 8px;
    margin-bottom: 20px;
  }

  .quick_amount_btn {
    min-width: calc(33.333% - 6px);
    padding: 10px 8px;
    font-size: 0.8rem;
  }

  .investment_slider_wrap {
    margin-bottom: 20px;
  }

  .slider_label {
    font-size: 0.8rem;
    padding: 3px 10px;
  }

  .investment_notice p {
    font-size: 0.75rem;
  }

  .input_wrapper {
    padding: 20px 16px;
  }

  .investment_amount_input {
    font-size: 1.6rem;
  }

  .investment_unit {
    font-size: 1.1rem;
  }

  .input_hint span {
    font-size: 0.85rem;
  }

  .expected_profit_section {
    padding-top: 24px;
  }

  .profit_header {
    margin-bottom: 16px;
  }

  .profit_header h4 {
    font-size: 1.1rem;
  }

  .profit_subtitle {
    font-size: 0.75rem;
  }

  .profit_info {
    gap: 10px;
  }

  .profit_item {
    padding: 14px 16px;
    gap: 12px;
  }

  .profit_icon {
    font-size: 1.2rem;
    width: 34px;
    height: 34px;
  }

  .profit_label {
    font-size: 0.85rem;
  }

  .profit_value {
    font-size: 1.1rem;
  }

  .profit_value_detail {
    font-size: 1rem;
  }

  .profit_item.highlight .profit_value {
    font-size: 1.3rem;
  }

  .profit_item.highlight .profit_value_detail {
    font-size: 1.1rem;
  }

  .investment_submit_wrap {
    margin-top: 24px;
  }

  .btn_submit_investment {
    padding: 16px;
    font-size: 1rem;
  }
}