:root {
  --accent: #0a84ff;
  --accent-hover: #006be6;
  --brand-dark: #05080d;
  --brand-ink: #0b1220;
  --bg: #f4f7fb;
  --white: #ffffff;
  --text: #1e1e1e;
  --muted: #6b7280;
}

/* ===== Глобальні стилі ===== */
html, body {
  height: 100%;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  font-family: Inter, system-ui, Arial, sans-serif;
  color: var(--text);
  display: flex;
  flex-direction: column;
  min-width: 320px;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

.container {
  max-width: 1200px;
  padding: 0 16px;
  margin: 0 auto;
}

/* ===== HEADER ===== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Верхняя линия: лого слева, меню по центру, кнопки справа */
.top {
  display: flex;
  align-items: center;
  padding: 14px 0;
  gap: 32px; /* відступ між логотипом і меню */
}

/* Логотип завжди зліва і не стискається */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  flex-shrink: 0;
}

/* Навігація займає простір між лого і кнопками */
.main-nav {
  display: flex;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
  flex: 1 1 auto;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.main-nav::-webkit-scrollbar {
  display: none;
}

.main-nav a {
  text-decoration: none;
  color: var(--text);
  padding: 8px 10px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.main-nav a:hover {
  background: rgba(10,132,255,0.1);
  color: var(--accent);
}

.main-nav a.active {
  background: rgba(10,132,255,0.15);
  color: var(--accent);
  font-weight: 600;
}

/* Дії у хедері — притиснуті до правого краю */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
  flex-shrink: 0;
}

.cart-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 9px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.25s;
}

.cart-btn:hover {
  background: var(--accent-hover);
  transform: scale(1.05);
  box-shadow: 0 5px 12px rgba(0,0,0,0.14);
}

/* Кнопка "Увійти" (універсальний стиль) */
.btn-accent {
  background: #ffcc00;
  color: #111;
  padding: 8px 14px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.25s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

.btn-accent:hover {
  background: #e6b800;
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(255, 204, 0, 0.35);
}

/* ===== КАТАЛОГ ===== */
.catalog-wrapper {
  margin-top: 24px;
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 20px;
}

/* ===== ФІЛЬТРИ ===== */
.filters {
  width: 260px;
  position: sticky;
  top: 100px;
  background: var(--white);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  max-height: 85vh;
  overflow-y: auto;
}

.filters::-webkit-scrollbar {
  width: 6px;
}

.filters::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

.filters-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.clear-btn {
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
}

.filter-group {
  border-top: 1px solid #ececec;
  padding: 10px 0;
}

.filter-head {
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  font-size: 15px;
}

.filter-head h4 {
  margin: 0;
}

.filter-body {
  display: none;
  margin-top: 8px;
  padding-left: 4px;
}

.filter-body.open {
  display: block;
}

.filter-body label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  cursor: pointer;
}

/* ===== СЕКЦІЯ КАТАЛОГУ ===== */
.catalog {
  flex: 1;
}

.catalog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e7eb;
}

.catalog-header select {
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  outline: none;
}

/* ===== СІТКА ТОВАРІВ ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* ===== КАРТОЧКИ ===== */
.card {
  background: var(--white);
  border-radius: 12px;
  padding: 14px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 2px 5px rgba(0,0,0,0.03);
  transition: 0.2s;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 5px 12px rgba(0,0,0,0.12);
}

.card img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  margin-bottom: 10px;
}

.card h3 {
  font-size: 16px;
  margin: 0 0 6px;
  min-height: 44px;
}

.card .small {
  color: var(--muted);
  font-size: 13px;
}

