/* Stage66.52R66.36 — mobile footer visual ownership only. */
@media (max-width: 900px) {
  body.pcbshop-theme .ps-site-footer.ps-distributor-footer {
    overflow: clip;
  }

  body.pcbshop-theme .ps-distributor-footer .ps-distributor-footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(22px, 7vw, 42px);
    row-gap: 30px;
    width: min(calc(100% - 32px),1180px);
    padding-block: 34px 30px;
    padding-inline: 0;
    margin-inline: auto;
    box-sizing: border-box;
  }

  body.pcbshop-theme .ps-distributor-footer .ps-distributor-footer-brand {
    grid-column: 1 / -1;
    display: grid;
    justify-items: center;
    text-align: center;
    min-width: 0;
  }

  body.pcbshop-theme .ps-distributor-footer .ps-official-footer-brand {
    display: flex;
    width: min(330px, 82vw);
    max-width: 100%;
    margin: 0 auto 12px;
    justify-content: center;
  }

  body.pcbshop-theme .ps-distributor-footer .ps-official-footer-brand .ps-official-brand-logo,
  body.pcbshop-theme .ps-distributor-footer .ps-official-footer-brand .ps-brand-logo-image {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  body.pcbshop-theme .ps-distributor-footer .ps-distributor-footer-brand > p {
    width: min(100%, 38rem);
    max-width: none;
    margin: 0 auto;
    padding-inline: 8px;
    text-align: center;
    line-height: 2;
  }

  body.pcbshop-theme .ps-distributor-footer .ps-distributor-footer-contact {
    width: min(100%, 520px);
    margin: 22px auto 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    direction: rtl;
    align-items: stretch;
  }

  body.pcbshop-theme .ps-distributor-footer .ps-distributor-footer-contact > a,
  body.pcbshop-theme .ps-distributor-footer .ps-distributor-footer-contact > .ps-footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 0;
    min-height: 52px;
    padding: 9px 8px;
    border-radius: 15px;
    text-align: center;
    line-height: 1.25;
    box-sizing: border-box;
  }

  body.pcbshop-theme .ps-distributor-footer .ps-distributor-footer-contact .ps-footer-social-icon {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
  }

  body.pcbshop-theme .ps-distributor-footer .ps-distributor-footer-contact .ps-footer-social-icon svg {
    display: block;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  body.pcbshop-theme .ps-distributor-footer .ps-distributor-footer-contact > a > span:last-child,
  body.pcbshop-theme .ps-distributor-footer .ps-distributor-footer-contact > .ps-footer-social-link > span:last-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.pcbshop-theme .ps-distributor-footer .ps-footer-contact-phone { order: 1; }
  body.pcbshop-theme .ps-distributor-footer .ps-footer-social-whatsapp { order: 2; }
  body.pcbshop-theme .ps-distributor-footer .ps-footer-social-telegram { order: 3; }
  body.pcbshop-theme .ps-distributor-footer .ps-footer-social-bale { order: 4; }
  body.pcbshop-theme .ps-distributor-footer .ps-footer-social-eitaa { order: 5; }
  body.pcbshop-theme .ps-distributor-footer .ps-footer-social-rubika { order: 6; }
  body.pcbshop-theme .ps-distributor-footer .ps-footer-social-email { order: 7; }

  body.pcbshop-theme .ps-distributor-footer .ps-footer-section {
    min-width: 0;
    text-align: center;
    justify-self: stretch;
    padding-inline: 6px;
  }

  body.pcbshop-theme .ps-distributor-footer .ps-footer-store {
    grid-column: 1 / -1;
  }

  body.pcbshop-theme .ps-distributor-footer .ps-footer-services,
  body.pcbshop-theme .ps-distributor-footer .ps-footer-guide {
    grid-column: auto;
  }

  body.pcbshop-theme .ps-distributor-footer .ps-footer-section h3 {
    margin: 0 0 14px;
    text-align: center;
  }

  body.pcbshop-theme .ps-distributor-footer .ps-footer-section ul {
    justify-items: center;
    gap: 10px;
  }

  body.pcbshop-theme .ps-distributor-footer .ps-footer-section li,
  body.pcbshop-theme .ps-distributor-footer .ps-footer-section li a {
    max-width: 100%;
    text-align: center;
  }

  body.pcbshop-theme .ps-distributor-footer .ps-footer-bottom .ps-container {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    text-align: center;
    width: min(calc(100% - 32px),1180px);
    padding: 14px 0;
    margin-inline: auto;
  }
}

@media (max-width: 380px) {
  body.pcbshop-theme .ps-distributor-footer .ps-distributor-footer-main {
    width: min(calc(100% - 24px),1180px);
    column-gap: 14px;
  }

  body.pcbshop-theme .ps-distributor-footer .ps-distributor-footer-contact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.pcbshop-theme .ps-distributor-footer .ps-footer-section {
    padding-inline: 2px;
  }
}

@media (min-width: 381px) and (max-width: 900px) {
  body.pcbshop-theme .ps-distributor-footer .ps-footer-contact-phone {
    font-size: .66rem;
    font-variant-numeric: tabular-nums;
    letter-spacing: -.015em;
  }
}

@media (max-width: 900px) {
  body.pcbshop-theme .ps-distributor-footer .ps-footer-contact-phone .ps-footer-social-icon { color: #169f96; }
  body.pcbshop-theme .ps-distributor-footer .ps-footer-social-whatsapp .ps-footer-social-icon { color: #20b86b; }
  body.pcbshop-theme .ps-distributor-footer .ps-footer-social-telegram .ps-footer-social-icon { color: #279bd3; }
  body.pcbshop-theme .ps-distributor-footer .ps-footer-social-bale .ps-footer-social-icon { color: #29a9c8; }
  body.pcbshop-theme .ps-distributor-footer .ps-footer-social-eitaa .ps-footer-social-icon { color: #dc8a24; }
  body.pcbshop-theme .ps-distributor-footer .ps-footer-social-email .ps-footer-social-icon { color: var(--ps-text-muted); }
}
