/*! ISHOD — конструктор сайтів ishod.studio. Код і шаблони — лише для сайтів на платформі ISHOD; копіювання й використання поза нею заборонено: https://ishod.studio/umovy/#p6 */
/* Вітрина: 5 шапок і 3 підвали (templates/store/chrome/*). Усе — через змінні теми, щоб кожен шаблон виглядав «своїм».
   Шапка зберігає клас .top (на нього спирається store-cart.js) і data-chrome (виділення в редакторі). */
.hd { --hd-h: 72px; --hd-on: #fff; }
.top.hd {
  position: sticky; top: 0; z-index: 20; background: var(--bg); color: var(--text);
  /* без backdrop-filter: він робить шапку «рамкою» для position:fixed, і бургер-меню не відкрилося б на весь екран */
  -webkit-backdrop-filter: none; backdrop-filter: none;
  border-bottom: 1px solid var(--line); transition: box-shadow .3s ease;
}
.hd.is-stuck { box-shadow: 0 14px 30px -24px rgba(0, 0, 0, .55); }
.hd__row { display: flex; align-items: center; gap: 28px; min-height: var(--hd-h); transition: min-height .3s ease; }
.hd.is-stuck { --hd-h: 62px; }
.hd__row--3 { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 20px; }
.hd__side { display: flex; align-items: center; gap: 18px; min-width: 0; }
.hd__side--end { justify-content: flex-end; gap: 6px; }
.hd__tools { display: flex; align-items: center; gap: 6px; margin-left: auto; flex: none; }
.hd__tools > .hd-phone, .hd__side--end > .hd-phone { margin-right: 10px; }

/* логотип і назва */
.hd .brand { gap: 12px; color: inherit; font-family: var(--font-head); font-weight: 700; font-size: 1.32rem; letter-spacing: -.015em; line-height: 1.1; flex: none; max-width: 100%; }
.hd .brand__logo { height: 40px; width: auto; max-width: 168px; object-fit: contain; border-radius: calc(var(--radius) / 2); transition: height .3s ease; }
.hd.is-stuck .brand__logo { height: 34px; }
.hd .brand .hdr-i { min-width: 0; }
.hd__row--3 > .hd-brand { justify-self: center; justify-content: center; text-align: center; }

/* меню */
.hd__nav { display: flex; align-items: center; gap: 4px 26px; flex-wrap: wrap; min-width: 0; }
.hd__nav a, .hd .cats a { position: relative; text-decoration: none; transition: color .2s ease; }
.hd__nav a { color: color-mix(in srgb, var(--text) 74%, var(--bg)); font-size: .94rem; font-weight: 500; padding: 6px 0; white-space: nowrap; }
.hd__nav a::after, .hd .cats a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .28s ease; }
.hd__nav a:hover, .hd__nav a[aria-current] { color: var(--text); }
.hd__nav a:hover::after, .hd__nav a[aria-current]::after, .hd .cats a:hover::after, .hd .cats a.is-active::after { transform: scaleX(1); }

/* кнопки-іконки */
.hd-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: inherit;
  cursor: pointer; list-style: none; transition: background-color .2s ease; }
.hd-icon:hover, .hd-dd[open] > .hd-icon { background: color-mix(in srgb, var(--text) 7%, transparent); }
.hd-dd > summary { list-style: none; }
.hd-dd > summary::-webkit-details-marker, .hd-dd > summary::marker { display: none; content: ""; }

/* кошик */
.hd .cart-btn { position: relative; gap: 8px; height: 42px; padding: 0 18px 0 15px; border-radius: var(--btn-radius); background: var(--text); color: var(--bg);
  font-weight: 600; font-size: .9rem; white-space: nowrap; transition: transform .2s ease, box-shadow .2s ease; flex: none; }
.hd .cart-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 18px -10px color-mix(in srgb, var(--text) 80%, transparent); }
.hd .cart-btn__n { background: var(--accent); color: var(--hd-on); }
.hd .cart-btn__sum { font-size: .8rem; opacity: .78; padding-left: 9px; margin-left: 1px; border-left: 1px solid color-mix(in srgb, currentColor 30%, transparent); }

