/* ============================================================
   Drops — collections index (drops.php) + single drop (drop.php)
   ============================================================ */

/* ── Hero ──────────────────────────────────────────────────── */
.dp-hero {
  position: relative;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
}
.dp-hero-bg { position: absolute; inset: 0; }
.dp-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.38; }
.dp-hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 75% 20%, rgba(240, 103, 36, 0.28) 0, transparent 60%),
    linear-gradient(180deg, rgba(26, 17, 16, 0.55) 0%, rgba(26, 17, 16, 0.92) 100%);
}
.dp-hero.is-ended .dp-hero-bg img { filter: grayscale(0.7); opacity: 0.25; }
.dp-hero-inner {
  position: relative;
  z-index: 1;
  padding: 40px 20px 56px;
  max-width: 820px;
}
.dp-breadcrumb {
  display: flex; align-items: center; gap: 7px;
  font-size: 12px; color: rgba(253, 243, 227, 0.55);
  margin-bottom: 22px;
}
.dp-breadcrumb a { color: rgba(253, 243, 227, 0.75); }
.dp-breadcrumb a:hover { color: var(--cream); }
.dp-breadcrumb [aria-current="page"] { color: var(--cream); font-weight: 600; }

.dp-state-chip {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  border-radius: 999px; padding: 6px 14px;
  margin-bottom: 14px;
}
.dp-state-live     { background: rgba(34, 197, 94, 0.16); color: #4ade80; border: 1px solid rgba(74, 222, 128, 0.35); }
.dp-state-upcoming { background: rgba(15, 158, 218, 0.16); color: #7dd3fc; border: 1px solid rgba(125, 211, 252, 0.35); }
.dp-state-ended    { background: rgba(253, 243, 227, 0.1);  color: rgba(253, 243, 227, 0.65); border: 1px solid rgba(253, 243, 227, 0.2); }

.dp-eyebrow {
  font-family: var(--font-display);
  font-size: 12.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--orange);
  margin-bottom: 10px;
}
.dp-title {
  font-family: var(--font-editorial);
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1.02;
  margin-bottom: 14px;
}
.dp-tagline {
  font-size: 16px;
  color: rgba(253, 243, 227, 0.78);
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 18px;
}
.dp-curator {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13.5px; color: rgba(253, 243, 227, 0.7);
  margin-bottom: 22px;
}
.dp-curator img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; border: 1.5px solid rgba(253, 243, 227, 0.4); }
.dp-curator strong { color: var(--cream); }
.dp-curator:hover strong { color: var(--orange); }

.dp-cd-label {
  font-family: var(--font-display);
  font-size: 11.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: rgba(253, 243, 227, 0.55);
  margin-bottom: 10px;
}
.dp-countdown { margin-bottom: 22px; }

.dp-hero-actions { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 4px; }
.dp-all-link { font-family: var(--font-display); font-size: 13.5px; font-weight: 700; color: var(--orange); }
.dp-all-link:hover { color: var(--cream); }

