/**
 * SlimKozijn Category Page Styles
 * Advanced UX for product category pages
 * 2026 Mobile-first, consistent typography, clean aesthetics
 * Enhanced with modern design patterns and micro-interactions
 */

/* ===== CSS CUSTOM PROPERTIES FOR CATEGORY PAGES ===== */
:root {
  --category-hero-gradient: linear-gradient(135deg, var(--bg) 0%, color-mix(in srgb, var(--soft) 80%, var(--cta)) 50%, var(--soft) 100%);
  --glass-bg: color-mix(in srgb, var(--card) 85%, transparent);
  --glass-border: color-mix(in srgb, var(--stroke) 60%, transparent);
  --hover-lift: -6px;
  --card-shadow-hover: 0 20px 40px -12px color-mix(in srgb, var(--heading) 15%, transparent);
}

/* ===== HERO SECTION ===== */
.category-hero {
  position: relative;
  /* Account for fixed header + some breathing room */
  padding: calc(var(--header-height, 72px) + var(--space-lg)) 0 var(--space-xl);
  background: var(--category-hero-gradient);
  overflow: hidden;
  border-bottom: 1px solid var(--stroke);
  isolation: isolate;
}

/* Animated gradient background */
.category-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 70%;
  height: 100%;
  background: 
    radial-gradient(ellipse 80% 60% at 80% 20%, color-mix(in srgb, var(--cta) 12%, transparent) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 90% 80%, color-mix(in srgb, var(--link) 8%, transparent) 0%, transparent 50%);
  opacity: 0.8;
  pointer-events: none;
  animation: heroGradientShift 15s ease-in-out infinite alternate;
}

/* Decorative mesh pattern */
.category-hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  inset: 0;
  background-image: 
    radial-gradient(circle at 25% 25%, color-mix(in srgb, var(--cta) 4%, transparent) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, color-mix(in srgb, var(--link) 3%, transparent) 0%, transparent 50%);
  background-size: 60px 60px;
  opacity: 0.5;
  pointer-events: none;
  z-index: -1;
}

@keyframes heroGradientShift {
  0% { transform: translateX(0) scale(1); opacity: 0.8; }
  100% { transform: translateX(-5%) scale(1.05); opacity: 0.6; }
}

.category-hero__content {
  position: relative;
  z-index: var(--z-base);
  max-width: 800px;
}

.category-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 6px var(--space-md);
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--cta);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: var(--radius-pill);
  border: 1px solid var(--glass-border);
  margin-bottom: var(--space-md);
  animation: fadeInUp 0.6s var(--ease-out);
  box-shadow: 0 2px 12px color-mix(in srgb, var(--cta) 10%, transparent);
}

.category-hero__badge svg {
  width: 14px;
  height: 14px;
}

.category-hero__title {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 var(--space-md);
  color: var(--heading);
  letter-spacing: -0.02em;
  animation: fadeInUp 0.6s var(--ease-out) 0.1s both;
}

/* Title gradient effect on hover */
.category-hero__title span {
  background: linear-gradient(135deg, var(--heading) 0%, var(--cta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.category-hero__subtitle {
  font-size: var(--text-lg);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 0 var(--space-xl);
  animation: fadeInUp 0.6s var(--ease-out) 0.2s both;
}

.category-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  animation: fadeInUp 0.6s var(--ease-out) 0.3s both;
}

.category-hero__actions .btn {
  position: relative;
  overflow: hidden;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), color 0.3s var(--ease-out), background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.category-hero__actions .btn::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, color-mix(in srgb, white 10%, transparent) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.5s var(--ease-out);
}

.category-hero__actions .btn:hover::before {
  transform: translateX(100%);
}

.category-hero__actions .btn--lg {
  padding: var(--space-md) var(--space-xl);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--cta) 25%, transparent);
}

.category-hero__actions .btn--lg:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--cta) 35%, transparent);
}

.category-hero__quicklinks {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  animation: fadeInUp 0.6s var(--ease-out) 0.4s both;
}

.category-hero__quicklinks a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-md);
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out), color 0.25s var(--ease-out), background-color 0.25s var(--ease-out), border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.category-hero__quicklinks a:hover {
  background: var(--cta);
  color: white;
  border-color: var(--cta);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--cta) 30%, transparent);
}

.category-hero__quicklinks a svg {
  width: 12px;
  height: 12px;
  transition: transform 0.25s var(--ease-out);
}

.category-hero__quicklinks a:hover svg {
  transform: translateX(2px);
}

.category-hero__path {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-sm);
  padding: var(--space-xs) var(--space-md);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text-muted);
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out), color 0.2s var(--ease-out), background-color 0.2s var(--ease-out), border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.category-hero__path:hover {
  background: var(--card);
  color: var(--text);
}

/* Mobile hero optimization */
@media (max-width: 768px) {
  .category-hero {
    /* Account for fixed header + minimal breathing room on mobile (60px header + 24px space = 84px) */
    padding-top: calc(var(--header-height, 60px) + 32px) !important;
    padding-bottom: var(--space-lg) !important;
    background: linear-gradient(180deg, var(--bg) 0%, var(--soft) 100%);
  }
  
  /* Disable heavy animations on mobile for performance */
  .category-hero::before {
    animation: none;
    opacity: 0.4;
  }
  
  /* Reorder hero content using flexbox ordering */
  .category-hero__content {
    display: flex;
    flex-direction: column;
  }
  
  /* Order: badge -> path -> title -> subtitle -> stats -> actions -> quicklinks */
  .category-hero__badge { 
    order: 0;
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.65rem;
    margin-bottom: var(--space-sm);
  }
  .category-hero__path { 
    order: 1;
    margin-top: 0;
    margin-bottom: var(--space-md);
  }
  .category-hero__title { 
    order: 2;
    font-size: clamp(1.5rem, 6vw, 1.875rem);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.015em;
  }
  .category-hero__subtitle { 
    order: 3; 
    font-size: var(--text-base);
    margin-bottom: var(--space-md);
    line-height: 1.6;
  }
  .category-hero__stats {
    order: 4;
    margin-top: var(--space-sm);
    margin-bottom: var(--space-md);
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-md);
  }
  .category-hero__actions {
    order: 5;
    flex-direction: column;
    gap: var(--space-sm);
  }
  .category-hero__quicklinks { 
    order: 6;
    margin-top: var(--space-md);
    justify-content: center;
  }
  
  .category-hero__actions .btn {
    width: 100%;
    justify-content: center;
    padding: var(--space-md) var(--space-lg);
    font-size: var(--text-sm);
  }
  
  .category-hero__quicklinks a {
    font-size: 11px;
    padding: 6px var(--space-sm);
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .category-hero {
    padding-top: calc(var(--header-height, 56px) + 24px) !important;
  }
  
  .category-hero__title {
    font-size: 1.375rem;
  }
  
  .category-hero__subtitle {
    font-size: var(--text-sm);
  }
  
  .category-hero__badge {
    font-size: 0.6rem;
    letter-spacing: 0.08em;
  }
  
  .category-hero__quicklinks {
    gap: var(--space-xs);
  }
  
  .category-hero__quicklinks a {
    flex: 1 1 calc(50% - var(--space-xs));
    justify-content: center;
    text-align: center;
  }
}

/* Breadcrumb helper (hidden on mobile to reduce clutter) */
.breadcrumb {
  margin-bottom: var(--space-sm);
  padding: var(--space-md) 0;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-xs);
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.breadcrumb__item a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s var(--ease-out);
}

.breadcrumb__item a:hover {
  color: var(--cta);
}

.breadcrumb__item:not(:last-child)::after {
  content: '/';
  margin-left: var(--space-xs);
  color: var(--stroke);
}

.breadcrumb__item--active {
  color: var(--text);
  font-weight: 500;
}

@media (max-width: 768px) {
  .breadcrumb {
    display: none;
  }
}

/* ===== SECTION TYPOGRAPHY ===== */
.section {
  padding: var(--space-2xl) 0;
  background: #ffffff;
  border-top: 1px solid var(--stroke);
  position: relative;
}

.section:first-of-type {
  border-top: none;
}

/* Alternating section backgrounds */
.section:nth-of-type(even) {
  background: var(--soft);
}

.section h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--heading);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.section .lead {
  font-size: var(--text-lg);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 600px;
}

/* Section divider with gradient */
.section--divided::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--cta), var(--link));
  border-radius: 2px;
}

@media (max-width: 768px) {
  .section {
    padding: var(--space-xl) 0;
  }
  
  .section h2 {
    font-size: clamp(1.25rem, 5vw, 1.5rem);
  }
  
  .section .lead {
    font-size: var(--text-base);
  }
}

/* ===== Product page header & hero tweaks to match homepage design system ===== */
/* These use tokens and `!important` to override inline styles where present. */
.page-header--product h1 {
  font-size: clamp(2.5rem, 5vw, 4rem) !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  margin-bottom: var(--space-md) !important;
  letter-spacing: -0.02em !important;
}

