@charset "UTF-8";
/**
 * 카탈로그 뷰어 스타일
 */
/**
 * Global SCSS Variables
 * 
 * Implements the design system from STYLE.md
 * All design tokens are centralized here
 */
/**
 * Global SCSS Mixins
 * 
 * Reusable mixins for consistent styling patterns
 * Import variables before using these mixins
 */
/**
 * Responsive Breakpoints
 * Mobile-first approach
 */
/**
 * Button Base
 * Standard button styling foundation
 */
/**
 * Button Variants
 */
/**
 * Button Sizes
 */
/**
 * Card Component
 */
/**
 * Form Controls
 */
/**
 * Flexbox Utilities
 */
/**
 * Grid Layout
 */
/**
 * Text Utilities
 */
/**
 * Spacing Utilities
 */
/**
 * Visual Effects
 */
@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
/**
 * Accessibility
 */
/**
 * Enhanced Grid System
 * Flexible grid system with responsive behavior
 */
/**
 * Card Component Enhancement
 * Consistent card styling across all pages
 */
/**
 * Overlay Pattern
 * For image overlays with gradient
 */
/**
 * Button Variations
 * Extended button styles for consistency
 */
/**
 * Form Control Variations
 * Additional form patterns
 */
/**
 * Loading States
 * Consistent loading patterns
 */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/**
 * Responsive Typography
 * Fluid type sizing
 */
/**
 * Aspect Ratio
 * Maintain aspect ratios for media
 */
/**
 * Container Query Support
 * Progressive enhancement for container queries
 */
/**
 * Dark Mode Support
 * Prepare for future dark mode implementation
 */
/**
 * Banner Base Mixin
 * Consistent banner foundation
 */
/**
 * Banner Image Mixin
 * Consistent image styling
 */
/**
 * Responsive Banner Mixin
 * Handles aspect ratio changes
 */
/**
 * Banner Loading State
 * Shows loading skeleton
 */
/**
 * Banner Error State
 * Shows error state
 */
/**
 * Product Card Base
 * Consistent product card styling
 */
/**
 * Product Image Container
 * Maintains aspect ratio for product images
 */
/**
 * Price Display
 * Consistent price formatting
 */
/**
 * Sale Price
 * Styling for discounted prices
 */
/**
 * Form Group
 * Consistent form field grouping
 */
/**
 * Table Base
 * Consistent table styling
 */
/**
 * Badge
 * Small label components
 */
/**
 * Modal Base
 * Consistent modal styling
 */
/**
 * Smooth Scroll
 * Enable smooth scrolling behavior
 */
/**
 * Custom Scrollbar
 * Styled scrollbar for webkit browsers
 */
/**
 * Tab List
 * Horizontal tab navigation
 */
/**
 * Tab Item
 * Individual tab styling
 */
/**
 * Pagination
 * Page navigation styling
 */
/**
 * Responsive Image
 * Optimized image loading with placeholder
 */
/**
 * Sticky Position
 * Cross-browser sticky positioning
 */
/**
 * Visually Hidden
 * Hide element visually but keep accessible
 */
/**
 * Reset List
 * Remove default list styling
 */
/**
 * Reset Button
 * Remove default button styling
 */
/**
 * Link Reset
 * Remove default link styling
 */
/**
 * Estimate Table Layout
 * Fixed layout table with customizable column widths
 * Supports responsive design
 */
