/* Ember Terrarium — Appily Sixtyfour shared tokens (warm dark organic glass) */

body.a64-store {
  --et-void: #1C110D;
  --et-soil: #2A1A14;
  --et-glass: rgba(48, 28, 20, 0.58);
  --et-frost: rgba(255, 236, 214, 0.09);
  --et-line: rgba(255, 214, 170, 0.2);
  --et-mist: #F6EDE4;
  --et-mute: #C4A992;
  --et-clay: #E07A5F;
  --et-moss: #7BAF7B;
  --et-honey: #F0C27A;
  --et-radius: 1.75rem;
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'Onest', system-ui, sans-serif;
  --container: 1120px;

  --ts-ink: var(--et-mist);
  --ts-paper: var(--et-void);
  --ts-surface: var(--et-soil);
  --ts-muted: var(--et-mute);
  --ts-line: var(--et-line);
  --ts-wine: var(--et-clay);
  --ts-wine-dark: #c46248;
  --ts-gold: var(--et-honey);
  --ts-grove: var(--et-moss);
  --ts-grove-deep: #5a8a5a;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body.a64-store {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--et-mist);
  background-color: var(--et-void);
  background-image:
    radial-gradient(ellipse 80% 50% at 0% 0%, rgba(224, 122, 95, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 10%, rgba(123, 175, 123, 0.12), transparent 50%),
    radial-gradient(ellipse 50% 60% at 70% 100%, rgba(240, 194, 122, 0.08), transparent 55%);
  min-height: 100vh;
}

body.a64-store a {
  color: var(--et-honey);
  text-decoration: none;
}

body.a64-store a:hover { color: var(--et-clay); }

.a64-terra-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-left: 4.5rem;
}

.page-main { flex: 1; }

.container {
  width: min(100% - 2.4rem, var(--container));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--et-mist);
}

.a64-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--et-clay), #c46248);
  color: #1C110D;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
}

.a64-btn:hover { filter: brightness(1.08); color: #1C110D; }

.a64-btn-ghost {
  background: var(--et-frost);
  border-color: var(--et-line);
  color: var(--et-mist);
  backdrop-filter: blur(16px);
}

.a64-card {
  display: flex;
  flex-direction: column;
  background: var(--et-glass);
  border: 1px solid var(--et-line);
  border-radius: 42% 28% 48% 32% / 32% 48% 28% 42%;
  overflow: hidden;
  backdrop-filter: blur(18px);
}

.a64-card:nth-child(3n+2) { border-radius: 28% 48% 32% 42% / 48% 28% 42% 32%; }
.a64-card:nth-child(3n+3) { border-radius: 48% 32% 28% 42% / 28% 42% 48% 32%; }
.a64-card-span-2 { grid-column: span 2; }

.a64-card-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--et-soil);
}

.a64-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.a64-card-badge {
  position: absolute;
  left: 0.7rem;
  top: 0.7rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(28, 17, 13, 0.72);
  color: var(--et-honey);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.a64-card-body { padding: 1rem 1.1rem 1.15rem; }

.a64-card-aisle {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--et-mute);
}

.a64-card h3 { margin: 0.35rem 0 0.5rem; font-size: 1.15rem; }
.a64-card h3 a { color: var(--et-mist); }
.a64-card-price { font-weight: 700; color: var(--et-honey); }

@media (max-width: 900px) {
  .a64-terra-wrap { padding-left: 0; }
}
