/* ============================================================
   JulCraft — Скин «Геометрия, которую можно надеть» (Мемфис)
   Эксперимент work1206D: Функционал и РАЗМЕТКА — из макета 06D,
   ВИЗУАЛЬНОЕ ОФОРМЛЕНИЕ — по дизайн-системе 12D (redesign12.md).
   Все классы и структура HTML остались от 06D; меняются только
   токены, шрифты, радиусы, тени, фоны и микро-взаимодействия.
   Для A/B-сравнения со скином «Тёплое ручное тепло» верните
   в HTML ссылку на assets/css/style.css.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@400;600;700;800&family=Nunito:wght@400;600;700;800&display=swap');

/* ---------- 1. Токены (палитра 12D redesign12.md §1.1) ---------- */
:root {
  /* каноническая палитра 12D */
  --bg:#faf5ec;    /* фон body, тёплый кремовый */
  --ink:#22242a;   /* основной текст, границы, ВСЕ тени */
  --c1:#e8b64c;    /* акцент 1: жёлтый/горчичный — CTA fill, бейджи, тени */
  --c2:#7fae9e;    /* акцент 2: мятный — CTA line, чипы, тени */
  --c3:#d0785a;    /* акцент 3: терракота/коралл — чипы, рамки, doodle */
  --white:#ffffff; /* карточки, формы */

  /* производные 12D (redesign12.md §1.1 «допустимо») */
  --muted:#5a5d66;    /* приглушённый текст */
  --on-dark:#d8dae0;  /* текст на тёмном фоне */
  --line:#d8dae0;     /* разделители/пунктир */
  --err-bg:#fdf0e9;   /* фон ошибочного поля */
  --c1-soft:rgba(232,182,76,.18);
  --c3-soft:rgba(208,120,90,.18);
  --lshad: var(--ink);

  /* алиасы имён 06D → значения 12D (чтобы inline-стили макета работали) */
  --cream:var(--bg);
  --brown:var(--ink);
  --mustard:var(--c1);
  --rust:var(--c3);
  --olive:var(--c2);
  --paper:var(--white);
  --paper-2:#f2dfb6;
  --dot:var(--line);

  /* тени — жёсткие, без blur (12D: 6/8/10/12px, цвет ink или акценты) */
  --shadow-item:8px 8px 0 var(--ink);
  --shadow-item-hover:12px 12px 0 var(--ink);
  --shadow-phone:6px 6px 0 var(--c1);
  --shadow-phone-hover:9px 9px 0 var(--c1);
  --shadow-board:10px 10px 0 var(--ink);
  --shadow-receipt:12px 12px 0 var(--ink);
  --shadow-chip:3px 3px 0 var(--ink);

  --r-item:24px;
  --r-form:16px;

  /* --font-display:'Unbounded',sans-serif; */
    --font-display: 'Unbounded', cursive;
  --font-mono:'Nunito',sans-serif;

  --z-content:0;
  --z-header:10;
  --z-sticky:20;
  --z-modal:50;
  --z-burger:100;
}

/* ---------- 2. База ---------- */
* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; background:var(--bg); }
body {
  font-family:var(--font-mono); background:transparent; color:var(--ink);
  line-height:1.7; font-size:1rem; overflow-x:hidden;
}
h1,h2,h3,h4 { font-family:var(--font-display); font-weight:700; line-height:1.25; }
img { max-width:100%; display:block; }
a { color:var(--ink); }
::selection { background:var(--c1); color:var(--ink); }

/* Конфетти-фон (12D .confetti) — чистый CSS, без правок HTML:
   html несёт базовый фон, body прозрачен, фиксированный
   псевдоэлемент с z-index:-1 рисует конфетти под контентом. */
body::before {
  /* content:''; position:fixed; inset:0; z-index:-1; pointer-events:none; opacity:.65;
  background:
    radial-gradient(circle at 10% 16%, var(--c1) 0 96px, transparent 97px),
    radial-gradient(circle at 90% 8%,  var(--c2) 0 132px, transparent 133px),
    radial-gradient(circle at 82% 80%, var(--c3) 0 104px, transparent 105px),
    radial-gradient(circle at 6% 88%,  var(--c2) 0 72px,  transparent 73px),
    radial-gradient(circle at 55% 45%, var(--c1) 0 60px,  transparent 61px),
    linear-gradient(45deg, transparent 0 48%, rgba(232,182,76,.32) 48% 52%, transparent 52%);
  background-size:340px 340px, 440px 440px, 380px 380px, 300px 300px, 320px 320px, 200px 200px;
  background-repeat:repeat; */
    content:''; position:fixed; inset:0; z-index:var(--z-confetti); pointer-events:none;
  background-image:
    radial-gradient(circle 8px at 12% 20%, var(--c1) 98%, transparent),
    radial-gradient(circle 6px at 86% 12%, var(--c2) 98%, transparent),
    radial-gradient(circle 5px at 78% 84%, var(--c3) 98%, transparent),
    radial-gradient(circle 7px at 8% 78%, var(--c3) 98%, transparent),
    linear-gradient(45deg, transparent 48%, rgba(127,174,158,.25) 48% 52%, transparent 52%);
  background-size:340px 340px, 380px 380px, 300px 300px, 420px 420px, 48px 48px;
}
body > * { position:relative; z-index:1; }

/* ---------- 2. Фон «Конфетти» ---------- */
.confetti {
  position:fixed; inset:0; z-index:var(--z-confetti); pointer-events:none;
  background-image:
    radial-gradient(circle 8px at 12% 20%, var(--c1) 98%, transparent),
    radial-gradient(circle 6px at 86% 12%, var(--c2) 98%, transparent),
    radial-gradient(circle 5px at 78% 84%, var(--c3) 98%, transparent),
    radial-gradient(circle 7px at 8% 78%, var(--c3) 98%, transparent),
    linear-gradient(45deg, transparent 48%, rgba(127,174,158,.25) 48% 52%, transparent 52%);
  background-size:340px 340px, 380px 380px, 300px 300px, 420px 420px, 48px 48px;
}

.wrap { max-width:1240px; margin:0 auto; padding:0 4vw; }
section.sect { padding:70px 4vw; max-width:1240px; margin:0 auto; }
.sec-h2 { font-size:clamp(1.7rem,4vw,2.6rem); color:var(--ink); margin-bottom:8px; letter-spacing:-.01em; }
.sec-sub { color:var(--muted); margin-bottom:36px; font-size:.92rem; letter-spacing:.01em; }
.center { text-align:center; }
.muted { color:var(--muted); }
.mt-10{margin-top:10px;} .mt-20{margin-top:20px;} .mt-30{margin-top:30px;} .mt-40{margin-top:40px;}
.mb-10{margin-bottom:10px;} .mb-20{margin-bottom:20px;} .mb-30{margin-bottom:30px;}
.grow-1{flex:1;}

