/* ============================================================
   Мастерская Камня — дизайн-система нового сайта
   Палитра «камень и бронза», Montserrat, mobile-first
   ============================================================ */

:root {
  --ink: #242220;
  --graphite: #2e2b28;
  --stone-700: #4a4640;
  --stone-500: #79736a;
  --stone-300: #cfc9bf;
  --stone-200: #e9e4dc;
  --stone-100: #f5f2ec;
  --paper: #ffffff;
  --accent: #a97c50;
  --accent-dark: #8a6238;
  --accent-light: #c9a06b;
  --wa: #25d366;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(36, 34, 32, .09);
  --shadow-lg: 0 14px 44px rgba(36, 34, 32, .16);
  --font: "Montserrat", -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent-dark); text-decoration: none; }
a:hover { color: var(--accent); }

h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; color: var(--ink); }
h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); }

p { margin: 0 0 1em; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.section { padding: clamp(44px, 7vw, 84px) 0; }
.section--tint { background: var(--stone-100); }
.section--dark { background: var(--graphite); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: #d9d4cc; }

.section-head { max-width: 780px; margin: 0 auto clamp(28px, 4vw, 48px); text-align: center; }
.section-head p { color: var(--stone-500); font-size: 1.05rem; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: .2s;
  white-space: nowrap;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.65); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn--outline { border-color: var(--accent); color: var(--accent-dark); }
.btn--outline:hover { background: var(--accent); color: #fff; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #1fb958; color: #fff; }

/* ---------- Шапка ---------- */
.topbar {
  background: var(--graphite);
  color: #cfc9bf;
  font-size: .85rem;
  padding: 7px 0;
}
.topbar .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar a { color: #fff; font-weight: 600; }
.topbar a:hover { color: var(--accent-light); }
.topbar__promo { color: #cfc9bf; }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--stone-200);
  transition: box-shadow .2s;
}
.header.is-scrolled { box-shadow: var(--shadow); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 0; }

.logo { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--ink); }
.logo img { height: 46px; width: auto; }
.logo span { font-size: 1.02rem; line-height: 1.2; }
.logo small { display: block; font-weight: 500; font-size: .68rem; color: var(--stone-500); letter-spacing: .06em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > li { list-style: none; position: relative; }
.nav a {
  display: block;
  padding: 10px 12px;
  font-weight: 500;
  font-size: .92rem;
  color: var(--ink);
  border-radius: 8px;
  white-space: nowrap;
}
.nav a:hover { background: var(--stone-100); color: var(--accent-dark); }
.nav a.active { background: var(--stone-100); color: var(--accent-dark); font-weight: 600; }
.nav .has-sub > a::after { content: "\00A0▾"; font-size: .75em; color: var(--stone-500); }
.header__btn { padding: 10px 18px; font-size: .88rem; }
.nav__sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: #fff;
  border: 1px solid var(--stone-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  z-index: 60;
}
.nav > li:hover .nav__sub,
.nav > li:focus-within .nav__sub { display: block; }
.nav__sub a { padding: 9px 12px; font-size: .9rem; }

.header__cta { display: flex; align-items: center; gap: 12px; }
.header__phone { font-weight: 700; white-space: nowrap; }
.nav__mobile-cta { display: none; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.burger span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .2s; }

@media (max-width: 1080px) {
  .nav {
    display: none;
    position: fixed;
    inset: 0;
    top: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 84px 24px 40px;
    overflow-y: auto;
    z-index: 55;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 10px; font-size: 1.05rem; border-bottom: 1px solid var(--stone-200); border-radius: 0; }
  .nav__sub { display: block; position: static; box-shadow: none; border: 0; padding: 0 0 0 18px; }
  .burger { display: flex; z-index: 60; }
  .header__phone { display: none; }
  /* кнопка «Написать» в шапке на мобильных не нужна:
     есть плавающая кнопка WhatsApp + кнопки внутри меню */
  .header__btn { display: none; }
  /* контактные кнопки внутри открытого бургер-меню */
  .nav__mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
    list-style: none;
  }
  .nav__mobile-cta .btn { justify-content: center; }
}
@media (max-width: 640px) {
  .logo span { font-size: .9rem; }
  .logo img { height: 38px; }
  .topbar__promo { display: none; }
}

/* ---------- Герой ---------- */
.hero {
  position: relative;
  color: #fff;
  background: var(--graphite);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 65%;
  opacity: .92;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,18,16,.62) 0%, rgba(20,18,16,.35) 45%, rgba(20,18,16,.72) 100%);
}
.hero__inner { position: relative; z-index: 2; padding: clamp(64px, 11vw, 140px) 0; max-width: 860px; }
.hero h1 { color: #fff; margin: 0 0 18px; }
.hero p { color: #ece7e0; font-size: clamp(1rem, 1.6vw, 1.15rem); max-width: 46em; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero__badge {
  display: inline-block;
  background: rgba(169,124,80,.92);
  color: #fff;
  font-weight: 600;
  font-size: .85rem;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}

/* ---------- Карточки преимуществ ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

.feature {
  background: #fff;
  border: 1px solid var(--stone-200);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
}
.feature__icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--stone-100);
  border-radius: 12px;
  margin-bottom: 16px;
  color: var(--accent-dark);
}
.feature__icon svg { width: 28px; height: 28px; }
.feature h3 { margin: 0 0 8px; font-size: 1.05rem; }
.feature p { margin: 0; color: var(--stone-500); font-size: .92rem; }

/* ---------- Сервисы (3 плитки) ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .tiles { grid-template-columns: 1fr; } }
.tile {
  display: block;
  background: #fff;
  border: 1px solid var(--stone-200);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  transition: .2s;
  color: var(--ink);
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--ink); }
.tile__icon { font-size: 2rem; margin-bottom: 12px; }
.tile h3 { margin: 0 0 8px; }
.tile p { color: var(--stone-500); margin-bottom: 14px; }
.tile .tile__more { font-weight: 600; color: var(--accent-dark); font-size: .9rem; }

/* ---------- Галерея ---------- */
.gallery-section { margin-bottom: 46px; }
.gallery-section:last-child { margin-bottom: 0; }
.gallery-sec-head { margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--stone-200); }
.gallery-sec-head h2 { font-size: 1.35rem; margin: 18px 0 4px; }
.gallery-sec-head p { color: var(--stone-500); margin: 0; font-size: .95rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 1000px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .gallery-grid { grid-template-columns: 1fr; } }

.gallery-grid figure { margin: 0; }
.gallery-grid a {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: var(--stone-200);
  aspect-ratio: 4 / 3;
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.gallery-grid a:hover img { transform: scale(1.05); }
.gallery-grid figcaption {
  font-size: .82rem;
  color: var(--stone-500);
  padding: 8px 2px 0;
  text-align: center;
}

/* ---------- Лайтбокс ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(18,16,14,.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  flex-direction: column;
  padding: 40px 16px 64px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 78vh; object-fit: contain; border-radius: 6px; }
.lightbox__caption { color: #d9d4cc; margin-top: 14px; font-size: .92rem; text-align: center; }
.lightbox__btn {
  position: absolute;
  background: rgba(255,255,255,.08);
  border: 0;
  color: #fff;
  font-size: 1.6rem;
  width: 52px; height: 52px;
  border-radius: 50%;
  cursor: pointer;
  transition: .2s;
  display: flex; align-items: center; justify-content: center;
}
.lightbox__btn:hover { background: rgba(255,255,255,.22); }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__counter { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: #a49e94; font-size: .85rem; }

/* ---------- Отзывы ---------- */
.reviews { display: grid; grid-auto-flow: column; grid-auto-columns: min(400px, 88vw); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 18px; }
.review {
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--stone-200);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.review__text { font-size: .95rem; color: var(--stone-700); flex: 1; }
.review__text::before { content: "« "; color: var(--accent); font-size: 1.4em; line-height: 0; }
.review__text::after { content: " »"; color: var(--accent); font-size: 1.4em; line-height: 0; }
.review__author { margin-top: 16px; font-weight: 600; }
.review__meta { color: var(--stone-500); font-size: .82rem; }
.slider-nav { display: flex; gap: 10px; justify-content: center; margin-top: 10px; }
.slider-nav button {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--stone-300);
  background: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--ink);
  transition: .2s;
}
.slider-nav button:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- Этапы ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { background: #fff; border: 1px solid var(--stone-200); border-radius: var(--radius); padding: 24px 22px; position: relative; box-shadow: var(--shadow); }
.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.02rem; margin: 0 0 8px; }
.step p, .step ul { color: var(--stone-500); font-size: .9rem; }
.step ul { padding-left: 18px; margin: 0; }

