/* ============================================
   product-list.css - 제품 목록 페이지 스타일
   ✅ 최종 완성본 - 모든 기능 통합 + 공공기관 배지
   ============================================ */

:root {
  --primary: #06b6d4;
  --primary-dark: #0891b2;
  --secondary: #3b82f6;
  --success: #10b981;
  --danger: #ef4444;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --text-light: #6b7280;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

* { 
  box-sizing: border-box; 
}

body { 
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", sans-serif; 
  background: var(--gray-50); 
  margin: 0; 
  padding: 0; 
  color: var(--gray-900);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================================
   헤더
   ============================================ */

.header { 
  background: white;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  padding: 1rem 0;
}

.logo { 
  font-size: 1.75rem; 
  font-weight: 800; 
  background: linear-gradient(135deg, var(--primary), var(--secondary)); 
  -webkit-background-clip: text; 
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo a {
  text-decoration: none;
  color: inherit;
}

.breadcrumb {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0.5rem;
  align-items: center;
}

.breadcrumb li {
  color: var(--text-light);
  font-size: 0.9rem;
}

.breadcrumb li:not(:last-child)::after {
  content: '>';
  margin-left: 0.5rem;
  color: var(--gray-300);
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--primary-dark);
}

.nav-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.guest-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.hidden {
  display: none !important;
}

/* ============================================
   사용자 드롭다운
   ============================================ */

.user-info {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
}

/* Notification bell styles */
.notification-bell {
  position: relative;
  font-size: 1.5rem;
  cursor: pointer;
  transition: transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notification-bell:hover {
  transform: scale(1.1);
}

.notification-dot {
  position: absolute;
  top: 0;
  right: 0;
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  display: none;
}

.notification-dot.active {
  display: block;
}

/* User info inner container */
.user-info-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: background 0.2s ease;
  padding: 0;
  border-radius: 0.5rem;
}

.user-info-inner:hover {
  background: var(--gray-50);
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 14px;
  flex-shrink: 0;
}

.user-name {
  color: var(--gray-700);
  font-weight: 500;
  font-size: 14px;
}

.dropdown-icon {
  color: var(--gray-600);
  font-size: 12px;
  transition: transform 0.3s ease;
}

.user-info.active .dropdown-icon {
  transform: rotate(180deg);
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: white;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 1000;
}

.user-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu {
  list-style: none;
  padding: 0.5rem;
  margin: 0;
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a,
.dropdown-menu button {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border: none;
  background: none;
  text-align: left;
  color: var(--gray-700);
  text-decoration: none;
  cursor: pointer;
  border-radius: 0.375rem;
  transition: background 0.2s ease;
  font-size: 0.9rem;
}

.dropdown-menu a:hover,
.dropdown-menu button:hover {
  background: var(--gray-50);
}

.dropdown-menu button.logout {
  color: var(--danger);
}

.dropdown-divider {
  height: 1px;
  background: var(--gray-200);
  margin: 0.5rem 0;
}

/* ============================================
   버튼
   ============================================ */

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 0.95rem;
  display: inline-block;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

/* ============================================
   메인 컨텐츠
   ============================================ */

.main {
  padding: 2rem 0 4rem;
}

.page-header {
  margin-bottom: 2rem;
}

.page-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
}

/* ============================================
   신뢰도 필터 섹션
   ============================================ */

.trust-filter-section {
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.reference-filter-tabs {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  flex: 1;
  min-width: 0;
}

.filter-tab {
  padding: 0.75rem 1.5rem;
  background: white;
  border: 2px solid var(--gray-200);
  border-radius: 0.75rem;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-700);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.filter-tab:hover {
  border-color: var(--primary);
  background: var(--gray-50);
}

.filter-tab.active {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

.tab-count {
  padding: 0.25rem 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
}

.filter-tab.active .tab-count {
  background: rgba(255, 255, 255, 0.3);
}

/* ============================================
   필터
   ============================================ */

.filters {
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: flex-end;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.filter-label {
  font-weight: 600;
  color: var(--gray-700);
  font-size: 0.9rem;
}

.filter-select {
  padding: 0.625rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: 0.5rem;
  font-size: 0.95rem;
  min-width: 150px;
  background: white;
  cursor: pointer;
  transition: border-color 0.2s ease;
  color: var(--gray-700);
}

.filter-select:hover,
.filter-select:focus {
  border-color: var(--primary);
  outline: none;
}

/* ============================================
   커스텀 드롭다운 (정렬)
   ============================================ */

.custom-dropdown {
  position: relative;
  min-width: 200px;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 1rem;
  background: white;
  border: 2px solid var(--gray-200);
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  user-select: none;
  color: var(--gray-700);
}

.dropdown-toggle:hover {
  border-color: var(--primary);
}

.dropdown-toggle.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.dropdown-arrow {
  color: var(--gray-600);
  transition: transform 0.2s ease;
  font-size: 0.75rem;
  margin-left: 0.5rem;
}

.dropdown-toggle.active .dropdown-arrow {
  transform: rotate(180deg);
}

.custom-dropdown .dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 0.5rem;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  padding: 0.5rem;
  max-height: 300px;
  overflow-y: auto;
  list-style: none;
}

.custom-dropdown .dropdown-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--gray-700);
  transition: background 0.15s ease;
  border-radius: 0.375rem;
  margin-bottom: 0.25rem;
}

.dropdown-item:last-child {
  margin-bottom: 0;
}

.dropdown-item:hover {
  background: var(--gray-50);
}

.dropdown-item.selected {
  background: rgba(6, 182, 212, 0.1);
  color: var(--primary);
}

.dropdown-item .checkmark {
  width: 16px;
  margin-right: 0.5rem;
  color: var(--primary);
  font-weight: bold;
  font-size: 0.9rem;
}

.dropdown-item:not(.selected) .checkmark {
  visibility: hidden;
}

/* ============================================
   검색
   ============================================ */

.search-box {
  flex: 1;
  min-width: 250px;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 0.625rem 1rem 0.625rem 2.5rem;
  border: 2px solid var(--gray-200);
  border-radius: 0.5rem;
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
  color: var(--gray-700);
}

.search-input::placeholder {
  color: var(--gray-400);
}

.search-input:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  pointer-events: none;
}

/* ============================================
   활성 필터 표시
   ============================================ */

.active-filters {
  background: var(--gray-50);
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-chips {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  flex: 1;
}

.filter-chip {
  padding: 0.5rem 1rem;
  background: white;
  border: 1px solid var(--gray-300);
  border-radius: 2rem;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-700);
}

.chip-close {
  cursor: pointer;
  color: var(--gray-600);
  font-weight: bold;
  margin-left: 0.25rem;
  transition: color 0.2s ease;
  background: none;
  border: none;
  padding: 0;
  font-size: 1.125rem;
  line-height: 1;
}

.chip-close:hover {
  color: var(--danger);
}

.clear-all-btn {
  padding: 0.5rem 1rem;
  background: white;
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.clear-all-btn:hover {
  background: var(--primary);
  color: white;
}

/* ============================================
   제품 그리드
   ============================================ */

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.product-card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--gray-100);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(6, 182, 212, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: rgba(6, 182, 212, 0.3);
}

/* ============================================
   제품 하이라이트 (response.html에서 링크된 경우)
   ============================================ */

/* ============================================
   🎯 제품 하이라이트 효과 (강화된 버전)
   - 이메일 링크로 접속 시 해당 제품 강조
   - 두꺼운 노란색 테두리 + 펄스 애니메이션
   ============================================ */

.product-card-highlighted {
  /* 이중 테두리 효과: 내부 테두리(border) + 외부 광택(box-shadow) */
  border: 4px solid #ffb300 !important;
  box-shadow: 
    0 0 0 4px #ffc107,           /* 외부 노란색 테두리 */
    0 8px 30px rgba(255, 193, 7, 0.6),  /* 그림자 */
    inset 0 0 20px rgba(255, 193, 7, 0.2) !important;  /* 내부 광택 */
  
  /* 배경색 */
  background: linear-gradient(135deg, #fff9e6 0%, #fffbf0 100%) !important;
  
  /* 무한 펄스 애니메이션 (계속 깜빡임) */
  animation: highlight-pulse-strong 1.5s ease-in-out infinite !important;
  
  /* 부드러운 전환 효과 */
  transition: all 0.3s ease !important;
  
  /* 약간 확대 효과 */
  transform: scale(1.02) !important;
  
  /* 최상위 레이어 */
  z-index: 10 !important;
  position: relative !important;
}

/* 강력한 펄스 애니메이션 */
@keyframes highlight-pulse-strong {
  0% {
    box-shadow: 
      0 0 0 4px #ffc107,
      0 8px 30px rgba(255, 193, 7, 0.6),
      inset 0 0 20px rgba(255, 193, 7, 0.2);
    transform: scale(1.02);
  }
  50% {
    box-shadow: 
      0 0 0 6px #ffca28,
      0 12px 50px rgba(255, 193, 7, 0.8),
      inset 0 0 30px rgba(255, 193, 7, 0.3);
    transform: scale(1.03);
  }
  100% {
    box-shadow: 
      0 0 0 4px #ffc107,
      0 8px 30px rgba(255, 193, 7, 0.6),
      inset 0 0 20px rgba(255, 193, 7, 0.2);
    transform: scale(1.02);
  }
}

/* 호버 시 애니메이션 일시 정지 (사용자가 읽을 때) */
.product-card-highlighted:hover {
  animation-play-state: paused !important;
}

/* ============================================
   제품 이미지
   ============================================ */

.product-image-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
  overflow: hidden;
  border-bottom: 1px solid var(--gray-100);
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--gray-300);
}