/* ---------- 3. Герой (06D .signboard → 12D .hero) ---------- */
.signboard {
  background:transparent; padding:74px 4vw 62px; text-align:center;
  border-bottom:none; position:relative; overflow:hidden;
}
/* багеты 06D убраны — вместо них лёгкий декор по углам */
.signboard::before, .signboard::after { display:none; }
.signboard .est {
  display:inline-block; background:var(--c3); color:var(--white);
  border:3px solid var(--ink); border-radius:999px; padding:8px 24px;
  font-family:var(--font-display); font-weight:600; font-size:.66rem;
  letter-spacing:.06em; text-transform:uppercase;
  transform:rotate(-3deg); box-shadow:var(--shadow-chip);
}
.signboard h1 {
  font-size:clamp(2.8rem,9vw,5.6rem); color:var(--ink);
  text-shadow:none; margin:22px 0 10px; letter-spacing:-.02em; font-weight:800;
}
.signboard h1 .chip, .signboard h1 span { display:inline-block; }
.signboard .tag { color:var(--muted); font-size:1.05rem; max-width:60ch; margin:0 auto; font-weight:600; }
.signboard .cta-row { margin-top:30px; display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
.signboard--small { padding:54px 4vw 46px; }
.signboard--small h1 { font-size:clamp(1.9rem,5vw,3.2rem); }
.signboard--small .est { letter-spacing:.04em; }

/* разделитель секций — диагональная «конструкторская» полоса */
.zigzag {
  height:12px;
  background:repeating-linear-gradient(-45deg, var(--ink) 0 12px, transparent 12px 24px);
  opacity:.75;
}

/* ---------- 4. Шапка (06D .topbar → 12D .header, pill-nav) ---------- */
.topbar {
  position:sticky; top:0; z-index:var(--z-header);
  background:rgba(250,245,236,.94); backdrop-filter:blur(6px);
  border-bottom:3px solid var(--ink);
  display:flex; align-items:center; justify-content:space-between; gap:14px; padding:12px 4vw;
}
.topbar .logo {
  font-family:var(--font-display); font-weight:800; font-size:1.35rem; color:var(--ink);
  text-decoration:none; white-space:nowrap; line-height:1.1;
  display:inline-flex; align-items:center; gap:9px;
}
/* кружок-индикатор (12D .logo i) */
.topbar .logo::after { content:''; width:14px; height:14px; border-radius:50%; background:var(--c3); border:2.5px solid var(--ink); flex:none; }
.topbar .logo small {
  font-family:var(--font-mono); font-size:.58rem; letter-spacing:.14em;
  color:var(--muted); margin-left:2px; text-transform:uppercase; font-weight:700;
}
.topbar nav { display:flex; gap:8px; }
.topbar nav a {
  color:var(--ink); font-size:.76rem; font-weight:700; letter-spacing:.02em; text-transform:none;
  padding:9px 18px; text-decoration:none; border-radius:999px; transition:.2s; white-space:nowrap;
  background:var(--white); border:2.5px solid var(--ink);
}
.topbar nav a:hover { background:var(--c1); transform:rotate(-2deg); }
.topbar nav a.is-active { background:var(--ink); color:var(--white); }
.topbar .actions { display:flex; gap:8px; align-items:center; }

.icon-btn {
  position:relative; width:42px; height:42px; border-radius:50%; border:3px solid var(--ink);
  background:var(--c1); color:var(--ink); display:flex; align-items:center; justify-content:center;
  text-decoration:none; box-shadow:var(--shadow-chip); transition:.2s; font-size:1rem; font-weight:700;
}
.icon-btn:hover { transform:translate(-2px,-2px) rotate(-8deg); box-shadow:6px 6px 0 var(--ink); }
.icon-btn--rust { background:var(--c3); color:var(--white); }
.icon-btn--olive { background:var(--c2); color:var(--ink); }
.icon-btn .cnt {
  position:absolute; top:-8px; right:-8px; min-width:20px; height:20px; border-radius:999px;
  background:var(--c3); border:2px solid var(--ink); color:var(--white);
  font-size:.6rem; font-weight:800; display:flex; align-items:center; justify-content:center; padding:0 5px;
}
.icon-btn--rust .cnt { background:var(--c1); color:var(--ink); }

.burger {
  display:none; width:44px; height:44px; border-radius:50%; border:3px solid var(--ink);
  background:var(--c1); color:var(--ink); font-size:1rem; cursor:pointer;
  align-items:center; justify-content:center; transition:.2s; box-shadow:var(--shadow-chip); font-weight:700;
}
.burger:hover { transform:translate(-2px,-2px) rotate(-8deg); }

/* мобильное меню — pill-навигация на конфетти-фоне */
.mobile-menu {
  position:fixed; inset:0; z-index:var(--z-burger); background:var(--bg);
  padding:26px 6vw; display:none; flex-direction:column; overflow-y:auto;
}
.mobile-menu.open { display:flex; animation:fadeIn .2s; }
.mobile-menu .mm-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:14px; }
.mobile-menu .mm-head b { font-family:var(--font-display); font-weight:800; font-size:1.3rem; color:var(--ink); }
.mobile-menu a.mm {
  font-family:var(--font-display); font-weight:700; font-size:1.15rem; color:var(--ink); text-decoration:none;
  padding:15px 4px; border-bottom:2px dashed var(--line);
  display:flex; justify-content:space-between; align-items:center;
}
.mobile-menu a.mm::after { content:'→'; color:var(--c3); font-size:1rem; font-weight:800; }
.mobile-menu .mm-foot { margin-top:auto; padding-top:26px; font-size:.8rem; color:var(--muted); font-weight:600; }

