/* ================================================================
   wnm_details.css
   ================================================================ */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&family=Noto+Serif+KR:wght@300;400;500;700&display=swap');


/* ================================================================
   CSS Variables (Color System)
   ================================================================ */
:root {
  --color-primary:      #D4D98B;
  --color-primary-bg:   #f5f6ed;
  --color-brand:        #3A6B35;
  --color-brand-dark:   #2d5429;
  --color-accent:       #7B5327;
  --color-accent-light: #a87742;
  --color-text-dark:    #1a2e18;
  --color-text-mid:     #3A6B35;
  --color-text-muted:   #6b7c6a;
  --color-border:       #e0e8c8;
  --color-surface:      #ffffff;
  --color-bg:           #f8faf2;
}


/* ================================================================
   Base
   ================================================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }



/*img { max-width: 100%; display: block; }*/


/* ================================================================
   Font Classes
   ================================================================ */
.font-gothic   { font-family: 'Noto Sans KR', sans-serif; }
.font-myeongjo { font-family: 'Noto Serif KR', serif; }


/* ================================================================
   Highlight
   ================================================================ */
.highlight {
  color: var(--color-brand);
  font-weight: 500;
  text-underline-offset: 4px;
}


/* ================================================================
   WNM 전체 래퍼
   ================================================================ */
.wnm_detail {
  width: 100%;
  max-width: 1200px;
}


/* ================================================================
   섹션 공통
   ================================================================ */
.intro-section,
.roasting-section,
.origin-section,
.packaging {
  width: 100%
}
.delivery-notice {
  width: 100%;
}


/* ================================================================
   섹션 01 — 인트로
   ================================================================ */

.card {
  overflow: hidden;
  width: 100%;
}

.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.badge-wrap {
  display: flex;
  justify-content: center;
  margin-top: -20px;
  position: relative;
  z-index: 2;
}
.badge {
  background: var(--color-surface);
  border: 3px solid var(--color-accent-light);
  border-radius: 100px;
  padding: 8px 32px;
  font-size: 16px;
  letter-spacing: 0.18em;
  color: var(--color-accent-light);
  font-weight: 500;
}

.title-block {
  text-align: center;
  margin: 60px 0 30px 0;
}
.title-ko {
  font-family: 'Noto Serif KR', serif;
  font-size: 44px;
  font-weight: 600;
  margin: 0;
  color: var(--color-text-dark);
  letter-spacing: -0.01em;
}
.title-en {
  font-size: 26px;
  font-family: 'Noto Serif KR', serif;
  color: #a7af76;
  margin: 0;
  font-weight: 400;
  letter-spacing: 0.06em;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 28px 50px 70px;
}
.info-card {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 20px 10px 18px;
  text-align: center;
  background: var(--color-surface);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.info-card:hover {
  border-color: var(--color-brand);
  box-shadow: 0 2px 12px rgba(58,107,53,0.08);
}

.icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #d4d98b33;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.icon-circle svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-brand);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-label {
  font-size: 24px;
  color: var(--color-brand);
  font-weight: 500;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.card-value {
  font-size: 22px;
  color: var(--color-text-dark);
  font-weight: 400;
  margin: 0;
}

.divider {
  height: 1px;
  background: var(--color-border);
  margin: 0 20px;
}


/* ================================================================
   섹션 02 — 로스팅 가이드
   ================================================================ */

.roasting-section {
  background-color: var(--color-primary-bg);
  padding: 70px 50px;
}

.page-title {
  text-align: center;
  margin-bottom: 48px;
}
.page-title h2 {
  font-family: 'Noto Serif KR', serif;
  font-size: 44px;
  font-weight: 600;
  color: var(--color-text-dark);
  line-height: 1.35;
  margin-bottom: 16px;
}
.page-title p {
  font-size: 21px;
  color: #555;
  line-height: 1.6;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1.20fr;
  gap: 16px;
  margin-bottom: 24px;
}

.panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 20px 25px;
}
.panel img { max-width: 100%; display: block; margin: 0 auto; }

.panel-label {
  font-size: 24px;
  font-family: 'Noto Serif KR', serif;
  color: var(--color-text-muted);
  margin: 0 0 16px;
  font-weight: 400;
  letter-spacing: 0.06em;
}

