/* Projects Page - Modern Dashboard Design */

/* 전체 레이아웃 컨테이너 */
.projects-container {
  display: flex;
  gap: 0;
  min-height: calc(100vh - 200px);
  background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

/* 좌측 사이드바 */
.projects-sidebar {
  width: 320px;
  min-width: 320px;
  background: linear-gradient(135deg, #1e3a5f 0%, #2d4a6f 100%);
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
}

.projects-sidebar::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(46, 125, 209, 0.3) 0%, rgba(30, 58, 95, 0.6) 100%);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transform: scale(1.5);
  transform-origin: bottom center;
  pointer-events: none;
}

.sidebar-header {
  position: relative;
  z-index: 2;
  margin-bottom: 40px;
}

.sidebar-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px 0;
  letter-spacing: -0.02em;
  font-family: 'Pretendard', sans-serif;
}

.sidebar-header p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-weight: 400;
}

/* 카테고리 메뉴 */
.category-nav {
  flex: 1;
  position: relative;
  z-index: 2;
}

.category-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-menu li {
  margin-bottom: 8px;
}

.category-menu-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  font-family: 'Pretendard', sans-serif;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
}

.category-menu-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  transform: translateX(4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.category-menu-item.active {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  font-weight: 600;
}

.category-menu-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 60%;
  background: #ffffff;
  border-radius: 0 4px 4px 0;
}