/* ---------- 5. Кнопки (12D: btn--fill / btn--line) ---------- */
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-family:var(--font-mono); font-weight:800; font-size:.74rem; letter-spacing:.06em; text-transform:uppercase;
  text-decoration:none; cursor:pointer; padding:14px 28px; border-radius:999px;
  border:3px solid var(--ink); transition:.2s; line-height:1.2; text-align:center;
}
.btn--primary { background:var(--ink); color:var(--white); box-shadow:6px 6px 0 var(--c1); }
.btn--primary:hover { transform:translate(-2px,-2px); box-shadow:9px 9px 0 var(--c1); }
.btn--secondary { background:var(--white); color:var(--ink); box-shadow:6px 6px 0 var(--c2); }
.btn--secondary:hover { transform:translate(-2px,-2px) rotate(-1deg); box-shadow:9px 9px 0 var(--c2); }
.btn--mustard { background:var(--c1); color:var(--ink); box-shadow:6px 6px 0 var(--ink); }
.btn--mustard:hover { transform:translate(-2px,-2px); box-shadow:9px 9px 0 var(--ink); }
.btn--olive { background:var(--c2); color:var(--ink); box-shadow:6px 6px 0 var(--ink); }
.btn--olive:hover { transform:translate(-2px,-2px); box-shadow:9px 9px 0 var(--ink); }
.btn--small { padding:9px 18px; font-size:.64rem; }
.btn--block { width:100%; }
.btn:disabled, .btn.is-disabled { opacity:.45; cursor:not-allowed; transform:none; box-shadow:none; }

/* ---------- 6. Витрина / карточки (12D .card) ---------- */
.shelf { display:grid; grid-template-columns:repeat(3,1fr); gap:34px; }
.item {
  background:var(--white); border:3px solid var(--ink); border-radius:var(--r-item);
  overflow:hidden; transition:.25s; display:block;
  text-decoration:none; color:var(--ink); position:relative;
}
/* цветовая кодировка теней (12D: c1/c2/c3 по порядку) */
.item:nth-child(3n+1) { box-shadow:8px 8px 0 var(--c1); }
.item:nth-child(3n+2) { box-shadow:8px 8px 0 var(--c2); }
.item:nth-child(3n+3) { box-shadow:8px 8px 0 var(--c3); }
.item:hover { transform:translate(-4px,-4px) rotate(-1deg); }
.item:nth-child(3n+1):hover { box-shadow:12px 12px 0 var(--c1); }
.item:nth-child(3n+2):hover { box-shadow:12px 12px 0 var(--c2); }
.item:nth-child(3n+3):hover { box-shadow:12px 12px 0 var(--c3); }
.item .photo { height:250px; overflow:hidden; border-bottom:3px solid var(--ink); background:var(--bg); }
.item .photo img { width:100%; height:100%; object-fit:cover; transition:transform .35s; }
.item:hover .photo img { transform:scale(1.05) rotate(1.5deg); }
.item .info { padding:18px 20px 22px; }
.item h3 { font-size:1.02rem; color:var(--ink); font-weight:600; line-height:1.3; }
.item .desc { font-size:.84rem; color:var(--muted); margin:6px 0 12px; min-height:40px; font-weight:600; }

.tag-row { display:flex; justify-content:space-between; align-items:center; gap:10px; flex-wrap:wrap; }
.price {
  background:var(--white); color:var(--ink); padding:4px 14px; border-radius:999px;
  font-family:var(--font-display); font-weight:800; font-size:.74rem;
  border:2.5px solid var(--ink); display:inline-block; box-shadow:3px 3px 0 var(--ink);
}
.avail { font-size:.7rem; color:var(--c1); letter-spacing:.04em; text-transform:uppercase; font-weight:800; }
.avail--reserve { color:var(--c3); }
.avail--order { color:var(--c3); }

/* бейджи на карточке (12D: «стикер» с поворотом) */
.badge {
  position:absolute; top:12px; left:-6px; z-index:2; background:var(--c1); color:var(--ink);
  border:2.5px solid var(--ink); border-radius:999px; font-size:.56rem; font-weight:800;
  letter-spacing:.08em; text-transform:uppercase; padding:5px 14px; transform:rotate(-3deg);
  box-shadow:var(--shadow-chip); font-family:var(--font-display);
}
.badge--new { background:var(--c3); color:var(--white); }
.badge--feat { right:-6px; left:auto; background:var(--c2); color:var(--ink); transform:rotate(3deg); }

/* плитка категорий (12D: геометрические иконки) */
.item--cat { text-align:center; padding:26px 18px 24px; cursor:pointer; }
.item--cat .cat-icon {
  width:88px; height:88px; margin:0 auto 14px; border-radius:50%; border:3px solid var(--ink);
  background:var(--white); display:flex; align-items:center; justify-content:center; transition:.25s;
}
.item--cat .cat-icon svg { width:44px; height:44px; }
.item--cat:nth-child(3n+1) .cat-icon { background:var(--c1); }
.item--cat:nth-child(3n+2) .cat-icon { background:var(--c2); }
.item--cat:nth-child(3n+3) .cat-icon { background:var(--c3); }
.item--cat:hover .cat-icon { transform:rotate(-8deg) scale(1.08); }
.item--cat .info { padding:0; }
.item--cat .desc { margin:4px 0 10px; min-height:0; }
.item--cat .count { font-size:.7rem; color:var(--muted); letter-spacing:.04em; text-transform:uppercase; font-weight:700; }
.item--cat.is-disabled { opacity:.5; pointer-events:none; }
.item--cat.is-disabled .cat-icon { filter:grayscale(1); }

/* ---------- 7. «Чек» 06D → карточка 12D (receipt без зубчиков) ---------- */
.receipt-sec { background:transparent; padding:70px 4vw; }
.receipt {
  max-width:560px; margin:0 auto; background:var(--white); padding:44px 40px;
  border:3px solid var(--ink); border-radius:var(--r-item);
  box-shadow:var(--shadow-receipt); position:relative;
  -webkit-mask:none; mask:none;
}
.receipt::before { display:none; }
.receipt h2 { color:var(--ink); text-align:center; font-size:1.25rem; margin-bottom:14px; font-weight:800; }
.receipt .row { display:flex; justify-content:space-between; gap:16px; padding:8px 0; border-bottom:1px dashed var(--line); font-size:.86rem; font-weight:600; }
.receipt .row:last-child { border:none; }
.receipt .row .r { text-align:right; }
.receipt .thanks { text-align:center; margin-top:22px; font-size:.72rem; color:var(--c3); letter-spacing:.04em; font-weight:800; }
/* штрих-код → «конструкторская» полоса из акцентов */
.receipt .barcode {
  height:14px; margin-top:18px; border-radius:999px; border:2px solid var(--ink);
  background:repeating-linear-gradient(90deg, var(--c1) 0 14px, var(--c2) 14px 28px, var(--c3) 28px 42px);
}
.receipt--wide { max-width:760px; }
.receipt--form .row { align-items:center; }
.receipt--form .row .lbl { letter-spacing:.06em; text-transform:uppercase; font-size:.68rem; color:var(--muted); font-weight:700; }

