/* The website footer (four versions, one design). Selectors are doubled so theme heading, list, link and
   button styles do not reshape it; Elementor's style controls still win. */

/* it replaces the theme, marketplace and car footers */
body.mkt-ft-on.mkt-ft-on.mkt-ft-on :is(.footer-container,.wd-prefooter,.wd-footer,#colophon,.site-footer,.elementor-location-footer,.bp-lk-footer,.bp-lk-elfoot,.cp-ft){display:none!important}

.mkt-ft{--ft-bg:#0f2a44;--ft-line:#28445f;--ft-accent:#ea580c;--ft-accent2:#fb923c;--ft-text:#dbe4ee;position:relative;clear:both;width:100%;background:var(--ft-bg);border-top:4px solid var(--ft-accent);color:var(--ft-text);font-size:15px;line-height:1.55;text-align:left}
.mkt-ft *,.mkt-ft *::before,.mkt-ft *::after{box-sizing:border-box}
.mkt-ft svg{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.mkt-ft.mkt-ft a{color:var(--ft-text);text-decoration:none;box-shadow:none}
.mkt-ft.mkt-ft a:hover{color:var(--ft-accent2)}
.mkt-ft.mkt-ft :is(a,button):focus-visible{outline:2px solid var(--ft-accent2);outline-offset:2px}
.mkt-ft.mkt-ft ul{list-style:none;margin:0;padding:0}
.mkt-ft.mkt-ft li{margin:0;padding:0}
.mkt-ft.mkt-ft p{margin:0 0 12px;color:inherit}
.mkt-ft-w{width:100%;max-width:1400px;margin:0 auto;padding-left:20px;padding-right:20px}

.mkt-ft-strip{border-bottom:1px solid var(--ft-line)}
.mkt-ft-strip .mkt-ft-w{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;padding-top:18px;padding-bottom:18px}
.mkt-ft.mkt-ft a.mkt-ft-c{display:flex;align-items:center;gap:12px;min-width:0;min-height:56px;padding:8px 14px;border:1px solid var(--ft-line);border-radius:12px;color:#fff;font-weight:600}
.mkt-ft.mkt-ft a.mkt-ft-c:hover{border-color:var(--ft-accent2);color:#fff}
.mkt-ft-c svg{color:var(--ft-accent2)}
.mkt-ft-c span{display:grid;min-width:0;overflow-wrap:anywhere}
.mkt-ft-c small{font-size:12px;font-weight:400;color:var(--ft-text)}

/* menu columns across the full width, all starting and ending level */
.mkt-ft-cols{display:grid;grid-template-columns:repeat(var(--mkt-ft-n,5),minmax(0,1fr));gap:28px 24px;align-items:start;padding-top:36px;padding-bottom:32px}

/* below them: logo and about text, shop or office, social links, in one row */
.mkt-ft-band{border-top:1px solid var(--ft-line)}
.mkt-ft-band>.mkt-ft-w{display:flex;flex-wrap:wrap;align-items:center;gap:20px 36px;padding-top:24px;padding-bottom:24px}
.mkt-ft-brand{display:flex;align-items:center;gap:24px;flex:1 1 460px;min-width:0}
.mkt-ft.mkt-ft a.mkt-ft-logo{flex:none;display:inline-block;color:#fff;font-size:20px;font-weight:700}
.mkt-ft.mkt-ft .mkt-ft-logo img{display:block;width:auto;height:auto;max-width:180px;max-height:72px}
.mkt-ft.mkt-ft .mkt-ft-brand p{margin:0;max-width:560px;font-size:14px}
.mkt-ft-loc{display:flex;gap:10px;flex:0 1 400px;min-width:0;padding:14px;border:1px solid var(--ft-line);border-radius:12px;background:rgba(255,255,255,.04);scroll-margin-top:90px}
.mkt-ft-loc svg{color:var(--ft-accent2);margin-top:2px}
.mkt-ft-loc div{display:grid;gap:3px;min-width:0}
.mkt-ft-loc strong{color:#fff;font-weight:600}
.mkt-ft-loc span{font-size:14px}
.mkt-ft.mkt-ft .mkt-ft-loc a{justify-self:start;padding:4px 0;color:var(--ft-accent2);font-weight:600;font-size:14px}
.mkt-ft.mkt-ft .mkt-ft-social{display:flex;flex-wrap:wrap;gap:10px;flex:none;margin-left:auto}
.mkt-ft.mkt-ft .mkt-ft-social a{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid var(--ft-line);border-radius:50%;color:#fff}
.mkt-ft.mkt-ft .mkt-ft-social a:hover{background:var(--ft-accent);border-color:var(--ft-accent);color:#fff}

.mkt-ft.mkt-ft h3{margin:0 0 14px;padding:0;color:#fff;font-size:16px;font-weight:700;line-height:1.35;letter-spacing:0;text-transform:none}
.mkt-ft.mkt-ft h3 button{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;height:auto;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;color:inherit;font:inherit;letter-spacing:inherit;text-transform:none;text-align:left;cursor:default}
.mkt-ft.mkt-ft h3 button:hover{background:none;color:inherit;box-shadow:none}
.mkt-ft h3 button span::after{content:"";display:block;width:34px;height:3px;margin-top:8px;border-radius:3px;background:var(--ft-accent)}
.mkt-ft h3 button svg{display:none}
.mkt-ft.mkt-ft .mkt-ft-col a{display:inline-block;padding:5px 0;font-size:14.5px}

.mkt-ft-bot{border-top:1px solid var(--ft-line);font-size:13.5px}
.mkt-ft-bot .mkt-ft-w{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 20px;padding-top:16px;padding-bottom:18px}

/* the Elementor template runs edge to edge */
.mkt-ft-el{clear:both;width:100%}

/* narrower screens: the logo and about text take their own line in the band */
@media (max-width:1199px){
  .mkt-ft-band>.mkt-ft-w:has(.mkt-ft-loc) .mkt-ft-brand{flex-basis:100%}
}
@media (max-width:1023px){
  .mkt-ft-cols{grid-template-columns:repeat(3,minmax(0,1fr))}
  .mkt-ft-strip .mkt-ft-w{grid-template-columns:repeat(2,minmax(0,1fr))}
  /* room above the marketplace tab bar or the theme toolbar */
  body.mkt-ft-on.bp-look:not(.bp-look-app){padding-bottom:0}
  body.mkt-ft-on.bp-look .mkt-ft-bot,body.mkt-ft-on.sticky-toolbar-on .mkt-ft-bot{padding-bottom:calc(72px + env(safe-area-inset-bottom))}
}
@media (max-width:767px){
  .mkt-ft-w{padding-left:16px;padding-right:16px}
  .mkt-ft-strip .mkt-ft-w{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .mkt-ft-strip a.mkt-ft-c:not(.is-call):not(.is-wa){grid-column:1/-1}
  .mkt-ft.mkt-ft a.mkt-ft-c{gap:8px;padding:8px 10px;font-size:14px}
  .mkt-ft.mkt-ft a.mkt-ft-c.is-call{background:var(--ft-accent);border-color:var(--ft-accent)}
  .mkt-ft.mkt-ft a.mkt-ft-c.is-wa{background:#15803d;border-color:#15803d}
  .mkt-ft-c.is-call svg,.mkt-ft-c.is-wa svg,.mkt-ft-c.is-call small,.mkt-ft-c.is-wa small{color:#fff}
  .mkt-ft-cols{grid-template-columns:minmax(0,1fr);gap:0;padding-top:12px;padding-bottom:12px}
  .mkt-ft-band{border-top:0}
  .mkt-ft-band>.mkt-ft-w{padding-top:12px}
  .mkt-ft-brand{flex-direction:column;align-items:flex-start;gap:14px}
  .mkt-ft-loc{flex:1 1 100%}
  .mkt-ft.mkt-ft .mkt-ft-social{margin-left:0}
  .mkt-ft-col{border-bottom:1px solid var(--ft-line)}
  .mkt-ft.mkt-ft h3{margin:0}
  .mkt-ft.mkt-ft h3 button{min-height:52px;padding:10px 0;cursor:pointer}
  .mkt-ft h3 button span::after{display:none}
  .mkt-ft h3 button svg{display:block;color:var(--ft-accent2);transition:transform .2s}
  .mkt-ft .mkt-ft-col.is-open h3 button svg{transform:rotate(180deg)}
  .mkt-ft.mkt-ft .mkt-ft-col ul{padding:0 0 10px}
  .mkt-ft.mkt-ft .mkt-ft-col a{display:block;padding:10px 0}
  /* closed until tapped (only once the script runs, so the links are never lost without it) */
  .mkt-ft-js .mkt-ft.mkt-ft .mkt-ft-col:not(.is-open) ul{display:none}
}
@media (prefers-reduced-motion:reduce){.mkt-ft h3 button svg{transition:none!important}}