.page-header--product .lead {
  font-size: var(--text-lg) !important;
  color: var(--text-muted) !important;
  margin-bottom: var(--space-lg) !important;
  line-height: var(--lh-prose) !important;
}

.product-hero-split {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: var(--space-lg) !important;
  align-items: center !important;
}

.product-hero-copy h2 {
  font-size: clamp(1.65rem, 4.5vw, 2.4rem) !important;
  font-weight: 700 !important;
  margin-bottom: var(--space-md) !important;
  line-height: 1.15 !important;
}

.product-hero-copy p {
  color: var(--text-muted) !important;
  line-height: var(--lh-prose) !important;
  margin-bottom: var(--space-md) !important;
  font-size: var(--text-base) !important;
}

.product-hero-media {
  background: var(--soft) !important;
  border-radius: var(--radius) !important;
  aspect-ratio: 4/3 !important;
  overflow: hidden !important;
}

@media (max-width: 768px) {
  .product-hero-split {
    grid-template-columns: 1fr !important;
    gap: var(--space-md) !important;
  }

  .product-hero-copy h2 {
    font-size: clamp(1.5rem, 6.5vw, 2.2rem) !important;
    margin-bottom: var(--space-xs) !important;
  }

  .product-hero-copy p {
    margin-bottom: var(--space-sm) !important;
    padding: 8px 0 !important;
  }

  /* Ensure hero badges / small text don't get pushed off-screen */
  .page-header--product {
    padding: calc(var(--header-height) + var(--space-lg)) 0 var(--space-md) !important;
  }
}

/* Hero stats (optional) */
.category-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xl);
  margin-bottom: var(--space-xl);
  animation: fadeInUp 0.6s var(--ease-out) 0.3s both;
}

.category-hero__stat {
  text-align: left;
  position: relative;
  padding-left: var(--space-md);
}

.category-hero__stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--cta), var(--link));
  border-radius: 2px;
}

.category-hero__stat-value {
  display: block;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--cta);
  line-height: 1;
  letter-spacing: -0.02em;
}

.category-hero__stat-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: var(--space-xs);
  font-weight: 500;
}

/* ===== TRUST INDICATORS ===== */
.trust-bar {
  padding: var(--space-lg) 0;
  background: var(--card);
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
  position: relative;
  overflow: hidden;
}

/* Subtle animated background */
.trust-bar::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  inset: 0;
  background: linear-gradient(90deg, 
    transparent 0%, 
    color-mix(in srgb, var(--cta) 3%, transparent) 50%, 
    transparent 100%);
  animation: trustBarShimmer 8s linear infinite;
}

@keyframes trustBarShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-xl);
  text-align: center;
  position: relative;
  z-index: var(--z-base);
}

.trust-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), color 0.3s var(--ease-out), background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.trust-bar__item:hover {
  background: var(--soft);
  transform: translateY(-2px);
}

.trust-bar__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, color-mix(in srgb, var(--cta) 15%, var(--card)) 0%, color-mix(in srgb, var(--link) 10%, var(--card)) 100%);
  color: var(--cta);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--cta) 15%, transparent);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), color 0.3s var(--ease-out), background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.trust-bar__item:hover .trust-bar__icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--cta) 25%, transparent);
}

.trust-bar__icon svg {
  width: 28px;
  height: 28px;
}

.trust-bar__text {
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--heading);
  line-height: 1.4;
}

.trust-bar__subtext {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: var(--space-2xs);
}

/* Mobile trust bar */
@media (max-width: 768px) {
  .trust-bar {
    padding: var(--space-md) 0;
  }
  
  .trust-bar__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }
  
  .trust-bar__item {
    padding: var(--space-sm);
    gap: var(--space-sm);
  }
  
  .trust-bar__icon {
    width: 44px;
    height: 44px;
  }
  
  .trust-bar__icon svg {
    width: 22px;
    height: 22px;
  }
  
  .trust-bar__text {
    font-size: var(--text-xs);
  }
}

@media (max-width: 480px) {
  .trust-bar__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
  }
  
  .trust-bar__item {
    flex-direction: row;
    text-align: left;
    gap: var(--space-sm);
  }
  
  .trust-bar__icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }
  
  .trust-bar__icon svg {
    width: 20px;
    height: 20px;
  }
}

/* ===== PRODUCT SHOWCASE GRID ===== */
.product-showcase {
  padding: var(--space-2xl) 0;
  background: var(--bg);
}

.product-showcase__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.product-showcase__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.02em;
  color: var(--heading);
}

.product-showcase__subtitle {
  font-size: var(--text-base);
  color: var(--text-muted);
  margin-top: var(--space-xs);
}

.product-showcase__filters {
  display: flex;
  gap: var(--space-sm);
  padding: var(--space-xs);
  background: var(--soft);
  border-radius: var(--radius-lg);
}

.filter-btn {
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out), color 0.25s var(--ease-out), background-color 0.25s var(--ease-out), border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
  white-space: nowrap;
}

.filter-btn:hover {
  color: var(--text);
  background: var(--card);
}

.filter-btn.active {
  background: var(--cta);
  color: white;
  box-shadow: 0 2px 8px color-mix(in srgb, var(--cta) 30%, transparent);
}

.product-showcase__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-xl);
}

/* Mobile showcase */
@media (max-width: 768px) {
  .product-showcase {
    padding: var(--space-xl) 0;
  }
  
  .product-showcase__header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
  }
  
  .product-showcase__filters {
    width: 100%;
    overflow-x: auto;
    padding: var(--space-xs);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .product-showcase__filters::-webkit-scrollbar {
    display: none;
  }
  
  .filter-btn {
    padding: var(--space-sm) var(--space-md);
    font-size: var(--text-xs);
  }
  
  .product-showcase__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }
}

/* ===== ENHANCED PRODUCT CARD ===== */
.product-card-enhanced {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), color 0.4s var(--ease-out), background-color 0.4s var(--ease-out), border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  position: relative;
  isolation: isolate;
}

/* Glow effect on hover */
.product-card-enhanced::before {
  content: '';
  position: absolute;
  top: -1px; right: -1px; bottom: -1px; left: -1px;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--cta), var(--link));
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s var(--ease-out);
}

.product-card-enhanced:hover::before {
  opacity: 1;
}

.product-card-enhanced:hover {
  transform: translateY(var(--hover-lift));
  box-shadow: var(--card-shadow-hover);
  border-color: transparent;
}

.product-card-enhanced__image {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
}

.product-card-enhanced__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  transition: transform 0.6s var(--ease-out);
  padding: var(--space-md);
}

.product-card-enhanced:hover .product-card-enhanced__image img {
  transform: scale(1.08);
}

.product-card-enhanced__badges {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  z-index: var(--z-base);
}

.product-badge {
  padding: 6px var(--space-sm);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  letter-spacing: 0.06em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.product-badge--bestseller {
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 80%, var(--cta)));
  color: white;
}

.product-badge--new {
  background: linear-gradient(135deg, var(--green), color-mix(in srgb, var(--green) 80%, var(--success-emphasis)));
  color: white;
}

.product-badge--sale {
  background: linear-gradient(135deg, var(--error-soft), var(--error));
  color: white;
}

.product-badge--popular {
  background: linear-gradient(135deg, var(--cta), var(--link));
  color: white;
}

.product-card-enhanced__quick-actions {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  opacity: 0;
  transform: translateX(12px);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out), color 0.35s var(--ease-out), background-color 0.35s var(--ease-out), border-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  z-index: var(--z-base);
}

.product-card-enhanced:hover .product-card-enhanced__quick-actions {
  opacity: 1;
  transform: translateX(0);
}

.quick-action-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out), color 0.25s var(--ease-out), background-color 0.25s var(--ease-out), border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
  color: var(--text);
}

.quick-action-btn:hover {
  background: var(--cta);
  border-color: var(--cta);
  color: white;
  transform: scale(1.1);
}

.quick-action-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: white;
}

.quick-action-btn svg {
  width: 20px;
  height: 20px;
}

.product-card-enhanced__body {
  padding: var(--space-lg);
}

.product-card-enhanced__category {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--cta);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
}

.product-card-enhanced__title {
  font-size: var(--text-xl);
  font-weight: 800;
  margin: 0 0 var(--space-sm);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.product-card-enhanced__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease-out);
}

.product-card-enhanced__title a:hover {
  color: var(--cta);
}

.product-card-enhanced__desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin: 0 0 var(--space-md);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-enhanced__features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.product-feature-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px var(--space-sm);
  font-size: 11px;
  font-weight: 600;
  background: var(--soft);
  color: var(--text);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out), color 0.25s var(--ease-out), background-color 0.25s var(--ease-out), border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
  cursor: pointer;
}

.product-feature-tag:hover {
  background: var(--cta);
  color: white;
  border-color: var(--cta);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--cta) 25%, transparent);
}

.product-feature-tag::after {
  content: '→';
  margin-left: 6px;
  font-size: 10px;
  opacity: 0.6;
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out), color 0.25s var(--ease-out), background-color 0.25s var(--ease-out), border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.product-feature-tag:hover::after {
  transform: translateX(3px);
  opacity: 1;
}

