/* ==========================================================
   RED APPLE — статический сайт
   Палитра: белый / светло-розовый / фирменный красный
   Шрифты: Fraunces (заголовки), Inter (текст), JetBrains Mono (цены)
   ========================================================== */

:root {
  --paper: #FAF9F6;
  --ink: #17130F;
  --ink-soft: #6E6860;
  --line: #E7E3DC;
  --red: #C81A10;
  --red-deep: #8C0F0A;
  --red-wash: #FBEAE8;
  --card: #FFFFFF;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: 'Fraunces', serif; letter-spacing: -0.01em; margin: 0; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
.hidden { display: none !important; }

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
}
.reveal.reveal-in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
}

/* ---------- section titles: centered, elegant ---------- */
.section-title {
  text-align: center;
  font-size: clamp(26px, 3.6vw, 36px);
  font-weight: 500;
  margin: 0 0 56px;
}
.section { max-width: 1180px; margin: 0 auto; padding: 100px 24px; }
.section--tint { background: var(--red-wash); padding: 0; }
.section--tint .section__inner { max-width: 1180px; margin: 0 auto; padding: 100px 24px; }

/* ---------- buttons — always solid brand red ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(200,26,16,.55);
  transition: transform .25s cubic-bezier(.2,.7,.2,1), background .25s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); background: var(--red-deep); }
.btn--block { width: 100%; }

/* ---------- eye logo ---------- */
.eye-logo {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}
.eye-logo img {
  width: 100%;
  height: 100%;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}
.eye-logo__lid {
  position: absolute;
  background: var(--red);
  border-radius: 50%;
  transform-origin: center;
  transform: scaleY(0);
  transition: transform .1s ease-in;
}

/* ---------- header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background .3s, box-shadow .3s;
}
.header--solid {
  background: rgba(250,249,246,.9);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 0 var(--line);
}
.header__inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 16px 32px;
}
.header__brand { justify-self: start; display: flex; align-items: center; }
.header__nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 36px;
  font-family: 'Fraunces', serif;
}
.header__nav a {
  font-size: 15px;
  white-space: nowrap;
  color: #fff;
  transition: opacity .2s;
}
.header--solid .header__nav a { color: var(--ink); }
.header__nav a:hover { opacity: .6; }
.header__burger {
  justify-self: end;
  grid-column: 3;
  background: none;
  border: none;
  color: #fff;
  display: none;
}
.header--solid .header__burger { color: var(--ink); }
.header__spacer { display: block; }
.header__mobile {
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: 0 12px 24px rgba(0,0,0,.08);
  padding: 8px 32px 18px;
}
.header__mobile a {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-family: 'Fraunces', serif;
  font-size: 15px;
}
@media (max-width: 860px) {
  .header__nav, .header__spacer { display: none; }
  .header__burger { display: block; }
}
@media (min-width: 861px) {
  .header__mobile { display: none !important; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: 22% 38%;
}
.hero__bg--mobile { display: none; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,8,6,.12) 0%, rgba(10,8,6,.08) 35%, rgba(10,8,6,.3) 78%, rgba(10,8,6,.46) 100%),
    linear-gradient(90deg, rgba(10,8,6,0) 0%, rgba(10,8,6,0) 38%, rgba(10,8,6,.5) 72%, rgba(10,8,6,.64) 100%);
}
.hero__content {
  position: absolute; z-index: 2;
  top: 0; right: 0; bottom: 0;
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 84px 48px;
}
.hero__logo { margin-top: 54px; margin-bottom: 28px; filter: drop-shadow(0 10px 30px rgba(0,0,0,.35)); }
.hero__title {
  color: #fff;
  font-size: clamp(32px, 5.6vw, 62px);
  font-weight: 500;
  line-height: 1.08;
  text-align: center;
  margin: 0 0 20px;
}
.hero-rotator {
  color: rgba(255,255,255,.9);
  font-size: clamp(15px, 2vw, 19px);
  font-weight: 500;
  min-height: 28px;
  text-align: center;
  margin: 0 0 36px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .38s ease, transform .38s ease;
}
.hero-rotator.is-visible { opacity: 1; transform: translateY(0); }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero__scrollcue {
  position: absolute; z-index: 2;
  bottom: 28px; left: 50%; transform: translateX(-50%);
  width: 22px; height: 36px; border: 1.5px solid rgba(255,255,255,.55); border-radius: 14px;
}
.hero__scrollcue span {
  position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 8px; border-radius: 2px; background: #fff;
  animation: scrollcue 1.8s ease-in-out infinite;
}
@keyframes scrollcue {
  0% { opacity: 1; top: 6px; }
  70% { opacity: 0; top: 18px; }
  100% { opacity: 0; top: 6px; }
}
@media (prefers-reduced-motion: reduce) { .hero__scrollcue span { animation: none; } }

/* Мобильная версия: отдельное вертикальное фото со свободным местом
   сверху (потолок — под лого и заголовок) и снизу (пол — под кнопки).
   Фото показывается целиком, без обрезки — контейнер повторяет его
   собственные пропорции, поэтому текст никогда не наложится на людей
   в середине кадра. */
