.ml-footer {
  --ml-bg: #fff;
  --ml-text: #000;
  --ml-muted: #000;
  --ml-border: rgba(255,255,255,.13);
  --ml-accent: #e53935;
  width: 100%;
  padding: 58px 0 0;
  background: var(--ml-bg);
  color: var(--ml-text);
  font-family: "Manrope", sans-serif;
  box-sizing: border-box;
}

.ml-footer *,
.ml-footer *::before,
.ml-footer *::after {
  box-sizing: border-box;
}

.ml-footer-inner {
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto;
}

.ml-footer-grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(4, minmax(0, 1fr));
  gap: 32px;
  padding-bottom: 42px;
}

.ml-footer-logo {
  display: inline-flex;
  margin-bottom: 22px;
  color: #000;
  text-decoration: none;
  font-size: 22px;
  font-weight: 800;
}

.ml-footer-logo img {
  display: block;
  max-width: 175px;
  max-height: 55px;
  width: auto;
  object-fit: contain;
}

.ml-footer-news h2 {
  margin: 0 0 12px;
  color: #000;
  font-size: 24px;
  line-height: 1.35;
  font-weight: 700;
}

.ml-footer-news > p:not(.ml-newsletter-note) {
  margin: 0 0 20px;
  color: var(--ml-muted);
  font-size: 13px;
  line-height: 1.8;
}

.ml-newsletter-form {
  display: flex;
  gap: 8px;
  width: 100%;
}

.ml-newsletter-form input {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 13px;
  border: 1px solid var(--ml-border);
  border-radius: 10px;
  background: #191919;
  color: #fff;
  font: inherit;
  font-size: 12px;
}

.ml-newsletter-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 15px;
  border: 1px solid var(--ml-accent);
  border-radius: 10px;
  background: var(--ml-accent);
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s ease;
}

.ml-newsletter-form button:hover {
  background: #c93e3b;
  border-color: #c93e3b;
}

.ml-newsletter-note {
  margin: 12px 0 16px;
  color: #888;
  font-size: 11px;
  line-height: 1.7;
}

.ml-newsletter-note a {
  color: #ddd;
  text-decoration: underline;
}

.ml-footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ml-footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--ml-border);
  border-radius: 50%;
  color: #fff;
  background: #191919;
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  transition: .2s ease;
}

.ml-footer-socials a:hover {
  background: var(--ml-accent);
  border-color: var(--ml-accent);
  transform: translateY(-2px);
}

.ml-footer-column h3 {
  margin: 4px 0 22px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.ml-footer-column h3::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin-top: 11px;
  border-radius: 10px;
  background: var(--ml-accent);
}

.ml-footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ml-footer-column li {
  margin: 0;
  padding: 0;
}

.ml-footer-column li a {
  color: var(--ml-muted);
  font-size: 12px;
  line-height: 1.7;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color .2s ease;
}

.ml-footer-column li a:hover {
  color: #fff;
}

.ml-footer-contact-note {
  margin: 15px 0 0;
  color: #999;
  font-size: 12px;
  line-height: 1.7;
}

.ml-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 20px 0;
  border-top: 1px solid var(--ml-border);
}

.ml-footer-bottom p {
  margin: 0;
  color: #aaa;
  font-size: 12px;
  line-height: 1.7;
}

.ml-footer-bottom a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.ml-footer-bottom a:hover {
  color: var(--ml-accent);
}

/* Tablet */
@media (max-width: 1024px) {
  .ml-footer {
    padding-top: 45px;
  }

  .ml-footer-inner {
    width: calc(100% - 48px);
  }

  .ml-footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px 25px;
  }

  .ml-footer-news {
    grid-column: 1 / -1;
    max-width: 570px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .ml-footer {
    padding-top: 35px;
  }

  .ml-footer-inner {
    width: calc(100% - 36px);
  }

  .ml-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 18px;
    padding-bottom: 30px;
  }

  .ml-footer-news {
    grid-column: 1 / -1;
  }

  .ml-footer-news h2 {
    font-size: 22px;
  }

  .ml-newsletter-form {
    flex-direction: column;
  }

  .ml-newsletter-form input,
  .ml-newsletter-form button {
    width: 100%;
    min-height: 46px;
  }

  .ml-footer-column h3 {
    margin-bottom: 17px;
    font-size: 13px;
  }

  .ml-footer-column ul {
    gap: 11px;
  }

  .ml-footer-column li a {
    font-size: 12px;
  }

  .ml-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .ml-footer-bottom p {
    font-size: 11px;
  }
}

@media (max-width: 380px) {
  .ml-footer-inner {
    width: calc(100% - 28px);
  }

  .ml-footer-grid {
    gap: 26px 14px;
  }

  .ml-footer-column li a {
    font-size: 11px;
  }
}

/* Mask Leather footer logo size */
.ml-footer-logo {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
}

.ml-footer-logo-img {
  display: block;
  width: 180px !important;
  max-width: 100%;
  height: auto !important;
  object-fit: contain;
}

/* Tablet */
@media (max-width: 1024px) {
  .ml-footer-logo-img {
    width: 155px !important;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .ml-footer-logo-img {
    width: 135px !important;
  }
}

/* Force larger Mask Leather logo */
.ml-footer .ml-footer-logo {
  display: flex !important;
  width: 100% !important;
  max-width: 320px !important;
  min-height: 90px;
  align-items: center;
  justify-content: flex-start;
  overflow: visible !important;
}

.ml-footer .ml-footer-logo img.ml-footer-logo-img {
  display: block !important;
  width: 280px !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain;
  flex: 0 0 auto;
}

/* Tablet */
@media (max-width: 1024px) {
  .ml-footer .ml-footer-logo img.ml-footer-logo-img {
    width: 220px !important;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .ml-footer .ml-footer-logo {
    max-width: 260px !important;
    min-height: 75px;
  }

  .ml-footer .ml-footer-logo img.ml-footer-logo-img {
    width: 200px !important;
  }
}