/* ================================================================
   WISLAKU — светлая тема, розово-сиреневая палитра
   ================================================================ */
:root {
  /* Фон и панели */
  --bg: #fff4f9;
  --panel: #ffffff;
  --panel-line: #f7d8e8;
  --input-bg: #fff8fb;
  --menu-bg: #ffffff;
  --menu-hover: #ffeaf4;
  --track: #ffe1ef;

  /* Акцент */
  --accent: #ff6fae;
  --accent-2: #b98cff;          /* сиреневый компаньон */
  --accent-d: #e8478f;
  --accent-ink: #d62f7c;        /* акцент для текста на белом */
  --accent-soft: #ffe8f2;
  --accent-soft-line: #ffc9e0;
  --accent-glow: rgba(255, 111, 174, 0.35);
  --on-accent: #52102f;         /* текст поверх акцента */
  --on-accent-2: #7a2450;       /* второстепенный текст поверх акцента */

  /* Контент */
  --card: #ffffff;
  --ink: #3a2430;
  --page-ink: #3a2430;
  --muted: #a28b98;
  --muted-d: #8d7382;
  --line: #f4e3ec;

  --hero-grad: linear-gradient(135deg, #ffe3f0 0%, #f7dcff 50%, #ffd9ea 100%);
  --empty-grad: linear-gradient(135deg, #ffe3f0 0%, #f3e0ff 100%);

  --radius: 30px;
  --radius-sm: 18px;
  --shadow: 0 10px 30px rgba(214, 47, 124, 0.12);
  --menu-shadow: 0 18px 40px rgba(214, 47, 124, 0.18);
}

* { box-sizing: border-box; }

/* Атрибут hidden должен скрывать всегда, даже при заданном display ниже */
[hidden] { display: none !important; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background:
    radial-gradient(900px 460px at 12% -8%, #ffe6f3 0%, rgba(255, 230, 243, 0) 62%),
    radial-gradient(760px 420px at 92% 4%, #f1e2ff 0%, rgba(241, 226, 255, 0) 60%),
    var(--bg);
  background-attachment: fixed;
  color: var(--page-ink);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

.heavy, h1, h2, .block-head, .hero-title, .section-title, .cd-number {
  font-weight: 800;
  letter-spacing: -0.3px;
}

.container { max-width: 880px; margin: 0 auto; padding: 28px 16px 64px; }

/* ---------- Капшены сверху ---------- */
.caption-strip {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 8px 2px;
  font-size: 13px;
  font-weight: 700;
  text-transform: lowercase;
  letter-spacing: 0.2px;
  color: var(--muted-d);
  line-height: 1.15;
}
.caption-strip span { flex: 1; min-width: 90px; }
.caption-strip span:nth-child(2) { text-align: center; }
.caption-strip span:last-child { text-align: right; }

/* ---------- HERO ---------- */
.hero-wrap { position: relative; }
.hero-wrap .hero-card { position: relative; z-index: 2; }
.hero-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--panel-line);
  border-radius: 34px;
  padding: 14px;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: clamp(220px, 42vw, 340px);
  border-radius: 24px;
  background: var(--hero-grad);
  overflow: hidden;
}
.hero-emoji-big { font-size: clamp(90px, 22vw, 160px); line-height: 1; filter: drop-shadow(0 12px 22px rgba(214, 47, 124, 0.22)); }
.hero-emoji-small { position: absolute; font-size: clamp(28px, 6vw, 46px); opacity: 0.9; line-height: 1; }
.hero-emoji-small.e-1 { top: 12%; left: 12%; transform: rotate(-12deg); }
.hero-emoji-small.e-2 { top: 18%; right: 14%; transform: rotate(10deg); }
.hero-emoji-small.e-3 { bottom: 16%; left: 18%; transform: rotate(8deg); }
.hero-emoji-small.e-4 { bottom: 22%; right: 18%; transform: rotate(-14deg); }
.hero-tag {
  position: absolute;
  top: 34px;
  right: 34px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 900;
  letter-spacing: 1px;
  font-size: clamp(14px, 2.6vw, 22px);
  padding: 8px 16px;
  border-radius: 999px;
  z-index: 2;
}
.hero-title {
  position: absolute;
  left: 30px;
  bottom: 30px;
  background: #fff;
  color: var(--ink);
  font-size: clamp(32px, 8.4vw, 60px);
  line-height: 0.98;
  padding: 12px 22px 14px;
  border-radius: 22px;
  text-transform: uppercase;
  z-index: 2;
}

/* Декоративные сердечки */
.star {
  position: absolute;
  z-index: 1;
  width: 120px;
  height: 120px;
  background: url("/star.svg") center/contain no-repeat;
  pointer-events: none;
  filter: drop-shadow(0 6px 16px var(--accent-glow));
}
.star-1 { top: -36px; left: -26px; transform: rotate(-14deg); }
.star-2 { bottom: -30px; right: -22px; width: 96px; height: 96px; transform: rotate(16deg); }
.star-3 { top: -34px; right: 24px; width: 88px; height: 88px; transform: rotate(12deg); z-index: 3; }

/* ---------- Блоки ---------- */
.block { border-radius: var(--radius); padding: 22px; }
.block-white { background: var(--card); color: var(--ink); border: 1px solid var(--panel-line); box-shadow: var(--shadow); }
.block-accent { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 130%); color: var(--on-accent); }
.block-head {
  margin: 0 0 12px;
  font-size: clamp(21px, 4.3vw, 30px);
  text-transform: uppercase;
  line-height: 1.05;
}
.hl { color: var(--accent-ink); }
.hl-on-accent { color: #ffffff; }
.block-p { margin: 12px 0 0; font-size: 14px; color: #6b5462; }
.block-p.on-accent { color: var(--on-accent-2); }
.block-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(52px, 12vw, 76px);
  line-height: 1;
  margin: 14px auto 0;
  height: 96px;
}

/* ---------- Счётчик ---------- */
.countdown {
  text-align: center;
  margin-bottom: 16px;
  padding: 22px 24px 24px;
  border-radius: var(--radius);
}
.cd-head {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 15px;
  color: var(--on-accent-2);
  margin-bottom: 12px;
}
.cd-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 999px;
}
.cd-tab {
  border: none;
  background: transparent;
  padding: 7px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: var(--on-accent-2);
  cursor: pointer;
  transition: all 0.15s ease;
}
.cd-tab.active { background: #fff; color: var(--accent-ink); }
.cd-main { display: flex; align-items: baseline; justify-content: center; gap: 10px; }
.cd-number {
  font-size: clamp(56px, 16vw, 104px);
  line-height: 1;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 4px 14px rgba(122, 36, 80, 0.25);
}
.cd-unit { font-size: clamp(20px, 4vw, 28px); font-weight: 900; color: #ffffff; text-transform: uppercase; }
.cd-sub { margin-top: 10px; font-size: 15px; font-weight: 700; color: var(--on-accent-2); font-variant-numeric: tabular-nums; letter-spacing: 1px; }

/* ---------- Прогресс сборов ---------- */
.progress-block {
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 40px;
  box-shadow: var(--shadow);
}
.progress-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.progress-title { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.4px; color: var(--muted-d); }
.progress-count { font-size: clamp(20px, 4vw, 26px); font-weight: 900; color: var(--accent-ink); }
.progress-bar { margin: 14px 0 18px; height: 12px; border-radius: 999px; background: var(--track); overflow: hidden; }
.progress-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  transition: width 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.progress-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted-d); font-weight: 700; }
.stat-value { font-size: clamp(16px, 3.2vw, 20px); font-weight: 900; color: var(--ink); font-variant-numeric: tabular-nums; }

/* ---------- Инфо-сетка ---------- */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
  margin-bottom: 40px;
}
.span-2 { grid-column: 1 / -1; }
.block-wide { display: flex; align-items: center; gap: 22px; }
.block-wide .block-text { flex: 1; }
.block-wide .block-visual { margin: 0; width: 120px; flex-shrink: 0; }
.final-block {
  position: relative;
  overflow: visible;
  text-align: center;
  font-size: clamp(19px, 4.2vw, 28px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.25;
  padding: 34px 24px;
  color: #ffffff;
}

/* ---------- Заголовок секции ---------- */
.section-title {
  font-size: clamp(26px, 6.4vw, 42px);
  text-transform: uppercase;
  margin: 8px 0 18px;
  color: var(--ink);
}
.section-title .hl { color: var(--accent-ink); }

/* ---------- Фильтры ---------- */
.filters {
  position: relative;
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  align-items: flex-end;
  margin-bottom: 24px;
  padding: 18px 20px;
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.filter-group { display: flex; flex-direction: column; gap: 8px; }
.filter-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--muted-d); font-weight: 700; }

/* Кастомный дропдаун */
.dropdown { position: relative; min-width: 200px; }
.dropdown-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--input-bg);
  color: var(--ink);
  border: 1px solid var(--panel-line);
  border-radius: 14px;
  padding: 11px 14px;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.15s ease;
}
.dropdown-trigger:hover,
.dropdown.open .dropdown-trigger { border-color: var(--accent); }
.dropdown-value { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dropdown-arrow { width: 14px; height: 9px; flex-shrink: 0; transition: transform 0.2s ease; }
.dropdown-arrow path { stroke: var(--accent-ink); }
.dropdown.open .dropdown-arrow { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--menu-bg);
  border: 1px solid var(--panel-line);
  border-radius: 16px;
  box-shadow: var(--menu-shadow);
  z-index: 50;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
}
.dropdown.open .dropdown-menu { opacity: 1; transform: none; pointer-events: auto; }
.dropdown-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 11px;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
}
.dropdown-option:hover { background: var(--menu-hover); }
.dropdown-option.is-selected { background: var(--accent); color: #fff; font-weight: 700; }

/* Кастомный чекбокс */
.checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  font-size: 14px;
  color: var(--muted-d);
  cursor: pointer;
  user-select: none;
}
.checkbox input { position: absolute; opacity: 0; width: 0; height: 0; }
.checkbox-box {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 8px;
  border: 2px solid var(--panel-line);
  background: var(--input-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.checkbox-box svg { width: 14px; height: 14px; opacity: 0; transform: scale(0.5); transition: opacity 0.15s ease, transform 0.15s ease; }
.checkbox-box svg path { stroke: #ffffff; }
.checkbox:hover .checkbox-box { border-color: var(--accent); }
.checkbox input:checked ~ .checkbox-box { background: var(--accent); border-color: var(--accent); }
.checkbox input:checked ~ .checkbox-box svg { opacity: 1; transform: scale(1); }
.checkbox input:focus-visible ~ .checkbox-box { box-shadow: 0 0 0 3px var(--accent-glow); border-color: var(--accent); }
.checkbox input:checked ~ .checkbox-label { color: var(--ink); }

/* ---------- Карточки ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.card {
  background: var(--card);
  color: var(--ink);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  border: 1px solid var(--panel-line);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(214, 47, 124, 0.18); }
.card.bought { opacity: 0.62; border-color: var(--accent); }
.card.bought .card-title { text-decoration: line-through; text-decoration-thickness: 2px; }
.card-media { position: relative; height: 210px; overflow: hidden; background: #fbeaf3; }
.card-media-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(22px) brightness(0.95);
  transform: scale(1.25);
}
.card-img { position: relative; z-index: 1; width: 100%; height: 210px; object-fit: contain; display: block; }
.card-img-empty {
  width: 100%;
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  background: var(--empty-grad);
}
.card-media, .card-img-empty { border-top-left-radius: 23px; border-top-right-radius: 23px; }
/* Мини-галерея в карточке (несколько фото) */
.card-thumbs { display: flex; gap: 6px; padding: 8px 10px; background: var(--input-bg); overflow-x: auto; }
.card-thumb {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.65;
  transition: opacity 0.15s ease, border-color 0.15s ease;
}
.card-thumb:hover { opacity: 1; }
.card-thumb.active { opacity: 1; border-color: var(--accent); }
.card-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { font-size: 12px; font-weight: 800; padding: 4px 11px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.3px; }
.badge-store { background: var(--accent-soft); color: var(--accent-ink); }
.badge-bought { background: var(--accent); color: #ffffff; }
.card-title { margin: 0; font-size: 17px; font-weight: 800; letter-spacing: -0.2px; }
.price { font-size: 17px; font-weight: 900; color: var(--accent-ink); }
.comment { margin: 0; color: var(--muted); font-size: 14px; }
.actions { margin-top: auto; display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
}
.btn:hover { border-color: var(--accent); }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 900; }
.btn-primary:hover { background: var(--accent-d); border-color: var(--accent-d); }
.btn-ghost { background: transparent; }
.btn-link { background: var(--accent-soft); border-color: var(--accent-soft-line); color: var(--accent-ink); }
.btn-buy { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 900; text-transform: uppercase; letter-spacing: 0.3px; }
.btn-buy:hover { background: var(--accent-d); border-color: var(--accent-d); }
.btn-unbuy { background: #fff; border-color: var(--line); color: var(--muted); }
.btn-unbuy:hover { border-color: var(--accent); color: var(--accent-ink); }

.empty { text-align: center; color: var(--muted-d); padding: 50px 0; font-size: 16px; }

/* ---------- Анимации ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes cardEnter {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
.card-enter { animation: cardEnter 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .card-enter { animation: none; }
  .card:hover { transform: none; }
  .progress-fill { transition: none; }
}

/* ---------- Тосты ---------- */
.toasts {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
  width: max-content;
  max-width: calc(100vw - 32px);
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  background: #ffffff;
  color: var(--ink);
  border: 1px solid var(--panel-line);
  border-left: 4px solid var(--accent);
  border-radius: 14px;
  padding: 13px 18px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 16px 40px rgba(214, 47, 124, 0.22);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.toast.show { opacity: 1; transform: none; }
.toast-success { border-left-color: var(--accent); }
.toast-error { border-left-color: #e5484d; }
.toast-info { border-left-color: var(--accent-2); }
@media (prefers-reduced-motion: reduce) {
  .toast { transition: opacity 0.01s linear; transform: none; }
}

/* ====================== АДМИНКА ====================== */
.admin-body { background: var(--bg); }
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; }
.login-card {
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--panel-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  width: 100%;
  max-width: 360px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.login-card h1 { margin: 0; font-size: 22px; text-transform: uppercase; }
.hero-emoji { font-size: 52px; line-height: 1; }

.admin-header { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin: 12px 0 6px; }
.admin-header h1 { margin: 0; font-size: 26px; color: var(--ink); text-transform: uppercase; }
.admin-header-actions { display: flex; gap: 8px; }
.admin-header .btn { background: #fff; color: var(--ink); border-color: var(--panel-line); }
.admin-header .btn:hover { border-color: var(--accent); }

.hint {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 130%);
  border: none;
  color: #ffffff;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  margin: 14px 0 22px;
}

.item-form {
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--panel-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field-row { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; }
.field label { font-size: 13px; font-weight: 700; color: var(--muted-d); }
.field input, .field select, .field textarea, input[type="password"] {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 12px;
  font-size: 15px;
  font-family: inherit;
  background: var(--input-bg);
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus, input[type="password"]:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px var(--accent-glow);
}

/* Кастомные дропдауны в админ-форме */
.dropdown.dd-light { min-width: 0; }
.dd-light .dropdown-trigger {
  background: var(--input-bg);
  color: var(--ink);
  border-color: var(--line);
  border-radius: 12px;
  font-size: 15px;
  padding: 11px 12px;
}
.dd-light .dropdown-trigger:hover,
.dd-light.open .dropdown-trigger { border-color: var(--accent); background: #fff; }
.dd-light .dropdown-arrow path { stroke: var(--accent-ink); }
.dd-light .dropdown-menu { background: #fff; border-color: var(--panel-line); }
.dd-light .dropdown-option { color: var(--ink); }
.dd-light .dropdown-option:hover { background: var(--menu-hover); }
.dd-light .dropdown-option.is-selected { background: var(--accent); color: #fff; }

/* Кастомный выбор файла */
.file-input { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.file-input input[type="file"] { display: none; }
.file-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  border: 1px solid var(--accent-soft-line);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.file-btn:hover { border-color: var(--accent); background: #ffdcec; }
.file-name { font-size: 13px; color: var(--muted); }

/* Превью уже загруженных фото в админке (с кнопкой удаления) */
.image-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.image-thumb { position: relative; width: 72px; height: 72px; }
.image-thumb img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.image-thumb-remove {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: var(--accent-d);
  color: #fff;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(214, 47, 124, 0.35);
}
.image-thumb-remove:hover { background: #c22a72; }

.form-actions { display: flex; gap: 10px; }
.error { color: #d1235a; font-size: 14px; margin: 0; }

.admin-list { display: flex; flex-direction: column; gap: 12px; }
.admin-item {
  background: var(--card);
  color: var(--ink);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--panel-line);
  box-shadow: var(--shadow);
}
.admin-item.is-bought { opacity: 0.68; border-color: var(--accent); }
.admin-item.is-bought .admin-item-title { text-decoration: line-through; text-decoration-thickness: 2px; }
.admin-thumb { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; border: 1px solid var(--line); flex-shrink: 0; }
.admin-thumb.placeholder { display: flex; align-items: center; justify-content: center; color: var(--muted); background: var(--accent-soft); }
.admin-item-meta { flex: 1; min-width: 0; }
.admin-item-title { font-weight: 800; font-size: 16px; }
.admin-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  text-decoration: none;
  vertical-align: middle;
}
.admin-item-sub { color: var(--muted); font-size: 13px; }
.admin-item-actions { display: flex; gap: 8px; flex-shrink: 0; flex-wrap: wrap; justify-content: flex-end; }
.btn-danger { color: #d1235a; border-color: #f6cadb; }
.btn-danger:hover { background: #fff0f5; border-color: #d1235a; }

/* ---------- Адаптив ---------- */
@media (max-width: 620px) {
  .info-grid { grid-template-columns: 1fr; }
  .block-wide { flex-direction: column; align-items: stretch; }
  .block-wide .block-visual { width: 100%; margin: 12px auto 0; }
  .field-row { grid-template-columns: 1fr; }
  .progress-stats { grid-template-columns: 1fr; gap: 10px; }
  .hero-title { left: 18px; bottom: 18px; }
  .hero-tag { top: 24px; right: 24px; }
  .star-1 { width: 84px; height: 84px; top: -24px; left: -14px; }
  .star-2 { width: 70px; height: 70px; }
  .admin-item { flex-wrap: wrap; }
  .admin-item-actions { width: 100%; }
}
