/* ct-shop-pagination-mobile-fix: keep long page lists inside the phone viewport. */

.ct-pagination {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  flex-wrap:wrap;
  max-width:100%;
  overflow:hidden;
  margin-top:24px;
}

.ct-pagination a,.ct-pagination span {
  display:grid;
  place-items:center;
  min-width:38px;
  height:38px;
  padding:0 10px;
  border:1px solid #dbe6f3;
  background:#fff;
  text-decoration:none;
  color:#07111f;
  font-weight:950;
}

.ct-pagination .active,.ct-pagination a.active {
  background:var(--ct-navy);
  color:#fff;
  border-color:var(--ct-navy);
}

@media(max-width:767px) {
.ct-pagination {
    justify-content:flex-start;
    flex-wrap:nowrap;
    overflow-x:auto;
    overflow-y:hidden;
    padding:4px 0 8px;
    scrollbar-width:none;
  }

  .ct-pagination::-webkit-scrollbar {
    display:none;
  }

  .ct-pagination a,.ct-pagination span {
    flex:0 0 auto;
  }
}

/* ct-home-strip-final: category icons and active state are controlled by the hero slider, not a fixed nth child. */

.ct-market-cats a {
  gap:8px;
  transition:background .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}

.ct-market-cats a i {
  font-size:.95rem;
  line-height:1;
  color:currentColor;
}

.ct-market-cats a.is-active,.ct-market-cats a.is-mobile-active {
  background:var(--ct-red);
  color:#fff;
  border-color:var(--ct-red);
  box-shadow:0 14px 30px rgba(228,37,42,.22);
}

.ct-market-cats a.is-active {
  transform:translateY(-1px);
}

.ct-location iframe {
  display:block;
  width:100%;
  min-height:380px;
  border:1px solid #dbe6f3;
  background:
    linear-gradient(135deg, rgba(20,58,133,.08), rgba(228,37,42,.05)),
    #f8fafc;
  box-shadow:0 16px 42px rgba(15,23,42,.06);
}

@media(max-width:767px) {
.ct-market-cats {
    gap:9px;
    padding:10px 14px 12px;
  }

  .ct-market-cats a {
    padding:10px 14px;
    font-size:.9rem;
  }

  .ct-location iframe {
    min-height:340px;
  }
}