/* ============================================
   신뢰도 오버레이 (밝게 개선)
   ============================================ */

.trust-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.7));
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.75rem;
  border-top: 1px solid rgba(6, 182, 212, 0.1);
}

.trust-badge-card {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(59, 130, 246, 0.1));
  padding: 0.5rem 0.75rem;
  border-radius: 0.75rem;
  border: 1.5px solid rgba(6, 182, 212, 0.3);
  box-shadow: 0 2px 12px rgba(6, 182, 212, 0.15);
  backdrop-filter: blur(10px);
}

.trust-icon {
  font-size: 1.25rem;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
  line-height: 1;
}

.trust-info-compact {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  gap: 0.125rem;
}

.trust-score-small {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1;
}

.trust-level-small {
  font-size: 0.7rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.reference-count {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(16, 185, 129, 0.1);
  padding: 0.4rem 0.65rem;
  border-radius: 0.75rem;
  border: 1.5px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 2px 12px rgba(16, 185, 129, 0.15);
  backdrop-filter: blur(10px);
}

.ref-icon {
  font-size: 0.9rem;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.ref-text {
  font-size: 0.7rem;
  font-weight: 600;
  color: #059669;
  white-space: nowrap;
  line-height: 1;
}

/* ============================================
   인증 배지 오버레이
   ============================================ */

.cert-badges-overlay {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.cert-badge-mini {
  padding: 0.35rem 0.65rem;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.98), rgba(59, 130, 246, 0.98));
  color: white;
  border-radius: 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  box-shadow: 0 2px 12px rgba(6, 182, 212, 0.4);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.cert-badge-mini::before {
  content: '✓';
  font-size: 0.8rem;
}

.cert-more {
  padding: 0.35rem 0.65rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(4px);
}

/* ============================================
   제품 정보
   ============================================ */

.product-info {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ============================================
   🎯 카테고리 + 공공기관 배지 컨테이너 (NEW)
   ============================================ */

.badges-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  align-items: center;
}

.category-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(59, 130, 246, 0.15));
  color: var(--primary);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  width: fit-content;
  backdrop-filter: blur(10px);
  flex-shrink: 0;
}