/* Notify */
.dp-notify { margin: 4px 0 22px; max-width: 440px; }
.dp-notify-hint { font-size: 13.5px; color: rgba(253, 243, 227, 0.7); margin-bottom: 10px; }
.dp-notify-form { display: flex; gap: 10px; flex-wrap: wrap; }
.dp-notify-input {
  flex: 1; min-width: 200px;
  border: 1.5px solid rgba(253, 243, 227, 0.25);
  background: rgba(253, 243, 227, 0.08);
  color: var(--cream);
  border-radius: 999px;
  padding: 12px 18px;
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
}
.dp-notify-input::placeholder { color: rgba(253, 243, 227, 0.4); }
.dp-notify-input:focus { border-color: var(--orange); }
.dp-notify-feedback { font-size: 13px; margin-top: 9px; color: #4ade80; font-weight: 600; }
.dp-notify-feedback.error { color: #fca5a5; }
.dp-notify-done { font-size: 14px; color: #4ade80; font-weight: 600; }

/* Claimed meter */
.dp-meter { max-width: 440px; margin-top: 6px; }
.dp-meter-row {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 13px; color: rgba(253, 243, 227, 0.75);
  margin-bottom: 7px;
}
.dp-meter-row strong { color: var(--orange); font-family: var(--font-display); }
.dp-meter-track { height: 8px; background: rgba(253, 243, 227, 0.14); border-radius: 999px; overflow: hidden; }
.dp-meter-fill { height: 100%; background: linear-gradient(90deg, var(--orange), var(--gold)); border-radius: 999px; }

/* ── Story ─────────────────────────────────────────────────── */
.dp-story { background: var(--cream-deep); padding: 48px 0; }
.dp-story-inner { max-width: 720px; }
.dp-story p { font-size: 15px; line-height: 1.8; color: var(--ink-soft); margin-bottom: 14px; }

.dp-section-title {
  font-family: var(--font-editorial);
  font-size: clamp(24px, 3.4vw, 34px);
  color: var(--ink);
  margin-bottom: 14px;
}
.dp-section-title em { color: var(--maroon); font-style: italic; }
.dp-count { font-size: 0.55em; color: var(--ink-soft); font-family: var(--font-display); vertical-align: 6px; }

/* ── Pieces grid ───────────────────────────────────────────── */
.dp-pieces { padding: 48px 0 60px; }
.dp-pieces-head { margin-bottom: 24px; }
.dp-pieces-head .dp-section-title { margin-bottom: 6px; }
.dp-pieces-note { font-size: 13.5px; color: var(--ink-soft); max-width: 560px; line-height: 1.6; }

.dp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(225px, 1fr));
  gap: 18px;
}
.dp-card {
  background: var(--paper);
  border: 1px solid rgba(123, 51, 49, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.dp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.dp-card.is-gone img { filter: grayscale(0.85); opacity: 0.6; }
.dp-card.is-locked img { filter: blur(0px) saturate(0.7); }
.dp-card-media { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--cream-deep); }
.dp-card-media a { display: block; width: 100%; height: 100%; }
.dp-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; }
.dp-card:hover .dp-card-media img { transform: scale(1.04); }
.dp-card-noimg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 40px; }
.dp-card-badge {
  position: absolute; top: 10px; left: 10px;
  font-family: var(--font-display);
  font-size: 10.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  border-radius: 999px; padding: 5px 10px;
}
.dp-card-badge.one    { background: var(--ink); color: var(--cream); }
.dp-card-badge.gone   { background: rgba(26, 17, 16, 0.8); color: var(--cream); }
.dp-card-badge.locked { background: rgba(15, 158, 218, 0.92); color: #fff; }
.dp-card-fav {
  position: absolute; top: 10px; right: 10px;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: var(--maroon);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
}
.dp-card-fav:hover, .dp-card-fav.loved { background: var(--maroon); color: #fff; }
.dp-card-body { padding: 13px 14px 15px; }
.dp-card-brand {
  font-family: var(--font-display);
  font-size: 10.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.09em;
  color: var(--orange);
}
.dp-card-name { font-size: 14px; font-weight: 600; line-height: 1.35; margin: 3px 0 4px; }
.dp-card-name a { color: var(--ink); }
.dp-card-name a:hover { color: var(--maroon); }
.dp-card-meta { font-size: 12px; color: var(--ink-soft); margin-bottom: 9px; }
.dp-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dp-card-price { font-family: var(--font-display); font-size: 14.5px; font-weight: 700; color: var(--ink); }
.dp-card-price s { font-size: 11.5px; color: var(--ink-soft); font-weight: 500; margin-left: 4px; }
.dp-card-add {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--ink);
  color: var(--cream);
  font-size: 17px; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
  position: relative; z-index: 1;
  text-decoration: none;
}
.dp-card-add:hover { background: var(--orange); transform: scale(1.08); }
.dp-card-gone-tag {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ── More editions / index grids ───────────────────────────── */
.dp-more { padding: 12px 0 64px; }
.drops-list { padding: 44px 0 8px; }
.drops-archive { padding-bottom: 64px; }
.drops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}
.drop-tile {
  display: block;
  background: var(--paper);
  border: 1px solid rgba(123, 51, 49, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.drop-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.drop-tile-media { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.drop-tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; }
.drop-tile:hover .drop-tile-media img { transform: scale(1.05); }
.drop-tile.is-ended .drop-tile-media img { filter: grayscale(0.55); }
.drop-tile-state {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--font-display);
  font-size: 10.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  border-radius: 999px; padding: 5px 11px;
  backdrop-filter: blur(4px);
}
.drop-tile-state.dp-state-ended { background: rgba(26, 17, 16, 0.65); }
.drop-tile-edition {
  position: absolute; bottom: 12px; right: 12px;
  background: rgba(26, 17, 16, 0.75);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 10.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  border-radius: 8px; padding: 5px 10px;
}
.drop-tile-body { padding: 18px 20px 20px; }
.drop-tile-name { font-family: var(--font-editorial); font-size: 21px; color: var(--ink); margin-bottom: 6px; }
.drop-tile:hover .drop-tile-name { color: var(--maroon); }
.drop-tile-tag { font-size: 13px; color: var(--ink-soft); line-height: 1.55; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.drop-tile-meta { display: flex; gap: 7px; font-size: 12px; color: var(--ink-soft); font-weight: 600; margin-bottom: 12px; }
.drop-tile-cta { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--orange); }

/* ── Stats band (index) ────────────────────────────────────── */
.drops-how { background: var(--cream-deep); padding: 26px 0; }
.drops-how-inner {
  display: flex; justify-content: space-around; gap: 18px; flex-wrap: wrap;
  text-align: center;
}
.drops-how-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700; color: var(--ink);
}
.drops-how-item span {
  font-size: 11.5px; color: var(--ink-soft);
  text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600;
}

@media (max-width: 560px) {
  .dp-hero-inner { padding: 30px 16px 40px; }
  .dp-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .drops-grid { grid-template-columns: 1fr; }
}