/* ---------- 8. Часы / панели ---------- */
.hours-grid { display:grid; grid-template-columns:1fr 1fr; gap:50px; align-items:center; }
.hours-txt p { margin-bottom:14px; font-size:.95rem; }
/* тёмный блок (12D .about) */
.hours-board {
  background:var(--ink); color:var(--white); border-radius:var(--r-item);
  padding:36px; border:3px solid var(--ink); box-shadow:10px 10px 0 var(--c3);
}
.hours-board h3 { color:var(--c1); font-size:1.15rem; margin-bottom:16px; font-weight:700; }
.hours-board .day { display:flex; justify-content:space-between; padding:8px 0; border-bottom:1px dotted rgba(216,218,224,.4); font-size:.88rem; color:var(--on-dark); font-weight:600; }
.hours-board .day:last-child { border:none; }
.hours-board .closed { color:var(--c3); font-weight:800; }

.phone {
  display:inline-block; margin-top:12px; background:var(--ink); color:var(--white);
  padding:14px 32px; border-radius:999px; text-decoration:none; font-weight:800;
  border:3px solid var(--ink); box-shadow:6px 6px 0 var(--c1); transition:.2s; font-size:.9rem;
}
.phone:hover { transform:translate(-2px,-2px); box-shadow:9px 9px 0 var(--c1); }

/* панель-карточка (админка: белые карточки без теней — 12D §4.3) */
.board {
  background:var(--white); color:var(--ink); border-radius:var(--r-item);
  border:3px solid var(--ink); overflow:hidden;
}
.board--paper { background:var(--white); }
.board .b-head {
  padding:16px 22px; border-bottom:3px solid var(--bg);
  display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap;
}
.board .b-head h3 { color:var(--ink); font-size:1rem; font-weight:700; }
.board .b-body { padding:22px; }
.board--paper .b-head { border-bottom-color:var(--bg); }
.board--paper .b-head h3 { color:var(--ink); }

/* CTA-баннер (12D: тёмный блок с цветной тенью) */
.cta-banner {
  background:var(--ink); color:var(--white); border-radius:var(--r-item);
  padding:52px 6vw; text-align:center; border:3px solid var(--ink); box-shadow:12px 12px 0 var(--c1);
}
.cta-banner h2 { color:var(--white); font-size:clamp(1.5rem,3.6vw,2.3rem); margin-bottom:10px; font-weight:800; }
.cta-banner p { color:var(--on-dark); max-width:56ch; margin:0 auto 24px; font-size:.92rem; font-weight:600; }

/* ---------- 9. Хлебные крошки ---------- */
.crumbs { padding:24px 4vw 0; max-width:1240px; margin:0 auto; font-size:.8rem; color:var(--muted); font-weight:600; }
.crumbs a { color:var(--muted); text-decoration:none; }
.crumbs a:hover { color:var(--c3); text-decoration:underline; }
.crumbs .sep { margin:0 8px; color:var(--line); }
.crumbs .cur { color:var(--ink); font-weight:800; }

/* ---------- 10. Формы ---------- */
.field { margin-bottom:18px; }
.field label { display:block; font-weight:800; font-size:.7rem; letter-spacing:.06em; text-transform:uppercase; margin-bottom:6px; }
.field .hint { font-size:.7rem; color:var(--muted); margin-top:4px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=password],
.field input[type=number], .field textarea, .field select {
  width:100%; background:var(--white); border:3px solid var(--ink); border-radius:var(--r-form);
  padding:12px 16px; font-family:var(--font-mono); font-size:.92rem; color:var(--ink); transition:.2s;
}
.field textarea { min-height:110px; resize:vertical; }
.field select {
  appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%2322242a' stroke-width='3'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 14px center; padding-right:40px;
}
.field input:focus, .field textarea:focus, .field select:focus { outline:3px solid var(--c1); outline-offset:0; }
.field input::placeholder, .field textarea::placeholder { color:var(--muted); opacity:.7; }
.field.has-error input, .field.has-error textarea { border-color:var(--c3); background:var(--err-bg); }
.field .err { color:var(--c3); font-size:.72rem; margin-top:4px; font-weight:700; }
.checkbox { display:flex; align-items:center; gap:10px; cursor:pointer; font-size:.82rem; font-weight:600; }
.checkbox input { width:20px; height:20px; accent-color:var(--c1); cursor:pointer; }
.field--row { display:flex; gap:12px; flex-wrap:wrap; }
.field--row .field { flex:1; min-width:150px; }

/* чипы / бейджи-статусы (12D .chip / .tag) */
.chips { display:flex; flex-wrap:wrap; gap:8px; }
.chip {
  display:inline-block; background:var(--white); border:2.5px solid var(--ink); border-radius:999px;
  padding:4px 14px; font-size:.6rem; letter-spacing:.04em; text-transform:uppercase; color:var(--ink);
  font-family:var(--font-display); font-weight:600; transform:rotate(-1deg);
}
.chip--mustard { background:var(--c1); }
.chip--rust { background:var(--c3); color:var(--white); }
.chip--olive { background:var(--c2); }
.chip--2 { background:var(--c3); transform:rotate(2.6deg); color:var(--white); text-transform:none; font-size:1.6rem; }

.tag {
  display:inline-flex; align-items:center; gap:6px; border:2.5px solid var(--ink); border-radius:999px;
  padding:3px 12px; font-size:.6rem; font-weight:800; letter-spacing:.04em; text-transform:uppercase;
  background:var(--white); white-space:nowrap;
}
.tag::before { content:''; width:7px; height:7px; border-radius:50%; background:currentColor; }
.tag--stock { color:var(--ink); background:var(--c1); }
.tag--order { color:var(--white); background:var(--c3); }
.tag--reserve { color:var(--ink); background:var(--c2); }
.tag--none { color:var(--muted); background:var(--white); }
.tag--new { color:var(--ink); background:var(--c1); }
.tag--in_progress { color:var(--ink); background:var(--c2); }
.tag--done { color:var(--white); background:var(--ink); }
.tag--cancelled { color:var(--white); background:var(--c3); }
.tag--mustard { color:var(--ink); background:var(--c1); }
.tag--olive { color:var(--ink); background:var(--c2); }

/* фильтры и табы (12D: pill-кнопки) */
.filters { display:flex; flex-wrap:wrap; gap:10px; }
.filter {
  border:2.5px solid var(--ink); background:var(--white); border-radius:999px; padding:8px 18px;
  font-size:.68rem; font-weight:800; letter-spacing:.04em; text-transform:uppercase; cursor:pointer;
  transition:.2s; color:var(--ink);
}
.filter:hover { background:var(--c1); transform:rotate(-2deg); }
.filter.is-active { background:var(--ink); color:var(--white); }
.tabs { display:flex; gap:8px; border-bottom:3px solid var(--ink); margin-bottom:22px; flex-wrap:wrap; }
.tab {
  border:none; background:none; font-family:var(--font-mono); font-size:.72rem; font-weight:800;
  letter-spacing:.04em; text-transform:uppercase; padding:12px 18px; cursor:pointer;
  color:var(--muted); border-bottom:4px solid transparent; margin-bottom:-3px; transition:.15s;
}
.tab:hover { color:var(--ink); }
.tab.is-active { color:var(--ink); border-bottom-color:var(--c1); }