.product-card-enhanced__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-md);
  border-top: 1px solid var(--stroke);
  gap: var(--space-md);
}

.product-card-enhanced__price {
  display: flex;
  flex-direction: column;
}

.product-card-enhanced__price-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-bottom: 2px;
}

.product-card-enhanced__price-value {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--heading);
  letter-spacing: -0.02em;
}

.product-card-enhanced__price-value--sale {
  color: var(--error-soft);
}

.product-card-enhanced__price-value--original {
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: var(--space-xs);
}

/* ===== COMPARISON TABLE ===== */
.comparison-section {
  padding: var(--space-2xl) 0;
  background: var(--soft);
}

.comparison-section__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.comparison-table-wrapper {
  overflow-x: auto;
  margin-top: var(--space-lg);
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.comparison-table {
  width: 100%;
  min-width: 800px;
  border-collapse: collapse;
  background: var(--card);
  overflow: hidden;
}

.comparison-table th,
.comparison-table td {
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  border-bottom: 1px solid var(--stroke);
}

.comparison-table thead {
  background: linear-gradient(135deg, var(--cta-bg), color-mix(in srgb, var(--cta-bg) 90%, var(--link)));
  color: white;
}

.comparison-table th {
  font-weight: 700;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: var(--space-lg);
}

.comparison-table tbody tr {
  transition: background 0.2s var(--ease-out);
}

.comparison-table tbody tr:hover {
  background: color-mix(in srgb, var(--cta) 5%, var(--card));
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table td:first-child {
  font-weight: 600;
  color: var(--heading);
}

.comparison-check {
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: color-mix(in srgb, var(--green) 15%, transparent);
  border-radius: 50%;
}

.comparison-cross {
  color: var(--text-muted);
  opacity: 0.4;
}

.comparison-highlight {
  background: color-mix(in srgb, var(--cta) 8%, var(--card)) !important;
  position: relative;
}

.comparison-highlight::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--cta);
}

/* ===== FAQ ACCORDION ===== */
.faq-section {
  padding: var(--space-2xl) 0;
  background: var(--bg);
}

.faq-section__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-xl);
}

.faq-section__header h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
}

.faq-section__header p {
  color: var(--text-muted);
  font-size: var(--text-lg);
  line-height: 1.6;
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--stroke);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-md);
  overflow: hidden;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), color 0.3s var(--ease-out), background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  background: var(--card);
}

.faq-item:hover {
  border-color: color-mix(in srgb, var(--cta) 30%, var(--stroke));
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.faq-item[open] {
  border-color: var(--cta);
  box-shadow: 0 12px 32px color-mix(in srgb, var(--cta) 15%, transparent);
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-xl);
  background: transparent;
  border: none;
  text-align: left;
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--heading);
  cursor: pointer;
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out), color 0.25s var(--ease-out), background-color 0.25s var(--ease-out), border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
  gap: var(--space-md);
}

.faq-item__question:hover {
  color: var(--cta);
}

.faq-item__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--soft);
  border-radius: var(--radius);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), color 0.3s var(--ease-out), background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  color: var(--cta);
}

.faq-item[open] .faq-item__icon {
  transform: rotate(180deg);
  background: var(--cta);
  color: white;
}

.faq-item__answer {
  padding: 0 var(--space-xl) var(--space-xl);
  color: var(--text-muted);
  line-height: 1.8;
  font-size: var(--text-base);
  animation: faqExpand 0.4s var(--ease-out);
}

.faq-item__answer p {
  margin: 0 0 var(--space-md);
}

.faq-item__answer p:last-child {
  margin-bottom: 0;
}

.faq-item__answer ul {
  margin: var(--space-md) 0;
  padding-left: var(--space-lg);
}

.faq-item__answer li {
  margin-bottom: var(--space-sm);
}

@keyframes faqExpand {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile FAQ */
@media (max-width: 768px) {
  .faq-section {
    padding: var(--space-xl) 0;
  }
  
  .faq-section__header {
    margin-bottom: var(--space-lg);
  }
  
  .faq-item {
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-sm);
  }
  
  .faq-item__question {
    padding: var(--space-md);
    font-size: var(--text-base);
    gap: var(--space-sm);
  }
  
  .faq-item__icon {
    width: 24px;
    height: 24px;
  }
  
  .faq-item__answer {
    padding: 0 var(--space-md) var(--space-md);
    font-size: var(--text-sm);
    line-height: 1.7;
  }
}

/* ===== BENEFITS GRID ===== */
.benefits-section {
  padding: var(--space-2xl) 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--soft) 50%, var(--bg) 100%);
  position: relative;
}

/* Decorative background */
.benefits-section::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, color-mix(in srgb, var(--cta) 8%, transparent) 0%, transparent 70%);
  pointer-events: none;
}

.benefits-section::after {
  content: '';
  position: absolute;
  bottom: 20%;
  right: 10%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, color-mix(in srgb, var(--link) 6%, transparent) 0%, transparent 70%);
  pointer-events: none;
}

.benefits-section__header {
  text-align: center;
  margin-bottom: var(--space-xl);
  position: relative;
  z-index: var(--z-base);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  position: relative;
  z-index: var(--z-base);
}

.benefit-card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  text-align: center;
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), color 0.4s var(--ease-out), background-color 0.4s var(--ease-out), border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

/* Gradient accent on hover */
.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--cta), var(--link));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.benefit-card:hover::before {
  transform: scaleX(1);
}

.benefit-card:hover {
  transform: translateY(var(--hover-lift));
  box-shadow: var(--card-shadow-hover);
  border-color: transparent;
}

.benefit-card__icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, color-mix(in srgb, var(--cta) 12%, var(--card)) 0%, color-mix(in srgb, var(--link) 8%, var(--card)) 100%);
  color: var(--cta);
  border-radius: var(--radius-xl);
  margin: 0 auto var(--space-lg);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), color 0.4s var(--ease-out), background-color 0.4s var(--ease-out), border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--cta) 15%, transparent);
}

.benefit-card:hover .benefit-card__icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--cta) 25%, transparent);
}

.benefit-card__icon svg {
  width: 32px;
  height: 32px;
}

.benefit-card__title {
  font-size: var(--text-xl);
  font-weight: 800;
  margin: 0 0 var(--space-sm);
  color: var(--heading);
  letter-spacing: -0.01em;
}

.benefit-card__desc {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* Mobile benefits */
@media (max-width: 768px) {
  .benefits-section {
    padding: var(--space-xl) 0;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .benefit-card {
    padding: var(--space-lg);
    display: flex;
    align-items: flex-start;
    text-align: left;
    gap: var(--space-md);
  }
  
  .benefit-card__icon {
    width: 56px;
    height: 56px;
    margin: 0;
    flex-shrink: 0;
  }
  
  .benefit-card__icon svg {
    width: 26px;
    height: 26px;
  }
  
  .benefit-card__content {
    flex: 1;
  }
  
  .benefit-card__title {
    font-size: var(--text-lg);
    margin-bottom: var(--space-xs);
  }
  
  .benefit-card__desc {
    font-size: var(--text-sm);
    line-height: 1.6;
  }
}

/* ===== CTA SECTION ===== */
.category-cta {
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, var(--cta-bg) 0%, color-mix(in srgb, var(--cta-bg) 85%, var(--link)) 50%, var(--cta-bg) 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Animated gradient overlay */
.category-cta::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  inset: 0;
  background: 
    radial-gradient(ellipse 100% 100% at 0% 100%, color-mix(in srgb, white 8%, transparent) 0%, transparent 50%),
    radial-gradient(ellipse 80% 80% at 100% 0%, color-mix(in srgb, white 6%, transparent) 0%, transparent 50%);
  animation: ctaGradientPulse 10s ease-in-out infinite alternate;
}

@keyframes ctaGradientPulse {
  0% { opacity: 0.5; transform: scale(1); }
  100% { opacity: 0.8; transform: scale(1.1); }
}

/* Pattern overlay */
.category-cta::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
  pointer-events: none;
}

.category-cta__content {
  position: relative;
  z-index: var(--z-base);
  max-width: 750px;
  margin: 0 auto;
}

.category-cta__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin: 0 0 var(--space-lg);
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.category-cta__subtitle {
  font-size: var(--text-xl);
  opacity: 0.95;
  margin: 0 0 var(--space-xl);
  line-height: 1.6;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.15);
}

.category-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

