body {
  font-family: 'Pretendard', 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', '돋움', sans-serif;
}
/* 카드 전체 */
.market-card2 {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
  margin-bottom: 28px;
  padding: 22px 22px 15px 22px;
  transition: all 0.3s ease;
  cursor: pointer;
  transform: translateY(0);
}

.market-card2:hover {
  box-shadow: 0 15px 40px rgba(0,0,0,0.18);
  transform: translateY(-4px);
}

/* 카드 헤더(공판장명) + 노란 선 */
.card2-header {
  font-size: 1.18em;
  font-weight: bold;
  color: #222;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.card2-title {
  font-weight: 700;
  margin-right: 12px;
  font-size: 1.13em;
}
.card2-line {
  flex: 1;
  border-bottom: 3px solid #f4c430;
  margin-left: 8px;
  margin-top: 2px;
}

/* 카드 내용(좌/우) */
.card2-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 6px;
  margin-bottom: 2px;
}

.card2-row {
  width: 48%;
  font-size: 1.15em;
  margin-bottom: 8px;
  color: #222;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  line-height: 1.4;
}

.card2-row strong {
  font-weight: 700;
}

/* 금액 스타일 개선 */
.card2-row .min {
  color: #222;
}
.card2-row .min .price-number {
  color: #1658dd;
  font-weight: 700;
}

.card2-row .max {
  color: #222;
}
.card2-row .max .price-number {
  color: #e02e2e;
  font-weight: 700;
}

.card2-row .avg {
  color: #222;
}
.card2-row .avg .price-number {
  color: #1a8844;
  font-weight: 700;
}

/* 최저/최고가만 줄 바꿈 */
@media (max-width: 700px) {
  .card2-row {
    width: 100%;
    font-size: 1.05em;
  }
  .market-card2 {
    padding: 15px 10px 16px 13px;
  }
}

@media (max-width: 480px) {
  .card2-row {
    font-size: 1.1em;
    margin-bottom: 8px;
  }
  .market-card2 {
    padding: 18px 12px 18px 15px;
  }
}

@media (min-width: 481px) and (max-width: 700px) {
  .card2-row {
    font-size: 1.08em;
  }
}
.header-bar {
    width: 100vw;
    min-width: 340px;
    background: #f4c430;
    padding: 0;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    margin-bottom: 38px;
    position: sticky;
    top: 0;
    z-index: 100;
    position: relative;
  }
  .header-logo {
    height: 44px;
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
  }
  .header-title {
    font-size: 1.8em;
    font-weight: bold;
    color: #004225;
    letter-spacing: -1px;
    text-align: center;
  }
  @media (max-width:700px) {
    .header-bar {
      height: 52px;
      margin-bottom: 16px;
    }
    .header-logo {
      height: 31px;
      left: 15px;
    }
    .header-title {
      font-size: 1.35em;
    }
  }
  @media (max-width: 400px) {
    .header-logo {
      left: 10px;
      height: 28px;
    }
    .header-title {
      font-size: 1.2em;
      padding: 0 60px;
    }
  }
  .date-calendar-icon {
    height: 3.0em;
    max-width: 3.6em;
    margin-right: 8px;
    margin-bottom: 0;
    vertical-align: middle;
  }
  .date-input-custom {
    background: none;
    border: none;
    font-size: 2.0em; /* 폰트 크게 */
    vertical-align: middle;
    outline: none;
    border-bottom: 4px solid #f4c430;
    border-radius: 0;
    margin-right: 0;
    margin-left: 0;
    padding: 8px 0 3px 0;
    padding-right: 38px;    /* ← 달력 아이콘 공간 확보! */
    display: inline-block;
    width: 210px;          /* ← input 더 넓게! */
    box-sizing: border-box;
  }
.date-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  gap: 7px;
}