/* ============================================
   ✅ 공공기관 인증 배지 (NEW)
   ============================================ */

.cert-badge {
  padding: 0.35rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  border: 1.5px solid;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
}

.cert-badge .badge-icon {
  font-size: 0.85rem;
  line-height: 1;
}

/* GS인증 */
.cert-badge[data-cert="GS"] {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(22, 163, 74, 0.12));
  color: #16a34a;
  border-color: rgba(34, 197, 94, 0.4);
}

/* CC인증 */
.cert-badge[data-cert="CC"] {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(37, 99, 235, 0.12));
  color: #2563eb;
  border-color: rgba(59, 130, 246, 0.4);
}

/* CSAP */
.cert-badge[data-cert="CSAP"] {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(124, 58, 237, 0.12));
  color: #7c3aed;
  border-color: rgba(139, 92, 246, 0.4);
}

/* 조달등록 */
.cert-badge[data-cert="조달등록"] {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.12), rgba(185, 28, 28, 0.12));
  color: #dc2626;
  border-color: rgba(220, 38, 38, 0.4);
}

/* NEP인증 */
.cert-badge[data-cert="NEP"] {
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.12), rgba(194, 65, 12, 0.12));
  color: #ea580c;
  border-color: rgba(234, 88, 12, 0.4);
}