.category-cta .btn--primary {
  background: white;
  color: var(--cta-bg);
  border: 2px solid white;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), color 0.3s var(--ease-out), background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.category-cta .btn--primary:hover {
  background: transparent;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.category-cta .btn--outline {
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: white;
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.category-cta .btn--outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: white;
  transform: translateY(-3px);
}

/* Mobile CTA */
@media (max-width: 768px) {
  .category-cta {
    padding: var(--space-2xl) 0;
  }
  
  .category-cta__title {
    font-size: clamp(1.5rem, 6vw, 2rem) !important;
    margin-bottom: var(--space-md) !important;
  }
  
  .category-cta__subtitle {
    font-size: var(--text-base) !important;
    margin-bottom: var(--space-lg) !important;
  }
  
  .category-cta__actions {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .category-cta__actions .btn {
    width: 100%;
    justify-content: center;
    padding: var(--space-md) var(--space-lg);
  }
}

/* ===== RELATED CATEGORIES ===== */
.related-categories {
  padding: var(--space-2xl) 0;
  background: var(--bg);
}

.related-categories__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.related-categories__title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
}

.related-categories__subtitle {
  font-size: var(--text-lg);
  color: var(--text-muted);
}

.related-categories__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-lg);
}

.related-category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-xl);
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-xl);
  text-decoration: none;
  text-align: center;
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), color 0.4s var(--ease-out), background-color 0.4s var(--ease-out), border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

/* Gradient border on hover */
.related-category-card::before {
  content: '';
  position: absolute;
  top: -1px; right: -1px; bottom: -1px; left: -1px;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--cta), var(--link));
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s var(--ease-out);
}

.related-category-card:hover::before {
  opacity: 1;
}

.related-category-card:hover {
  transform: translateY(var(--hover-lift));
  box-shadow: var(--card-shadow-hover);
  border-color: transparent;
}

.related-category-card__icon {
  width: 100px;
  height: 100px;
  margin-bottom: var(--space-lg);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), color 0.4s var(--ease-out), background-color 0.4s var(--ease-out), border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.related-category-card:hover .related-category-card__icon {
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.related-category-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-sm);
}

.related-category-card__name {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--heading);
  margin-bottom: var(--space-xs);
  transition: color 0.3s var(--ease-out);
}

.related-category-card:hover .related-category-card__name {
  color: var(--cta);
}

.related-category-card__count {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.related-category-card__arrow {
  margin-top: var(--space-md);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--soft);
  border-radius: 50%;
  color: var(--cta);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), color 0.3s var(--ease-out), background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.related-category-card:hover .related-category-card__arrow {
  background: var(--cta);
  color: white;
  transform: translateX(4px);
}

/* Mobile related categories */
@media (max-width: 768px) {
  .related-categories {
    padding: var(--space-xl) 0;
  }
  
  .related-categories__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }
  
  .related-category-card {
    padding: var(--space-md);
    border-radius: var(--radius-lg);
  }
  
  .related-category-card__icon {
    width: 72px;
    height: 72px;
    margin-bottom: var(--space-md);
  }
  
  .related-category-card__name {
    font-size: var(--text-base);
  }
  
  .related-category-card__count {
    font-size: var(--text-xs);
  }
  
  .related-category-card__arrow {
    display: none;
  }
}

@media (max-width: 480px) {
  .related-categories__grid {
    gap: var(--space-sm);
  }
  
  .related-category-card {
    padding: var(--space-sm);
  }
  
  .related-category-card__icon {
    width: 56px;
    height: 56px;
    margin-bottom: var(--space-sm);
  }
  
  .related-category-card__name {
    font-size: var(--text-sm);
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Scroll-triggered animations */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

[data-animate="fade-up"] {
  transform: translateY(24px);
}

[data-animate="fade-down"] {
  transform: translateY(-24px);
}

[data-animate="fade-left"] {
  transform: translateX(-24px);
}

[data-animate="fade-right"] {
  transform: translateX(24px);
}

[data-animate="scale"] {
  transform: scale(0.95);
}

[data-animate].animated {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Staggered animation delays for children */
[data-animate-stagger] > *:nth-child(1) { transition-delay: 0s; }
[data-animate-stagger] > *:nth-child(2) { transition-delay: 0.1s; }
[data-animate-stagger] > *:nth-child(3) { transition-delay: 0.2s; }
[data-animate-stagger] > *:nth-child(4) { transition-delay: 0.3s; }
[data-animate-stagger] > *:nth-child(5) { transition-delay: 0.4s; }
[data-animate-stagger] > *:nth-child(6) { transition-delay: 0.5s; }
[data-animate-stagger] > *:nth-child(7) { transition-delay: 0.6s; }
[data-animate-stagger] > *:nth-child(8) { transition-delay: 0.7s; }

/* Disable animations for reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  [data-animate],
  [data-animate].animated {
    opacity: 1;
    transform: none;
    transition: none;
  }
  
  .category-hero::before,
  .trust-bar::before,
  .category-cta::before {
    animation: none;
  }
}

/* ===== DESKTOP ENHANCEMENTS ===== */
@media (min-width: 1200px) {
  .category-hero {
    /* Account for fixed header on large screens */
    padding: calc(var(--header-height, 72px) + var(--space-xl)) 0 var(--space-2xl);
  }
  
  .category-hero__content {
    max-width: 750px;
  }
  
  .category-hero__badge {
    font-size: 0.75rem;
    padding: 8px var(--space-lg);
  }
  
  .category-hero__title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: var(--space-md);
  }
  
  .category-hero__subtitle {
    font-size: var(--text-xl);
    max-width: 650px;
    margin-bottom: var(--space-xl);
  }
  
  .category-hero__stats {
    gap: var(--space-2xl);
    margin-bottom: var(--space-xl);
  }
  
  .category-hero__stat-value {
    font-size: clamp(2rem, 3vw, 2.5rem);
  }
  
  .category-hero__actions {
    gap: var(--space-md);
  }
  
  .category-hero__actions .btn--lg {
    padding: var(--space-md) var(--space-2xl);
    font-size: var(--text-base);
  }
  
  .trust-bar {
    padding: var(--space-lg) 0;
  }
  
  .trust-bar__grid {
    gap: var(--space-2xl);
  }
  
  .trust-bar__icon {
    width: 60px;
    height: 60px;
  }
  
  .trust-bar__text {
    font-size: var(--text-base);
  }
  
  .product-showcase {
    padding: var(--space-3xl) 0;
  }
  
  .product-showcase__header {
    margin-bottom: var(--space-xl);
  }
  
  .product-showcase__title {
    font-size: var(--text-2xl);
  }
  
  .product-showcase__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
  }
  
  .product-card-enhanced__body {
    padding: var(--space-lg);
  }
  
  .product-card-enhanced__title {
    font-size: var(--text-xl);
  }
  
  .product-card-enhanced__desc {
    font-size: var(--text-base);
    margin-bottom: var(--space-md);
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }
  
  .product-card-enhanced__features {
    margin-bottom: var(--space-md);
  }
  
  .comparison-section {
    padding: var(--space-3xl) 0;
  }
  
  .benefits-section {
    padding: var(--space-3xl) 0;
  }
  
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
  }
  
  .benefit-card {
    padding: var(--space-2xl);
    text-align: center;
    display: block;
  }
  
  .benefit-card__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
  }
  
  .benefit-card__icon svg {
    width: 36px;
    height: 36px;
  }
  
  .faq-section {
    padding: var(--space-3xl) 0;
  }
  
  .faq-section__header {
    margin-bottom: var(--space-xl);
  }
  
  .faq-section__header h2 {
    font-size: var(--text-2xl);
  }
  
  .faq-accordion {
    max-width: 850px;
  }
  
  .faq-item__question {
    padding: var(--space-lg) var(--space-xl);
    font-size: var(--text-lg);
  }
  
  .faq-item__answer {
    padding: 0 var(--space-xl) var(--space-xl);
    font-size: var(--text-base);
  }
  
  .category-cta {
    padding: var(--space-3xl) 0;
  }
  
  .category-cta__title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
  }
  
  .category-cta__subtitle {
    font-size: var(--text-xl);
    margin-bottom: var(--space-xl);
  }
  
  .related-categories {
    padding: var(--space-3xl) 0;
  }
  
  .related-categories__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
  }
  
  .related-category-card {
    padding: var(--space-xl);
  }
  
  .related-category-card__icon {
    width: 110px;
    height: 110px;
    margin-bottom: var(--space-lg);
  }
  
  /* Section typography */
  .section {
    padding: var(--space-2xl) 0;
  }
  
  .section h2 {
    font-size: var(--text-2xl);
  }
  
  .section .lead {
    font-size: var(--text-lg);
  }
  
  /* Category products grid - desktop optimization */
  .category-products__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
  }
  
  .category-product__body {
    padding: var(--space-md);
  }
  
  .category-product__title {
    font-size: var(--text-base);
  }
  
  .category-product__desc {
    display: block;
    font-size: var(--text-sm);
  }
}

