/* 5-я база — оформление в духе Airbnb: белый фон, воздух, тонкие линии,
   почти без теней, один акцентный цвет, крупная типографика.
   Подключается после style.css. */

:root {
  --ink: #222222;          /* основной текст */
  --ink-2: #717171;        /* второстепенный */
  --line: #ebebeb;         /* тонкие разделители */
  --line-2: #dddddd;       /* контуры полей и кнопок */
  --bg: #ffffff;
  --brand: #ff5a1f;        /* единственный акцент */
  --brand-ink: #c2410c;
  --r: 12px;
  --shadow-soft: 0 2px 4px rgba(0,0,0,.06), 0 6px 16px rgba(0,0,0,.06);
  --shadow-lift: 0 4px 10px rgba(0,0,0,.10), 0 10px 28px rgba(0,0,0,.10);
}

html, body {
  background: var(--bg); color: var(--ink);
  font-family: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased; letter-spacing: -.01em;
}

/* ---------- Каркас: список во всю ширину, карта отдельным окном ---------- */
#sidebar {
  width: 100%; flex: 1 1 auto; max-width: none;
  padding: 0 24px 40px; background: var(--bg); border-right: 0;
  overflow-y: auto;
}
#map { display: none; }              /* на месте карты — окно в углу, см. ниже */