/* ISO 27001 */
.cert-badge[data-cert="ISO27001"] {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.12), rgba(8, 145, 178, 0.12));
  color: #0891b2;
  border-color: rgba(6, 182, 212, 0.4);
}

/* ISMS */
.cert-badge[data-cert="ISMS"] {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(2, 132, 199, 0.12));
  color: #0284c7;
  border-color: rgba(14, 165, 233, 0.4);
}

/* 혁신제품 */
.cert-badge[data-cert="혁신제품"] {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.12), rgba(219, 39, 119, 0.12));
  color: #db2777;
  border-color: rgba(236, 72, 153, 0.4);
}

.product-card:hover .cert-badge {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* ============================================
   제품명 및 기타 정보
   ============================================ */

.product-name {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--gray-900);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
  min-height: 3.15rem;
}

.company-name {
  color: var(--text-light);
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.product-stats {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--gray-100);
}

.product-stats .stat {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.tag {
  padding: 0.25rem 0.5rem;
  background: var(--gray-100);
  color: var(--gray-700);
  border-radius: 0.25rem;
  font-size: 0.75rem;
}

/* ============================================
   🎨 풀스크린 로딩 모달
   ============================================ */

.loading-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.loading-modal.hidden {
  display: none;
}

.loading-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.loading-modal-content {
  position: relative;
  z-index: 10000;
  background: white;
  border-radius: 1.5rem;
  padding: 3rem 2.5rem;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* 로딩 헤더 */
.loading-header {
  text-align: center;
  margin-bottom: 2rem;
}

.loading-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

.loading-title {
  font-size: 1.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 0.5rem 0;
}

.loading-subtitle {
  font-size: 1.1rem;
  color: var(--gray-600);
  margin: 0;
  font-weight: 500;
}

/* 로딩 단계 */
.loading-steps {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.loading-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  background: var(--gray-50);
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.loading-step.active {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(59, 130, 246, 0.1));
  border-left-color: var(--primary);
  box-shadow: 0 2px 8px rgba(6, 182, 212, 0.15);
}

.loading-step.completed {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.1));
  border-left-color: var(--success);
}

.step-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  line-height: 1;
}

.loading-step.active .step-icon {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.step-text {
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-700);
  line-height: 1.3;
}

.loading-step.active .step-text {
  color: var(--primary);
  font-weight: 600;
}

.loading-step.completed .step-text {
  color: var(--success);
  font-weight: 500;
}

/* 로딩 팁 */
.loading-tip {
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%);
  border-radius: 0.75rem;
  border-left: 4px solid #fbbf24;
  animation: tipFadeIn 0.5s ease;
}

@keyframes tipFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.loading-tip .tip-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  display: block;
}

.loading-tip strong {
  color: #92400e;
  font-size: 1rem;
  display: block;
  margin-bottom: 0.5rem;
}

.loading-tip p {
  color: #78350f;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 500;
}

/* 반응형 - 모바일 */
@media (max-width: 768px) {
  .loading-modal-content {
    padding: 2rem 1.5rem;
    width: 95%;
    max-width: none;
  }

  .loading-icon {
    font-size: 3rem;
  }

  .loading-title {
    font-size: 1.5rem;
  }

  .loading-subtitle {
    font-size: 1rem;
  }

  .loading-step {
    padding: 0.875rem 1rem;
  }

  .step-icon {
    font-size: 1.25rem;
  }

  .step-text {
    font-size: 0.9rem;
  }

  .loading-tip {
    padding: 1rem 1.25rem;
  }

  .loading-tip strong {
    font-size: 0.95rem;
  }

  .loading-tip p {
    font-size: 0.875rem;
  }
}

@media (max-width: 480px) {
  .loading-modal-content {
    padding: 1.75rem 1.25rem;
    border-radius: 1rem;
  }

  .loading-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
  }

  .loading-title {
    font-size: 1.25rem;
  }

  .loading-subtitle {
    font-size: 0.9rem;
  }

  .loading-steps {
    gap: 0.5rem;
  }

  .loading-step {
    padding: 0.75rem 0.875rem;
  }

  .step-icon {
    font-size: 1.125rem;
  }

  .step-text {
    font-size: 0.85rem;
  }
}

/* ============================================
   빈 상태 & 로딩 (기존)
   ============================================ */

