/* AVELED — стили сайта. Тёмная шапка, жёлтый акцент, белые карточки. */
:root {
  --ink: #15161a;
  --ink-2: #2b2d33;
  --muted: #6b7078;
  --line: #e6e7ea;
  --line-2: #d3d5da;
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --bg-dark: #141518;
  --bg-dark-2: #1d1f24;
  --accent: #ffd400;
  --accent-dark: #e6bd00;
  --accent-soft: #fff8d1;
  --green: #12a150;
  --radius: 14px;
  --radius-sm: 9px;
  --wrap: 1240px;
  --font: "Inter", "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --shadow: 0 8px 28px -12px rgba(15, 18, 25, 0.18), 0 2px 6px rgba(15, 18, 25, 0.05);
  --shadow-lg: 0 30px 70px -24px rgba(15, 18, 25, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-dark); }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.2; font-weight: 750; letter-spacing: -0.015em; }
h1 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h2 { font-size: clamp(1.35rem, 2.2vw, 1.9rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--accent); padding: 8px 12px; z-index: 100; border-radius: 6px; }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 10px; border: 1px solid var(--line-2);
  background: #fff; color: var(--ink); font: inherit; font-weight: 650; font-size: 15px;
  cursor: pointer; transition: background .15s, transform .1s, border-color .15s;
  text-align: center; white-space: nowrap;
}
.btn:hover { border-color: var(--ink); color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #111; }
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #111; }
.btn-dark { background: var(--bg-dark); border-color: var(--bg-dark); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-outline { border-color: rgba(255, 255, 255, 0.5); background: transparent; color: #fff; }
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; color: #fff; }
.btn-lg { padding: 14px 24px; font-size: 16px; border-radius: 12px; }
.btn-sm { padding: 6px 12px; font-size: 13px; border-radius: 8px; }
.btn-block { width: 100%; }
.btn-danger { color: #c02616; border-color: #f2c7c2; }

.topbar { background: var(--bg-dark); color: #c9ccd2; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 36px; }
.topbar-links { display: flex; gap: 18px; }
.topbar a { color: #e7e9ec; }
.topbar a:hover { color: var(--accent); }

.hdr { background: var(--bg-dark); color: #fff; position: sticky; top: 0; z-index: 40; }
.hdr-inner { display: flex; align-items: center; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; letter-spacing: 0.16em; color: #fff; }
.brand:hover { color: #fff; }
.brand-name { text-transform: uppercase; }
.hdr-search { flex: 1; display: flex; max-width: 460px; background: #fff; border-radius: 10px; overflow: hidden; }
.hdr-search input { flex: 1; border: 0; padding: 11px 14px; font: inherit; font-size: 14px; outline: none; min-width: 0; }
.hdr-search button { border: 0; background: var(--accent); color: #111; font: inherit; font-weight: 700; padding: 0 18px; cursor: pointer; }
.hdr-actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.hdr-phone { font-weight: 750; font-size: 18px; color: #fff; white-space: nowrap; }
.hdr-phone:hover { color: var(--accent); }
.hdr-hours { font-size: 12.5px; color: #a9adb5; }
.mainnav { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.mainnav ul { display: flex; gap: 4px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.mainnav a { display: inline-block; padding: 10px 12px; font-size: 14.5px; font-weight: 600; color: #d5d8dd; border-bottom: 2px solid transparent; }
.mainnav a:hover, .mainnav a.is-active { color: #fff; border-bottom-color: var(--accent); }
.nav-count { color: #8d9199; font-size: 12px; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--bg-dark) 0%, #1b1d22 70%, #fff 70.1%); }
.hero-inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; padding-top: 48px; padding-bottom: 64px; color: #fff; }
.hero-kicker { display: inline-block; padding: 5px 12px; border: 1px solid rgba(255, 212, 0, 0.45); color: var(--accent); border-radius: 999px; font-size: 13px; font-weight: 650; margin-bottom: 18px; }
.hero h1 { font-size: clamp(1.8rem, 3.6vw, 3rem); margin-bottom: 16px; }
.hero-lead { color: #c7cbd2; font-size: 17px; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 20px; }
.hero-facts { display: flex; gap: 26px; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.hero-facts li { display: flex; flex-direction: column; font-size: 13px; color: #9ea3ac; }
.hero-facts b { font-size: 16px; color: #fff; }
.hero-visual { position: relative; height: 380px; }
.hero-pic { position: absolute; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-pic img { width: 100%; height: 100%; object-fit: cover; }
.hero-pic-1 { width: 62%; height: 72%; right: 8%; top: 0; }
.hero-pic-2 { width: 46%; height: 46%; left: 0; bottom: 0; }
.hero-pic-3 { width: 38%; height: 34%; right: 0; bottom: 6%; }

/* Секции и карточки */
.section { padding: 48px 20px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 22px; flex-wrap: wrap; }
.link-more { font-weight: 650; color: var(--ink); }
.link-more:hover { color: var(--accent-dark); }
.cat-group { margin-bottom: 26px; }
.cat-group h3 { font-size: 1rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px; }
.cat-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.cat-chip { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-weight: 600; transition: border-color .15s, box-shadow .15s; }
.cat-chip:hover { border-color: var(--ink); box-shadow: var(--shadow); color: var(--ink); }
.cat-chip-count { color: var(--muted); font-size: 13px; font-weight: 500; white-space: nowrap; }

.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; transition: box-shadow .18s, transform .18s, border-color .18s; }
.card:hover { box-shadow: var(--shadow); border-color: var(--line-2); transform: translateY(-2px); }
.card-img { position: relative; display: block; aspect-ratio: 6 / 5; background: var(--bg-soft); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: transform .3s; }
.card:hover .card-img img { transform: scale(1.03); }
.badge { position: absolute; top: 10px; left: 10px; padding: 3px 8px; border-radius: 6px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }
.badge-new { background: var(--ink); color: var(--accent); }
.badge-series { top: auto; bottom: 10px; left: 10px; background: rgba(255, 255, 255, 0.92); color: var(--ink-2); border: 1px solid var(--line); text-transform: none; letter-spacing: 0; }
.card-body { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 16px; flex: 1; }
.card-title { font-weight: 700; font-size: 15px; line-height: 1.35; color: var(--ink); }
.card-title:hover { color: var(--accent-dark); }
.card-sku { font-size: 12.5px; color: var(--muted); }
.card-specs { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; font-size: 13px; }
.card-specs li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed var(--line); padding-bottom: 3px; }
.card-specs i { color: var(--muted); font-style: normal; }
.card-specs b { font-weight: 600; text-align: right; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; }
.card-price { font-weight: 700; color: var(--ink); }

.empty { padding: 40px; text-align: center; color: var(--muted); background: var(--bg-soft); border-radius: var(--radius); }

.band { background: var(--bg-soft); padding: 48px 0; }
.adv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.adv { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.adv-icon { width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--ink); display: grid; place-items: center; font-weight: 800; margin-bottom: 12px; }
.adv h3 { font-size: 16px; }
.adv p { color: var(--muted); font-size: 14.5px; margin: 0; }

.about-strip { display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; padding: 34px; border-radius: 20px; background: var(--bg-soft); border: 1px solid var(--line); }
.about-strip p { color: var(--ink-2); }
.about-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: center; }
.about-list li { display: flex; flex-direction: column; padding: 14px; background: #fff; border-radius: 12px; border: 1px solid var(--line); }
.about-list b { font-size: 20px; }
.about-list span { font-size: 13px; color: var(--muted); }

.cta-band { background: var(--accent); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding-top: 36px; padding-bottom: 36px; flex-wrap: wrap; }
.cta-inner h2 { margin-bottom: 6px; }
.cta-inner p { margin: 0; max-width: 640px; color: #3b3405; }
.cta-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cta-phone { font-weight: 800; font-size: 20px; }

/* Каталог */
.crumbs { padding: 16px 0 0; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: 13.5px; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "›"; margin-left: 6px; color: var(--line-2); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.catalog-layout { display: grid; grid-template-columns: 250px 1fr; gap: 28px; padding-top: 18px; padding-bottom: 48px; align-items: start; }
.filters { position: sticky; top: 130px; display: flex; flex-direction: column; gap: 18px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.filter-search { display: flex; gap: 6px; }
.filter-search input { flex: 1; min-width: 0; padding: 8px 10px; border: 1px solid var(--line-2); border-radius: 8px; font: inherit; font-size: 14px; }
.filter-group h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 8px; }
.filter-group ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.filter-group a { display: inline-block; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; }
.filter-group a:hover { border-color: var(--ink); color: var(--ink); }
.filter-group a.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter-reset { font-size: 13px; color: var(--muted); text-decoration: underline; }
.catalog-main { min-width: 0; }
.catalog-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.catalog-head h1 { margin: 0; }
.catalog-count { color: var(--muted); }
.cat-desc { color: var(--ink-2); background: var(--bg-soft); border-radius: 12px; padding: 14px 16px; margin-bottom: 18px; font-size: 14.5px; }
.search-note { color: var(--muted); }
.pager { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 26px; justify-content: center; }
.pager a { min-width: 38px; padding: 7px 10px; text-align: center; border: 1px solid var(--line); border-radius: 8px; font-weight: 600; }
.pager a.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Товар */
.product { display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; padding-top: 20px; padding-bottom: 32px; }
.product-gallery { min-width: 0; }
.product-main-img { aspect-ratio: 6 / 5; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); overflow: hidden; }
.product-main-img img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.product-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.thumb { width: 76px; height: 64px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg-soft); padding: 4px; cursor: pointer; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb.active { border-color: var(--ink); }
.product-series { display: inline-block; font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.product-meta { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.product-price-box { padding: 16px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line); margin-bottom: 16px; }
.product-price { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.product-price-box p { margin: 0; font-size: 14px; color: var(--muted); }
.product-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.product-facts { list-style: none; padding: 0; margin: 0; font-size: 14.5px; display: grid; gap: 6px; }
.product-facts b { font-weight: 650; }
.product-details { display: grid; grid-template-columns: 1fr 340px; gap: 32px; padding-bottom: 40px; align-items: start; }
.product-details h2 { margin-top: 8px; font-size: 1.35rem; }
.rich-text { color: var(--ink-2); margin-bottom: 20px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.spec-table th, .spec-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { color: var(--muted); font-weight: 600; width: 44%; background: var(--bg-soft); }
.product-aside { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 130px; }
.aside-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.aside-card h3 { margin-bottom: 8px; }
.aside-card p { font-size: 14px; color: var(--muted); }
.aside-card-muted { background: var(--bg-soft); }

/* Инфо-страницы */
.page { padding-top: 20px; padding-bottom: 48px; }
.page-narrow { max-width: 860px; }
.center { text-align: center; }
.lead-text { font-size: 17.5px; color: var(--ink-2); }
.doc-list li { margin-bottom: 8px; }
.steps { padding-left: 1.3em; }
.steps li { margin-bottom: 10px; }
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.contact-big { font-size: 22px; font-weight: 800; }

/* Формы */
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.lead-form .field-full, .lead-form-wide .field-full { grid-column: 1 / -1; }
.lead-form .field, .lead-form-wide .field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.lead-form label, .lead-form-wide label { font-size: 13px; color: var(--muted); font-weight: 600; }
.lead-form input, .lead-form textarea, .lead-form-wide input, .lead-form-wide textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 9px; font: inherit; font-size: 15px; background: #fff; color: var(--ink);
}
.lead-form input:focus, .lead-form textarea:focus, .lead-form-wide input:focus, .lead-form-wide textarea:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.lead-form-wide { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.lead-form-inline { grid-template-columns: 1fr; }
.check { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); font-weight: 500 !important; }
.check input { width: auto; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-error { color: #c02616; font-size: 14px; margin: 0; }
.form-success { text-align: center; padding: 12px; }
.ok-badge { width: 48px; height: 48px; margin: 0 auto 10px; border-radius: 50%; background: #e8f7ee; color: var(--green); display: grid; place-items: center; font-size: 26px; font-weight: 800; }
.form-alt { font-size: 14px; color: var(--muted); margin: 0; }

/* Модалки */
.modal, .cart-drawer { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; }
.modal[hidden], .cart-drawer[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(10, 12, 16, 0.55); backdrop-filter: blur(2px); }
.modal-card { position: relative; width: min(580px, calc(100% - 32px)); max-height: calc(100vh - 60px); overflow: auto; background: #fff; border-radius: 18px; padding: 26px; box-shadow: var(--shadow-lg); }
.modal-close { position: absolute; right: 12px; top: 10px; border: 0; background: none; font-size: 26px; line-height: 1; cursor: pointer; color: var(--muted); }
.modal-sub { color: var(--muted); font-size: 14.5px; }
.cart-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(460px, 100%); background: #fff; box-shadow: var(--shadow-lg); padding: 22px; overflow: auto; display: flex; flex-direction: column; gap: 14px; }
.cart-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cart-head h2 { font-size: 1.15rem; margin: 0; }
.cart-items { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cart-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; }
.cart-line .qty { display: inline-flex; align-items: center; gap: 6px; }
.cart-line button { border: 1px solid var(--line-2); background: #fff; border-radius: 6px; width: 26px; height: 26px; cursor: pointer; }

.float-actions { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; flex-direction: column; gap: 8px; }
.float-btn { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 10px 16px; font: inherit; font-size: 14px; font-weight: 650; cursor: pointer; box-shadow: var(--shadow); color: var(--ink); }
.float-accent { background: var(--accent); border-color: var(--accent); }

/* Подвал */
.ftr { background: var(--bg-dark); color: #b9bdc4; margin-top: 40px; }
.ftr-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; padding-top: 44px; padding-bottom: 28px; }
.ftr h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; font-size: 14.5px; }
.ftr a { color: #dfe1e5; }
.ftr a:hover { color: var(--accent); }
.ftr .brand { margin-bottom: 12px; }
.ftr-note { font-size: 14px; }
.ftr-note.small { font-size: 12.5px; color: #8b9099; }
.ftr-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 26px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 12.5px; color: #868b93; }

/* Админка */
.admin-wrap { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; background: var(--bg-soft); }
.admin-nav { background: var(--bg-dark); color: #c9ccd2; padding: 20px 14px; display: flex; flex-direction: column; gap: 4px; }
.admin-brand { color: #fff; font-weight: 800; letter-spacing: 0.08em; margin-bottom: 14px; }
.admin-nav a, .admin-nav .link-btn { padding: 9px 10px; border-radius: 8px; font-size: 14.5px; text-align: left; }
.admin-nav a:hover, .admin-nav a.active { background: rgba(255, 255, 255, 0.08); color: #fff; }
.badge-new-n { background: var(--accent); color: #111; border-radius: 999px; padding: 1px 7px; font-size: 12px; font-weight: 700; }
.admin-main { padding: 24px 28px; min-width: 0; }
.admin-main h1 { font-size: 1.6rem; }
.admin-toolbar { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.tabs a { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; }
.tabs a.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.admin-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; font-size: 14px; }
.admin-table th, .admin-table td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.admin-table th { background: var(--bg-soft); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.admin-table.compact td { font-size: 13.5px; }
.admin-table .thumb { width: 52px; height: 44px; object-fit: contain; border: 1px solid var(--line); border-radius: 6px; }
.lead-detail { max-width: 360px; }
.mini-cart { margin: 4px 0 0; padding-left: 18px; }
.pill { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--bg-soft); border: 1px solid var(--line); }
.pill-new { background: var(--accent-soft); border-color: var(--accent); }
.pill-in_work { background: #e8f1ff; border-color: #b6d0f7; }
.pill-done { background: #e8f7ee; border-color: #b7e3c8; }
.pill-spam { background: #fdecea; border-color: #f5b8b1; }
.admin-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; margin-bottom: 16px; }
.panel h2 { font-size: 1.1rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.form-grid label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); font-weight: 600; }
.form-grid .field-full { grid-column: 1 / -1; }
.form-grid input, .form-grid select, .form-grid textarea { padding: 8px 10px; border: 1px solid var(--line-2); border-radius: 8px; font: inherit; font-size: 14.5px; color: var(--ink); }
.form-grid .check { flex-direction: row; align-items: center; }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; }
.link-btn.danger { color: #c02616; }
.img-list { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.img-item { width: 130px; display: flex; flex-direction: column; gap: 6px; }
.img-item img { width: 100%; height: 100px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; background: var(--bg-soft); }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.admin-note { color: var(--muted); font-size: 13px; }
.admin-ok { color: var(--green); font-weight: 650; }
.login-wrap { display: grid; place-items: center; min-height: 70vh; }
.login-card { width: min(380px, 100%); background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: grid; gap: 12px; }
.login-card label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: var(--muted); font-weight: 600; }
.login-card input { padding: 10px; border: 1px solid var(--line-2); border-radius: 8px; font: inherit; }

/* Адаптив */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero { background: linear-gradient(180deg, var(--bg-dark) 0%, #1b1d22 92%, #fff 92.1%); }
  .catalog-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .product, .product-details, .contacts-grid, .about-strip { grid-template-columns: 1fr; }
  .product-aside { position: static; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .admin-cols { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .hdr-inner { flex-wrap: wrap; gap: 12px; }
  .hdr-search { order: 3; flex-basis: 100%; max-width: none; }
  .hdr-hours { display: none; }
  .mainnav ul { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .mainnav a { white-space: nowrap; }
  .topbar-note { display: none; }
  .admin-wrap { grid-template-columns: 1fr; }
  .admin-nav { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .form-grid, .lead-form, .lead-form-wide { grid-template-columns: 1fr; }
  .float-actions { right: 10px; bottom: 10px; }
}
@media (max-width: 560px) {
  .ftr-grid { grid-template-columns: 1fr; }
  .about-list { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .card-foot { flex-direction: column; align-items: stretch; }
}