/* Extra large screens */
@media (min-width: 1400px) {
  .category-hero__content {
    max-width: 850px;
  }
  
  .category-hero__title {
    font-size: 3rem;
  }
  
  .product-showcase__grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .related-categories__grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Medium-large screens */
@media (min-width: 1025px) and (max-width: 1200px) {
  .product-showcase__header {
    margin-bottom: var(--space-lg);
  }
  
  .product-showcase__title {
    font-size: var(--text-xl);
  }
  
  .product-showcase__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
  }
  
  .product-card-enhanced__body {
    padding: var(--space-md);
  }
  
  .product-card-enhanced__title {
    font-size: var(--text-base);
  }
  
  .product-card-enhanced__desc {
    font-size: var(--text-sm);
    margin-bottom: var(--space-sm);
  }
  
  .product-card-enhanced__features {
    margin-bottom: var(--space-sm);
  }
  
  .comparison-section {
    padding: var(--space-xl) 0;
  }
  
  .benefits-section {
    padding: var(--space-lg) 0;
  }
  
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
  }
  
  .benefit-card {
    padding: var(--space-lg);
  }
  
  .benefit-card__icon {
    width: 56px;
    height: 56px;
    margin-bottom: var(--space-md);
  }
  
  .faq-section {
    padding: var(--space-lg) 0;
  }
  
  .faq-section__header {
    margin-bottom: var(--space-lg);
  }
  
  .faq-list {
    max-width: 800px;
    margin: 0 auto;
  }
  
  .faq-item__question {
    padding: var(--space-md) var(--space-lg);
    font-size: var(--text-base);
  }
  
  .faq-item__answer-content {
    padding: 0 var(--space-lg) var(--space-lg);
    font-size: var(--text-sm);
  }
  
  .category-cta {
    padding: var(--space-xl) 0;
  }
  
  .category-cta__title {
    font-size: var(--text-2xl);
  }
  
  .category-cta__subtitle {
    font-size: var(--text-base);
    margin-bottom: var(--space-lg);
  }
  
  .related-categories {
    padding: var(--space-xl) 0;
  }
  
  .related-categories__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
  }
  
  .related-category-card {
    padding: var(--space-lg);
  }
  
  .related-category-card__icon {
    width: 80px;
    height: 80px;
    margin-bottom: var(--space-md);
  }
  
  /* Section typography */
  .section {
    padding: var(--space-lg) 0;
  }
  
  .section h2 {
    font-size: var(--text-xl);
  }
  
  /* Category products grid - desktop optimization */
  .category-products__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
  }
  
  .category-product__body {
    padding: var(--space-md);
  }
  
  .category-product__title {
    font-size: var(--text-base);
  }
  
  .category-product__desc {
    display: block;
    font-size: var(--text-sm);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .category-hero {
    /* Account for fixed header on tablet */
    padding: calc(var(--header-height, 68px) + var(--space-lg)) 0 var(--space-xl);
  }
  
  .category-hero__stats {
    gap: var(--space-lg);
  }
  
  .product-showcase__grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
  
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .related-categories__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== COMPACT DOOR TYPE LIST (mobile) ===== */
@media (max-width: 768px) {
  .section--compact-door-types {
    padding: var(--space-xl) 0;
  }

  .section--compact-door-types .mb-4 {
    margin-bottom: var(--space-md);
  }

  .section--compact-door-types .benefits-grid {
    gap: var(--space-sm);
    grid-template-columns: 1fr;
  }

  .section--compact-door-types .benefit-card {
    padding: var(--space-md);
    text-align: left;
    border-radius: var(--radius-lg);
    display: grid;
    grid-template-columns: 52px 1fr;
    column-gap: var(--space-md);
    row-gap: var(--space-2xs);
    align-items: start;
  }

  .section--compact-door-types .benefit-card__icon {
    width: 52px;
    height: 52px;
    margin: 0;
    border-radius: var(--radius-lg);
    grid-row: span 2;
  }

  .section--compact-door-types .benefit-card__icon svg {
    width: 24px;
    height: 24px;
  }

  .section--compact-door-types .benefit-card__title {
    margin: 0;
    font-size: var(--text-base);
    line-height: var(--lh-snug);
    font-weight: 700;
  }

  .section--compact-door-types .benefit-card__desc {
    margin: 0;
    font-size: var(--text-sm);
    line-height: var(--lh-body);
    color: var(--text-muted);
  }
}

/* General mobile styles for 768px and below */
@media (max-width: 768px) {
  /* NOTE: .category-hero__title is defined earlier with smaller mobile size - don't override here */
  
  .category-hero__stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: flex-start;
  }
  
  .category-hero__stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2xs);
    min-width: 100px;
  }
  
  .category-hero__stat-value {
    font-size: var(--text-xl);
  }
  
  .category-hero__stat-label {
    font-size: var(--text-xs);
  }
  
  .category-hero__actions {
    flex-direction: column;
  }
  
  .category-hero__actions .btn {
    width: 100%;
  }
  
  /* Fix CTA section fonts on mobile - override inline styles */
  .category-cta__title {
    font-size: var(--text-xl) !important;
    margin-bottom: var(--space-md) !important;
  }
  
  .category-cta__subtitle {
    font-size: var(--text-base) !important;
    margin-bottom: var(--space-lg) !important;
  }
  
  .trust-bar__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .product-showcase__header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .product-showcase__filters {
    width: 100%;
    overflow-x: auto;
    padding-bottom: var(--space-sm);
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .product-showcase__filters::-webkit-scrollbar {
    display: none;
  }
  
  .product-showcase__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }
  
  /* Make product-card-enhanced compact on mobile 2-col grid */
  .product-card-enhanced {
    border-radius: var(--radius-lg);
  }
  
  .product-card-enhanced::before {
    display: none;
  }
  
  .product-card-enhanced__image {
    aspect-ratio: 1;
  }
  
  .product-card-enhanced__badges {
    top: var(--space-xs);
    left: var(--space-xs);
  }
  
  .product-card-enhanced__badges .product-badge {
    font-size: 8px;
    padding: 3px 8px;
  }
  
  .product-card-enhanced__quick-actions {
    display: none;
  }
  
  .product-card-enhanced__body {
    padding: var(--space-sm) var(--space-md) var(--space-md);
  }
  
  .product-card-enhanced__category {
    display: none;
  }
  
  .product-card-enhanced__title {
    font-size: var(--text-sm);
    margin-bottom: var(--space-2xs);
    line-height: 1.3;
  }
  
  .product-card-enhanced__desc {
    display: none;
  }
  
  .product-card-enhanced__features {
    display: none;
  }
  
  .product-card-enhanced__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
    padding-top: var(--space-sm);
  }
  
  .product-card-enhanced__price-label {
    display: none;
  }
  
  .product-card-enhanced__price-value {
    font-size: var(--text-base);
  }
  
  .product-card-enhanced__footer .btn--sm {
    width: 100%;
    font-size: var(--text-xs);
    padding: var(--space-sm);
    text-align: center;
    justify-content: center;
  }
  
  .comparison-table-wrapper {
    margin-left: calc(-1 * var(--space-md));
    margin-right: calc(-1 * var(--space-md));
    padding: 0 var(--space-md);
    border-radius: 0;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  /* Make product cards in benefits-grid compact on mobile */
  .benefits-grid .benefit-card {
    padding: var(--space-md);
    text-align: left;
  }
  
  .benefits-grid .benefit-card div[style*="aspect-ratio"] {
    aspect-ratio: 1 !important;
  }
  
  .benefits-grid .benefit-card div[style*="padding: var(--space-md)"] {
    padding: var(--space-sm) !important;
  }
  
  .benefits-grid .benefit-card h3 {
    font-size: var(--text-sm) !important;
    margin-bottom: var(--space-2xs) !important;
  }
  
  .benefits-grid .benefit-card p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: var(--text-xs);
  }
  
  .benefits-grid .benefit-card div[style*="display: flex; justify-content: space-between"] {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: var(--space-sm) !important;
  }
  
  .benefits-grid .benefit-card span[style*="font-size: var(--text-lg)"] {
    font-size: var(--text-base) !important;
  }
  
  .benefits-grid .benefit-card .btn--sm {
    width: 100%;
    font-size: var(--text-xs) !important;
    padding: var(--space-sm) !important;
  }
  
  .related-categories__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .trust-bar__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
  }
  
  .related-categories__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }
  
  .related-category-card {
    padding: var(--space-sm);
    border-radius: var(--radius-lg);
  }
  
  .related-category-card__icon {
    width: 52px;
    height: 52px;
    margin-bottom: var(--space-sm);
  }
  
  .related-category-card__name {
    font-size: var(--text-sm);
    line-height: 1.3;
  }
  
  .related-category-card__count {
    font-size: 10px;
  }
  
  .faq-item__question {
    padding: var(--space-md);
    font-size: var(--text-sm);
    gap: var(--space-sm);
  }
  
  .faq-item__icon {
    width: 22px;
    height: 22px;
  }
  
  .product-showcase__grid {
    gap: var(--space-sm);
  }
  
  .product-card-enhanced__body {
    padding: var(--space-xs) var(--space-sm) var(--space-sm);
  }
  
  .product-card-enhanced__title {
    font-size: var(--text-xs);
  }
  
  .product-card-enhanced__price-value {
    font-size: var(--text-sm);
  }
  
  .product-card-enhanced__footer .btn--sm {
    font-size: 10px;
    padding: var(--space-xs) var(--space-sm);
  }
}