.loading {
  text-align: center;
  padding: 4rem;
  color: var(--text-light);
  font-size: 1.125rem;
}

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border-radius: 1rem;
  box-shadow: var(--shadow-sm);
}

.empty-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.empty-state h3 {
  color: var(--gray-700);
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.empty-state p {
  color: var(--text-light);
  font-size: 1rem;
}

.error {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--danger);
  background: white;
  border-radius: 1rem;
  box-shadow: var(--shadow-sm);
}

/* ============================================
   검색어 하이라이트
   ============================================ */

.search-highlight {
  background-color: #fff59d;
  color: #000;
  font-weight: 600;
  padding: 2px 4px;
  border-radius: 3px;
}

/* ============================================
   반응형 - 모바일
   ============================================ */

@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  .nav {
    flex-wrap: wrap;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .filters,
  .trust-filter-section {
    flex-direction: column;
    align-items: stretch;
  }
  
  .filter-group,
  .filter-select,
  .custom-dropdown,
  .search-box {
    width: 100%;
  }
  
  .reference-filter-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  
  .reference-filter-tabs::-webkit-scrollbar {
    display: none;
  }
  
  .filter-tab {
    padding: 0.625rem 1rem;
    font-size: 0.85rem;
  }
  
  .user-name {
    display: none;
  }
  
  .active-filters {
    padding: 0.75rem 1rem;
  }
  
  .filter-chip {
    font-size: 0.8rem;
    padding: 0.4rem 0.75rem;
  }
  
  /* 🎯 모바일 배지 최적화 */
  .badges-container {
    gap: 0.4rem;
  }
  
  .category-badge {
    font-size: 0.7rem;
    padding: 0.3rem 0.7rem;
  }
  
  .cert-badge {
    font-size: 0.65rem;
    padding: 0.3rem 0.6rem;
    gap: 0.25rem;
  }
  
  .cert-badge .badge-icon {
    font-size: 0.75rem;
  }
  
  /* 모바일에서 오버레이 요소 크기 조정 */
  .cert-badges-overlay {
    top: 0.5rem;
    right: 0.5rem;
    gap: 0.35rem;
  }
  
  .cert-badge-mini,
  .cert-more {
    padding: 0.3rem 0.5rem;
    font-size: 0.65rem;
  }
  
  .trust-overlay {
    padding: 0.75rem;
    gap: 0.5rem;
  }
  
  .trust-badge-card {
    padding: 0.4rem 0.6rem;
    gap: 0.4rem;
    border: 1px solid rgba(6, 182, 212, 0.25);
  }
  
  .trust-icon {
    font-size: 1rem;
  }
  
  .trust-score-small {
    font-size: 0.7rem;
  }
  
  .trust-level-small {
    font-size: 0.65rem;
  }
  
  .reference-count {
    padding: 0.35rem 0.5rem;
    border: 1px solid rgba(16, 185, 129, 0.25);
  }
  
  .ref-text {
    font-size: 0.65rem;
  }
}

@media (max-width: 480px) {
  .page-title {
    font-size: 1.5rem;
  }
  
  .page-subtitle {
    font-size: 0.95rem;
  }
  
  .product-image-wrapper {
    height: 180px;
  }
  
  .trust-badge-card,
  .reference-count {
    font-size: 0.65rem;
  }
  
  .breadcrumb {
    width: 100%;
    order: 3;
    margin-top: 0.5rem;
    justify-content: center;
  }
  
  .product-name {
    font-size: 1rem;
    min-height: 2.8rem;
  }
  
  /* 🎯 작은 모바일에서 배지 더 최적화 */
  .cert-badge {
    font-size: 0.6rem;
    padding: 0.25rem 0.5rem;
  }
  
  .cert-badge .badge-icon {
    font-size: 0.7rem;
  }
}}


}

/* ========================================
   🎯 제품 찾기 가이드 - 모달 방식
   2025-10-31 개선
   ======================================== */

/* 신뢰도 필터 섹션 - Flex 레이아웃으로 한 줄 배치 */
.trust-filter-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.reference-filter-tabs {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  flex: 1;
  min-width: 0; /* flex 아이템이 축소될 수 있도록 */
}

/* 가이드 도움말 버튼 - 세련된 디자인 */
.guide-help-btn {
  flex-shrink: 0; /* 버튼 크기 유지 */
  padding: 0.9rem 1.8rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 16px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 
    0 4px 16px rgba(102, 126, 234, 0.25),
    0 2px 8px rgba(118, 75, 162, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

/* 반짝이는 효과 */
.guide-help-btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.15) 50%,
    transparent 70%
  );
  animation: shine-btn 3s infinite;
}

