.category-crumb { max-width: 1150px; margin: 0 auto; padding: 27px 32px 8px; color: var(--muted); font-size: 10px; letter-spacing: .04em; }
.category-crumb a:hover { color: var(--citrus); }
.category-crumb span { margin: 0 8px; }
.category-page-top { max-width: 1150px; margin: 0 auto; padding: 14px 32px 0; }
.category-page-top .category-crumb { margin: 0; padding: 0; }
.category-detail { max-width: 1180px; min-height: 530px; margin: 14px auto 0; padding: 60px 6% 44px; display: grid; grid-template-columns: .90fr 1.10fr; gap: 7%; align-items: center; }
.category-detail-copy { padding: 25px 0; }
.category-detail-copy h1 { margin: 28px 0 18px; font-family: var(--serif); font-size: clamp(42px, 5vw, 66px); line-height: 1.45; font-weight: 400; letter-spacing: -.08em; }
.category-detail-copy h1 em { color: var(--citrus); font-weight: 400; }
.category-detail-lead { max-width: 380px; margin: 0 0 13px; font-family: var(--serif); font-size: 15px; letter-spacing: -.04em; line-height: 1.9; word-break: keep-all; }
.category-detail-description { max-width: 390px; margin: 0; color: var(--muted); font-size: 12px; line-height: 2; word-break: keep-all; }
.category-call { max-width: 350px; margin-top: 28px; padding: 15px 17px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--green); color: var(--cream); font-size: 12px; }
.category-call strong { font-size: 14px; letter-spacing: .04em; }
.category-call span:last-child { color: #d7a36c; }
.category-back { display: inline-block; margin-top: 18px; color: var(--muted); font-size: 10px; }
.category-detail-visual { height: 460px; position: relative; background: #ece7dd; }
.category-detail-visual img { width: 100%; height: 100%; object-fit: cover; }
.detail-image-note { position: absolute; left: 16px; bottom: 15px; color: white; font-size: 8px; letter-spacing: .2em; text-shadow: 0 1px 5px rgba(0,0,0,.6); }
.category-detail-copy .eyebrow[hidden], .category-detail-description[hidden], .detail-image-note[hidden], .category-notes[hidden] { display: none; }
.detail-image-note-korean { font-family: var(--serif); font-size: 12px; font-weight: 600; letter-spacing: .08em; }
.category-detail--basket .category-detail-visual img,
.category-detail--ancestral .category-detail-visual img,
.category-detail--household .category-detail-visual img { object-fit: contain; object-position: center; }
.category-detail--tagline-only .category-detail-copy { min-width: 0; }
.category-detail--tagline-only .category-detail-copy h1 { max-width: 450px; margin: 0 0 25px; font-size: clamp(20px, 6.4vw, 36px); line-height: 1.55; letter-spacing: -.065em; white-space: nowrap; }
.category-detail--tagline-only .category-detail-copy h1 em { color: var(--citrus); }
@supports (container-type: inline-size) {
  .category-detail--tagline-only .category-detail-copy { container-type: inline-size; }
  .category-detail--tagline-only .category-detail-copy h1 { font-size: clamp(20px, 7.8cqi, 34px); }
}
.category-detail--ancestral .category-detail-copy { text-align: center; }
.category-detail--ancestral .category-detail-copy h1 { max-width: 460px; margin: 8px auto 12px; color: #53604b; font-size: clamp(30px, 3.1vw, 40px); line-height: 1.5; letter-spacing: -.075em; }
.category-detail--ancestral .category-detail-copy h1 em { display: block; margin-top: .04em; color: #96623f; font-size: 1em; }
.category-detail--ancestral .category-detail-lead { max-width: none; margin: 0 auto; color: #4b5d4e; font-size: clamp(22px, 2vw, 26px); line-height: 1.6; }
.category-detail--ancestral .category-call { margin-right: auto; margin-left: auto; text-align: left; }
.category-detail--ancestral .category-back { margin-top: 16px; }
.category-notes { max-width: 1050px; margin: 0 auto; padding: 24px 35px 40px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.category-note-item { display: flex; align-items: center; gap: 16px; padding: 8px 18px; }
.category-note-item + .category-note-item { border-left: 1px solid var(--line); }
.category-note-item span { color: var(--citrus); font-size: 8px; letter-spacing: .15em; }
.category-note-item p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.category-detail-lead { font-size: 17px; }
.category-page ~ .site-footer .footer-phone-action { gap: 0; }
.category-page ~ .site-footer .footer-phone-action .category-footer-phone { min-height: 0; padding: 0; display: inline-flex; flex-direction: row; align-items: center; gap: 0; border: 0; background: transparent; color: var(--green); text-align: right; }
.category-page ~ .site-footer .category-footer-phone strong { color: var(--green); font-size: 16px; letter-spacing: .02em; }

@media (max-width: 900px) {
  .category-detail { gap: 4.5%; padding-left: 4.5%; padding-right: 4.5%; }
  .category-detail-copy h1 { font-size: 46px; }
  .category-detail-visual { height: 405px; }
}
@media (max-width: 640px) {
  .category-page-top { padding: 10px 16px 0; }
  .category-page-top .category-crumb { width: 100%; padding: 0; font-size: 9px; }
  .category-detail { display: flex; flex-direction: column-reverse; gap: 16px; margin-top: 10px; padding: 0 16px 30px; align-items: stretch; }
  .category-detail-visual { height: 68vw; min-height: 245px; max-height: 360px; }
  .category-detail-copy { padding: 0; }
  .category-detail-copy h1 { margin: 18px 0 12px; font-size: 39px; }
  .category-detail--tagline-only .category-detail-copy h1 { margin: 0 0 20px; line-height: 1.48; }
  .category-detail--ancestral .category-detail-copy h1 { max-width: 100%; margin: 0 auto 10px; font-size: clamp(25px, 8vw, 33px); line-height: 1.4; }
  .category-detail--ancestral .category-detail-lead { font-size: 22px; line-height: 1.55; }
  .category-detail--ancestral .category-call { max-width: none; }
  .category-detail-lead { font-size: 15px; }
  .category-detail-description { font-size: 13px; }
  .category-call { max-width: none; margin-top: 21px; }
  .category-notes { padding: 15px 22px; display: block; }
  .category-note-item { padding: 13px 3px; }
  .category-note-item p { font-size: 12px; }
  .category-note-item + .category-note-item { border-left: 0; border-top: 1px solid var(--line); }
  .category-page ~ .site-footer .category-footer-phone strong { font-size: 14px; }
}


/* 과일 상세와 매장 정보 푸터가 일반 화면 한 장에 함께 들어오도록 */
.category-body { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.category-page { flex: 1 1 auto; display: flex; flex-direction: column; }
.category-detail { flex: 1 1 auto; min-height: 0; }
.category-page ~ .site-footer { flex: 0 0 auto; }
@media (min-width: 641px) {
  .category-page-top { padding-top: clamp(8px, 1.1vh, 14px); }
  .category-detail { margin-top: clamp(6px, 1.1vh, 10px); padding: clamp(14px, 2.5vh, 24px) 6%; }
  .category-detail-visual { height: clamp(300px, 52vh, 460px); }
  .category-detail-copy { padding: 10px 0; }
  .category-detail-copy h1 { margin-top: 14px; margin-bottom: 14px; line-height: 1.34; }
  .category-detail--tagline-only .category-detail-copy h1 { margin-top: 0; margin-bottom: 17px; line-height: 1.45; }
  .category-detail--ancestral .category-detail-copy h1 { margin-top: 0; margin-bottom: 10px; line-height: 1.38; }
  .category-page ~ .site-footer { min-height: 158px; padding-top: 16px; padding-bottom: 16px; }
}
@media (max-width: 640px) {
  .category-detail { flex: 1 1 auto; padding-bottom: 18px; }
  .category-page ~ .site-footer { min-height: 0; padding-top: 14px; padding-bottom: 14px; }
}

/* 낮은 데스크톱 화면에서도 하단 매장 정보가 첫 화면에 남도록 세로 밀도 조정 */
@media (min-width: 641px) and (max-height: 900px) {
  body.category-body .category-page { flex: 1 1 auto; min-height: 0; padding-bottom: 0; }
  .category-page-top { padding-top: 4px; }
  .category-detail { min-height: 0; margin-top: 4px; padding: 12px 5%; }
  .category-detail-visual { height: clamp(220px, 38vh, 340px); }
  .category-detail-copy { padding: 0; }
  .category-detail-copy h1 { margin: 0 0 8px; font-size: clamp(28px, 3.7vw, 46px); line-height: 1.26; }
  .category-detail--tagline-only .category-detail-copy h1 { margin-bottom: 7px; font-size: clamp(18px, 1.7vw, 24px); line-height: 1.3; white-space: normal; }
  .category-detail--ancestral .category-detail-copy h1 { max-width: 100%; margin-bottom: 8px; font-size: clamp(18px, 1.7vw, 23px); line-height: 1.3; }
  .category-detail--ancestral .category-detail-lead { font-size: 18px; line-height: 1.45; }
  .category-detail-lead { margin-bottom: 7px; font-size: 15px; line-height: 1.55; }
  .category-detail-description { font-size: 11px; line-height: 1.55; }
  .category-call { margin-top: 12px; padding: 9px 12px; }
  .category-back { margin-top: 8px; }
  .category-notes { padding: 10px 24px; }
  .category-note-item { padding: 4px 10px; }
  .category-note-item p { font-size: 11px; line-height: 1.45; }
  .category-page ~ .site-footer { height: 128px; min-height: 128px; padding: 8px 4%; }
  .category-page ~ .site-footer .footer-brand .brand-mark { width: 44px; height: 44px; }
  .category-page ~ .site-footer .footer-brand .brand-name { font-size: 20px; }
  .category-page ~ .site-footer .footer-brand .brand-caption { font-size: 9px; }
  .category-page ~ .site-footer .footer-address { font-size: 13px; }
  .category-page ~ .site-footer .footer-phone-action .footer-phone strong { font-size: 17px; }
  .category-page ~ .site-footer .footer-hours { margin-top: 4px; font-size: 11px; }
  .category-page ~ .site-footer .footer-since { margin-top: 4px; padding-top: 4px; font-size: 11px; }
}

@media (max-width: 640px) and (max-height: 760px) {
  .category-detail { gap: 10px; padding-bottom: 12px; }
  .category-detail-visual { height: min(64vw, 230px); min-height: 190px; max-height: 230px; }
  .category-detail-copy h1 { margin-bottom: 9px; }
  .category-detail--tagline-only .category-detail-copy h1 { margin-bottom: 9px; }
  .category-detail--ancestral .category-detail-copy h1 { margin-bottom: 8px; }
  .category-page ~ .site-footer { padding-top: 11px; padding-bottom: 11px; }
}


/* Category-specific search context: discreet, aligned and secondary to the fruit story. */
.category-search-context {
  max-width: 420px;
  margin-top: 13px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}
.category-search-heading {
  margin: 0 0 4px;
  color: rgba(35, 76, 53, .62);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .02em;
}
.category-search-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  list-style: none;
  margin: 0;
  padding: 0;
}
.category-search-list li { white-space: nowrap; }
.category-search-list li:not(:last-child)::after {
  content: "·";
  display: inline-block;
  margin: 0 5px;
  color: rgba(57, 77, 60, .4);
}
.category-search-use-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0 6px;
  margin: 5px 0 0;
  color: var(--muted);
}
.category-search-use-label {
  color: rgba(35, 76, 53, .62);
  font-size: 9px;
  font-weight: 600;
}
.category-search-context[hidden],
.category-search-use-row[hidden] { display: none; }
.category-detail--ancestral .category-search-context { margin-right: auto; margin-left: auto; text-align: center; }
.category-detail--ancestral .category-search-list { justify-content: center; }
.category-detail--ancestral .category-search-use-row { justify-content: center; }

@media (min-width: 641px) and (max-height: 900px) {
  .category-search-context { margin-top: 8px; font-size: 9px; line-height: 1.4; }
  .category-search-heading { margin-bottom: 3px; font-size: 8px; }
  .category-search-use-row { margin-top: 3px; }
}
@media (max-width: 640px) {
  .category-search-context { max-width: none; margin-top: 9px; font-size: 10px; line-height: 1.4; }
  .category-search-heading { margin-bottom: 3px; }
  .category-search-use-row { margin-top: 4px; }
}
@media (max-width: 640px) and (max-height: 760px) {
  .category-search-context { margin-top: 6px; font-size: 9px; }
  .category-search-heading { margin-bottom: 2px; }
}
