/* 푸른곳간 — 식자재 납품 (P4 취급 품목 카탈로그 표) · 화이트 + 그린 */
:root {
  --g: #17803F;
  --g-d: #0F5E2D;
  --g-l: #EAF5EC;
  --ink: #1B231E;
  --sub: #5D6A61;
  --line: #DDE3DE;
  --bg: #FFFFFF;
  --tint: #F5F8F4;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.75 'Gothic A1', -apple-system, 'Malgun Gothic', sans-serif; word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2 { margin: 0; letter-spacing: -0.035em; line-height: 1.3; }
figure { margin: 0; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* 버튼 */
.b { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 8px; font-weight: 700; font-size: 15.5px; text-decoration: none; border: 1.5px solid transparent; white-space: nowrap; }
.b--green { background: var(--g); color: #fff; }
.b--green:hover { background: var(--g-d); }
.b--line { border-color: var(--ink); color: var(--ink); }
.b--line:hover { background: var(--ink); color: #fff; }
.b--kakao { background: #FEE500; color: #191600; }

/* 헤더 */
.hd { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.hd__in { display: flex; align-items: center; gap: 36px; height: 68px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 21px; letter-spacing: -0.05em; text-decoration: none; color: var(--g-d); }
.brand em { font-style: normal; font-weight: 500; font-size: 13px; color: var(--sub); letter-spacing: -0.02em; margin-left: 2px; }
.brand__dot { width: 14px; height: 14px; border-radius: 50%; background: var(--g); box-shadow: 8px 0 0 -3px #7BC48C; margin-right: 6px; }
.hd__nav { display: flex; gap: 28px; font-size: 15px; font-weight: 500; }
.hd__nav a { text-decoration: none; color: var(--sub); }
.hd__nav a:hover { color: var(--g); }
.hd__tel { margin-left: auto; text-decoration: none; font-weight: 800; font-size: 20px; color: var(--g); letter-spacing: -0.02em; display: flex; align-items: baseline; gap: 8px; }
.hd__tel small { font-size: 12px; font-weight: 500; color: var(--sub); }

/* 히어로 */
.hero { padding-top: 60px; }
.hero__in { display: grid; grid-template-columns: 1.5fr 1fr; gap: 64px; align-items: end; }
.hero h1 { font-size: 42px; font-weight: 800; }
.hero h1 b { color: var(--g); }
.hero__lead { margin: 20px 0 0; color: var(--sub); font-size: 17px; max-width: 36em; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.cut { margin: 0; border: 1.5px solid var(--ink); border-radius: 10px; overflow: hidden; }
.cut > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 15px 22px; border-top: 1px dashed var(--line); }
.cut > div:first-child { border-top: 0; background: var(--g-l); }
.cut dt { font-size: 14px; color: var(--sub); font-weight: 500; }
.cut dd { margin: 0; font-weight: 800; font-size: 20px; font-variant-numeric: tabular-nums; }
.cut > div:first-child dd { color: var(--g-d); font-size: 24px; }
.hero__pic { max-width: 1180px; margin: 48px auto 0; padding: 0 28px; }
.hero__pic img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; border-radius: 12px; }

/* 이번 주 시세 */
.price-note { padding: 28px 28px 0; max-width: 1180px; margin: 0 auto; }
.price-note .wrap { padding: 0; }
.price-note__in { display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: start; padding: 22px 0 0; border-top: 1px solid var(--line); }
.price-note__tag { margin: 0; font-weight: 800; font-size: 15px; }
.price-note__tag time { display: block; color: var(--g); font-weight: 500; font-size: 13.5px; }
.price-note ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; font-size: 14.5px; color: var(--sub); line-height: 1.6; }
.price-note li span { display: inline-block; font-size: 12px; font-weight: 700; padding: 1px 7px; border-radius: 4px; margin-right: 6px; }
.dn { background: #E4F1FB; color: #1D5F94; }
.up { background: #FCE9E4; color: #B2401F; }
.eq { background: #EEF0EE; color: #555; }

/* 섹션 */
.sec { padding: 88px 0; }
.sec--tint { background: var(--tint); }
.sec__top { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: end; margin-bottom: 36px; }
.sec h2 { font-size: 32px; font-weight: 800; }
.sec__top p { margin: 0; color: var(--sub); font-size: 15.5px; }

/* 탭 */
.tabs { display: flex; gap: 6px; border-bottom: 2px solid var(--ink); }
.tabs button { font: inherit; font-weight: 700; font-size: 15.5px; padding: 12px 20px; border: 0; background: none; color: var(--sub); cursor: pointer; border-radius: 8px 8px 0 0; }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.tabs button:hover:not([aria-selected="true"]) { color: var(--ink); background: var(--tint); }

/* 품목 표 */
.list { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.list th { text-align: left; font-size: 13px; font-weight: 500; color: var(--sub); padding: 14px 12px 10px 0; border-bottom: 1px solid var(--line); }
.list td { padding: 15px 12px 15px 0; border-bottom: 1px solid var(--line); }
.list td:first-child { font-weight: 700; width: 24%; }
.list td:nth-child(2) { color: var(--sub); }
.list .r { text-align: right; padding-right: 0; font-variant-numeric: tabular-nums; }
.list td.r { font-weight: 700; font-size: 16.5px; }
.list td.r::after { content: "원"; font-weight: 400; font-size: 13px; color: var(--sub); margin-left: 2px; }
.list tbody tr:hover { background: var(--tint); }
.items__foot { margin: 20px 0 0; font-size: 14px; color: var(--sub); }
.items__foot a { color: var(--g); font-weight: 700; text-decoration: none; }
.list--area td:first-child { width: 40%; }
.list--area td:last-child { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--g-d); }

/* 사진 + 글 */
.sec--split { padding-top: 0; }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.split__pic img { border-radius: 12px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.split__txt p { color: var(--sub); margin: 18px 0 0; }
.ticks { margin: 24px 0 0; padding: 0; list-style: none; }
.ticks li { position: relative; padding: 10px 0 10px 28px; border-top: 1px solid var(--line); font-weight: 500; font-size: 15.5px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 18px; width: 12px; height: 7px; border-left: 2.5px solid var(--g); border-bottom: 2.5px solid var(--g); transform: rotate(-45deg); }

/* 거래 시작 단계 */
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.steps li { counter-increment: s; padding: 26px 24px 28px; border-left: 1px solid var(--line); }
.steps li:first-child { border-left: 0; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--g); color: #fff; font-weight: 800; font-size: 14px; margin-bottom: 14px; }
.steps b { display: block; font-size: 17.5px; margin-bottom: 6px; }
.steps span { font-size: 14.5px; color: var(--sub); line-height: 1.65; display: block; }

/* 회사 소개 */
.about { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; }
.about__lead { margin: 16px 0 28px; color: var(--sub); }
.about__pic img { border-radius: 12px; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.info { margin: 0; }
.info > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.info > div:first-child { border-top: 2px solid var(--ink); }
.info dt { color: var(--sub); font-size: 14px; padding-top: 1px; }
.info dd { margin: 0; font-weight: 500; }
.ex { display: inline-block; font-size: 11.5px; font-weight: 700; color: var(--g-d); background: var(--g-l); padding: 0 6px; border-radius: 4px; margin-left: 4px; vertical-align: 1px; }

/* 주문 */
.order { background: var(--g-d); color: #fff; }
.order__in { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.order p { color: #CFE5D5; margin: 14px 0 0; }
.order__tel { display: block; margin-top: 26px; font-size: 46px; font-weight: 800; letter-spacing: -0.03em; text-decoration: none; font-variant-numeric: tabular-nums; }
.order__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.order .b--green { background: #fff; color: var(--g-d); }
.order .b--line { border-color: rgba(255,255,255,.6); color: #fff; }
.order .b--line:hover { background: #fff; color: var(--g-d); }
.info--order > div { border-color: rgba(255,255,255,.18); }
.info--order > div:first-child { border-top-color: #fff; }
.info--order dt { color: #A9CDB3; }
.lnk { display: inline-block; margin-top: 4px; font-weight: 700; color: #fff; }

/* 푸터 */
.ft { padding: 36px 0 44px; font-size: 13.5px; color: var(--sub); background: var(--tint); }
.ft p { margin: 0 0 4px; }
.ft__c { margin-top: 12px !important; }

.bar { display: none; }

@media (max-width: 960px) {
  .hd__nav { display: none; }
  .hero__in, .split, .about, .order__in { grid-template-columns: 1fr; gap: 36px; }
  .sec__top { grid-template-columns: 1fr; gap: 12px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3) { border-left: 0; }
  .steps li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .wrap, .hero__pic { padding: 0 18px; }
  .hd__in { height: 60px; gap: 12px; }
  .brand { font-size: 19px; }
  .brand em { display: none; }
  .hd__tel { font-size: 16.5px; }
  .hd__tel small { display: none; }
  .hero { padding-top: 36px; }
  .hero h1 { font-size: 27px; }
  .hero__lead { font-size: 15.5px; }
  .hero__btns .b { flex: 1 1 100%; }
  .cut > div { padding: 13px 16px; }
  .hero__pic { margin-top: 32px; }
  .hero__pic img { aspect-ratio: 4 / 3; border-radius: 10px; }
  .price-note__in { grid-template-columns: 1fr; gap: 12px; }
  .price-note ul { grid-template-columns: 1fr; gap: 10px; }
  .sec { padding: 60px 0; }
  .sec--split { padding-top: 0; }
  .sec h2 { font-size: 25px; }
  .tabs { overflow-x: auto; gap: 2px; scrollbar-width: none; }
  .tabs button { padding: 10px 13px; font-size: 14.5px; white-space: nowrap; flex: none; }
  /* 표 → 줄 단위 카드 */
  .list thead { display: none; }
  .list, .list tbody, .list tr { display: block; }
  .list tr { display: grid; grid-template-columns: 1fr auto; gap: 0 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .list td { border: 0; padding: 0; }
  .list td:first-child { width: auto; font-size: 16px; }
  .list td.r { grid-column: 2; grid-row: 1; }
  .list td:nth-child(2) { grid-column: 1; grid-row: 2; font-size: 14px; }
  .list td:nth-child(3) { grid-column: 1; grid-row: 3; font-size: 13px; color: var(--sub); }
  .list td:nth-child(4) { grid-column: 2; grid-row: 2; text-align: right; font-size: 13px; color: var(--sub); }
  .list td:nth-child(4)::before { content: "/ "; }
  .list--area td:first-child { width: auto; }
  .list--area td:nth-child(3) { grid-column: 2; grid-row: 1; font-size: 15px; color: var(--g-d); }
  .list--area td:nth-child(2) { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr; }
  .steps li { border-left: 0 !important; border-top: 1px solid var(--line); display: grid; grid-template-columns: 30px 1fr; column-gap: 14px; padding: 20px 18px; }
  .steps li:first-child { border-top: 0; }
  .steps li::before { grid-row: 1 / 3; margin: 0; }
  .info > div { grid-template-columns: 92px 1fr; gap: 10px; }
  .order__tel { font-size: 36px; }
  .order__btns .b { flex: 1 1 100%; }
  .ft { padding-bottom: 96px; }
  .bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); }
  .bar a { display: flex; align-items: center; justify-content: center; min-height: 50px; border-radius: 8px; font-weight: 800; text-decoration: none; background: var(--g); color: #fff; }
  .bar .bar__k { background: #FEE500; color: #191600; }
}
.items__foot a, .ft p { white-space: normal; } .items__foot a { white-space: nowrap; }
.price-note .price-note__in { border-top: 0; background: var(--tint); padding: 20px 24px; border-radius: 10px; }
@media (max-width: 640px) { .price-note { padding: 20px 18px 0; } .price-note .price-note__in { padding: 18px; } }