.category-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  font-size: 20px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.category-menu-item:hover .category-icon,
.category-menu-item.active .category-icon {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.category-name {
  flex: 1;
  white-space: nowrap;
}

.category-count {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 8px;
  border-radius: 12px;
  min-width: 32px;
  text-align: center;
}

.category-menu-item.active .category-count {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.sidebar-footer {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.decorative-shapes {
  width: 100%;
  height: 60px;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><path d="M0,100 Q50,50 100,100 T200,100" stroke="rgba(255,255,255,0.1)" fill="none" stroke-width="2"/><path d="M0,120 Q50,70 100,120 T200,120" stroke="rgba(255,255,255,0.1)" fill="none" stroke-width="2"/></svg>') no-repeat center;
  background-size: contain;
  opacity: 0.8;
}

/* 관리자 버튼 스타일 */
.admin-sidebar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  color: #ffffff;
  text-decoration: none;
  font-family: 'Pretendard', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.admin-sidebar-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.admin-sidebar-btn:hover::before {
  left: 100%;
}

.admin-sidebar-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.admin-sidebar-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.admin-btn-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.admin-sidebar-btn:hover .admin-btn-icon {
  transform: rotate(5deg) scale(1.1);
}

.admin-btn-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
}

.admin-btn-text {
  flex: 1;
  text-align: center;
  white-space: nowrap;
}

/* 관리자 접근 안내 플로팅 팝업 */
.admin-access-popup {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.admin-access-popup.show {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.admin-popup-content {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border-radius: 24px;
  padding: 40px 32px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

.admin-access-popup.show .admin-popup-content {
  transform: scale(1) translateY(0);
}

.admin-popup-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 113, 227, 0.1);
  border-radius: 50%;
  color: #0071e3;
  animation: popupIconPulse 0.6s ease-out;
}

@keyframes popupIconPulse {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.admin-popup-icon svg {
  width: 48px;
  height: 48px;
  stroke: currentColor;
}

.admin-popup-title {
  font-size: 24px;
  font-weight: 700;
  color: #1d1d1f;
  margin: 0 0 12px 0;
  letter-spacing: -0.02em;
}

.admin-popup-message {
  font-size: 16px;
  color: #86868b;
  margin: 0 0 32px 0;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.admin-popup-buttons {
  display: flex;
  gap: 12px;
  width: 100%;
}

.admin-popup-btn {
  flex: 1;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 17px;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: -0.01em;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid transparent;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

.admin-popup-yes {
  background: rgba(0, 113, 227, 0.12);
  color: #0071e3;
  border-color: rgba(0, 113, 227, 0.2);
}

.admin-popup-yes:hover {
  background: rgba(0, 113, 227, 0.18);
  border-color: rgba(0, 113, 227, 0.3);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.15);
}

.admin-popup-yes:active {
  transform: translateY(0);
  background: rgba(0, 113, 227, 0.15);
}

.admin-popup-no {
  background: rgba(142, 142, 147, 0.08);
  color: #1d1d1f;
  border-color: rgba(142, 142, 147, 0.15);
}

.admin-popup-no:hover {
  background: rgba(142, 142, 147, 0.12);
  border-color: rgba(142, 142, 147, 0.25);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.admin-popup-no:active {
  transform: translateY(0);
  background: rgba(142, 142, 147, 0.1);
}

/* 모바일 반응형 - 관리자 버튼 */
@media (max-width: 768px) {
  .admin-sidebar-btn {
    padding: 12px 18px;
    font-size: 14px;
    border-radius: 12px;
  }
  
  .admin-btn-icon {
    width: 18px;
    height: 18px;
  }
  
  .sidebar-footer {
    padding-top: 16px;
    gap: 12px;
  }
  
  .decorative-shapes {
    height: 40px;
  }
  
  /* 모바일 팝업 스타일 */
  .admin-popup-content {
    padding: 32px 24px;
    border-radius: 20px;
    max-width: calc(100vw - 40px);
  }
  
  .admin-popup-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
  }
  
  .admin-popup-icon svg {
    width: 40px;
    height: 40px;
  }
  
  .admin-popup-title {
    font-size: 20px;
    margin-bottom: 10px;
  }
  
  .admin-popup-message {
    font-size: 15px;
    margin-bottom: 24px;
  }
  
  .admin-popup-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .admin-popup-btn {
    padding: 12px 24px;
    font-size: 16px;
  }
}

/* 태블릿 반응형 */
@media (min-width: 769px) and (max-width: 1024px) {
  .admin-sidebar-btn {
    padding: 13px 19px;
    font-size: 14.5px;
  }
}

/* 우측 메인 콘텐츠 */
.projects-main {
  flex: 1;
  padding: 40px 50px;
  background: #ffffff;
  overflow-y: auto;
}

.main-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e9ecef;
}

.header-content {
  flex: 1;
}

.main-title {
  font-size: 36px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 12px 0;
  letter-spacing: -0.03em;
  font-family: 'Pretendard', sans-serif;
}

.main-subtitle {
  font-size: 16px;
  color: #6c757d;
  margin: 0;
  line-height: 1.6;
  font-weight: 400;
}

.view-details-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #ffffff;
  border: 2px solid #667eea;
  border-radius: 30px;
  color: #667eea;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Pretendard', sans-serif;
  white-space: nowrap;
}

.view-details-btn:hover {
  background: #667eea;
  color: #ffffff;
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.view-details-btn i {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.view-details-btn:hover i {
  transform: translateX(4px);
}

/* 스토어 로고 버튼 스타일 */
.store-logo-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 0px;
  padding-right: 0px;
  padding-top: 0px;
  padding-bottom: 0px;
  background: #ffffff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Pretendard', sans-serif;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.store-logo-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.store-logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
}

.store-logo-image {
  width: auto;
  height: 40px;
  object-fit: contain;
  display: block;
}

.store-text {
  color: #8b5cf6;
  font-size: 18px;
  font-weight: 700;
  font-family: 'Pretendard', sans-serif;
  letter-spacing: -0.01em;
}

/* Coming Soon 풍선 효과 */
.store-logo-btn {
  position: relative;
}

.coming-soon-balloon {
  position: fixed;
  bottom: auto;
  left: 50%;
  top: auto;
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 10000;
  max-width: calc(100vw - 40px);
  width: auto;
}

.coming-soon-balloon.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.balloon-content {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
  padding: 16px 24px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(102, 126, 234, 0.4);
  white-space: nowrap;
  position: relative;
  font-family: 'Pretendard', sans-serif;
  min-width: 240px;
  max-width: 100%;
  text-align: center;
  box-sizing: border-box;
}

.balloon-text {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.balloon-subtext {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.9;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.balloon-arrow {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #667eea;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* 반응형 디자인 */
@media (max-width: 768px) {
  .coming-soon-balloon {
    position: fixed;
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(10px);
    max-width: calc(100vw - 32px);
    width: auto;
  }

  .coming-soon-balloon.show {
    transform: translateX(-50%) translateY(0);
  }

  .balloon-content {
    padding: 14px 20px;
    min-width: 200px;
    max-width: calc(100vw - 32px);
    white-space: normal;
    word-break: keep-all;
  }

  .balloon-text {
    font-size: 14px;
    line-height: 1.4;
  }

  .balloon-subtext {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .coming-soon-balloon {
    max-width: calc(100vw - 24px);
    left: 50%;
    right: auto;
  }

  .balloon-content {
    padding: 12px 18px;
    min-width: 180px;
    max-width: calc(100vw - 24px);
    border-radius: 12px;
  }

  .balloon-text {
    font-size: 13px;
  }

  .balloon-subtext {
    font-size: 10px;
  }
}

/* 제품 그리드 */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

/* 제품 카드 - 이미지 중심 디자인 */
.product-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #e9ecef;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  aspect-ratio: 1;
  min-height: 300px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  border-color: #667eea;
}

/* 이미지 래퍼 - 전체 카드 영역 채우기 */
.product-card-image-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.product-card-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.product-card:hover .product-card-main-image {
  transform: scale(1.1);
}

/* 오버레이 - 투명한 배경에 최소 정보 표시 */
.product-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.7) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  z-index: 2;
  transition: background 0.3s ease;
}

.product-card:hover .product-card-overlay {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.8) 100%
  );
}

/* 배지 - 상단 우측 */
.product-card-badge {
  align-self: flex-end;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  color: #667eea;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  margin-bottom: auto;
}

/* 정보 영역 - 하단 */
.product-card-info {
  margin-top: auto;
  padding: 16px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px 0;
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-family: 'Pretendard', sans-serif;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.product-card-description {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  line-height: 1.5;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 이미지 클릭 링크 - 전체 영역 커버 */
.product-card-image-link {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: block;
  text-indent: -9999px;
  overflow: hidden;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* 터치 피드백 */
.product-card:active {
  transform: translateY(-4px) scale(0.98);
}

.product-card:active .product-card-main-image {
  transform: scale(1.05);
}

/* 기존 스타일 제거 (더 이상 사용하지 않음) */
.product-card-content,
.product-card-icon,
.product-card-footer,
.product-card-link {
  display: none;
}

/* 반응형 디자인 */
@media (max-width: 1200px) {
  .projects-sidebar {
    width: 280px;
    min-width: 280px;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
  }
}

@media (max-width: 992px) {
  .projects-container {
    flex-direction: column;
  }
  
  .projects-sidebar {
    width: 100%;
    min-width: 100%;
    padding: 30px 20px;
  }
  
  .category-menu {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  
  .category-menu::-webkit-scrollbar {
    display: none;
  }
  
  .category-menu li {
    margin-bottom: 0;
    flex-shrink: 0;
  }
  
  .category-menu-item {
    flex-direction: column;
    gap: 8px;
    padding: 12px 16px;
    min-width: 120px;
    text-align: center;
  }
  
  .category-menu-item::before {
    display: none;
  }
  
  .category-menu-item.active::before {
    display: block;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 60%;
    height: 4px;
    border-radius: 0 0 4px 4px;
  }
  
  .category-icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
  
  .category-name {
    font-size: 13px;
  }
  
  .projects-main {
    padding: 30px 24px;
  }
  
  .main-header {
    flex-direction: column;
    gap: 20px;
  }
  
  .view-details-btn {
    align-self: flex-start;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .projects-sidebar {
    padding: 24px 16px;
  }
  
  .sidebar-header h2 {
    font-size: 24px;
  }
  
  .sidebar-header p {
    font-size: 13px;
  }
  
  .category-menu-item {
    min-width: 100px;
    padding: 10px 12px;
  }
  
  .category-icon {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
  
  .category-name {
    font-size: 12px;
  }
  
  .projects-main {
    padding: 24px 16px;
  }
  
  .main-title {
    font-size: 28px;
  }
  
  .main-subtitle {
    font-size: 14px;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .product-card {
    min-height: 250px;
    aspect-ratio: 1;
  }
  
  .product-card-title {
    font-size: 16px;
  }
  
  .product-card-description {
    font-size: 12px;
  }
}

@media (max-width: 576px) {
  .category-menu-item {
    min-width: 90px;
    padding: 8px 10px;
  }
  
  .category-name {
    font-size: 11px;
  }
  
  .main-title {
    font-size: 24px;
  }
  
  .product-card {
    min-height: 200px;
  }
  
  .product-card-overlay {
    padding: 12px;
  }
  
  .product-card-info {
    padding: 12px;
  }
  
  .product-card-title {
    font-size: 15px;
  }
  
  .product-card-description {
    font-size: 11px;
  }
  
  .product-card-badge {
    font-size: 10px;
    padding: 4px 10px;
  }
}

/* 필터링 애니메이션 */
.product-card {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

.product-card.visible {
  opacity: 1;
}

.product-card.hidden {
  display: none;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 로딩 상태 */
.products-grid.loading {
  opacity: 0.5;
  pointer-events: none;
}

/* 빈 상태 */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: #6c757d;
}

.empty-state-icon {
  font-size: 64px;
  margin-bottom: 20px;
  opacity: 0.5;
}

.empty-state-title {
  font-size: 24px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 12px;
}

.empty-state-text {
  font-size: 16px;
  color: #6c757d;
}

/* GLightbox Clean 스타일 - 전면 수정 */
.glightbox-container.glightbox-clean {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

/* 컨테이너 정렬 */
.glightbox-container.glightbox-clean .ginner-container.desc-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 20px;
  gap: 0;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

/* 이미지 영역 - 라운드 처리 */
.glightbox-container.glightbox-clean .gslide-media.gslide-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
  margin: 0 auto;
  width: 100%;
  max-width: 90vw;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.glightbox-container.glightbox-clean .gslide-media.gslide-image img {
  border-radius: 20px;
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  margin: 0 auto;
}

/* 설명 영역 - 투명 배경 */
.glightbox-container.glightbox-clean .gslide-description.description-bottom {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 24px 32px;
  margin: 20px auto 0;
  border-radius: 0;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  max-width: 90vw;
  width: 100%;
  text-align: left;
}

/* 제목 스타일 */
.glightbox-container.glightbox-clean .gslide-title {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 12px 0;
  letter-spacing: -0.02em;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  line-height: 1.4;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  text-align: left;
}

/* 설명 텍스트 스타일 */
.glightbox-container.glightbox-clean .gslide-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  line-height: 1.7;
  font-weight: 400;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.glightbox-container.glightbox-clean .gslide-desc p {
  margin-bottom: 10px;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

.glightbox-container.glightbox-clean .gslide-desc p:last-child {
  margin-bottom: 0;
}

.glightbox-container.glightbox-clean .gdesc-inner {
  padding: 0;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
  .glightbox-container.glightbox-clean .ginner-container.desc-bottom {
    padding: 16px 16px 100px;
    gap: 0;
    height: 100vh;
    justify-content: center;
    overflow-y: auto;
    box-sizing: border-box;
  }
  
  .glightbox-container.glightbox-clean .gslide-media.gslide-image {
    border-radius: 16px;
    max-width: 100%;
    max-height: calc(100vh - 280px);
    width: 100%;
    flex-shrink: 0;
  }
  
  .glightbox-container.glightbox-clean .gslide-media.gslide-image img {
    border-radius: 16px;
    max-width: 100%;
    max-height: calc(100vh - 280px);
    width: auto;
    height: auto;
    object-fit: contain;
  }
  
  .glightbox-container.glightbox-clean .gslide-description.description-bottom {
    padding: 20px 24px;
    margin: 16px auto 0;
    max-width: 100%;
    width: 100%;
    text-align: left;
    padding-bottom: 80px;
    flex-shrink: 0;
  }
  
  .glightbox-container.glightbox-clean .gslide-title {
    font-size: 18px;
    margin-bottom: 8px;
    text-align: left;
  }
  
  .glightbox-container.glightbox-clean .gslide-desc {
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
  }
}

/* 태블릿 반응형 */
@media (min-width: 769px) and (max-width: 1024px) {
  .glightbox-container.glightbox-clean .ginner-container.desc-bottom {
    max-width: 85vw;
    padding: 24px;
  }
  
  .glightbox-container.glightbox-clean .gslide-media.gslide-image {
    max-width: 85vw;
    border-radius: 18px;
  }
  
  .glightbox-container.glightbox-clean .gslide-media.gslide-image img {
    border-radius: 18px;
    max-height: 80vh;
  }
  
  .glightbox-container.glightbox-clean .gslide-description.description-bottom {
    max-width: 85vw;
    padding: 24px 32px;
  }
  
  .glightbox-container.glightbox-clean .gslide-title {
    font-size: 20px;
  }
  
  .glightbox-container.glightbox-clean .gslide-desc {
    font-size: 15px;
  }
}

/* 데스크톱 반응형 */
@media (min-width: 1025px) {
  .glightbox-container.glightbox-clean .ginner-container.desc-bottom {
    max-width: 90vw;
    padding: 40px 20px;
  }
  
  .glightbox-container.glightbox-clean .gslide-media.gslide-image {
    max-width: 85vw;
    border-radius: 24px;
    box-shadow: 0 16px 64px rgba(0, 0, 0, 0.5);
  }
  
  .glightbox-container.glightbox-clean .gslide-media.gslide-image img {
    border-radius: 24px;
    max-height: 85vh;
  }
  
  .glightbox-container.glightbox-clean .gslide-description.description-bottom {
    max-width: 85vw;
    padding: 32px 48px;
    margin: 24px auto 0;
  }
  
  .glightbox-container.glightbox-clean .gslide-title {
    font-size: 24px;
    margin-bottom: 12px;
  }
  
  .glightbox-container.glightbox-clean .gslide-desc {
    font-size: 16px;
    line-height: 1.8;
  }
}

/* 슬라이더 정렬 개선 */
.glightbox-container.glightbox-clean .gslider {
  display: flex;
  align-items: center;
  justify-content: center;
}

.glightbox-container.glightbox-clean .gslide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.glightbox-container.glightbox-clean .gslide-inner-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