.cupping-panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 20px;
}
.cupping-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}
.cupping-tags {
  /*display: flex;*/
  flex-direction: column;
  padding: 20px 10px;
  gap: 4px;
  min-width: 100px;
}
.cupping-tag {
  font-size: 18px;
	margin-right: 10px;
  color: var(--color-brand);
  font-weight: 500;
}
.cupping-imgs {
  margin-left: auto;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.cupping-img {
  height: 100px;
  object-fit: cover;
}

.cupping-desc {
    font-size: 19px;
    border-left: 3px solid #000000;
    padding-left: 20px;
    margin-left: 10px;
    margin-top: 30px;
    max-width: 700px;
}

/* ================================================================
   섹션 03 — 산지 이야기
   ================================================================ */

.origin-section {
  width: 100%;
  padding: 70px 50px 70px 50px;
}
.origin-section .title-block {
  text-align: center;
  margin: 0 0 32px;
}

.body-text {
  font-size: 21px;
  line-height: 1.50;
  color: var(--color-text-dark);
  word-break: keep-all;
}

.img-area {
  margin-top: 48px;
  line-height: 0;
}
.img-area img { width: 100%; display: block; }


/* ================================================================
   섹션 04 — 배송안내
   ================================================================ */
.delivery-notice img { margin:0 auto; display: block; }


/* ================================================================
   모바일 반응형 — 768px
   ================================================================ */
@media (max-width: 768px) {

  body { padding: 0; }

  /* 인트로 */
  .title-block  { margin: 40px 0 20px; }
  .info-grid    { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 20px 14px 16px; }
  .info-card    { padding: 16px 8px 14px; }

  /* 로스팅 가이드 */
  .roasting-section { padding: 48px 20px; }
  .two-col          { grid-template-columns: 2fr; gap: 14px; }
  .cupping-inner    { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cupping-imgs     { justify-content: flex-start; width: 100%; }
  .cupping-img      { height: auto; width: calc(33.333% - 8px); aspect-ratio: 1 / 1; }

  /* 산지 이야기 */
  .origin-section { padding: 48px 20px 0; }
  .img-area       { margin-top: 32px; }
}


/* ================================================================
   모바일 반응형 — 480px
   ================================================================ */
@media (max-width: 480px) {

  /* 인트로 */
  .badge        { font-size: 12px; padding: 6px 20px; border-width: 2px; }
  .title-block  { margin: 28px 0 16px; }
  .info-grid    { gap: 8px; padding: 14px 12px; }
  .info-card    { padding: 14px 6px 12px; }
  .icon-circle  { width: 40px; height: 40px; margin-bottom: 10px; }
  .icon-circle svg { width: 18px; height: 18px; }

  /* 로스팅 가이드 */
  .roasting-section { padding: 36px 16px; }
  .cupping-tags     { padding: 10px 6px; }
  .cupping-imgs     { gap: 8px; }
  .cupping-img      { width: calc(33.333% - 6px); }

  /* 산지 이야기 */
  .origin-section { padding: 36px 16px 0; }
  .body-text      { line-height: 1.9; }
  .img-area       { margin-top: 24px; }
}

/* ================================================================
   섹션 05 — 가공방식 (Natural Process)
   ================================================================ */

.processing-section {
  width: 100%;
  padding: 70px 50px;
  background: var(--color-bg);
}
.processing-section .section-label {
    font-size: 26px;
    font-family: 'Noto Serif KR', serif;
    color: #a7af76;
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.06em;
    display: block;
    text-align: center;

}
.processing-section .main-title {
  font-family: 'Noto Serif KR', serif;
  font-size: 44px;
  font-weight: 600;
  color: var(--color-text-dark);
  text-align: center;
  margin: 0 0 12px;
}
.processing-section .sub-title {
  font-family: 'Noto Serif KR', serif;
  font-size: 26px;
  font-weight: 400;
  color: var(--color-brand);
  text-align: center;
  margin: 0 0 24px;
}
.processing-section .desc-text {
  font-size: 21px;
  line-height: 1.45;
  color: #555;
  text-align: center;
  margin-bottom: 36px;
}

.video-wrap {
  width: 100%;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 40px;
  margin-bottom:20px;
  background: #111;
}
.video-wrap iframe {
  width: 100%;
  height: 500px;
  display: block;
  border: none;
}
.video-caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 15px;
  padding: 8px 24px;
  border-radius: 100px;
  white-space: nowrap;
  pointer-events: none;
}

.step-grid {
display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
}
.step-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 24px 16px 20px;
  text-align: center;
}
.step-num {
  font-size: 16px;
  letter-spacing: 0.1em;
  color: var(--color-brand);
  font-weight: 500;
  margin-bottom: 8px;
}
.step-name {
  font-size: 23px;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 14px;
}
.step-badge {
  display: inline-block;
  background: #fff0e8;
  border: 1px solid #e4c9b3;
  border-radius: 100px;
  font-size: 16px;
  color: var(--color-text-muted);
  padding: 5px 16px;
}
.step-card:last-child .step-badge {
  background: #d4d98b44;
  border-color: var(--color-primary);
  color: var(--color-brand);
}