/* ===== SKELETON LOADING ===== */
.skeleton {
  background: linear-gradient(
    90deg, 
    var(--soft) 0%, 
    color-mix(in srgb, var(--stroke) 50%, var(--soft)) 20%, 
    var(--soft) 40%, 
    var(--soft) 100%
  );
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
  border-radius: var(--radius-sm);
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.skeleton-card__image {
  aspect-ratio: 1/1;
  background: var(--soft);
}

.skeleton-card__body {
  padding: var(--space-lg);
}

.skeleton-line {
  height: 1em;
  margin-bottom: var(--space-sm);
  border-radius: var(--radius-sm);
}

.skeleton-line--short {
  width: 40%;
}

.skeleton-line--medium {
  width: 70%;
}

.skeleton-line--full {
  width: 100%;
}

/* ===== 2026 UNIFIED PRODUCT CARDS ===== */
/* Clean white background, full image visibility, consistent typography */
.product-card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), color 0.4s var(--ease-out), background-color 0.4s var(--ease-out), border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  position: relative;
}

.product-card::before {
  content: '';
  position: absolute;
  top: -1px; right: -1px; bottom: -1px; left: -1px;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--cta), var(--link));
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s var(--ease-out);
}

.product-card:hover::before {
  opacity: 1;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
  border-color: transparent;
}

.product-card__image {
  aspect-ratio: 1 / 1;
  background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-lg);
  transition: transform 0.5s var(--ease-out);
}

.product-card:hover .product-card__image img {
  transform: scale(1.08);
}

.product-card__body {
  padding: var(--space-lg);
}

.product-card__title {
  font-size: var(--text-lg);
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 var(--space-sm);
  color: var(--heading);
  letter-spacing: -0.01em;
}

.product-card__desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 var(--space-md);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
  padding-top: var(--space-md);
  border-top: 1px solid var(--stroke);
}

.product-card__price {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--cta);
  letter-spacing: -0.02em;
}

/* ===== UNIFIED CATEGORY CARDS (Main overview) ===== */
.category-card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), color 0.4s var(--ease-out), background-color 0.4s var(--ease-out), border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  display: block;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--cta), var(--link));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.category-card:hover::before {
  transform: scaleX(1);
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
  border-color: color-mix(in srgb, var(--cta) 30%, var(--stroke));
}

.category-card__image {
  width: 140px;
  height: 140px;
  margin: 0 auto var(--space-xl);
  background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), color 0.4s var(--ease-out), background-color 0.4s var(--ease-out), border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.category-card:hover .category-card__image {
  transform: scale(1.08);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.category-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-md);
}

.category-card__title {
  font-size: var(--text-2xl);
  font-weight: 800;
  margin: 0 0 var(--space-sm);
  color: var(--heading);
  letter-spacing: -0.02em;
  transition: color 0.3s var(--ease-out);
}

.category-card:hover .category-card__title {
  color: var(--cta);
}

.category-card__desc {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0 0 var(--space-lg);
}

.category-card__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--soft);
  border-radius: 50%;
  color: var(--cta);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), color 0.3s var(--ease-out), background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.category-card:hover .category-card__arrow {
  background: var(--cta);
  color: white;
  transform: translateX(4px);
}

/* ===== UNIFIED TYPOGRAPHY SYSTEM ===== */
.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-header__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin: 0 0 var(--space-md);
  color: var(--heading);
  letter-spacing: -0.02em;
}

.section-header__subtitle {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== INFO CONTENT BLOCKS ===== */
.info-content {
  max-width: 850px;
  margin: 0 auto;
}

.info-content__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin: 0 0 var(--space-lg);
  color: var(--heading);
  letter-spacing: -0.02em;
}

.info-content__text {
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--text-muted);
  margin: 0 0 var(--space-lg);
}

.info-content__text:last-child {
  margin-bottom: 0;
}

.info-content__highlight {
  background: linear-gradient(135deg, color-mix(in srgb, var(--cta) 8%, transparent), color-mix(in srgb, var(--link) 5%, transparent));
  border-left: 4px solid var(--cta);
  padding: var(--space-lg);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  margin: var(--space-xl) 0;
}

/* ===== PRODUCT GRID ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

/* ===== CATEGORY GRID ===== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-xl);
}

/* ===== MOBILE OPTIMIZATIONS 2026 ===== */
@media (max-width: 768px) {
  .section-header {
    margin-bottom: var(--space-xl);
    text-align: left;
  }
  
  .section-header__title {
    font-size: clamp(1.5rem, 5vw, 1.75rem);
  }
  
  .section-header__subtitle {
    font-size: var(--text-base);
    margin: 0;
  }
  
  .product-card {
    border-radius: var(--radius-lg);
  }
  
  .product-card__image img {
    padding: var(--space-md);
  }
  
  .product-card__body {
    padding: var(--space-md);
  }
  
  .product-card__title {
    font-size: var(--text-base);
  }
  
  .product-card__desc {
    font-size: var(--text-sm);
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }
  
  .product-card__price {
    font-size: var(--text-lg);
  }
  
  .category-card {
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
  }
  
  .category-card__image {
    width: 100px;
    height: 100px;
    margin-bottom: var(--space-md);
  }
  
  .category-card__title {
    font-size: var(--text-xl);
  }
  
  .category-card__desc {
    font-size: var(--text-sm);
    margin-bottom: var(--space-md);
  }
  
  .category-card__arrow {
    width: 36px;
    height: 36px;
  }
  
  .info-content__title {
    font-size: var(--text-xl);
  }
  
  .info-content__text {
    font-size: var(--text-base);
    line-height: 1.7;
  }
  
  .info-content__highlight {
    padding: var(--space-md);
    margin: var(--space-lg) 0;
  }
  
  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
  }
  
  .category-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

/* =========================================
   DYNAMIC CATEGORY PRODUCTS (from webshop)
   Compact, mobile-first product cards
   ========================================= */

.category-products__loading,
.category-products__empty {
  text-align: center;
  padding: var(--space-2xl);
  color: var(--text-muted);
  font-size: var(--text-base);
}

.category-products__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.category-product {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), color 0.4s var(--ease-out), background-color 0.4s var(--ease-out), border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  position: relative;
}

.category-product::before {
  content: '';
  position: absolute;
  top: -1px; right: -1px; bottom: -1px; left: -1px;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--cta), var(--link));
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s var(--ease-out);
}

.category-product:hover::before {
  opacity: 1;
}

.category-product:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-4px);
  border-color: transparent;
}

.category-product__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.category-product__image {
  position: relative;
  aspect-ratio: 1 / 1;
  background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.category-product__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-md);
  transition: transform 0.5s var(--ease-out);
}

.category-product:hover .category-product__image img {
  transform: scale(1.06);
}

.category-product__badge {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.category-product__badge.product-badge--new { 
  background: linear-gradient(135deg, var(--success, #22c55e), var(--success-emphasis)); 
}
.category-product__badge.product-badge--bestseller { 
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 80%, var(--cta))); 
}
.category-product__badge.product-badge--popular { 
  background: linear-gradient(135deg, var(--cta), var(--link)); 
}
.category-product__badge.product-badge--premium { 
  background: linear-gradient(135deg, #6366f1, var(--badge-new-bg)); 
}
.category-product__badge.product-badge--sale { 
  background: linear-gradient(135deg, var(--error-soft), var(--error)); 
}

.category-product__body {
  padding: var(--space-md) var(--space-lg) var(--space-lg);
}

.category-product__title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--heading);
  margin: 0 0 var(--space-xs);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s var(--ease-out);
}

.category-product:hover .category-product__title {
  color: var(--cta);
}

.category-product__desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin: 0 0 var(--space-md);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.category-product__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding-top: var(--space-md);
  border-top: 1px solid var(--stroke);
}

.category-product__price {
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--cta);
  letter-spacing: -0.02em;
}

.category-product__price--request {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-muted);
}

.category-product__cta {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--cta);
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out), color 0.25s var(--ease-out), background-color 0.25s var(--ease-out), border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

.category-product__cta::after {
  content: '→';
  transition: transform 0.25s var(--ease-out);
}

.category-product:hover .category-product__cta {
  color: var(--link);
}

.category-product:hover .category-product__cta::after {
  transform: translateX(4px);
}

/* Mobile: 2-column compact grid */
@media (max-width: 640px) {
  .category-products__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }

  .category-product {
    border-radius: var(--radius-lg);
  }
  
  .category-product::before {
    display: none;
  }

  .category-product__image {
    aspect-ratio: 1;
  }

  .category-product__image img {
    padding: var(--space-sm);
  }

  .category-product__badge {
    font-size: 8px;
    padding: 3px 8px;
    top: var(--space-xs);
    left: var(--space-xs);
  }

  .category-product__body {
    padding: var(--space-sm) var(--space-md) var(--space-md);
  }

  .category-product__title {
    font-size: var(--text-sm);
    margin-bottom: var(--space-2xs);
  }

  .category-product__desc {
    display: none;
  }

  .category-product__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xs);
    padding-top: var(--space-sm);
  }

  .category-product__price {
    font-size: var(--text-base);
  }

  .category-product__price--request {
    font-size: var(--text-xs);
  }

  .category-product__cta {
    font-size: var(--text-xs);
  }
}

