footer {
  width: 96%;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 22px;
  background: var(--gray-gradient-h);
  box-shadow: var(--box-shadow-base);
  border: 1px solid rgba(0,0,0,0.03);
}

.footer-inner {
  width: 94%;
  padding: 40px 20px 20px;
  display: grid;
  grid-template-columns: repeat(6, minmax(100px, 1fr));
  gap: 60px;
}

.footer-col h3 {
margin-bottom: 12px;
    text-align: right;
  font-size: 16px;
  font-weight: 800;
  color: var(--gray-darker);
  border-bottom: 1px solid var(--gray-lighter-3);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin: 8px 0;
}

.footer-col ul li a {
  text-decoration: none;
  color: var(--gray-base);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.footer-desc {
  color: var(--gray-darker);
  font-size:14px;
  font-weight: 600;
}
.footer-brand img {
  width: 64px;
}

.footer-brand span {
  font-weight: 800;
  font-size: 18px;
  color: var(--brand-primary);
}

.socials {
  display: flex;
  gap: 12px;
  margin: 12px 0;
}

.socials a {
  background: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  transition: all 0.25s ease;
}

.socials a:hover {
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 94%;
  font-size: 13px;
  color: var(--gray-darker);
  padding: 20px;
}
.namad {
  width: 84px;
    height: 84px;
    object-fit: contain;
  display: block;
  background: #fff;
  border-radius: 9px;
}
.namad img,
#zarinpal img{
  width: 84px;
}
#zibal-trust-badge img {
    
  height: 93px !important;
}
.open {
  max-height: 500px !important;
}
.namads {
      margin-bottom:16px;
      display:flex;
      align-items:center;
      gap:16px
  }
@media (max-width: 560px) {
  .footer-inner {
    text-align: center;
  }
  .footer-inner {
    grid-template-columns: repeat(1, minmax(100px, 1fr));
    gap: 0;
  }
  .footer-col h3 {
          margin-right: 110px;
      border-bottom: none;
      font-weight:500;
      font-size:14px;
  }
  .socials {
    justify-content: space-around;
    background: var(--brand-primary-lighter-4);
    border-radius: 10px;
    padding: 10px 0;
    border: 2px solid var(--brand-primary-lighter-3);
  }

  .footer-col.menu {
    max-height: 36px;
    overflow: hidden;
    border: 2px solid var(--gray-lighter-2);
    border-radius: 10px;
    margin-bottom: 12px;
    transition: 0.3s max-height ease;
  }
  .footer-col.menu:last-child {
    margin-bottom: 0;
  }
  .footer-bottom {
    flex-direction: column;
  }
  .footer-brand {
    margin-bottom: 30px;
    justify-content: center;
  }
  .namads {
      margin-bottom:16px;
  }
}
