/**
 * Brand Styles
 * Implements brand filtering and display functionality
 */
/**
 * 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
 */
.ca-brand-filter-cat-container {
  margin-bottom: 2rem;
}
.ca-brand-filter-cat-box {
  margin-bottom: 2rem;
}
.ca-brand-filter-cat-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid #d9d9d9;
}
.ca-brand-filter-cat-category-list {
  padding: 0;
  margin: 0;
}
.ca-brand-filter-cat-item {
  margin-bottom: 0.25rem;
}
.ca-brand-filter-cat-subcategory-item {
  margin-bottom: 0.25rem;
  margin-left: 1.25rem;
}
.ca-brand-filter-cat-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.ca-brand-filter-cat-category-link {
  cursor: pointer;
  flex-grow: 1;
  font-size: 0.875rem;
  color: #333333;
  transition: color 0.2s ease-in-out;
}
.ca-brand-filter-cat-category-link:hover {
  color: #333333;
}
.ca-brand-filter-cat-item.active > .ca-brand-filter-cat-category-header > .ca-brand-filter-cat-category-link, .ca-brand-filter-cat-subcategory-item.active > .ca-brand-filter-cat-category-header > .ca-brand-filter-cat-category-link {
  font-weight: 700;
  color: #333333;
}
.ca-brand-filter-cat-category-count {
  font-size: 0.75rem;
  color: #999999;
  margin-left: 0.25rem;
}
.ca-brand-filter-cat-category-toggle {
  cursor: pointer;
  margin-left: 0.25rem;
  font-size: 1rem;
  transition: transform 0.2s ease-in-out;
  user-select: none;
}
.ca-brand-filter-cat-category-toggle-open {
  transform: rotate(-180deg);
}
.ca-brand-filter-cat-category-submenu {
  display: none;
  padding-left: 1rem;
  transition: all 0.2s ease-in-out;
}
.ca-brand-filter-cat-item.active > .ca-brand-filter-cat-category-header > .ca-brand-filter-cat-category-toggle {
  transform: rotate(-180deg);
}
#ca-brand-filter-buttons.ca-brand-filter-box {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.ca-brand-filter-box {
  margin-bottom: 1.25rem;
  display: flex;
  width: 100%;
  gap: 1.25rem;
  overflow-x: auto;
  padding: 0.75rem 0;
}
.ca-brand-filter-box::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.ca-brand-filter-box::-webkit-scrollbar-track {
  background: #f6f6f6;
}
.ca-brand-filter-box::-webkit-scrollbar-thumb {
  background: #d9d9d9;
  border-radius: 9999px;
}
.ca-brand-filter-box::-webkit-scrollbar-thumb:hover {
  background: silver;
}
.ca-brand-filter-btn {
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  font-size: 1.5rem;
  font-weight: 700;
  transition: opacity 0.2s ease-in-out;
  display: flex;
  flex-direction: row;
  gap: 0.25rem;
}
.ca-brand-filter-btn:hover {
  opacity: 0.8;
}
.ca-brand-filter-btn-active {
  font-weight: 700;
  color: #333333;
}
.ca-brand-filter-count {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  color: #ffffff;
  background-color: #999999;
  border-radius: 9999px;
  font-size: 0.6rem;
  font-weight: 300;
  display: none;
}
.ca-brand-filter-letter-heading {
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid #d9d9d9;
  font-size: 1.125rem;
  font-weight: 600;
}
.ca-brand-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}
@media (max-width: 992px) {
  .ca-brand-grid {
    grid-template-columns: repeat(max(2, 5), 1fr);
  }
}
@media (max-width: 768px) {
  .ca-brand-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: calc($gap * 0.75);
  }
}
@media (max-width: 480px) {
  .ca-brand-grid {
    grid-template-columns: 1fr;
    gap: calc($gap * 0.5);
  }
}
.ca-brand-card {
  background-color: #ffffff;
  border-radius: 0.5rem;
  overflow: hidden;
  transition: box-shadow 0.2s ease-in-out, transform 0.2s ease-in-out;
  display: inline-block;
  text-align: center;
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}
.ca-brand-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}
@supports not (aspect-ratio: 1) {
  .ca-brand-card {
    position: relative;
  }
  .ca-brand-card::before {
    content: "";
    display: block;
    padding-bottom: 100%;
  }
  .ca-brand-card > * {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}
.ca-brand-card-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  text-decoration: none;
  position: relative;
  width: 100%;
  height: 100%;
}
.ca-brand-card-link:hover, .ca-brand-card-link:focus {
  color: inherit;
  text-decoration: none;
}
.ca-brand-card-img {
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  position: absolute;
  top: 0;
  left: 0;
}
.ca-brand-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 0.2s ease-in-out;
}
.ca-brand-card:hover .ca-brand-card-overlay {
  background-color: rgba(0, 0, 0, 0.4);
}
.ca-brand-card-title {
  color: #ffffff;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
  z-index: 1;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  position: absolute;
  padding: 0.25rem;
}
.ca-brand-card:hover .ca-brand-card-title {
  opacity: 1;
}