@keyframes shine-btn {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.guide-help-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    0 8px 24px rgba(102, 126, 234, 0.35),
    0 4px 12px rgba(118, 75, 162, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, #5568d3 0%, #6b3f8f 100%);
}

.guide-help-btn:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: 
    0 4px 12px rgba(102, 126, 234, 0.3),
    inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 그라데이션 테두리 효과 */
.guide-help-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(255,255,255,0.4), rgba(255,255,255,0.1));
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
}

/* 반응형: 태블릿 */
@media (max-width: 1200px) {
  .guide-help-btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* 반응형: 모바일 - 버튼을 아래로 */
@media (max-width: 968px) {
  .trust-filter-section {
    flex-direction: column;
    align-items: stretch;
  }
  
  .reference-filter-tabs {
    width: 100%;
  }
  
  .guide-help-btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.2rem;
    font-size: 0.95rem;
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .guide-help-btn {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
}

/* 모달 배경 */
.guide-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

/* 모달 컨테이너 */
.modal-container {
  position: relative;
  width: 90%;
  max-width: 600px;
  max-height: 85vh;
  background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  animation: slideUp 0.3s ease;
  overflow: hidden;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* 가이드 헤더 */
.guide-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 22px 22px 0 0;
  flex-shrink: 0;
}

.guide-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.3rem;
  font-weight: 700;
}

.guide-icon {
  font-size: 1.8rem;
  animation: pulse-guide 2s infinite;
}

@keyframes pulse-guide {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.toggle-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1;
}

.toggle-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg) scale(1.1);
}

/* 가이드 컨텐츠 */
.guide-content {
  padding: 2rem;
  overflow-y: auto;
  flex: 1;
}

.guide-content::-webkit-scrollbar {
  width: 8px;
}

.guide-content::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.guide-content::-webkit-scrollbar-thumb {
  background: #667eea;
  border-radius: 10px;
}

.guide-content::-webkit-scrollbar-thumb:hover {
  background: #5568d3;
}

/* 가이드 섹션 */
.guide-section {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid #e0e7ff;
}

.guide-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #667eea;
  margin-bottom: 1.25rem;
}

.section-icon {
  font-size: 1.5rem;
}

/* 단계별 가이드 */
.guide-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.guide-step {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: white;
  border-radius: 14px;
  border: 2px solid #e0e7ff;
  transition: all 0.3s ease;
}

.guide-step:hover {
  border-color: #667eea;
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.15);
  transform: translateX(6px);
}

.step-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.step-content {
  flex: 1;
}

.step-label {
  font-size: 1rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.35rem;
}

.step-desc {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.5;
}

/* 배지 가이드 */
.badge-guide-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.badge-guide-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: white;
  border-radius: 12px;
  border: 2px solid #e0e7ff;
  transition: all 0.3s ease;
}

.badge-guide-item:hover {
  border-color: #667eea;
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.15);
  transform: translateX(4px);
}

.badge-icon-large {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.badge-guide-text {
  flex: 1;
}

.badge-name {
  font-size: 1rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.25rem;
}

.badge-desc {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.4;
}

/* 신뢰도 점수 가이드 */
.score-guide-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.score-guide-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  background: white;
  border-radius: 12px;
  border: 2px solid #e0e7ff;
  transition: all 0.2s ease;
}

.score-guide-item:hover {
  border-color: #667eea;
  transform: translateX(4px);
}

.score-label {
  font-size: 0.95rem;
  color: #334155;
  font-weight: 500;
}

.score-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: #667eea;
}

.score-tip {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-radius: 12px;
  border: 2px solid #fbbf24;
}

.tip-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: #92400e;
  margin-bottom: 0.5rem;
}

.tip-row:last-child {
  margin-bottom: 0;
}

.tip-icon {
  font-size: 1.2rem;
}

/* 시나리오 카드 */
.scenario-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.scenario-card {
  padding: 1rem 1.25rem;
  background: white;
  border-radius: 14px;
  border: 2px solid #e0e7ff;
  transition: all 0.3s ease;
  cursor: pointer;
}

.scenario-card:hover {
  border-color: #667eea;
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.2);
  transform: translateY(-3px);
}