@media (max-width: 900px) {
  .hero { min-height: auto; overflow: visible; }
  .hero__bg { display: none; }
  .hero__bg--mobile {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 1080 / 1434;
    background-size: cover;
    background-position: center;
  }
  .hero__scrim {
    background: linear-gradient(180deg, rgba(10,8,6,.72) 0%, rgba(10,8,6,.5) 22%, rgba(10,8,6,0) 44%, rgba(10,8,6,0) 84%, rgba(10,8,6,.66) 100%);
  }
  .hero__content {
    position: absolute; inset: 0; z-index: 2;
    width: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    padding: 14px 16px 6px;
  }
  .hero__top { display: flex; flex-direction: column; align-items: center; margin-top: 8px; }
  .hero__logo { margin-top: 0; margin-bottom: 14px; }
  .hero__logo .eye-logo { width: 76px !important; height: 78px !important; }
  .hero__title {
    font-size: 30px;
    line-height: 1.14;
    margin-bottom: 10px;
    text-shadow: -1.5px -1.5px 0 #000, 1.5px -1.5px 0 #000, -1.5px 1.5px 0 #000, 1.5px 1.5px 0 #000, 0 2px 8px rgba(0,0,0,.4);
  }
  .hero-rotator {
    font-size: 15px;
    min-height: auto;
    margin-bottom: 0;
    color: #fff;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000, 0 2px 6px rgba(0,0,0,.4);
  }
  .hero__actions { justify-content: center; gap: 8px; }
  .hero__actions .btn { padding: 9px 16px; font-size: 12.5px; }
  .hero__scrollcue { display: none; }
}

/* ---------- why ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}
.why-card { background: var(--card); padding: 38px 34px; transition: background .3s; }
.why-card:hover { background: var(--red-wash); }
.why-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--red-wash); color: var(--red);
  margin-bottom: 18px;
  transition: transform .3s, background .3s, color .3s;
}
.why-card:hover .why-card__icon { transform: scale(1.08) rotate(-4deg); background: var(--red); color: #fff; }
.why-card h3 { font-size: 19px; font-weight: 500; margin-bottom: 10px; }
.why-card p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; margin: 0; }
@media (max-width: 760px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- menu ---------- */
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.menu-col__title {
  text-align: center;
  font-size: 15px; text-transform: uppercase; letter-spacing: .08em;
  font-weight: 500; margin-bottom: 22px; padding-bottom: 14px;
  border-bottom: 1px solid rgba(0,0,0,.1);
}
#menu-hot li, #menu-cold li {
  display: flex; align-items: baseline; gap: 10px; padding: 13px 0;
  border-bottom: 1px dashed rgba(0,0,0,.12);
}
.menu-item__name { font-size: 16px; font-weight: 500; }
.menu-item__dots { flex: 1; border-bottom: 1px dotted rgba(0,0,0,.22); transform: translateY(-4px); }
.menu-item__price { font-family: 'JetBrains Mono', monospace; font-size: 14.5px; color: var(--red-deep); font-weight: 500; white-space: nowrap; }
@media (max-width: 760px) { .menu-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: 30px 22px; text-align: center;
}
.team-card--placeholder { border-style: dashed; }
.team-card__avatar {
  width: 88px; height: 88px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--red-wash); color: var(--red-deep);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.team-card--placeholder .team-card__avatar { border: 1px dashed rgba(200,26,16,.4); }
