/* ═══════════════════════════════════════════
   PRODUCTS.CSS — Product listing page
═══════════════════════════════════════════ */

.products-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.products-eyebrow::after {
  content: '';
  display: block;
  height: 1px; width: 36px;
  background: var(--accent);
  opacity: 0.5;
}
.products-title {
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: -0.025em;
  margin-bottom: 32px;
}
.products-title strong { font-weight: 500; }

/* ── TABS ── */
.tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 36px;
}
.tab-btn {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 10px 22px 12px;
  border: none;
  background: none;
  position: relative;
  transition: color var(--t);
  white-space: nowrap;
  cursor: pointer;
}
.tab-btn::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--t);
}
.tab-btn:hover { color: var(--text-2); }
.tab-btn.active {
  color: var(--text-1);
  font-weight: 500;
}
.tab-btn.active::after { transform: scaleX(1); }

/* ── PRODUCT GRID ── */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.prod-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--t);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  color: inherit;
  opacity: 0;
  animation: fadeUp 0.45s forwards;
}
.prod-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--border-mid);
}
.prod-card:hover .prod-arrow {
  opacity: 1;
  transform: translate(0, 0);
}
.prod-card:hover .prod-name { color: var(--accent); }
.prod-card:hover .prod-img-wrap::before { opacity: 1; }

/* Image wrapper */
.prod-img-wrap {
  position: relative;
  aspect-ratio: 1 / 0.82;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: hidden;
}
.prod-img-wrap::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 60%, var(--accent-dim) 0%, transparent 68%);
  opacity: 0;
  transition: opacity var(--t);
}

.prod-badge {
  position: absolute;
  top: 10px; right: 10px;
  font-family: 'DM Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  color: var(--text-3);
  text-transform: uppercase;
}
.prod-zone-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--accent-dim);
  color: var(--accent);
  font-family: 'DM Mono', monospace;
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 4px;
  border: 1px solid rgba(240, 180, 0, 0.2);
}

.prod-img {
  max-width: 100%;
  max-height: 180px;
  object-fit: contain;
  position: relative;
  z-index: 1;
}
/* #info default 130px max height was too small on desktop*/


/* Card footer */
.prod-info {
  padding: 12px 14px 14px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}
.prod-name {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-1);
  line-height: 1.35;
  transition: color var(--t);
}
.prod-arrow {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid var(--border-mid);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: all var(--t);
  color: var(--accent);
}
.prod-arrow svg { width: 10px; height: 10px; }

.prod-card.hidden { display: none; }

/* Stagger animation */
.prod-card:nth-child(1)  { animation-delay: 0.03s; }
.prod-card:nth-child(2)  { animation-delay: 0.07s; }
.prod-card:nth-child(3)  { animation-delay: 0.11s; }
.prod-card:nth-child(4)  { animation-delay: 0.15s; }
.prod-card:nth-child(5)  { animation-delay: 0.19s; }
.prod-card:nth-child(6)  { animation-delay: 0.23s; }
.prod-card:nth-child(7)  { animation-delay: 0.27s; }
.prod-card:nth-child(8)  { animation-delay: 0.31s; }
.prod-card:nth-child(9)  { animation-delay: 0.35s; }
.prod-card:nth-child(10) { animation-delay: 0.39s; }
.prod-card:nth-child(11) { animation-delay: 0.43s; }
.prod-card:nth-child(12) { animation-delay: 0.47s; }
.prod-card:nth-child(13) { animation-delay: 0.51s; }
.prod-card:nth-child(14) { animation-delay: 0.55s; }