/* ==========================================================================
   Cachay Store · Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--font-body);
  background: var(--bg-950);
  color: var(--ink-on-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

:focus-visible {
  outline: 2px solid var(--red-400);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}
@media (min-width: 768px) { .container { padding-inline: var(--sp-8); } }

.section-light { background: var(--bg-white); color: var(--ink-on-light); }
.section-fog { background: var(--bg-fog); color: var(--ink-on-light); }
.section-dark { background: var(--bg-950); color: var(--ink-on-dark); }
.section-dark-alt { background: var(--bg-900); color: var(--ink-on-dark); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-mono);
  font-size: var(--fs-2xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-500);
  font-weight: 700;
}
.eyebrow::before {
  content: "";
  width: 18px; height: 2px;
  background: var(--red-500);
  border-radius: 2px;
}

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

.skip-link {
  position: fixed; top: -60px; left: var(--sp-4);
  background: var(--red-500); color: oklch(100% 0 0);
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--radius-sm);
  z-index: var(--z-toast);
  transition: top var(--dur-base) var(--ease-out);
  font-weight: 600;
}
.skip-link:focus { top: var(--sp-4); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: var(--fs-sm);
  white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
  min-height: 44px;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--red-500);
  color: oklch(100% 0 0);
  box-shadow: var(--shadow-red);
}
.btn-primary:hover { background: var(--red-400); }

.btn-ghost-dark {
  background: oklch(100% 0 0 / 0.06);
  color: var(--ink-on-dark);
  border: 1px solid oklch(100% 0 0 / 0.16);
  backdrop-filter: blur(8px);
}
.btn-ghost-dark:hover { background: oklch(100% 0 0 / 0.12); }

.btn-outline {
  background: transparent;
  color: var(--ink-on-light);
  border: 1.5px solid var(--line-light);
}
.btn-outline:hover { border-color: var(--ink-on-light); }

.btn-whatsapp {
  background: oklch(66% 0.16 149);
  color: oklch(100% 0 0);
}
.btn-whatsapp:hover { background: oklch(70% 0.17 149); }

.btn-sm { padding: 0.6rem 1.1rem; font-size: var(--fs-xs); min-height: 36px; }
.btn-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
}

.price {
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.32em 0.65em;
  border-radius: var(--radius-pill);
}
.badge-red { background: oklch(56% 0.21 27 / 0.16); color: var(--red-400); }
.badge-outline { background: transparent; border: 1px solid currentColor; opacity: 0.85; }
.badge-muted { background: oklch(100% 0 0 / 0.08); color: var(--ink-on-dark-dim); }

.sr-loading-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
  animation: pulse-dot 1.1s ease-in-out infinite;
}
@keyframes pulse-dot { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

::selection { background: var(--red-500); color: oklch(100% 0 0); }

/* scrollbar (webkit) - subtle, not intrusive */
.hscroll::-webkit-scrollbar { height: 0; }
.hscroll { scrollbar-width: none; -ms-overflow-style: none; }
