/* Подвал и нижний блок «Создайте свой…» — макет design-mockups/catalog-footer.png
   («подвал отличный, делаем» — владелец 25.09.2026). Разметка подвала —
   partials/sf-footer.html, вставляет tools/apply-sf-footer.py.
   Токены — те же, что у шапки/мегаменю; светлая тема — html[data-theme="light"]. */
:root {
  --sfx-accent: #C8763C;
  --sfx-bg: #17100C; --sfx-strong: #F5ECE2; --sfx-nav: #CFC3B4; --sfx-muted: #A08E7C;
  --sfx-line: rgba(200,118,60,.18);
}
html[data-theme="light"] {
  --sfx-bg: #FFFFFF; --sfx-strong: #20150E; --sfx-nav: #4A3A2E; --sfx-muted: #6E5B4B;
  --sfx-line: rgba(140,85,40,.16);
}

/* ── подвал ── */
/* scroll-snap: на слайд-страницах (/catalog/modern/) без этого подвал недостижим */
.sfx-foot { position: relative; z-index: 70; /* выше фиксированных слоёв слайд-шоу /catalog/modern/ (30 и 60), ниже шапки (110) и мобильного меню (105) */ scroll-snap-align: end; background: var(--sfx-bg); border-top: 1px solid var(--sfx-line); color: var(--sfx-nav);
  font-family: 'Onest', system-ui, sans-serif; font-size: 15px; line-height: 1.4; }
.sfx-foot a { color: inherit; text-decoration: none; }
.sfx-foot a:focus-visible { outline: 2px solid var(--sfx-accent); outline-offset: 2px; }
.sfx-in { max-width: 1600px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.sfx-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1.2fr; gap: 48px; padding-top: 72px; padding-bottom: 56px; }
.sfx-logo b { display: block; font-family: 'Unbounded', sans-serif; font-weight: 300; font-size: 22px; line-height: 1;
  letter-spacing: .34em; color: var(--sfx-strong); }
.sfx-logo i { display: block; font-style: normal; font-size: 9px; line-height: 1; letter-spacing: .4em; color: var(--sfx-accent); margin-top: 8px; }
.sfx-about { font-size: 14px; line-height: 1.65; color: var(--sfx-muted); margin: 22px 0 0; max-width: 300px; font-family: inherit; }
.sfx-motto { font-size: 14px; color: var(--sfx-nav); margin: 14px 0 0; font-family: inherit; }
.sfx-col h4 { font-family: 'Unbounded', sans-serif !important; font-weight: 300 !important; font-size: 15px !important;
  letter-spacing: 0 !important; text-transform: none !important; color: var(--sfx-strong); margin: 0 0 18px; line-height: 1.2; }
/* nav внутри подвала: у страниц бывают свои правила для nav (flex, отступы) — гасим */
.sfx-foot nav.sfx-col { display: block !important; position: static !important; padding: 0 !important;
  margin: 0 !important; background: none !important; border: 0 !important; height: auto !important; }
.sfx-col > a:not(.sfx-ph):not(.sfx-wr) { display: block !important; padding: 6px 0 !important; margin: 0 !important; color: var(--sfx-nav);
  font-size: 15px !important; line-height: 1.4 !important; letter-spacing: 0 !important; text-transform: none !important; }
.sfx-col > a:not(.sfx-ph):not(.sfx-wr):hover, .sfx-legal nav a:hover { color: var(--sfx-accent); }
.sfx-ct p { margin: 0; color: var(--sfx-nav); line-height: 1.6; font-family: inherit; font-size: 15px; }
.sfx-ct .sfx-ph { display: inline-flex !important; width: auto !important; margin: 14px 0 6px !important; padding: 11px 18px !important; line-height: 1.2; border-radius: 999px;
  border: 1px solid rgba(200,118,60,.5); color: var(--sfx-strong); }