/* ---------- Кромки ---------- */
.edges { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.edges figure { margin: 0; text-align: center; }
.edges img {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: contain; /* чертежи профилей не обрезаем */
  border-radius: var(--radius);
  border: 1px solid var(--stone-200);
  background: #fff;
  padding: 6px;
  box-sizing: border-box;
}
.edges figcaption { font-size: .84rem; color: var(--stone-500); margin-top: 6px; font-weight: 600; }
.edge-note { display: block; font-size: .72rem; color: var(--stone-300); margin-top: 2px; }
.edges figure.edge-has-photos { cursor: pointer; }
.edges figure.edge-has-photos img { transition: transform .25s; }
.edges figure.edge-has-photos:hover img { transform: scale(1.04); border-color: var(--accent); }
.edges figure.edge-has-photos .edge-note { color: var(--accent-dark); font-weight: 600; }

/* ---------- Каталог материалов ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 30px; }
.chip {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--stone-300);
  background: #fff;
  font-size: .88rem;
  font-weight: 500;
  cursor: pointer;
  transition: .2s;
  color: var(--ink);
  font-family: var(--font);
}
.chip:hover { border-color: var(--accent); color: var(--accent-dark); }
.chip.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }

.materials-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1000px) { .materials-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .materials-grid { grid-template-columns: repeat(2, 1fr); } }
.material-card {
  background: #fff;
  border: 1px solid var(--stone-200);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: .2s;
}
.material-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.material-card__img { aspect-ratio: 1; background: var(--stone-200); cursor: zoom-in; }
.material-card__img img { width: 100%; height: 100%; object-fit: cover; }
.material-card__body { padding: 14px 16px 16px; }
.material-card__cat { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-dark); font-weight: 600; }
.material-card__name { font-weight: 600; margin: 4px 0 0; font-size: .95rem; }
.material-card__supplier { font-size: .8rem; color: var(--stone-500); margin-top: 3px; }

.catalog-search {
  max-width: 420px;
  margin: 0 auto 26px;
  display: flex;
  border: 1px solid var(--stone-300);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}
.catalog-search input { flex: 1; border: 0; outline: none; padding: 12px 20px; font-family: var(--font); font-size: .95rem; background: transparent; }
.catalog-search button { border: 0; background: var(--accent); color: #fff; padding: 0 22px; cursor: pointer; font-size: 1rem; }

.empty-note { text-align: center; color: var(--stone-500); padding: 40px 0; display: none; }

/* ---------- Статья (блог) ---------- */
.page-hero {
  background: var(--stone-100);
  border-bottom: 1px solid var(--stone-200);
  padding: clamp(36px, 6vw, 64px) 0;
  text-align: center;
}
.page-hero h1 { margin: 0 0 12px; }
.page-hero p { color: var(--stone-500); max-width: 640px; margin: 0 auto; }

.breadcrumbs { font-size: .82rem; color: var(--stone-500); padding: 18px 0 0; }
.breadcrumbs a { color: var(--stone-500); }
.breadcrumbs a:hover { color: var(--accent-dark); }

.prose { max-width: 800px; margin: 0 auto; font-size: 1.02rem; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose img { border-radius: var(--radius); margin: 1.4em auto; box-shadow: var(--shadow); }
.prose blockquote {
  border-left: 4px solid var(--accent);
  margin: 1.4em 0;
  padding: .6em 1.2em;
  background: var(--stone-100);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--stone-700);
}
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }

