/* ===============================
기본 제목
=============================== */
.distribution-section h2 {font-weight: 700;}
/* ===============================
🟢 공통 Hover 카드 스타일
=============================== */
.dist-channel-card,.dist-partner-box,.partner-type-card,.dist-hero-card,.dist-contact-card,.dist-strength .strength-item {position: relative;background: #fff;border: 1px solid #e5e5e5;border-radius: 1rem;box-shadow: 0 3px 10px rgba(0,0,0,0.05);transition: all 0.35s ease;overflow: hidden;}
/* Hover 시 상승 + 그림자 강조 */
.dist-channel-card:hover,.dist-partner-box:hover,.partner-type-card:hover,.dist-hero-card:hover,.dist-contact-card:hover,.dist-strength .strength-item:hover {transform: translateY(-6px);box-shadow: 0 10px 22px rgba(0,0,0,0.12);background: linear-gradient(180deg, #ffffff 0%, #f5fbf6 100%);}
/* 빛나는 테두리 */
.dist-channel-card::after,.dist-partner-box::after,.partner-type-card::after,.dist-hero-card::after,.dist-contact-card::after,.dist-strength .strength-item::after {content: "";position: absolute;inset: 0;border-radius: inherit;border: 2px solid transparent;transition: border-color 0.3s ease;}
.dist-channel-card:hover::after,.dist-partner-box:hover::after,.partner-type-card:hover::after,.dist-hero-card:hover::after,.dist-contact-card:hover::after,.dist-strength .strength-item:hover::after {border-color: #1f7a3a;}
/* 텍스트 강조 */
.dist-channel-card:hover h5,.dist-partner-box:hover h4,.partner-type-card:hover h5,.dist-hero-card:hover h5,.dist-contact-card:hover h4,.dist-strength .strength-item:hover .strength-title {color: #1f7a3a;transition: color 0.3s ease;}
/* 이미지 확대 효과 */
.dist-channel-card img,.dist-partner-box img,.partner-type-card img,.dist-hero-card img,.dist-contact-card img,.dist-strength .strength-item img {transition: transform 0.6s ease;}
.dist-channel-card:hover img,.dist-partner-box:hover img,.partner-type-card:hover img,.dist-hero-card:hover img,.dist-contact-card:hover img,.dist-strength .strength-item:hover img {transform: scale(1.03);}
/* ===============================
히어로 카드
=============================== */
.dist-hero-card {background: #f9fbf9;border-radius: 1.2rem;}
.dist-hero-list {list-style: none;padding-left: 0;margin: 0;}
.dist-hero-list li::before {content: "•";margin-right: 0.4rem;color: #1f7a3a;}
.dist-hero-list li {font-size: 0.95rem;margin-bottom: 0.2rem;}
.dist-badge {background: #e5f4ea;color: #1f7a3a;border-radius: 999px;font-size: 0.8rem;padding: 0.35rem 0.75rem;}
/* ===============================
유통 채널 카드
=============================== */
.dist-channel-card {padding: 1.5rem 1.3rem;}
.dist-channel-card h5 {margin-top: 0.7rem;margin-bottom: 0.5rem;}
.dist-channel-card p {font-size: 0.95rem;color: #555;}
.dist-channel-card ul {padding-left: 1.1rem;margin-bottom: 0;font-size: 0.9rem;}
.icon-circle {width: 44px;height: 44px;border-radius: 50%;background: #e5f4ea;display: inline-flex;align-items: center;justify-content: center;color: #1f7a3a;font-size: 1.1rem;}
/* ===============================
버섯 유통 강점
=============================== */
.dist-strength .strength-item {text-align: center;padding: 1rem 0.7rem;background: #f9f9f9;}
.strength-num {display: inline-block;font-size: 0.8rem;font-weight: 700;color: #1f7a3a;border: 1px solid #1f7a3a;border-radius: 999px;padding: 0.05rem 0.5rem;margin-bottom: 0.2rem;}
.strength-title {font-weight: 600;margin-bottom: 0.2rem;}
.strength-text {font-size: 0.85rem;color: #666;}
/* ===============================
공급 프로세스
=============================== */
.dist-process .process-item {background: #ffffff;border-radius: 0.9rem;padding: 1rem 0.7rem;text-align: center;box-shadow: 0 2px 8px rgba(0,0,0,0.04);height: 100%;transition: all 0.3s ease;}
.dist-process .process-item:hover {transform: translateY(-4px);box-shadow: 0 8px 16px rgba(0,0,0,0.1);}
.process-icon {width: 36px;height: 36px;border-radius: 50%;border: 2px solid #1f7a3a;display: inline-flex;align-items: center;justify-content: center;font-weight: 700;color: #1f7a3a;margin-bottom: 0.35rem;}
.process-title {font-weight: 600;margin-bottom: 0.2rem;}
.process-text {font-size: 0.87rem;color: #666;}
/* ===============================
하단 박스 (거래유형 & 문의)
=============================== */
.dist-contact-card {background: #ffffff;border-radius: 1.1rem;}
/* 주요 거래처 박스 정렬 */
.dist-partner-box {background: #ffffff;border: 1px solid #e5e5e5;border-radius: 1rem;box-shadow: 0 3px 10px rgba(0,0,0,0.05);transition: all 0.3s ease;overflow: hidden;}
.dist-partner-box ul {list-style: none;padding-left: 0;margin-bottom: 0.5rem;font-size: 0.95rem;}
.dist-partner-box ul li::before {content: "• ";color: #1f7a3a;font-weight: bold;}
/* 이미지 크기 */
.partner-logos-img {max-width: 520px;width: 100%;height: auto;transition: transform 0.6s ease;}
/* Hover 시 부드럽게 확대 */
.dist-partner-box:hover .partner-logos-img {transform: scale(1.03);}
/* 반응형 정렬 */
@media (max-width: 992px) {
	.dist-partner-box .row {text-align: center;}
	.dist-partner-box ul {display: inline-block;text-align: left;}
	.partner-logos-img {max-width: 380px;margin-top: 1rem;}
}
@media (max-width: 768px) {
	.dist-channel-card {padding: 1.3rem 1.1rem;}
	.distribution-section .lead {font-size: 1.02rem;}
}
/* ===============================
   Hover 유지 + 카드 내부 버튼 클릭 보정
   =============================== */

/* 공통 hover 카드들: transform 안정화 */
.dist-channel-card,
.dist-partner-box,
.partner-type-card,
.dist-hero-card,
.dist-contact-card,
.dist-strength .strength-item {
  position: relative;        /* 이미 있다면 OK */
  will-change: transform;    /* transform hover 시 클릭/렌더 안정화 */
}

/* 카드 hover용 ::after(테두리)가 클릭을 가로채지 않도록 */
.dist-channel-card::after,
.dist-partner-box::after,
.partner-type-card::after,
.dist-hero-card::after,
.dist-contact-card::after,
.dist-strength .strength-item::after {
  pointer-events: none;      /* ★ 중요: 오버레이가 클릭 차단하지 않게 */
}

/* 카드 안의 버튼(링크) 클릭을 최우선으로 */
.dist-hero-card .btn,
.dist-contact-card .btn {
  position: relative;
  z-index: 3;
  pointer-events: auto;
}
