/* 공통 & 메인 페이지 스타일 (index.html) */
:root {
  --bg:#f4f1ea;
  --text:#0e0e0e;
  --gold:#d4b37a;
  --dark:#111111;
  --card:#ffffff;
}
* { box-sizing:border-box; }
body {
  margin:0;
  font-family:Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background:var(--bg);
  color:var(--text);
}
a { text-decoration:none; color:inherit; }

/* HEADER */
.header {
  position:fixed; top:0; left:0; right:0;
  height:70px;
  display:flex; align-items:center; justify-content:space-between;
  padding:0 60px;
  background:rgba(10,10,10,0.82);
  backdrop-filter:blur(12px);
  color:#f9f9f9;
  z-index:20;
}
.logo { display:flex; align-items:center; }
.logo-img { height:40px; display:block; }
.nav { display:flex; align-items:center; gap:28px; font-size:14px; }
.nav a { display:flex; align-items:center; opacity:0.8; }
.nav a:hover { opacity:1; }
.nav-cta { display:flex; align-items:center; padding:8px 16px; border-radius:999px; border:1px solid rgba(255,255,255,0.5); font-size:13px; }
/* nav 안의 btn-primary를 nav-cta와 동일하게 맞춤 */
.nav .btn.btn-primary {
  display: flex;
  align-items: center;

  font-size: 13px;        /* ✅ nav-cta와 동일 */
  font-weight: 600;

  padding: 8px 16px;      /* nav-cta와 동일 */
  height: 36px;

  border-radius: 999px;
}
/* 햄버거 버튼: 기본(데스크탑)은 숨김 */
.menu-toggle {
  display:none;
  border:none;
  background:none;
  font-size:24px;
  color:#f9f9f9;
  cursor:pointer;
  padding:4px;
}

.page-wrap { padding-top:70px; }