.article-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; }
.article-nav a { font-weight: 600; font-size: .92rem; }

/* ---------- Блог-лента ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }
.post-card {
  background: #fff;
  border: 1px solid var(--stone-200);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: .2s;
  display: flex; flex-direction: column;
  color: var(--ink);
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--ink); }
.post-card__img { aspect-ratio: 16/10; overflow: hidden; background: var(--stone-200); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.post-card:hover .post-card__img img { transform: scale(1.05); }
.post-card__body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.post-card__title { font-weight: 600; font-size: 1.02rem; margin: 0 0 8px; }
.post-card__text { color: var(--stone-500); font-size: .9rem; flex: 1; }

/* ---------- Контакты ---------- */
.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
@media (max-width: 800px) { .contacts { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--stone-200); align-items: flex-start; }
.contact-list .ic { font-size: 1.3rem; }
.contact-list b { display: block; }
.contact-list a { font-size: 1.05rem; font-weight: 600; }
.requisites { font-size: .85rem; color: var(--stone-500); margin-top: 22px; }

/* ---------- Карта (География работ) ---------- */
.map-wrap { height: 480px; border-radius: var(--radius); border: 1px solid var(--stone-200);
  overflow: hidden; box-shadow: var(--shadow); position: relative; z-index: 1; background: var(--stone-100); }