/* телефон */
.hd-phone { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; min-width: 0; }
.hd-phone__ic { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 12%, var(--bg)); color: var(--accent); transition: transform .2s ease; }
.hd-phone:hover .hd-phone__ic { transform: rotate(-12deg); }
.hd-phone__txt { display: grid; line-height: 1.2; min-width: 0; }
.hd-phone__txt b { font-weight: 600; font-size: .95rem; white-space: nowrap; }
.hd-phone__txt small { color: var(--muted); font-size: .8125rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hd-phone--icon .hd-phone__txt { display: none; }
@media (max-width: 1140px) { .hd-phone--wide .hd-phone__txt { display: none; } }

/* пошук */
.hd-search { position: relative; display: flex; align-items: center; min-width: 0; }
.hd-search input { width: 100%; height: 44px; padding: 0 50px 0 20px; font: inherit; font-size: .94rem; color: var(--text);
  background: var(--surface); border: 1px solid transparent; border-radius: var(--btn-radius); outline: none; -webkit-appearance: none; appearance: none;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease; }
.hd-search input::placeholder { color: var(--muted); opacity: 1; }
.hd-search input:focus { background: var(--bg); border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
.hd-search__go { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; transition: color .2s, background-color .2s; }
.hd-search__go:hover { color: var(--text); }
.hd-search--big input { height: 58px; font-size: 1.08rem; padding-left: 24px; padding-right: 64px; }
.hd-search--big .hd-search__go { width: 48px; height: 48px; right: 5px; background: var(--accent); color: var(--hd-on); }
.hd-search--big .hd-search__go:hover { filter: brightness(1.08); color: var(--hd-on); }
.hd-search--wide { flex: 1 1 auto; max-width: 620px; }
.hd-search--compact { width: 210px; transition: width .3s ease; }
.hd-search--compact:focus-within { width: 270px; }
.hd-search--compact input { height: 40px; font-size: .88rem; }
.hd-sdd__panel { position: absolute; left: 0; right: 0; top: 100%; z-index: 5; padding: 20px 0 24px; background: var(--bg); color: var(--text);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 28px 40px -30px color-mix(in srgb, var(--text) 70%, transparent);
  animation: hd-drop .24s ease; }
.hd-sdd__panel .hd-search { max-width: 760px; margin: 0 auto; }

/* рядок категорій */
.hd-cats { border-top: 1px solid var(--line); }
.hd .cats { display: flex; align-items: center; gap: 4px 30px; padding-bottom: 0; min-height: 48px; overflow-x: auto; scrollbar-width: none; }
.hd .cats a { flex: none; padding: 13px 0; border-radius: 0; background: none; color: var(--muted); font-size: .9rem; font-weight: 500; white-space: nowrap; }
.hd .cats a:hover, .hd .cats a.is-active { background: none; color: var(--text); }
.hd .cats .hdr-x--strip { flex: none; }

/* соцмережі */
.soc { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.soc__a { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); color: inherit; text-decoration: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.soc__a:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-2px); }
.soc--strip { gap: 2px; }
.soc--strip .soc__a { width: 28px; height: 28px; border: 0; color: var(--muted); }
.soc--strip .soc__a:hover { background: none; color: var(--accent); transform: none; }
.soc--strip svg { width: 15px; height: 15px; }
.soc--list { display: grid; gap: 12px; }
.soc--list .soc__a { display: flex; align-items: center; gap: 10px; width: auto; height: auto; border: 0; border-radius: 0; }
.soc--list .soc__a:hover { background: none; transform: translateX(3px); }

/* бургер і висувне меню */
.hd-burger { display: none; }
.hd-burger__btn { width: auto; min-width: 44px; padding: 0 9px; display: inline-flex; align-items: center; gap: 10px; border-radius: var(--btn-radius); }
.hd-burger__lines { display: grid; gap: 4.5px; width: 20px; }
.hd-burger__lines i { display: block; height: 1.8px; border-radius: 2px; background: currentColor; transition: width .25s ease; }
.hd-burger__lines i:nth-child(2) { width: 68%; }
.hd-burger__btn:hover .hd-burger__lines i:nth-child(2) { width: 100%; }
.hd-burger__txt { display: none; font-weight: 600; font-size: .9rem; letter-spacing: .02em; }
.hd-burger[open] > summary::before { content: ""; position: fixed; inset: 0; z-index: 100; background: rgba(12, 12, 14, .48); cursor: default; animation: hd-fade .25s ease; }
.hd-drawer { position: fixed; top: 0; left: 0; bottom: 0; z-index: 101; width: min(392px, 88vw); display: flex; flex-direction: column;
  background: var(--bg); color: var(--text); box-shadow: 30px 0 60px -30px rgba(0, 0, 0, .45); animation: hd-slide .32s cubic-bezier(.2, .8, .2, 1); }
.hd-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 22px; border-bottom: 1px solid var(--line); min-height: 64px; }
.hd-drawer__name { display: flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; }
.hd-drawer__name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hd-drawer__name .brand__logo { height: 32px; width: auto; border-radius: 6px; }
.hd-drawer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 18px 22px 32px; display: grid; gap: 26px; align-content: start; }
.hd-drawer__nav { display: grid; }
.hd-drawer__nav .hdr-i { display: flex; }
.hd-drawer__nav a { flex: 1; padding: 13px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--font-head); font-size: 1.12rem; font-weight: 600; }
.hd-drawer__nav a:hover, .hd-drawer__nav a[aria-current] { color: var(--accent); }
.hd-drawer__nav:empty { display: none; }
.hd-drawer__cap { margin: 0 0 10px; font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hd-drawer__cats { display: grid; gap: 6px; }
.hd-drawer__cats a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: min(var(--radius), 12px);
  background: var(--surface); text-decoration: none; font-weight: 500; transition: background-color .2s, color .2s; }
