/* Editorial type-utilities */
body { font-family: 'Geist', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }

.ed-display {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.ed-italic {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
}
.ed-small-caps {
  font-family: 'Geist', system-ui, sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}
.ed-tabular { font-variant-numeric: tabular-nums; }
.ed-mono    { font-family: 'Geist Mono', ui-monospace, monospace; }

.ed-grain {
  background-image:
    radial-gradient(rgba(120,90,50,0.04) 1px, transparent 1px),
    radial-gradient(rgba(120,90,50,0.03) 1px, transparent 1px);
  background-size: 22px 22px, 41px 41px;
  background-position: 0 0, 11px 11px;
}

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { scrollbar-width: none; }

/* Shopping list — editorial restyle */
.shopping { list-style: none; padding: 0; margin: 0; }
.shopping .item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid #E8DFCE;  /* ink-divider */
  cursor: pointer;
  user-select: none;
  background: #FFFCF6;               /* paper */
}
.shopping .item:last-child { border-bottom: 0; }
.shopping .item .check {
  width: 20px; height: 20px;
  border: 1px solid #9B8E80;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: white;
  flex-shrink: 0;
  margin-top: 2px;
  background: transparent;
}
.shopping .item.checked .check {
  background: #3F5320;     /* olive-700 */
  border-color: #3F5320;
}
.shopping .item.checked .name { color: #9B8E80; text-decoration: line-through; }
.shopping .item .name { flex: 1; line-height: 1.3; color: #1F1813; }
.shopping .item input[type=hidden] { display: none; }

/* Swipe-card */
.swipe-card {
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
  will-change: transform;
}
.swipe-card:active { cursor: grabbing; }

.swipe-hint {
  position: absolute;
  top: 28px;
  font-family: 'Geist', system-ui, sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  opacity: 0;
  transition: opacity 100ms;
  pointer-events: none;
  background: rgba(255,252,246,0.95);
}
.swipe-hint.hint-left  { left: 24px;  color: #9F3208; border: 1.5px solid #9F3208; transform: rotate(-6deg); }
.swipe-hint.hint-right { right: 24px; color: #3F5320; border: 1.5px solid #3F5320; transform: rotate(8deg); }
.swipe-card.hint-discard .swipe-hint.hint-left  { opacity: 1; }
.swipe-card.hint-save    .swipe-hint.hint-right { opacity: 1; }

/* ─── iPhone-mockups (login/signup landing) ─── */
.iphone {
  width: 240px;
  flex-shrink: 0;
  background: #1F1813;
  border-radius: 38px;
  padding: 9px;
  position: relative;
  box-shadow:
    0 25px 50px -12px rgba(60,40,20,0.35),
    inset 0 0 0 1.5px rgba(255,255,255,0.08);
}
.iphone-screen {
  position: relative;
  background: #F5EFE2;
  border-radius: 30px;
  overflow: hidden;
  height: 480px;
}
.iphone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 18px;
  background: #1F1813;
  border-radius: 50px;
  z-index: 30;
}
.iphone-status {
  position: relative;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 22px 6px;
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #1F1813;
}
.iphone-status .signal {
  display: inline-flex;
  align-items: end;
  gap: 1.5px;
  height: 9px;
}
.iphone-status .signal span {
  width: 2.5px;
  background: currentColor;
  border-radius: 0.5px;
}
.iphone-status .signal span:nth-child(1) { height: 30%; }
.iphone-status .signal span:nth-child(2) { height: 55%; }
.iphone-status .signal span:nth-child(3) { height: 80%; }
.iphone-status .signal span:nth-child(4) { height: 100%; }
.iphone-status .battery {
  display: inline-flex;
  align-items: center;
  border: 1px solid currentColor;
  border-radius: 2.5px;
  width: 22px;
  height: 10px;
  padding: 1px;
  position: relative;
}
.iphone-status .battery::after {
  content: '';
  position: absolute;
  right: -3px; top: 3px;
  width: 1.5px; height: 4px;
  background: currentColor;
  border-radius: 0 1px 1px 0;
}
.iphone-status .battery::before {
  content: '';
  display: block;
  height: 100%;
  width: 75%;
  background: currentColor;
  border-radius: 1px;
}

/* Subtiele angled stagger op desktop */
@media (min-width: 768px) {
  .iphone-stack .iphone:nth-child(1) { transform: rotate(-4deg) translateY(20px); }
  .iphone-stack .iphone:nth-child(2) { transform: rotate(0deg)  translateY(-10px); z-index: 2; }
  .iphone-stack .iphone:nth-child(3) { transform: rotate(4deg)  translateY(20px); }
}

/* Legacy star-rating (de oude /ratings pagina blijft werken) */
.stars { display: inline-flex; gap: 2px; }
.star {
  font-size: 1.4rem;
  line-height: 1;
  color: #E0D2B0;          /* cream-300 */
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0 2px;
  transition: color 80ms;
}
.star.on { color: #C2410C; }  /* terra-500 */
.star:hover { color: #9F3208; } /* terra-600 */