.price {
  margin-top: auto;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

/* Блок кнопок у карточці */
.card-buttons {
  margin-top: 10px;
  display: flex;
  gap: 10px;
}

/* Кнопка "Додати в кошик" */
.btn-add {
  flex: 1;
  background: #0a84ff;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s ease;
}

.btn-add:hover {
  background: #006be6;
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Кнопка "Переглянути" */
.btn-view {
  flex: 1;
  background: #ffffff;
  color: #0a84ff;
  border: 2px solid #0a84ff;
  padding: 10px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s ease;
}

.btn-view:hover {
  background: rgba(10,132,255,0.12);
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0,0,0,0.10);
}

/* ===== Пустий результат ===== */
.no-results {
  display: none;
  margin-top: 60px;
  text-align: center;
  color: var(--muted);
  font-size: 20px;
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  border: 1px dashed #ccc;
}

/* ===== FOOTER ===== */
footer {
  margin-top: auto;
}

/* ===== Адаптив ===== */
@media (max-width: 900px) {
  .top {
    flex-wrap: wrap;
    gap: 14px;
  }

  .logo {
    flex: 1 1 auto;
  }

  .main-nav {
    order: 3;
    flex: 1 0 100%;
    gap: 12px;
  }

  .header-actions {
    margin-left: 0;
  }

  .catalog-wrapper {
    flex-direction: column;
    padding: 14px;
    gap: 16px;
  }

  .filters {
    width: 100%;
    position: static;
    max-height: none;
    padding: 14px;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .catalog {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 12px;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .top {
    gap: 10px;
    padding: 12px 0;
  }

  .main-nav {
    display: flex;
    padding-bottom: 2px;
  }

  .catalog-wrapper {
    margin-top: 14px;
    padding: 12px;
  }

  .catalog-header {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .catalog-header h1 {
    margin: 0;
    font-size: 24px;
    line-height: 1.15;
  }

  .catalog-header select {
    min-height: 40px;
    width: 100%;
  }

  .card {
    padding: 12px;
  }

  .card img {
    height: 140px;
  }

  .card h3 {
    min-height: 0;
    font-size: 14px;
    line-height: 1.3;
  }

  .price {
    font-size: 17px;
  }

  .card-buttons,
  .card-actions {
    flex-direction: column;
    gap: 8px;
  }

  .btn-add,
  .btn-view,
  .add-btn,
  .view-btn {
    width: 100%;
  }
}
/* Unified product-card buttons */
.card-actions,
.card-buttons {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.view-btn,
.add-btn,
.btn-view,
.btn-add {
  flex: 1 1 0;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.12s ease, box-shadow 0.2s ease;
}

.view-btn:hover,
.add-btn:hover,
.btn-view:hover,
.btn-add:hover {
  background: var(--accent-hover, #006be6);
  border-color: var(--accent-hover, #006be6);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(10, 132, 255, 0.22);
}

/* MRF brand polish */
.site-header {
  border-bottom-color: rgba(10, 132, 255, 0.18);
  box-shadow: 0 8px 24px rgba(5, 8, 13, 0.06);
}

.logo img {
  border-radius: 8px;
  background: var(--brand-dark);
  box-shadow: 0 6px 18px rgba(5, 8, 13, 0.16);
}

.card {
  border-color: rgba(10, 132, 255, 0.1);
  box-shadow: 0 10px 26px rgba(5, 8, 13, 0.06);
}

.card:hover {
  box-shadow: 0 16px 34px rgba(5, 8, 13, 0.1);
}

.cart-btn,
.btn-add,
.btn-view,
.btn-accent {
  border-color: transparent;
  background: linear-gradient(135deg, var(--brand-ink), var(--accent));
  color: #fff;
  font-weight: 800;
}

.cart-btn:hover,
.btn-add:hover,
.btn-view:hover,
.btn-accent:hover {
  background: linear-gradient(135deg, #172033, var(--accent-hover));
  color: #fff;
  box-shadow: 0 8px 18px rgba(10, 132, 255, 0.24);
}





/* MRF dark theme */
:root {
  --accent: #22a1ff;
  --accent-hover: #0a84ff;
  --brand-dark: #05080d;
  --brand-ink: #0b1220;
  --bg: #070b12;
  --white: #ffffff;
  --text: #111827;
  --muted: #6b7280;
}

html {
  background: #070b12;
}

body {
  background:
    radial-gradient(circle at 12% 0%, rgba(34, 161, 255, 0.16), transparent 28rem),
    linear-gradient(180deg, #05080d 0%, #0a101b 44%, #070b12 100%);
  color: #e5edf7;
}

.site-header,
header,
.header {
  background: rgba(5, 8, 13, 0.94);
  border-bottom-color: rgba(34, 161, 255, 0.2);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.34);
}

.main-nav a,
nav.main a,
.logo,
.logo-name {
  color: #eaf4ff;
}

.main-nav a:hover,
.main-nav a.active,
nav.main a:hover {
  background: rgba(34, 161, 255, 0.12);
  color: #22a1ff;
}

.logo img,
.logo-img {
  border-radius: 8px;
  background: #05080d;
  box-shadow: 0 0 0 1px rgba(34, 161, 255, 0.2), 0 8px 20px rgba(0, 0, 0, 0.32);
}

.catalog-wrapper,
.filters,
.catalog,
.card,
.hero,
.cart-panel,
.summary-panel,
.checkout-head,
.form-card,
.summary-section,
.info-card,
.category-card,
.product-card {
  background: rgba(255, 255, 255, 0.96);
  color: #111827;
  border-color: rgba(34, 161, 255, 0.14);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
}

.card {
  border-radius: 8px;
}

.card:hover {
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.price,
.product-price,
.cart-total,
.summary-total,
.logo span {
  color: #0a84ff;
}

.cart-btn,
.back-btn,
.home-btn,
.btn-add,
.add-btn,
.btn-view,
.view-btn,
.btn-primary,
.submit-btn,
.checkout-btn,
.place-order-btn,
.header-right button {
  border-color: rgba(34, 161, 255, 0.42);
  background: linear-gradient(135deg, #05080d 0%, #0b1220 42%, #0a84ff 100%);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(10, 132, 255, 0.18);
}

.cart-btn:hover,
.back-btn:hover,
.home-btn:hover,
.btn-add:hover,
.add-btn:hover,
.btn-view:hover,
.view-btn:hover,
.btn-primary:hover,
.submit-btn:hover,
.checkout-btn:hover,
.place-order-btn:hover,
.header-right button:hover {
  background: linear-gradient(135deg, #05080d 0%, #101b2d 38%, #22a1ff 100%);
  color: #fff;
  border-color: #22a1ff;
  box-shadow: 0 14px 28px rgba(10, 132, 255, 0.28);
}

input,
select,
textarea {
  border-color: rgba(10, 132, 255, 0.18);
}

footer {
  color: #9fb2c7;
  border-top-color: rgba(34, 161, 255, 0.16);
}

/* MRF unified category dark theme override */
:root {
  --accent: #22a1ff;
  --accent-hover: #0a84ff;
  --brand-dark: #05080d;
  --brand-panel: #0b1422;
  --brand-panel-soft: #101c2d;
  --brand-line: rgba(34, 161, 255, 0.24);
  --brand-line-strong: rgba(34, 161, 255, 0.48);
  --bg: #070b12;
  --white: #0b1422;
  --text: #eef6ff;
  --muted: #9fb2c7;
}

html { background: #070b12 !important; }
body {
  background:
    radial-gradient(circle at 12% 0%, rgba(34, 161, 255, 0.14), transparent 28rem),
    linear-gradient(180deg, #05080d 0%, #0a101b 44%, #070b12 100%) !important;
  color: #eef6ff !important;
}

.site-header,
header,
.header {
  background: rgba(5, 8, 13, 0.96) !important;
  border-bottom: 1px solid rgba(34, 161, 255, 0.22) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.34) !important;
}

.top,
.topbar {
  gap: 24px !important;
}

.logo,
.logo span {
  color: #22a1ff !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

.logo img,
.logo-img {
  border-radius: 8px !important;
  background: #05080d !important;
  box-shadow: 0 0 0 1px rgba(34, 161, 255, 0.24), 0 8px 20px rgba(0, 0, 0, 0.32) !important;
}

.main-nav {
  gap: 18px !important;
}

.main-nav a,
nav a {
  color: #dbeafe !important;
  text-decoration: none !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
}

.main-nav a:hover,
.main-nav a.active,
nav a:hover,
nav a.active {
  background: rgba(34, 161, 255, 0.14) !important;
  color: #22a1ff !important;
}

.cart-btn,
.btn-add,
.add-btn,
.btn-view,
.view-btn,
.clear-btn,
.btn-accent {
  border: 1px solid rgba(34, 161, 255, 0.58) !important;
  background: linear-gradient(135deg, #05080d 0%, #0b1220 42%, #0a84ff 100%) !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  box-shadow: 0 10px 22px rgba(10, 132, 255, 0.18) !important;
}

.cart-btn:hover,
.btn-add:hover,
.add-btn:hover,
.btn-view:hover,
.view-btn:hover,
.clear-btn:hover,
.btn-accent:hover {
  border-color: #22a1ff !important;
  background: linear-gradient(135deg, #05080d 0%, #101b2d 38%, #22a1ff 100%) !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}

.catalog-wrapper {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  max-width: 1460px !important;
  width: 100% !important;
  margin: 24px auto 0 !important;
}

.filters,
.catalog,
.catalog-page,
.components-page,
.peripherals-page,
.power-page {
  background: rgba(7, 13, 24, 0.94) !important;
  border: 1px solid rgba(34, 161, 255, 0.22) !important;
  color: #eef6ff !important;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.34) !important;
}

.filters {
  border-radius: 10px !important;
  scrollbar-color: rgba(34, 161, 255, 0.55) rgba(7, 13, 24, 0.7) !important;
}

.filters::-webkit-scrollbar-thumb {
  background: rgba(34, 161, 255, 0.55) !important;
}

.filters-header strong,
.filter-head h4,
.filter-head,
.chev,
.catalog-header h1,
.catalog-header h2,
.catalog-page h1,
.components-page h1,
.peripherals-page h1,
.power-page h1 {
  color: #ffffff !important;
}

.filter-group {
  border-top-color: rgba(34, 161, 255, 0.18) !important;
}

.filter-body label,
.catalog-info,
.small,
.category-card p,
.component-card p,
.peripheral-card p,
.power-card p {
  color: #b9cbe0 !important;
}

input,
select,
textarea,
#categorySearch,
.search-input {
  background: #f8fbff !important;
  color: #0b1220 !important;
  border: 1px solid rgba(34, 161, 255, 0.3) !important;
  border-radius: 8px !important;
}

.catalog-header {
  border-bottom-color: rgba(34, 161, 255, 0.18) !important;
}

.card,
.product-card,
.category-card,
.component-card,
.peripheral-card,
.power-card {
  background: linear-gradient(180deg, rgba(16, 27, 45, 0.98), rgba(8, 14, 25, 0.98)) !important;
  border: 1px solid rgba(34, 161, 255, 0.22) !important;
  color: #eef6ff !important;
  border-radius: 10px !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.26) !important;
}

.card:hover,
.product-card:hover,
.category-card:hover,
.component-card:hover,
.peripheral-card:hover,
.power-card:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(34, 161, 255, 0.52) !important;
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(34, 161, 255, 0.1) !important;
}

.card img,
.product-card img {
  background: #f8fbff !important;
  border-radius: 8px !important;
  padding: 10px !important;
}

.card h3,
.product-card h3,
.category-card h2,
.component-card h2,
.peripheral-card h2,
.power-card h2 {
  color: #ffffff !important;
  text-shadow: 0 2px 10px rgba(10, 132, 255, 0.1) !important;
}

.price,
.product-price {
  color: #22a1ff !important;
  font-weight: 900 !important;
}

.no-results {
  background: rgba(7, 13, 24, 0.94) !important;
  border-color: rgba(34, 161, 255, 0.26) !important;
  color: #ffb4b4 !important;
}

.card.out-of-stock,
.card.unavailable,
.product-card.out-of-stock,
.product-card.unavailable,
.card[data-stock="0"],
.product-card[data-stock="0"] {
  opacity: 0.58 !important;
  filter: grayscale(0.72) !important;
}

.card.out-of-stock .btn-add,
.card.unavailable .btn-add,
.product-card.out-of-stock .btn-add,
.product-card.unavailable .btn-add,
.card[data-stock="0"] .btn-add,
.product-card[data-stock="0"] .btn-add {
  background: #334155 !important;
  border-color: #475569 !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
}

footer {
  color: #9fb2c7 !important;
  border-top: 1px solid rgba(34, 161, 255, 0.16) !important;
}

@media (max-width: 900px) {
  .main-nav { gap: 12px !important; }
  .catalog-wrapper { margin-top: 14px !important; }
}
/* MRF unified footer like homepage */
.mrf-footer,
footer.mrf-footer {
  margin-top: auto !important;
  padding: 20px 0 30px !important;
  background: transparent !important;
  border-top: 1px solid rgba(34, 161, 255, 0.16) !important;
  color: #9fb2c7 !important;
  text-align: center !important;
  font-size: 13px !important;
}

.mrf-footer .container {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 12px 16px 0 !important;
  border-top: 1px solid rgba(34, 161, 255, 0.12) !important;
}

.mrf-footer .footer-wrap {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  gap: 10px !important;
}

.mrf-footer strong {
  display: block !important;
  color: #eaf4ff !important;
  font-weight: 900 !important;
  margin-bottom: 5px !important;
}

.mrf-footer .small {
  color: #9fb2c7 !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

.mrf-footer a {
  color: #cfe7ff !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

.mrf-footer a:hover {
  color: #22a1ff !important;
}
/* MRF compact unified footer final */
.mrf-footer,
footer.mrf-footer {
  margin-top: 24px !important;
  padding: 8px 0 12px !important;
  min-height: 0 !important;
  background: transparent !important;
  border-top: 1px solid rgba(34, 161, 255, 0.16) !important;
  color: #9fb2c7 !important;
  text-align: center !important;
  font-size: 12px !important;
}

.mrf-footer .container {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 8px 16px 0 !important;
  border-top: 0 !important;
}

.mrf-footer .footer-wrap {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  gap: 4px !important;
  min-height: 0 !important;
}

.mrf-footer strong {
  display: block !important;
  color: #eaf4ff !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  margin: 0 0 3px !important;
  line-height: 1.15 !important;
}

.mrf-footer .small {
  color: #9fb2c7 !important;
  font-size: 12px !important;
  line-height: 1.28 !important;
  margin: 0 !important;
}

.mrf-footer a {
  color: #cfe7ff !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

.mrf-footer a:hover {
  color: #22a1ff !important;
}

body > .mrf-footer:last-child,
main > .mrf-footer:last-child {
  margin-bottom: 0 !important;
}

@media (max-width: 640px) {
  .mrf-footer,
  footer.mrf-footer {
    margin-top: 18px !important;
    padding: 8px 0 10px !important;
  }

  .mrf-footer .small {
    font-size: 11px !important;
  }
}
/* MRF footer bottom placement final */
html,
body {
  min-height: 100% !important;
}

body {
  min-height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
}

body > main,
body > .catalog-wrapper,
body > .catalog-page,
body > .components-page,
body > .peripherals-page,
body > .power-page {
  flex: 1 0 auto !important;
}

body > footer.mrf-footer,
body > .mrf-footer {
  margin-top: auto !important;
}

main > footer.mrf-footer,
main footer.mrf-footer {
  margin-top: clamp(34px, 6vh, 72px) !important;
}

.mrf-footer,
footer.mrf-footer {
  padding-top: 8px !important;
  padding-bottom: 12px !important;
}

@media (max-width: 640px) {
  main > footer.mrf-footer,
  main footer.mrf-footer {
    margin-top: 28px !important;
  }
}
/* MRF expanded main nav fit */
.main-nav {
  gap: 12px !important;
  align-items: center !important;
}

.main-nav a {
  padding-left: 10px !important;
  padding-right: 10px !important;
}

@media (max-width: 1100px) {
  .main-nav {
    gap: 8px !important;
  }

  .main-nav a {
    padding-left: 8px !important;
    padding-right: 8px !important;
    font-size: 14px !important;
  }
}