/**
 * 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
 */
/**
 * Estimate Table Layout
 * Fixed layout table with customizable column widths
 * Supports responsive design
 */
/**
 * Main Category Grid
 * Horizontal scrolling category showcase
 */
.ca-main-cat-grid {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  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;
  overscroll-behavior-x: contain;
}
.ca-main-cat-grid::-webkit-scrollbar {
  display: none;
}
.ca-main-cat-grid-div {
  width: calc(100% / 7 - (0.75rem * 6 / 7));
  flex-shrink: 0;
  min-width: 0;
  box-sizing: border-box;
  height: auto;
  aspect-ratio: 1;
  position: relative;
  transition: box-shadow 0.2s ease-in-out;
  overflow: hidden;
  border-radius: 0;
}
@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;
  display: block;
  width: 82%;
  height: 68%;
  left: 50%;
  top: 58%;
  transform: translate(-50%, -50%);
  object-fit: contain;
  padding: 0;
  box-sizing: border-box;
  pointer-events: none;
  z-index: 3;
}
.ca-main-cat-grid-div-title {
  width: auto;
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  top: 0.5rem;
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
  color: #333333;
  z-index: 3;
}
.ca-main-cat-grid-shape {
  position: absolute;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  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%;
  max-width: 100%;
  box-sizing: border-box;
  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 2rem;
  align-items: stretch;
}
@media (max-width: 992px) {
  .ca-product-category-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}
@media (max-width: 768px) {
  .ca-product-category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}
@media (max-width: 480px) {
  .ca-product-category-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}
/**
 * Product Category Item Card
 */
.ca-product-category-item {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  position: relative;
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, transform 0.2s ease-in-out;
}
.ca-product-category-item:hover {
  border-color: rgba(0, 0, 0, 0.18);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}
.ca-product-category-item-image-wrapper {
  aspect-ratio: 1;
  background: linear-gradient(180deg, #f7f5f1 0%, #ece8e1 100%);
  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-wrapper a {
  display: block;
  width: 100%;
  height: 100%;
}
.ca-product-category-item-image-wrapper a:focus-visible {
  outline: 2px solid #333333;
  outline-offset: -4px;
}
.ca-product-category-item-image-wrapper::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 34%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.08) 100%);
  pointer-events: none;
}
.ca-product-category-item-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease-in-out;
}
.ca-product-category-item:hover .ca-product-category-item-image {
  transform: scale(1.04);
}
.ca-product-category-item-content {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #ffffff 0%, #f8f6f1 100%);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  color: #111111;
  flex: 1 1 auto;
  gap: 1rem;
  min-height: 176px;
  padding: 1.25rem;
  position: relative;
}
.ca-product-category-item-content::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: var(--ca-product-category-color, #5b8299cc);
}
.ca-product-category-item-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}
.ca-product-category-item-title a {
  color: #111111;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}
.ca-product-category-item-title a:hover {
  color: #000000;
}
.ca-product-category-item-title a:focus-visible {
  outline: 2px solid #333333;
  outline-offset: 3px;
}
/**
 * Child Category List
 */
.ca-product-category-child-list {
  display: grid;
  gap: 0.5rem 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (max-width: 480px) {
  .ca-product-category-child-list {
    grid-template-columns: 1fr;
  }
}
.ca-product-category-child-item {
  position: relative;
  padding-left: 0.75rem;
}
.ca-product-category-child-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  transform: translateY(-50%);
  width: 0.25rem;
  height: 0.25rem;
  background-color: var(--ca-product-category-color, #5b8299cc);
  border-radius: 9999px;
}
.ca-product-category-child-link {
  color: #333333;
  display: inline-block;
  text-decoration: none;
  font-size: 0.875rem;
  line-height: 1.5;
  transition: color 0.2s ease-in-out;
}
.ca-product-category-child-link:hover {
  color: #000000;
}
.ca-product-category-child-link:focus-visible {
  outline: 2px solid #333333;
  outline-offset: 2px;
}
/**
 * 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;
  align-self: flex-start;
  background-color: #111111;
  border-color: #111111;
  border-radius: 0;
  color: #ffffff;
  font-size: 0.875rem;
  gap: 0.5rem;
  min-height: 32px;
  margin-top: auto;
  padding: 0.25rem 1rem;
  text-align: left;
}
.ca-product-category-view-all-link:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.ca-product-category-view-all-link::after {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.ca-product-category-view-all-link:hover {
  background-color: #000000;
  border-color: #000000;
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.ca-product-category-view-all-link:focus-visible {
  outline: 2px solid #333333;
  outline-offset: 3px;
}
/**
 * Category Sections Wrapper
 * For section-style category display
 */
.ca-product-category-sections-wrapper {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  gap: 4rem;
  margin: 2rem auto 4rem;
  max-width: 1360px;
}
@media (max-width: 768px) {
  .ca-product-category-sections-wrapper {
    margin-top: 1.25rem;
  }
}
.ca-product-category-section-title {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  font-size: 1.875rem;
  font-weight: 700;
  gap: 0.75rem;
  line-height: 1.2;
  margin: 0 0 2rem;
}
.ca-product-category-section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  background-color: #111111;
}
.ca-product-category-section-title a {
  color: #111111;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}
.ca-product-category-section-title a:hover {
  color: #000000;
}
.ca-product-category-section-title a:focus-visible {
  outline: 2px solid #333333;
  outline-offset: 4px;
}
@media (max-width: 768px) {
  .ca-product-category-section-title {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
  }
}
.ca-product-category-grid--archive {
  box-sizing: border-box;
  margin: 2rem auto 4rem;
  max-width: 1360px;
}
@media (max-width: 768px) {
  .ca-product-category-grid--archive {
    margin-top: 1.25rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ca-product-category-item, .ca-product-category-item-image, .ca-product-category-view-all-link {
    transition: none;
  }
  .ca-product-category-item:hover, .ca-product-category-item:hover .ca-product-category-item-image {
    transform: none;
  }
}
