/**
 * Category Feature Styles
 * 
 * Styles for product category grids and displays
 * Uses common variables and mixins for consistency
 */
/**
 * 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
 */
/**
 * Main Category Grid
 * Horizontal scrolling category showcase
 */
.ca-main-cat-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.75rem;
  overflow-x: auto;
  overflow-y: hidden;
  margin-top: 0.75rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}
.ca-main-cat-grid::-webkit-scrollbar {
  display: none;
}
.ca-main-cat-grid-div {
  width: calc(100% / 7 - (0.75rem * 6 / 7));
  flex-shrink: 0;
  aspect-ratio: 1;
  position: relative;
  transition: box-shadow 0.2s ease-in-out;
  overflow: hidden;
  border-radius: 0.5rem;
}
@supports not (aspect-ratio: 1) {
  .ca-main-cat-grid-div {
    position: relative;
  }
  .ca-main-cat-grid-div::before {
    content: "";
    display: block;
    padding-bottom: 100%;
  }
  .ca-main-cat-grid-div > * {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}
@media (max-width: 1200px) {
  .ca-main-cat-grid-div {
    width: calc(100% / 6 - (0.75rem * 5 / 6));
  }
}
@media (max-width: 992px) {
  .ca-main-cat-grid-div {
    width: calc(100% / 5 - (0.75rem * 4 / 5));
  }
}
@media (max-width: 768px) {
  .ca-main-cat-grid-div {
    width: calc((100% - 2.5rem) / 4.5);
  }
}
@media (max-width: 480px) {
  .ca-main-cat-grid-div {
    width: calc((100% - 2rem) / 3.5);
  }
}
.ca-main-cat-grid-div:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.ca-main-cat-grid-div-image {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  object-fit: contain;
  padding: 8%;
  z-index: 3;
}
.ca-main-cat-grid-div-title {
  position: absolute;
  left: 0.5rem;
  top: 0.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #333333;
  z-index: 3;
}
.ca-main-cat-grid-shape {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0.75rem;
}
.ca-main-cat-grid-shape svg {
  width: 100%;
  height: 100%;
}
.ca-main-cat-grid-background {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: -1;
}
/**
 * Product Category Grid
 * Used on category archive pages
 */
.ca-product-category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
@media (max-width: 992px) {
  .ca-product-category-grid {
    grid-template-columns: repeat(max(2, 3), 1fr);
  }
}
@media (max-width: 768px) {
  .ca-product-category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: calc($gap * 0.75);
  }
}
@media (max-width: 480px) {
  .ca-product-category-grid {
    grid-template-columns: 1fr;
    gap: calc($gap * 0.5);
  }
}
@media (max-width: 992px) {
  .ca-product-category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}
@media (max-width: 992px) and (max-width: 992px) {
  .ca-product-category-grid {
    grid-template-columns: repeat(max(2, 2), 1fr);
  }
}
@media (max-width: 992px) and (max-width: 768px) {
  .ca-product-category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: calc($gap * 0.75);
  }
}
@media (max-width: 992px) and (max-width: 480px) {
  .ca-product-category-grid {
    grid-template-columns: 1fr;
    gap: calc($gap * 0.5);
  }
}
@media (max-width: 768px) {
  .ca-product-category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}
@media (max-width: 768px) and (max-width: 992px) {
  .ca-product-category-grid {
    grid-template-columns: repeat(max(2, 1), 1fr);
  }
}
@media (max-width: 768px) and (max-width: 768px) {
  .ca-product-category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: calc($gap * 0.75);
  }
}
@media (max-width: 768px) and (max-width: 480px) {
  .ca-product-category-grid {
    grid-template-columns: 1fr;
    gap: calc($gap * 0.5);
  }
}
@media (max-width: 480px) {
  .ca-product-category-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 0.75rem;
  }
}
@media (max-width: 480px) and (max-width: 992px) {
  .ca-product-category-grid {
    grid-template-columns: repeat(max(2, 0), 1fr);
  }
}
@media (max-width: 480px) and (max-width: 768px) {
  .ca-product-category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: calc($gap * 0.75);
  }
}
@media (max-width: 480px) and (max-width: 480px) {
  .ca-product-category-grid {
    grid-template-columns: 1fr;
    gap: calc($gap * 0.5);
  }
}
/**
 * Product Category Item Card
 */
.ca-product-category-item {
  background-color: #ffffff;
  border-radius: 0.5rem;
  overflow: hidden;
  transition: box-shadow 0.2s ease-in-out, transform 0.2s ease-in-out;
  overflow: hidden;
}
.ca-product-category-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}
.ca-product-category-item-image-wrapper {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
}
@supports not (aspect-ratio: 1) {
  .ca-product-category-item-image-wrapper {
    position: relative;
  }
  .ca-product-category-item-image-wrapper::before {
    content: "";
    display: block;
    padding-bottom: 100%;
  }
  .ca-product-category-item-image-wrapper > * {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}
.ca-product-category-item-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease-in-out;
}
.ca-product-category-item-image:hover {
  transform: scale(1.05);
}
.ca-product-category-item-content {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  gap: 0.75rem;
}
.ca-product-category-item-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
}
.ca-product-category-item-title a {
  color: #333333;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}
.ca-product-category-item-title a:hover {
  color: #222222;
}
/**
 * Child Category List
 */
.ca-product-category-child-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.ca-product-category-child-item {
  position: relative;
  padding-left: 1rem;
}
.ca-product-category-child-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0.25rem;
  height: 0.25rem;
  background-color: #999999;
  border-radius: 9999px;
}
.ca-product-category-child-link {
  color: #666666;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease-in-out;
}
.ca-product-category-child-link:hover {
  color: #333333;
}
/**
 * View All Link
 */
.ca-product-category-view-all-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 500;
  line-height: 1.5;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  text-decoration: none;
  color: #333333;
  background-color: transparent;
  border-color: currentColor;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  border-radius: 0.25rem;
  margin-top: auto;
  width: 100%;
  text-align: center;
}
.ca-product-category-view-all-link:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.ca-product-category-view-all-link:hover:not(:disabled) {
  background-color: rgba(51, 51, 51, 0.1);
}
/**
 * Category Sections Wrapper
 * For section-style category display
 */
.ca-product-category-sections-wrapper {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.ca-product-category-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.ca-product-category-section-title a {
  color: #333333;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}
.ca-product-category-section-title a:hover {
  color: #222222;
}
/**
 * Category Breadcrumb
 */
.ca-product-category-breadcrumb {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-size: 0.875rem;
  color: #666666;
}
@media (max-width: 768px) {
  .ca-product-category-breadcrumb {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}
.ca-product-category-breadcrumb a {
  color: #666666;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}
.ca-product-category-breadcrumb a:hover {
  color: #333333;
}
.ca-product-category-breadcrumb span {
  color: #333333;
  font-weight: 500;
}
