/* ==========================================================================
   MIDMOD — stopka (PHP), wymiary jak w szablonie Elementor #167 (25.10.2026)
   ========================================================================== */
.mmft { border-top: 1px solid #e6e3dc; background: #fff; color: #1a1a1a; font-family: Jost, sans-serif; font-size: 14px; line-height: 28px; }
.mmft a { color: #1a1a1a; text-decoration: none; transition: color .15s; }
.mmft a:hover { color: #77726a; }
.mmft p { margin: 0; }
.mmft__inner { max-width: 1280px; margin: 0 auto; }

/* górna część */
.mmft__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; padding: 56px 0 48px; }
.mmft__brand { flex: 0 0 200px; width: 200px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.mmft__logo img { display: block; width: 96px; height: auto; }
.mmft__tagline { font-size: 16px; line-height: 1.5; color: #5f5a52; }
.mmft__contact { font-size: 15px; line-height: 1.6; margin-top: 8px !important; }
.mmft__social { display: flex; gap: 8px; }
.mmft__social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid #e6e3dc; border-radius: 5px; background: #fff; }
.mmft__social a:hover { background: #f4f2ee; }
.mmft__social svg { width: 17px; height: 17px; fill: #1a1a1a; }

.mmft__col { flex: 0 0 auto; display: flex; flex-direction: column; gap: 10px; }
.mmft__label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #77726a; line-height: 1.3; margin-bottom: 6px; }
.mmft__links p { margin: 0 0 10px; font-size: 15px; line-height: 1.5; white-space: nowrap; }
.mmft__links p:last-child { margin-bottom: 0; }

/* newsletter */
.mmft__nl { flex: 0 0 330px; width: 330px; display: flex; flex-direction: column; gap: 12px; }
.mmft__nl .mmft__label { margin-bottom: 0; }
.mmft__nl-title { font-size: 22px; font-weight: 500; line-height: 1.3; color: #1a1a1a; }
.mmft__form { display: flex; flex-wrap: wrap; gap: 10px 8px; margin: 0; }
.mmft__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mmft__email { flex: 1 1 200px; min-width: 0; height: 44px; padding: 0 14px !important; border: 1px solid #e6e3dc !important; border-radius: 5px !important; background: #fff; color: #1a1a1a; font: 400 15px/1.4 Jost, sans-serif; }
.mmft__email::placeholder { color: #a8a39a; }
.mmft__email:focus { border-color: #1a1a1a !important; outline: none; }
.mmft__submit { flex: 0 0 auto; height: 44px; padding: 0 18px; border: 0; border-radius: 5px; background: #1a1a1a; color: #fff; font: 500 15px/1 Jost, sans-serif; cursor: pointer; transition: background .15s; }
.mmft__submit:hover { background: #3a3a3a; }
.mmft__submit[disabled] { opacity: .6; cursor: default; }
.mmft__consent { flex: 0 0 100%; display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: 12.5px; line-height: 1.5; color: #77726a; cursor: pointer; }
.mmft__consent input { flex: 0 0 auto; margin: 3px 0 0; width: 14px; height: 14px; }
.mmft__consent a { color: #1a1a1a; text-decoration: underline; text-underline-offset: 2px; }
.mmft__msg { flex: 0 0 100%; font-size: 14px; line-height: 1.5; }
.mmft__msg:empty { display: none; }
.mmft__msg.is-error { color: #b3261e; }

/* dolny pasek */
.mmft__bottom { border-top: 1px solid #e6e3dc; }
.mmft__bottom-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0 26px; }
.mmft__legal, .mmft__pay { margin: 0; font-size: 13.5px; line-height: 1.6; color: #77726a; }
.mmft__legal { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.mmft__legal a { color: #77726a; }
.mmft__legal a:hover { color: #1a1a1a; }
.mmft__pay { display: flex; flex-wrap: wrap; gap: 6px; }
.mmft__pay span { padding: 2px 9px; border: 1px solid #e6e3dc; border-radius: 5px; font-size: 12px; font-weight: 500; color: #5f5a52; }
.mmft__switch { display: flex; align-items: center; gap: 24px; font-size: 14px; line-height: 1.6; }
.mmft__lang { display: inline-flex; align-items: center; }
.mmft__lang a { padding: 0 4px; color: #77726a; text-transform: uppercase; }
.mmft__lang a.is-active, .mmft__lang a:hover { color: #1a1a1a; }
.mmft__lang a.is-active { font-weight: 500; }
.mmft__lang i { font-style: normal; color: #d3cfc5; padding: 0 2px; }
.mmft__cur .wcml-horizontal-list, .mmft__cur .wcml_currency_switcher { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; }
.mmft__cur ul { display: flex !important; align-items: center; gap: 12px; margin: 0 !important; padding: 0 !important; }
.mmft__cur li { list-style: none; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; }
.mmft__cur a { padding: 0 !important; background: none !important; border: 0 !important; font-size: 14px !important; line-height: 1.6; color: #77726a !important; cursor: pointer; }
.mmft__cur a:hover { color: #1a1a1a !important; }
.mmft__cur .wcml-cs-active-currency > a { color: #1a1a1a !important; font-weight: 500; }

/* szerokości pośrednie */
@media (min-width: 1025px) and (max-width: 1300px) {
	.mmft__top { gap: 28px; padding-left: 24px; padding-right: 24px; }
	.mmft__bottom-row { padding-left: 24px; padding-right: 24px; }
}
@media (min-width: 768px) and (max-width: 1024px) {
	.mmft__top { flex-wrap: wrap; row-gap: 36px; padding-left: 24px; padding-right: 24px; }
	.mmft__brand { flex: 0 0 100%; width: 100%; flex-direction: row; flex-wrap: wrap; align-items: center; }
	.mmft__col { flex: 0 0 calc(25% - 24px); }
	.mmft__nl { flex: 0 0 100%; width: 100%; max-width: 480px; }
	.mmft__bottom-row { padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 767px) {
	.mmft__top { flex-wrap: wrap; row-gap: 32px; column-gap: 20px; padding: 40px 20px 32px; }
	.mmft__brand { flex: 0 0 100%; width: 100%; display: grid; grid-template-columns: 96px 1fr; grid-template-areas: "logo tag" "logo contact" "social social"; column-gap: 20px; row-gap: 8px; align-items: start; }
	.mmft__logo { grid-area: logo; }
	.mmft__tagline { grid-area: tag; }
	.mmft__contact { grid-area: contact; }
	.mmft__social { grid-area: social; margin-top: 6px; }
	.mmft__col { order: 1; flex: 0 0 calc(50% - 10px); }
	.mmft__links p { white-space: normal; }
	.mmft__nl { order: 2; flex: 0 0 100%; width: 100%; padding-top: 28px; border-top: 1px solid #e6e3dc; }
	.mmft__submit { flex: 1 1 100%; order: 3; }
	.mmft__consent { order: 2; }
	.mmft__msg { order: 4; }
	.mmft__bottom-row { flex-direction: column; align-items: flex-start; gap: 16px; padding: 20px 20px 28px; }
}

/* Stare elementy stopki z functions (przełączniki WPML/WCML w wp_footer) — w stopce MIDMOD są własne. */
#mm-footer-lang-currency-row, #mm-footer-currency-wrap, .wpml-ls-statics-footer { display: none !important; }

/* Waluty w stopce: zwykły tekst (bez „pigułek” z innych stylów przełącznika walut) */
html body .mmft .mmft__cur .wcml_currency_switcher ul li,
html body .mmft .mmft__cur .wcml_currency_switcher ul li a { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; min-height: 0 !important; height: auto !important; border-radius: 0 !important; }
html body .mmft .mmft__cur .wcml_currency_switcher ul li a { color: #77726a !important; font-size: 14px !important; font-weight: 400 !important; line-height: 1.6 !important; }
html body .mmft .mmft__cur .wcml_currency_switcher ul li a:hover { color: #1a1a1a !important; }
html body .mmft .mmft__cur .wcml_currency_switcher ul li.wcml-cs-active-currency a { color: #1a1a1a !important; font-weight: 500 !important; }

/* wysokości jak w dotychczasowej stopce Elementora (pas dolny: przełącznik waluty z marginesem 1em) */
@media (min-width: 1025px) { .mmft__bottom-row { min-height: 99px; box-sizing: border-box; } }
@media (max-width: 767px) { .mmft__contact { margin-top: 0 !important; } }
.mmft__switch { min-height: 51px; }
