.vimpromo-footer {
  width: 100%;
  min-height: 280px;
  padding: 0 0 20px;
  background: #000;
  border-radius: 0 !important;
  margin-bottom: 0 !important;
  color: #fff;
  font-family: "DM Sans", Arial, sans-serif;
}

.vimpromo-footer + script + p:empty,
.vimpromo-footer + script + p:has(> br:only-child) {
  display: none !important;
}

#primary:has(.vimpromo-footer) {
  margin-bottom: 0 !important;
}

body.vimpromo-custom-shell .vimpromo-footer {
  margin-left: calc(50% - 50vw);
  width: 100vw;
}

body.woocommerce-lost-password .vimpromo-footer {
  min-height: 0;
}

body.vimpromo-custom-shell .vimpromo-footer a,
body.vimpromo-custom-shell .vimpromo-footer a:hover,
body.vimpromo-custom-shell .vimpromo-footer a:focus {
  text-decoration: none!important;
}

.vpf-inner {
  box-sizing: border-box;
  width: min(100%, 1280px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: repeat(1, 1fr);
  gap: 10px;
  justify-content: space-evenly;
}

.vpf-brand,
.vpf-column,
.vpf-connect {
  padding-top: 30px;
}

.vpf-brand {
  align-self: flex-start;
}

.vpf-brand img {
  width: 120px;
  max-width: 100%;
  display: block;
}

.vpf-brand p {
  margin: 4px 0 0 12px;
  padding: 0;
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
}

.vimpromo-footer .vpf-brand p,
.vimpromo-footer .vpf-column h2,
.vimpromo-footer .vpf-connect h2,
.vimpromo-footer .vpf-column a,
.vimpromo-footer .vpf-copyright {
  color: #fff;
}

.vpf-column,
.vpf-connect {
  display: flex;
  flex-direction: column;
  align-self: flex-start;
}

.vpf-column {
  gap: 0;
}

.vpf-connect {
  gap: 20px;
}

.vpf-column h2,
.vpf-connect h2 {
  margin: 0;
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.2;
}

.vpf-column h2 {
  margin-bottom: 15px;
  text-transform: uppercase;
}

.vpf-connect h2 {
  text-transform: none;
}

.vpf-column a {
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  line-height: 30px;
  letter-spacing: 0;
  word-spacing: 1px;
  text-decoration: none;
}

.vpf-column a:hover {
  color: #fff;
  text-decoration: underline;
}

.vpf-socials {
  display: grid;
  grid-template-columns: repeat(4, auto);
  column-gap: 15px;
  row-gap: 10px;
  justify-content: start;
}

.vpf-socials a {
  width: 36px;
  height: 36px;
  border-radius: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.vpf-socials svg {
  width: 18px;
  height: 18px;
  fill: #000;
  display: block;
}

.vpf-copyright {
  width: 100%;
  margin: 0;
  align-self: center;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  word-spacing: 1px;
}

@media (max-width: 1279px) {
  body:not(:has(.vpa-archive)) .vpf-inner {
    width: calc(100% - 64px);
  }
}

@media (min-width: 1281px) and (max-width: 1440px) {
  body:not(:has(.vpa-archive)) .vpf-inner {
    width: min(90%, 1280px) !important;
    max-width: 1280px !important;
  }
}

@media (max-width: 1024px) {
  .vpf-inner {
    grid-auto-flow: row;
    width: 100%;
    padding: 0 24px;
  }
}

@media (max-width: 767px) {
  .vpf-inner {
    grid-template-columns: 1fr;
    grid-auto-flow: row;
  }
}