.scenario-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.scenario-icon {
  font-size: 1.5rem;
}

.scenario-title {
  font-size: 1rem;
  font-weight: 600;
  color: #334155;
}

.scenario-action {
  font-size: 0.9rem;
  color: #667eea;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.action-arrow {
  transition: transform 0.3s ease;
  font-weight: bold;
}

.scenario-card:hover .action-arrow {
  transform: translateX(6px);
}

/* 도움말 버튼 */
.help-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.help-btn {
  padding: 1rem;
  background: white;
  border: 2px solid #667eea;
  border-radius: 12px;
  color: #667eea;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

.help-btn:hover {
  background: #667eea;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(102, 126, 234, 0.25);
}

/* 반응형: 모바일 */
@media (max-width: 768px) {
  .guide-help-btn {
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
  }
  
  .modal-container {
    width: 95%;
    max-height: 90vh;
    border-radius: 20px;
  }
  
  .guide-header {
    padding: 1.25rem 1.5rem;
  }
  
  .guide-title {
    font-size: 1.1rem;
  }
  
  .guide-content {
    padding: 1.5rem;
  }
  
  .section-title {
    font-size: 1rem;
  }
  
  .guide-step {
    padding: 0.85rem;
  }
  
  .step-number {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .guide-help-btn {
    padding: 0.6rem 0.85rem;
    font-size: 0.85rem;
  }
  
  .modal-container {
    width: 100%;
    max-height: 95vh;
    border-radius: 16px 16px 0 0;
  }
  
  .guide-content {
    padding: 1.25rem;
  }
}

/* ========================================
   🌟 가이드 모달 - 쇼룸 프로모션 섹션
   ======================================== */

.showroom-promo {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 18px;
  padding: 2rem;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

/* 반짝이는 배경 효과 */
.showroom-promo::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 70%
  );
  animation: shine-promo 4s infinite;
}

@keyframes shine-promo {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* 쇼룸 프로모션 헤더 */
.showroom-promo-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.showroom-promo-icon {
  font-size: 3rem;
  animation: float-icon 3s ease-in-out infinite;
}

@keyframes float-icon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.showroom-promo-title {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.4;
}

/* 쇼룸 특징 */
.showroom-features {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.showroom-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.showroom-feature-item:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateX(6px);
}

.feature-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.feature-text {
  font-size: 1rem;
  font-weight: 500;
}

/* 쇼룸 설명 */
.showroom-description {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  opacity: 0.95;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* 쇼룸 입장 버튼 */
.showroom-visit-btn {
  width: 100%;
  padding: 1.25rem 2rem;
  background: white;
  color: #667eea;
  border: none;
  border-radius: 14px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.showroom-visit-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.showroom-visit-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.showroom-visit-btn:hover::before {
  opacity: 1;
}

.showroom-visit-btn:hover .btn-text,
.showroom-visit-btn:hover .btn-icon,
.showroom-visit-btn:hover .btn-arrow {
  color: white;
  position: relative;
  z-index: 1;
}

.btn-icon {
  font-size: 1.4rem;
  transition: transform 0.3s ease;
}

.showroom-visit-btn:hover .btn-icon {
  transform: scale(1.2);
}

.btn-text {
  transition: color 0.3s ease;
}

.btn-arrow {
  font-size: 1.3rem;
  font-weight: bold;
  transition: all 0.3s ease;
}

.showroom-visit-btn:hover .btn-arrow {
  transform: translateX(6px);
}

/* 쇼룸 배지 */
.showroom-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  z-index: 1;
}

.badge-icon {
  font-size: 1.2rem;
  animation: bounce-badge 2s infinite;
}

@keyframes bounce-badge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.badge-text {
  font-size: 0.9rem;
  opacity: 0.95;
}

.badge-text strong {
  font-weight: 800;
  font-size: 1.05em;
  color: #fbbf24;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* 반응형: 모바일 */
@media (max-width: 768px) {
  .showroom-promo {
    padding: 1.5rem;
  }
  
  .showroom-promo-title {
    font-size: 1.1rem;
  }
  
  .showroom-promo-icon {
    font-size: 2.5rem;
  }
  
  .showroom-visit-btn {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .showroom-promo {
    padding: 1.25rem;
  }
  
  .showroom-promo-header {
    flex-direction: column;
    text-align: center;
  }
  
  .showroom-description {
    font-size: 0.9rem;
  }
}