/* ============================================================
   VORUS — shop stylesheet
   Layered on top of article.css (tokens, header, nav, footer,
   .btn, .eyebrow). Styles the product grid + interest capture.
   ============================================================ */

.shop-hero { padding-block: clamp(3rem, 8vh, 5.5rem) clamp(1.5rem, 4vh, 2.5rem); }
.shop-hero h1 { font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4rem); margin-bottom: 1.2rem; max-width: 16ch; }
.shop-hero .lede { color: var(--ink-soft); font-size: clamp(1.05rem, 1rem + 0.5vw, 1.3rem); max-width: 54ch; margin: 0; }

/* ---------- product grid ---------- */
.products {
  display: grid; gap: clamp(1.5rem, 4vw, 2.5rem);
  grid-template-columns: repeat(2, 1fr);
  padding-bottom: clamp(3rem, 8vh, 5rem);
}
@media (max-width: 720px) {
  .products { grid-template-columns: 1fr; }
}

.product {
  background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.product:hover { border-color: var(--sage-mid); box-shadow: 0 18px 40px -28px rgba(42,40,35,0.5); }

/* image sits on a warm well so the lifestyle shots glow */
.product-media {
  position: relative;
  background: var(--paper-deep);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.product-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.product-badge {
  position: absolute; top: 0.9rem; left: 0.9rem;
  font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 700;
  color: var(--paper); background: color-mix(in srgb, var(--ink) 88%, transparent);
  padding: 0.4rem 0.7rem; border-radius: 50px;
  display: inline-flex; align-items: center; gap: 0.4rem;
  backdrop-filter: blur(4px);
}
.product-badge::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--stone);
}

.product-body { padding: 1.6rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.product-meta {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--stone); margin: 0 0 0.7rem;
}
.product h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.7rem); margin-bottom: 0.6rem; }
.product-desc { margin: 0 0 1.1rem; color: var(--ink-soft); font-size: 0.98rem; line-height: 1.6; }

/* spec chips */
.product-specs { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0 0 1.4rem; padding: 0; list-style: none; }
.product-specs li {
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--sage);
  border: 1px solid var(--line); border-radius: 50px;
  padding: 0.32rem 0.7rem; background: color-mix(in srgb, var(--sage) 7%, transparent);
}

.product-price {
  font-family: var(--font-mono); font-weight: 700; color: var(--ink);
  font-size: 1.15rem; display: flex; align-items: baseline; gap: 0.6rem;
  margin: 0 0 1.3rem;
}
.product-price .stock {
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--stone);
}

/* push the interest block to the bottom so cards align */
.product-cta { margin-top: auto; }

/* ---------- interest capture ---------- */
.interest { }
.interest-prompt {
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.04em;
  color: var(--ink-soft); margin: 0 0 0.7rem;
}
.interest-row {
  display: flex; gap: 0.5rem; background: var(--paper);
  border: 1.5px solid var(--line); border-radius: 50px;
  padding: 0.4rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.interest-row:focus-within { border-color: var(--sage); box-shadow: 0 0 0 4px color-mix(in srgb, var(--sage) 14%, transparent); }
.interest-row input[type="email"] {
  flex: 1; min-width: 0; border: 0; background: transparent;
  font-family: var(--font-body); font-size: 16px; color: var(--ink);
  padding: 0.5rem 0.85rem;
}
.interest-row input[type="email"]::placeholder { color: color-mix(in srgb, var(--ink-soft) 75%, transparent); }
.interest-row input[type="email"]:focus { outline: none; }
.interest-row .btn { padding: 0.65rem 1.1rem; }

.interest-note {
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.03em;
  color: var(--stone); margin: 0.8rem 0 0;
}
.interest-note a { color: var(--sage); text-decoration: none; }
.interest-note a:hover { text-decoration: underline; }

/* visually-hidden honeypot */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* button busy state */
.btn[aria-busy="true"] { opacity: 0.7; cursor: progress; }

/* inline error */
.interest-error {
  display: none; font-family: var(--font-mono); font-size: 0.7rem;
  color: #8a3b2e; margin: 0.7rem 0 0;
}
.interest.has-error .interest-error { display: block; }

/* success state replaces the row */
.interest-success {
  display: none; align-items: center; gap: 0.7rem;
  background: color-mix(in srgb, var(--sage) 14%, var(--paper));
  border: 1.5px solid var(--sage); border-radius: var(--radius);
  padding: 0.9rem 1.1rem; color: var(--ink); font-size: 0.92rem;
}
.interest.is-success .interest-row,
.interest.is-success .interest-prompt,
.interest.is-success .interest-note { display: none; }
.interest.is-success .interest-success { display: flex; }
.interest-success .tick {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--sage); color: var(--paper);
  display: grid; place-items: center; font-size: 0.75rem; font-weight: 700;
}

/* ---------- restock note band ---------- */
.shop-note {
  border-top: 1px solid var(--line);
  padding-block: clamp(2rem, 5vh, 3rem);
  font-family: var(--font-mono); font-size: 0.8rem; color: var(--ink-soft);
  line-height: 1.8; max-width: 56ch;
}
.shop-note a { color: var(--sage); text-decoration: none; }
.shop-note a:hover { text-decoration: underline; }