.pagination { display:flex; gap:8px; justify-content:center; margin-top:44px; flex-wrap:wrap; }
.page-btn {
  min-width:40px; height:40px; padding:0 14px; border:3px solid var(--ink); border-radius:999px;
  background:var(--white); font-family:var(--font-mono); font-weight:800; font-size:.82rem;
  cursor:pointer; transition:.2s; display:inline-flex; align-items:center; justify-content:center;
  text-decoration:none; color:var(--ink); box-shadow:var(--shadow-chip);
}
.page-btn:hover { background:var(--c1); transform:translate(-2px,-2px); }
.page-btn.is-active { background:var(--ink); color:var(--white); }
.page-btn.is-disabled { opacity:.4; pointer-events:none; }

/* ---------- 11. Таблицы (админка, 12D §4.3) ---------- */
.table-wrap { overflow-x:auto; }
table.tbl { width:100%; border-collapse:collapse; min-width:840px; }
.tbl th {
  text-align:left; font-family:var(--font-display); font-weight:600; font-size:.58rem;
  text-transform:uppercase; letter-spacing:.06em; padding:12px 16px;
  border-bottom:3px solid var(--bg); color:var(--ink); white-space:nowrap;
}
.tbl td { padding:11px 16px; border-bottom:2px solid var(--bg); font-size:.82rem; vertical-align:middle; font-weight:600; }
.tbl tbody tr { transition:.15s; }
.tbl tbody tr:hover { background:var(--bg); }
.tbl tbody tr:last-child td { border:none; }
.tbl .thumb {
  width:54px; height:54px; border:2.5px solid var(--ink); border-radius:12px;
  background:var(--bg); display:flex; align-items:center; justify-content:center; overflow:hidden; flex:none;
}
.tbl .thumb img { width:100%; height:100%; object-fit:cover; }
.tbl .thumb svg { width:36px; height:36px; }
.tbl .cell-name b { font-weight:800; display:block; line-height:1.3; }
.tbl .cell-name small { color:var(--muted); font-size:.7rem; display:block; font-weight:600; }
.tbl .cell-price { font-family:var(--font-display); font-weight:700; white-space:nowrap; }
.tbl .num { font-weight:800; }
.tbl .num--zero { color:var(--c3); }
.tbl .actions { display:flex; gap:6px; }

/* ---------- 12. Конфигуратор ---------- */
.conf-grid { display:grid; grid-template-columns:1.4fr 1fr; gap:30px; align-items:start; }
.conf-tabs { display:none; margin-bottom:16px; }

.canvas-area {
  background:var(--white); border:3px solid var(--ink); border-radius:var(--r-item);
  overflow:hidden; box-shadow:8px 8px 0 var(--ink);
}
.canvas-area .ca-bar {
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  padding:12px 18px; border-bottom:3px solid var(--ink); background:var(--ink);
}
.canvas-area .ca-bar b { font-family:var(--font-display); font-weight:700; color:var(--white); font-size:.9rem; }
.canvas-area .ca-bar small { color:var(--on-dark); font-size:.66rem; letter-spacing:.04em; text-transform:uppercase; font-weight:600; }
.canvas-area .ca-bar .tools { display:flex; gap:8px; }
/* коллаж: кремовая область с точечной направляющей сеткой (12D guides) */
.canvas {
  position:relative; aspect-ratio:1;
  background-image:
    linear-gradient(rgba(34,36,42,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34,36,42,.08) 1px, transparent 1px),
    radial-gradient(var(--ink) 1.5px, transparent 1.5px);
  background-size:44px 44px, 44px 44px, 22px 22px;
}
.canvas .placed { position:absolute; cursor:grab; text-align:center; }
.canvas .placed .ph {
  width:102px; height:102px; border:3px solid var(--ink); border-radius:16px; background:var(--white);
  display:flex; align-items:center; justify-content:center; box-shadow:6px 6px 0 var(--ink); overflow:hidden;
}
.canvas .placed .ph img, .canvas .placed .ph svg { width:100%; height:100%; object-fit:cover; }
.canvas .placed span {
  font-size:.56rem; letter-spacing:.04em; text-transform:uppercase; color:var(--muted); display:block; margin-top:6px; font-weight:800;
}
.canvas .placed--1 { top:10%; left:13%; transform:rotate(-5deg); }
.canvas .placed--2 { top:37%; left:37%; transform:rotate(3deg); }
.canvas .placed--3 { top:55%; left:11%; transform:rotate(4deg); }
.canvas .placed--4 { top:18%; left:61%; transform:rotate(-3deg); }
.canvas .placed--5 { top:55%; left:57%; transform:rotate(-6deg); }
.canvas .placed:hover { z-index:2; }
.canvas .placed:hover .ph { outline:4px solid var(--c1); outline-offset:0; }
.canvas .empty-hint {
  position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:10px; color:var(--muted); text-align:center; padding:20px;
}
.canvas .empty-hint b { font-family:var(--font-display); font-weight:700; font-size:1rem; color:var(--ink); }
.canvas .empty-hint small { font-size:.76rem; font-weight:600; }

/* аккордеон слотов (12D: цветовая кодировка слотов c1/c2/c3) */
.accordion { display:flex; flex-direction:column; gap:14px; }
.slot { background:var(--white); border:3px solid var(--ink); border-radius:var(--r-item); overflow:hidden; transition:.2s; }
.slot.is-open { box-shadow:8px 8px 0 var(--ink); }
.slot-head {
  display:flex; align-items:center; gap:12px; padding:14px 18px; cursor:pointer;
  background:var(--bg); border-bottom:3px solid var(--ink);
}
.slot-head .sq {
  width:28px; height:28px; border-radius:50%; border:3px solid var(--ink); flex:none;
  display:flex; align-items:center; justify-content:center; font-size:.68rem; font-weight:800;
  font-family:var(--font-display);
}
.slot-head .sq--mustard { background:var(--c1); }
.slot-head .sq--rust { background:var(--c3); color:var(--white); }
.slot-head .sq--olive { background:var(--c2); }
.slot-head b { font-family:var(--font-display); font-weight:700; font-size:.88rem; flex:1; color:var(--ink); line-height:1.3; }
.slot-head small { color:var(--muted); font-size:.64rem; letter-spacing:.04em; text-transform:uppercase; white-space:nowrap; font-weight:800; }
.slot-head .caret { transition:.2s; font-size:.85rem; color:var(--c3); font-weight:800; }
.slot.is-open .caret { transform:rotate(180deg); }
.slot-body { padding:18px; display:none; }
.slot.is-open .slot-body { display:block; }
.slot-body .comps { display:flex; flex-direction:column; gap:10px; }

