/* فوتر دسکتاپ — چیدمان دیجی‌کالا، رنگ برند همتالونز */
@media (min-width: 992px) {
  #hpb-site-footer.hpb-fb--digi,
  .hpb-footer-builder.hpb-fb--digi {
    background: #fff !important;
    color: #3f4064;
    margin: 0 auto !important;
    max-width: none !important;
    width: 100% !important;
    border-top: 1px solid #e0e0e2;
    box-shadow: none;
  }

  .hpb-fb--digi .hpb-fb-inner-wrap,
  .hpb-fb--digi .hpb-digi-chrome__inner,
  .hpb-fb--digi .hpb-lb-row-inner {
    width: 100%;
    max-width: var(--hpb-site-container-max, 1400px);
    margin-inline: auto;
    box-sizing: border-box;
    padding-inline: 16px;
  }

  .hpb-fb--digi .hpb-fb-row {
    display: none !important;
  }

  .hpb-fb--digi .hpb-lb-title-line-text,
  .hpb-fb--digi .hpb-lb-html,
  .hpb-fb--digi .footer_menu .the_mega_menu_link,
  .hpb-fb--digi .fm_con a {
    color: #81858b !important;
    min-height: 0;
    padding: 6px 0;
    font-size: 13px;
    line-height: 2;
  }

  .hpb-fb--digi .hpb-lb-title-line-text {
    color: #3f4064 !important;
    font-weight: 700;
    font-size: 15px;
  }

  .hpb-fb--digi .hpb-lb-title-line-rule {
    background: #e0e0e2;
  }

  .hpb-fb--digi .hpb-fb-row--middle {
    border-top: 1px solid #e0e0e2;
    padding: 16px 0 28px;
  }

  .hpb-fb--digi .ns_footer_row:first-child,
  .hpb-fb--digi .ns_footer_row:nth-child(2) {
    padding: 0;
    border-radius: 0;
  }
}

.hpb-digi-chrome {
  background: #fff;
  color: #3f4064;
}

.hpb-digi-chrome__inner {
  padding: 20px 16px 8px;
}

.hpb-digi-brandbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e0e0e2;
  flex-wrap: wrap;
}

.hpb-digi-brandbar__logo img {
  display: block;
  height: 44px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: none;
}

.hpb-digi-brandbar__support {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin-inline-start: auto;
  font-size: 12px;
  color: #81858b;
}

.hpb-digi-brandbar__support a {
  font-size: 20px;
  font-weight: 800;
  color: #3f4064 !important;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.hpb-digi-backtop {
  appearance: none;
  border: 1px solid #e0e0e2;
  background: #fff;
  color: #3f4064;
  border-radius: 8px;
  min-height: 40px;
  padding: 8px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hpb-digi-backtop:hover {
  border-color: #552d85;
  color: #552d85;
}

.hpb-digi-features {
  list-style: none;
  margin: 0;
  padding: 22px 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  border-bottom: 1px solid #e0e0e2;
}

.hpb-digi-features li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  font-size: 12px;
  color: #5a5c7a;
  font-weight: 600;
}

.hpb-digi-features__icon {
  color: #4a97ca;
}

.hpb-digi-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 28px 0 12px;
}

.hpb-digi-col h3 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 800;
  color: #3f4064;
}

.hpb-digi-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hpb-digi-col a {
  display: block;
  padding: 5px 0;
  color: #81858b !important;
  text-decoration: none;
  font-size: 13px;
}

.hpb-digi-col a:hover {
  color: #552d85 !important;
}

.hpb-digi-legal {
  background: #fff;
  border-top: 1px solid #e0e0e2;
}

.hpb-digi-legal__inner {
  width: 100%;
  max-width: var(--hpb-site-container-max, 1400px);
  margin-inline: auto;
  box-sizing: border-box;
  padding: 22px 16px 26px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 32px;
}

.hpb-digi-legal__meta {
  min-width: 0;
}

.hpb-digi-legal__label {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  color: #81858b;
}

.hpb-digi-legal__addr {
  display: block;
  color: #3f4064 !important;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
}

.hpb-digi-legal__addr:hover {
  color: #552d85 !important;
}

.hpb-digi-legal__postal {
  margin: 6px 0 0;
  font-size: 13px;
  color: #81858b;
}

.hpb-digi-legal__licenses {
  min-width: 108px;
}

.hpb-digi-legal__enamad {
  display: inline-block;
  padding: 8px;
  border: 1px solid #eef0f4;
  border-radius: 12px;
  background: #fafafa;
}

.hpb-digi-legal__enamad img {
  display: block;
  width: 88px;
  height: auto;
}

@media (max-width: 991.98px) {
  .hpb-digi-chrome {
    display: none !important;
  }

  .hpb-fb--mobile .hpb-fb-row,
  .hpb-footer-builder .hpb-fb-row {
    display: none !important;
  }

  .hpb-digi-legal__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    padding: 18px 16px 22px;
    gap: 16px;
  }
}
