/* BUSINESS 제품 소개 페이지(template-parts/np-product.php) — 공통은 np.css(맨 위 품목 슬라이드 .np-kv 포함)
   2026-10-23 리디자인: 슬라이드 아래는 제목 + 사진·이름·꼬리표만. 쇼핑몰 맞춤제작 '마킹 기술'(noeul.shop custom-intro.php .cis-*)과 같은 결:
   제목 28px 800, 사진 모서리 8px, 꼬리표 테두리 #cdd1d7·모서리 4px, 글 색 #15181d / #2b2f36 / #626872 */
.np-pp {
  --pp-ink: #15181d; --pp-text: #2b2f36; --pp-sub: #626872; --pp-line: #cdd1d7; --pp-surface: #eceef1; --pp-warm: #f1eeec;
  --pp-sp: clamp(4rem, 7.8vw, 7rem);            /* 구역 간격(쇼핑몰 112px에 맞춤) */
}
.np-pp-sec { padding-block: var(--pp-sp) 0; }
.np-pp .np-cta { margin-top: var(--pp-sp); }
.np-pp-title { margin: 0 0 28px; color: var(--pp-ink); font-size: 1.75rem; font-weight: 800; line-height: 1.25; letter-spacing: -.03em; }

/* 꼬리표(쇼핑몰 .cis-mk__tags li 와 같음) */
.np-pp-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.np-pp-tags li { padding: 7px 14px; border: 1px solid var(--pp-line); border-radius: 4px; color: var(--pp-text); font-size: .9375rem; font-weight: 600; line-height: 1.4; }