/* HERO */
.hero {
  min-height:70vh;
  position:relative;
  display:flex; align-items:center;
  background:radial-gradient(circle at 10% 20%, #3a3023 0, #111111 55%);
  color:#fefefe;
  overflow:hidden;
}
.hero::after {
  content:"";
  position:absolute; inset:0;
  background:url('https://images.unsplash.com/photo-1513885535751-8b9238bd3456?auto=format&fit=crop&w=1600&q=80') center/cover;
  mix-blend-mode:soft-light;
  opacity:0.65;
}
.hero-inner {
  position:relative; z-index:1;
  max-width:1400px;
  margin:0 auto;
  padding:40px 20px;
  display:flex;
  gap:60px;
  align-items:center;
}
.hero-copy { flex:1.2; hyphens:auto; word-break:keep-all; overflow-wrap:break-word; }
.hero-tag {
  display:inline-flex; align-items:center; gap:10px;
  padding:6px 14px; border-radius:999px;
  background:linear-gradient(135deg, rgba(0,0,0,0.38) 0%, rgba(0,0,0,0.22) 100%);
  border:1px solid rgba(198,163,108,0.55);
  box-shadow:0 0 6px rgba(198,163,108,0.25);
  font-size:12px; letter-spacing:0.18em; text-transform:uppercase;
}
.hero-tag-dot {
  width:8px; height:8px; border-radius:50%;
  background:var(--gold);
  box-shadow:0 0 4px rgba(198,163,108,0.45), 0 0 1px rgba(198,163,108,0.3);
}
.hero h1 {
  font-size:48px;
  line-height:1.25;
  margin:22px 0 16px;
  letter-spacing:-0.02em;
  max-width:800px;
}
.hero h1 span { color:var(--gold); }
.hero-sub { font-size:17px; line-height:1.7; opacity:0.9; max-width:1000px; }
.hero-ctas { margin-top:32px; display:flex; gap:14px; flex-wrap:wrap; }

.btn {
  display:inline-flex; align-items:center; justify-content:center;
  padding:13px 24px; border-radius:999px;
  font-size:15px; font-weight:500;
  cursor:pointer; border:none;
}
.btn-primary {
  background:var(--gold); color:#fff;
  box-shadow:0 8px 22px rgba(0,0,0,0.35);
}
.btn-primary:hover {
  filter:brightness(1.03);
  transform:translateY(-1px);
  box-shadow:0 10px 26px rgba(0,0,0,0.45);
}
.btn-ghost {
  background:transparent;
  border:1px solid rgba(255,255,255,0.6);
  color:#fff;
}
.btn-ghost:hover { background:rgba(255,255,255,0.06); }

.hero-note { margin-top:18px; font-size:13px; opacity:0.8; }

.hero-side { flex:1; display:flex; justify-content:flex-end; }
.hero-panel {
  width:280px;
  background:rgba(10,10,10,0.82);
  border-radius:24px;
  padding:22px 22px 20px;
  box-shadow:0 14px 40px rgba(0,0,0,0.6);
  backdrop-filter:blur(14px);
}
.hero-panel h3 { margin:0 0 10px; font-size:16px; }
.hero-panel p { margin:0 0 14px; font-size:13px; opacity:0.9; }
.hero-panel-list {
  margin:0; padding:0;
  list-style:none;
  font-size:13px;
}
.hero-panel-list li {
  display:flex; justify-content:space-between;
  padding:7px 0;
  border-bottom:1px dashed rgba(255,255,255,0.08);
}
.hero-panel-list span:first-child { opacity:0.78; }
.hero-panel-list span:last-child { font-weight:500; }

/* SECTIONS 공통 */
.section { padding:80px 60px; }
.section-inner { max-width:1120px; margin:0 auto; }
.section-header {
  display:flex; justify-content:space-between;
  align-items:flex-end; gap:20px;
  margin-bottom:34px;
}
.section-kicker {
  font-size:13px;
  letter-spacing:0.18em;
  text-transform:uppercase;
  color:#b28a4b;
  margin-bottom:8px;
}
.section-title { font-size:28px; font-weight:700; letter-spacing:-0.01em; }
.section-desc { font-size:14px; opacity:0.8; max-width:360px; }

/* Naver banner */
.naver-wrap {
  background:#eef5ef;
  border-top:1px solid #d4e8d6;
  border-bottom:1px solid #d4e8d6;
  background-image:none;
}
.naver-banner { display:flex; align-items:center; gap:40px; }
.naver-logo-box {
  width:300px;
  height:auto;
  aspect-ratio: 16 / 9;
  overflow:hidden;
  border-radius:0;
  background:#ffffff;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 18px 45px rgba(0,0,0,0.18);
  border:1px solid rgba(0,0,0,0.22);
}
.naver-logo-box img {
  width:100%; height:100%;
  object-fit:contain;
}
.naver-text h2 { margin:0 0 8px; font-size:22px; }
.naver-text p { margin:0 0 16px; font-size:14px; opacity:0.85; }

/* Why / heritage 블록 */
.list-grid { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:26px; }
.card {
  position:relative;
  background:var(--card);
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 10px 26px rgba(0,0,0,0.06);
  display:flex; flex-direction:column;
}
.card-img { width:100%; height:100%; object-fit:contain; object-position: center; display: block; }
.card-body { padding:18px 18px 16px; font-size:14px; }
.card-body h3 { margin:0 0 6px; font-size:18px; }
.card-meta { opacity:0.75; margin-bottom:6px; }
.card-price { font-weight:600; color:#333; }

.card.sold .card-img { filter:blur(2px) brightness(0.75); }
.card.sold::after {
  content:'판매완료';
  position:absolute; inset:0;
  display:flex; align-items:center; justify-content:center;
  font-size:26px; font-weight:600;
  color:#fff;
  text-shadow:0 4px 12px rgba(0,0,0,0.45);
  background:rgba(0,0,0,0.45);
}
.card-price.sold { color:#999; text-decoration:line-through; }

/* Philosophy */
.philosophy {
  background:#f0ebe1;
  border-top:1px solid rgba(0,0,0,0.04);
  border-bottom:1px solid rgba(0,0,0,0.04);
}
.philosophy-grid {
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:22px;
}
.philosophy-item {
  background:var(--card);
  border-radius:18px;
  padding:22px 20px 20px;
  box-shadow:0 8px 20px rgba(0,0,0,0.04);
  font-size:14px;
}
.philosophy-item.highlight {
  border:1px solid rgba(198,163,108,0.7);
  box-shadow:0 12px 30px rgba(0,0,0,0.08);
}
.philosophy-item h4 { margin:0 0 10px; font-size:17px; }
.philosophy-item ul {
  margin:0;
  padding-left:18px;
  opacity:0.82;
}
.philosophy-item li { margin-bottom:6px; }

/* Why us grid */
.why-grid {
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:22px;
}
.why-item {
  background:var(--card);
  border-radius:18px;
  padding:22px 20px 20px;
  box-shadow:0 8px 20px rgba(0,0,0,0.05);
  font-size:14px;
}
.why-item h4 { margin:0 0 8px; font-size:17px; }
.why-item p { margin:0; opacity:0.78; }

/* About mini */
.about-mini {
  display:flex;
  gap:40px;
  align-items:flex-start;
}

/* 사진 박스 */
.about-photo {
  flex:0 0 260px;
  height:200px;
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 12px 30px rgba(0,0,0,0.12);
}

/* 실제 이미지 스타일 */
.about-photo img {
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.about-text h3 { margin:0 0 10px; font-size:22px; }
.about-text p { margin:0 0 12px; font-size:14px; opacity:0.85; }
.about-meta { font-size:13px; opacity:0.7; }

/* Footer */
.sns-row { display:flex; align-items:center; gap:8px; margin-top:4px; }
.sns-icon { width:18px; height:18px; display:inline-block; }
.sns-icon svg { width:100%; height:100%; display:block; }

.footer {
  padding:36px 0 0;         /* 좌우 padding 제거 (가운데 정렬용) */
  background:#111111;
  color:#f6f6f6;
  font-size:13px;
}

/* 안쪽 컨텐츠(회사 정보/연락처) */
.footer-inner {
  max-width:1120px;
  margin:0 auto;
  padding:0 60px 24px;      /* 안쪽 여백은 여기서 줌 */
  display:flex;
  justify-content:space-between;
  gap:30px;
  flex-wrap:wrap;
}

.footer a { opacity:0.8; }

.footer-bottom {
    display: none !important;
}


/* body 배경만 조금 다르게 보이게 */
body {
  background:var(--bg);
  color:var(--text);
}

/* 리스트 히어로 영역 */
.list-hero {
  padding:70px 60px 40px;
  border-bottom:1px solid rgba(0,0,0,0.06);
  background:radial-gradient(circle at 0 0, rgba(198,163,108,0.16), transparent 55%), var(--bg);
}
.list-hero-inner {
  max-width:1120px;
  margin:0 auto;
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:32px;
  flex-wrap:wrap;
}
.list-hero-main h1 {
  margin:0 0 10px;
  font-size:30px;
  letter-spacing:-0.02em;
}
.list-hero-main p {
  margin:0;
  font-size:14px;
  opacity:0.85;
  max-width:540px;
}
.list-hero-meta {
  font-size:13px;
  opacity:0.8;
  text-align:right;
}

/* 섹션 재정의 (간격만 조금 다름) */
.section.list-section { padding:30px 60px 60px; }
.section-inner { max-width:1120px; margin:0 auto; }

.list-header-row {
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
  margin-bottom:16px;
}

.filter-bar {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
}
.filter-bar select {
  padding:6px 10px;
  border-radius:8px;
  border:1px solid #ccc;
  font-size:13px;
  background:#fff;
}
.filter-bar button {
  padding:6px 12px;
  border-radius:8px;
  border:1px solid #aaa;
  background:#fff;
  cursor:pointer;
  font-size:12px;
}

/* ===========================
   뷰 토글 버튼 (카드/리스트/표)
   =========================== */
/* ===========================
   뷰 토글 버튼 (카드/리스트/표)
   =========================== */
.view-toggle {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: 999px;

  background: linear-gradient(135deg, #f4efe4, #f9f6ef);
  border: 1px solid rgba(198,163,108,0.55);
  box-shadow:
    0 6px 16px rgba(0,0,0,0.06),
    inset 0 1px 0 rgba(255,255,255,0.8);
  gap: 0;
}

.view-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  min-width: 90px;
  padding: 7px 16px;
  border: none;
  background: transparent;
  cursor: pointer;

  font-size: 12px;
  font-weight: 500;
  color: rgba(0,0,0,0.55);

  border-radius: 999px;
  white-space: nowrap;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.12s ease,
    opacity 0.18s ease;
}

/* 좌/우 버튼 여백 살짝 다르게 */
.view-btn:first-child { padding-left: 14px; }
.view-btn:last-child  { padding-right: 14px; }

/* 아이콘 */
.view-btn .view-icon {
  font-size: 13px;
  opacity: 0.7;
}

/* 호버 상태 */
.view-btn:hover {
  background: rgba(255,255,255,0.9);
  color: #222;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

/* 선택된 뷰(활성) */
.view-btn.active {
  background: radial-gradient(circle at 20% 0%, #fefaf2 0, #e4c890 52%, #c39c5f 100%);
  color: #111;
  box-shadow:
    0 4px 12px rgba(0,0,0,0.18),
    0 0 0 1px rgba(255,255,255,0.7);
  transform: translateY(-1px);
}

.view-btn.active .view-icon {
  opacity: 1;
}

/* 모바일에서 살짝 컴팩트하게 */
@media (max-width:640px) {
  .view-toggle {
    padding: 2px;
  }
  .view-btn {
    min-width: 68px;
    padding: 6px 10px;
    font-size: 11px;
    white-space: nowrap;
  }
  .view-btn .view-icon {
    font-size: 12px;
  }
}


/* 검색창 스타일 */
.filter-search {
  min-width: 190px;
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 13px;
  background: #fff;
}

.filter-search::placeholder {
  color: #b5b0a5;
}

/* 검색창 스타일 */
.filter-search {
  min-width: 190px;
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 13px;
  background: #fff;
}

.filter-search::placeholder {
  color: #b5b0a5;
}

/* 보유 리스트 카드/리스트 */
.list-grid {
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:34px;
}
.list-grid.list-view { grid-template-columns:1fr; }

.card {
  position:relative;
  background:var(--card);
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 12px 26px rgba(0,0,0,0.08);
  display:flex;
  flex-direction:column;
}

.card-body {
  padding:16px 16px 12px;
  font-size:14px;
}
.card-badges {
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-bottom:6px;
}
.badge {
  font-size:11px;
  padding:3px 7px;
  border-radius:999px;
  background:#f1eee8;
}
.badge-gold { background:rgba(198,163,108,0.18); color:#5a4524; }
.card-body h3 { margin:0 0 4px; font-size:17px; }
.card-meta { opacity:0.75; margin-bottom:4px; }
.card-price { font-weight:600; color:#333; margin-bottom:4px; }
.card-price.sold { color:#999; text-decoration:line-through; }
.card-footer {
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:12px;
  opacity:0.8;
  padding:0 16px 12px;
}

  /* 카드 푸터에서 사이즈와 상태 사이 간격 */
    .card-footer span + span {
    margin-left: 8px;
  }

.card.sold .card-img { filter:blur(2px) brightness(0.7); }
.card.sold::after {
  content:"판매완료";
  position:absolute; inset:0;
  display:flex; align-items:center; justify-content:center;
  font-size:22px; font-weight:600; color:#fff;
  text-shadow:0 4px 12px rgba(0,0,0,0.45);
  background:rgba(0,0,0,0.45);
}

/* 리스트형일 때 가로 카드 */
.list-grid.list-view .card { flex-direction:row; }
.list-grid.list-view .card-img {
  width:210px;
  height:100%;
  max-height:180px;
}
.list-grid.list-view .card-body { flex:1; }

/* TABLE VIEW */
.table-wrapper {
  margin-top:10px;
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 10px 24px rgba(0,0,0,0.06);
  background:#fff;
  display:none;
}
.table-view {
  width:100%;
  border-collapse:collapse;
  font-size:13px;
}
.table-view thead { background:#f3efe6; }
.table-view th,
.table-view td {
  padding:8px 9px;
  border-bottom:1px solid rgba(0,0,0,0.05);
  text-align:left;
  white-space:nowrap;
}
.table-view th { font-weight:600; font-size:12px; }
.table-view tbody tr:nth-child(even) { background:#fcfbf8; }
.table-view tbody tr.sold-row { color:#888; }

/* Responsive */
@media (max-width:1024px) {
  .hero-inner { flex-direction:column; padding:70px 24px 60px; gap:36px; }
  .hero-side { width:100%; justify-content:flex-start; }
  .hero-panel { width:100%; max-width:360px; }
  .section { padding:64px 24px; }
  .header { padding:0 20px; }
  .why-grid { grid-template-columns:repeat(2, minmax(0,1fr)); }
  .list-grid { grid-template-columns:repeat(2, minmax(0,1fr)); }
  .naver-banner { flex-direction:column; align-items:flex-start; }

  .list-hero { padding:70px 24px 30px; }
  .section.list-section { padding:24px 24px 40px; }
}

/* 이미지 위에 올라가는 제품번호 배지 기준 영역 */
.card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;      /* ✅ 프리미엄 쇼핑몰 느낌 */
  background: #f3efe7;      /* ✅ 베이지톤(고급감) */
  padding: 18px;            /* ✅ contain일 때 여백이 고급 */
  border-bottom: 1px solid rgba(0,0,0,0.06);

  display: flex;
  align-items: center;
  justify-content: center;
}

/* 제품번호 배지 스타일 */
.card-id-badge {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 5;
}

.badge-id {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #222;
  text-transform: uppercase;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* 리스트형에서도 위치 유지 (조금 안쪽으로) */
.list-grid.list-view .card-id-badge {
  top: 12px;
  right: 22px;
}
@media (max-width:640px) {
  .hero h1 { font-size:32px; }
  .hero-sub { font-size:14px; }
  .section-header { flex-direction:column; align-items:flex-start; }
  .list-grid { grid-template-columns:1fr; }
  .why-grid { grid-template-columns:1fr; }
  .about-mini { flex-direction:column; }

  /* 모바일 헤더 레이아웃 */
  .header {
    height:60px;
    padding:0 16px;
  }
  .logo { font-size:12px; }

  /* 모바일에서 햄버거 버튼 보이게 */
  .menu-toggle {
    display:block;
  }

  /* 모바일 메뉴 기본: 숨김 + 드롭다운 형태 */
  .nav {
    position:absolute;
    top:60px;
    left:0;
    right:0;
    background:#111111;
    padding:12px 20px 16px;
    flex-direction:column;
    gap:12px;
    display:none;
    z-index:19;
  }

  /* .header에 menu-open 클래스가 붙으면 메뉴 표시 */
  .header.menu-open .nav {
    display:flex;
  }

  .nav a {
    font-size:15px;
    padding:6px 0;
  }

  .table-view th,
  .table-view td { white-space:normal; }
}
/* ===================================
   모바일 최적화 폰트 설정
   (max-width: 768px)
   =================================== */
@media screen and (max-width: 768px) {

  body {
    font-size: 14px;
    line-height: 1.5;
  }

  /* 상단 제목 */
  h1 {
    font-size: 22px;
    font-weight: 700;
  }

  h2 {
    font-size: 18px;
    font-weight: 600;
  }

  p {
    font-size: 14px;
  }

  /* 필터 영역 드롭다운 */
  select {
    font-size: 14px !important;
    padding: 8px 10px;
  }

  /* 필터 초기화, 보기 선택 버튼 */
  .view-type-btn,
  .filter-reset-btn {
    font-size: 13px !important;
    padding: 8px 14px;
  }

  /* 카드형 / 리스트형 / 표보기 버튼 */
  .view-toggle button {
    font-size: 13px;
    padding: 8px 14px;
  }

  /* 체크박스 라벨 */
  label {
    font-size: 13px;
  }

  /* 소개문 텍스트 */
  .list-hero-main p {
    font-size: 14px;
    line-height: 1.55;
  }

 /* 섹션 전체 여백 조금 줄이기 */
  .section.philosophy {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  /* 두 칸으로 나오는 그리드를 모바일에선 한 칸으로 */
  .philosophy-grid {
    display: block;           /* 한 줄에 하나씩 쌓이게 */
  }

  .philosophy-item {
    width: 100%;
    max-width: 100%;
    margin: 0 0 16px 0;       /* 카드 사이 간격 */
    padding: 16px 14px;       /* 상자 안 패딩 줄이기 */
  }

  .philosophy-item:last-child {
    margin-bottom: 0;
  }

  /* 제목/본문 폰트 조금 축소 */
  .philosophy-item h4 {
    font-size: 16px;
    line-height: 1.4;
  }

  .philosophy-item li {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 4px;
  }

  /* 맨 아래 문장도 살짝 줄이기 */
  .philosophy-final {
    font-size: 13px;
    line-height: 1.5;
  }
/* ============================================
   모바일: 카드형만 보이도록 강제 설정
   ============================================ */
/* 보기 전환 버튼: 리스트형, 표보기 숨김 */
  .view-toggle .view-btn[data-view="list"],
  .view-toggle .view-btn[data-view="table"] {
    display: none !important;
  }

  /* 카드형 버튼은 남겨두거나, 아예 숨기고 싶으면 아래 주석 해제 */
   .view-toggle {
    display: none !important;
  }

/* =====================================
   모바일 필터 정렬 개선
   ===================================== */
  .filter-bar {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2열 그리드 */
    gap: 10px 12px;
  }

  /* 체크박스 + 초기화 버튼은 1열로 길게 */
  .filter-bar label {
    grid-column: span 2;
    font-size: 13px;
  }

  #filter-reset {
    grid-column: span 2;
    font-size: 13px;
    padding: 10px 0;
  }

  select {
    font-size: 14px;
    padding: 10px;
  }
}

/* =========================
   Yamaha-style photo frame (ONLY inventory list)
   ========================= */

/* 카드형/리스트형 공통: 그리드는 기존대로 쓰되, 이미지 영역만 정리 */
#list-grid .card-img-wrap{
  position:relative;
  overflow:hidden;

  /* ✅ 야마하 느낌: 제품컷 박스 비율 */
  aspect-ratio: 16 / 10;

  /* ✅ 흰 배경 */
  background:#fff;

  /* ✅ 여백은 padding이 아니라 이미지 크기(%)로 컨트롤 */
  padding: 0;
  border-bottom:1px solid rgba(0,0,0,0.06);

  display:flex;
  align-items:center;
  justify-content:center;
}

/* ✅ 이미지: 안 잘리고 중앙 */
#list-grid .card-img{
  width: 92%;
  height: 92%;
  object-fit: contain;
  object-position: center;
  display:block;
}

/* 리스트형(가로카드)일 때 썸네일 영역 */
#list-grid.list-view .card{
  flex-direction:row;
  align-items:stretch;
}

#list-grid.list-view .card-img-wrap{
  width:240px;
  aspect-ratio:16 / 10;
  border-bottom:none;
  border-right:1px solid rgba(0,0,0,0.06);
  flex:0 0 auto;
}

/* 리스트형에서 기존 card-img width/height 규칙 무력화(정석: 래퍼가 크기 책임) */
#list-grid.list-view .card-img{
  width: 92%;
  height: 92%;
}

/* 모바일: 너무 납작해 보이면 4:3로 */
@media (max-width:640px){
  #list-grid .card-img-wrap{ aspect-ratio: 4 / 3; }
  #list-grid .card-img{ width:94%; height:94%; }
}

