/* EquipCore footer acceptance layer: final grid, contrast and responsive behavior. */
.ec-footer {
  color: #d7e6f5;
  background: #073462 !important;
}

.ec-footer .page-width {
  width: min(100% - 48px, 1240px) !important;
  max-width: 1240px !important;
  padding-inline: 0 !important;
  margin-inline: auto !important;
}

.ec-footer .footer__inner {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 0 24px !important;
  align-items: start !important;
  width: 100%;
  padding: 0 !important;
}

.ec-footer a {
  color: #e9f4ff;
}

.ec-footer a:hover {
  color: #fff;
}

.ec-footer .ec-footer-support,
.ec-footer .ec-footer-services,
.ec-footer .ec-footer-carriers,
.ec-footer .footer__group--additional,
.ec-footer .footer__group--information:has(.footer__copyright) {
  grid-column: 1 / -1;
}

.ec-footer .ec-footer-support {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 24px 0 20px;
  border-block-end: 1px solid rgba(255, 255, 255, 0.18);
}

.ec-footer .ec-footer-support__copy {
  gap: 14px;
}

.ec-footer .ec-footer-support__icon {
  flex-basis: 46px;
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.ec-footer .ec-footer-support h2 {
  color: #fff;
  font-size: 20px;
  line-height: 1.2;
}

.ec-footer .ec-footer-support p {
  margin-block-start: 4px;
  color: #cce0f4;
  font-size: 13px;
}

.ec-footer .ec-footer-support__actions {
  display: grid;
  grid-template-columns: repeat(2, 230px);
  gap: 12px;
}

.ec-footer .ec-footer-support__button {
  min-width: 0;
  min-height: 56px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 7px;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.ec-footer a.ec-footer-support__button--email {
  color: #fff !important;
  background: #ff7420;
}

.ec-footer a.ec-footer-support__button--email:hover {
  color: #fff !important;
  background: #e95d0a;
  text-decoration: none;
  transform: translateY(-1px);
}

.ec-footer a.ec-footer-support__button--search {
  color: #07346f !important;
  background: #fff;
  border-color: rgba(255, 255, 255, 0.75);
}

.ec-footer a.ec-footer-support__button--search:hover {
  color: #0054c7 !important;
  background: #eef6ff;
  text-decoration: none;
  transform: translateY(-1px);
}

.ec-footer .footer__group--information:not(:has(.footer__copyright)) {
  grid-column: 1 / span 4;
  grid-row: 2;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 24px !important;
  align-items: start !important;
  width: 100% !important;
  padding: 22px 0 20px !important;
  border-block-end: 1px solid rgba(255, 255, 255, 0.15);
}

.ec-footer .footer__group--contact {
  grid-column: 5;
  grid-row: 2;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  align-self: stretch;
  width: 100% !important;
  padding: 22px 0 20px !important;
  border-block-end: 1px solid rgba(255, 255, 255, 0.15);
}

.ec-footer .footer__menu,
.ec-footer .footer__custom-text,
.ec-footer .footer__email-subscribe,
.ec-footer .footer__social-media {
  width: 100% !important;
  min-width: 0;
}

.ec-footer .footer__menu-title,
.ec-footer .footer__custom-text-title,
.ec-footer .ec-footer-updates-title,
.ec-footer .footer__social-media-title {
  margin: 0;
  padding: 0 0 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ec-footer .footer__menu-content,
.ec-footer .footer__custom-text-content {
  color: #d4e4f4;
  font-size: 12px;
  line-height: 1.5;
}

.ec-footer .footer__menu-item {
  padding-block-start: 6px;
}

.ec-footer .footer__menu-item:first-child {
  padding-block-start: 0;
}

.ec-footer .footer__custom-text-content {
  max-width: 100%;
}

.ec-footer .footer__email-subscribe-title {
  margin: 0 0 10px;
  padding: 0;
  color: #d4e4f4;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.ec-footer .footer__email-subscribe-title p {
  margin: 0;
}

.ec-footer .footer__email-subscribe form,
.ec-footer .footer__email-subscribe .field {
  width: 100%;
  max-width: none;
}

.ec-footer .footer__email-subscribe .field {
  min-height: 42px;
}

.ec-footer .footer__email-subscribe .field__input,
.ec-footer .footer__email-subscribe input[type="email"] {
  min-width: 0;
  min-height: 42px;
  color: #0b1f3a !important;
  background: #fff !important;
  border-color: #fff !important;
}

.ec-footer .footer__email-subscribe .field__button,
.ec-footer .footer__email-subscribe button[type="submit"] {
  min-height: 42px;
  color: #fff !important;
  background: #ff7420 !important;
  border-color: #ff7420 !important;
}

.ec-footer .footer__email-subscribe .field__button:hover,
.ec-footer .footer__email-subscribe button[type="submit"]:hover {
  background: #e95d0a !important;
  border-color: #e95d0a !important;
}

.ec-footer .footer__social-media {
  margin-block-start: auto;
}

.ec-footer .footer__social-media-title {
  padding-block-end: 8px;
}

.ec-footer .ec-footer-social {
  display: flex;
  gap: 8px;
  align-items: center;
}

.ec-footer .ec-footer-social__facebook {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #fff !important;
  background: #1877f2;
  border-radius: 50%;
}

.ec-footer .ec-footer-social__facebook svg {
  width: 18px;
  height: 18px;
}

.ec-footer .ec-footer-social__facebook.is-pending {
  cursor: default;
  opacity: 0.72;
}

.ec-footer .ec-footer-services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 16px 0;
  border-block-end: 1px solid rgba(255, 255, 255, 0.15);
}

.ec-footer .ec-footer-service {
  gap: 10px;
  padding-inline: 18px;
}

.ec-footer .ec-footer-service:first-child {
  padding-inline-start: 0;
}

.ec-footer .ec-footer-service:last-child {
  padding-inline-end: 0;
}

.ec-footer .ec-footer-service > span {
  color: #fff;
}

.ec-footer .ec-footer-service strong {
  color: #fff;
  font-size: 12px;
}

.ec-footer .ec-footer-service p {
  color: #d4e4f4;
  font-size: 11px;
}

.ec-footer .ec-footer-carriers {
  padding: 14px 0;
  border-block-end: 1px solid rgba(255, 255, 255, 0.15);
}

.ec-footer .ec-footer-carriers__marks {
  gap: 16px;
}

.ec-footer .ec-footer-carriers__marks img {
  max-width: 88px;
  max-height: 32px;
}

.ec-footer .footer__group--additional {
  display: grid !important;
  grid-template-columns: minmax(310px, auto) minmax(0, 1fr) !important;
  gap: 28px !important;
  align-items: end !important;
  width: 100% !important;
  padding: 14px 0 !important;
  border-block-end: 1px solid rgba(255, 255, 255, 0.15);
}

.ec-footer .footer__localization-form {
  display: flex;
  gap: 10px;
  width: 100% !important;
}

.ec-footer .localization__selector {
  min-width: 150px;
  height: 40px;
  min-height: 40px;
  color: #fff !important;
  background: #0a427f !important;
  border: 1px solid rgba(255, 255, 255, 0.24) !important;
  border-radius: 6px;
}

.ec-footer .localization__selector:nth-of-type(2) {
  min-width: 210px;
}

.ec-footer .localization__selector .theme-select__placeholder,
.ec-footer .localization__selector .theme-select__arrow,
.ec-footer .localization__selector select {
  color: #fff !important;
  opacity: 1 !important;
}

.ec-footer .localization__selector .theme-select__placeholder,
.ec-footer .localization__selector .theme-select__float {
  height: 38px !important;
  min-height: 38px !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: #0a427f !important;
}

.ec-footer .localization__selector option {
  color: #0b1f3a;
  background: #fff;
}

.ec-footer .footer__payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  width: 100% !important;
}

.ec-footer .footer__payment-icons-title {
  flex: 0 0 100%;
  color: #fff;
  font-size: 12px;
  text-align: end;
}

.ec-footer .footer__payment-icons > svg {
  width: auto;
  max-width: 48px;
  height: 22px;
}

.ec-footer .footer__group--information:has(.footer__copyright) {
  display: block !important;
  width: 100% !important;
  padding: 16px 0 20px !important;
  border-block-end: 0;
}

.ec-footer .footer__copyright {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  width: 100%;
  padding: 0 !important;
  color: #d4e4f4;
}

.ec-footer .footer__brand-lockup {
  display: block;
  width: 150px;
  background: transparent !important;
}

.ec-footer .footer__brand-logo {
  display: block;
  width: 150px;
  max-width: 100%;
  height: auto;
  background: transparent !important;
}

.ec-footer .footer__copyright-text,
.ec-footer .footer__copyright-menu {
  color: #d4e4f4;
  font-size: 11px;
  line-height: 1.5;
}

@media (max-width: 959px) {
  .ec-footer .page-width {
    width: min(100% - 32px, 720px) !important;
  }

  .ec-footer .footer__inner {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  .ec-footer .ec-footer-support,
  .ec-footer .footer__group--information:not(:has(.footer__copyright)),
  .ec-footer .footer__group--contact,
  .ec-footer .ec-footer-services,
  .ec-footer .ec-footer-carriers,
  .ec-footer .footer__group--additional,
  .ec-footer .footer__group--information:has(.footer__copyright) {
    grid-column: 1 !important;
    grid-row: auto !important;
  }

  .ec-footer .ec-footer-support {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px 0;
  }

  .ec-footer .ec-footer-support__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ec-footer .footer__group--information:not(:has(.footer__copyright)) {
    display: block !important;
    padding: 4px 0 0 !important;
  }

  .ec-footer .footer__menu {
    border-block-end: 1px solid rgba(255, 255, 255, 0.15);
  }

  .ec-footer .footer__menu-title {
    min-height: 46px;
    padding: 14px 0 12px;
    cursor: pointer;
  }

  .ec-footer .footer__menu-content {
    padding-block-end: 14px;
  }

  .ec-footer .footer__custom-text {
    padding: 18px 0;
  }

  .ec-footer .footer__group--contact {
    gap: 16px !important;
    padding: 18px 0 !important;
  }

  .ec-footer .footer__social-media {
    margin-block-start: 0;
  }

  .ec-footer .ec-footer-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 0;
  }

  .ec-footer .ec-footer-service:nth-child(2n) {
    border-inline-end: 0;
  }

  .ec-footer .ec-footer-service:nth-child(odd) {
    padding-inline-start: 0;
  }

  .ec-footer .footer__group--additional {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .ec-footer .footer__payment-icons {
    justify-content: flex-start;
  }

  .ec-footer .footer__payment-icons-title {
    text-align: start;
  }

  .ec-footer .footer__copyright {
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 18px;
  }

  .ec-footer .footer__brand-lockup,
  .ec-footer .footer__brand-logo {
    width: 140px;
  }
}

@media (max-width: 560px) {
  .ec-footer .page-width {
    width: calc(100% - 28px) !important;
  }

  .ec-footer .ec-footer-support h2 {
    font-size: 18px;
  }

  .ec-footer .ec-footer-support__actions {
    grid-template-columns: 1fr;
  }

  .ec-footer .ec-footer-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ec-footer .ec-footer-service,
  .ec-footer .ec-footer-service:first-child,
  .ec-footer .ec-footer-service:last-child {
    padding-inline: 8px;
  }

  .ec-footer .ec-footer-service:nth-child(odd) {
    padding-inline-start: 0;
  }

  .ec-footer .ec-footer-service:nth-child(even) {
    padding-inline-end: 0;
  }

  .ec-footer .ec-footer-carriers {
    display: block;
  }

  .ec-footer .ec-footer-carriers__marks {
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-block-start: 12px;
  }

  .ec-footer .footer__localization-form {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ec-footer .localization__selector {
    width: 100%;
    min-width: 0;
  }

  .ec-footer .footer__copyright {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}