/* ===== FOCUS STATES FOR ACCESSIBILITY ===== */
.product-card:focus-within,
.category-card:focus-within,
.category-product:focus-within,
.benefit-card:focus-within,
.related-category-card:focus-within {
  outline: 2px solid var(--cta);
  outline-offset: 2px;
}

.faq-item__question:focus-visible {
  outline: 2px solid var(--cta);
  outline-offset: -2px;
}

.filter-btn:focus-visible {
  outline: 2px solid var(--cta);
  outline-offset: 2px;
}

/* ===== PRINT STYLES ===== */
@media print {
  .category-hero,
  .trust-bar,
  .category-cta {
    background: white !important;
    color: black !important;
  }
  
  .category-hero::before,
  .category-hero::after,
  .trust-bar::before,
  .category-cta::before,
  .category-cta::after {
    display: none !important;
  }
  
  [data-animate] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* =========================================
   2026 ENHANCED CATEGORY PAGE UX
   Comprehensive Desktop & Mobile Improvements
   ========================================= */

/* ===== IMPROVED CATEGORY HERO ===== */
.category-hero {
  position: relative;
  padding: calc(var(--header-height, 124px) + var(--space-lg)) 0 var(--space-xl);
  background: linear-gradient(135deg, var(--bg) 0%, var(--soft) 100%);
  overflow: hidden;
  border-bottom: 1px solid var(--stroke);
}

.category-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, color-mix(in srgb, var(--cta) 10%, transparent) 0%, transparent 70%);
  opacity: 0.6;
  pointer-events: none;
}

.category-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40%;
  height: 60%;
  background: radial-gradient(circle at 30% 80%, color-mix(in srgb, var(--link) 8%, transparent) 0%, transparent 60%);
  opacity: 0.5;
  pointer-events: none;
}

.category-hero__content {
  position: relative;
  z-index: var(--z-base);
  max-width: 800px;
}

.category-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 6px 14px;
  background: color-mix(in srgb, var(--cta) 12%, var(--card));
  color: var(--cta);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 100px;
  margin-bottom: var(--space-md);
  animation: heroFadeInUp 0.6s ease-out;
}

.category-hero__badge svg {
  width: 14px;
  height: 14px;
}

.category-hero__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 var(--space-sm);
  color: var(--heading);
  letter-spacing: -0.02em;
  animation: heroFadeInUp 0.6s ease-out 0.1s both;
}

.category-hero__subtitle {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 0 var(--space-lg);
  animation: heroFadeInUp 0.6s ease-out 0.2s both;
}

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

/* Hero stats */
.category-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
  margin-bottom: var(--space-lg);
  animation: heroFadeInUp 0.6s ease-out 0.3s both;
}

.category-hero__stat {
  text-align: left;
}

.category-hero__stat-value {
  display: block;
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--cta);
  line-height: 1;
}

.category-hero__stat-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: var(--space-xs);
}

/* Hero actions */
.category-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  animation: heroFadeInUp 0.6s ease-out 0.4s both;
}

.category-hero__actions .btn {
  padding: 14px 28px;
  font-size: var(--text-sm);
  font-weight: 700;
  border-radius: var(--radius);
  transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.category-hero__actions .btn--cta {
  background: var(--cta);
  color: var(--cta-text, #fff);
  border: none;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--cta) 30%, transparent);
}

.category-hero__actions .btn--cta:hover {
  background: var(--cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--cta) 40%, transparent);
}

.category-hero__actions .btn--outline {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--stroke);
}

.category-hero__actions .btn--outline:hover {
  border-color: var(--cta);
  color: var(--cta);
}

/* Hero quicklinks */
.category-hero__quicklinks {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: var(--space-lg);
  animation: heroFadeInUp 0.6s ease-out 0.5s both;
}

.category-hero__quicklink {
  padding: 8px 14px;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 100px;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.category-hero__quicklink:hover {
  background: var(--cta);
  color: #fff;
  border-color: var(--cta);
}

/* ===== ENHANCED TRUST BAR ===== */
.trust-bar {
  padding: var(--space-lg) 0;
  background: var(--card);
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
}

.trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-lg);
}

.trust-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  text-align: center;
  padding: var(--space-sm);
}

.trust-bar__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, color-mix(in srgb, var(--cta) 12%, var(--soft)), color-mix(in srgb, var(--link) 8%, var(--soft)));
  color: var(--cta);
  border-radius: var(--radius-lg);
  transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.trust-bar__item:hover .trust-bar__icon {
  transform: scale(1.08) rotate(3deg);
  background: var(--cta);
  color: #fff;
}

.trust-bar__icon svg {
  width: 24px;
  height: 24px;
}

.trust-bar__text {
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--heading);
}

.trust-bar__subtext {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: 2px;
}

/* ===== ENHANCED PRODUCT SHOWCASE ===== */
.product-showcase {
  padding: var(--space-2xl) 0;
}

.product-showcase__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.product-showcase__title {
  font-size: var(--text-2xl);
  font-weight: 800;
  margin: 0;
  color: var(--heading);
}

.product-showcase__filters {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 18px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--stroke);
  border-radius: 100px;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.filter-btn:hover {
  border-color: var(--cta);
  color: var(--cta);
}

.filter-btn.active {
  background: var(--cta);
  border-color: var(--cta);
  color: #fff;
}

.product-showcase__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
}

/* ===== ENHANCED PRODUCT CARD (Enhanced Version) ===== */
.product-card-enhanced {
  --card-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.product-card-enhanced::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--link), var(--cta));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: var(--z-base);
}

@media (hover: hover) {
  .product-card-enhanced:hover {
    transform: translateY(-6px);
    box-shadow: 
      0 16px 32px color-mix(in srgb, var(--heading) 12%, transparent),
      0 6px 12px color-mix(in srgb, var(--cta) 8%, transparent);
    border-color: transparent;
  }
  
  .product-card-enhanced:hover::before {
    opacity: 1;
  }
  
  .product-card-enhanced:hover .product-card-enhanced__image img {
    transform: scale(1.05);
  }
}

.product-card-enhanced__image {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #fff;
}

.product-card-enhanced__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-md);
  background: #fff;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Badges */
.product-card-enhanced__badges {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: var(--z-base);
}

.product-badge {
  padding: 5px 10px;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 4px;
  letter-spacing: 0.03em;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.product-badge--bestseller {
  background: linear-gradient(135deg, var(--link), color-mix(in srgb, var(--link) 80%, var(--heading)));
  color: #fff;
}

.product-badge--new {
  background: linear-gradient(135deg, var(--success-emphasis), var(--success-dark));
  color: #fff;
}

.product-badge--sale {
  background: linear-gradient(135deg, var(--error-soft), var(--error));
  color: #fff;
}

.product-badge--popular {
  background: linear-gradient(135deg, var(--cta), color-mix(in srgb, var(--cta) 80%, var(--heading)));
  color: #fff;
}

/* Quick actions */
.product-card-enhanced__quick-actions {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  z-index: var(--z-base);
}

.product-card-enhanced:hover .product-card-enhanced__quick-actions {
  opacity: 1;
  transform: translateX(0);
}

.quick-action-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  color: var(--heading);
}

.quick-action-btn:hover {
  background: var(--cta);
  color: #fff;
  transform: scale(1.05);
}

.quick-action-btn svg {
  width: 18px;
  height: 18px;
}

/* Card body */
.product-card-enhanced__body {
  padding: var(--space-lg);
}

.product-card-enhanced__category {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--cta);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-sm);
}

.product-card-enhanced__title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin: 0 0 var(--space-sm);
  line-height: 1.3;
  color: var(--heading);
}

.product-card-enhanced__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.product-card-enhanced__title a:hover {
  color: var(--cta);
}

.product-card-enhanced__desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin: 0 0 var(--space-md);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Feature tags */
.product-card-enhanced__features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.product-feature-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  font-size: var(--text-xs);
  font-weight: 500;
  background: var(--soft);
  color: var(--text);
  border: 1px solid var(--stroke);
  border-radius: 100px;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-feature-tag:hover {
  background: var(--cta);
  color: #fff;
  border-color: var(--cta);
}

/* Card footer */
.product-card-enhanced__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-md);
  border-top: 1px solid var(--stroke);
  gap: var(--space-sm);
}

.product-card-enhanced__price {
  display: flex;
  flex-direction: column;
}

.product-card-enhanced__price-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.product-card-enhanced__price-value {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--heading);
  line-height: 1;
}

.product-card-enhanced__price-value--original {
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-decoration: line-through;
}

/* ===== ENHANCED BENEFITS SECTION ===== */
.benefits-section {
  padding: var(--space-2xl) 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--soft) 100%);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.benefit-card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px color-mix(in srgb, var(--heading) 10%, transparent);
  border-color: color-mix(in srgb, var(--cta) 30%, var(--stroke));
}