.comp-card {
  display:flex; gap:12px; align-items:center; background:var(--white);
  border:3px solid var(--ink); border-radius:16px; padding:10px 12px; transition:.2s;
}
.comp-card:hover { transform:translate(-2px,-2px) rotate(-.5deg); box-shadow:6px 6px 0 var(--ink); }
.comp-card .thumb {
  width:60px; height:60px; border:2.5px solid var(--ink); border-radius:12px; background:var(--bg);
  display:flex; align-items:center; justify-content:center; flex:none; overflow:hidden;
}
.comp-card .thumb svg { width:42px; height:42px; }
.comp-card .thumb img { width:100%; height:100%; object-fit:cover; }
.comp-card .info { flex:1; min-width:0; }
.comp-card .info b { font-weight:800; font-size:.76rem; display:block; line-height:1.3; }
.comp-card .info small { color:var(--muted); font-size:.66rem; display:block; font-weight:600; }
.comp-card .side { display:flex; flex-direction:column; align-items:flex-end; gap:6px; }
.comp-card .side .price { font-size:.66rem; padding:2px 10px; }
.comp-card.is-disabled { opacity:.45; pointer-events:none; cursor:not-allowed; }
.comp-card.is-selected { background:var(--bg); box-shadow:0 0 0 3px var(--c1); }

.stepper { display:inline-flex; align-items:center; border:2.5px solid var(--ink); border-radius:999px; background:var(--white); overflow:hidden; }
.stepper button {
  width:28px; height:28px; border:none; background:var(--c1); font-family:var(--font-mono);
  font-weight:800; font-size:.95rem; cursor:pointer; color:var(--ink); transition:.15s; line-height:1;
}
.stepper button:hover { background:var(--c3); color:var(--white); }
.stepper button:disabled { background:var(--bg); color:var(--muted); cursor:not-allowed; }
.stepper .val { min-width:30px; text-align:center; font-weight:800; font-size:.82rem; }

/* живой калькулятор (12D: белая карточка, тень c1) */
.calc {
  background:var(--white); border:3px solid var(--ink); border-radius:var(--r-item);
  box-shadow:8px 8px 0 var(--c1); padding:18px 22px; position:sticky; bottom:20px;
  z-index:var(--z-sticky); display:flex; align-items:center; gap:20px; flex-wrap:wrap;
}
.calc .row { flex:1; min-width:200px; }
.calc .row--big { flex:1.3; }
.calc .k { font-size:.62rem; color:var(--muted); letter-spacing:.08em; text-transform:uppercase; font-weight:800; }
.calc .v { font-family:var(--font-display); font-size:1.75rem; color:var(--ink); line-height:1.1; font-weight:800; }
.calc .v--sm { font-family:var(--font-display); font-size:.92rem; font-weight:700; color:var(--c3); }
.calc .breakdown { font-size:.68rem; color:var(--muted); margin-top:2px; font-weight:600; }
.calc .btn { flex:none; }

/* ---------- 13. Галерея товара ---------- */
.gallery { display:grid; grid-template-columns:1.35fr 1fr; gap:30px; align-items:start; }
.gallery-main {
  background:var(--white); border:3px solid var(--ink); border-radius:var(--r-item);
  overflow:hidden; box-shadow:8px 8px 0 var(--ink);
}
.gallery-main img { width:100%; aspect-ratio:1; object-fit:cover; }
.gallery-thumbs { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }
.g-t {
  border:3px solid var(--ink); border-radius:16px; overflow:hidden; cursor:pointer; aspect-ratio:1;
  background:var(--bg); display:flex; align-items:center; justify-content:center; padding:8px;
  transition:.2s; position:relative;
}
.g-t:hover { transform:translate(-2px,-2px) rotate(-1deg); box-shadow:6px 6px 0 var(--c1); }
.g-t img { width:100%; height:100%; object-fit:cover; }
.g-t svg { width:56px; height:56px; }
.g-t.is-active { outline:4px solid var(--c1); outline-offset:0; }

.product-info h1 { font-size:clamp(1.6rem,3.6vw,2.3rem); color:var(--ink); margin-bottom:12px; font-weight:800; }
.product-info .price { font-size:.9rem; padding:6px 18px; margin-bottom:14px; }
.product-info .p-desc { margin:16px 0; font-size:.9rem; color:var(--ink); font-weight:600; }
.product-info ul { padding-left:20px; margin:0 0 20px; font-size:.84rem; font-weight:600; }
.product-info ul li { margin-bottom:5px; }
.cta-row { display:flex; gap:12px; flex-wrap:wrap; align-items:center; }

/* ---------- 14. Модалка (12D: белая карточка) ---------- */
.modal-overlay {
  position:fixed; inset:0; z-index:var(--z-modal); background:rgba(34,36,42,.55);
  display:none; align-items:center; justify-content:center; padding:20px;
}
.modal-overlay.open { display:flex; animation:fadeIn .2s; }
.modal {
  background:var(--white); border:3px solid var(--ink); border-radius:var(--r-item);
  max-width:460px; width:100%; padding:32px 30px; box-shadow:var(--shadow-receipt);
  animation:popIn .25s; max-height:92vh; overflow-y:auto; position:relative;
}
.modal::before { display:none; }
.modal--wide { max-width:620px; }
.modal .m-head { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; margin-bottom:16px; }
.modal .m-head h3 { font-size:1.1rem; color:var(--ink); line-height:1.3; font-weight:800; }
.modal .m-photo { display:flex; gap:14px; align-items:center; margin-bottom:18px; }
.modal .m-photo .thumb {
  width:70px; height:70px; border:3px solid var(--ink); border-radius:14px; overflow:hidden;
  flex:none; background:var(--bg); display:flex; align-items:center; justify-content:center;
}
.modal .m-photo .thumb img { width:100%; height:100%; object-fit:cover; }
.modal .m-photo b { font-weight:800; display:block; font-size:.86rem; line-height:1.3; }
.modal .m-photo small { color:var(--muted); font-size:.72rem; font-weight:600; }
.modal .m-actions { display:flex; gap:12px; margin-top:22px; flex-wrap:wrap; }
@keyframes fadeIn { from{opacity:0;} to{opacity:1;} }
@keyframes popIn { from{opacity:0; transform:scale(.95);} to{opacity:1; transform:scale(1);} }