/* ---------- Шапка: тонкая строка, поиск-пилюля ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 16px 0 14px; margin: 0 0 8px;
  background: var(--bg); border-bottom: 1px solid var(--line);
}
.topbar h1 { font-size: 21px; font-weight: 700; letter-spacing: -.02em; margin: 0; flex: 1 1 auto; color: var(--brand); }
.topbar h1 .tag {
  background: transparent; color: var(--ink-2); font-weight: 500;
  font-size: 13px; padding: 0 0 0 8px; border-left: 1px solid var(--line-2); margin-left: 8px; border-radius: 0;
}
.login-top {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600;
  color: var(--ink); text-decoration: none; background: #fff; border: 1px solid var(--line-2);
  transition: box-shadow .18s ease, border-color .18s ease;
}
.login-top:hover { box-shadow: var(--shadow-soft); border-color: #c9c9c9; }

/* ---------- Поиск ---------- */
.list-filter {
  width: 100%; max-width: 560px; padding: 15px 18px 15px 46px; margin: 14px 0 6px;
  border: 1px solid var(--line-2); border-radius: 999px; font-size: 15px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23222' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.2-3.2'/%3E%3C/svg%3E") 16px center/18px 18px no-repeat;
  box-shadow: var(--shadow-soft); transition: box-shadow .2s ease;
}
.list-filter:focus { outline: none; box-shadow: var(--shadow-lift); border-color: #c9c9c9; }
.list-filter::placeholder { color: var(--ink-2); }
.hint { font-size: 14px; color: var(--ink-2); margin: 10px 0 4px; }

/* ---------- Объявления: тихие карточки, без рамок и заливок ---------- */
.ann {
  position: relative; display: block; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 16px 18px 16px 54px; margin: 12px 0;
  font-size: 15px; line-height: 1.5; font-weight: 400; box-shadow: none;
  transition: box-shadow .2s ease;
}
.ann:hover { box-shadow: var(--shadow-soft); }
.ann::before {
  content: ""; position: absolute; left: 18px; top: 17px; width: 22px; height: 22px;
  background: center/20px 20px no-repeat;
}
.ann-info::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23222' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M12 8h.01M11 12h1v5h1'/%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3C/svg%3E"); }
.ann-warn::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23222' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M12 9v4m0 4h.01M10.3 3.9 2.6 17.2A2 2 0 0 0 4.3 20h15.4a2 2 0 0 0 1.7-2.8L13.7 3.9a2 2 0 0 0-3.4 0z'/%3E%3C/svg%3E"); }
.ann-ad::before   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23222' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11v2a1 1 0 0 0 1 1h3l5 4V6L7 10H4a1 1 0 0 0-1 1zM17 9a4 4 0 0 1 0 6'/%3E%3C/svg%3E"); }

/* Кнопка — чёрная пилюля, как у Airbnb; акцентная только там, где покупка */
.ann-btn {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  padding: 12px 20px; border-radius: 10px; font-size: 15px; font-weight: 600;
  color: #fff; background: var(--ink); text-decoration: none; box-shadow: none;
  transition: background .18s ease, transform .08s ease;
}
.ann-btn:hover { background: #000; }
.ann-btn:active { transform: scale(.985); }
.ann-warn .ann-btn, .ann-ad .ann-btn { background: var(--ink); }

/* ---------- Карточка приложения ---------- */
.app-promo {
  margin: 14px 0; padding: 20px; border-radius: var(--r); text-align: left;
  background: #f7f7f7; border: 0; box-shadow: none;
}
.app-promo-t { font-size: 17px; font-weight: 600; color: var(--ink); }
.app-promo-s { font-size: 14px; color: var(--ink-2); margin-top: 4px; }
.app-promo-btn {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  padding: 12px 20px; border-radius: 10px; font-size: 15px; font-weight: 600;
  background: var(--ink); color: #fff; text-decoration: none; box-shadow: none;
  transition: background .18s ease, transform .08s ease;
}
.app-promo-btn:hover { background: #000; }
.app-promo-btn:active { transform: scale(.985); }

/* ---------- Разделы и список организаций ---------- */
.panel { background: #fff; border: 0; border-radius: 0; padding: 0; margin: 16px 0 0; box-shadow: none; }
h2 { font-size: 17px; font-weight: 600; color: var(--ink); margin: 0 0 6px; }
.cat-section { border-bottom: 1px solid var(--line); }
.cat-header { padding: 16px 2px; font-size: 16px; font-weight: 500; color: var(--ink); border-radius: 0; }
.cat-header:hover { background: transparent; color: #000; }
.cat-arrow { color: var(--ink-2); }
.cat-count { background: transparent; color: var(--ink-2); font-weight: 400; font-size: 14px; padding: 0; }
.cat-body { padding: 0 0 10px 22px; }
.org-item {
  padding: 12px 2px; border: 0; border-radius: 0; border-bottom: 1px solid var(--line);
  transition: opacity .16s ease;
}
.org-item:last-child { border-bottom: 0; }
.org-item:hover { background: transparent; opacity: .62; transform: none; }
.o-name { font-size: 16px; font-weight: 500; color: var(--ink); }
.o-act { font-size: 14px; color: var(--ink-2); }
.empty { color: var(--ink-2); }

/* ---------- Карточка заведения ---------- */
.back-btn {
  width: auto; padding: 9px 16px 9px 12px; margin: 16px 0 12px; border-radius: 999px;
  border: 1px solid var(--line-2); background: #fff; font-size: 14px; font-weight: 600; color: var(--ink);
  display: inline-flex; align-items: center; gap: 6px; transition: box-shadow .18s ease;
  text-decoration: none; cursor: pointer;
}
.back-btn:hover { background: #fff; box-shadow: var(--shadow-soft); }
.oc-name { font-size: 26px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 8px; }
.oc-cat { background: transparent; color: var(--ink-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 12px; font-size: 13px; }
.oc-row { font-size: 15px; color: var(--ink); }
.oc-row a { color: var(--ink); text-decoration: underline; }
.oc-btn { border-radius: 10px; padding: 14px; font-size: 16px; font-weight: 600; box-shadow: none; }
.oc-delivery { background: var(--brand); }
.oc-courier { background: var(--ink); }
.oc-btn:hover { filter: brightness(.94); }
.open-shop {
  display: block; text-align: center; margin: 14px 0; padding: 15px; border-radius: 10px;
  font-size: 16px; font-weight: 600; color: #fff; text-decoration: none;
  background: var(--brand); box-shadow: none; transition: filter .18s ease, transform .08s ease;
}
.open-shop:hover { filter: brightness(.94); }
.open-shop:active { transform: scale(.99); }

/* ---------- Товары: карточка Airbnb — фото, название, цена ---------- */
.shop-grid, .prod-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px 20px; }
.shop-card, .prod-card { background: #fff; border: 0; border-radius: 0; padding: 0; box-shadow: none; }
.shop-photo, .prod-photo { border-radius: var(--r); height: 200px; }
.shop-photo.nophoto, .prod-photo.nophoto { background: #f2f2f2; color: #b0b0b0; }
.prod-name { font-size: 16px; font-weight: 600; margin-top: 10px; color: var(--ink); }
.prod-price { font-size: 15px; color: var(--ink); margin-top: 2px; }
.prod-price b { font-weight: 700; }
.op-desc, .addon-hint { font-size: 14px; color: var(--ink-2); }
.size-row { gap: 8px; margin: 8px 0; }
.size-btn { border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 14px; font-size: 13px; background: #fff; color: var(--ink); }
.size-btn.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.toCart, .toCartA { border-radius: 10px; padding: 12px; font-weight: 600; font-size: 15px; background: var(--ink); }
.toCart:hover, .toCartA:hover { background: #000; filter: none; }

/* ---------- Карта в углу: маленькое окно, по нажатию разворачивается ---------- */
.map-corner {
  position: fixed; right: 22px; bottom: 22px; z-index: 900;
  width: 280px; height: 190px; border-radius: 14px; overflow: hidden;
  background: #eee; box-shadow: var(--shadow-lift); border: 1px solid rgba(0,0,0,.08);
  transition: width .32s cubic-bezier(.2,.7,.3,1), height .32s cubic-bezier(.2,.7,.3,1),
              right .32s cubic-bezier(.2,.7,.3,1), bottom .32s cubic-bezier(.2,.7,.3,1), border-radius .3s ease;
}
.map-corner.big { width: calc(100vw - 44px); height: calc(100vh - 44px); right: 22px; bottom: 22px; border-radius: 16px; }
.map-corner #map { display: block; width: 100%; height: 100%; }
.map-toggle {
  position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); z-index: 1200;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 16px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--ink); color: #fff; font-size: 13px; font-weight: 600;
  box-shadow: 0 3px 10px rgba(0,0,0,.28); white-space: nowrap;
}
.map-toggle:hover { background: #000; }
.map-corner.big .map-toggle { bottom: 22px; }
/* крестик в углу — привычный способ закрыть развёрнутую карту */
.map-close {
  position: absolute; right: 12px; top: 12px; z-index: 1200; display: none;
  width: 38px; height: 38px; border: 0; border-radius: 50%; cursor: pointer;
  background: #fff center/16px 16px no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23222' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E");
  box-shadow: 0 2px 8px rgba(0,0,0,.28);
}
.map-corner.big .map-close { display: block; }
.map-close:hover { background-color: #f2f2f2; }

/* ---------- Нижние вкладки на телефоне ---------- */
.mobile-tabs { height: 60px; background: #fff; border-top: 1px solid var(--line); box-shadow: none; }
.mobile-tabs .mt-btn { font-size: 12px; font-weight: 600; color: var(--ink-2); border-top: 0; gap: 3px; flex-direction: column; }
.mobile-tabs .mt-btn.active { color: var(--ink); background: transparent; }

@media (max-width: 760px) {
  #sidebar { padding: 0 16px 80px; }
  .topbar h1 { font-size: 19px; }
  .map-corner { right: 14px; bottom: 74px; width: 150px; height: 108px; }
  .map-corner.big { width: calc(100vw - 20px); height: calc(100vh - 92px); right: 10px; bottom: 72px; }
  .shop-grid, .prod-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px 14px; }
  .shop-photo, .prod-photo { height: 150px; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ---------- Витрина на главной: разделы, плитки заведений и товаров ---------- */
/* переносим по строкам, а не прячем за край — иначе подписи разделов обрезаются */
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 0 6px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto; padding: 9px 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-2); background: #fff; color: var(--ink);
  font-size: 14px; font-weight: 500; max-width: 100%; transition: box-shadow .18s ease;
}
.chip:hover { box-shadow: var(--shadow-soft); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.sc-h { font-size: 20px; font-weight: 700; letter-spacing: -.02em; margin: 26px 0 14px; }
.sc-empty { color: var(--ink-2); padding: 10px 0 20px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 26px 20px; }
.tile { text-decoration: none; color: var(--ink); display: block; }
.tile-pic { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 20/19; background: #f2f2f2; }
.tile-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s cubic-bezier(.2,.7,.3,1); }
.tile:hover .tile-img { transform: scale(1.045); }
.tile-none {
  display: flex; align-items: center; justify-content: center;
  font-size: 46px; font-weight: 700; color: #c9ccd2;
  background: linear-gradient(140deg, #f7f7f8, #ededf0);
}
.tile-flag, .tile-time {
  position: absolute; left: 12px; top: 12px; padding: 5px 11px; border-radius: 999px;
  background: rgba(255,255,255,.94); font-size: 12px; font-weight: 600; color: var(--ink);
  box-shadow: 0 2px 6px rgba(0,0,0,.14);
}
.tile-flag { color: #c2410c; }
.tile-name { font-size: 16px; font-weight: 600; margin-top: 12px; }
.tile-sub { font-size: 14px; color: var(--ink-2); margin-top: 2px; }
.tile-price { font-size: 15px; font-weight: 600; margin-top: 4px; }
.tile-w { font-weight: 400; color: var(--ink-2); }
@media (max-width: 760px) {
  .tiles { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 20px 14px; }
  .sc-h { font-size: 18px; margin: 20px 0 12px; }
}

/* ---------- Рабочие экраны: кнопки в общем стиле ---------- */
/* главное действие — чёрное; опасное — красным контуром; ярким остаётся только покупка */
.kt-btn { border-radius: 10px; font-weight: 600; font-size: 15px; }
.kt-btn.primary { background: var(--ink); color: #fff; }
.kt-btn.primary:hover { background: #000; }
.kt-btn.danger { background: #fff; color: #c2410c; border: 1px solid #f0c4ae; }
.kt-btn.danger:hover { background: #fff7f4; }
.kt-tab { border-radius: 999px; border: 1px solid var(--line-2); font-weight: 600; font-size: 14px; padding: 9px 16px; }
.kt-tab.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.kt-cnt { background: rgba(255,255,255,.22); color: inherit; font-weight: 600; }
.kt-tab:not(.active) .kt-cnt { background: #f2f2f2; color: var(--ink-2); }
.shift-job { background: var(--ink); border-radius: 12px; font-weight: 600; }
.shift-job:hover { background: #000; filter: none; }
.shift-job.boss { background: var(--brand); }
.kt-pause, .wh-pause { background: #fff; color: #c2410c; border: 1px solid #f0c4ae; font-weight: 600; }
.kt-pause:hover, .wh-pause:hover { background: #fff7f4; }
.kt-pause.on, .wh-resume { background: var(--ink); color: #fff; border: 0; }
.kt-sound, .kt-end, .kt-move, .kt-verify, .kt-pwd, .staff-pwd, .staff-del,
.shift-per, .addr-del, .wh-exc-del, .wh-exc-add, .owner-pwd, .cash-collect-all {
  border: 1px solid var(--line-2); background: #fff; color: var(--ink);
  border-radius: 999px; font-weight: 600; transition: box-shadow .18s ease;
}
.kt-sound:hover, .kt-end:hover, .kt-move:hover, .kt-verify:hover, .kt-pwd:hover,
.staff-pwd:hover, .shift-per:hover, .addr-del:hover { box-shadow: var(--shadow-soft); }
.staff-del { color: #c2410c; border-color: #f0c4ae; }
.shift-per.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.pay-btn, .cash-collect { background: var(--ink); border-radius: 10px; font-weight: 600; }
.pay-btn:hover, .cash-collect:hover { background: #000; }
.my-repeat { border: 1px solid var(--ink); color: var(--ink); border-radius: 10px; font-weight: 600; background: #fff; }
.my-repeat:hover { background: var(--ink); color: #fff; }
.way-btn { border: 1px solid var(--line-2); border-radius: 12px; font-weight: 600; }
.way-btn.active { border-color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px var(--ink); }
.slot, .slot-day { border-radius: 999px; border: 1px solid var(--line-2); font-weight: 500; }
.slot.active { background: var(--ink); color: #fff; border-color: var(--ink); font-weight: 600; }
.slot-day.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.cart-place, .oc-btn.oc-delivery.cart-place { background: var(--brand); }

/* ---------- Объявления компактнее: текст и кнопка в одну строку ---------- */
.announce-banner-slot { margin: 10px 0; }
.ann {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px 12px 44px; margin: 0; font-size: 14px; line-height: 1.4;
}
.ann::before { left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; background-size: 18px 18px; }
.ann-text { flex: 1 1 auto; }
.ann-btn { margin-top: 0; flex: 0 0 auto; padding: 9px 16px; font-size: 14px; white-space: nowrap; }

/* Приложение — тоже в строку */
.app-promo { display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin: 10px 0; }
.app-promo-t { font-size: 15px; }
.app-promo-s { font-size: 13px; margin-top: 1px; }
.app-promo-btn { margin-top: 0; flex: 0 0 auto; padding: 10px 18px; font-size: 14px; white-space: nowrap; }
.app-promo > div:first-child { flex: 1 1 auto; }

@media (max-width: 720px) {
  /* на телефоне — обратно в столбик, иначе не помещается */
  .announce-banner-slot { grid-template-columns: 1fr; }
  .ann { flex-wrap: wrap; }
  .ann-btn { margin-top: 8px; }
  .app-promo { flex-wrap: wrap; }
  .app-promo-btn { margin-top: 10px; }
  /* на телефоне карта живёт во вкладке внизу: окошко прячем,
     а по вкладке «Карта» показываем его на весь экран */
  .map-corner { display: none; }
  body.mode-map .map-corner {
    display: block; position: fixed; inset: 0 0 60px 0;
    width: auto; height: auto; border-radius: 0; border: 0; box-shadow: none;
  }
  body.mode-map .map-corner .map-toggle,
  body.mode-map .map-corner .map-close { display: none; }
  body.mode-map #sidebar { display: none; }
}

/* ---------- Шапки рабочих экранов: ссылки-пилюли и кнопка возврата ---------- */
.kt-top, .orders-top { gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.kt-top h1, .orders-top h1 { font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.kt-nav, .orders-nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 0; }
.kt-nav a, .orders-nav a, #ktStock a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  color: var(--ink); text-decoration: none; background: #fff; border: 1px solid var(--line-2);
  transition: box-shadow .18s ease;
}
.kt-nav a:hover, .orders-nav a:hover, #ktStock a:hover { box-shadow: var(--shadow-soft); }
.kt-nav, .orders-nav { line-height: 1; }
.kt-back {
  background: #fff !important; border: 1px solid var(--line-2) !important;
  padding: 8px 14px 8px 30px !important; position: relative;
}
.kt-back::before {
  content: ""; position: absolute; left: 11px; top: 50%; width: 14px; height: 14px; transform: translateY(-50%);
  background: center/14px 14px no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23222' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 19 8 12l7-7'/%3E%3C/svg%3E");
}
#ktState, #ktShift { font-size: 12px; }
@media (max-width: 720px) {
  .kt-top, .orders-top { flex-wrap: wrap; }
  .kt-top h1, .orders-top h1 { font-size: 17px; width: 100%; order: 2; }
  .kt-nav, .orders-nav { order: 3; width: 100%; }
  .kt-nav a, .orders-nav a, #ktStock a { padding: 9px 13px; font-size: 13px; }
  .kt-back { order: 1; }
}
.kt-back {
  display: inline-flex; align-items: center; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; color: var(--ink) !important;
  text-decoration: none !important; background: #fff; transition: box-shadow .18s ease;
}
.kt-back:hover { box-shadow: var(--shadow-soft); }

/* ---------- Объявления лентой: одно на экране, листается вбок ---------- */
.announce-banner-slot { position: relative; }
.ann-track {
  display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
}
.ann-track::-webkit-scrollbar { display: none; }
.ann-track .ann {
  flex: 0 0 100%; scroll-snap-align: start; margin: 0;
  min-height: 62px; box-sizing: border-box;
}
.ann-dots { display: flex; justify-content: center; gap: 6px; padding: 8px 0 2px; }
.ann-dot {
  width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%;
  background: #d5d7db; cursor: pointer; transition: width .2s ease, background .2s ease;
}
.ann-dot.on { width: 20px; border-radius: 4px; background: var(--ink); }
@media (min-width: 900px) {
  /* на широком экране два объявления помещаются рядом — лента не нужна */
  .ann-track { display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: 10px; overflow: visible; }
  .ann-track .ann { flex: none; }
  .ann-dots { display: none; }
}

/* ---------- Часы работы в шапке заведения ---------- */
.oc-hours summary { cursor: pointer; list-style: none; }
.oc-hours summary::-webkit-details-marker { display: none; }
.oc-hours .wk-more { color: var(--ink-2); text-decoration: underline; font-size: 14px; margin-left: 6px; }
.oc-hours[open] .wk-more { display: none; }
.wk-list { margin: 8px 0 4px; max-width: 260px; }
.wk-day { display: flex; justify-content: space-between; padding: 3px 0; color: var(--ink-2); font-size: 14px; }
.wk-day.wk-today { color: var(--ink); font-weight: 600; }