.ca-catalogue-viewer {
  max-width: 1400px;
  margin: 2rem auto;
  padding: 1rem;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.ca-catalogue-viewer__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #eeeeee;
}
.ca-catalogue-viewer__header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #333333;
}
.ca-catalogue-viewer__date {
  font-size: 1rem;
  color: #666666;
  font-weight: 500;
}
.ca-catalogue-viewer__content {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
@media (max-width: 768px) {
  .ca-catalogue-viewer__content {
    flex-direction: column;
  }
}
.ca-catalogue-viewer__sidebar {
  width: 260px;
  flex-shrink: 0;
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 0.625rem;
  padding: 1rem;
  position: sticky;
  top: 20px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}
@media (max-width: 768px) {
  .ca-catalogue-viewer__sidebar {
    width: 100%;
    position: static;
    max-height: none;
  }
}
.ca-catalogue-viewer__sidebar h3 {
  margin: 0 0 1rem 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #333333;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #eeeeee;
}
.ca-catalogue-viewer__preview {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 0.625rem;
  overflow: visible;
}
.ca-catalogue-viewer__preview .preview-header {
  flex-shrink: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #eeeeee;
  background: #f6f6f6;
}
@media (max-width: 768px) {
  .ca-catalogue-viewer__preview .preview-header {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
}
.ca-catalogue-viewer__preview .preview-header h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #333333;
}
.ca-catalogue-viewer__preview .preview-header .preview-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
@media (max-width: 768px) {
  .ca-catalogue-viewer__preview .preview-header .preview-actions {
    justify-content: space-between;
    width: 100%;
  }
}
.ca-catalogue-viewer__preview .preview-header .zoom-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-right: 0.75rem;
  border-right: 1px solid #d9d9d9;
}
@media (max-width: 768px) {
  .ca-catalogue-viewer__preview .preview-header .zoom-controls {
    border-right: none;
  }
}
.ca-catalogue-viewer__preview .preview-header .zoom-controls #ca-cat-zoom-level {
  min-width: 50px;
  text-align: center;
  font-size: 0.875rem;
  color: #666666;
}
.ca-catalogue-viewer__preview .preview-header .zoom-controls .zoom-btn {
  width: 32px;
  height: 32px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 700;
  background: #ffffff;
  color: #333333;
  border: 1px solid #d9d9d9;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.ca-catalogue-viewer__preview .preview-header .zoom-controls .zoom-btn:hover:not(:disabled) {
  background: #f6f6f6;
  border-color: #333333;
}
.ca-catalogue-viewer__preview .preview-header .zoom-controls .zoom-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.ca-catalogue-viewer__preview .preview-header .download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: #333333;
  color: #ffffff;
  border: none;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}
.ca-catalogue-viewer__preview .preview-header .download-btn:hover {
  background: #222222;
  color: #ffffff;
}
.ca-catalogue-viewer__preview .preview-header .download-btn svg {
  width: 16px;
  height: 16px;
}
.ca-catalogue-viewer__preview .pdf-container {
  position: relative;
  background: #f6f6f6;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem;
  min-height: 600px;
  gap: 0.25rem;
}
.ca-catalogue-viewer__preview .pdf-container .pdf-page {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}
.ca-catalogue-viewer__preview .pdf-container .pdf-loading, .ca-catalogue-viewer__preview .pdf-container .pdf-error {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
}
.ca-catalogue-viewer__preview .pdf-container .pdf-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.ca-catalogue-viewer__preview .pdf-container .pdf-loading::before {
  content: "";
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 2px solid #eeeeee;
  border-top-color: #333333;
  border-radius: 9999px;
  animation: spin 0.8s linear infinite;
}
.ca-catalogue-viewer__preview .pdf-container .pdf-loading p {
  margin: 0;
  color: #666666;
  font-size: 0.875rem;
}
.ca-catalogue-viewer__preview .pdf-container .pdf-error p {
  margin: 0;
  color: #dc3545;
  font-size: 1rem;
  font-weight: 500;
}
/* TOC 목차 */
.ca-cat-toc {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ca-cat-toc__loading {
  padding: 0.75rem;
  color: #666666;
  font-size: 0.875rem;
  text-align: center;
}
.ca-cat-toc__item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.25rem;
  border-left: 3px solid transparent;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.ca-cat-toc__item:hover {
  background: #f6f6f6;
  border-left-color: #b794d1;
}
.ca-cat-toc__item.active {
  background: #f8f0ff;
  border-left-color: #b794d1;
}
.ca-cat-toc__item.active .ca-cat-toc__title {
  font-weight: 600;
  color: #333333;
}
.ca-cat-toc__item--sub {
  padding-left: 1.5rem;
  font-size: 0.875rem;
}
.ca-cat-toc__title {
  flex: 1;
  font-size: 0.875rem;
  color: #333333;
  font-weight: 500;
  line-height: 1.5;
}
.ca-cat-toc__page {
  flex-shrink: 0;
  font-size: 0.75rem;
  color: #999999;
  font-weight: 400;
  min-width: 24px;
  text-align: right;
}
.ca-cat-toc__sub {
  list-style: none;
  margin: 0.25rem 0 0 0;
  padding: 0;
}
/* 에러 메시지 */
.ca-catalogue-viewer-error {
  max-width: 600px;
  margin: 2rem auto;
  padding: 1.5rem;
  text-align: center;
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 0.625rem;
}
.ca-catalogue-viewer-error .error-icon {
  margin-bottom: 1rem;
}
.ca-catalogue-viewer-error .error-icon svg {
  width: 60px;
  height: 60px;
}
.ca-catalogue-viewer-error h2 {
  margin: 0 0 0.75rem 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #333333;
}
.ca-catalogue-viewer-error .error-message {
  margin: 0;
  font-size: 1rem;
  color: #666666;
  line-height: 1.6;
}