/* ---------- 15. Состояния: скелетон / пусто / ошибка ---------- */
.skeleton {
  background:var(--bg); border:3px dashed var(--ink); border-radius:var(--r-item);
  position:relative; overflow:hidden;
}
.skeleton::after {
  content:''; position:absolute; inset:0; transform:translateX(-100%);
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.8), transparent);
  animation:shimmer 1.4s infinite;
}
@keyframes shimmer { 100%{ transform:translateX(100%);} }
.skeleton--img { height:250px; }
.skeleton--line { height:14px; margin-bottom:10px; border-radius:6px; border-width:2px; }
.skeleton--line.w60 { width:60%; }
.skeleton--line.w40 { width:40%; }

.empty-state { max-width:520px; margin:0 auto; text-align:center; padding:20px 10px; }
.empty-state .es-big { font-family:var(--font-display); font-size:2.4rem; color:var(--c3); margin-bottom:8px; font-weight:800; }
.empty-state b { font-family:var(--font-display); font-weight:700; font-size:1.2rem; display:block; margin:10px 0 6px; }
.empty-state p { color:var(--muted); font-size:.86rem; margin-bottom:22px; font-weight:600; }

.error-sign { text-align:center; padding:80px 4vw 60px; }
.error-sign .code { font-family:var(--font-display); font-size:clamp(4rem,12vw,8rem); color:var(--ink); text-shadow:6px 6px 0 var(--c1); line-height:1; font-weight:800; }
.error-sign h1 { color:var(--ink); margin-bottom:10px; font-size:clamp(1.4rem,3vw,2rem); font-weight:800; }
.error-sign p { color:var(--muted); max-width:50ch; margin:0 auto 24px; font-size:.9rem; font-weight:600; }

.notice {
  background:var(--white); border:2.5px dashed var(--c3); color:var(--ink);
  border-radius:14px; padding:10px 14px; font-size:.76rem; font-weight:600;
}
.notice--olive { border-color:var(--c2); }

/* ---------- 16. Админка ---------- */
.admin-wrap { padding:40px 3vw 90px; max-width:1240px; margin:0 auto; }
.page-title {
  display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; margin-bottom:26px;
}
.page-title h1 { font-family:var(--font-display); font-weight:800; font-size:clamp(1.5rem,3.2vw,2.2rem); color:var(--ink); }
.page-title .doodle {
  font-family:var(--font-display); font-size:.6rem; font-weight:600; background:var(--c3); color:var(--white);
  padding:8px 18px; border-radius:999px; border:3px solid var(--ink);
  transform:rotate(-3deg); box-shadow:var(--shadow-chip); text-transform:uppercase; letter-spacing:.04em;
}
.page-title .doodle--olive { background:var(--c2); color:var(--ink); }
.admin-section { margin-bottom:34px; }
.admin-section > h2 { font-size:1.2rem; color:var(--ink); margin-bottom:16px; font-weight:700; }

.metrics { display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.stat-card {
  background:var(--white); border:3px solid var(--ink); border-radius:var(--r-item);
  padding:20px 22px; box-shadow:8px 8px 0 var(--ink); transition:.25s;
}
.stat-card:hover { transform:translate(-2px,-2px) rotate(-.5deg); box-shadow:12px 12px 0 var(--ink); }
.stat-card .num { font-family:var(--font-display); font-size:1.8rem; color:var(--ink); line-height:1.1; font-weight:800; }
.stat-card .lbl { font-size:.66rem; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); margin-top:4px; font-weight:800; }
.stat-card .sub { font-size:.72rem; color:var(--muted); margin-top:6px; font-weight:600; }
.stat-card--rust { border-top:8px solid var(--c3); }
.stat-card--mustard { border-top:8px solid var(--c1); }
.stat-card--olive { border-top:8px solid var(--c2); }
.stat-card--brown { border-top:8px solid var(--ink); }

.admin-2col { display:grid; grid-template-columns:1fr 1.2fr; gap:30px; align-items:start; }
.list-card { padding:0; }
.list-card .lc-item {
  display:flex; align-items:center; gap:12px; padding:14px 20px; cursor:grab;
  border-bottom:2px solid var(--bg); transition:.15s;
}
.list-card .lc-item:hover { background:var(--bg); }
.list-card .lc-item:last-child { border:none; }
.list-card .lc-item .grip { color:var(--muted); letter-spacing:2px; font-size:.9rem; font-weight:800; }
.list-card .lc-item b { font-weight:800; font-size:.84rem; }
.list-card .lc-item small { color:var(--muted); font-size:.68rem; display:block; font-weight:600; }
.list-card .lc-item .lc-count { margin-left:auto; font-size:.7rem; color:var(--c2); white-space:nowrap; font-weight:800; }

.form-card { padding:26px 28px; }
.form-card h3 { font-size:1.05rem; color:var(--ink); margin-bottom:18px; font-weight:800; }
.form-card h4 { font-family:var(--font-mono); font-weight:800; font-size:.7rem; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); margin:22px 0 12px; }
.form-actions { display:flex; gap:12px; margin-top:24px; flex-wrap:wrap; }

/* редактор слотов */
.slot-editor { display:flex; flex-direction:column; gap:10px; }
.se-item {
  display:flex; gap:10px; align-items:center; background:var(--white);
  border:3px solid var(--ink); border-radius:14px; padding:10px 14px; flex-wrap:wrap;
}
.se-item .grip { color:var(--muted); cursor:grab; font-weight:800; }
.se-item .se-name { flex:1; min-width:140px; }
.se-item .se-min, .se-item .se-max { width:64px; }
.se-item select { flex:1; min-width:120px; }

/* дропзона (12D: dashed ink) */
.dropzone {
  border:3px dashed var(--ink); border-radius:var(--r-item); background:var(--white);
  padding:32px 20px; text-align:center; cursor:pointer; transition:.2s;
}
.dropzone:hover, .dropzone.is-drag { background:var(--bg); }
.dropzone .dz-icon {
  width:52px; height:52px; margin:0 auto 12px; border-radius:50%; background:var(--c1);
  border:3px solid var(--ink); display:flex; align-items:center; justify-content:center;
}
.dropzone .dz-icon svg { width:26px; height:26px; }
.dropzone b { font-family:var(--font-display); font-weight:700; font-size:.85rem; display:block; margin-bottom:4px; }
.dropzone small { color:var(--muted); font-size:.7rem; font-weight:600; }
.dropzone .dz-example { margin-top:14px; display:flex; gap:10px; justify-content:center; align-items:flex-end; flex-wrap:wrap; }
.dropzone .dz-example .thumb {
  width:44px; height:44px; border:2.5px solid var(--ink); border-radius:10px;
  background:var(--bg); display:flex; align-items:center; justify-content:center;
}
.dropzone .dz-example .thumb svg { width:30px; height:30px; }
.dropzone .dz-example span { font-size:.6rem; color:var(--muted); letter-spacing:.04em; text-transform:uppercase; font-weight:700; }