.sfx-ct .sfx-ph:hover { background: rgba(200,118,60,.06); }
.sfx-hr { font-size: 13px; color: var(--sfx-muted); }
.sfx-ct .sfx-wr { display: block; width: fit-content; margin-top: 14px; color: var(--sfx-accent); }
.sfx-legal { border-top: 1px solid var(--sfx-line); padding-top: 22px; padding-bottom: 28px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.sfx-c { font-size: 13px; color: var(--sfx-muted); white-space: nowrap; }
.sfx-legal nav { display: flex !important; flex-wrap: wrap; gap: 6px 20px; justify-content: flex-end; padding: 0 !important; margin: 0 !important; background: none !important; position: static !important; height: auto !important; }
.sfx-legal nav a { font-size: 13px; color: var(--sfx-muted); }
@media (max-width: 1100px) {
  .sfx-grid { grid-template-columns: 1fr 1fr 1fr; }
  .sfx-brand { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .sfx-grid { grid-template-columns: 1fr 1fr; gap: 34px 20px; padding-top: 48px; padding-bottom: 36px; }
  .sfx-brand, .sfx-ct { grid-column: 1 / -1; }
  .sfx-legal { flex-direction: column; align-items: flex-start; padding-top: 20px; padding-bottom: 20px; }
  .sfx-legal nav { justify-content: flex-start; gap: 6px 16px; }
}

/* ── блок «Создайте свой…» (#help.cta) — фото остаётся тёмным и в светлой теме ── */
.cta.sfx-cta { background: #140D09; font-family: 'Onest', system-ui, sans-serif; }
.cta.sfx-cta > img { opacity: .5; }
.cta.sfx-cta .sh { background: linear-gradient(90deg, rgba(15,10,8,.96) 0%, rgba(15,10,8,.82) 48%, rgba(15,10,8,.45) 100%) !important; }
.cta.sfx-cta .in { max-width: 1600px; padding-left: 20px; padding-right: 20px;
  grid-template-columns: 1.2fr 1fr; gap: 72px; padding-top: 96px; padding-bottom: 96px; }
.cta.sfx-cta .kick { font-size: 12px; letter-spacing: .3em; color: #C8763C; }
.cta.sfx-cta h2 { font-family: 'Unbounded', sans-serif !important; font-weight: 200 !important;
  font-size: clamp(34px, 3.7vw, 52px) !important; line-height: 1.08 !important; letter-spacing: -.02em !important;
  text-transform: none !important; color: #F5ECE2 !important; margin: 18px 0 22px !important; }
.cta.sfx-cta h2 .it { font-style: normal; font-weight: 300; color: #C8763C !important; }
.cta.sfx-cta .lead { font-family: 'Onest', system-ui, sans-serif; font-size: 17px; line-height: 1.65; color: #CFC3B4 !important; max-width: 560px; margin: 0; }
.sfx-perks { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.sfx-perks span { padding: 8px 14px; border-radius: 999px; background: rgba(255,240,225,.07); font-size: 13px; color: #E9DFD3; }
.sfx-acts { display: flex; flex-direction: column; gap: 12px; max-width: 440px; width: 100%; justify-self: end; }
.sfx-b1, .sfx-b2 { display: flex; align-items: center; justify-content: center; height: 58px; border-radius: 999px;
  font-size: 16px; text-decoration: none; transition: background .15s; }
.sfx-b1 { background: #C8763C; color: #fff !important; }
.sfx-b1:hover { background: #B8692F; }
.sfx-b2 { border: 1px solid rgba(200,118,60,.6); color: #F5ECE2 !important; }
.sfx-b2:hover { background: rgba(200,118,60,.1); }
.sfx-hrs { text-align: center; font-size: 13px; color: #A08E7C; margin-top: 4px; }
@media (max-width: 900px) {
  .cta.sfx-cta .in { grid-template-columns: 1fr; gap: 28px; padding-top: 56px; padding-bottom: 56px; }
  .cta.sfx-cta .lead { font-size: 15px; }
  .sfx-perks { margin-top: 20px; }
  .sfx-acts { justify-self: stretch; max-width: none; }
  .sfx-b1, .sfx-b2 { height: 52px; font-size: 15px; }
}

/* кнопка «Показать ещё N» в сетке каталога — капсула, число медным */
[data-more].fbtn { justify-self: center; width: 100%; max-width: 360px; height: 52px; padding: 0 !important;
  border-radius: 999px !important; border: 1px solid rgba(200,118,60,.5) !important; background: transparent !important;
  font-family: 'Onest', system-ui, sans-serif !important; font-size: 15px !important; letter-spacing: 0 !important;
  text-transform: none !important; color: var(--sfx-strong) !important; margin-top: 16px; }
[data-more].fbtn span { color: #C8763C; margin-left: 4px; }
[data-more].fbtn:hover { background: rgba(200,118,60,.06) !important; }
@media (max-width: 700px) { [data-more].fbtn { max-width: none; } }