.hd-drawer__cats a:hover, .hd-drawer__cats a.is-active { background: color-mix(in srgb, var(--accent) 14%, var(--surface)); color: var(--accent); }
.hd-drawer__cats svg { color: var(--muted); flex: none; }
.hd-drawer__group > .hdr-x--strip { margin-top: 8px; }
.hd-drawer__contacts { display: grid; gap: 10px; justify-items: start; }
.hd-drawer__line { margin: 0; text-decoration: none; font-size: .92rem; }
.hd-drawer .hd-phone { display: inline-flex; }
.hd-drawer .hd-phone__txt { display: grid; }
.hd-search--drawer input { height: 48px; }
.hd-lock, .hd-lock body { overflow: hidden; }

@keyframes hd-slide { from { transform: translateX(-100%); } }
@keyframes hd-fade { from { opacity: 0; } }
@keyframes hd-drop { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- 1. класична ---------- */
.hd--classic .hd__nav { margin-left: 8px; }

/* ---------- 2. по центру ---------- */
.hd--centered { --hd-h: 86px; }
.hd--centered.is-stuck { --hd-h: 64px; }
.hd__strip { background: var(--surface); color: var(--muted); font-size: .8125rem; max-height: 44px; overflow: hidden; transition: max-height .3s ease, opacity .3s ease; }
.hd--centered.is-stuck .hd__strip { max-height: 0; opacity: 0; }
.hd__strip-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 38px; }
.hd__strip-end { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.hd__hours { white-space: nowrap; }
.hd__nav--strip { gap: 4px 22px; flex-wrap: nowrap; overflow: hidden; }
.hd__nav--strip a { font-size: .8125rem; padding: 3px 0; color: var(--muted); }
.hd__nav--strip a::after { display: none; }
.hd--centered .brand { font-size: clamp(1.45rem, 2.3vw, 2rem); letter-spacing: .01em; }
.hd--centered .brand__logo { height: 46px; }
.hd--centered .hd-cats .cats, .hd--split .hd-cats .cats { justify-content: flex-start; }
.hd--centered .hd-cats .cats > :first-child, .hd--split .hd-cats .cats > :first-child { margin-left: auto; }
.hd--centered .hd-cats .cats > :last-child, .hd--split .hd-cats .cats > :last-child { margin-right: auto; }
.hd--centered .cats a { font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 1040px) { .hd--centered .hd__side > .hd-phone .hd-phone__txt { display: none; } }  /* у бургер-меню (.hd-drawer) номер лишається */

/* ---------- 3. кольорова смуга ---------- */
.top.hd--bar { border-bottom: 0; }
.hd__band { background: var(--accent); color: var(--hd-on); }
.hd--bar { --hd-h: 78px; }
.hd--bar.is-stuck { --hd-h: 64px; }
.hd--bar .hd__row { gap: 32px; }
.hd--bar .brand { font-weight: 800; font-size: 1.5rem; letter-spacing: .01em; text-transform: uppercase; }
.hd--bar .brand__logo { background: rgba(255, 255, 255, .92); padding: 4px; }
.hd--bar .hd-search--wide input { background: #fff; color: #1c1917; border-color: transparent; height: 46px; }
.hd--bar .hd-search--wide input::placeholder { color: #8a8580; }
.hd--bar .hd-search--wide input:focus { box-shadow: 0 0 0 4px rgba(255, 255, 255, .28); border-color: transparent; }
.hd--bar .hd-search--wide .hd-search__go { background: var(--accent); color: var(--hd-on); width: 38px; height: 38px; }
.hd--bar .hd-search--wide .hd-search__go:hover { color: var(--hd-on); filter: brightness(1.1); }
.hd--bar .hd__tools .hd-phone__ic { background: rgba(255, 255, 255, .16); color: inherit; }
.hd--bar .hd__tools .hd-phone__txt small { color: rgba(255, 255, 255, .78); }
.hd--bar .hd__row > .hd-dd > .hd-icon:hover, .hd--bar .hd__row > .hd-dd[open] > .hd-icon { background: rgba(255, 255, 255, .16); }
.hd--bar .cart-btn { background: #fff; color: #17171a; }
.hd--bar .cart-btn:hover { box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .55); }
.hd__sub { background: var(--bg); border-bottom: 1px solid var(--line); }
.hd__sub-row { display: flex; align-items: center; gap: 28px; min-height: 50px; }
.hd__sub .cats { flex: 1 1 auto; min-width: 0; min-height: 50px; }
.hd--bar .hd__sub .cats a { color: var(--text); font-weight: 600; font-size: .88rem; padding: 15px 0; }
.hd--bar .hd__sub .cats a:hover, .hd--bar .hd__sub .cats a.is-active { color: var(--accent); }
.hd__nav--sub { margin-left: auto; flex: none; flex-wrap: nowrap; gap: 22px; }
.hd__nav--sub a { font-size: .86rem; color: var(--muted); }

/* ---------- 4. мінімальна ---------- */
.hd--minimal { --hd-h: 62px; }
.hd--minimal.is-stuck { --hd-h: 54px; }
.hd--minimal .hd-burger { display: block; margin-left: -9px; }
.hd--minimal .hd-burger__txt { display: inline; }
.hd--minimal .brand { font-size: 1.12rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.hd--minimal .brand__logo { height: 34px; }
.hd--minimal .cart-btn { background: transparent; color: inherit; padding: 0 12px; box-shadow: inset 0 0 0 1px var(--line); }
.hd--minimal .cart-btn:hover { box-shadow: inset 0 0 0 1px var(--text); transform: none; }

/* ---------- 5. розділена ---------- */
.hd--split { --hd-h: 82px; }
.hd--split.is-stuck { --hd-h: 64px; }
.hd--split .brand { font-size: clamp(1.4rem, 2.2vw, 1.85rem); }
.hd--split .brand__logo { height: 44px; }
.hd--split .hd__nav { gap: 4px 24px; flex-wrap: nowrap; overflow: hidden; }
.hd--split .hd-cats .cats { min-height: 44px; }
.hd--split .cats a { padding: 11px 0; font-size: .86rem; }

/* ---------- телефон і планшет ---------- */
@media (max-width: 860px) {
  .top.hd { --hd-h: 60px; }
  .top.hd.is-stuck { --hd-h: 56px; }
  .hd__row { gap: 8px; }
  /* логотип по центру: бокові колонки за вмістом, назві — усе, що лишилось (інакше довга назва обрізається) */
  .hd__row--3 { gap: 8px; grid-template-columns: auto minmax(0, 1fr) auto; }
  .hd__side { gap: 8px; }
  .hd__nav, .hd__strip, .hd__nav--sub, .hd-search--compact { display: none; }
  .hd .hd-phone { display: none; }
  .hd .hd-drawer .hd-phone { display: inline-flex; }
  .hd-burger { display: block; margin-left: -9px; }
  .hd-burger__txt, .hd--minimal .hd-burger__txt { display: none; }
  /* назва: стискається разом із рядком і переноситься на 2 рядки, а не обрізається трикрапкою */
  .hd .brand { font-size: 1.12rem; max-width: 100%; min-width: 0; flex: 0 1 auto; gap: 8px; }
  .hd .brand__name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; white-space: normal; overflow: hidden;
    line-height: 1.2; text-wrap: balance; overflow-wrap: break-word; }
  .hd .brand__logo, .hd.is-stuck .brand__logo { height: 32px; max-width: 120px; }
  .hd--bar .brand { font-size: 1.15rem; }
  .hd--minimal .brand { letter-spacing: .1em; font-size: 1rem; }
  .hd__row:not(.hd__row--3) .brand { margin-right: auto; }
  /* іконки — 44 px і проміжок 8 px, щоб пальцем не зачепити сусідню */
  .hd__tools { gap: 8px; }
  .hd .cart-btn { width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 50%; }
  .hd .cart-btn > span, .hd .cart-btn__sum { display: none; }
  .hd .cart-btn__n { position: absolute; top: -3px; right: -5px; min-width: 20px; height: 20px; font-size: .8125rem; padding: 0 5px; box-shadow: 0 0 0 2px var(--bg); }
  .hd .cats { gap: 4px 22px; min-height: 42px; }
  .hd .cats { min-height: 44px; }
  .hd .cats a { padding: 12px 0; font-size: .875rem; }
  .hd--centered .cats a { font-size: .8125rem; }
  .hd-sdd__panel { padding: 12px 0 14px; }
  .hd-search--big input { height: 50px; font-size: 1rem; }
  .hd-search--big .hd-search__go { width: 42px; height: 42px; }
  /* смуга: пошук окремим рядком під логотипом */
  .top.hd--bar .hd__row { flex-wrap: wrap; row-gap: 0; min-height: 0; padding-top: 9px; }
  .hd--bar .hd-search--wide { order: 5; flex: 1 0 100%; max-width: none; margin: 9px 0 12px; }
  .hd--bar .hd-search--wide input { height: 48px; }
  .hd-search__go, .hd-search--big .hd-search__go, .hd--bar .hd-search--wide .hd-search__go { width: 44px; height: 44px; right: 2px; }
  .soc__a { width: 44px; height: 44px; }
  .hd--bar .hd__sub-row { min-height: 0; }
  .hd--bar .hd__sub .cats { min-height: 44px; }
  .hd--bar .hd__sub .cats a { padding: 12px 0; }
}
@media (max-width: 380px) { .hd .brand { font-size: 1.02rem; } .hd--bar .brand { font-size: 1.02rem; letter-spacing: 0; } }

/* ---------- редактор ---------- */
.is-editing .hd .hdr-x--strip { margin-left: 4px; }
.is-editing .hd__strip { max-height: none; }
/* хрестики ✕ виступають за межі пунктів — у редакторі не обрізаємо */
.is-editing .hd__strip, .is-editing .hd__nav--strip, .is-editing .hd--split .hd__nav { overflow: visible; }
.is-editing .hd__nav { padding-top: 4px; }

/* ================= ПІДВАЛИ ================= */
.foot.ft { padding: 0; border-top: 1px solid var(--line); font-size: .93rem; color: var(--text); --ft-muted: var(--muted); --ft-line: var(--line); }
.ft a { text-decoration: none; transition: color .2s ease; }
.ft .muted { color: var(--ft-muted); }
.ft .ft__name { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; letter-spacing: -.01em; color: inherit; }
.ft__logo { height: 42px; width: auto; border-radius: 8px; }
.ft .ft__tag { margin: 10px 0 0; color: var(--ft-muted); max-width: 38ch; line-height: 1.5; }
.ft .ft__cap { margin: 0 0 16px; font-family: var(--font-head); font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ft-muted); }
.ft__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.ft__list a { color: color-mix(in srgb, currentColor 82%, transparent); }
.ft a:hover { color: var(--accent); }
.ft .ft__phone { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; white-space: nowrap; color: inherit; }
.ft .ft__line { display: block; margin: 6px 0 0; }
.ft__bottom { border-top: 1px solid var(--ft-line); }
.ft__bottom-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding-top: 18px; padding-bottom: 18px; font-size: .85rem; color: var(--ft-muted); }
.ft__made a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
.ft .soc__a { color: inherit; border-color: var(--ft-line); }

/* простий */
.ft__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding-top: 40px; padding-bottom: 32px; }
.ft__brand { max-width: 360px; }
.ft__inline { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.ft__inline a { color: color-mix(in srgb, var(--text) 74%, var(--bg)); font-weight: 500; }
.ft__end { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.ft--simple .ft__line { margin: 0; color: var(--ft-muted); }

/* колонки */
.ft--columns { background: color-mix(in srgb, var(--surface) 72%, var(--bg)); }
.ft__cols { display: flex; flex-wrap: wrap; gap: 36px 48px; padding-top: 60px; padding-bottom: 48px; }
.ft__col { flex: 1 1 170px; min-width: 0; }
.ft__col--brand { flex: 1.7 1 260px; }
.ft__col--brand .soc { margin-top: 22px; }
.ft__col--contacts .ft__phone { font-size: 1.3rem; }

/* великий: завжди глибокий темний фон з відтінком акценту — і на світлих, і на темних темах */
.foot.ft--big { --ft-ink: #f5f3ef; --ft-muted: rgba(245, 243, 239, .7); --ft-line: rgba(245, 243, 239, .14);
  background: color-mix(in srgb, var(--accent) 10%, var(--ft-base, #0d0d10)); color: var(--ft-ink); border-top: 0; }
.ft--big a:hover { color: #fff; }
.ft--big .ft__list a { color: var(--ft-muted); }
.ft--big .ft__list a:hover { color: #fff; }
.ft--big .soc__a:hover { background: #fff; border-color: #fff; color: #111; }
.ft--big .soc--list .soc__a { color: var(--ft-muted); }
.ft--big .soc--list .soc__a:hover { background: none; color: #fff; }
.ft__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding: 56px 0 48px; border-bottom: 1px solid var(--ft-line); }
.ft .ft__cta-t { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.45rem, 2.8vw, 2.2rem); line-height: 1.15; letter-spacing: -.015em; max-width: 22ch; }
.ft .ft__cta-s { margin: 10px 0 0; color: var(--ft-muted); max-width: 46ch; }
.ft__cta-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.ft .ft__btn { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: var(--btn-radius); border: 1px solid var(--ft-line);
  color: inherit; font-weight: 600; transition: transform .2s ease, background-color .2s ease, border-color .2s ease; }
.ft .ft__btn:hover { transform: translateY(-2px); border-color: currentColor; color: inherit; }
.ft .ft__btn--tg { background: var(--accent); border-color: var(--accent); color: #fff; }
.ft .ft__btn--tg:hover { color: #fff; border-color: var(--accent); filter: brightness(1.08); }
.ft--big .ft__cols { padding-top: 52px; padding-bottom: 40px; }
.ft__giant { padding-top: 8px; padding-bottom: 36px; }
.ft .ft__huge { display: block; color: inherit; font-family: var(--font-head); font-weight: 700; font-size: clamp(2.6rem, 9.5vw, 8.8rem); line-height: .92;
  letter-spacing: -.04em; overflow-wrap: anywhere; text-wrap: balance; }
.ft--big .ft__giant .ft__tag { margin-top: 16px; }

@media (max-width: 860px) {
  .ft__row { flex-direction: column; align-items: flex-start; padding-top: 32px; padding-bottom: 24px; gap: 20px; }
  .ft__cols { gap: 30px 24px; padding-top: 40px; padding-bottom: 32px; }
  .ft__col { flex: 1 1 140px; }
  .ft__col--brand { flex-basis: 100%; }
  .ft__cta { padding: 40px 0 34px; }
  .ft__cta-btns, .ft .ft__btn { width: 100%; }
  .ft .ft__btn { justify-content: center; }
  .ft--big .ft__cols { padding-top: 36px; }
}
@media (max-width: 560px) { .ft__col--contacts { flex-basis: 100%; } }
@media (prefers-reduced-motion: reduce) {
  .hd-drawer, .hd-sdd__panel, .hd-burger[open] > summary::before { animation: none; }
}