/* детали заявки */
.order-detail .cd-thumbs { display:flex; gap:12px; flex-wrap:wrap; }
.order-detail .cd-thumbs .thumb {
  width:80px; height:80px; border:3px solid var(--ink); border-radius:14px;
  background:var(--bg); display:flex; align-items:center; justify-content:center;
}
.order-detail .cd-thumbs .thumb svg { width:50px; height:50px; }
.order-detail .cd-thumbs .thumb img { width:100%; height:100%; object-fit:cover; }
.order-detail table.kv { width:100%; font-size:.82rem; font-weight:600; }
.order-detail table.kv td { padding:7px 0; border-bottom:1px dashed var(--line); vertical-align:top; }
.order-detail table.kv td:first-child {
  color:var(--muted); width:42%; text-transform:uppercase; font-size:.66rem; letter-spacing:.04em; font-weight:800;
}

/* логин */
.login-page { min-height:100vh; display:flex; flex-direction:column; }
.login-card { max-width:420px; margin:8vh auto; width:100%; }
.login-card .logo-big { font-family:var(--font-display); text-align:center; font-size:2rem; color:var(--ink); margin-bottom:4px; font-weight:800; }
.login-card .sub { text-align:center; color:var(--muted); margin-bottom:26px; font-size:.8rem; font-weight:600; }
.login-card .err-box {
  background:var(--err-bg); border:2.5px solid var(--c3); color:var(--c3);
  border-radius:var(--r-form); padding:10px 14px; font-size:.76rem; margin-bottom:16px; font-weight:700;
}
.login-card .barcode {
  height:14px; margin-top:20px; border-radius:999px; border:2px solid var(--ink);
  background:repeating-linear-gradient(90deg, var(--c1) 0 14px, var(--c2) 14px 28px, var(--c3) 28px 42px);
}

/* ---------- 17. Футер ---------- */
footer.footer { padding:0 0 44px; }
.f-grid {
  display:grid; grid-template-columns:1.2fr 1fr 1fr; gap:40px;
  padding:56px 4vw 36px; max-width:1240px; margin:0 auto;
}
.f-brand { font-family:var(--font-display); font-size:1.3rem; color:var(--ink); line-height:1.3; font-weight:800; }
.f-brand span { font-family:var(--font-mono); font-size:.76rem; color:var(--muted); display:block; margin-top:6px; letter-spacing:.02em; font-weight:600; }
.f-grid h4 {
  font-family:var(--font-display); font-weight:600; font-size:.64rem; letter-spacing:.08em;
  text-transform:uppercase; color:var(--muted); margin-bottom:12px;
}
.f-grid .day { display:flex; justify-content:space-between; padding:5px 0; border-bottom:1px dotted var(--line); font-size:.78rem; font-weight:600; }
.f-grid .day:last-child { border:none; }
.f-grid .day .closed { color:var(--c3); font-weight:800; }
.f-grid .f-links a { display:inline-flex; align-items:center; gap:8px; color:var(--ink); text-decoration:none; margin-bottom:8px; font-size:.8rem; font-weight:600; }
.f-grid .f-links a:hover { color:var(--c3); }
.f-socials { display:flex; gap:10px; margin-top:10px; }
.f-socials a {
  width:38px; height:38px; border:3px solid var(--ink); border-radius:50%; background:var(--white);
  box-shadow:var(--shadow-chip); display:flex; align-items:center; justify-content:center; transition:.2s;
}
.f-socials a:hover { background:var(--c1); transform:translate(-2px,-2px) rotate(-8deg); }
.f-socials svg { width:18px; height:18px; }
.f-copy { text-align:center; font-size:.76rem; color:var(--muted); padding-top:26px; border-top:2px dashed var(--line); font-weight:600; }

/* ---------- 18. Адаптив ---------- */
@media (min-width:768px) and (max-width:1079px){
  .shelf { grid-template-columns:repeat(2,1fr); gap:24px; }
  .item .photo { height:280px; }
  .hours-grid { gap:40px; }
  .hours-board { padding:30px; }
  .metrics { grid-template-columns:repeat(2,1fr); }
  .admin-2col { grid-template-columns:1fr; }
  .gallery { grid-template-columns:1fr; }
  .gallery-main { max-width:520px; }
  .conf-grid { grid-template-columns:1fr; }
  .conf-tabs { display:flex; }
  .conf-panel--canvas { display:none; }
  .conf-panel--canvas.is-active { display:block; }
  .conf-panel--slots { display:none; }
  .conf-panel--slots.is-active { display:block; }
  .f-grid { grid-template-columns:1fr 1fr; }
  section.sect { padding:60px 4vw; }
}

@media (max-width:820px){
  .shelf { grid-template-columns:1fr; }
  .hours-grid { grid-template-columns:1fr; }
  .topbar nav { display:none; }
  .burger { display:flex; }
  .signboard { padding:48px 4vw 40px; }
  .signboard h1 { margin:6px 0; }
  .metrics { grid-template-columns:1fr 1fr; gap:16px; }
  .f-grid { grid-template-columns:1fr; }
  .gallery { grid-template-columns:1fr; }
  .gallery-main { max-width:400px; }
  .conf-grid { grid-template-columns:1fr; }
  .conf-tabs { display:flex; }
  .conf-panel--canvas { display:none; }
  .conf-panel--canvas.is-active { display:block; }
  .conf-panel--slots { display:none; }
  .conf-panel--slots.is-active { display:block; }
  .calc { position:fixed; left:3vw; right:3vw; bottom:10px; padding:12px 16px; gap:10px; }
  .calc .v { font-size:1.3rem; }
  .calc .btn { width:100%; }
  .admin-wrap { padding:30px 4vw 110px; }
  table.tbl { min-width:820px; }
  .receipt { padding:38px 26px; }
}

@media (max-width:520px){
  .metrics { grid-template-columns:1fr; }
  .shelf { gap:24px; }
}

@media (prefers-reduced-motion: reduce){
  * { transition:none !important; animation:none !important; }
}
