.custom_categories { padding: 1.5rem 0; }

.custom_categories__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.custom_categories__title {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 4px;
}

.custom_categories__subtitle {
  font-size: 13px;
  color: #6c757d;
  margin: 0;
}

.custom_categories__nav {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.custom_categories__btn {
  width: 32px;
  height: 32px;
  border: 1px solid #dee2e6;
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.custom_categories__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.custom_categories__btn:not(:disabled):hover {
  background: #f8f9fa;
}

/* Desktop grid */
.custom_categories__outer { overflow: hidden; }

.custom_categories__track {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

/* Tablet */
@media (max-width: 991px) {
  .custom_categories__track {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Mobile — horizontal scroll */
@media (max-width: 575px) {
  .custom_categories__outer { overflow-x: auto; }

  .custom_categories__track {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .custom_categories__track::-webkit-scrollbar { height: 3px; }
  .custom_categories__track::-webkit-scrollbar-thumb {
    background: #dee2e6;
    border-radius: 4px;
  }

  .custom_categories__item {
    flex: 0 0 calc(33.33% - 7px);
    scroll-snap-align: start;
  }
}

/* Card */
.custom_categories__item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  padding: 14px 10px;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  background: #fff;
  gap: 8px;
  transition: border-color 0.15s, background 0.15s;
  height: 100%;
  box-sizing: border-box;
}

.custom_categories__item a:hover {
  border-color: #adb5bd;
  background: #f8f9fa;
}

.custom_categories__img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  background: #f1f3f5;
  display: block;
}

.custom_categories__name {
  font-size: 12px;
  font-weight: 600;
  color: #212529;
  line-height: 1.35;
  word-break: break-word;
}

.custom_categories__count {
  font-size: 11px;
  color: #6c757d;
}

/* ── MAIN FOOTER ── */
    .custom_footer {
      background-color: #eef1f6;
      padding: 48px 70px 40px;
    }

    .custom_footer__top {
      display: flex;
      flex-wrap: wrap;
      gap: 32px;
      justify-content: space-between;
    }

    /* columns */
    .custom_footer__col {
      flex: 1 1 160px;
      min-width: 140px;
    }

    .custom_footer__col--contact { flex: 1 1 220px; max-width: 280px; }
    .custom_footer__col--app     { flex: 1 1 220px; max-width: 280px; }

    .custom_footer__heading {
      font-size: 16px;
      font-weight: 700;
      color: #1a2e4a;
      margin-bottom: 18px;
    }

    /* contact info */
    .custom_footer__contact-item {
      margin-bottom: 10px;
      line-height: 1.55;
      color: #3a4e65;
    }
    .custom_footer__contact-item strong { color: #1a2e4a; }

    /* social icons */
    .custom_footer__social {
      display: flex;
      gap: 10px;
      margin-top: 20px;
    }
    .custom_footer__social a {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 38px;
      height: 38px;
      border-radius: 50%;
      background: #cdd6e3;
      color: #3a5070;
      font-size: 15px;
      text-decoration: none;
      transition: background 0.2s, color 0.2s;
    }
    .custom_footer__social a:hover { background: #1a2e4a; color: #fff; }

    /* nav lists */
    .custom_footer__list {
      list-style: none;
      padding: 0;
    }
    .custom_footer__list li {
      margin-bottom: 9px;
    }
    .custom_footer__list li a {
      text-decoration: none;
      color: #3a4e65;
      display: flex;
      align-items: center;
      gap: 6px;
      transition: color 0.2s;
    }
    .custom_footer__list li a::before {
      content: '▶';
      font-size: 7px;
      color: #3a5070;
      flex-shrink: 0;
    }
    .custom_footer__list li a:hover { color: #1565c0; }

    /* app section */
    .custom_footer__app-text {
      color: #3a4e65;
      line-height: 1.55;
      margin-bottom: 16px;
    }
    .custom_footer__store-badges {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      margin-bottom: 20px;
    }
    .custom_footer__badge {
      display: flex;
      align-items: center;
      gap: 8px;
      background: #111;
      color: #fff;
      border-radius: 6px;
      padding: 7px 14px;
      text-decoration: none;
      min-width: 120px;
    }
    .custom_footer__badge i { font-size: 22px; }
    .custom_footer__badge-text { display: flex; flex-direction: column; line-height: 1.2; }
    .custom_footer__badge-text span:first-child { font-size: 10px; opacity: 0.85; }
    .custom_footer__badge-text span:last-child  { font-size: 14px; font-weight: 600; }

    .custom_footer__payment-label {
      font-size: 13px;
      color: #3a4e65;
      margin-bottom: 10px;
    }
    .custom_footer__payment-icons {
      display: flex;
      gap: 8px;
      align-items: center;
      flex-wrap: wrap;
    }
    .custom_footer__payment-icons img {
      height: 28px;
      object-fit: contain;
    }

    /* payment card badges via CSS */
    .pay-badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 4px;
      height: 28px;
      padding: 0 8px;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.5px;
    }
    .pay-visa     { background:#1a1f71; color:#fff; font-size:14px; font-style:italic; padding: 0 10px; }
    .pay-master   { background:#eb001b; color:#fff; position:relative; width:44px; border-radius:4px; overflow:hidden; }
    .pay-master::after {
      content:''; position:absolute; right:0; top:0; bottom:0;
      width:22px; background:#f79e1b; border-radius:0 4px 4px 0;
    }
    .pay-maestro  { background:#0099df; color:#fff; }
    .pay-amex     { background:#007bc1; color:#fff; letter-spacing:0; font-size:10px; }

    /* ── BOTTOM STRIP ── */
    .custom_footer__bottom {

      padding: 28px 0px 0;
    }

    .custom_footer__brand {
      font-size: 22px;
      font-weight: 700;
      color: #1565c0;
      margin-bottom: 14px;
    }

    .custom_footer__electronics {
      display: flex;
      flex-wrap: wrap;
      align-items: baseline;
      gap: 0;
      font-size: 13px;
      color: #3a4e65;
      padding-bottom: 18px;
      border-bottom: 1px solid #dde2ea;
    }
    .custom_footer__electronics strong {
      color: #1a2e4a;
      margin-right: 8px;
    }
    .custom_footer__electronics a {
      color: #3a4e65;
      text-decoration: none;
      white-space: nowrap;
    }
    .custom_footer__electronics a:hover { color: #1565c0; }
    .custom_footer__electronics .sep {
      margin: 0 6px;
      color: #aab3be;
    }

    .custom_footer__copyright-bar {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: center;
      padding: 16px 0 20px;
      gap: 12px;
    }
    .custom_footer__copyright {
      font-size: 13px;
      color: #5a6d82;
    }
    .custom_footer__legal {
      display: flex;
      gap: 24px;
      flex-wrap: wrap;
    }
    .custom_footer__legal a {
      font-size: 13px;
      color: #3a4e65;
      text-decoration: none;
    }
    .custom_footer__legal a:hover { color: #1565c0; text-decoration: underline; }

    /* ── RESPONSIVE ── */
    @media (max-width: 900px) {
      .custom_footer__top { gap: 24px; }
      .custom_footer__col--contact,
      .custom_footer__col--app { max-width: 100%; }
    }

    @media (max-width: 600px) {
      .custom_footer        { padding: 36px 0px 28px; }
      .custom_footer__bottom{ padding: 0px 0px 0; }
      .custom_footer__top   { flex-direction: column; gap: 28px; }
      .custom_footer__col   { min-width: 100%; }
      .custom_footer__store-badges { flex-direction: column; }
      .custom_footer__copyright-bar { flex-direction: column; align-items: flex-start; }
      .custom_footer__legal { gap: 14px; }
      .custom_footer__electronics { font-size: 12px; }
    }