/* 제품 구성: 사진 + 이름 */
.np-pp-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; margin: 0; padding: 0; list-style: none; }
.np-pp-cards__img { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px; background: var(--pp-surface); }
.np-pp-cards__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--np-ease); }
.np-pp-cards__img.is-cut { background: radial-gradient(60% 60% at 50% 55%, #fff 0%, rgba(255,255,255,0) 100%), var(--pp-warm); }
.np-pp-cards__img.is-cut img { padding: 9% 10%; object-fit: contain; }
@media (hover: hover) { .np-pp-cards li:hover .np-pp-cards__img img { transform: scale(1.03); } }
.np-pp-cards h3 { margin: 16px 0 0; color: var(--pp-ink); font-size: 1.125rem; font-weight: 700; letter-spacing: -.02em; }
.np-pp-cards p { margin: 4px 0 0; color: var(--pp-sub); font-size: .9375rem; line-height: 1.5; }

/* 사진 + 글 줄(마킹 방식 비교 등) — 쇼핑몰 custom-intro.php .cis-head / .cis-mk 와 같은 값 */
.np-pp-mkhead { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.np-pp-mkhead .np-pp-title { margin: 0; }
.np-pp-mkhead__desc { margin: 8px 0 0; color: var(--pp-sub); font-size: 1.0625rem; font-weight: 400; line-height: 1.6; text-wrap: pretty; }
.np-pp-more { display: inline-flex; align-items: center; flex-shrink: 0; min-height: 44px; margin-bottom: 2px; padding: 8px 0; border-bottom: 1px solid currentColor; color: var(--pp-text); font-size: .875rem; font-weight: 600; text-decoration: none; box-sizing: border-box; }
.np-pp-more:hover { color: #c40018; }
.np-pp-mk { display: flex; flex-direction: column; gap: 96px; margin: 48px 0 0; padding: 0; list-style: none; }
.np-pp-mk__item { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: center; }
.np-pp-mk__item:nth-child(even) { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.np-pp-mk__item:nth-child(even) .np-pp-mk__media { order: 2; }
.np-pp-mk__media { position: relative; width: 100%; margin: 0; aspect-ratio: 5 / 3; overflow: hidden; border-radius: 8px; background: var(--pp-surface); }
.np-pp-mk__imglink { display: block; width: 100%; height: 100%; cursor: pointer; }
.np-pp-mk__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--np-ease); }
@media (hover: hover) { .np-pp-mk__item:hover .np-pp-mk__media img { transform: scale(1.03); } }
.np-pp-mk__body { justify-self: center; min-width: 0; max-width: 32em; }
.np-pp-mk__name { margin: 0; color: var(--pp-ink); font-size: 2rem; font-weight: 800; line-height: 1.3; letter-spacing: -.035em; }
.np-pp-mk__desc { margin: 18px 0 0; color: var(--pp-sub); font-size: 1.25rem; font-weight: 400; line-height: 1.7; letter-spacing: -.015em; text-wrap: pretty; }
.np-pp-mk__tags { margin-top: 28px; }
.np-pp-mk__logo { display: block; width: auto; max-width: 160px; height: 40px; margin-bottom: 16px; object-fit: contain; object-position: left center; mix-blend-mode: multiply; }
/* 줄마다 버튼(협력브랜드 '브랜드관 보기') — 사이트 버튼과 같은 각진 검정, 누르면 빨강 */
.np .np-pp-mk__link { display: inline-flex; align-items: center; gap: 8px; height: 46px; margin-top: 24px; padding: 0 22px; background: var(--pp-ink); color: #fff; font-size: 15px; font-weight: 600; text-decoration: none; transition: background-color .25s; }
.np .np-pp-mk__link::after { content: ""; width: 7px; height: 7px; border-top: 1.6px solid currentColor; border-right: 1.6px solid currentColor; transform: rotate(45deg); }
.np .np-pp-mk__link:hover { background: var(--np-red); }
.np-pp-mk__link:focus-visible { outline: 2px solid var(--pp-ink); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .np-pp-mk__media img, .np-pp-cards__img img { transition: none; } }

@media (max-width: 1279px) { .np-pp-mk__item { gap: 48px; } }
@media (max-width: 1024px) {
  .np-pp-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .np-pp-mk { gap: 64px; }
  .np-pp-mk__item, .np-pp-mk__item:nth-child(even) { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .np-pp-mk__item:nth-child(even) .np-pp-mk__media { order: 0; }
  .np-pp-mk__body { justify-self: stretch; max-width: none; }
}
@media (max-width: 768px) {
  .np-pp-title { margin-bottom: 20px; font-size: 20px; line-height: 1.35; letter-spacing: -.02em; }
  .np-pp-mkhead { flex-direction: column; align-items: flex-start; gap: 4px; margin-bottom: 20px; }
  .np-pp-mkhead__desc { margin-top: 6px; font-size: 15px; }
  .np-pp-more { margin: 0; }
  .np-pp-mk { gap: 48px; margin-top: 8px; }
  .np-pp-mk__item, .np-pp-mk__item:nth-child(even) { gap: 18px; }
  .np-pp-mk__name { font-size: 22px; line-height: 1.35; letter-spacing: -.025em; }
  .np-pp-mk__desc { margin-top: 10px; font-size: 16px; line-height: 1.65; }
  .np-pp-mk__tags { margin-top: 16px; }
  .np-pp-tags li { padding: 6px 12px; font-size: 14px; }
  .np-pp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .np-pp-cards h3 { margin-top: 10px; font-size: 1rem; }
  .np-pp-cards p { font-size: .8125rem; }
  .np-pp-mk__logo { height: 30px; margin-bottom: 10px; }
  .np .np-pp-mk__link { height: 42px; margin-top: 18px; padding: 0 18px; font-size: 14px; }
}

/* 맞춤제작 제작 품목(2026-10-28): 누끼 9장 + '기타' 1장 = 10장 → 넓은 화면은 5칸 두 줄. '기타'는 쇼핑몰 custom-intro 처럼 점선 상자 + 더하기 */
@media (min-width: 1025px) { .np-pp[data-product="custom"] #lineup .np-pp-cards { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.np-pp-cards__img.is-etc { display: grid; place-items: center; border: 1px dashed #aab0b9; background: #fff; }
.np-pp-cards__img.is-etc svg { width: 25%; max-width: 64px; fill: none; stroke: #8a9099; stroke-width: 1; stroke-linecap: round; }

/* 작업복 제품 구성: 첨부 사진의 전체 비율을 유지한다. */
.np-pp[data-product="workwear"] #lineup .np-pp-cards__img { aspect-ratio: 3 / 2; }
.np-pp[data-product="workwear"] #lineup .np-pp-cards__img img { object-fit: contain; padding: 0; transform: none; }