@media (max-width: 600px) { .map-wrap { height: 380px; } }
.map-legend { text-align: center; color: var(--stone-500); font-size: .88rem; margin: 14px 0 4px; }
.ws-marker { display: inline-block; width: 14px; height: 14px; border-radius: 50%;
  border: 2.5px solid #fff; box-shadow: 0 1px 5px rgba(0,0,0,.45); }

/* ---------- Плавающая кнопка WhatsApp ---------- */
.fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
  transition: .2s;
}
.fab:hover { transform: scale(1.08); color: #fff; }
.fab svg { width: 30px; height: 30px; }

/* ---------- Футер ---------- */
.footer { background: var(--graphite); color: #cfc9bf; padding: 54px 0 26px; font-size: .92rem; }
.footer a { color: #e9e4dc; }
.footer a:hover { color: var(--accent-light); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 34px; padding-bottom: 30px; border-bottom: 1px solid #45403a; }
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { padding: 5px 0; }
.footer__logo { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer__logo img { height: 44px; background: #fff; border-radius: 8px; padding: 4px; }
.footer__logo b { color: #fff; font-size: 1.05rem; }
.footer__bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 22px; font-size: .8rem; color: #8d877d; }

/* ---------- Утилиты ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 1.4em; }
.mt-4 { margin-top: 2.6em; }
.notice {
  background: var(--stone-100);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  font-size: .95rem;
}

/* ---------- Админка (минимум, отдельный стиль) ---------- */
.admin-body { background: var(--stone-100); font-family: var(--font); }
.admin-shell { max-width: 960px; margin: 0 auto; padding: 26px 18px 60px; }
.admin-card { background: #fff; border: 1px solid var(--stone-200); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); margin-bottom: 20px; }
.admin-top { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.admin-table th, .admin-table td { text-align: left; padding: 10px 10px; border-bottom: 1px solid var(--stone-200); vertical-align: middle; }
.admin-table img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; }
.admin-form label { display: block; font-weight: 600; font-size: .85rem; margin: 14px 0 6px; }
.admin-form input[type=text], .admin-form input[type=password], .admin-form input[type=number], .admin-form select, .admin-form textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--stone-300); border-radius: 8px; font-family: var(--font); font-size: .95rem;
}
.admin-form textarea { min-height: 90px; resize: vertical; }
.admin-msg { padding: 12px 16px; border-radius: 8px; margin-bottom: 18px; font-size: .92rem; }
.admin-msg--ok { background: #e2f6e9; color: #17683a; }
.admin-msg--err { background: #fde8e8; color: #8f2323; }
.admin-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.btn-sm { padding: 7px 14px; font-size: .82rem; border-radius: 8px; }