.team-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card__name { font-family: 'Fraunces', serif; font-weight: 500; font-size: 16px; margin: 0; }
.team-caption { text-align: center; color: var(--ink-soft); font-size: 13.5px; margin-top: 30px; font-family: 'JetBrains Mono', monospace; }
@media (max-width: 860px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- impact ---------- */
.impact-flow {
  position: relative;
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px;
}
.impact-flow__line {
  position: absolute; top: 24px; left: 0; width: 100%; height: 60px;
  color: rgba(200,26,16,.35); pointer-events: none;
}
.impact-flow__line path { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.4s ease .2s; }
.impact-flow.is-in .impact-flow__line path { stroke-dashoffset: 0; }
.impact-flow__step {
  position: relative; text-align: center;
  opacity: 0; transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.impact-flow.is-in .impact-flow__step { opacity: 1; transform: translateY(0); }
.impact-flow__dot {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin: 0 auto 16px; border-radius: 50%;
  background: #fff; border: 1px solid rgba(200,26,16,.25); color: var(--red);
}
.impact-flow__step p { font-size: 14.5px; line-height: 1.5; margin: 0; color: var(--ink); }
@media (max-width: 760px) {
  .impact-flow { grid-template-columns: 1fr; gap: 34px; }
  .impact-flow__line { display: none; }
}

/* ---------- reviews ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.review-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px 28px;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -18px rgba(200,26,16,.35);
  border-color: var(--red-wash);
}
.review-card__stars {
  display: flex;
  gap: 4px;
  color: var(--red);
  margin-bottom: 16px;
}
.review-card__text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  margin: 0;
}
@media (max-width: 900px) {
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .reviews-grid { grid-template-columns: 1fr; }
}

/* ---------- chance ---------- */
.chance { max-width: 760px; text-align: center; }
.chance__title { font-size: clamp(26px, 4vw, 38px); font-weight: 500; margin-bottom: 22px; }
.chance__text { color: var(--ink-soft); font-size: 16px; line-height: 1.7; margin-bottom: 34px; }

/* ---------- find us ---------- */
.find-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-bottom: 36px; }
.find-card {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px;
}
.find-card__art {
  width: 52px; height: 52px; flex-shrink: 0; border-radius: 14px;
  background: var(--red-wash); color: var(--red);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.find-card__art img { width: 100%; height: 100%; object-fit: cover; }
.find-card__body h3 { font-size: 18px; font-weight: 500; margin-bottom: 6px; }
.find-card__addr { color: var(--ink-soft); font-size: 14.5px; margin: 0 0 8px; }
.find-card__hours { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--ink-soft); font-family: 'JetBrains Mono', monospace; margin: 0; }
.find-maps { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.find-maps iframe { width: 100%; height: 260px; border: 0; border-radius: 20px; filter: grayscale(.15) contrast(1.02); }
@media (max-width: 760px) { .find-grid, .find-maps { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer { background: var(--red-wash); border-top: 1px solid var(--line); }
.footer__inner {
  max-width: 1180px; margin: 0 auto; padding: 36px 28px 40px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.footer__brand { display: flex; align-items: center; gap: 10px; font-family: 'Fraunces', serif; font-weight: 500; margin-right: auto; }
.footer__social { display: flex; gap: 14px; }
.social-badge {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,.12);
  transition: transform .2s;
}
.social-badge:hover { transform: translateY(-2px); }
.social-badge--instagram { background: linear-gradient(135deg,#F58529,#DD2A7B,#8134AF,#515BD4); }
.social-badge--whatsapp { background: #25D366; }
.footer__copy { width: 100%; color: var(--ink-soft); font-size: 12.5px; margin-top: 8px; }
@media (min-width: 640px) { .footer__copy { width: auto; margin-top: 0; } }

/* ---------- employee story modal ---------- */
.team-card--clickable { cursor: pointer; transition: transform .25s ease, box-shadow .25s ease; }
.team-card--clickable:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -16px rgba(0,0,0,.25); }
.team-card--clickable:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.employee-modal { position: fixed; inset: 0; z-index: 95; display: flex; align-items: center; justify-content: center; padding: 20px; }
.employee-modal__bg { position: absolute; inset: 0; background: rgba(10,8,6,.55); }
.employee-modal__panel {
  position: relative; z-index: 1;
  background: var(--card); border-radius: 24px;
  width: 100%; max-width: 480px; max-height: 86vh; overflow-y: auto;
  padding: 32px 28px 30px;
  box-shadow: 0 30px 60px -12px rgba(0,0,0,.35);
  animation: employeeModalIn .28s cubic-bezier(.2,.7,.2,1);
}
@keyframes employeeModalIn {
  from { opacity: 0; transform: translateY(14px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.employee-modal__close {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  background: var(--paper); border-radius: 50%; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
}
.employee-modal__photo {
  width: 100%; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden;
  margin-bottom: 20px; background: var(--red-wash);
}
.employee-modal__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.employee-modal__name { font-family: 'Fraunces', serif; font-weight: 500; font-size: 22px; margin: 0 0 12px; padding-right: 30px; }
.employee-modal__story { font-size: 15px; line-height: 1.7; color: var(--ink); white-space: pre-wrap; margin: 0; }
@media (max-width: 600px) {
  .employee-modal { padding: 0; align-items: flex-end; }
  .employee-modal__panel { max-width: none; max-height: 88vh; border-radius: 24px 24px 0 0; padding: 26px 20px 26px; }
}

/* ---------- admin fab + panel ---------- */
.admin-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 40;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--ink); color: #fff; border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,.2);
  transition: background .2s;
}
.admin-fab:hover { background: var(--red); }

.admin-overlay { position: fixed; inset: 0; z-index: 100; display: flex; justify-content: flex-end; }
.admin-overlay__bg { position: absolute; inset: 0; background: rgba(0,0,0,.4); }
.admin-panel {
  position: relative; width: 100%; max-width: 560px; height: 100%;
  background: var(--paper); box-shadow: -20px 0 40px rgba(0,0,0,.2);
  display: flex; flex-direction: column;
  animation: slideIn .3s ease;
}
@keyframes slideIn { from { transform: translateX(40px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
.admin-panel__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid var(--line);
}
.admin-panel__head-titles { display: flex; align-items: center; gap: 10px; }
.admin-panel__head h2 { font-size: 19px; font-weight: 500; }
.admin-connection-badge {
  font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px;
  white-space: nowrap;
}
.admin-connection-badge--on { background: #E7F5EC; color: #1E7A3E; }
.admin-connection-badge--off { background: var(--red-wash); color: var(--red-deep); }
.icon-btn { background: none; border: none; color: var(--ink-soft); }
.icon-btn:hover { color: var(--ink); }

.admin-login { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 64px 32px; }
.admin-login__icon {
  width: 56px; height: 56px; border-radius: 50%; background: var(--red-wash); color: var(--red);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.admin-login h3 { font-size: 22px; font-weight: 500; margin-bottom: 8px; }
.admin-login p { color: var(--ink-soft); font-size: 14px; margin-bottom: 24px; max-width: 320px; }
#admin-login-form { width: 100%; max-width: 280px; }
#admin-password {
  width: 100%; border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 16px; font-size: 15px; margin-bottom: 12px; font-family: inherit;
}
#admin-password:focus { outline: none; border-color: var(--red); }
.admin-login__error { color: var(--red); font-size: 13px; margin-bottom: 12px; }

.admin-workspace { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.admin-tabs { display: flex; overflow-x: auto; gap: 4px; padding: 16px 16px 0; border-bottom: 1px solid var(--line); }
.admin-tab {
  display: flex; align-items: center; gap: 6px; padding: 10px 14px;
  font-size: 13.5px; font-weight: 500; white-space: nowrap;
  background: none; border: 1px solid transparent; border-bottom: none;
  border-radius: 8px 8px 0 0; color: var(--ink-soft);
}
.admin-tab.is-active { background: #fff; color: var(--red); border-color: var(--line); }
.admin-body { flex: 1; overflow-y: auto; padding: 24px; }
.admin-pane { display: none; }
.admin-pane.is-active { display: block; }
.admin-footer { padding: 16px 24px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 12px; }
.admin-footer__cancel { background: none; border: none; color: var(--ink-soft); font-size: 14px; padding: 0 8px; }
.admin-footer__status { font-size: 13px; color: var(--red); margin-left: auto; font-weight: 500; }
.admin-footer__status.is-success { color: #2E7D32; }
.admin-footer__status.is-warning { color: #B45309; }

/* form fields inside admin panel */
.field { display: block; margin-bottom: 18px; }
.field > span { display: block; font-size: 13px; font-weight: 500; color: var(--ink-soft); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 14px; font-size: 14.5px; font-family: inherit; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); }
.admin-h3 { font-family: 'Fraunces', serif; font-size: 17px; font-weight: 500; margin: 0 0 16px; }
.admin-divider { margin: 28px 0; border: none; border-top: 1px solid var(--line); }
.admin-hint { font-size: 12.5px; color: var(--ink-soft); margin-top: 8px; }
.admin-card { border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin-bottom: 14px; }
.row-inline { display: flex; gap: 8px; margin-bottom: 8px; align-items: center; }
.row-inline input { flex: 1; }
.row-inline input.price { flex: none; width: 110px; font-family: 'JetBrains Mono', monospace; }
.btn-link {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none; color: var(--red); font-size: 13.5px; font-weight: 500; padding: 0;
}
.btn-icon-del { background: none; border: none; color: var(--ink-soft); padding: 0 4px; flex-shrink: 0; }
.btn-icon-del:hover { color: var(--red); }
.admin-card-row { display: flex; gap: 14px; }
.admin-card-row .uploader { width: 84px; flex-shrink: 0; }
.admin-card-row .admin-card-fields { flex: 1; }

.uploader__box {
  position: relative; width: 100%; aspect-ratio: 1 / 1; border-radius: 12px;
  overflow: hidden; background: var(--red-wash); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.uploader--wide .uploader__box { aspect-ratio: 16 / 10; }
.uploader__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.uploader__placeholder {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(200,26,16,.7); font-size: 12px; text-align: center; padding: 8px;
}
.uploader__hover {
  position: absolute; inset: 0; background: rgba(0,0,0,0);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 13px; font-weight: 500; opacity: 0;
  transition: background .2s, opacity .2s;
}
.uploader__box:hover .uploader__hover { background: rgba(0,0,0,.35); opacity: 1; }
.uploader__input { display: none; }
.uploader__warning { font-size: 12px; color: #B45309; margin: 6px 0 0; line-height: 1.4; }

@media (max-width: 600px) {
  .admin-panel { max-width: 100%; }
}
