:root {
  --aurora-ink: var(--theme-text, #24221f);
  --aurora-paper: var(--theme-background, #faf7f0);
  --aurora-accent: var(--theme-brand, #a64f2d);
  --aurora-sage: #66735a;
  --aurora-line: color-mix(in srgb, var(--aurora-ink) 14%, transparent);
}

[data-theme="aurora-commerce"] {
  background: var(--aurora-paper);
  color: var(--aurora-ink);
  font-family: var(--theme-font, Inter, system-ui, sans-serif);
  letter-spacing: -.01em;
}

[data-theme="aurora-commerce"] .theme-container {
  width: min(var(--theme-container, 1360px), calc(100% - 40px));
  margin-inline: auto;
}

[data-theme="aurora-commerce"] :is(button, .button) {
  min-height: 46px;
  border-radius: var(--theme-radius, 4px);
  transition: transform .2s ease, background-color .2s ease;
}

[data-theme="aurora-commerce"] :is(button, .button):active { transform: scale(.98); }
[data-theme="aurora-commerce"] img { background: #eee9df; }
[data-theme="aurora-commerce"] .product-card { overflow: hidden; border: 1px solid var(--aurora-line); border-radius: var(--theme-radius, 4px); background: #fff; }
[data-theme="aurora-commerce"] .product-card img { aspect-ratio: 1; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
[data-theme="aurora-commerce"] .product-card:hover img { transform: scale(1.025); }
[data-theme="aurora-commerce"] :focus-visible { outline: 3px solid color-mix(in srgb, var(--aurora-accent) 50%, transparent); outline-offset: 3px; }

@media (max-width: 767px) {
  [data-theme="aurora-commerce"] .theme-container { width: min(100% - 24px, var(--theme-container, 1360px)); }
}

@media (prefers-reduced-motion: reduce) {
  [data-theme="aurora-commerce"] * { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