/* ================================================================
   섹션 06 — 안심선택 (Why Choose Us)
   ================================================================ */

.choose-section {
  width: 100%;
  padding: 70px 100px;
  background: var(--color-surface);
}
.choose-section .section-label {
    font-size: 26px;
    font-family: 'Noto Serif KR', serif;
    color: #a7af76;
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.06em;
    display: block;
    text-align: center;
}
.choose-section .main-title {
  font-family: 'Noto Serif KR', serif;
  font-size: 44px;
  font-weight: 600;
  color: var(--color-text-dark);
  text-align: center;
  margin: 0 0 16px;
}
.choose-section .desc-text {
  font-size: 21px;
  line-height: 1.45;
  color: #555;
  text-align: center;
  margin-bottom: 36px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 32px;
}
.process-cell {
  padding: 20px 10px;
  text-align: center;
  background: var(--color-primary-bg);
  border-right: 1px solid var(--color-border);
}
.process-cell:last-child { border-right: none; }
.process-num {
  font-size: 22px;
  color: var(--color-text-dark);
  font-weight: 300;
  margin-bottom: 4px;
}
.process-en {
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}
.process-ko {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-brand-dark);
}

.process-desc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.process-desc-list li {
  font-size: 21px;
  line-height: 1.45;
  color: var(--color-text-dark);
  word-break: keep-all;
}


/* ================================================================
   반응형 추가 — 768px
   ================================================================ */
@media (max-width: 768px) {
  .processing-section        { padding: 48px 20px; }
  .processing-section .main-title { font-size: 32px; }
  .processing-section .sub-title  { font-size: 20px; }
  .video-wrap iframe         { height: 300px; }
  .step-grid                 { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  .choose-section            { padding: 48px 20px; }
  .choose-section .main-title { font-size: 32px; }
  .process-grid              { grid-template-columns: repeat(3, 1fr); }
  .process-cell:nth-child(3) { border-right: none; }
  .process-cell:nth-child(4) { border-top: 1px solid var(--color-border); }
  .process-cell:nth-child(5) { border-top: 1px solid var(--color-border); }
  .process-cell:nth-child(6) { border-top: 1px solid var(--color-border); border-right: none; }
  .process-desc-list li      { font-size: 15px; }
}


/* ================================================================
   반응형 추가 — 480px
   ================================================================ */
@media (max-width: 480px) {
  .processing-section        { padding: 36px 16px; }
  .processing-section .main-title { font-size: 26px; }
  .processing-section .sub-title  { font-size: 18px; }
  .video-wrap iframe         { height: 220px; }

  .choose-section            { padding: 36px 16px; }
  .choose-section .main-title { font-size: 26px; }
  .process-grid              { grid-template-columns: repeat(2, 1fr); }
  .process-cell:nth-child(2) { border-right: none; }
  .process-cell:nth-child(3) { border-top: 1px solid var(--color-border); }
  .process-cell:nth-child(4) { border-top: 1px solid var(--color-border); border-right: none; }
  .process-cell:nth-child(5) { border-top: 1px solid var(--color-border); }
  .process-cell:nth-child(6) { border-top: 1px solid var(--color-border); border-right: none; }
  .process-desc-list li      { font-size: 14px; }
   .step-grid {     grid-template-columns: repeat(2, 1fr);  }
}