.benefit-card__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, color-mix(in srgb, var(--cta) 12%, var(--soft)), color-mix(in srgb, var(--link) 8%, var(--soft)));
  color: var(--cta);
  border-radius: var(--radius-lg);
  margin: 0 auto var(--space-lg);
  transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover .benefit-card__icon {
  transform: scale(1.1) rotate(3deg);
  background: var(--cta);
  color: #fff;
}

.benefit-card__icon svg {
  width: 28px;
  height: 28px;
}

.benefit-card__title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin: 0 0 var(--space-sm);
  color: var(--heading);
}

.benefit-card__desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ===== ENHANCED FAQ SECTION ===== */
.faq-section {
  padding: var(--space-2xl) 0;
}

.faq-section__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-xl);
}

.faq-section__title {
  font-size: var(--text-2xl);
  font-weight: 800;
  margin: 0 0 var(--space-sm);
  color: var(--heading);
}

.faq-section__subtitle {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-md);
  overflow: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 16px color-mix(in srgb, var(--heading) 8%, transparent);
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg);
  background: var(--card);
  border: none;
  text-align: left;
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--heading);
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  gap: var(--space-md);
}

.faq-item__question:hover {
  background: var(--soft);
}

.faq-item__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--cta);
  transition: transform 0.3s ease;
}

.faq-item[open] .faq-item__icon {
  transform: rotate(180deg);
}

.faq-item__answer {
  padding: 0 var(--space-lg) var(--space-lg);
  color: var(--text-muted);
  line-height: 1.8;
  font-size: var(--text-sm);
}

/* ===== ENHANCED CTA SECTION ===== */
.category-cta {
  padding: var(--space-2xl) 0;
  background: linear-gradient(135deg, var(--cta), color-mix(in srgb, var(--cta) 75%, var(--heading)));
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.category-cta::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.category-cta::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.category-cta__content {
  position: relative;
  z-index: var(--z-base);
  max-width: 700px;
  margin: 0 auto;
}

.category-cta__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin: 0 0 var(--space-md);
  line-height: 1.2;
}

.category-cta__subtitle {
  font-size: var(--text-lg);
  opacity: 0.9;
  margin: 0 0 var(--space-xl);
  line-height: 1.7;
}

.category-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

.category-cta .btn--primary {
  background: #fff;
  color: var(--cta);
  border: none;
  padding: 14px 28px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.category-cta .btn--primary:hover {
  background: var(--soft);
  transform: translateY(-2px);
}

.category-cta .btn--outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
  padding: 12px 26px;
}

.category-cta .btn--outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

/* ===== MOBILE CATEGORY PAGE OPTIMIZATIONS ===== */
@media (max-width: 768px) {
  .category-hero {
    padding: calc(var(--header-height, 60px) + var(--space-md)) 0 var(--space-lg);
  }
  
  .category-hero__content {
    display: flex;
    flex-direction: column;
  }
  
  .category-hero__badge {
    order: 0;
    align-self: flex-start;
    font-size: 10px;
    padding: 4px 10px;
    margin-bottom: var(--space-sm);
  }
  
  .category-hero__title {
    order: 1;
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: var(--space-sm);
  }
  
  .category-hero__subtitle {
    order: 2;
    font-size: var(--text-sm);
    margin-bottom: var(--space-md);
    line-height: 1.6;
  }
  
  .category-hero__stats {
    order: 3;
    gap: var(--space-lg);
    margin-bottom: var(--space-md);
  }
  
  .category-hero__stat-value {
    font-size: var(--text-xl);
  }
  
  .category-hero__stat-label {
    font-size: var(--text-xs);
  }
  
  .category-hero__actions {
    order: 4;
    flex-direction: column;
  }
  
  .category-hero__actions .btn {
    width: 100%;
    padding: 12px 24px;
    justify-content: center;
  }
  
  .category-hero__quicklinks {
    order: 5;
    margin-top: var(--space-md);
    justify-content: center;
  }
  
  .category-hero__quicklink {
    font-size: 11px;
    padding: 6px 12px;
  }
  
  /* Trust bar mobile */
  .trust-bar {
    padding: var(--space-md) 0;
  }
  
  .trust-bar__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }
  
  .trust-bar__item {
    padding: var(--space-xs);
  }
  
  .trust-bar__icon {
    width: 44px;
    height: 44px;
  }
  
  .trust-bar__icon svg {
    width: 20px;
    height: 20px;
  }
  
  .trust-bar__text {
    font-size: var(--text-xs);
  }
  
  /* Product showcase mobile */
  .product-showcase {
    padding: var(--space-lg) 0;
  }
  
  .product-showcase__header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
  }
  
  .product-showcase__title {
    font-size: var(--text-xl);
  }
  
  .product-showcase__filters {
    width: 100%;
    overflow-x: auto;
    padding-bottom: var(--space-xs);
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  
  .filter-btn {
    padding: 8px 14px;
    font-size: var(--text-xs);
    white-space: nowrap;
  }
  
  .product-showcase__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }
  
  /* Product card enhanced mobile */
  .product-card-enhanced {
    --card-radius: var(--radius);
  }
  
  .product-card-enhanced__image {
    aspect-ratio: 1;
  }
  
  .product-card-enhanced__image img {
    padding: var(--space-sm);
  }
  
  .product-card-enhanced__badges {
    top: var(--space-xs);
    left: var(--space-xs);
  }
  
  .product-badge {
    font-size: 9px;
    padding: 3px 6px;
  }
  
  .product-card-enhanced__quick-actions {
    display: none;
  }
  
  .product-card-enhanced__body {
    padding: var(--space-sm);
  }
  
  .product-card-enhanced__category {
    display: none;
  }
  
  .product-card-enhanced__title {
    font-size: var(--text-xs);
    margin-bottom: 4px;
  }
  
  .product-card-enhanced__desc {
    display: none;
  }
  
  .product-card-enhanced__features {
    display: none;
  }
  
  .product-card-enhanced__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xs);
    padding-top: var(--space-xs);
    border-top: none;
  }
  
  .product-card-enhanced__price-label {
    display: none;
  }
  
  .product-card-enhanced__price-value {
    font-size: var(--text-sm);
  }
  
  .product-card-enhanced__footer .btn {
    width: 100%;
    font-size: 11px;
    padding: 8px;
    min-height: 36px;
  }
  
  /* Benefits mobile */
  .benefits-section {
    padding: var(--space-lg) 0;
  }
  
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }
  
  .benefit-card {
    padding: var(--space-md);
  }
  
  .benefit-card__icon {
    width: 48px;
    height: 48px;
    margin-bottom: var(--space-sm);
  }
  
  .benefit-card__icon svg {
    width: 22px;
    height: 22px;
  }
  
  .benefit-card__title {
    font-size: var(--text-sm);
    margin-bottom: var(--space-xs);
  }
  
  .benefit-card__desc {
    font-size: var(--text-xs);
    display: none;
  }
  
  /* FAQ mobile */
  .faq-section {
    padding: var(--space-lg) 0;
  }
  
  .faq-section__header {
    margin-bottom: var(--space-lg);
  }
  
  .faq-section__title {
    font-size: var(--text-xl);
  }
  
  .faq-section__subtitle {
    font-size: var(--text-sm);
  }
  
  .faq-item {
    border-radius: var(--radius);
    margin-bottom: var(--space-sm);
  }
  
  .faq-item__question {
    padding: var(--space-md);
    font-size: var(--text-sm);
  }
  
  .faq-item__answer {
    padding: 0 var(--space-md) var(--space-md);
    font-size: var(--text-xs);
  }
  
  /* CTA section mobile */
  .category-cta {
    padding: var(--space-xl) 0;
  }
  
  .category-cta__title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-sm);
  }
  
  .category-cta__subtitle {
    font-size: var(--text-sm);
    margin-bottom: var(--space-lg);
  }
  
  .category-cta__actions {
    flex-direction: column;
  }
  
  .category-cta .btn--primary,
  .category-cta .btn--outline {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .trust-bar__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xs);
  }
  
  .trust-bar__item {
    flex-direction: row;
    text-align: left;
    gap: var(--space-sm);
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }
  
  .benefit-card {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: var(--space-sm);
    text-align: left;
    padding: var(--space-sm);
  }
  
  .benefit-card__icon {
    margin: 0;
    grid-row: span 2;
  }
  
  .benefit-card__title {
    margin: 0;
    align-self: end;
  }
  
  .benefit-card__desc {
    display: block;
    align-self: start;
  }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  .category-hero__badge,
  .category-hero__title,
  .category-hero__subtitle,
  .category-hero__stats,
  .category-hero__actions,
  .category-hero__quicklinks,
  .product-card-enhanced,
  .product-card-enhanced__image img,
  .benefit-card,
  .trust-bar__icon,
  .faq-item__icon {
    animation: none;
    transition: none;
  }
}

.category-hero__quicklink:focus-visible,
.filter-btn:focus-visible,
.faq-item__question:focus-visible,
.quick-action-btn:focus-visible {
  outline: 2px solid var(--cta);
  outline-offset: 2px;
}
